ShravanKumar Raju [
http://community.jboss.org/people/skumarraju] created the discussion
"Re: Possible redeploy issue"
To view the discussion, visit:
http://community.jboss.org/message/562690#562690
--------------------------------------------------------------
Hi Daniel,
I have been pointed to this post by google search when searching for the solution existed
for my problem. although the problem description looks exactly similar. no clue on how to
resolve the problem in *jboss-soa-p.5.0.0*.
here is my case to reproduce the problem.
1. deploy esb-project-1(exploded version) with class-loading as
+<classloading xmlns="urn:jboss:classloading:1.0"
domain="SAG-CORE"
parent-domain="DefaultDomain"
export-all="NON_EMPTY"
import-all="true">+
+</classloading>+
2. deploy esb-project-2(exploded version) with class-loading as
<classloading xmlns="urn:jboss:classloading:1.0"
domain="ISC-DHCP"
parent-domain="DefaultDomain"
export-all="NON_EMPTY"
import-all="true">
</classloading>
Here the esb-project-2 deployment is failing with exception trace below. this is happening
only when esb-project-1 has WebService deployment
with entry in jboss-esb.xml
<service category="sagnbi" description="sag web service"
name="SAGWSConnector">
<security moduleName="JBossWS" rolesAllowed="provisioning"/>
<listeners>
<jms-listener busidref="sagwsEsbChannel" is-gateway="false"
maxThreads="1" name="esb"/>
</listeners>
<actions faultXsd="/fault.xsd" inXsd="/sagrequest.xsd"
mep="OneWay"
outXsd="/sagresponse.xsd" validate="true"
webservice="true">
<action class="org.jboss.soa.esb.actions.SystemPrintln"
name="RecievedSoapRequest">
<property name="message" value="Message received in SAGWSConnector
Service"/>
<property name="printfull" value="false"/>
</action>
<action class="com.mot.sag.nbi.SAGWebService"
name="HandleSoapRequest"/>
</actions>
</service>
I would request you to suggest the workable solution for *jboss-soa-p.5.0.0*.
Regards,
-Shravan
2010-09-20 15:50:30,595 ERROR
[org.jboss.kernel.plugins.dependency.AbstractKernelController] (HDScanner) Error
installing to Start:
name=jboss.esb.vfsfile:/D:/jboss-soa-p.5.0.0/jboss-as/server/default/deploy/ISCDHCP.esb/
state=Create
java.lang.NoClassDefFoundError: com/mot/sag/exception/MPSException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at org.jboss.soa.esb.util.ClassUtil.forName(ClassUtil.java:65)
at
org.jboss.soa.esb.listeners.config.mappers120.XMLBeansModel.getContractPublisher(XMLBeansModel.java:429)
at
org.jboss.soa.esb.listeners.config.mappers120.XMLBeansModel.getServicePublishers(XMLBeansModel.java:404)
at
org.jboss.soa.esb.listeners.config.model.Model120SchemaParser$Model120Adapter.getServicePublishers(Model120SchemaParser.java:115)
at org.jboss.soa.esb.listeners.config.Configuration.create(Configuration.java:126)
at
org.jboss.soa.esb.listeners.deployers.mc.EsbDeployment.start(EsbDeployment.java:121)
at sun.reflect.GeneratedMethodAccessor513.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
at
org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
at
org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
at
org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:243)
at
org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
at
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:111)
at
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:72)
at
org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
at
org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
at
org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
at
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
at
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
at
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1633)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:935)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1083)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:985)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:775)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
at
org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121)
at
org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)
at
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
at
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1440)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1158)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1179)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1099)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1633)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:935)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1083)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:985)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:823)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:782)
at
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
at
org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
at
org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:371)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:256)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
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.ClassNotFoundException: com.mot.sag.exception.MPSException from
BaseClassLoader@75c9a2{VFSClassLoaderPolicy@108c69c{name=vfsfile:/D:/jboss-soa-p.5.0.0/jboss-as/server/default/deploy/ISCDHCP.esb/
domain=ClassLoaderDomain@1fac852{name=DefaultDomain parentPolicy=BEFORE
parent=org.jboss.bootstrap.NoAnnotationURLClassLoader@1d63e39}
roots=[MemoryContextHandler@19358903[path=
context=vfsmemory://a6g4j30-f5fl33-geb66pcs-1-geb6qpss-jl
real=vfsmemory://a6g4j30-f5fl33-geb66pcs-1-geb6qpss-jl],
FileHandler(a)25313245[path=ISCDHCP.esb
context=file:/D:/jboss-soa-p.5.0.0/jboss-as/server/default/deploy/
real=file:/D:/jboss-soa-p.5.0.0/jboss-as/server/default/deploy/ISCDHCP.esb/]]
delegates=null exported=[, resources, com.mot.sag.adapter.iscdhcp.connection.beans,
com.mot.sag.adapter.iscdhcp, config, com.mot.sag.adapter.iscdhcp.helper,
com.mot.sag.adapter.iscdhcp.connection, META-INF] <IMPORT-ALL>NON_EMPTY}}
at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:448)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 61 more
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/562690#562690]
Start a new discussion in JBoss Web Services at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]