users@glassfish.java.net

class sahoo.hybridapp.jaxws1.webservice.jaxws.CurrentTimeResponse do not have

From: <forums_at_java.net>
Date: Tue, 22 Jan 2013 23:28:59 -0600 (CST)

Testing the
http://weblogs.java.net/blog/ss141213/archive/2010/04/08/jax-ws-web-service-osgi-bundle
example and getting exception below Help appreciated.
[#|2013-01-22T23:36:24.935-0500|SEVERE|glassfish3.1.2|org.apache.catalina.core.StandardContext|_ThreadID=23;_ThreadName=Thread-2;|PWC1306:
Startup of context /hybridapp.jaxws1.web-service failed due to previous
errors|#]
[#|2013-01-22T23:36:24.935-0500|SEVERE|glassfish3.1.2|org.apache.catalina.core.StandardContext|_ThreadID=23;_ThreadName=Thread-2;|PWC1305:
Exception during cleanup after start failed
org.apache.catalina.LifecycleException: PWC2769: Manager has not yet been
started at
org.apache.catalina.session.StandardManager.stop(StandardManager.java:873) at
org.apache.catalina.core.StandardContext.stop(StandardContext.java:5571) at
com.sun.enterprise.web.WebModule.stop(WebModule.java:527) at
org.apache.catalina.core.StandardContext.start(StandardContext.java:5384) 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:2019) at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1669) 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:301)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
at
org.glassfish.osgijavaeebase.OSGiDeploymentRequest.deploy(OSGiDeploymentRequest.java:183)
at
org.glassfish.osgijavaeebase.OSGiDeploymentRequest.execute(OSGiDeploymentRequest.java:118)
at
org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:121)
at org.glassfish.osgijavaeebase.OSGiContainer.deploy(OSGiContainer.java:154)
at
org.glassfish.osgijavaeebase.JavaEEExtender.deploy(JavaEEExtender.java:107)
at
org.glassfish.osgijavaeebase.JavaEEExtender.access$200(JavaEEExtender.java:61)
at
org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:151)
at
org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:148)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at
java.util.concurrent.FutureTask.run(FutureTask.java:138) at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619) |#]
[#|2013-01-22T23:36:24.935-0500|SEVERE|glassfish3.1.2|org.apache.catalina.core.ContainerBase|_ThreadID=23;_ThreadName=Thread-2;|ContainerBase.addChild:
start: org.apache.catalina.LifecycleException: java.lang.RuntimeException:
Servlet web service endpoint '' failure at
org.apache.catalina.core.StandardContext.start(StandardContext.java:5389) 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:2019) at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1669) 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:301)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
at
org.glassfish.osgijavaeebase.OSGiDeploymentRequest.deploy(OSGiDeploymentRequest.java:183)
at
org.glassfish.osgijavaeebase.OSGiDeploymentRequest.execute(OSGiDeploymentRequest.java:118)
at
org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:121)
at org.glassfish.osgijavaeebase.OSGiContainer.deploy(OSGiContainer.java:154)
at
org.glassfish.osgijavaeebase.JavaEEExtender.deploy(JavaEEExtender.java:107)
at
org.glassfish.osgijavaeebase.JavaEEExtender.access$200(JavaEEExtender.java:61)
at
org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:151)
at
org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:148)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at
java.util.concurrent.FutureTask.run(FutureTask.java:138) at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619) Caused by:
java.lang.RuntimeException: Servlet web service endpoint '' failure at
org.glassfish.webservices.WSServletContextListener.contextInitialized(WSServletContextListener.java:107)
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)
... 25 more Caused by: javax.xml.ws.WebServiceException: class
sahoo.hybridapp.jaxws1.webservice.jaxws.CurrentTimeResponse do not have a
property of the name return at
com.sun.xml.ws.server.sei.EndpointResponseMessageBuilder$DocLit.(EndpointResponseMessageBuilder.java:217)
at
com.sun.xml.ws.server.sei.TieHandler.createResponseMessageBuilder(TieHandler.java:210)
at com.sun.xml.ws.server.sei.TieHandler.(TieHandler.java:116) at
com.sun.xml.ws.db.DatabindingImpl.(DatabindingImpl.java:108) at
com.sun.xml.ws.db.DatabindingProviderImpl.create(DatabindingProviderImpl.java:74)
at
com.sun.xml.ws.db.DatabindingProviderImpl.create(DatabindingProviderImpl.java:58)
at
com.sun.xml.ws.db.DatabindingFactoryImpl.createRuntime(DatabindingFactoryImpl.java:130)
at
com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:433)
at com.sun.xml.ws.server.EndpointFactory.create(EndpointFactory.java:268) at
com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:145)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:569) at
com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:552) at
com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:623) at
org.glassfish.webservices.WSServletContextListener.registerEndpoint(WSServletContextListener.java:282)
at
org.glassfish.webservices.WSServletContextListener.contextInitialized(WSServletContextListener.java:102)
... 28 more Caused by: javax.xml.bind.JAXBException: return is not a valid
property on class sahoo.hybridapp.jaxws1.webservice.jaxws.CurrentTimeResponse
at
com.sun.xml.bind.v2.runtime.JAXBContextImpl.getElementPropertyAccessor(JAXBContextImpl.java:981)
at
com.sun.xml.ws.db.glassfish.JAXBRIContextWrapper.getElementPropertyAccessor(JAXBRIContextWrapper.java:121)
at
com.sun.xml.ws.server.sei.EndpointResponseMessageBuilder$DocLit.(EndpointResponseMessageBuilder.java:214)
... 42 more |#]
[#|2013-01-22T23:36:24.936-0500|WARNING|glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=23;_ThreadName=Thread-2;|java.lang.IllegalStateException:
ContainerBase.addChild: start: org.apache.catalina.LifecycleException:
java.lang.RuntimeException: Servlet web service endpoint '' failure
java.lang.IllegalStateException: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: java.lang.RuntimeException: Servlet
web service endpoint '' failure at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:921)
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:2019) at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1669) 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:301)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
at
org.glassfish.osgijavaeebase.OSGiDeploymentRequest.deploy(OSGiDeploymentRequest.java:183)
at
org.glassfish.osgijavaeebase.OSGiDeploymentRequest.execute(OSGiDeploymentRequest.java:118)
at
org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:121)
at org.glassfish.osgijavaeebase.OSGiContainer.deploy(OSGiContainer.java:154)
at
org.glassfish.osgijavaeebase.JavaEEExtender.deploy(JavaEEExtender.java:107)
at
org.glassfish.osgijavaeebase.JavaEEExtender.access$200(JavaEEExtender.java:61)
at
org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:151)
at
org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:148)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at
java.util.concurrent.FutureTask.run(FutureTask.java:138) at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619) |#]
[#|2013-01-22T23:36:24.937-0500|SEVERE|glassfish3.1.2|org.glassfish.osgijavaeebase|_ThreadID=23;_ThreadName=Thread-2;|Exception
while invoking class com.sun.enterprise.web.WebApplication start method
java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild:
start: org.apache.catalina.LifecycleException: java.lang.RuntimeException:
Servlet web service endpoint '' failure at
com.sun.enterprise.web.WebApplication.start(WebApplication.java:138) 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:301)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
at
org.glassfish.osgijavaeebase.OSGiDeploymentRequest.deploy(OSGiDeploymentRequest.java:183)
at
org.glassfish.osgijavaeebase.OSGiDeploymentRequest.execute(OSGiDeploymentRequest.java:118)
at
org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:121)
at org.glassfish.osgijavaeebase.OSGiContainer.deploy(OSGiContainer.java:154)
at
org.glassfish.osgijavaeebase.JavaEEExtender.deploy(JavaEEExtender.java:107)
at
org.glassfish.osgijavaeebase.JavaEEExtender.access$200(JavaEEExtender.java:61)
at
org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:151)
at
org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:148)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at
java.util.concurrent.FutureTask.run(FutureTask.java:138) at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619) |#]
[#|2013-01-22T23:36:24.937-0500|SEVERE|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=23;_ThreadName=Thread-2;|Exception
while loading the app|#]
[#|2013-01-22T23:36:24.956-0500|INFO|glassfish3.1.2|org.glassfish.osgijavaeebase|_ThreadID=23;_ThreadName=Thread-2;|Deleted
C:\Users\RALLAB~1\AppData\Local\Temp\osgiapp8916288716570390110|#]
[#|2013-01-22T23:36:24.957-0500|SEVERE|glassfish3.1.2|org.glassfish.osgijavaeebase|_ThreadID=23;_ThreadName=Thread-2;|Failed
while deploying bundle sahoo.hybridapp.jaxws1.web-service [256]|#]
[#|2013-01-22T23:36:24.957-0500|INFO|glassfish3.1.2|org.glassfish.osgiweb|_ThreadID=23;_ThreadName=Thread-2;|Removed
bundle 256 against context path /hybridapp.jaxws1.web-service |#]
[#|2013-01-22T23:36:24.957-0500|WARNING|glassfish3.1.2|org.glassfish.osgijavaeebase|_ThreadID=23;_ThreadName=Thread-2;|Failed
to deploy bundle sahoo.hybridapp.jaxws1.web-service [256]
org.glassfish.osgijavaeebase.DeploymentException: Deployment of
sahoo.hybridapp.jaxws1.web-service [256] failed because of following reason:
Failed while deploying bundle sahoo.hybridapp.jaxws1.web-service [256] :
java.lang.RuntimeException: Failed to deploy bundle [
sahoo.hybridapp.jaxws1.web-service [256] ], root cause: Exception while
loading the app at
org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:125)
at org.glassfish.osgijavaeebase.OSGiContainer.deploy(OSGiContainer.java:154)
at
org.glassfish.osgijavaeebase.JavaEEExtender.deploy(JavaEEExtender.java:107)
at
org.glassfish.osgijavaeebase.JavaEEExtender.access$200(JavaEEExtender.java:61)
at
org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:151)
at
org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:148)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at
java.util.concurrent.FutureTask.run(FutureTask.java:138) at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619) Caused by:
java.lang.RuntimeException: Failed to deploy bundle [
sahoo.hybridapp.jaxws1.web-service [256] ], root cause: Exception while
loading the app at
org.glassfish.osgijavaeebase.OSGiDeploymentRequest.deploy(OSGiDeploymentRequest.java:196)
at
org.glassfish.osgijavaeebase.OSGiDeploymentRequest.execute(OSGiDeploymentRequest.java:118)
at
org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:121)
... 10 more Caused by: java.lang.Exception: java.lang.IllegalStateException:
ContainerBase.addChild: start: org.apache.catalina.LifecycleException:
java.lang.RuntimeException: Servlet web service endpoint '' failure at
com.sun.enterprise.web.WebApplication.start(WebApplication.java:138) 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:301)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
at
org.glassfish.osgijavaeebase.OSGiDeploymentRequest.deploy(OSGiDeploymentRequest.java:183)
... 12 more |#]

--
[Message sent by forum member 'rajubandi']
View Post: http://forums.java.net/node/894089