file upload problem - FileNotFoundException

2003-08-18 Thread Kuba
I have a weird problem using fileupload. Exception stack is (I'm using IBM
WSAD):



[03-08-18 08:50:34:577 CEST] 613ea32e RequestProces I
org.apache.struts.action.RequestProcessor  Processing a 'POST' for path
'/updateTicket'
[03-08-18 08:50:35:027 CEST] 613ea32e WebGroup  E SRVE0026E: [Servlet
Error]-[org/apache/commons/fileupload/FileUploadException]:
java.lang.NoClassDefFoundError:
org/apache/commons/fileupload/FileUploadException
 at java.lang.Class.newInstance0(Native Method)
 at java.lang.Class.newInstance(Class.java:262)
 at
org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:21
9)
 at
org.apache.struts.util.RequestUtils.getMultipartHandler(RequestUtils.java:10
46)
 at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:919)
 at
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.j
ava:779)
 at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:246)
 at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292)




it is done after trying to post a form with enctype multipart/form-data

Class org/apache/commons/fileupload/FileUploadException is present in
attached jar (commons-fileupload) and that makes my confusion even bigger..

what is interesting, this error doesn't occur when I exclude EJB Server
from the project(so this error doesn't result from bad configured
webproject)...Until this time everything in my application seemed OK...
Has anybody ever had something similar and is able to help me? I'll be very
grateful...


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: file upload problem - FileNotFoundException

2003-08-18 Thread Brian McSweeney
Sounds like we're having similar problems.
I'm using JBoss. I got that problem when I didn't have the
commons-fileupload.jar in my ejb server's classpath. I know you said you
have that,
but make sure!


-Original Message-
From: Kuba [mailto:[EMAIL PROTECTED] 
Sent: 18 August 2003 10:31
To: [EMAIL PROTECTED]
Subject: file upload problem - FileNotFoundException

I have a weird problem using fileupload. Exception stack is (I'm using
IBM
WSAD):



[03-08-18 08:50:34:577 CEST] 613ea32e RequestProces I
org.apache.struts.action.RequestProcessor  Processing a 'POST' for path
'/updateTicket'
[03-08-18 08:50:35:027 CEST] 613ea32e WebGroup  E SRVE0026E:
[Servlet
Error]-[org/apache/commons/fileupload/FileUploadException]:
java.lang.NoClassDefFoundError:
org/apache/commons/fileupload/FileUploadException
 at java.lang.Class.newInstance0(Native Method)
 at java.lang.Class.newInstance(Class.java:262)
 at
org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.jav
a:21
9)
 at
org.apache.struts.util.RequestUtils.getMultipartHandler(RequestUtils.jav
a:10
46)
 at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:919)
 at
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcess
or.j
ava:779)
 at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
246)
 at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292)




it is done after trying to post a form with enctype
multipart/form-data

Class org/apache/commons/fileupload/FileUploadException is present in
attached jar (commons-fileupload) and that makes my confusion even
bigger..

what is interesting, this error doesn't occur when I exclude EJB Server
from the project(so this error doesn't result from bad configured
webproject)...Until this time everything in my application seemed OK...
Has anybody ever had something similar and is able to help me? I'll be
very
grateful...


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: file upload problem - FileNotFoundException

2003-08-18 Thread Kuba

 Sounds like we're having similar problems.
 I'm using JBoss. I got that problem when I didn't have the
 commons-fileupload.jar in my ejb server's classpath. I know you said you
 have that,
 but make sure!

i don't think it's the same problem...
there is something wrong with my ejb project (my ear consists of webProject
 ejbProject) because when i attach sample AutoWorldExample.war everything
is OK :/
i'm asking if someone have had similar problem and then i'll know what could
have gone wrong...

i'm reminding the problem:

Servlet
Error]-[org/apache/commons/fileupload/FileUploadException]:
java.lang.NoClassDefFoundError:
org/apache/commons/fileupload/FileUploadException
 at java.lang.Class.newInstance0(Native Method)
 at java.lang.Class.newInstance(Class.java:262)
 at
org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.jav
a:219)
 at
org.apache.struts.util.RequestUtils.getMultipartHandler(RequestUtils.jav
a:1046)


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]