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.processService
Group(ArchiveReader.java:151)
at
org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:
81)
at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(De
ploymentFileData.java:136)
at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.j
ava:597)
at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList
.java:144)
at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener
.java:330)
at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryL
istener.java:227)
at
org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryL
istener.java:324)
at
org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(Sche
dulerTask.java:64)
at
org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.ja
va:71)
at
org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(S
cheduler.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(Ser
viceGroupBuilder.java:106)
at
org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGr
oup(ArchiveReader.java:110)
at
org.apache.axis2.deployment.repository.util.ArchiveReader.processService
Group(ArchiveReader.java:144)
... 12 more
Caused by: org.apache.axis2.deployment.DeploymentException: name
at
org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilde
r.java:431)
at
org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(Ser
viceGroupBuilder.java:101)
... 14 more
Caused by: org.apache.axis2.deployment.DeploymentException: name
at
org.apache.axis2.deployment.ServiceBuilder.loadServiceLifeCycleClass(Ser
viceBuilder.java:521)
at
org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilde
r.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(Deploymen
tClassLoader.java:102)
at
org.apache.axis2.deployment.DeploymentClassLoader.getResourceAsStream(De
ploymentClassLoader.java:250)
at dsh.lkp.ws.LkpInit.startUp(LkpInit.java:42)
at
org.apache.axis2.deployment.ServiceBuilder.loadServiceLifeCycleClass(Ser
viceBuilder.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