You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by raakula <ra...@nsn.com> on 2011/12/22 11:20:50 UTC

Problem: Usage of derbyDB in servicemix

Hi,
  We are facing strange problem with SMX.
During SMX start, SMX creates derby DB in data folder, if the SMX is stopped
for some reason during DB creation/initialization the derby DB is getting
corrupted.
And SMX can't recover the situation without deleting the derby folder.

Question is : Is it always safer to delete the derby folder if the DB is not
used by any of the SAs?
Or is there any better way to check whether derby DB is initialized or not
before deleting the derby folder so that we can try SMX start safely?

regards,
Ramu

--
View this message in context: http://servicemix.396122.n5.nabble.com/Problem-Usage-of-derbyDB-in-servicemix-tp5094248p5094248.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Re: Problem: Usage of derbyDB in servicemix

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Ramu,

You can delete the data folder (in SMX4) or the db folder (in SMX3) 
without problem. SMX recreates it at startup.

Regards
JB

On 12/22/2011 11:20 AM, raakula wrote:
> Hi,
>    We are facing strange problem with SMX.
> During SMX start, SMX creates derby DB in data folder, if the SMX is stopped
> for some reason during DB creation/initialization the derby DB is getting
> corrupted.
> And SMX can't recover the situation without deleting the derby folder.
>
> Question is : Is it always safer to delete the derby folder if the DB is not
> used by any of the SAs?
> Or is there any better way to check whether derby DB is initialized or not
> before deleting the derby folder so that we can try SMX start safely?
>
> regards,
> Ramu
>
> --
> View this message in context: http://servicemix.396122.n5.nabble.com/Problem-Usage-of-derbyDB-in-servicemix-tp5094248p5094248.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Problem: Usage of derbyDB in servicemix

Posted by raakula <ra...@nsn.com>.
Hi Christian,
  We are using SMX 3.4 version.

regards,
Ramu

--
View this message in context: http://servicemix.396122.n5.nabble.com/Problem-Usage-of-derbyDB-in-servicemix-tp5094248p5096178.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Re: Problem: Usage of derbyDB in servicemix

Posted by Christian Müller <ch...@gmail.com>.
It would help to know which version of SMX do you use and which
services/bundles do you installed. I use SMX 4.3 and do not have this
folder...

Best,
Christian

Sent from a mobile device