----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Hello all..
I have a problem running a GNUJSP page which has bean tag in it with
APACHE JServ...
Following is my configuration.
Windows NT 4.0 with SP4
Apache 1.3.6
Apache JServ 1.0
GNUJSP 1.0.0
JDK 1.2
JSDK 2.0
I have successfully installed JServ and GNUJSP and also able to run
example 'hello.jsp' file without any problem..
But i've copied and pasted one example from sun's site which uses a
small BEAN program.. so, when i am trying to run that program i am
getting following error:
-------------------------------------------------------------------------------------------------------
Error compiling source file: file:d:/program files/apache
group/apache/htdocs/hellouser.jsp
builtin-javac -classpath D:\Program Files\Apache Group\Apache
JServ\ApacheJServ.jar;d:\jsdk2.0\lib\jsdk.jar;D:\gnujsp\gnujsp-1.0.0\lib\servlet-2.0-plus.jar;D:\gnujsp\gnujsp-1.0.0\lib\gnujsp10.jar;D:\jdk1.2\lib\tools.jar
-d D:\Program Files\Apache Group\Apache JServ\jsp_java -deprecation
-encoding Cp1252 D:\Program Files\Apache Group\Apache
JServ\jsp_java\jsp___2fhellouser_2ejsp.java
D:\Program Files\Apache Group\Apache
JServ\jsp_java\jsp___2fhellouser_2ejsp.java:6: Class hello.NameHandler
not found in import.
import hello.NameHandler;
^
1 error
-------------------------------------------------------------------------------------------------------
as u can see.. i've document root as: d:/program files/apache
group/apache/htdocs/ and hellouser.jsp is the file which uses bean in
it.
NameHandler is the bean code file which resides under
d:/program files/apache group/apache jserv/servlets/beans/hello
so, at first point i thought it could be because of the above directory
is not in the classpath.. so, i've tried to put that direcotry as
'wrapper.classpath' attribute in 'jserve.properties' file and in
'zone.properties' file with 'repositories' attribute... and after that
when i tried to run the page again.. i got following errors:
------------------------------------------------------------------------------------------------------
Exception: javax.servlet.ServletException: java.lang.RuntimeException:
GNUJSP: internal error, could not find resourceImpl
javax.servlet.ServletException: java.lang.RuntimeException: GNUJSP:
internal error, could not find resourceImpl
at org.gjt.jsp.JspServlet.doInclude(JspServlet.java:1181)
at
org.gjt.jsp.jsdk20.RequestDispatcherImpl.include(RequestDispatcherImpl.java:73)
at org.gjt.jsp.PageContextImpl.include(PageContextImpl.java:355)
at
jsp___2fhellouser_2ejsp._jspService(jsp___2fhellouser_2ejsp.java:65)
at org.gjt.jsp.HttpJspPageImpl.service(HttpJspPageImpl.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.gjt.jsp.JspServlet$Page.process(Compiled Code)
at org.gjt.jsp.JspServlet.service(JspServlet.java:284)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at
org.apache.jserv.JServConnection.processRequest(JServConnection.java)
at org.apache.jserv.JServConnection.run(JServConnection.java)
at java.lang.Thread.run(Thread.java:479)
GNUJSP: Please report to Administrator. No JSP error page registered.
-------------------------------------------------------------------------------------------------------
In both cases, example jsp pages run fine... but not the page wich use
java beans..
Can anybody give me some idea or suggestions on this????
Thanks a lot in advance...
Niral
--
Regards...
****************************************************
Niral K. Trivedi, Planet Access Network Inc.
Email : [EMAIL PROTECTED]
Phone : 973-691-4704 x134
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]