Re: connecting to a shark library configured with a different engine name
Monique Maker <[email protected]> Fri, 09 Sep 2005 16:57:36 +0300
| Newsgroups | gmane.comp.java.enhydra.shark |
|---|---|
| Message-ID | <[email protected]> |
Hello Fabrizio, It seems that Shark ignores the engine name supplied in the connect() method and uses the engine name available in the Shark.getInstance() - the one that was set in the configuration file. Probably the engine name parameter in the connect() method is provided for future versions. Currently AFAIK one Shark engine instance cannot connect to other engine instances. Regards, Monique [email protected] wrote: > hi all, > > i'm a new shark user. > > i've a question about the rigth way to connect to shark library. > why if i configure the engine with the file Shark.conf, where there is the property engineName=AName, then i can connect to it using another name? > for example : > ... > p.setProperty("enginename", "aName"); > Shark.configure(p); > SharkConnection sConn = Shark.getInstance().getSharkConnection(); > sConn.connect("qq", "lele", "anotherName", ""); > ... > thanks in advance for any suggestion. > >
message-footer.txt
(text/plain, 271 B)
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws