[JBoss JIRA] Commented: (JBAS-3350) NPE on <service-ref> in web.xml
by Remy Maucherat (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-3350?page=comments#action_12345409 ]
Remy Maucherat commented on JBAS-3350:
--------------------------------------
The first one is a glitch due to a difference in session handling in the clustered session. I have uploaded new binaries.
The second one means that the resource is not there, which is JBoss' fault (while the original problem occurred because Tomcat did not know how to process service-ref elements in web.xml).
So these are three very different problems.
Normally, the TCK branch is using the same Tomcat binary as HEAD (it's in jboss/web in the repository), so you have to refresh it and test it again.
> NPE on <service-ref> in web.xml
> -------------------------------
>
> Key: JBAS-3350
> URL: http://jira.jboss.com/jira/browse/JBAS-3350
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Thomas Diesler
> Assigned To: Remy Maucherat
> Priority: Critical
> Fix For: JBossAS-5.0.0.Beta
>
>
> tdiesler@TDDELL /cygdrive/d/svn/jbossws/trunk/src/test
> $ ant -Dtest=org.jboss.test.ws.wsse.WebClientTestCase one-test
> 2006-06-29 11:02:35,953 ERROR [org.apache.catalina.startup.ContextConfig] Parse error in application web.xml file at jndi:/localhost/jbossws-wsse-rpc/WEB-INF/web.xml
> java.lang.NullPointerException
> at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2725)
> at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2751)
> at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1060)
> at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
> <web-app version='2.4' xmlns='http://java.sun.com/xml/ns/j2ee' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd'>
> <servlet>
> <servlet-name>Hello</servlet-name>
> <servlet-class>org.jboss.ws.integration.jboss.JBossServiceEndpointServlet</servlet-class>
> <init-param>
> <param-name>ServiceEndpointImpl</param-name>
> <param-value>org.jboss.test.ws.wsse.HelloJavaBean</param-value>
> </init-param>
> </servlet>
> <servlet>
> <servlet-name>RpcTestClientServlet</servlet-name>
> <servlet-class>org.jboss.test.ws.wsse.RpcTestClientServlet</servlet-class>
> </servlet>
> <servlet-mapping>
> <servlet-name>Hello</servlet-name>
> <url-pattern>/Hello</url-pattern>
> </servlet-mapping>
> <servlet-mapping>
> <servlet-name>RpcTestClientServlet</servlet-name>
> <url-pattern>/RpcTestClientServlet</url-pattern>
> </servlet-mapping>
> <service-ref>
> <service-ref-name>service/HelloService</service-ref-name>
> <service-interface>javax.xml.rpc.Service</service-interface>
> <wsdl-file>WEB-INF/wsdl/HelloService.wsdl</wsdl-file>
> <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
> <port-component-ref>
> <service-endpoint-interface>org.jboss.test.ws.wsse.Hello</service-endpoint-interface>
> </port-component-ref>
> </service-ref>
> </web-app>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 2 months
[JBoss JIRA] Created: (JBMESSAGING-617) Stress tests do not run
by Tim Fox (JIRA)
Stress tests do not run
-----------------------
Key: JBMESSAGING-617
URL: http://jira.jboss.com/jira/browse/JBMESSAGING-617
Project: JBoss Messaging
Issue Type: Bug
Affects Versions: 1.2.0.Alpha1
Reporter: Tim Fox
Priority: Blocker
Fix For: 1.2.0.Alpha2
When running stressreport target the following error is reported:
[junit] main 19:29:32,109 ERROR [ExceptionUtil] org.jboss.messaging.core.plu
gin.JDBCPersistenceManagerService@1a4ded3 startService
[junit] java.lang.IllegalArgumentException: No such SQL statement: <![CDATA[
[junit] at org.jboss.messaging.core.plugin.JDBCSupport.getSQLStatement(J
DBCSupport.java:170)
[junit] at org.jboss.messaging.core.plugin.JDBCSupport.start(JDBCSupport
.java:110)
[junit] at org.jboss.messaging.core.plugin.JDBCPersistenceManager.start(
JDBCPersistenceManager.java:118)
[junit] at org.jboss.messaging.core.plugin.JDBCPersistenceManagerService
.startService(JDBCPersistenceManagerService.java:84)
[junit] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(Servi
ceMBeanSupport.java:289)
[junit] at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSuppor
t.java:196)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[junit] at java.lang.reflect.Method.invoke(Method.java:324)
[junit] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(Reflected
Dispatcher.java:157)
[junit] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 2 months
[JBoss JIRA] Commented: (JBAS-2595) JMX Resolver for JSF
by Stan Silvert (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-2595?page=comments#action_12345397 ]
Stan Silvert commented on JBAS-2595:
------------------------------------
Oh, and even though I haven't tried it yet, this should work perfectly well with Seam. It is just another EL Resolver in the chain. So you should get Seam support for free.
@Stateless
@Name("TomcatCluster")
public class TomcatClusterManager
{
@In(value="#{ObjectName['jboss.cache:service=TomcatClusteringCache'].Instance}")
private TreeCache clusterInstance;
@In(value="#{ObjectName['jboss.cache:service=TomcatClusteringCache'].CacheMode }")
private String cacheMode;
.
.
.
}
> JMX Resolver for JSF
> --------------------
>
> Key: JBAS-2595
> URL: http://jira.jboss.com/jira/browse/JBAS-2595
> Project: JBoss Application Server
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Web (Tomcat) service
> Affects Versions: JBossAS-4.0.4RC1
> Reporter: Stan Silvert
> Assigned To: Stan Silvert
> Priority: Optional
> Fix For: JBossAS-5.0.1.CR1
>
>
> The JMX resolver does for JMX what Seam is doing for EJB. That is, it provides a ?seam? for JMX and JSF. It allows you to map an MBean as a JSF managed bean. Then you can use attributes from JMX in any JSF component.
> The obvious use case for this is where you want to create a custom JMX console that only contains the attributes you are interested in. For example, I might want to monitor/modify the attributes for some DataSources and Tomcat threads all on a single JSP page. I would create a faces-config-jmx.xml file like this and place it in the WEB-INF directory:
> <faces-config-jmx>
> <managed-bean>
> <managed-bean-name>defaultDS</managed-bean-name>
> <jmx-object-name>jboss.jca:name=DefaultDS,service=ManagedConnectionPool</jmx-object-name>
> </managed-bean>
> <managed-bean>
> <managed-bean-name>foo</managed-bean-name>
> <jmx-object-name>Foo:name=Foo,type=XMBean</jmx-object-name>
> </managed-bean>
> </faces-config-jmx>
> To use this in a JSP page, I just use the managed bean name in my JSF component as usual:
> <h:form>
> <p>
> <h:outputText value="New DefaultDS maxSize: "/>
> <h:inputText value="#{defaultDS.MaxSize}" converter="javax.faces.Integer" />
> <br/></br>
> <h:outputText value="New DefaultDS AvailableConnectionCount: "/>
> <h:outputText value="#{defaultDS.AvailableConnectionCount}" />
> <br/><br/>
> <h:outputText value="Array access test for foo.myArray[2]: "/>
> <br/>
> <h:outputText value="Current value is: #{foo.myArray[2]}" />
> <h:commandButton value="Submit"/>
> </p>
> </h:form>
> The mechanism to do JMX to JSF resolution will be installed automatically using the new JSF initialization specified here: http://jira.jboss.com/jira/browse/JBAS-2593
> The application developer is only required to provide a faces-config-jmx.xml containing the mappings from managed bean names to JMX ObjectNames.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 2 months
[JBoss JIRA] Updated: (JBAS-3350) NPE on <service-ref> in web.xml
by Thomas Diesler (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-3350?page=all ]
Thomas Diesler updated JBAS-3350:
---------------------------------
Summary: NPE on <service-ref> in web.xml (was: NPE on web service deployment)
> NPE on <service-ref> in web.xml
> -------------------------------
>
> Key: JBAS-3350
> URL: http://jira.jboss.com/jira/browse/JBAS-3350
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Thomas Diesler
> Assigned To: Remy Maucherat
> Priority: Critical
> Fix For: JBossAS-5.0.0.Beta
>
>
> tdiesler@TDDELL /cygdrive/d/svn/jbossws/trunk/src/test
> $ ant -Dtest=org.jboss.test.ws.wsse.WebClientTestCase one-test
> 2006-06-29 11:02:35,953 ERROR [org.apache.catalina.startup.ContextConfig] Parse error in application web.xml file at jndi:/localhost/jbossws-wsse-rpc/WEB-INF/web.xml
> java.lang.NullPointerException
> at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2725)
> at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2751)
> at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1060)
> at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
> <web-app version='2.4' xmlns='http://java.sun.com/xml/ns/j2ee' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd'>
> <servlet>
> <servlet-name>Hello</servlet-name>
> <servlet-class>org.jboss.ws.integration.jboss.JBossServiceEndpointServlet</servlet-class>
> <init-param>
> <param-name>ServiceEndpointImpl</param-name>
> <param-value>org.jboss.test.ws.wsse.HelloJavaBean</param-value>
> </init-param>
> </servlet>
> <servlet>
> <servlet-name>RpcTestClientServlet</servlet-name>
> <servlet-class>org.jboss.test.ws.wsse.RpcTestClientServlet</servlet-class>
> </servlet>
> <servlet-mapping>
> <servlet-name>Hello</servlet-name>
> <url-pattern>/Hello</url-pattern>
> </servlet-mapping>
> <servlet-mapping>
> <servlet-name>RpcTestClientServlet</servlet-name>
> <url-pattern>/RpcTestClientServlet</url-pattern>
> </servlet-mapping>
> <service-ref>
> <service-ref-name>service/HelloService</service-ref-name>
> <service-interface>javax.xml.rpc.Service</service-interface>
> <wsdl-file>WEB-INF/wsdl/HelloService.wsdl</wsdl-file>
> <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
> <port-component-ref>
> <service-endpoint-interface>org.jboss.test.ws.wsse.Hello</service-endpoint-interface>
> </port-component-ref>
> </service-ref>
> </web-app>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 2 months
[JBoss JIRA] Updated: (JBAS-3350) NPE on web service deployment
by Thomas Diesler (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-3350?page=all ]
Thomas Diesler updated JBAS-3350:
---------------------------------
Priority: Critical (was: Major)
> NPE on web service deployment
> -----------------------------
>
> Key: JBAS-3350
> URL: http://jira.jboss.com/jira/browse/JBAS-3350
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Thomas Diesler
> Assigned To: Remy Maucherat
> Priority: Critical
> Fix For: JBossAS-5.0.0.Beta
>
>
> tdiesler@TDDELL /cygdrive/d/svn/jbossws/trunk/src/test
> $ ant -Dtest=org.jboss.test.ws.wsse.WebClientTestCase one-test
> 2006-06-29 11:02:35,953 ERROR [org.apache.catalina.startup.ContextConfig] Parse error in application web.xml file at jndi:/localhost/jbossws-wsse-rpc/WEB-INF/web.xml
> java.lang.NullPointerException
> at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2725)
> at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2751)
> at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1060)
> at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
> <web-app version='2.4' xmlns='http://java.sun.com/xml/ns/j2ee' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd'>
> <servlet>
> <servlet-name>Hello</servlet-name>
> <servlet-class>org.jboss.ws.integration.jboss.JBossServiceEndpointServlet</servlet-class>
> <init-param>
> <param-name>ServiceEndpointImpl</param-name>
> <param-value>org.jboss.test.ws.wsse.HelloJavaBean</param-value>
> </init-param>
> </servlet>
> <servlet>
> <servlet-name>RpcTestClientServlet</servlet-name>
> <servlet-class>org.jboss.test.ws.wsse.RpcTestClientServlet</servlet-class>
> </servlet>
> <servlet-mapping>
> <servlet-name>Hello</servlet-name>
> <url-pattern>/Hello</url-pattern>
> </servlet-mapping>
> <servlet-mapping>
> <servlet-name>RpcTestClientServlet</servlet-name>
> <url-pattern>/RpcTestClientServlet</url-pattern>
> </servlet-mapping>
> <service-ref>
> <service-ref-name>service/HelloService</service-ref-name>
> <service-interface>javax.xml.rpc.Service</service-interface>
> <wsdl-file>WEB-INF/wsdl/HelloService.wsdl</wsdl-file>
> <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
> <port-component-ref>
> <service-endpoint-interface>org.jboss.test.ws.wsse.Hello</service-endpoint-interface>
> </port-component-ref>
> </service-ref>
> </web-app>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 2 months
[JBoss JIRA] Reopened: (JBAS-3350) NPE on web service deployment
by Thomas Diesler (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-3350?page=all ]
Thomas Diesler reopened JBAS-3350:
----------------------------------
/home/tdiesler/svn/jbossws/trunk/src/test
The issue does not seem to be resolved.
Please install the tomcat version that fixes this in branches/JEE5_TCK.
This is critical, because every second web service test uses <service-ref> in web.xml
[tdiesler@tdvaio test]$ ant -Dtest=org.jboss.test.ws.jaxrpc.jbws1205.JBWS1205TestCase one-test
one-test:
[junit] Running org.jboss.test.ws.jaxrpc.jbws1205.JBWS1205TestCase
[junit] [Fatal Error] :-1:-1: Premature end of file.
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.614 sec
20:04:43,447 ERROR [CoyoteAdapter] An exception or error occurred in the container during the request processing
java.lang.NullPointerException
at org.apache.catalina.session.StandardSession.isValid(StandardSession.java:578)
at org.apache.catalina.connector.Request.doGetSession(Request.java:2252)
at org.apache.catalina.connector.Request.getSession(Request.java:2065)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:132)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.jboss.web.tomcat.tc6.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:211)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:823)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:444)
at java.lang.Thread.run(Thread.java:595)
20:04:43,448 ERROR [Http11Processor] Error processing request
java.lang.NullPointerException
at org.apache.catalina.session.StandardSession.endAccess(StandardSession.java:632)
at org.apache.catalina.connector.Request.recycle(Request.java:418)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:238)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:823)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:444)
at java.lang.Thread.run(Thread.java:595)
/home/tdiesler/svn/jbossws/trunk/src/test
[tdiesler@tdvaio test]$ ant -Dtest=org.jboss.test.ws.jaxrpc.wsse.WebClientTestCase one-test
one-test:
[junit] Running org.jboss.test.ws.jaxrpc.wsse.WebClientTestCase
[junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 1.739 sec
[junit] Test org.jboss.test.ws.jaxrpc.wsse.WebClientTestCase FAILED
javax.naming.NameNotFoundException: service not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
at org.jnp.server.NamingServer.lookup(NamingServer.java:270)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:626)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:717)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:588)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at org.jboss.test.ws.jaxrpc.wsse.RpcTestClientServlet.doGet(RpcTestClientServlet.java:48)
> NPE on web service deployment
> -----------------------------
>
> Key: JBAS-3350
> URL: http://jira.jboss.com/jira/browse/JBAS-3350
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Thomas Diesler
> Assigned To: Remy Maucherat
> Fix For: JBossAS-5.0.0.Beta
>
>
> tdiesler@TDDELL /cygdrive/d/svn/jbossws/trunk/src/test
> $ ant -Dtest=org.jboss.test.ws.wsse.WebClientTestCase one-test
> 2006-06-29 11:02:35,953 ERROR [org.apache.catalina.startup.ContextConfig] Parse error in application web.xml file at jndi:/localhost/jbossws-wsse-rpc/WEB-INF/web.xml
> java.lang.NullPointerException
> at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2725)
> at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2751)
> at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1060)
> at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
> <web-app version='2.4' xmlns='http://java.sun.com/xml/ns/j2ee' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd'>
> <servlet>
> <servlet-name>Hello</servlet-name>
> <servlet-class>org.jboss.ws.integration.jboss.JBossServiceEndpointServlet</servlet-class>
> <init-param>
> <param-name>ServiceEndpointImpl</param-name>
> <param-value>org.jboss.test.ws.wsse.HelloJavaBean</param-value>
> </init-param>
> </servlet>
> <servlet>
> <servlet-name>RpcTestClientServlet</servlet-name>
> <servlet-class>org.jboss.test.ws.wsse.RpcTestClientServlet</servlet-class>
> </servlet>
> <servlet-mapping>
> <servlet-name>Hello</servlet-name>
> <url-pattern>/Hello</url-pattern>
> </servlet-mapping>
> <servlet-mapping>
> <servlet-name>RpcTestClientServlet</servlet-name>
> <url-pattern>/RpcTestClientServlet</url-pattern>
> </servlet-mapping>
> <service-ref>
> <service-ref-name>service/HelloService</service-ref-name>
> <service-interface>javax.xml.rpc.Service</service-interface>
> <wsdl-file>WEB-INF/wsdl/HelloService.wsdl</wsdl-file>
> <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
> <port-component-ref>
> <service-endpoint-interface>org.jboss.test.ws.wsse.Hello</service-endpoint-interface>
> </port-component-ref>
> </service-ref>
> </web-app>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 2 months