|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
SharkWebClient: connect to \tws-community-2.3\db\hsql?Dear all,
Is it possible to configure the SharkWebClient such that it uses the \tws-community-2.3\db\hsql instead of its internal sharkWebClient\hsql database? Which files do I have to modify? I tried to modify: - context.xml contains a jdbc url, I modified it into: url="jdbc:hsqldb:c:/devtools/shark/tws-community-2.3/db/hsql/hsql" - web.xml contains some hsql properties, I did not change them - web.xml contains a reference to SharkClient.conf, I replaced it by: <env-entry-value>c:/devtools/shark/tws-community-2.3/conf/SharkClient.conf</env-entry-value> and in SharkClient.conf, I ensured that the XPDLRepository path is an absolute path: XPDLRepositoryPath=C:/devtools/shark/tws-community-2.3/repository/external and XaUserTransactionLookupName=java:comp/env/UserTransaction However, when running the SharkAdminClient, the web client shows: javax.naming.NameNotFoundException: Name javax.transaction.TransactionManager is not bound in this Context with a long stack trace (see end of this e-mail). Any suggestions? Did I forget to modify a file, or incorrect settings? Kind regards, Bert -- 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: SharkWebClient: connect to \tws-community-2.3\db\hsql?Dear Sasa,
Thank you for your reply - it helped me identifying my mistake. My problem was caused by changing context.xml directly in Tomcat's webapps/sharkWebClient/META-INF directory. However, Tomcat created a conf\Catalina\localhost\sharkWebClient.xml file which still contained the old jdbc:hsqldb url. So, after removing this file, and updating the WAR file with the patched context.xml, the web application now accesses the other database. Kind regards, Bert Schultheiss 2009/3/12 Sasa Bojanic <sasaboy@...> Hi, -- 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 |