Re: tomcat 4.01 and win2000 server-cant get it to work

2002-01-16 Thread Chetna Bhatt

Hi,
Try this link mabe some configuration problem:
http://www.onjava.com/pub/a/onjava/2001/03/29/tomcat.html

regards
chetna

Martin Sujkowski wrote:

 Hello,

 I just installed tomcat 4.01 on a windows 2000 server. I followed all the
 steps very diligently and still failed to get it to work. I went through all
 the troubleshooting steps and none of them fixed my problem. The problem is
 that I get a 401 error when try to open
 http://localhost/examples/jsp/index.html  .The troubleshooting section
 doesn't list this kind of error. Does anyone have any ideas?
 Thanks for any help.

 Sincerely

 Martin

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Integrating TC 4.0 with Apache 1.3.12

2002-01-14 Thread Chetna Bhatt

Hi,
Thanks for the help.but there is still one problem..suppose if i have a
html form and in the action tag i give the following:
http://191.1.24.15/chetna/Test.jsp

then it says that page cannot be found 404 error. I hope that i have done the
necessary changes mentioned down.

Thanks in advance
regards

[EMAIL PROTECTED] wrote:


 PLATFORM: WINDOWS NT SERVER

 have gone thru documents and was able to configure Apache and TC with
 mod_webapp.so
 I hope the configuration whcih i did was correct:
 I installed the mod_weabb.so in the modules directory of Apache, copied
 the libapr.dll under Apache directory and in the httpd.cong file the
 following lines were added:

 LoadModule webapp_module modules/mod_webapp.so
 AddModule mod_webapp.c
 WebAppConnection warpConnection warp 191.1.24.15:8080
 WebAppDeploy examples warpConnection /examples/
 WebAppDeploy chetna warpConnection /chetna/
 WebAppInfo /webapp-info

 Just wanted to confirm about the port no. mentioned on 3rd line...is it
 the port no. of TC or should i mention the port no. of th Apache server
 which is 80.

 To my knowledge the forwardHost:port parameter of WebAppConnection tell
 mod_webapp where to send requests. The above port no. should match the port
 no. in the Connector entry in server.xml (this is the port no. on which
 the connector listens for incoming connections). So check that the port no.
 in the httpd.conf and the port no. in the server.xml match.

 was also confused about  calling .jsp files from html files residing in
 htdocs folder of Apache. do i have to give the
 http://191.1.24.15:8080/chetna/Test.jsp or just
 http://191.1.24.15/chetna/Test.jsp

 First, I don't think you can call .jsp files from html files. :-)
 Next if you have created the Context entry for chetna in the server.xml
 which points correctly then you shouldn't have a problem using either of
 the above URLs. The first URL will send the request directly to Tomcat
 while the second sends it to Apache which will then forward it to Tomcat.

 Can anyone help me? Th documents are not very helpful.
 Thanks in advance
 Regards
 Chetna



URGENT HELP REQUIRED WITH JSP AND BEAN FILES ON

2002-01-13 Thread Chetna Bhatt

Hi,
I'm using tomcat4 on windows NT platform. The classpath is set as
follows:
JAVA_HOME: D:\jdk1.3
CATILINA_HOME: E:\jakarta-tomcat-4.0.1

I'm having trouble accessing class files stored in the web-inf/classes
folder.
In the server.xml file, i've configured a context path to a folder which

is under webapps.
Context path=/chetna docBase=chetna debug=0 reloadable=true /

And the directory structure is:
webapps/chetna/web-inf/classes/
and the file name is Test.java

and the Jsp resides in :
webapps/chetna/Login.jsp

in the Login.jsp file i'm trying to instantiating the Test bean and
calling its methods.

It gives me the following error::

Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error



type : Exception report

message: Internal Server Error

description: The server encountered an internal error (Internal Server
Error) that prevented it from fulfilling this request.

exception :

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 4 in the jsp file: /checkLoginTest.jsp

Generated servlet error:
E:\jakarta-tomcat-4.0.1\work\localhost\chetna\checkLoginTest$jsp.java:90:

Class org.apache.jsp.Test not found.
Test monitor1 = null;
^


An error occurred at line: 4 in the jsp file: /checkLoginTest.jsp

Generated servlet error:
E:\jakarta-tomcat-4.0.1\work\localhost\chetna\checkLoginTest$jsp.java:93:

Class org.apache.jsp.Test not found.
monitor1= (Test)
   ^


An error occurred at line: 4 in the jsp file: /checkLoginTest.jsp

Generated servlet error:
E:\jakarta-tomcat-4.0.1\work\localhost\chetna\checkLoginTest$jsp.java:98:

