[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Problems with SVNClient / JavaHL bindings under Tomcat5

From: Nikita Zhuk <nikita_at_nikitazhuk.net>
Date: 2004-08-29 09:37:27 CEST

Dunno if this question should go to dev list, but I'll try asking here
first.
I'm having some problems with SVNClient class, which I use in my webapp
under Tomcat 5. My problem seems to be similar to one described in this
post: http://www.contactor.se/~dast/svn/archive-2004-03/1235.shtml :
- When Tomcat 5 is restarted and webapp is run for the first time,
everything goes fine and I can create SVNClient instance and connect to
SVN repository
- If I try to use that webapp again (without restarting tomcat or
redeploying webapp), I don't get any errors, however, the whole webapp
seems to hang on line:

SVNClient svnClient = new SVNClient();

- If I restart tomcat, everything works fine again, but only for that
first run.

I have placed svn-javahl.jar library into Tomcat's /shared/lib folder
(I also tried to unpack the jar and place all classes under
/shared/classes, but I got same problems). I'm using JDK 1.4.2 under
FreeBSD 5.2.1.

This looks like some classloader problem, but I just can't find a
solution. Any help would be greatly appreciated.

--
Nikita Zhuk
Mac OS & Web Developer
http://www.nikitazhuk.net
nikita@nikitazhuk.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Aug 29 09:37:38 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.