serg-l schrieb:
Hi!
I'm found strange things when try T5.1.0.2...
Under mvn jetty:run everything work properly...

1. When I'm perform integration tests (mvn test), after testing of several
pages I'm receive java.lang.OutOfMemoryError: Java heap space


Yeah, we have two kinds of unit tests in place: regular unit tests and kind of "integration tests" where we use JUnit as a tool. Those integration tests always use a lof of memory, because a spring context is used, real database connections and all the bells and whistles.

We saw those OutOfMemory exceptions on a regular basis for our integratiuon tests, but never for unit tests.

Our solution was to give maven a little bit more memory than the default by setting the environment variable
  MAVEN_OPTS=-Xmx256m

Please try that. It might be that your problem is unrelated to T5.

256m is a high value. You may also have good results by using 128m or less...


Andy




2. When I'm perform mvn package, install war, launch Jetty and try manually
test form with Zone, I'm receive something like that: Return type org.apache.tapestry5.internal.structure.BlockImpl can not be
handled. Configured return types are java.lang.Class, java.lang.String,
java.net.URL, org.apache.tapestry5.Link,
org.apache.tapestry5.StreamResponse, org.apache.tapestry5.runtime.Component. Also I'm see that some PageLinks incorrectly displays in status bar and also don't work properly.

Can't say anything about that, sorry.



If it need I'm give additional explanations...
Under T5.1.0.1 I'm don't have this problems.
Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to