Re: Newbie problem with JSP contexts virtual hosts

2004-04-13 Thread James Bucanek
While I didn't get any suggestions or feedback on my original question, I believe I've found a solution. Now I just need to run it by the group to see if it's Kosher. James Bucanek wrote on Sunday, April 11, 2004: !-- Virtual host: www.hotelmidnight.net -- !-- (jlb 11-April-2004) Added

RE: JNDI and DataSource

2004-04-13 Thread Freddy Villalba Arias
Yeap, Daniel. It's there. As I mentioned, I performed the very same test I'm doing right now, but without DataSource and it works. Now that you mention it, I read in some place that it was necessary to remove the java.sql.* package from the jdbc jar file. I don't know if that is true and, if so,

Followup jk2 + apache vhosts + tomcat sessions

2004-04-13 Thread Jens Saade
Hi, I already sent an email named jk2 + apache vhosts + tomcat sessions but no response yet. Maybe I didn't describe my problem clearly enough so here is another go: I've got an apache http 1.3.x running in front with multiple vhosts. Some of those vhosts are redirected to a single tomcat 5

Re: Followup jk2 + apache vhosts + tomcat sessions

2004-04-13 Thread Nikola Milutinovic
Jens Saade wrote: Hi, I already sent an email named jk2 + apache vhosts + tomcat sessions but no response yet. Maybe I didn't describe my problem clearly enough so here is another go: I've got an apache http 1.3.x running in front with multiple vhosts. Some of those vhosts are redirected to

Tomcat 5 : Connection Pool to Access database

2004-04-13 Thread Francesco Pellegrini
Hi All, I'm working on Tomcat 5.0.18 web server with Access 2000 database on Windows 2000 server environment. At the moment I use simple connection to database by direct calling in the Java code like: Connection Con=DriverManager.getConnection(jdbc:odbc:MyDatabase); where MyDatabase is the

Re: Request parameters getting lost

2004-04-13 Thread David Rees
Frank W. Zammetti wrote, On 4/12/2004 4:50 PM: So, my question is twofold... One, has anyone ever seen such an issue as missing parameters before, and if so, what information can you share with me about it? Two, am I off my rocker to think that connector config is way out of wack, and assuming it

FOUND VIRUS IN MAIL from tomcat-user@jakarta.apache.org to almamons@nspoint.net

2004-04-13 Thread virusalert
V I R U S A L E R T Our viruschecker found a VIRUS in your email to [EMAIL PROTECTED]. We stopped delivery of this email! Now it is on you to check your system for viruses In file: /usr/local/mav/basedir/i3D7w9mh016956/i3D7w9mh016956

RE: Tomcat 5 : Connection Pool to Access database

2004-04-13 Thread Freddy Villalba Arias
Hi Franz, I'm experiencing EXACTLY the same problem, but in Tomcat 4.1 (running from a Jbuilder X). HAVEN't solved it yet. However, I've received some valid feedback that may prove to be effective for you. Let me know of any adavances you make in this regard. Jee... it's good to know I'm not

RE: Tomcat 5 : Connection Pool to Access database

2004-04-13 Thread Freddy Villalba Arias
BTW, the topic is JNDI and DataSource and I'm trying to connect to an Oracle DB. :) Freddy. -Mensaje original- De: Francesco Pellegrini [mailto:[EMAIL PROTECTED] Enviado el: martes, 13 de abril de 2004 9:28 Para: Tomcat-User-ML Asunto: Tomcat 5 : Connection Pool to Access database

Hi!

2004-04-13 Thread tomcat-user
Norton AntiVirus Deleted1.txt Description: plain/text - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Oh my God

2004-04-13 Thread tomcat-user
Norton AntiVirus Deleted1.txt Description: plain/text - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Virtual Host, Locations and Mod_JK2

2004-04-13 Thread Alexander F. Hartner
I host several websites on my apache2 (2.0.49) using virtual hosts. One of the hosts I would like to forward fully to a web application deployed on tomat via Mod_JK. What I have done is the following: Installed the webapplication in tomcat's root / context Configured a worker in

Hi, it's me

2004-04-13 Thread tomcat-user
Norton AntiVirus Deleted1.txt Description: plain/text - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Logout-Problem

