You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Caristi, Joe" <jc...@whisolutions.com> on 2012/01/13 14:51:26 UTC
ServiceLifeCycle in Embedded Spring-based Axis2 Service
I have run into an issue while attempting to implement the ServiceLifeCycle in my Axis2 service. I have embedded Axis2 in my web app following the basic approach found in this article: http://wso2.org/library/90. In addition, I have configured Axis2 to be integrated with Spring, using a ServletContext as described in this document: http://axis.apache.org/axis2/java/core/docs/spring.html#a23. Everything works well.
I would now like to be able to set the Axis2 httpFrontendHostUrl parameter programmatically, as described here: http://www.junlu.com/list/56/235752.html. To do this, my plan is to have my service implement the ServiceLifeCycle interface, and make the Axis2 configuration change in the "startup" method.
I attempted to do this, adding the necessary methods from the ServiceLifeCycle interface to my service class and adding the class attribute to the service element in my services.xml file, like this:
<service name="PartSelectService" scope="application" class="com.whisolutions.pss.service.PartSelectService">
These two changes caused the service to fail to start, with the following stack trace. Does anyone know how to make this work with an embedded-Spring-based service? Or is there another way I can get to the Axis2 configuration and set the httpFrontendHostUrl programmatically? I need to make sure that the returned WSDL has the proper URL, and I potentially need a different one for every instance of my web application.
08:15:17,892 ERROR [main] (ServiceDeployer.java:109) - The PartSelectService service, which is not valid, caused com.whisolutions.pss.service.PartSelectService
org.apache.axis2.deployment.DeploymentException: com.whisolutions.pss.service.PartSelectService
at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:106)
at org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:109)
at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:178)
at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:82)
at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:813)
at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:370)
at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:142)
at org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:283)
at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:584)
at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:454)
at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:432)
at org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:260)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:762)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:244)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1181)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:584)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:496)
at org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:180)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:226)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:164)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:226)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:93)
at org.eclipse.jetty.server.Server.doStart(Server.java:243)
at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:67)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:447)
at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:387)
at org.mortbay.jetty.plugin.JettyRunWarMojo.execute(JettyRunWarMojo.java:68)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
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 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.axis2.deployment.DeploymentException: com.whisolutions.pss.service.PartSelectService
at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:433)
at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101)
... 56 more
Caused by: org.apache.axis2.deployment.DeploymentException: com.whisolutions.pss.service.PartSelectService
at org.apache.axis2.deployment.ServiceBuilder.loadServiceLifeCycleClass(ServiceBuilder.java:523)
at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:211)
... 57 more
Caused by: java.lang.InstantiationException: com.whisolutions.pss.service.PartSelectService
at java.lang.Class.newInstance0(Class.java:340)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.axis2.deployment.ServiceBuilder.loadServiceLifeCycleClass(ServiceBuilder.java:519)
... 58 more
________________________________
STATEMENT OF CONFIDENTIALITY:
The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain confidential or privileged information. If you are not the intended
recipient, please notify WHI Solutions immediately at gc@whisolutions.com,
and destroy all copies of this message and any attachments.
RE: ServiceLifeCycle in Embedded Spring-based Axis2 Service
Posted by "Caristi, Joe" <jc...@whisolutions.com>.
Thank you. Creating a separate ServiceLifeCycle class solved the problem.
________________________________
From: Sagara Gunathunga [mailto:sagara.gunathunga@gmail.com]
Sent: Friday, January 13, 2012 1:17 PM
To: java-user@axis.apache.org
Subject: Re: ServiceLifeCycle in Embedded Spring-based Axis2 Service
On Fri, Jan 13, 2012 at 7:21 PM, Caristi, Joe <jc...@whisolutions.com>> wrote:
I have run into an issue while attempting to implement the ServiceLifeCycle in my Axis2 service. I have embedded Axis2 in my web app following the basic approach found in this article: http://wso2.org/library/90. In addition, I have configured Axis2 to be integrated with Spring, using a ServletContext as described in this document: http://axis.apache.org/axis2/java/core/docs/spring.html#a23. Everything works well.
I would now like to be able to set the Axis2 httpFrontendHostUrl parameter programmatically, as described here: http://www.junlu.com/list/56/235752.html. To do this, my plan is to have my service implement the ServiceLifeCycle interface, and make the Axis2 configuration change in the "startup" method.
I attempted to do this, adding the necessary methods from the ServiceLifeCycle interface to my service class and adding the class attribute to the service element in my services.xml file, like this:
<service name="PartSelectService" scope="application" class="com.whisolutions.pss.service.PartSelectService">
According to steps you mentioned this should work. BTW can you provide your ServiceLifeCycle class with all configuration files ? Also since you use spring here it's better to have a separate ServiceLifeCycle class instead of web service class itself implements ServiceLifeCycle interface.
Thanks !
These two changes caused the service to fail to start, with the following stack trace. Does anyone know how to make this work with an embedded-Spring-based service? Or is there another way I can get to the Axis2 configuration and set the httpFrontendHostUrl programmatically? I need to make sure that the returned WSDL has the proper URL, and I potentially need a different one for every instance of my web application.
08:15:17,892 ERROR [main] (ServiceDeployer.java:109) - The PartSelectService service, which is not valid, caused com.whisolutions.pss.service.PartSelectService
org.apache.axis2.deployment.DeploymentException: com.whisolutions.pss.service.PartSelectService
at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:106)
at org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:109)
at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:178)
at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:82)
at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:813)
at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:370)
at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:142)
at org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:283)
at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:584)
at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:454)
at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:432)
at org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:260)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:762)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:244)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1181)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:584)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:496)
at org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:180)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:226)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:164)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:226)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:93)
at org.eclipse.jetty.server.Server.doStart(Server.java:243)
at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:67)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:447)
at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:387)
at org.mortbay.jetty.plugin.JettyRunWarMojo.execute(JettyRunWarMojo.java:68)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
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 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.axis2.deployment.DeploymentException: com.whisolutions.pss.service.PartSelectService
at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:433)
at org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101)
... 56 more
Caused by: org.apache.axis2.deployment.DeploymentException: com.whisolutions.pss.service.PartSelectService
at org.apache.axis2.deployment.ServiceBuilder.loadServiceLifeCycleClass(ServiceBuilder.java:523)
at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:211)
... 57 more
Caused by: java.lang.InstantiationException: com.whisolutions.pss.service.PartSelectService
at java.lang.Class.newInstance0(Class.java:340)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.axis2.deployment.ServiceBuilder.loadServiceLifeCycleClass(ServiceBuilder.java:519)
... 58 more
________________________________
STATEMENT OF CONFIDENTIALITY:
The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain confidential or privileged information. If you are not the intended
recipient, please notify WHI Solutions immediately at gc@whisolutions.com<ma...@whisolutions.com>,
and destroy all copies of this message and any attachments.
--
Sagara Gunathunga
Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/<http://people.apache.org/%7Esagara/>
LinkedIn - http://www.linkedin.com/in/ssagara
________________________________
STATEMENT OF CONFIDENTIALITY:
The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain confidential or privileged information. If you are not the intended
recipient, please notify WHI Solutions immediately at gc@whisolutions.com,
and destroy all copies of this message and any attachments.
Re: ServiceLifeCycle in Embedded Spring-based Axis2 Service
Posted by Sagara Gunathunga <sa...@gmail.com>.
On Fri, Jan 13, 2012 at 7:21 PM, Caristi, Joe <jc...@whisolutions.com>wrote:
> I have run into an issue while attempting to implement the
> ServiceLifeCycle in my Axis2 service. I have embedded Axis2 in my web app
> following the basic approach found in this article:
> http://wso2.org/library/90. In addition, I have configured Axis2 to be
> integrated with Spring, using a ServletContext as described in this
> document: http://axis.apache.org/axis2/java/core/docs/spring.html#a23.
> Everything works well. ****
>
> ** **
>
> I would now like to be able to set the Axis2 httpFrontendHostUrl parameter
> programmatically, as described here:
> http://www.junlu.com/list/56/235752.html. To do this, my plan is to have
> my service implement the ServiceLifeCycle interface, and make the Axis2
> configuration change in the “startup” method.****
>
> ** **
>
> I attempted to do this, adding the necessary methods from the
> ServiceLifeCycle interface to my service class and adding the class
> attribute to the service element in my services.xml file, like this:****
>
> ** **
>
> <service name=*"PartSelectService"* scope=*"application"* class=*
> "com.whisolutions.pss.service.PartSelectService"*>
>
According to steps you mentioned this should work. BTW can you provide
your ServiceLifeCycle class with all configuration files ? Also since you
use spring here it's better to have a separate ServiceLifeCycle class
instead of web service class itself implements ServiceLifeCycle interface.
Thanks !
> ****
>
> ** **
>
> These two changes caused the service to fail to start, with the following
> stack trace. Does anyone know how to make this work with an
> embedded-Spring-based service? Or is there another way I can get to the
> Axis2 configuration and set the httpFrontendHostUrl programmatically? I
> need to make sure that the returned WSDL has the proper URL, and I
> potentially need a different one for every instance of my web application.
> ****
>
> ** **
>
> 08:15:17,892 ERROR [main] (*ServiceDeployer.java:109*) - The
> PartSelectService service, which is not valid, caused
> com.whisolutions.pss.service.PartSelectService****
>
> *org.apache.axis2.deployment.DeploymentException*:
> com.whisolutions.pss.service.PartSelectService****
>
> at
> org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(*
> ServiceGroupBuilder.java:106*)****
>
> at
> org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(
> *ArchiveReader.java:109*)****
>
> at
> org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(
> *ArchiveReader.java:178*)****
>
> at org.apache.axis2.deployment.ServiceDeployer.deploy(*
> ServiceDeployer.java:82*)****
>
> at
> org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(*
> DeploymentFileData.java:136*)****
>
> at org.apache.axis2.deployment.DeploymentEngine.doDeploy(*
> DeploymentEngine.java:813*)****
>
> at org.apache.axis2.deployment.repository.util.WSInfoList.update(*
> WSInfoList.java:144*)****
>
> at org.apache.axis2.deployment.RepositoryListener.update(*
> RepositoryListener.java:370*)****
>
> at org.apache.axis2.deployment.RepositoryListener.checkServices(*
> RepositoryListener.java:254*)****
>
> at org.apache.axis2.deployment.DeploymentEngine.loadServices(*
> DeploymentEngine.java:142*)****
>
> at org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(
> *WarBasedAxisConfigurator.java:283*)****
>
> at
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(
> *ConfigurationContextFactory.java:95*)****
>
> at org.apache.axis2.transport.http.AxisServlet.initConfigContext(*
> AxisServlet.java:584*)****
>
> at org.apache.axis2.transport.http.AxisServlet.init(*
> AxisServlet.java:454*)****
>
> at org.eclipse.jetty.servlet.ServletHolder.initServlet(*
> ServletHolder.java:432*)****
>
> at org.eclipse.jetty.servlet.ServletHolder.doStart(*
> ServletHolder.java:260*)****
>
> at org.eclipse.jetty.util.component.AbstractLifeCycle.start(*
> AbstractLifeCycle.java:55*)****
>
> at org.eclipse.jetty.servlet.ServletHandler.initialize(*
> ServletHandler.java:762*)****
>
> at org.eclipse.jetty.servlet.ServletContextHandler.startContext(*
> ServletContextHandler.java:244*)****
>
> at org.eclipse.jetty.webapp.WebAppContext.startContext(*
> WebAppContext.java:1181*)****
>
> at org.eclipse.jetty.server.handler.ContextHandler.doStart(*
> ContextHandler.java:584*)****
>
> at org.eclipse.jetty.webapp.WebAppContext.doStart(*
> WebAppContext.java:496*)****
>
> at org.mortbay.jetty.plugin.JettyWebAppContext.doStart(*
> JettyWebAppContext.java:180*)****
>
> at org.eclipse.jetty.util.component.AbstractLifeCycle.start(*
> AbstractLifeCycle.java:55*)****
>
> at org.eclipse.jetty.server.handler.HandlerCollection.doStart(*
> HandlerCollection.java:226*)****
>
> at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(
> *ContextHandlerCollection.java:164*)****
>
> at org.eclipse.jetty.util.component.AbstractLifeCycle.start(*
> AbstractLifeCycle.java:55*)****
>
> at org.eclipse.jetty.server.handler.HandlerCollection.doStart(*
> HandlerCollection.java:226*)****
>
> at org.eclipse.jetty.util.component.AbstractLifeCycle.start(*
> AbstractLifeCycle.java:55*)****
>
> at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(*
> HandlerWrapper.java:93*)****
>
> at org.eclipse.jetty.server.Server.doStart(*Server.java:243*)****
>
> at org.mortbay.jetty.plugin.JettyServer.doStart(*JettyServer.java:67
> *)****
>
> at org.eclipse.jetty.util.component.AbstractLifeCycle.start(*
> AbstractLifeCycle.java:55*)****
>
> at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(*
> AbstractJettyMojo.java:447*)****
>
> at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(*
> AbstractJettyMojo.java:387*)****
>
> at org.mortbay.jetty.plugin.JettyRunWarMojo.execute(*
> JettyRunWarMojo.java:68*)****
>
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(*
> DefaultBuildPluginManager.java:101*)****
>
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(*
> MojoExecutor.java:209*)****
>
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(*
> MojoExecutor.java:153*)****
>
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(*
> MojoExecutor.java:145*)****
>
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(*
> LifecycleModuleBuilder.java:84*)****
>
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(*
> LifecycleModuleBuilder.java:59*)****
>
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(*
> LifecycleStarter.java:183*)****
>
> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(*
> LifecycleStarter.java:161*)****
>
> at org.apache.maven.DefaultMaven.doExecute(*DefaultMaven.java:319*)*
> ***
>
> at org.apache.maven.DefaultMaven.execute(*DefaultMaven.java:156*)***
> *
>
> at org.apache.maven.cli.MavenCli.execute(*MavenCli.java:537*)****
>
> at org.apache.maven.cli.MavenCli.doMain(*MavenCli.java:196*)****
>
> at org.apache.maven.cli.MavenCli.main(*MavenCli.java:141*)****
>
> 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 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(
> *Launcher.java:290*)****
>
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch(*
> Launcher.java:230*)****
>
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(*
> Launcher.java:409*)****
>
> at org.codehaus.plexus.classworlds.launcher.Launcher.main(*
> Launcher.java:352*)****
>
> Caused by: *org.apache.axis2.deployment.DeploymentException*:
> com.whisolutions.pss.service.PartSelectService****
>
> at org.apache.axis2.deployment.ServiceBuilder.populateService(*
> ServiceBuilder.java:433*)****
>
> at
> org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(*
> ServiceGroupBuilder.java:101*)****
>
> ... 56 more****
>
> Caused by: *org.apache.axis2.deployment.DeploymentException*:
> com.whisolutions.pss.service.PartSelectService****
>
> at
> org.apache.axis2.deployment.ServiceBuilder.loadServiceLifeCycleClass(*
> ServiceBuilder.java:523*)****
>
> at org.apache.axis2.deployment.ServiceBuilder.populateService(*
> ServiceBuilder.java:211*)****
>
> ... 57 more****
>
> Caused by: *java.lang.InstantiationException*:
> com.whisolutions.pss.service.PartSelectService****
>
> at java.lang.Class.newInstance0(*Class.java:340*)****
>
> at java.lang.Class.newInstance(*Class.java:308*)****
>
> at
> org.apache.axis2.deployment.ServiceBuilder.loadServiceLifeCycleClass(*
> ServiceBuilder.java:519*)****
>
> ... 58 more****
>
> ** **
>
> ** **
>
> ------------------------------
> STATEMENT OF CONFIDENTIALITY:
>
>
>
> The information contained in this electronic message and any attachments to
> this message are intended for the exclusive use of the addressee(s) and may
> contain confidential or privileged information. If you are not the intended
> recipient, please notify WHI Solutions immediately at gc@whisolutions.com,
> and destroy all copies of this message and any attachments.
>
--
Sagara Gunathunga
Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/
LinkedIn - http://www.linkedin.com/in/ssagara