-
1. Re: managing picture (and other binary) files
julien1 Aug 24, 2004 11:28 AM (in response to cuoz)the new installer for nukes-1.1 takes pictures and put them in the HTML module for the news module. so default news module icons reside here now. for me it makes sense, the HTML module should have an interface so it is possible to know its content easily.
-
2. Re: managing picture (and other binary) files
theute Aug 24, 2004 11:35 AM (in response to cuoz)What errors do you have ? And which are your 2 posts ?
If you have an out of memory error you can try using the fileupload.jar in the wiki page about "know bugs" -
3. Re: managing picture (and other binary) files
cuoz Aug 24, 2004 1:02 PM (in response to cuoz)I'm getting 500 errors from some filter. I don't explicitly see "out of memory", but I saw some other posts related to that. I'm gonna up the JVM memory and restart JBoss to see if it helps. I can't do it until tonight. I'll let you know how I make out if that helps or not.
Here are my 2 previous posts:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=51293
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=50720 -
4. Re: managing picture (and other binary) files
theute Aug 24, 2004 1:50 PM (in response to cuoz)Ok from your other posts, it's not a OOME.
If you can try the 1.1.0RC3 that may solve the problem.
If you want to try it very quick, just grab the standalone version. there is nothing to setup. You can see if it works.
There are even already some icons as examples. -
5. Re: managing picture (and other binary) files
milesparker Aug 24, 2004 8:06 PM (in response to cuoz)"cuoz" wrote:
What's the recommended strategy for managing pictures and other binary files (presentations, etc.) in nukes? Do folks store them as static content on the webserver and just link to them (outside of nukes)? Or do you upload them into nukes?
In CVS HEAD (Not in 1.1, I think) I have added functionality to allow the upload of an entire archive (.zip file, etc..) into exploded directories in the Nukes repository -- this should make the process of adding abunch of binary files a bit easier. HTH!
But I have also had no end of issues uploading larger files to nukes (see earlier post) in my case I don't get specific errors at all, Nukes just hangs. -
6. Re: managing picture (and other binary) files
theute Aug 24, 2004 8:22 PM (in response to cuoz)MilesParker, i think you forgot to commit the HTMLModule.java file, there is no hook to your plugin.
There is no reference to Archive plugin. -
7. Re: managing picture (and other binary) files
cuoz Aug 25, 2004 1:44 PM (in response to cuoz)I wanted to provide an update: Increasing the JVM memory fixed the problem. Although I didn't actually see an OOME, I guess that was the cause of my problems.
Thanks for the tips.
Gary. -
8. Re: managing picture (and other binary) files
milesparker Aug 25, 2004 3:37 PM (in response to cuoz)"theute" wrote:
MilesParker, i think you forgot to commit the HTMLModule.java file, there is no hook to your plugin.
I had forgotten it! (First time using cvs.) Its in there now, let me know what you think. -
9. Re: managing picture (and other binary) files
milesparker Aug 25, 2004 3:38 PM (in response to cuoz)"cuoz" wrote:
I wanted to provide an update: Increasing the JVM memory fixed the problem. Although I didn't actually see an OOME, I guess that was the cause of my problems.
What do you have it at? I'm at 800MB IIRC correctly, but still have issues. -
10. Re: managing picture (and other binary) files
cuoz Aug 25, 2004 3:42 PM (in response to cuoz)This is a really low-end box with only 384MB ram. I have the JVM set for 256MB. It's running on a very stripped down Debian linux and runs fine. I have only done small uploads so far (~100k), but at least it's working.
-
11. Re: managing picture (and other binary) files
theute Aug 25, 2004 4:09 PM (in response to cuoz)"MilesParker" wrote:
I had forgotten it! (First time using cvs.) Its in there now, let me know what you think.
I just tried it, it works very well.
We will just have to do more error handling, i didn't put the "/" at the end and it complained that i forget the first "/", took me few seconds to see my mistake.
Thanks for your contribution, i hope you will stay around to contribute some more ;) -
12. Re: managing picture (and other binary) files
milesparker Aug 25, 2004 6:59 PM (in response to cuoz)"theute" wrote:
We will just have to do more error handling, i didn't put the "/" at the end and it complained that i forget the first "/", took me few seconds to see my mistake.
Hmm: error msg should be:
The root directory must start with a '/' then you can add zero or more 'dir/' patterns (i.e: /[dir/]*)
I followed model for files upload, but yea this could all be a lot more intuitive. Starting perhaps with changing the module name from managehtml to managefiles or something similar. tbc on developer forum."theute" wrote:
Thanks for your contribution, i hope you will stay around to contribute some more ;)
As time permits, whic is not much! -- then again, I have invested so much time figuring things out I hate to waste it! :-)