Hi-- I too have been experiencing the fun(not!) of assembling and packaging a combo of .war, ejb.jar's, and .ear files, and I was wrestling with adding classpaths to the manifest as well. I couldn't get the deployer to see them until I put a newline after the classpath entry in the manifest file I was making. After I did that I got the "Added jar blahblahblah to common classpath" message. You may want to make sure you've added newlines to you Class-Path entries in your manifest. Hope this helps. --Joel --- [EMAIL PROTECTED] wrote: > I've tried this in every combination of .war and > .ear files now for the > last > two days and I'm at wits end. > > Here's the structure of my .ear file (currently): > > META-INF/application.xml > META-INF/MANIFEST.MF > testwar.war > TelnetCallEnterpriseBean.jar > TelnetConnectionEnterpriseBean.jar > > The structure of testwar.war is: > > META-INF/MANIFEST.MF > WEB-INF/classes > WEB-INF/lib > WEB-INF/web.xml > index.html > patronperson.jsp > > > When I surf to //localhost:8080/patronpersonal it > brings up my index.html > page. > This page has a button on it that directs to the > patronperson.jsp page. As > that page > gets compiled and executes, I get a noClassDefFound > exception for the > "TelnetConnectionHome" > class. > > That class is in the .jar file at the root of my > .ear file and is > referenced in the MANIFEST file in the > .war file (Class-Path: > .\TelnetConnectionEnterpriseBean.jar). > > #1 - I never see the "Added > .\TelnetConnectionEnterpriseBean.jar to common > class-path" msg when > the .war file is deployed (like the tomcat-test.ear > example) - which I've > set up my directory structure > like the test. Why doesn't that ever show up? In > looking at the source > code, it wouldn't show it if > a) it didn't read my manifest file correctly or b) > it didn't parse the > manifest file correctly and the class-path > variable (cp) is null. > > #2 - Why can't the jsp servlet find that home > interface class?? At this > point in the code, it is attempting > to do a Context.lookup on the home interface for the > bean I need - and I > know I have a good Context. > I've seen the recent posts about crossing the module > boundaries and making > sure the common classloader > has everything it needs, but I'm not passing any > parameters that aren't > serializable and I believe I've done > everything I need to for it to find it. > Aaaaaaaaaaarrrgh!! > > #3 - Does the latest source from the CVS repository > work with Tomcat > embedded? If so, how do you get it > set up? I tried and failed. Worked fine as > "default", but when I started > uncommenting things in the config > files, it died. > > Thanks for any help and pointers. Maybe I'm just > packaging things wrong. > > Robert > > > -- > -------------------------------------------------------------- > To subscribe: > [EMAIL PROTECTED] > To unsubscribe: > [EMAIL PROTECTED] > List Help?: [EMAIL PROTECTED] > __________________________________________________ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/ -- -------------------------------------------------------------- To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] List Help?: [EMAIL PROTECTED]
