× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Okay, I'm trying, really I am, to work with the new J2EE Deployment Model.
I will try to keep my negative comments to myself, and simply ask real world
questions.

I have a J2EE project in WDSC.  It's got a single EAR and a single WAR.
There's also a secondary project which contains my common runtime packages.

I did two things - I added the seconday project as an external jar, and then
added a couple of "real" external jar files from my C: drive (I have a
folder, C:\Java\lib, specifically designated just for that purpose).  Well,
this worked swimmingly!  I can fire up the project in the WAS5X test
environment, and even launch my servlet and see good things happen.

So now it's time to deploy.  Like a good boy, I export my project to an EAR
file.  And just for the fun of it, I looked inside the EAR and saw a WAR,
and in the WAR was not only the stuff from the J2EE project, but also the
entire secondary project had been included as a single JAR.

I install the EAR file on WAS5X on the host, fire it up and WHAM!  I can rnu
my servlets!  WAY COOL, FOLKS!  Phil, your team has done an excellent job
here.

However, I didn't see the external jar files.  In fact, the only thing I see
is a .classpath in my WAR folder that still has the links to "C:\Java\lib",
which clearly won't work.  And any servlets accessing those external JARs
fails.  And in fact, it seems to dump the server and restart it.  This is
the "not way cool" part of the program.

I had hoped that the EAR packager would pick up those external JARs and
stuff them in the lib folder for the WAR.  Since this didn't happen, I guess
I don't know what the steps are to handle an external jar.

Joe


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.