shutdown script error

2005-05-17 Thread Fay, Michael
 

Getting the following error on the shutdown script with tomcat 5.5.7:

soyuz-test 16 15:14:11 /usr/local/tomcat/jakarta-tomcat-5/build/bin % sudo
./shutdown.sh 

Using CATALINA_BASE:   /usr/local/tomcat/jakarta-tomcat-5/build

Using CATALINA_HOME:   /usr/local/tomcat/jakarta-tomcat-5/build

Using CATALINA_TMPDIR: /usr/local/tomcat/jakarta-tomcat-5/build/temp

Using JRE_HOME:   /opt/jdk1.5.0_02

May 16, 2005 3:14:20 PM org.apache.tomcat.util.digester.Digester
startElement

SEVERE: Begin event threw error

java.lang.NoClassDefFoundError: org/apache/naming/TransactionRef

at
org.apache.catalina.core.StandardServer.init(StandardServer.java:94)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:39)

at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:494)

at java.lang.Class.newInstance0(Class.java:350)

at java.lang.Class.newInstance(Class.java:303)

at
org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java
:205)

at org.apache.tomcat.util.digester.Rule.begin(Rule.java:152)

at
org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1275)

at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)

at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown
Source)

at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unkno
wn Source)

at
org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElem
entHook(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.XML11Configuration.parse(Unknown
Source)

at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)

at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

at
org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)

at
org.apache.catalina.startup.Catalina.stopServer(Catalina.java:384)

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:585)

at
org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:320)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:411)

java.lang.reflect.InvocationTargetException

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:585)

at
org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:320)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:411)

Caused by: java.lang.NoClassDefFoundError: org/apache/naming/TransactionRef

at
org.apache.catalina.core.StandardServer.init(StandardServer.java:94)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:39)

at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:494)

at java.lang.Class.newInstance0(Class.java:350)

at java.lang.Class.newInstance(Class.java:303)

at
org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java
:205)

at org.apache.tomcat.util.digester.Rule.begin(Rule.java:152)

at
org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1275)

at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)

at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown
Source)

at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unkno
wn Source)

at
org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElem
entHook(Unknown Source)

at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(Unknown Source)

at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)

at 

error trying to run a jsp

2005-05-10 Thread Fay, Michael
We are getting the following error when trying use a jsp, either directly
through tomcat, or through apache with the tomcat connector:

 

type Exception report

message 

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

exception 

org.apache.jasper.JasperException: Unable to compile class for JSP
 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5
65)
 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
93)
 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause 

java.io.FileNotFoundException:
/usr/local/tomcat/jakarta-tomcat-5/build/work/Catalina/localhost/jsp-example
s/org/apache/jsp/jsptest0509_jsp.java (No such file or directory)
java.io.FileOutputStream.open(Native Method)
java.io.FileOutputStream.init(FileOutputStream.java:179)
java.io.FileOutputStream.init(FileOutputStream.java:70)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:131)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5
56)
 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
93)
 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

note The full stack trace of the root cause is available in the Apache
Tomcat/5.5 logs.

 

 

I know nothing about tomcat or jsp, and our web people keep insisting that
this means that java_home isn't set right, though it's set in all the
startup scripts. Can anyone give me any ideas here? 



RE: error trying to run a jsp

2005-05-10 Thread Fay, Michael
Both tomcat and httpd have write permissions to the directory...is someone
else supposed to be in the tomcat group? 

-Original Message-
From: Raghupathy,Gurumoorthy [mailto:[EMAIL PROTECTED]

Sent: Tuesday, May 10, 2005 9:21 AM
To: 'Tomcat Users List'
Subject: RE: error trying to run a jsp

Please check If the directory
/usr/local/tomcat/jakarta-tomcat-5/build/work/Catalina/localhost/ has
write permission for wwwrun user ?


Guru

-Original Message-
From: Fay, Michael [mailto:[EMAIL PROTECTED] 
Sent: 10 May 2005 17:17
To: 'Tomcat Users List'
Subject: error trying to run a jsp


We are getting the following error when trying use a jsp, either directly
through tomcat, or through apache with the tomcat connector:

 

type Exception report

message 

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

exception 

org.apache.jasper.JasperException: Unable to compile class for JSP
 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5
65)
 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
93)
 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause 

java.io.FileNotFoundException:
/usr/local/tomcat/jakarta-tomcat-5/build/work/Catalina/localhost/jsp-example
s/org/apache/jsp/jsptest0509_jsp.java (No such file or directory)
java.io.FileOutputStream.open(Native Method)
java.io.FileOutputStream.init(FileOutputStream.java:179)
java.io.FileOutputStream.init(FileOutputStream.java:70)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:131)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5
56)
 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
93)
 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

note The full stack trace of the root cause is available in the Apache
Tomcat/5.5 logs.

 

 

I know nothing about tomcat or jsp, and our web people keep insisting that
this means that java_home isn't set right, though it's set in all the
startup scripts. Can anyone give me any ideas here? 


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

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



RE: error trying to run a jsp

2005-05-10 Thread Fay, Michael
I just realized that root owned everything under work. When I changed it to
tomcat, it works now. Thanks. 

-Original Message-
From: Fay, Michael 
Sent: Tuesday, May 10, 2005 9:36 AM
To: 'Tomcat Users List'
Subject: RE: error trying to run a jsp

Both tomcat and httpd have write permissions to the directory...is someone
else supposed to be in the tomcat group? 

-Original Message-
From: Raghupathy,Gurumoorthy [mailto:[EMAIL PROTECTED]

Sent: Tuesday, May 10, 2005 9:21 AM
To: 'Tomcat Users List'
Subject: RE: error trying to run a jsp

Please check If the directory
/usr/local/tomcat/jakarta-tomcat-5/build/work/Catalina/localhost/ has
write permission for wwwrun user ?


Guru

-Original Message-
From: Fay, Michael [mailto:[EMAIL PROTECTED] 
Sent: 10 May 2005 17:17
To: 'Tomcat Users List'
Subject: error trying to run a jsp


We are getting the following error when trying use a jsp, either directly
through tomcat, or through apache with the tomcat connector:

 

type Exception report

message 

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

exception 

org.apache.jasper.JasperException: Unable to compile class for JSP
 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5
65)
 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
93)
 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause 

java.io.FileNotFoundException:
/usr/local/tomcat/jakarta-tomcat-5/build/work/Catalina/localhost/jsp-example
s/org/apache/jsp/jsptest0509_jsp.java (No such file or directory)
java.io.FileOutputStream.open(Native Method)
java.io.FileOutputStream.init(FileOutputStream.java:179)
java.io.FileOutputStream.init(FileOutputStream.java:70)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:131)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5
56)
 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
93)
 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

note The full stack trace of the root cause is available in the Apache
Tomcat/5.5 logs.

 

 

I know nothing about tomcat or jsp, and our web people keep insisting that
this means that java_home isn't set right, though it's set in all the
startup scripts. Can anyone give me any ideas here? 


-
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: build problem

2005-04-05 Thread Fay, Michael
Building 5.5.7 with ant 1.6.2 on solaris 9, I keep getting this following
error:
BUILD FAILED
/home/mfay/jakarta-tomcat-5.5.7-src/build.xml:50: The following error
occurred while executing this line:
/home/mfay/jakarta-tomcat-5.5.7-src/jakarta-tomcat-5/build.xml:974: Warning:
Could not find file /usr/share/java/mx4j-2.1.0/mx4j-2.1.0/lib/mx4j.jar to
copy.
at
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper
.java:539)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:388)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.apache.tools.ant.Main.runBuild(Main.java:673)
at org.apache.tools.ant.Main.startAnt(Main.java:188)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
Caused by:
/home/mfay/jakarta-tomcat-5.5.7-src/jakarta-tomcat-5/build.xml:974: Warning:
Could not find file /usr/share/java/mx4j-2.1.0/mx4j-2.1.0/lib/mx4j.jar to
copy.
at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:385)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
... 10 more
--- Nested Exception ---
/home/mfay/jakarta-tomcat-5.5.7-src/jakarta-tomcat-5/build.xml:974: Warning:
Could not find file /usr/share/java/mx4j-2.1.0/mx4j-2.1.0/lib/mx4j.jar to
copy.
at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:385)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:386)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.apache.tools.ant.Main.runBuild(Main.java:673)
at org.apache.tools.ant.Main.startAnt(Main.java:188)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)

So, where do I get this package if the checkout system can't get it? 

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



RE: build problem

2005-04-01 Thread Fay, Michael
I downloaded the latest version of ant. 1.6.2.

-Original Message-
From: Antony Paul [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 31, 2005 8:29 PM
To: Tomcat Users List
Subject: Re: build problem

What version of Ant you are using ?. It seems that Ant is not
supporting the attribute compression

On Apr 1, 2005 3:48 AM, Fay, Michael [EMAIL PROTECTED] wrote:
 I'm sure it's something simple, but I'm getting the following error when I
 try to build tomcat:
 
 BUILD FAILED
 
 /home/mfay/jakarta-tomcat-5.5.7-src/build.xml:94: The cvs task doesn't
 support the compression attribute.
 
 I've searched the Jakarta website to see if there was something on this,
but
 I haven't found anything. Do I need to make some change to the
 build.properties or something?
 
 


-- 
rgds
Antony Paul
http://www.geocities.com/antonypaul24/

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



build problem

2005-03-31 Thread Fay, Michael
I'm sure it's something simple, but I'm getting the following error when I
try to build tomcat:

 

BUILD FAILED

 

/home/mfay/jakarta-tomcat-5.5.7-src/build.xml:94: The cvs task doesn't
support the compression attribute.

 

I've searched the Jakarta website to see if there was something on this, but
I haven't found anything. Do I need to make some change to the
build.properties or something?