PDA

View Full Version : Upgrading Java on os x broke tomcat


kareems
06-22-2009, 06:59 PM
Upgraded Java version over the weekend. Still seems I have everything correct to run tomcat, and server starts fine. But when I navigate to localhost:8080 instead of the usual page I see:

HTTP Status 404 - /

type Status report

message /

description The requested resource (/) is not available.

Path to Java seems fine, docs still exist, and I didn't update the j2se or anything (5.0)

Thanks in advance for any advice.

Update: Additional log errors:

Jun 22, 2009 12:46:20 PM org.apache.catalina.startup.ContextConfig start
SEVERE: Marking this application unavailable due to previous error(s)
Jun 22, 2009 12:46:20 PM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
Jun 22, 2009 12:46:20 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/SSG] startup failed due to previous errors

Jimbooo
06-27-2009, 07:57 PM
This line of log:
SEVERE: Context [/SSG] startup failed due to previous errors

tells me there are some more errors before this one. Can you post them here?

cosis
07-09-2009, 06:14 AM
Upgraded Java version over the weekend. Still seems I have everything correct to run tomcat, and server starts fine. But when I navigate to localhost:8080 instead of the usual page I see:

HTTP Status 404 - /

type Status report

message /

description The requested resource (/) is not available.

Path to Java seems fine, docs still exist, and I didn't update the j2se or anything (5.0)

Thanks in advance for any advice.

Update: Additional log errors:

Jun 22, 2009 12:46:20 PM org.apache.catalina.startup.ContextConfig start
SEVERE: Marking this application unavailable due to previous error(s)
Jun 22, 2009 12:46:20 PM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
Jun 22, 2009 12:46:20 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/SSG] startup failed due to previous errors

http://localhost:8080/your project name/

i think the problem is in your WEB-INF directory , or WEB-INF directory doesn't exist in your project directory

cosis
07-09-2009, 06:15 AM
Upgraded Java version over the weekend. Still seems I have everything correct to run tomcat, and server starts fine. But when I navigate to localhost:8080 instead of the usual page I see:

HTTP Status 404 - /

type Status report

message /

description The requested resource (/) is not available.

Path to Java seems fine, docs still exist, and I didn't update the j2se or anything (5.0)

Thanks in advance for any advice.

Update: Additional log errors:

Jun 22, 2009 12:46:20 PM org.apache.catalina.startup.ContextConfig start
SEVERE: Marking this application unavailable due to previous error(s)
Jun 22, 2009 12:46:20 PM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
Jun 22, 2009 12:46:20 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/SSG] startup failed due to previous errors

http://localhost:8080/your project name/

i think the problem is in your WEB-INF directory , or WEB-INF directory doesn't exist in your project directory

can show me the the directory path ?

Misguided
07-09-2009, 07:56 PM
After you installed the JDK, just reinstall the Tomcat, that should solve your problem.

While installing the tomcat , it registers the jdk version being used from java_home in environment variables.