RE: Bug in Tomcat 3.3.1 with getPathInfo() ?

2002-04-10 Thread Olaf Vetter
OK. But now, is there any way to distinguish between a '+' that results from encoding '%2B' and a '+' that stands for ' ' ? In other words, if request.getPathInfo() returns '/Hit+Run' , this could be '/Hit+Run' or '/Hit Run' ... Olaf >>> [EMAIL PROTECTED] 10.04.2002 17:07 >>> According to RFC2

Newbie question

2002-04-10 Thread Javier A. Leyba
Hi I'm trying to do my first servlet. I've compiled a simple HelloWorld class. Now, where is the root Tomcat directory where may I put it ? How could I define a new one for my tests ? Thanks in advance _ Do You Yahoo!? Get your

Getting a servlet running under Tomcat-Apache 4.0.3

2002-04-10 Thread Brook Monroe
Greetings, y'all. * I've read all the documentation I can find. * I've emulated all the examples. * I've asked people I know who have set up servlets before. I still can't get access to the servlet I just wrote and installed. No matter how I've set up servlet-mappings, or url-patterns, or otherw

Re: Tomcat 4.x and Database Connection Pooling

2002-04-10 Thread rainer jünger
Hi Ric, > Struts provides a basic Connection Pool, but user comments suggest that > this is not suitable for large-scale, high-traffic applications, and > also that it will soon be removed from Struts in favour of a > container-managed connection pool So what will Tomcat Users do? Will Tomcat ge

Re: Content-Encoding - URGENT Please

2002-04-10 Thread yilmaz
Marhaba Ibrahim, I am not sure if someone else has already answered your question If you are using JSP 1.2 or servlet 2.3 (if you use tomcat 4 ) then you can use response.setCharacterEncoding("UTF-8"); method. I think this will work. Cheers :) - Original Message - From: "Mohammed Ibrahim"

RE: Bug in Tomcat 3.3.1 with getPathInfo() ?