2004-04-13 Thread marc . baumgartner
Hello All, I have got 2 machines (Tomcat 5.0 Apache 2.0) connected with mod_jk2. In our application the user has to log in. When he wants to log out in a servlet I call session.invalidate() to kill the session and redirects to the login page. The session is definitly not existing anymore,

Re: Followup jk2 + apache vhosts + tomcat sessions

2004-04-13 Thread Jens Saade
Thank Nicola. The context you mentioned would be just the single context of one application which the all vhosts1-3 refer to. I don't need to share session betweeb different application contexts though. So if I understand correctly I just need to match my vhosts on the apache httpd with the

Re: Logout-Problem

2004-04-13 Thread Paul Mansfield
On Tue, 2004-04-13 at 09:54, [EMAIL PROTECTED] wrote: In our application the user has to log in. When he wants to log out in a servlet I call session.invalidate() to kill the session and redirects to the login page. The session is definitly not existing anymore, but the user can't login until

Re: Tomcat for FreeBSD

2004-04-13 Thread Ronald Klop
If you have installed the FreeBSD ports collection (which you probably have), than do this: cd /usr/ports/www/jakarta-tomcat5 make make install make clean The 'make' command wil show some settings, which may be readable depending on how fast your computer scrolls text. Greetings, Ronald. On

Re: Tomcat for FreeBSD

2004-04-13 Thread Paul Mansfield
On Tue, 2004-04-13 at 10:09, Ronald Klop wrote: If you have installed the FreeBSD ports collection (which you probably have), than do this: AOL me too... we are using tomcat-5 on freebsd-current. works well, no complaints Paul

tomcat 3.3 and jstl

2004-04-13 Thread Peter Bosmans
Hi all, Short question. I'm using JSTL within tomcat3.3, but i've got the next error message : org.apache.jasper.compiler.CompileException: D:\jakarta-tomcat-3.3.2\webapps\standard-examples\elsupport\Out.jsp(10,2) Unable to load class null Is it possible to use JSTL with tomcat3.3 ? If so,

deployment questions

2004-04-13 Thread Riaan Oberholzer
Hi, I have a setup that works 100% in my development (Windows) and test (linux) environments, but just refuses to work in a linux environment provided by a commercial hosting company. A number of issues arise, one which some of you could perhaps comment: I have a .war which is NOT unpacked. My

Delivery FAILURE notification!!!

2004-04-13 Thread MAILER-DAEMON
I'm sorry but your recent email to [EMAIL PROTECTED] couldn't be delivered. E-mail attachment files: YOURS.PIF Our mailserver doesn't accept emails with such file attachments for security reasons. -The rohlig.pl team - To

headers --

2004-04-13 Thread Alex
http://support.microsoft.com/default.aspx?scid=kb;en-us;812935 When I moved the web application to a more secure, robust offering, we have discovered our second significant bug related to Internet Explorer users. This bug prohibits users from downloading files from the portal. I've tried

Re: Virtual Host, Locations and Mod_JK2

2004-04-13 Thread staf wagemakers
On Tue, Apr 13, 2004 at 10:23:13AM +0200, Alexander F. Hartner wrote: I host several websites on my apache2 (2.0.49) using virtual hosts. One of the hosts I would like to forward fully to a web application deployed on tomat via Mod_JK. What I have done is the following: Installed the

Re: Its me

2004-04-13 Thread tomcat-user
I have attached your file. Your password is jkl44563. Norton AntiVirus eliminato1.txt Description: plain/text - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: deployment questions

2004-04-13 Thread Shapira, Yoav
Hi, So in your dev and test environments, mysql.jar is in your WAR as well? My guess is it's in common/lib, where it should be, in your dev/test environments, but it's in your WAR for your production environment, hence the error. Yoav Shapira Millennium Research Informatics -Original

Returned Mail: Error During Delivery

2004-04-13 Thread Webshield . SMTP . V4 . 5 . MR1a . Mail . Service
-- Here is your List of Failed Recipients -- [EMAIL PROTECTED] Requested action not taken: mailbox unavailable. [SMTP Error Code 550] Here Is Your Returned Mail Received: FROM mailgate4.nec.co.jp BY nismsdt2e106.nis-msd-t2e01 ; Tue Apr 13 21:38:37 2004 +0900 Received:

