beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "daryoush mehrtash (JIRA)" <beehive-...@incubator.apache.org>
Subject [jira] Commented: (BEEHIVE-804) Cannot invoke JMS System Control from JWS
Date Fri, 10 Jun 2005 22:14:47 GMT
    [ http://issues.apache.org/jira/browse/BEEHIVE-804?page=comments#action_12313332 ] 

daryoush mehrtash commented on BEEHIVE-804:
-------------------------------------------

This is not a JWS bug.  The problem is that  

   @Control private JmsQueueCtrl m_ctrlQueue;

is private, it *must* be a public variable.  If you change this to:

   @Control public JmsQueueCtrl m_ctrlQueue;


it should work..

I think this bug should be move to Controls as a new feature request.  This is a common mistake
(I know I have made this mistake) and there are no error messages to warn you of it.    It
would be nice if the control's APT process could detect this as an error or at least warning.

Julian, Please verify that this fix would work for you and move it reassign it as  new feature
for Controls


> Cannot invoke JMS System Control from JWS
> -----------------------------------------
>
>          Key: BEEHIVE-804
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-804
>      Project: Beehive
>         Type: Bug
>   Components: Web Services (181)
>     Versions: V1
>  Environment: Windows XP
>     Reporter: Julian Klappenbach
>  Attachments: jmsControlError.zip
>
> When attempting to create and use a JMSControl within a JWS, the first invocation of
the control interface results in the following exception:
> A reproduction webapp example will be attached.
> java.lang.NullPointerException
>         at ws.JmsContainer.broken(JmsContainer.java:20)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:388)
>         at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:283)
>         at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:319)
>         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
>         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
>         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
>         at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:453)
>         at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
>         at org.apache.axis.transport.http.QSMethodHandler.invokeEndpointFromGet(QSMethodHandler.java:130)
>         at org.apache.axis.transport.http.QSMethodHandler.invoke(QSMethodHandler.java:95)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.axis.transport.http.AxisServlet.processQuery(AxisServlet.java:1217)
>         at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:249)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
>         at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>         at org.apache.beehive.controls.runtime.servlet.ControlFilter.doFilter(ControlFilter.java:131)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
>         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)
>         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:702)
>         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
>         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
>         at java.lang.Thread.run(Thread.java:595)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message