簡體   English   中英

PL / SQL Web服務部署

[英]PL/SQL web service deploy

我已經在Jdeveloper中制作了一個pl / sql Web服務並將其部署到WebLogic服務器。 它可以工作。現在,我需要在Glassfish上部署該WS。 我建立了JDBC連接(ping成功),但是嘗試使用Glassfish管理控制台(localhost:4848)部署.war文件后,始終出現錯誤

部署期間發生錯誤:准備應用程序時發生異常:jaxrpc編譯異常。 請參閱server.log以獲取更多詳細信息。

Server.log:

[2013-12-17T14:42:32.387+0100] [glassfish 4.0] [SEVERE] [] [javax.enterprise.system.core] [tid: _ThreadID=32 _ThreadName=admin-listener(1)] [timeMillis: 1387287752387] [levelValue: 1000] [[
Exception while preparing the app : jaxrpc compilation exception
java.lang.RuntimeException: jaxrpc compilation exception
at org.glassfish.webservices.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:339)
at com.sun.enterprise.deployment.util.ModuleContentLinker.accept(ModuleContentLinker.java:91)
at org.glassfish.webservices.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:852)
at com.sun.enterprise.deployment.BundleDescriptor.visit(BundleDescriptor.java:621)
at org.glassfish.web.deployment.descriptor.WebBundleDescriptorImpl.visit(WebBundleDescriptorImpl.java:1958) .....

對這個問題有什么建議嗎?

也許Jdeveloper通過使用Glassfish無法理解或期望的專有XML描述符文件來構建您的Web服務? 或者,您的Web服務可能期望Glassfish無法滿足的依賴關系(可能是某些.jar文件)。

我猜您想要使用Jdeveloper生成的自動化代碼來調用您的PL / SQL存儲過程。 我想您的選擇是:

  • 以某種方式識別並重新打包所需的依賴項,並將其打包到Jdeveloper生成的.ear或.war二進制文件中
  • 或者,也許嘗試剝離所需的生成的.java或.class,然后將其完全與Apache CXF或某些了解@WebService批注的庫重新打包。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM