Re: javabean question

2003-03-15 Thread Henry Tang
if i have a C:\Tomcat 4.1\webapps\ROOT\WEB-INF\classes\database\DBConstants.class that i want to use in my file, C:\Tomcat 4.1\webapps\ROOT\WEB-INF\classes\database\DBPoolBean.java how do i import the DBConstants bean to my DBPoolBean? they are in the same package, database, by the way.

Apache2+Tomcat4.1.18 not work for root

2003-03-15 Thread Charlie Yu
Hi Gurus, I've got the Apache2 + Tomcat4.1 + mod_jk2.so work under Solaris 8 for my common user login(not in 80 port). I am running channelSocket mode. The uri can be redirect to tomcat successfully.It works fine for my common login, but it does not work if I switch to use root to start

Connection pooling (Apache Jakarta-Tomcat)

2003-03-15 Thread Lars Nielsen Lind
Hi. I want to use connection pooling with PostgreSQL and JDBC. I have heard of Poolman but the site refers to Apache.org. Where can I find it and is there availbale info on how to use it / implement it? Best regards, Lars Nielsen Lind

Re: Connection pooling (Apache Jakarta-Tomcat)

2003-03-15 Thread Chris Yocum
Take a look under JNDI DataSource and JNDI Resources links on the left hand side of this page: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html Chris Yocum From: Lars Nielsen Lind [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL

localhost-Problem

2003-03-15 Thread Thomas Trepper
Hi what should i have to modify, if the apache2 mit tomcat4 and mod_jk on ther server-machine is working in a browser with localhost and NOT with server-name? Which sections and whitch files? thank you very much and best regards, thomas

net stop tomcat service?

2003-03-15 Thread Thomas Trepper
Hi, how can i determine the correct service name under w2k to execute net stop and net start tomcat4... thanks for answers. best regards, thomas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Tomcat 3.3 to 4.1 - Changes?

2003-03-15 Thread NormW
Good evening All. Working with Tomcat on Netware (no cringing please). Trying to upgrade Tomcat from 3.3 to 4.1.x (current). - Has the 'ContextXMLReader' directives/function been dropped in the latest releases? (Cannot find reference to it in the Docs and cannot get it to work on 4.1) - Will

JK2

2003-03-15 Thread Chris Dodunski
Hi all, This is my first attempt at installing JK2 to make Apache - Tomcat communication possible. Wasn't successful. Here is an account of events. If I can get JK2 working, I promise to post a blow by blow diary of how I went about it. Documentation on JK2 is lacking, following apache.org

javabean, do i need serializable

2003-03-15 Thread Michael Ni
in my javabean, must i include the line import java.io.Serializable; and if so, what is the purpose of that line? mike _ Protect your PC - get McAfee.com VirusScan Online

Tomcat web admin change

2003-03-15 Thread Etienne
Where can I change the path of the ADMINISTRATION section? I want to change it from mysite.com/admin to mysite/tomcatAdmin Thanks Etienne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

catalina_base configuration

2003-03-15 Thread Riyaz Mansoor
hi. i'm setting up multiple tomcat (4.1.18) instances using the catalina_base variable. some of the instances require that custom authenticating classes by placed in the common/classes and shared/classes or lib directories. i don't want to place these custom classes in the tomcat_home

some questions - i cant make them work: apache1.3.27 - mod_jk tomcat4.18

2003-03-15 Thread German Amaro
hi again just some quetions more allways its necesary to put your *.jsp , *.class files or yor application tree on this directory? i mean webapps/ROOT/ what exactly are JkMount /*.jsp ajp13, JkMount/servlet/* ajp13 directives used for? does it mean that i should create a directory called

Help: Anyone have experience with JNI and Servlets?

2003-03-15 Thread Matt Fury
Hi All! Not sure if this is valid for our topic but it does involve Tomcat and Servlets. I am running Tomcat 4.1.18 on a Windows 2000 env. I've written a Native DLL wrapper that loads another DLL for a product's API. I get this to work fine with my class that has Native Methods and a main to

Re: Tomcat page redirect

2003-03-15 Thread Colin Browell
[EMAIL PROTECTED] wrote: Is there a simple way of causing a page redirect in Tomcat? In Apache a simple change to the httpd.conf would suffice, but in Tomcat the learning curve seems to be much steeper! Basically, I have been told to modify our Aepona/Tomcat installation so that when a

invokerinterceptor for tomcat 3.3.1a

2003-03-15 Thread David . Vann
I have an application that uses the legacy method of invoking servlets. This application was based off of Tomcat 3.2.4. I thought the invokerinterceptor allowed that to happen in Tomcat 3.3.1a. However when I try http://host/servlet/class name I get HTTP 404 -file not found, but if I do

Re: net stop tomcat service?

2003-03-15 Thread Matt Fury
Most of the time your Tomcat installation installs as Apache Tomcat 4.x. If you have multiple services running, just right click and check Properties. This will tell you what path you service is related to. -Matt --- Thomas Trepper [EMAIL PROTECTED] wrote: Hi, how can i determine the correct

RE: JK2

2003-03-15 Thread Short, Dave
Use the attached workers2.properties and jk2.properties files. Also, comment out the 8080 connector in the server.xml file. Don't start Tomcat, Apache will start Tomcat when it initializes. Tomcat will run inprocess if started this way. I'll also forward a good how to that was posted here last

FW: Repost Tomcat Apache integration how to's

2003-03-15 Thread Short, Dave
-Original Message- From: Robert L Sowders [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 17, 2002 6:47 PM To: Tomcat Users List Subject: Repost Tomcat Apache integration how to's Short list of Apache Tomcat integration How To's for multiple operating systems. I'm reposting this

Re: Tomcat web admin change

2003-03-15 Thread Tim Funk
I don't think this can be done yet in any current releases because the admin app assumes it is in the path /admin. I think there have been patches which fix this and might be part of 4.1.23 which might be coming very soon. (Sorry for being so vague) -Tim Etienne wrote: Where can I change the

RE: JK2

2003-03-15 Thread Short, Dave
Rename the attached files accordingly, my email server filtered the originals out. -Original Message- From: Chris Dodunski [mailto:[EMAIL PROTECTED] Sent: Saturday, March 15, 2003 3:09 AM To: Tomcat Users List Subject: JK2 Hi all, This is my first attempt at installing JK2 to make

Re: Tomcat page redirect

2003-03-15 Thread Tim Funk
There is no easy way in tomcat. That is most people run apache in front of tomcat and apache already has the functionality, so there is no need to duplicate it in tomcat. The easy hack is to create an index.jsp and have it be one line: % response.sendRedirect(iNeed/MoreCowebll.jsp); return;

RE: Tomcat web admin change

2003-03-15 Thread graghupathy
are you using tomcat or apache + tomcat ? If you are using apache tomcat use the proxy module / url rewrite module to have this done .. Thanks guru -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 15 March 2003 18:39 To: Tomcat Users List Subject: Re: Tomcat web

Re: Tomcat 3.3 to 4.1 - Changes?

2003-03-15 Thread Craig R. McClanahan
On Sat, 15 Mar 2003, NormW wrote: Date: Sat, 15 Mar 2003 20:58:53 +1100 From: NormW [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Tomcat 3.3 to 4.1 - Changes? Good evening All. Working with Tomcat on Netware (no cringing please). Trying

Listeners

2003-03-15 Thread Ray Madigan
Does anyone know of a technology where i can setup a listener so a session can get notified when a foreigh event occurs. The situation I am working on is a EJB Application server wants to notify a session in a webserver that a specific change has been made. If I can do this it will make the job

RE: Listeners

2003-03-15 Thread Filip Hanik
have you looked at jms? Filip -Original Message- From: Ray Madigan [mailto:[EMAIL PROTECTED] Sent: Saturday, March 15, 2003 11:19 AM To: Tomcat-User Subject: Listeners Does anyone know of a technology where i can setup a listener so a session can get notified when a foreigh event

RE: Listeners

2003-03-15 Thread Ray Madigan
I have, and i have a primitive implementation of jms working. I was looking at the connector technology and was wondering if it or any other technology could be used to connect and utilize its loadbalancing mechanism? -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED]

Public keys in reply and keystore don't match???

2003-03-15 Thread Mark Liu
I want to run Tomcat SSL with a certificate issued by a certification authority I write. I am getting this exception: Public keys in reply and keystore don't match when I was trying to import a cert obtained from my certification authority, an application I write myself. Look, this is the

Re: Public keys in reply and keystore don't match???

2003-03-15 Thread Matt Fury
The biggest issue I had was making sure the Aliases are EXACTLY the same. Also make sure the certs are imported in the correct order. --- Mark Liu [EMAIL PROTECTED] wrote: I want to run Tomcat SSL with a certificate issued by a certification authority I write. I am getting this exception:

RE: Listeners

2003-03-15 Thread Filip Hanik
there are clustered jms implementations out there, that will allow your server to fail over and all the other good stuff. if you want events, then jms is the best offer, Filip -Original Message- From: Ray Madigan [mailto:[EMAIL PROTECTED] Sent: Saturday, March 15, 2003 12:44 PM To:

Re: Public keys in reply and keystore don't match???

2003-03-15 Thread Matt Fury
The biggest issue I had was making sure the Aliases are EXACTLY the same. Also make sure the certs are imported in the correct order. --- Mark Liu [EMAIL PROTECTED] wrote: I want to run Tomcat SSL with a certificate issued by a certification authority I write. I am getting this exception:

Re: Public keys in reply and keystore don't match???

2003-03-15 Thread Mark Liu
Yes, they all are! --- Matt Fury [EMAIL PROTECTED] wrote: The biggest issue I had was making sure the Aliases are EXACTLY the same. Also make sure the certs are imported in the correct order. --- Mark Liu [EMAIL PROTECTED] wrote: I want to run Tomcat SSL with a certificate issued by

Re: Repost Tomcat Apache integration how to's

2003-03-15 Thread Chris Dodunski
Hi Dave, Thank you for your help. I am yet to try your attached configuration files. I attempted to download ftp://pokey.wr.usgs.gov/pub/rsowders/Apache2_Win2k_TC4.1.10_JSDK1.4.zip;, but get a 'login attempt failed' error. Just one further question regarding your earlier advice. What is the

JK2 (cont.)

2003-03-15 Thread Chris Dodunski
Hi, Used your two configuration files, and commented out listener on port 8080 as you suggested (server.xml). Still unable to browse Tomcat webapps. Also, now unable to start Tomcat as stand-alone either (started Apache alone for the test). Apache is logging the following error messages...

Re: Tomcat 3.3 to 4.1 - Changes?

2003-03-15 Thread NormW
Good morning Craig. Hope you get to read this.. (ie this system has me confused after working with newsgroups). Thanks for the feedback. Will try changes based on your suggestions and go from there. Thanks; this Java is worse than 'black-box' at the moment! Norm - Original Message - From:

Re: JK2

2003-03-15 Thread NormW
Good morning Chris. The download page for mod_jk2-2.0.43.dll suggests it will ONLY work for that version of Apache and no other; hence... I installed 2.0.43 win version of Apache2 (NT box). The module 'loads' without error, but a syntax check (-t) of the httpd.conf (with LoadModule and JK

javabean constructors

2003-03-15 Thread Michael Ni
can someone explain to me how contructors work with java beans in a jsp page? heres my question, in the following bean foo1 which does not have a constructor, if i usebean and then getA, i can get the value of 3 class foo1 { int a = 3; int b = 4; //the rest of the get and set methods

RE: JK2 (cont.)

2003-03-15 Thread Short, Dave
Paths must match up. Check the paths in the config files I sent against your paths. If they don't match up, adjust the paths in the config files I sent. This configuration works on W2K with Apache 2.0.44 and Tomcat 4.1.18. Comment out 8080 in the server.xml file because Apache will serve up

Help: Anyone have experience with JNI and Servlets?

2003-03-15 Thread Matt Fury
Hi All! Not sure if this is valid for our topic but it does involve Tomcat and Servlets. I am running Tomcat 4.1.18 on a Windows 2000 env. I've written a Native DLL wrapper that loads another DLL for a product's API. I get this to work fine with my class that has Native Methods and a main to

Anybody got mod_jk working ? help pls.

2003-03-15 Thread Stephen Riek
OK, here's the problem in a nutshell. Tomcat is set up and works fine. I can access the JSP servlet examples at http://127.0.0.1:8080/examples Apache 1.3.x and Mod_jk are also set up. I can access the JSP servlet examples at http://127.0.0.1/examples The request header servlet works fine.