It would sure be of interest to me.  

Thanks Again,
 -Amos



--- Martin Welch <[EMAIL PROTECTED]> wrote:
> Amos,
> 
> Erk. Hands up -- I didn't use EAR, WARs etc. I've
> done everything by hand --
> a batch file to create the jars and a manual copy of
> all the necessary
> files.
> 
> My next step is to create a simple example of my own
> and use Ant (which I
> don't understand at all yet) to create there EARs
> and WARs (which I also
> don't understand).
> 
> If you wish I'll document what I did if that helps.
> Would this be of
> interest to others?
> 
> Martin
> -----Original Message-----
> From: A.L. [mailto:[EMAIL PROTECTED]]
> Sent: 03 August 2001 16:36
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-user] JBOSS INTEREST EXAMPLE
> 
> 
> Martin,
>    I know I'm starting to be a real pain, and this
> is
> quite frustrating, but it still is not working.  I
> have deployed the files and made sure that
> InterestHome was appearing in the WebInf directory
> in
> the Interest Jar WAR  and EAR files.
> I have an idea though.
>   Could you send me your EAR file.  Maybe I can then
> deploy it with yours, and see what is diferrent.
> 
> One other simple question.  Which is necessary to
> deploy the whole application.  The Jar Ear or the
> WAR
> file.  Or do all of them ned to be in the deploy
> folder.  Currently I have all of them.  It is my
> understanding that I only need to have the ear fiel
> though.
> 
> Thanks Again
> -Amos
> 
> 
> 
> --- Martin Welch <[EMAIL PROTECTED]> wrote:
> > Sorry for the delay in my reply -- real work got
> in
> > the way again!
> > 
> > Just double check that you've also got
> > Interest.class and InterestHome.class
> > in your
> >
>
C:\work\example\examples\build-examples\interest\WEB-INF\classes\org\jboss\d
> > ocs\interest directory.
> > 
> > This is why I got the same error as you.
> > 
> > HTH,
> > 
> > Martin
> > 
> > -----Original Message-----
> > From: A.L. [mailto:[EMAIL PROTECTED]]
> > Sent: 01 August 2001 16:13
> > To: [EMAIL PROTECTED]
> > Subject: RE: [JBoss-user] JBOSS INTEREST EXAMPLE
> > 
> > 
> > The immediate naswer to you question is:
> > The interestservlet.class file was created in:
> >
>
C:\work\example\examples\build-examples\interest\WEB-INF\classes\org\jboss\d
> > ocs\interest
> > 
> > Here is some more background info...
> > 
> > When I downloaded the files for the interest
> example
> > I
> > put them all into the following directory:
> > 
> > C:\work\example\examples\org\jboss\docs\interest
> > 
> > After running the ant compile command from the
> > directory
> > C:\work\example\examples\build
> > 
> > A new Directory was created with the follwoing
> > structure 
> > C:\work\example\examples\build-examples
> > 
> > The interestservlet.class file was created in:
> >
>
C:\work\example\examples\build-examples\interest\WEB-INF\classes\org\jboss\d
> > ocs\interest
> > 
> > Nevertheless,  After running all the ant commands
> > defined in the build.xml file, interest.JAR,
> > interest.WAR, and interest.EAR all were placed in
> > the
> > JBoss deploy file.  I assume they all have the
> > compressed the same directory structure I have
> > described above.
> > 
> > I hope that this is correct, if not I'm an idiot
> for
> > having messed this up.
> > 
> > 
> > Thanks again Martin
> > 
> > --- Martin Welch <[EMAIL PROTECTED]> wrote:
> > > Where is your InterestServlet.class file?
> > > 
> > > -----Original Message-----
> > > From: A.L. [mailto:[EMAIL PROTECTED]]
> > > Sent: 31 July 2001 17:20
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: [JBoss-user] JBOSS INTEREST EXAMPLE
> > > 
> > > 
> > > I have finally tried to restart the whole
> process
> > to
> > > get the Interest Servlet to work. now I am
> getting
> > > the
> > > following error when I try to calculate:
> > >  Error: 500
> > > Location: /interest/InterestServlet
> > > Internal Servlet Error:
> > > 
> > > java.lang.NoClassDefFoundError:
> > > org/jboss/docs/interest/Interest
> > >   at java.lang.Class.newInstance0(Native Method)
> > >   at java.lang.Class.newInstance(Unknown Source)
> > >         .
> > >         .
> > >         .
> > > 
> > > I have a couple of questions.  The
> interestClient
> > > class is running fine, and has the following
> line:
> > >  Object ref  =
> > > jndiContext.lookup("interest/Interest");
> > > 
> > > I have put the same line in the InterestServlet
> > > Class.
> > >  Yet i am still getting an errors.  Any ideas
> why?
> > > 
> > > Also when I try to deploy the servlet Class with
> > the
> > > line       Object ref  =
> > >
> jndiContext.lookup("java:comp/env/ejb/Interest");
> > > it also doesn't work.
> > > 
> > > I meanwhile have jboss.xml,  jboss-web.xml, and
> > > web.xml
> > > .  These all seem to be configured properly.  I
> > > would
> > > assume they would be anyways since I downloaded
> > them
> > > from the Jboss web site.
> > > 
> > > 
> > > Finally.  Which file must go into the
> > Jboss/deploy/
> > > directory for the servlet to run.  Interest.EAR,
> > > Interest.WAR, or Interest.JAR.  Do all of them
> go
> > > into
> > > the deploy directory?
> > > 
> > >
> __________________________________________________
> > > Do You Yahoo!?
> > > Make international calls for as low as
> $.04/minute
> > > with Yahoo! Messenger
> > > http://phonecard.yahoo.com/
> > > 
> > > _______________________________________________
> > > JBoss-user mailing list
> > > [EMAIL PROTECTED]
> > >
> >
>
http://lists.sourceforge.net/lists/listinfo/jboss-user
> > > 
> > 
> > 
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

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

Reply via email to