Class org.apache.jsp.Test not found.
monitor1 = (Test)
java.beans.Beans.instantiate(this.getClass().getClassLoader(), Test);
^
3 errors

 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:284)
 at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546)
 at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177)

 at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189)

 at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)

 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)

 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)

 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)

 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)

 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)

 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)

 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

 at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)

 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)

 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)

 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)

 at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)

 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)

 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)

 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)

 at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)

 at java.lang.Thread.run(Thread.java:484)








Is there any other configuration required for accessing the  file from
the classes folder. I had also 

Re: URGENT HELP REQUIRED WITH JSP AND BEAN FILES ON

2002-01-13 Thread Chetna Bhatt

hi,
Yes i did try that ...it gave me the error that it could not find the package

Matt Egyhazy wrote:

 did you try to import the class?

 matt
 - Original Message -
 From: Chetna Bhatt [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Sunday, January 13, 2002 11:42 AM
 Subject: URGENT HELP REQUIRED WITH JSP AND BEAN FILES ON

  Hi,
  I'm using tomcat4 on windows NT platform. The classpath is set as
  follows:
  JAVA_HOME: D:\jdk1.3
  CATILINA_HOME: E:\jakarta-tomcat-4.0.1
 
  I'm having trouble accessing class files stored in the web-inf/classes
  folder.
  In the server.xml file, i've configured a context path to a folder which
 
  is under webapps.
  Context path=/chetna docBase=chetna debug=0 reloadable=true /
 
  And the directory structure is:
  webapps/chetna/web-inf/classes/
  and the file name is Test.java
 
  and the Jsp resides in :
  webapps/chetna/Login.jsp
 
  in the Login.jsp file i'm trying to instantiating the Test bean and
  calling its methods.
 
  It gives me the following error::
 
  Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error
 
  --
 --
 
  type : Exception report
 
  message: Internal Server Error
 
  description: The server encountered an internal error (Internal Server
  Error) that prevented it from fulfilling this request.
 
  exception :
 
  org.apache.jasper.JasperException: Unable to compile class for JSP
 
  An error occurred at line: 4 in the jsp file: /checkLoginTest.jsp
 
  Generated servlet error:
  E:\jakarta-tomcat-4.0.1\work\localhost\chetna\checkLoginTest$jsp.java:90:
 
  Class org.apache.jsp.Test not found.
  Test monitor1 = null;
  ^
 
 
  An error occurred at line: 4 in the jsp file: /checkLoginTest.jsp
 
  Generated servlet error:
  E:\jakarta-tomcat-4.0.1\work\localhost\chetna\checkLoginTest$jsp.java:93:
 
  Class org.apache.jsp.Test not found.
  monitor1= (Test)
 ^
 
 
  An error occurred at line: 4 in the jsp file: /checkLoginTest.jsp
 
  Generated servlet error:
  E:\jakarta-tomcat-4.0.1\work\localhost\chetna\checkLoginTest$jsp.java:98:
 
  Class org.apache.jsp.Test not found.
  monitor1 = (Test)
  java.beans.Beans.instantiate(this.getClass().getClassLoader(), Test);
  ^
  3 errors
 
   at org.apache.jasper.compiler.Compiler.compile(Compiler.java:284)
   at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546)
   at
 
 org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
 rvlet.java:177)
 
   at
 
 org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
 va:189)
 
   at
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
 
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at
 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
 FilterChain.java:247)
 
   at
 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
 ain.java:193)
 
   at
 
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
 va:243)
 
   at
 
 org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
 66)
 
   at
 
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 
   at
  org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
   at
 
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
 va:201)
 
   at
 
 org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
 66)
 
   at
 
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 
   at
  org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
   at
  org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
 
   at
 
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
 )
 
   at
 
 org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
 66)
 
   at
 
 org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
 java:170)
 
   at
 
 org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
 64)
 
   at
 
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
 )
 
   at
 
 org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
 64)
 
   at
  org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
 
   at
 
 org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
 64)
 
   at
 
 org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 
   at
  org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
   at
 
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
 :163

Re: URGENT HELP REQUIRED WITH JSP AND BEAN FILES ON

2002-01-13 Thread Chetna Bhatt

Hi,
i've tried what u've suggested...but still if i tryto access thru examples
directory it gives me the following error:

