[JBoss Seam] - Re: Ajax4jsf UnboundedFifoBuffer
by alesj
"petemuir" wrote : yes, a4j upgraded to newest commons, so we should all be in sync. and i'm gonna refrain from swearing about commons dependencies. In essence, make sure that you the latest ajax4jsf.jar and commons-XXX.jar in your app and you should be ok. And if you aren't, please post back!
I'm probably (since there is no actual cause in original post) getting the same exception with the AS 4.2.1.GA and latest Seam trunk.
| 14:49:36,937 WARN [lifecycle] org.apache.commons.collections.UnboundedFifoBuffer
| java.lang.ArrayStoreException: org.apache.commons.collections.UnboundedFifoBuffer
| at org.ajax4jsf.component.AjaxViewRoot.clearEvents(AjaxViewRoot.java:251)
| at org.ajax4jsf.component.AjaxViewRoot.getEvents(AjaxViewRoot.java:231)
| at org.ajax4jsf.component.AjaxViewRoot.getEventsQueue(AjaxViewRoot.java:223)
| at org.ajax4jsf.component.AjaxViewRoot.queueEvent(AjaxViewRoot.java:140)
| at javax.faces.component.UIComponentBase.queueEvent(UIComponentBase.java:974)
| at javax.faces.component.UIComponentBase.queueEvent(UIComponentBase.java:974)
| at javax.faces.component.UICommand.queueEvent(UICommand.java:405)
| at com.sun.faces.renderkit.html_basic.ButtonRenderer.decode(ButtonRenderer.java:104)
| at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:764)
| at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1006)
| at javax.faces.component.UIForm.processDecodes(UIForm.java:203)
| at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1001)
| at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:493)
| at org.ajax4jsf.component.AjaxViewRoot.access$001(AjaxViewRoot.java:59)
| at org.ajax4jsf.component.AjaxViewRoot$1.invokeRoot(AjaxViewRoot.java:262)
| at org.ajax4jsf.context.JsfOneOneInvoker.invokeOnRegionOrRoot(JsfOneOneInvoker.java:56)
| at org.ajax4jsf.context.AjaxContextImpl.invokeOnRegionOrRoot(AjaxContextImpl.java:173)
| at org.ajax4jsf.component.AjaxViewRoot.processDecodes(AjaxViewRoot.java:278)
| at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:101)
| at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
| at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
| at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)
| at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
| at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
| at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:150)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| 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.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
| 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:241)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
| at java.lang.Thread.run(Thread.java:595)
| 14:49:36,953 WARN [lifecycle] executePhase(APPLY_REQUEST_VALUES 2,com.sun.faces.context.FacesContextImpl@413ffc) threw exception
| javax.faces.FacesException: org.apache.commons.collections.UnboundedFifoBuffer
| at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:109)
| at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
| at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
| at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)
| at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
| at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
| at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:150)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| 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.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
| 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:241)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: java.lang.ArrayStoreException: org.apache.commons.collections.UnboundedFifoBuffer
| at org.ajax4jsf.component.AjaxViewRoot.clearEvents(AjaxViewRoot.java:251)
| at org.ajax4jsf.component.AjaxViewRoot.getEvents(AjaxViewRoot.java:231)
| at org.ajax4jsf.component.AjaxViewRoot.getEventsQueue(AjaxViewRoot.java:223)
| at org.ajax4jsf.component.AjaxViewRoot.queueEvent(AjaxViewRoot.java:140)
| at javax.faces.component.UIComponentBase.queueEvent(UIComponentBase.java:974)
| at javax.faces.component.UIComponentBase.queueEvent(UIComponentBase.java:974)
| at javax.faces.component.UICommand.queueEvent(UICommand.java:405)
| at com.sun.faces.renderkit.html_basic.ButtonRenderer.decode(ButtonRenderer.java:104)
| at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:764)
| at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1006)
| at javax.faces.component.UIForm.processDecodes(UIForm.java:203)
| at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1001)
| at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:493)
| at org.ajax4jsf.component.AjaxViewRoot.access$001(AjaxViewRoot.java:59)
| at org.ajax4jsf.component.AjaxViewRoot$1.invokeRoot(AjaxViewRoot.java:262)
| at org.ajax4jsf.context.JsfOneOneInvoker.invokeOnRegionOrRoot(JsfOneOneInvoker.java:56)
| at org.ajax4jsf.context.AjaxContextImpl.invokeOnRegionOrRoot(AjaxContextImpl.java:173)
| at org.ajax4jsf.component.AjaxViewRoot.processDecodes(AjaxViewRoot.java:278)
| at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:101)
| ... 41 more
|
Plus this error/warning that I suspect what it can be, but I'm not 100% sure:
| 14:49:37,656 ERROR [STDERR] 21.9.2007 14:49:37 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/C:/jboss/jboss-4.2.1.GA/server/default/tmp/deploy/tmp17318jboss-seam-cms.ear-contents/jboss-seam-cms-exp.war/WEB-INF/lib/richfaces-ui-3.1.1-20070910348-8.jar!/META-INF/richfaces.taglib.xml
| 14:49:37,656 ERROR [STDERR] 21.9.2007 14:49:37 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/C:/jboss/jboss-4.2.1.GA/server/default/tmp/deploy/tmp17318jboss-seam-cms.ear-contents/jboss-seam-cms-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
| 14:49:37,656 ERROR [STDERR] 21.9.2007 14:49:37 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/C:/jboss/jboss-4.2.1.GA/server/default/tmp/deploy/tmp17318jboss-seam-cms.ear-contents/jboss-seam-cms-exp.war/WEB-INF/lib/richfaces-ui-3.1.1-20070910348-8.jar!/META-INF/rich.taglib.xml
| 14:49:37,656 ERROR [STDERR] 21.9.2007 14:49:37 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/C:/jboss/jboss-4.2.1.GA/server/default/tmp/deploy/tmp17318jboss-seam-cms.ear-contents/jboss-seam-cms-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
| 14:49:37,656 ERROR [STDERR] 21.9.2007 14:49:37 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/C:/jboss/jboss-4.2.1.GA/server/default/tmp/deploy/tmp17318jboss-seam-cms.ear-contents/jboss-seam-cms-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
| 14:49:37,671 ERROR [STDERR] 21.9.2007 14:49:37 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/C:/jboss/jboss-4.2.1.GA/server/default/tmp/deploy/tmp17318jboss-seam-cms.ear-contents/jboss-seam-cms-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
| 14:49:37,671 ERROR [STDERR] 21.9.2007 14:49:37 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/C:/jboss/jboss-4.2.1.GA/server/default/tmp/deploy/tmp17318jboss-seam-cms.ear-contents/jboss-seam-cms-exp.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/s.taglib.xml
| 14:49:37,671 ERROR [STDERR] 21.9.2007 14:49:37 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/C:/jboss/jboss-4.2.1.GA/server/default/tmp/deploy/tmp17318jboss-seam-cms.ear-contents/jboss-seam-cms-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
| 14:49:37,671 ERROR [STDERR] 21.9.2007 14:49:37 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/C:/jboss/jboss-4.2.1.GA/server/default/tmp/deploy/tmp17318jboss-seam-cms.ear-contents/jboss-seam-cms-exp.war/WEB-INF/lib/richfaces-ui-3.1.1-20070910348-8.jar!/META-INF/ajax4jsf.taglib.xml
| 14:49:37,687 ERROR [STDERR] 21.9.2007 14:49:37 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/C:/jboss/jboss-4.2.1.GA/server/default/tmp/deploy/tmp17318jboss-seam-cms.ear-contents/jboss-seam-cms-exp.war/WEB-INF/lib/richfaces-ui-3.1.1-20070910348-8.jar!/META-INF/a4j.taglib.xml
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087211#4087211
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087211
18 years, 8 months
[JBoss Seam] - Re: 1.2.1->2.0.0 migration: No active application scope
by tynor
anonymous wrote : When _should_ the applicationContext have been initialized? What can I do to debug this?
Help! I've compared my new config to 2.0.0.CR1-seamgen-produced examples, and the booking example and I can't find anything in my configuration to explain this. To be clear, this was a working application in Seam 1.2.1 - all I've done is follow the migration cookbook to migrate to the new 2.0.0 jars and configuration files.
Debugging the absence of something (applicationContext is null) is hard - without understanding where it sould have been set, I'm just making wild stabs in the dark. Can someone help me understand when an applicationContext should have been set? I've set breakpoints on the various places where I see Contexts.applicationContext.set() being called (eg. Lifecycle.beginCall(), FacesLifecycle.beginRequest(), ServletLifecycle.beginRequest()).
I hit the following breakpoints before the "no active application scope" exception:
<start server>
| ServletLifecycle.beginInitialization()
| ServletLifecycle.endInitialization()
| Lifecycle.mockApplication()
| Lifecycle.unmockApplication()
| <browse to http://localhost:8080/myproject>
| FacesLifecycle.beginRequest()
| Lifecycle.beginSession()
| FacesLifecycle.endRequest()
| FacesLifecycle.beginRequest()
| FacesLifecycle.endRequest()
| FacesLifecycle.beginRequest()
| FacesLifecycle.endRequest()
| <exception happens now -- applicationContext is null>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087210#4087210
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087210
18 years, 8 months
[JBoss Messaging] - Remote messaging server (1.0.1SP5) with muliple clients, som
by evdelst
Hi,
I have a very complicated deployment problem.
JBoss Messaging 1.0.1SP5, deployed on JBoss 4.0.5.GA
There are multiple clients (all running in seperate JVM's):
- some standalone apps
- j2ee applications, using an MDB, jboss 4.0.5.GA, with a scoped-ear deployment. There is a jboss-messaging.sar deployed there as well.
- j2ee apps, sending JMS messages, also scoped-ears
This all works if there is no firewall.
Now, I can get everthing to work if the jboss-messaging is behind a firewall, by specifying various -D options and a 'cientConnectAddress' in the remoting-service from the jboss-messaging deployment.
Now, the (even more) complicated part:
I also have a client (ear, jboss-4.0.5) that is deployed on the same host as jboss-messaging. This instance *must not* use the firewall. If I remove the options added for the firewall, this client can connect, but the others can't.....
Is this possible to get workingThe options (-D for rmi host etc.) are all global...
I was thinking of configuring a different connector (remoting-service.xml) without the clientConnectAddress, but this will not help with the global options regarding the RMI.
Any thoughts?
Regards,
Edwin
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087206#4087206
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087206
18 years, 8 months
[JBossWS] - jbossWS - "Cannot find service endpoint target"
by birke
hi @ all
i am developing in JBOSS a webservice. but for this i need java 1.6 (no other possible because of company internals) an jboss 4.0.5GA with EJB3.
in order to make the jbossWS running with java 1.6 i followed the rules as described in: http://www.bhaskarvk.info/content/jboss/jbossws_2_0_1.html
so i updated jbossWS to 2.0.1GA and endored the thre jars (jboss-saaj, jboss-jaxws and jaxb-api). so far so nice ... i don't get the errors of the java 5 / 6 problem nomore.
the webservice is fully detected and deployed (i can generate with studio .NET 2005 stubs against WSDL and can connect to server (jboss). also http://localhost:8080/jbossws/ tells my webservice is deployed ... it shows:
ServiceEndpointID: jboss.ws:context=wfm-server,endpoint=WebServiceNotificationBean
| ServiceEndpointAddress: http://xxx.xxx.xxx.xxx:8080/wfm-server/WebServiceNotificationBean?wsdl
but when i try to run my webservice call in the jboss i got an exception:
javax.xml.rpc.ServiceException: Cannot find service endpoint target: jboss.j2ee:name=WebServiceNotificationBean,service=EJB3,jar=wfm-server.jar,ear=sanssouci-application.jar
this exception is also deliverd to the .NET client. so the SOAP mechanism seems to work fine.
the complete log informations for this opperation is:
2007-09-21 13:41:52,999 DEBUG [org.jboss.ws.server.StandardEndpointServlet] (http-195.127.121.193-8080-1:)doPost: /wfm-server/WebServiceNotificationBean
| 2007-09-21 13:41:52,999 DEBUG [org.jboss.ws.soap.MessageContextAssociation] (http-195.127.121.193-8080-1:)pushMessageContext: org.jboss.ws.soap.SOAPMessageContextImpl@1936199
| 2007-09-21 13:41:53,030 DEBUG [org.jboss.ws.server.ServiceEndpoint] (http-195.127.121.193-8080-1:)BEGIN handleRequest: jboss.ws:context=wfm-server,endpoint=WebServiceNotificationBean
| 2007-09-21 13:41:53,030 DEBUG [org.jboss.ws.server.ServiceEndpoint] (http-195.127.121.193-8080-1:)Init handler chain with [0] handlers
| 2007-09-21 13:41:53,030 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] (http-195.127.121.193-8080-1:)Create a handler chain for roles: []
| 2007-09-21 13:41:53,030 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] (http-195.127.121.193-8080-1:)init: [config=null]
| 2007-09-21 13:41:53,030 DEBUG [org.jboss.ws.server.ServiceEndpoint] (http-195.127.121.193-8080-1:)Init handler chain with [0] handlers
| 2007-09-21 13:41:53,030 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] (http-195.127.121.193-8080-1:)Create a handler chain for roles: []
| 2007-09-21 13:41:53,030 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] (http-195.127.121.193-8080-1:)init: [config=null]
| 2007-09-21 13:41:53,030 DEBUG [org.jboss.ws.server.ServiceEndpoint] (http-195.127.121.193-8080-1:)Init handler chain with [0] handlers
| 2007-09-21 13:41:53,030 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] (http-195.127.121.193-8080-1:)Create a handler chain for roles: []
| 2007-09-21 13:41:53,030 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] (http-195.127.121.193-8080-1:)init: [config=null]
| 2007-09-21 13:41:53,077 DEBUG [org.jboss.ws.soap.MessageFactoryImpl] (http-195.127.121.193-8080-1:)createMessage: [contentType=text/xml; charset=utf-8]
| 2007-09-21 13:41:53,124 DEBUG [jbossws.SOAPMessage] (http-195.127.121.193-8080-1:)Incomming SOAPMessage
| <soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
| <soap:Header/>
| <soap:Body>
| <sayHello xmlns='http://www.wf.org'>
| </sayHello></soap:Body></soap:Envelope>
| 2007-09-21 13:41:53,124 DEBUG [javax.xml.rpc.soap.SOAPFaultException] (http-195.127.121.193-8080-1:)new SOAPFaultException [code={http://schemas.xmlsoap.org/soap/envelope/}Client,string=Cannot find service endpoint target: jboss.j2ee:name=WebServiceNotificationBean,service=EJB3,jar=wfm-server.jar,ear=sanssouci-application.jar,actor=null,detail=null]
| 2007-09-21 13:41:53,124 ERROR [org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper] (http-195.127.121.193-8080-1:)SOAP request exception
| javax.xml.rpc.ServiceException: Cannot find service endpoint target: jboss.j2ee:name=WebServiceNotificationBean,service=EJB3,jar=wfm-server.jar,ear=sanssouci-application.jar
| at org.jboss.ws.integration.jboss.ServiceEndpointInvokerEJB3.loadServiceEndpoint(ServiceEndpointInvokerEJB3.java:80)
| at org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:87)
| at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:209)
| at org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:355)
| at org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:115)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
| at org.jboss.ws.server.StandardEndpointServlet.service(StandardEndpointServlet.java:76)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:619)
| 2007-09-21 13:41:53,139 DEBUG [org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper] (http-195.127.121.193-8080-1:)Cannot obtain fault meta data for: class javax.xml.rpc.ServiceException
| 2007-09-21 13:41:53,139 DEBUG [jbossws.SOAPMessage] (http-195.127.121.193-8080-1:)Outgoing SOAPMessage
| <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
| <env:Header/>
| <env:Body>
| <env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
| <faultcode>env:Client</faultcode>
| <faultstring>Cannot find service endpoint target: jboss.j2ee:name=WebServiceNotificationBean,service=EJB3,jar=wfm-server.jar,ear=sanssouci-application.jar</faultstring>
| </env:Fault></env:Body></env:Envelope>
| 2007-09-21 13:41:53,139 DEBUG [org.jboss.ws.server.ServiceEndpoint] (http-195.127.121.193-8080-1:)END handleRequest: jboss.ws:context=wfm-server,endpoint=WebServiceNotificationBean
| 2007-09-21 13:41:53,139 DEBUG [org.jboss.ws.soap.MessageContextAssociation] (http-195.127.121.193-8080-1:)popMessageContext: org.jboss.ws.soap.SOAPMessageContextImpl@1936199
i don't know what to do ... my webservice as ejb3.0 looks quite simple and plain:
the class:
package com.os.ecm.workflow.remote.notifications;
|
| import javax.ejb.Stateless;
| import javax.jws.WebMethod;
| import javax.jws.WebService;
| import javax.jws.soap.SOAPBinding;
|
| import org.apache.commons.logging.Log;
|
| import com.os.common.logging.logger.OsLogFactory;
|
| @Stateless
| @WebService(targetNamespace="http://www.wf.org")
| @SOAPBinding(style = SOAPBinding.Style.RPC)
| public class WebServiceNotificationBean implements WebServiceNotification
| {
| private static final Log logger = OsLogFactory.getLog(WebServiceNotificationBean.class);
|
| @WebMethod
| public String sayHello()
| {
| logger.warn("Vika ist die LIEBSTE !");
| return "Vika hat ein Visum!";
| }
| }
|
and the corresponding remote interface (for ejb mechanism's):
package com.os.ecm.workflow.remote.notifications;
|
| import javax.ejb.Remote;
|
| @Remote
| public interface WebServiceNotification
| {
| public String sayHello();
| }
|
if anyone can help me ... please do ... going crasy with this stuff
PS: using jboss 5 is not possible (beta status and not supported by application). but no matter. has anyone an information when will be official release date?
thx a lot
your birke
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087204#4087204
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087204
18 years, 8 months