Hi,
I tried creating a new web application for deploying a process definition in
Sun server using the HSQL database. Upon execution of the method -
deployProcessDefinition in a class file, it throws an SQLException shown below.
Anyone please help in sorting this problem
[#|2006-04-28T14:55:05.062+0530|WARNING|sun-appserver-pe8.2|org.hibernate.cfg.SettingsFactory|_ThreadID=11;|Could
not obtain connection metadata
java.sql.SQLException: The database is already in use by another process:
[EMAIL PROTECTED]
=D:\JBPM\jbpm-starters-kit-3.1\jbpm-server\server\jbpm\data\hypersonic\localDB.lck,
exists=true, locked=false, valid=false, fl =sun.nio.ch.FileLockImpl[0:16
exclusive valid]]: java.security.AccessControlException: access denied
(java.io.FilePermission
D:\JBPM\jbpm-starters-kit-3.1\jbpm-server\server\jbpm\data\hypersonic\localDB.lck
delete)
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.jdbcConnection.(Unknown Source)
at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
at org.hsqldb.jdbcDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
at
org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:110)
at
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:72)
at
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1859)
at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1152)
at
org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:90)
at
org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:74)
at
org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:79)
at
org.jbpm.persistence.db.DbPersistenceService.getGraphSession(DbPersistenceService.java:216)
at org.jbpm.JbpmContext.getGraphSession(JbpmContext.java:427)
at org.jbpm.JbpmContext.deployProcessDefinition(JbpmContext.java:166)
at UserBean.deployProcessDefinition(UserBean.java:89)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940113#3940113
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940113
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user