[Beginner's Corner] - Dependency injection fails after hot-redeploy
by andresee
I have tried looking for answers to my problem and found http://www.jboss.org/index.html?module=bb&op=viewtopic&t=155732 and the like. I find similar problems, but no answers.
I am invoking a MessageBean by quartz (using the quartz-ra.rar shipping with JBoss AS 5.1.0) which then gets a SessionsBean via dependency injection.
To compile and deploy I am using Eclipse, building for the target environment JBoss 5.1.0 (using the local deployer option). Everything is deployed in a .jar folder in /server/deploy.
This works very well, when I deploy one time only. As soon as I "touch" the ejb-jar.xml to get JBoss to redeploy, I get errors and my application stops working. Note that when I am touching the ejb-jar.xml, I haven't changed anything in the jar at all.
As far as I understand it (I am trying to figure out JBoss for 2 weeks now), the classloader still holds the classes of the first deployment somewhere and insists that these do not match the ones of the second deployment.
Output says "failed to set value Proxy to ... Reason: ClassLoaders of value and target are not equal" when trying the dependency injection.
Does anyone know how I could fix this? (FAQ and documentation didn't help me, but if a simple RTFM helps in my case I would be glad as well)
@ResourceAdapter("quartz-ra.rar")
| @MessageDriven(activationConfig =
| {@ActivationConfigProperty(propertyName = "cronTrigger", propertyValue = "0/2 * * * * ?")})
| public class StarterBean implements Job
| {
| private static final Logger log = Logger.getLogger(StarterBean.class);
|
| @EJB
| private DispatcherBeanLocal dispatcher;
|
| /**
| * Default constructor.
| */
| public StarterBean() {
| }
|
| /**
| * @see Job#execute(JobExecutionContext)
| */
| public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException
| {
| StarterBean.log.info("************** JOB: " + jobExecutionContext.getJobDetail().getName());
| dispatcher.execute();
| StarterBean.log.info("******* END OF JOB: " + jobExecutionContext.getJobDetail().getName());
| }
|
| }
| @Stateless
| public class DispatcherBean implements DispatcherBeanLocal
| {
|
| public DispatcherBean() {
| }
|
| public void execute() {
|
| System.out.println("Dispatch.");
| }
|
| }
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: javax.ejb.EJBTransactionRolledbackException: failed to inject Proxy
|
| to jboss.j2ee:jar=GDBUpdate.jar,name=DispatcherBean,service=EJB3 implementing [interface com.sag.gdbu.dispatcher.DispatcherBeanLocal] (implements [interface
|
| com.sag.gdbu.dispatcher.DispatcherBeanLocal]) from env/com.sag.gdbu.starter.StarterBean/dispatcher (link -> gdbu/dispatcher/local) into
|
| com.sag.gdbu.starter.StarterBean.dispatcher of com.sag.gdbu.starter.StarterBean@371bda]
| at org.quartz.core.JobRunShell.run(JobRunShell.java:214)
| at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
| * Nested Exception (Underlying Cause) ---------------
| javax.ejb.EJBTransactionRolledbackException: failed to inject Proxy to jboss.j2ee:jar=GDBUpdate.jar,name=DispatcherBean,service=EJB3 implementing [interface
|
| com.sag.gdbu.dispatcher.DispatcherBeanLocal] (implements [interface com.sag.gdbu.dispatcher.DispatcherBeanLocal]) from
|
| env/com.sag.gdbu.starter.StarterBean/dispatcher (link -> gdbu/dispatcher/local) into com.sag.gdbu.starter.StarterBean.dispatcher of
|
| com.sag.gdbu.starter.StarterBean@371bda
| at org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:115)
| at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130)
| at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:194)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
| at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
| at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:80)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
| at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
| at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
| at org.jboss.ejb3.mdb.MessagingContainer.localInvoke(MessagingContainer.java:282)
| at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.delivery(MessageInflowLocalProxy.java:270)
| at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.invoke(MessageInflowLocalProxy.java:140)
| at $Proxy275.execute(Unknown Source)
| at org.jboss.resource.adapter.quartz.inflow.QuartzJob.execute(QuartzJob.java:57)
| at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
| at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
| Caused by: java.lang.IllegalArgumentException: failed to inject Proxy to jboss.j2ee:jar=GDBUpdate.jar,name=DispatcherBean,service=EJB3 implementing
|
| [interface com.sag.gdbu.dispatcher.DispatcherBeanLocal] (implements [interface com.sag.gdbu.dispatcher.DispatcherBeanLocal]) from
|
| env/com.sag.gdbu.starter.StarterBean/dispatcher (link -> gdbu/dispatcher/local) into com.sag.gdbu.starter.StarterBean.dispatcher of
|
| com.sag.gdbu.starter.StarterBean@371bda
| at org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:139)
| at org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:89)
| at org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:61)
| at org.jboss.ejb3.injection.InjectionInvocation.invokeTarget(InjectionInvocation.java:89)
| at org.jboss.ejb3.injection.InjectionInvocation.invokeNext(InjectionInvocation.java:83)
| at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)
| at org.jboss.ejb3.injection.InjectionInvocation.invokeNext(InjectionInvocation.java:74)
| at org.jboss.ejb3.EJBContainer.injectBeanContext(EJBContainer.java:1086)
|
| at org.jboss.ejb3.pool.AbstractPool.create(AbstractPool.java:83)
| at org.jboss.ejb3.pool.AbstractPool.create(AbstractPool.java:73)
| at org.jboss.ejb3.pool.StrictMaxPool.get(StrictMaxPool.java:146)
| at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:58)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
| at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
| ... 17 more
| Caused by: java.lang.IllegalArgumentException: failed to set value Proxy to jboss.j2ee:jar=GDBUpdate.jar,name=DispatcherBean,service=EJB3 implementing
|
| [interface com.sag.gdbu.dispatcher.DispatcherBeanLocal] on field private com.sag.gdbu.dispatcher.DispatcherBeanLocal
|
| com.sag.gdbu.starter.StarterBean.dispatcher; Reason:
| ClassLoaders of value and target are not equal
| at org.jboss.injection.lang.reflect.FieldBeanProperty.set(FieldBeanProperty.java:100)
| at org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:119)
| ... 30 more
| 14:25:42,695 INFO [EJBContainer] STOPPED EJB: com.sag.gdbu.starter.StarterBeanejbName: GDBStarter
| 14:25:42,711 INFO [EJBContainer] STOPPED EJB: com.sag.gdbu.starter.StarterBeanejbName: StarterBean
| 14:25:43,305 INFO [SessionSpecContainer] Stopping jboss.j2ee:jar=GDBUpdate.jar,name=DispatcherBean,service=EJB3
| 14:25:43,320 INFO [EJBContainer] STOPPED EJB: com.sag.gdbu.dispatcher.DispatcherBean ejbName: DispatcherBean
Changing the code to use jndi lookup by hand doesn't solve the problem.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266761#4266761
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266761
14 years, 11 months
[JBoss Messaging Users] - Re: Slow consumer is blocking producer
by PoonamAgarwal
My subscriber is non-durable. Performance of non-durable should be better than a durable one. So, I don't think this will make a difference.
My client code i.e. MessageListener looks like this:
| public class FMEventSubscriber implements MessageListener {
|
| public void onMessage(Message message) {
| if ( message instanceof ObjectMessage){
| ObjectMessage objMessage = (ObjectMessage)message;
| Integer responseMsgType;
| try {
| handleFMEvent(responseMsgType, objMessage.getObject() );
| }catch (Exception e ){
| log.error("Un-Expected error in message processing. ..");
| }
| }else{
| log.error("Unknow type of FM message receiv...");
| }
| }
|
Here, handleFMEvent calls other sessionbeans.
I have noticed that if I comment out the call to handleFMEvent() then the message processing is fast. But, the main question here is that it(consumer) should not block a producer.
Do I have the queue up the messages myself and then have a QueueEventprocessor publish the messages in a background thread?
-Poonam.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266756#4266756
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266756
14 years, 11 months
[Clustering] - jboss clustering-fault tolerance errors
by ankit.thakkar
Dear All,
We have configured Jboss Clustering + Session Replication. But we are facing certain issues as below.
Expected Scenario,
User1 connects to node1 -> Login Successful -> User1 is working for Functionality X -> node1 down
As node1 is down, node2 should take care for connected User1 from Functionality X.
Actual Scenario/Query,
When we shut down node1, Application logs out from Functionality X, then connects to node2 with Login Page of Application.
Please find below configuration we used for your reference,
Mod_JK
JBOSS_HOME/server/all/deploy/jboss-web.deployer/server.xml
server/all/deploy/jboss-web.deployer/META-INF/jboss-service.xml : UseJK = true
Exception coming in logger .
2009-11-17 13:05:50,369 INFO [org.jboss.web.tomcat.service.session.CacheListener] Possible concurrency problem: Replicated version id 1 matches in-memory version for session zs0jyaG4z-4sgTaEOIEvuA**
2009-11-17 13:05:50,641 DEBUG [org.jboss.cache.interceptors.TxInterceptor] local transaction exists - registering global tx if not present for Thread[ajp-172.26.137.20-8009-1,5,jboss]
2009-11-17 13:05:50,674 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Running commit phase. One phase? false
2009-11-17 13:05:50,674 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished local commit/rollback method for GlobalTransaction:<172.26.137.20:56688>:1
2009-11-17 13:05:50,674 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished commit phase
2009-11-17 13:05:50,674 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] loadSession(): id= zs0jyaG4z-4sgTaEOIEvuA**, session=SessionBasedClusteredSession[id: zs0jyaG4z-4sgTaEOIEvuA**.node2 lastAccessedTime: 1258463150496 version: 2 lastOutdated: 0]
2009-11-17 13:05:50,674 DEBUG [org.jboss.web.tomcat.service.session.JvmRouteValve] checkJvmRoute(): check if need to re-route based on JvmRoute. Session id: zs0jyaG4z-4sgTaEOIEvuA**.node2 jvmRoute: node1
2009-11-17 13:05:50,675 DEBUG [org.jboss.web.tomcat.service.session.JvmRouteValve] handleJvmRoute(): We have detected a failover with different jvmRoute. old one: node2 new one: node1. Will reset the session id.
2009-11-17 13:05:50,675 DEBUG [org.jboss.web.tomcat.service.session.JvmRouteValve] resetSessionId(): changed catalina session to= [zs0jyaG4z-4sgTaEOIEvuA**.node1] old one= [zs0jyaG4z-4sgTaEOIEvuA**.node2]
2009-11-17 13:05:50,675 DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] Setting cookie with session id:zs0jyaG4z-4sgTaEOIEvuA**.node1 & name:JSESSIONID
2009-11-17 13:44:29,185 DEBUG [org.jboss.web.tomcat.service.session.JvmRouteValve] checkJvmRoute(): check if need to re-route based on JvmRoute. Session id: Jp0uZF+NeeE4NdgdGeemcw**.node1 jvmRoute: node1
2009-11-17 13:44:29,206 ERROR [org.jboss.web.tomcat.service.session.JBossCacheService] externalizeSession(): exception occurred externalizing session SessionBasedClusteredSession[id: Jp0uZF+NeeE4NdgdGeemcw**.node1 lastAccessedTime: 1258465468376 version: 49 lastOutdated: 0]
java.io.NotSerializableException: com.icesoft.faces.component.datapaginator.DataPaginator
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
at java.util.concurrent.ConcurrentHashMap.writeObject(ConcurrentHashMap.java:1380)
at sun.reflect.GeneratedMethodAccessor316.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
at org.jboss.web.tomcat.service.session.SessionBasedClusteredSession.writeExternal(SessionBasedClusteredSession.java:175)
at org.jboss.web.tomcat.service.session.JBossCacheService.externalizeSession(JBossCacheService.java:1033)
at org.jboss.web.tomcat.service.session.JBossCacheService.putSession(JBossCacheService.java:322)
at org.jboss.web.tomcat.service.session.JBossCacheClusteredSession.processSessionRepl(JBossCacheClusteredSession.java:123)
at org.jboss.web.tomcat.service.session.JBossCacheManager.processSessionRepl(JBossCacheManager.java:1127)
at org.jboss.web.tomcat.service.session.JBossCacheManager.storeSession(JBossCacheManager.java:682)
at org.jboss.web.tomcat.service.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:49)
at org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:108)
at org.jboss.web.tomcat.service.session.JvmRouteValve.invoke(JvmRouteValve.java:84)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
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.ajp.AjpProcessor.process(AjpProcessor.java:437)
at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:366)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)
when session replication is happening, is it necessary to serialize all objects which have been stored in Session ?
Thanks ,
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266749#4266749
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266749
14 years, 11 months
[JBoss Web Services Users] - Accessing Secured WebService is failing
by pvenkatesh
Hi All
I am able to access my webservice if i access it without applying any security stuff, but it's failing when I enable security for my service
I've exactly followed the following link to apply security for my webservice
http://www.developer.com/java/other/article.php/10936_3802631_1/Securing-...
My WAR file structure is as follows
JBossWS
|
|-src
| |_org.jbia.ws
| |_Hello.java
|
|-lib
| |
| all the jarfile
|
|-WebContent
| |
| WEB-INF
| | |-jboss-wsse-server.xml
| | |-server.keystore
| | |-server.truststore
| | |-web.xml
| |
| META-INF
| | |
| | |-MANIFEST.MF
My JAR file's structure is as follows
WebService
|
|-src
| |_org.jbia.ws
| |_Client.java
| |_All the generated stuff based on wsdl(hello.java, HelloBindingStrub.java,HelloProxy.java,HellowService.java, HelloServiceLocatior.java)
|
|-lib
| |
| all the jarfile
|
|-META-INF
| |
| |-jboss-wsse-client.xml
| |-client.keystore
| |-client.truststore
| |-standard-jaxws-client-config.xml
| |
I tried to print the SOAP Request mesage at stub class as follows, but it's going as NULL
| SOAPMessage message = _call.getMessageContext().getMessage();
| System.out.println("------------------------");
| System.out.println(message);
| System.out.println("------------------------");
|
My Client java files is as follows
| package org.jbia.ws;
|
| import java.rmi.RemoteException;
|
| public class Client {
| String st = null;
| public String hello(String args) {
| HelloProxy svc = new HelloProxy();
| Hello hello = svc.getHello();
| try {
| st = hello.sayHello(args);
| } catch (RemoteException e) {
| // TODO Auto-generated catch block
| e.printStackTrace();
| }
| return st;
| }
| public static void main(String[] args) {
| Client cl = new Client();
| cl.hello("Venkat");
| }
| }
|
The exception I am getting is as follows
17:09:26,531 ERROR [HandlerChainExecutor] Exception during handler processing
| java.lang.NullPointerException
| at org.jboss.ws.extensions.security.Util.matchNode(Util.java:188)
| at org.jboss.ws.extensions.security.Util.matchNode(Util.java:183)
| at org.jboss.ws.extensions.security.Util.findElement(Util.java:89)
| at org.jboss.ws.extensions.security.WSSecurityDispatcher.handleInbound(WSSecurityDispatcher.java:115)
| at org.jboss.ws.extensions.security.jaxws.WSSecurityHandler.handleInboundSecurity(WSSecurityHandler.java:78)
| at org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerServer.handleInbound(WSSecurityHandlerServer.java:41)
| at org.jboss.ws.core.jaxws.handler.GenericHandler.handleMessage(GenericHandler.java:55)
| at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:295)
| at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:140)
| at org.jboss.ws.core.jaxws.handler.HandlerDelegateJAXWS.callRequestHandlerChain(HandlerDelegateJAXWS.java:87)
| at org.jboss.ws.core.server.ServiceEndpointInvoker.callRequestHandlerChain(ServiceEndpointInvoker.java:126)
| at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:170)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:408)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
| 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:619)
| 17:09:26,625 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
| javax.xml.ws.WebServiceException: java.lang.NullPointerException
| at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.processHandlerFailure(HandlerChainExecutor.java:276)
| at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:155)
| at org.jboss.ws.core.jaxws.handler.HandlerDelegateJAXWS.callRequestHandlerChain(HandlerDelegateJAXWS.java:87)
| at org.jboss.ws.core.server.ServiceEndpointInvoker.callRequestHandlerChain(ServiceEndpointInvoker.java:126)
| at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:170)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:408)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
| 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:619)
| Caused by: java.lang.NullPointerException
| at org.jboss.ws.extensions.security.Util.matchNode(Util.java:188)
| at org.jboss.ws.extensions.security.Util.matchNode(Util.java:183)
| at org.jboss.ws.extensions.security.Util.findElement(Util.java:89)
| at org.jboss.ws.extensions.security.WSSecurityDispatcher.handleInbound(WSSecurityDispatcher.java:115)
| at org.jboss.ws.extensions.security.jaxws.WSSecurityHandler.handleInboundSecurity(WSSecurityHandler.java:78)
| at org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerServer.handleInbound(WSSecurityHandlerServer.java:41)
| at org.jboss.ws.core.jaxws.handler.GenericHandler.handleMessage(GenericHandler.java:55)
| at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:295)
| at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:140)
| ... 27 more
| 17:09:26,796 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
| javax.xml.ws.WebServiceException: java.lang.NullPointerException
| at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.processHandlerFailure(HandlerChainExecutor.java:276)
| at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:155)
| at org.jboss.ws.core.jaxws.handler.HandlerDelegateJAXWS.callRequestHandlerChain(HandlerDelegateJAXWS.java:87)
| at org.jboss.ws.core.server.ServiceEndpointInvoker.callRequestHandlerChain(ServiceEndpointInvoker.java:126)
| at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:170)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:408)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
| 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:619)
| Caused by: java.lang.NullPointerException
| at org.jboss.ws.extensions.security.Util.matchNode(Util.java:188)
| at org.jboss.ws.extensions.security.Util.matchNode(Util.java:183)
| at org.jboss.ws.extensions.security.Util.findElement(Util.java:89)
| at org.jboss.ws.extensions.security.WSSecurityDispatcher.handleInbound(WSSecurityDispatcher.java:115)
| at org.jboss.ws.extensions.security.jaxws.WSSecurityHandler.handleInboundSecurity(WSSecurityHandler.java:78)
| at org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerServer.handleInbound(WSSecurityHandlerServer.java:41)
| at org.jboss.ws.core.jaxws.handler.GenericHandler.handleMessage(GenericHandler.java:55)
| at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:295)
| at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:140)
| ... 27 more
|
I would appriciate if someone throws some light on this issue
Thanks
With Regards
Venkatesh
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266743#4266743
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266743
14 years, 11 months