I am having deployment issues with
I have developed a
struts based framework that accepts user input, toddles off via a session bean to a sqlServer DB, and comes back with some information.
This all works fine on my desktop. When I deploy just the WAR file to our
test server on a remote machine, the JSPs/Forms and servelts all behave (until they try to ask services from the undeployed EJBs, but I have no concerns about this tier of my application). As soon as I wrap the WAR file up into an EAR file, and deploy this to the remote machine, the EAR loads, starts, but immediately fails � I cannot invoke any of the JSPs as the
servlets don�t load. The error message printed to the logs is (edited heavily):
From what I can make out, the problem exists because when CustomerDataForm is loaded, the JVM cannot find CompanyForm which extends ActionForm.
CustomerDataForm exists in a Web Application Project
CompanyForm does not, it exists in a standard
java project � could this be my issue? If I want to have all my ActionForms extend from one parent that extends ActionForm, does my parent need to be in a Web Application Project?
If I remove the call to CompanyForm, everything is tickety-boo.
Or do I need to mess around with the classpaths in the EAR�s deployment descriptor.
Oh yeah, how do I add utility (3rd party) jars to my ear deployment descriptor � can�t find a tool to do this at all, and editing source always makes me nervous.
Many thanx