aspose file tools*
The moose likes Web Services and the fly likes glassfish3.1.1 Deployment fails with AbstractMethodError in WsUtil.parseRelativeImports Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "glassfish3.1.1 Deployment fails with AbstractMethodError in WsUtil.parseRelativeImports" Watch "glassfish3.1.1 Deployment fails with AbstractMethodError in WsUtil.parseRelativeImports" New topic
Author

glassfish3.1.1 Deployment fails with AbstractMethodError in WsUtil.parseRelativeImports

RedefinedVariable
Greenhorn

Joined: Feb 17, 2002
Posts: 1
I am trying to deploy a webservices project. I am building it with Netbeans 7.2. The project builds and can be deployed locally. When I move the war file to the server the deployment fails.
Glassfish3.1.1 is being used. I do not have the rights to update glassfish.

Snippets from the log files follow.
Any insight/help on this will be greatly appreciated
Thanks
Rede


Dropping the file into the autodeploy folder shows the following error
Deployment via autodeploy
[#|2012-11-13T15:53:45.570-0600|INFO|glassfish3.1.1|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=25;_ThreadName=Thread-2;|[AutoDeploy] Selecting file /home/glassfish3/glassfish/domains/domain1/autodeploy/xxxx-ws.war for autodeployment.|#]

[#|2012-11-13T15:53:46.728-0600|INFO|glassfish3.1.1|javax.enterprise.webservices.org.glassfish.webservices|_ThreadID=25;_ThreadName=Thread-2;|WS00018: Webservice Endpoint deployed
XxxxXxx listening at address at http://xxx.xx.xxxx.xxx:8080/xxxx-ws/client_Service|#]

[#|2012-11-13T15:53:46.746-0600|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=25;_ThreadName=Thread-2;|Adding Device:SystemDevice.|#]

[#|2012-11-13T15:53:46.963-0600|WARNING|glassfish3.1.1|javax.enterprise.webservices.org.glassfish.webservices|_ThreadID=25;_ThreadName=Thread-2;|Deployment failed
java.lang.AbstractMethodError
at org.glassfish.webservices.WsUtil.parseRelativeImports(WsUtil.java:414)
at org.glassfish.webservices.WsUtil.getWsdlsAndSchemas(WsUtil.java:1889)
at org.glassfish.webservices.WsUtil.getWsdlsAndSchemas(WsUtil.java:1863)
at org.glassfish.webservices.WSServletContextListener.registerEndpoint(WSServletContextListener.java:140)
at org.glassfish.webservices.WSServletContextListener.contextInitialized(WSServletContextListener.java:99)
at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4750)
at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:550)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5366)
at com.sun.enterprise.web.WebModule.start(WebModule.java:498)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2000)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1651)
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:109)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:294)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:462)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:360)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244)
at org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:145)
at org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:575)
at org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:461)
at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:389)
at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:380)
at org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:209)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
|#]

*************
Deploying through the admin console gives a bit more info as to what is going right, but it still shows the same error

