Bill,

I have a fairly complicated application successfully working on JBoss 2.2.1.
My application uses struts and cmp beans. I can give you information about
how I package my ear file, but if you tell me which classes the system is
having trouble finding, I can give a more specific answer.

-dain

-----Original Message-----
From: Bill Pfeiffer [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 22, 2001 9:16 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Tomcat-JBoss ClassNotFoundException (again)


Jim,

Thanks for the grain of hope.  I kept plugging and deployed the JBoss
test-tomcat.ear on my JBoss 2.2.1 installation and watched it get the same
class not found error.  I then tried the test_tomcat.ear on the JBoss-Tomcat
(2.2 + 3.21) integrated version that you can download.  This worked.  I then
deployed my test ear to this installation.  This also worked.  I then
deployed my real app.  IT WORKED!!

My conclusion based on my shaky evidence is that the deployment on JBoss
2.2.1 and Tomcat does not work.

I will back my development off to JBoss 2.2 instead of 2.2.1.

Thanks again for the feedback,

Bill Pfeiffer

----- Original Message -----
From: "Jim Archer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, April 21, 2001 2:48 AM
Subject: Re: [JBoss-user] Tomcat-JBoss ClassNotFoundException (again)


> Just to give Bill some hope, I have a complex J2EE EAR app that I deploy
> using jBoss-Tomcat daily, and have been for what seems like ages now (you
> know how development can take forever...)...
>
> My EAR has one jar and one war and the servlets in the war call the EJBs
> inthe jar. Some time ago, I had to include some of the EJBs in the WAR. I
> don't know if that is still required, but my scripts still do it and it
> still works.
>
> Good luck!
>
> Jim
>
>
> --On Friday, April 20, 2001 9:09 PM -0500 Dewayne McNair
> <[EMAIL PROTECTED]> wrote:
>
> > [I didn't copy this to the list on purpose...]
> >
> > I think there is a bug in the deployer... I'm looking through the source
> > code now, I'll let you know if I find anything.
> >
> > Just for reference, can you send me a description of your EAR?
> >
> > Thanks,
> >
> > Dewayne
> >
> > ----- Original Message -----
> > From: "Bill Pfeiffer" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, April 20, 2001 8:14 PM
> > Subject: Re: [JBoss-user] Tomcat-JBoss ClassNotFoundException (again)
> >
> >
> >> I should have been more explicit when discussing what I've tried.  I've
> >> reviewed the j2ee deployment steps as well as the Tomcat how-to.  After
> >> walking through the explicit steps of both documents and experiencing
> >> failure, I looked for subtleties that I may have missed, tried
> >> variations. More failure.
> >>
> >> Then there is the tomcat-test.ear, which I watch work every time.  I
> > modeled
> >> my deployment exactly after this in at least one of my varied attempts
> >> and failed.  Note that this tomcat-test.ear actually includes the ejb
> > interface
> >> classes in the WAR file (I've tried this), as well as providing a
client
> > jar
> >> containing those files in the ear file(also tried that).  This
inclusion
> > of
> >> classes directly into the WAR's "classes" dir is not indicated in the
> >> j2ee deployment guide nor in the j2ee spec that I've seen.
> >>
> >> Do you actually have a non-trivial (something other than the
> >> tomcat-test.ear) j2ee application deployed and working?  It would
> > certainly
> >> give me hope to keep plugging along.
> >>
> >>
> >> Bill Pfeiffer
> >>
> >>
> >> ----- Original Message -----
> >> From: "Victor Lan" <[EMAIL PROTECTED]>
> >> To: <[EMAIL PROTECTED]>
> >> Sent: Friday, April 20, 2001 12:17 AM
> >> Subject: Re: [JBoss-user] Tomcat-JBoss ClassNotFoundException (again)
> >>
> >>
> >> > In addition to the tomcat+jboss howto, you should read the
"Deployment
> >> > on JBoss" section.
> >> >
> >> > Also, get the tomcat-test.ear app from the contrib suite to see how
> >> > it's done.
> >> >
> >> > It does work.
> >> >
> >> > Victor
> >> >
> >> > ----- Original Message -----
> >> > From: "Bill Pfeiffer" <[EMAIL PROTECTED]>
> >> > Date: Thursday, April 19, 2001 11:37 pm
> >> > Subject: [JBoss-user] Tomcat-JBoss ClassNotFoundException (again)
> >> >
> >> > > Has anyone successfully deployed a non trivial .ear (ie something
> >> > > other than
> >> > > the example ear) under the integrated Tomcat-JBoss binary?
> >> > >
> >> > > I've read the docs.  I've reviewed the working sample.  I've tried
> >> > > whatseems to be every concievable permutation of .jcml, .conf,
> >> > > manifest settings
> >> > > that I can come up with.  I cannot get the damn thing (my servlet)
> >> > > to see my
> >> > > home interface class file.  It throws a ClassNotFoundException
> >> > > every time.
> >> > >
> >> > > Offer me a setting.  I'll try it (if I haven't already).  Tell me
> >> > > where to
> >> > > put my ejb interface files (in or out of a client.jar, doesn't
> >> > > matter, I've
> >> > > tried it).
> >> > >
> >> > > Any last words of advice before I give up?  I'd love to hear from
> >> > > someonewho has this working and see the configuration.
> >> > >
> >> > > Thanks,
> >> > >
> >> > > Bill Pfeiffer
> >> > >
> >> > >
> >> > > _______________________________________________
> >> > > JBoss-user mailing list
> >> > > [EMAIL PROTECTED]
> >> > > http://lists.sourceforge.net/lists/listinfo/jboss-user
> >> > >
> >> >
> >> >
> >> > _______________________________________________
> >> > JBoss-user mailing list
> >> > [EMAIL PROTECTED]
> >> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> >>
> >>
> >> _______________________________________________
> >> JBoss-user mailing list
> >> [EMAIL PROTECTED]
> >> http://lists.sourceforge.net/lists/listinfo/jboss-user
> >>
> >
> >
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
>
> ********************************************
> I shall be telling this with a sigh
> Somewhere ages and ages hence:
> Two roads diverged in a wood, and I -
> I took the one less traveled by,
> And that has made all the difference.
>
> - Robert Frost, 1916
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to