Re: Problem with upload (works on xp, error on linux)
I found out what happenend: the API changed :) since I always build with maven, I got a more actual wicket-1.4.snapshot.jar thanx alot for your ideas. greetings 2008/10/10 Herbert Winter <[EMAIL PROTECTED]>: > hello, > > I checked tomcats poliy and cannot find anything suspicous. Since I am > familiar with struts, I build a simple UploaderApp, which successfully > uploads to webapps/UploaderApp. > > I get the same error with the samples running mvn jetty:run and also > with the war deployed to jetty the same way. > > cheers > > > 2008/10/10 Timo Rantalaiho <[EMAIL PROTECTED]>: >> On Thu, 09 Oct 2008, Herbert Winter wrote: >>> * I pointed the upload dir to a dir in my home-dir with no >>> writepermissions, no luck of course >>> * I pointed the upload dir to a dir in my home-dir WITH >>> writepermissions, no luck again >> >> Did you check out the security policy settings in Tomcat? >> >> Does the problem occur with Jetty or Winstone? >> >> Best wishes, >> Timo >> >> -- >> Timo Rantalaiho >> Reaktor Innovations Oyhttp://www.ri.fi/ > >> >> - >> 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: Problem with upload (works on xp, error on linux)
hello, I checked tomcats poliy and cannot find anything suspicous. Since I am familiar with struts, I build a simple UploaderApp, which successfully uploads to webapps/UploaderApp. I get the same error with the samples running mvn jetty:run and also with the war deployed to jetty the same way. cheers 2008/10/10 Timo Rantalaiho <[EMAIL PROTECTED]>: > On Thu, 09 Oct 2008, Herbert Winter wrote: >> * I pointed the upload dir to a dir in my home-dir with no >> writepermissions, no luck of course >> * I pointed the upload dir to a dir in my home-dir WITH >> writepermissions, no luck again > > Did you check out the security policy settings in Tomcat? > > Does the problem occur with Jetty or Winstone? > > Best wishes, > Timo > > -- > Timo Rantalaiho > Reaktor Innovations Oyhttp://www.ri.fi/ > > > - > 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: Problem with upload (works on xp, error on linux)
On Thu, 09 Oct 2008, Herbert Winter wrote: > * I pointed the upload dir to a dir in my home-dir with no > writepermissions, no luck of course > * I pointed the upload dir to a dir in my home-dir WITH > writepermissions, no luck again Did you check out the security policy settings in Tomcat? Does the problem occur with Jetty or Winstone? Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations Oyhttp://www.ri.fi/ > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem with upload (works on xp, error on linux)
hello, thanks for your input, more info on this: * I use wicket-1.4-SNAPSHOT.jar * I checked out the code from the repository ... and build the code...so it is not the exactly the same war... * I pointed the upload dir to a dir in my home-dir with no writepermissions, no luck of course * I pointed the upload dir to a dir in my home-dir WITH writepermissions, no luck again * if I use the no-ajax-upload from http://www.wicket-library.com/wicket-examples/upload/ it does not work on different machines running ubuntu 8.04 (desktop) and ubuntu 8.10 (beta, desktop). What else could it be? greetings 2008/10/9 Martijn Dashorst <[EMAIL PROTECTED]>: > If you haven't modified anything between the two wars, then it sounds > like a rights issue. AFAIR some linux distributions restrict > "dangerous things" such as reflection. > > Martijn > > On Wed, Oct 8, 2008 at 12:29 PM, Herbert Winter <[EMAIL PROTECTED]> wrote: >> hello list, >> >> I am a new user of wicket and try to make a simple fileupload like the >> example at http://www.wicket-library.com/wicket-examples/upload/ >> >> The examples work when I deploy to tomcat on win xp. >> However when I use the war on linux ( e.g. Apache Tomcat/6.0.18 | suns >> java 1.6.0_10-rc2-b32 | Linux | 2.6.27-5-generic | i386) and try to >> upload a file in the browser, I get the following, titled Unexpected >> RuntimeException: >> >> WicketMessage: Method onFormSubmitted of interface >> org.apache.wicket.markup.html.form.IFormSubmitListener targeted at >> component [MarkupContainer [Component id = ajax-iconUpload]] threw an >> exception >> >> Root cause: >> >> java.lang.IllegalStateException: Attempt to set model object on null >> model of component: >> page:footer:pluginRepeater:0:plugin:ajax-iconUpload:fileInput >> at org.apache.wicket.Component.setDefaultModelObject(Component.java:2965) >> [...] >> >> Any idea what is happening, any hints? >> >> greetings >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > > -- > Become a Wicket expert, learn from the best: http://wicketinaction.com > Apache Wicket 1.3.4 is released > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. > > - > 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: Problem with upload (works on xp, error on linux)
If you haven't modified anything between the two wars, then it sounds like a rights issue. AFAIR some linux distributions restrict "dangerous things" such as reflection. Martijn On Wed, Oct 8, 2008 at 12:29 PM, Herbert Winter <[EMAIL PROTECTED]> wrote: > hello list, > > I am a new user of wicket and try to make a simple fileupload like the > example at http://www.wicket-library.com/wicket-examples/upload/ > > The examples work when I deploy to tomcat on win xp. > However when I use the war on linux ( e.g. Apache Tomcat/6.0.18 | suns > java 1.6.0_10-rc2-b32 | Linux | 2.6.27-5-generic | i386) and try to > upload a file in the browser, I get the following, titled Unexpected > RuntimeException: > > WicketMessage: Method onFormSubmitted of interface > org.apache.wicket.markup.html.form.IFormSubmitListener targeted at > component [MarkupContainer [Component id = ajax-iconUpload]] threw an > exception > > Root cause: > > java.lang.IllegalStateException: Attempt to set model object on null > model of component: > page:footer:pluginRepeater:0:plugin:ajax-iconUpload:fileInput > at org.apache.wicket.Component.setDefaultModelObject(Component.java:2965) > [...] > > Any idea what is happening, any hints? > > greetings > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.3.4 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem with upload (works on xp, error on linux)
hello list, I am a new user of wicket and try to make a simple fileupload like the example at http://www.wicket-library.com/wicket-examples/upload/ The examples work when I deploy to tomcat on win xp. However when I use the war on linux ( e.g. Apache Tomcat/6.0.18 | suns java 1.6.0_10-rc2-b32 | Linux | 2.6.27-5-generic | i386) and try to upload a file in the browser, I get the following, titled Unexpected RuntimeException: WicketMessage: Method onFormSubmitted of interface org.apache.wicket.markup.html.form.IFormSubmitListener targeted at component [MarkupContainer [Component id = ajax-iconUpload]] threw an exception Root cause: java.lang.IllegalStateException: Attempt to set model object on null model of component: page:footer:pluginRepeater:0:plugin:ajax-iconUpload:fileInput at org.apache.wicket.Component.setDefaultModelObject(Component.java:2965) [...] Any idea what is happening, any hints? greetings - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]