Generated servlet error:
C:\jakarta-tomcat-4.0.1\work\localhost\examples\Test$jsp.java:90: Class
org.apache.jsp.Test not found.
Test monitor1 = null;
^
Thanks for the help in advance
regards
chetna




 [EMAIL PROTECTED] wrote:

 Hi,

 I don't know if it matters, but the web-inf directory is not all caps


 i.e. WEB-INF

 If that doesn't work, try putting your jsp and class in the examples
 directory provided with the distribution.
 You should be able to access it then.

 If not, you have other problems.

 --Peter

 On Sunday, January 13, 2002, at 09:15 AM, Chetna Bhatt wrote:

  hi,
  Yes i did try that ...it gave me the error that it could not find the
  package
 
  Matt Egyhazy wrote:
 
  did you try to import the class?
 
  matt
  - Original Message -
  From: Chetna Bhatt [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Sunday, January 13, 2002 11:42 AM
  Subject: URGENT HELP REQUIRED WITH JSP AND BEAN FILES ON
 
  Hi,
  I'm using tomcat4 on windows NT platform. The classpath is set as
  follows:
  JAVA_HOME: D:\jdk1.3
  CATILINA_HOME: E:\jakarta-tomcat-4.0.1
 
  I'm having trouble accessing class files stored in the web-inf/classes
  folder.
  In the server.xml file, i've configured a context path to a folder
  which
 
  is under webapps.
  Context path=/chetna docBase=chetna debug=0
  reloadable=true /
 
  And the directory structure is:
  webapps/chetna/web-inf/classes/
  and the file name is Test.java
 
  and the Jsp resides in :
  webapps/chetna/Login.jsp
 
  in the Login.jsp file i'm trying to instantiating the Test bean and
  calling its methods.
 
  It gives me the following error::
 
  Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error
 
  --
  --
 
  type : Exception report
 
  message: Internal Server Error
 
  description: The server encountered an internal error (Internal Server
  Error) that prevented it from fulfilling this request.
 
  exception :
 
  org.apache.jasper.JasperException: Unable to compile class for JSP
 
  An error occurred at line: 4 in the jsp file: /checkLoginTest.jsp
 
  Generated servlet error:
  E:\jakarta-
  tomcat-4.0.1\work\localhost\chetna\checkLoginTest$jsp.java:90:
 
  Class org.apache.jsp.Test not found.
  Test monitor1 = null;
  ^
 
 
  An error occurred at line: 4 in the jsp file: /checkLoginTest.jsp
 
  Generated servlet error:
  E:\jakarta-
  tomcat-4.0.1\work\localhost\chetna\checkLoginTest$jsp.java:93:
 
  Class org.apache.jsp.Test not found.
  monitor1= (Test)
 ^
 
 
  An error occurred at line: 4 in the jsp file: /checkLoginTest.jsp
 
  Generated servlet error:
  E:\jakarta-
  tomcat-4.0.1\work\localhost\chetna\checkLoginTest$jsp.java:98:
 
  Class org.apache.jsp.Test not found.
  monitor1 = (Test)
  java.beans.Beans.instantiate(this.getClass().getClassLoader(),
  Test);
  ^
  3 errors
 
   at org.apache.jasper.compiler.Compiler.compile(Compiler.java:284)
   at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546)
   at
 
  org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary
  (JspSe
  rvlet.java:177)
 
   at
 
  org.apache.jasper.servlet.JspServlet$JspServletWrapper.service
  (JspServlet.ja
  va:189)
 
   at
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
 
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at
 
  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
  (Application
  FilterChain.java:247)
 
   at
 
  org.apache.catalina.core.ApplicationFilterChain.doFilter
  (ApplicationFilterCh
  ain.java:193)
 
   at
 
  org.apache.catalina.core.StandardWrapperValve.invoke
  (StandardWrapperValve.ja
  va:243)
 
   at
 
  org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
  5
  66)
 
   at
 
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 
   at
  org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
   at
 
  org.apache.catalina.core.StandardContextValve.invoke
  (StandardContextValve.ja
  va:201)
 
   at
 
  org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
  5
  66)
 
   at
 
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 
   at
  org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
   at
  org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
 
   at
 
  org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
  164
  )
 
   at
 
  org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:
  5

TOMCAT 4.0 and Ant 1.4?

2002-01-13 Thread Chetna Bhatt

hi,
was just wondering if tomcat4.0 require installation of Ant 1.4?

Thanks for the tip in advance.
regards
chetna


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: URGENT HELP REQUIRED WITH JSP AND BEAN FILES ON

2002-01-13 Thread Chetna Bhatt

H Amine AMAR ,
have tried to keep in package com.mypackage
gives the following error:
javax.servlet.ServletException: class com.mypackage.Test : 
java.lang.IllegalAccessException:
com.mypackage.Test

Could anyone throw some light on the error

Thanks in advance
regards
chetna


Amine AMAR wrote:

 Hi,

 Are your classes in a package or not?
 If they are not then you cannot access them because TC will look for them in his 
