Re: win2000 issue with tomcat4.1.24

2003-06-18 Thread John Turner
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(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

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 John Turner
(ContainerBase.java:1196)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at 
org.apache.catalina.core.StandardService.start(StandardService.java:497)
at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
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)
- Root Cause -
java.lang.IncompatibleClassChangeError: Implementing class
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at
org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLoader 

.java:621)
at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader 

.java:958)
at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader 

.java:857)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:1590)
at java.lang.Class.getConstructor0(Class.java:1762)
at java.lang.Class.newInstance0(Class.java:276)
at java.lang.Class.newInstance(Class.java:259)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:90 

3)
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.install(StandardHostDeployer.j 

ava:307)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:559 

)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:401)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:358) 

at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor 

t.java:166)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at 
org.apache.catalina.core.StandardService.start(StandardService.java:497)
at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
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

RE: win2000 issue with tomcat4.1.24

2003-06-17 Thread Srinivasu Gandu
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/struts- 
[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)
 at

org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:442



 )
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:399)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
 at
 org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:358)



 at

org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor



 t.java:166)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
 at 
 org.apache.catalina.core.StandardService.start

Re: win2000 issue with tomcat4.1.24

2003-06-17 Thread John Turner
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)
at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:442



)
at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:399)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:358

Re: win2000 issue with tomcat4.1.24

2003-06-16 Thread Srini Gandu
)
 at org.apache.catalina.core.StandardService.start(StandardService.java:497)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
 at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
 at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
 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)
- Root Cause -
java.lang.IncompatibleClassChangeError: Implementing class
 at java.lang.ClassLoader.defineClass0(Native Method)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
 at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
 at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
 at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
 at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
 at
org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLoader
.java:621)
 at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader
.java:958)
 at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader
.java:857)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
 at java.lang.Class.getDeclaredConstructors0(Native Method)
 at java.lang.Class.privateGetDeclaredConstructors(Class.java:1590)
 at java.lang.Class.getConstructor0(Class.java:1762)
 at java.lang.Class.newInstance0(Class.java:276)
 at java.lang.Class.newInstance(Class.java:259)
 at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:90
3)
 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.install(StandardHostDeployer.j
ava:307)
 at org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
 at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:559
)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:401)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
 at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:358)
 at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
 at org.apache.catalina.core.StandardService.start(StandardService.java:497)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
 at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
 at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
 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

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 John Turner
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 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

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-13 Thread John Turner
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-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

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 Tam, Michael
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)
 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

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-12 Thread Tam, Michael
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)
 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

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 Jason Bainbridge
/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.
 

 This did not work either..I am getting the following 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.


 ---
- 



 -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]


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



Re: win2000 issue with tomcat4.1.24

2003-06-11 Thread John Turner
 care of it.


This did not work either..I am getting the following 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.

-- 

--



-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]



--
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]


Re: win2000 issue with tomcat4.1.24

2003-06-11 Thread Jason Bainbridge
On Wed, 11 Jun 2003 23:37, John Turner wrote:
 Is this a glitch?  This has to be the fourth time in two days this exact
 message has been posted to the list.

Woah dejavu... What did you just say?

*couldn't resist*

-- 
Jason Bainbridge
http://jblinux.org

-
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

Re: win2000 issue with tomcat4.1.24

2003-06-10 Thread Jason Bainbridge
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]



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 John Turner
Add JAVA_HOME/bin to your PATH (extend JAVA_HOME to its actual value before 
putting it in your PATH).  This is new in 4.1.24, I'm not sure why it crops 
up...I did a fresh install of 4.1.24 last week Friday, and didn't get the 
error.  But, the install of 4.1.24 before that did.

John

On Tue, 10 Jun 2003 09:42:26 -0400, Srinivasu Gandu 
[EMAIL PROTECTED] 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 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]



--
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]


RE: win2000 issue with tomcat4.1.24

2003-06-10 Thread EPugh
I am wrestling with the same issue...  I think it is caused by the javac
program not being in your path...  But I am not 100% percent sure..

Also, the nt service logon user needs write permssions to
c:\winnt\system32...

look at your logs..

If you make progress, please let me know..  

-Original Message-
From: Srinivasu Gandu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 9:42 AM
To: 'Tomcat Users List'
Subject: 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 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
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 Shapira, Yoav

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]



Re: win2000 issue with tomcat4.1.24

2003-06-10 Thread John Turner
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]


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: win2000 issue with tomcat4.1.24

2003-06-10 Thread John Corrigan
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.

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


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]



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



Re: win2000 issue with tomcat4.1.24

2003-06-10 Thread John Turner
Couldn't say...I don't use Windows 98.

John

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

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

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]