LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-03-2003, 02:51 PM   #1
arkopolo
LQ Newbie
 
Registered: Jul 2003
Posts: 10

Rep: Reputation: 0
Tomcat 4.1.24 install


This is the error that is been honting me I had tomcat running.. and cocoon.. but I change something and now I can not find my mistake. Please someone help.

-----------------------------------PROFILE------------------------------
JDK_HOME=$JAVA_HOME
CATALINA_HOME=/usr/jakarta-tomcat-4.1.24/
CATALINA_BASE=/usr/jakarta-tomcat-4.1.24/webapps/
docBASE=/usr/jakarta-tomcat-4.1.24/webapps/
TOMCAT_HOME=/usr/jakarta-tomcat-4.1.24/common/endorsed

pathmunge $JAVA_HOME/bin after

CLASSPATH=$JAVA_HOME/lib:/usr/jakarta-tomcat-4.1.24/webapps/cocoon/WEB-INF/lib/xalan-2.3.1.jar

export JAVA_HOME JDK_HOME CLASSPATH CATALINA_HOME CATALINA_BASE TOMCAT_HOME docBASE


Thanks....






HTTP Status 500 - No Context configured to process this request

--------------------------------------------------------------------------------

type Status report

message No Context configured to process this request

description The server encountered an internal error (No Context configured to process this request) that prevented it from fulfilling this request.


--------------------------------------------------------------------------------

Apache Tomcat/4.1.24
 
Old 07-03-2003, 03:08 PM   #2
Jabate
LQ Newbie
 
Registered: Jul 2003
Posts: 6

Rep: Reputation: 0
change this line from TOMCAT_HOME=/usr/jakarta-tomcat-4.1.24/common/endorsed

to TOMCAT_HOME=/usr/jakarta-tomcat-4.1.24

TOMCAT_HOME should be the toplevel home directory of tomcat not the /common/endorsed directory.

tomcat should find the common endorsed directory based on the catalina_home and the tomcat_home env variables. Try this and see if it works.




Last edited by Jabate; 07-03-2003 at 03:12 PM.
 
Old 07-03-2003, 03:16 PM   #3
arkopolo
LQ Newbie
 
Registered: Jul 2003
Posts: 10

Original Poster
Rep: Reputation: 0
[root@ls1 bin]# ./startup.sh
Using CATALINA_BASE: /usr/jakarta-tomcat-4.1.24/webapps/
Using CATALINA_HOME: /usr/jakarta-tomcat-4.1.24
Using CATALINA_TMPDIR: /usr/jakarta-tomcat-4.1.24/webapps//temp
Using JAVA_HOME: /usr/java/j2sdk1.4.1_03


OK I did change the TOMCAT_HOME... and I run the
http://localhost:8080

still produces the same error..
 
Old 07-03-2003, 03:19 PM   #4
arkopolo
LQ Newbie
 
Registered: Jul 2003
Posts: 10

Original Poster
Rep: Reputation: 0
2003-07-03 13:22:55 StandardHost[localhost]: MAPPING configuration error for request URI /
2003-07-03 14:46:55 StandardHost[localhost]: MAPPING configuration error for request URI /
2003-07-03 15:16:22 StandardHost[localhost]: MAPPING configuration error for request URI /



2003-07-02 14:11:58 StandardHost[localhost]: MAPPING configuration error for request URI /
2003-07-02 14:13:11 StandardHost[localhost]: Removing web application at context path /examples
2003-07-02 14:13:11 StandardHost[localhost]: ContainerBase.removeChild: stop:
LifecycleException: Container StandardContext[/examples] has not been started
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3643)
at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1036)
at org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.java:470)
at org.apache.catalina.core.StandardHost.remove(StandardHost.java:852)
at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:758)
at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:738)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:360)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1221)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1233)
at org.apache.catalina.core.StandardService.stop(StandardService.java:554)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2225)
at org.apache.catalina.startup.Catalina.start(Catalina.java:543)
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)

2003-07-02 14:13:31 StandardHost[localhost]: MAPPING configuration error for request URI /
2003-07-02 14:34:47 StandardHost[localhost]: Removing web application at context path /examples
2003-07-02 14:34:47 StandardHost[localhost]: ContainerBase.removeChild: stop:
LifecycleException: Container StandardContext[/examples] has not been started
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3643)
at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1036)
at org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.java:470)
at org.apache.catalina.core.StandardHost.remove(StandardHost.java:852)
at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:758)
at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:738)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:360)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1221)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1233)
at org.apache.catalina.core.StandardService.stop(StandardService.java:554)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2225)
at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:624)

2003-07-02 15:28:46 StandardHost[localhost]: MAPPING configuration error for request URI /
2003-07-02 15:30:11 StandardHost[localhost]: Removing web application at context path /examples


here are my log files.. todays
 
Old 07-03-2003, 04:21 PM   #5
Jabate
LQ Newbie
 
Registered: Jul 2003
Posts: 6

Rep: Reputation: 0
Ok remove the the CATALINA_BASE=/usr/jakarta-tomcat-4.1.24/webapps/ line from the profile script. This really is not needed since the shell scrip will assign the CATALINA_BASE evn var if one is not found.
you should see the following

Using CATALINA_BASE: /usr/jakarta-tomcat-4.1.24
Using CATALINA_HOME: /usr/jakarta-tomcat-4.1.24
Using CATALINA_TMPDIR: /usr/jakarta-tomcat-4.1.24/temp
Using JAVA_HOME: /usr/java/j2sdk1.4.1_03

It looks to me that tomcat is trying to find the examples under the a directory called /usr/jakarta-tomcat-4.1.24/webapps/webapps/examples and the context manager can not find it. and it is trying to find the temp directory under webapps also.
 
Old 07-07-2003, 09:45 AM   #6
arkopolo
LQ Newbie
 
Registered: Jul 2003
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks.. for you help that worked.
Erik
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install TOMCAT on Slackware 10 monalisa Slackware 1 03-28-2005 07:32 AM
Tomcat install successful...now need help with... mpower Linux - Software 0 07-23-2004 10:39 PM
tomcat install help please. mpower Linux - Software 3 07-16-2004 09:53 PM
TOMCAT init script not working on startup -- tomcat 4.x / Mandrake Linux 8.0 jmartinph Mandriva 0 03-08-2004 02:31 AM
How to install Tomcat as a webserver davee Linux - Software 6 07-16-2003 04:32 AM


All times are GMT -5. The time now is 10:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration