Re: How to use response.sendRedirect() to foward to the _top frame?

2000-12-17 Thread Christian Wenz

Hi,

that's not possible with server-side techniques, only client-side (e.g.
using JavaScript or a href="..." target="_top)

Regards
Christian

Zsolt Koppany wrote:

 Hi,

 how can I forward to a page that should appear (take) in the _top frame?






Adding authentication such as JDBCRealm dynamically

2000-12-17 Thread Zsolt Koppany

Hi,

is it possible to add authentication such as JDBCRealm dynamically? I
would like to add authentication for example only when the request comes
from outside of the company.
-- 
Zsolt Koppany
Intland GmbH www.intland.com
Schulze-Delitzsch-Strasse 16
D-70565 Stuttgart
Tel: +49-711-7871080 Fax: +49-711-7871017



mod_jk.so

2000-12-17 Thread MisterBad

I tried to find out where I can get the mod_jk.so as a binary-file, but I 
failed.
Is there anybody who can tell me where to get this from?

markus



request.getServerPort() returns wrong port

2000-12-17 Thread David M. Holmes

Tomcat 3.2 standalone is always returning port 80 no matter what port the request is 
made on. Is
this a known problem?

__
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/



Re: Adding authentication such as JDBCRealm dynamically

2000-12-17 Thread Craig R. McClanahan

Zsolt Koppany wrote:

 Hi,

 is it possible to add authentication such as JDBCRealm dynamically? I
 would like to add authentication for example only when the request comes
 from outside of the company.


Container-managed security is normally based on matching the Request URI against
the patterns defined in your security constraints, not on where the request came
from.  You would need to write a custom RequestInterceptor (Tomcat 3.x) or Valve
(Tomcat 4.x) to impose this kind of a rule.


 --
 Zsolt Koppany

Craig McClanahan





RE: How to set apache so it starts from index.jsp?

2000-12-17 Thread Dave Newton

  Question like in Subject.
  I've tried to replace index.html with index.jsp _at_the_end_ of
  httpd.conf and it doesn't work.
  (I use mod_jk to connect to tomcat)
  Has someone any clues?
 I mean - in the root directory of apache.

Do you mean have Apache look for an index.jsp before anything
else by using the DirectoryIndex httpd.conf directive?

If so, that's an Apache question, not Tomcat.

Dave




RE: Bizarre problem -- works fine, then doesn't

2000-12-17 Thread Dave Newton

 I have discovered that restarting Tomcat returns everything to smooth
 functioning. It appears that somehow, in the middle of the night, some
 condition changes and causes the Web apps to fail. What could be 
 happening?

So, ah, is the only information you have to go on? For instance, what's
in the logs? (Is there a dropped database connection, like there was in
mind?)

Dave




J2EE

2000-12-17 Thread Wong Chee Mon

Hi All,

Is there any project that support J2EE?
Will tomcat to be support J2EE in the future?

Thanks

Chee Mon




Re: J2EE

2000-12-17 Thread Lee Poh Heng

Yes, there is. Try http://www.jboss.org

- Original Message - 
From: "Wong Chee Mon" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 18, 2000 10:59 AM
Subject: J2EE


 Hi All,
 
 Is there any project that support J2EE?
 Will tomcat to be support J2EE in the future?
 
 Thanks
 
 Chee Mon
 





Disable directory indexes

2000-12-17 Thread James Bromberger


Hello all,

