Re: Saving files from Tomcat

2001-10-03 Thread Mark Muffett
Good idea, or I suppose I could put something in web.xml and use an initialisation servlet to store it in the context. Mark - Original Message - From: Randy Layman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 02, 2001 6:47 PM Subject: RE: Saving files from Tomcat

127.0.0.1 not 0.0.0.0

2001-10-03 Thread Krasi Zlatev
I am using Tomcat-3.2.3. How to make tomcat bind to 127.0.0.1:8080 and not to 0.0.0.0:8080? Thank you! = Krasi Zlatev Enjoy! __ Do You Yahoo!? Listen to your Yahoo! Mail messages from any phone. http://phone.yahoo.com

Re: mod_webapp connector on linux

2001-10-03 Thread James Williamson
Have you tried restarting Apache? - Original Message - From: Aksel Schmidt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 03, 2001 6:30 AM Subject: RE: mod_webapp connector on linux However, I'm still having a problem where I can reach my deployed web applications

Re: mod_webapp connector on linux

2001-10-03 Thread James Williamson
You need to deploy your contexts inside 'VirtualHost' directives in Apache. James - Original Message - From: John Cartwright [EMAIL PROTECTED] To: Tomcat User Mailing List [EMAIL PROTECTED] Sent: Tuesday, October 02, 2001 5:08 PM Subject: mod_webapp connector on linux Hello All,

RE: mod_webapp connector on linux

2001-10-03 Thread Aksel Schmidt
snip I guess I have the exact same problem. I expect it to be caused be the fact that you deploy your web app in another directory than $CATALINA_HOME/webapps which is fine when deploying to be used by tomcat alone. But the WebApp module expects every deployment made to reside in the

Re: Can I do this in login.jsp?

2001-10-03 Thread Gerry Duhig
I didn't see any answers! Does that mean its not possible? Or is just not the right thing to do? I really need to get something sorted soon. Help! Desperation creeping in here! Thanks Gerry - Original Message - From: Gerry Duhig [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday,

Please unsubscribe me

2001-10-03 Thread Guo Song Bai NCS
Best Regards, Songbai Tel: 5565063 This email (including all attachments) contains confidential information which may be privileged. It is intended solely for the identified recipient(s) to whom it is addressed. If you are not an intended recipient, please reply to us immediately and delete

Initialcontext problem

2001-10-03 Thread asheesh
Dear all i am posting it for 3rd time, let me know if anyone can help me in this. I am running tomcat3.2.3 on Linux with Borland Application Server. My whole code was working fine on NT platform, but when i shifted the thing to Linux, at the time of execution of command Context ctx = new

Re: Initialcontext problem

2001-10-03 Thread Dmitri Colebatch
What environment variables are you setting for JNDI? Do you have a jndi.properties file in your classpath? cheers dim On Wed, 3 Oct 2001, asheesh wrote: Dear all i am posting it for 3rd time, let me know if anyone can help me in this. I am running tomcat3.2.3 on Linux with Borland

Re: Please unsubscribe me

