Re: problems setting up tomcat on debian sarge

2005-09-12 Thread Jim Buttafuoco
good questions, all I did was have apt-get install tomcat4 + all needed 
packages.  I know I have kaffe installed.  

here is a list from dpkg of what I have installed.  let me know if I should 
look for and/or install another package.

thanks for you help
Jim

ii  gjdoc  0.7.3-1documentation generation framework for java
ii  java-common0.22   Base of all Java packages
ii  jikes  1.22-2 Fast Java compiler adhering to language and
ii  kaffe  1.1.5-3A JVM to run Java bytecode
ii  libant1.6-java 1.6.2-2.1  Java based build tool like make -- library
ii  libapache-mod- 1.2.5-2Apache 1.3 connector for the Tomcat Java ser
ii  libbcel-java   5.1-4  Analyze, create, and manipulate (binary) Jav
ii  libcommons-bea 1.6.1-4utility for manipulating JavaBeans
ii  libcommons-dig 1.5.0.1-4  Rule based XML Java object mapping tool
ii  libcommons-lan 2.0-6  Extension of the java.lang package
ii  libcommons-mod 1.1-4  A convenience library to use Java Management
ii  libjaxp1.2-jav 1.2.01-1   Java XML parser and transformer APIs (DOM, S
ii  liblog4j1.2-ja 1.2.9-1Logging library for java
ii  libmx4j-java   2.0.1-4An open source implementation of the JMX(TM)
ii  liboro-java2.0.8-3Regular expression library for Java
ii  libregexp-java 1.3-1  regular expression library for Java
ii  libservlet2.3- 4.0-6  Servlet 2.3 and JSP 1.2 Java classes and doc
ii  libstruts1.1-j 1.1-2  Java Framework for MVC web applications
ii  libstruts1.2-j 1.2.4-1Java Framework for MVC web applications
ii  libtomcat4-jav 4.1.31-3   Java Servlet engine -- core libraries
ii  libxerces2-jav 2.6.2-2Validating XML parser for Java with DOM leve
ii  tomcat44.1.31-3   Java Servlet 2.3 engine with JSP 1.2 support
ii  tomcat4-admin  4.1.31-3   Java Servlet engine -- admin web interfaces
ii  tomcat4-webapp 4.1.31-3   Java Servlet engine -- documentation and exa


-- Original Message ---
From: [EMAIL PROTECTED]
To: "Tomcat Users List" , [EMAIL PROTECTED]
Sent: Mon, 12 Sep 2005 23:43:25 +
Subject: Re: problems setting up tomcat on debian sarge 

> Which JDK are you using?
> 
> > Hi all,
> > 
> > I am trying to setup tomcat 4.1 (comes with debian sarge in contrib) inside 
> > a 
> > vserver also running debian sarge.
> > 
> > I am getting the following error after I login into the adminstration tool, 
> > the 
> > sample apps and the manage tool both 
> > seems to be working.  
> > 
> > I am new to java and tomcat so please be gentle.
> > 
> > Thanks
> > Jim
> > 
> > 
> > 
> > HTTP Status 500 - 
> > 
> > 
> > 
> > type Exception report
> > 
> > message 
> > 
> > description The server encountered an internal error () that prevented it 
> > from 
> > fulfilling this request.
> > 
> > exception 
> > 
> > javax.servlet.ServletException: Servlet.init() for servlet action threw 
> > exception
> >at org.apache.catalina.core.StandardWrapper.loadServlet 
> > (StandardWrapper.java:916)
> >at org.apache.catalina.core.StandardWrapper.allocate 
> > (StandardWrapper.java:621)
> >at org.apache.catalina.core.StandardWrapperValve.invoke 
> > (StandardWrapperValve.java:163)
> >at 
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNex
> > t (StandardPipeline.java:596)
> >at org.apache.catalina.core.StandardPipeline.invoke 
> > (StandardPipeline.java:433)
> >at org.apache.catalina.core.ContainerBase.invoke (ContainerBase.java:948)
> >at org.apache.catalina.core.StandardContextValve.invoke 
> > (StandardContextValve.java:144)
> >at 
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNex
> > t (StandardPipeline.java:596)
> >at org.apache.catalina.authenticator.AuthenticatorBase.invoke 
> > (AuthenticatorBase.java:504)
> >at 
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNex
> > t (StandardPipeline.java:594)
> >at org.apache.catalina.core.StandardPipeline.invoke 
> > (StandardPipeline.java:433)
> >at org.apache.catalina.core.ContainerBase.invoke (ContainerBase.java:948)
> >at org.apache.catalina.core.StandardContext.invoke 
> > (StandardContext.java:2358)
> >at org.apache.catalina.core.StandardHostValve.invoke 
> > (StandardHostValve.java:133)
> >at 
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNex
> > t (StandardPipeline.java:596)
> >at org.apache.catalina.valves.ErrorDispatcherValve.invoke 
> > (ErrorDispatcherValve.java:118)
> >at 
> > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNex
> > t (StandardPipeline.java:594)
> >at org.apache.catalina.valves.ErrorReportValve.invoke 
> > (ErrorReportValve.java:116)
> >at 
> > org.apache.catalina.core.StandardPipeli

problems setting up tomcat on debian sarge

2005-09-12 Thread Jim Buttafuoco
Hi all,

I am trying to setup tomcat 4.1 (comes with debian sarge in contrib) inside a 
vserver also running debian sarge.

I am getting the following error after I login into the adminstration tool, the 
sample apps and the manage tool both 
seems to be working.  

I am new to java and tomcat so please be gentle.

Thanks
Jim



HTTP Status 500 - 



type Exception report

message 

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

exception 

javax.servlet.ServletException: Servlet.init() for servlet action threw 
exception
   at org.apache.catalina.core.StandardWrapper.loadServlet 
(StandardWrapper.java:916)
   at org.apache.catalina.core.StandardWrapper.allocate 
(StandardWrapper.java:621)
   at org.apache.catalina.core.StandardWrapperValve.invoke 
(StandardWrapperValve.java:163)
   at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
 (StandardPipeline.java:596)
   at org.apache.catalina.core.StandardPipeline.invoke 
(StandardPipeline.java:433)
   at org.apache.catalina.core.ContainerBase.invoke (ContainerBase.java:948)
   at org.apache.catalina.core.StandardContextValve.invoke 
(StandardContextValve.java:144)
   at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
 (StandardPipeline.java:596)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke 
(AuthenticatorBase.java:504)
   at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
 (StandardPipeline.java:594)
   at org.apache.catalina.core.StandardPipeline.invoke 
(StandardPipeline.java:433)
   at org.apache.catalina.core.ContainerBase.invoke (ContainerBase.java:948)
   at org.apache.catalina.core.StandardContext.invoke 
(StandardContext.java:2358)
   at org.apache.catalina.core.StandardHostValve.invoke 
(StandardHostValve.java:133)
   at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
 (StandardPipeline.java:596)
   at org.apache.catalina.valves.ErrorDispatcherValve.invoke 
(ErrorDispatcherValve.java:118)
   at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
 (StandardPipeline.java:594)
   at org.apache.catalina.valves.ErrorReportValve.invoke 
(ErrorReportValve.java:116)
   at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
 (StandardPipeline.java:594)
   at org.apache.catalina.core.StandardPipeline.invoke 
(StandardPipeline.java:433)
   at org.apache.catalina.core.ContainerBase.invoke (ContainerBase.java:948)
   at org.apache.catalina.core.StandardEngineValve.invoke 
(StandardEngineValve.java:127)
   at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
 (StandardPipeline.java:596)
   at org.apache.catalina.core.StandardPipeline.invoke 
(StandardPipeline.java:433)
   at org.apache.catalina.core.ContainerBase.invoke (ContainerBase.java:948)
   at org.apache.coyote.tomcat4.CoyoteAdapter.service (CoyoteAdapter.java:152)
   at org.apache.coyote.http11.Http11Processor.process 
(Http11Processor.java:799)
   at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
 (Http11Protocol.java:705)
   at org.apache.tomcat.util.net.TcpWorkerThread.runIt 
(PoolTcpEndpoint.java:577)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run 
(ThreadPool.java:683)
   at java.lang.Thread.run (Thread.java:673)
   at java.lang.VMThread.run (VMThread.java:123)


root cause 

java.lang.NumberFormatException
   at java.lang.Integer.parseInt (Integer.java:602)
   at java.lang.Integer.parseInt (Integer.java:231)
   at java.util.Properties.load (Properties.java:306)
   at java.util.PropertyResourceBundle. (PropertyResourceBundle.java:109)
   at java.util.ResourceBundle.tryBundle (ResourceBundle.java:533)
   at java.util.ResourceBundle.tryBundle (ResourceBundle.java:601)
   at java.util.ResourceBundle.getBundle (ResourceBundle.java:443)
   at java.util.ResourceBundle.getBundle (ResourceBundle.java:284)
   at org.apache.webapp.admin.ApplicationLocales. 
(ApplicationLocales.java:60)
   at org.apache.webapp.admin.ApplicationServlet.initApplicationLocales 
(ApplicationServlet.java:124)
   at org.apache.webapp.admin.ApplicationServlet.init 
(ApplicationServlet.java:110)
   at javax.servlet.GenericServlet.init (GenericServlet.java:258)
   at org.apache.catalina.core.StandardWrapper.loadServlet 
(StandardWrapper.java:888)
   at org.apache.catalina.core.StandardWrapper.allocate 
(StandardWrapper.java:621)
   at org.apache.catalina.core.StandardWrapperValve.invoke 
(StandardWrapperValve.java:163)
   at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext
 (StandardPipeline.java:596)
   at org.apache.catalina.core.StandardPipeline.invoke 
(StandardPipeline.java:433)
   at org.apache.catalina.core.ContainerBase.invoke (ContainerBase.java:948)
   a