You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Stanczak Group <ju...@stanczakgroup.com> on 2006/04/29 20:14:09 UTC
MultipartDecoder maxSize setting?
What's the new method to set the max file size, I can't seem to find it
in the docs, google, or in the code. Also if someone could point out how
to look in the code and find the answer it would help me in the future.
Here's the story. Was using 4.0 and set the maxSize like said on the
docs. Got message that parameter didn't exist. Looked in code to see it
wasn't there. Download 4.0.1 looked in code to see it was there, and it
was. Setup like online docs say and now get "unknown service point
tapestry.multipart.MultipartDecoder.". So, looked in sources again to
find answer, but don't know how to find it (for example in /WEB-INF,
didn't see the answer in tapestry.multipart.xml).
--
Justin Stanczak
Stanczak Group
812-735-3600
"All that is necessary for the triumph of evil is that good men do nothing."
Edmund Burke
..________...............__.................
./ _____/..____..._____/..|_..____...____....
/...\..____/.__.\./....\...__\/.._.\./._..\....
\....\_\..\..___/|...|..\..|.(..<_>.|.<_>..)....
.\______../\___.._\__|../__|..\____/.\____/......
........\/.....\/.....\/..........................
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: MultipartDecoder maxSize setting?
Posted by qiuguang <qi...@yahoo.com.cn>.
i have done just like the above
<?xml version="1.0"?>
<module id="MyHiveMind" version="1.0.0" package="com.ttdev.album">
<implementation service-id="tapestry.multipart.ServletMultipartDecoder">
<create-instance
class="org.apache.tapestry.multipart.MultipartDecoderImpl,maxSize=-1"
model="threaded" />
</implementation>
</module>
but when i start the tomcat
it shows the errors as following:
**********************************************************
org.apache.hivemind.ApplicationRuntimeException: Error at
context:/WEB-INF/hivemodule.xml, line 34, column 109: Module MyHiveMind
contributed to unknown service point
tapestry.multipart.ServletMultipartDecoder. The contribution has been
ignored.
location: context:/WEB-INF/hivemodule.xml, line 34, column 109
org.apache.hivemind.impl.StrictErrorHandler.error(StrictErrorHandler.java:39)
org.apache.hivemind.impl.RegistryInfrastructureConstructor.addServiceInstanceBuilder(RegistryInfrastructureConstructor.java:568)
org.apache.hivemind.impl.RegistryInfrastructureConstructor.addImplementations(RegistryInfrastructureConstructor.java:544)
org.apache.hivemind.impl.RegistryInfrastructureConstructor.addImplementations(RegistryInfrastructureConstructor.java:423)
org.apache.hivemind.impl.RegistryInfrastructureConstructor.addImplementationsAndContributions(RegistryInfrastructureConstructor.java:399)
org.apache.hivemind.impl.RegistryInfrastructureConstructor.constructRegistryInfrastructure(RegistryInfrastructureConstructor.java:176)
org.apache.hivemind.impl.RegistryBuilder.constructRegistry(RegistryBuilder.java:151)
org.apache.tapestry.ApplicationServlet.constructRegistry(ApplicationServlet.java:253)
org.apache.tapestry.ApplicationServlet.init(ApplicationServlet.java:194)
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
org.apache.catalina.core.StandardService.start(StandardService.java:448)
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
org.apache.catalina.startup.Catalina.start(Catalina.java:552)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
so what is the matter? THS
--
View this message in context: http://www.nabble.com/MultipartDecoder-maxSize-setting--tf1530250.html#a10091984
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: MultipartDecoder maxSize setting?
Posted by Stanczak Group <ju...@stanczakgroup.com>.
Ok.
Brian K. Wallace wrote:
> If Tapestry docs need updating, please file an issue in JIRA
> (http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10573) so it
> won't be forgotten.
>
> Brian
>
> Ryan Holmes wrote:
> >> Yes, that's correct. The docs need to be updated. The
> >> tapestry.multipart.MultipartDecoder service id was changed to
> >> tapestry.multipart.ServletMultipartDecoder, probably to help
> >> differentiate it from the
> >> tapestry.portlet.multipart.PortletMultipartDecoder service id.
> >>
> >> An easy way to look up HiveMind service id's is via the HiveDoc report
> >> on the Tapestry home page. It's in the menu under
> >> Framework->Reports->HiveDoc.
> >>
> >> -Ryan
> >>
> >> Stanczak Group wrote:
> >>> Seems changing it to ServletMultipartDecoder fixes it, but is the the
> >>> correct way?
> >>>
> >>> Here's what I have in the hivemodule.xml:
> >>>
> >>> <implementation
> service-id="tapestry.multipart.ServletMultipartDecoder">
> >>> <create-instance
> >>> class="org.apache.tapestry.multipart.MultipartDecoderImpl,maxSize=-1"
> >>> model="threaded" />
> >>> </implementation>
> >>>
> >>> Stanczak Group wrote:
> >>>
> >>>> What's the new method to set the max file size, I can't seem to
> find it
> >>>> in the docs, google, or in the code. Also if someone could point
> out how
> >>>> to look in the code and find the answer it would help me in the
> future.
> >>>> Here's the story. Was using 4.0 and set the maxSize like said on the
> >>>> docs. Got message that parameter didn't exist. Looked in code to
> see it
> >>>> wasn't there. Download 4.0.1 looked in code to see it was there,
> and it
> >>>> was. Setup like online docs say and now get "unknown service point
> >>>> tapestry.multipart.MultipartDecoder.". So, looked in sources again to
> >>>> find answer, but don't know how to find it (for example in /WEB-INF,
> >>>> didn't see the answer in tapestry.multipart.xml).
> >>>>
> >>>>
> >>>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >>
> >>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
>
> --
> Justin Stanczak
> Stanczak Group
> 812-735-3600
>
> "All that is necessary for the triumph of evil is that good men do
> nothing."
> Edmund Burke
>
> ..________...............__.................
> ./ _____/..____..._____/..|_..____...____....
> /...\..____/.__.\./....\...__\/.._.\./._..\....
> \....\_\..\..___/|...|..\..|.(..<_>.|.<_>..)....
> .\______../\___.._\__|../__|..\____/.\____/......
> ........\/.....\/.....\/..........................
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: MultipartDecoder maxSize setting?
Posted by Stanczak Group <ju...@stanczakgroup.com>.
It's been posted.
Brian K. Wallace wrote:
> If Tapestry docs need updating, please file an issue in JIRA
> (http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10573) so it
> won't be forgotten.
>
> Brian
>
> Ryan Holmes wrote:
> >> Yes, that's correct. The docs need to be updated. The
> >> tapestry.multipart.MultipartDecoder service id was changed to
> >> tapestry.multipart.ServletMultipartDecoder, probably to help
> >> differentiate it from the
> >> tapestry.portlet.multipart.PortletMultipartDecoder service id.
> >>
> >> An easy way to look up HiveMind service id's is via the HiveDoc report
> >> on the Tapestry home page. It's in the menu under
> >> Framework->Reports->HiveDoc.
> >>
> >> -Ryan
> >>
> >> Stanczak Group wrote:
> >>> Seems changing it to ServletMultipartDecoder fixes it, but is the the
> >>> correct way?
> >>>
> >>> Here's what I have in the hivemodule.xml:
> >>>
> >>> <implementation
> service-id="tapestry.multipart.ServletMultipartDecoder">
> >>> <create-instance
> >>> class="org.apache.tapestry.multipart.MultipartDecoderImpl,maxSize=-1"
> >>> model="threaded" />
> >>> </implementation>
> >>>
> >>> Stanczak Group wrote:
> >>>
> >>>> What's the new method to set the max file size, I can't seem to
> find it
> >>>> in the docs, google, or in the code. Also if someone could point
> out how
> >>>> to look in the code and find the answer it would help me in the
> future.
> >>>> Here's the story. Was using 4.0 and set the maxSize like said on the
> >>>> docs. Got message that parameter didn't exist. Looked in code to
> see it
> >>>> wasn't there. Download 4.0.1 looked in code to see it was there,
> and it
> >>>> was. Setup like online docs say and now get "unknown service point
> >>>> tapestry.multipart.MultipartDecoder.". So, looked in sources again to
> >>>> find answer, but don't know how to find it (for example in /WEB-INF,
> >>>> didn't see the answer in tapestry.multipart.xml).
> >>>>
> >>>>
> >>>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >>
> >>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
>
> --
> Justin Stanczak
> Stanczak Group
> 812-735-3600
>
> "All that is necessary for the triumph of evil is that good men do
> nothing."
> Edmund Burke
>
> ..________...............__.................
> ./ _____/..____..._____/..|_..____...____....
> /...\..____/.__.\./....\...__\/.._.\./._..\....
> \....\_\..\..___/|...|..\..|.(..<_>.|.<_>..)....
> .\______../\___.._\__|../__|..\____/.\____/......
> ........\/.....\/.....\/..........................
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: MultipartDecoder maxSize setting?
Posted by "Brian K. Wallace" <br...@transmorphix.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
If Tapestry docs need updating, please file an issue in JIRA
(http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10573) so it
won't be forgotten.
Brian
Ryan Holmes wrote:
> Yes, that's correct. The docs need to be updated. The
> tapestry.multipart.MultipartDecoder service id was changed to
> tapestry.multipart.ServletMultipartDecoder, probably to help
> differentiate it from the
> tapestry.portlet.multipart.PortletMultipartDecoder service id.
>
> An easy way to look up HiveMind service id's is via the HiveDoc report
> on the Tapestry home page. It's in the menu under
> Framework->Reports->HiveDoc.
>
> -Ryan
>
> Stanczak Group wrote:
>> Seems changing it to ServletMultipartDecoder fixes it, but is the the
>> correct way?
>>
>> Here's what I have in the hivemodule.xml:
>>
>> <implementation service-id="tapestry.multipart.ServletMultipartDecoder">
>> <create-instance
>> class="org.apache.tapestry.multipart.MultipartDecoderImpl,maxSize=-1"
>> model="threaded" />
>> </implementation>
>>
>> Stanczak Group wrote:
>>
>>> What's the new method to set the max file size, I can't seem to find it
>>> in the docs, google, or in the code. Also if someone could point out how
>>> to look in the code and find the answer it would help me in the future.
>>> Here's the story. Was using 4.0 and set the maxSize like said on the
>>> docs. Got message that parameter didn't exist. Looked in code to see it
>>> wasn't there. Download 4.0.1 looked in code to see it was there, and it
>>> was. Setup like online docs say and now get "unknown service point
>>> tapestry.multipart.MultipartDecoder.". So, looked in sources again to
>>> find answer, but don't know how to find it (for example in /WEB-INF,
>>> didn't see the answer in tapestry.multipart.xml).
>>>
>>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
iD8DBQFEVgoiaCoPKRow/gARArHpAKC+DgKlCyE2pz1I6kvCNbq02aehWwCfRq3D
949VO2WYbSWf9WDTqslcAhQ=
=Yv8N
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: MultipartDecoder maxSize setting?
Posted by Stanczak Group <ju...@stanczakgroup.com>.
Ok, thanks.
Ryan Holmes wrote:
> Yes, that's correct. The docs need to be updated. The
> tapestry.multipart.MultipartDecoder service id was changed to
> tapestry.multipart.ServletMultipartDecoder, probably to help
> differentiate it from the
> tapestry.portlet.multipart.PortletMultipartDecoder service id.
>
> An easy way to look up HiveMind service id's is via the HiveDoc report
> on the Tapestry home page. It's in the menu under
> Framework->Reports->HiveDoc.
>
> -Ryan
>
> Stanczak Group wrote:
>> Seems changing it to ServletMultipartDecoder fixes it, but is the the
>> correct way?
>>
>> Here's what I have in the hivemodule.xml:
>>
>> <implementation service-id="tapestry.multipart.ServletMultipartDecoder">
>> <create-instance
>> class="org.apache.tapestry.multipart.MultipartDecoderImpl,maxSize=-1"
>> model="threaded" />
>> </implementation>
>>
>> Stanczak Group wrote:
>>
>>> What's the new method to set the max file size, I can't seem to find it
>>> in the docs, google, or in the code. Also if someone could point out
>>> how
>>> to look in the code and find the answer it would help me in the future.
>>> Here's the story. Was using 4.0 and set the maxSize like said on the
>>> docs. Got message that parameter didn't exist. Looked in code to see it
>>> wasn't there. Download 4.0.1 looked in code to see it was there, and it
>>> was. Setup like online docs say and now get "unknown service point
>>> tapestry.multipart.MultipartDecoder.". So, looked in sources again to
>>> find answer, but don't know how to find it (for example in /WEB-INF,
>>> didn't see the answer in tapestry.multipart.xml).
>>>
>>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
--
Justin Stanczak
Stanczak Group
812-735-3600
"All that is necessary for the triumph of evil is that good men do nothing."
Edmund Burke
..________...............__.................
./ _____/..____..._____/..|_..____...____....
/...\..____/.__.\./....\...__\/.._.\./._..\....
\....\_\..\..___/|...|..\..|.(..<_>.|.<_>..)....
.\______../\___.._\__|../__|..\____/.\____/......
........\/.....\/.....\/..........................
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: MultipartDecoder maxSize setting?
Posted by Ryan Holmes <ry...@hyperstep.com>.
Yes, that's correct. The docs need to be updated. The
tapestry.multipart.MultipartDecoder service id was changed to
tapestry.multipart.ServletMultipartDecoder, probably to help
differentiate it from the
tapestry.portlet.multipart.PortletMultipartDecoder service id.
An easy way to look up HiveMind service id's is via the HiveDoc report
on the Tapestry home page. It's in the menu under
Framework->Reports->HiveDoc.
-Ryan
Stanczak Group wrote:
> Seems changing it to ServletMultipartDecoder fixes it, but is the the
> correct way?
>
> Here's what I have in the hivemodule.xml:
>
> <implementation service-id="tapestry.multipart.ServletMultipartDecoder">
> <create-instance
> class="org.apache.tapestry.multipart.MultipartDecoderImpl,maxSize=-1"
> model="threaded" />
> </implementation>
>
> Stanczak Group wrote:
>
>> What's the new method to set the max file size, I can't seem to find it
>> in the docs, google, or in the code. Also if someone could point out how
>> to look in the code and find the answer it would help me in the future.
>> Here's the story. Was using 4.0 and set the maxSize like said on the
>> docs. Got message that parameter didn't exist. Looked in code to see it
>> wasn't there. Download 4.0.1 looked in code to see it was there, and it
>> was. Setup like online docs say and now get "unknown service point
>> tapestry.multipart.MultipartDecoder.". So, looked in sources again to
>> find answer, but don't know how to find it (for example in /WEB-INF,
>> didn't see the answer in tapestry.multipart.xml).
>>
>>
>>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: MultipartDecoder maxSize setting?
Posted by Stanczak Group <ju...@stanczakgroup.com>.
Seems changing it to ServletMultipartDecoder fixes it, but is the the
correct way?
Here's what I have in the hivemodule.xml:
<implementation service-id="tapestry.multipart.ServletMultipartDecoder">
<create-instance
class="org.apache.tapestry.multipart.MultipartDecoderImpl,maxSize=-1"
model="threaded" />
</implementation>
Stanczak Group wrote:
> What's the new method to set the max file size, I can't seem to find it
> in the docs, google, or in the code. Also if someone could point out how
> to look in the code and find the answer it would help me in the future.
> Here's the story. Was using 4.0 and set the maxSize like said on the
> docs. Got message that parameter didn't exist. Looked in code to see it
> wasn't there. Download 4.0.1 looked in code to see it was there, and it
> was. Setup like online docs say and now get "unknown service point
> tapestry.multipart.MultipartDecoder.". So, looked in sources again to
> find answer, but don't know how to find it (for example in /WEB-INF,
> didn't see the answer in tapestry.multipart.xml).
>
>
--
Justin Stanczak
Stanczak Group
812-735-3600
"All that is necessary for the triumph of evil is that good men do nothing."
Edmund Burke
..________...............__.................
./ _____/..____..._____/..|_..____...____....
/...\..____/.__.\./....\...__\/.._.\./._..\....
\....\_\..\..___/|...|..\..|.(..<_>.|.<_>..)....
.\______../\___.._\__|../__|..\____/.\____/......
........\/.....\/.....\/..........................
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org