Problem JNDI DataSource - no Connection on MySQL DB

2002-06-12 Thread info
Hi, trying to connect to my MySQL DB via JNDI but I do not get a Connection in detail: Using Tomcat 4.03, Linux Suse 7.3, MySQL 3.23.14. I try to connect with this code: . . . Context initCtx = new InitialContext(); if (initCtx == null) throw new JspException("No Context available for DataS

Re: Running Apache and Tomcat on different servers; problem with redirection

2002-06-12 Thread misterxyz misterxyz
thanks for the quick reply. actually, the proxy server is just a security meassure, so that the tomcat server is not directly exposed to the internet. the apache contacts an iis residing on the tomcat server, which then contacts tomcat. i assume that in that case i do not need mod_jk, correct?

Simple j_security_check example not working

2002-06-12 Thread Jaspreet.Singh
Hi Guys Attached is a simple example of form based login I'm trying to get working on Tomcat 4.0.3 and it doesn't!!! I've checked the archives and noticed someone else had the same problem and never got past it! Anyway if you type the url http://localhost:8080/SCJWD/servlet/secret You get re-direc

Re: j_security_check in Jboss 3.0 with Tomcat

2002-06-12 Thread Mukul Joshi
Thanks Hanks. I will try this out. --- Hanks Mei <[EMAIL PROTECTED]> wrote: > Quoting Mukul Joshi <[EMAIL PROTECTED]>: > > > Hi > > > > Has anyone used j_security_check in Jboss 3.0 with > > Tomcat. > > > > If yes, is the user authenticated with the custom > > login module in JBoss. > > > Y

Apache + Tomcat + SSI

2002-06-12 Thread hru
Hello everyone! I have a problem concerning Apache + Tomcat + mod_jk + SSI (server side includes): I want to place a SSI in a html-page which is dynamically generated by a jsp-page. In static html-files (in those in my Apache htdocs-directory) SSI are working perfectly, but as soon as the page

Line Numbers in compiled code...

2002-06-12 Thread August Detlefsen
How do I get line numbers in my stack trace? All the org.apache and javax class show line numbers, but my classes do not: java.lang.NullPointerException at showplan.Controller.dispatchContentAction(Controller.java) at showplan.Controller.service(Controller.java) at javax

driver manager does not work neither giving error

2002-06-12 Thread Vikramjit Singh
Hi, I am deploying my application from tomcat 3.2.1 to tomcat 4.0.3. I have installed tomcat 4.0.3 and its working fine. I have a servlet which is loaded on start up. The servlet is for connection pooling which opens the connections. I am using oracle driver classes12.zip for connection pooling.

Problem with load-on-startup and jsp pages

2002-06-12 Thread Neil Milne
Hi I'm running Tomcat 4.0.3 in standalone mode and I can't get a JSP page to load on startup. I've put together a test webapp which has one servlet and one jsp page both set to load on startup via the webapp web.xml file and only the servlet is started when the webapp is loaded. Here's the web.xml

AW: Line Numbers in compiled code...

2002-06-12 Thread Ralph Einfeldt
- Make shure that you compile with -g. - If you did it and you still don't get the numbers, it may help to disable the jit/hotspot compiler. > -Ursprüngliche Nachricht- > Von: August Detlefsen [mailto:[EMAIL PROTECTED]] > Gesendet: Mittwoch, 12. Juni 2002 09:56 > An: Tomcat Users List

File loading not complete, but no exceptions thrown!

2002-06-12 Thread Sunny Copony
Hi, have a big problem with file loading, please, maybe some of you have an idea!! When a series of 20 - 120 files (jpg icons) is loaded, the client hangs (single-thread) or 2 - 5 files are not loaded (multiple-threads), not allways the same. NO exception is thrown and the complete server method

RE: Problem JNDI DataSource - no Connection on MySQL DB

2002-06-12 Thread Les Hughes
I refer the gentlemen to my previous answer :-) http://marc.theaimsgroup.com/?l=tomcat-user&m=102225547106556&w=2 > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: 12 June 2002 08:30 > To: Tomcat Users List > Subject: Problem JNDI DataSource - no Connecti

Re: Please help me improve my question skills (number of tomcat a pps)

2002-06-12 Thread Martin Jacobson
Knutsen Jeffrey S wrote: > YES! You've hit it! I AM asking the question about how fast the car will > go. At this time, I DON'T care about the type of car or engine! My question > is being analyzed far too deeply by the diligent developers on this mail > list. > Well, although I agree with

mod_webapp and static content

