Discussion:
[jboss-user] [jBPM] - JBPM 5.4 on linux redhat kernel 2.6.32-131.0.15.el6.x86_64 can not open drools-guvnor
Panupong Chantaklang
2013-07-11 04:00:56 UTC
Permalink
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&containerType=14&container=2034]
Panupong Chantaklang
2013-07-11 08:54:04 UTC
Permalink
Panupong Chantaklang [https://community.jboss.org/people/nancomsp] created the discussion

"Re: 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/827488#827488

--------------------------------------------------------------
ok every body it's my mistaske
*Becase :* vm machine is new installation and all configurations are default settings
*this case is about :* +maximum open file setting of linux+ is set to low (1024 file)
*solved :* i change it to 30000 per user by this guide http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/ http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/ and every work perfectly


+
+
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/827488#827488]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Loading...