<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Re: Possible redeploy issue
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/skumarraju">ShravanKumar Raju</a> in <i>JBoss Web Services</i> - <a href="http://community.jboss.org/message/562690#562690">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hi Daniel,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>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 <strong>jboss-soa-p.5.0.0</strong>.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>here is my case to reproduce the problem.</p><p>1. deploy esb-project-1(exploded version) with class-loading as</p><p style="padding-left: 30px;"><span style="color: #ff00ff;"><em>&lt;classloading xmlns="urn:jboss:classloading:1.0"&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br/>domain="SAG-CORE"&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br/>parent-domain="DefaultDomain"&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br/>export-all="NON_EMPTY"&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br/>import-all="true"&gt;</em></span></p><p style="padding-left: 30px;"><span style="color: #ff00ff;"><em>&lt;/classloading&gt;</em></span></p><p>2. deploy esb-project-2(exploded version) with class-loading as</p><p style="padding-left: 30px;"><span style="color: #ff00ff;">&lt;classloading xmlns="urn:jboss:classloading:1.0"&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br/>domain="ISC-DHCP"&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br/>parent-domain="DefaultDomain"&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br/>export-all="NON_EMPTY"&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br/>import-all="true"&gt;<br/>&lt;/classloading&gt;</span></p><p>Here the esb-project-2 deployment is failing with exception trace below. this is happening only when esb-project-1 has WebService deployment</p><p>with entry in jboss-esb.xml</p><p style="padding-left: 30px;"><span style="color: #ff00ff;">&lt;service category="sagnbi" description="sag web service" name="SAGWSConnector"&gt;<br/>&#160;&#160; &lt;security moduleName="JBossWS" rolesAllowed="provisioning"/&gt;<br/>&#160;&#160; &lt;listeners&gt;<br/>&#160;&#160;&#160; &lt;jms-listener busidref="sagwsEsbChannel" is-gateway="false"<br/>&#160;&#160;&#160;&#160; maxThreads="1" name="esb"/&gt;<br/>&#160;&#160; &lt;/listeners&gt;<br/>&#160;&#160; &lt;actions faultXsd="/fault.xsd" inXsd="/sagrequest.xsd" mep="OneWay"<br/>&#160;&#160;&#160; outXsd="/sagresponse.xsd" validate="true" webservice="true"&gt;<br/>&#160;&#160;&#160; &lt;action class="org.jboss.soa.esb.actions.SystemPrintln" name="RecievedSoapRequest"&gt;<br/>&#160;&#160;&#160;&#160; &lt;property name="message" value="Message received in SAGWSConnector Service"/&gt;<br/>&#160;&#160;&#160;&#160; &lt;property name="printfull" value="false"/&gt;<br/>&#160;&#160;&#160; &lt;/action&gt;<br/>&#160;&#160;&#160; &lt;action class="com.mot.sag.nbi.SAGWebService" name="HandleSoapRequest"/&gt;<br/>&#160;&#160; &lt;/actions&gt;<br/>&#160; &lt;/service&gt;</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I would request you to suggest the workable solution for <strong>jboss-soa-p.5.0.0</strong>.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Regards,</p><p>-Shravan</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>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<br/>java.lang.NoClassDefFoundError: com/mot/sag/exception/MPSException<br/>&#160;&#160;&#160; at java.lang.Class.forName0(Native Method)<br/>&#160;&#160;&#160; at java.lang.Class.forName(Class.java:247)<br/>&#160;&#160;&#160; at org.jboss.soa.esb.util.ClassUtil.forName(ClassUtil.java:65)<br/>&#160;&#160;&#160; at org.jboss.soa.esb.listeners.config.mappers120.XMLBeansModel.getContractPublisher(XMLBeansModel.java:429)<br/>&#160;&#160;&#160; at org.jboss.soa.esb.listeners.config.mappers120.XMLBeansModel.getServicePublishers(XMLBeansModel.java:404)<br/>&#160;&#160;&#160; at org.jboss.soa.esb.listeners.config.model.Model120SchemaParser$Model120Adapter.getServicePublishers(Model120SchemaParser.java:115)<br/>&#160;&#160;&#160; at org.jboss.soa.esb.listeners.config.Configuration.create(Configuration.java:126)<br/>&#160;&#160;&#160; at org.jboss.soa.esb.listeners.deployers.mc.EsbDeployment.start(EsbDeployment.java:121)<br/>&#160;&#160;&#160; at sun.reflect.GeneratedMethodAccessor513.invoke(Unknown Source)<br/>&#160;&#160;&#160; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br/>&#160;&#160;&#160; at java.lang.reflect.Method.invoke(Method.java:597)<br/>&#160;&#160;&#160; at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)<br/>&#160;&#160;&#160; at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)<br/>&#160;&#160;&#160; at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)<br/>&#160;&#160;&#160; at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:243)<br/>&#160;&#160;&#160; at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)<br/>&#160;&#160;&#160; at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:111)<br/>&#160;&#160;&#160; at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:72)<br/>&#160;&#160;&#160; at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)<br/>&#160;&#160;&#160; at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)<br/>&#160;&#160;&#160; at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1633)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:935)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1083)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:985)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:775)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)<br/>&#160;&#160;&#160; at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121)<br/>&#160;&#160;&#160; at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)<br/>&#160;&#160;&#160; at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)<br/>&#160;&#160;&#160; at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)<br/>&#160;&#160;&#160; at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)<br/>&#160;&#160;&#160; at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1440)<br/>&#160;&#160;&#160; at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1158)<br/>&#160;&#160;&#160; at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1179)<br/>&#160;&#160;&#160; at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1099)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1633)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:935)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1083)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:985)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:823)<br/>&#160;&#160;&#160; at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)<br/>&#160;&#160;&#160; at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:782)<br/>&#160;&#160;&#160; at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)<br/>&#160;&#160;&#160; at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)<br/>&#160;&#160;&#160; at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:371)<br/>&#160;&#160;&#160; at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:256)<br/>&#160;&#160;&#160; at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)<br/>&#160;&#160;&#160; at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)<br/>&#160;&#160;&#160; at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)<br/>&#160;&#160;&#160; at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)<br/>&#160;&#160;&#160; at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)<br/>&#160;&#160;&#160; at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)<br/>&#160;&#160;&#160; at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<br/>&#160;&#160;&#160; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)<br/>&#160;&#160;&#160; at java.lang.Thread.run(Thread.java:619)<br/>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@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/]]&#160; 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] &lt;IMPORT-ALL&gt;NON_EMPTY}}<br/>&#160;&#160;&#160; at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:448)<br/>&#160;&#160;&#160; at java.lang.ClassLoader.loadClass(ClassLoader.java:248)<br/>&#160;&#160;&#160; ... 61 more</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/562690#562690">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Web Services at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>