2002-06-12 Thread Frans Stofberg
Hello How dose one make Tomcat serve the dynamic content while Apache the static content with mod_webapp Currently, if i'm not mistaken the default configuration for this makes Tomcat serve static and dynamic content if it cant be done why would one whant to use Apache AND Tomcat if Tomcat can

Authentication Digest and JDBC Realm on Tomcat 4.0.3

2002-06-12 Thread PATTUS Jean-Philippe
Hello, I'm working on Tomcat 4.0.3. i'm trying to put an authentication on my web app, if the auth-method is BASIC and the Realm is it works fine. But, if i replace BASIC by DIGEST, my authentication is KO. I've seen in the code that JDBCRealm::getPassword() always return null!!! How

fyi: tomcat 4.0.1 examples on MacOS X (error 404)

2002-06-12 Thread Robert . Parker
I recently downloaded http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/bin/jakar ta-tomcat-4.0.1.tar.gz but the servlet examples did not work (error 404). Looking at the files in the logs/ folder showed there was a problem with loading SetCharacterEncodingFilter class. I then c

Re: BARCODE

2002-06-12 Thread D Bamud
http://www.bokai.com/BarcodeJSP/ Search "Java Barcode API on net" There are many Java APIs available - Original Message - From: "Lee Chin Khiong" <[EMAIL PROTECTED]> To: "Tomcat Users List (E-mail)" <[EMAIL PROTECTED]> Sent: Wednesday, June 12, 2002 11:36 AM Subject: BARCODE > DOES AN

Re: fyi: tomcat 4.0.1 examples on MacOS X (error 404)

2002-06-12 Thread Martin Jacobson
[EMAIL PROTECTED] wrote: > I recently downloaded > http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/bin/jakar > ta-tomcat-4.0.1.tar.gz but the servlet examples did not work (error 404). > > Looking at the files in the logs/ folder showed there was a problem with > loading SetCh

RE: LDAP Authentication with Tomcat 4.1.3

2002-06-12 Thread John Burgess
Is having two OU entries OK? Best Wishes John Burgess [EMAIL PROTECTED] Tel: 01865 718666 Fax: 01865 718600 -Original Message- From: Josh Fenlason [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 9:12 PM To: Tomcat Subject: LDAP Authentication with Tomcat 4.1.3 I'm trying to d

Is it available Tomcat 2?

2002-06-12 Thread Luca Ventura
Hello everybody! I would like to know if it is true that the next version of Tomcat (called "Apache 2") supports ASP pages. Is it Apache 2 available for download (final version)? Thanks a lot in advance! Luca -- To unsubscribe, e-mail: For additio

AW: Is it available Tomcat 2?

2002-06-12 Thread Ralph Einfeldt
- Apache is not tomcat. Apache is 'just' a web server, tomcat is a web server, a servlet engine and a jsp engine. The web server part of tomcat can be replaced by apache. In this mode tomcat is an extension of apache that provides apache with servlets and JSP's. - There are modules that

AW: How many rows have a ResultSet?

2002-06-12 Thread Power-Netz \(Schwarz\)
> If you are using JDBC 1.2 you can do it like this (snippet): > > //declare your Statement to return a scroll insensitive result set > //before you make the query > stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, > ResultSet.CONCUR_READ_ONLY); > > //get the number of rows by sc

RE: Plz help!! Consulted archives!! RE: JSP examples error but servelts examples running

2002-06-12 Thread Lynne Gurney
Hi RS, thanks for your patience. Had a little dinner party last night so sorry my communications were so sketchy. I had a look at my files again and discovered I was spelling the servlet wrongly . . . should be spelt TestingServlet . . . doh!! L -Original Message- From: [EMAIL PROTECTED]

Tomcat handling errors for Apache

2002-06-12 Thread hru
Hi! I am using Apache and Tomcat together (with mod_jk) and would like to call a servlet as an error-document for non-existent Apache-documents (good old "ErrorDocument 404"-stuff). The solution I need should: * tell the servlet which url was really requested * let the servlet return an error-

Re: Problem JNDI DataSource - no Connection on MySQL DB

2002-06-12 Thread info
thanks for that link but I read that already. I basically did it as it is shown there. The only difference is that I am not using the Connection pooling (DBCP) since I am waiting for the Tomcat 4.1 (which hopefully will come soon) where it is implemented. I still don't have an idea how I can get i

Re: AW: How many rows have a ResultSet?

2002-06-12 Thread August Detlefsen
LoL @ Oracle. It works great with Postgres! --- "Power-Netz (Schwarz)" <[EMAIL PROTECTED]> wrote: > > If you are using JDBC 1.2 you can do it like this (snippet): > > > > //declare your Statement to return a scroll insensitive result set > > //before you make the query > > stmt = conn.createS

mod_jk.so tomcat 4.0.3 and apache 1.3.22

2002-06-12 Thread zibie
I have a problem with connector ajp. When i try to load mod_jk.so into apache 1.3.22, in log file i find: tail logs/mod_jk.logs [Wed Jun 12 12:02:17 2002] [jk_connect.c (151)]: jk_open_socket, connect() failed errno = 111 [Wed Jun 12 12:02:17 2002] [jk_ajp_common.c (598)]: In jk_endpoint_t:

R: Is it available Tomcat 2?

2002-06-12 Thread Luca Ventura
Hello! Thanks for your clarifications... A question: do the modules to support ASP you indicated to me work only with Apache 2? or with Tomcat 4 too? Can Apache 2 support JSP/Servlets without Tomcat? Thanks, Luca -Messaggio originale- Da: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]