2001-10-03 Thread Mikael Aronsson
To remove your address from the list, send a message to: [EMAIL PROTECTED] - Original Message - From: Guo Song Bai NCS [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 03, 2001 9:02 AM Subject: Please unsubscribe me Best Regards, Songbai Tel: 5565063 This

Re: mod_webapp connector on linux

2001-10-03 Thread Matias Bahlenberg
I recognize this problem, and it seems like a connector-problem. The Apache Server can not connect to Tomcat. I solved it with starting Tomcat before starting Apache. This means that everytime I have to restart Tomcat, I have to restart Apache. // Matias - Original Message - From:

Toncat as service on Win2K

2001-10-03 Thread Marciu Liviu
Hello tomcat-users, I have registred Tomcat3.2.3 as a service on Win2K, under LocalSystem and under ./Administrator. I set it up to start automaticly. All works fine, I start the computer and the service is working, I log on and the service is working Ok, but when I log off (not

Re: mod_webapp connector on linux

2001-10-03 Thread James Williamson
I recognize this problem, and it seems like a connector-problem. The Apache Server can not connect to Tomcat. I solved it with starting Tomcat before starting Apache. This means that everytime I have to restart Tomcat, I have to restart Apache. // Matias Have you tried restarting

Re: Pool connection to database

2001-10-03 Thread Pablo Morillas
OK. I think that I am understood what have I do to resolve it. I have to put a ConnectionPool object in the system properties hash table and I will get a connection pooled enviroment for mines servlets, jBeans and JSP's. Thanks for your help. == Pablo Morillas

help in soap

2001-10-03 Thread jai ganesh
Hi All, How to configure a servlet so that it starts when the Tomcat server starts up. Namaskar P.G.Jai Ganesh

Re: Initialcontext problem

2001-10-03 Thread asheesh
Thanks for ur reply, but i am sorry to say that i am not getting to it, as far as i know following command does not req. any property file. Now my problem is as soon as i try to create refrence of Context using InitialContext, Tomcat stops with the one line message and there are no details in

Re: Initialcontext problem

2001-10-03 Thread Dmitri Colebatch
The construction of an InitialContext will look for system properties: java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces java.naming.provider.url=localhost The above values are for use with JBoss, but essentially

IIS and Tomcat 3.2.3 w isapi_redirect.dll, RC 200

2001-10-03 Thread Johan Hellstrom
Dear Sirs, Am trying to configure IIS under Windows 2000 Server to use TomCat 3.2.3 as a servlet engine. Since it doesn't work very well, after reading and following the advice in you your howto file, I would appreciate if you had any input in the matter. Everything is registered properly.

Where does WSDL fit in ?

2001-10-03 Thread Shahed A Moolji
Hi, I am new to Soap, but have been watching it for almost a year. Corret me if I am wrong, but is the following analogy correct ? 1. UDDI is somewhat similar to the Java RMI Registry 2. WSDL is something like CORBA's IDL, and the wsdl2java mapping is like the RMI client Stub. 3. The SOAP

Crosscontext tag and security

2001-10-03 Thread Renato Weiner
Hi all, What are the security concerns of letting 'crossContext=true' in a virtual hosting environment ? I'm using tomcat 3.2.3. Thanks Renato. __ Do You Yahoo!? Listen to your Yahoo! Mail messages from any phone. http://phone.yahoo.com

Noted a problem with configure on mod_webapp

2001-10-03 Thread Nikola Milutinovic
Hi all. This is more for developers, but here goes. OS is Tru64 UNIX 4.0F (a.k.a. Digital UNIX (a.k.a. DEC OSF/1)). I'm using native CC of Tru64. "configure" script in APR erroneously detects the presence of stdint.h on the system and that consequently bugs the whole mod_webapp.so.

Unable to compile JSPs in Tomcat 4

2001-10-03 Thread Jiger Java
Hi Friends, I am working on Tomcat 4 Final Release. The scenerio is like this. I am using XML Schema instead of DTD so I downloaded Lastest Xerces 1.4.3 since older Xerces were creating problems. I put the latest Xerces.jar file in mycontext/WEB-INF/lib. Now these Xml files are

Re: Initialcontext problem

2001-10-03 Thread asheesh
Dear Dim, Thanks for ur help, in the meantime i studied the InitialContext Class and found that passing null in new InitialContext Means that the ResourceManager will look for some property file in Java_home/lib , so i created one property file (jndi.properties) there, for the parameters which

Re: Initialcontext problem

2001-10-03 Thread Dmitri Colebatch
What are the properties you have in the jndi.properties file (previously in the hashtable)? cheers dim On Wed, 3 Oct 2001, asheesh wrote: Dear Dim, Thanks for ur help, in the meantime i studied the InitialContext Class and found that passing null in new InitialContext Means that the

Missing configuration resource /WEB-INF/struts-config.xml

2001-10-03 Thread Mike Douglass
I'm trying to get a combination of struts (1.0), tomcat 4 rc2 and kerb 5 working. I've got security enabled and I'm getting the message Missing configuration resource for path /WEB-INF/struts-config.xml I've tried moving the struts config file about and changing the config parameter in

Using mod_jk with Apache-Tomcat

2001-10-03 Thread Nathan Pfrimmer
I don't think my Apache-Tomcat connection is working. If I add the line: Include d:\jakarta-tomcat-3.2.3\conf\tomcat.conf to the Apache/conf/httpd.conf file (as directed by the documentation), and then try to start the Apache server I get an error pop-up box: Microsoft Management Console -

Re: Missing configuration resource /WEB-INF/struts-config.xml

2001-10-03 Thread Mike Douglass
Forgot to mention: because of the Kerb 5 requirement I'm running it on Java 1.4 beta. At 09:23 AM 10/3/2001 , you wrote: I'm trying to get a combination of struts (1.0), tomcat 4 rc2 and kerb 5 working. I've got security enabled and I'm getting the message Missing configuration resource for

RE: Toncat as service on Win2K

2001-10-03 Thread David Oxley
This is a bug with jdk1.3. Upgrade to jdk1.3.1 Dave -Original Message- From: Marciu Liviu [mailto:[EMAIL PROTECTED]] Sent: 02 October 2001 23:23 To: [EMAIL PROTECTED] Subject: Toncat as service on Win2K Hello tomcat-users, I have registred Tomcat3.2.3 as a service on Win2K, under

Re: Tomcat 3.3 and user specific Webapps...

2001-10-03 Thread news
On Wed, 2001-10-03 at 15:08, Micael Padraig Og mac Grene wrote: Do you mind my asking why you want to do that, to better understand if I can be helpful without wasting time? I might hazard a guess and say that he wants to be able to give users the ability to run servlets on the a webserver

Re: Toncat as service on Win2K

2001-10-03 Thread Wesley E. Ribeiro
We had this problem. We have solved it by adding the option '-Xrs' as a startup parameter for the JVM in the wrapper.properties file. Wesley --- Marciu Liviu [EMAIL PROTECTED] wrote: Hello tomcat-users, I have registred Tomcat3.2.3 as a service on Win2K, under LocalSystem and under

Re: How do I know what security manager is in use?

2001-10-03 Thread Martin Scheerer
Am Dienstag, 2. Oktober 2001 19:04 schrieben Sie: [...] I am writing some general support classes to manage users and roles. To support a call like addUser() I need to know which security manager is in use so I can do the right thing. Doing things like checking for tomcat-usrs.xml or a

Re: Missing configuration resource /WEB-INF/struts-config.xml

2001-10-03 Thread Mike Douglass
So I tried it with 1.3.1 with and without -security. The results are the same. Turn security on and tomcat cannot access the config file. At 09:29 AM 10/3/2001 , you wrote: Forgot to mention: because of the Kerb 5 requirement I'm running it on Java 1.4 beta. At 09:23 AM 10/3/2001 , you wrote:

Character decoding in form data

2001-10-03 Thread Laszlo Palmai
Hi! Is there anybody who knows what version of Tomcat support character sets other than ISO8859_1, if any? I use the ISO8859_2 character set, and my form decoding now looks like: if(name!=null) customer.setName( new String(name.getBytes("ISO8859_1"),"ISO8859_2")); if(contact!=null)

Re: Using mod_jk with Apache-Tomcat

2001-10-03 Thread Brian Richards
try changing the path to use forward slashes like D:/jakarta-tomcat-3.2.3/conf/tomcat.conf -Brian - Original Message - From: Nathan Pfrimmer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 03, 2001 9:23 AM Subject: Using mod_jk with Apache-Tomcat I don't think my

getparameter

2001-10-03 Thread Michele Cerioni
Hi, I use jakarta-tomcat-3.2.3 and jdk1.3.1_01 apache1.3.19 on Linux 2.2.19. I created a file prova.jsp html head title Prova /title /head body % out.println(bCiao: + request.getParameter(user) + /b); out.println(bbrCiao: + request.getMethod() + /b);

RE: ResultSet

2001-10-03 Thread Claudia Sarmiento
Hi Sio: I don't think the connection lost, because i can do a rs.getString(xx), only i see that i can't do rs.absolute(x) neither rs.isFirst() nor rs.isLast() :( Could you send me your example?, Thanks Claudia -Mensaje original- De: Siomara Pantarotto [mailto:[EMAIL PROTECTED]]

RE: ResultSet

2001-10-03 Thread Claudia Sarmiento
Hi Frank: I'm using Oracle 7.3.4.0.1 for Unix Solaris, and Oracle jdbc thin driver for Oracle 7 I'm look at Oracle site to download the last version Best Regards Claudia -Mensaje original- De: Frank Lawlor [mailto:[EMAIL PROTECTED]] Enviado el: Tuesday, October 02, 2001 1:03 PM

Re: getparameter

2001-10-03 Thread Roberto B.
I use linux (debian), T3.2.3 and jsdk 1.4 ...and your code works! Try to upgrade to jsdk 1.4 R. - Original Message - From: Michele Cerioni [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 03, 2001 6:38 PM Subject: getparameter Hi, I use jakarta-tomcat-3.2.3 and

RE: Using mod_jk with Apache-Tomcat

2001-10-03 Thread Nathan Pfrimmer
Actually, I've tried forward slashes... The line is actually: Include d:\jakarta-tomcat-3.2.3\conf\mod_jk.conf-auto I've also tried: Include d:\jakarta-tomcat-3.2.3\conf\mod_jk.conf It doesn't fix the Apache service start problem, both with forward, and backward slashes. I've also tried it

Re[2]: Toncat as service on Win2K

2001-10-03 Thread Marciu Liviu
Hello, I'am sory to disepoint you but this solution didn't work for me. Thank you, anyway. DO This is a bug with jdk1.3. Upgrade to jdk1.3.1 DO Dave DO -Original Message- DO From: Marciu Liviu [mailto:[EMAIL PROTECTED]] DO Sent: 02 October 2001 23:23 DO To: [EMAIL PROTECTED]

Re[2]: Toncat as service on Win2K

2001-10-03 Thread Marciu Liviu
Hello Wesley E. Ribeiro, Sorry but I don't know how to set the '-Xrs' option as a startup parameter. Please tell me. Thank you. WER We had this problem. We have solved it by adding WER the option '-Xrs' as a startup parameter for the JVM WER in the wrapper.properties file.

RE: IIS and Tomcat 3.2.3 w isapi_redirect.dll, RC 200

2001-10-03 Thread Vara Prashanth
Hi I am not 100% sure i what I am going to say will be the right approach or notbut here's what happened to me when I was trying to set up tomcat on my machine. The manual for setting up tomcat says that we should make registry entries for the the isapi redirector and the same in Internet

RE: Using mod_jk with Apache-Tomcat

2001-10-03 Thread Micky I. Mimo
Use only Include d:\jakarta-tomcat-3.2.3\conf\mod_jk.conf-auto at the bottom of http.conf file. Also, send me the out put of you mod_jk.conf-auto file. -Original Message- From: Nathan Pfrimmer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 11:05 AM To: Brian Richards;

RE: Using mod_jk with Apache-Tomcat

2001-10-03 Thread Nathan Pfrimmer
I am putting the include right at the bottom of httpd.conf. I've included the mod_jk.conf-auto file. -Original Message- From: Micky I. Mimo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 5:25 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Brian Richards Subject: RE: Using

Re: Using mod_jk with Apache-Tomcat

2001-10-03 Thread Brian Richards
Try starting apache by itself by running apache.exe on the command line. you may get a clearer error message. -Brian -Original Message- From: Nathan Pfrimmer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 11:05 AM To: Brian Richards; [EMAIL PROTECTED] Subject: RE: Using

Re: getparameter

2001-10-03 Thread Michele Cerioni
Roberto B. wrote: I use linux (debian), T3.2.3 and jsdk 1.4 ...and your code works! Try to upgrade to jsdk 1.4 R. jsdk1.4 from java.sun.com/j2se is betaIs this jdk1.4 stable? Michele

Re: mod_webapp connector on linux

2001-10-03 Thread jean-frederic clere
David Ward wrote: John, I have the same exact setup and had the same exact problem. After searching the user lists, I found I had to *uncomment* this line in my httpd.conf file: #ServerName localhost It seems that mod_webapp cares about it, though mod_jk didn't. (The eapi thing is

Sybase TDSTunnelServlet performance.

2001-10-03 Thread Denis Putnam
I am trying to use the Sybase TDS tunnel servlet provided in jConnect5_2 and I have installed it into the Jakarta-tomcat webapps directory, but I am getting very poor performance compared to the jserv method. Can anyone help me to improve the performance in Jakarta-tomcat container? Is there

Catlina with JBoss 2.4.1

2001-10-03 Thread Benjamin Hille
Hello, I am having trouble with calling JBoss 2.4.1 beans from Catalina shipped with Turbine 2.1. Turbine and JBoss run on different VM. I have followed the JBOSS howto provided with Turbine and taken care of removing the jndi realted jars from the WEPPAPPS/apps/lib. The context declaration is

Re: getparameter

2001-10-03 Thread Alessandro Pizzolotto
JDK 1.4 is in beta release byez Alessandro - Original Message - From: Michele Cerioni [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 03, 2001 7:29 PM Subject: Re: getparameter Roberto B. wrote: I use linux (debian), T3.2.3 and jsdk 1.4 ...and your code works!

Re: getparameter

2001-10-03 Thread Roberto B.
For now... I have no problem. However.. you could try jsdk 1.3 R. - Original Message - From: Michele Cerioni [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 03, 2001 7:29 PM Subject: Re: getparameter Roberto B. wrote: I use linux (debian), T3.2.3 and jsdk 1.4

Re: Noted a problem with configure on mod_webapp

2001-10-03 Thread jean-frederic clere
I have forwarded this issue to APR - That looks like an APR problem - Nikola Milutinovic wrote: Hi all. This is more for developers, but here goes. OS is Tru64 UNIX 4.0F (a.k.a. Digital UNIX (a.k.a. DEC OSF/1)). I'm using native CC of Tru64. configure script in APR erroneously detects

Re: Tomcat behind apache - probabaly a FAQ but I *did* RTFM :)

2001-10-03 Thread Peter Schuller
The interface between Apache and Tomcat is provided by mod_webapp.so. Have a look through the archives and check the Tomcat pages on http://jakarta.apache.org. The configuration of virtual domains happens in Apache and mod_webapp.so automatically configures Tomcat. Thanks! Will do. /

RE: Using mod_jk with Apache-Tomcat

2001-10-03 Thread Nathan Pfrimmer
Yeah, mod_jk.dll was in the D:\jakarta-tomcat-3.2.3\modules\ directory. I tried commenting this line out in mod_jk.conf-auto, and I still got the error when trying to start the Apache server. I did notice failures in the mod_jk.log file though. I've attached it. -Original Message-

How to invalidate an SSL client certificate

2001-10-03 Thread hische
Hi, I am planning to use SSL client certificates with Tomcat standalone I am wondering if there is a way to invalidate a client certificate to cover for the (hopefully) rare event the device on which it resides gets lost or stolen. As far as I understand the SSL protocol specifies an

Cookies !

2001-10-03 Thread Gustavo Mejia
Hello !! I am new using Tomcat and JSP's, I am doing test qith Cookies, I create a Cookie, and now I want to know how can I delete this cookie with no shutdown the server, here is part of my code. Thanks for your help !! Cookie[] cookies=request.getCookies(); for(int j=0;

Re[3]: Toncat as service on Win2K

2001-10-03 Thread Jonathan Pierce
You need to specify the -Xrs option to the jdk1.3.1 VM. Jonathan Reply Separator Subject:Re[2]: Toncat as service on Win2K Author: [EMAIL PROTECTED] Date: 10/3/2001 6:05 AM Hello, I'am sory to disepoint you but this solution didn't work

Re: Open a file?

2001-10-03 Thread Craig R. McClanahan
On Tue, 2 Oct 2001, Bob Byron wrote: Date: Tue, 2 Oct 2001 22:03:37 -0500 From: Bob Byron [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Open a file? Okay, now I need to open the XML file and I am trying to figure out how to do that. When I try to open

RE: ResultSet

2001-10-03 Thread Siomara Pantarotto
I don't think the example fits your demand. I see that you are working with scrollable resultset, right? I never used it. I would have to look at it to understand the difference between this one and the simple resiltset. Oh well... sorry I could not help this time Sio From: Claudia

Re: Getting a reference to the app events listener.

2001-10-03 Thread Craig R. McClanahan
On Wed, 3 Oct 2001, Manu KY wrote: Date: Wed, 03 Oct 2001 08:54:26 +0530 From: Manu KY [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Getting a reference to the app events listener. Hello all, how should i get a reference to an application event listener

Re: Tomcat 3.3 and user specific Webapps...

2001-10-03 Thread Craig R. McClanahan
On 2 Oct 2001 [EMAIL PROTECTED] wrote: Date: 2 Oct 2001 22:09:22 -0700 From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Tomcat 3.3 and user specific Webapps... Hi there, I would like to setup my Tomcat server (running behind Apache) for users of my

Re: Re[2]: Toncat as service on Win2K

2001-10-03 Thread Wesley E. Ribeiro
Supposing you have used the jk_nt_service utility to install TomCat as a service in Win2K, you'll have a file called wrapper.properties in the conf directory of the TomCat installation directory. In this file, you'll have a line like this: wrapper.cmd_line=$(wrapper.javabin)-classpath

Re: How do I know what security manager is in use?

2001-10-03 Thread Craig R. McClanahan
On Wed, 3 Oct 2001, Martin Scheerer wrote: Date: Wed, 3 Oct 2001 17:54:34 +0200 From: Martin Scheerer [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: How do I know what security manager is in use? Am Dienstag, 2. Oktober 2001 19:04 schrieben Sie: [...]

Re: Open a file?

2001-10-03 Thread Bob Byron
Thank you Craig! Of course I just sent out a renewed plea for help. Murphy's Law. I checked for email, sent out my new plea, and then received your email. I will be utilizing this technique. Thanks for the info. Bob Byron - Original Message - From: Craig R. McClanahan [EMAIL

Netscape-tomcat redirector help

2001-10-03 Thread Sunil Thakker
Hello, I am in process of configuring Netscape with Tomcat. I have netscape 3.61 and tomcat 3.2.3 (for Unix). I guess i need to download the plugin for redirecting the requests from Netscape to Tomcat. Does anyone know frome where should i download ? I had visited the jakarta-tomcat site, but

RE: Using mod_jk with Apache-Tomcat

2001-10-03 Thread Micky I. Mimo
No, put the dll in the apache directory for modules. -Original Message- From: Nathan Pfrimmer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 12:08 PM To: Micky I. Mimo; [EMAIL PROTECTED] Subject: RE: Using mod_jk with Apache-Tomcat Yeah, mod_jk.dll was in the

RE: Using mod_jk with Apache-Tomcat

2001-10-03 Thread Nathan Pfrimmer
Yes, I had put it there as well...does the path in the mod_jk.conf have to point there though? -Original Message- From: Micky I. Mimo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 7:12 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Using mod_jk with Apache-Tomcat

RE: ResultSet

2001-10-03 Thread Frank Lawlor
As a test you should try retrieving the data and navigating thru it (using the ResultSet methods you intent to use) from a simple bean (class) that connects to the database. This will verify that the methods are working properly (many drivers/modes don't support them all - read the

Finding Resources w/ Tomcat 4.0

2001-10-03 Thread Haller, Joe
I have a class that loads initialization properties from a .properties text file in the same directory as the class. The class resides in /TOMCAT_HOME/webapps/myapp/WEB-INF/classes/com/company/app/PropertiesClass.c lass Properties reside in

Re: Finding Resources w/ Tomcat 4.0

2001-10-03 Thread Will Stranathan
Your webapp is in a different classloader. Webapps each get their own new classloader. Use something like this: ClassLoader loader = getClass().getClassLoader(); Will Stranathan On Wed, 3 Oct 2001 11:49:29 -0700 Haller, Joe [EMAIL PROTECTED] wrote: I have a class that loads initialization

2 webapps 2 jars 1 driver?

2001-10-03 Thread Brian Richards
Ok I am running two applications that use the IBM DB2 appdriver to connect to two different databases. The problem is this when i start up tomcat only one of the applications can access the database. The first one to have a request made wins and the other app gets a No Suitable Driver

RE: Finding Resources w/ Tomcat 4.0

2001-10-03 Thread Haller, Joe
That was exactly the issue. Perfect. Many thanks. J. Haller -Original Message- From: Will Stranathan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 11:59 AM To: [EMAIL PROTECTED] Subject: Re: Finding Resources w/ Tomcat 4.0 Your webapp is in a different classloader.

Newbie: Tomcat EJBs

2001-10-03 Thread Andy Wagg
Can someone tell me if tomcat supports EJB's, looking through the documentation I'm still not sure. Is this part of catalina in Tomcat 4 or is there something else. Thanks, AW

Re: Newbie: Tomcat EJBs

2001-10-03 Thread Brian Richards
Tomcat deosn't try www.jboss.org -brian - Original Message - From: Andy Wagg [EMAIL PROTECTED] To: tomcat [EMAIL PROTECTED] Sent: Wednesday, October 03, 2001 3:15 PM Subject: Newbie: Tomcat EJBs Can someone tell me if tomcat supports EJB's, looking through the documentation I'm

Re: Finding Resources w/ Tomcat 4.0

2001-10-03 Thread Craig R. McClanahan
On Wed, 3 Oct 2001, Will Stranathan wrote: Date: Wed, 03 Oct 2001 13:58:41 -0500 From: Will Stranathan [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Finding Resources w/ Tomcat 4.0 Your webapp is in a different classloader. Webapps each get their own

Re: Newbie: Tomcat EJBs

2001-10-03 Thread Craig R. McClanahan
On Wed, 3 Oct 2001, Andy Wagg wrote: Date: Wed, 03 Oct 2001 20:15:47 +0100 From: Andy Wagg [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: tomcat [EMAIL PROTECTED] Subject: Newbie: Tomcat EJBs Can someone tell me if tomcat supports EJB's, looking through the documentation I'm still

tomcat ajp13 errors(henri where are you?)

2001-10-03 Thread Marcel Stoer
Hi all I've set up Tomcat 4.0 with IIS 5.0 and both servers run perfectly as individuals (examples work). And now... integrating Henri Gomez offers files (http://jakarta.apache.org/~hgomez/ajp13-tc4.0/) and instructions for ajp13 and Tomcat 4.0. So, I followed his instructions and afterwards

RE: Newbie: Tomcat EJBs

2001-10-03 Thread Shane Geiger
A while ago someone sent me a link to a product on sourceforge that was apparently a combination JBoss-Tomcat product. -Original Message- From: Andy Wagg [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 2:16 PM To: tomcat Subject: Newbie: Tomcat EJBs Can someone

Re: Newbie: Tomcat EJBs

2001-10-03 Thread Yoav Shapira
Hi, It's still there. For the adventurous, try the new JBoss2.4.1-Tomcat4.0 integrated download: http://prdownloads.sourceforge.net/jboss/JBoss-2.4.2_Tomcat-4.0.zip Otherwise, you can just go to jboss.org and download the latest release-quality thing, which is integrated with Tomcat 3.2.3 I

Re: Open a file?

2001-10-03 Thread Bob Byron
Does the resource need to be mapped in the web.xml file? Bob - Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 03, 2001 11:28 AM Subject: Re: Open a file? On Tue, 2 Oct 2001, Bob Byron wrote: Date: Tue, 2 Oct 2001

Re: Open a file?

2001-10-03 Thread Bob Byron
Does the resource need to be defined in the web.xml file? If so, how? Thank You, Bob - Original Message - From: Bob Byron [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, October 03, 2001 12:11 PM Subject: Re: Open a file? Thank you Craig! Of course I

RE: Netscape-tomcat redirector help

2001-10-03 Thread Wesley Gamble
Sunil, I successfully got Tomcat working with iPlanet 6.0 by using the nsapi_redirect.dll file from the Tomcat 3.1.x download site. I'm sure it will probably work with NES 3.61. Wes

Re: mod_webapp connector on linux - HELP!

2001-10-03 Thread David Ward
Actually, I am not setting up virtual hosts like you are, so the mod_webapp result of application deployment *should* be localhost (what's set as my ServerName), right? My apache error_log looks like this on startup: [Wed Oct 3 13:22:25 2001] [warn] Loaded DSO modules/mod_webapp.so uses

TC4: java.lang.LinkageError: duplicate class definition. PLEASE HELP!

2001-10-03 Thread Roytman, Alex
Hello, I am getting following error when invoke my jsps for the first time after TC start. It happens only first time - once all classes has been loaded it works fine i.e. I click refresh after the error and it doesn't happen any more. It only happens when two clients trying to access my pages

JNDI Properties for servlets

2001-10-03 Thread Brent Denver
Where can I place the jndi.properties (or any properties file for that matter) so a servlet will pick it up . I've got Tomcat 4.0 installed using JDK 1.3.1 on Windows 2000 Professional. I have deployed the Servlet in a jar and placed it in the $CATALINA_HOME/webapps/myapp/WEB-INF/lib directory. I

Re: Open a file?

2001-10-03 Thread Craig R. McClanahan
On Wed, 3 Oct 2001, Bob Byron wrote: Date: Wed, 3 Oct 2001 14:56:35 -0500 From: Bob Byron [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Open a file? Does the resource need to be mapped in the web.xml file? No. ServletContext.getResource() and

Apache Status: httpd dead but subsys locked

2001-10-03 Thread Benjamin Bostow
I am using Apache 1.3.14 and Tomcat 3.3. When I run Tomcat and then try to start Apache, the Apache status states: httpd dead but subsys locked. Can anyone help me with what the problem might be? Ben

Re: Newbie: Tomcat EJBs

2001-10-03 Thread Dmitri Colebatch
From jboss-user there is a slight bug in the 2.4.2 release relating to JBossMQ on win32, there is a 2.4.3 release to fix this. On Wed, 3 Oct 2001, Yoav Shapira wrote: Hi, It's still there. For the adventurous, try the new JBoss2.4.1-Tomcat4.0 integrated download:

Re: Tomcat 4 Embedded in JBoss - Logging?

2001-10-03 Thread Craig R. McClanahan
On Wed, 3 Oct 2001, Hunter Hillegas wrote: Date: Wed, 03 Oct 2001 14:47:40 -0700 From: Hunter Hillegas [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Tomcat User List [EMAIL PROTECTED] Subject: Tomcat 4 Embedded in JBoss - Logging? I am trying to debug some taglibs that send log()

Re: Tomcat 4 Embedded in JBoss - Logging?

2001-10-03 Thread Craig R. McClanahan
On Wed, 3 Oct 2001, Hunter Hillegas wrote: Date: Wed, 03 Oct 2001 15:00:48 -0700 From: Hunter Hillegas [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Tomcat User List [EMAIL PROTECTED] Subject: Re: Tomcat 4 Embedded in JBoss - Logging? That's what I thought but they are not ending up

RE: Finding Resources w/ Tomcat 4.0

2001-10-03 Thread Haller, Joe
Yes. This works. Thank you for the portability advice. J. Haller -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 12:20 PM To: [EMAIL PROTECTED] Subject: Re: Finding Resources w/ Tomcat 4.0 On Wed, 3 Oct 2001, Will

2 webapps 2 jars 1 driver?

2001-10-03 Thread Brian Richards
Ok I am running two applications that use the IBM DB2 appdriver to connect to two different databases. The problem is this when i start up tomcat only one of the applications can access the database. The first one to have a request made wins and the other app gets a No Suitable Driver

Run Servlets correctly but not JSP

2001-10-03 Thread Mario Bigras
Hi I have installed Tomcat 3.1 on Windows 98SE. I am able to run Servlets but it's with JSP that is my problem. I wrote an html form that take an int as input from the user and it's gonna pass that int to the JSP which will write Hello world the number of time specified by the user. It's

Re: Run Servlets correctly but not JSP

2001-10-03 Thread pducuron \(charter\)
Mario: I tested it, and the code seems to be ok. It prints it x times I called it this way: http://localhost:8080/test/loop.jsp?numtimes=4 Check it out, it sould work. - Original Message - From: Mario Bigras [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 03,

Re: Using mod_jk with Apache-Tomcat

2001-10-03 Thread Jacob FanChiang \(\)
Don't use the include. Add these in the end of httpd.conf LoadModule jk_module lib/modules/mod_jk.so AddModule mod_jk.c IfModule mod_jk.c JkWorkersFile /disk1/tomcat/conf/jk/workers.properties JkLogFile /disk1/tomcat/logs/mod_jk.log JkLogLevel error JkMount /*.jsp ajp13

Re: Can I do this in login.jsp?

2001-10-03 Thread Iwan
Yes it is possible. In your jsp, you can have a form with an action that call the servlet to create the cookie/validate the user id and password. I personally don't like to save the password in the cookie as I don't feel that the right thing to do. At 09:01 AM 10/3/2001 +0100, you wrote: I

Auto config files not appearing under Linux

2001-10-03 Thread news
Hi there, my server.xml has the following directive: ApacheConfig noRoot=true/ Yet, my TOMCAT_HOME/conf/auto directory remains empty. I'm running Apache 1.3.19 and Tomcat 3.3-b2 on Red Hat Linux 7.1 Any suggestions? This always kinda just worked under Win32. Craig.

Quick question?

2001-10-03 Thread James Turner
Do you happen to know what directory Turbine tries to load TurbineResources.properties from if you specify . as the path in new TurbineConfig? Thanks, James

Re: Auto config files not appearing under Linux

2001-10-03 Thread Brian Richards
try running tomcat.sh run jkconf -brian - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 03, 2001 11:55 PM Subject: Auto config files not appearing under Linux Hi there, my server.xml has the following directive: ApacheConfig noRoot=true/

Virtual Hosts and error in stderr

2001-10-03 Thread Brian Richards
I found this in my jvm.stderr log anyone know what might be causing it? Using Tomcat 3.3rc1 Apache 1.3.6 and mod_jk I'm also having an issue with virtual hosts both hosts seem to be going to the same DocRoot pasted the contents of mod_jk.conf if you need anything else let me know. Thanks

  1   2   >