[JBoss Portal] - Facing Connection leak ( INACTIVE State) Problem - Jboss Portal 2.7.2
by Asheesh Patel
Asheesh Patel [https://community.jboss.org/people/asheesh.patel] created the discussion
"Facing Connection leak ( INACTIVE State) Problem - Jboss Portal 2.7.2"
To view the discussion, visit: https://community.jboss.org/message/827547#827547
--------------------------------------------------------------
Hi All,
I am seeing there are many connection in 'INACTIVE' state and are present for more than 12-15 hours. Most of the sessions (around 90%) have executed the below query to JBP_INSTANCE_PER_USER table before moving to inactive state
Checked from last query executed from v$session table and prev_sql_id
[org.hibernate.SQL] select persistent0_.PK as PK6_0_, persistent0_.INSTANCE_PK as INSTANCE2_6_0_, persistent0_.SER_STATE as SER3_6_0_, persistent0_.USER_ID as USER4_6_0_, persistent0_.PORTLET_REF as PORTLET5_6_0_ from JBP_INSTANCE_PER_USER persistent0_ where persistent0_.INSTANCE_PK=? and persistent0_.USER_ID=?
The open connection count is reaching to DB threshold value and the inactive sessions are not getting utilized for serving the new request and DB is creating the new connection. Also I have found the PortalDS connection is running out of connection while checking from JMX console. The in-use connection is touching the maximum connection count and available connection count to zero.
We are using below environment for our application:
*Application server:* Jboss Portal Application 2.7.2
*OS:* Linux
I also did the code review for connection leak, but seems the above query is getting executed by Jboss internally while user logs-in to application portal.
Can anyone please help me out, if encountered the similar problem in Jboss portal application server. Let me know if need more information for issue.
Thanks,
Asheesh Patel
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/827547#827547]
Start a new discussion in JBoss Portal at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 9 months
[jBPM] - JBPM 5.4 on linux redhat kernel 2.6.32-131.0.15.el6.x86_64 can not open drools-guvnor
by Panupong Chantaklang
Panupong Chantaklang [https://community.jboss.org/people/nancomsp] created the discussion
"JBPM 5.4 on linux redhat kernel 2.6.32-131.0.15.el6.x86_64 can not open drools-guvnor"
To view the discussion, visit: https://community.jboss.org/message/827440#827440
--------------------------------------------------------------
*My Step*
1. I install jbpm 5.4 from extract jbpm-5.4.0.Final-installer-full.zip to my developme machine
2. run command ant install.demo.noeclipse
3. run command ant start.demo.noeclipse
Every things look well but when i try to connect http://mydevmachine:8080/drools-guvnor.
i can access first page but system show error 500. After i saw server.log many line show erro like
Caused by: java.sql.SQLException: Java exception: '/app/jbpm-installer/repository/workspaces/default/db/seg0/c3f1.dat (Too many open files): java.io.FileNotFoundException'.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) [derby-10.5.3.0_1.jar:]
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source) [derby-10.5.3.0_1.jar:]
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source) [derby-10.5.3.0_1.jar:]
at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source) [derby-10.5.3.0_1.jar:]
at org.apache.derby.impl.jdbc.Util.javaException(Unknown Source) [derby-10.5.3.0_1.jar:]
at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source) [derby-10.5.3.0_1.jar:]
its mean derby cannot create data file.
How to fix this problems ?
My machhine is VM
- CPU 4 core 2.0 Mhz up
- RAM 8 GB
- Storage 40 GB
Installed Software & OS
- OS linux redhat kernel 2.6.32-131.0.15.el6.x86_64
- Sun JDK 1.6.0_45 64 bit
Thank for any advance.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/827440#827440]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 9 months
[JBoss Cache] - [jboss eap 5.1.2] node's invalidation cache cleared by each other
by Bond Chan
Bond Chan [https://community.jboss.org/people/bondchan921] created the discussion
"[jboss eap 5.1.2] node's invalidation cache cleared by each other"
To view the discussion, visit: https://community.jboss.org/message/788169#788169
--------------------------------------------------------------
greetings,
I'm using jboss cahce 3.2.8 shiped with jboss eap 5.1.2:
step 1: @node A click a link on the browser
-> 153 nodes with values at nodeA
-> 153 nodes without values at nodeB
step 2: @node B click the same link on the browser
-> 153 nodes with values at nodeB
-> 153 nodes without values at nodeA
Then loop the step1 and step2 having the same result of each, so one node always having no values, I tried MVCC and OPTIMISTIC, result is same.
but OPTIMISTIC having the warning :
2013-01-05 19:08:26,540 WARN [org.jboss.cache.interceptors.InvalidationInterceptor] (main:) Unable to broadcast evicts as a part of the prepare phase. Rolling back.
org.jboss.cache.optimistic.DataVersioningException: Node found, but version is not equal to or less than the expected [Ver=1]. Is [Ver=2] instead!
at org.jboss.cache.commands.legacy.write.VersionedInvalidateCommand.perform(VersionedInvalidateCommand.java:115)
at org.jboss.cache.interceptors.CallInterceptor.invokeCommand(CallInterceptor.java:108)
at org.jboss.cache.interceptors.CallInterceptor.handleDefault(CallInterceptor.java:99)
at org.jboss.cache.commands.AbstractVisitor.visitInvalidateCommand(AbstractVisitor.java:90)
at org.jboss.cache.commands.write.InvalidateCommand.acceptVisitor(InvalidateCommand.java:125)
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/788169#788169]
Start a new discussion in JBoss Cache at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 9 months
[JBoss Tools] - Matrix of supported platforms, runtimes and technologies in JBossTools & JBDS
by Nick Boldt
Nick Boldt [https://community.jboss.org/people/nickboldt] modified the document:
"Matrix of supported platforms, runtimes and technologies in JBossTools & JBDS"
To view the document, visit: https://community.jboss.org/docs/DOC-14297
--------------------------------------------------------------
+Note: this page is as up to date & accurate as possible, but is subject to change.+
*Platforms, Runtimes & Technologies*
*
*
The following matrix shows what versions of platforms, runtimes and technologies are supported by JBoss Tools & JBDS.
|| Eclipse (http://www.eclipse.org/downloads/) || JBoss Tools (http://www.jboss.org/tools) || JBDS (https://devstudio.jboss.com) || EAP (http://www.redhat.com/products/jbossenterprisemiddleware/application-plat...) || SOA-P (http://www.redhat.com/products/jbossenterprisemiddleware/soa/) § (#soapnote) || AS (http://www.jboss.org/jbossas) / WildFly (http://wildfly.org/) || Seam (http://seamframework.org/) || JSF (http://www.oracle.com/technetwork/java/javaee/javaserverfaces-139869.html) || RichFaces (http://www.jboss.org/richfaces) (the latest supported version) ||
| 4.3/Kepler | 4.1 | 7.0 | 4.3, 5.0, 6.0, 6.1 | 6.0 Beta1+, 5.3, 5.2, 4.x | 3.2, 4.0, 4.2, 5.0, 5.1, 6.0, 7.0, 8.0 (WildFly) | 1.2, 2.0, 2.1, 2.2, 2.3 | 1.1, 1.2, 2.0 | 3.3.x, 4.0.x |
| 4.2/Juno | 4.0 | 6.0 | 4.3, 5.0, 6.0 | 6.0 Alpha2, 5.3, 5.2, 4.x | 3.2, 4.0, 4.2, 5.0, 5.1, 6.0, 7.0 | 1.2, 2.0, 2.1, 2.2, 2.3 | 1.1, 1.2, 2.0 | 3.3.x, 4.0.x |
| 3.7/Indigo | 3.3 | 5.0 | 4.3, 5.0, 6.0 | 5.3, 5.2, 4.x | 3.2, 4.0, 4.2, 5.0, 5.1, 6.0, 7.0 | 1.2, 2.0, 2.1, 2.2, 2.3 | 1.1, 1.2, 2.0 | 3.3.x, 4.0.x |
| 3.6/Helios | 3.2 | 4.x | 4.3, 5.0 | 5.2, 4.x | 3.2, 4.0, 4.2, 5.0, 5.1, 6.0 | 1.2, 2.0, 2.1, 2.2 | 1.1, 1.2, 2.0 | 3.3.x |
| 3.5/Galileo | 3.1 | 3.0 | 4.3, 5.0 | ? | 3.2, 4.0, 4.2, 5.0, 5.1 | 1.2, 2.0, 2.1, 2.2 | 1.1, 1.2, 2.0 (in VPE) | 3.3.x |
| 3.4/Ganymede | 3.0 | 2.1 | 4.3, 5.0 | ? | 3.2, 4.0, 4.2, 5.0 | 1.2, 2.0, 2.1, 2.2 | 1.1, 1.2 | 3.3.1 |
| 3.3.2/Europa | 2.1.2 | 1.1 | 4.3 | ? | 3.2, 4.0, 4.2, 5.0 | 1.2, 2.0 | 1.1, 1.2 | 3.3.0 |
| 3.3.1.1/Europa | 2.0.1 | 1.0 | 4.2 | ? | 3.2, 4.0, 4.2 | 1.2, 2.0 | 1.1, 1.2 | 3.1.0 |
#+§ - SOA-P is based on EAP (https://access.redhat.com/site/articles/111773).+
*Operating Systems & JDKs*
*
*
This matrix shows what operating systems and JDKs are supported by Eclipse, JBoss Tools & JBDS.
|| JDKs Supported by Eclipse (http://www.eclipse.org/downloads/) || JBoss Tools (http://www.jboss.org/tools) || JBDS (https://devstudio.jboss.com) || Operating System || JDK || Supported?
|| Includes Visual Page Editor? ||
| %6% *4.3/Kepler*
Win7 & RHEL6: JDK 7 or 6
OSX: JDK 7 - Details (http://www.eclipse.org/projects/project-plan.php?planurl=http://www.eclip...)
+*** - Eclipse only supports Win7+
+** - Eclipse only supports OS X 10.8
+ | %6% 4.1 | %6% 7.0 | Windows 7 or 8***, 32-bit | 7 or 6, 32-bit | Yes | Yes |
| Windows 7 or 8***, 64-bit | 7 or 6, 64- or 32-bit | Yes | Yes, using 32-bit JDK only |
| RHEL6 or Fedora, 32-bit | 7 or 6, 32-bit | Yes | Yes |
| RHEL6 or Fedora, 64-bit | 7 or 6, 64- or 32-bit | Yes | Yes |
| OSX 10.8** Cocoa, 32-bit | 7, 32-bit | Yes | Yes |
| OSX 10.8** Cocoa, 64-bit | 7, 64- or 32-bit | Yes | Yes, using 32-bit JDK only - Details (https://issues.jboss.org/browse/JBDS-943) |
| %1,7%
|
| %6% *4.2/Juno*
Win7, WinXP & RHEL6: JDK 7 or 6
Others: JDK 6 - Details (http://www.eclipse.org/projects/project-plan.php?planurl=http://www.eclip...)
+*** - Eclipse.org only tested on Win7 and WinXP
+
+** - +Eclipse.org only tested on+ OS X 10.6+ | %6% 4.0 | %6% 6.0 | Windows XP, 7 or 8***, 32-bit | 7 or 6, 32-bit | Yes | Yes |
| Windows XP, 7 or 8***, 64-bit | 7 or 6, 64- or 32-bit | Yes | Yes, using 32-bit JDK only |
| RHEL6 or Fedora, 32-bit | 7 or 6, 32-bit | Yes | Yes |
| RHEL6 or Fedora, 64-bit | 7 or 6, 64- or 32-bit | Yes | Yes |
| OSX 10.6 - 10.8** Cocoa, 32-bit | 6, 32-bit | Yes | Yes |
| OSX 10.6 - 10.8** Cocoa, 64-bit | 6, 64- or 32-bit | Yes | Yes, using 32-bit JDK only - Details (https://issues.jboss.org/browse/JBDS-943) |
| %1,7%
|
| %6% *3.7/Indigo*
JDK 6 - Details (http://www.eclipse.org/projects/project-plan.php?planurl=http://www.eclip...)
+* - +Eclipse.org only tested on+ OS X 10.6+ | %6% 3.3 | %6% 5.0 | Windows XP or 7, 32-bit | 6, 32-bit | Yes | Yes |
| Windows XP or 7, 64-bit | 6, 64- or 32-bit | Yes | Yes, using 32-bit JDK only |
| RHEL6 or Fedora, 32-bit | 6, 32-bit | Yes | Yes |
| RHEL6 or Fedora, 64-bit | 6, 64- or 32-bit | Yes | Yes |
| OSX 10.6 - 10.7* Cocoa, 32-bit | 6, 32-bit | Yes | Yes |
| OSX 10.6 - 10.7* Cocoa, 64-bit | 6, 64- or 32-bit | Yes | Yes, using 32-bit JDK only - Details (https://issues.jboss.org/browse/JBDS-943) |
| %1,7%
|
| %5% *3.6/Helios*
WinXP and RHEL5: JDK 6 or 5
Others: JDK5 - Details (http://www.eclipse.org/projects/project-plan.php?planurl=http://www.eclip...) | %5% 3.2 | %5% 4.x | Windows XP 32-bit | 6 or 5, 32-bit | Yes | Yes |
| RHEL5 or Fedora, 32-bit | 6 or 5, 32-bit | Yes | Yes |
| RHEL5 or Fedora, 64-bit | 6 or 5, 64- or 32-bit | Yes | Yes |
| OSX 10.5 or 10.6 Cocoa, 32-bit | 5, 32-bit | Yes | Yes |
| OSX 10.5 or 10.6 Cocoa, 64-bit | 5, 64- or 32-bit | Yes | Yes, using 32-bit JDK only - Details (https://issues.jboss.org/browse/JBDS-943) |
| %1,7%
|
| %4% *3.5/Galileo*
WinXP and RHEL5: JDK 6 or 5
Others: JDK5 - Details (http://www.eclipse.org/projects/project-plan.php?planurl=http://www.eclip...) | %4% 3.1 | %4% 3.0 | Windows XP 32-bit | 6 or 5, 32-bit | Yes | Yes |
| RHEL5 or Fedora, 32-bit | 6 or 5, 32-bit | Yes | Yes |
| RHEL5 or Fedora, 64-bit | 6 or 5, 64- or 32-bit | Yes | Yes |
| OSX 10.5 Carbon or Cocoa, 32-bit | 5, 32-bit | Yes | Yes |
| %1,7%
|
| %4% *3.4/Ganymede*
WinXP: JDK 6 or 5
Others: JDK 5 - Details (http://dev.eclipse.org/viewcvs/viewvc.cgi/www/eclipse/development/eclipse...) | %4% 3.0 | %4% 2.1 | Windows XP 32-bit | 6 or 5, 32-bit | Yes | Yes |
| Linux, 32-bit | 5, 32-bit | Yes | Yes |
| Linux, 64-bit | 5, 64- or 32-bit | Yes | Yes |
| OSX 10.5 Carbon, 32-bit | 5, 32-bit | Yes | Yes |
| %1,7%
|
| %4% *3.3/Europa*
JDK 5 - Details (http://dev.eclipse.org/viewcvs/viewvc.cgi/www/eclipse/development/eclipse...) | %4% 2.x | %4% 1.x | Windows XP 32-bit | 5, 32-bit | Yes | Yes |
| Linux, 32-bit | 5, 32-bit | Yes | Yes |
| Linux, 64-bit | 5, 64- or 32-bit | Yes | Yes |
| OSX 10.4 Carbon, 32-bit | 5, 32-bit | Yes | Yes |
*Requirements, Target Platforms, JBoss Central & Extras*
For details regarding target platforms, requirement mirrors, or the contents of JBoss Central / Extras, see this spreadsheet: https://docs.google.com/spreadsheet/ccc?key=0AmGcQy-AtllqdG9XWEYxaldRTnZM... https://docs.google.com/spreadsheet/ccc?key=0AmGcQy-AtllqdG9XWEYxaldRTnZM...
--------------------------------------------------------------
Comment by going to Community
[https://community.jboss.org/docs/DOC-14297]
Create a new document in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&c...]
12 years, 9 months