doco addition - Troubleshooting WinNT/Win2k IIS isapi redirector

2002-06-12 Thread neil
Here is a suggestion for an addition to the "Troubleshooting" "WinNT/Win2k" section of http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-iis-howto.html This worked for me after a frustrating day of failure. After: 5. Invoke the URL "http://localhost/examples/jsp/index.html"; in your browser

JSP Runtime error : Any idea?

2002-06-12 Thread Mike Niemaz
I'm getting such errors since i've upgraded to tomcat 4.1.2 ;-( Any idea of what is causing this? Thanx, --mike 2002-06-12 11:22:16 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception javax.servlet.ServletException: (class: org/apache/jsp/Logins$jsp, method: _jspServic

RE: Is it available Tomcat 2?

2002-06-12 Thread John Burgess
I think you've been fed some April fool stories, Luca Best Wishes John Burgess [EMAIL PROTECTED] Tel: 01865 718666 Fax: 01865 718600 -Original Message- From: Luca Ventura [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 10:37 AM To: tomcat-user Subject: Is it available Tomcat

Tomcat4.1.2 shutdown error

2002-06-12 Thread Mike Niemaz
I'm getting this error when I try to stop Tomcat. Any idea? Thanx, -mike java.lang.NullPointerException at org.apache.catalina.core.NamingContextListener.lifecycleEvent(NamingContextListener.java:343) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupp

help me

2002-06-12 Thread siva murugan
Sir/Madam, Fine and expect the same from U and all. Iam SivaMurugan from INDIA. Just minutes back i downloaded jakarta-tomcat-4.0-20020530.zip from http://jakarta.apache.org site. I tried my first servlet file in the name of admin.java . I created the file and stored in the directory of c:\j

tomcat 3.3.1 losing session after a redirect:

2002-06-12 Thread Olivier Fillon
Hi guys I have the following problem: 2 servlets communicating via: HttpSession session = req.getSession(true); Log.debug("Payment.doGet() - session="+session); // add the transaction id to the session session.setAttribute(PARAMETER_TRANSACTION_ID, transactionId); // red

RE: help me

2002-06-12 Thread Barney Hamish
JAVA_HOME should be set as c:\jdk1.3 not c:\jdk1.3\bin Hamish -Original Message- From: siva murugan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 2:24 AM To: [EMAIL PROTECTED] Subject: help me Sir/Madam, Fine and expect the same from U and all. Iam SivaMurugan from INDI

RE: help me

2002-06-12 Thread John Niven
> -Original Message- > From: siva murugan [mailto:[EMAIL PROTECTED]] > Sent: 12 June 2002 01:24 > To: [EMAIL PROTECTED] > Subject: help me > > > Sir/Madam, > ...snip... > > The JAVA_HOME environment variable is not defined > This environment Variable is needed to run this > program

[offtopic] heaven and hell :)

2002-06-12 Thread Serge A. Redchuk
Hello , -- This e-mail was written on 100% recycled bytes! -- With best forwards, Serge Redchuk Web-Application Developer [EMAIL PROTECTED], [EMAIL PROTECTED] KSE Paton Institute 20 Fedoreva St. Building 7, 5th Floor 03150 Kiev Ukraine fon +380 44 495 2605 fax +380 44 495 2602 ICQ 59371423

Protecting a page with SSL

2002-06-12 Thread Donie Kelly
Hi all I've setup SSL on tomcat but I can't find in the docs how to protect a .jsp page or servlet mapping to force the connection over SSL Please point me in the right direction. Thanks Donie -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Protecting a page with SSL

2002-06-12 Thread Sefton, Adam
Within your web.xml, inside the tag, add: CONFIDENTIAL This will force the connection for the application. If you want to force the connection for all applications across the Tomcat instance, then place this in the /conf/web.xml instead. Hope this helps Ad

Re: +Tomcat+Performance??

2002-06-12 Thread peter lin
you can try it out in 4.1.4 when the binaries are released. a new version of tag pooling, which is cleaner has already beed added. Once the tires are kicked a bit, it should be in the first official 4.1.x release. peter > As I see there is no tag pooling support as of now in 4.x. > If my memor

RE: help me

2002-06-12 Thread puneet sachar
well according to ur problem try and put ur setJAVA_HOME=ur dir before startup.bat and catalaina home also there and if this works.. thanx to shankar ... he told me this and it works Puneet --- John Niven <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: siva murugan

RE: How well does tomcat 4.0.03 work as a HTTP server?

2002-06-12 Thread John Roth
I agree with Trevor. Here are a few things to think about as well: 1. Tomcat performance vs. dedicated web server (Apache or IIS): Tomcat (supposedly) is not as efficient at serving static content. We switched off of IIS/Tomcat because of a problem with SSL and large file uploads to Tomcat stan

RE: getting exception when trying to close connection

2002-06-12 Thread Christian J. Dechery
I read in the javadoc of the .close() method, that when the garbage collector runs, it closes the connections. Well, this isn't working obviously... the thing that's keeping me from solving the problem is the frequency it happens... I can't understand why a connection can't be closed... I kno

Problem with passing japanese values to a servlet

2002-06-12 Thread mubariz kharbe
Hi, I am developing an internationalized web based application using Tomcat 3.1 on Windows 2000. I am facing the following problems When I pass Japanese values to the servlet and I retreive the value using myData = httpservletrequest.getParameter("foo"); I get ?? in myData. So I used

RE: Protecting a page with SSL

2002-06-12 Thread Donie Kelly
Thanks Adam It sort of works now. I have a URL mapped as /info I can access it as https://nysa/info and it works If I use http://nysa/info I get HTTP 500 Internal Server Error I want the request from http to re-direct to https. What am I doing wrong? Thanks Donie Here is my web.xml

Re: BARCODE

2002-06-12 Thread David Kavanagh
I've done it using a barcode font. Simply load the fonts and render the string you wish to encode. You can generate a BufferedImage in the servlet, and stream a jpeg to the browser. Here is where I got the font I've used. http://www.zebex.com/free.asp Good luck! David Lee Chin Khiong wrote:

Re: BARCODE

2002-06-12 Thread Adrian
What kind of Barcode, Please type in lowercase. - Original Message - From: "Lee Chin Khiong" <[EMAIL PROTECTED]> To: "Tomcat Users List (E-mail)" <[EMAIL PROTECTED]> Sent: Wednesday, June 12, 2002 2:06 AM Subject: BARCODE > DOES ANYBODY KNOWS HOW TO GENERATE BARCODE USING JAVA OR JSP ?

Re: help me

2002-06-12 Thread puneet sachar
siva,,, i 'm facing same probelm for 5 days and no one helped me... shankar is there u asked him he is there in developer form..he will definately help u'' Puneet --- siva murugan <[EMAIL PROTECTED]> wrote: > Sir/Madam, > > Fine and expect the same from U and all. > > Iam SivaMurugan from

Do scripts kill the HTTPsession object?

2002-06-12 Thread kevin_mckee
When I push down scripts to a client by putting something like in the document - all of a sudden I can no longer store or retrieve values from the HTTPsession object. I have to restart the server to get it back. Does anyone know why? My background is with IIS and I know this works fine in that

Re: help me

2002-06-12 Thread kf platypus
Your JAVA_HOME environment variable should be set to c:\jdk1.3 and not c:\jdk1.3\bin and that should solve it. Regards! >From: puneet sachar <[EMAIL PROTECTED]> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> >To: Tomcat Users List <[EMAIL PROTECTED]> >Subject: Re: help me Date: Wed, 12 Jun

Re: help me

2002-06-12 Thread Tom Anderl
Also, you probably should not have c:\jdk1.3\bin in your classpath. Depending on which Virtual Machine or compiler you're using, you may need c:\jdk1.3\jre\lib\rt.jar to be in your classpath, but you should never need the bin directory in your classpath. Tom On Wed, 12 Jun 2002, kf platypus

Re: mod_jk.so tomcat 4.0.3 and apache 1.3.22

2002-06-12 Thread PJ Crump
I have been getting the same error for days and have tried a lot of things to no avail. Lets try to share our experiences and hopefully we can both find a solution - Original Message - From: "zibie" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 12, 2002 5:06 AM Subject

AW: getting exception when trying to close connection

2002-06-12 Thread Ralph Einfeldt
It's probaly not a timeout of the connection object, but one of the database server. If the database server has a timeout for open connections, the connection on the driver side is 'open' but not functional any more. What exactly happens depends on the driver. (I've seen posts where people repor

RE: Is it available Tomcat 2?

2002-06-12 Thread Turner, John
The Apache::ASP module from nodeworks.com should work with Apache 1.3.x and Apache 2.0. You will need mod_perl installed or loaded. Chilisoft is not officially supported on Apache 2, as far as I know. I've worked with Chilisoft ASP on Apache 1.3.x, and the install and configuration is fairly ea

RE: newbie question urgent plz

2002-06-12 Thread Shapira, Yoav
Howdy, Wow, this question really comes up a lot ;) Tomcat 4.x is an implementation of the servlet specification, v2.3. That spec says all elements must come before all elements. Tomcat 3.x, which implements servlet spec v2.2, does not have the same requirement. See the servlet spec for a

