Re: Setting up logging - Log4j

2003-02-11 Thread Bill Barker
As much as I respect Ceki, I do think that there is a place for commons-logging. It does provide a nice transition platform when you are switching out of JDK1.4-logging, because you were brain-dead at the time you chose it ;-). It is also very useful for people writing commercial re-distributed a

Re: Diff between 4.1 and 3.3.1a

2003-02-11 Thread Bill Barker
The differences between 3.3.1 and 4.0.x are pretty much everything ;-). The differences between 3.3.1 and 4.1.x are only slightly smaller. If you have custom components (e.g. Realms, Interceptors), then you should consider the move to 4.1.x to be an entirely new software platform (since none of y

Re: Keep getting logged out of Tomcat?

2003-02-11 Thread Sean Dockery
First possibility: Is your web browser accepting cookies from this web site? If not and you are relying on URL rewriting, your session chain will be broken when you visit a page where URL rewriting isn't in effect, such as a static HTML page. Second possibility: Perhaps your session timeout is

Diff between 4.1 and 3.3.1a

2003-02-11 Thread Ramkumar Krishnan
Hi, What are the bugs related to security fixed in 4.1?.What are the differences between 4.1 and 3.3.1?.. thanks in advance, Ramkumar

NES and Tomcat on Solaris

2003-02-11 Thread Craig Pardey
I have been trying to figure out how to configure Netscape Enterprise Server (4 SP2) to work with Tomcat (4.1.18) on Solaris 8. The how-to docs only outline how to do this with NES on Windows, not Solaris. Can anybody help me out here? Craig *

Re: Setting up logging - Log4j

2003-02-11 Thread Bill Barker
"Joe Tomcat" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Tue, 2003-02-11 at 14:27, tomcat guy wrote: > > Would anyone be so kind to point me in the right direction for setting up some logging for servlets running on Tomcat? > > > > I'm looking at Log4j bu

How to write custom authentication method forTomcat as well as weblogic/orion?

2003-02-11 Thread Soefara Redzuan
Whilst Tomcat's JDBC Realm's are easy to set up and get working, (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html), I'm wondering how easy it might be to write our own authentication mechanism using Filters ? There are a few reasons for this, 1) We'd like a security mechanism w

Re: 3.3.1 Standalone and Client-Auth

2003-02-11 Thread Bill Barker
"Alex Tang" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi folks. > > I was wondering if it's possible to get client certificate information > from tomcat (3.3.1) when running STANDALONE (e.g. NOT using mod_jk or an > external webserver). > > I can setup tom

Re: Setting up logging - Log4j

2003-02-11 Thread Jacob Kjome
I only have one thing to say about commons-logging... http://qos.ch/logging/thinkAgain.html Jake At 10:19 PM 2/11/2003 -0700, you wrote: This thread has already pointed this out indirectly, but I will go ahead and say it directly - you may want to consider the commons-logging API for your logg

Re: preview of webapp of Tomcat Performance book

2003-02-11 Thread Swapneel Dange
Thats really interesting to know ! swapneel ! From: Fabio Mengue <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: Tomcat Users List <[EMAIL PROTECTED]> Subject: Re: preview of webapp of Tomcat Performance book Date: Tue, 11 Feb 2003 14:09:40 -0200 Very much :))) F.

RE: automatically redirect http to https in tomcat

2003-02-11 Thread Jacob Kjome
This is part of the servlet spec. Use a transport guarantee. You won't have to do any extra coding. Tomcat /* CONFIDENTIAL Jake At 05:22 PM 2/11/2003 -0500, you wrote: Yes, I use struts. It used to automatically redirect http request to http

Question on Number of Jsps on Tomcat?

2003-02-11 Thread sathya
Hi all,     Is there any limitation on the number of jsps that should be there in web app container.Will the application suffer if there are more number of jsps. I am using Tomcat 4.1.9 jdk 1.4. My tomcat server keeps crashing periodically when

Re: Setting up logging - Log4j

2003-02-11 Thread Larry Meadors
This thread has already pointed this out indirectly, but I will go ahead and say it directly - you may want to consider the commons-logging API for your logging so that if (when?) you change logging implementation later you do not have to touch every class that does logging. The commons logging p

