Re: [jboss-user] [jBPM] - jBPM5 Developer Guide – Request for Feedback
by Herman Post
Herman Post [http://community.jboss.org/people/hbpost] commented on the document
"jBPM5 Developer Guide – Request for Feedback"
To view all comments on this document, visit: http://community.jboss.org/docs/DOC-17427#comment-8692
--------------------------------------------------
By "explained in other places" I meant the JBoss Rules Developer's Guide, but if you are going to focus on their use in Processes then that's fine. If the intent of your book is to be a basic overview, then building examples throughout the course of it is fine. I guess what I feel there is a need for is more of a reference: when one understands the basic concepts and is trying to be productive, what is often times lacking with many projects is a quick reference that explains how to do something specific, especially more advanced things. Having to dig into the source code unit tests is just not efficient. Nonetheless, we look forward to your book.
Regards
--------------------------------------------------
12 years, 4 months
[JBoss Web Services] - Custom exceptions with @WebFault
by Kirill Linnik
Kirill Linnik [http://community.jboss.org/people/kirillica] created the discussion
"Custom exceptions with @WebFault"
To view the discussion, visit: http://community.jboss.org/message/645091#645091
--------------------------------------------------------------
Hi there,
I've tried several different combinations with no success, while case seems to be easy.
The thing is: I need custom exception with some additional properties.
If I do smth like this ( http://io.typepad.com/eben_hewitt_on_java/tech_notes/ http://io.typepad.com/eben_hewitt_on_java/tech_notes/), I recieve:
18:12:44,553 WARN [org.apache.cxf.jaxws.interceptors.WebFaultOutInterceptor] Exception occurred while writing fault.: org.apache.cxf.interceptor.Fault: Marshalling Error: class my.cutsom.exception.Fault nor any of its super class is known to this context.
at org.apache.cxf.jaxb.JAXBEncoderDecoder.marshall(JAXBEncoderDecoder.java:254) [:2.3.1-patch-01]
at org.apache.cxf.jaxb.io.DataWriterImpl.write(DataWriterImpl.java:169) [:2.3.1-patch-01]
at org.apache.cxf.jaxws.interceptors.WebFaultOutInterceptor.handleMessage(WebFaultOutInterceptor.java:115) [:2.3.1-patch-01]
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255) [:2.3.1-patch-01]
at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:99) [:2.3.1-patch-01]
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:311) [:2.3.1-patch-01]
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:113) [:2.3.1-patch-01]
at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:97) [:2.3.1-patch-01]
at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:461) [:2.3.1-patch-01]
at org.jboss.wsf.stack.cxf.ServletControllerExt.invoke(ServletControllerExt.java:172) [:3.4.1.GA]
at org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:57) [:3.4.1.GA]
at org.jboss.wsf.stack.cxf.transport.ServletHelper.callRequestHandler(ServletHelper.java:156) [:3.4.1.GA]
at org.jboss.wsf.stack.cxf.CXFNonSpringServletExt.invoke(CXFNonSpringServletExt.java:90) [:3.4.1.GA]
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179) [:2.3.1-patch-01]
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:103) [:2.3.1-patch-01]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [:1.0.0.Final]
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159) [:2.3.1-patch-01]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.1.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.1.0.Final]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:6.1.0.Final]
at org.apache.catalina.core.StandardContextValve.__invoke(StandardContextValve.java:161) [:6.1.0.Final]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java) [:6.1.0.Final]
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.1.0.Final]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:593) [:6.1.0.Final]
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) [:1.1.0.Final]
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) [:1.1.0.Final]
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.1.0.Final]
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.1.0.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:159) [:6.1.0.Final]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:6.1.0.Final]
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.1.0.Final]
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:397) [:6.1.0.Final]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:6.1.0.Final]
at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.1.0.Final]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:6.1.0.Final]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:6.1.0.Final]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654) [:6.1.0.Final]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.1.0.Final]
at java.lang.Thread.run(Unknown Source) [:1.6.0_29]
Code snippets:
@WebFault(name = "WebServiceException", targetNamespace = "http://www.ww")
public class WebServiceException extends Exception {
private static final long serialVersionUID = 6441007395053274685L;
private WebServiceExceptionFaultDto faultInfo;
public WebServiceException(String message, WebServiceExceptionFaultDto faultIFault){
super(message);
this.faultInfo = faultIFault;
}
public WebServiceException(String message, WebServiceExceptionFaultDto faultIFault, Throwable cause){
super(message, cause);
this.faultInfo = faultIFault;
}
public WebServiceExceptionFaultDto getFaultInfo() {
return faultInfo;
}
}
@XmlRootElement(name = "WebServiceException", namespace = "http://www.ww")
@XmlType(propOrder = { "message" })
public class WebServiceExceptionFaultDto {
private String message;
public WebServiceExceptionFaultDto(String message) {
this.message = message;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
}
If I do:
throw new WebServiceException("111", new WebServiceExceptionFaultDto("222"));
Then in SOAP response I get:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>111</faultstring>
<detail/>
</soap:Fault>
</soap:Body>
</soap:Envelope>
And log error like described above. Any Ideas?
Platform: JBoss6.1, Java6
Thanks in advance,
Kirill
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/645091#645091]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
12 years, 4 months
[Performance Tuning] - Re: Cpu 100% and GC is running
by Peter Johnson
Peter Johnson [http://community.jboss.org/people/peterj] created the discussion
"Re: Cpu 100% and GC is running"
To view the discussion, visit: http://community.jboss.org/message/645086#645086
--------------------------------------------------------------
Why are you assuming that the daemon thread increase has anything to do with GC? Based on the GC data you provided, GCs happen every 3 seconds and are very short. The thread graph from VisualVM shows something completely different - the thread count is steady for a long time until suddenly it grows and then once again is steady. I think that there is another explanation for the growth in threads. It is almost as if, for example, a new EJB was accessed and the app server instantiated a number of them, each on its own thread.
I suggest that you take a thread dump, one before the daemon thread increase and another after, and examine the thread dump looking threads labelled "daemon".
By the way, the GC threads are always running. Take a thread dump and you should see 4 or 5 of them (based on your settings). They are there even when GC is not running. I hope that you have at least 4 cores - you should never set the number of GC threads to a larger number than the number of cores.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/645086#645086]
Start a new discussion in Performance Tuning at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
12 years, 4 months
Re: [jboss-user] [jBPM] - jBPM5 Developer Guide – Request for Feedback
by Mauricio Salatino
Mauricio Salatino [http://community.jboss.org/people/salaboy21] commented on the document
"jBPM5 Developer Guide – Request for Feedback"
To view all comments on this document, visit: http://community.jboss.org/docs/DOC-17427#comment-8691
--------------------------------------------------
Hi Herman,
The book will be focused on jBPM and Human Tasks have a complete chapter. When you say that Rules and Fusion are explained in other places, what do you mean exactly? I mean, their relationship with Business Processes as far as I know it's not explained anywhere else. That's why I think that is so important to cover them in this book. I'm planning to use this book as introduction to a future version that covers the three perspective in depth, so in some way I need to introduce the topics and show the strenght of this approach.
I'm also worried about you asking for simple examples, we should be clear here. Simple examples will not represent your real implementation. Simple examples can be done to show one component functionality, but not all working together. If you want isolated examples about each topic you can usully go to each component inside jBPM and take a look on the unit tests for those components. Those tests lacks of what I belive that is extremely important, the business scenario. I will do my best to keep everything decouple and provide an easy to read chapter by chapter book, but at some point you will need to understand the basics in order to start skipping chapters and see specific examples that integrates several concepts.
Cheers
--------------------------------------------------
12 years, 4 months
[jBPM] - JUnit ProcessTest - groups are ignored?
by Pascal S
Pascal S [http://community.jboss.org/people/spascal] created the discussion
"JUnit ProcessTest - groups are ignored?"
To view the discussion, visit: http://community.jboss.org/message/645055#645055
--------------------------------------------------------------
Hi,
I have written a simple JUnit test with two HumanTasks and two Groups, but I think the test ignores groups.
I use in the test a different goupname as i have define in the processdefinition, but the has test pased.:-(
I would be very happy If someone can test my test. ;-)
{code}
package de.akquinet.jbpm5demo.myWorkflow.testing.examples;
import java.util.ArrayList;
import java.util.List;
import org.drools.runtime.StatefulKnowledgeSession;
import org.jbpm.task.TaskService;
import org.jbpm.test.JbpmJUnitTestCase;
import org.jbpm.workflow.instance.WorkflowProcessInstance;
import org.junit.Test;
public class MySimpleTwoHumanTaskTwoGroupsExample extends JbpmJUnitTestCase {
private static final String PROCESS_FILE_NAME = "mySimpleTwoHumanTaskTwoGroupsExample.bpmn";
private static final String PROCESS_ID = "mySimpleTwoHumanTaskTwoGroupsExample";
public MySimpleTwoHumanTaskTwoGroupsExample() {
super(true);
}
private static final String USER_1 = "user1";
private static final String USER_2 = "user2";
private static final String GROUP_1 = "blubb"; //not the same groupname as in the processdefinition
private static final String GROUP_2 = "group2";
private static final List<String> GROUP_LIST_1 = new ArrayList<String>();
private static final List<String> GROUP_LIST_2 = new ArrayList<String>();
@Test
public void testProcess() {
GROUP_LIST_1.add(GROUP_1);
GROUP_LIST_2.add(GROUP_2);
StatefulKnowledgeSession ksession = createKnowledgeSession(PROCESS_FILE_NAME);
TaskService taskService = getTaskService(ksession);
WorkflowProcessInstance processInstance = (WorkflowProcessInstance) ksession.startProcess(PROCESS_ID);
assertProcessInstanceActive(processInstance.getId(), ksession);
assertNodeTriggered(processInstance.getId(), "StartProcess");
assertNodeTriggered(processInstance.getId(), "Human Task 1");
long taskId =taskService.getTasksAssignedAsPotentialOwner(USER_1, GROUP_LIST_1, "en-UK").get(0).getId();
taskService.claim(taskId, USER_1, GROUP_LIST_1);
taskService.start(taskId, USER_1);
taskService.complete(taskId, USER_1, null);
assertNodeTriggered(processInstance.getId(), "Human Task 2");
long task2Id = taskService.getTasksAssignedAsPotentialOwner(USER_2, GROUP_LIST_2, "en-UK").get(0).getId();
taskService.claim(task2Id, USER_2, GROUP_LIST_2);
taskService.start(task2Id, USER_2);
taskService.complete(task2Id, USER_2, null);
assertProcessInstanceCompleted(processInstance.getId(), ksession);
ksession.dispose();
}
}
{code}
jBPM 5.2 with the jBPM 5.2 Eclipse Plug-In
regards
Pascal
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/645055#645055]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
12 years, 4 months
[jBPM] - JBPM and WebLogic - someone with success?
by Thomas Nakken
Thomas Nakken [http://community.jboss.org/people/thomastn] created the discussion
"JBPM and WebLogic - someone with success?"
To view the discussion, visit: http://community.jboss.org/message/642337#642337
--------------------------------------------------------------
Hi
We have trouble with Jpbm5.1 on Weblogic 10.3.4 and Oracle database. The problem is with HumanTask and persistent. For the moment we are able to create HumanTasks, but not able to "fetch" them and complete them. Does someone have a workling sample of jbpm5.1 (or 5.2) for Weblogic. Interestet in looking at at persistence.xml file and the code to setup the HumanTask server. Adding our files here, so if some smart jbpm people can se what we are doing wrong, we wold have a happy X-mas..
Config from persistance.xml
<property name=+"hibernate.connection.datasource"+ value=+"jdbc/jbpm"+ />
<property name=+"hibernate.max_fetch_depth"+ value=+"3"+ />
<property name=+"hibernate.hbm2ddl.auto"+ value=+"create-drop"+ />
<property name=+"hibernate.show_sql"+ value=+"true"+ />
<property name=+"hibernate.transaction.manager_lookup_class"+ value=+"org.hibernate.transaction.WeblogicTransactionManagerLookup"+ />
<property name=+"hibernate.dialect"+ value=+"org.hibernate.dialect.OracleDialect"+ />
<property name=+"hibernate.connection.autocommit"+ value=+"false"+ />
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/642337#642337]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
12 years, 4 months
[Beginner's Corner] - JBoss:EJB is not creating table in MySQL DB
by Gurubg G
Gurubg G [http://community.jboss.org/people/gurubg] created the discussion
"JBoss:EJB is not creating table in MySQL DB"
To view the discussion, visit: http://community.jboss.org/message/580992#580992
--------------------------------------------------------------
Hello Folks,
I have a strange problem, I am not receiving any error when I deploy my http://www.coderanch.com/forums/f-11/EJB-JEE EJB project to http://www.coderanch.com/forums/f-63/JBoss JBoss . I have a single entity bean defined and expecting it to be created in MySQL DB. But strangely I do not see any table created . Has anyone faced the same problem before ?
I am using Eclipse IDE, MySQL server 51.1 and JBoss 5.0.1 server..
Please find the log attached ..
And I am posting the configuration files I have used.
|| *Peristence.xml* ||
| <?xml version="1.0" encoding="UTF-8" ?>
<persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
<persistence-unit name="LessonDS-PU" transaction-type="JTA">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<jta-data-source>java:/lessonds</jta-data-source>
<exclude-unlisted-classes>false</exclude-unlisted-classes>
<properties>
<property name="hibernate.hbm2ddl.auto" value="create-drop"/>
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQLInnoDBDialect"/>
</properties>
</persistence-unit>
</persistence> |
|| *mysql-ds.xml* ||
| <?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: mysql-ds.xml 41017 2006-02-07 14:26:14Z acoliver $ -->
<!-- Datasource config for MySQL using 3.0.9 available from:
http://www.mysql.com/downloads/api-jdbc-stable.html
-->
<datasources>
<local-tx-datasource>
<jndi-name>lessonds</jndi-name>
<connection-url>jdbc:mysql://localhost:3306/lessonds</connection-url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
<user-name>root</user-name>
<password>guru</password>
<!-- <connection-property name="autoReconnect">true</connection-property> -->
<metadata>
<type-mapping>mySQL</type-mapping>
</metadata>
</local-tx-datasource>
</datasources> |
I have placed the DB conenctor file mysql-connector-java-5.1.14-bin.jar in \server\default\lib folder ..
This is my code for Entity which I am trying to create
|| *Entity bean* ||
|
package com.lessonejb.entities;
import java.io.Serializable;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToMany;
import javax.persistence.Table;
import javax.persistence.OneToMany;
//@SuppressWarnings("serial")
@Entity
@Table(name="lessonuser")
public class User implements Serializable {
private static final CascadeType[] ALL = null;
private String email;
private String password;
private String name;
private String surname;
private int role;
private long userID;
private Set <Course> coursesCreated;
private Set <Course> coursesEnrolled;
private Set <Test> testsCreated;
private Set <Test> testsTaken;
/**
* Gets the analysis unique identifier.
* This field is used as primary key for persistence.
* @return analysis unique identifier
*/
@Id
public String getEmail()
{
return email;
}
/**
* Sets the analysis unique identifier
* @param id unique identifier to set
*/
public void setEmail(String email)
{
this.email = email;
}
/** Password */
public String getPassword()
{
return password;
}
public void setPassword(String email)
{
this.password = password;
}
/** Name of the user */
public String getName()
{
return name;
}
public void setName(String name)
{
this.name = name;
}
/** Surname of the user */
public String getSurname()
{
return surname;
}
public void setSurname(String surname)
{
this.surname = surname;
}
/** Role of the user 1-Trainer, 2-Trainee, 3-Assistant*/
public int getRole()
{
return role;
}
public void setRole(int role)
{
this.role = role;
}
/** Role of the user 1-Trainer, 2-Trainee, 3-Assistant*/
public long getUserID()
{
return userID;
}
public void setUserID(long userID)
{
this.userID = userID;
}} |
But I do not see any table named "lessonuser" created in the "lessonds" database.
Can someone point out if I am going wrong somewhere ?
Thanks in advance ..
Guru
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/580992#580992]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
12 years, 4 months
[Performance Tuning] - Cpu 100% and GC is running
by sreenivas arumilli
sreenivas arumilli [http://community.jboss.org/people/arumilli] created the discussion
"Cpu 100% and GC is running"
To view the discussion, visit: http://community.jboss.org/message/644809#644809
--------------------------------------------------------------
Hi,
We have observered the CPU is touch 100% usage while GC running in JVM for couple of secs and (daemon)threads are increasing from 200 to 500.
Following are the GC logs:
> 2012-01-05T09:55:04.131000: 9748.990: [GC [PSYoungGen: 1269344K->24844K(1274944K)] 1644968K->410570K(3931200K), 0.1539430 secs]
> 2012-01-05T09:55:06.901000: 9751.760: [GC [PSYoungGen: 1266572K->16787K(1275200K)] 1652298K->412469K(3931456K), 0.1403010 secs]
> 2012-01-05T09:55:09.826000: 9754.685: [GC [PSYoungGen: 1258515K->28069K(1272640K)] 1654197K->427708K(3928896K), 0.0863350 secs]
> 2012-01-05T09:55:12.573000: 9757.432: [GC [PSYoungGen: 1267749K->28986K(1268672K)] 1667388K->442158K(3924928K), 0.1925500 secs]
> 2012-01-05T09:55:15.415000: 9760.274: [GC [PSYoungGen: 1268666K->29813K(1269760K)] 1681838K->456553K(3926016K), 0.1983170 secs]
> 2012-01-05T09:55:18.400000: 9763.259: [GC [PSYoungGen: 1263605K->25547K(1271232K)] 1690345K->465817K(3927488K), 0.0741820 secs]
> 2012-01-05T09:55:21.030000: 9765.889: [GC [PSYoungGen: 1259339K->28609K(1270464K)] 1699609K->479890K(3926720K), 0.0903450 secs]
> 2012-01-05T09:55:23.691000: 9768.550: [GC [PSYoungGen: 1262145K->23413K(1271104K)] 1713426K->486897K(3927360K), 0.0705770 secs]
> 2012-01-05T09:55:26.348000: 9771.207: [GC [PSYoungGen: 1256949K->20455K(1273152K)] 1720433K->492161K(3929408K), 0.0597660 secs]
> 2012-01-05T09:55:28.934000: 9773.793: [GC [PSYoungGen: 1257383K->25634K(1272448K)] 1729089K->504501K(3928704K), 0.0641520 secs]
> 2012-01-05T09:55:31.628000: 9776.487: [GC [PSYoungGen: 1262562K->24623K(1274304K)] 1741429K->513884K(3930560K), 0.0649770 secs]
> 2012-01-05T09:55:34.698000: 9779.557: [GC [PSYoungGen: 1263791K->34357K(1273536K)] 1753052K->531695K(3929792K), 0.0710200 secs]
> 2012-01-05T09:55:37.427000: 9782.286: [GC [PSYoungGen: 1273525K->32264K(1261248K)] 1770863K->550162K(3917504K), 0.0734510 secs]
> 2012-01-05T09:55:40.007000: 9784.866: [GC [PSYoungGen: 1258376K->36728K(1262848K)] 1776274K->572739K(3919104K), 0.0913590 secs]
> 2012-01-05T09:55:42.520000: 9787.379: [GC [PSYoungGen: 1262840K->21809K(1265728K)] 1798851K->578910K(3921984K), 0.0735170 secs]
> 2012-01-05T09:55:44.996000: 9789.855: [GC [PSYoungGen: 1243889K->21991K(1265024K)] 1800990K->585886K(3921280K), 0.0672800 secs]
> 2012-01-05T09:55:47.506000: 9792.365: [GC [PSYoungGen: 1244071K->25800K(1268032K)] 1807966K->597725K(3924288K), 0.0715630 secs]
> 2012-01-05T09:55:50.101000: 9794.960: [GC [PSYoungGen: 1251720K->20716K(1266560K)] 1823645K->603125K(3922816K), 0.0660460 secs]
> 2012-01-05T09:55:52.527000: 9797.386: [GC [PSYoungGen: 1246636K->17876K(1268672K)] 1829045K->606765K(3924928K), 0.0609200 secs]
> 2012-01-05T09:55:54.990000: 9799.849: [GC [PSYoungGen: 1246420K->22689K(1268544K)] 1835309K->615465K(3924800K), 0.0649620 secs]
> 2012-01-05T09:55:57.464000: 9802.323: [GC [PSYoungGen: 1251233K->16658K(1269824K)] 1844009K->617066K(3926080K), 0.0643570 secs]
> 2012-01-05T09:55:59.967000: 9804.826: [GC [PSYoungGen: 1247570K->15072K(1269760K)] 1847978K->619016K(3926016K), 0.0599230 secs]
> 2012-01-05T09:56:02.499000: 9807.358: [GC [PSYoungGen: 1245984K->16908K(1270400K)] 1849928K->623478K(3926656K), 0.0640130 secs]
> 2012-01-05T09:56:05.053000: 9809.912: [GC [PSYoungGen: 1248460K->13682K(1269824K)] 1855030K->625222K(3926080K), 0.0592950 secs]
> 2012-01-05T09:56:07.780000: 9812.639: [GC [PSYoungGen: 1245234K->7300K(1269056K)] 1856774K->623595K(3925312K), 0.0493350 secs]
> 2012-01-05T09:56:10.469000: 9815.328: [GC [PSYoungGen: 1238148K->5620K(1236480K)] 1854443K->623920K(3892736K), 0.0413330 secs]
> 2012-01-05T09:56:13.238000: 9818.097: [GC [PSYoungGen: 1236468K->7042K(1269248K)] 1854768K->627137K(3925504K), 0.0379700 secs]
> 2012-01-05T09:56:15.948000: 9820.807: [GC [PSYoungGen: 1236802K->7586K(1269184K)] 1856897K->629529K(3925440K), 0.0296320 secs]
> 2012-01-05T09:56:18.617000: 9823.476: [GC [PSYoungGen: 1237346K->10997K(1271104K)] 1859289K->635764K(3927360K), 0.0349820 secs]
> 2012-01-05T09:56:21.153000: 9826.012: [GC [PSYoungGen: 1243189K->9572K(1269760K)] 1867956K->638488K(3926016K), 0.0305350 secs]
> 2012-01-05T09:56:54.537000: 9859.396: [GC [PSYoungGen: 1241764K->11066K(1273536K)] 1870680K->642061K(3929792K), 0.0356580 secs]
> 2012-01-05T09:58:26: 9950.859: [GC [PSYoungGen: 1248058K->16924K(1272128K)] 1879053K->649544K(3928384K), 0.0543600 secs]
>
and my JVM settings are
> -Dprogram.name=run.sh
> -Dprogram.name=run.sh
> -Xms3872m
> -Xmx3872m
> -Dsun.rmi.dgc.client.gcInterval=3600000
> -Dsun.rmi.dgc.server.gcInterval=3600000
> -XX:NewSize=1278m
> -XX:MaxNewSize=1278m
> -Djava.net.preferIPv4Stack=true
> -XX:MaxPermSize=256m
> -Djavax.net.ssl.trustStore=/opt/properties/.keystore
> -Djavax.net.ssl.trustStorePassword=changeit
> -Dcom.sun.management.jmxremote.port=8888
> -Djava.rmi.server.hostname=xx.xx.xx.xx
> -Dcom.sun.management.jmxremote.ssl=false
> -Dcom.sun.management.jmxremote
> -XX:+PrintGCDetails
> -Xloggc:/opt/gc.log
> -XX:+UseTLAB
> -Xss256k
>
Regards,
Arumilli.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/644809#644809]
Start a new discussion in Performance Tuning at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
12 years, 4 months