RE: Newbie Question: Apache+Tomcat configuration

2002-06-12 Thread Turner, John
You basically need to choose between mod_jk and mod_webapp as your Apache-to-Tomcat connector. If you look in the mailing list archives for yesterday (June 11, 2002) you will see a brief How-To that I posted for installing and setting up mod_webapp (though that was with Apache 2). This URL migh

Re: mod_jk.so tomcat 4.0.3 and apache 1.3.22

2002-06-12 Thread zibie
is there something to do to omit this error i can't use AJP connector. My system is Linux/Slackware 8.0 and kernel 2.4.19pre1 Tomcat version 4.0.3 Connector from package jakarta-connector-tomcat-4.0.2src download from jakarta.apache.org. i did: tar zxf jakarta-connector-tomcat-4.0.2src cd

AJP13 through a firewall get stuck

2002-06-12 Thread Jan Singer
Hi all, we have problems with AJP13 through a firewall. Our configuration is as follows: Webserver: SUN Solaris 2.8 (SPARC), Apache 1.3.24 with mod_jk 1.2 (from jakarta-tomcat-connectors-4.0.2-01-src.tar.gz), configured to use AJP13 Firewall: Checkpoint FW1 Tomcat: SUN Solaris 2.6 (SPARC), Jav

Re: System.out.println

