On the memory problem... Try searching the mailing list for OutOfMemoryError. For instance, http://marc.theaimsgroup.com/?l=tapestry-user&w=2&r=1&s=OutOfMemoryError&q=b
There was a good thread about it on Jan. 31st. One tip there was to add to your JAVA_OPTS (which JBoss looks at, or at least my old JBoss version does) the options -XX:MaxNewSize and -XX:MaxPermSize. After I added those, I could do a lot more hot redeploys before getting the OOME. I can't remember the last timeI saw one, actually. My complete JAVA_OPTS for development is: -server -ea -Dorg.apache.tapestry.disable-caching=true -Xms256m -Xmx256m -XX:MaxNewSize=256m -XX:MaxPermSize=256m ----- Original Message ----- From: "Chris Chiappone" <[EMAIL PROTECTED]> To: "Tapestry users" <[email protected]> Sent: Thursday, August 11, 2005 8:57 PM Subject: Re: updating html and page files with JBOSS I've tried that but it seems to take JBOSS a while to undeploy the re-deploy, it also seems to use up more memory that way. I'm working on my laptop for development and with JBOSS, Eclipse, postgres and everything else I have running it doesn't take long to get out of memory errors. On 8/11/05, Mark Stang <[EMAIL PROTECTED]> wrote: > > If you are building a .war file, just re-deploy (copy) it to your directory. JBoss should see it. > > pingfederate-war: > [javac] Compiling 5 source files to /home/mstang/projects/ping/devel/HuronPeak/build/pf-war/classes > [javac] Note: Some input files use unchecked or unsafe operations. > [javac] Note: Recompile with -Xlint:unchecked for details. > [jar] Building jar: /home/mstang/projects/ping/devel/HuronPeak/build/pf-war/lib/pingfederate-cla sses.jar > [war] Building war: /home/mstang/projects/ping/devel/HuronPeak/build/stage/pingfederate3.war > > deploy-saml2: > > pingfederate-war-deploy: > [copy] Copying 1 file to /home/mstang/projects/ping/devel/pingfederate/server/default/deploy > > default: > > BUILD SUCCESSFUL > Total time: 5 seconds > > > I don't shut it down even while debugging. While debugging, I will make source code changes, deploy those and then re-connect with no problems. > > > HTH, > > Mark > > -----Original Message----- > From: Chris Chiappone [mailto:[EMAIL PROTECTED] > Sent: Thu 8/11/2005 1:32 PM > To: Tapestry List > Subject: updating html and page files with JBOSS > > Hi does anyone know how to be able to update html and page files in > JBOSS with out having to restart the webserver every time a little > change is made to one of these files? Also JBOSS puts the deployed > web in a tmp folder with a random number assigned to the folder. Do > you know if this can be static? Thanks. > > -- > ~chris > > --------------------------------------------------------------------- > 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] > > -- ~chris --------------------------------------------------------------------- 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]