[Q] Tomcat, Apache Webserver and Datasources

2004-04-13 Thread Riaan Oberholzer
On a standalone Tomcat server, I can define JDBC resources in a context without problems. As soon as Apache webserver is brought into the equation, the JDBC datasources fail to initialize, exceptions indicating that the resoruce parameters where null. I don't know anything about Apache webserver,

RE: Prevent context startup on servlet init failure?

2004-04-13 Thread Shapira, Yoav
Hi, You can't do it from a servlet's init method. System.exit is an ugly solution: what if there are other webapps on the container? Two options come to mind: - Move this init code to a ServletContextListener's contextInitialized method. If an error occurs, throw a RuntimeException (or any

RE: deployment questions

2004-04-13 Thread Riaan Oberholzer
So in your dev and test environments, mysql.jar is in your WAR as well? No, in all 3 environments it is under /common/lib. My guess is it's in common/lib, where it should be, in your dev/test environments, but it's in your WAR for your production environment, hence the error. I just

RE: ApplicationHttpRequest not using HttpServletRequestWrapper problem

2004-04-13 Thread Shapira, Yoav
Hi, Without going into excessive detail, I wanted to point out two things: 1. This sort of thing is widely available: http://www.google.com/search?sourceid=navclientq=showing+a+please+wait+ page+java. I even see a Matt Raible solution on the search result list, so I'd be inclined to try that one

Problems compiling jsps

2004-04-13 Thread John Trollinger
My jsp pages compile fine until I add %@ taglib tagdir=/WEB-INF/tags prefix=tags % to our common header. Then I get the following error. The error happens when parsing the jsp page (as I get a 0 length .java file) What bothers me is that I am NOT using any tag files yet. All I did was add the

RE: Require a tomcat build with bug fix....

2004-04-13 Thread Shapira, Yoav
Hi, You're also not going to get a tomcat 4.0 official build for this fix. Yoav Shapira Millennium Research Informatics -Original Message- From: Philip Baruc [mailto:[EMAIL PROTECTED] Sent: Monday, April 12, 2004 4:42 PM To: Tomcat Users List Subject: RE: Require a tomcat build with

RE: Session exists even after server restart

2004-04-13 Thread Shapira, Yoav
Hi, Session persistence until timeout/invalidation and across server restarts is mandated by the Servlet Specification. We didn't just do it (and make it a default) for kicks ;) Yoav Shapira Millennium Research Informatics -Original Message- From: James Bucanek [mailto:[EMAIL

RE: Request parameters getting lost

2004-04-13 Thread Shapira, Yoav
Hi, Whatever the root cause of this issue is, your servlets should be tolerant of these parameters not being specified, i.e. being null. You should never NPE in your own code due to improper input parameter checking. Yoav Shapira Millennium Research Informatics -Original Message-

RE: Tomcat 5 : Connection Pool to Access database

2004-04-13 Thread Shapira, Yoav
Hi, Search the archives. This is a common configuration problem. Yoav Shapira Millennium Research Informatics -Original Message- From: Freddy Villalba Arias [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 3:57 AM To: Tomcat Users List Subject: RE: Tomcat 5 : Connection Pool to

RE: Tomcat performance issue?

2004-04-13 Thread Shapira, Yoav
Hi, Absolutely. Peter and I have been preaching this for years now ;) I'm glad this has helped you... Yoav Shapira Millennium Research Informatics -Original Message- From: Peter Lin [mailto:[EMAIL PROTECTED] Sent: Monday, April 12, 2004 10:17 PM To: Tomcat Users List Subject: RE:

RE: Problems compiling jsps

2004-04-13 Thread John Trollinger
This issue seems to be fixed in the latest from CVS -Original Message- From: John Trollinger [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 8:25 AM To: [EMAIL PROTECTED] Subject: Problems compiling jsps My jsp pages compile fine until I add %@ taglib tagdir=/WEB-INF/tags

RE: [Q] Tomcat, Apache Webserver and Datasources

2004-04-13 Thread Shapira, Yoav
Hi, Hmm, others can help more, but maybe the mapping between apache and tomcat is wrong? Yoav Shapira Millennium Research Informatics -Original Message- From: Riaan Oberholzer [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 8:39 AM To: [EMAIL PROTECTED] Subject: [Q] Tomcat,

RE: Unexpected tomcat 4.1.27-30 shutdown problem

2004-04-13 Thread Shapira, Yoav
Hi, Would an exeception in the code cause tomcat to stop? Depends what code: it'd have to be something that percolates all the way to the main launcher clause... Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that

RE: overriding service

2004-04-13 Thread Shapira, Yoav
Hi, There are very few never statements that are strictly true in programming. But it's fair to say you should rarely override the service method. Mostly it just checks the incoming request's method (GET, POST, etc.) and called the appropriate method (doGet, doPost, etc.). Since you don't want

Re: headers --

2004-04-13 Thread QM
On Tue, Apr 13, 2004 at 07:14:26AM -0400, Alex wrote: : is there a way in tomcat that session info is duplicated between : ssl/non-ssl ? This has been discussed recently on the list -- please check the archives. A search for session hijacking in the message body should give you the whats and

RE: Virtual Host, Locations and Mod_JK2

2004-04-13 Thread Dean Searle
I have found that if you do the following it works for me: Location /*.jsp JkUriSet worker ajp13:localhost:28009 /Location Hope that this helps, I have found that by doing this I can redirect any file type to be handled by Tomcat. Dean -Original Message- From: Alexander F.

RE: Apache2+Jk2+Tomcat5

2004-04-13 Thread Yang Xiao
-Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: Monday, April 12, 2004 8:18 PM To: Tomcat Users List Subject: Re: Apache2+Jk2+Tomcat5 On Mon, Apr 12, 2004 at 07:37:31PM -0400, Yang Xiao wrote: : I'm trying to get Apache 2.0.49/JK2/Tomcat 5.0.19 to work : I was able to get

RE: JK2 JNI link bug [Was: Re: Apache2+Jk2+Tomcat5]

2004-04-13 Thread Yang Xiao
-Original Message- From: Nikola Milutinovic [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 1:49 AM To: Tomcat Users List Subject: JK2 JNI link bug [Was: Re: Apache2+Jk2+Tomcat5] Yang Xiao wrote: Hi list, I'm trying to get Apache 2.0.49/JK2/Tomcat 5.0.19 to work I was able

Re: deployment questions

2004-04-13 Thread QM
On Tue, Apr 13, 2004 at 03:09:04AM -0700, Riaan Oberholzer wrote: : precompiled JSP's aren't always detected and instead : Apache web server searches for the actual jsp file, : which does not exist. This follows some of my experience: Apache's URI resolution requires the .jsp files to exist

RE: Request parameters getting lost

2004-04-13 Thread Allistair Crossley
the only time i lost request parameters was because the form was multipart/form-data. In that case you need to use a form upload processer like commons FileUploader. ADC -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 13 April 2004 13:49 To: Tomcat Users List

RE: location of workers2.properties parameters

2004-04-13 Thread Cox, Charlie
The only way I could get rid of these was to comment out the logger lines. Charlie -Original Message- From: Randy [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 1:23 AM To: [EMAIL PROTECTED] Subject: location of workers2.properties parameters I can not find the doc that

RE: Require a tomcat build with bug fix....

2004-04-13 Thread Philip Baruc
Will this issue be resolved in a tomcat 5.0 version? pb --- Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, You're also not going to get a tomcat 4.0 official build for this fix. Yoav Shapira Millennium Research Informatics -Original Message- From: Philip Baruc [mailto:[EMAIL

Big Thanks

2004-04-13 Thread Allistair Crossley
Thanks to all on the list who have supported my questions, we launched our system this morning and apart from being a little slow under load it's been well received. Cheers, ADC FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd.

Tomcat 4.1.3

2004-04-13 Thread Reis, Tom
I was using Tomcat 4.0.4. I am now using 4.1.3. I cannot seem to load the application on 4.1.3. It appears I cannot even find the directory the application is in. Is there something different in 4.1.3 to recognize and load an application. Thanks.

RE: DefaultServlet character encoding

2004-04-13 Thread Yansheng Lin
three up, three down, bottom of ninth You can use a filter, see j2ee design pattern catalog for more details, and add to your deployment descriptor this: filter filter-nameEncodingFilter/filter-name filter-classorg.myproject.EncodingFilter/filter-class init-param

Hi, it's me

2004-04-13 Thread tomcat-user
Norton AntiVirus Deleted1.txt Description: plain/text - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: tomcat 4 vs 5 form based container auth filters

2004-04-13 Thread Martin Alley
Anyone? -Original Message- From: Martin Alley [mailto:[EMAIL PROTECTED] Sent: 12 April 2004 16:42 To: 'Tomcat Users List' Subject: RE: tomcat 4 vs 5 form based container auth filters Thanks Adam It seems to me that the separation idea is not clear cut. There is certainly a down side.

RE: location of workers2.properties parameters

2004-04-13 Thread Randy
So was that in one place it the code or through-out? Thanks -Original Message- From: Cox, Charlie [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 8:27 AM To: 'Tomcat Users List' Subject: RE: location of workers2.properties parameters The only way I could get rid of these was

Tomcat 5 : DEBUG level

2004-04-13 Thread Francesco Pellegrini
Hi all, I'm looking for an help to customize a LOG level for my server. I have some JSP and SERVLET that uses : System.out.println(message...); in server.xml I set : Logger className=org.apache.catalina.logger.FileLogger verbosity=4 directory=logs prefix=localhost_log. suffix=.txt

RE: location of workers2.properties parameters

2004-04-13 Thread Cox, Charlie
Sorry, I meant comment out the [logger.apache2] lines in the workers2.properties. Even after doing this you will still get your errors in the logs, but the info's seem to stop. (this doesn't turn off all logging for jk2) Chalrie -Original Message- From: Randy [mailto:[EMAIL

How to handle tomcat's stdout.log size

2004-04-13 Thread Allistair Crossley
Hi Guys, me again :) I am noticing that the stdout.log is getting rather large very quickly. It is specified in the service.bat as --StdOutputFile %CATALINA_HOME%\logs\stdout.log It does not appear to have any way of rolling it over or restricting it's size via the server.xml. Can

Re: help needed - keytool import of CA certs

2004-04-13 Thread Robert Hall
Thanks, Bill. I need to get better at digging through the archives ;-) Robert Bill Barker wrote: 3. What else is needed in addition to an existing server cert file if you don't have to go through the CSR process? If you used keytool to generate the original CSR, then you have to

Tomcat 5 standalone, SSL, IE problem...

2004-04-13 Thread Lawrence, Gabriel
Howdy, I'm running tomcat 5.0.16, jdk 1.4.1_02-b06 on Solaris 8 and am running into an issue with IE. It seems that when I use IE wihtout SSL things work fine, but when I use IE with SSL the form posts I'm sending don't always submit properly. I know it sounds crazy, but, I'm wondering if there

client-server authorization

2004-04-13 Thread Tom Boyce
Hello all, I've been have a problem getting client cert set up on Tomcat 5. I can implement server side authentication to establish an SSL connection, but when I attempt to add the client side authentication in it fails. I also have used a verisign trial certificate, putting the root cert in my

apache tomcat mod_jk index.jsp

2004-04-13 Thread James Kessler
Hello, I'm having trouble loading index.jsp from the root directory. If i browse to www.foo.com/test/ everything works. If I browse to www.foo.com (which points to the same directory) it shows the jsp tags. I'm running apache 1.3, tomcat 4.1 and mod_jk 1.2 using ApacheConfig to auto-create

threads locking

2004-04-13 Thread Ben Souther
Has anyone else had any problems with threads locking (causing Tomcat to hang)? I just moved an app thats been working for over a year on Linux, win2k pro and winXP pro up to a server running Windows 2k server (dual 800 MHz Pentium III) and it locks up randomly. Using tomcat 5.0.19 Sun's J2sdk

RE: threads locking

2004-04-13 Thread Filip Hanik \(lists\)
print to log4j instead, I assume you know print to the context log? Filip -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 12:29 PM To: 'Tomcat Users List' Subject: threads locking Has anyone else had any problems with threads locking

Re: threads locking

2004-04-13 Thread Ben Souther
I don't. Does it involve changing all of my System.out.println statements? On Tuesday 13 April 2004 01:27 pm, Filip Hanik \(lists\) wrote: print to log4j instead, I assume you know print to the context log? Filip -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED]

RE: threads locking

2004-04-13 Thread Filip Hanik \(lists\)
yes, I am afraid so :) Filip -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 12:38 PM To: Tomcat Users List Subject: Re: threads locking I don't. Does it involve changing all of my System.out.println statements? On Tuesday 13 April 2004

Re: Tomcat JSP compile error?

2004-04-13 Thread Daniel Gibby
This part looks suspicious: 2004-04-14 03:13:48 ContextConfig[]: Missing application web.xml, using defaults only - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: threads locking

2004-04-13 Thread Ben Souther
Is this an issue with a particular build of Tomcat or j2sdk? On Tuesday 13 April 2004 01:34 pm, Filip Hanik \(lists\) wrote: yes, I am afraid so :) Filip -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 12:38 PM To: Tomcat Users List

Mail Delivery (failure customerservice@onetelnet.nl)

2004-04-13 Thread Klantenservice Scarlet
Beste klant, Uw vraag is bij ons ontvangen. het toegewezen referentie-nummer is: 15281. Wij zullen uw vraag zo spoedig mogelijk behandelen. Dit is een geautomatiseerde mail; het is daarom niet mogelijk deze te beantwoorden d.m.v. de reply-optie in uw mailprogramma. Openingstijden

RE: Urgent pls help ! Protection problems of using Realm

2004-04-13 Thread a a
Dear all, I do not have any idea of writing a custom realm, even how to start writing it. Can you give me some example or any references that teaching how to write a custom realm ? Thankyou very much ! kawai Mark Thomas [EMAIL PROTECTED] wrote: You need to write a custom realm. Mark

RE: IBM Java VS SUN Java

2004-04-13 Thread Nicholas Bernstein
yes, dual hyper-threaded xeons. On Mon, 2004-04-12 at 12:02, Shapira, Yoav wrote: Hi, Was the linux box hyper-threaded? Yoav Shapira Millennium Research Informatics -Original Message- From: Nicholas Bernstein [mailto:[EMAIL PROTECTED] Sent: Monday, April 12, 2004 2:50 PM

Re: JK2 JNI link bug [Was: Re: Apache2+Jk2+Tomcat5]

2004-04-13 Thread Nikola Milutinovic
Yang Xiao wrote: Hi, Thanks for the help I went back and modified the Makefile with all 3 libraries as you have said, recompiled and now I'm getting a different error: INFO: APR not loaded, disabling jni components: java.io.IOException: java.lang.UnsatisfiedLinkError:

Tomcat and DataSource JNDI

2004-04-13 Thread Paul Richards
Hi, I am running Tomcat from the Java Webservices Developer Pack 1.3 and I cannot get JNDI working for mysql DataSource objects. I have googled around for my error which is: java.sql.SQLException: Cannot load JDBC driver class 'null' at

RE: JK2 JNI link bug [Was: Re: Apache2+Jk2+Tomcat5]

2004-04-13 Thread Yang Xiao
Hem, unfortunately, I tried that, which worked, but then tomcat complains about another XML library not being linked. I'm building Apache from scratch now... please help. Yang -Original Message- From: Nikola Milutinovic [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 3:02 PM To:

Re: Can someone help me to fix the soft link problem in Tomcat 4.1.27

2004-04-13 Thread Kam Lung Leung
Hi Doug, Thank for the information. Did you use Tomcat 4.1.27 version? I did not use the manager to restart the web component. What I did is following: 1) stop tomcat, remove the myApp.war, and the myApp directory. 2) copy the new myApp.war into the webapps directory. 3) start tomcat. When I

Re: Can someone help me to fix the soft link problem in Tomcat 4.1.27

2004-04-13 Thread Parsons Technical Services
Kam, It is 4.1.29 This is the server.xml section for my app. Context className=org.apache.catalina.core.StandardContext cachingAllowed=true charsetMapperClass=org.apache.catalina.util.CharsetMapper cookies=true crossContext=true debug=0 displayName=golf

Re: Tomcat and DataSource JNDI

2004-04-13 Thread Parsons Technical Services
Paul, Several questions: What version of Tomcat is this? What platform/OS are you on? Which JDK version? Typically this error is from a mis-configuration for the jndi. Here are my configuration files or parts of for my development box. First in the server.xml set up a GlobalResource such as

Re: threads locking

2004-04-13 Thread Ben Souther
Does Tomcat use log4j as it's context logger? I thought it didn't? On Tuesday 13 April 2004 01:27 pm, Filip Hanik \(lists\) wrote: print to log4j instead, I assume you know print to the context log? Filip -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent:

RE: threads locking

2004-04-13 Thread Filip Hanik \(lists\)
you can configure it to use either the JDK logger, log4j or the System logger, Filip -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 3:07 PM To: Tomcat Users List Subject: Re: threads locking Does Tomcat use log4j as it's context logger? I

Re: Tomcat and DataSource JNDI

2004-04-13 Thread Paul Richards
On Tue, 2004-04-13 at 13:35, Parsons Technical Services wrote: Paul, Several questions: What version of Tomcat is this? Version 5 from what I can tell from the licence agreement. (What is the correct way to determine?) What platform/OS are you on? Solaris 9 (MU3 applied) on Sparc

Re: threads locking

2004-04-13 Thread Ben Souther
Thank you Filip, Is thread locking a known issue with the system logger? I've never seen this happen anywhere else before. I didn't see anyting in the buglist for Tomcat. On Tuesday 13 April 2004 04:02 pm, Filip Hanik \(lists\) wrote: you can configure it to use either the JDK logger, log4j

Re: threads locking

2004-04-13 Thread Daniel Gibby
What are the benefits of the different loggers? What performance differences are there between them? Daniel Gibby Filip Hanik (lists) wrote: you can configure it to use either the JDK logger, log4j or the System logger, Filip -Original Message- From: Ben Souther [mailto:[EMAIL

Re: Tomcat and DataSource JNDI

2004-04-13 Thread Paul Richards
On Tue, 2004-04-13 at 14:12, Paul Richards wrote: On Tue, 2004-04-13 at 13:35, Parsons Technical Services wrote: Paul, Here are my configuration files or parts of for my development box. First in the server.xml set up a GlobalResource such as this: Of course replace the necesary

Re: Tomcat and DataSource JNDI

2004-04-13 Thread Parsons Technical Services
Paul, If manager is in this install then when you view the manager page it is listed at the bottom. If you are able to put the context.xml in the META-INF directory and it get deployed via that context then you are on TC5. If this is TC4 then that is part of your problem. It will deploy using

Tomcat 5 and LDAP

2004-04-13 Thread Kumar Abhay-CAK203C
Hello, I need to implement LDAP Authorization using T5 running on SunOS 5.9 I have no idea how to set up the stuff. Any help, documentation suggestions will be appreciated Thanks in advance Best Regards Abhay Kumar

[OT] T5 on UNIX and MS Access

2004-04-13 Thread Kumar Abhay-CAK203C
Hi All, I need to connect MS Access dB that resides on a Win2k machine from a web based application running on T5 on UNIX (Sun OS 5.9) I need to know which drivers I have to use, where to get these drives and how to connect to NT machine ? Any help will be appreciated. Thanks in advance Best

RE: tomcat 5, Tiles and encoding

2004-04-13 Thread Yansheng Lin
Hi, did you get this one figured out yet? If it's on a form, you might want to try method=posted and enctype=multipart/form-data. -Yan -Original Message- From: Paulo Alvim [mailto:[EMAIL PROTECTED] Sent: Monday, April 12, 2004 9:11 AM To: [EMAIL PROTECTED] Subject: tomcat 5, Tiles

Re: Tomcat and DataSource JNDI

2004-04-13 Thread Paul Richards
On Tue, 2004-04-13 at 14:26, Parsons Technical Services wrote: Paul, If manager is in this install then when you view the manager page it is listed at the bottom. It's not, this is the Web Services Developer Pack from Sun, so they have changed all the names to just say JWSDP 1.3.. I'm

Unable to access the manager/html context

2004-04-13 Thread Arieh Markel
I am trying to resolve the following problem. 1. I need to be able to embed Tomcat functionality in an application 2. The functionality requires the ability to: - have a default set of contexts (manager, jwsdp-catalog, perhaps admin) - have the ability to deploy webservices a. I am able to

Re: Tomcat and DataSource JNDI

2004-04-13 Thread Arieh Markel
Paul, I read the reply below on the tomcat-user list. I am working here (BRM05) with JWSDP-1.3 and am able to access the manager. Let me know what type of problem you have. Arieh Paul Richards wrote: On Tue, 2004-04-13 at 14:26, Parsons Technical Services wrote: Paul, If manager is in this

Re: apache tomcat mod_jk index.jsp

2004-04-13 Thread Graham Bleach
On Tue, Apr 13, 2004 at 01:05:20PM -0400, James Kessler wrote: Hello, I'm having trouble loading index.jsp from the root directory. If i browse to www.foo.com/test/ everything works. If I browse to www.foo.com (which points to the same directory) it shows the jsp tags. I'm running apache

Re: Tomcat and DataSource JNDI

2004-04-13 Thread Parsons Technical Services
Paul, Everything looks okay until here: DataSource ds = null; try { Context ctx = new InitialContext(); ds = (DataSource)ctx.lookup(java:comp/env/jdbc/PhoenixDB); if (ds == null) throw new Exception(DS was null);

Re: Tomcat and DataSource JNDI

2004-04-13 Thread Paul Richards
On Tue, 2004-04-13 at 15:38, Parsons Technical Services wrote: Paul, Everything looks okay until here: DataSource ds = null; try { Context ctx = new InitialContext(); ds = (DataSource)ctx.lookup(java:comp/env/jdbc/PhoenixDB); if (ds == null)

struts validator

2004-04-13 Thread mike jackson
I'm using masks to validate some fields using the validator in struts. But my masks are getting extremely complex trying to deal with both lower case and upper case possibilities. Is there a way to specify that the mask should be evaluated as case insensitive? --mikej -=-- mike jackson

FW: Tomcat 5 and LDAP

2004-04-13 Thread Patrick Willart
This is how I have had it configured once. It worked against an iPlanet LDAP server. Realm className=org.apache.catalina.realm.JNDIRealm debug=99 connectionURL=ldap://127.0.0.1:389; roleBase=ou=groups,dc=aptitudexchange,dc=com roleName=cn

RE: struts validator

2004-04-13 Thread electroteque
Is there a form validator in struts, is it customizable ? If so maybe extend the class ? -Original Message- From: mike jackson [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 14, 2004 8:17 AM To: 'Tomcat Users List' Subject: struts validator I'm using masks to validate some

RE: struts validator

2004-04-13 Thread mike jackson
Yes there is, it works quite nicely I don't really want to re-write it. I just want to know if there's a property I can set on the mask or something to be case insensitive. --mikej -=-- mike jackson [EMAIL PROTECTED] -Original Message- From: electroteque [mailto:[EMAIL PROTECTED]

RE: Tomcat 5 and LDAP

2004-04-13 Thread Kumar Abhay-CAK203C
Thanks Patric for the information, After doing this setting, what code you have written in the Login Screen, Can you share with me? What all JAR files are needed? Best Regards Abhay Kumar -Original Message- From: Patrick Willart [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 13, 2004

Re: Request parameters getting lost

2004-04-13 Thread David Rees
David Rees wrote: Let me guess, you're using SSL, have keep-alive enabled, and are using MSIE with all the latest patches. Right? Turns out a patch released by MS around Feb 4 (KB832894) which causes MSIE to lose request parameters if the KeepAlive session expires, in other words, when the

Re: DefaultServlet character encoding

2004-04-13 Thread Hassan Schroeder
Yansheng Lin wrote: You can use a filter Yuck. I was afraid that was going to be the best answer; seems really brain-dead that this isn't just configurable on at least a context (if not url-pattern) basis. Oh, well! btw, are you interested in joining an open-source project that's japanese

Re: Prevent context startup on servlet init failure?

2004-04-13 Thread Josh Rehman
Shapira, Yoav wrote: Hi, You can't do it from a servlet's init method. System.exit is an ugly solution: what if there are other webapps on the container? Yes, very ugly. Two options come to mind: - Move this init code to a ServletContextListener's contextInitialized method. If an error

  1   2   >