users@glassfish.java.net

Glassfish app deployment on cluster

From: <glassfish_at_javadesktop.org>
Date: Tue, 20 Jul 2010 02:20:46 PDT

Hi,

I'm having trouble with a webservice/EJB application that I've deployed on a clustered environment. The application is packaged as an ear file with all the required libraries within the ear. The application is deployed through the DAS agent via the webfront and is specified to be applied to both the server and cluster targets. Cluster is setup correctly and deploying the app works perfectly. The webservices are exposed on

instance01
http://das-hostname:8080
http://das-hostname:38080
http://das-hostname:38181
instance02
http://agent-hostname:38080
http://agent-hostname:38181

When testing my exposed webservice via the das host the app works perfectly, however when testing the same webservice via the agent host the instance keeps complaining about NoClassDefFoundErrors even though when looking at /glassfish/nodeagents/nodeagents02/instance02/applications/j2ee-apps/ the ear file has been correctly extracted and all the jars from the ear are there.

Really stuck here, any help would be great.

Regards
[Message sent by forum member 'h3llt3ch']

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