Re: Setting up logging - Log4j

2003-02-11 Thread Jacob Kjome
While I haven't used JDK1.4 logging much, I think the consensus is that Log4j is the more powerful framework. JDK1.4 logging may gain traction simply because it is part of the official JDK. However, its development will be slower than that of Log4j as Log4j is being worked on constantly by d

How do setup tomcat on www.domainname.com/~username/some.jsp

2003-02-11 Thread Alex K.
Hello, Any ideas? Best Regards, Alex Korneyev - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Keep getting logged out of Tomcat?

2003-02-11 Thread Soefara Redzuan
I've set up a JDBC Realm and it works fine for the most part but sometimes I'll get logged out and have to log in again within the space of less than 2 minutes - this happens repeatedly. Has anybody else encountered such a problem ? Thank you. Soefara. ___

Re: profiling the heap from within tomcat?

2003-02-11 Thread Peter Lin
the easiest way is to use something like OptimizeIt, but not everyone has a copy. Your other option is to use -Xloggc and save the gc to a file. The thing you want to look for are frequency of GC and gc behavior. what I mean by gc behavior is when are minor and major collections garbaged. If

Re: Steve's attitude

2003-02-11 Thread Joel Rees
Uhm, everybody, as has been pointed out before, if you really can't stand his posts in your mailbox, just set up a filter on his address. (This list really isn't for teaching people how to "win friends and influence people.") Steve, there's a newsgroup for basic stuff on _java_ and _jsps_ --

RE: MY ATTITUDE

2003-02-11 Thread Hookom, Jacob John
Don't wallow in the mud with pigs, you will get dirty and the pigs will like it -Lorrie Ardion -Original Message- From: Steve Burrus [mailto:[EMAIL PROTECTED]] Sent: Tue 2/11/2003 8:53 PM To: Tomcat Users List Cc: Subject: Re: MY ATT

I APOLOGIZE!

2003-02-11 Thread Steve Burrus
I will keep this little note to the whole group "short and sweet". I am feeling quite contrite and even sorry about the *hideous* way in which I have acted recently. It seems like this isn't the 1st time that I have felt compelled to openly apologize to our newsgroup for my behavior, and probabl

Re: MY ATTITUDE

2003-02-11 Thread Steve Burrus
Mike, (u don't mind if I call you Mike do you? :-) ) what did you mean by stating "Don't feed the troll, eh?"

RE: MY ATTITUDE

2003-02-11 Thread Mark
Steve, please review the email guidelines: http://jakarta.apache.org/site/mail.html In particular... "The level of community responsiveness to specific questions is generally directly proportional to the amount of effort you spend formulating your question. Eric Raymond has even written an essa

Re: web page errors

2003-02-11 Thread Sean Dockery
You might be able to accomplish this using a Tomcat Valve (by looking for a 404 response code). - Original Message - From: "Peter Choe" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]>; "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, February 11, 2003 08:19 Subject: R

Re: Setting up logging - Log4j

2003-02-11 Thread Will Hartung
Log 4J isn't overly difficult. Here's some tips: Create a log4j.properties file. Here's a sample: - # Set root category priority to DEBUG and its only appender to A1. log4j.rootCategory=DEBUG, A1 # Print only messages of priority INFO or above in the class your.app.ClassName log4j.category.y

Re: Place to look for offtopic java/jsp info

2003-02-11 Thread Sean Dockery
Other site that deserve mention include... site:jakarta.apache.org site:www.onjava.com site:www.javaworld.com - Original Message - From: "Mike Jackson" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, February 11, 2003 16:27 Subject: RE: Place to look for

Re: How to configure Tomcat to follow symbolic links.

2003-02-11 Thread Sean Dockery
I misread the part in the book where I found the information... "The docBase attribute (optional) specifies the root directory under which the named resources are to be found in the filesystem. It has the same semantics and rules as the docBase attribute of a context, and is constructed relative

Re: help with client certificates

