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
