Issue on Tomcat 4.0.4 configuration

2002-07-10 Thread Telesis Support - Bangalore


Dear all,

After Installing tomcat, i got the index page(Welcome) =
but,couldn't get the example pages.
I have pasted the error messages  of this process..
 I dont know what might be the reason. Expecting ur valuable reply..
Thanks..
bye,
Murugan

The url is http://192.168.77.102:8080/examples/jsp/num/numguess.jsp


Apache Tomcat/4.0.4 - 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=20

javax.servlet.ServletException: Servlet.init() for servlet jsp threw =
exception
at =
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java=
:946)
at =
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:65=
5)
at =
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve=
.java:214)
at =
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
a:566)
at =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:47=
2)
at =
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at =
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve=
.java:190)
at =
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
a:566)
at =
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorB=
ase.java:475)
at =
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
a:564)
at =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:47=
2)
at =
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at =
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347=
)
at =
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:=
180)
at =
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
a:566)
at =
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVal=
ve.java:170)
at =
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
a:564)
at =
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:=
170)
at =
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
a:564)
at =
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)=

at =
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
a:564)
at =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:47=
2)
at =
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at =
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.j=
ava:174)
at =
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
a:566)
at =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:47=
2)
at =
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at =
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.ja=
va:1027)
at =
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1=
125)
at java.lang.Thread.run(Thread.java:484)


root cause=20

java.lang.NoSuchMethodError
at =
org.apache.jasper.compiler.TldLocationsCache.processJars(TldLocationsCach=
e.java:202)
at =
org.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:139)=

at =
org.apache.jasper.EmbededServletOptions.(EmbededServletOptions.java:350)
at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:265)
at =
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java=
:918)
at =
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:65=
5)
at =
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve=
.java:214)
at =
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
a:566)
at =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:47=
2)
at =
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at =
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve=
.java:190)
at =
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
a:566)
at =
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorB=
ase.java:475)
at =
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
a:564)
at =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:47=
2)
at =
org.apache.catalina.core.ContainerBase.invoke(ContainerBas

RE: Issue on Tomcat 4.0.4 configuration

2002-07-11 Thread Telesis Support - Bangalore

Hi,
  I have used jdk1.3  the values of JAVA_HOME=D:\jdk1.3
  and CATALINA_HOME=E:\jakarta-tomcat-4.0.4.

After installing tomcat 4.0.4, I got the welocome page, but the jsp pages in the 
examples not processing, but gives the error as mentioned before.

  

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 5:35 PM
To: 'Tomcat Users List'
Subject: RE: Issue on Tomcat 4.0.4 configuration



Hello -

First, the URL you posted isn't a routable IP address, so none of us can
access it (not that it would help).

Second, what are the values of the JAVA_HOME and CATALINA_HOME environment
variables?  What SDK do you have installed?

John Turner
[EMAIL PROTECTED]

-Original Message-
From: Telesis Support - Bangalore [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 1:50 AM
To: [EMAIL PROTECTED]
Subject: Issue on Tomcat 4.0.4 configuration



Dear all,

After Installing tomcat, i got the index page(Welcome) =
but,couldn't get the example pages.
I have pasted the error messages  of this process..
 I dont know what might be the reason. Expecting ur valuable reply..
Thanks..
bye,
Murugan

The url is http://192.168.77.102:8080/examples/jsp/num/numguess.jsp


Apache Tomcat/4.0.4 - 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=20

javax.servlet.ServletException: Servlet.init() for servlet jsp threw =
exception
at =
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java=
:946)
at =
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:65=
5)
at =
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve=
.java:214)
at =
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
a:566)
at =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:47=
2)
at =
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at =
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve=
.java:190)
at =
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
a:566)
at =
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorB=
ase.java:475)
at =
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
a:564)
at =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:47=
2)
at =
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at =
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347=
)
at =
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:=
180)
at =
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
a:566)
at =
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVal=
ve.java:170)
at =
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
a:564)
at =
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:=
170)
at =
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
a:564)
at =
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)=

