Yep, that's normal. It's an age-old JVM/class-loading issue (try googling it). Try running with these java options (or even bigger numbers if you have the memory): -XX:MaxNewSize=96m -XX:MaxPermSize=96m.

On 25/06/2008, at 11:31 PM, Angelo Chen wrote:


hi,

althought reloadable="true" works, but i have memory problems now which not
there before:

Exception in thread "Timer-5" java.lang.OutOfMemoryError: PermGen space [ERROR] RequestExceptionHandler Processing of request failed with uncaught
exception: PermGen space
java.lang.OutOfMemoryError: PermGen space
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java: 124)
        at
org .apache .catalina .loader.WebappClassLoader.findClassInternal(WebappClassLoader.java: 1819)
        at
org .apache .catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java: 872)
        at
org .apache .catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java: 1327)
        at
org .apache .catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java: 1206)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java: 124)
        at
org .apache .catalina .loader.WebappClassLoader.findClassInternal(WebappClassLoader.java: 1819)
        at
org .apache .catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java: 872)
        at
org .apache .catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java: 1327)
        at
org .apache .catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java: 1206)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at
org .hibernate .hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:224)
        at
org .hibernate .hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:160)
        at
org .hibernate .hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:111) at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java: 77)


Geoff Callender-2 wrote:

Does setting reloadable="true" in the Context element of context.xml
fix it?

On 25/06/2008, at 6:58 PM, Angelo Chen wrote:


Hi,

I use tomcat 6 and IDEA IDE, in the IDEA I set the project's
exploded
directory to:

/Users/abc/myapp/ROOT

and the above directory is mapped as an entry under $CATALINA_HOME.
in the
IDEA i did not run or debug, just compile/build, the T5 picks up any
changes
I made to the template file, but not the page classes, I checked the
above
directory and can see the java class has been compiled and placed in
the
correct directory, just the changes are not reflected until I re-
boot the
server, any idea why? Thanks.

Angelo
--
View this message in context:
http://www.nabble.com/T5%3Aclass-reloading-problem-with-Tomcat-6-tp18107826p18107826.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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]




--
View this message in context: 
http://www.nabble.com/T5%3Aclass-reloading-problem-with-Tomcat-6-tp18107826p18112541.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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


Reply via email to