RE: Tomcat 4.0.2, IIS 5.0 and NT-service

2002-02-21 Thread Adrian Prezioso

I'm using the following configuration:

Win2000
Sun JDK 1.3.1
Tomcat 4.0.2
IIS 5.0
AJP13

I just recently upgraded to Tomcat 4.0.2 from 3.2.3
about 3 weeks ago to take advantage of the new web
server logging.  My only hurdle was finding out that
the AJP13 connector does not support JDK 1.2.2.  Other
than that, it was a flawless setup by just following
the directions in the Tomcat documentation or at:
 
http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/index.html


Hope that helps.
Adrian

--- Dutchie Programmer <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> Could I get your opinion or anyone else's on a good
> combination for
> tomcat. By good I mean a valid combination for what
> I want which is, any
> version of tomcat, with any JDK running as a service
> on Windows 2000
> and/or Windows XP Professional.
> 
> Can I query your setup? Is it
> 
> Windows?
> Sun JDK 1.3.1
> Tomcat 4.0.2
> IIS 5.0
> AJP13
> 
> Are there any catches in using this setup? 
> 
> Any hints would be greatly appreciated.
> 
> David Grace
> Dutchie
> 
> 
> 
> -Original Message-
> From: Adrian Prezioso
> [mailto:[EMAIL PROTECTED]] 
> Sent: Friday, February 22, 2002 7:05 AM
> To: Tomcat Users List
> Subject: RE: Tomcat 4.0.2, IIS 5.0 and NT-service
> 
> You're right, the configuration you suggested does
> work, and that's how I had it setup.  My IDE uses
> JDK1.2.2 and my deployment environment uses
> JDK1.3.1. 
> When I tried this configuration, I noticed a couple
> of
> minor bugs in my app that were a result of slight
> differences between the two JDKs.  After fixing
> them,
> it works okay. 
> 
> So my real question to the Tomcat Users community is
> there any way to use JDK1.2.2 with Tomcat 4.0.2 and
> IIS 5.0?  Apparently not, since AJP13 is the only
> available connector (correct me if I'm wrong) and it
> requires JDK1.3.1.  Ideally, the documentation
> (ajp13.html) should reflect this since it could
> cause
> some people a lot of headaches.  Right now the docs
> say that TC4 and IIS5.0 supports JDK1.2+, but that's
> not eactly true for the AJP13 connector - which is
> the
> glue for Tomcat and IIS!
> 
> thanks for your insight.
> Adrian
> 
> 
> --- Ion_Larranaga <[EMAIL PROTECTED]> wrote:
> > At Java API documentation, you can see that in
> class
> > java.net.Socket,
> > the method setKeepAlive is marked as "since 1.3",
> so
> > it's clear that
> > it won't work in JDK1.2.2
> > 
> > Have you tried using JDK1.2.2 to compile the
> classes
> > in your IDE but
> > using JDK1.3.1 to run Tomcat? Maybe it's a bit
> more
> > difficult to setup
> > the complete environment, but I think it should
> work
> > fine.
> > 
> > Hope it helps,
> > 
> >   Ion
> > 
> > -Mensaje original-
> > De: Adrian Prezioso
> > [mailto:[EMAIL PROTECTED]]
> > Enviado el: jueves, 21 de febrero de 2002 16:15
> > Para: Tomcat Users List
> > Asunto: Re: Tomcat 4.0.2, IIS 5.0 and NT-service
> > 
> > 
> > What JDK are you using?  I tried 1.2.2 and could
> not
> > get the AJP13 connector to work.  I kept getting
> the
> > following exception:
> > 
> > java.lang.NoSuchMethodError: java.net.Socket:
> method
> > setKeepAlive(Z)V not found
> > at
> >
>
org.apache.ajp.tomcat4.Ajp13Connector.run(Ajp13Connector.java,
> > Compiled Code)
> > at java.lang.Thread.run(Thread.java:479)
> > 
> > Switching to JDK 1.3.1 fixed the problem.  Does
> > anyone
> > know for sure if TC4.0.2 with IIS 5.0 supports JDK
> > 1.2.2? I'd rather use 1.2.2 since my IDE (VA Java)
> > only supports that right now.
> > 
> > 
> > 
> > --
> > To unsubscribe:  
> >
> <mailto:[EMAIL PROTECTED]>
> > For additional commands:
> > <mailto:[EMAIL PROTECTED]>
> > Troubles with the list:
> > <mailto:[EMAIL PROTECTED]>
> > 
> 
> 
> __
> Do You Yahoo!?
> Yahoo! Sports - Coverage of the 2002 Olympic Games
> http://sports.yahoo.com
> 
> --
> To unsubscribe:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands:
> <mailto:[EMAIL PROTECTED]>
> Troubles with the list:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> 
> 
> --
> To unsubscribe:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands:
> <mailto:[EMAIL PROTECTED]>
> Troubles with the list:
> <mailto:[EMAIL PROTECTED]>
> 


__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




RE: Tomcat 4.0.2, IIS 5.0 and NT-service

2002-02-21 Thread Adrian Prezioso

You're right, the configuration you suggested does
work, and that's how I had it setup.  My IDE uses
JDK1.2.2 and my deployment environment uses JDK1.3.1. 
When I tried this configuration, I noticed a couple of
minor bugs in my app that were a result of slight
differences between the two JDKs.  After fixing them,
it works okay. 

So my real question to the Tomcat Users community is
there any way to use JDK1.2.2 with Tomcat 4.0.2 and
IIS 5.0?  Apparently not, since AJP13 is the only
available connector (correct me if I'm wrong) and it
requires JDK1.3.1.  Ideally, the documentation
(ajp13.html) should reflect this since it could cause
some people a lot of headaches.  Right now the docs
say that TC4 and IIS5.0 supports JDK1.2+, but that's
not eactly true for the AJP13 connector - which is the
glue for Tomcat and IIS!

thanks for your insight.
Adrian


--- Ion_Larranaga <[EMAIL PROTECTED]> wrote:
> At Java API documentation, you can see that in class
> java.net.Socket,
> the method setKeepAlive is marked as "since 1.3", so
> it's clear that
> it won't work in JDK1.2.2
> 
> Have you tried using JDK1.2.2 to compile the classes
> in your IDE but
> using JDK1.3.1 to run Tomcat? Maybe it's a bit more
> difficult to setup
> the complete environment, but I think it should work
> fine.
> 
> Hope it helps,
> 
>   Ion
> 
> -Mensaje original-
> De: Adrian Prezioso
> [mailto:[EMAIL PROTECTED]]
> Enviado el: jueves, 21 de febrero de 2002 16:15
> Para: Tomcat Users List
> Asunto: Re: Tomcat 4.0.2, IIS 5.0 and NT-service
> 
> 
> What JDK are you using?  I tried 1.2.2 and could not
> get the AJP13 connector to work.  I kept getting the
> following exception:
> 
> java.lang.NoSuchMethodError: java.net.Socket: method
> setKeepAlive(Z)V not found
>   at
>
org.apache.ajp.tomcat4.Ajp13Connector.run(Ajp13Connector.java,
> Compiled Code)
>   at java.lang.Thread.run(Thread.java:479)
> 
> Switching to JDK 1.3.1 fixed the problem.  Does
> anyone
> know for sure if TC4.0.2 with IIS 5.0 supports JDK
> 1.2.2? I'd rather use 1.2.2 since my IDE (VA Java)
> only supports that right now.
> 
> 
> 
> --
> To unsubscribe:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands:
> <mailto:[EMAIL PROTECTED]>
> Troubles with the list:
> <mailto:[EMAIL PROTECTED]>
> 


__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Re: Tomcat 4.0.2, IIS 5.0 and NT-service

2002-02-21 Thread Adrian Prezioso

What JDK are you using?  I tried 1.2.2 and could not
get the AJP13 connector to work.  I kept getting the
following exception:

java.lang.NoSuchMethodError: java.net.Socket: method
setKeepAlive(Z)V not found
at
org.apache.ajp.tomcat4.Ajp13Connector.run(Ajp13Connector.java,
Compiled Code)
at java.lang.Thread.run(Thread.java:479)

Switching to JDK 1.3.1 fixed the problem.  Does anyone
know for sure if TC4.0.2 with IIS 5.0 supports JDK
1.2.2? I'd rather use 1.2.2 since my IDE (VA Java)
only supports that right now.


--- David Slater <[EMAIL PROTECTED]> wrote:
> Look in your Tomcat directory for:
> 
>   
>
/jakarta-tomcat-4.0.2/webapps/tomcat-docs/config/ajp.html
> 
> A little over halfway through, right below the
> Apache integration 
> section is:
> 
> IIS 4.x and 5.x
>Introduction
>  This section explains how to set up IIS 4.0 or
> newer to cooperate 
> with Tomcat 4.
> 
> 
> 
> Thomas Tuft Muller wrote:
> > It didn't help. The document your'er referring to
> shows how to deploy Tomcat
> > 4 as a standalond webserver (for development
> purposes). That's not what I'm
> > interested in. I want IIS to forward requests to
> Tomcat 4, exactly the same
> > way as done in Tomcat 3.0.1.
> > 
> > Thanx anyway.
> > 
> > --
> > 
> > Thomas
> > 
> > | -Original Message-
> > | From: Alejandro Alcalde
> [mailto:[EMAIL PROTECTED]]
> > | Sent: 21 February 2002 09:03
> > | To: Tomcat Users List; [EMAIL PROTECTED]
> > | Subject: Re: Tomcat 4.0.2, IIS 5.0 and
> NT-service
> > |
> > |
> > |
> > | We have Tomcat 4 running and are trying to make
> it work with IIS
> > | 5. The how to install it as a stand-alone you
> got it in
> > | www.moreservlets.com/Using-Tomcat-4.html, and
> some people have
> > | referred me to this other document for
> integration, but I've got
> > | stuck with it when trying to run it as an
> nt_service:
> > |
>
http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/index.html
> > |
> > | Hope this helps
> > |
> > | Alex
> > |
> > |
> > | -
> > | Do You Yahoo!?
> > | Yahoo! Messenger!
> > |  Comunicación instantánea gratis con tu gente.
> > 
> > 
> > 
> >
>
*
> > Copyright ERA Technology Ltd. 2001.
> (www.era.co.uk). All rights reserved. 
> > Confidential. No liability whatsoever is accepted
> for any loss or damage 
> > suffered as a result of accessing this message or
> any attachments.
> > 
> > --
> > To unsubscribe:  
> 
> > For additional commands:
> 
> > Troubles with the list:
> 
> > 
> > 
> 
> 
> 
> 
> --
> To unsubscribe:  
> 
> For additional commands:
> 
> Troubles with the list:
> 
> 


__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Has anyone got Tomcat 4.0.2, IIS 5.0, and JDK1.2.2 to work?

2002-02-19 Thread Adrian Prezioso

I'm still having the same problem with TC4.0.2
(final), IIS 5.0, using JDK 1.2.2.  Under this setup,
the AJP13 connector throws an exception any time I
make a request.  It seems that the AJP13 connector
makes a call to java.net.Socket.setKeepAlive() - which
is only supplied in JDK 1.3.1.  The docs say that
Tomcat 4.0 supports JDK 1.2+ but I can't find any info
about what level of JDK the AJP13 connector requires. 
Upgrading to JDK1.3.1 solves the problem, but my app
requires 1.2.2.

Any help would be appreciated.  Even if someone has
implemented this configuration, it would help to know
that the configuration is possible and proven!!

Thanks
Adrian

The following is the error I get:

java.lang.NoSuchMethodError: java.net.Socket: method
setKeepAlive(Z)V not found
at
org.apache.ajp.tomcat4.Ajp13Connector.run(Ajp13Connector.java,
Compiled Code)
at java.lang.Thread.run(Thread.java:479)



__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Tomcat 4.0.2 and AJP13 problem with JDK 1.2.2 (again)

2002-02-15 Thread Adrian Prezioso

I'm having problems with TC4.0.2 and the AJP13
connector from IIS 5.0 using JDK1.2.2.  I continuously
get the following error when I make a request: 

java.lang.NoSuchMethodError: java.net.Socket: method
setKeepAlive(Z)V not found
at
org.apache.ajp.tomcat4.Ajp13Connector.run(Ajp13Connector.java,
Compiled Code)
at java.lang.Thread.run(Thread.java:479)

It seems like a problem with my JDK, since AJP13 is
trying to call java.net.Socket.setKeepAlive() and
JDK1.2.2 does not have this method.  Upgrading to
JDK1.3.1 fixes things, but my application requires
1.2.2. 

According to the docs, this is a supported
configuration on Win2000.  I've reinstalled 3 times
and each time got this error. Has anyone else with
this configuration had a similar problem?  

any help would be appreciated.
Adrian

__
Do You Yahoo!?
Got something to say? Say it better with Yahoo! Video Mail 
http://mail.yahoo.com

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Tomcat 4.0.2 problem with JDK 1.2.2

2002-02-14 Thread Adrian Prezioso

I have installed Tomcat 4.0.2 running with IIS 5.0
using JDK 1.2.2.  Tomcat starts fine, but when I make
a request to my application, I get the following
error:

java.lang.NoSuchMethodError: java.net.Socket: method
setKeepAlive(Z)V not found
at
org.apache.ajp.tomcat4.Ajp13Connector.run(Ajp13Connector.java,
Compiled Code)
at java.lang.Thread.run(Thread.java:479)

I then changed the JDK to 1.3.1 and I no longer get
the exception, but my application doesn't work
properly because it requires 1.2.2.  I can't
understand why JDK 1.2.2 seems to be the problem when
it clearly states in the Tomcat documentation that it
supports 1.2 and higher.  Any ideas how I can get
Tomcat 4.0 to work with JDK 1.2.2??

-Adrian

__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

--
To unsubscribe:   
For additional commands: 
Troubles with the list: