[JBossWS] - Re: WSConsume does not support JAX-WS 2.1 with JBossWS 3.0.5
by joshua.dev
Thank you for the answers. I've decided to step back and use JAX-WS 2.0, hopefully integration with external parties won't be a problem.
"alessio.soldano(a)jboss.com" wrote : I'd need to double check what was available in AS 4.2.2, I think the -t 2.1 option was later disabled because the implementation of JAX-WS 2.1 was not complete yet.
I am sure I used the "-t 2.1" switch on default install of AS 4.2.2.GA.
"alessio.soldano(a)jboss.com" wrote : For sure you can use the 2.1 target starting from JBossWS Native 3.1.0.GA as the JAX-WS 2.1 has been completed there.
| Otherwise (if you cant move to AS 4.2.3 which is the oldest target container supported by JBossWS 3.1.0) try with JBossWS-Metro 3.0.5, which already had full JAX-WS 2.1 impl.
I'll probably have to stay with 4.2.2 now, but I'll take the information about working WS 3.1.0 and JAX-WS 2.1 into accound when I'll be considering AS upgrade.
The Metro stack was giving me some problems after deployment, I briefly went through the exceptions' stacks but had no time to figure out what exactly went wrong.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227464#4227464
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227464
15 years, 7 months
[JBoss Portal] - Customer interceptor jboss portal
by bilou690
hello all,
first of all sorry for my english ;-)
i'm totally newbie with jboss portal technology and on jboss portal forum.
I must create a new intranet for my compagny. (i'm student for three months in this compagny).
my problem is the follow one :
I create a class which to convert from .doc or .xls file to .pdf file
i would like to create an interceptor beetween upload and download process. this customer interceptor will call this class and when the users will download a document it appairs with pdf format.
i extend the class cmsInterceptor
but how can i get a reference on an upload file? without this reference i can't call my class
second problem :
in the file service.xml : where can i declare my customer interceptor before or after ACL?
the doc is light about this subject.
thanks for your help and sorry again for my horrible english ;-)
i forget i'm working with jboss portal 2.7.2 bundled
bilou 690
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227458#4227458
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227458
15 years, 7 months
[JBoss Messaging] - Bridge - Once and only once, connections failing after idle
by rnicholson10
Since getting QOS_ONCE_AND_ONLY_ONCE bridges up and running I have run into an issue with the bridge failing after a period of idle time. I'm not sure exactly what amount of time is required to cause the fail but if I send no messages overnight the failure occurs the next time I send messages.
I should point out that if I send messages consistently over the night the problem does not occur. Nor does it occur if I use QOS_DUPLICATES_OK or QOS_AT_MOST_ONCE even if there is idle time.
Here the setup:
Machine1: no bridge deployed here,
Machine2: 2 Bridges deployed here.
InputToEngineBridge takes messages from machine1 and transports them to a queue on machine2.
EngineToHandlerBridge takes messages from machine2 and transports them to a queue on machine1.
The "User null is NOT authenticated" error seems to pop up a lot but does not give much insight into what is going wrong. Any ideas on how I might debug this further and get to the root of the problem? Bear in mind I have to wait overnight each time I want to test it again.
Error on machine1:
| 2009-04-29 09:41:51,920 DEBUG [org.jboss.remoting.callback.ServerInvokerCallbackHandler] (http-0.0.0.0-8080-2) Session id for callback handler is 4sg35b-lwxf6y-fu2oi7qk-1-fu3s39rb-4by+4sg35b-lwxf6y-fu2oi7qk-1-fu3s39rk-4c1
| 2009-04-29 09:41:51,920 DEBUG [org.jboss.remoting.callback.ServerInvokerCallbackHandler] (http-0.0.0.0-8080-2) ServerInvokerCallbackHandler[4sg35b-lwxf6y-fu2oi7qk-1-fu3s39rb-4by+4sg35b-lwxf6y-fu2oi7qk-1-fu3s39rk-4c1] using callbackTimeout value 10000
| 2009-04-29 09:41:51,920 DEBUG [org.jboss.remoting.callback.DefaultCallbackErrorHandler] (http-0.0.0.0-8080-2) DefaultCallbackErrorHandler[UNITIALIZED] setting server invoker to SocketServerInvoker[jbdevapp1:4457]
| 2009-04-29 09:41:51,921 DEBUG [org.jboss.remoting.callback.DefaultCallbackErrorHandler] (http-0.0.0.0-8080-2) DefaultCallbackErrorHandler[SocketServerInvoker[jbdevapp1:4457]] setting callback handler to ServerInvokerCallbackHandler[4sg35b-lwxf6y-fu2oi7qk-1-fu3s39rb-4by+4sg35b-lwxf6y-fu2oi7qk-1-fu3s39rk-4c1]
| 2009-04-29 09:41:51,921 DEBUG [org.jboss.jms.server.remoting.JMSServerInvocationHandler] (http-0.0.0.0-8080-2) adding callback handler ServerInvokerCallbackHandler[4sg35b-lwxf6y-fu2oi7qk-1-fu3s39rb-4by+4sg35b-lwxf6y-fu2oi7qk-1-fu3s39rk-4c1]
| 2009-04-29 09:41:51,921 DEBUG [org.jboss.jms.server.remoting.JMSServerInvocationHandler] (http-0.0.0.0-8080-2) found calllback handler for remoting session ...-fu3s39rb-4by UID=4sg35b-lwxf6y-fu2oi7qk-1-fu3s39rb-4by
| 2009-04-29 09:41:51,923 ERROR [org.jboss.messaging.util.ExceptionUtil] (http-0.0.0.0-8080-2) ConnectionFactoryEndpoint[jboss.messaging.connectionfactory:service=ConnectionFactory] createFailoverConnectionDelegate [4c4-nr93s3uf-1-kq7io2uf-y6fxwl-b53gs4]
| javax.jms.JMSSecurityException: User null is NOT authenticated
| at org.jboss.jms.server.jbosssx.JBossASSecurityMetadataStore.authenticate(JBossASSecurityMetadataStore.java:223)
| at sun.reflect.GeneratedMethodAccessor301.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown Source)
| at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown Source)
| at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Unknown Source)
| at com.sun.jmx.mbeanserver.PerInterface.invoke(Unknown Source)
| at com.sun.jmx.mbeanserver.MBeanSupport.invoke(Unknown Source)
| at javax.management.StandardMBean.invoke(Unknown Source)
| at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy102.authenticate(Unknown Source)
| at org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint.createConnectionDelegateInternal(ServerConnectionFactoryEndpoint.java:233)
| at org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint.createConnectionDelegate(ServerConnectionFactoryEndpoint.java:171)
| at org.jboss.jms.server.endpoint.advised.ConnectionFactoryAdvised.org$jboss$jms$server$endpoint$advised$ConnectionFactoryAdvised$createConnectionDelegate$aop(ConnectionFactoryAdvised.java:108)
| at org.jboss.jms.server.endpoint.advised.ConnectionFactoryAdvised.createConnectionDelegate(ConnectionFactoryAdvised.java)
| at org.jboss.jms.wireformat.ConnectionFactoryCreateConnectionDelegateRequest.serverInvoke(ConnectionFactoryCreateConnectionDelegateRequest.java:91)
| at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143)
| at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:908)
| at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
| at org.jboss.remoting.Client.invoke(Client.java:1708)
| at org.jboss.remoting.Client.invoke(Client.java:612)
| at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:171)
| at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeTarget(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
| at org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:81)
| at org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect_z_handleCreateConnectionDelegate_8924668.invoke(StateCreationAspect_z_handleCreateConnectionDelegate_8924668.java)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
| at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java)
| at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:205)
| at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:87)
| at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:82)
| at com.paddypower.spe.test.servlet.TestMessageTwoServlet.doGet(TestMessageTwoServlet.java:87)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
| 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:235)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
| at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
| at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
| 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:158)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
| at java.lang.Thread.run(Unknown Source)
| 2009-04-29 09:41:51,924 DEBUG [org.jboss.jms.server.remoting.JMSServerInvocationHandler] (http-0.0.0.0-8080-2) removing callback handler ServerInvokerCallbackHandler[4sg35b-lwxf6y-fu2oi7qk-1-fu3s39rb-4by+4sg35b-lwxf6y-fu2oi7qk-1-fu3s39rk-4c1]
| 2009-04-29 09:41:51,924 DEBUG [org.jboss.remoting.InvokerRegistry] (http-0.0.0.0-8080-2) removed org.jboss.remoting.transport.local.LocalClientInvoker@184b483 from registry
| 2009-04-29 09:41:51,924 DEBUG [org.jboss.remoting.ServerInvoker] (http-0.0.0.0-8080-2) ServerInvoker (SocketServerInvoker[172.16.113.11:54512434]) removing client callback handler with session id of 4sg35b-lwxf6y-fu2oi7qk-1-fu3s39rb-4by+4sg35b-lwxf6y-fu2oi7qk-1-fu3s39rk-4c1.
| 2009-04-29 09:41:51,925 DEBUG [org.jboss.remoting.transport.bisocket.BisocketServerInvoker] (http-0.0.0.0-8080-2) unrecognized listener ID: 4sg35b-lwxf6y-fu2oi7qk-1-fu3s39rk-4c1
| 2009-04-29 09:41:51,925 DEBUG [org.jboss.remoting.InvokerRegistry] (http-0.0.0.0-8080-2) removed org.jboss.remoting.transport.local.LocalClientInvoker@1670f7e from registry
| 2009-04-29 09:41:51,925 DEBUG [org.jboss.remoting.transport.socket.SocketServerInvoker] (http-0.0.0.0-8080-2) SocketServerInvoker[172.16.113.11:54512434] stopped threads in clientpool
| 2009-04-29 09:41:51,925 DEBUG [org.jboss.remoting.transport.socket.SocketServerInvoker] (http-0.0.0.0-8080-2) SocketServerInvoker[172.16.113.11:54512434] stopped threads in threadpool
| 2009-04-29 09:41:51,925 DEBUG [org.jboss.remoting.transport.socket.SocketServerInvoker] (http-0.0.0.0-8080-2) SocketServerInvoker[172.16.113.11:54512434] exiting
| 2009-04-29 09:41:51,925 DEBUG [org.jboss.remoting.ServerInvoker] (http-0.0.0.0-8080-2) SocketServerInvoker[172.16.113.11:54512434] stopped
| 2009-04-29 09:41:51,925 DEBUG [org.jboss.remoting.InvokerRegistry] (http-0.0.0.0-8080-2) decremented org.jboss.remoting.transport.local.LocalClientInvoker@441e6e's count, current count 2
| 2009-04-29 09:41:51,925 DEBUG [org.jboss.remoting.InvokerRegistry] (http-0.0.0.0-8080-2) decremented org.jboss.remoting.transport.local.LocalClientInvoker@29e18a's count, current count 2
|
Warning on machine2 for InputToEngineBridge:
| 2009-04-29 09:43:05,350 WARN [org.jboss.jms.server.bridge.Bridge] (Thread-45) jboss.messaging:name=InputToEngineBridge,service=Bridge Failed to set up connections
| javax.jms.JMSSecurityException: User null is NOT authenticated
| at org.jboss.jms.server.jbosssx.JBossASSecurityMetadataStore.authenticate(JBossASSecurityMetadataStore.java:223)
| at sun.reflect.GeneratedMethodAccessor296.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown Source)
| at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown Source)
| at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Unknown Source)
| at com.sun.jmx.mbeanserver.PerInterface.invoke(Unknown Source)
| at com.sun.jmx.mbeanserver.MBeanSupport.invoke(Unknown Source)
| at javax.management.StandardMBean.invoke(Unknown Source)
| at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy99.authenticate(Unknown Source)
| at org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint.createConnectionDelegateInternal(ServerConnectionFactoryEndpoint.java:233)
| at org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint.createConnectionDelegate(ServerConnectionFactoryEndpoint.java:171)
| at org.jboss.jms.server.endpoint.advised.ConnectionFactoryAdvised.org$jboss$jms$server$endpoint$advised$ConnectionFactoryAdvised$createConnectionDelegate$aop(ConnectionFactoryAdvised.java:108)
| at org.jboss.jms.server.endpoint.advised.ConnectionFactoryAdvised.createConnectionDelegate(ConnectionFactoryAdvised.java)
| at org.jboss.jms.wireformat.ConnectionFactoryCreateConnectionDelegateRequest.serverInvoke(ConnectionFactoryCreateConnectionDelegateRequest.java:91)
| at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143)
| at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:908)
| at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
| at org.jboss.remoting.Client.invoke(Client.java:1708)
| at org.jboss.remoting.Client.invoke(Client.java:612)
| at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:171)
| at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeTarget(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
| at org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:81)
| at org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect_z_handleCreateConnectionDelegate_23408225.invoke(StateCreationAspect_z_handleCreateConnectionDelegate_23408225.java)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
| at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java)
| at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:205)
| at org.jboss.jms.client.JBossConnectionFactory.createXAConnection(JBossConnectionFactory.java:128)
| at org.jboss.jms.client.JBossConnectionFactory.createXAConnection(JBossConnectionFactory.java:123)
| at org.jboss.jms.server.bridge.Bridge.createConnection(Bridge.java:888)
| at org.jboss.jms.server.bridge.Bridge.setupJMSObjects(Bridge.java:1015)
| at org.jboss.jms.server.bridge.Bridge.setupJMSObjectsWithRetry(Bridge.java:1223)
| at org.jboss.jms.server.bridge.Bridge.access$1600(Bridge.java:68)
| at org.jboss.jms.server.bridge.Bridge$FailureHandler.run(Bridge.java:1569)
| at java.lang.Thread.run(Unknown Source)
|
Warning on machine2 for EngineToHandlerBridge:
| 2009-04-29 09:42:30,357 WARN [org.jboss.jms.server.bridge.Bridge] (Thread-44) jboss.messaging:name=EngineToHandlerBridge,service=Bridge Failed to set up connections
| javax.jms.JMSSecurityException: User null is NOT authenticated
| at org.jboss.jms.server.jbosssx.JBossASSecurityMetadataStore.authenticate(JBossASSecurityMetadataStore.java:223)
| at sun.reflect.GeneratedMethodAccessor296.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown Source)
| at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown Source)
| at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Unknown Source)
| at com.sun.jmx.mbeanserver.PerInterface.invoke(Unknown Source)
| at com.sun.jmx.mbeanserver.MBeanSupport.invoke(Unknown Source)
| at javax.management.StandardMBean.invoke(Unknown Source)
| at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy99.authenticate(Unknown Source)
| at org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint.createConnectionDelegateInternal(ServerConnectionFactoryEndpoint.java:233)
| at org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint.createConnectionDelegate(ServerConnectionFactoryEndpoint.java:171)
| at org.jboss.jms.server.endpoint.advised.ConnectionFactoryAdvised.org$jboss$jms$server$endpoint$advised$ConnectionFactoryAdvised$createConnectionDelegate$aop(ConnectionFactoryAdvised.java:108)
| at org.jboss.jms.server.endpoint.advised.ConnectionFactoryAdvised.createConnectionDelegate(ConnectionFactoryAdvised.java)
| at org.jboss.jms.wireformat.ConnectionFactoryCreateConnectionDelegateRequest.serverInvoke(ConnectionFactoryCreateConnectionDelegateRequest.java:91)
| at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143)
| at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:908)
| at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
| at org.jboss.remoting.Client.invoke(Client.java:1708)
| at org.jboss.remoting.Client.invoke(Client.java:612)
| at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:171)
| at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeTarget(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
| at org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:81)
| at org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect_z_handleCreateConnectionDelegate_23408225.invoke(StateCreationAspect_z_handleCreateConnectionDelegate_23408225.java)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
| at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java)
| at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:205)
| at org.jboss.jms.client.JBossConnectionFactory.createXAConnection(JBossConnectionFactory.java:128)
| at org.jboss.jms.client.JBossConnectionFactory.createXAConnection(JBossConnectionFactory.java:123)
| at org.jboss.jms.server.bridge.Bridge.createConnection(Bridge.java:888)
| at org.jboss.jms.server.bridge.Bridge.setupJMSObjects(Bridge.java:1011)
| at org.jboss.jms.server.bridge.Bridge.setupJMSObjectsWithRetry(Bridge.java:1223)
| at org.jboss.jms.server.bridge.Bridge.access$1600(Bridge.java:68)
| at org.jboss.jms.server.bridge.Bridge$FailureHandler.run(Bridge.java:1569)
| at java.lang.Thread.run(Unknown Source)
| 2009-04-29 09:42:30,357 ERROR [org.jboss.jms.client.container.ClosedInterceptor] (Thread-44) ClosedInterceptor.ClientSessionDelegate[ab-fyl5q2uf-1-lne3q2uf-48h2km-m53gs4]: method getXAResource() did not go through, the interceptor is CLOSED
| 2009-04-29 09:42:30,357 WARN [org.jboss.jms.server.bridge.Bridge] (Thread-44) jboss.messaging:name=EngineToHandlerBridge,service=Bridge Failed to set up connections, will retry after a pause of 5000 ms
|
Error on machine2, similar to error on machine1:
| 2009-04-29 09:43:05,483 ERROR [org.jboss.messaging.util.ExceptionUtil] (Thread-44) ConnectionFactoryEndpoint[jboss.messaging.connectionfactory:service=ConnectionFactory] createFailoverConnectionDelegate [h84-ziu4s3uf-1-lne3q2uf-48h2km-m53gs4]
| javax.jms.JMSSecurityException: User null is NOT authenticated
| at org.jboss.jms.server.jbosssx.JBossASSecurityMetadataStore.authenticate(JBossASSecurityMetadataStore.java:223)
| at sun.reflect.GeneratedMethodAccessor296.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown Source)
| at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(Unknown Source)
| at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(Unknown Source)
| at com.sun.jmx.mbeanserver.PerInterface.invoke(Unknown Source)
| at com.sun.jmx.mbeanserver.MBeanSupport.invoke(Unknown Source)
| at javax.management.StandardMBean.invoke(Unknown Source)
| at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy99.authenticate(Unknown Source)
| at org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint.createConnectionDelegateInternal(ServerConnectionFactoryEndpoint.java:233)
| at org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint.createConnectionDelegate(ServerConnectionFactoryEndpoint.java:171)
| at org.jboss.jms.server.endpoint.advised.ConnectionFactoryAdvised.org$jboss$jms$server$endpoint$advised$ConnectionFactoryAdvised$createConnectionDelegate$aop(ConnectionFactoryAdvised.java:108)
| at org.jboss.jms.server.endpoint.advised.ConnectionFactoryAdvised.createConnectionDelegate(ConnectionFactoryAdvised.java)
| at org.jboss.jms.wireformat.ConnectionFactoryCreateConnectionDelegateRequest.serverInvoke(ConnectionFactoryCreateConnectionDelegateRequest.java:91)
| at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143)
| at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:908)
| at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
| at org.jboss.remoting.Client.invoke(Client.java:1708)
| at org.jboss.remoting.Client.invoke(Client.java:612)
| at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:171)
| at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeTarget(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
| at org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:81)
| at org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect_z_handleCreateConnectionDelegate_23408225.invoke(StateCreationAspect_z_handleCreateConnectionDelegate_23408225.java)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
| at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java)
| at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:205)
| at org.jboss.jms.client.JBossConnectionFactory.createXAConnection(JBossConnectionFactory.java:128)
| at org.jboss.jms.client.JBossConnectionFactory.createXAConnection(JBossConnectionFactory.java:123)
| at org.jboss.jms.server.bridge.Bridge.createConnection(Bridge.java:888)
| at org.jboss.jms.server.bridge.Bridge.setupJMSObjects(Bridge.java:1011)
| at org.jboss.jms.server.bridge.Bridge.setupJMSObjectsWithRetry(Bridge.java:1223)
| at org.jboss.jms.server.bridge.Bridge.access$1600(Bridge.java:68)
| at org.jboss.jms.server.bridge.Bridge$FailureHandler.run(Bridge.java:1569)
| at java.lang.Thread.run(Unknown Source)
|
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227452#4227452
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227452
15 years, 7 months
[EJB 3.0] - Re: NullPointerException in JavaEEComponentHelper with JBoss
by jaikiran
We finally were able to reproduce this issue. This issue arises because of Classpath entries in MANIFEST.MF of the ejb jar files. Looking at the MANIFEST.MF files your application has set the Classpath attribute to point to other ejb jar deployments. This leads to incorrect handling of the bean deployment for such jar (and the jars referred in the Classpath attribute). These issues are now being tracked here:
https://jira.jboss.org/jira/browse/JBAS-6843
https://jira.jboss.org/jira/browse/EJBTHREE-1815
To get your application working on the current AS-5.x till these issues are fixed, here's what you can do:
1) Remove the Classpath entries (completely) from the MANIFEST.MF of the jar deployments.
2) JEE5 packaging provides a simpler way of adding jars to classpath. All plain jar files (i.e. not EJB deployments) can be placed in a folder named "lib" at the root of the EAR:
| ifsapp.ear
| |
| |
| |--- META-INF
| | |--- application.xml
| |
| |
| |--- lib
| | | --- xyz.jar (plain jar files)
| | | --- more plain jar files
| |
| |
| |--- ejbjar1.jar
| |
| |--- ejbjar2.jar
| |
| |--- myapp.war
| |
| |---
|
3) All EJB deployments can then be placed at the root of the EAR and marked as a EJB module in the application.xml (this you already do).
Make sure you don't have any ejb jars in the EAR/lib folder. Everything in the lib folder will be available in the classpath of all the components (ejbjar1, ejbjar2, war...) in the EAR.
P.S: This packaging is portable across servers since the "lib" folder (which can be configured to be named different) is defined by JEE5 spec.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227447#4227447
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227447
15 years, 7 months
[EJB 3.0] - Re: EJB3: org.hibernate.type.SerializationException: could n
by D6L
Hi,
the problem is that i don't have the permission to make changes on the DB because it's a LIVE/Production DB. So problems with releases/changes and so on.
I tried to access now my attributs via @NamedQuery like this:
SELECT r.roadPK.origin.iata,r.roadPK.destination.iata, r.availabilityMethod FROM Road r
but there I got a compiler error:
Caused by: org.hibernate.HibernateException: Errors in named queries: Road.listAll
| at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:397)
| at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327)
| at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
| at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
| ... 75 more
By testing with
SELECT r.roadPK.origin, r.roadPK.destination,r.availabilityMethod FROM Route r
i didn't get any error but also any output. lol Like i told it before, with SELECT r.availabilityMethod FROM Route r is no problem!
So logically I can access my attributs via r.roadPK.origin.iata but I get there the error! So I think that my mapping is wrong.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227445#4227445
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227445
15 years, 7 months