2002-04-10 Thread Larry Isaacs
According to RFC2396, '+' is are reserved character in the query string, but not in the path portion of a URL. There was a bug fix in Tomcat 3.3.1 to avoid translating '+' to ' ' in the parts of the URL prior to the query string. Cheers, Larry > -Original Message- > From: Olaf Vetter [m

Re: Tomcat 4.x and Database Connection Pooling

2002-04-10 Thread Ric Searle
Performance isn't so important as future-proofing - I don't want to have to re-write the db interface when struts drops it's connection pool provision, for example. I believe that mm.mysql does support pooling, although I take your point that others may not. I can't see us moving away from My

Tomcat 3.2.1 - Axi problem

2002-04-10 Thread Martin Mauri
I've followed the installing instructions but anyway I get the following error when I first try to run the Administer Axis. Localization: /axis/servlet/AdminServlet Internal servlet error: java.lang.AbstractMethodError at org.apache.axis.deployment.wsdd.WSDDElement.validateCandidateElement(Unkn

RE: xml - unspecified error in IE 5.5, Tomcat 3.2.1

2002-04-10 Thread Mike Millson
If encoding isn't specified, the encoding should default to utf-8 (per the W3C xml spec). I don't know of any reason not to use utf-8. Thank you, Mike Millson Web Systems Engineer Sun Certified Programmer for Java2 Platform AableTech Solutions, Inc. 770.41

Bug in Tomcat 3.3.1 with getPathInfo() ?

2002-04-10 Thread Olaf Vetter
As far as I understand, calling request.getPathInfo() should return an encoded string. With Tomcat 3.3.1, it returns the plus sign instead of encoding it to a space. (Besides, it works "ok" with Tomcat 3.2X) Is this a bug or intended? Thanks in advance Olaf Vetter -- To unsubscribe:

best combination of jdk and tomcat version(with iplanet)

2002-04-10 Thread ru okamoto
im to develop a new system w/ iPlanet, jdk, tomcat combination. what was the best combination of jdk and tomcat(version) in terms of stability? im thinking of jdk131 and tomcat 3.4 right now. also the compatibility with iPlanet has to be considered. im not using any new jsp/servlet version(1.2 and

REPOST: XXX Assert failed, buff too small -- Help!!

2002-04-10 Thread John Roth
I am *still* troubleshooting this issue, and am in dire need of help. Is anyone out there uploading large files via SSL/HTTPS? New discoveries: 1. Added some debugging code to Ajp13.class to output buff, length, etc., results are as follows: JR: Array: buff(from)=[B@7f92f5, pos(fromIndex)=6,

Re: Tomcat intermittent failures

2002-04-10 Thread David Bank
Joseph, Thanks for writing. I'm aware of the artificial connection-limit inder W2KPro, but we are running the server product, which admittedly is the Pro product with a few Registry changes and a few things like Terminal Server tacked on. In any case, I don't think we're running into the problem

CLIENT-CERT auth by webapp

2002-04-10 Thread Richard Priestley
Hi, Has anyone managed to get CLIENT-CERT authentication to work at the webapp level rather than specifying clientAuth="true" in a connector and having to use it for all webapps? I've got it to work at the connector level but not by webapp. Thanks, Richard -- To unsubscribe:

Re: Tomcat 4.x and Database Connection Pooling

2002-04-10 Thread peter lin
if performance is a critical requirement, than I would suggest writing a custom bean specific to the jdbc driver you intend to use. If Jakarta common provides all the features you need, than go with it. If your application needs to support multiple databases and jdbc drivers, be warned that not

Re: Tomcat4 / OpenLDAP - Encrypted connectionPassword in JNDI Realm(server.xml) - Please Help

2002-04-10 Thread Richard Priestley
Hi Jeremy, Sorry to muddy the waters but here's my $0.02 It is possible to improve things a tiny bit without changing Tomcat (apologies if you already know this). It is not necessary for Tomcat to bind to your OpenLDAP server as OpenLDAP's rootdn. You can provide a dn and password for a regu

Re: Please help me on a question about TOMCAT OR APACHE + TOMCAT

2002-04-10 Thread David Cassidy
I would suggest a minor addition to the below ... where a.fieldname1= b.fieldname1 otherwise the results could be eerrr well rather large ( select what you want ...) Nicholson, Dale wrote: >Try something like this: > >select a.fieldname1, b.fieldname1 >from table1 a, table2 b > >Where y

RE: realm jdbc oracle problem

2002-04-10 Thread Mehmet Ugur Kuzu (LinkPlus)
it was just about a classpath problem -Original Message- From: Galbayar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 12:53 PM To: Tomcat Users List Subject: Re: realm jdbc oracle problem check your driver - Original Message - From: "Mehmet Ugur Kuzu (LinkPlus)" <

RE: realm jdbc oracle problem

2002-04-10 Thread Mehmet Ugur Kuzu (LinkPlus)
yes i am sure -Original Message- From: Murat Buyukkal ([EMAIL PROTECTED]) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 12:34 PM To: Tomcat Users List Subject: RE: realm jdbc oracle problem Mehmet, Oracle provides a new JDBC driver for 9i instead of that for 8i. Are you sur

RE: Please help me on a question about TOMCAT OR APACHE + TOMCAT

2002-04-10 Thread Nicholson, Dale
Try something like this: select a.fieldname1, b.fieldname1 from table1 a, table2 b Where you put the a after the first table name and the b after the second table name. Then you refer to the fieldnames with those letters first so sql knows which table to look in for that field. Dale Nicholso

Tomcat 4.x and Database Connection Pooling

2002-04-10 Thread Ric Searle
Hi, I'm developing a web application using the Struts framework, running on Tomcat 4.0.3, from which I need to access a MySQL database. I've read various mailing lists etc looking for the best way to achieve this, but not had much luck. Struts provides a basic Connection Pool, but user comme

Re: OT: Question to hardware requirements

2002-04-10 Thread Bernhard Wraase
This is difficult question which may be the reason why nobody has answered yet. We run several standalone tomcat on solaris and linux. They serve mainly dynamic pages with tight database access. I have no clue whith the XML to HTML stuff. >From my experience with it I give a guess: 1) 1000 MHz

Custom error message

2002-04-10 Thread laoudesk
With Tomcat 3.2.4, i try to define a custom message for the error code 500 without changing the LocalStrings.properties file. I use response.sendError(500,"particular message") in order to define a new message but it doesn't works. The error message is always the same (Cf. Ressources Bundle) Doe

AW: upgrade

2002-04-10 Thread Ralph Einfeldt
Although we currently are not using tomcat this is how we would use it: /usr/local/java/jakarta-tomcat-4.0.2 /usr/local/java/jakarta-tomcat-4.0.3 Here we have the original distribution. /www/online// conf/ Here we have our edited config files for the site bin/ Here we have scripts

RE: On timeout

2002-04-10 Thread Williams Mark L DLPC
I don't know if there's an easy way to tell your user that they've timed out before they"submit" something, but in your JSP/servlet action you can also use something like HttpSession session = request.getSession(false); where "request" is HttpServletRequest. If "session" is null, the timeout has

Re: On timeout

2002-04-10 Thread David Kavanagh
In my web app, I check the session variable in each servlet and redirect to my login servlet if the sesssion is null. I use a helper method in my servlet baseclass. If you want to see it in action, try http:www.epixography.com/light/Start The session timeout is 30 minutes, so be prepared to w

NoPermissionException in tomcat3.3.1 but not tomcat3.2.4

2002-04-10 Thread Steve Wong
Hello, I've used JNDI to replace a context's attribute. I connect using rootDN. However, I can do it in tomcat3.2.4 and in console java application. BUT NOT tomcat3.3.1 or tomcat4.0.3. Do anyone know why?? com.macroview.sso.main.SSOException: javax.naming.NoPermissionException: [LDAP: error co

createNewFile method not found error(JSP)-Peculiar problem(Help please)

2002-04-10 Thread RAJESH KANNAN
Hi all, In my JSP,I am using the following code segment. java.io.File statusFile = new java.io.File("d:/temp/test1); statusFile.createNewFile(); I am using TOMCAT 3.2.3 in Windows2000 machine.(JDK1.3) It is throwing following error. org.apache.jasper.JasperException: Unable to compile cl

upgrade

2002-04-10 Thread Laura
Hi all, I have a question regarding how to upgrade tomcat. I think this problem is common to everyone because tomcat is a servlet engine which is in constant evolution. So for example I have apache + tomcat 4.0.2 with my web applications under /webapps: how can I upgrade to tomcat 4.0.3, which

RE: Integrating with JDBCRealm

2002-04-10 Thread Williams Mark L DLPC
You can probably do this with JAAS, which is included in j2sdk1.4.0 and was an add-on on 1.3. The main problem I had originally was with the CallbackHandler, which is supposed to get input from the user. I couldn't figure out how to have the CallbackHandler object create an HTML form, send that to

AW: Apache 2.0 and Tomcat 4.0, index.jsp

2002-04-10 Thread Torsten Fohrer
thanks, for help but it doesn't work, the only thing that is working is this Command in httpd.conf JkMount /* ajp13.but then can I use tomcat purethats faster .. i have found it that's helpbut now static index files are delivered by tomcat too... JkMount / ajp13 but

Re: mounting a hard disk to linux

2002-04-10 Thread David Cassidy
2 daft questions ... 1) whats a post like this doing in the tomcat forum ? 2) why WHY WHY would you format a disk to be used by linux as a windows format ? Try ext2 / ext3 / any of the other native formats ! They are alot better ! NTFS is an 'experimental' filing system under linux

Re: installation

2002-04-10 Thread peter lin
if they're not simple JSP that can't be tested with just a browser, than you may have to do what everyone else does, use JUnit or something similar. It all depends on the level of testing you want to perform. Regression testing, basic "does it work" test, white box or black box testing. There's

mod_jk for apache2.0 compilation error

2002-04-10 Thread Darren Chuck
There's error when i compile J-T-C form CVS My sys config: kernel 2.4.18 glibc 2.2.5 apache 2.0.35 tried both j2sdk 1.4 and 1.3.1_03 here's what i get after running build script: /usr/local/apache2/build/libtool --silent --mode=link gcc -o mod_jk.so -rpath /u sr/local/apache2/modules -mo

Re: Apache 2.0 and Tomcat 4.0, index.jsp

2002-04-10 Thread Julien OIX
Torsten Fohrer a écrit : > > I get Tomcat 4.03 with the Connectors 4.0.4b and Apache working, > but even if i put > >>> DirectoryIndex index.jsp index.htm > in httpd.conf. Tomcat ignores them > > could somebody..have a answer > > thanks > edit $TOMCAT_HOME/conf/web.xml or your $TO

native lib not found in common/lib but works in WEB-INF/lib

2002-04-10 Thread Christoph Kiehl
Hi, I have a problem with tomcat and the oracle oci driver. This only occurs if I use jdk 1.4 and works fine with jdk1.3. The Oracle oci driver needs a native library (ocijdbc8.dll). This library is on my PATH and tomcat loads it fine if I place the oracle java libs (classes12.jar) in WEB-INF/li

Re: realm jdbc oracle problem

2002-04-10 Thread Galbayar
check your driver - Original Message - From: "Mehmet Ugur Kuzu (LinkPlus)" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Wednesday, April 10, 2002 18:03 Subject: realm jdbc oracle problem > I am getting error like at the bottom when i want to use jdbc realm agai

Re: Re: urlencoded session html-redirection-bug

2002-04-10 Thread Giorgio Ponza
So, try this way: with the single ' after = and before closing " and the ? before the jsessionid i tried with some url and works, hope also for you Regards Giorgio - Original Message - From: "Michael" <[EMAIL PROTECTED]> To: "Giorgio Ponza" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> S

Re: AW: Re : Re: urlencoded session html-redirection-bug

2002-04-10 Thread Michael
Am Mittwoch, 10. April 2002 10:29 schrieben Sie: > Are there special reasons why you redirect in the html and not > with response.sendRedirect ? yes - a response.sendRedirect won't be recognized by the user! I want the user to see, that something happened - and after a few seconds he is going to

RE: mounting a hard disk to linux

2002-04-10 Thread Murat Buyukkal ([EMAIL PROTECTED])
If possible, you can format it as FAT32 then mount it as VFAT. Murat. -Original Message- From: Lalit Nagpal [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 12:40 PM To: [EMAIL PROTECTED] Subject: mounting a hard disk to linux hello, i am trying to mount a hard disk of 2 gb

mounting a hard disk to linux

2002-04-10 Thread Lalit Nagpal
hello, i am trying to mount a hard disk of 2 gb onto linux. what should i do to mount it i did try to format it with ntfs file system and then entered the entry into the fstab file and specified the file system as ntfs, but i got the message that the file system is not supported by kernel. al

RE: realm jdbc oracle problem

2002-04-10 Thread Murat Buyukkal ([EMAIL PROTECTED])
Mehmet, Oracle provides a new JDBC driver for 9i instead of that for 8i. Are you sure that you are using correct driver? Murat. -Original Message- From: Mehmet Ugur Kuzu (LinkPlus) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 12:04 PM To: 'Tomcat Users List' Subject: realm

realm jdbc oracle problem

2002-04-10 Thread Mehmet Ugur Kuzu (LinkPlus)
I am getting error like at the bottom when i want to use jdbc realm against oracle 9i db, is this a bug ? how can i resolve this , Starting service Tomcat-Standalone Apache Tomcat/4.0.2 Catalina.start: LifecycleException: Exception opening database connection: jav a.sql.SQLException: oracle.jd

Re: On timeout

2002-04-10 Thread Giorgio Ponza
maybe you can use this method in your JSP boolean session.isNew() saying if the session id is just created or not. Giorgio - Original Message - From: "Raphael Di Cicco" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, April 10, 2002 11:06 AM Subject: On time

Re: Starting Tomcat 4 as an NT service

2002-04-10 Thread Joe Meirow
NT Services are installed at the command line with --install and removed with --remove following the .exe name. Notice there are TWO hyphens before install and remove. - Original Message - From: "Ken Anderson" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Saturday

Re: installation

2002-04-10 Thread DingHui
There must be a JSP/Servlet engin running on your server,such as TOMCAT, JRun,JServ,etc. - Original Message - From: "Atif Munir" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, May 10, 2002 5:39 PM Subject: Re: installation > hi to upload the files

On timeout

2002-04-10 Thread Raphael Di Cicco
Hi, I have had this problem for a long time. This may not be very difficult but still. I have a timeout on my server, let's say 10 minutes. After 10 minutes, all session variables are destructed, so the user gets an exception message once he tries to interact with the application. Is there a

Re: Handle exceptions correctly

2002-04-10 Thread Raphael Di Cicco
I found that there was an error IN my error page that's why I had all this trouble ! On Tuesday 09 April 2002 17:54, Raphael Di Cicco wrote: > I know but the exception is pointing to > if (pageContext != null) pageContext.handlePageException(t); > > That's not very useful to find out what happ

Re: installation

2002-04-10 Thread Atif Munir
hi to upload the files is not a problme I want to check is that working fine or not? how can i check that atif DingHui wrote: > It's based on the configuration of your server. > if there is a FTP service running on your server,you can upload your files with FTP >client such as CuteFTP. > T

Re: Tomcat process takes 246M whereas total java heap is 127M

2002-04-10 Thread Christophe Reynaud
Do you know if there is a simple solution to pre-compile the JSP's ? (And to tell tomcat not to re-compile the JSP's ?) Thanks Jay Gardner wrote: > There are definitely memory leaks in javac. This is a problem when jspc > compiles your jsp code in the same JVM as the TC server. > > --Jay Gard

AW: Re : Re: urlencoded session html-redirection-bug

2002-04-10 Thread Ralph Einfeldt
Are there special reasons why you redirect in the html and not with response.sendRedirect ? I don't think that there is an easy way to get the meta tag working. (Something like writing a filter or using mod_rewrite to rewrites /myURL?jsessionid=og9obimzx2 and using a selfmade encodeUrl()) > -

Re: Is there a native JDBC driver for MS Access?

2002-04-10 Thread chuck amadi
Adrian Beech wrote: >Um, okay then how stable is the JDBC/ODBC bridge? As I previously >mentioned in my initial posting some bits and peices that I've read suggest >that this method of connecting to a DB back end is, or can be, a little >dodgy. The comments basically revolved around the pre

Re: Clustering HTTP Sessions in Tomcat

2002-04-10 Thread David Cassidy
anyone got anything like this for the tomcat 3 series ? Ta D Dion Almaer wrote: >Filip Hanik has written a great article on HTTP Session Replication using Tomcat 4. >http://www.theserverside.com/resources/index.jsp > >In this article we will cover one of the clustering technologies, HTTP sess

Apache 2.0 and Tomcat 4.0, index.jsp

2002-04-10 Thread Torsten Fohrer
I get Tomcat 4.03 with the Connectors 4.0.4b and Apache working, but even if i put >>> DirectoryIndex index.jsp index.htm in httpd.conf. Tomcat ignores them could somebody..have a answer thanks -- To unsubscribe: For additional commands:

war Deployement ?

2002-04-10 Thread RAYMOND Romain
Hello, I package my web app as a war file. Probelm is that I'd like to do all initialization in my war file. But my server configuration file (server.xml) need to intialize the weapp RDBM driver : "

RE: HTTP Tunnel (a response please????)

2002-04-10 Thread Stuart Stephen
Excelent, sounds ideal. Thank you very much. Stuart -Original Message- From: Marc Chamberlin [mailto:[EMAIL PROTECTED]] Sent: 10 April 2002 05:42 To: Tomcat Users List Subject: Re: HTTP Tunnel (a response please) Stuart I am using an HTTP Tunneling protocol (for serialized Java o

Re : Re: urlencoded session html-redirection-bug

2002-04-10 Thread Michael
>When you encode the url, the first time the jsessionid is attached to the >URL, >but if your browser have cookies enabled, a cookie is assigned and the >jsessionid parameter >is not shown anymore. thanks for your comment - but this isn't the problem! to handle the first-time URLencode af

Disabling the DefaultContext

2002-04-10 Thread Yuval Levav
Hi, I have more han one directory under webapps ( my appBase ). However, I would like to load each directory's apps with different tomcat 4 instances. The problem is that a context is created for each directory, although it is not declared in my server.xml.I underst

<    1   2