[EJB 3.0] - Re: Issues in Ejb 3.0 Deployment
by vasudm82
Hi PeterJ
Appologies for the delayed reply.
In Eclipse, In the Package Explorer, when you expand your project there should be an entry for "JRE System Library" with a version in brackets behind it. What is that version?
I checked it. It is the same version 1.5.0_07
>From a command prompt, run:
%java_home%\bin\javap -verbose -classpath xxx com.demo.hello.HelloBeanBean
where xxx is the base directory into which Eclipse is compiling the classes. Post the output.
Here is the output
Compiled from "HelloBeanBean.java"
public class com.demo.hello.HelloBeanBean extends java.lang.Object implements com.demo.hello.HelloBean
SourceFile: "HelloBeanBean.java"
RuntimeVisibleAnnotations: length = 0xB
00 01 00 22 00 01 00 23 73 00 24
minor version: 0
major version: 50
Constant pool:
const #1 = class #2; // com/demo/hello/HelloBeanBean
const #2 = Asciz com/demo/hello/HelloBeanBean;
const #3 = class #4; // java/lang/Object
const #4 = Asciz java/lang/Object;
const #5 = class #6; // com/demo/hello/HelloBean
const #6 = Asciz com/demo/hello/HelloBean;
const #7 = Asciz ;
const #8 = Asciz ()V;
const #9 = Asciz Code;
const #10 = Method #3.#11; // java/lang/Object."":()V
const #11 = NameAndType #7:#8;// "":()V
const #12 = Asciz LineNumberTable;
const #13 = Asciz LocalVariableTable;
const #14 = Asciz this;
const #15 = Asciz Lcom/demo/hello/HelloBeanBean;;
const #16 = Asciz hello;
const #17 = Field #18.#20; // java/lang/System.out:Ljava/io/PrintStream;
const #18 = class #19; // java/lang/System
const #19 = Asciz java/lang/System;
const #20 = NameAndType #21:#22;// out:Ljava/io/PrintStream;
const #21 = Asciz out;
const #22 = Asciz Ljava/io/PrintStream;;
const #23 = String #24; // Hello
const #24 = Asciz Hello;
const #25 = Method #26.#28; // java/io/PrintStream.println:(Ljava/lang/String;)V
const #26 = class #27; // java/io/PrintStream
const #27 = Asciz java/io/PrintStream;
const #28 = NameAndType #29:#30;// println:(Ljava/lang/String;)V
const #29 = Asciz println;
const #30 = Asciz (Ljava/lang/String;)V;
const #31 = Asciz SourceFile;
const #32 = Asciz HelloBeanBean.java;
const #33 = Asciz RuntimeVisibleAnnotations;
const #34 = Asciz Ljavax/ejb/Stateless;;
const #35 = Asciz name;
const #36 = Asciz HelloBeanBean;
{
public com.demo.hello.HelloBeanBean();
Code:
Stack=1, Locals=1, Args_size=1
0: aload_0
1: invokespecial #10; //Method java/lang/Object."":()V
4: return
LineNumberTable:
line 7: 0
LocalVariableTable:
Start Length Slot Name Signature
0 5 0 this Lcom/demo/hello/HelloBeanBean;
public void hello();
Code:
Stack=2, Locals=1, Args_size=1
0: getstatic #17; //Field java/lang/System.out:Ljava/io/PrintStream;
3: ldc #23; //String Hello
5: invokevirtual #25; //Method java/io/PrintStream.println:(Ljava/lang/String;)V
8: return
LineNumberTable:
line 11: 0
line 13: 8
LocalVariableTable:
Start Length Slot Name Signature
0 9 0 this Lcom/demo/hello/HelloBeanBean;
}
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4173429#4173429
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4173429
16 years, 2 months
[Clustering/JBoss] - jgroups IllegalArgumentException UNICAST.down
by bel81
i am trying to configure jgroups for use in gridgrain, not jboss cluster - but i hope it's ok to ask here.
i've tried googling for this message but was unable to find a lot, any hint would be great.
here is my sad story:
i get a couple of notes sucessfully connected, but as soon as one of them wants to talk to other i get this exeption:
[it's in the log of 10.15.19.33 and 10.15.19.142 is the only initial_host]
[is both my TCP start_port and the port of initial_hosts record, is this valid?
]
java.lang.IllegalArgumentException: 10.15.19.142:7800 is not a member of the group [10.15.19.142:7801, 10.6.179.52:7800, 10.6.179.52:7801, 10.15.19.33:7800, 10.15.19.33:7801] (enabled_members=[])
at org.jgroups.protocols.UNICAST.down(UNICAST.java:305)
at org.jgroups.protocols.pbcast.STABLE.down(STABLE.java:317)
at org.jgroups.protocols.FRAG.fragment(FRAG.java:230)
at org.jgroups.protocols.FRAG.down(FRAG.java:112)
at org.jgroups.protocols.pbcast.GMS.down(GMS.java:837)
at org.jgroups.stack.ProtocolStack.down(ProtocolStack.java:375)
at org.jgroups.JChannel.downcall(JChannel.java:1366)
at org.jgroups.mux.MuxChannel.downcall(MuxChannel.java:365)
at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.down(MessageDispatcher.java:760)
at org.jgroups.blocks.RequestCorrelator.sendRequest(RequestCorrelator.java:301)
at org.jgroups.blocks.GroupRequest.doExecute(GroupRequest.java:484)
at org.jgroups.blocks.GroupRequest.execute(GroupRequest.java:211)
at org.jgroups.blocks.MessageDispatcher.castMessage(MessageDispatcher.java:438)
at org.jgroups.blocks.MessageDispatcher.castMessage(MessageDispatcher.java:384)
at org.jgroups.blocks.MessageDispatcher.castMessage(MessageDispatcher.java:363)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4173415#4173415
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4173415
16 years, 2 months
[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, 2 months