I and a colleague have been looking through the list archives, trying to find out how 
to disable the welcome-file feature. I have edited /conf/web.xml and altered the 
welcome-file-list element to be (a) commented out and (b) contain a welcome-file name 
of a non-existant file, but cannot get it to stop servnig out index.jsp. I am trying 
to set this as a default for all contexts (which each context shuold be able to 
override in its own WEB-INF/web.xml.

I am connrecting to tomcat directly to test this: port 8100 using the HTTP connector 
(Sun Solaris 2.6, JDK 1.3.0, Tomcat 3.2.1).

Ta,

James

-- 
  James Bromberger,
  Senior Web/Systems Administrator, JDV
  +61 8 9268 2909, +61 417 322 500
  Fax: +61 8 9268 0200

JDV - e-Commerce and Outsourcing Solutions for Financial Services
http://www.jdv.com/

Any securities recommendation contained in this document is unsolicited general 
information only. Do not act on a recommendation without first consulting your 
investment advisor to determine whether the recommendation is appropriate for your 
investment objectives, financial situation and particular needs.
JDV  believes that any information or advice (including any securities recommendation) 
contained in this document is accurate when issued. However, JDV does not warrant its 
accuracy or reliability. JDV, its officers, agents and employees exclude all liability 
whatsoever, in negligence or otherwise, for any loss or damage relating to this 
document to the full extent permitted by law.




Need Some help..

2000-12-17 Thread Thyagesh

 Hi,
I know its stupid. But I really struck with Tomcat's Docs  can't
figure how to configure it. I had used JServ extensively. I had to migrate
to Tomcat since I need a Servlet Container to Connect to IIS in Windows.
   My Requirements are that I had to Run Servlets which are in packages.
Hence I need mappings to these servlets. Also I need different context Paths
to same set of code(ex: /servlet, /foo) like zones in JServ.
Thing I want to know whether I had to create a WAR file to make it work
. OR Just add code to /webapps/root/.../classes(then where would be
mappings??).
I had seen docs but couldn't figure out

Any Help will be really useful. Please..

-Thyagesh






Re: Jakarta and Linux

2000-12-17 Thread Manjunath B.V.

Hi there,

 I just want to know whether any of the sub-projets of the Jakarta Project has 
been already integratd with the official Linux distributions and if so what all have 
been integrated , and kindly name *all* the Linux distributins which include those and 
your opinion on the best,for me purchase.
 
 I'am not in the mailing list so if possible please mail me at 
[EMAIL PROTECTED] .  

Thanx in advance  

   Cheers!!!
   
 GR.



Get FREE Email/Voicemail with 15MB at Lycos Communications at http://comm.lycos.com



AW: error in HttpSessionFacade when working with Apache/Tomcat 3.2 - i bit more accurate

2000-12-17 Thread Hanusch, Hartwig

Hi Sean and everybody else

i tried to find out a bit more - this error is quite reproduceble. 
When using the same servlet i call from the get method the 
do post and versa visa. 
What i've seen is, that tomcat uses an other session object 
(what shouldnt be the case) ... and i cant go back to 3.1 because
of the cookie-session stuff (but the problem is not related to cookies 
anyway)

Any other suggestions?
Cheers Hartwig






 -Ursprüngliche Nachricht-
 Von:  Sean Kroah [SMTP:[EMAIL PROTECTED]]
 Gesendet am:  Freitag, 15. Dezember 2000 18:31
 An:   [EMAIL PROTECTED]
 Betreff:  Re: error in HttpSessionFacade when working with
 Apache/Tomcat 3.2
 
 I am seeing a similar problem, but it is not related to mod_jk.
 Occassionaly  I try to access my Session I get this NullPointerException
 from HttpSessionFacade, which is just 
 trying to access the Session object. The code runs fine under Tomcat 3.1.
 Mind you I still think it's my code that is the  problem, a deadlock. It
 would be nice if a more meaningful exception could be thrown from these
 facade classes. This is the third time someone has pointed out that
 HttpSessionFacade is throwing a NPE and they are all in very different
 circumstance. Maybe i'll dig some more through the Tomcat code to figure
 it out. 
 
 A quick fix for you would probably be to go back to a 3.1 release, if
 that's acceptable 
   
 
 Sean Kroah 
 
 "Hanusch, Hartwig" wrote: 
 
   Hi there, 
 
   does anybody know why a servlet works fine with tomcat only (port
 8080) 
   but when using apache/tomcat via jk_mod (or old jserv) the servlet
 throws 
   an error like that: 
 
   java.lang.NullPointerException: 
   at org.apache.tomcat.facade. 
   HttpSessionFacade.getId(HttpSessionFacade.java:114) 
   ... 
 
   the calling code looks that way: 
 
   session is hash of sessions 
 
   for (Iterator i = sessions.iterator(); i.hasNext(); ) 
   { 
   HttpSession theHttpSession = (HttpSession) i.next(); 
   String sid = theHttpSession.getId();
 problem, 
   calling HttpSessionFacade  
   if (loginObj.hasContentSessionRelatedBlaSession(sid) !=
 true) 
   { 
   tmpVec.add(theHttpSession); 
   } 
   } 
 
   Could that be a configuration error? Doesnt seems like?! Any ideas? 
   When looking at the HttpSession the stored session in memory seem to
 mix up! 
 
   Happy to here from anybody 
   Cheers Hartwig
 
 -- 
 Sean KroahT:503.222.9660
   F:503.241.5682
 WireX Communications, Inc. 
 Software Engineer,[EMAIL PROTECTED]