-
1. Re: Jboss Seam 2.0.0.CR1 toooooo slow
nemya Oct 3, 2007 9:37 AM (in response to nemya)I've just noticed that when I'm disconnect from Internet, It doesn't work anymore and I have this exception:
java.lang.RuntimeException: org.dom4j.DocumentException: jboss.com Nested exception: jboss.com
It seems that Jboss Server is connecting to Jboss web site. This can explain why it is so slow.
Is there something I can do to avoid it from connecting to the internet.
Thank you -
3. Re: Jboss Seam 2.0.0.CR1 toooooo slow
nemya Oct 3, 2007 10:02 AM (in response to nemya)I've already updated the xsd references.
For pages.xml:<?xml version="1.0" encoding="UTF-8"?> <pages xmlns="http://jboss.com/products/seam/pages" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.0.xsd">
and for components.xml:<?xml version="1.0" encoding="UTF-8"?> <components xmlns="http://jboss.com/products/seam/components" xmlns:core="http://jboss.com/products/seam/core" xmlns:bpm="http://jboss.com/products/seam/bpm" xmlns:persistence="http://jboss.com/products/seam/persistence" xmlns:security="http://jboss.com/products/seam/security" xmlns:framework="http://jboss.com/products/seam/framework" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation= "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd http://jboss.com/products/seam/bpm http://jboss.com/products/seam/bpm-2.0.xsd http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.0.xsd http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.0.xsd http://jboss.com/products/seam/framework http://jboss.com/products/seam/framework-2.0.xsd http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd">
But still the same problem.
Help! -
4. Re: Jboss Seam 2.0.0.CR1 toooooo slow
mgrouch Oct 3, 2007 11:27 AM (in response to nemya)Seam Team,
Can you include all versions of Seam xsd/dtd into jar?
It seems many people keep encountering same issue.
Thanks -
5. Re: Jboss Seam 2.0.0.CR1 toooooo slow
swd847 Oct 3, 2007 7:08 PM (in response to nemya)Or log an error message if a page using an out of date schema is found, so people don't leave pages using the out of date schema's lying around forever.
-
6. Re: Jboss Seam 2.0.0.CR1 toooooo slow
pmuir Oct 3, 2007 7:10 PM (in response to nemya)swd847 - I prefer this approach, please log a jira feature request.
-
7. Re: Jboss Seam 2.0.0.CR1 toooooo slow
nemya Oct 4, 2007 7:04 AM (in response to nemya)Hi,
I avoided it from connecting to the internet. But the problem remains the same: It is tooo slow. It is also very slow with projects newly generated with seam-gen. Is the problem coming from Seam or from JBoss Server.
thank you -
8. Re: Jboss Seam 2.0.0.CR1 toooooo slow
nickarls Oct 4, 2007 7:08 AM (in response to nemya)"nemya" wrote:
Hi,
I avoided it from connecting to the internet. But the problem remains the same: It is tooo slow. It is also very slow with projects newly generated with seam-gen. Is the problem coming from Seam or from JBoss Server.
thank you
Make sure your log4j file appender is not triggering on DEBUG or something. Are there large log files in ./server/default/log? -
9. Re: Jboss Seam 2.0.0.CR1 toooooo slow
nemya Oct 4, 2007 7:16 AM (in response to nemya)yes I have a huge server.log file growing more and more while I'm using my application. How can I stop this?
-
10. Re: Jboss Seam 2.0.0.CR1 toooooo slow
nickarls Oct 4, 2007 7:18 AM (in response to nemya)edit jboss-log4j.xml in ./server/default/conf, look for
<appender name="FILE"
and change
<param name="Threshold" value="DEBUG" to "INFO" -
11. Re: Jboss Seam 2.0.0.CR1 toooooo slow
nemya Oct 4, 2007 7:18 AM (in response to nemya)In my server/default/conf/jboss-log4j.xml I have :
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
-
12. Re: Jboss Seam 2.0.0.CR1 toooooo slow
nickarls Oct 4, 2007 7:20 AM (in response to nemya)Thats log4j:s internal logging. Just change the threshold (or remote the file appender from the root logger category at the end of the conf file)
-
13. Re: Jboss Seam 2.0.0.CR1 toooooo slow
nemya Oct 4, 2007 7:33 AM (in response to nemya)Thank you
This resolved the problem of the huge log file, but I still have a slow application. With Seam 1.2.1.GA+ JBOSS AS 4.0.5.GA response time was<1s, and now it is > 20s!!! -
14. Re: Jboss Seam 2.0.0.CR1 toooooo slow
nemya Oct 4, 2007 7:35 AM (in response to nemya)Ouuuuf!
I found the solution!
I just edited the launch configuration of the server. In VM arguments I put -XX:MaxPermSize=256M -Xmx1024M
4.0.5.GA was working fine without this config!
Thank you all