Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
JSP - A mailing list about Java Server Pages specification and reference
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Subject: Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Subject: Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
Java null on loadup

Java null on loadup

2007-11-04       - By mailing list

 Back
i'd appreciate some help here people bacuase this is driving me nuts
when my host setup an account and i deploy everything works great even afetr
i change tomcat-users.xml and other files everything works swell.
but when i touch server.xml and add this block which is supposed to default
direct to my site which only holds one ware everything goes nuts :
<Host appBase="webapps" name=" mydomain.com" unpackWARs="true"
autoDeploy="true">
<Alias>www.mydomain.com</Alias>
<Context path="" docBase="mywebapp" debug="0" reloadable="true"/>
<Logger className="org.apache.catalina.logger.FileLogger" prefix="
mydomain.com." suffix=".txt" timestamp="true"/>
</Host>
cataline.log prints this out :

Nov 4, 2007 8:53:11 PM org.apache.catalina.startup.Catalina load
INFO   | jvm 1    | 2007/11/04 20:53:11 | WARNING: Can't load
server.xml from /opt/tomcat5/conf/server.xml
INFO   | jvm 1    | 2007/11/04 20:53:11 | Nov 4, 2007 8:53:11 PM
org.apache.catalina.startup.Catalina load
INFO   | jvm 1    | 2007/11/04 20:53:11 | WARNING: Can't load
server.xml from /opt/tomcat5/conf/server.xml
INFO   | jvm 1    | 2007/11/04 20:53:11 | Nov 4, 2007 8:53:11 PM
org.apache.catalina.startup.Catalina start
INFO   | jvm 1    | 2007/11/04 20:53:11 | INFO: Server startup in 0 ms
INFO   | jvm 1    | 2007/11/04 20:53:11 |
java.lang.reflect.InvocationTargetException
INFO   | jvm 1    | 2007/11/04 20:53:11 |   at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2007/11/04 20:53:11 |   at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO   | jvm 1    | 2007/11/04 20:53:11 |   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
INFO   | jvm 1    | 2007/11/04 20:53:11 |   at
java.lang.reflect.Method.invoke(Method.java:585)
INFO   | jvm 1    | 2007/11/04 20:53:11 |   at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
INFO   | jvm 1    | 2007/11/04 20:53:11 |   at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
INFO   | jvm 1    | 2007/11/04 20:53:11 |   at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2007/11/04 20:53:11 |   at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO   | jvm 1    | 2007/11/04 20:53:11 |   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
INFO   | jvm 1    | 2007/11/04 20:53:11 |   at
java.lang.reflect.Method.invoke(Method.java:585)
INFO   | jvm 1    | 2007/11/04 20:53:11 |   at
org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:238)
INFO   | jvm 1    | 2007/11/04 20:53:11 |   at
java.lang.Thread.run(Thread.java:595)
INFO   | jvm 1    | 2007/11/04 20:53:11 | Caused by:
java.lang.NullPointerException
INFO   | jvm 1    | 2007/11/04 20:53:11 |   at
org.apache.catalina.startup.Catalina.await(Catalina.java:616)
INFO   | jvm 1    | 2007/11/04 20:53:11 |   at
org.apache.catalina.startup.Catalina.start
(Catalina.java:576)
INFO   | jvm 1    | 2007/11/04 20:53:11 |   ... 12 more

and that's it tomcat goes dead even if i stop it put the original
server.xmlfile and restart it , doesn't matter it keeps spitting this
message no mater
what i do ???
what is going on here ?
many thanks in advance since i've spent 36 hours allredy trying to
understand what happens here

©2008 junlu.com - Jax Systems, LLC, U.S.A.