R: How to restart Tomca's service from a Web app?

2002-12-17 Thread Luca Ventura
Ok, thanks. I'll check it: but if anybody can give to me a code example or explain more deeply this or another solution let me know. Thanks a lot! Luca -Messaggio originale- Da: Nicholas Orr [mailto:[EMAIL PROTECTED]] Inviato: lunedì 16 dicembre 2002 23.54 A: 'Tomcat

RE: Startup problems

2002-12-17 Thread Arnaud HERITIER
Don't you have a web app with an invalid header in its web.xml ?? -Message d'origine- De : Aleksandr Shneyderman [mailto:[EMAIL PROTECTED]] Envoyé : lundi 16 décembre 2002 17:59 À : Tomcat User List Objet : Startup problems I get the following error on the startup: Starting

CLIENT-CERT over secure and non-secure connectors

2002-12-17 Thread Michael Yates
Hi all, I have an unusual set-up/configuration question. I wish to have a single instance of a web-app accessible over both http and https (with the https users authenticating with client certificates). The reason for this configuration is that the un-secure port may be handling traffic coming

unpackWARs=false?

2002-12-17 Thread Andoni
Has anybody been able to deploy .war files with this set? unpackWARs=false If so can you post a mocked up part of your server.xml and directory structure please. Andoni. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Almost there...Updated Apach-Tomcat with mod_jk .. please he lp!

2002-12-17 Thread Rasputin
* Denise Mangano [EMAIL PROTECTED] [1236 09:36]: I do have appropriate permissions, as I have been able to stop it before. There is no error message being logged when I try to stop it. I ran ps -A which listed all processes. httpd (apache) was not one of them. I am assuming PID means Port

Re: Apache-Tomcat HOWTO

2002-12-17 Thread Rasputin
* Turner, John [EMAIL PROTECTED] [1201 14:01]: Not sure what JK2 needs to work, I don't use it. You should be able to build it from the same source package as JK. I was able to do so on my Red Hat test box, but it took quite a bit of hacking around. But you need a local install of Java; is

Re: Multiple realms in tomcat

2002-12-17 Thread Rasputin
* Ben Jessel [EMAIL PROTECTED] [1238 17:38]: Can you set up multiple JDBC realms in tomcat 4x or are you stuck with just the one? From: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/realm.html You may nest a Realm inside any Catalina container (Engine, Host, or Context). In addition,

Help needed in Tomcat4.0.3

2002-12-17 Thread Santosh Kulkarni
How do I find out the number of active sessions running in Tomcat. I'm using tomcat 4.0.3. TIA Santosh __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL

lost request

2002-12-17 Thread Deepa Raja
Hi, I'm using apache(1.3.26)-tomcat(4.1.12) (warp connector) for my application. When I test my application with IE everything works fine until I press the browser back button. once I press the back button I loose my request and I could not fetch any form elements in my destination jsp. Did

Tomcat 4.1.12 - installation _ Problems with the examples

2002-12-17 Thread Bührle, Martin, FCI1
Hi List! After installing Tomcat 4.1.12 under Linux (Suse 8.1) just out of the box (RPM, full-version) we have the problem, that the example-pages dont work. Does anybody know help? Failure as follows: HTTP Status 500 - type Exception report message description The server encountered an

Re: Workaround for login page direct reference

2002-12-17 Thread Mike W-M
I'm going to have to sort this myself in the near future, but I don't quite see how the fact that you can forward to the protected resource is going to help? Isn't Tomcat going to automatically redirect (not forward - the distinction is important since redirecting will result in the login page's

RE: Tomcat 4.1.12 - installation _ Problems with the examples

2002-12-17 Thread Ralph Einfeldt
Seems that jasper failed to generate the java file for the index.jsp. Make shure that the user that is running tomcat has the right to create files in /var/tomcat4/work/Standalone/localhost/_ Have a look in the log files if you can see aditional messages. -Original Message- From:

AW: Tomcat setup troubles

2002-12-17 Thread Ines Robbers
Many thanks, Lee! Do I stick it into user variables or system variables or both? * -Ursprüngliche Nachricht- * Von: Lee Chin Khiong [mailto:[EMAIL PROTECTED]] * Gesendet: Dienstag, 17. Dezember 2002 04:17 * An: 'Tomcat Users List' * Betreff: RE: Tomcat setup troubles * * * You should

RE: connecting Apache2.x and tomcat 4.1.x, mod_jk

2002-12-17 Thread Turner, John
I don't use Windows for any server-related tasks, so I can't really help you. All I can say is that it does work on Windows, many people use Windows for development on this list. One thing I can suggest is that WINDOWS\SYSTEM is the exact wrong place to put the DLL. The DLL belongs in

RE: Tomcat setup troubles

2002-12-17 Thread Turner, John
System. John -Original Message- From: Ines Robbers [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 6:30 AM To: 'Tomcat Users List' Subject: AW: Tomcat setup troubles Many thanks, Lee! Do I stick it into user variables or system variables or both? * -Ursprüngliche

Re: Help needed in Tomcat4.0.3

2002-12-17 Thread Praveen Wicliff
Use the Tomcat manager (how to is there on the site) with the list command. It will print out all the contexts with the number sessions for each of them. Praveen Wicliff - Original Message - From: Santosh Kulkarni [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 17, 2002

Connection Pooling - additions to server.xml crashes 4.1.12

2002-12-17 Thread Kevin Passey
Can anybody shed any light on this. If I add this to my server XML file :- - Context path=/shilton docBase=shilton debug=5 reloadable=true crossContext=true Resource name=jdbc/shiltonDB auth=Container type=javax.sql.DataSource / - ResourceParams name=jdbc/shiltonDB - parameter

Re: DB2 JDBC

2002-12-17 Thread Fabio Mengue
Hi, Sherif D Mohamad wrote: Thanks for your help, I have done what you said, but I am running tomcat4 on Linux, Me too... I do not have tomcat_install_dir/bin/setclasspath.sh ?!?! in tomcat_install_dir/bin I have : bootstrap.jar commons-daemon.jar tomcat-jni.jar Did you installed it

Re: Invalidate Session Problem

2002-12-17 Thread afterz
I read your text many times but couldn't get to a conclusion. So, isn't there a way to force a logout and let the user authenticate again? At least with BASIC. On Mon, 16 Dec 2002 13:27:48 -0500 Michael Nicholson [EMAIL PROTECTED] wrote: From what I understand, the authorization header using

Multiple organisations in one realm with unique logins per organisations?

2002-12-17 Thread Marc van de Geijn
Hi there, I'm developing an application which will support multiple organisations within one realm and one MySQL database. When users log into the application, I would like to make them enter their organisation name, their login and their password. Combining the login and the organisation name

Re: Multiple organisations in one realm with unique logins per organisations?

2002-12-17 Thread Ben Jessel
Sounds like you're going to need to create a custom realm in order do do that extra select on the organisation. Though, if you're going to have unique usernames throughout the system ( regardless of organisation ), then you could work around this by having the organisations mapped to the user in

bug in Tomcat 4 or .... what?

2002-12-17 Thread Ivan Venuti
Hi, I have a servlet that opens a DataInputStrem on the request (see below) public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException{ try{ // Open the I/O streams DataInputStream in = new DataInputStream(request.getInputStream() );

[ANNOUNCE] JK 1.2.2 released

2002-12-17 Thread Henri Gomez
JK 1.2.2 maintenance release is available at : http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.2/ Changes with JK 1.2.2: * tomcat_trend.pl updated script to support changed logging of aborted requests * jk set correctly the content-type in Apache 2.0,

Re: unpackWARs=false?

2002-12-17 Thread Chris Brown
Hi, If you set this property, that's (almost) all you have to do. You don't need to add anything else to a standard server.xml, all you do is drop the .war file into Tomcat's /webapps folder. Check the logs generated by Tomcat if you can't get any further... - Chris - Original Message

Re: Workaround for login page direct reference

2002-12-17 Thread Ben Jessel
Thanks Mike, I guess, another workaround is that you could just invalidate their session if they go to the login page Now, I still don't see how all this is going help that direct reference to login pageas it seems that I get this error if I go to login.jsp and then enter in my

RE: Workaround for login page direct reference

2002-12-17 Thread mech
Some more ideas... In my application I never have a direct link to the login.jsp. Try to link either to any file that will be accessed after login (e.g. content.jsp) or link only to the secure directory that you mapped and let the welcome-file redirect link to index.jsp or whatever. Doesn't

About URL containing jsessionid on Tomcat3.2.4

2002-12-17 Thread shigezo
Hi. I was using tomcat3.2.3 and apache-1.3.27+SSL and mod_jk.so URL containing jsessionid (ex:aaa.jsp;jsessionid=XXX) no problem this enviroment. but Tomcat3.2.3 was upgraded to tomcat3.2.4 URL containing jsessionid 404 error httpsd.conf and mod_jk.conf is both same configraiton

RE: Virtual Domains with Tomcat 4.1.12 Standalone

2002-12-17 Thread J. Norment
webapps/host0/index.html . On Mon, 16 Dec 2002 18:46:28 -0500, Turner, John wrote: I'm sorry, what's wrong isn't exactly clear from your post.  What should http://host0.com show besides the default welcome page? John -Original Message- From: J. Norment [mailto:[EMAIL PROTECTED]] Sent:

Questions about tomcat as ps -ef

2002-12-17 Thread Randy Paries
Hello, I am running tomcat jakarta-tomcat-4.0.4 and apache apache-1.3.27-2 My question is about all the tomcat processes/threads. It seems they never seem to go a way. I had to increase my maxProcessors=150 , because I was running out of connections between apache and tomcat. It seems that

RE: Virtual Domains with Tomcat 4.1.12 Standalone

2002-12-17 Thread Turner, John
You want index.html to show instead of index.jsp? My tongue-in-cheek response is rename index.html to index.jsp. Another response would be check the welcome file element in web.xml for your webapp. John -Original Message- From: J. Norment [mailto:[EMAIL PROTECTED]] Sent: Tuesday,

Link pressed often - requests filtered?

2002-12-17 Thread Fabian Nilius
I've got a problem when programming JSPs with Tomcat 4.0: There is a link on my JSP-generated page, like the following: http://localhost:8080/debug/ivr/IvrMain.jsp?Sel=2:0/1010 When the user clicks on the link, the page is refreshed: The same page is displayed, with some small changes. This

Tomcat Administration Tool

2002-12-17 Thread Jon Eaves
Hi all, The Tomcat Admin Tool uses a UserDatabaseRealm for authentication and for editing as part of the configuration options. This uses the conf/tomcat-users.xml file for the source of information I was interested in knowing if anybody has configured Tomcat _and_ the Admin tool to use an

Re: Warp or Coyotte ? I'm so bad in my choice....

2002-12-17 Thread Jean-Luc BEAUDET
Thank you Guys for yur answers. I will try the mod_jk fashion, then. BTW We're using mod_webapp for some market trial on different SOLARIS 8 Servers, and encountered no pbs at all. Too bad developpers don't go further ! Jean-Luc B :O) Jean-Luc BEAUDET wrote: Hi all ! Using Apache

RE: Virtual Domains with Tomcat 4.1.12 Standalone

2002-12-17 Thread J. Norment
Hmm. I think the answer to your question is no -- I am trying to get a very basic version of virtual domains working. I noted in the past that renaming index.jsp to index.notjsp and putting an index.html file in the /ROOT directory resulted in tomcat loading index.html. So... I'm trying to

RE: Simultaneous request from same IP

2002-12-17 Thread Cox, Charlie
this goes along with the suggestion I made of using RequestDumperValve to dump the request to ensure that you are receiving 2 different requests. Charlie -Original Message- From: Mike W-M [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 8:08 PM To: Tomcat Users List

Re: Connection Pooling - additions to server.xml crashes 4.1.12

2002-12-17 Thread Jacob Kjome
If you name a context in server.xml, your .war file will *not* be expanded automatically. What you will need to do is stop Tomcat, manually expand the .war file to a directory named shilton and then restart. alternatively, you can avoid editing the server.xml and put this in a context

RE: Virtual Domains with Tomcat 4.1.12 Standalone

2002-12-17 Thread Turner, John
Sorry, maybe someone else can answer your question. I'm just not understanding the problem. I have a RH 7.3 test box setup, with two virtual hosts (one is localhost, the other is some.server.com), and the welcome files display correctly. If it isn't working for you, I would suggest that the

RE: RemoteAddrValve and ajp13 connections

2002-12-17 Thread Cox, Charlie
this valve is for the actual requests for your pages and restricting those to certain ip's. This has nothing to do with the connector. I don't use connectors, so I can't help with your real answer. Charlie -Original Message- From: Joseph Shraibman [mailto:[EMAIL PROTECTED]] Sent:

Re: Workaround for login page direct reference

2002-12-17 Thread Ben Jessel
Thanks mech, that's very interesting, however, i simply just can't believe that there are Tomcat instances out there in a live production environment with configured realms that suffer from this problem. Surely there must be something - Original Message - From: mech [EMAIL PROTECTED]

RE: app roll out.

2002-12-17 Thread Cox, Charlie
you could just define your context path= in server.xml. this should give you what you want. Charlie -Original Message- From: Alexander Wallace [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 7:40 PM To: Tomcat Users List Subject: Re: app roll out. Adding a line like

RE: Virtual Domains with Tomcat 4.1.12 Standalone

2002-12-17 Thread J. Norment
That sounds almost exactly like what I'm trying to do. Does your test box setup also have Apache installed? If not, what did you do to get some.server.com showing up? On Tue, 17 Dec 2002 09:14:08 -0500, Turner, John wrote: Sorry, maybe someone else can answer your question.  I'm just not

Re: bug in Tomcat 4 or .... what?

2002-12-17 Thread Mike W-M
From the Servlet Spec (2.3)'s section on the getParameter() method: If the parameter data was sent in the request body, such as occurs with an HTTP POST request, then reading the body directly via getInputStream() or getReader() can interefere with the execution of this method. I believe there's

RE: Virtual Domains with Tomcat 4.1.12 Standalone

2002-12-17 Thread Turner, John
It has Apache installed, but I just verified this behavior using http://some.server.com:8080 which bypasses Apache. If you need a virtual host setup in Tomcat, modify server.xml and add a Host element with a name parameter set to the FQDN that will be in the URL. Alternatively, if you want

RE: Connection Pooling - additions to server.xml crashes 4.1.12

2002-12-17 Thread Kevin Passey
Hi all, especially Jake Thanks for that - I had worked that out the hard way - but the alternative you give will be my way ahead (assuming it works in my env). Thanks for that Jake. Cheers Kevin -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED]] Sent: 17 December 2002

Re: Simultaneous request from same IP

2002-12-17 Thread Mike W-M
A sensible investigation, granted, but there's a flaw in your argument! The current hypothesis is that two different requests are getting confused and giving the same values. So if the RequestDumperValve shows the same values for both requests then how will you know whether they originated as

RE: bug in Tomcat 4 or .... what?

2002-12-17 Thread Turner, John
Agreed. In my experience, the request object should be considered static and simply read using the methods included in the class for that purpose. John -Original Message- From: Mike W-M [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 9:22 AM To: Tomcat Users List

RE: Simultaneous request from same IP

2002-12-17 Thread Cox, Charlie
well, its not the whole solution, but it could eliminate buggy servlet/filter code and/or buggy client code(since it is a custom client, not a browser). this is a way to cut the problem in half and determine which side the problem occurs on - sending/receiving the request or processing the

tomcat 4.1.12 configuration

2002-12-17 Thread Dionisio Ruiz de Zarate
Hello. I want to configure in my machine several virtual hosts and i am reading the docs but i don't know if my configuretion is rigth or not. Can anybody says me? my configuration for one virtual host is: Host name=www.domain1.com debug=0 appBase=/usr/local/httpd/htdocs/domain1 unpackWARs=true

Re: Tomcat Administration Tool

2002-12-17 Thread Luc Santeramo
Hi, I've written a doc about that but it's in french... there a doc in english on tomcat website http://jakarta.apache.org/tomcat/tomcat-4.0-doc/realm-howto.html anyway, here is mine (maybe google will translate it for you) : Mise en place JDBC Realm pour Tomcat (stockage des

Re: Workaround for login page direct reference

2002-12-17 Thread Mike W-M
Agreed. Don't forget that the beauty of open-source is that we can look at what Tomcat's doing... It throws the invalid reference error from the FormAuthenticator class, if no original request details have been saved as an internal note within the session. It doesn't immediately look like it's

RE: Virtual Domains with Tomcat 4.1.12 Standalone

2002-12-17 Thread Cox, Charlie
check out conf/web.xml and its welcome-file-list. there you can set the order of welcome pages to load.(index,jsp first, then index.html, etc) Charlie -Original Message- From: J. Norment [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 9:03 AM To: Tomcat Users List

Re: app roll out.

2002-12-17 Thread Ben Ricker
Here is the line that workd for me in Apache 1.3.27 Are you using Apache 2.x? Redirect temp /index.html http://main.wellinx.com/servlets/Logon?STATE=0USER=doctor The '/' by itself may not work. When I set it up, I had to include the 'index.html'. But I do not remember because I set it up so long

Re: app roll out.

2002-12-17 Thread Ben Ricker
On Mon, 2002-12-16 at 18:51, Alexander Wallace wrote: The line: RedirectMatch ^/$ http://mysite/theContext did the trick. Now I have to find out how to make apache call index.jsp automatically if no page is requested. If i use http://localhost:8080/myapp tomcat calls index.jsp

RE: Virtual Domains with Tomcat 4.1.12 Standalone

2002-12-17 Thread J. Norment
This is the change that I had made to the server.xml file: !-- Define the default virtual host -- Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true !-- This part is added: -- Host name=host0.com debug=0 appBase=webapps/host0 unpackWARs=true Logger

RE: Virtual Domains with Tomcat 4.1.12 Standalone

2002-12-17 Thread J. Norment
I *don't* want to change that order. On Tue, 17 Dec 2002 09:55:06 -0500, Cox, Charlie wrote: check out conf/web.xml and its welcome-file-list. there you can set the order of welcome pages to load.(index,jsp first, then index.html, etc) Charlie -Original Message- From: J. Norment

RE: Virtual Domains with Tomcat 4.1.12 Standalone

2002-12-17 Thread Hari Venkatesan
You have two Host name defined and only one closing tag for the host. Did you change Engine name=Standalone defaultHost=localhost debug=99 to reflect host0.com in the defaultHost Hari -Original Message- From: J. Norment [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 10:15

Re: Invalidate Session Problem

2002-12-17 Thread Mike W-M
No, there isn't a way to force it. It's stated as a know problem in whichever RFC it is that defines the HTTP Basic Authentication mechanism. Other Mike. - Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, December 17, 2002 12:11 PM

Re: JSP to Servlet to JSP pathing issue. Relative PathingPlease help.

2002-12-17 Thread Jason Johnston
The redirecting doesn't seem to work. That tells the browser client to initiate a new request and all the information that I placed in the request object is gone, which undermines the purpose of the form. The forums have a lot on my problem, just no answers that have worked for me. Has anyone

RE: Help: Simple example to use tomcat 4.1.12 / Apache 1.3 and mo d_jk ??

2002-12-17 Thread Ming Zhao
Hi, John Is there any HOWTO for win2k? Similar to that for RH? For my setup and configure of Apache, Tomcat and JK2 on win2k, it seems that Apache and Tomcat can work well seperately. But it cannot work to open jsp file with Apache to acivate Tomcat to deal with. And I got the message on the

RE: Virtual Domains with Tomcat 4.1.12 Standalone

2002-12-17 Thread J. Norment
Hari: Thanks for the response. ( For that matter, thanks for everyone's response so far... ) I want the behavior to be: http://localhost - loads up the default welcome page, root/index.jsp http://host0.com - loads up host0's index page http://host1.com - loads up host1's index page Is changing

Re: app roll out.

2002-12-17 Thread Alexander Wallace
My guess is that the solution with apache works becouse even if apache switces to https, it still talks to tomcat via plain http, and since the objects are in tomcat's session, and tomcat doesn't need to switch to https, it will not create a new session. On Monday 16 December 2002 20:41,

Re: JSP to Servlet to JSP pathing issue. Relative PathingPlease help.

2002-12-17 Thread Mike W-M
True (and I missed that that was the whole point of your exercise) but redirecting is the (only) way to get the browser's URL to change. If you think about it, you're basically saying that you want two different URLs (one to the servlet and one to the jsp), when displayed in the browser, to mean

Re: how do i make apache auto load index.jsp

2002-12-17 Thread Alexander Wallace
Thankyou, good to know, i'll see which aproach is easyer for me. On Monday 16 December 2002 21:30, Turner, John wrote: This has come up many times before. There is no easy solution. Apparently, Apache doesn't do the DirectoryIndex until after it checks to see if the URL should be passed to

mod_jk2 and shm explanations

2002-12-17 Thread Q. Werty
I'm experiencing Tomcat-4.1.17/mod_jk2/Apache-2.0.43/Windows- 2000. After some difficulties, the whole configuration seems to be OK but I haven't understood all what I've done ...! Particulary, in workers2.properties, [shm] component is still obscur to me and documentation il very poor on

RE: Virtual Domains with Tomcat 4.1.12 Standalone

2002-12-17 Thread Hari Venkatesan
I really don't know if changing the defaulthost name is the solution. R u able to serve the pages with the configuration you have now without changing the defaulthost name or are you getting a DNS error. IF you want to serve pages the way you want it, then each of the host entries you have in

RE: Virtual Domains with Tomcat 4.1.12 Standalone

2002-12-17 Thread Turner, John
No, you want defaultHost to be localhost, or some other name. defaultHost has nothing to do with virtual hosts. One Engine can have multiple Hosts, each Host can have multiple Contexts. John -Original Message- From: Hari Venkatesan [mailto:[EMAIL PROTECTED]] Sent: Tuesday,

Re: JSP to Servlet to JSP pathing issue. RelativePathingPlease help.

2002-12-17 Thread Jason Johnston
Thanks Mike, that's probably the solution I'm going to go with. I agree that I don't want absolute URL's. Though I feel like there should be a way to do what I'm wanting to do, I'm just not finding it. I had seen another suggestion on the forums about mapping the servlet to the same path as the

RE: Virtual Domains with Tomcat 4.1.12 Standalone

2002-12-17 Thread Turner, John
No, it is not. Leave defaultHost alone. Setup a Host element for host0.com and host1.com. If this is not working, either post your entire server.xml or post log file snippets with error messages. XML files are sensitive to properly closed tags and elements...including just a small snippet of

RE: Virtual Domains with Tomcat 4.1.12 Standalone

2002-12-17 Thread Turner, John
Changing defaultHost is not the solution. John -Original Message- From: Hari Venkatesan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 10:51 AM To: Tomcat Users List Subject: RE: Virtual Domains with Tomcat 4.1.12 Standalone I really don't know if changing the

RE: Help: Simple example to use tomcat 4.1.12 / Apache 1.3 and mo d_jk ??

2002-12-17 Thread Turner, John
I don't use Windows for server-related tasks. That said, the installation of Apache + mod_jk + Tomcat on Windows is identical, the only difference being pathnames and path separators. If you want a HOWTO for Apache + JK2 + Tomcat, I would use the one posted previously by Robert Sowders:

RE: Virtual Domains with Tomcat 4.1.12 Standalone

2002-12-17 Thread Hari Venkatesan
If I leave the defaultHost to localhost and have a host name=something.com, when I type in the url http://something.com/{webapp}/index.jsp, I get a server not found or DNS error. Do I need to define something.com anywhere else in win2000 Hari -Original Message- From: Turner, John

Admin webapp bug with datasource?

2002-12-17 Thread Q. Werty
I'am facing with a problem in admin application. I added manually a datasource in server.xml with a custom factory (some extensions to DBCP). Then I went to admin application, and when I asked for this datasource with custom factory, admin application responded with a error

RE: Virtual Domains with Tomcat 4.1.12 Standalone

2002-12-17 Thread J. Norment
Got it, John. Thanks for your time. ( not being sarcastic... forgot to thank you earlier. ) ( For the record, I only posted the small snippet because that was all that I changed from out of the box ) I'll try to verify the XML tags now. ( I've thought about this before, but I'll look at it

RE: Virtual Domains with Tomcat 4.1.12 Standalone

2002-12-17 Thread J. Norment
Hari: My guess is that something.com would need to have a DNS record in a nameserver ( that resolves to the box that you have Tomcat on. ) On Tue, 17 Dec 2002 11:09:30 -0500, Hari Venkatesan wrote: If I leave the defaultHost to localhost and have a host name=something.com, when I type in the

RE: Virtual Domains with Tomcat 4.1.12 Standalone

2002-12-17 Thread Turner, John
Let's put it this way. If you had to change defaultHost for virtual hosts to work, then you could never have more than one virtual host, since there is only one defaultHost. That's obviously wrong. Tomcat has the ability to serve many virtual hosts, not just one. I have several virtual hosts

RE: Virtual Domains with Tomcat 4.1.12 Standalone

2002-12-17 Thread Turner, John
Exactly. John -Original Message- From: J. Norment [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 11:16 AM To: Tomcat Users List Subject: RE: Virtual Domains with Tomcat 4.1.12 Standalone Hari: My guess is that something.com would need to have a DNS record in

RE: Virtual Domains with Tomcat 4.1.12 Standalone

2002-12-17 Thread Turner, John
If you post your server.xml, someone will look at it. I can't promise I will, as time is everything, but someone will. If you could remove the comments from it and post an uncommented version, that would make it smaller and easier to scan. John -Original Message- From: J. Norment

Re: JSP to Servlet to JSP pathing issue. RelativePathingPlease help.

2002-12-17 Thread Mike W-M
I was in the same sort of situation a couple of months back. (I've seen a few other posts about how relative paths are difficult and I'm happy with my solution so I've not investigated further.) I've been reminded by your web.xml that one of the things that stopped me from doing what I wanted was

using ip address instead of localhost

2002-12-17 Thread Kao Li-LIKAO1
Hi, I just setup tomcat and I'm having problems getting to the index.jsp page if I use the ip address of the machine instead of localhost. I am behind a firewall at work, but I would think that you should be able to access it within the firewall. I've also tried this at home with my DSL and

preventing all caching

2002-12-17 Thread Hans Goeckel
I'm trying to figure out how to prevent caching of any content on a client machine. Our servlets properly use the no-cache directive, but other content is still being cached. Specifically, those pages we generate use Javascript to load a set of images from the server. The HTTP headers in the

Running tomcat as user other than root

2002-12-17 Thread Philip Juels
I'm sure this has been asked before, but I can't find the answer How can I start/stop tomcat as a user other than root? I have a webmaster that I'd like to give the ability to restart tomcat, but I don't want to give her root access to the server (RH7.3 on an intel platform). Thanks,

RE: Virtual Domains with Tomcat 4.1.12 Standalone

2002-12-17 Thread Hari Venkatesan
Thanks for the reply john. I got it. But there is one small problem yet to resolve. When I use http://something.com/{Webapp}/index.jsp, it comes back with a Basic Server Authentication window. I don't have any authentication setup in web.xml file. I am using IIS and tomcat and have defined

RE: Running tomcat as user other than root

2002-12-17 Thread Turner, John
localhost $: su - tomcatuser localhost $: CATALINA_HOME/bin/startup.sh localhost $: exit She'll need the password to the tomcat user account. John -Original Message- From: Philip Juels [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 11:05 AM To: [EMAIL PROTECTED]

RE: Virtual Domains with Tomcat 4.1.12 Standalone

2002-12-17 Thread Turner, John
It's been a long time since I setup a Windows web server, but if I had to guess: IIS has authentication set for that resource. The anonymous web user (IUSR_SOMEMACHINENAME) account has no access to the directories where the content exists. John -Original Message- From: Hari

RE: Running tomcat as user other than root

2002-12-17 Thread Turner, John
Oops...that should be $CATALINA_HOME/bin/startup.sh. John -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 11:34 AM To: 'Tomcat Users List' Subject: RE: Running tomcat as user other than root localhost $: su - tomcatuser

Re: Running tomcat as user other than root

2002-12-17 Thread Alexander Wallace
If she starts it, she can stop it and restart it. Unless you have modified TC to use ports below 1000, which only worsk for root. On Tuesday 17 December 2002 10:04, Philip Juels wrote: I'm sure this has been asked before, but I can't find the answer How can I start/stop tomcat as a user

Re: using ip address instead of localhost

2002-12-17 Thread Mehdi . Nejad
If you are trying to access the IP from within your firewall, try using an internal network IP address, instead of an external IP. It is often the case that trying to make a request for your external IP from an Internal machine wont work... (the theory being that you should not need to do this

JDBC security?

2002-12-17 Thread Peter
To all, I had a servlet communicating via JDBC to an Interbase database on Tomcat 3.? and Apache 1.3.27, I can't remember tomcat version version. Now that I have Apache 2.04 and Tomcat 4.1.17 up and running the same servlet will not connect, the log file indicated it won't/can't load the

Apache can't load mod_jk

2002-12-17 Thread HAMILTON, DALE K (SBCSI)
I used the instructions at: http://www.johnturner.com/howto/apache1-tomcat404-howto.html http://www.johnturner.com/howto/apache1-tomcat404-howto.html to configure Apache 1.3.26 and Tomcat 4.1.12. I used the bindist for both on AIX 4.3.3. I get when I run the apachectl configtest

test message

2002-12-17 Thread AUBUCHON, KEVIN (SBCSI)
test on tomcat Kevin Aubuchon Contractor One SBC Center 314-331-9848 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Apache-Tomcat HOWTO

2002-12-17 Thread Turner, John
-Original Message- From: Rasputin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 5:41 AM To: Tomcat Users List Subject: Re: Apache-Tomcat HOWTO * Turner, John [EMAIL PROTECTED] [1201 14:01]: Not sure what JK2 needs to work, I don't use it. You should be able

RE: using ip address instead of localhost

2002-12-17 Thread Kao Li-LIKAO1
Actually, I am using an internal network IP address. I am actually trying to access the page on the same machine as the server. The localhost works fine and hostname of the machine also works, but not the ip address. Do you think DNS has anything to do with it?

RE: JDBC security?

2002-12-17 Thread Tam, Michael
Hi Peter, We need more details on the log in order to help. I will take a wild guess here that the servlet can't find the driver and which may due to the driver lib is located in the wrong place. Hope this helps. Regards, Michael -Original Message- From: [EMAIL PROTECTED]

Cannot compile Tomcat 4.1.12 from source

2002-12-17 Thread Paul Downs
Hi, I am having trouble compiling Tomcat 4.1.12 from source, I am using Suns jsdk 1.4.1. build-main: [echo] - Java-utils - [echo] -- puretls.present = ${puretls.present} [echo] -- jsse.present = true [echo] -- commons-logging = true [echo] -- jmx =

RE: Cannot compile Tomcat 4.1.12 from source

2002-12-17 Thread Turner, John
[javac] public class ResponseFacade implements ServletResponse { [javac]^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] 4 errors What happens when you do that? John -Original

Re: can't get w2k tomcat service running again

2002-12-17 Thread Gary Gwin
Becky, We use the Java Wrapper Service at: http://wrapper.sourceforge.net/doc/english/index.html In addition to working cross platform (Windows NT and Unix), you can test the service from the command line before and after installing it. They supply sample configurations for Tomcat. Gary

Worker balancing on the same node

2002-12-17 Thread Jordi Masip
Does it make sense to define load balancing of two Tomcat workers on the same computer working together with an IIS port? My goal would be to avoid hangs and gain perfromance. Thanks --- Este mensaje y los documentos, que en su

Re: Cannot compile Tomcat 4.1.12 from source

2002-12-17 Thread Paul Downs
* Turner, John ([EMAIL PROTECTED]) wrote : [javac] public class ResponseFacade implements ServletResponse { [javac]^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] 4 errors What

SSL, IIS, and Tomcat 4.1.12

2002-12-17 Thread Michael McLawhorn
I have spent the last several hours hacking around in the archives and have seen the same question asked several times, but no clear answer given. I have also spent about ten hours with various configuration tweaks. I am trying to get Tomcat to act as an application server behind IIS. With

RE: using ip address instead of localhost

2002-12-17 Thread Mehdi . Nejad
I've not come across that then, I take it http://12.0.0.1 works fine ? I would sugest that dns isn't to blame, your not trying to resolve a name, its running on localhost. you probably already did this, but type ipconfig on the command line and make sure that you have the correct ip, the

  1   2   >