okay now! what does your classpath look like? The class not found is org.apache.naming.JndiPermission this is in the bootstrap.jar file which means that it is not seeing this. does your clasapath have a ";." which would include the present directory? I see that it says it is using it nut it does not see it. lets see your classpath...
-----Original Message----- From: John Kilbourne [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 08, 2001 10:41 PM To: Tomcat Users List Subject: Re: RE: newbie tomcat 4.0.1installation on NT Brian: I have been using either command line "startup" and "shutdown" from the tomcat\bin directory, or double-clicking on the respective .bat files. When I followed your suggestion, i got a slew of command line errors: C:\tomcat4\bin>catalina.bat run Using CATALINA_BASE: C:\tomcat4 Using CATALINA_HOME: C:\tomcat4 Using CLASSPATH: C:\tomcat4\bin\bootstrap.jar;C:\jdk1.3 \lib\tools.jar Using JAVA_HOME: C:\jdk1.3 Starting service Tomcat-Standalone Apache Tomcat/4.0.1 Exception during startup processing java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: org/apache/nam ing/JndiPermission at org.apache.naming.resources.DirContextURLStreamHandler.openConnection (DirContext URLStreamHandler.java:135) at java.net.URL.openConnection(URL.java:781) at sun.net.www.protocol.jar.JarURLConnection.<init> (JarURLConnection.java:67) at sun.net.www.protocol.jar.Handler.openConnection (Handler.java:27) at java.net.URL.openConnection(URL.java:781) at org.apache.catalina.startup.ContextConfig.tldConfigJar (ContextConfig.java:1091) at org.apache.catalina.startup.ContextConfig.tldConfig (ContextConfig.java:1042) at org.apache.catalina.startup.ContextConfig.start (ContextConfig.java:828) at org.apache.catalina.startup.ContextConfig.lifecycleEvent (ContextConfig.java:224) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.ja va:155) at org.apache.catalina.core.ContainerBase.start (ContainerBase.java:1131) at org.apache.catalina.core.StandardContext.start (StandardContext.java:3334) at org.apache.catalina.core.ContainerBase.start (ContainerBase.java:1123) at org.apache.catalina.core.StandardHost.start (StandardHost.java:612) at org.apache.catalina.core.ContainerBase.start (ContainerBase.java:1123) at org.apache.catalina.core.StandardEngine.start (StandardEngine.java:307) at org.apache.catalina.core.StandardService.start (StandardService.java:388) at org.apache.catalina.core.StandardServer.start (StandardServer.java:505) at org.apache.catalina.startup.Catalina.start (Catalina.java:776) at org.apache.catalina.startup.Catalina.execute (Catalina.java:681) at org.apache.catalina.startup.Catalina.process (Catalina.java:179) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main (Bootstrap.java:243) C:\tomcat4\bin> Here is the catalina log: 2001-12-08 22:41:31 HttpConnector Opening server socket on all host IP addresses and here is the localhost log: 2001-12-08 22:41:31 WebappLoader[/examples]: Deploying class repositories to work directory C:\tomcat4\work\localhost\examples 2001-12-08 22:41:31 WebappLoader[/examples]: Reloading checks are enabled for this Context 2001-12-08 22:41:31 StandardManager[/examples]: Seeding random number generator class java.security.SecureRandom 2001-12-08 22:41:31 StandardManager[/examples]: Seeding of random number generator has been completed Thanks for your help: It looks like something is showing itself now. John ------------------ Reply Separator -------------------- Originally From: "Brian Adams" <[EMAIL PROTECTED]> Subject: RE: newbie tomcat 4.0.1installation on NT Date: 12/08/2001 10:24pm John, this is strange. How do you start tomcat? Are you at a command prompt? Who are you logged in as? Administrator? What are the permissions on the folders? Anything to constrained for the user? Erase all the log files in the log directory. >From the command line go into tomcat bin and type "catalina.bat run" (If your not already). After that send the logs and the output from the command line (again). That is all I have if we can't figure this out I am running out of ideas. :( -----Original Message----- From: John Kilbourne [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 08, 2001 10:06 PM To: Tomcat Users List Subject: newbie tomcat 4.0.1installation on NT There were no java processes going that I could determine. I changed the server.xml file as you suggested, but the log file was no more revealing, and there were no exception messages or warnings at the command line. I'm sure I have no previous (from last week) tomcat sessions running because I turn my computer off every day to bring it home from work. I'm very puzzled because the original installation was very simple, and the examples ran without a hitch. Now that I've actually written some servlet code, I am unable to see if it works. -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>