tomcat4.1.24 + apache_2.0.47 + connectors-jk2.0.2

2003-10-17 Thread Srinivasu Gandu
Hi,
I have a win2k machine trying to configure these. I am
able to work apache and tomcat individually. When I
try to connect these using jk2 getting into problems..
I have followed the John Turner win2k instructions.
When ever I add 
-- LoadModule jk_module modules/mod_jk2-2.0.43.dll
-- Include C:/Tomcat4.1/conf/auto/mod_jk.conf
in httpd.con of apache and try to test using
c:\apache\apache2\bin\apache.exe -t 

I am getting 
Syntax error on line 174 of
C:/Apache/Apache2/conf/httpd.conf:
Can't locate API module structure `jk_module' in file
C:/Apache/Apache2/modules/
mod_jk2-2.0.43.dll: No error

I can't find the same versions of apache and jk connector.
Any solution will be appreciated.

Thanks - srini.

 

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



Configuring tomcat for 2 ip addresses

2003-10-09 Thread Srinivasu Gandu
Hi All,

I am using tomcat 4.1.24 Standalone on linux red hat machine. J2EE
architecture. I have two applications to launch in same machine tomcat (one
instance).
How do I do the following configuration in server.xml?
Example:
1) I have people hitting using www.domain1.com (IP Address:000.00.00.0) to
the folder1(app1) under tomcat web-apps directory.

2) I have people hitting using www.domain2.com (IP Address:111.11.11.1) to
the folder2(app2) under tomcat web-apps directory.

I have done configuring Context tag. I am unable to configuring the Host
tag by looking at the documentation. Kind of newbi to the set up.
I need help in configuring Host tag. Any code example will help, will
appreciate it.

Thanks - Srini.

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



Using 2 IP Address in one tomcat

2003-10-08 Thread Srinivasu Gandu
Hi All,

I am using tomcat 4.1.24 Standalone on linux red hat machine. J2EE
architecture. I have two applications to launch in same machine tomcat (one
instance).
How do I do the following configuration in server.xml?
Example:
1) I have people hitting using www.domain1.com (IP Address:000.00.00.0) to
the folder1 under tomcat web-apps directory.

2) I have people hitting using www.domain2.com (IP Address:111.11.11.1) to
the folder2 under tomcat web-apps directory.

I wanted to put IP Address instead of www.domain1.com in the host tag. How
can I achieve above in tomcat, any code help would be appreciated.

Thanks - Srini.

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



RE: Virtual Host Alias Problem

2003-10-08 Thread Srinivasu Gandu
Hi Lawence,
Would you provide sample host tag or server.xml. I have similar issue here.
I have 2 domains have different ip addresses with in the same tomcat to set
up. will appreciate.
Thanks - srini.

-Original Message-
From: Lawence [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2003 11:41 AM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: Virtual Host Alias Problem


Yes, I just duplicated the host entry and changed the second one from domain
to ip. Now both work fine. There should be a better solution but I am happly
with it.

Wade Chandler [EMAIL PROTECTED] wrote:Yeah the ipaddress tag.
Also, you'll notice that you'll
have to create extra Host tags if you use anything other than www. As
the prefix for your domain name. I have yet to figure that one out.
But, am planning on looking at the Alias source code. Has anyone else
had this type of a problem with Alias? Lawence you may need to make
another host tag for this. This is the type of issue I have been
having. I have a domain wade.internal.net and rh1.internal.net and
these have to be setup as separate Host names to work. You may
experience this with your ip addresses as well. Also, if you are using
a different ip address and port other than than the standard one you
will need to make sure you have your connectors setup correctly for
that. Like 192.168.1.10:80 and 192.168.1.11:80 if on the same box needs
to connectors one for each IP. Since they are the same port.

-Original Message-
From: Lawence [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 06, 2003 12:20 PM
To: Tomcat Users List
Subject: Virtual Host Alias Problem


Dear all,

I have a problem setting the name value for the virtual host entry.
Suppose my domain name is my.company.net and the ip is 233.333.333.33.
If I set the virtual host as my domain name, I can not access the
website using the ip. And if I set it as the IP, I can not visit the
website via the domain name. 

I am wondering if there is a way for me to set alias for the virtual
host.

Thanks in advance.


-
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search



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



-
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search

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



session timeout and login.jsp

2003-08-21 Thread Srinivasu Gandu
I have a tomcat 4.1.24 server session time of 20min, when the session time
expires I want to show the login.jsp page with the error message. How do I
do that in my web.xml file.Will appreciate any help!

Thanks - srini.

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



Error Page Status Code

2003-07-21 Thread Srinivasu Gandu
Hi all,
When we define error page in the web.xml, 
All I am getting is stack trace in the error.jsp because I am passing the
exception and printing that in the error.jsp
How do we know which error-code is causing the problem or how do we display
the error code in the error.jsp page??? 


error-page 
  error-code500/error-code
  location/error/error.jsp/location
/error-page
error-page 
  error-code404/error-code
  location/error/error.jsp/location
/error-page   
error-page 
  exception-typejavax.servlet.ServletException/exception-type
  location/error/error.jsp/location
/error-page

Can some one shed some light??

Thanks - srini.

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



How do we get an erro.jsp when an exception occured in the test.jsp

2003-07-21 Thread Srinivasu Gandu
My web.xml contains error page tag as below
error-page 
  exception-typejava.lang.Exception/exception-type
  location/error/error.jsp/location
/error-page
-
Here is my test.jsp..
%@ page import=java.util.* %
%@ page import=java.io.* %
%@ page errorPage=/error/error.jsp %

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
html
head
%  
try{
//Do some logic to get the some variables..


%
/head

!-- display the variables --
tabletr
td width=38 align=left valign=topnbsp;/td
td width=10 align=left valign=topnbsp;/td
td width=946 align=left valign=top
class=heading%=test%/td
/tr/table   

%
}catch(Exception e){
e.printStackTrace();
}
%
/html



When an exception occures in the test.jsp how do I pass it to the
error.jsp I want to display this exception in the jsp what ever it might
be..
will appreciate the response! I am using tomcat4.1.24 on win98.
Thanks - srini.

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



RE: How do we get an erro.jsp when an exception occured in the te st.j sp

2003-07-21 Thread Srinivasu Gandu
It is working sudhir.. but the problem is error.jsp is displaying with in
the test.jsp (like a page include).. wiered haa..
Is there anything wrong with test.jsp try catch flow??

-Original Message-
From: Sudhir Movva [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2003 3:39 PM
To: 'Tomcat Users List'
Subject: RE: How do we get an erro.jsp when an exception occured in the
te st.j sp


Try using 
% response.sendRedirect(yourerrorpage.jsp); %
in catch block

-Sudhir.

-Original Message-
From: Srinivasu Gandu [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 21, 2003 3:27 PM
To: 'Tomcat Users List'
Subject: How do we get an erro.jsp when an exception occured in the test.j
sp

My web.xml contains error page tag as below
error-page 
  exception-typejava.lang.Exception/exception-type
  location/error/error.jsp/location
/error-page
-
Here is my test.jsp..
%@ page import=java.util.* %
%@ page import=java.io.* %
%@ page errorPage=/error/error.jsp %

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
html
head
%  
try{
//Do some logic to get the some variables..


%
/head

!-- display the variables --
tabletr
td width=38 align=left valign=topnbsp;/td
td width=10 align=left valign=topnbsp;/td
td width=946 align=left valign=top
class=heading%=test%/td
/tr/table   

%
}catch(Exception e){
e.printStackTrace();
}
%
/html



When an exception occures in the test.jsp how do I pass it to the
error.jsp I want to display this exception in the jsp what ever it might
be..
will appreciate the response! I am using tomcat4.1.24 on win98.
Thanks - srini.

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

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

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



RE: Error Page Status Code

2003-07-21 Thread Srinivasu Gandu
Request Attributes  Type
--  
javax.servlet.error.status_code java.lang.Integer
javax.servlet.error.message java.lang.String

I saw the above definations in the SRV9.9.1 would you some details how do I
implement these to solve my prob.

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2003 3:34 PM
To: Tomcat Users List
Subject: RE: Error Page Status Code



Howdy,
I guess you too are not a big fan of reading the spec? ;)  See
SRV.9.9.1.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Srinivasu Gandu [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2003 2:54 PM
To: 'Tomcat Users List'
Subject: Error Page Status Code

Hi all,
When we define error page in the web.xml,
All I am getting is stack trace in the error.jsp because I am passing
the
exception and printing that in the error.jsp
How do we know which error-code is causing the problem or how do we
display
the error code in the error.jsp page???


   error-page
  error-code500/error-code
  location/error/error.jsp/location
/error-page
error-page
  error-code404/error-code
  location/error/error.jsp/location
/error-page
error-page

exception-typejavax.servlet.ServletException/exception-type
  location/error/error.jsp/location
   /error-page

Can some one shed some light??

Thanks - srini.

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




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


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

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



RE: win2000 issue with tomcat4.1.24

2003-06-18 Thread Srinivasu Gandu
I will do tonight and let you know tomorrow.. how it went up

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 8:40 AM
To: Tomcat Users List
Subject: Re: win2000 issue with tomcat4.1.24



Then something is seriously screwed up.  As I said, I would start over, and 
when I say start over, I don't just mean with Tomcat, I mean everything: 
JDK, etc.  Make sure you don't have older JDK files or JAR files hanging 
around that might confuse Tomcat.

John

On Tue, 17 Jun 2003 18:35:10 -0400, Srinivasu Gandu 
[EMAIL PROTECTED] wrote:

 http://localhost:8080

 -Original Message-
 From: John Turner [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, June 17, 2003 4:15 PM
 To: Tomcat Users List
 Subject: Re: win2000 issue with tomcat4.1.24



 Sorry, you lost me.  I think Craig's response at the link I provided 
 should be enough to go on, basically he is saying to recompile all of 
 your classes.  That would have nothing to do with Tomcat.  While I have 
 never personally seen this error message, I have no problems spending 
 time trying a suggested solution if Craig is the one doing the 
 suggesting.

 Or are you saying that TOMCAT is throwing that error message?  With what 
 URL?

 John

 On Tue, 17 Jun 2003 16:02:24 -0400, Srinivasu Gandu 
 [EMAIL PROTECTED] wrote:

 Where do you want to delete all the .class files??, I don't have any
 application to run right now.. I have a fresh installation of 
 tomcat4.1.24

 Srini.
 -Original Message-
 From: John Turner [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, June 17, 2003 8:43 AM
 To: Tomcat Users List
 Subject: Re: win2000 issue with tomcat4.1.24



 Wow, cool error.  Never saw that before.

 It seems Craig McClanahan has, though:  http://www.mail- 
 archive.com/[EMAIL PROTECTED]/msg03255.html

 If that doesn't help, my suggestion is to reinstall and start over.

 John

 On Mon, 16 Jun 2003 22:38:20 -0400, Srini Gandu 
 [EMAIL PROTECTED] wrote:

 John, I did as you said.. I have a problem in starting the tomcat.. I 
 did
 try to start by using as service and try to start via command prompt 
 like
 you said.. in both cases I got the following error log and un able to 
 get
 the tomcat home page.
 I am putting the log file content below and also attaching this as
 attachment..
 Thanks - srini.

 2003-06-16 22:31:49 HostConfig[localhost]: Deploying configuration
 descriptor admin.xml
 2003-06-16 22:31:54 HostConfig[localhost]: Deploying configuration
 descriptor manager.xml
 2003-06-16 22:31:54 WebappLoader[/manager]: Deploying class 
 repositories to
 work directory C:\Tomcat4.1\work\Standalone\localhost\manager
 2003-06-16 22:31:54 ContextConfig[/manager]: Configured an 
 authenticator for
 method BASIC
 2003-06-16 22:31:54 StandardManager[/manager]: Seeding random number
 generator class java.security.SecureRandom
 2003-06-16 22:31:54 StandardManager[/manager]: Seeding of random number
 generator has been completed
 2003-06-16 22:31:54 StandardWrapper[/manager:default]: Loading 
 container
 servlet default
 2003-06-16 22:31:54 StandardWrapper[/manager:invoker]: Loading 
 container
 servlet invoker
 2003-06-16 22:31:54 StandardWrapper[/manager:jsp]: Marking servlet jsp 
 as
 unavailable
 2003-06-16 22:31:54 StandardContext[/manager]: Servlet /manager threw 
 load()
 exception
 javax.servlet.ServletException: Error instantiating servlet class
 org.apache.jasper.servlet.JspServlet
 at



org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91



 2)
 at 
 org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
 at



org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:



 3420)
 at

org.apache.catalina.core.StandardContext.start(StandardContext.java:3608)



 at



org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8



 21)
 at 
 org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
 at 
 org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
 at



org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.



 java:700)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at



sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39



 )
 at



sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl



 .java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at



org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:252) 








 at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:260)
 at org.apache.commons.digester.Rule.end(Rule.java:276)
 at org.apache.commons.digester.Digester.endElement(Digester.java:1064)
 at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown 
 Source)
 at



org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown



 Source)
 at



org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc



 her.dispatch

RE: win2000 issue with tomcat4.1.24

2003-06-17 Thread Srinivasu Gandu
http://localhost:8080

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 4:15 PM
To: Tomcat Users List
Subject: Re: win2000 issue with tomcat4.1.24



Sorry, you lost me.  I think Craig's response at the link I provided should 
be enough to go on, basically he is saying to recompile all of your 
classes.  That would have nothing to do with Tomcat.  While I have never 
personally seen this error message, I have no problems spending time trying 
a suggested solution if Craig is the one doing the suggesting.

Or are you saying that TOMCAT is throwing that error message?  With what 
URL?

John

On Tue, 17 Jun 2003 16:02:24 -0400, Srinivasu Gandu 
[EMAIL PROTECTED] wrote:

 Where do you want to delete all the .class files??, I don't have any
 application to run right now.. I have a fresh installation of 
 tomcat4.1.24

 Srini.
 -Original Message-
 From: John Turner [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, June 17, 2003 8:43 AM
 To: Tomcat Users List
 Subject: Re: win2000 issue with tomcat4.1.24



 Wow, cool error.  Never saw that before.

 It seems Craig McClanahan has, though:  http://www.mail- 
 archive.com/[EMAIL PROTECTED]/msg03255.html

 If that doesn't help, my suggestion is to reinstall and start over.

 John

 On Mon, 16 Jun 2003 22:38:20 -0400, Srini Gandu 
 [EMAIL PROTECTED] wrote:

 John, I did as you said.. I have a problem in starting the tomcat.. I 
 did
 try to start by using as service and try to start via command prompt 
 like
 you said.. in both cases I got the following error log and un able to 
 get
 the tomcat home page.
 I am putting the log file content below and also attaching this as
 attachment..
 Thanks - srini.

 2003-06-16 22:31:49 HostConfig[localhost]: Deploying configuration
 descriptor admin.xml
 2003-06-16 22:31:54 HostConfig[localhost]: Deploying configuration
 descriptor manager.xml
 2003-06-16 22:31:54 WebappLoader[/manager]: Deploying class repositories 
 to
 work directory C:\Tomcat4.1\work\Standalone\localhost\manager
 2003-06-16 22:31:54 ContextConfig[/manager]: Configured an authenticator 
 for
 method BASIC
 2003-06-16 22:31:54 StandardManager[/manager]: Seeding random number
 generator class java.security.SecureRandom
 2003-06-16 22:31:54 StandardManager[/manager]: Seeding of random number
 generator has been completed
 2003-06-16 22:31:54 StandardWrapper[/manager:default]: Loading container
 servlet default
 2003-06-16 22:31:54 StandardWrapper[/manager:invoker]: Loading container
 servlet invoker
 2003-06-16 22:31:54 StandardWrapper[/manager:jsp]: Marking servlet jsp 
 as
 unavailable
 2003-06-16 22:31:54 StandardContext[/manager]: Servlet /manager threw 
 load()
 exception
 javax.servlet.ServletException: Error instantiating servlet class
 org.apache.jasper.servlet.JspServlet
 at


org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91



 2)
 at 
 org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
 at


org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:



 3420)
 at
 org.apache.catalina.core.StandardContext.start(StandardContext.java:3608)



 at


org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8



 21)
 at 
 org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
 at


org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.



 java:700)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at


sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39



 )
 at


sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl



 .java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at


org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:252) 





 at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:260)
 at org.apache.commons.digester.Rule.end(Rule.java:276)
 at org.apache.commons.digester.Digester.endElement(Digester.java:1064)
 at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown 
 Source)
 at


org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown



 Source)
 at


org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc



 her.dispatch(Unknown Source)
 at

org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown



 Source)
 at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
 at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
 at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
 at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
 at org.apache.commons.digester.Digester.parse(Digester.java:1562)
 at


org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j



 ava:385)
 at org.apache.catalina.core.StandardHost.install(StandardHost.java:803

RE: win2000 issue with tomcat4.1.24

2003-06-17 Thread Srinivasu Gandu
)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39



 )
 at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl



 .java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)


 - Original Message -
 From: John Turner [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Friday, June 13, 2003 3:29 PM
 Subject: Re: win2000 issue with tomcat4.1.24



 Can you verify that Tomcat has even started?

 On Windows, open up a command window.  Execute
 CATALINA_HOME/bin/catalina.bat run.  This will leave the console 
 window
 open.  Make sure Tomcat does not exit prematurely when you try to start
 it.

 If it does exit prematurely, please tell us what the error message is, 
 and
 what are the contents of the log files in CATALINA_HOME/logs.

 If it does not exit prematurely and stays up, please tell us the 
 contents
 of the log files in CATALINA_HOME/logs when you make your request.

 John

 On Fri, 13 Jun 2003 14:51:17 -0400, Srinivasu Gandu
 [EMAIL PROTECTED] wrote:

  I am at accessing http://localhost:8080 , I don't have any other
  code...tomcat home page is not comming up??
 
  -Original Message-
  From: John Turner [mailto:[EMAIL PROTECTED]
  Sent: Friday, June 13, 2003 9:51 AM
  To: Tomcat Users List
  Subject: Re: win2000 issue with tomcat4.1.24
 
 
 
  Please be as SPECIFIC as possible.
 
  You get 503 EXACTLY when?  What servlet is unavailable?  What URL?  
 The
  Tomcat examples?  Or your own code?
 
  John
 
  On Fri, 13 Jun 2003 09:37:27 -0400, Srinivasu Gandu
  [EMAIL PROTECTED] wrote:
 
  I did the fresh installation of tomcat and java and I set the 
 following
  as
  enviroment variables..
  CATALINA_HOME=c:\Tomcat4.1
  JAVA_HOME = c:\j2sdk-1_4_1_01
 
  I have set the c:\j2sdk-1_4_1_01\bin in path. The above all I had
 before
  but I did it again in the new and fresh
  installation..
  I am getting 503 error.
 
  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.
 
  Thanks - srini.
 
 
  -Original Message-
  From: Tam, Michael [mailto:[EMAIL PROTECTED]
  Sent: Thursday, June 12, 2003 2:11 PM
  To: 'Tomcat Users List'
  Subject: RE: win2000 issue with tomcat4.1.24
 
 
  I would recommend you to uninstall the existing tomcat and re-install
 it
  again WITHOUT using the default path (i.e. try install it in
  C:\tomcat4.1.24
  for example).
  For the variables(JAVA_HOME and CATALINA_HOME), you should set them 
 as
  environment variables in your win2k not in your autoexec.bat (I'm not
  sure
  if it matters but I believe it is specified in the installation
 document
  or
  something).
 
  -Original Message-
  From: Srinivasu Gandu [mailto:[EMAIL PROTECTED]
  Sent: Thursday, June 12, 2003 10:27 AM
  To: 'Tomcat Users List'
  Subject: RE: win2000 issue with tomcat4.1.24
 
 
  Yes I did install in Program Files\Apache Group\Tomcat4.1
 
  But when I install in other directory I am getting HTTP Status 503 -
  Servlet
  jsp is currently unavailable.
 
  I hav't set the java home and catalina home for win98.
 
  1) installed j2sdk-1_4_1_01-windows-i586.exe in win98
  2) I just intall the jakarta-tomcat-4.1.24.exe in win98 and able to
  acces
  the http://localhost:8080
 
  Same thing I did for the win2000 machine but it is giving this
 problem..
  So then I added SET JAVA_HOME = C:\j2sdk-1_4_1_01 to autoexec.bat 
 same
  problem..
  I will try to add SET CATALINA_HOME = c:\Program Files\Apache
  Group\Tomcat4.1 but I can not delete the spaces between the program
  files
  right???
 
  Thanks - srini.
 
 
 
  -Original Message-
  From: Tam, Michael [mailto:[EMAIL PROTECTED]
  Sent: Thursday, June 12, 2003 12:32 PM
  To: 'Tomcat Users List'
  Subject: RE: win2000 issue with tomcat4.1.24
 
 
  Sorry I didn't follow this topic from the beginning but maybe you
 should
  post where EXACTLY you have tomcat and j2sdk installed and the EXACT
  values
  you have set for JAVA_HOME and CATALINA_HOME so we can see if 
 anything
  went
  wrong of those settings.
 
  In addition, if you install tomcat under Program Files\Apache
  Group\Tomcat
  4.1 path, you probably get into trouble with the spacing between 
 those
  directory names.
 
  Cheers,
  Michael
 
  -Original Message-
  From: Srinivasu Gandu [mailto:[EMAIL PROTECTED]
  Sent: Thursday, June 12, 2003 6:43 AM
  To: 'Tomcat Users List'
  Subject: RE: win2000 issue with tomcat4.1.24
 
 
  Yoav Shapira,
  Could you put me in right direction what is going wrong on this..
  1) I have a j2sdk-1_4_1_01\bin in my path
  2) I have a JAVA_HOME as j2sdk

RE: win2000 issue with tomcat4.1.24

2003-06-13 Thread Srinivasu Gandu
I did the fresh installation of tomcat and java and I set the following as
enviroment variables..
CATALINA_HOME=c:\Tomcat4.1
JAVA_HOME = c:\j2sdk-1_4_1_01

I have set the c:\j2sdk-1_4_1_01\bin in path. 
The above all I had before but I did it again in the new and fresh
installation..
I am getting 503 error.

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.

Thanks - srini.


-Original Message-
From: Tam, Michael [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 2:11 PM
To: 'Tomcat Users List'
Subject: RE: win2000 issue with tomcat4.1.24


I would recommend you to uninstall the existing tomcat and re-install it
again WITHOUT using the default path (i.e. try install it in C:\tomcat4.1.24
for example).
For the variables(JAVA_HOME and CATALINA_HOME), you should set them as
environment variables in your win2k not in your autoexec.bat (I'm not sure
if it matters but I believe it is specified in the installation document or
something).

-Original Message-
From: Srinivasu Gandu [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 10:27 AM
To: 'Tomcat Users List'
Subject: RE: win2000 issue with tomcat4.1.24


Yes I did install in Program Files\Apache Group\Tomcat4.1

But when I install in other directory I am getting HTTP Status 503 - Servlet
jsp is currently unavailable.

I hav't set the java home and catalina home for win98.

1) installed j2sdk-1_4_1_01-windows-i586.exe in win98
2) I just intall the jakarta-tomcat-4.1.24.exe in win98 and able to acces
the http://localhost:8080

Same thing I did for the win2000 machine but it is giving this problem..
So then I added SET JAVA_HOME = C:\j2sdk-1_4_1_01 to autoexec.bat same
problem..
I will try to add SET CATALINA_HOME = c:\Program Files\Apache
Group\Tomcat4.1 but I can not delete the spaces between the program files
right???

Thanks - srini.



-Original Message-
From: Tam, Michael [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 12:32 PM
To: 'Tomcat Users List'
Subject: RE: win2000 issue with tomcat4.1.24


Sorry I didn't follow this topic from the beginning but maybe you should
post where EXACTLY you have tomcat and j2sdk installed and the EXACT values
you have set for JAVA_HOME and CATALINA_HOME so we can see if anything went
wrong of those settings.

In addition, if you install tomcat under Program Files\Apache Group\Tomcat
4.1 path, you probably get into trouble with the spacing between those
directory names.

Cheers,
Michael

-Original Message-
From: Srinivasu Gandu [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 6:43 AM
To: 'Tomcat Users List'
Subject: RE: win2000 issue with tomcat4.1.24


Yoav Shapira,
Could you put me in right direction what is going wrong on this..
1) I have a j2sdk-1_4_1_01\bin in my path
2) I have a JAVA_HOME as j2sdk-1_4_1_01 in my autoexcec.bat file.
3) I have done this

The JVM specified in the registry doesn't seem to work for compiling JSPs.
You can edit the registry and change the value of
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Apache Tomcat
4.1/Parameters/JVM Library and make it point to the jvm.dll in
javainstallation\jre\bin\server\jvm.dll and that should take care of it.


But still no luck same compiler error??? what needs to be done?? let us know
if some body have success in this..
appreciate it.

Thanks - Srini.


-Original Message-
From: Srinivasu Gandu [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 11, 2003 10:27 AM
To: 'Tomcat Users List'
Subject: RE: win2000 issue with tomcat4.1.24


Hi all,
I am using win2000 and trying to install and run the tomcat4.1.24, I am
getting an parser exception as follows when I try to access the home page
http://localhost:8080. I also tried not to install as service, in that case
it
is unable to see the JSP parser servlet. Could some one help on this..

2003-06-10 23:01:47 StandardWrapperValve[jsp]: Servlet.service() for servlet
jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP
 
An error occurred at line: -1 in the jsp file: null
 
Generated servlet error:
[javac] Since fork is true, ignoring compiler setting.
[javac] Compiling 1 source file
[javac] Since fork is true, ignoring compiler setting.
[javac] C:\Program Files\Apache Group\Tomcat
4.1\work\Standalone\localhost\_\index_jsp.java:266:
handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext
cannot be applied to (java.lang.Throwable)
[javac]   if (pageContext != null)
pageContext.handlePageException(t);
[javac]   ^
[javac] 1 error
 
 
 
 at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle
r.java:130

RE: win2000 issue with tomcat4.1.24

2003-06-13 Thread Srinivasu Gandu
I am at accessing http://localhost:8080 , I don't have any other
code...tomcat home page is not comming up??

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 9:51 AM
To: Tomcat Users List
Subject: Re: win2000 issue with tomcat4.1.24



Please be as SPECIFIC as possible.

You get 503 EXACTLY when?  What servlet is unavailable?  What URL?  The 
Tomcat examples?  Or your own code?

John

On Fri, 13 Jun 2003 09:37:27 -0400, Srinivasu Gandu 
[EMAIL PROTECTED] wrote:

 I did the fresh installation of tomcat and java and I set the following 
 as
 enviroment variables..
 CATALINA_HOME=c:\Tomcat4.1
 JAVA_HOME = c:\j2sdk-1_4_1_01

 I have set the c:\j2sdk-1_4_1_01\bin in path. The above all I had before 
 but I did it again in the new and fresh
 installation..
 I am getting 503 error.

 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.

 Thanks - srini.


 -Original Message-
 From: Tam, Michael [mailto:[EMAIL PROTECTED]
 Sent: Thursday, June 12, 2003 2:11 PM
 To: 'Tomcat Users List'
 Subject: RE: win2000 issue with tomcat4.1.24


 I would recommend you to uninstall the existing tomcat and re-install it
 again WITHOUT using the default path (i.e. try install it in 
 C:\tomcat4.1.24
 for example).
 For the variables(JAVA_HOME and CATALINA_HOME), you should set them as
 environment variables in your win2k not in your autoexec.bat (I'm not 
 sure
 if it matters but I believe it is specified in the installation document 
 or
 something).

 -Original Message-
 From: Srinivasu Gandu [mailto:[EMAIL PROTECTED]
 Sent: Thursday, June 12, 2003 10:27 AM
 To: 'Tomcat Users List'
 Subject: RE: win2000 issue with tomcat4.1.24


 Yes I did install in Program Files\Apache Group\Tomcat4.1

 But when I install in other directory I am getting HTTP Status 503 - 
 Servlet
 jsp is currently unavailable.

 I hav't set the java home and catalina home for win98.

 1) installed j2sdk-1_4_1_01-windows-i586.exe in win98
 2) I just intall the jakarta-tomcat-4.1.24.exe in win98 and able to acces
 the http://localhost:8080

 Same thing I did for the win2000 machine but it is giving this problem..
 So then I added SET JAVA_HOME = C:\j2sdk-1_4_1_01 to autoexec.bat same
 problem..
 I will try to add SET CATALINA_HOME = c:\Program Files\Apache
 Group\Tomcat4.1 but I can not delete the spaces between the program files
 right???

 Thanks - srini.



 -Original Message-
 From: Tam, Michael [mailto:[EMAIL PROTECTED]
 Sent: Thursday, June 12, 2003 12:32 PM
 To: 'Tomcat Users List'
 Subject: RE: win2000 issue with tomcat4.1.24


 Sorry I didn't follow this topic from the beginning but maybe you should
 post where EXACTLY you have tomcat and j2sdk installed and the EXACT 
 values
 you have set for JAVA_HOME and CATALINA_HOME so we can see if anything 
 went
 wrong of those settings.

 In addition, if you install tomcat under Program Files\Apache 
 Group\Tomcat
 4.1 path, you probably get into trouble with the spacing between those
 directory names.

 Cheers,
 Michael

 -Original Message-
 From: Srinivasu Gandu [mailto:[EMAIL PROTECTED]
 Sent: Thursday, June 12, 2003 6:43 AM
 To: 'Tomcat Users List'
 Subject: RE: win2000 issue with tomcat4.1.24


 Yoav Shapira,
 Could you put me in right direction what is going wrong on this..
 1) I have a j2sdk-1_4_1_01\bin in my path
 2) I have a JAVA_HOME as j2sdk-1_4_1_01 in my autoexcec.bat file.
 3) I have done this
 
 The JVM specified in the registry doesn't seem to work for compiling 
 JSPs.
 You can edit the registry and change the value of
 HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Apache Tomcat
 4.1/Parameters/JVM Library and make it point to the jvm.dll in
 javainstallation\jre\bin\server\jvm.dll and that should take care of it.
 

 But still no luck same compiler error??? what needs to be done?? let us 
 know
 if some body have success in this..
 appreciate it.

 Thanks - Srini.


 -Original Message-
 From: Srinivasu Gandu [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 11, 2003 10:27 AM
 To: 'Tomcat Users List'
 Subject: RE: win2000 issue with tomcat4.1.24


 Hi all,
 I am using win2000 and trying to install and run the tomcat4.1.24, I am
 getting an parser exception as follows when I try to access the home page
 http://localhost:8080. I also tried not to install as service, in that 
 case
 it
 is unable to see the JSP parser servlet. Could some one help on this..

 2003-06-10 23:01:47 StandardWrapperValve[jsp]: Servlet.service() for 
 servlet
 jsp threw exception
 org.apache.jasper.JasperException: Unable to compile class for JSP
 An error occurred at line: -1 in the jsp file: null
 Generated servlet error:
 [javac] Since fork is true, ignoring

RE: win2000 issue with tomcat4.1.24

2003-06-12 Thread Srinivasu Gandu
Yoav Shapira,
Could you put me in right direction what is going wrong on this..
1) I have a j2sdk-1_4_1_01\bin in my path
2) I have a JAVA_HOME as j2sdk-1_4_1_01 in my autoexcec.bat file.
3) I have done this

The JVM specified in the registry doesn't seem to work for compiling JSPs.
You can edit the registry and change the value of
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Apache Tomcat
4.1/Parameters/JVM Library and make it point to the jvm.dll in
javainstallation\jre\bin\server\jvm.dll and that should take care of it.


But still no luck same compiler error??? what needs to be done?? let us know
if some body have success in this..
appreciate it.

Thanks - Srini.


-Original Message-
From: Srinivasu Gandu [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 11, 2003 10:27 AM
To: 'Tomcat Users List'
Subject: RE: win2000 issue with tomcat4.1.24


Hi all,
I am using win2000 and trying to install and run the tomcat4.1.24, I am
getting an parser exception as follows when I try to access the home page
http://localhost:8080. I also tried not to install as service, in that case
it
is unable to see the JSP parser servlet. Could some one help on this..

2003-06-10 23:01:47 StandardWrapperValve[jsp]: Servlet.service() for servlet
jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP
 
An error occurred at line: -1 in the jsp file: null
 
Generated servlet error:
[javac] Since fork is true, ignoring compiler setting.
[javac] Compiling 1 source file
[javac] Since fork is true, ignoring compiler setting.
[javac] C:\Program Files\Apache Group\Tomcat
4.1\work\Standalone\localhost\_\index_jsp.java:266:
handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext
cannot be applied to (java.lang.Throwable)
[javac]   if (pageContext != null)
pageContext.handlePageException(t);
[javac]   ^
[javac] 1 error
 
 
 
 at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle
r.java:130)
 at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:2
93)
 at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
 at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:4
73)
 at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:1
90)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
 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:256)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:171)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
 at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
 at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction

RE: win2000 issue with tomcat4.1.24

2003-06-12 Thread Srinivasu Gandu
Yes I did install in Program Files\Apache Group\Tomcat4.1

But when I install in other directory I am getting HTTP Status 503 - Servlet
jsp is currently unavailable.