at =
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
a:564)
at =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:47=
2)
at =
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at =
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.j=
ava:174)
at =
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
a:566)
at =
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:47=
2)
at =
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at =
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.ja=
va:1027)
at =
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1=
125)
at java.lang.Thread.run(Thread.java:484)


root cause=20

java.lang.NoSuchMethodError
at =
org.apache.jasper.compiler.TldLocationsCache.processJars(TldLocationsCach=
e.java:202)
at =
org.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:139)=

at =
org.apache.jasper.EmbededServletOptions.(EmbededServletOptions.java:350)
at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:265)
at =
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java=
:918)
at =
org.apache.catalina.core.StandardWrapper.allocate(Standa

RE: Issue on Tomcat 4.0.4 configuration

2002-07-11 Thread Telesis Support - Bangalore

ok thanks, i will try using jdk1.4 , but tomcat4.0 doc says, that release build will 
compatible with jdk1.2 onwards..

bye,
Murugan

-Original Message-
From: Nikolas A. Rathert [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 5:51 PM
To: Tomcat Users List
Subject: Re: Issue on Tomcat 4.0.4 configuration


As I wrote before: I think your jdk is wrong. try J2SDK that should work 
and works for me.

Cheers,

Nick

Telesis Support - Bangalore wrote:
> Hi,
>   I have used jdk1.3  the values of JAVA_HOME=D:\jdk1.3
>   and CATALINA_HOME=E:\jakarta-tomcat-4.0.4.
> 
> After installing tomcat 4.0.4, I got the welocome page, but the jsp pages in the 
>examples not processing, but gives the error as mentioned before.
> 
>   
> 
> -Original Message-
> From: Turner, John [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 11, 2002 5:35 PM
> To: 'Tomcat Users List'
> Subject: RE: Issue on Tomcat 4.0.4 configuration
> 
> 
> 
> Hello -
> 
> First, the URL you posted isn't a routable IP address, so none of us can
> access it (not that it would help).
> 
> Second, what are the values of the JAVA_HOME and CATALINA_HOME environment
> variables?  What SDK do you have installed?
> 
> John Turner
> [EMAIL PROTECTED]
> 
> -Original Message-
> From: Telesis Support - Bangalore [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 11, 2002 1:50 AM
> To: [EMAIL PROTECTED]
> Subject: Issue on Tomcat 4.0.4 configuration
> 
> 
> 
> Dear all,
> 
> After Installing tomcat, i got the index page(Welcome) =
> but,couldn't get the example pages.
> I have pasted the error messages  of this process..
>  I dont know what might be the reason. Expecting ur valuable reply..
> Thanks..
> bye,
> Murugan
> 
> The url is http://192.168.77.102:8080/examples/jsp/num/numguess.jsp
> 
> 
> Apache Tomcat/4.0.4 - 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=20
> 
> javax.servlet.ServletException: Servlet.init() for servlet jsp threw =
> exception
>   at =
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java=
> :946)
>   at =
> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:65=
> 5)
>   at =
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve=
> .java:214)
>   at =
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
> a:566)
>   at =
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:47=
> 2)
>   at =
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>   at =
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve=
> .java:190)
>   at =
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
> a:566)
>   at =
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorB=
> ase.java:475)
>   at =
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
> a:564)
>   at =
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:47=
> 2)
>   at =
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>   at =
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347=
> )
>   at =
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:=
> 180)
>   at =
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
> a:566)
>   at =
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVal=
> ve.java:170)
>   at =
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
> a:564)
>   at =
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:=
> 170)
>   at =
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
> a:564)
>   at =
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)=
> 
>   at =
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
> a:564)
>   at =
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:47=
> 2)
>   at =
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>   at =
> org.apache.catalina.core.StandardEngineValve.invoke(Stand

RE: Issue on Tomcat 4.0.4 configuration

2002-07-12 Thread Telesis Support - Bangalore

hi,

   I have installed jdk1.4 beta version and after configuration , i received the 
following error.
The thing is the servlets in the examples folder is going thro, only for jsps of 
examples folder, i got these sort of errors.

 Apache Tomcat/4.0.4 - HTTP Status 503 - Servlet jsp is currently unavailable



type Status report

message Servlet jsp is currently unavailable

description The requested service (Servlet jsp is currently unavailable) is not 
currently available

I am really, wondering, how it is happening, when i installed tomcat 3.3.1, i never 
faced these sort of issues.With default settings, the examples should work.

and i am sorry, its not possible for me to make the url accessible for you people.

The url is http://192.168.77.102:8080/examples/jsp/num/numguess.jsp
If any one faced these sort of issues, please let me know..

Thanks,
bye,
Murugan



-Original Message-
From: Nikolas A. Rathert [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 12:34 PM
To: Tomcat Users List
Subject: Re: Issue on Tomcat 4.0.4 configuration


You know that nobody is able to access your private network. By the way 
the address is some sort of generic and looks like mine: 
http://localhost:8080/examples/jsp/num/numguess.jsp
Did you configure the J2SDK in the right way?
Is the example webapp running?

I have the feeling that you have to give more information about that in 
order to get help.

Nick

Telesis Support - Bangalore wrote:
> Dear all,
> 
> After Installing tomcat, i got the index page(Welcome) =
> but,couldn't get the example pages.
> I have pasted the error messages  of this process..
>  I dont know what might be the reason. Expecting ur valuable reply..
> Thanks..
> bye,
> Murugan
> 
> The url is http://192.168.77.102:8080/examples/jsp/num/numguess.jsp
> 
> 
> Apache Tomcat/4.0.4 - 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=20
> 
> javax.servlet.ServletException: Servlet.init() for servlet jsp threw =
> exception
>   at =
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java=
> :946)
>   at =
> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:65=
> 5)
>   at =
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve=
> .java:214)
>   at =
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
> a:566)
>   at =
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:47=
> 2)
>   at =
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>   at =
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve=
> .java:190)
>   at =
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
> a:566)
>   at =
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorB=
> ase.java:475)
>   at =
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
> a:564)
>   at =
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:47=
> 2)
>   at =
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>   at =
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347=
> )
>   at =
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:=
> 180)
>   at =
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
> a:566)
>   at =
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVal=
> ve.java:170)
>   at =
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
> a:564)
>   at =
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:=
> 170)
>   at =
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
> a:564)
>   at =
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)=
> 
>   at =
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.jav=
> a:564)
>   at =
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:47=
> 2)
>   at =
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>   at =
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.j=
>