2002-06-12 Thread @Basebeans.com
Subject: Re: System.out.println From: "Simon" <[EMAIL PROTECTED]> === The System.out.println should normal goes to catalina.out under tomcat/logs Simon. -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Apache + Tomcat + SSI

2002-06-12 Thread rsequeira
Apache behaves like a proxy server when it sees jsp requests. It just forwards the jsp request to Tomcat. When Tomcat finishes generating a response, it passes it to Apache which then serves the response back to the client *without parsing it*. Apache can parse, only, static requests. So all tho

RE: Protecting a page with SSL

2002-06-12 Thread Donie Kelly
Can somebody please answer this please... Donie -Original Message- From: Donie Kelly [mailto:[EMAIL PROTECTED]] Sent: 12 June 2002 12:59 To: 'Tomcat Users List' Subject:RE: Protecting a page with SSL Thanks Adam It sort of works now. I have a URL mapped as /info I can

RE: LDAP Authentication with Tomcat 4.1.3

2002-06-12 Thread Josh Fenlason
I used to use Apache1.3.24 and Tomcat 3.2 and I did the ldap authentication from Apache with two ou entries. Now I'm moving to Apache2 but the ldap authentication modules don't seem to work, so I need to get Tomcat to do the ldap authentication. If anyone could give me a pointer, I would greatly

RE: Plz help!! Consulted archives!! RE: JSP examples error but serveltsexamples running

2002-06-12 Thread rsequeira
Hope that solved your problem. Party on :-) RS "Lynne Gurney" <[EMAIL PROTECTED]> on 06/12/2002 04:46:13 AM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To:"Tomcat Users List" <[EMAIL PROTECTED]> cc: Subject:RE: Plz help!! Consulted archives!! RE: JSP examples error b

RE: Protecting a page with SSL

2002-06-12 Thread Mike Millson
I think you can use Apache URL rewriting to do this. If you're using Apache, check the Apache documentation. -Original Message- From: Donie Kelly [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 9:24 AM To: 'Tomcat Users List' Subject: RE: Protecting a page with SSL Can somebod

mod_jk2

2002-06-12 Thread Josh Fenlason
Does anyone know anything about mod_jk2? Is it a new and improved mod_jk? What changes were made? I've looked around quite a bit and all I've been able to find is the binaries. If anyone knows where I could find some more detailed documentation, source code or would be able to give me some more

java line numbers

2002-06-12 Thread Dennis Muhlestein
Compile in debug mode. read javac documentation. With ant, you can put debug="true" in the build.xml javac target. On Wed, 2002-06-12 at 01:56, August Detlefsen wrote: > How do I get line numbers in my stack trace? > > All the org.apache and javax class show line numbers, but my classes do > n

TR: Black magic Authentication Digest and JDBC Realm on Tomcat 4.0.3

2002-06-12 Thread PATTUS Jean-Philippe
Nobody for my little pb, should i try black magic? > -Message d'origine- > De: PATTUS Jean-Philippe [SMTP:[EMAIL PROTECTED]] > Date: mercredi 12 juin 2002 10:46 > À:[EMAIL PROTECTED] > Objet:Authentication Digest and JDBC Realm on Tomcat 4.0.3 > > Hello, > I'm working on T

RE: mod_webapp and static content

2002-06-12 Thread Turner, John
>From the tomcat 4.0.2 release notes: "Currently, mod_webapp forwards *all* requests under the specified context path to Tomcat for processing. In a futher release, it will automatically configure itself to serve static resources from Apache *unless* the resource is subject to filtering, or sub

Re: Problem with passing japanese values to a servlet

2002-06-12 Thread Ushakov, Sergey N
Internationalization was common issue with Tomcat 3 (or rather with servlet spec 2.2). If you can forget about Tomcat 3 - do not hesitate. If you can't - try "com.oreilly.servlet" package available at http://www.servlets.com. It worked for me perfectly in the past (not with Japanese locale but wit

RE: Black magic Authentication Digest and JDBC Realm on Tomcat 4 .0.3

2002-06-12 Thread John Niven
> -Original Message- > From: PATTUS Jean-Philippe [mailto:[EMAIL PROTECTED]] > Sent: 12 June 2002 14:49 > To: [EMAIL PROTECTED] > Subject: TR: Black magic Authentication Digest and JDBC Realm > on Tomcat 4 .0.3 > > > Nobody for my little pb, should i try black magic? > > > -Messa

RE: Choosing between mod_jk or mod_webapp?

2002-06-12 Thread Turner, John
>From the Tomcat 4.0.2 release notes: "Currently, mod_webapp forwards *all* requests under the specified context path to Tomcat for processing. In a futher release, it will automatically configure itself to serve static resources from Apache *unless* the resource is subject to filtering, or sub

RE: How well does tomcat 4.0.03 work as a HTTP server?

2002-06-12 Thread Edward Wilson
Will Tomcat handle name based virtual hosting? ..ed __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: How well does tomcat 4.0.03 work as a HTTP server?

2002-06-12 Thread Turner, John
I think so. The best resource I have found showing how this is done is here: http://www.codesta.com/knowledge/technical/tomcat_warp_apache/page_01.jsp This document uses name based virtual hosting in the form of abc.domain.com and xyz.domain.com, but I don't see why the same thing wouldn't hol

Oracle driver and Tomca/apache ?!

2002-06-12 Thread Walid Al-Abbadi
hi guys, i wish anybody can help me in my problem please.. i have jdk1.3.1, Tomcat4.0.3 and Apache2.0.36 workino on win2k professional .. i had too mod_jk.dll connector and i built it too .. everything works well with simple jsp's and html files .. but when i want Mywork.jsp to deal with

Tomcat does not Auto-reload.

2002-06-12 Thread Rui Oliveira
Hello, My Tomcat does not auto-reloads the servlets. Whenever I compile my servlets, I place them under the WEB-INF/classes dir, but they simple do not auto-reload. I have to restart TOMCAT before the update takes effect. Can someone tell me why? I'm using Tomcat 4.0.1 on RedHat 7.2 (k

Re: Tomcat does not Auto-reload.

2002-06-12 Thread kf platypus
That's due in part to the servlet architectures caching mechanism. Typically we added a method to each servlet to destroy it. I don't know if there's a better method than that though as I know I would like to see one because they bith seem a bit ghetto. Regards! >From: "Rui Oliveira" <[EMAIL

