Sessions problem with TC4 on Win XP Home when browsing from "localhost"

2002-09-09 Thread Jeff Corliss

Hi all,

As if the subject line wasn't long enough... here's an
interesting problem I'm hoping someone can help me
with.  Basically, I have a Struts-based app which I'm
deploying on TC4 on a Win XP Home machine while
developing.  When I access the app via a browser on
another machine on the network, all is fine.  When I
access the app from the machine on which tomcat is
running (using localhost), it seems that sessions are
constantly being re-created.  So, every time I perform
a login to my app (which saves an object in the
session for "proof of login" etc.), the next page I
hit that requires being logged in sends me right back
to the login page (because the object is not in the
session).  The session now has another ID and "isNew".
 As I mentioned, very same app accessed from another
machine works perfectly.

Here is a quick undown of the environments:

Localhost machine:
Win XP Home, jdk=1.3.1_02, Tomcat=4.1.8 thru 4.1.10,
Struts=1.1b1, Internet Explorer=6.0.

Other machine:
Win95, IE=5.0

I thought perhaps the problem was with IE 6, so I
downloaded Mozilla 1.1 and tried the app that way with
same result.

Weird huh?  Any ideas are greatly appreciated
(including pointing out obvious errors on my part).  
-JC


__
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Sessions problem with TC4 on Win XP Home when browsing from "localhost"

2002-09-10 Thread Jeff Corliss

Hmmm ... not sure that I really specified the host
name per se.  Also, one thing I forgot to mention...
the app works fine for "localhost" access running on a
Win2k machine.  Could this be some XP specific
problem?

--- [EMAIL PROTECTED] wrote:
> The session are managed using the cookies.
> The cookie uses the Domain Name to see the rights to
> read or write them.
> If in Tomcat you have specified an host with full
> name
> (theServerName.theDomainName), it could be the
> reason. The cookie is created
> with the Domain Name "theDomainName" and the pages
> are accessed by a URL
> without Domain Name.
> 
> Hopes it helps you.
> 
> -Message d'origine-
> De : Jeff Corliss [mailto:[EMAIL PROTECTED]]
> Envoye : lundi 9 septembre 2002 22:54
> A : Tomcat Users List
> Objet : Sessions problem with TC4 on Win XP Home
> when browsing from
> "localhost"
> 
> 
> Hi all,
> 
> As if the subject line wasn't long enough... here's
> an
> interesting problem I'm hoping someone can help me
> with.  Basically, I have a Struts-based app which
> I'm
> deploying on TC4 on a Win XP Home machine while
> developing.  When I access the app via a browser on
> another machine on the network, all is fine.  When I
> access the app from the machine on which tomcat is
> running (using localhost), it seems that sessions
> are
> constantly being re-created.  So, every time I
> perform
> a login to my app (which saves an object in the
> session for "proof of login" etc.), the next page I
> hit that requires being logged in sends me right
> back
> to the login page (because the object is not in the
> session).  The session now has another ID and
> "isNew".
>  As I mentioned, very same app accessed from another
> machine works perfectly.
> 
> Here is a quick undown of the environments:
> 
> Localhost machine:
> Win XP Home, jdk=1.3.1_02, Tomcat=4.1.8 thru 4.1.10,
> Struts=1.1b1, Internet Explorer=6.0.
> 
> Other machine:
> Win95, IE=5.0
> 
> I thought perhaps the problem was with IE 6, so I
> downloaded Mozilla 1.1 and tried the app that way
> with
> same result.
> 
> Weird huh?  Any ideas are greatly appreciated
> (including pointing out obvious errors on my part).
> -JC
> 
> 
> __
> Do You Yahoo!?
> Yahoo! Finance - Get real-time stock quotes
> http://finance.yahoo.com
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Tomcat 4.04 SSL with client Auth?

2002-06-24 Thread Jeff Corliss

Hi all,

Just got the 4.04 final (been working pretty much only
with 3.x before).  Quick question: does Tomcat 4.04
now support client certificate authentication under
SSL?

TIA


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Distribution/Licensing question

2001-10-31 Thread Jeff Corliss

Quick newbie question, and if its just a case of RTFM
(which I have, but maybe I missed it), please feel
free to say so ...

I am writing a webapp that includes tag libraries and
the intent is to sell this to multiple customers, each
of whom will be designing their own JSPs using those
tags.  Now, since that means the JSPs will need to be
compiled by Tomcat at least once at each customer's
site, does this mean I need to actually distribute not
only Tomcat but also the JDK (not just the JRE)?  If
that is the case, does that mean I have to make an
arrangement with Sun for licensing the redistribution
of the JDK?

Many thanks,
Jeff


__
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Distribution/Licensing question

2001-11-01 Thread Jeff Corliss

Cool, I will check that out.  Thanks!

--- "Brett M. Bergquist" <[EMAIL PROTECTED]> wrote:
> Jeff, you need to contact Sun in regards to
> redistributing the Java compiler.  But, you could go
> the route that we did and use the
> IBM Jikes Java compiler which is freely
> distributable provided that you show the proper
> notices and such.
> 
> 
> - Original Message -
> From: Jeff Corliss <[EMAIL PROTECTED]>
> To: Tomcat Users List
> <[EMAIL PROTECTED]>
> Sent: Wednesday, October 31, 2001 1:14 PM
> Subject: Distribution/Licensing question
> 
> 
> > Quick newbie question, and if its just a case of
> RTFM
> > (which I have, but maybe I missed it), please feel
> > free to say so ...
> >
> > I am writing a webapp that includes tag libraries
> and
> > the intent is to sell this to multiple customers,
> each
> > of whom will be designing their own JSPs using
> those
> > tags.  Now, since that means the JSPs will need to
> be
> > compiled by Tomcat at least once at each
> customer's
> > site, does this mean I need to actually distribute
> not
> > only Tomcat but also the JDK (not just the JRE)? 
> If
> > that is the case, does that mean I have to make an
> > arrangement with Sun for licensing the
> redistribution
> > of the JDK?
> >
> > Many thanks,
> > Jeff
> >
> >
> > __
> > Do You Yahoo!?
> > Make a great connection at Yahoo! Personals.
> > http://personals.yahoo.com
> >
> > --
> > To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

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




Re: Tomcat 3.2.4 xml parsing of web.xml

2002-01-18 Thread Jeff Corliss

Ever since I switched from 3.2.3 to 3.2.4, I notice a
lot of the following types of messages in the log
output onscreen:
=
Warning: validation was turned on but an
org.xml.sax.ErrorHandler was not
set, which is probably not what is desired.  Parser
will use a default
ErrorHandler to print the first 10 errors.  Please
call
the 'setErrorHandler' method to fix this.
Error: URI=null Line=22: Element "servlet-mapping"
does not allow "url-pattern"
here.
Error: URI=null Line=24: Element "servlet-mapping"
requires additional elements.

Error: URI=null Line=26: Element "web-app" does not
allow "servlet" here.
Error: URI=null Line=31: Element "servlet-mapping"
does not allow "url-pattern"
here.
Error: URI=null Line=33: Element "servlet-mapping"
requires additional elements.

Error: URI=null Line=35: Element "web-app" does not
allow "servlet" here.
Error: URI=null Line=40: Element "servlet-mapping"
does not allow "url-pattern"
here.
Error: URI=null Line=42: Element "servlet-mapping"
requires additional elements.

Error: URI=null Line=44: Element "web-app" does not
allow "servlet" here.
Error: URI=null Line=49: Element "servlet-mapping"
does not allow "url-pattern"
here.
=
Does this mean my web.xml is out of whack, or is maybe
something else wrong?  Everything seems to work ok as
per what I have in the web.xml.

Thanks,
Jeff


__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

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




"Scheduled Process" servlet: possible?

2002-01-29 Thread Jeff Corliss

Hi all,

Is it possible to have a servlet's service method
auto-invoked on a scheduled basis by its container? 
Like say for example you want to have your app do some
auto-archiving of old data on a regular basis or
something like that?

Thanks,
Jeff


__
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

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




Streaming files from Tomcat thru JK and IIS: No Headers (?)

2003-02-28 Thread Jeff Corliss
I'm having a problem with my IIS/Tomcat integration
using the JK connector.  Regular pages and servlet
mapped extensions work fine, but when I try to send
files using the ServletOutputStream, it does not work
properly when going thru IIS<->JK<->Tomcat.  I wind up
getting the content returned to the browser with
absolutely no headers (at least from the perspective
of doing a "View Source" on the returned "page").  I
am setting headers including content type, length, and
disposition.  Also, if I go directly to Tomcat using
its port #, the files come down the wire with the
headers and all and the appropriate plug-ins get
called by the browser, etc.  

Anyone know a solution for this?

Thanks,
JC


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: ERROR while running servlet on mac os X

2003-02-28 Thread Jeff Corliss
Found this in the release-notes-4.1.txt:

Enabling invoker servlet:

Starting with Tomcat 4.1.12, the invoker servlet is no
longer available by 
default in all webapp. Enabling it for all webapps is
possible by editing
$CATALINA_HOME/conf/web.xml to uncomment the
"/servlet/*" servlet-mapping
definition.

Using the invoker servlet in a production environment
is not recommended and is unsupported.

Hope that helps,
JC

>From: apratim sharma 
>HTTP Status 503 - Servlet
>org.apache.catalina.INVOKER.HelloWorldExample is
>currently unavailable
>--->hi!!
>i'm getting following error on running servlet
>compiled by me
>
>message Servlet
org.apache.catalina.INVOKER.HelloWorld
>is currently unavailable
>
>description The requested service (Servlet
>org.apache.catalina.INVOKER.HelloWorld is currently
>unavailable) is not currently available.
>
>Apache Tomcat/4.1.18
>
>can anybody tell me the solution


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Streaming files from Tomcat thru JK and IIS: No Headers (?) [round2]

2003-03-04 Thread Jeff Corliss
Hi all,

I'm having a problem with my IIS/Tomcat integration
using the JK connector.  Regular pages and servlet
mapped extensions work fine, but when I try to send
files using the ServletOutputStream, it does not work
properly when going thru IIS<->JK<->Tomcat.  I wind up
getting the content returned to the browser with
absolutely no headers (at least from the perspective
of doing a "View Source" on the returned "page").  I
am setting headers including content type, length, and
disposition.  Also, if I go directly to Tomcat using
its port #, the files come down the wire with the
headers and all and the appropriate plug-ins get
called by the browser, etc.  

Anyone seen this problem before and maybe know a
solution for this?

Thanks,
JC


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]