2003-02-11 Thread Sean Dockery
With regard to providing a certificate to the web site, but not authenticating per se: With regard to writing your own custom realm, it seems reasonable--but I would not have thought something like this would be so difficult. Instead of having CLIENT-CERT authentication, you might consider simply

Re: Setting up logging - Log4j

2003-02-11 Thread tomcat guy
Thanks Joe! I'll look into it. I've looked all over for some good info on Log4j but I can't find squat. Maybe I am just missing it, that's very possible, but I can't find much in my searches & looking at the obvious... lata,g - Original Message - From: "Joe Tomcat" <[EMAIL PROTECTED]> To

Re: help with client certificates

2003-02-11 Thread Tony Dahbura
That is correct! It is prompting me for my certificate it is just telling the following on a tomcat error page: type Status report message Access to the requested resource has been denied description Access to the specified resource (Access to the requested resource has been denied) has been fo

Re: SSL Error: no cipher suites in commom

2003-02-11 Thread Tony Dahbura
Wagner: The keystorefile and pass are part of the factory declaration not the connector: Tony Wagner wrote: > Hello,I'm trying to set a SSL for Tomcat standalone... but i'm > getting the error:PoolTcpEndpoint: Handshake failed > javax.net.ssl.SSLHandshakeException: no cipher s

Re: MY ATTITUDE

2003-02-11 Thread Michael Micek
Please do not feed the troll, eh? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re:[OT] FAQ (was Re: MY ATTIT...)

2003-02-11 Thread Will Hartung
> From: "Bill" <[EMAIL PROTECTED]> > Sent: Monday, February 10, 2003 2:48 PM > Subject: Re: Re:[OT] FAQ (was Re: MY ATTIT...) > Will > > While I understand your point, I kinda feel like its a sell-out. I do > understand the problem is at the user level, however I dont feel that is > a justificat

RE: MY ATTITUDE

2003-02-11 Thread Januski, Ken
Please read this Steve. It's the best advice yet I've seen for you, and I don't mean that as an insult. Read it slowly, carefully and force yourself not to respond to it for at least a day. As the author says more are more people are going to set their mail filters to send your files straight to t

Re: Setting up logging - Log4j

2003-02-11 Thread Joe Tomcat
On Tue, 2003-02-11 at 14:27, tomcat guy wrote: > Would anyone be so kind to point me in the right direction for setting up some >logging for servlets running on Tomcat? > > I'm looking at Log4j but I be a newbie and the docs I'm finding are not that >helpfull... If you have a choice, I would

Re: Building ISAPI connector with Ant - How to materialize apr.h?

2003-02-11 Thread Alex Cruise
Alex Cruise wrote: Well aware... The question is how to get an apr.h that's correct for my configuration. :) Turns out the problem was that the .dsp files in apr-0.9.1.tar.gz have Unix line-endings, and MSDev can't handle it. I just threw a task into my build script and I'm moving right alo

RE: automatically redirect http to https in tomcat

2003-02-11 Thread Oscar Carrillo
One more thing. Make sure NOT to use an include for the mod_jk.conf file. Then it becomes global and screws you up. At least that's what I figured was happening. Oscar On Tue, 11 Feb 2003, Oscar Carrillo wrote: > I got this working by using separate jkmounts for two different virtual > hosts.

Re: MY ATTITUDE

2003-02-11 Thread Erik Price
Hi Steve, RTFM means "Read the friggin' manual". It is used in almost any place where a person is asking a question when they could have read a document instead. The idea is that nobody has extra time sitting around to waste re-explaining things that have been explained perfectly well elsewhe

RE: Place to look for offtopic java/jsp info

2003-02-11 Thread Mike Jackson
That's a very good site. I like servlets.com as well. Not as useful, but still interesting. --mikej -=- mike jackson [EMAIL PROTECTED] > -Original Message- > From: Oscar Carrillo [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 11, 2003 3:48 AM > To: Tomcat Users List > Subject:

RE: automatically redirect http to https in tomcat

2003-02-11 Thread Oscar Carrillo
I got this working by using separate jkmounts for two different virtual hosts. One for http, the other for https. Then I have a redirect to move to specific page. Please see my complete description of my setup at http://daydream.stanford.edu/tomcat/install_web_services.html Oscar On Tue, 11 Fe

RE: MY (Steve's) ATTITUDE

2003-02-11 Thread Becky Phaneuf
Too bad Abby's dead :) Steve needs a shrink. -B P.S. RTFM means "Read the F*cking manual" >>> [EMAIL PROTECTED] 02/11/03 02:48PM >>> Dear Abby, Please help Steve. -Original Message- From: Steve Burrus [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 4:31 PM To: Tomcat Us

Place to look for offtopic java/jsp info

2003-02-11 Thread Oscar Carrillo
There seems to be some inquiries into java-related questions lately. I've had good success from http://jguru.com I think they charge now for some stuff but much is free. The site can be somewhat confusing to navigate so I just search with google as such: site:jguru.com whatever i'm searching for

RE: MY ATTITUDE

2003-02-11 Thread Filip Hanik
read the F**CKING manual - RTFM -Original Message- From: Steve Burrus [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 2:38 PM To: Tomcat Users List Subject: RE: MY ATTITUDE Matthew, please forgive my *dumb naivety*, but what does RTFM mean,i.e., what does it stand for exactl

RE: MY ATTITUDE

2003-02-11 Thread Short, Dave
This not a therapy newsgroup! It's for people seeking and providing Apache/Tomcat information. There have been numerous posts describing why some questions are answered, some aren't and how to ask for help respectfully. I'm sick and tired of your crap. If you don't like this newsgroup or Apache

RE: mod_jk2 vs. the others

2003-02-11 Thread Francesa Lacreativa
Actually, its the JNI configuration that doesn't work correctly. I can get jk2 to work just fine with sockets (like your config file indicates you are using), but the JNI shared library is bad, as Rahul recently discovered. "Chong, Kwong" <[EMAIL PROTECTED]> wrote: I'm still fairly new to th

Re: automatically redirect http to https in tomcat

2003-02-11 Thread Steinar Bang
> [EMAIL PROTECTED]: > Yes, I use struts. It used to automatically redirect http request to > https with https setup in ssl.conf. After I upgraded to b3, 4.1.18, > 2.0.44, http is http and https is https. What I've done in Struts, is to subclass ActionServlet, replace the doGet() and doPost()

RE: MY ATTITUDE

2003-02-11 Thread Mike Jackson
I have to ask, why do you go out of your way to offend people? Remember none of these people are being paid to help you, so try to be polite. Also, most people response better to well written, properly spelled, and grammatically correct messages. Also, don't bother to flame me (as you have nearl

RE: automatically redirect http to https in tomcat

2003-02-11 Thread SSchaubach
Ok then, In the struts config you would present the view with not just a relative path but a full path with https://etc Best, Stephen -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 2:22 PM To: [EMAIL PROTECTED] Subject: RE: automa

Re: FAQ (was Re: MY ATTIT...)

2003-02-11 Thread Sean Dockery
The simple fact is that people post questions because they lack answers to those questions. They lack answers because they can't be bothered to invest time in searching for those answers (i.e.: won't RTFM) or perhaps just don't know where to look for those answers. The ASF web sites are great, bu

RE: MY ATTITUDE

2003-02-11 Thread Ron Day
Dear Abby, Please help Steve. -Original Message- From: Steve Burrus [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 4:31 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: MY ATTITUDE Well, well, Jim, aren't just flat too damned *cute* for yer own good?!!! You think th

Re: Re:[OT] FAQ (was Re: MY ATTIT...)

2003-02-11 Thread Bill
Will While I understand your point, I kinda feel like its a sell-out. I do understand the problem is at the user level, however I dont feel that is a justification for the problem. We all likely followed the same process to become members of this list. Why should I or anyone else be tolerant of

RE: MY ATTITUDE

2003-02-11 Thread Steve Burrus
Sorry Romeo if not every single one of my numerous posts have anything to do with Tomcat or jsp's or servlets, but I am only human and have certain feelings and attitudes which I Iike/love to openly display for everyone else in this newsgroup of ours' !

RE: MY ATTITUDE

2003-02-11 Thread Steve Burrus
Matthew, please forgive my *dumb naivety*, but what does RTFM mean,i.e., what does it stand for exactly anyway? I hope that this doesn't sound like some kind of a "rant" [again], but it seems like for a long time now people in this newsgroup have "ragging" on me! Capiche?!

RE: java/jsp & dynamic data

2003-02-11 Thread Mike Jackson
You could look into doing an applet with rmi back to the server it came from. Or do an EJB message bean, where the message queue is the server that the applet came from (don't know if you can do this, but it's like that you can). --mikej -=- mike jackson [EMAIL PROTECTED] > -Original Mes

RE: MY ATTITUDE

2003-02-11 Thread Steve Burrus
Well, well, Jim, aren't just flat too damned *cute* for yer own good?!!! You think that what u said makes me feel any better?: "Steve,Don't go away mad, just go away!" How on earth is your *crappy* response back to me gonna help me out w. my long series of problems? I'll bet that you really don'

RE: mod_jk2 vs. the others

2003-02-11 Thread Mike Jackson
I run mod_jk on unixware without a problem even. :) But with an older apache 1.3.x and tomcat 3.3.x... --mikej -=- mike jackson [EMAIL PROTECTED] > -Original Message- > From: Turner, John [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 11, 2003 11:49 AM > To: 'Tomcat Users Lis

RE: server-*.xml

2003-02-11 Thread Craig R. McClanahan
On Tue, 11 Feb 2003, Steve Bucknam wrote: > Date: Tue, 11 Feb 2003 16:14:42 -0500 > From: Steve Bucknam <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: server-*.xml > > I have one Tomcat server for many developers.

Re: server-*.xml

2003-02-11 Thread Will Hartung
> From: "Steve Bucknam" <[EMAIL PROTECTED]> > Sent: Tuesday, February 11, 2003 1:14 PM > Subject: RE: server-*.xml > I have one Tomcat server for many developers. Ok, then lets looks at the fundamental issue then. Why? Why share a Tomcat instance at all? Why don't they simply host their own T

RE: automatically redirect http to https in tomcat

2003-02-11 Thread pqin
Yes, I use struts. It used to automatically redirect http request to https with https setup in ssl.conf. After I upgraded to b3, 4.1.18, 2.0.44, http is http and https is https. Regards, PQ "This Guy Thinks He Knows Everything" "This Guy Thinks He Knows What He Is Doing" -Original Messa

Setting up logging - Log4j

2003-02-11 Thread tomcat guy
Would anyone be so kind to point me in the right direction for setting up some logging for servlets running on Tomcat? I'm looking at Log4j but I be a newbie and the docs I'm finding are not that helpfull... Thanks much!

Re: java/jsp & dynamic data

2003-02-11 Thread Will Hartung
> From: "Turner, John" <[EMAIL PROTECTED]> > Sent: Tuesday, February 11, 2003 12:26 PM > Subject: RE: java/jsp & dynamic data > That looks REALLY interesting...thanks for the pointer. Yeah, this does look interesting. I happen to be neck deep on something like this (it's next on my stack). I ha

RE: automatically redirect http to https in tomcat

2003-02-11 Thread SSchaubach
PQ, Are you using struts? if so I may be able to help you. Best, Stephen Schaubach -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 1:12 PM To: [EMAIL PROTECTED] Subject: automatically redirect http to https in tomcat Importance: Low

RE: mod_jk2 vs. the others

2003-02-11 Thread Chong, Kwong
I'm still fairly new to the tomcat world, but we have Apache 2.0.43 working with tomcat 4.1.18 via mod jk2 running on solaris 8 We initially ran up tomcat with apache 1.3.27 running mod jk, but found that mod jk wasn't working well with high loads, possibly due to the way the jk connector establ

RE: server-*.xml

2003-02-11 Thread Filip Hanik
since the small footprint, have them run it on their own computers :) Filip -Original Message- From: Lajos [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 1:58 PM To: Tomcat Users List Subject: Re: server-*.xml Right, but a headache to change ports for each installation and

profiling the heap from within tomcat?

2003-02-11 Thread Paul Tomsic
Is there a way to tell what's going on in the heap from within Tomcat? I've tried putting JAVA_OPTS="-Xrunhprof:heap=all" but this doesn't seem to be doing it. Perhaps I'm not using it correctly. Thoughts? What I'm looking to do is cure an OutOfMemory exception, but I'm having trouble tracking

Re:[OT] FAQ (was Re: MY ATTIT...)

2003-02-11 Thread Will Hartung
> From: "Bill" <[EMAIL PROTECTED]> > Sent: Monday, February 10, 2003 12:21 PM > Subject: Re: FAQ (was Re: MY ATTIT...) > Wouldnt it be sufficient for the users of this list to simply stop > replying to people when they do not follow the very simple set of rules > set out on the apache website? S

Re: How to configure Tomcat to follow symbolic links.

2003-02-11 Thread Hans Deragon
Sean Dockery wrote: Maybe try Resource.docBase="" to see what that does... Just out of curiousity. :-) That works. Wonder why docBase must be empty. Doesn't when I put in my Context docBase. Go figure. A bug maybe? Sincerely, Hans Deragon P.S. BTW, Thanks to Mike Johnson and John Turne

Re: server-*.xml

2003-02-11 Thread Lajos
Right, but a headache to change ports for each installation and god help you if you don't set CATALINA_HOME right when you bounce your own server. I know - I have three instances running on a client machine and I keep getting confused and bringing down the production instance much to the annoya

Re: Beware: Don't use JNI inprocess mode with JK2, it's badly broken

2003-02-11 Thread liug
Rahul, I guess the jk2 developers are using Microsoft Windows platform. I've seen several success stories on mod_jk2/JNI inprocess. You might want to take a look at the C files for the mod_jk2.dll My guess is those C files are doing the "right" job. (registering the handlers). Frank Rahul Bhargav

RE: jsessionid problem

2003-02-11 Thread Chong, Kwong
We had the same problem while deploying our application running apache/tomcat. As I understand it, during the first transaction of any session, there are no cookies to maintain session information, so tomcat appends the session ID in the URL. The problem then is apache does not recognise sess

RE: automatically redirect http to https in tomcat

2003-02-11 Thread pqin
Actually I want to force the https access of my context 1. I included ssl.conf in httpd.conf. 2. In ssl.conf, I enabled SSL and ServerName my.domain.com:443 .. 3. In my server.xml, the only connector loaded is a secure one. I assume any http request will be automaticall

Re: Status 404 - resource not available

2003-02-11 Thread Wilson Snook
Note that, so many contributors here mention, the servlet invoker is turned off for security reasons. You can reinstate it, but it is considered better to map your servlet in the application's web.xml file. Regards, Wilson -

RE: server-*.xml

2003-02-11 Thread Filip Hanik
I totally agree with John, Tomcat has such a small footpring, so it doesn't make sense sharing one between developers, you are only creating overhead for yourself and others in your org. Filip -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 20

Re: server-*.xml

2003-02-11 Thread Will Hartung
> From: "Steve Bucknam" <[EMAIL PROTECTED]> > Sent: Tuesday, February 11, 2003 12:51 PM > Subject: server-*.xml > I want to create multiple contexts for a single server using the same > port on Tomcat 4.1.18. I need to accomplish this through multiple > config (server.xml) files. How is this di

3.3.1 Standalone and Client-Auth

2003-02-11 Thread Alex Tang
Hi folks. I was wondering if it's possible to get client certificate information from tomcat (3.3.1) when running STANDALONE (e.g. NOT using mod_jk or an external webserver). I can setup tomcat so that it requires client-auth properly, however I don't seem to be able to programmatically get at a

Simple HelloServlet Class

2003-02-11 Thread Alberto Magalhaes
Hi, i am testing small examples, and when i compile HelloServlet.Java, and copy the class file to C:\install_dir\webapps\ROOT\WEB-INF\classes I can access the servlet with the URL:http://127.0.0.1:8080/servlet/HelloServlet Thanks AAM

RE: automatically redirect http to https in tomcat

2003-02-11 Thread Mohamed Nasser
In the httpd.conf under the virtual host listening to port 80 have the line RedirectPermanent / https://my.domain.com if you want it to do for specific content you may have to play with the above statement or redirect rules. The above would be for all http requests. -MN -Original Message

RE: server-*.xml

2003-02-11 Thread Turner, John
Well, you're still going to need to stop/start Tomcat to pick up new changes to the included files. Wouldn't it be better to just give each one of them their own Tomcat instance? That way, Developer A's requirement that Tomcat be bounced to pick up his changes doesn't effect Developer B. John

Re: Virtual Hosting Tomcat

2003-02-11 Thread Sangam Dash
Sean Dockery wrote: www.inqbyte.com is not in your hosts file, so your machine looks to your DNS server to resolve to it to an IP. If you put www.ipqbyte.com in your hosts file, it should work as you expect. Sean Dockery [EMAIL PROTECTED] Certified Java Web Component Developer Certified Delphi

RE: server-*.xml

2003-02-11 Thread Steve Bucknam
I have one Tomcat server for many developers. Each developer needs there own host web app. Each webapp has it's own name. I could use the default mechanism of http://localhost:8080//, but then I can't allow each developer to specify a custom realm unless they are all editing the same server.xml

Re: automatically redirect http to https in tomcat

2003-02-11 Thread Jake Robb
The only way I can think of to do that is to mirror your secure content with nonsecure matching pages with either META or Javascript redirects, or using JSP (PHP and other server-side languages could do it too) to do a header write. - Original Message - From: <[EMAIL PROTECTED]> To: <[EM

automatically redirect http to https in tomcat

2003-02-11 Thread pqin
Is it possible to automatically redirect any http request to https in an Apache + Tomcat environment? For example, If I enter http://my.domain.com/mycontext , I would be automatically redirected to https://my.domain.com/mycontext? Regards, PQ "This

RE: server-*.xml

2003-02-11 Thread Turner, John
You can use XML to incorporate other files. There is a special syntax, sort of like "include" for JSPs. I don't remember what it was, exactly, but there was a thread on this awhile back. I believe it's http://marc.theaimsgroup.com/?l=tomcat-user&m=104422058910420&w=2 John > -Original M

Re: Virtual Hosting Tomcat

2003-02-11 Thread Harish Kumar K.K.
Hi Sangam Add this line to your hosts file 127.0.0.1 www.inqbyte.com and then try. Harish - Original Message - From: "Sangam Dash" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, February 11, 2003 11:21 AM Subject: Re: Virtual Hosting Tomcat > hi > > I h

RE: server-*.xml

2003-02-11 Thread Shapira, Yoav
Hi, >I want to create multiple contexts for a single server using the same >port on Tomcat 4.1.18. OK. >I need to accomplish this through multiple >config (server.xml) files. Why? Yoav Shapira Millennium ChemInformatics - To

Re: Virtual Hosting Tomcat

2003-02-11 Thread Sean Dockery
www.inqbyte.com is not in your hosts file, so your machine looks to your DNS server to resolve to it to an IP. If you put www.ipqbyte.com in your hosts file, it should work as you expect. Sean Dockery [EMAIL PROTECTED] Certified Java Web Component Developer Certified Delphi Programmer SBD Consult

server-*.xml

2003-02-11 Thread Steve Bucknam
I want to create multiple contexts for a single server using the same port on Tomcat 4.1.18. I need to accomplish this through multiple config (server.xml) files. I read an post about being able to do this by creating files matching the pattern "server-*.xml". I created a server-test.xml file wi

Re: tld files not found

2003-02-11 Thread Jake Robb
I am using several custom TLDs, and I keep them all in WEB-INF/, outside of any JAR files. No trouble! -Jake - Original Message - From: "Peter Lin" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, February 11, 2003 3:46 PM Subject: Re: tld files not found

RE: tld files not found

2003-02-11 Thread Steve Bucknam
If I remove the jar file, leaving only one test.tld file, it doesn't work. If I add the jar back, I can have 0 or more test.tld files under WEB-INF or META-INF. Thanks, Steve -Original Message- From: Peter Lin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 11, 2003 3:47 PM To: Tomc

Re: tld files not found

2003-02-11 Thread Peter Lin
double check your jar file to make sure it doesn't also have the tld file. if it does, it may cause a conflict. I discovered this a long time ago and posted a comment last year. make sure there's only one copy of the tld file. I prefer to remove the tld from the jar and only have it in WEB-INF/

tld files not found

2003-02-11 Thread Steve Bucknam
I am using Tomcat 4.1.18. I created a test.tld file in WEB-INF/tlds. The corresponding class file is in WEB-INF/classes. If I start tomcat and request a page that uses a custom tag, I get the following trace: org.apache.jasper.JasperException: This absolute uri (http://www.mycompany.com/ta

Re: Connector issues - jk2, 4.1.18, 2.0.44

2003-02-11 Thread Jake Robb
I did a pretty thorough cleansing of the bundled 2.0.40 before I built, but it's possible that I didn't get the old APXS out. I'll take a few steps back and try again. The address you gave is where I got the connector source files. Thanks, -Jake - Original Message - From: "Turner, John

Re: java/jsp & dynamic data

2003-02-11 Thread Erik Price
Jeff Ousley wrote: I though maybe an applet would suit my needs, but it needs to access data on remote hosts. Doesn't the applet security prevent this? Have the applet consult the originating server for data, and have the originating server do the work of querying the remote server. Erik

RE: java/jsp & dynamic data

2003-02-11 Thread Turner, John
That looks REALLY interesting...thanks for the pointer. John > -Original Message- > From: Mark [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 11, 2003 3:18 PM > To: Tomcat Users List > Subject: Re: java/jsp & dynamic data > > > Have a peek at pushlet technology. Sounds like it's

RE: Connector issues - jk2, 4.1.18, 2.0.44

2003-02-11 Thread Turner, John
Current versions of JK and JK2 are fully compatible with Apache 2.0.43 and 2.0.44. First, are you sure you compiled the connector against the Apache 2.0.44 source? RH 8 comes with a munged Apache 2.0.40 if you took the defaults. Is it possible that, while building the connectors, the APXS for th

Re: RE: servlet not working on tomcat 4.1.18 - help please!!!

2003-02-11 Thread jmong
i've actually seen this error with an improperly configured jboss+tomcat bundle. the main idea is that a previous resource such as a database driver or jndi jar file failed to load due to one of many resources such as (a) improperly configured xml file, (b) file permissions, (c) not found in c

Re: Beware: Don't use JNI inprocess mode with JK2, it's badly broken

2003-02-11 Thread Francesa Lacreativa
Thanks for the info, Rahul. I incorrectly assumed that the code was good. What's the bug number you got from BUGZILLA when you submitted this? thanks, -francesa Rahul Bhargava <[EMAIL PROTECTED]> wrote:There is no way in hell JNI can ever work with JK2. jk_channel_jni.c::jk2_channel_jni_o

Re: FAQ (was Re: MY ATTIT...)

2003-02-11 Thread Bill
Wouldnt it be sufficient for the users of this list to simply stop replying to people when they do not follow the very simple set of rules set out on the apache website? I personally dont feel we should be catering to people who so obviously are making no attempt to conform to proper list usage.

Re: java/jsp & dynamic data

2003-02-11 Thread Mark
Have a peek at pushlet technology. Sounds like it's geared toward what you're looking for: http://www.javaworld.com/jw-03-2000/jw-03-pushlet.html At 2/11/2003 12:08 PM, you wrote: All, I'm sorry to bring this up again, but I'm just not seeing clearly and maybe someone here could help. I need

RE: stderr.log & jk2.log (tomcat/apache/jk2 errors) question

2003-02-11 Thread SSchaubach
Bill, Thanks for the reply, I am not aware that I have set 'soTimeout'. Where would I set it? I don't see any reference to it in my any conf file on the app server or web server/jk2. Best, Stephen -Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10

RE: java/jsp & dynamic data

2003-02-11 Thread Tim Moore
It sounds like you'll need to use an applet. By default, an applet can connect back to the host that you downloaded it from, so if that's all you need, you're set. Otherwise, it's still possible, but you'll need to sign the applet and the users will have to grant it permission to access the other

  1   2   3   >