[mod_cluster-issues] [JBoss JIRA] Updated: (MODCLUSTER-152) Redeploy EAR with @WebService annotated beans cause 404

Gábor Auth (JIRA) jira-events at lists.jboss.org
Fri May 7 09:06:07 EDT 2010


     [ https://jira.jboss.org/jira/browse/MODCLUSTER-152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gábor Auth updated MODCLUSTER-152:
-----------------------------------

    Attachment: Common-test.zip


Maven2 sources.

> Redeploy EAR with @WebService annotated beans cause 404
> -------------------------------------------------------
>
>                 Key: MODCLUSTER-152
>                 URL: https://jira.jboss.org/jira/browse/MODCLUSTER-152
>             Project: mod_cluster
>          Issue Type: Bug
>    Affects Versions: 1.0.3.GA, 1.1.0.CR1
>         Environment: Linux hostname 2.6.18-194.el5xen #1 SMP Tue Mar 16 22:01:26 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
> JBoss 5.1.0.GA
> ModCluster 1.3.0.GA
>            Reporter: Gábor Auth
>            Assignee: Jean-Frederic Clere
>         Attachments: Common-test.zip
>
>
> I've tested a ModCluster 1.0.3.GA with the load-demo.war, and it works; I've started a JMeter testcase with 200 threads, then I've stopped and started the one of the two AS node; I've undeployed in the node1 the load-demo.war, then I've deployed again the load-demo.war: not found any errors, it works, except some CacheManager NPE while the SessionCache is synchronizing:
> 14:16:28,261 ERROR [load-demo] Caught exception rolling back transaction
> java.lang.NullPointerException
>         at org.jboss.web.tomcat.service.session.JBossCacheManager.loadSession(JBossCacheManager.java:1857)
>         at org.jboss.web.tomcat.service.session.JBossCacheManager.findSession(JBossCacheManager.java:489) ).
> I've created a simple "echo" EJB with these annotations:
> @MTOM
> @Local
> @WebService
> @Stateless(mappedName = "hu.javaforum.modcluster.webservice.test.service.Test")
> @LocalBinding(jndiBinding = "hu.javaforum.modcluster.webservice.test.service.Test")
> @WebContext(contextRoot = "/ModCluster-test", urlPattern = "/service")
> @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED)
> public class TestBean implements Test
> {
>   @Override
>   @TransactionAttribute(TransactionAttributeType.SUPPORTS)
>   public String process(@WebParam(name = "request") String request)
>   {
>     return request;
>   }
> }
> I've created a JAR, and I've deployed it to the cluster nodes, it works, I've started a JMeter and soapUI tests, it works.
> Then I've undeployed this JAR in the node1, it works, all test passes.
> Then I've deployed again (or redeploy) this JAR in the node1, and I've seen some HTTP/404 error in the reply:
> HTTP Status 404 - /ModCluster-test/service
> [...]
> The requested resource (/ModCluster-test/service) is not available.
> I've seen it in the httpd's access_log:
> x.x.x.x - - [07/May/2010:14:26:20 +0200] "POST /ModCluster-test/service HTTP/1.1" 404 1056 "-" "Jakarta Commons-HttpClient/3.1"
> And I've seen it in the access.log in the node1:
> x.x.x.x - - [07/May/2010:14:26:20 +0200] "POST /ModCluster-test/service HTTP/1.1" 404 1056
> It is bug? :)

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

       



More information about the mod_cluster-issues mailing list