RE: Configuring Apache to work with Tomcat

2003-06-22 Thread Logan Scott
Try this: http://www.johnturner.com/howto/winxp-howto.html -Original Message- From: Matt Kwid [mailto:[EMAIL PROTECTED] Sent: Sunday, June 22, 2003 11:12 PM To: [EMAIL PROTECTED] Subject: Configuring Apache to work with Tomcat Greetings, I just read through a bunch of the emails sent a

Configuring Apache to work with Tomcat

2003-06-22 Thread Matt Kwid
Greetings, I just read through a bunch of the emails sent at the mail archive for this mailing list and read about other issues concerning mod_jk as well as the many different versions of mod_jk configurations for different versions of Tomcat. I have followed the "for the impatients" JK document

File Upload - MultipartRequest - Mod_jk

2003-06-22 Thread Logan Scott
Hello, I'm attempting to create an upload program using the Oreilly package: http://www.servlets.com/cos/faq.html This line of code: MultipartRequest multi = new MultipartRequest(request, ".", 5242880); works on a W2K server with Tomcat by itself, but not on a server with Apache-Tomcat-Mod_jk i

How to access a specific session in a servlet

2003-06-22 Thread christian . schuster
Hi list, I am pretty newbie with servlets and I got stock now. How can I access a specific session from Servlet? Is this possible? I need to do this because by a prevoius request I stored some objects in the session which I need to access again later in other servlets. I am running Tomcat 4

Re: ok, am I offically lost here

2003-06-22 Thread Nikola Milutinovic
> ok, there is a webapps directory, inside is a very > dirs, examples, ROOT etc. > > the normal root page loads up and I can get to the > examples, the confusion starts here, the ROOT houses > the index.jsp, but the examples are not UNDER ROOT > they are a different dir back one in webapps. > > W

Re: How do I disable HTTP TRACE in Tomcat