Deployment via the glassfish admin console:
[#|2012-11-13T15:14:01.479-0600|WARNING|glassfish3.1.1|org.apache.catalina.connector.Request|_ThreadID=22;_ThreadName=Thread-2;|PWC4011: Unable to set request character encoding to UTF-8 from context , because request parameters have already been read, or ServletRequest.getReader() has already been called|#]

[#|2012-11-13T15:14:06.352-0600|INFO|glassfish3.1.1|javax.enterprise.webservices.org.glassfish.webservices.metroglue|_ThreadID=18;_ThreadName=Thread-2;|WS10010: Web service endpoint deployment events listener registered successfully.|#]

[#|2012-11-13T15:14:06.625-0600|INFO|glassfish3.1.1|javax.enterprise.webservices.org.glassfish.webservices|_ThreadID=18;_ThreadName=Thread-2;|WS00018: Webservice Endpoint deployed
XxxxXxx listening at address at http://xxx.xx.xxxx.xxx:8080/xxxx-ws/client_Service|#]

[#|2012-11-13T15:14:06.628-0600|INFO|glassfish3.1.1|javax.enterprise.webservices.org.glassfish.webservices.metroglue|_ThreadID=18;_ThreadName=Thread-2;|WS10001: Loading WS-TX Services. Please wait.|#]

[#|2012-11-13T15:14:06.899-0600|INFO|glassfish3.1.1|javax.enterprise.webservices.org.glassfish.webservices|_ThreadID=18;_ThreadName=Thread-2;|WS00018: Webservice Endpoint deployed
ParticipantPortTypeImpl listening at address at http://xxx.xx.xxxx.xxx:8080/__wstx-services/ParticipantPortType|#]

[#|2012-11-13T15:14:06.902-0600|INFO|glassfish3.1.1|javax.enterprise.webservices.org.glassfish.webservices|_ThreadID=18;_ThreadName=Thread-2;|WS00018: Webservice Endpoint deployed
RegistrationPortTypeImpl listening at address at http://xxx.xx.xxxx.xxx:8080/__wstx-services/RegistrationPortTypeRPC|#]

[#|2012-11-13T15:14:06.904-0600|INFO|glassfish3.1.1|javax.enterprise.webservices.org.glassfish.webservices|_ThreadID=18;_ThreadName=Thread-2;|WS00018: Webservice Endpoint deployed
RegistrationPortTypeRPCPortImpl listening at address at http://xxx.xx.xxxx.xxx:8080/__wstx-services/RegistrationPortTypeRPC11|#]

[#|2012-11-13T15:14:06.906-0600|INFO|glassfish3.1.1|javax.enterprise.webservices.org.glassfish.webservices|_ThreadID=18;_ThreadName=Thread-2;|WS00018: Webservice Endpoint deployed
RegistrationRequesterPortTypeImpl listening at address at http://xxx.xx.xxxx.xxx:8080/__wstx-services/RegistrationRequesterPortType|#]

[#|2012-11-13T15:14:06.909-0600|INFO|glassfish3.1.1|javax.enterprise.webservices.org.glassfish.webservices|_ThreadID=18;_ThreadName=Thread-2;|WS00018: Webservice Endpoint deployed
CoordinatorPortTypeImpl listening at address at http://xxx.xx.xxxx.xxx:8080/__wstx-services/CoordinatorPortType|#]

[#|2012-11-13T15:14:06.911-0600|INFO|glassfish3.1.1|javax.enterprise.webservices.org.glassfish.webservices|_ThreadID=18;_ThreadName=Thread-2;|WS00018: Webservice Endpoint deployed
ParticipantPortTypePortImpl listening at address at http://xxx.xx.xxxx.xxx:8080/__wstx-services/ParticipantPortType11|#]

[#|2012-11-13T15:14:06.913-0600|INFO|glassfish3.1.1|javax.enterprise.webservices.org.glassfish.webservices|_ThreadID=18;_ThreadName=Thread-2;|WS00018: Webservice Endpoint deployed
RegistrationRequesterPortTypePortImpl listening at address at http://xxx.xx.xxxx.xxx:8080/__wstx-services/RegistrationRequesterPortType11|#]

[#|2012-11-13T15:14:06.916-0600|INFO|glassfish3.1.1|javax.enterprise.webservices.org.glassfish.webservices|_ThreadID=18;_ThreadName=Thread-2;|WS00018: Webservice Endpoint deployed
CoordinatorPortTypePortImpl listening at address at http://xxx.xx.xxxx.xxx:8080/__wstx-services/CoordinatorPortType11|#]

[#|2012-11-13T15:14:08.756-0600|INFO|glassfish3.1.1|com.sun.xml.ws.monitoring|_ThreadID=18;_ThreadName=Thread-2;|Metro monitoring rootname successfully set to: amx:pp=/mon/server-mon[server],type=WSEndpoint,name=/__wstx-services-WSATCoordinator-Participant|#]

[#|2012-11-13T15:14:11.918-0600|INFO|glassfish3.1.1|com.sun.xml.ws.monitoring|_ThreadID=18;_ThreadName=Thread-2;|Metro monitoring rootname successfully set to: amx:pp=/mon/server-mon[server],type=WSEndpoint,name=/__wstx-services-Coordinator-Registration|#]

[#|2012-11-13T15:14:12.265-0600|INFO|glassfish3.1.1|com.sun.xml.ws.monitoring|_ThreadID=18;_ThreadName=Thread-2;|Metro monitoring rootname successfully set to: amx:pp=/mon/server-mon[server],type=WSEndpoint,name=/__wstx-services-RegistrationService_V11-RegistrationPort|#]

[#|2012-11-13T15:14:12.498-0600|INFO|glassfish3.1.1|com.sun.xml.ws.monitoring|_ThreadID=18;_ThreadName=Thread-2;|Metro monitoring rootname successfully set to: amx:pp=/mon/server-mon[server],type=WSEndpoint,name=/__wstx-services-Coordinator-RegistrationRequester|#]

[#|2012-11-13T15:14:12.667-0600|INFO|glassfish3.1.1|com.sun.xml.ws.monitoring|_ThreadID=18;_ThreadName=Thread-2;|Metro monitoring rootname successfully set to: amx:pp=/mon/server-mon[server],type=WSEndpoint,name=/__wstx-services-WSATCoordinator-Coordinator|#]

[#|2012-11-13T15:14:12.960-0600|INFO|glassfish3.1.1|com.sun.xml.ws.monitoring|_ThreadID=18;_ThreadName=Thread-2;|Metro monitoring rootname successfully set to: amx:pp=/mon/server-mon[server],type=WSEndpoint,name=/__wstx-services-WSAT11Service-ParticipantPort|#]

[#|2012-11-13T15:14:13.132-0600|INFO|glassfish3.1.1|com.sun.xml.ws.monitoring|_ThreadID=18;_ThreadName=Thread-2;|Metro monitoring rootname successfully set to: amx:pp=/mon/server-mon[server],type=WSEndpoint,name=/__wstx-services-RegistrationService_V11-RegistrationRequesterPort|#]

[#|2012-11-13T15:14:13.259-0600|INFO|glassfish3.1.1|com.sun.xml.ws.monitoring|_ThreadID=18;_ThreadName=Thread-2;|Metro monitoring rootname successfully set to: amx:pp=/mon/server-mon[server],type=WSEndpoint,name=/__wstx-services-WSAT11Service-CoordinatorPort|#]

[#|2012-11-13T15:14:13.338-0600|INFO|glassfish3.1.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=18;_ThreadName=Thread-2;|WEB0671: Loading application [wstx-services] at [/__wstx-services]|#]

[#|2012-11-13T15:14:13.340-0600|INFO|glassfish3.1.1|javax.enterprise.webservices.org.glassfish.webservices.metroglue|_ThreadID=18;_ThreadName=Thread-2;|WS10002: WS-TX Services successfully started.|#]

[#|2012-11-13T15:14:13.539-0600|INFO|glassfish3.1.1|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=18;_ThreadName=Thread-2;|Adding Device:SystemDevice.|#]

[#|2012-11-13T15:14:13.852-0600|WARNING|glassfish3.1.1|javax.enterprise.webservices.org.glassfish.webservices|_ThreadID=18;_ThreadName=Thread-2;|Deployment failed
java.lang.AbstractMethodError
at org.glassfish.webservices.WsUtil.parseRelativeImports(WsUtil.java:414)
at org.glassfish.webservices.WsUtil.getWsdlsAndSchemas(WsUtil.java:1889)
at org.glassfish.webservices.WsUtil.getWsdlsAndSchemas(WsUtil.java:1863)
at org.glassfish.webservices.WSServletContextListener.registerEndpoint(WSServletContextListener.java:140)
at org.glassfish.webservices.WSServletContextListener.contextInitialized(WSServletContextListener.java:99)
at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4750)
at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:550)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5366)
at com.sun.enterprise.web.WebModule.start(WebModule.java:498)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2000)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1651)
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:109)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:294)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:462)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232)
at org.glassfish.admin.rest.ResourceUtil.runCommand(ResourceUtil.java:202)
at org.glassfish.admin.rest.ResourceUtil.runCommand(ResourceUtil.java:195)
at org.glassfish.admin.rest.resources.TemplateListOfResource.createResource(TemplateListOfResource.java:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
at com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer._service(GrizzlyContainer.java:182)
at com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer.service(GrizzlyContainer.java:147)
at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:184)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:662)
|#]

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: glassfish3.1.1 Deployment fails with AbstractMethodError in WsUtil.parseRelativeImports
 
Similar Threads
Glassfish deployment issues
Cannot initialize endpoint : error is : Java heap space|#] and server won't start
cant load the admin console in glassfish v3
Can't deploy EJB jar to Glassfish
logging lifecyle events of servlet