RE: * * * Tomcat 4.1.12 Servlets * * *

2002-10-21 Thread Tim Moore
-Original Message- From: Romualdo Rubens de Freitas [mailto:romualdo;unipar.br] Sent: Monday, October 21, 2002 1:02 PM To: '[EMAIL PROTECTED]' Subject: * * * Tomcat 4.1.12 Servlets * * * Hi All, In web.xml file located at webapps\ROOT\WEB-INF I put the following: servlet

Tomcat 4.1.12 mod_jk2 Apache 2.0.43 build and config issues on Solaris 8

2002-10-21 Thread Harry Sokol
Hi all, We're having copious grief here trying to plug Apache 2.0.43 and Tomcat 4.1.12 together with mod_jk/Coyote. Any advice or assistance will be very gratefully recieved. So far we're working on the belief that 4.1.12 is preconfigured to run with mod_jk2 and therefore that's the connector

tomcat4+jdk1.4.1+security providers

2002-10-21 Thread psalazar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Greetings, I'm trying to use the security packages that are supported in jdk1.4 (no need of JCE now) in tomcat environment. In a test environment running a class test in a shell, I can access a DES algorithm and use cipher/decipher methods. But

RE: Session Time out - Tomcat

2002-10-21 Thread SMcGarrity
Lior, One easy way to do this is to store something in the session when you log the user on (a user name or some unique piece of information) - you probably already do this - and when you do any jsps or servlets, try doing session.getAttribute on that item - if its null - the session is timed

Re: Some jndi help

2002-10-21 Thread Kwok Peng Tuck
I did. And it tried to use the hypersonic database. I've previously removed any mention of it in the server.xml and the only remaining one is sap db. Phil Steitz wrote: Try sql:jndiNamejava:comp/env/jdbc/AthenaDB/sql:jndiName -- To unsubscribe, e-mail:

Re: SSL Servlet Client

2002-10-21 Thread Dave Patton
Have you generated all your certificates for an ssl connection? If not that will be the problem. If you have, make sure that Tomcat can find the certificates in question. The Tomcat docs have a good piece on hooking up SSL I followed it without a hitch. Dave Patton On Mon, 2002-10-21 at

Re: AW: web.xml error

2002-10-21 Thread AnnWenzel
I am having the same problem. My web.xml file is as follows and appears to be in the correct order. Do I need to add something to the file. Thanks Ann ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN

AW: Release notes refer javac memory leak; what bug ID?

2002-10-21 Thread Ralph Einfeldt
Can't tell you the bug ID, but a quote from (Bhttp://java.sun.com/j2se/1.4.1/changes.html: (B (BThe compiler now releases the pointers to its internal (Bdata structures after compilation completes, so that (Busing javac inside a java program will not leak space. (B (B (B

RE: Admin/Manager problems

2002-10-21 Thread Cox, Charlie
did you restart tomcat after changing tomcat-users file? -Original Message- From: James D. Whittington [mailto:jim;whittington.com] Sent: Sunday, October 20, 2002 10:34 AM To: [EMAIL PROTECTED] Subject: Admin/Manager problems Ok here it goes... I am a real newbie to java and

RE: mod_jk problem

2002-10-21 Thread Turner, John
Oops, you are right. I checked the other worker.* statements, but for some reason missed that one. This same problem happened to someone else last week, and nobody caught it except Milt Epstein. John -Original Message- From: Jean-Baptiste Onofré [mailto:jbonofre;phpfr.org] Sent:

Re: tomcat4+jdk1.4.1+security providers

2002-10-21 Thread psalazar
I solved my problem: I didn't put the sunjce_provider.jar in ${tomcat.home}/common/lib/ and I must add the SunJCE provider hardcoded before use the DES algorithm. java.security.Security.addProvider(new com.sun.crypto.provider.SunJCE()); The cool thing would be add the SunJCE provider (or other

Session Time out - Tomcat

2002-10-21 Thread Lior Shliechkorn
When Tomcat times a session out, as instructed in the web.xml, is there a way to capture that so a page can be displayed that the session has timed out, or even prompt the user if he would like to continue being logged on? Thanks, Lior - Do you Yahoo!? Y!

url NOT rewriting with cookies=false

2002-10-21 Thread Thomas Heller
hi there, i am trying to make my webapp sessions to work without cookies. therefore i set cookies=false in the server.xml using the tomcat admin interface (4.1.12). i have a very simple jsp page % page session=true % % out.println(testurl: + response.encodeURL(/test.html?key1=value1)); % and

