I think we made this default in the previous version. So that we did not have to give this in the URL itself. /sumedha
On Thu, Oct 7, 2010 at 8:21 AM, Afkham Azeez <az...@wso2.com> wrote: > Yeah, that does the trick! If we are creating H2 connections from within > Carbon components, we should always append this to the URL. > > Azeez > > > > > On Thu, Oct 7, 2010 at 8:15 AM, Afkham Azeez <az...@wso2.com> wrote: > >> May be adding ;DB_CLOSE_ON_EXIT=FALSE to the URL should work as indicated >> in this message. I will try it and let you know, >> >> Thanks >> Azeez >> >> >> >> On Thu, Oct 7, 2010 at 7:55 AM, Afkham Azeez <az...@wso2.com> wrote: >> >>> When we do a ctrl+c while services are being deployed, I'm getting the >>> following exception because, it seems that a shutdown hook in H2 is shutting >>> down the DB, before we can initiate the graceful shutdown procedure: >>> >>> >>> [2010-10-07 07:52:45,257] ERROR >>> {org.wso2.carbon.registry.core.jdbc.dao.JDBCPathCache} - Failed to >>> retrieving resource from >>> /_system/config/repository/axis2/service-groups/pojoinheritedbeans/services/PojoBeaninheritance/bindings/PojoBeaninheritanceHttpBinding/operations/getNumber. >>> Database is already closed (to disable automatic closing at VM shutdown, add >>> ";DB_CLOSE_ON_EXIT=FALSE" to the db URL) [90121-112] >>> org.h2.jdbc.JdbcSQLException: Database is already closed (to disable >>> automatic closing at VM shutdown, add ";DB_CLOSE_ON_EXIT=FALSE" to the db >>> URL) [90121-112] >>> at org.h2.message.Message.getSQLException(Message.java:107) >>> at org.h2.message.Message.getSQLException(Message.java:118) >>> at org.h2.message.Message.getSQLException(Message.java:77) >>> at org.h2.message.Message.getSQLException(Message.java:153) >>> at org.h2.jdbc.JdbcConnection.checkClosed(JdbcConnection.java:1289) >>> at org.h2.jdbc.JdbcStatement.checkClosed(JdbcStatement.java:879) >>> at >>> org.h2.jdbc.JdbcPreparedStatement.checkClosed(JdbcPreparedStatement.java:1417) >>> at org.h2.jdbc.JdbcStatement.checkClosed(JdbcStatement.java:854) >>> at >>> org.h2.jdbc.JdbcPreparedStatement.setParameter(JdbcPreparedStatement.java:1222) >>> at >>> org.h2.jdbc.JdbcPreparedStatement.setString(JdbcPreparedStatement.java:314) >>> at >>> org.apache.commons.dbcp.DelegatingPreparedStatement.setString(DelegatingPreparedStatement.java:132) >>> at >>> org.wso2.carbon.registry.core.jdbc.dao.JDBCPathCache.getPathID(JDBCPathCache.java:213) >>> >>> >>> -- >>> *Afkham Azeez* >>> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com >>> , >>> * >>> * >>> *Member; Apache Software Foundation; >>> **http://www.apache.org/*<http://www.apache.org/> >>> * >>> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919 >>> blog: **http://blog.afkham.org* <http://blog.afkham.org>* >>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> >>> * >>> linked-in: **http://lk.linkedin.com/in/afkhamazeez* >>> * >>> * >>> *Lean . Enterprise . Middleware* >>> >>> >>> >> >> >> -- >> *Afkham Azeez* >> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, >> * >> * >> *Member; Apache Software Foundation; >> **http://www.apache.org/*<http://www.apache.org/> >> * >> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919 >> blog: **http://blog.afkham.org* <http://blog.afkham.org>* >> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> >> * >> linked-in: **http://lk.linkedin.com/in/afkhamazeez* >> * >> * >> *Lean . Enterprise . Middleware* >> >> > > > -- > *Afkham Azeez* > Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, > * > * > *Member; Apache Software Foundation; > **http://www.apache.org/*<http://www.apache.org/> > * > email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919 > blog: **http://blog.afkham.org* <http://blog.afkham.org>* > twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> > * > linked-in: **http://lk.linkedin.com/in/afkhamazeez* > * > * > *Lean . Enterprise . Middleware* > > > _______________________________________________ > Carbon-dev mailing list > Carbon-dev@wso2.org > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > >
_______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev