accessing servlet 404 error
I'm just starting my first webapp with Tomcat and have placed the files classes into /tomcat_home/simple: Simple.html, index.class, index.jsp, index.java, Simple.java classes WEB-INF I added the following to Server.xml: Context path=/simple docBase=simple debug=9 reloadable=true / When I try to access: http://servername/simple I get: Ctx(/simple) : Status code:404 request:R( /simple + / + nu ll) msg:null I'm using: Apache 1.3.9 JSDK2.0 mod_jk Tomcat 3.3.1 Any help is greatly appreciated. Julie -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: accessing servlet 404 error
Tomcat examples aren't executing. I'll try a reinstall of tomcat. Thanks! - Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, December 16, 2002 10:38 AM Subject: Re: accessing servlet 404 error just a couple of basics, do the tomcat examples work ? http://servername Are you accessing the correct port ? (8080 by default) http://servername:8080/ Cheers, Julie Jordan jjordan@centonliTo: [EMAIL PROTECTED] ne.com cc: Subject: accessing servlet 404 error 16/12/2002 15:23 Please respond to Tomcat Users List I'm just starting my first webapp with Tomcat and have placed the files classes into /tomcat_home/simple: Simple.html, index.class, index.jsp, index.java, Simple.java classes WEB-INF I added the following to Server.xml: Context path=/simple docBase=simple debug=9 reloadable=true / When I try to access: http://servername/simple I get: Ctx(/simple) : Status code:404 request:R( /simple + / + nu ll) msg:null I'm using: Apache 1.3.9 JSDK2.0 mod_jk Tomcat 3.3.1 Any help is greatly appreciated. Julie -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
jdbc ClassNotFound error
This is my first pass with trying to establish a jdbc Oracle connection with Tomcat.. So please be kind. 1. I have created a myfilename.class and html page (calling class) and placed them into /usr/local/tomcat/webapps/ROOT 2. I also set up my Oracle jdbc in the java file and placed the Oracle classes.jar files into the same directory 3. I added this directory to my CLASSPATH. 4. I've restarted Tomcat. 5. But when I try to view the html page it won't load my applet, I get: Java.lang.ClassNotFoundException:myClassfilename Any help is GREATLY appreciated. BTW: using Oracle 8.1.5(thin driver), Tomcat 3.3.1, mod_jk, JSDK2.0, Java2 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
XML Parser question
Hi all, I am trying to create a simple XML transformation. In my directory: tomcat/lib/container I have the crimson.jar and the xalan.jar I created a directory called: tomcat/webapps/cocoon/election where I have put my xml, xsl, and dtd files When I point my browser to: http://IPnamehere:8080/cocoon/election/ I see a directory list of the files but when I click on them I get a Cocoon Resource Not Found error. I noticed that when I start Tomcat my JIT compiler fails, but I am able to view the Cocoon welcome pages. An anyone direct me to a good tutorial on getting my xml page transformed using cocoon?? (I'm running: Apache 1.3.9, Java2, JSDK2.0, Tomcat 3.3.1, Cocoon 2.0.3, mod_jk - on UnixWare) Thanks! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] tsdok -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
XML Parser question
Hi all, I am trying to create a simple XML transformation. In my directory: tomcat/lib/container I have the crimson.jar and the xalan.jar I created a directory called: tomcat/webapps/cocoon/election where I have put my xml, xsl, and dtd files When I point my browser to: http://IPnamehere:8080/cocoon/election/ I see a directory list of the files but when I click on them I get a Cocoon Resource Not Found error. I noticed that when I start Tomcat my JIT compiler fails, but I am able to view the Cocoon welcome pages. An anyone direct me to a good tutorial on getting my xml page transformed using cocoon?? (I'm running: Apache 1.3.9, Java2, JSDK2.0, Tomcat 3.3.1, Cocoon 2.0.3, mod_jk - on UnixWare) Thanks! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
JIT compiler fails
Hi all, When I start Tomcat my JIT compiler fails, but I am able to view the Cocoon pages, but why the failure? I'm new to Tomcat/Cocoon, in my tomcat/lib/container I have: crimson.jar, xalan.jar, jasper.jar among other jar files. Am I missing something? Am running on Unix: Apache 1.3.9, JSDK2.0, mod_jk, Tomcat 3.3.1, Cocoon 2.0.3 Error when I start Tomcat: $ Warning: No bytecode-native mapping for a bytecode Warning: JIT compiler failed for org/apache/crimson/parser/Parser2.maybeComment(Z)Z 2002-08-21 09:24:13 - ServerXmlReader: Config=$TOMCAT_HOME/conf/server.xml 2002-08-21 09:24:13 - PathSetter: home=/support/tomcat 2002-08-21 09:24:13 - ContextXmlReader: Context config=$TOMCAT_HOME/conf/apps-12 7.0.0.1.xml 2002-08-21 09:24:13 - ContextXmlReader: Context config=$TOMCAT_HOME/conf/apps-ad min.xml 2002-08-21 09:24:13 - ContextXmlReader: Context config=$TOMCAT_HOME/conf/apps-ex amples.xml 2002-08-21 09:24:13 - AutoWebApp: Loaded from config: DEFAULT:/admin 2002-08-21 09:24:13 - AutoWebApp: Auto-Adding DEFAULT:/ 2002-08-21 09:24:13 - AutoWebApp: Loaded from config: DEFAULT:/examples 2002-08-21 09:24:13 - AutoWebApp: Auto-Adding DEFAULT:/cocoon 2002-08-21 09:24:14 - ContextManager: Tomcat configured and in stable state 2002-08-21 09:24:14 - ContextManager: Adding DEFAULT:/admin 2002-08-21 09:24:14 - ContextManager: Adding DEFAULT:/examples 2002-08-21 09:24:14 - ContextManager: Adding DEFAULT:/ROOT 2002-08-21 09:24:14 - ContextManager: Adding DEFAULT:/cocoon Server 1.6 is running Press [Ctrl]+[C] to abort EmbededTomcat: Init time 37740 2002-08-21 09:24:44 - Http10Interceptor: Starting on 8080 2002-08-21 09:24:45 - Ajp12Interceptor: Starting on 8007 EmbededTomcat: Startup time 1370 2002-08-21 09:24:45 - Ajp13Interceptor: Starting on 8009 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat/Cocoon space errors
Hi all, I am new to Apache/Tomcat and finally got it all loaded and working. When I get into the Cocoon pages I start throwing errors as follows. Not sure what configurations I need to change. Not sure why it isn't compiling the sitmap?? Am running on Unix: Apache 1.3.9, JSDK2.0, mod_jk, Tomcat 3.3.1, Cocoon 2.0.3 Here is my Error.log file: ERROR (2002-08-16) 15:35.25:890 [core.manager] (/cocoon/documents/index.html) Thread-14/Handler: Error compiling sitemap java.io.IOException: No space left on device at java.io.FileOutputStream.writeBytes(Native Method) at java.io.FileOutputStream.write(FileOutputStream.java, Compiled Code) at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java, Compiled Code) at java.io.OutputStreamWriter.flush(OutputStreamWriter.java, Compiled Code) at java.io.OutputStreamWriter.close(OutputStreamWriter.java, Compiled Code) at org.apache.cocoon.util.IOUtils.serializeString(IOUtils.java, Compiled Code) at org.apache.cocoon.util.IOUtils.serializeString(IOUtils.java, Compiled Code) etc,etc,etc. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcat/Cocoon space errors
df -kl returns the following: filesystem kbytes used avail capacity mounted on /dev/root 2097152 2097152 0100% / /dev/stand 20480 5741 1473929% /stand /proc 000 0% / proc /dev/fd 000 0% /dev/fd /dev/dsk/c0b0t0d0s3 3072020149 1057166% /mtce /dev/dsk/c0b0t0d0s4 768000 117106 650894 16% /vs /dev/dsk/c0b0t0d0s9 102400 203488205220% /fax /dev/dsk/c0b0t0d0sb 2046976 1753193 293783 86% /oracle /dev/dsk/c0b0t0d0sc 307200 203092868917% /tmp /dev/dsk/c0b0t0d0sd 2046976 1489688 557288 73% /voice1 /dev/dsk/c0b0t0d0s10 614400 423745720267% /support /dev/dsk/c0b0t0d0s11 204800 151581896428% /appl /dev/_tcp 000 0% /dev/_tcp /processorfs000 0% /system/processor - Original Message - From: Peter T. Abplanalp [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 19, 2002 3:44 PM Subject: Re: Tomcat/Cocoon space errors -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Aug 19, 2002 at 03:36:42PM -0400, Julie Jordan wrote: Hi all, I am new to Apache/Tomcat and finally got it all loaded and working. When I get into the Cocoon pages I start throwing errors as follows. Not sure what configurations I need to change. Not sure why it isn't compiling the sitmap?? Am running on Unix: Apache 1.3.9, JSDK2.0, mod_jk, Tomcat 3.3.1, Cocoon 2.0.3 Here is my Error.log file: ERROR (2002-08-16) 15:35.25:890 [core.manager] (/cocoon/documents/index.html) Thread-14/Handler: Error compiling sitemap java.io.IOException: No space left on device what does 'df -kl' on the system running tomcat show? - -- Peter Abplanalp Email: [EMAIL PROTECTED] PGP: pgp.mit.edu -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9YUqiggA8sH0iRXQRAnhsAJ4pfL+unWUlVdbauRHPuCbaeMVS+QCfQXTg 7tcdVzoKYw1L9BcfVfaAGcw= =uJ0s -END PGP SIGNATURE- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Classpath problem
I have a problem with Tomcat finding my Java.I've have Apache 1.3.9 working fine. Then loaded JSDK2.0 with my existing JDK 1.1.7B. Am running UnixWare. I loaded Tomcat and config'ed it (correctly I hope) and when I try to start it I get the following: Using classpath: ./../lib/tomcat.jar Using JAVA_HOME: /usr/java Using TOMCAT_HOME: .. CSE8 UX:sh (./tomcat.sh): ERROR: /usr/java: Cannot execute I've set the JAVA-HOME classpath in the shell, in the profile, etc. - nothing seems to work. What am I doing wrong? Thanks, Julie -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]