|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
replacing HSQL internal DB with other db (e.g., MySQL) - simple list of stepsDear members,
we would like to replace the HSQL database with a more robust one (e.g., MySQL, MS SQL or Oracle). We tried few things but can not get all the errors go away. If you were able to switch to a different db, can you please post a ultra-short list of modifications/steps which are involved in such switch? Vojtech Huser -- You receive this message as a subscriber of the shark@... mailing list. To unsubscribe: mailto:shark-unsubscribe@... For general help: mailto:sympa@...?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
|
|
Re: replacing HSQL internal DB with other db (e.g., MySQL) - simple list of stepsIf I understood you right, you may find an answer in the very first question in the Shark FAQ
db_loader_job=hsql DS On Mon, Jul 27, 2009 at 3:28 PM, Vojtech Huser <huser.vojtech@...> wrote: Dear members, -- You receive this message as a subscriber of the shark@... mailing list. To unsubscribe: mailto:shark-unsubscribe@... For general help: mailto:sympa@...?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
|
|
Re: Re: replacing HSQL internal DB with other db (e.g., MySQL) - simple list of stepsAfter going through those steps we were able to get an instance of Shark running as POJO to use MySQL instead of HSQL. It seems to have been working well for us, and we have tried moving an instance of Shark running as EJB (under JBoss) to also use MySQL instead of HSQL.
Things look good initially after the configuration is done, however when I try to load an XPDL using the Shark Admin client I get an exception:
I realize this may not be enough information to troubleshoot the issue, so please let me know what other logs or config files could be helpful. From what I could tell, the config files the system was using all referenced the MySQL instance, and the MySQL connectivity appears to be working since the configure script worked correctly.
I tried digging into the code, and this looks like what's throwing the exception:
I'm not sure why the repository persistence manager (DODS by default, right?) wouldn't be getting created, unless there's additional configuration I need to do to point DODS at the MySQL instance. Could there possibly be something with transferring byte[] to MySQL and the version of MySQL being used?
Thanks in advance for any direction you can point me in. I'll continue to investigate in the meantime in case there's something simple I've overlooked.
Luke R.
On Mon, Jul 27, 2009 at 5:33 PM, Dmitry Shulga <dmitry.shulga@...> wrote:
If I understood you right, you may find an answer in the very first question in the Shark FAQ --
You receive this message as a subscriber of the shark@... mailing list.
To unsubscribe: mailto:shark-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
-- You receive this message as a subscriber of the shark@... mailing list. To unsubscribe: mailto:shark-unsubscribe@... For general help: mailto:sympa@...?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
|
|
Re: Re: Re: replacing HSQL internal DB with other db (e.g., MySQL) - simple list of stepsEJB on JBoss look at EJB folder -unpack jboss.zip in %JBOSS_HOME% dir -copy .ear and .xml files into /server/default/deploy directory - for MySQL db configuration copy mysql-connector-java-XX.jar to JBoss server/default/lib folder - edit SharkClient.conf file: - ClientType=EJB - XaUserTransactionLookupName=UserTransaction - The JBOSS jar file jbossall-client.jar (located in JBOSS server's client directory) must be copied to <shark_install_dir>/lib/contrib directory. - run jboss from bin folder - runSA from %TWS_INSTALL% dir Luke Rasmussen wrote:
-- You receive this message as a subscriber of the shark@... mailing list. To unsubscribe: mailto:shark-unsubscribe@... For general help: mailto:sympa@...?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
|
|
Re: Re: Re: Re: replacing HSQL internal DB with other db (e.g., MySQL) - simple list of stepsSvjetlana - thank you for your reply, it was a good confirmation that the solution should be a simple one! I retried the steps you suggested, and the running instance I had still did not work. Now, this made me think that when I was trying to fix the error, I may have messed up something else. I reinstalled JBoss and installed the new version of TWS. I went through the steps again, and this time it worked. I should have tried with a fresh install instead of mucking around as much as I did.
Thanks again for the help, we're back on track now!
Luke R.
On Tue, Oct 6, 2009 at 6:56 AM, svjetlana <svjetlana.milidrag@...> wrote:
-- You receive this message as a subscriber of the shark@... mailing list. To unsubscribe: mailto:shark-unsubscribe@... For general help: mailto:sympa@...?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
| Free embeddable forum powered by Nabble | Forum Help |