I never set JAVA_HOME globally, I configure it explicitly for each different
Tomcat. In this particular instance I have set:
set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_07 

in setclasspath.bat, i.e. the 64bit jdk. CATALINA_HOME is set in startup.bat
(set CATALINA_HOME=%CURRENT_DIR%) and is the path I'm running Tomcat from.
It is always reported as correctly set in cmd prompt anyway. PATH I don't
see how that could make a difference. I never use tomcat6.exe, tomcat6w.exe
or the service to start up Tomcat, I always use startup.bat, which
eventually starts Bootstrap class calling java (with the correct jdk) in
catalina.bat:

start "Tomcat" "C:\Program Files\Java\jdk1.6.0_07\bin\java"  -Xdebug ...
org.apache.catalina.startup.Bootstrap  start

Unless this somehow invokes tomcat6.exe, which I hope it doesn't. How can I
tell if it's 64 bit or not?
I have also tried with other browsers and here's what I've discovered:
[IE]
The webpage cannot be displayed 
   
   Most likely cause:
Some content or files on this webpage require a program that you don't have
installed. 
 
   What you can try: 
     Search online for a program you can use to view this web content.  
 
     Retype the address.  
 
     Go back to the previous page. 
[Firefox]
Connection Interrupted

The document contains no data.

The network link was interrupted while negotiating a connection. Please try
again. 

[Chrome]
This web page is not available.

The web page at null might be temporarily down or it may have moved
permanently to a new web address.

  More information on this error
Below is the original error message

Error 2 (net::ERR_FAILED): Unknown error.

[Opera]
It works!

[cURL]
curl localhost:8080
It works!

No proxy has been configured in any of the browsers used or Internet
Options. Whenever I try to connect with putty raw it says almost immediately
"Connection closed by remote host". 



Serge Fonville wrote:
> 
> I looked at your server.xml and compared it to mine. I see no difference
> that would cause this.I use tomcat 6.0.18 with JDK 5
> Have you set all variables correctly JAVA_HOME,CATALINA_HOME,PATH
> Did you use the x64 tomca6.exe and tomcat6w.exe
> Have you tried other browsers (ie,opera,chrome,mozilla)
> you could also telnet to your tomcat server for http:
> GET / HTTP/1.1
> host: localhost
> 
> (two enters)
> 
> On Fri, Nov 7, 2008 at 1:16 PM, zmeeagain <[EMAIL PROTECTED]> wrote:
> 
>>
>> My server.xml:  http://www.nabble.com/file/p20379495/server.xml
>> server.xml
>>
>>
>> Serge Fonville wrote:
>> >
>> > Could you post your server xml (excluding comments) since I have the
>> same
>> > situation working fine.
>> >
>> > On Fri, Nov 7, 2008 at 11:51 AM, zmeeagain <[EMAIL PROTECTED]> wrote:
>> >
>> >>
>> >> What I failed to report is that, now that the AprLifecycleListener is
>> >> initialised and the library is loaded, I can't access Tomcat
>> anymore!!!
>> >> Hitting localhost:8080 gives me (Firefox):
>> >>
>> >> Connection Interrupted
>> >>
>> >> The document contains no data.
>> >>
>> >> The network link was interrupted while negotiating a connection.
>> Please
>> >> try
>> >> again.
>> >>
>> >> As soon as I remove tcnative-1.dll and restart Tomcat, everything is
>> back
>> >> to
>> >> normal again. Is there something more I need to do? BTW, no errors
>> appear
>> >> in
>> >> catalina log file.
>> >>
>> >>
>> >> zmeeagain wrote:
>> >> >
>> >> > It's an Intel Core2 Duo E4500 at 2.2 GHz, running Vista Business 64
>> >> bit.
>> >> > Anyhow, your comment made think that ia64 is not my architecture.
>> And
>> >> > indeed, version 1.1.14 of tcnative-1.dll is available for amd and
>> x64
>> >> > architectures (instead of amd and ia64 as in some previous
>> versions).
>> >> That
>> >> > last one did the trick or me:
>> >> >
>> >> > INFO: Loaded APR based Apache Tomcat Native library 1.1.14.
>> >> > 6 Nov 2008 11:09:10 am org.apache.catalina.core.AprLifecycleListener
>> >> init
>> >> > INFO: APR capabilities: IPv6 [false], sendfile [true], accept
>> filters
>> >> > [false], random [true].
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Tomcat-Native-library-for-Windows-tp19279526p20378334.html
>> >> Sent from the Tomcat - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To start a new topic, e-mail: users@tomcat.apache.org
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Tomcat-Native-library-for-Windows-tp19279526p20379495.html
>> Sent from the Tomcat - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Tomcat-Native-library-for-Windows-tp19279526p20458413.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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

Reply via email to