Re: Tomcat does not Auto-reload.

2002-06-12 Thread rsequeira
Set the reloadable attribute of the Context element to "true" (if you haven't done that already). RS "Rui Oliveira" <[EMAIL PROTECTED]> on 06/12/2002 09:26:23 AM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To:<[EMAIL PROTECTED]> cc: Subject:Tomcat does not Auto-rel

Re: Oracle driver and Tomca/apache ?!

2002-06-12 Thread rsequeira
You need oracle jdbc drivers to make a connection. You could download them from the Oracle website. Rename the zip file (classes12.zip) that you download to jar. Place it in the CATALINA_HOME/common/lib directory and you should be good to go. RS "Walid Al-Abbadi " <[EMAIL PROTECTED]> on 06/

RE: Tomcat does not Auto-reload.

2002-06-12 Thread FEDERICO MARTIN LARA
I have to delete the temporal files in work directory, then I don?t to restart Tomcat again. Try this. -Mensaje original- De: Rui Oliveira [mailto:[EMAIL PROTECTED]] Enviado el: miercoles, 12 de junio de 2002 16:26 Para: [EMAIL PROTECTED] Asunto: Tomcat does not Auto-reload. Hello, M

RE: Tomcat does not Auto-reload.

2002-06-12 Thread FEDERICO MARTIN LARA
You can also place the jar file of the Oracle driver in the WEB-INF/lib directory of the jakarta context that you are using at the time. This works with the MySQL jar driver. -Mensaje original- De: Rui Oliveira [mailto:[EMAIL PROTECTED]] Enviado el: miercoles, 12 de junio de 2002 16:26 P

RE: Tomcat does not Auto-reload.

2002-06-12 Thread Rui Oliveira
When is this destroy method invoked? If I copy the newer version of the servlet to the WEB-INF/classes directory, how will a destroy method be helpful? Rui > -Original Message- > From: kf platypus [mailto:[EMAIL PROTECTED]] > Sent: quarta-feira, 12 de Junho de 2002 15:29 > To: [EMAIL PRO

RE: Tomcat does not Auto-reload.

2002-06-12 Thread kf platypus
just do something like: if(request.getParameter("quit") == "1"){ //insert destroy code here } then just call http://yourdomain.com/servlet?quit=1 Regards! >From: "Rui Oliveira" <[EMAIL PROTECTED]> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> >To: "'Tomcat Users List'" <[EMAIL PROTECTED

Problem with passing japanese values to a servlet

2002-06-12 Thread Drew Sudell
mubariz kharbe writes: > Hi, > > I am developing an internationalized web based application using Tomcat 3.1 on >Windows 2000. I am facing the following problems > > When I pass Japanese values to the servlet and I retreive the value using > myData = httpservletrequest.getParameter

Re: Tomcat does not Auto-reload.

2002-06-12 Thread Louis Voo
I have this problem b4, but someone told me add reloadable="true" in DefaultContext tag - Original Message - From: "Rui Oliveira" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Wednesday, June 12,

RE: mod_jk2

2002-06-12 Thread John Burgess
I believe its mod_jk for Apache 2 Best Wishes John Burgess [EMAIL PROTECTED] Tel: 01865 718666 Fax: 01865 718600 -Original Message- From: Josh Fenlason [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 2:35 PM To: Tomcat Subject: mod_jk2 Does anyone know anything about mod_jk

RE: Auto Start Tomcat

2002-06-12 Thread Edward Wilson
You should also use chkconfig to setup your scripts. Two lines of code are required at the top of your script to make it work with chkconfig. From here you can write a shell script which basically mimics whatever you would normally do at the command prompt. Use what the previous poster used and

RE: mod_jk2

2002-06-12 Thread Josh Fenlason
I've mod_jk working with Tomcat4.1.3 and Apache2. I was just curious about mod_jk2. What kind of changes, positive and negative it has? Thanks. , Josh. -Original Message- From: John Burgess [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 10:30 AM To: Tomcat Users List Subject

measuring round trip time

2002-06-12 Thread Philipp . Krummenacher
Hi All I would like to measure the round trip time for packets from tomcat to a client (and back). Is ther a simple way to do this (I just can immagine a "complex" one using an applet ...). Thank for any tip Philipp -Ursprüngliche Nachricht- Von: Louis Voo [mailto:[EMAIL PROTECTED]] Ge

RE: doco addition - Troubleshooting WinNT/Win2k IIS isapi redirector

2002-06-12 Thread Short, Dave
Does anyone have Tomcat 4.0.3 running against IIS 5 on W2K as in-process? -Original Message- From: neil [mailto:[EMAIL PROTECTED]] Sent: June 11, 2002 5:22 PM To: [EMAIL PROTECTED] Subject: doco addition - Troubleshooting WinNT/Win2k IIS isapi redirector Here is a suggestion for an addi

RE: mod_jk2: and question

2002-06-12 Thread BBui
I have this may be ignorant question. Does mod_jk do anything if we are using IIS and Tomcat4.0.2? If a site running IIS with Tomcat and does not have mod_jk, what will that site not be able to do? Is isapi_redirect.dll the equivalent of mod_jk in IIS? Sorry if I am totally not making sense.

Tomcat not redirecting request from HTTP to HTTPS

2002-06-12 Thread Donie Kelly
Hi all Here is my server.xml and web.xml. When I request the page at /info I expected the page to requested over SSL but it returns HTTP 500 Internal server error Why is this? Web.xml info /onm/index.jsp info /info secure

RE: jk_nt_service.exe with Tomcat V4.0.3

2002-06-12 Thread Short, Dave
Which technique is better from a performance point of view? I can't get the tomcat 4.0.3 version (below) to work. I can, however, get the old jk_nt_service version to work with 4.0.3 just fine. -Original Message- From: Douglas, Rory [mailto:[EMAIL PROTECTED]] Sent: June 11, 2002 8:56 AM

RE: Tomcat not redirecting request from HTTP to HTTPS

2002-06-12 Thread Turner, John
An "HTTP 500 Internal Server" error is usually from the web server, not from Tomcat. Are you sure your Apache SSL configuration is correct? Is mod_ssl included and available? John Turner [EMAIL PROTECTED] http://www.aas.com -Original Message- From: Donie Kelly [mailto:[EMAIL PROTECTE

RE: Tomcat not redirecting request from HTTP to HTTPS

2002-06-12 Thread Donie Kelly
I'm using tomcat standalone. I can access the /info resource over https but when I access it over http I get the error. I wan the http request to automatically transfer over automatically to https. In the servlet specs it says that the switch over is automatic. I think that's where I read it anyw

RE: mod_jk2

2002-06-12 Thread Ignacio J. Ortega
> De: Josh Fenlason [mailto:[EMAIL PROTECTED]] > Enviado el: 12 de junio de 2002 15:35 > Does anyone know anything about mod_jk2? Is it a new and > improved mod_jk? Yes.. > What changes were made? I've looked around quite a bit and > all I've been > able to find is the binaries. If anyone

RE: mod_jk2

2002-06-12 Thread Josh Fenlason
Thanks. You rule. -Original Message- From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 10:58 AM To: 'Tomcat Users List' Subject: RE: mod_jk2 > De: Josh Fenlason [mailto:[EMAIL PROTECTED]] > Enviado el: 12 de junio de 2002 15:35 > Does anyone know anyth

Port based virtual hosting

2002-06-12 Thread David Oxley
In Tomcat 4 a node allows name based virtual hosting. How should this be set up to handle port based virtual hosting. i.e. should this work: Dave.

Character encoding and euro currency symbol

2002-06-12 Thread Philippe Van Der Gucht
Hello, The problem is the euro currency symbol entered in a textfield gets converted to € when it arrives on the server. How can we stop this from happening? The jsp page has the contentType="text/html;charset=UTF-8" directive and the appropriate meta tag. I've tried using the filter from the

RE: driver manager does not work neither giving error

2002-06-12 Thread John Gregg
I don't think Tomcat will recognize classes12.zip no matter where you put it. Rename it to classes12.jar and place it under webapps//web-inf/lib, /lib, or /common/lib. If Tomcat can't find the driver class, I'd expect a ClassNotFoundException in your localhost_log file. Look in /logs. Try usin

flush="false" not working?

2002-06-12 Thread Jim Michael
I was under the impression that Tomcat4 now lets me do JSP 1.2 things like modify response headers via includes with flush="false". However, this does not work for me. I created a very simple test where TEST1.JSP does: And within test2.jsp I do: <% response.setDateHeader("Last-Modified",10218

RE: flush="false" not working?

2002-06-12 Thread Charles Sanders
double check your spelling: in the example you provided you spelled flush ("fluch="false") -Original Message- From: Jim Michael [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 11:12 AM To: [EMAIL PROTECTED] Subject: flush="false" not working? I was under the impression that To

  1   2   3   >