Jakarta-Tomcat. 3.2 + Apache1.3.14:Any help?
Hi! Is there anyone who must have used or still using Jakarta-Tomcat 3.2 and Apache1.3.14 who has encountered Problems like this? 2002-11-13 06:04:01 - ContextManager: Adding context Ctx( /MyApp ) 2002-11-13 06:04:01 - PoolTcpConnector: Starting HttpConnectionHandler on 8188 2002-11-13 06:04:01 - PoolTcpConnector: Starting Ajp12ConnectionHandler on 8189 2002-11-13 06:05:09 - Ctx( /MyApp ): 404 R( /MyApp + /myJsp.jsp + null) JSP file not found My application (MyApp) is stored under {TOMCAT-HOME}/webapps /MyApp, and I did store my Jsp-files here (i.e. under {TOMCAT-HOME}/webapps/ MyApp/myJsp.jsp ). These are my configurations web.xml: web-app servlet servlet-nameSomeName/servlet-name servlet-classMyPackage.Control/servlet-class /servlet servlet-mapping servlet-nameSomeName/servlet-name url-pattern/Something/url-pattern /servlet-mapping /web-app server.xml: (...) Connector className=org.apache.tomcat.service.PoolTcpConnector Parameter name=handler value=org.apache.tomcat.service.http.HttpConnectionHandler/ Parameter name=port value=8188/ /Connector (...) Context path=/MyApp docBase=webapps/MyApp debug=0 reloadable=true/ (...) Then I did start tomcat (with startup.sh), but when I try the following in my servlet (MyPackage.Control): public void doGet (HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { (...) getServletContext ().getRequestDispatcher (/myJsp.jsp).forward (req, res); (...) } with (http://myHost:8188/MyApp/Something? and run (start) it, then I get the following error messages in tomcat.log: My servlet MyPackage.Control delivers as virtual-path: /MyApp/Something and as my real path: {Tomca-Home}/webapps/MyApp/MyApp/Something why can't it find the Jsp-file? what I am doing wrong? why does it deliver this two times .../MyApp/MyApp/...? how should the URL be written? http://...? so that it could find my myJsp.jsp ? Does the error message has anything to do with apache or is it tomcat specifically? I would be glad to get some remarks. Mbe ### End -- +++ GMX - Mail, Messaging more http://www.gmx.net +++ NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Please help:JSP File not found!
E-MAIL LESEN An: [EMAIL PROTECTED] Von: [EMAIL PROTECTED] Kopie: Betreff: Tomcat says : JSP file not found Datum: Mon, 18 Nov 2002 16:52:51 +0100 (MET) -- Posteingang -- 124 von 358 -- Verschieben nach ... Posteingang Entwürfe Gesendet Unerwünscht Gelöscht Hi! Presently, I am using Jakarta-Tomcat vers. 3.2 with port:8188 (see server.xml downwords). My application (MyApp) is stored under {TOMCAT-HOME}/webapps /MyApp, and I did store my Jsp-files here (i.e. under {TOMCAT-HOME}/webapps/ MyApp/myJsp.jsp ). This is the configuration of my web.xml: web-app servlet servlet-nameSomeName/servlet-name servlet-classMyPackage.Control/servlet-class /servlet servlet-mapping servlet-nameSomeName/servlet-name url-pattern/Something/url-pattern /servlet-mapping /web-app and under server.xml, I do have this configuration: (...) Connector className=org.apache.tomcat.service.PoolTcpConnector Parameter name=handler value=org.apache.tomcat.service.http.HttpConnectionHandler/ Parameter name=port value=8188/ /Connector (...) Context path=/MyApp docBase=webapps/MyApp debug=0 reloadable=true/ (...) Then I did start tomcat (with startup.sh), but when I try the following in my servlet (MyPackage.Control): public void doGet (HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { (...) getServletContext ().getRequestDispatcher (/myJsp.jsp).forward (req, res); (...) } with (http://myHost:8188/MyApp/Something? and run (start) it, then I get the following error messages in tomcat.log: 2002-11-13 06:04:01 - ContextManager: Adding context Ctx( /MyApp ) 2002-11-13 06:04:01 - PoolTcpConnector: Starting HttpConnectionHandler on 8188 2002-11-13 06:04:01 - PoolTcpConnector: Starting Ajp12ConnectionHandler on 8189 2002-11-13 06:05:09 - Ctx( /MyApp ): 404 R( /MyApp + /myJsp.jsp + null) JSP file not found My servlet MyPackage.Control delivers as virtual-path: /MyApp/Something and as my real path: {Tomca-Home}/webapps/MyApp/MyApp/Something why can't it find the Jsp-file? what I am doing wrong? why does it deliver this two times .../MyApp/MyApp/...? how should the URL be written? http://...? so that it could find my myJsp.jsp ? I am also using apache1.3.14 , does the error message has anything to do with it? Every help will be appreciated. Thanks in anticipation! Mbe ### End -- +++ GMX - Mail, Messaging more http://www.gmx.net +++ NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Ctx( /... ): 404 R( /... + /....jsp + null)J SP file not found
Hi! Presently, I am using Jakarta-Tomcat vers. 3.2 with port:8188 (see server.xml downwords). My application (MyApp) is stored under {TOMCAT-HOME}/webapps /MyApp, and I did store my Jsp-files here (i.e. under {TOMCAT-HOME}/webapps/ MyApp/myJsp.jsp ). This is the configuration of my web.xml: web-app servlet servlet-nameSomeName/servlet-name servlet-classMyPackage.Control/servlet-class /servlet servlet-mapping servlet-nameSomeName/servlet-name url-pattern/Something/url-pattern /servlet-mapping /web-app and under server.xml, I do have this configuration: (...) Connector className=org.apache.tomcat.service.PoolTcpConnector Parameter name=handler value=org.apache.tomcat.service.http.HttpConnectionHandler/ Parameter name=port value=8188/ /Connector (...) Context path=/MyApp docBase=webapps/MyApp debug=0 reloadable=true/ (...) Then I did start tomcat (with startup.sh), but when I try the following in my servlet (MyPackage.Control): public void doGet (HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { (...) getServletContext ().getRequestDispatcher (/myJsp.jsp).forward (req, res); (...) } with (http://myHost:8188/MyApp/Something? and run (start) it, then I get the following error messages in tomcat.log: 2002-11-13 06:04:01 - ContextManager: Adding context Ctx( /MyApp ) 2002-11-13 06:04:01 - PoolTcpConnector: Starting HttpConnectionHandler on 8188 2002-11-13 06:04:01 - PoolTcpConnector: Starting Ajp12ConnectionHandler on 8189 2002-11-13 06:05:09 - Ctx( /MyApp ): 404 R( /MyApp + /myJsp.jsp + null) JSP file not found My servlet MyPackage.Control delivers as virtual-path: /MyApp/Something and as my real path: {Tomca-Home}/webapps/MyApp/MyApp/Something why can't it find the Jsp-file? what I am doing wrong? why does it deliver this two times .../MyApp/MyApp/...? how should the URL be written? http://...? so that it could find my myJsp.jsp ? I am also using apache1.3.14 , does the error message has anything to do with it? Any suggestion would be appreciated. Thanks in advance! Mbe ### End -- +++ GMX - Mail, Messaging more http://www.gmx.net +++ NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat says : JSP file not found
Hi! Presently, I am using Jakarta-Tomcat vers. 3.2 with port:8188 (see server.xml downwords). My application (MyApp) is stored under {TOMCAT-HOME}/webapps /MyApp, and I did store my Jsp-files here (i.e. under {TOMCAT-HOME}/webapps/ MyApp/myJsp.jsp ). This is the configuration of my web.xml: web-app servlet servlet-nameSomeName/servlet-name servlet-classMyPackage.Control/servlet-class /servlet servlet-mapping servlet-nameSomeName/servlet-name url-pattern/Something/url-pattern /servlet-mapping /web-app and under server.xml, I do have this configuration: (...) Connector className=org.apache.tomcat.service.PoolTcpConnector Parameter name=handler value=org.apache.tomcat.service.http.HttpConnectionHandler/ Parameter name=port value=8188/ /Connector (...) Context path=/MyApp docBase=webapps/MyApp debug=0 reloadable=true/ (...) Then I did start tomcat (with startup.sh), but when I try the following in my servlet (MyPackage.Control): public void doGet (HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { (...) getServletContext ().getRequestDispatcher (/myJsp.jsp).forward (req, res); (...) } with (http://myHost:8188/MyApp/Something? and run (start) it, then I get the following error messages in tomcat.log: 2002-11-13 06:04:01 - ContextManager: Adding context Ctx( /MyApp ) 2002-11-13 06:04:01 - PoolTcpConnector: Starting HttpConnectionHandler on 8188 2002-11-13 06:04:01 - PoolTcpConnector: Starting Ajp12ConnectionHandler on 8189 2002-11-13 06:05:09 - Ctx( /MyApp ): 404 R( /MyApp + /myJsp.jsp + null) JSP file not found My servlet MyPackage.Control delivers as virtual-path: /MyApp/Something and as my real path: {Tomca-Home}/webapps/MyApp/MyApp/Something why can't it find the Jsp-file? what I am doing wrong? why does it deliver this two times .../MyApp/MyApp/...? how should the URL be written? http://...? so that it could find my myJsp.jsp ? I am also using apache1.3.14 , does the error message has anything to do with it? Every help will be appreciated. Thanks in anticipation! Mbe ### End -- +++ GMX - Mail, Messaging more http://www.gmx.net +++ NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat3.2. error
Hi! I know that these versions of tomcat and apace1.3.14 are fast no more in use by many. I would be very glad if anyone had had this problem and could remember how he/she did fix it. Here is the error message: 2002-11-13 06:04:01 - ContextManager: Adding context Ctx( /resource ) 2002-11-13 06:04:01 - PoolTcpConnector: Starting HttpConnectionHandler on 8188 2002-11-13 06:04:01 - PoolTcpConnector: Starting Ajp12ConnectionHandler on 8189 2002-11-13 06:05:09 - Ctx( /resource ): 404 R( /resource + /borrow.jsp + null) JSP file not found in my server.xml, I did configure the following : Connector className=org.apache.tomcat.service.PoolTcpConnector parameter name=handler value=org.apache.tomcat.service.http.HttpConnectionHandler/ parameter name=port value=8188/ Connector className=org.apache.tomcat.service.PoolTcpConnector parameter name=handler value=org.apache.tomcat.service.connector.Ajp12ConnectionHandler/ parameter name=port value=8189/ Context path=/resource docBase=webapps/resource debug=0 reloadable=true/ Is there anything I am doing wrong? Thanks, Mbe -- +++ GMX - Mail, Messaging more http://www.gmx.net +++ NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen! -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Subject: NoClassDefFoundError ServletException
Hi! My name is Mbe, I did download jakarta-tomcat-4.0.b3 and jakarta-servletapi-4.0.b3 and installed them in my nt4.0 workstation. I also installed jdk1.3 and set the variables and values as follows Variable: Values TOMCAT_HOME D:\jakarta-tomcat-4.0-b3 JAVA_SERVLETAPI D:\jakarta-servletapi-4.0-b3 JAVA_HOME D:\jdk1.3 I was able to start tomcat with startup, but trying to run java programm Dabe (with execute) at localhost:8080/examples/jsp I get the following errors Exception Report: javax.servlet.ServletException: sun/tools/javac/Main at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:439) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) and Root Cause: java.lang.NoClassDefFoundError: sun/tools/javac/Main at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:128) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:268) Am I missing anything? How do I go about it? Thanks in anticipation! Mbe