[jboss-user] [JBossWS] - Problem with Deploy and undeploy JBossWS-native-3.0.3.GA

skajotde do-not-reply at jboss.com
Sun Aug 31 06:42:49 EDT 2008


After deploy JBossWS-native-3.0.3.GA on JBossAS 4.2.2.GA and next undeploy, replace with JBossWS-native-2.0.3.GA (which comes with defaults) there is problem when server starts.


  | 12:38:22,250 ERROR [MainDeployer] Could not create deployment: file:/C:/RG/Labs/jboss-4.2.2.GA/server/default/deploy/jbossws.sar/
  | org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.wsf.container.jboss42.DeployerInterceptorJSE; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.wsf.container.jboss42.DeployerInterceptorJSE)
  | 	at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
  | 	at org.jboss.system.ServiceController.install(ServiceController.java:226)
  | 	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:585)
  | 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | 	at $Proxy4.install(Unknown Source)
  | 	at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
  | 	at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
  | 	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
  | 	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
  | 	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:585)
  | 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | 	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | 	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | 	at $Proxy9.deploy(Unknown Source)
  | 	at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
  | 	at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
  | 	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
  | 	at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
  | 	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | 	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | 	at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 	at java.lang.reflect.Method.invoke(Method.java:585)
  | 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 	at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
  | 	at $Proxy0.start(Unknown Source)
  | 	at org.jboss.system.ServiceController.start(ServiceController.java:417)
  | 	at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 	at java.lang.reflect.Method.invoke(Method.java:585)
  | 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | 	at $Proxy4.start(Unknown Source)
  | 	at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
  | 	at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
  | 	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
  | 	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
  | 	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
  | 	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:585)
  | 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | 	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | 	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | 	at $Proxy5.deploy(Unknown Source)
  | 	at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
  | 	at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
  | 	at org.jboss.Main.boot(Main.java:200)
  | 	at org.jboss.Main$1.run(Main.java:508)
  | 	at java.lang.Thread.run(Thread.java:595)
  | Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.wsf.container.jboss42.DeployerInterceptorJSE
  | 	at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
  | 	at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521)
  | 	at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
  | 	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  | 	at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1204)
  | 	at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286)
  | 	at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:344)
  | 	at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157)
  | 	at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:451)
  | 	at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
  | 	... 81 more
  | 