2003-06-22 Thread Peter M. Gerken
Tim... I think I found a way that appears to work... I added the line and it give me the 302 message for the HTTP TRACE and my web app appears to be working Is this all I need to do? Protected Context /* TRACE CONFIDENTIAL

Re: How do I disable HTTP TRACE in Tomcat

2003-06-22 Thread Peter M. Gerken
Tim Thanks for the suggestion and it shows the following when I try to telnet and send HTTP TRACE HTTP/1.1 302 Moved Temporarily Pragma: No-cache Cache-Control: no-cache Expires: Thu, 01 Jan 1970 00:00:00 GMT Location: https://localhost:8443/ Content-Type: text/plain Content-Length: 0 Date:

Container managed security

2003-06-22 Thread Stephen Ting
Hi All, May i know is it possible to have more than one login config for a single container. Says i have 2 applications running on different context; APP1 and APP2 both of them using container managed security. But required seperate login credential. Can i mantain 2 or more set of users and roles

Default Context

2003-06-22 Thread Stephen Ting
Hi All, How do i configure my web application to become the default context in Tomcat container bundle together with JBoss? If i point to the IP address on which JBoss is running i will automatically directed to the application. (Like the Root context of Tomcat) Regards, Stephen Ting

Re: ok, am I offically lost here

2003-06-22 Thread madhombre
ok, now I got it working on the tomcat server I want to allow access through my apache. so I figured all I needed to do was add the /testing/* to my workers2,properties files like this here is the example for examples [uri:/examples/*] info=Map the whole webapp here is mine [uri:/testing/*] info

Re: How do I disable HTTP TRACE in Tomcat

2003-06-22 Thread Tim Funk
In web.xml - use a security constraint to disallow trace. It is similar to this: http://jakarta.apache.org/tomcat/faq/security.html#https -Tim Peter M. Gerken wrote: Hi.. I'm using tomcat 4.1.24 and the sys admins found a potential security hole by sending a HTTP TRACE. They told me I need to f

Re: ok, am I offically lost here

2003-06-22 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/misc.html#symlink -Tim [EMAIL PROTECTED] wrote: > BTW any idea how to turn on the symbolic links support? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

RE: Special characters

2003-06-22 Thread Laurent FĂ©ral-Pierssens
David, I had this problem quite a few months back for the first time and was not able to solve it... Untill It surfaced again last week. The solution I used is fairly simple, here is my entry for this issue. Let me know if it works. Laurent *** Description: Webapp does

XP - JDev - forward() - NoSuchMethodException

2003-06-22 Thread Joe McGranaghan
I'm develping a web app in JDeveloper on XP and then trying to deploy it to tomcat4 on my localhost. All is well until my servlets try to call RequestDispatcher.forward(). At this point, tomcat gets an internal server exception that can be traced back to a NoSuchMethodException at the forward()

How do I disable HTTP TRACE in Tomcat

2003-06-22 Thread Peter M. Gerken
Hi.. I'm using tomcat 4.1.24 and the sys admins found a potential security hole by sending a HTTP TRACE. They told me I need to fix it by following the instructions in the following URL: http://www.kb.cert.org/vuls/id/867593 However, I'm not using the Apache HTTP Server, just Tomcat with it's

restarting the server

2003-06-22 Thread madhombre
how comes my dir under the webapps dir did not work until I restarted the server? everytime you install or add one of these you need to rerstart it? is there a good reason for that? I tried everything, a guy on this list told me what to do and I followed it, nothing, restarted the server and bam,

caching

2003-06-22 Thread madhombre
ok, this is odd, I was having an issue with some stuff and to test I moved the main index.jsp page to index2.jsp and made my own which said test. (I was checking permissions etc. so I figure out the issue, thanks to some kind person on this list and I get my testing folder working. now I want to

Re: ok, am I offically lost here

2003-06-22 Thread madhombre
thanks for the advice, however I did that created a testing folder under the webapps folder. put in a basic index.jsp page, copied the WEB_INF folder from root, added a classes and lib sub folders and same thing even made sure the grp was set to tomcat4 what am I doing wrong, when I started the

Re: "invalid reference to form login page" error

2003-06-22 Thread Jason Bainbridge
On Mon, 23 Jun 2003 05:46, j p wrote: > Hello, I'm using container-managed security features in TC 4.1, > and I'm receiving error: > > "invalid reference to form login page" G'day, Funny that I was just installing Tomcat on my laptop and got the very same thing... I believe you can't access logi

Re: ok, am I offically lost here

2003-06-22 Thread Jason Bainbridge
G'day, You're first stop should be here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html and for something more indepth you can check out the online version of Core Servlets and JSP at: http://www.coreservlets.com/ I think by default support for symbolic links are switched o

"invalid reference to form login page" error

2003-06-22 Thread j p
Hello, I'm using container-managed security features in TC 4.1, and I'm receiving error: "invalid reference to form login page" when trying to login user. I use form-based authentication and have a page with appropriate configured form (j_username,j_password, etc). Where is the problem? Than

Re: ok, am I offically lost here

2003-06-22 Thread madhombre
this is getting worse, now I renamed my index.jsp page back and tried to open that and it does the same thing now!!! what am I doing here? please do not tell me the server needs to be rebooted when ever you change stuff like this! thanks, please help! --- [EMAIL PROTECTED] wrote: > I am totall

ok, am I offically lost here

2003-06-22 Thread madhombre
I am totally new to JSP/serlets, my background is C++ then PHP and recently Java again. I am fine with these, but this has me baffled. I am almost home when it comes to the install, had some issues but almost all is working. My last hurdle is one which is very confusing. ok, there is a webapps

[ANN] Tomcat 5.0.3 Alpha released

2003-06-22 Thread Remy Maucherat
Tomcat 5.0.3 Alpha is now available for testing. Please refer to the changelog included in the release for the list of changes. Downloads: http://jakarta.apache.org/builds/jakarta-tomcat/release/v5.0.3-alpha/ Remy - To unsubscr

Re: JK2 config

2003-06-22 Thread Jonathan Peterson
>The docs coming with TC are confusing and full of holes, to say the least. Yes. The mod_jk and tc docs are far from great. I've spent a few days setting it up on a server and I'm disappointed to find it has the same sort of complexity and confusion as mod_perl :-(. >Right now, my immediate qu

RE: mod_jk quirk?

2003-06-22 Thread Dave Naden
Thanks both of you! This answers my question. -Dave -Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED] Sent: Saturday, June 21, 2003 2:03 AM To: [EMAIL PROTECTED] Subject: Re: mod_jk quirk? Larry is correct. The worker is configurable. The Jk docs are a mess to navigate

Re: How to use digital certificates

2003-06-22 Thread Mario Ivankovits
I think, it is not a good idea to use the subject of the certificate as username. 1) You could not mix form or basic authentication with certificate authentication. You have to implement a certificate to user mapping within your application 2) A certificate can change This is what my JNDIRealm* C

Re: JK2 config

2003-06-22 Thread NormW
Good evening Nikola. Best of luck and I will watch your 'thread' with interest. I asked some technical questions about mod_jk2 a few weeks ago and got deafened by the silence. Considering a predominance of questions here are about configuration issues, it is amazing there seems to be enough time t