RE: Masking JSP URL

2005-04-01 Thread Ruth, Brice
I don't think this will work. Apache passes the URI to Tomcat via JK2, and unless JK2 can mungle the actual URI, Tomcat won't be able to figure out what JSP you're looking for if you use a shortened path. We use the Struts framework, which nicely hides the location of JSP files, or any particular

RE: Jasper throws ExceptionInInitializerError?!

2005-04-01 Thread Ruth, Brice
ssage- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Friday, April 01, 2005 12:36 PM To: Tomcat Users List Subject: Re: Jasper throws ExceptionInInitializerError?! It could be conflicting versions of struts. -Tim Ruth, Brice wrote: > More info. > > Finally got Eclipse to attach to

RE: Jasper throws ExceptionInInitializerError?!

2005-04-01 Thread Ruth, Brice
fails. What the heck?! Is this a classloader issue?! -Original Message- From: Ruth, Brice [mailto:[EMAIL PROTECTED] Sent: Friday, April 01, 2005 11:57 AM To: Tomcat Users List Subject: RE: Jasper throws ExceptionInInitializerError?! One thing I forgot to mention - when I do turn on debug

RE: Jasper throws ExceptionInInitializerError?!

2005-04-01 Thread Ruth, Brice
h ELHtmlTagBeanInfo as well as MessageResources.getMessageResources - stepping back through other source as needed, and I haven't come across anything that would appear to be a smoking gun. Please advise! Best, Brice Ruth -----Original Message- From: Ruth, Brice [mailto:[EMAIL PROTECTED] Sent: Friday, Apri

Jasper throws ExceptionInInitializerError?!

2005-04-01 Thread Ruth, Brice
Good morning, I am migrating an automated build process from a Windows 2K system to a RedHat EL 3 system, with some trouble. When I run a particular build via Ant, that uses the JSP precompiling task (jasper2), it fails, but somehow, not immediately. When I go into the output or destination direc

Re: DBCP/JNDI/Realms

2004-12-06 Thread Ruth, Brice
com -Original Message----- From: Ruth, Brice [mailto:[EMAIL PROTECTED] Sent: Monday, December 06, 2004 3:31 PM To: Tomcat Users List Subject: Re: DBCP/JNDI/Realms Follow-up question. Should I or should I not use the ConnectionPool implementation provided by IBM in their JDBC driver? And

Re: DBCP/JNDI/Realms

2004-12-06 Thread Ruth, Brice
http://www.yoavshapira.com -Original Message- From: Ruth, Brice [mailto:[EMAIL PROTECTED] Sent: Monday, December 06, 2004 11:32 AM To: Tomcat Users List Subject: DBCP/JNDI/Realms Good morning! I've been running into an intermittent problem with my database connections for authentication. It ap

DBCP/JNDI/Realms

2004-12-06 Thread Ruth, Brice
rce for connections. Can anyone shed more light on what the root cause of the problem is here? Should DBCP gracefully recover? Regards, Brice Ruth -- Brice Ruth, Sr. IT Analyst Fiskars Brands Inc http://www.fiskarsbrands.com/ ---

Re: web.xml security configuration.

2004-09-08 Thread Ruth, Brice
[EMAIL PROTECTED] wrote: in my web.xml I have repository /repository getit /getit I.e. its a one to one, so if I understand you correctly, when I browse to http://localhost/repository/index.jsp my uril-pattern should be Read-WriteArea /repository/* I have other (

Re: Tomcat on CD-ROM

2004-09-08 Thread Ruth, Brice
e JDK/Tomcat/and our pre-compile JSPs web-application on a CD-ROM with a read-only HSQL database, shoot me an email off-list. Ruth, Brice wrote: I've gone through the archives and read about setting loggers & workDir to a writable directory, yet I'm still getting an exception t

Re: Tomcat on CD-ROM

2004-09-07 Thread Ruth, Brice
Any takers Ruth, Brice wrote: I've gone through the archives and read about setting loggers & workDir to a writable directory, yet I'm still getting an exception thrown in tldScanJar (ContextConfig). I've checked out the code for tldScanJar and I don't see it doing

Re: web.xml security configuration.

2004-09-07 Thread Ruth, Brice
[EMAIL PROTECTED] wrote: In my applications web.xml I have Read-WriteArea accessible by users of all roles /* GET POST PUT DELETE These roles are allowed access read rwrite admin If the url-pattern is /* I get my jdbc bas

Tomcat on CD-ROM

2004-09-05 Thread Ruth, Brice
I've gone through the archives and read about setting loggers & workDir to a writable directory, yet I'm still getting an exception thrown in tldScanJar (ContextConfig). I've checked out the code for tldScanJar and I don't see it doing anything but opening an InputStream to the JAR using JarURL

ClientAbortException - can't catch?

2004-08-13 Thread Ruth, Brice
I'm seeing a lot of ClientAbortExceptions being thrown in my catalina log and I've tried catching them in my Filters, since it would appear that's the logical place to catch 'em (its in the stack trace) - but for some reason, it isn't working ... they're still getting thrown. Any ideas? -- Bric

Re: [tomcat] Re: Use of LANG=en_US in Tomcat configuration file

2004-08-12 Thread Ruth, Brice
Ernesto Echeverría wrote: Sorry for the missing data. File = tomcat5.conf Tomcat Version = Apache Tomcat/5.0 JVM Version = 1.4.1 OS Name = Linux (Red Hat Enterprise Linux) Partly, that's the reason for my question. This seems to be data for scripting. José Ernesto Echeverría José, How was Tomc

Re: Use of LANG=en_US in Tomcat configuration file

2004-08-10 Thread Ruth, Brice
Ernesto Echeverría wrote: Can someone please explain what's the use for this line in the tomcat configuration file? What's the use of it (the line is commented) and what effect does it have on a running container? What value can it take as well? Any other variables can be set in the same file? Than

Re: special chars : é è ê ï etc...

2004-08-05 Thread Ruth, Brice
Thai DANG wrote: Hi all I have troubles with accent. Sometimes, tomcat displays the accent with a "?" instead. I think it is a java configuration pb. I have the version 5.0.27 and this is what I use to launch tomcat : export JAVA_OPTS="-server" export CATALINA_OPTS="-Djava.awt.headless=true -Dfile

Re: Realm configuration not working

2004-08-05 Thread Ruth, Brice
Dennis Dai wrote: On 8/5/2004 9:26 AM, Ruth, Brice wrote: Greetings! I've recently decided to take advantage of Tomcat's authentication mechanism, however, it doesn't appear to be working for me. I've configured a Realm in my context (through the admin tool). It is a DataSou

Realm configuration not working

2004-08-05 Thread Ruth, Brice
Greetings! I've recently decided to take advantage of Tomcat's authentication mechanism, however, it doesn't appear to be working for me. I've configured a Realm in my context (through the admin tool). It is a DataSourceRealm. When I've tested everything, I keep getting pushed out to the error

Re: ajp over ssl

2004-08-04 Thread Ruth, Brice
tomcat. Ipsec would work just as well I suspect. Probably not what you wanted, but it's a suggestion still --David Michael Jürgens wrote: Ruth, Brice wrote: Michael Jürgens wrote: Oh sorry I was a little bit tired in the morning. I want to connect the Apache securesd over an unsecure mediu

Re: ajp over ssl

2004-08-03 Thread Ruth, Brice
Michael Jürgens wrote: Oh sorry I was a little bit tired in the morning. I want to connect the Apache securesd over an unsecure medium (Internet) An my question ist how to connect AJP 1.3 over SSL (not ssh) with jk or jk2. regards, Michael Michael, I believe you'll want to configure your Apache

Re: mod_jk and cache

2004-08-03 Thread Ruth, Brice
master wrote: hmm i don t remember if i have answer to this so i said yes that s this on tomcat port 8080 the changes are correct but on apache it still the old page, so anyone has any idea on how to solve this ? (without restarting java each time) I'm sorry, I don't have any add'l. ideas. I'm n

Re: Host Aliases, Wildcards

2004-08-03 Thread Ruth, Brice
n the tomcat administration interface, it works superb on FQDN's, I just wish it would work as good using wildcards! Tomcat docs on host aliases say nothing about wildcards, so I'm assuming it's not implemented. Would be nice to see a change in this policy. :) On 2004-08-02, a

Re: Weird context.xml default application problem

2004-08-02 Thread Ruth, Brice
I've heard mentioned that in the Tomcat codebase, "ROOT" is treated as a special identifier. As for your problem ... I believe that Tomcat does not support deployment of the default context from the META-INF directory of your web-app. You need to explicitly configure it from server.xml or from

Re: Host Aliases, Wildcards

2004-08-02 Thread Ruth, Brice
gured Apache to talk with Tomcat via JK? J. Lindberg wrote: Thanks for your reply. Yes, there is no problem with Apache web server, using ServerAlias which supports wildcards. It all works fine until it encounters a .jsp file, then it's a no-go. On 2004-08-02, at 18.18, Ruth, Brice wrote: Not

Re: [tomcat] proxy to php app

2004-08-02 Thread Ruth, Brice
Well, Tomcat can't load PHPs, so what server are you using to server the PHP content? Why does Tomcat have to be the proxy, instead of the other way around? Writing a proxy servlet sounds like its going to be painful ... Vic Cekvenich wrote: I can't use Apache. It has to go to Tomcat. Servlets i

Re: TAG Lib problem

2004-08-02 Thread Ruth, Brice
and If I change the attribute in the tld, I need change the attribute in all my jsp, that is very power change. I appreciate your info, but do you know any other work around. Thank a lot. ciao .pcs Ruth, Brice ([EMAIL PROTECTED]) escribió: You may be having a problem with the case of your tag

Re: mod_jk and cache

2004-08-02 Thread Ruth, Brice
ly, and restart Apache for the changes to take effect. Or maybe I've misunderstood your problem? Respectfully, Brice Ruth -- Brice Ruth, Sr. IT Analyst Fiskars Brands Inc http://www.fiskarsbrands.com/ hi, no i don t use the autoconf but that s not really the problem my problem is not abou

Re: Host Aliases, Wildcards

2004-08-02 Thread Ruth, Brice
Not sure about Tomcat, but Apache should be able to handle this with a few well-written mod_rewrite entries. J. Lindberg wrote: Hey all. I've searched the internet about this, but have come up empty handed, so I'll ask you guys; Is it at all possible to use wildcards in host aliases? I have a h

Re: horrible problems with TC4.1 under RedHat Advanced Server

2004-08-02 Thread Ruth, Brice
Just as an FYI - with Sun's JVM, on Redhat ES 2.1 systems, I've seen no problems ... we've been running a production system which averages about 57K visitors, 768K page views a month - on Tomcat 4.1.27 and Sun's 1.4.2 JDK (RPM install). This is running a slightly modified Rackspace kernel deriv

Re: horrible problems with TC4.1 under RedHat Advanced Server

2004-08-02 Thread Ruth, Brice
Well, first off, it appears your problem is related to your JDK, not so much Tomcat - I'm sure you've assumed as much. Have you tried grabbing other JDKs? You seem to be using Sun's JDK (which happens to be running smoothly on two RedHat ES 2.1 systems I have, no modifications were necessary to

Re: [tomcat] proxy to php app

2004-08-02 Thread Ruth, Brice
This is also what we do. http://www.fiskars.com/ is a Struts/Tiles/JSP web-application, http://www.gerberblades.com/ is a PHP application, both run through the same server, Apache+Tomcat. We're not using JK2, we're using the original JK, but either way - if you setup Apache+JK(2), then you can

Re: TAG Lib problem

2004-08-02 Thread Ruth, Brice
You may be having a problem with the case of your tag attribute. Try changing the case of the attribute to all lower-case: "titulo" and see if that helps. Pablo Carretero Sánchez wrote: Hi all, I have a problem with the Jasper compiler when I try to compile a JSP using TagLibs. The configuration

Re: mod_jk and cache

2004-08-02 Thread Ruth, Brice
configuration manually, and restart Apache for the changes to take effect. Or maybe I've misunderstood your problem? Respectfully, Brice Ruth -- Brice Ruth, Sr. IT Analyst Fiskars Brands Inc http://www.fiskarsbrands.com/ - To

Re: Context Descriptors: which directory

2004-07-30 Thread Ruth, Brice
I believe if you put your context XML files in webapps, Tomcat will copy them to the Catalina directory, at which point it will consider *that* context file as the authoritative resource, so updates to your context XML in webapps won't be recognized. Not entirely sure on this, but I've had some

Re: disable URL rewriting for session tracking

2004-07-27 Thread Ruth, Brice
Your fundamental problem is going to be that your container won't be able to know if a client supports cookies until the second request comes along. This is why on the first request, all URLs are rewritten, regardless of if cookies are enabled or not - the container just doesn't know yet. The

Re: Tomcat Datasource -- please help..

2004-07-27 Thread Ruth, Brice
in tool the jndi parameter gets added in GlobalNamingResouce. which is correct way... -Original Message- From: Ruth, Brice [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 27, 2004 11:29 AM To: Tomcat Users List Subject: Re: Tomcat Datasource -- please help.. I believe that should work. I'm out of ideas .

Re: Tomcat Datasource -- please help..

2004-07-27 Thread Ruth, Brice
DataSource ds = (DataSource) env.lookup("jdbc/prototypedb"); conn = ds.getConnection(); -Original Message- From: Ruth, Brice [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 27, 2004 11:07 AM To: Tomcat Users List Subject: Re: Tomcat Datasource -

Re: Tomcat Datasource -- please help..

2004-07-27 Thread Ruth, Brice
oReconnect=true = -Original Message----- From: Ruth, Brice [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 27, 2004 10:04 AM To: Tomcat Users List Subject: Re: Tomcat Datasource In addition to defining the DataSource in Tomcat's admin tool, you'll need to define th

Re: Tomcat Datasource

2004-07-27 Thread Ruth, Brice
Very true, I stand corrected :) Shapira, Yoav wrote: Hi, I wasn't wrong, just unable to read, it appears ;) I thought it was inside a Context declaration. Yoav Shapira Millennium Research Informatics -Original Message- From: Ruth, Brice [mailto:[EMAIL PROTECTED] Sent: Tuesday, Ju

Re: Tomcat Datasource

2004-07-27 Thread Ruth, Brice
Shapira, Yoav wrote: Hi, You'll also need to define a ResourceLink in your Context, that links You only need a ResourceLink if your Resource is defined in GlobalNamingResources. This person's Resource is defined in his/her Context, so a ResourceLink is not needed. Another good idea would b

Re: Tomcat Datasource

2004-07-27 Thread Ruth, Brice
In addition to defining the DataSource in Tomcat's admin tool, you'll need to define the Resource in you web.xml - something like this: Resource reference to a factory for java.sql.Connection instances that may be used for talking to a particular

Re: deploy tool and java web services

2004-07-26 Thread Ruth, Brice
Deploying a WAR to 'standard' Tomcat is as simple as putting the .war file in your Tomcat's webapps directory. This is the simplest deployment. Some applications require custom configuration (JNDI resources, etc.) which need to be configured through the Tomcat admin application (localhost/admin

Re: how I can to see the output in tomcat from windows 2000

2004-07-26 Thread Ruth, Brice
ot;/logs" directory only there are "localhost_log.2004-XX-XX.txt" files but not anyone "Ruth, Brice" wrote:There should be a logs directory in your TOMCAT_HOME directory ... so, if you installed Tomcat to C:\Program Files\Apache Tomcat\ - then look for a "logs&quo

Re: how I can to see the output in tomcat from windows 2000

2004-07-26 Thread Ruth, Brice
There should be a logs directory in your TOMCAT_HOME directory ... so, if you installed Tomcat to C:\Program Files\Apache Tomcat\ - then look for a "logs" directory there. You'll find the same catalina.out file and catalina.err file there. Alberto Marino wrote: Note: forwarded message attached

Re: Help (Started over again) Making Tomcat work with Apache

2004-07-26 Thread Ruth, Brice
No, it means your "ROOT" context is not configured properly. These entries should be in there if Tomcat is seeing your ROOT context correctly. Does localhost:8080/test.jsp load correctly?! That should be a definitive test of if the ROOT context is configured in Tomcat. Btw - if you're not getti

Re: Linux / Apache / Tomcat conf troubles

2004-07-23 Thread Ruth, Brice
erly picked up (Apache will handle 500 errors generated by Apache, Tomcat will handle 500 errors generated by Tomcat). Respectfully, Brice Ruth -- Brice Ruth, Sr. IT Analyst Fiskars Brands Inc http://www.fiskarsbrands.com/ - To uns

Re: tomcat 4.1.29 problem

2004-07-23 Thread Ruth, Brice
Christina Androne wrote: Hello I have an application deployed under tomcat 4.1.29 and recently the web server has started bahaving weird: I make a request to one of the apps servlets and I never get a response to it or get it very difficult. I have placed debug messages all over the servlet so I

Re: Mod_jk problems with Apache 1.3.31 & Tomcat 4.1.30

2004-07-23 Thread Ruth, Brice
blem. Respectfully, Brice Ruth -- Brice Ruth, Sr. IT Analyst Fiskars Brands Inc http://www.fiskarsbrands.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem with default encoding

2004-07-23 Thread Ruth, Brice
directive at the top of your JSP file: <%@ page contentType= "text/html;charset=ISO-8859-1" %> Respectfully, Brice Ruth -- Brice Ruth, Sr. IT Analyst Fiskars Brands Inc http://www.fiskarsbrands.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Help (Started over again) Making Tomcat work with Apache

2004-07-23 Thread Ruth, Brice
needed a feature in web.xml (filter, servlet, etc.) Respectfully, Brice Ruth -- Brice Ruth, Sr. IT Analyst Fiskars Brands Inc http://www.fiskarsbrands.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

Re: Help (Started over again) Making Tomcat work with Apache

2004-07-23 Thread Ruth, Brice
Phillip Blancher wrote: I created a folder in the htdocs directory called WEB-INF which has an web.xml file that has inside of it the following code: http://java.sun.com/dtd/web-app_2_3.dtd";> And I am still getting the prompt to download the file. Phil Phil, Does your mod_jk.conf have an entr

Re: Help (Started over again) Making Tomcat work with Apache

2004-07-22 Thread Ruth, Brice
art Tomcat, restart Apache (to pick up the new mod_jk.conf), then put your test.jsp in webapps/ROOT - and *then* http://localhost/test.jsp *should* work. Respectfully, Brice Ruth -- Brice Ruth, Sr. IT Analyst Fiskars Brands Inc http://www.fiskarsbrands.com/ --

Re: How to configure main web app to skip URL application context

2004-07-22 Thread Ruth, Brice
ntext XML in that directory that has the following content: That's it ... point your browser to your host and you should be in good shape. Be aware - out of the box, Tomcat ships with a simple 'ROOT' application loaded into the 'ROOT' context ... you should remove this from t

Re: Help with configuration

2004-07-22 Thread Ruth, Brice
JK connector. If you bind these with Apache (your Listen directives) - then Tomcat cannot bind them, which means the JK connector between Apache and Tomcat cannot communicate. I'd highly suggest getting your configuration working with only T

Re: Problems with Tomcat, Struts/Tiles, and encoding

2004-07-13 Thread Ruth, Brice
I have a Struts/Tiles application running on Tomcat 4.1.x and Tomcat 5.x with UTF-8 encoding (Polish & Russian character sets, particularly) - I didn't have to do anything special for the response encoding, only for the request encoding. Here's what I put at the top of my JSPs: <%@ page content

Re: Corrupted UTF-8 JSPs?!

2004-06-11 Thread Ruth, Brice
al Message----- From: Ruth, Brice [mailto:[EMAIL PROTECTED] Sent: June 10, 2004 15:20 To: Tomcat Users List Subject: Re: Corrupted UTF-8 JSPs?! Thanks, but I believe the problem is in the WAR packaging, somehow ... because I develop locally, deploy w/o packaging and it works fine - if I packag

Re: Corrupted UTF-8 JSPs?!

2004-06-11 Thread Ruth, Brice
mative in many other ways, too. Great article, thanks! Vernon wrote: There are two recent related articles on Javaworld. They may help you in this regards. --- "Ruth, Brice" <[EMAIL PROTECTED]> wrote: I'm running into a strange issue. I have certain JSPs with UTF-8 encoded

Re: Corrupted UTF-8 JSPs?!

2004-06-10 Thread Ruth, Brice
ime Environment supports UTF-8 and is using it as the default encoding(export JAVA_OPTS=-Dfile.encoding="utf8"). native2ascii UTF-8 encoded characters may help too. Yan -Original Message- From: Ruth, Brice [mailto:[EMAIL PROTECTED] Sent: June 10, 2004 14:00 To: Tomcat Users List

Corrupted UTF-8 JSPs?!

2004-06-10 Thread Ruth, Brice
I'm running into a strange issue. I have certain JSPs with UTF-8 encoded characters in them (polish characters, to be exact). My Ant build.xml precompiles the JSPs using Jasper and then packages the application into a WAR for deployment. When I develop locally with Tomcat 5.0.18, I deploy withou

Re: Help! Moving app from TC4->TC5, blank pages, no errors!

2004-06-10 Thread Ruth, Brice
ss browsers, e.g. if you try IE or Opera? Yoav Shapira Millennium Research Informatics -Original Message- From: Ruth, Brice [mailto:[EMAIL PROTECTED] Sent: Thursday, June 10, 2004 11:52 AM To: Tomcat Users List Subject: Re: Help! Moving app from TC4->TC5, blank pages, no errors! The

Re: Help! Moving app from TC4->TC5, blank pages, no errors!

2004-06-10 Thread Ruth, Brice
Absolutely Shapira, Yoav wrote: Hi, How strange... Is the behavior consistent across browsers, e.g. if you try IE or Opera? Yoav Shapira Millennium Research Informatics -Original Message- From: Ruth, Brice [mailto:[EMAIL PROTECTED] Sent: Thursday, June 10, 2004 11:52 AM To: Tomcat Users

Re: Help! Moving app from TC4->TC5, blank pages, no errors!

2004-06-10 Thread Ruth, Brice
re doing, if anything. Enable the AccessLogValve to see if you're really getting 404s or something else (such as previous 5xx errors) are preventing normal processing. Yoav Shapira Millennium Research Informatics -Original Message- From: Ruth, Brice [mailto:[EMAIL PROTECTED] Sent

Re: Help! Moving app from TC4->TC5, blank pages, no errors!

2004-06-10 Thread Ruth, Brice
ng output statements to your various filters so you can tell what they're doing, if anything. Enable the AccessLogValve to see if you're really getting 404s or something else (such as previous 5xx errors) are preventing normal processing. Yoav Shapira Millennium Research Informatics

Help! Moving app from TC4->TC5, blank pages, no errors!

2004-06-10 Thread Ruth, Brice
I'm in the process of taking an application that we've been deploying to our production/stage/dev servers running TC4.1 to deploying it on our dev server running TC5.0.18. On our local development workstations, we've been deploying to TC5 for quite a while now, with no problems ... I'm not sure

Eclipse+Ant+Tomcat 5 - problems

2004-01-19 Thread Ruth, Brice
1.x appears to have some pretty severe memory leaks with its install/remove operations - if I install/remove my web-app more than 2-3 times, Tomcat (not the Ant task and not Eclipse) runs OutOfMemory ... other users have reported that Tomcat 5 does much better in this arena. Advise on any of these