[JBossWS] - Re: jbossws-2.0.1 released
by ptenn10
Hi all,
Thank you for posting the XML files and the fix to the build-deploy.xml.
We are running jbossws 1.4 on JBoss AS 4.0.4GA. We are not using EJB3.
Yesterday I attempted to upgrade to 2.0.1GA on my local development box.
I applied the 3 fixes that were described in this post:
[list=]Drop in jboss-service-no-ejb3.xml
[list=]Drop in jboss-beans-no-ejb3.xml
[list=]Modify line 53 in build-deploy.xml
And was able to successfully run the deploy-jboss40 task.
However, when I went to run, my server.log file has the following warning:
2007-10-12 07:34:25,492 WARN [org.jboss.ejb.EjbModule] Could not load the org.jboss.ws.integration.jboss.ServiceEndpointInterceptor interceptor
| java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.ws.integration.jboss.ServiceEndpointInterceptor
for every Stateless Session Bean that is deployed.
Here is the full stacktrace for one of the Stateless Session Bean deployments:
2007-10-12 07:34:25,477 INFO [org.jboss.ejb.EjbModule] Deploying SBNotificationService
| 2007-10-12 07:34:25,492 WARN [org.jboss.ejb.EjbModule] Could not load the org.jboss.ws.integration.jboss.ServiceEndpointInterceptor interceptor
| java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.ws.integration.jboss.ServiceEndpointInterceptor
| at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| at org.jboss.util.loading.DelegatingClassLoader.loadClass(DelegatingClassLoader.java:89)
| at org.jboss.mx.loading.LoaderRepositoryClassLoader.loadClass(LoaderRepositoryClassLoader.java:90)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| at org.jboss.util.loading.DelegatingClassLoader.loadClass(DelegatingClassLoader.java:89)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| at org.jboss.ejb.EjbModule.addInterceptors(EjbModule.java:923)
| at org.jboss.ejb.EjbModule.initializeContainer(EjbModule.java:810)
| at org.jboss.ejb.EjbModule.createStatelessSessionContainer(EjbModule.java:614)
| at org.jboss.ejb.EjbModule.createContainer(EjbModule.java:569)
| at org.jboss.ejb.EjbModule.createService(EjbModule.java:344)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
| 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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.create(Unknown Source)
| at org.jboss.system.ServiceController.create(ServiceController.java:330)
| at org.jboss.system.ServiceController.create(ServiceController.java:273)
| at sun.reflect.GeneratedMethodAccessor4.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 $Proxy25.create(Unknown Source)
| at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:641)
| 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.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
| at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
| at org.jboss.wsf.container.jboss40.DeployerInterceptor.create(DeployerInterceptor.java:76)
| at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
| at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
| 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 $Proxy26.create(Unknown Source)
| at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
| at org.jboss.deployment.MainDeployer.create(MainDeployer.java:943)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
| at sun.reflect.GeneratedMethodAccessor58.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.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 $Proxy8.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.GeneratedMethodAccessor2.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:1007)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
| 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:464)
| at java.lang.Thread.run(Thread.java:595)
|
Has anyone else experienced this? Is jbossws-2.0.1 still using the class org.jboss.ws.integration.jboss.ServiceEndpointInterceptor? I found this interceptor referenced in conf/standardjboss.xml and thought about commenting it out, but wanted to get a better understanding before doing so.
Thanks,
Philip Tenn
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094507#4094507
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094507
17 years, 1 month
[JBossWS] - Problems with installation of jbossws2.0.1 on jboss4.2.1, he
by abdujaparov
Hi, In the last 2 day I tried to install jbossws2.0.1 on jboss4.2.1 but I have some problems. In the installation guide it said I must copy the ant.properties.examples into ant.properties, but there isn't the first file. I have only set the path of jboss4.2.1 in ant.properties and then I've executed ant deploy-jboss42 but I have this error message:
anonymous wrote :
| C:\jbossws-native-2.0.1.GA>ant deploy-jboss42
| Buildfile: build.xml
|
| prepare:
|
| undeploy-jboss42-endorsed:
|
| BUILD FAILED
| C:\jbossws-native-2.0.1.GA\build\build-deploy.xml:62: The following error occurr
| ed while executing this line:
| C:\jbossws-native-2.0.1.GA\build\macros-deploy-native.xml:385: Directory does no
| t exist:C:\jbossws-native-2.0.1.GA\jboss-4.2.1.GA\lib\endorsed
|
| Total time: 0 seconds
|
Why does it find "jboss-4.2.1.GA\lib\endorsed" in "C:\jbossws-native-2.0.1.GA\" directory?
The line 52 of C:\jbossws-native-2.0.1.GA\build\build-deploy.xml:62 this is:
| <macro-undeploy-endorsed jbosshome="${jboss42.home}"/>
|
and the jboss42.home is defined in ant.propertis as follows:
jboss42.home=C:\jboss-4.2.1.GA
The line385 of C:\jbossws-native-2.0.1.GA\build\macros-deploy-native.xml is the tag in the following xml code:
| <!-- Undeploy API jars from lib/endorsed -->
| <macrodef name="macro-undeploy-endorsed">
| <attribute name="jbosshome"/>
| <sequential>
| <delete>
| <fileset dir="@{jbosshome}/lib/endorsed">
| <include name="jaxb-api.jar"/>
| <include name="jboss-jaxrpc.jar"/>
| <include name="jboss-jaxws.jar"/>
| <include name="jboss-saaj.jar"/>
| </fileset>
| </delete>
| </sequential>
| </macrodef>
|
How can I install jbossws?
Thanks everybody.
Bye bye.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094365#4094365
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094365
17 years, 1 month