Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个关于 JCA 适配器打包的问题。我在我的 JCA 适配器 rar 文件中打包了一些 jar 文件。我正在使用 Weblogic。我想知道这个rar包里面放的jar文件是不是放在了Weblogic类路径下。
在同一个 Weblogic 服务器上运行的其他应用程序可以访问这些 jar 文件中的类吗?
我设法找到了一个解决方案,并希望这能帮助任何寻找相同答案的人。在weblogic-ra.xml中配置以下内容后,JCA 适配器 RAR 文件中的类将暴露给系统类路径。
<wls:enable-access-outside-app>true</wls:enable-access-outside-app> <wls:enable-global-access-to-classes>true</wls:enable-global-access-to-classes>