RE: Unable to construct service tapestry.multipart.ServletMultipartDecoder

2006-08-18 Thread Andrés Nates

Thanks for your help, with all dependecies and with this lines in
hivemind.xml 






Everything work fine.


-Mensaje original-
De: Ryan Holmes [mailto:[EMAIL PROTECTED] 
Enviado el: Miércoles, 16 de Agosto de 2006 11:00 p.m.
Para: Tapestry users
Asunto: Re: Unable to construct service
tapestry.multipart.ServletMultipartDecoder

All your jar versions are fine. Try replacing this:





with this:






The service-id changed a few months ago (at 4.0.1 I think). There is  
now a "tapestry.multipart.ServletMultipartDecoder" and  a  
"tapestry.portlet.multipart.PortletMultipartDecoder" service.

-Ryan

On Aug 16, 2006, at 3:06 PM, Andrés Nates wrote:

> Hello Jesse, I'm have put this version of jars
>
> tapestry-portlet-4.0.2.jar
> tapestry-4.0.2.jar
> tapestry-annotations-4.0.2.jar
> tapestry-contrib-4.0.2.jar
> commons-codec-1.3.jar
> commons-logging-1.0.4.jar
> commons-fileupload-1.1.jar
> commons-io-1.2-jar
> ognl-2.6.7.jar
> oro-2.0.8.jar
> hivemind-1.1.1.jar
> hivemind-lib-1.1.1.jar
>
>
> But the error still appear
>
>
> -Mensaje original-
> De: Jesse Kuhnert [mailto:[EMAIL PROTECTED]
> Enviado el: Miércoles, 16 de Agosto de 2006 04:37 p.m.
> Para: Tapestry users
> Asunto: Re: Unable to construct service
> tapestry.multipart.ServletMultipartDecoder
>
> You need fileupload-1.1..
>
> http://tapestry.apache.org/tapestry4/dependencies.html
>
> On 8/16/06, Andrés Nates <[EMAIL PROTECTED]> wrote:
>>
>> I'm have this version of jar
>>
>> tapestry-4.0.2
>> hivemind-1.1
>> hivemind-lib-1.1
>> commons-fileupload-1.0
>>
>> and the file Hivemind.xml look this:
>>
>> 
>> 
>> > interface="org.apache.tapestry.engine.IEngineService">
>> 
>> > class="com.ttdev.album.ImageService">
>> > value="service:tapestry.url.LinkFactory"/>
>> 
>> 
>> 
>> > configuration-id="tapestry.services.ApplicationServices">
>> > object="service:com.ttdev.album.ImageService"/>
>> 
>> > id="tapestry.url.ServiceEncoders">
>> > service="page"/>
>> > object="instance:com.ttdev.album.ImageServiceEncoder"/>
>> 
>>     > id="tapestry.multipart.MultipartDecoder">
>> > class="org.apache.tapestry.multipart.MultipartDecoderImpl,maxSize=-1"
>> model="threaded" />
>> 
>> 
>>
>>
>> -Mensaje original-
>> De: Ryan Holmes [mailto:[EMAIL PROTECTED]
>> Enviado el: Miércoles, 16 de Agosto de 2006 03:57 p.m.
>> Para: Tapestry users
>> Asunto: Re: Unable to construct service
>> tapestry.multipart.ServletMultipartDecoder
>>
>> IIRC, the name of that service changed between Tapestry 4.0 and
>> 4.0.1, but your stacktrace looks correct (well, as correct as a
>> stacktrace can be).
>>
>> What versions of the following jars do you have:  tapestry, hivemind,
>> hivemind-lib and commons-fileupload?
>>
>> Also, are you specifying a maximum upload size in your hivemodule.xml
>> file? It will look something like this:
>>
>>> id="tapestry.multipart.ServletMultipartDecoder">
>>  >
>> class="org.apache.tapestry.multipart.MultipartDecoderImpl,maxSize=500 
>> 000
>> "
>>model="threaded" />
>>
>>
>> If so, copy and paste that into your response.
>>
>> -Ryan
>>
>> On Aug 16, 2006, at 7:26 AM, Andrés Nates wrote:
>>
>>> When I'm run de example of the component upload, this example has a
>>> basic
>>> upload component for images (jpeg).  This is the error message
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> org.apache.hivemind.ApplicationRuntimeException: Unable to
>>> construct service
>>> tapestry.multipart.ServletMultipartDecoder: Could not load class
>>> org.apache.tapestry.multipart.MultipartDecoderImpl from
>>> WebappClassLoader
>>>   delegate: false
>>>   repositories:
>>> /WEB-INF/classes/
>>> --> Parent Classloader:
>>> [EMAIL PROTECTED]
>>> : org/apache/commons/fileupload/servlet/ServletFileUpload
>&

Re: Unable to construct service tapestry.multipart.ServletMultipartDecoder

2006-08-16 Thread Ryan Holmes

All your jar versions are fine. Try replacing this:





with this:

	id="tapestry.multipart.ServletMultipartDecoder">





The service-id changed a few months ago (at 4.0.1 I think). There is  
now a "tapestry.multipart.ServletMultipartDecoder" and  a  
"tapestry.portlet.multipart.PortletMultipartDecoder" service.


-Ryan

On Aug 16, 2006, at 3:06 PM, Andrés Nates wrote:


Hello Jesse, I'm have put this version of jars

tapestry-portlet-4.0.2.jar
tapestry-4.0.2.jar
tapestry-annotations-4.0.2.jar
tapestry-contrib-4.0.2.jar
commons-codec-1.3.jar
commons-logging-1.0.4.jar
commons-fileupload-1.1.jar
commons-io-1.2-jar
ognl-2.6.7.jar
oro-2.0.8.jar
hivemind-1.1.1.jar
hivemind-lib-1.1.1.jar


But the error still appear


-Mensaje original-
De: Jesse Kuhnert [mailto:[EMAIL PROTECTED]
Enviado el: Miércoles, 16 de Agosto de 2006 04:37 p.m.
Para: Tapestry users
Asunto: Re: Unable to construct service
tapestry.multipart.ServletMultipartDecoder

You need fileupload-1.1..

http://tapestry.apache.org/tapestry4/dependencies.html

On 8/16/06, Andrés Nates <[EMAIL PROTECTED]> wrote:


I'm have this version of jar

tapestry-4.0.2
hivemind-1.1
hivemind-lib-1.1
commons-fileupload-1.0

and the file Hivemind.xml look this:





class="com.ttdev.album.ImageService">








id="tapestry.url.ServiceEncoders">




id="tapestry.multipart.MultipartDecoder">






-Mensaje original-
De: Ryan Holmes [mailto:[EMAIL PROTECTED]
Enviado el: Miércoles, 16 de Agosto de 2006 03:57 p.m.
Para: Tapestry users
Asunto: Re: Unable to construct service
tapestry.multipart.ServletMultipartDecoder

IIRC, the name of that service changed between Tapestry 4.0 and
4.0.1, but your stacktrace looks correct (well, as correct as a
stacktrace can be).

What versions of the following jars do you have:  tapestry, hivemind,
hivemind-lib and commons-fileupload?

Also, are you specifying a maximum upload size in your hivemodule.xml
file? It will look something like this:

   
 class="org.apache.tapestry.multipart.MultipartDecoderImpl,maxSize=500 
000

"
   model="threaded" />
   

If so, copy and paste that into your response.

-Ryan

On Aug 16, 2006, at 7:26 AM, Andrés Nates wrote:


When I'm run de example of the component upload, this example has a
basic
upload component for images (jpeg).  This is the error message









org.apache.hivemind.ApplicationRuntimeException: Unable to
construct service
tapestry.multipart.ServletMultipartDecoder: Could not load class
org.apache.tapestry.multipart.MultipartDecoderImpl from
WebappClassLoader
  delegate: false
  repositories:
/WEB-INF/classes/
--> Parent Classloader:
[EMAIL PROTECTED]
: org/apache/commons/fileupload/servlet/ServletFileUpload

org.apache.hivemind.impl.servicemodel.ThreadedServiceModel.construct 
Se

rviceF
orCurrentThread(ThreadedServiceModel.java:186)

org.apache.hivemind.impl.servicemodel.ThreadedServiceModel.getServic 
eI

mpleme
ntationForCurrentThread(ThreadedServiceModel.java:157)

$ServletMultipartDecoder_10d0ea93c7e._service
($ServletMultipartDecoder_10d0e
a93c7e.java)

$ServletMultipartDecoder_10d0ea93c7e.cleanup
($ServletMultipartDecoder_10d0ea
93c7e.java)

$ServletMultipartDecoder_10d0ea93c7f.cleanup
($ServletMultipartDecoder_10d0ea
93c7f.java)

org.apache.tapestry.multipart.MultipartDecoderFilter.service
(MultipartDecode
rFilter.java:57)

$ServletRequestServicerFilter_10d0ea93cbe.service
($ServletRequestServicerFil
ter_10d0ea93cbe.java)

$ServletRequestServicer_10d0ea93cc6.service
($ServletRequestServicer_10d0ea93
cc6.java)

org.apache.tapestry.services.impl.SetupRequestEncoding.service
(SetupRequestE
ncoding.java:53)

$ServletRequestServicerFilter_10d0ea93cc2.service
($ServletRequestServicerFil
ter_10d0ea93cc2.java)

$ServletRequestServicer_10d0ea93cc6.service
($ServletRequestServicer_10d0ea93
cc6.java)

$ServletRequestServicer_10d0ea93cb8.service
($ServletRequestServicer_10d0ea93
cb8.java)

org.apache.tapestry.ApplicationServlet.doService
(ApplicationServlet.java:123
)

org.apache.tapestry.ApplicationServlet.doPost
(ApplicationServlet.java:168)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)





Anybody know how to fix this error ?







Cordialmente,
~_~_~_~_~_~_~_~_~_~_~_~_~_~_~_~_~
ANDRÉS NATES M.
Director de implantación e infraestructura.
Nuevos Medios
Calle 25 No. 127-220 Autopista Cali-Jamundí Km. 7
Tel: (572) - 524 07 77 Ext. 2173
Email:  <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED]
Cali <mailto:[EMAIL PROTECTED]>  - Colombia
POLÍTICA DE CALI

RE: Unable to construct service tapestry.multipart.ServletMultipartDecoder

2006-08-16 Thread Andrés Nates
Hello Jesse, I'm have put this version of jars

tapestry-portlet-4.0.2.jar
tapestry-4.0.2.jar
tapestry-annotations-4.0.2.jar
tapestry-contrib-4.0.2.jar
commons-codec-1.3.jar
commons-logging-1.0.4.jar
commons-fileupload-1.1.jar
commons-io-1.2-jar
ognl-2.6.7.jar
oro-2.0.8.jar
hivemind-1.1.1.jar
hivemind-lib-1.1.1.jar


But the error still appear


-Mensaje original-
De: Jesse Kuhnert [mailto:[EMAIL PROTECTED] 
Enviado el: Miércoles, 16 de Agosto de 2006 04:37 p.m.
Para: Tapestry users
Asunto: Re: Unable to construct service
tapestry.multipart.ServletMultipartDecoder

You need fileupload-1.1..

http://tapestry.apache.org/tapestry4/dependencies.html

On 8/16/06, Andrés Nates <[EMAIL PROTECTED]> wrote:
>
> I'm have this version of jar
>
> tapestry-4.0.2
> hivemind-1.1
> hivemind-lib-1.1
> commons-fileupload-1.0
>
> and the file Hivemind.xml look this:
>
> 
> 
>  interface="org.apache.tapestry.engine.IEngineService">
> 
> 
>  value="service:tapestry.url.LinkFactory"/>
> 
> 
> 
>  configuration-id="tapestry.services.ApplicationServices">
>  object="service:com.ttdev.album.ImageService"/>
> 
> 
>  service="page"/>
>  object="instance:com.ttdev.album.ImageServiceEncoder"/>
> 
> 
>  class="org.apache.tapestry.multipart.MultipartDecoderImpl,maxSize=-1"
> model="threaded" />
>     
> 
>
>
> -Mensaje original-
> De: Ryan Holmes [mailto:[EMAIL PROTECTED]
> Enviado el: Miércoles, 16 de Agosto de 2006 03:57 p.m.
> Para: Tapestry users
> Asunto: Re: Unable to construct service
> tapestry.multipart.ServletMultipartDecoder
>
> IIRC, the name of that service changed between Tapestry 4.0 and
> 4.0.1, but your stacktrace looks correct (well, as correct as a
> stacktrace can be).
>
> What versions of the following jars do you have:  tapestry, hivemind,
> hivemind-lib and commons-fileupload?
>
> Also, are you specifying a maximum upload size in your hivemodule.xml
> file? It will look something like this:
>
> id="tapestry.multipart.ServletMultipartDecoder">
>  
> class="org.apache.tapestry.multipart.MultipartDecoderImpl,maxSize=50
> "
>model="threaded" />
>
>
> If so, copy and paste that into your response.
>
> -Ryan
>
> On Aug 16, 2006, at 7:26 AM, Andrés Nates wrote:
>
> > When I'm run de example of the component upload, this example has a
> > basic
> > upload component for images (jpeg).  This is the error message
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > org.apache.hivemind.ApplicationRuntimeException: Unable to
> > construct service
> > tapestry.multipart.ServletMultipartDecoder: Could not load class
> > org.apache.tapestry.multipart.MultipartDecoderImpl from
> > WebappClassLoader
> >   delegate: false
> >   repositories:
> > /WEB-INF/classes/
> > --> Parent Classloader:
> > [EMAIL PROTECTED]
> > : org/apache/commons/fileupload/servlet/ServletFileUpload
> >
> > org.apache.hivemind.impl.servicemodel.ThreadedServiceModel.constructSe
> > rviceF
> > orCurrentThread(ThreadedServiceModel.java:186)
> >
> > org.apache.hivemind.impl.servicemodel.ThreadedServiceModel.getServiceI
> > mpleme
> > ntationForCurrentThread(ThreadedServiceModel.java:157)
> >
> > $ServletMultipartDecoder_10d0ea93c7e._service
> > ($ServletMultipartDecoder_10d0e
> > a93c7e.java)
> >
> > $ServletMultipartDecoder_10d0ea93c7e.cleanup
> > ($ServletMultipartDecoder_10d0ea
> > 93c7e.java)
> >
> > $ServletMultipartDecoder_10d0ea93c7f.cleanup
> > ($ServletMultipartDecoder_10d0ea
> > 93c7f.java)
> >
> > org.apache.tapestry.multipart.MultipartDecoderFilter.service
> > (MultipartDecode
> > rFilter.java:57)
> >
> > $ServletRequestServicerFilter_10d0ea93cbe.service
> > ($ServletRequestServicerFil
> > ter_10d0ea93cbe.java)
> >
> > $ServletRequestServicer_10d0ea93cc6.service
> > ($ServletRequestServicer_10d0ea93
> > cc6.java)
> >
> > org.apache.tapestry.services.impl.SetupRequestEncoding.service
> > (SetupRequestE
> > ncoding.java:53)
> >
> > $ServletRequestServicerFilter_10d0ea93cc2.service
> > ($ServletRequestServicerFil
> > ter_10d0ea93cc2.java)
> >
> > $ServletReque

Re: Unable to construct service tapestry.multipart.ServletMultipartDecoder

2006-08-16 Thread Jesse Kuhnert

You need fileupload-1.1..

http://tapestry.apache.org/tapestry4/dependencies.html

On 8/16/06, Andrés Nates <[EMAIL PROTECTED]> wrote:


I'm have this version of jar

tapestry-4.0.2
hivemind-1.1
hivemind-lib-1.1
commons-fileupload-1.0

and the file Hivemind.xml look this:























-Mensaje original-
De: Ryan Holmes [mailto:[EMAIL PROTECTED]
Enviado el: Miércoles, 16 de Agosto de 2006 03:57 p.m.
Para: Tapestry users
Asunto: Re: Unable to construct service
tapestry.multipart.ServletMultipartDecoder

IIRC, the name of that service changed between Tapestry 4.0 and
4.0.1, but your stacktrace looks correct (well, as correct as a
stacktrace can be).

What versions of the following jars do you have:  tapestry, hivemind,
hivemind-lib and commons-fileupload?

Also, are you specifying a maximum upload size in your hivemodule.xml
file? It will look something like this:

   
 
   

If so, copy and paste that into your response.

-Ryan

On Aug 16, 2006, at 7:26 AM, Andrés Nates wrote:

> When I'm run de example of the component upload, this example has a
> basic
> upload component for images (jpeg).  This is the error message
>
>
>
>
>
>
>
>
>
> org.apache.hivemind.ApplicationRuntimeException: Unable to
> construct service
> tapestry.multipart.ServletMultipartDecoder: Could not load class
> org.apache.tapestry.multipart.MultipartDecoderImpl from
> WebappClassLoader
>   delegate: false
>   repositories:
> /WEB-INF/classes/
> --> Parent Classloader:
> [EMAIL PROTECTED]
> : org/apache/commons/fileupload/servlet/ServletFileUpload
>
> org.apache.hivemind.impl.servicemodel.ThreadedServiceModel.constructSe
> rviceF
> orCurrentThread(ThreadedServiceModel.java:186)
>
> org.apache.hivemind.impl.servicemodel.ThreadedServiceModel.getServiceI
> mpleme
> ntationForCurrentThread(ThreadedServiceModel.java:157)
>
> $ServletMultipartDecoder_10d0ea93c7e._service
> ($ServletMultipartDecoder_10d0e
> a93c7e.java)
>
> $ServletMultipartDecoder_10d0ea93c7e.cleanup
> ($ServletMultipartDecoder_10d0ea
> 93c7e.java)
>
> $ServletMultipartDecoder_10d0ea93c7f.cleanup
> ($ServletMultipartDecoder_10d0ea
> 93c7f.java)
>
> org.apache.tapestry.multipart.MultipartDecoderFilter.service
> (MultipartDecode
> rFilter.java:57)
>
> $ServletRequestServicerFilter_10d0ea93cbe.service
> ($ServletRequestServicerFil
> ter_10d0ea93cbe.java)
>
> $ServletRequestServicer_10d0ea93cc6.service
> ($ServletRequestServicer_10d0ea93
> cc6.java)
>
> org.apache.tapestry.services.impl.SetupRequestEncoding.service
> (SetupRequestE
> ncoding.java:53)
>
> $ServletRequestServicerFilter_10d0ea93cc2.service
> ($ServletRequestServicerFil
> ter_10d0ea93cc2.java)
>
> $ServletRequestServicer_10d0ea93cc6.service
> ($ServletRequestServicer_10d0ea93
> cc6.java)
>
> $ServletRequestServicer_10d0ea93cb8.service
> ($ServletRequestServicer_10d0ea93
> cb8.java)
>
> org.apache.tapestry.ApplicationServlet.doService
> (ApplicationServlet.java:123
> )
>
> org.apache.tapestry.ApplicationServlet.doPost
> (ApplicationServlet.java:168)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
>
>
>
>
> Anybody know how to fix this error ?
>
>
>
>
>
>
>
> Cordialmente,
> ~_~_~_~_~_~_~_~_~_~_~_~_~_~_~_~_~
> ANDRÉS NATES M.
> Director de implantación e infraestructura.
> Nuevos Medios
> Calle 25 No. 127-220 Autopista Cali-Jamundí Km. 7
> Tel: (572) - 524 07 77 Ext. 2173
> Email:  <mailto:[EMAIL PROTECTED]>
> [EMAIL PROTECTED]
> Cali <mailto:[EMAIL PROTECTED]>  - Colombia
> POLÍTICA DE CALIDAD
> Proveer soluciones tecnológicas de software para la gestión del
> conocimiento cumpliendo lo pactado con los clientes mediante el
> mejoramiento continuo y la innovación, apoyado en la sinergia
> corporativa de Parquesoft.
>
>
>

Ryan Holmes, CISSP

[EMAIL PROTECTED]
ph. (213) 626-0026



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





--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.0/420 - Release Date: 16/08/2006



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





--
Jesse Kuhnert
Tapestry/Dojo/(and a dash of TestNG), team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.


RE: Unable to construct service tapestry.multipart.ServletMultipartDecoder

2006-08-16 Thread Andrés Nates
I'm have this version of jar 

tapestry-4.0.2
hivemind-1.1
hivemind-lib-1.1
commons-fileupload-1.0

and the file Hivemind.xml look this:



















 



-Mensaje original-
De: Ryan Holmes [mailto:[EMAIL PROTECTED] 
Enviado el: Miércoles, 16 de Agosto de 2006 03:57 p.m.
Para: Tapestry users
Asunto: Re: Unable to construct service
tapestry.multipart.ServletMultipartDecoder

IIRC, the name of that service changed between Tapestry 4.0 and  
4.0.1, but your stacktrace looks correct (well, as correct as a  
stacktrace can be).

What versions of the following jars do you have:  tapestry, hivemind,  
hivemind-lib and commons-fileupload?

Also, are you specifying a maximum upload size in your hivemodule.xml  
file? It will look something like this:

   
 
   

If so, copy and paste that into your response.

-Ryan

On Aug 16, 2006, at 7:26 AM, Andrés Nates wrote:

> When I’m run de example of the component upload, this example has a  
> basic
> upload component for images (jpeg).  This is the error message
>
>
>
>
>
>
>
>
>
> org.apache.hivemind.ApplicationRuntimeException: Unable to  
> construct service
> tapestry.multipart.ServletMultipartDecoder: Could not load class
> org.apache.tapestry.multipart.MultipartDecoderImpl from  
> WebappClassLoader
>   delegate: false
>   repositories:
> /WEB-INF/classes/
> --> Parent Classloader:
> [EMAIL PROTECTED]
> : org/apache/commons/fileupload/servlet/ServletFileUpload
>
> org.apache.hivemind.impl.servicemodel.ThreadedServiceModel.constructSe 
> rviceF
> orCurrentThread(ThreadedServiceModel.java:186)
>
> org.apache.hivemind.impl.servicemodel.ThreadedServiceModel.getServiceI 
> mpleme
> ntationForCurrentThread(ThreadedServiceModel.java:157)
>
> $ServletMultipartDecoder_10d0ea93c7e._service 
> ($ServletMultipartDecoder_10d0e
> a93c7e.java)
>
> $ServletMultipartDecoder_10d0ea93c7e.cleanup 
> ($ServletMultipartDecoder_10d0ea
> 93c7e.java)
>
> $ServletMultipartDecoder_10d0ea93c7f.cleanup 
> ($ServletMultipartDecoder_10d0ea
> 93c7f.java)
>
> org.apache.tapestry.multipart.MultipartDecoderFilter.service 
> (MultipartDecode
> rFilter.java:57)
>
> $ServletRequestServicerFilter_10d0ea93cbe.service 
> ($ServletRequestServicerFil
> ter_10d0ea93cbe.java)
>
> $ServletRequestServicer_10d0ea93cc6.service 
> ($ServletRequestServicer_10d0ea93
> cc6.java)
>
> org.apache.tapestry.services.impl.SetupRequestEncoding.service 
> (SetupRequestE
> ncoding.java:53)
>
> $ServletRequestServicerFilter_10d0ea93cc2.service 
> ($ServletRequestServicerFil
> ter_10d0ea93cc2.java)
>
> $ServletRequestServicer_10d0ea93cc6.service 
> ($ServletRequestServicer_10d0ea93
> cc6.java)
>
> $ServletRequestServicer_10d0ea93cb8.service 
> ($ServletRequestServicer_10d0ea93
> cb8.java)
>
> org.apache.tapestry.ApplicationServlet.doService 
> (ApplicationServlet.java:123
> )
>
> org.apache.tapestry.ApplicationServlet.doPost 
> (ApplicationServlet.java:168)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
>
>
>
>
> Anybody know how to fix this error ?
>
>
>
>
>
>
>
> Cordialmente,
> ~_~_~_~_~_~_~_~_~_~_~_~_~_~_~_~_~
> ANDRÉS NATES M.
> Director de implantación e infraestructura.
> Nuevos Medios
> Calle 25 No. 127-220 Autopista Cali-Jamundí Km. 7
> Tel: (572) - 524 07 77 Ext. 2173
> Email:  <mailto:[EMAIL PROTECTED]>
> [EMAIL PROTECTED]
> Cali <mailto:[EMAIL PROTECTED]>  - Colombia
> POLÍTICA DE CALIDAD
> Proveer soluciones tecnológicas de software para la gestión del
> conocimiento cumpliendo lo pactado con los clientes mediante el
> mejoramiento continuo y la innovación, apoyado en la sinergia
> corporativa de Parquesoft.
>
>
>

Ryan Holmes, CISSP

[EMAIL PROTECTED]
ph. (213) 626-0026



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





-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.0/420 - Release Date: 16/08/2006



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



Re: Unable to construct service tapestry.multipart.ServletMultipartDecoder

2006-08-16 Thread Ryan Holmes
IIRC, the name of that service changed between Tapestry 4.0 and  
4.0.1, but your stacktrace looks correct (well, as correct as a  
stacktrace can be).


What versions of the following jars do you have:  tapestry, hivemind,  
hivemind-lib and commons-fileupload?


Also, are you specifying a maximum upload size in your hivemodule.xml  
file? It will look something like this:


  id="tapestry.multipart.ServletMultipartDecoder">

   
class="org.apache.tapestry.multipart.MultipartDecoderImpl,maxSize=50 
"

  model="threaded" />
  

If so, copy and paste that into your response.

-Ryan

On Aug 16, 2006, at 7:26 AM, Andrés Nates wrote:

When I’m run de example of the component upload, this example has a  
basic

upload component for images (jpeg).  This is the error message









org.apache.hivemind.ApplicationRuntimeException: Unable to  
construct service

tapestry.multipart.ServletMultipartDecoder: Could not load class
org.apache.tapestry.multipart.MultipartDecoderImpl from  
WebappClassLoader

  delegate: false
  repositories:
/WEB-INF/classes/
--> Parent Classloader:
[EMAIL PROTECTED]
: org/apache/commons/fileupload/servlet/ServletFileUpload

org.apache.hivemind.impl.servicemodel.ThreadedServiceModel.constructSe 
rviceF

orCurrentThread(ThreadedServiceModel.java:186)

org.apache.hivemind.impl.servicemodel.ThreadedServiceModel.getServiceI 
mpleme

ntationForCurrentThread(ThreadedServiceModel.java:157)

$ServletMultipartDecoder_10d0ea93c7e._service 
($ServletMultipartDecoder_10d0e

a93c7e.java)

$ServletMultipartDecoder_10d0ea93c7e.cleanup 
($ServletMultipartDecoder_10d0ea

93c7e.java)

$ServletMultipartDecoder_10d0ea93c7f.cleanup 
($ServletMultipartDecoder_10d0ea

93c7f.java)

org.apache.tapestry.multipart.MultipartDecoderFilter.service 
(MultipartDecode

rFilter.java:57)

$ServletRequestServicerFilter_10d0ea93cbe.service 
($ServletRequestServicerFil

ter_10d0ea93cbe.java)

$ServletRequestServicer_10d0ea93cc6.service 
($ServletRequestServicer_10d0ea93

cc6.java)

org.apache.tapestry.services.impl.SetupRequestEncoding.service 
(SetupRequestE

ncoding.java:53)

$ServletRequestServicerFilter_10d0ea93cc2.service 
($ServletRequestServicerFil

ter_10d0ea93cc2.java)

$ServletRequestServicer_10d0ea93cc6.service 
($ServletRequestServicer_10d0ea93

cc6.java)

$ServletRequestServicer_10d0ea93cb8.service 
($ServletRequestServicer_10d0ea93

cb8.java)

org.apache.tapestry.ApplicationServlet.doService 
(ApplicationServlet.java:123

)

org.apache.tapestry.ApplicationServlet.doPost 
(ApplicationServlet.java:168)

javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)





Anybody know how to fix this error ?







Cordialmente,
~_~_~_~_~_~_~_~_~_~_~_~_~_~_~_~_~
ANDRÉS NATES M.
Director de implantación e infraestructura.
Nuevos Medios
Calle 25 No. 127-220 Autopista Cali-Jamundí Km. 7
Tel: (572) - 524 07 77 Ext. 2173
Email:  
[EMAIL PROTECTED]
Cali   - Colombia
POLÍTICA DE CALIDAD
Proveer soluciones tecnológicas de software para la gestión del
conocimiento cumpliendo lo pactado con los clientes mediante el
mejoramiento continuo y la innovación, apoyado en la sinergia
corporativa de Parquesoft.





Ryan Holmes, CISSP

[EMAIL PROTECTED]
ph. (213) 626-0026



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