[Opensource] ControllerRun
nalves at equifax.com.br
nalves at equifax.com.br
Fri Nov 22 12:33:48 PST 2002
Hi list.
When I try to run a controller outside a jsp, I get a database error ("
database is already in use by another proces"):
$ java com.jcorporate.expresso.core.utility.ControllerRun configDir=C:
\\express
o\\webapps\\ROOT\\WEB-INF\\config webAppDir=C:\\expresso\\webapps\\ROOT
db=defa
ult controller=com.jcorporate.expresso.ext.controller.HealthCheck
state=health
ControllerRun
ConfigManager: Reading XML config
Setting default XML parser factory to Apache Xerces
ConfigManager: Done reading XML config - no errors or warnings
ConfigManager: Log directory: 'C:/expresso/webapps/ROOT/WEB-INF/log'
2002-11-22 18:20:34,660 ERROR [main] misc.ConfigManager
(ConfigManager.java:1457
) - Unable to read database mapping entries for context 'default'
com.jcorporate.expresso.core.db.DBException:
com.jcorporate.expresso.core.db.DBC
onnection.connect(String, String):Cant get connection to database via
driver 'or
g.hsqldb.jdbcDriver' and URL
'jdbc:hsqldb:C:/expresso/webapps/ROOT/WEB-INF/db/de
fault/default' (no description):The database is already in use by another
proces
s
at
com.jcorporate.expresso.core.db.DBConnection.connect(DBConnection.jav
a:521)
at
com.jcorporate.expresso.core.db.DBConnectionPool.createNewConnection(
DBConnectionPool.java:340)
at
com.jcorporate.expresso.core.db.DBConnectionPool.getConnection(DBConn
ectionPool.java:879)
at
com.jcorporate.expresso.core.db.DBConnectionPool.getConnection(DBConn
ectionPool.java:906)
at
com.jcorporate.expresso.core.dbobj.DBObject.searchAndRetrieveList(DBO
bject.java:5763)
at
com.jcorporate.expresso.core.dbobj.SecuredDBObject.searchAndRetrieveL
ist(SecuredDBObject.java:651)
at
com.jcorporate.expresso.core.misc.ConfigManager.mapOtherDBs(ConfigMan
ager.java:1433)
at
com.jcorporate.expresso.core.misc.ConfigManager.load(ConfigManager.ja
va:1263)
at
com.jcorporate.expresso.core.utility.ControllerRun.main(ControllerRun
.java:437)
com.jcorporate.expresso.core.db.DBException: Nested exception
message:com.jcorpo
rate.expresso.core.db.DBConnection.connect(String, String):Cant get
connection t
o database via driver 'org.hsqldb.jdbcDriver' and URL
'jdbc:hsqldb:C:/expresso/w
ebapps/ROOT/WEB-INF/db/default/default' (no description):The database is
already
in use by another process
at
com.jcorporate.expresso.core.dbobj.DBObject.searchAndRetrieveList(DBO
bject.java:5949)
at
com.jcorporate.expresso.core.dbobj.SecuredDBObject.searchAndRetrieveL
ist(SecuredDBObject.java:651)
at
com.jcorporate.expresso.core.misc.ConfigManager.mapOtherDBs(ConfigMan
ager.java:1433)
at
com.jcorporate.expresso.core.misc.ConfigManager.load(ConfigManager.ja
va:1263)
at
com.jcorporate.expresso.core.utility.ControllerRun.main(ControllerRun
.java:437)
What would be wrong? I'm running this inside cygwin.
Thanks,
Nelio
____________________________________________________
Nelio Alves
Equifax do Brasil - System Analyst
+55 -11 3016-6180
nalves at equifax.com.br
A Equifax está concorrendo ao iBest 2003, o maior prêmio da Internet
brasileira,
e conta com sua indicação. Clique no link para votar!
http://www.equifax.com.br/ibest
*************************************************************
O sigilo desta mensagem é protegido por lei. Se você a recebeu por engano,
queira apagá-la e informar-nos por e-mail endereçado ao remetente.
*************************************************************
The confidentiality of this message is protected by law. If you've received
it in error, please delete it and inform us by e-mail addressed to its
sender.
*************************************************************
More information about the Opensource
mailing list