RE: getRemoteUser in Tomcat 3.3.1 does not work

2002-07-12 Thread Telesis Support - Bangalore

hi,
   whats the size of your mod_jk.dll.. Is it 120 kb..?..
   just confirm me..
bye,
Murugan

-Original Message-
From: Andreas Lehmann [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 3:13 PM
To: 'Tomcat Users List'
Subject: getRemoteUser in Tomcat 3.3.1 does not work


Hi,

I am trying to get the remote user under tomcat 3.3.1 and apache 1.3.12 on NT4 and 
Win2k.
The authentification is done by apache and the ntlm module.

If I try getRemoteUser() I only get a null value.
I tryed NTLM and BASIC authentification - nothing works.
I tryed various mod_jk.dll Versions - nothing helps.
I tryed Tomcat 3.2.3 - everything works fine.

Whats the problem with tomcat 3.3.1? Is this a bug or bevavior by design?

cu
Andreas





--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Newbie setup Q

2002-07-14 Thread Telesis Support - Bangalore

Hi,

   If u r using tomcat 3.3.1, then in server.xml, for context do the following for 
docbase.
 
it will work fine.
bye,
Murugan

-Original Message-
From: Josh [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 15, 2002 11:52 AM
To: [EMAIL PROTECTED]
Subject: Newbie setup Q


Hi, I'm new to tomcat, and having some troubles understanding the config
files. I'm just wondering how do I go about using something other that
%CATALINA_HOME%\webapps for the applications? I want to use something that's
in a differnt place (d:\clients\clientname\website), since we already have
our infrastructure set up that way for existing sites.

Any help or a pointer to some more detailed help on server.xml would be much
appreciated.

Cheers,
-Josh

"Rimmer, real dumplings, proper dumplings when they're properly
  cooked to perfection, proper dumplings, should not bounce."



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Newbie setup Q

2002-07-15 Thread Telesis Support - Bangalore

Hi,

  you use the following 

   
for tomcat 4 also it will work fine.
just now , i checked, with tomcat 4.0.4, its working fine, go ahead..
bye,
Murugan

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 15, 2002 2:52 PM
To: Tomcat Users List
Subject: RE: Newbie setup Q


more info: 

http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/server.html

Cheers,

Mehdi






"Telesis Support - Bangalore" <[EMAIL PROTECTED]>
15/07/2002 07:29
Please respond to "Tomcat Users List"

 
To: "Tomcat Users List" <[EMAIL PROTECTED]>, "Josh" 
<[EMAIL PROTECTED]>
cc: 
Subject:RE: Newbie setup Q


Hi,

   If u r using tomcat 3.3.1, then in server.xml, for context do the 
following for docbase.
 
it will work fine.
bye,
Murugan

-Original Message-
From: Josh [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 15, 2002 11:52 AM
To: [EMAIL PROTECTED]
Subject: Newbie setup Q


Hi, I'm new to tomcat, and having some troubles understanding the config
files. I'm just wondering how do I go about using something other that
%CATALINA_HOME%\webapps for the applications? I want to use something 
that's
in a differnt place (d:\clients\clientname\website), since we already have
our infrastructure set up that way for existing sites.

Any help or a pointer to some more detailed help on server.xml would be 
much
appreciated.

Cheers,
-Josh

"Rimmer, real dumplings, proper dumplings when they're properly
  cooked to perfection, proper dumplings, should not bounce."



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Help on Tomcat 4.0.4 configuration

2002-07-15 Thread Telesis Support - Bangalore

Hi all,

  Can anyone tell me the steps for tomcat 4.0.4 configuration.
  I have set the JAVA_HOME and CATALINA_HOME and start the tomcat.
  but, for tomcat 3.3.1, i had set classpath in tomcat.bat file..
  I have the doubt about classpath for tomcat 4.0.4. Can u please come with the steps 
for tomcat 4.0.4 configuration, including web.xml..
 there is also one more web.xml in conf folder, it seems, it is for global things.. 
little bit confusion.
Till now, i couldn't get any jsp page, even in the examples jsp page not working.
If anyone succeed in the tomcat 4.0.4 configuration, please let me know.. 

bye,
Murugan
 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Help on Tomcat 4.0.4 configuration

2002-07-15 Thread Telesis Support - Bangalore

Hi Nishant,

   Thanks for ur response..
  I have reinstalled tomcat 4.0.4 and set JAVA_HOME=D:\jdk1.3 and 
CATALINA_HOME=E:\jakarta-tomcat-4.0.4.
  I have got the index page,then when clicked the jspexamples links. It gives the 
following error
but, for servlets examples it is working, except the session example.
If you have any idea, please let me know..
bye,
Murugan
Apache Tomcat/4.0.4 - 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 

javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:946)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
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:190)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475)
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.StandardContext.invoke(StandardContext.java:2347)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
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:468)
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:174)
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:1027)
at 
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
at java.lang.Thread.run(Thread.java:484)