Steps to deploy, undeploy and deploy previous version:


  | 
  | C:\RG\Labs\jbossws-native-3.0.3.GA>ant deploy-jboss422
  | Buildfile: build.xml
  | 
  | target-jboss422:
  | 
  | prepare:
  | 
  | init:
  |      [echo] integration.target=jboss422
  | 
  | undeploy-jboss422:
  |    [delete] Deleting directory C:\RG\Labs\jboss-4.2.2.GA\server\default\deploy\jbossws.sar
  |    [delete] Deleting directory C:\RG\Labs\jboss-4.2.2.GA\server\default\deploy\juddi-service.sar
  | 
  | prepare-deploy:
  | 
  | deploy-structure-jboss42:
  |    [delete] Deleting directory C:\RG\Labs\jbossws-native-3.0.3.GA\output\deploy-jboss422
  | 
  | check-parameters:
  | 
  | deploy-jbossws-endorsed:
  | 
  | deploy-jbossws-native42:
  |     [mkdir] Created dir: C:\RG\Labs\jbossws-native-3.0.3.GA\output\deploy-jboss422\bin
  |      [copy] Copying 8 files to C:\RG\Labs\jbossws-native-3.0.3.GA\output\deploy-jboss422\bin
  |     [mkdir] Created dir: C:\RG\Labs\jbossws-native-3.0.3.GA\output\deploy-jboss422\client
  |      [copy] Copying 23 files to C:\RG\Labs\jbossws-native-3.0.3.GA\output\deploy-jboss422\client
  |     [mkdir] Created dir: C:\RG\Labs\jbossws-native-3.0.3.GA\output\deploy-jboss422\lib
  |     [mkdir] Created dir: C:\RG\Labs\jbossws-native-3.0.3.GA\output\deploy-jboss422\server\default\lib
  |      [copy] Copying 8 files to C:\RG\Labs\jbossws-native-3.0.3.GA\output\deploy-jboss422\server\default\lib
  |     [mkdir] Created dir: C:\RG\Labs\jbossws-native-3.0.3.GA\output\deploy-jboss422\server\default\deploy\jbossws.sar
  |      [copy] Copying 11 files to C:\RG\Labs\jbossws-native-3.0.3.GA\output\deploy-jboss422\server\default\deploy\jbossws.sar
  |     [unzip] Expanding: C:\RG\Labs\jbossws-native-3.0.3.GA\deploy\lib\jbossws-native-management.war into C:\RG\Labs\jbossws-native-3.0.3.GA\output\deploy-jboss422\server\default\deploy\jbossws.sar\jbos
  | sws-management.war
  |      [copy] Copying 1 file to C:\RG\Labs\jbossws-native-3.0.3.GA\output\deploy-jboss422\server\default\deploy\jbossws.sar\jbossws.beans
  |      [copy] Copying 5 files to C:\RG\Labs\jbossws-native-3.0.3.GA\output\deploy-jboss422\server\default\deploy\jbossws.sar\META-INF
  |     [mkdir] Created dir: C:\RG\Labs\jbossws-native-3.0.3.GA\output\deploy-jboss422\server\default\deploy\juddi-service.sar
  |     [unzip] Expanding: C:\RG\Labs\jbossws-native-3.0.3.GA\deploy\lib\juddi-service.sar into C:\RG\Labs\jbossws-native-3.0.3.GA\output\deploy-jboss422\server\default\deploy\juddi-service.sar
  | 
  | deploy-jboss422:
  |      [copy] Copying 79 files to C:\RG\Labs\jboss-4.2.2.GA
  |      [copy] Copied 30 empty directories to 2 empty directories under C:\RG\Labs\jboss-4.2.2.GA
  | 
  | BUILD SUCCESSFUL
  | Total time: 5 seconds
  | C:\RG\Labs\jbossws-native-3.0.3.GA>ant undeploy-jboss422
  | Buildfile: build.xml
  | 
  | target-jboss422:
  | 
  | prepare:
  | 
  | init:
  |      [echo] integration.target=jboss422
  | 
  | undeploy-jboss422:
  |    [delete] Deleting directory C:\RG\Labs\jboss-4.2.2.GA\server\default\deploy\jbossws.sar
  |    [delete] Deleting directory C:\RG\Labs\jboss-4.2.2.GA\server\default\deploy\juddi-service.sar
  | 
  | BUILD SUCCESSFUL
  | Total time: 0 seconds
  | C:\RG\Labs\jbossws-native-3.0.3.GA>cd C:\RG\Labs\jbossws-native-2.0.3.GA
  | 
  | C:\RG\Labs\jbossws-native-2.0.3.GA>ant deploy-jboss422
  | Buildfile: build.xml
  | 
  | prepare:
  | 
  | undeploy-jboss422-endorsed:
  | 
  | undeploy-jboss422:
  | 
  | deploy-jboss422-endorsed:
  | 
  | deploy-jboss422:
  |     [unzip] Expanding: C:\RG\Labs\jbossws-native-2.0.3.GA\lib\jbossws-core-scripts.zip into C:\RG\Labs\jboss-4.2.2.GA\bin
  |      [copy] Copying 14 files to C:\RG\Labs\jboss-4.2.2.GA\client
  |     [mkdir] Created dir: C:\RG\Labs\jboss-4.2.2.GA\server\default\deploy\jbossws.sar
  |     [unjar] Expanding: C:\RG\Labs\jbossws-native-2.0.3.GA\lib\jbossws-native42.sar into C:\RG\Labs\jboss-4.2.2.GA\server\default\deploy\jbossws.sar
  |     [mkdir] Created dir: C:\RG\Labs\jboss-4.2.2.GA\server\default\deploy\juddi-service.sar
  |     [unzip] Expanding: C:\RG\Labs\jbossws-native-2.0.3.GA\lib\juddi-service.sar into C:\RG\Labs\jboss-4.2.2.GA\server\default\deploy\juddi-service.sar
  |     [unzip] Expanding: C:\RG\Labs\jbossws-native-2.0.3.GA\lib\jbossws-framework-scripts.zip into C:\RG\Labs\jboss-4.2.2.GA\bin
  |      [copy] Copying 3 files to C:\RG\Labs\jboss-4.2.2.GA\client
  |      [copy] Copying 3 files to C:\RG\Labs\jboss-4.2.2.GA\server\default\lib
  | 
  | BUILD SUCCESSFUL
  | Total time: 4 seconds
  | C:\RG\Labs\jbossws-native-2.0.3.GA>
  | 

I think ant scripts doesn't remove some library?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4173460#4173460

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4173460



More information about the jboss-user mailing list