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

2003-02-07 Thread Patrick L Archibald
I'm going to try to get to the bottom of this for a little while longer. I checked out the link you provided. It looks simple enough. I may end up trying it. Thanx, PLA Evgeniy Strokin wrote: I don't know will it help or not, but you could try this parser: http://www.jyaga.com/ I use it, it

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

2003-02-07 Thread Patrick L Archibald
I have servlet.jar in other directories but there is only one within the /jakarta-tomcat-4.1.12 directory. I've tried putting cos.jar in common/lib and shared/lib. No difference. Thanx, PLA Larry Meadors wrote: I have gotten weird errors when more than one classloader loads a class. With

Re: File upload servlet won't run on IBM AS/400 but runs OK on PCconfigured identically - resolved

2003-02-07 Thread Patrick L Archibald
I had a duplicate copy of cos.jar in the /QIBM/UserData/Java400/ext directory. I deleted it and it works now. A big thank-you to everyone who responded! PLA Patrick L Archibald wrote: I have servlet.jar in other directories but there is only one within the /jakarta-tomcat-4.1.12 directory.

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

2003-02-06 Thread Patrick L Archibald
If I were missing the classes for the cos.jar I would get java.lang.NoClassDefFoundError: com/oreilly/servlet/multipart/FileRenamePolicy not java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest, right? I've got cos.jar in /jakarta-tomcat-4.1.12/webapps/root/web-inf/lib Thanx

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

2003-02-06 Thread Patrick L Archibald
I haven't tried putting it in common but I did try putting it in /jakarta-tomcat-4.1.12/shared/lib and it gave me the same error. I will try common and let ya know shortly. Here is the case-sensitive path that it is in now: /jakarta-tomcat-4.1.12/webapps/ROOT/WEB-INF/lib Thanx, PLA Filip

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

2003-02-06 Thread Patrick L Archibald
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 common but I did try putting it in /jakarta-tomcat-4.1.12/shared/lib and it gave me the same error. I will

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

2003-02-06 Thread Tim Funk
Just for giggles ... Alter catalina.sh to export CLASSPATH and don't pass CLASSPATH to the java executable. The AS400 JVM is really freakin weird when we once tried passing classpath via command line then got a different behavior setting classpath via an environment variable. If that doesn't

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

2003-02-06 Thread Patrick L Archibald
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. The AS400 JVM is really freakin weird when we once tried passing classpath via command line then got a different behavior setting