Re: Help me please,

2007-11-13 Thread David Delbecq
The startup.bat is trying to run "-Dsun.io.useCanonCaches=false" instead 
of java. You probably badly configured an environnement variable.
The command to run java is builded partly in classpath.bat on tomcat 5 
(probably same in tomcat4). Maybe you just have forgotten to properly 
define "CATALINA_HOME" environment variable.



En l'instant précis du 12/11/07 06:38, Hamid Rahman Mohmand s'exprimait 
en ces termes:

I get an error message after I run "startup.bat" file in the \bin directory
the error says "The system cannot find the file -
Dsun.io.useCanonCaches=false"



  



--
http://www.devlog.be (a belgian developer's logs)



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Help me please,

2007-11-13 Thread Hamid Rahman Mohmand
Dear Gregor,
Thanks for the guess, but it still doesn't work.
I have a peace of code in java that got some bugs, in the documentation it
was said the code was originally tested on tomcat version 4, so i wana see
if I have the wrong code or somethign else not working. so, I just want to
make sure my code is working with version 4 and then I can look for the
probable causes and some how resolve it.
regards
hamid


On 11/12/07, Gregor Schneider <[EMAIL PROTECTED]> wrote:
>
> -D sets a system-property which then can be used by the Java Runtime.
>
> Quick guess:
>
> - You're using something but the original startup.bat-file
>
> Is the a special reason why ypu are using Tomcat 4 and not Tomcat 6?
>
> Gregor
> --
> what's puzzlin' you, is the nature of my game
> gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
> gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
>


Re: Help me please,

2007-11-12 Thread Gregor Schneider
-D sets a system-property which then can be used by the Java Runtime.

Quick guess:

- You're using something but the original startup.bat-file

Is the a special reason why ypu are using Tomcat 4 and not Tomcat 6?

Gregor
-- 
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371