Hi,

I'm testing EJB using the beta version of J2EE Reference Implementation on
Solaris 2.6 and JDK 1.2.2.  I've created the EJB and the Servlet, html jar
file also. But when I try to access the html file thru the j2ee's webserver,
it gives me the following error :


Error: 500

Internal Servlet Error:

java.lang.IllegalArgumentException: Given path
NameContextRoot/printname.html is not absolute to the base of this context.
        at
org.apache.tomcat.core.ServletContextFacade.getResource(ServletContextFacade
.java:163)
        at
org.apache.tomcat.core.DefaultServlet.doGet(DefaultServlet.java:55)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:701)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:826)
        at
org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrapper.java:5
43)
        at
org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java:4
63)
        at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:310)
        at org.apache.tomcat.core.Context.handleRequest(Context.java:551)
        at
org.apache.tomcat.server.ConnectionHandler.run(ConnectionHandler.java:147)

I even tried the Adder example, followed all the steps exactly as told. Even
the Adder example gives the same error as above.

Other simple examples are working just fine. I even created some of my own
EJB's and tried. They're also working fine.

I tried lot of things, but to no avail. Can you please help me out. This is
very urgent. Thanx in advance.

-Sajid.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to