[Performance Tuning] - Re: JVM pauses periodically
by jamesd256
OK, the problem has receded now, thanks for your input, much appreciated.
The confusing thing was the JVM JMX beans showing the GC times and counts for PS Scavenge and PS MarkSweep painted a totally false picture.
After reading the document suggested by PeterJ, and reading on about Ergonomics of the JVM I arrived at having only one JVM option set:
-XX:MaxGCPauseMillis=500
We now let the JVM manage memory itself, as discussed here:
http://java.sun.com/j2se/1.5.0/docs/guide/vm/gc-ergonomics.html
The other problem was quickly highlighted once all the GC'ing was eliminated; our half hourly DB backup was gumming up the system.
Thanks again to everyone for taking the time.
PeterJ, I had already read your presentation, and I would like to add that I considered implementing something based on your suggestions, but instead of using the GC debug information, getting the info from the JMX beans. The advantages being that i) we already have a graphing solution ready to plug in the output (cacti), and ii) I could turn graphing of GCs on and off without a restart.
However, I now have to conclude that the JMX beans do not paint such a complete or accurate picture as the GC debug output.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172034#4172034
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172034
17 years, 8 months
[EJB/JBoss] - some newbie quesions about transaction.
by liuliu
hi everyone,
I have some questions about transaction
1 If the db(informix 7) does not support transaction, the session bean's TransactionAttribute must to be not_support?If not, it is required by default. i got a RollbackException.
2 when I test the same method with DefautDS(hypersonic) of JBoss, if TransactionAttribute is not_support, i got exception below, Is it normal?
Exception in thread "main" javax.persistence.TransactionRequiredException: EntityManager must be access within a transaction
| at org.jboss.ejb3.entity.ManagedEntityManagerFactory.verifyInTx(ManagedEntityManagerFactory.java:150)
| at org.jboss.ejb3.entity.TransactionScopedEntityManager.persist(TransactionScopedEntityManager.java:181)
| ......
|
3 how can i use these 2 DataSources in one method? I created 2 EntityManager, but there is always an exception because of transaction.
thanks in advance
liu
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172031#4172031
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172031
17 years, 8 months
[JBossWS] - Re: Deploying JDeveloper/Oracle webservices on JBossWS
by cappeca
That discussion is 2 years old, is that still up to date? I have only tried OC4J and JBoss, so I can't say (making arrangements right now to test it with WebSphere). If so, I'd like to see some official statement regarding this.
In any case, this part calls my attention:
"The Oracle Web Service team is currently working on a document explaning how you can create JAX-RPC services and deploy them in different container, but it is still an ongoing project and Tomcat is not the first targetted platform."
Any news on this, since it's been two years?
"Since you look familiar with Apache Axis, it is today the most portable Web Service stack, it has some limitations (support of WS-* for example), but based on your use case it looks using Apache Axis will be the best approach. As you may know Apace Axis is supported on OracleAS 10g R2 and R3."
And this, has anyone with the problem in this thread switched to Apache Axis?
As for the wsdl4j question, I have replaced mine with version 1.6.2, and it still seem incompatible with the Oracle library. Now, before we use the JDeveloper to deploy on JBoss, we have to copy a lot of libraries to the JBoss structure, in a process called ADF Runtime Installation. I'm assuming that should solve the class cast problem, but apparently not. My question is, why is this cast necessary inside JBoss?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172028#4172028
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172028
17 years, 8 months