I hav't set the java home and catalina home for win98.

1) installed j2sdk-1_4_1_01-windows-i586.exe in win98
2) I just intall the jakarta-tomcat-4.1.24.exe in win98 and able to acces
the http://localhost:8080

Same thing I did for the win2000 machine but it is giving this problem..
So then I added SET JAVA_HOME = C:\j2sdk-1_4_1_01 to autoexec.bat same
problem..
I will try to add SET CATALINA_HOME = c:\Program Files\Apache
Group\Tomcat4.1 but I can not delete the spaces between the program files
right???

Thanks - srini.



-Original Message-
From: Tam, Michael [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 12:32 PM
To: 'Tomcat Users List'
Subject: RE: win2000 issue with tomcat4.1.24


Sorry I didn't follow this topic from the beginning but maybe you should
post where EXACTLY you have tomcat and j2sdk installed and the EXACT values
you have set for JAVA_HOME and CATALINA_HOME so we can see if anything went
wrong of those settings.

In addition, if you install tomcat under Program Files\Apache Group\Tomcat
4.1 path, you probably get into trouble with the spacing between those
directory names.

Cheers,
Michael

-Original Message-
From: Srinivasu Gandu [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 6:43 AM
To: 'Tomcat Users List'
Subject: RE: win2000 issue with tomcat4.1.24


Yoav Shapira,
Could you put me in right direction what is going wrong on this..
1) I have a j2sdk-1_4_1_01\bin in my path
2) I have a JAVA_HOME as j2sdk-1_4_1_01 in my autoexcec.bat file.
3) I have done this

The JVM specified in the registry doesn't seem to work for compiling JSPs.
You can edit the registry and change the value of
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Apache Tomcat
4.1/Parameters/JVM Library and make it point to the jvm.dll in
javainstallation\jre\bin\server\jvm.dll and that should take care of it.


But still no luck same compiler error??? what needs to be done?? let us know
if some body have success in this..
appreciate it.

Thanks - Srini.


-Original Message-
From: Srinivasu Gandu [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 11, 2003 10:27 AM
To: 'Tomcat Users List'
Subject: RE: win2000 issue with tomcat4.1.24


Hi all,
I am using win2000 and trying to install and run the tomcat4.1.24, I am
getting an parser exception as follows when I try to access the home page
http://localhost:8080. I also tried not to install as service, in that case
it
is unable to see the JSP parser servlet. Could some one help on this..

2003-06-10 23:01:47 StandardWrapperValve[jsp]: Servlet.service() for servlet
jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP
 
An error occurred at line: -1 in the jsp file: null
 
Generated servlet error:
[javac] Since fork is true, ignoring compiler setting.
[javac] Compiling 1 source file
[javac] Since fork is true, ignoring compiler setting.
[javac] C:\Program Files\Apache Group\Tomcat
4.1\work\Standalone\localhost\_\index_jsp.java:266:
handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext
cannot be applied to (java.lang.Throwable)
[javac]   if (pageContext != null)
pageContext.handlePageException(t);
[javac]   ^
[javac] 1 error
 
 
 
 at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle
r.java:130)
 at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:2
93)
 at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
 at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:4
73)
 at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:1
90)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
 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:256)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
 at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480

RE: win2000 issue with tomcat4.1.24

2003-06-11 Thread Srinivasu Gandu
 


type Status report
 
message Servlet jsp is currently unavailable
 
description The requested service (Servlet jsp is currently unavailable) is
not currently available.
 






-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 12:41 PM
To: Tomcat Users List
Subject: RE: win2000 issue with tomcat4.1.24



Howdy,
Can you please restate the original exception?  If you have logs showing
the stack trace, post those as well...

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Srinivasu Gandu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 12:29 PM
To: 'Tomcat Users List'
Subject: RE: win2000 issue with tomcat4.1.24

I did not do anything new just installed both of them.

1) Installed j2sdk-1_4_1_01-windows-i586.exe (I can not get J2EE JDK)
right??

2) Installed jakarta-tomcat-4.1.24.exe

When I try to access the home page I am getting this exception..Please
some
one put us in right direction..

-Original Message-
From: Jason Bainbridge [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 10:26 AM
To: Tomcat Users List
Subject: Re: win2000 issue with tomcat4.1.24


On Tue, 10 Jun 2003 22:08, Srinivasu Gandu wrote:
 Thanks J, I use to have 4.1.18 I cleaned up and physically removed
all
the
 directories.. and installed this one newly... If that is the case
what
 needs to be done? appreciate it

4.1.18 shouldn't conflict at all, you haven't got a version of the J2EE
JDK
installed somewhere as opposed to the J2SE JDK?

--
Jason Bainbridge
http://jblinux.org

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

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




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


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

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



RE: win2000 issue with tomcat4.1.24 FAQ

2003-06-11 Thread Srinivasu Gandu
I have JAVA_HOME/bin to my PATH.

-Original Message-
From: Jason Bainbridge [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 11, 2003 10:54 AM
To: Tomcat Users List
Subject: Re: win2000 issue with tomcat4.1.24 FAQ


Hi,

Try adding JAVA_HOME/bin to your PATH, this has cropped up as a problem for 
some installs of 4.1.24...

Regards,
-- 
Jason Bainbridge
http://jblinux.org

On Wed, 11 Jun 2003 22:27, Srinivasu Gandu wrote:
 Hi all,
 I am using win2000 and trying to install and run the tomcat4.1.24, I am
 getting an parser exception as follows when I try to access the home page
 http://localhost:8080. I also tried not to install as service, in that
case
 it
 is unable to see the JSP parser servlet. Could some one help on this..

 2003-06-10 23:01:47 StandardWrapperValve[jsp]: Servlet.service() for
 servlet jsp threw exception
 org.apache.jasper.JasperException: Unable to compile class for JSP

 An error occurred at line: -1 in the jsp file: null

 Generated servlet error:
 [javac] Since fork is true, ignoring compiler setting.
 [javac] Compiling 1 source file
 [javac] Since fork is true, ignoring compiler setting.
 [javac] C:\Program Files\Apache Group\Tomcat
 4.1\work\Standalone\localhost\_\index_jsp.java:266:
 handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext
 cannot be applied to (java.lang.Throwable)
 [javac]   if (pageContext != null)
 pageContext.handlePageException(t);
 [javac]   ^
 [javac] 1 error



  at

org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandl
e r.java:130)
  at

org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:
2 93)
  at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353)
  at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
  at

org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:
4 73)
  at

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:
1 90)
  at
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at
 javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
n FilterChain.java:247)
  at

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

org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j
a va:256)
  at

org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k eNext(StandardPipeline.java:643)
  at

org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
  at

org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j
a va:191)
  at

org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k eNext(StandardPipeline.java:643)
  at

org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
  at
 org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
  at

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

org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k eNext(StandardPipeline.java:643)
  at

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

org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k eNext(StandardPipeline.java:641)
  at

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

org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k eNext(StandardPipeline.java:641)
  at

org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
  at

org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav
a

 :174)

  at

org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k eNext(StandardPipeline.java:643)
  at

org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
  at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
  at
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
  at

org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConn
e ction(Http11Protocol.java:392)
  at
 org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
  at

org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.ja
v a:619)
  at java.lang.Thread.run(Thread.java:536)


===
= =

 I also tried

win2000 issue with tomcat4.1.24

2003-06-10 Thread Srinivasu Gandu
Hi all,
I am using win2000 and trying to install and run the tomcat4.1.24, I am
getting an parser exception as follows when I try to access the home page
http://localhost:8080. I also tried not install as service, in that case it
is unable to see the JSP parser servlet. Could some one help on this..


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

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
[javac] Since fork is true, ignoring compiler setting.
[javac] Compiling 1 source file
[javac] Since fork is true, ignoring compiler setting.
[javac] C:\Program Files\Apache Group\Tomcat
4.1\work\Standalone\localhost\_\index_jsp.java:266:
handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext
cannot be applied to (java.lang.Throwable)
[javac]   if (pageContext != null)
pageContext.handlePageException(t);
[javac]   ^
[javac] 1 error


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



RE: win2000 issue with tomcat4.1.24

2003-06-10 Thread Srinivasu Gandu
Thanks J, I use to have 4.1.18 I cleaned up and physically removed all the
directories.. and installed this one newly... If that is the case what needs
to be done? appreciate it

-Original Message-
From: Jason Bainbridge [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 10:03 AM
To: Tomcat Users List
Subject: Re: win2000 issue with tomcat4.1.24


On Tue, 10 Jun 2003 21:42, Srinivasu Gandu wrote:
 handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext
 cannot be applied to (java.lang.Throwable)
     [javac]       if (pageContext != null)
 pageContext.handlePageException(t);

Have you installed any other servlet/jsp related classes in the past that 
might be sticking around in your classpath or where Tomcat would be able to 
see them eg. common/lib, server/lib. webapp/WEB-INF/lib or 
webapp/WEB-INF/classes?

It sounds like you have something from the JSP 1.1 spec's hanging around...

Regards,
-- 
Jason Bainbridge
http://jblinux.org

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

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



RE: win2000 issue with tomcat4.1.24

2003-06-10 Thread Srinivasu Gandu
I did not do anything new just installed both of them.

1) Installed j2sdk-1_4_1_01-windows-i586.exe (I can not get J2EE JDK)
right??

2) Installed jakarta-tomcat-4.1.24.exe

When I try to access the home page I am getting this exception..Please some
one put us in right direction..

-Original Message-
From: Jason Bainbridge [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 10:26 AM
To: Tomcat Users List
Subject: Re: win2000 issue with tomcat4.1.24


On Tue, 10 Jun 2003 22:08, Srinivasu Gandu wrote:
 Thanks J, I use to have 4.1.18 I cleaned up and physically removed all the
 directories.. and installed this one newly... If that is the case what
 needs to be done? appreciate it

4.1.18 shouldn't conflict at all, you haven't got a version of the J2EE JDK 
installed somewhere as opposed to the J2SE JDK?

-- 
Jason Bainbridge
http://jblinux.org

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

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



RE: win2000 issue with tomcat4.1.24

2003-06-10 Thread Srinivasu Gandu
This is my original post

Hi all,
I am using win2000 and trying to install and run the tomcat4.1.24, I am
getting an parser exception as follows when I try to access the home page
http://localhost:8080. I also tried not install as service, in that case it
is unable to see the JSP parser servlet. Could some one help on this..


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

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
[javac] Since fork is true, ignoring compiler setting.
[javac] Compiling 1 source file
[javac] Since fork is true, ignoring compiler setting.
[javac] C:\Program Files\Apache Group\Tomcat
4.1\work\Standalone\localhost\_\index_jsp.java:266:
handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext
cannot be applied to (java.lang.Throwable)
[javac]   if (pageContext != null)
pageContext.handlePageException(t);
[javac]   ^
[javac] 1 error


-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 12:41 PM
To: Tomcat Users List
Subject: RE: win2000 issue with tomcat4.1.24



Howdy,
Can you please restate the original exception?  If you have logs showing
the stack trace, post those as well...

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Srinivasu Gandu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 12:29 PM
To: 'Tomcat Users List'
Subject: RE: win2000 issue with tomcat4.1.24

I did not do anything new just installed both of them.

1) Installed j2sdk-1_4_1_01-windows-i586.exe (I can not get J2EE JDK)
right??

2) Installed jakarta-tomcat-4.1.24.exe

When I try to access the home page I am getting this exception..Please
some
one put us in right direction..

