[JBossWS] - Re: Standalone JBossWS
by skajotde
I'm really impressed by JBossWS Testsuite. One tests only executes 2-3 seconds with deploy-execute-undeploy on running JBoss.
On my project one cycle is 10-20 minutes ;/ Many projects with few ears built by maven instead of JBoss Tools, so IDE support is limited. Additionally one problem during deployment blocks my developing even It is not really involved. It is hard ;> and until now I have too little skills to run this with JBoss Embedded (which is not officially supported now)
I have some experience in Spring so move to this library in testing EJB from IDE (Pojo services with setters). Now I can tests in couple of seconds instead of 10 minutes It looks really nice but doesn't cover full JWS features. My JWS is just Pojo ;>
JBossWS Testsuite way (one war per JWS) doesn't match to my case because I don't know how to fast deploy EJB which is required by these JWS (create a few dozen virtual jars with EJB ?) Other solution which comes me to mind is to attach local spring to remote JBoss but I don't know is it good ;> My Spring EM Factory is local and JWS is remote deployed.
When I have read
http://jbws.dyndns.org/mediawiki/index.php?title=Install_JBossWS
anonymous wrote : JBossWS Web Service Framework builds on top of JBoss Microcontainer which supports direct POJO deployment and standalone use outside the JBoss
I had hope that now it just need to wrapper my JWS Pojo in JBossWS Standalone and everything go ;> Is it really option ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4173463#4173463
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4173463
16 years, 1 month
[JBossWS] - Re: Problem with Deploy and undeploy JBossWS-native-3.0.3.GA
by skajotde
It is diff from cygwin:
| kamild@kde ~/RG/Labs
| $ diff -r jboss-4.2.2.GA-fresh/ jboss-4.2.2.GA-deploy-undeploy/ -q
| Files jboss-4.2.2.GA-fresh/bin/wsrunclient.bat and jboss-4.2.2.GA-deploy-undeploy/bin/wsrunclient.bat differ
| Files jboss-4.2.2.GA-fresh/bin/wsrunclient.sh and jboss-4.2.2.GA-deploy-undeploy/bin/wsrunclient.sh differ
| Files jboss-4.2.2.GA-fresh/bin/wstools.bat and jboss-4.2.2.GA-deploy-undeploy/bin/wstools.bat differ
| Files jboss-4.2.2.GA-fresh/bin/wstools.sh and jboss-4.2.2.GA-deploy-undeploy/bin/wstools.sh differ
| Files jboss-4.2.2.GA-fresh/client/jaxb-api.jar and jboss-4.2.2.GA-deploy-undeploy/client/jaxb-api.jar differ
| Files jboss-4.2.2.GA-fresh/client/jaxb-impl.jar and jboss-4.2.2.GA-deploy-undeploy/client/jaxb-impl.jar differ
| Files jboss-4.2.2.GA-fresh/client/jaxb-xjc.jar and jboss-4.2.2.GA-deploy-undeploy/client/jaxb-xjc.jar differ
| Files jboss-4.2.2.GA-fresh/client/jaxws-rt.jar and jboss-4.2.2.GA-deploy-undeploy/client/jaxws-rt.jar differ
| Files jboss-4.2.2.GA-fresh/client/jaxws-tools.jar and jboss-4.2.2.GA-deploy-undeploy/client/jaxws-tools.jar differ
| Files jboss-4.2.2.GA-fresh/client/jboss-jaxrpc.jar and jboss-4.2.2.GA-deploy-undeploy/client/jboss-jaxrpc.jar differ
| Only in jboss-4.2.2.GA-deploy-undeploy/client: jboss-jaxws-ext.jar
| Files jboss-4.2.2.GA-fresh/client/jboss-jaxws.jar and jboss-4.2.2.GA-deploy-undeploy/client/jboss-jaxws.jar differ
| Files jboss-4.2.2.GA-fresh/client/jboss-saaj.jar and jboss-4.2.2.GA-deploy-undeploy/client/jboss-saaj.jar differ
| Files jboss-4.2.2.GA-fresh/client/jbossws-client.jar and jboss-4.2.2.GA-deploy-undeploy/client/jbossws-client.jar differ
| Files jboss-4.2.2.GA-fresh/client/jbossws-common.jar and jboss-4.2.2.GA-deploy-undeploy/client/jbossws-common.jar differ
| Files jboss-4.2.2.GA-fresh/client/jbossws-framework.jar and jboss-4.2.2.GA-deploy-undeploy/client/jbossws-framework.jar differ
| Only in jboss-4.2.2.GA-fresh/client: jbossws-jboss42.jar
| Files jboss-4.2.2.GA-fresh/client/jbossws-spi.jar and jboss-4.2.2.GA-deploy-undeploy/client/jbossws-spi.jar differ
| Files jboss-4.2.2.GA-fresh/client/policy.jar and jboss-4.2.2.GA-deploy-undeploy/client/policy.jar differ
| Only in jboss-4.2.2.GA-fresh/client: stax-api.jar
| Files jboss-4.2.2.GA-fresh/client/stax-ex.jar and jboss-4.2.2.GA-deploy-undeploy/client/stax-ex.jar differ
| Files jboss-4.2.2.GA-fresh/client/streambuffer.jar and jboss-4.2.2.GA-deploy-undeploy/client/streambuffer.jar differ
| Files jboss-4.2.2.GA-fresh/client/wsdl4j.jar and jboss-4.2.2.GA-deploy-undeploy/client/wsdl4j.jar differ
| Only in jboss-4.2.2.GA-fresh/client: wstx.jar
| Only in jboss-4.2.2.GA-deploy-undeploy/server/default: data
| Files jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/META-INF/MANIFEST.MF and jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/META-INF/MANIFEST.MF differ
| Files jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/META-INF/standard-jaxws-client-config.xml and jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/META-INF/standard-jaxws-clie
| nt-config.xml differ
| Files jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/META-INF/standard-jaxws-endpoint-config.xml and jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/META-INF/standard-jaxws-en
| dpoint-config.xml differ
| Files jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/jaxb-api.jar and jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/jaxb-api.jar differ
| Files jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/jaxb-impl.jar and jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/jaxb-impl.jar differ
| Files jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/jboss-jaxb-intros.jar and jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/jboss-jaxb-intros.jar differ
| Files jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/jboss-jaxrpc.jar and jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/jboss-jaxrpc.jar differ
| Only in jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar: jboss-jaxws-ext.jar
| Files jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/jboss-jaxws.jar and jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/jboss-jaxws.jar differ
| Files jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/jboss-saaj.jar and jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/jboss-saaj.jar differ
| Files jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/jbossws-context.war/index.html and jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/jbossws-context.war/index.html differ
| Files jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/jbossws-context.war/styles.css and jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/jbossws-context.war/styles.css differ
| Files jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/jbossws-core.jar and jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/jbossws-core.jar differ
| Only in jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar: jbossws-native.jar
| Files jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml and jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/jbossws.beans/META-INF/jboss-be
| ans.xml differ
| Files jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/policy.jar and jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/policy.jar differ
| Files jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/stax-api.jar and jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/stax-api.jar differ
| Files jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/wsdl4j.jar and jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/wsdl4j.jar differ
| Files jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/wstx.jar and jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/wstx.jar differ
| Files jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/xmlsec.jar and jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/xmlsec.jar differ
| Only in jboss-4.2.2.GA-deploy-undeploy/server/default/deploy: juddi-service.sar
| Only in jboss-4.2.2.GA-fresh/server/default/lib: jboss-jaxrpc.jar
| Only in jboss-4.2.2.GA-fresh/server/default/lib: jboss-jaxws.jar
| Only in jboss-4.2.2.GA-fresh/server/default/lib: jboss-saaj.jar
| Files jboss-4.2.2.GA-fresh/server/default/lib/jbossws-common.jar and jboss-4.2.2.GA-deploy-undeploy/server/default/lib/jbossws-common.jar differ
| Files jboss-4.2.2.GA-fresh/server/default/lib/jbossws-framework.jar and jboss-4.2.2.GA-deploy-undeploy/server/default/lib/jbossws-framework.jar differ
| Only in jboss-4.2.2.GA-fresh/server/default/lib: jbossws-jboss42.jar
| Files jboss-4.2.2.GA-fresh/server/default/lib/jbossws-spi.jar and jboss-4.2.2.GA-deploy-undeploy/server/default/lib/jbossws-spi.jar differ
| Only in jboss-4.2.2.GA-deploy-undeploy/server/default: log
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4173461#4173461
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4173461
16 years, 1 month
[JBossWS] - Problem with Deploy and undeploy JBossWS-native-3.0.3.GA
by skajotde
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
16 years, 1 month
[JBossWS] - Problem Deploying StatelessSessionBean as JAX Websrvice on J
by SagarD
> Hi All,
>
> I am deployed an stateless session bean as JAX webservice on JBOSS
> 4.2.2GA and when trying to invoke the Web service through client
> Application.
>
> Please try to give some pointers on the error below
>
> 21:12:22,250 INFO [JmxKernelAbstraction] creating wrapper delegate
> for: org.jboss.ejb3.stateless.StatelessContainer
> 21:12:22,250 INFO [JmxKernelAbstraction] installing MBean:
> jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewWebService,service
> =EJB3
> with dependencies:
> 21:12:22,500 INFO [JmxKernelAbstraction]
> jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewSessionBean,servic
> e=EJB3 21:12:22,500 INFO [EJBContainer] STARTED EJB:
> org.mdacc.hp.ris.NewWebService ejbName: NewWebService
> 21:12:22,515 INFO [EJB3Deployer] Deployed:
> _file:/C:/jboss-4.2.2.GA/server/default/deploy/TestJBoss_EJBWSHibernat
> e.jar_
> 21:12:22,515 INFO [DefaultEndpointRegistry] register:
> jboss.ws:context=TestJBoss_EJBWSHibernate,endpoint=NewWebService
> 21:12:22,562 INFO [TomcatDeployer] deploy,
> ctxPath=/TestJBoss_EJBWSHibernate,
> warUrl=.../tmp/deploy/TestJBoss_EJBWSHibernate.jar1035.war/
> 21:12:23,015 INFO [WSDLFilePublisher] WSDL published to:
> _file:/C:/jboss-4.2.2.GA/server/default/data/wsdl/TestJBoss_EJBWSHiber
> nate.jar/NewWebServiceService1036.wsdl_
> 21:20:45,468 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
> java.lang.ClassCastException:
> com.sun.xml.messaging.saaj.soap.ver1_1.Envelope1_1Impl
> at
> org.jboss.ws.core.soap.SOAPEnvelopeImpl.(SOAPEnvelopeImpl.java:60)
> at
> org.jboss.ws.core.soap.EnvelopeBuilderDOM.build(EnvelopeBuilderDOM.java:124)
> at
> org.jboss.ws.core.soap.EnvelopeBuilderDOM.build(EnvelopeBuilderDOM.java:96)
> at
> org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:262)
> at
> org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:185)
> at
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:399)
> at
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:274)
> at
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:191)
> at
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:124)
> at
> org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> at
> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
> at
> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at
> org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
> at java.lang.Thread.run(Thread.java:595)
> 21:20:45,734 ERROR [RequestHandlerImpl] Error processing web service
> request
> org.jboss.ws.WSException: java.lang.ClassCastException:
> com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl
> at org.jboss.ws.WSException.rethrow(WSException.java:68)
> at
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:315)
> at
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:191)
> at
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:124)
> at
> org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> cationFilterChain.java:290)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> at
> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
> at
> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at
> org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
> at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.ClassCastException:
> com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl
> at
> org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultHelperJAXWS.java:245)
> at
> org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:174)
> at
> org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:104)
> at
> org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:671)
> at
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:440)
> at
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:274)
> ... 22 more
> 21:20:46,218 ERROR [[NewWebService]] Servlet.service() for servlet
> NewWebService threw exception
> java.lang.ClassCastException:
> com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl
> at
> org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultHelperJAXWS.java:245)
> at
> org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:174)
> at
> org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:104)
> at
> org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:671)
> at
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:440)
> at
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:274)
> at
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:191)
> at
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:124)
> at
> org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> at
> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
> at
> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at
> org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces
> s(Http11Protocol.java:583)
>
> at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
> at java.lang.Thread.run(Thread.java:595)
> 22:46:49,234 INFO [EJBContainer] STOPPED EJB:
> org.mdacc.hp.ris.NewWebService ejbName: NewWebService
> 22:46:49,234 INFO [EJBContainer] STOPPED EJB:
> org.mdacc.hp.ris.NewSessionBean ejbName: NewSessionBean
> 22:46:49,234 WARN [JmxKernelAbstraction]
> jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewSessionBean,servic
> e=EJB3
> is not registered
> 22:46:49,234 WARN [JmxKernelAbstraction]
> jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewWebService,service
> =EJB3
> is not registered
> 22:46:49,234 INFO [TomcatDeployer] undeploy,
> ctxPath=/TestJBoss_EJBWSHibernate,
> warUrl=.../tmp/deploy/TestJBoss_EJBWSHibernate.jar1035.war/
> 22:46:49,359 INFO [DefaultEndpointRegistry] remove:
> jboss.ws:context=TestJBoss_EJBWSHibernate,endpoint=NewWebService
> 22:47:45,968 INFO [JmxKernelAbstraction] creating wrapper delegate
> for: org.jboss.ejb3.stateless.StatelessContainer
> 22:47:45,968 INFO [JmxKernelAbstraction] installing MBean:
> jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewSessionBean,servic
> e=EJB3
> with dependencies:
> 22:47:45,984 INFO [EJBContainer] STARTED EJB:
> org.mdacc.hp.ris.NewSessionBean ejbName: NewSessionBean
> 22:47:46,015 INFO [JmxKernelAbstraction] creating wrapper delegate
> for: org.jboss.ejb3.stateless.StatelessContainer
> 22:47:46,015 INFO [JmxKernelAbstraction] installing MBean:
> jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewWebService,service
> =EJB3
> with dependencies:
> 22:47:46,250 INFO [JmxKernelAbstraction]
> jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewSessionBean,servic
> e=EJB3
> 22:47:46,265 INFO [EJBContainer] STARTED EJB:
> org.mdacc.hp.ris.NewWebService ejbName: NewWebService
> 22:47:46,265 INFO [EJB3Deployer] Deployed:
> _file:/C:/jboss-4.2.2.GA/server/default/deploy/TestJBoss_EJBWSHibernat
> e.jar_
> 22:47:46,281 INFO [DefaultEndpointRegistry] register:
> jboss.ws:context=TestJBoss_EJBWSHibernate,endpoint=NewWebService
> 22:47:46,359 INFO [TomcatDeployer] deploy,
> ctxPath=/TestJBoss_EJBWSHibernate,
> warUrl=.../tmp/deploy/TestJBoss_EJBWSHibernate.jar1039.war/
> 22:47:46,890 INFO [WSDLFilePublisher] WSDL published to:
> _file:/C:/jboss-4.2.2.GA/server/default/data/wsdl/TestJBoss_EJBWSHiber
> nate.jar/NewWebServiceService1040.wsdl_
> 23:04:52,281 INFO [EJBContainer] STOPPED EJB:
> org.mdacc.hp.ris.NewWebService ejbName: NewWebService
> 23:04:52,296 INFO [EJBContainer] STOPPED EJB:
> org.mdacc.hp.ris.NewSessionBean ejbName: NewSessionBean
> 23:04:52,296 WARN [JmxKernelAbstraction]
> jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewSessionBean,servic
> e=EJB3
> is not registered
> 23:04:52,296 WARN [JmxKernelAbstraction]
> jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewWebService,service
> =EJB3
> is not registered
> 23:04:52,296 INFO [TomcatDeployer] undeploy,
> ctxPath=/TestJBoss_EJBWSHibernate,
> warUrl=.../tmp/deploy/TestJBoss_EJBWSHibernate.jar1039.war/
> 23:04:52,812 INFO [DefaultEndpointRegistry] remove:
> jboss.ws:context=TestJBoss_EJBWSHibernate,endpoint=NewWebService
> 23:05:11,515 INFO [JmxKernelAbstraction] creating wrapper delegate
> for: org.jboss.ejb3.stateless.StatelessContainer
> 23:05:11,515 INFO [JmxKernelAbstraction] installing MBean:
> jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewSessionBean,servic
> e=EJB3
> with dependencies:
> 23:05:11,531 INFO [EJBContainer] STARTED EJB:
> org.mdacc.hp.ris.NewSessionBean ejbName: NewSessionBean
> 23:05:11,546 INFO [JmxKernelAbstraction] creating wrapper delegate
> for: org.jboss.ejb3.stateless.StatelessContainer
> 23:05:11,546 INFO [JmxKernelAbstraction] installing MBean:
> jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewWebService,service
> =EJB3
> with dependencies:
> 23:05:11,781 INFO [JmxKernelAbstraction]
> jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewSessionBean,servic
> e=EJB3
> 23:05:11,796 INFO [EJBContainer] STARTED EJB:
> org.mdacc.hp.ris.NewWebService ejbName: NewWebService
> 23:05:11,796 INFO [EJB3Deployer] Deployed:
> _file:/C:/jboss-4.2.2.GA/server/default/deploy/TestJBoss_EJBWSHibernat
> e.jar_
> 23:05:11,828 INFO [DefaultEndpointRegistry] register:
> jboss.ws:context=TestJBoss_EJBWSHibernate,endpoint=NewWebService
> 23:05:11,906 INFO [TomcatDeployer] deploy,
> ctxPath=/TestJBoss_EJBWSHibernate,
> warUrl=.../tmp/deploy/TestJBoss_EJBWSHibernate.jar1043.war/
> 23:05:12,375 INFO [WSDLFilePublisher] WSDL published to:
> _file:/C:/jboss-4.2.2.GA/server/default/data/wsdl/TestJBoss_EJBWSHiber
> nate.jar/NewWebServiceService1044.wsdl_
> 23:23:42,609 INFO [EJBContainer] STOPPED EJB:
> org.mdacc.hp.ris.NewWebService ejbName: NewWebService
> 23:23:42,609 INFO [EJBContainer] STOPPED EJB:
> org.mdacc.hp.ris.NewSessionBean ejbName: NewSessionBean
> 23:23:42,609 WARN [JmxKernelAbstraction]
> jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewSessionBean,servic
> e=EJB3
> is not registered
> 23:23:42,625 WARN [JmxKernelAbstraction]
> jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewWebService,service
> =EJB3
> is not registered
> 23:23:42,625 INFO [TomcatDeployer] undeploy,
> ctxPath=/TestJBoss_EJBWSHibernate,
> warUrl=.../tmp/deploy/TestJBoss_EJBWSHibernate.jar1043.war/
> 23:23:43,156 INFO [DefaultEndpointRegistry] remove:
> jboss.ws:context=TestJBoss_EJBWSHibernate,endpoint=NewWebService
> 23:23:56,203 INFO [JmxKernelAbstraction] creating wrapper delegate
> for: org.jboss.ejb3.stateless.StatelessContainer
> 23:23:56,203 INFO [JmxKernelAbstraction] installing MBean:
> jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewSessionBean,servic
> e=EJB3
> with dependencies:
> 23:23:56,218 INFO [EJBContainer] STARTED EJB:
> org.mdacc.hp.ris.NewSessionBean ejbName: NewSessionBean
> 23:23:56,234 INFO [JmxKernelAbstraction] creating wrapper delegate
> for: org.jboss.ejb3.stateless.StatelessContainer
> 23:23:56,234 INFO [JmxKernelAbstraction] installing MBean:
> jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewWebService,service
> =EJB3
> with dependencies:
> 23:23:56,671 INFO [JmxKernelAbstraction]
> jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewSessionBean,servic
> e=EJB3
> 23:23:56,687 INFO [EJBContainer] STARTED EJB:
> org.mdacc.hp.ris.NewWebService ejbName: NewWebService
> 23:23:56,687 INFO [EJB3Deployer] Deployed:
> _file:/C:/jboss-4.2.2.GA/server/default/deploy/TestJBoss_EJBWSHibernat
> e.jar_
> 23:23:56,734 INFO [DefaultEndpointRegistry] register:
> jboss.ws:context=TestJBoss_EJBWSHibernate,endpoint=NewWebService
> 23:23:56,781 INFO [TomcatDeployer] deploy,
> ctxPath=/TestJBoss_EJBWSHibernate,
> warUrl=.../tmp/deploy/TestJBoss_EJBWSHibernate.jar1047.war/
> 23:23:57,093 INFO [WSDLFilePublisher] WSDL published to:
> _file:/C:/jboss-4.2.2.GA/server/default/data/wsdl/TestJBoss_EJBWSHiber
> nate.jar/NewWebServiceService1048.wsdl_
> 23:40:32,156 INFO [EJBContainer] STOPPED EJB:
> org.mdacc.hp.ris.NewWebService ejbName: NewWebService
> 23:40:32,156 INFO [EJBContainer] STOPPED EJB:
> org.mdacc.hp.ris.NewSessionBean ejbName: NewSessionBean
> 23:40:32,156 WARN [JmxKernelAbstraction]
> jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewSessionBean,servic
> e=EJB3
> is not registered
> 23:40:32,156 WARN [JmxKernelAbstraction]
> jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewWebService,service
> =EJB3
> is not registered
> 23:40:32,156 INFO [TomcatDeployer] undeploy,
> ctxPath=/TestJBoss_EJBWSHibernate,
> warUrl=.../tmp/deploy/TestJBoss_EJBWSHibernate.jar1047.war/
> 23:40:32,484 INFO [DefaultEndpointRegistry] remove:
> jboss.ws:context=TestJBoss_EJBWSHibernate,endpoint=NewWebService
> 23:40:42,000 INFO [JmxKernelAbstraction] creating wrapper delegate
> for: org.jboss.ejb3.stateless.StatelessContainer
> 23:40:42,000 INFO [JmxKernelAbstraction] installing MBean:
> jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewSessionBean,servic
> e=EJB3
> with dependencies:
> 23:40:42,015 INFO [EJBContainer] STARTED EJB:
> org.mdacc.hp.ris.NewSessionBean ejbName: NewSessionBean
> 23:40:42,031 INFO [JmxKernelAbstraction] creating wrapper delegate
> for: org.jboss.ejb3.stateless.StatelessContainer
> 23:40:42,031 INFO [JmxKernelAbstraction] installing MBean:
> jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewWebService,service
> =EJB3
> with dependencies:
> 23:40:42,468 INFO [JmxKernelAbstraction]
> jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewSessionBean,servic
> e=EJB3
> 23:40:42,468 INFO [EJBContainer] STARTED EJB:
> org.mdacc.hp.ris.NewWebService ejbName: NewWebService
> 23:40:42,484 INFO [EJB3Deployer] Deployed:
> _file:/C:/jboss-4.2.2.GA/server/default/deploy/TestJBoss_EJBWSHibernat
> e.jar_
> 23:40:42,515 INFO [DefaultEndpointRegistry] register:
> jboss.ws:context=TestJBoss_EJBWSHibernate,endpoint=NewWebService
> 23:40:42,562 INFO [TomcatDeployer] deploy,
> ctxPath=/TestJBoss_EJBWSHibernate,
> warUrl=.../tmp/deploy/TestJBoss_EJBWSHibernate.jar1051.war/
> 23:40:43,171 INFO [WSDLFilePublisher] WSDL published to:
> _file:/C:/jboss-4.2.2.GA/server/default/data/wsdl/TestJBoss_EJBWSHiber
> nate.jar/NewWebServiceService1052.wsdl_
> 23:55:51,984 INFO [EJBContainer] STOPPED EJB:
> org.mdacc.hp.ris.NewWebService ejbName: NewWebService
> 23:55:51,984 INFO [EJBContainer] STOPPED EJB:
> org.mdacc.hp.ris.NewSessionBean ejbName: NewSessionBean
> 23:55:51,984 WARN [JmxKernelAbstraction]
> jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewSessionBean,servic
> e=EJB3
> is not registered
> 23:55:51,984 WARN [JmxKernelAbstraction]
> jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewWebService,service
> =EJB3
> is not registered
> 23:55:51,984 INFO [TomcatDeployer] undeploy,
> ctxPath=/TestJBoss_EJBWSHibernate,
> warUrl=.../tmp/deploy/TestJBoss_EJBWSHibernate.jar1051.war/
> 23:55:52,500 INFO [DefaultEndpointRegistry] remove:
> jboss.ws:context=TestJBoss_EJBWSHibernate,endpoint=NewWebService
> 23:56:06,562 INFO [JmxKernelAbstraction] creating wrapper delegate
> for: org.jboss.ejb3.stateless.StatelessContainer
> 23:56:06,562 INFO [JmxKernelAbstraction] installing MBean:
> jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewSessionBean,servic
> e=EJB3
> with dependencies:
> 23:56:06,562 INFO [EJBContainer] STARTED EJB:
> org.mdacc.hp.ris.NewSessionBean ejbName: NewSessionBean
> 23:56:06,578 INFO [JmxKernelAbstraction] creating wrapper delegate
> for: org.jboss.ejb3.stateless.StatelessContainer
> 23:56:06,578 INFO [JmxKernelAbstraction] installing MBean:
> jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewWebService,service
> =EJB3
> with dependencies:
> 23:56:06,781 INFO [JmxKernelAbstraction]
> jboss.j2ee:jar=TestJBoss_EJBWSHibernate.jar,name=NewSessionBean,servic
> e=EJB3
> 23:56:06,796 INFO [EJBContainer] STARTED EJB:
> org.mdacc.hp.ris.NewWebService ejbName: NewWebService
> 23:56:06,796 INFO [EJB3Deployer] Deployed:
> _file:/C:/jboss-4.2.2.GA/server/default/deploy/TestJBoss_EJBWSHibernat
> e.jar_
> 23:56:06,828 INFO [DefaultEndpointRegistry] register:
> jboss.ws:context=TestJBoss_EJBWSHibernate,endpoint=NewWebService
> 23:56:06,875 INFO [TomcatDeployer] deploy,
> ctxPath=/TestJBoss_EJBWSHibernate,
> warUrl=.../tmp/deploy/TestJBoss_EJBWSHibernate.jar1055.war/
> 23:56:07,281 INFO [WSDLFilePublisher] WSDL published to:
> _file:/C:/jboss-4.2.2.GA/server/default/data/wsdl/TestJBoss_EJBWSHiber
> nate.jar/NewWebServiceService1056.wsdl_
> 00:00:29,515 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
> java.lang.ClassCastException:
> com.sun.xml.messaging.saaj.soap.ver1_1.Envelope1_1Impl
> at
> org.jboss.ws.core.soap.SOAPEnvelopeImpl.(SOAPEnvelopeImpl.java:60)
> at
> org.jboss.ws.core.soap.EnvelopeBuilderDOM.build(EnvelopeBuilderDOM.java:124)
> at
> org.jboss.ws.core.soap.EnvelopeBuilderDOM.build(EnvelopeBuilderDOM.java:96)
> at
> org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:262)
> at
> org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:185)
> at
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:399)
> at
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:274)
> at
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:191)
> at
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:124)
> at
> org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> at
> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
> at
> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at
> org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
> at java.lang.Thread.run(Thread.java:595)
> 00:00:29,687 ERROR [RequestHandlerImpl] Error processing web service
> request
> org.jboss.ws.WSException: java.lang.ClassCastException:
> com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl
> at org.jboss.ws.WSException.rethrow(WSException.java:68)
> at
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:315)
> at
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:191)
> at
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:124)
> at
> org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> cationFilterChain.java:290)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> at
> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
> at
> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at
> org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
> at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.ClassCastException:
> com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl
> at
> org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultHelperJAXWS.java:245)
> at
> org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:174)
> at
> org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:104)
> at
> org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:671)
> at
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:440)
> at
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:274)
> ... 22 more
> 00:00:30,171 ERROR [[NewWebService]] Servlet.service() for servlet
> NewWebService threw exception
> java.lang.ClassCastException:
> com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl
> at
> org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultHelperJAXWS.java:245)
> at
> org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:174)
> at
> org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:104)
> at
> org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:671)
> at
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:440)
> at
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:274)
> at
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:191)
> at
> org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:124)
> at
> org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> at
> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
> at
> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at
> org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces
> s(Http11Protocol.java:583)
>
> at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
> at java.lang.Thread.run(Thread.java:595)
> Thanks & Regards
> Shiva
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4173414#4173414
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4173414
16 years, 1 month
[JBossWS] - Re: Issues with WS-Eventing and JBoss-4.2.3
by riveradon
The following is an example of the code I am trying to execute using the JBoss-4.2.3 libraries. This is a simple main program and interface:
Client
| public class Test {
|
| private static Logger mLogger = Logger.getLogger(Test.class);
|
| public void registerService() {
| final String METHOD_NAME = "registerService";
| mLogger.debug(METHOD_NAME + " - ENTRY");
| boolean result = false;
| try {
| // Running the getCurrent function
| Service service = Service.create(
| new URL("http://ssdr_server:8080/ssdi-ssdr/ssdi-ssdr?wsdl"),
| new QName("http://ssdr.webservices.com/", "SsdrRegistryService"));
| ISsdr servicePort = service.getPort(ISsdr.class);
|
| String registerRDF = "payload";
|
| // Registering the ssdr via the SSDR Web Service
| result = servicePort.registerService(registerRDF);
| mLogger.info("Register results are:" + result);
|
| } catch (Exception e) {
| mLogger.error(METHOD_NAME + " : Exception: ", e);
| }
| mLogger.debug(METHOD_NAME + " - EXIT");
| }
|
| public static void main(String[] args) {
| Test test = new Test();
| test.registerService();
| }
| }
|
Interface
| @WebService
| @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL,
| parameterStyle = SOAPBinding.ParameterStyle.WRAPPED)
| public interface ISsdr {
| @WebMethod
| public boolean registerService(@WebParam(name = "serviceRDF") String serviceRDF);
|
| @WebMethod
| public boolean unregisterService(@WebParam(name = "serviceRDF") String serviceRDF);
|
| @WebMethod
| public ArrayList<String> serviceLookup(@WebParam(name="serviceRequestRDF")
| String serviceRequestRDF);
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4173344#4173344
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4173344
16 years, 1 month