root cause 

java.lang.NoSuchMethodError
at 
org.apache.jasper.compiler.TldLocationsCache.processJars(TldLocationsCache.java:202)
at org.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:139)
at org.apache.jasper.EmbededServletOptions.(EmbededServletOptions.java:350)
at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:265)
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:918)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
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:190)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475)
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.StandardContext.invoke(StandardContext.java:2347)
  

RE: Help on Tomcat 4.0.4 configuration

2002-07-15 Thread Telesis Support - Bangalore

Hi Nishant,

   Its go thro after setting the CLASSPATH at catalina.bat.
but, it seems, some error in session, when applying my application..
i will check it and tell you..
bye,
Murugan



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Monday, July 15, 2002 7:22 PM
To: Tomcat Users List
Subject: Re: Help on Tomcat 4.0.4 configuration



Hello Murugan

I ahve installed tomcat 4.0.4 and it is running fine here:
All you need to set is JAVA_HOME and CATALINA_HOME.
You need not worry about any of the other files like setenv.bat or
startup.bat or catalina.bat.
Actually if you  want you can edit catalina.bat which contains you
classpath settings.
and add your own class path as:

set CLASSPATH=%CLASSPATH%;%CATALINA_HOME%\bin\bootstrap.jar; (place
your classes here);
Tomcat automatically sets the classpath depending on your autoexec.bat file
set classpath
when it is run for the first time. It also includes all the jar files from
%TOMCAT_HOME%\common\lib.

