users@glassfish.java.net

Clustering: Application not working in all clusters

From: <glassfish_at_javadesktop.org>
Date: Fri, 19 Jun 2009 04:45:39 PDT

Hi ,

We are facing an issue while trying to deploy an application (contains webservice,stateless ejb) in a glassfishv2u2 clustered environment. We have two server instance in the cluster. When I deploy my application in the first server of the cluster, it is deploying in the cluster and showing no error. When i click the webservice and check the wsdl using the port specific to the first server instance(49508) it is showing the wsdl.but when i give the port of the cluster i.e 38080 it is working for the Second server but not for the First server where i actually deployed. I am getting 404 error.

I have added the <distributable/> in web.xml,
also enabled availability during deployment and
also find the contents of sun-web.xml below

<sun-web-app error-url="">
<context-root>/sample</context-root>
  <class-loader delegate="true"/>
 <session-config>
        <session-manager persistence-type="replicated">
        <manager-properties>
                <property name="persistenceFrequency" value="web-method"/>
        </manager-properties>
        <store-properties>
                <property name="persistenceScope" value="session"/>
        </store-properties> </session-manager>
        <session-properties/>
        <cookie-properties/>
</session-config>
<jsp-config>
    <property name="keepgenerated" value="true">
       <description>Keep a copy of the generated servlet class' java code.</description>
     </property>
 </jsp-config>
</sun-web-app>

Please guide me on solving this
[Message sent by forum member 'praveenk13' (praveenk13)]

http://forums.java.net/jive/thread.jspa?messageID=352064