-Original Message-
From: Jason Bainbridge [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 10:26 AM
To: Tomcat Users List
Subject: Re: win2000 issue with tomcat4.1.24


On Tue, 10 Jun 2003 22:08, Srinivasu Gandu wrote:
 Thanks J, I use to have 4.1.18 I cleaned up and physically removed
all
the
 directories.. and installed this one newly... If that is the case
what
 needs to be done? appreciate it

4.1.18 shouldn't conflict at all, you haven't got a version of the J2EE
JDK
installed somewhere as opposed to the J2SE JDK?

--
Jason Bainbridge
http://jblinux.org

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

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




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


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

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



RE: win2000 issue with tomcat4.1.24

2003-06-10 Thread Srinivasu Gandu
When I install the same jakarta-tomcat-4.1.24.exe on win98, I did not do
anything. no JAVA_HOME OR PATH.
It is working great! Do I need to do set up in autoexec.bat file???


-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 12:45 PM
To: Tomcat Users List
Subject: Re: win2000 issue with tomcat4.1.24



As I said before (I think this is the thread), add JAVA_HOME/bin to your 
PATH.  Extend JAVA_HOME to its actual value before adding it to your PATH.  
So if JAVA_HOME = c:\j2sdk-1_4_01, then add c:\j2sdk-1_4_01\bin to your 
PATH.

John

On Tue, 10 Jun 2003 12:29:13 -0400, Srinivasu Gandu 
[EMAIL PROTECTED] wrote:

 I did not do anything new just installed both of them.

 1) Installed j2sdk-1_4_1_01-windows-i586.exe (I can not get J2EE JDK)
 right??

 2) Installed jakarta-tomcat-4.1.24.exe

 When I try to access the home page I am getting this exception..Please 
 some
 one put us in right direction..

 -Original Message-
 From: Jason Bainbridge [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, June 10, 2003 10:26 AM
 To: Tomcat Users List
 Subject: Re: win2000 issue with tomcat4.1.24


 On Tue, 10 Jun 2003 22:08, Srinivasu Gandu wrote:
 Thanks J, I use to have 4.1.18 I cleaned up and physically removed all 
 the
 directories.. and installed this one newly... If that is the case what
 needs to be done? appreciate it

 4.1.18 shouldn't conflict at all, you haven't got a version of the J2EE 
 JDK installed somewhere as opposed to the J2SE JDK?




-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

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

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



RE: Test Application with out restart Tomcat

2003-04-04 Thread Srinivasu Gandu
Thanks Michael it works!

-Original Message-
From: Tam, Michael [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 8:24 PM
To: 'Tomcat Users List'
Subject: RE: Test Application with out restart Tomcat


I believe there is an attribute call 'reloadable' for the context element
in server.xml.  Set it to true for your webapp context and the webapp's
servlets will reload when there are changes to them.

Regards,
Michael

-Original Message-
From: Srinivasu Gandu [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 4:37 PM
To: 'Tomcat Users List'
Subject: Test Application with out restart Tomcat


What needs to be done if don't have to restart the server every time we make
change to the servlet.

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

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

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



System.out.println()

2003-04-04 Thread Srinivasu Gandu
How do we use System.out.println(error + e) in the tomcat4.1.18 to see the
error messages in the console..

Thanks -Srini

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



RE: System.out.println()

2003-04-04 Thread Srinivasu Gandu
Sorry about the confusion in the question.. my intention is to find out the
variable values.. I think I got..

Thanks - srini.

-Original Message-
From: Reynir Hübner [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 11:31 AM
To: Tomcat Users List
Subject: RE: System.out.println()


Hi, 
I am not sure it's possible to understand the question but...
What kind of error are you refering to ??
If you mean exception you could do 

  exception.printStackTrace(System.out); 

To print out the stacktrace (the most usefull bit of an exception). 

But you can of course always print out the exception like this : 
 System.out.println(Exception  +  e.toString()); 
or
 System.out.println(Exception  +  e.getMessage()); 

On the other hand I recommend that you to check out log4j or some other
logging mechanism so you can direct your error logs into a file and control
what goes out there.
Hope it helps
-reynir



 -Original Message-
 From: Srinivasu Gandu [mailto:[EMAIL PROTECTED] 
 Sent: 4. apríl 2003 16:05
 To: 'Tomcat Users List'
 Subject: System.out.println()
 
 
 How do we use System.out.println(error + e) in the 
 tomcat4.1.18 to see the error messages in the console..
 
 Thanks -Srini
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

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

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



web.xml problem

2003-04-03 Thread Srinivasu Gandu
Hi, I am using tomcat4.1.18 and trying to run a web application.. I am
getting the error.
Missing application web.xml, using defaults only  when I looked into the
server log file.

Because of this I am unable to access my servlet (getting 404).. here is my
web.xml file

?xml version=1.0 encoding=ISO-8859-1?

!DOCTYPE web-app 
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;

web-app

display-nametest/display-name
  
servlet
  servlet-nameTestServlet/servlet-name  
  servlet-classTestServlet/servlet-class
/servlet


servlet-mapping
  servlet-nameTestServlet/servlet-name
  url-pattern/TestServlet/url-pattern
/servlet-mapping

/web-app


Would tell me what could be the wrong that I am doing..will appreciate.

Thanks - Srini.

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



RE: web.xml problem

2003-04-03 Thread Srinivasu Gandu
Paul,

I have the web.xml file in the WEB-INF directory..Is there anything problem
with my java I am using j2sdk1.4.1_01.. seems to be when I give javac on
the command line I am getting bad command.. java is giving list of
commands.. am I missing something in J2sdk

-Original Message-
From: paul niemandt [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 6:56 PM
To: Tomcat Users List
Subject: Re: web.xml problem


Hi Srini:

You most probably don't have the web.xml file in the correct directory.
It needs to be under the WEB-INF directory of your web application.

ie.

$CATALINA_HOME/webapps/YourWebApp/WEB-INF/web.xml

regards,
Paul

On Fri, 2003-04-04 at 00:47, Srinivasu Gandu wrote:
 Hi, I am using tomcat4.1.18 and trying to run a web application.. I am
 getting the error.
 Missing application web.xml, using defaults only  when I looked into the
 server log file.
 
 Because of this I am unable to access my servlet (getting 404).. here is
my
 web.xml file
 
 ?xml version=1.0 encoding=ISO-8859-1?
 
 !DOCTYPE web-app 
 PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
 http://java.sun.com/dtd/web-app_2_3.dtd;
 
 web-app
 
 display-nametest/display-name
   
 servlet
   servlet-nameTestServlet/servlet-name  
   servlet-classTestServlet/servlet-class
 /servlet
 
 
 servlet-mapping
   servlet-nameTestServlet/servlet-name
   url-pattern/TestServlet/url-pattern
 /servlet-mapping
 
 /web-app
 
 
 Would tell me what could be the wrong that I am doing..will appreciate.
 
 Thanks - Srini.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
-- 
paul niemandt [EMAIL PROTECTED]


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

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



RE: web.xml problem

2003-04-03 Thread Srinivasu Gandu
Hi Paul,
I am mistaken.. I gave the lower case (Web-inf) directory... it's my fault..
because I am in win98.. confuse in the directory letters.. thanks for the
help .. Srini.

-Original Message-
From: paul niemandt [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 6:56 PM
To: Tomcat Users List
Subject: Re: web.xml problem


Hi Srini:

You most probably don't have the web.xml file in the correct directory.
It needs to be under the WEB-INF directory of your web application.

ie.

$CATALINA_HOME/webapps/YourWebApp/WEB-INF/web.xml

regards,
Paul

On Fri, 2003-04-04 at 00:47, Srinivasu Gandu wrote:
 Hi, I am using tomcat4.1.18 and trying to run a web application.. I am
 getting the error.
 Missing application web.xml, using defaults only  when I looked into the
 server log file.
 
 Because of this I am unable to access my servlet (getting 404).. here is
my
 web.xml file
 
 ?xml version=1.0 encoding=ISO-8859-1?
 
 !DOCTYPE web-app 
 PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
 http://java.sun.com/dtd/web-app_2_3.dtd;
 
 web-app
 
 display-nametest/display-name
   
 servlet
   servlet-nameTestServlet/servlet-name  
   servlet-classTestServlet/servlet-class
 /servlet
 
 
 servlet-mapping
   servlet-nameTestServlet/servlet-name
   url-pattern/TestServlet/url-pattern
 /servlet-mapping
 
 /web-app
 
 
 Would tell me what could be the wrong that I am doing..will appreciate.
 
 Thanks - Srini.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
-- 
paul niemandt [EMAIL PROTECTED]


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

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



Test Application with out restart Tomcat

2003-04-03 Thread Srinivasu Gandu
What needs to be done if don't have to restart the server every time we make
change to the servlet.

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