SVNKit error while deploying on Tomcat

View: New views
1 Messages — Rating Filter:   Alert me  

SVNKit error while deploying on Tomcat

by XMaNIaC :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I have a Spring bean that access Subversion. I've created unit tests (and integration tests) for it and it works fine. However when I try to deploy it inside a WAR to Tomcat it cannot connect to Subversion at all giving me the following error:

svn: unknown host
svn: OPTIONS request failed on '/svn'

The URL is valid (http://internna.googlecode.com/svn) and I can't reproduce it with a test. The operation that fails is:

client.doInfo(url, null, SVNRevision.HEAD) // client is an instance of SVNWCClient

Any idea what can be happening?

Regards