Re: File upload servlet won't run on IBM AS/400 but runs OK on PC configured identically

2003-02-07 Thread Patrick L Archibald
I've tried JVM 1.2 and 1.3. The public (meaning valid users) have all authority to the /tmp directory. This direcoty is Coded character set ID . . . . . . . . : 37. I tried another directory /public/platemp which is Coded character set ID . . . . . . . . : 437. I don't know why the L

Re: File upload servlet won't run on IBM AS/400 but runs OK on PC configured identically

2003-02-07 Thread Evgeniy Strokin
I don't know will it help or not, but you could try this parser: http://www.jyaga.com/ I use it, it never fails yet))) Jenya --- Patrick L Archibald [EMAIL PROTECTED] wrote: Hi I'm stumped on this problem. I've got a file upload servlet that works fine running on a PC with Tomcat 4.1.12

Re: File upload servlet won't run on IBM AS/400 but runs OK on PC configured identically

2003-02-07 Thread Sean Dockery
Hmmm... I'm not sure that catalina can write to /tmp just because your users can. Try running this code before calling MultipartRequest multi = ... FileWriter fw = new FileWriter(/tmp/hello.txt); // (line 1) fw.write(Hello World\n); fw.close(); When you start Tomcat, what value does it say it

Re: File upload servlet won't run on IBM AS/400 but runs OK on PC configured identically

2003-02-06 Thread Sean Dockery
I would suspect that it can find com/oreilly/servlet/multipart/MultipartParser. Make sure that the O'Reilly JAR in your common/lib folder or /myapp/WEB-INF/lib folder. At 20:40 2003-02-06 -0500, you wrote: Hi I'm stumped on this problem. I've got a file upload servlet that works fine running

RE: File upload servlet won't run on IBM AS/400 but runs OK on PC configured identically

2003-02-06 Thread Filip Hanik
not really, if you look at the stack trace, it shows that it is inside the MultipartParser class by line number but out of curiousity, where do you place your Oreilly jar? java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest java/lang/Throwable.(Ljava/lang/String;)V+4

RE: File upload servlet won't run on IBM AS/400 but runs OK on PC configured identically

2003-02-06 Thread Filip Hanik
and what happens if you put it in TOMCAT_HOME/common/lib also, did you intentionally lowercase the path you sent us, WEB-INF is uppercase. Filip -Original Message- From: Patrick L Archibald [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 5:55 PM To: Tomcat Users List

Re: File upload servlet won't run on IBM AS/400 but runs OK on PC configured identically

2003-02-06 Thread Sean Dockery
This may be a silly question, but where is your servlets.jar located? At 21:50 2003-02-06 -0500, you wrote: No difference in common. I've installed 4.1.18 and still getting the same error. Could the AS/400 JVM be suspect? Thanx, PLA Patrick L Archibald wrote: I haven't tried putting it in

Re: File upload servlet won't run on IBM AS/400 but runs OK on PC configured identically

2003-02-06 Thread Patrick L Archibald
/jakarta-tomcat-4.1.12/common/lib/servlet.jar Thanx, PLA Sean Dockery wrote: This may be a silly question, but where is your servlets.jar located? At 21:50 2003-02-06 -0500, you wrote: No difference in common. I've installed 4.1.18 and still getting the same error. Could the AS/400 JVM be

Re: File upload servlet won't run on IBM AS/400 but runs OK on PC configured identically

2003-02-06 Thread Sean Dockery
I doubt the JVM is the problem. What version are you using, by the way? (java -version) There is probably still something we're missing in your root cause... What is with the L prefix on some of the class names in the root cause message? Ljava/lang/String? Those aren't actually in your

Re: File upload servlet won't run on IBM AS/400 but runs OK on PC configured identically

2003-02-06 Thread Sean Dockery
What is the path separator character on the AS400? Is it the same character EBCDIC as ASCII? At 22:43 2003-02-06 -0500, you wrote: I'll try this tomorrow. Thanx, PLA Tim Funk wrote: Just for giggles ... Alter catalina.sh to export CLASSPATH and don't pass CLASSPATH to the java executable.