You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Johan 'Spocke' Sörlin <sp...@paregos.se> on 2000/03/17 15:23:51 UTC

What's wrong with this jni_connection BUG???

It does'nt find the "d:\tomcat\conf\jni_server.xml" it searches in the wrong
place??

Dump:
java.lang.Exception: Can't open config file:
C:\WINNT\system32\d:\tomcat\conf\jni_server.xml due to:
java.io.FileNotFoundException:
C:\WINNT\system32\d:\tomcat\conf\jni_server.xml (The filename, directory
name, or volume label syntax is incorrect)
 at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:214)
 at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:110)
 at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:130)
 at org.apache.tomcat.service.StartupThread.run(JNIEndpoint.java:198)

______________________________________________
// -=: p a r e g o s : m e d i a d e s i g n :=-
// box 390 : S-931 24 skellefteå : sweden
// direct.tel: +46.(0)910.715705 : fax: +46.(0)910.715729
// http://www.paregos.se : js@paregos.se : ICQ: 9991973



Re: What's wrong with this jni_connection BUG???

Posted by Gal Shachor <sh...@il.ibm.com>.
  Jonan,

The howto was written before Tomcat started to use the Java system
property
tomcat.home.

You should add tomcat.home in your worker.properties, something like:

worker.jni.sysprops=tomcat.home=D:\Jakarta\build\tomcat\

This should set the tomcat.home property. 

I will update the jni_howto ASAP.

	Gal Shachor

Johan 'Spocke' Sörlin wrote:
> 
> It does'nt find the "d:\tomcat\conf\jni_server.xml" it searches in the wrong
> place??
> 
> Dump:
> java.lang.Exception: Can't open config file:
> C:\WINNT\system32\d:\tomcat\conf\jni_server.xml due to:
> java.io.FileNotFoundException:
> C:\WINNT\system32\d:\tomcat\conf\jni_server.xml (The filename, directory
> name, or volume label syntax is incorrect)
>  at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:214)
>  at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:110)
>  at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:130)
>  at org.apache.tomcat.service.StartupThread.run(JNIEndpoint.java:198)
> 
> ______________________________________________
> // -=: p a r e g o s : m e d i a d e s i g n :=-
> // box 390 : S-931 24 skellefteå : sweden
> // direct.tel: +46.(0)910.715705 : fax: +46.(0)910.715729
> // http://www.paregos.se : js@paregos.se : ICQ: 9991973
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org