• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Deployments Misbehaving

 
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Alana Sparx
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Good to see my posts in this particular community are being ignored, as per usual.
 
Alana Sparx
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Surprise surprise, no-one can answer this......
reply
    Bookmark Topic Watch Topic
  • New Topic