default package

 Amine
 - Original Message -
 From: Chetna Bhatt [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Sunday, January 13, 2002 4:42 PM
 Subject: URGENT HELP REQUIRED WITH JSP AND BEAN FILES ON

  Hi,
  I'm using tomcat4 on windows NT platform. The classpath is set as
  follows:
  JAVA_HOME: D:\jdk1.3
  CATILINA_HOME: E:\jakarta-tomcat-4.0.1
 
  I'm having trouble accessing class files stored in the web-inf/classes
  folder.
  In the server.xml file, i've configured a context path to a folder which
 
  is under webapps.
  Context path=/chetna docBase=chetna debug=0 reloadable=true /
 
  And the directory structure is:
  webapps/chetna/web-inf/classes/
  and the file name is Test.java
 
  and the Jsp resides in :
  webapps/chetna/Login.jsp
 
  in the Login.jsp file i'm trying to instantiating the Test bean and
  calling its methods.
 
  It gives me the following error::
 
  Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error
 
  
 
  type : Exception report
 
  message: Internal Server Error
 
  description: The server encountered an internal error (Internal Server
  Error) that prevented it from fulfilling this request.
 
  exception :
 
  org.apache.jasper.JasperException: Unable to compile class for JSP
 
  An error occurred at line: 4 in the jsp file: /checkLoginTest.jsp
 
  Generated servlet error:
  E:\jakarta-tomcat-4.0.1\work\localhost\chetna\checkLoginTest$jsp.java:90:
 
  Class org.apache.jsp.Test not found.
  Test monitor1 = null;
  ^
 
 
  An error occurred at line: 4 in the jsp file: /checkLoginTest.jsp
 
  Generated servlet error:
  E:\jakarta-tomcat-4.0.1\work\localhost\chetna\checkLoginTest$jsp.java:93:
 
  Class org.apache.jsp.Test not found.
  monitor1= (Test)
 ^
 
 
  An error occurred at line: 4 in the jsp file: /checkLoginTest.jsp
 
  Generated servlet error:
  E:\jakarta-tomcat-4.0.1\work\localhost\chetna\checkLoginTest$jsp.java:98:
 
  Class org.apache.jsp.Test not found.
  monitor1 = (Test)
  java.beans.Beans.instantiate(this.getClass().getClassLoader(), Test);
  ^
  3 errors
 
   at org.apache.jasper.compiler.Compiler.compile(Compiler.java:284)
   at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546)
   at
  
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177)
 
   at
  org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189)
 
   at
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
 
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at
  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
 
   at
  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
 
   at
  org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
 
   at
  org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
 
   at
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 
   at
  org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
   at
  org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
 
   at
  org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
 
   at
  org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 
   at
  org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
   at
  org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
 
   at
  org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
 
   at
  org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
 
   at
  
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
 
   at
  org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
 
   at
  org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
 
   at
  org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
 
   at
  org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
 
   at
  org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564

Integrating TC 4.0 with Apache 1.3.12

2002-01-13 Thread Chetna Bhatt

hi,
PLATFORM: WINDOWS NT SERVER

have gone thru documents and was able to configure Apache and TC with
mod_webapp.so
I hope the configuration whcih i did was correct:
I installed the mod_weabb.so in the modules directory of Apache, copied
the libapr.dll under Apache directory and in the httpd.cong file the
following lines were added:

LoadModule webapp_module modules/mod_webapp.so
AddModule mod_webapp.c
WebAppConnection warpConnection warp 191.1.24.15:8080
WebAppDeploy examples warpConnection /examples/
WebAppDeploy chetna warpConnection /chetna/
WebAppInfo /webapp-info

Just wanted to confirm about the port no. mentioned on 3rd line...is it
the port no. of TC or should i mention the port no. of th Apache server
which is 80.

was also confused about  calling .jsp files from html files residing in
htdocs folder of Apache. do i have to give the
http://191.1.24.15:8080/chetna/Test.jsp or just
http://191.1.24.15/chetna/Test.jsp

Can anyone help me? Th documents are not very helpful.
Thanks in advance
Regards
Chetna



Re: ERROR: 500

2000-11-21 Thread Chetna Bhatt

Hi,
First of all, is your tomcat running properly?Which version of Jre r u using and
also which is your web server?
The Jre version should be 1.3 and also the jdk path should be set as well as the
classpath for the jdk.
the CLASSPATH should be:
.;C:\jdk1.2.1\lib\tools.jar;
 and the Path should be set to:
C:\jdk1.2.1\bin;C:\Program Files\JavaSoft\Jre\1.3\bin;
And if u r using Apache as the webserver then Tomcat should be started first and
the Apache Server.
Also there is a ApacheModuleJServ.dll file that has to be downloaded and kept in
the modules folder of  Apache.

Let me know if this works.

Regards
CB



Chris Huisman wrote:

 I am having a problem running JSP with tomcat.  When I attempt to run my own
 JSPs, and when I attempt to run the example ones I get the following error:
 Error: 500
   Location: /examples/jsp/error/err.jsp
   sun/tools/javac/Main

 My classpath is set to:

 CLASSPATH=.;C:\Symphony\jakarta-tomcat\lib\servlet.jar;C:\Symphony\jakarta-t
 omcat\lib\jasper.jar

 I am running tomcat 3.1 on NT4.0

 Any help is greatly appreciated.

 thanks,
 chris.