So you neednot worry about the classpath. Either edit autoexec.bat or edit
catalina.bat.
No need to do anything with web.xml
tell me in case of any probs.
--

Nishant Awasthi
Corporate Systems Database Intern
Progressive Insurance
Phone: 440-603-4055 (Work)
Cell: 330-328-0243 (Cell)



   
 
"Telesis   
 
Support - To: "Tomcat Users List"  
 
Bangalore"<[EMAIL PROTECTED]> 
 
Subject: Help  on Tomcat 4.0.4 
configuration  
   
 
07/15/2002 
 
08:03 AM   
 
Please respond 
 
to "Tomcat 
 
Users List"
 
   
 
   
 





Hi all,

  Can anyone tell me the steps for tomcat 4.0.4 configuration.
  I have set the JAVA_HOME and CATALINA_HOME and start the tomcat.
  but, for tomcat 3.3.1, i had set classpath in tomcat.bat file..
  I have the doubt about classpath for tomcat 4.0.4. Can u please come with
the steps for tomcat 4.0.4 configuration, including web.xml..
 there is also one more web.xml in conf folder, it seems, it is for global
things.. little bit confusion.
Till now, i couldn't get any jsp page, even in the examples jsp page not
working.
If anyone succeed in the tomcat 4.0.4 configuration, please let me know..

bye,
Murugan


--
To unsubscribe, e-mail:   <
mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <
mailto:[EMAIL PROTECTED]>





--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Help on Tomcat 4.0.4 configuration

2002-07-15 Thread Telesis Support - Bangalore

Hi Nishant,

   Now, every thing is going well, only problem is session.
  Actually, i have a login page, after getting the userid and passwd it calls a 
servlet for validation. this servlet after validation, sends the response page to a 
new jsp page using sendRedirect().
 here, in jsp page, i couldn't retreive the session variable, it gives null using 
session.getAttribute().
It seems tomcat 4.0.4 supports session. becoz, it is working on the same page, only 
thing is when we send to other page, it is not working.
If any body have an idea regarding session attribute please let me know..
Thanks in advance.

Murugan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Monday, July 15, 2002 7:22 PM
To: Tomcat Users List
Subject: Re: Help on Tomcat 4.0.4 configuration



Hello Murugan

I ahve installed tomcat 4.0.4 and it is running fine here:
All you need to set is JAVA_HOME and CATALINA_HOME.
You need not worry about any of the other files like setenv.bat or
startup.bat or catalina.bat.
Actually if you  want you can edit catalina.bat which contains you
classpath settings.
and add your own class path as:

set CLASSPATH=%CLASSPATH%;%CATALINA_HOME%\bin\bootstrap.jar; (place
your classes here);
Tomcat automatically sets the classpath depending on your autoexec.bat file
set classpath
when it is run for the first time. It also includes all the jar files from
%TOMCAT_HOME%\common\lib.

So you neednot worry about the classpath. Either edit autoexec.bat or edit
catalina.bat.
No need to do anything with web.xml
tell me in case of any probs.
--

Nishant Awasthi
Corporate Systems Database Intern
Progressive Insurance
Phone: 440-603-4055 (Work)
Cell: 330-328-0243 (Cell)



   
 
"Telesis   
 
Support - To: "Tomcat Users List"  
 
Bangalore"<[EMAIL PROTECTED]> 
 
Subject: Help  on Tomcat 4.0.4 
configuration  
   
 
07/15/2002 
 
08:03 AM   
 
Please respond 
 
to "Tomcat 
 
Users List"
 
   
 
   
 





Hi all,

  Can anyone tell me the steps for tomcat 4.0.4 configuration.
  I have set the JAVA_HOME and CATALINA_HOME and start the tomcat.
  but, for tomcat 3.3.1, i had set classpath in tomcat.bat file..
  I have the doubt about classpath for tomcat 4.0.4. Can u please come with
the steps for tomcat 4.0.4 configuration, including web.xml..
 there is also one more web.xml in conf folder, it seems, it is for global
things.. little bit confusion.
Till now, i couldn't get any jsp page, even in the examples jsp page not
working.
If anyone succeed in the tomcat 4.0.4 configuration, please let me know..

bye,
Murugan


--
To unsubscribe, e-mail:   <
mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <
mailto:[EMAIL PROTECTED]>





--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Check Session is valid & response.sendRedirect not working

2002-07-18 Thread Telesis Support - Bangalore

hi all,

  I have also encountered the same problem.
 I am using a login.jsp page, where the user has to enter his login id and password, 
then while submitting , it calls the servlet class to validate the login and then the 
servlet sends the response to a new jsp page.

  In the servlet, i am storing some data in the session. In each jsp, i am getting the 
session data and after validating, displaying the particular page, based on the data.
  but, when retreiving the session data, it gives null.
 i have used response.sendRedirect() to send the response to jsp and 
 session.getAttribute("xVar") to get the session data.

 and also i have tested using getRequestDispatcher() and application object, but still 
the issue exist.

  I had put this issue in JDC forum,jguru forum and javaranch forum, but i couldn't 
get proper response and answer.

   I am really wondering, of the fact, i am not getting answers from java , jsp 
guru's...
  Is it really, tomcat doesnot support session.
 The same code working fine using Resin 1.2.5. But when porting to tomcat, it gives 
such an issue.

Can any one please come forward , to conclude this issue. 


Thanks in advance,
Murugan

-Original Message-
From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 17, 2002 10:01 PM
To: Tomcat Users List
Subject: Check Session is valid & response.sendRedirect not working


Hi,
I am developing a webapplication with tomcat4.0.4 and
apache 2.0.39,
I want the user to login on first page, and then check
if the session is valid or not in each jsp, and
servlet.
So what is the best way to do it??
i am using jsp code code as below, but seems it that
response.sendRedirect("http://localhost/maps/pages/index.jsp";);
does not work.

AS400 value = (AS400)session.getAttribute("as400");
System.out.println("value of as400 change env " +
value);
if (value == null)
{
System.out.println("there is no as400 so
response.sednRedirect");
response.sendRedirect("http://localhost/maps/pages/index.jsp";);
System.out.println("i am not able to redirec");
}

this code works on JRun, Blazix, Websphere, Weblogic
so what is the problem
Ashish



__
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


--
To unsubscribe, e-mail:   
For additional commands, e-mail: