2013-12-18 182 views
0

我在Jdeveloper中创建了一个pl/sql Web服务并将其部署到WebLogic服务器。它的工作原理.. 现在我需要在Glassfish上部署WS。我尝试使用Glassfish管理控制台(localhost:4848)部署.war文件,但总是在尝试部署.war文件时出现错误。部署PL/SQL Web服务

部署期间发生错误:准备应用程序时发生异常: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) ..... 

对于这个问题的任何建议?

回答

0

也许Jdeveloper中建立你的Web服务通过使用不被理解的Glassfish的或预期的专有的XML描述文件?或者,也许你的Web服务期望Glassfish不满足的依赖性(也许一些.jar文件)。

我想你想要的是使用自动代码生成Jdeveloper中打电话给你的PL/SQL存储过程。我想,你的选择是:

  • 确定并以某种方式重新打包,你需要到Jdeveloper中生成的.ear的依赖或.WAR二进制
  • 或许试图撕掉生成的.java或你的.class需要使用Apache CXF或理解@WebService注释的某些库完全重新打包。