Hi Samisa, Thanks for your reply. There was a coding error in the startUp() method of the class implementing ServiceLifeCycle. Fixing the error allowed the AAR to deploy correctly.
-Carl -----Original Message----- From: Samisa Abeysinghe [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2008 5:39 PM To: axis-user@ws.apache.org Subject: Re: ServiceLifeCycle and Hot Deployment Can you run other samples that comes with Axis2? Thanks Samisa... Walker, Carleton wrote: > > Hi, > > I'm trying to create an initialization class using ServiceLifeCycle > for my web service. hotdeployment and hotupdate are set to "true". > I'm getting the following exception. I have a class that implements > the ServiceLifeCycle in the AAR file (lkp.aar). The services.xml file > follows the stack trace. The application server is WebLogic 9.2 using > the expanded configuration. > > Thanks for your help in advance. > > -Carl > > [INFO] org.apache.axis2.deployment.DeploymentException: The lkp > service group name is not valid. > org.apache.axis2.deployment.DeploymentException: name > at > org.apache.axis2.deployment.repository.util.ArchiveReader.processServi > ceGroup(ArchiveReader.java:151) > > at > org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.jav > a:81) > > at > org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy( > DeploymentFileData.java:136) > > at > org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine > .java:597) > > at > org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoLi > st.java:144) > > at > org.apache.axis2.deployment.RepositoryListener.update(RepositoryListen > er.java:330) > > at > org.apache.axis2.deployment.RepositoryListener.checkServices(Repositor > yListener.java:227) > > at > org.apache.axis2.deployment.RepositoryListener.startListener(Repositor > yListener.java:324) > > at > org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(Sc > hedulerTask.java:64) > > at > org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask. > java:71) > > at > org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run > (Scheduler.java:83) > > at java.util.TimerThread.mainLoop(Timer.java:512) > at java.util.TimerThread.run(Timer.java:462) > Caused by: org.apache.axis2.deployment.DeploymentException: name > at > org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(S > erviceGroupBuilder.java:106) > > at > org.apache.axis2.deployment.repository.util.ArchiveReader.buildService > Group(ArchiveReader.java:110) > > at > org.apache.axis2.deployment.repository.util.ArchiveReader.processServi > ceGroup(ArchiveReader.java:144) > > ... 12 more > Caused by: org.apache.axis2.deployment.DeploymentException: name > at > org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuil > der.java:431) > > at > org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(S > erviceGroupBuilder.java:101) > > ... 14 more > Caused by: org.apache.axis2.deployment.DeploymentException: name > at > org.apache.axis2.deployment.ServiceBuilder.loadServiceLifeCycleClass(S > erviceBuilder.java:521) > > at > org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuil > der.java:205) > > ... 15 more > Caused by: java.lang.NullPointerException: name > at java.util.zip.ZipFile.getEntry(ZipFile.java:247) > at java.util.jar.JarFile.getEntry(JarFile.java:204) > at java.util.jar.JarFile.getJarEntry(JarFile.java:187) > at > sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:674) > at > sun.misc.URLClassPath$JarLoader.findResource(URLClassPath.java:663) > at sun.misc.URLClassPath.findResource(URLClassPath.java:142) > at java.net.URLClassLoader$2.run(URLClassLoader.java:362) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findResource(URLClassLoader.java:359) > at > org.apache.axis2.deployment.DeploymentClassLoader.findResource(Deploym > entClassLoader.java:102) > > at > org.apache.axis2.deployment.DeploymentClassLoader.getResourceAsStream( > DeploymentClassLoader.java:250) > > at dsh.lkp.ws.LkpInit.startUp(LkpInit.java:42) > at > org.apache.axis2.deployment.ServiceBuilder.loadServiceLifeCycleClass(S > erviceBuilder.java:518) > > ... 16 more > > services.xml > > <serviceGroup> > <service name="LkpInit" class="dsh.lkp.ws.LkpInit" /> > </serviceGroup> > > > Confidentiality Notice: This email, including attachments, may > include non-public, proprietary, confidential or legally privileged > information. If you are not an intended recipient or an authorized > agent of an intended recipient, you are hereby notified that any > dissemination, distribution or copying of the information contained in > or transmitted with this e-mail is unauthorized and strictly > prohibited. If you have received this email in error, please notify > the sender by replying to this message and permanently delete this > e-mail, its attachments, and any copies of it immediately. You should > not retain, copy or use this e-mail or any attachment for any purpose, > nor disclose all or any part of the contents to any other person. > Thank you > > > -- Samisa Abeysinghe http://people.apache.org/~samisa/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Confidentiality Notice: This email, including attachments, may include non-public, proprietary, confidential or legally privileged information. If you are not an intended recipient or an authorized agent of an intended recipient, you are hereby notified that any dissemination, distribution or copying of the information contained in or transmitted with this e-mail is unauthorized and strictly prohibited. If you have received this email in error, please notify the sender by replying to this message and permanently delete this e-mail, its attachments, and any copies of it immediately. You should not retain, copy or use this e-mail or any attachment for any purpose, nor disclose all or any part of the contents to any other person. Thank you --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]