Hello,

I would like to specify the following attribute in the server.xml file in
windows:
====
url="jdbc:derby:net://<ip>:<port>/<path/to/database>;retrieveMessagesFromServerOnGetMessage=true;"
====

But the problem is that I can't figure out the right way to escape the path
to the database in windows.

I've tried the following permutations but tomcat hasn't been able to parse
any of them correctly:
====
<Resource
...
url="jdbc:derby:net://<ip>:<port>/"C:\path\to\database";retrieveMessagesFromServerOnGetMessage=true;"
/>
url="jdbc:derby:net://<ip>:<port>/"C:/path/to/database";retrieveMessagesFromServerOnGetMessage=true;"
/>
url="jdbc:derby:net://<ip>:<port>/"C:\\path\\to\\database";retrieveMessagesFromServerOnGetMessage=true;"
/>
url="jdbc:derby:net://<ip>:<port>/\"C:\path\to\database\";retrieveMessagesFromServerOnGetMessage=true;"
/>
url="jdbc:derby:net://<ip>:<port>/\"C:/path/to/database\";retrieveMessagesFromServerOnGetMessage=true;"
/>
url="jdbc:derby:net://<ip>:<port>/\"C:\\path\\to\\database\";retrieveMessagesFromServerOnGetMessage=true;"
/>
====

Does anyone know how to accomplish the correct escaping sequence?

Thanks!

Reply via email to