Release notes refer javac memory leak; what bug ID?

2002-10-21 Thread Shunsuke Masuda
Hi, (B (BTomcat release notes say there's a memory leak bug in Sun's javac. (BCould someone tell me with what Bug ID I can confirm it? (B (BRegards, (BShunsuke Masuda (B (B (B-- (BTo unsubscribe, e-mail: mailto:[EMAIL PROTECTED] (BFor additional commands, e-mail: mailto:[EMAIL

Re: Session Time out - Tomcat

2002-10-21 Thread Dave Patton
Yes. Using the HttpSession object, or I believe in the new J2ee API there is a HttpSessionListener object, you can test if the session is valid. If it is not then redirect to wherever you want. Probably the simplest way is to test via if(request.getSession() == null) then go somewhere else On

R: turn off directory listing in tomcat 4.0.3

2002-10-21 Thread Fabio Marsilio
To disable directory browsing, edit the file web.xml in Tomcat's config directory. Change the value of the parameter listings in the servlet named default from true to false. Fabio -Messaggio originale- Da: unix guy [mailto:unixguy;verizonmail.com] Inviato: lunedì 21 ottobre 2002 17.52

Re: F.Y.I HTTP spoken on HTTPS port; PROBLEM and SOLUTION

2002-10-21 Thread Filip Sergeys tc
On Mon, 2002-10-21 at 11:57, Nikola Milutinovic wrote: Filip Sergeys tc wrote: Hi, Maybe somebody in the near or distant future will hit the same problem. I hope this can help you avoiding it. Error HTTP spoken on HTTPS port using apache 1.3.26 with mod_ssl,

Re: SSL Servlet Client

2002-10-21 Thread Monte . Gardner
On Mon, 21 Oct 2002, Dave Patton wrote: Ok that sounds good then. My understanding is that it uses the keystore set in the server.xml file. Where in server.xml is that set? I couldn't find any mention of a keystore. Are you send ing the request to the right port? Yes, the URL is set in

RE: Does tc-4.12 have bugs with nested jsp tags?

2002-10-21 Thread Tim Moore
-Original Message- From: Zsolt Koppany [mailto:zkoppany;web.de] Sent: Sunday, October 20, 2002 5:42 PM To: [EMAIL PROTECTED] Subject: Does tc-4.12 have bugs with nested jsp tags? Hi, my nested JSP tags (nesting level 3-4) work fine under tc-4.0.4 but they seem to be bugy

serverName_access_log too cryptic

2002-10-21 Thread achana
Hi all. I am trying to debug some of my JAVA programs. $CATALINA_HOME/logs/cacophonix_access_log.date has this consistent message : 192.168.100.8 -- [date/time stamp] POST saysit/servlet/RemotedemoServer HTTP/1.1 500 3919 catalina.out has more info, but only those that I embed in the

* * * Tomcat 4.1.12 Servlets * * *

2002-10-21 Thread Romualdo Rubens de Freitas
Hi All, In web.xml file located at webapps\ROOT\WEB-INF I put the following: servlet servlet-nameExample/servlet-name servlet-classExampleServlet/servlet-class /servlet After that, I tried to run my HTML file that calls the servlet and I got: (It doesn't matter if I use Example or

urgent , pls help ssl and apache and tomcat

2002-10-21 Thread Maninder S Batth
If apache is intercepting ssl requests, and forwards requests to tomcat, does tomcat needs to be ssl enabled??? and should i use ajp or https connector between apache and tomcat for the request to work successfuly over ssl?? any help would be appreciated. [EMAIL PROTECTED] wrote: Jake In

[Solved] tomcat 4.1.12: Exception processing JAR at resource path /WEB-INF/lib/..

2002-10-21 Thread Tarang Kumar Patel
There has been many reports on this, with symlinks as cause then again some like myself had no symlinks still saw a problem such as: 2002-10-20 12:28:13 ContextConfig[/slide-admin] Exception processing JAR at resource path /W EB-INF/lib/slide-taglib-common.jar

Re: mod_jk problem

2002-10-21 Thread Aryeh Katz
Re, thanks for your help. You can find in attach file : config and log. your error_log file seems to state the problem. Tomcat couldn't bind to 8080 (it's already in use) Try renaming the port and see in that helps. Aryeh --- Aryeh Katz VASCO www.vasco.com

Securing servlets in an application

2002-10-21 Thread Lior Shliechkorn
function SetDomain(d) { document.domain = d; }Hi, I need help in adding some extra security to the login servlet for my application. I wanted to know how I can secure servlets without having to declare realms in Tomcat. I have a login page that posts to a servlet, and I want to make that

How to capture the ROOT cause of EXCEPTION

2002-10-21 Thread Nagpal, Vikas
Hello EveryBody, I have been trying to catch the ROOT cause of the exception. I am able to get the NULL for the number which caused this exception but not the NUMBER. Can anyone tell how to PRINT the NUMBER which caused the EXCEPTION. I want to subsitute the NULL with the NUMBER. Thanks,

Re: Connection Pooling

2002-10-21 Thread Mehdi . Nejad
Comment on my question.. Ive been having a read, It seems if you do not specify a factory, tomcats default factory is used - org.apache.naming.factory.DbcpDataSourceFactory If correct, is it a good idea to go with this ? Med

Cert error

2002-10-21 Thread Maninder S Batth
hi, I am trying to connect from apache to tomcat via ssl . I dont have static ip or domain at this momment, so i made the common name in certificate as localhost. tho my computer name is dopey. the httpd conf and tomcat are given sever name localhost. When i access the servlet i get exception

Re: mod_jk problem

2002-10-21 Thread Jean-Baptiste Onofré
Re, I have find the problem !! In my workers.properties, i have : workers.list=ajp13 and not : worker.list=ajp13 Thanks for your help :) Excuse me for big messages, Best regards -- Jean-Baptiste Onofré (Nanthrax) Membre fondateur de phpFR.org http://www.phpfr.org [EMAIL PROTECTED]

php - jdni - java : simulation JSP via php?

2002-10-21 Thread Power-Netz \(Schwarz\)
Hi, Has anyone expiriencies with converting jsp/java to php/j(d)?(n)i/java ? I have seen, that someone did using java under php. The question is how complicate is it, to rewrite jsp to php so, that the whole thing will works without TC . It's a complex application, i uses perlscript via

tomcat and OSX

2002-10-21 Thread Martina Dillon
Is anyone on this list running tomcat on OSX? I am a new subscriber, but haven't seen any posts from Mac users. Thanks in advance, Martina -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org

Configuring a TCP/IP Conenctor

2002-10-21 Thread vagarwal
I wish to use a VB client to send a TCP/IP message to my application hosted on Tomcat. I wish to start a service which would accept messages at a given port and forward to a engine (which would have the business logic). Any ideas on how to configure a connector to achieve this? -- To

RE: [OFF-TOPIC] - RE: How to capture the ROOT cause of EXCEPTION

2002-10-21 Thread Nagpal, Vikas
Date: Mon, 21 Oct 2002 14:13:54 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Hi all, I tried out the following code but it did not work. try { ... } catch(Exception e) { Throwable cause = e.getCause();

Re: Securing servlets in an application

2002-10-21 Thread Jean-Francois Arcand
Lior Shliechkorn wrote: function SetDomain(d) { document.domain = d; }Hi, I need help in adding some extra security to the login servlet for my application. I wanted to know how I can secure servlets without having to declare realms in Tomcat. I have a login page that posts to a servlet, and

Re: Unable to use getGeneratedKeys() through dbpc

2002-10-21 Thread shawn
Thanks for the help Steve, here is the code that works... try { javax.naming.Context ctx = new javax.naming.InitialContext(); javax.sql.DataSource ds = (javax.sql.DataSource)ctx.lookup(java:comp/env/jdbc/testDB); Connection conn = ds.getConnection();

Re: tomcat install problems on Tru64unix

2002-10-21 Thread Mr. Cristian Romanescu
Hi, I'm not sure if this would help, but maybe you should try setting CATALINA_HOME, since new releases of Tomcat. also you might want to run catalina.sh run. Bye! He, JianBo wrote: Hi, I installed J2SDK V1.4 and tomcat on Compaq Tru64UNIX v5.1 successful, set TOMCAT_HOME and JAVA_HOME

Re: Domainwide JSESSIONID cookie?

2002-10-21 Thread Craig R. McClanahan
On Mon, 21 Oct 2002, Jan Kunzmann wrote: Date: Mon, 21 Oct 2002 20:41:37 +0200 From: Jan Kunzmann [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Domainwide JSESSIONID cookie? Greetings! I need to share Tomcat sessions between virtual

RE: mod_jk problem

2002-10-21 Thread Turner, John
I'm not sure that's it. The Apache ServerName is www.nanthrax.net yet everything else is localhost. The JkMount commands are not nested within VirtualHost containers, so the URL that is trying to get mapped is http://www.nanathrax.net/tomcat-docs . There are no workers defined for that...there

RE: serverName_access_log too cryptic

2002-10-21 Thread Shapira, Yoav
Hi, $CATALINA_HOME/logs/cacophonix_access_log.date has this consistent message : 192.168.100.8 -- [date/time stamp] POST saysit/servlet/RemotedemoServer HTTP/1.1 500 3919 This is standard ACCESS log format. It's sometimes useful for debugging, too. I wouldn't call this cryptic at all ;) It's

RE: Symbolic Link

2002-10-21 Thread Turner, John
From the 4.1.12 release notes: --- Symlinking static resources: --- Unix symlinks will not work when used in a web application to link resources located outside the web application root directory. This behavior is optional, and the allowLinking

RE: [OFF-TOPIC] - RE: How to capture the ROOT cause of EXCEPTION

2002-10-21 Thread Nagpal, Vikas
Hi all, I tried out the following code but it did not work. try { ... } catch(Exception e) { Throwable cause = e.getCause(); System.out.println(e.getCause()); } Can anyone help. Thanks, Vikas. -Original Message- From: Shapira, Yoav

Having problems with Tomcat 4.1.12 and Toplink

2002-10-21 Thread Ujwal Oswal
Hello All, We had this web application running on Tomcat 4.0.4 version and Toplink. I have upgraded to Tomcat 4.1.12 and the application started giving error. SocketException when it is trying to read the Toplink Project File. What should I do to avoid this error. Thanks uo

Re: SSL Servlet Client

2002-10-21 Thread Dave Patton
Ok that sounds good then. My understanding is that it uses the keystore set in the server.xml file. Are you send ing the request to the right port? I didnt see anything in your code below specifying which port to hit. I also found this reference online and may be something to try. Export the

Re: My Start and Stop Tomcat windows do not stay up

2002-10-21 Thread AnnWenzel
Jake In response to your following suggestion: Are you sure that Tomcat isn't already running as a service? If Tomcat is already listening to the ports that a new instance would try to listen to, then you would get that behavior. The window would just close. For easier debugging, you might

where is mod_webapp.so binary?

2002-10-21 Thread Z.BEAT
I am running Apache 1.3 and Tomcat 4.1.2, on Solaris 7. Where can I download mod_webapp.so binary? I am currently running Tomcat only as a Standalone, and it would be nice if I could connect it to Apache. The expected location does not have the module:

Java bean = NUll???/ Java bean not found

2002-10-21 Thread Eddie Liang
Hi, I have a simple test jsp which call a java class name (Employee). But the tomcat4.0.4 complaint that the class not found, is null. And I sure the Employee.class is in there. Here is the error message: org.apache.jasper.JasperException: Unable to compile class for JSPNote:

Re: Unable to use getGeneratedKeys() through dbpc

2002-10-21 Thread shawn
Thanks for the input Steve, I agree that it SHOULDN'T be dbpc, but it looks as if it is. Actually the driver does support it quite nicely. Everything works great if I create my connection manually. Things only break if I retrieve the connection from jndi ( and thus dbpc ). //This can use

NT integration

2002-10-21 Thread Jorge Peralta
I must integrate tomcat into windows Nt/2000 to be able to authenticate and authorize windows domain user in apache tomcat. Is it possible? Thanks in advance. Jorge A. Peralta Sistemas Litoral Gas AVISO DE CONFIDENCIALIDAD : La información aquí contenida y transmitida se encuentra

Symbolic Link

2002-10-21 Thread Ganesh.K.Rao
Hi All, Tomcat4 does not load classes under WEB-INF/classes/com/ if com is a symbolic link to some other directory. This was not the case with Tomcat3!. Please let me know if there is work around other than maintaining a physical directory under WEB-INF/classes. Thanks in

Domainwide JSESSIONID cookie?

2002-10-21 Thread Jan Kunzmann
Greetings! I need to share Tomcat sessions between virtual hosts in different subdomains on my domain, eg www.mysite.com and user.mysite.com. But according to the servlet specs, tomcat stores the session cookie with full host name and context path. So I get a cookie for

Mod_jk content length

2002-10-21 Thread Ricardo de Souza Moura
Had anybody problems with contentLength in mod_jk ? I am using Tomcat4.1.12 e jdk 1.3.1. I am getting this error: - Root Cause - java.lang.NoSuchMethodError: java.lang.StringBuffer: method append(Ljava/lang/StringBuffer;)Ljava/lang/StringBuffer; not found at

Re: F.Y.I HTTP spoken on HTTPS port; PROBLEM and SOLUTION

2002-10-21 Thread Nikola Milutinovic
Filip Sergeys tc wrote: On Mon, 2002-10-21 at 11:57, Nikola Milutinovic wrote: Filip Sergeys tc wrote: What does sendRedirect do? sendRedirect launches a new HTTP request, and this request goes via apache again(you can see it in the apache access_log). However this

Is there any way to read the response headers in a filter in Tomcat 4.0.3 ?

2002-10-21 Thread ifriedri
Hi, I want to write a filter for Tomcat 4.0.3 which should record all the traffic.But I cannot find any way to question the values of the headers of a response in my ResponseWrapper. Normal HttpServletResponse class doesn't have any getter methods for headers. In the debugger I can see that there

can't changing context path at run time

2002-10-21 Thread Louis Voo
Hello, I'm using Tomcat 4.1.12. I have 2 application, for e.g webapp1 webapp2. When I do the getServletContext().getContext(/webapp2).getRequestDispatcher(/index2.jsp ) in webapp1, it always go back to the webapp1. In my server.xml I configured it like that: Context path=/webapp1

RE: mod_jk problem

2002-10-21 Thread Turner, John
Please be more specific. Please post your current configuration files, with any changes that you have made since the last time you posted. John -Original Message- From: Jean-Baptiste Onofré [mailto:jbonofre;phpfr.org] Sent: Monday, October 21, 2002 1:47 PM To: Tomcat Users List

RE: My Start and Stop Tomcat windows do not stay up

2002-10-21 Thread Paul French
Try running catalina.bat run (instead of startup.bat) and you should see all messages in the same console window. That way you can see what might be wrong with your server.xml or web.xml file Paul -Original Message- From: [EMAIL PROTECTED] [mailto:AnnWenzel;aol.com] Sent: 21 October

RE: Unable to use getGeneratedKeys() through dbpc

2002-10-21 Thread SMcGarrity
Shawn, It shouldnt be DBCP that would cause getGeneratedKeys() to not work - its the JDBC Driver that doesnt support it - my (limited) knowledge of the various different databases is that very few support the JDBC 3.0 specification yet so you might have to do a work-around. Its worth checking

Re: tomcat install problems on Tru64unix

2002-10-21 Thread Nikola Milutinovic
Mr. Cristian Romanescu wrote: Hi, I'm not sure if this would help, but maybe you should try setting CATALINA_HOME, since new releases of Tomcat. also you might want to run catalina.sh run. Bye! He, JianBo wrote: Hi, I installed J2SDK V1.4 and tomcat on Compaq Tru64UNIX v5.1 successful,

RE: SMTP mail

2002-10-21 Thread Turner, John
Tomcat does not act as a SMTP host. You'll need to either install SMTP services on your PC, or use a remote host such as the SMTP server provided by your ISP. If you are using a recent version of Windows (like 2K Pro or XP Pro), there are SMTP services available (Control Panel - Add/Remove

Re: connection pool..

2002-10-21 Thread Jean-Francois Arcand
Please include your errors when you post a question like that. They are several solutions, and without the exact exception, it's very hard to help you. -- Jeanfrancois Sandeep Murphy wrote: hi all, I perused the procedure provided for creating and using connection pools (with mysql and other

unknown variable and scope

2002-10-21 Thread Sam Seaver
ok i've got this, which is more of a jstl thing, but might be TC related... c:if test=$applicationScope.labnews==null} blabnews doesn't exist/bbr / /c:if thing is, i do NOT declare the variable labnews ANYWHERE else in my jsp page, and yet, the test always passes false, in other words,

Re: Tomcat 4.0.4 on OS/390?

2002-10-21 Thread Simon T
Rich, You may need to run tomcat on top of linux on your mainframe Suse linux has some 390 stuff you may be able to get beta version for free? http://www.suse.de/en/business/products/sles/sles_s390/ Good luck. Regards, Simon [EMAIL PROTECTED] wrote: I've been

RE: RE: John Turner or someone who responsible for Posting -- Re: How to Apache2, Tomcat4.1.2, JK2 ?

2002-10-21 Thread Turner, John
I'm interested in seeing a HOWTO. John -Original Message- From: Jerry Birchler [mailto:jrbirchler;attbi.com] Sent: Sunday, October 20, 2002 1:46 AM To: Tomcat Users List Subject: RE: RE: John Turner or someone who responsible for Posting -- Re: How to Apache2, Tomcat4.1.2, JK2 ?

RE: Symbolic Link

2002-10-21 Thread Turner, John
Yes, there is a workaround. Please read the docs and the release notes for your version of Tomcat. John -Original Message- From: [EMAIL PROTECTED] [mailto:Ganesh.K.Rao;gsk.com] Sent: Monday, October 21, 2002 11:08 AM To: [EMAIL PROTECTED] Subject: Symbolic Link Hi All,

Re: serverName_access_log too cryptic

2002-10-21 Thread achana
Changed to debug=99, Tomcat is okay, its something I have done. Using System.out I traced it to my attempted instantiation of an Oracle connection object. [code] public object _getNewInstance() throws ServletException { return new EmployeeTunnel(); } [/code] Then it drops back to the calling

SMTP mail

2002-10-21 Thread Brian Shields
Hi, I have downloaded tomcat for use with soap. I now have to use JavaMail and i was wondering how do i set up a SMTP host on my pc using tomcat.is it possible. Thanks, Brian. - Do you Yahoo!? Y! Web Hosting - Let the expert host your web site

Re: tomcat4+jdk1.4.1+security providers

2002-10-21 Thread psalazar
I believe that it's true. I have defined in java.security the default providers that come in JDK1.4.1: security.provider.1=sun.security.provider.Sun security.provider.2=com.sun.net.ssl.internal.ssl.Provider security.provider.3=com.sun.rsajca.Provider

Re: F.Y.I HTTP spoken on HTTPS port; PROBLEM and SOLUTION

2002-10-21 Thread Nikola Milutinovic
Filip Sergeys tc wrote: Hi, Maybe somebody in the near or distant future will hit the same problem. I hope this can help you avoiding it. Error HTTP spoken on HTTPS port using apache 1.3.26 with mod_ssl, mod_jk1.2 and tomcat 4.1.12. If I understand correctly, a client has connected to the

RE: dont know whats happening :-(

2002-10-21 Thread Turner, John
There are two connectors capable of handling AJP13 in the default server.xml. One uses CoyoteConnector, the other uses Ajp13Connector. Make sure the connector using the Ajp13Connector class is disabled, then restart Tomcat. John -Original Message- From: Maninder S Batth

Re: JK2 connector and virtual hosting

2002-10-21 Thread yoom nguyen
Umberto I am using the same version of Apache 2, tomcat and jk2 on linux. However, I am still having problem getting Apache2 to talk to tomcat. Could you share your implementation? I need to compare my setting for httpd.conf, workers2.properties on the web server. On tomcat server I will also

Unable to use getGeneratedKeys() through dbpc

2002-10-21 Thread shawn
Hi folks, It seems to me that dbpc does not support getGeneratedKeys(). If I understand correctly this is a jdbc v3 call and it is possible that dbpc will not yet support jdbc3. I would appreciate any suggestions on alternative pooling mechanisms that could support this

deploying servlet ?

2002-10-21 Thread Daniel.T.Hellstrand
Hi Y´all If I make a servlet and compile it, where am I supposed to place the class file, and which files should I add the context to ? I was reading a tutorial on http://wireless.java.sun.com/midp/articles/tutorial2/ but that seems to be the another version of Tomcat, I´m running 4.1.12,

[OFF-TOPIC] - RE: How to capture the ROOT cause of EXCEPTION

2002-10-21 Thread Shapira, Yoav
Hi, Did you try: try { ... do something... } catch(Exception e) { Throwable cause = e.getCause(); ... do whatever you want with the cause ... } By the way, as this is not a tomcat question, please either post somewhere appropriate (comp.lang.java.help for example), or at least add

RE: AW: web.xml error

2002-10-21 Thread Julius Davies
Ann, This error has also happened to me. I found it pretty confusing at first, especially since other java web servers (JRun, Weblogic) don't seem to care what order the web.xml is in (am I correct in this?). Try this instead: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app

AW: AW: web.xml error

2002-10-21 Thread Ralph Einfeldt
No they aren't: display-name description servlet-mapping -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:AnnWenzel;aol.com] Gesendet: Montag, 21. Oktober 2002 18:49 An: [EMAIL PROTECTED] Betreff: Re: AW: web.xml error I am having the same problem. My web.xml file is as

NT4.0 Tomcat 4.1 mod_jk Apache 1.3 config issue

2002-10-21 Thread Will Hall
I have successfully installed and tested Tomcat 4.1 and I am attempting to connect with Apache 1.3 and I get the following jsp text when I attempt to connect with: www.appname.com : % page import=appname.controller.web.util.WebKeys % !-- Set Application Owner-- %

JSP Servlets

2002-10-21 Thread Chris Wolcott
To get a servlet to work directly, use JkMount commands like these in Apache: JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 JkMount /HelloWorldServlet ajp13= Add this type of line The first passes all *.JSP pages to Tomcat, the second passes all URLs starting

web.xml error

2002-10-21 Thread Steltner, Jörn HTC/DE/ESS
Hallo, I got an error in my catalina.out msg like this: org.xml.sax.SAXParseException: The content of element type web-app must match (icon?,display-name?,description?,distributable?,context-param*,filter*,fil ter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mappin

RE: TOMCAT MANAGER-APP and WARP CONNECTOR PROBLEM

2002-10-21 Thread Cox, Charlie
you want to access them as http://localhost/manager. You need to make sure you define the manager app under your warp connector. Charlie -Original Message- From: Fabio Marsilio [mailto:fmarsilio;veniceplaza.net] Sent: Monday, October 21, 2002 6:56 AM To: Tomcat Users List Subject:

How to capture the ROOT cause of EXCEPTION

2002-10-21 Thread Nagpal, Vikas
Hello EveryBody, I have been trying to catch the ROOT cause of the exception. I am able to get the NULL for the number which caused this exception but not the NUMBER. Can anyone tell how to PRINT the NUMBER which caused the EXCEPTION. I want to subsitute the NULL with the NUMBER. Thanks, With

AW: F.Y.I HTTP spoken on HTTPS port; PROBLEM and SOLUTION

2002-10-21 Thread Ralph Einfeldt
Have a close look at the redirect. It looks as if it redirects to http on the https port. (Something like http:/somedomain:443 -Ursprüngliche Nachricht- Von: Filip Sergeys tc [mailto:fsergeys-tc;verzekeringen.be] Gesendet: Montag, 21. Oktober 2002 13:09 An: Tomcat Users List Betreff:

connection pool..

2002-10-21 Thread Sandeep Murphy
hi all, I perused the procedure provided for creating and using connection pools (with mysql and other dbs) at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html#Common%20Problems but am stuck for a solution to this problem.. hving followd the procedure step

RE: mod_jk problem

2002-10-21 Thread Milt Epstein
On Mon, 21 Oct 2002, Turner, John wrote: Oops, you are right. I checked the other worker.* statements, but for some reason missed that one. This same problem happened to someone else last week, and nobody caught it except Milt Epstein. Somebody call me? :-) BTW, some good clues as to what

JK2 connector and virtual hosting

2002-10-21 Thread Umberto Nicoletti
Hi all, I succeeded in configuring apache 2.0.43 and tomcat 4.1.12 to talk to each other via jk2. Still I have a couple of questions: 1) I am using name based virtual hosting and have the following problem: the main/default site will be reached through its IP address because of customers coming

RE: Session Time out - Tomcat

2002-10-21 Thread Milt Epstein
On Mon, 21 Oct 2002 [EMAIL PROTECTED] wrote: Thanks for the comments, Milt. From a JSP (To my understanding anyway - I just re-checked it in a book) - it would appear you CAN assume the session object is not null - I quote: 'An implicit script language variable of type

AW: web.xml error

2002-10-21 Thread Ralph Einfeldt
The attributes have to be in the specified order. So you just have to reorder your entries. servlet servlet-mapping session-config welcome-file-list resource-ref -Ursprüngliche Nachricht- Von: Steltner, Jörn HTC/DE/ESS [mailto:Joern.Steltner;hochtief.de] Gesendet: Montag, 21. Oktober

Re: deploying servlet ?

2002-10-21 Thread Mr. Cristian Romanescu
The first search of Goole after : Deploying a servlet in Tomcat... http://www.nacse.org/~yoon/tomcat-howto.html You do the rest... Cheers. [EMAIL PROTECTED] wrote: Hi Y´all If I make a servlet and compile it, where am I supposed to place the class file, and which files should I add

RE: Configuring a TCP/IP Conenctor

2002-10-21 Thread Turner, John
Take a look at any of the other connector classes, like Ajp13Connector or CoyoteConnector. Configuration should be similar, you would just need to put it in server.xml with appropriate parameters and port number. John -Original Message- From: [EMAIL PROTECTED]

Some jndi help

2002-10-21 Thread Kwok Peng Tuck
I'm trying to access a jdbc datasource through jndi, I have a jsp page which uses the dbtags to get the jndi datasource. The problem is I get this error in the jsp page Name jdbc is not bound in this Context . Here's my jsp page (don't worry quite short) : % taglib

mod_jk problem

2002-10-21 Thread Jean-Baptiste Onofré
Hello all, my mod_jk don't work and i don't know why. I'am under linux debian with apache 1.3.26 (from debian deb), j2sdk 1.4.1, tomcat 4.0.6, mod_jk 1.2. I have compiled mod_jk from source with : ./configure --with-apxs=/usr/bin/apxs --enable-EAPI I have copied the binary

Connection Pooling

2002-10-21 Thread Mehdi . Nejad
All, I have implemented a connection pool (oracle 9i database) on websphere and want to move it to Tomcat.. well, i kind of have, but want to run my observations past the group first. I ran a test, whereby a class with a main method created several threads, each making URL requests of the

RE: web.xml error

2002-10-21 Thread Jose Andrés Pérez
It seems your xml does not match with the DTD defined for the web.xml. Probably the error is that some xml tags are not in the same order that defined on the DTD. JOse -Original Message- From: [EMAIL PROTECTED] rg

RE: Tomcat 4.1.12 mod_jk2 Apache 2.0.43 build and config issues on So laris 8

2002-10-21 Thread Turner, John
Hi - A couple of thingsJK2 is the preferred connector only for the Tomcat team. :) The Tomcat side of JK2 is considered stable, the Apache side of JK2 is still considered beta. JK is considered stable on both sides, though the Tomcat team is moving to JK2 instead of JK. - in server.xml,

multiple servlet instances?

2002-10-21 Thread Nick Wesselman
I was reading in a book today that JSP implementations are still permitted to create multiple instances of the ... servlet in order to provide improved performance. Does Tomcat/Jasper do this? Might there be multiple instances of a servlet (JSP-generated or otherwise) in my JVM? Thanks, Nick

Re: Is there any way to read the response headers in a filter in Tomcat 4.0.3 ?

2002-10-21 Thread Andreas Probst
Hi, you could extend HttpServletResponseWrapper. You overwrite all methods which you are interested in, save the values and call the super method, so the underlying HttpServletResponse knows them. Additionally you write getter methods, which return the set values. Example: public class

Re: tomcat and OSX

2002-10-21 Thread BC
On 10/21/02 4:22 PM, Martina Dillon [EMAIL PROTECTED] spouted: Is anyone on this list running tomcat on OSX? I am a new subscriber, but haven't seen any posts from Mac users. I am. But I'm new here too. =) -Ben -- To unsubscribe, e-mail:

JSP, tomcat, compile error

2002-10-21 Thread Eddie Liang
Hi, I am using Tomcat4.0.4, jdk1.4. I have a simple jsp file like this package org.apache.jsp; import javax.servlet.*; import java.sql.*; import java.util.Vector; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; import org.apache.jasper.runtime.*;

Re: Is there any way to read the response headers in a filter in Tomcat 4.0.3 ?

2002-10-21 Thread Andreas Probst
Forgot one thing. See intermixed. On 21 Oct 2002 at 12:40, Andreas Probst wrote: Hi, you could extend HttpServletResponseWrapper. You overwrite all methods which you are interested in, save the values and call the super method, so the underlying HttpServletResponse knows them.

Menu or Toolbar code wanted

2002-10-21 Thread Zsolt Koppany
Hi, do you know a free code to support menus and toolbars for html pages? Zsolt -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org

JNI problem Tomcat 4.1.12

2002-10-21 Thread Roland S Nygren
Java version: j2sdk1.4.1 Tomcat: 4.1.12 I have a servlet (BilsvarInit) calling a native method (getLine). The native method is defined in /Program/j2sdk1.4.1/jre/lib/i386/prompt.dll Settings are: set JAVA_OPTS=-Djava.library.path=/Program/j2sdk1.4.1/jre/lib/i386 %JAVA_OPTS% set

  1   2   >