RE: tomcat 4.1.24 and struts

2003-06-06 Thread Phillip Qin
What is your problem? Be specific. I have been using Tomcat 4.1.24 + struts 1.1rc1 without any trouble. -Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: June 4, 2003 5:50 PM To: Tomcat Users List Subject: Re: tomcat 4.1.24 and struts On Wed, 5 Jun 2002 05:42,

Re: Guide for mod_jk2 + Apache2 + Tomcat 4.1.24

2003-06-06 Thread John Turner
Thanks! I will check it out this weekend. John On Thu, 05 Jun 2003 07:57:36 +0800, Chong Yu Meng [EMAIL PROTECTED] wrote: I've updated my write-up for Tomcat to include integration with Apache2 using mod_jk2. At present, I only cover channel sockets and UNIX sockets. I was not able to get

Limiting processors - WarpConnector

2003-06-06 Thread Dushyanth Harinath
Hi, Iam using Apache 1.3.27, tomcat 4.0.3 , java version 1.4.0 and jakarta-tomcat-connectors-4.0.2-01 in my virtual hosting setup and iam trying to limit the no of java threads spawned by tomcat. The problem is somehow tomcat does'nt use the below settings cos I always see about 99 to 150

Re: security of server.xml

2003-06-06 Thread John Turner
Well, if you put in code, then every time it changes you need to recompile your code, and redeploy your application. If you put it in server.xml, you don't ever have to do that. The security on server.xml is easy: chmod 700 TOMCAT_USER TOMCAT_USER = whatever user Tomcat runs as John On Thu,

Re: mail/Session problem please help

2003-06-06 Thread Ayhan Peker
At 13:19 05/06/03 +0100, you wrote: Hi all I am trying to use mail/Session resource as a global resource and it is not working!! I got stuck. Please help my server.xml is like GlobalNamingResources ResourceParams name=mail/Session parameter

Re: mod_jk windows 2000 pro

2003-06-06 Thread John Turner
Ok, that will never work with your existing configuration. These lines: VirtualHost localhost ServerName localhost in your mod_jk.conf file tell Apache that requests coming in for localhost get the JkMount directives shown a little farther down. There are no JkMounts for the bostondev URL.

RE: Guide for mod_jk2 + Apache2 + Tomcat 4.1.24

2003-06-06 Thread Phillip Qin
I found apache wiki's using jk2 connector is quite helpful for setting up jk2 (http://nagoya.apache.org/wiki/apachewiki.cgi?Tomcat/Jk2Connector) and http://nagoya.apache.org/wiki/apachewiki.cgi?TomcatFAQ/ModJK2OnRedHat makes me realize that it is not necessary building coyote etc before building

Re: Tomcat 4.1 HTTP headers?

2003-06-06 Thread Jim Michael
Thanks! Good info, but the interesting thing is that they claim this has been fixed, when clearly it has not (as of 4.1.24). Does the bug need to be re-submitted? Jim [EMAIL PROTECTED] 6/4/2003 9:40:13 PM This is a known issue. See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14292 for

getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Brandon Goodin
I saw a question similar to this asked in the Archives early in 2002. I didn't see a response to it. So, I hope there is an answer. I have a generic config file that is an xml file. We'll call it my-config.xml. When I load my-config.xml using Classloader.getResourceAsStream(my-config.xml)

Re: getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Dominic Parry
did you close the original stream before making changes and reloading? - Original Message - From: Brandon Goodin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 05, 2003 3:45 PM Subject: getResourceAsStream cached by Tomcat's Classloader? I saw a question similar to this

Re: mod_jk windows 2000 pro

2003-06-06 Thread John Turner
Also, http://bostondev:8080 works because in the default server.xml, localhost is set as the defaultHost. Even though you have Apache's global ServerName set to the bostondev URL, there are no corresponding JkMount statements, so Apache will never send any requests to Tomcat for bostondev.

Admin Tool

2003-06-06 Thread Dominic Parry
Hi I've noticed something funny about the Tomcat Admin tool. If you change details about users with the tool, it removes the roles entry for that user. Has anyone else experience this? Thanks Dom - To unsubscribe, e-mail:

JDBCRealm question

2003-06-06 Thread Norris Shelton
We are authenticating internal users for authorization of the Manager webapp. Currently this uses a JDBC Realm. The problem is that the user account for each of our four environments has a different password for security reasons. We have a custom object that can, given a schema name, look up

RE: getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Brandon Goodin
Yes, it is closed. Brandon Goodin -Original Message- From: Dominic Parry [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 7:44 AM To: Tomcat Users List Subject: Re: getResourceAsStream cached by Tomcat's Classloader? did you close the original stream before making changes and

Re: getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Dominic Parry
I had similar issues with getResourceAsStream which caused me to go another route. I now use: new File(getServletContext().getRealPath(modules.xml)) to read files in. I'm not sure what your needs are, but mine were satisfied by using my method. Hope this helps Dom - Original Message -

RE: getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Brandon Goodin
Thanks Dominic. Unfortuately, this is not being called from within a servlet. Brandon Goodin -Original Message- From: Dominic Parry [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 8:05 AM To: Tomcat Users List Subject: Re: getResourceAsStream cached by Tomcat's Classloader? I

Request parameters are all 'null' after using NTLM login-code

2003-06-06 Thread Friso Geerlings
Hello, I've been working on an Intranet site in JSP, and one of the requirements was an NTLM-login based authorisation. NTLM is a closed Microsoft protocol that sends the username and domain from Internet Explorer tot a Microsoft webserver. We've been able to implement this in JSP using

Re: Request parameters are all 'null' after using NTLM login-code

2003-06-06 Thread Jason Bainbridge
NTLM is a bit of a nightmare to create custom code for, I recommend you either plug Tomcat into IIS and use IIS's authentication and then use request.getRemoteUser() to get the details or my preferred method is to use the filter available with JCIFS (http://jcifs.samba.org), just change a few

SSL client authentication with IE 6.0

2003-06-06 Thread Duma Rolando
I'm running Tomcat 4.1.24 standalone with SSL client authentication enabled.Internet Explorer 6.0 when I try to access the server pops up a window that ask me which certificate will be used for client authentication, but the list of certificates is empty! I've tested my browser on apache with

Re: mod_jk windows 2000 pro

2003-06-06 Thread JB97782
I appreciate all your help, but I don't know xml so I can not change the server.xml file. I can't find any virtual host or anything. I'll just leave it the way it is. typing in :8080 isn't so bad. Thanks! Jim

RE: getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Larry Meadors
Hey Brandon, Are you using this code to get a classloader? Thread.currentThread().getContextClassLoader(); If not, you are not getting tomcat's you are getting the system one. Larry [EMAIL PROTECTED] 06/05/03 8:04 AM Yes, it is closed. Brandon Goodin -Original Message- From:

JSP character conversion problem

2003-06-06 Thread Jeroen Zwartepoorte
Hello, We've got a problem with Tomcat 4.1.24. Data is entered and stored in a MySQL database using a JSP/Struts based web application. This process works fine. The input is converted correctly to UTF-8 and to ISO-8859-1 when stored in MySQL. However, when the data is retrieved again (which also

Resource Reference and server.xml

2003-06-06 Thread Jim Kennedy
One of the main reasons of using resource ref's in code is because you get a level of indirection. I see that level of indirection in the J2EE ref impl from Sun, but I don't see that in Tomcat. How can you specify a datasource (let's say) in the web.xml as a res ref different than the one

Tomcat JDBC problem

2003-06-06 Thread Jason Lanpher
Hi all, I am having a problem making the MySQL JDBC driver version 3 work with Tomcat correctly. I had previously used MySQL JDBC driver version 1 and developed a couple of programs to access my MySQL database. The programs worked just fine with this version of the driver. When I went

Running Tomcat As Service Errors Location

2003-06-06 Thread Lior Shliechkorn
Hello, If I run Tomcat as a service, do I have to change all the catch(Exception) ... to log the errors in a log file? I used to run Tomcat as Standalone and had System.err.println()s when an exception was caught. Thanks, Lior - Do you Yahoo!? Free online

RE: Admin Tool

2003-06-06 Thread Shapira, Yoav
Howdy, Search the archives: this has been brought up before. Yoav Shapira Millennium ChemInformatics -Original Message- From: Dominic Parry [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 9:48 AM To: Tomcat Users List Subject: Admin Tool Hi I've noticed something funny about

RE: getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Shapira, Yoav
Howdy, I had similar issues with getResourceAsStream which caused me to go another route. I now use: new File(getServletContext().getRealPath(modules.xml)) to read files in. Just remember if you deploy in a packed war file the above will NPE every time. Yoav Shapira This e-mail, including

RE: JSTL and EL question - SOLVED

2003-06-06 Thread Karr, David
The setup can be a little simpler than this. The taglib jar can contain the TLD for the taglib in the META-INF directory of the jar. If it is present there, you do not have to deploy the TLD separately. In addition, if the TLD is present there, you do not have to have the explicit taglib map in

RE: getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Shapira, Yoav
Howdy, When I load my-config.xml using Classloader.getResourceAsStream(my-config.xml) everything works great. However, when I make a change to that file and again call Classloader.getResourceAsStream(my-config.xml) the changes are not picked up and the same initial resource is returned. How do I

RE: Startup error

2003-06-06 Thread Luc Foisy
Nobody can point me in the right direction? Would this be the right RPM to fix this? libstdc++-3.2.2-5.i386.rpm OR this? glibc-2.3.2-11.9.i686.rpm (this package supplies libc.so.6, that that what I need) I am lost here, every other install of tomcat that I have done was fine. I am thinking when I

RE: Tomcat JDBC problem

2003-06-06 Thread Pitre, Russell
are you using com.mysql.jdbc.Driver? -Original Message- From: Jason Lanpher [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 11:08 AM To: 'Tomcat Users List' Subject: Tomcat JDBC problem Hi all, I am having a problem making the MySQL JDBC driver version 3 work with

upgrade from tomcat4.1.12 to 4.1.24

2003-06-06 Thread Xavier Ambrosioni
Hi all, I upgraded my tomcat installation from 4.1.12 to 4.1.24. Now I have the following problem when I run my webapp: java.lang.ClassNotFoundException: org.apache.catalina.servlets.CGIServlet Someone know why I have this error ? Which jar files contains this class ? thank you for your

RE: JSTL and EL question - SOLVED

2003-06-06 Thread Schwartz, David (CHR)
Thats a great idea much easier to implement. How can I determine if the jar file has the tld? More specifically, I'm using the jakarta dbtags. do they package it that way? -Original Message- From: Karr, David [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 11:21 AM To: Tomcat

Help with registering a listener

2003-06-06 Thread Vijay Kandy
Hello, Could some one please tell me how to register a listener with Tomcat 4? When I add: listener listener-classTnTSearchCleanUp/listener-class /listener within web-app element, tomcat throws 404 errors. Also, I did not find a listener element defined in

RE: getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Brandon Goodin
I have tried it both ways. My notion is that it has to do with the fact that the getResourceAsStream is being called in a static method and the resulting InputStream, which is wrapped in an InputStreamReader, is passed into an object that is a static variable in my BaseDAO class. So, because the

RE: Tomcat JDBC problem

2003-06-06 Thread Jason Lanpher
Yes I am using com.mysql.jdbc.Driver Here is the rest of the version numbers of the system. RedHat 7.2 system MySQL 3.56 Java 1.4.1_02 JDBC/MySQL 3.08 Jason Lanpher [EMAIL PROTECTED] http://www.stealthnetworking.com Remember there are only

Returning a Resultset...........best practice question

2003-06-06 Thread Pitre, Russell
Running: Tomcat 4.1.24, JSDK 1.4.0_03 I'm writing a class to return a resultSet to use in a JSP page or at least i think thats what i want to do. Whats the best practice to return that resultset.As the class is written below, when i try to iterate through the resultset in the jsp page i

RE: getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Larry Meadors
Are the static variables transient? If not, the session manager may persist them on a reload. [EMAIL PROTECTED] 06/05/03 9:41 AM I have tried it both ways. My notion is that it has to do with the fact that the getResourceAsStream is being called in a static method and the resulting InputStream,

RE: Help with registering a listener

2003-06-06 Thread Shapira, Yoav
Howdy, Listeners are a servlet specification 2.3 feature, so you wouldn't find them in the DTD version 2.2. Your XML listener element is correct and sufficient to register a listener in a servlet specification 2.3 container, like tomcat 4.x. The listener class must be available to tomcat: the

RE: JSTL problem (was Oracle Type 4 Driver)

2003-06-06 Thread Schwartz, David (CHR)
Jason, I finally cleaned it up got it working! Thanks for your help. I there a way to add that datasource info to an xml file just use the dbtags query string within the jsp file? (simialr to the way you describe using jndi)? Now on to the jndi stuff... -Original Message- From: Jason

RE: getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Brandon Goodin
When I reload the webapp as a whole it is fine (via manager or a tomcat restart). But, when I want to reload the particular config while the app is running, it returns the original resource and not the updated one. Brandon Goodin -Original Message- From: Larry Meadors [mailto:[EMAIL

RE: Help with registering a listener

2003-06-06 Thread Vijay Kandy
Hi Yoav, Thanks for your reply. It makes sense now. My web.xml starts with ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN http://java.sun.com/j2ee/dtds/web-app_2_2.dtd; Do I need to change anything there? Thanks

mod_jk for Apache 2.0.45 not working with 2.0.46

2003-06-06 Thread John Turner
Hi - I just updated my Win32 Apache to 2.0.46. The most recent mod_jk.dll file I can find is 2.0.45. This does not work with Apache 2.0.46. I downgraded mod_jk.dll to 2.0.43, and it DOES work with Apache 2.0.46. I used the same mod_jk.conf file for both DLLs. Has anyone else experienced

Re: upgrade from tomcat4.1.12 to 4.1.24

2003-06-06 Thread Tim Funk
Rename $TOMCAT_HOME/server/lib/servlets-cgi.renametojar to $TOMCAT_HOME/server/lib/servlets-cgi.jar and edit $TOMCAT_HOME/conf/web.xml to enable the cgi servlets -Tim Xavier Ambrosioni wrote: Hi all, I upgraded my tomcat installation from 4.1.12 to 4.1.24. Now I have the following problem when

Re: Guide for mod_jk2 + Apache2 + Tomcat 4.1.24

2003-06-06 Thread Duccio Fallani
At 07.57 05/06/2003 +0800, you wrote: I've updated my write-up for Tomcat to include integration with Apache2 using mod_jk2. At present, I only cover channel sockets and UNIX sockets. I was not able to get JNI to work. You can view the whole document at :

RE: Tomcat JDBC problem

2003-06-06 Thread Pitre, Russell
I definitely new to all this stuff but i was able to successfully use the driver here's what i did... 1.. Put mysql-connector-java-3.0.8-stable-bin.jarin CATALINA_HOME\common\lib 2.. Didn't worry about setting the classpath for it... 3.. Server.xml stuff

Re: JSTL and EL question - SOLVED

2003-06-06 Thread Jeff Knox
Ah, my bad. I thought you were declaring the tab library in the WEB.INF file kind of like you can declare your database connection: context-param param-name javax.servlet.jsp.jstl.sql.dataSource /param-name

Re: upgrade from tomcat4.1.12 to 4.1.24

2003-06-06 Thread Xavier Ambrosioni
thanks, it's ok. Now I have another problem! java.lang.ClassNotFoundException: org.apache.commons.logging.impl.Log4jFactory I found this class in commons-logging.jar file in $TOMCAT_HOME/server/lib. So, why I have this error ? In my previous installation of tomcat, they put this jar file in

503 Service Temporarily Unavailable

2003-06-06 Thread Emmanuel.Leguy
Hello, OS: debian woody Apache: 1.3.27 tomcat: 4.1.24 mod_jk2: compiled from connectors 4.1.24 sources When I connect to http://myhost.domain.fr/examples/ apache sends a 503 error: The servlet container is temporary

Re: commons-logging not working [was log4j not working]

2003-06-06 Thread Jacob Kjome
You are using commons-logging and not log4j directly. Please don't state that log4j isn't working when you aren't using it directly. I don't have the slightest clue of how to get your commons-logging config working, but one fix is to dump commons-logging and use log4j directly. You will have

Tomcat Manager deploy and undeploy

2003-06-06 Thread Phillip Qin
I finally had my Catalina-Ant undeploy task working after I included context.xml into my war's META-INF directory. What this deployment doing is - war is uploaded to $CATALINA/work/Standalone/my.host/manager; - war is unpacked into $CATALIAN_HOME/webapps/myapp; - context.xml is extracted to

RE: getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Brandon Goodin
Are you using this code to get a classloader? Thread.currentThread().getContextClassLoader(); If not, you are not getting tomcat's you are getting the system one. Are you sure this is true? A ClassLoader can have a parent ClassLoader. But, a class does not maintain a single copy across all

Re: Tomcat Manager deploy and undeploy

2003-06-06 Thread Jacob Kjome
One clarification and a solution... At 12:48 PM 6/5/2003 -0400, you wrote: I finally had my Catalina-Ant undeploy task working after I included context.xml into my war's META-INF directory. What this deployment doing is - war is uploaded to $CATALINA/work/Standalone/my.host/manager; - war is

Configuring SSL on Tomcat

2003-06-06 Thread Eugene van den Hurk
Hello, I've managed to configure SSL ok on port 443 with Tomcat. How do you configure Tomcat to only run certain pages under SSL as opposed to the entire site? Thanks, Eugene. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

stdout log file for Tomcat Windows Service

2003-06-06 Thread Hua Hou
I am running Tomcat 4.1.24 as Windows Service in production environment. I have a server_stdout.log file for logging the stdout. However, I have two problems with this log file: (1) I added -verbose:gc option as the JVM option when install the Windows service, however, no GC info is logged in

Re: Guide for mod_jk2 + Apache2 + Tomcat 4.1.24

2003-06-06 Thread Chong Yu Meng
Duccio Fallani wrote: Weeks ago, I try to setup Tomcat mod_jk2 + Apache2 + Tomcat 4.1.24 with SSL and Tomcat CLIENT-CERT authentication !!! There are bugs in tomcat-jk2.jar co., I solve all my problem download and using tomcat-connectors-1.1M1.jar !!! Not sure if I understand you, Duccio ...

RE: getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Larry Meadors
I think you are right, but I always use Thread method because it works even in a static method - you do not need 'this' for it to work. I prefer having one way to do this instead of two - that way I can think less about how to get the CL, and more about the problem it will help me solve (and I

RE: getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Brandon Goodin
Aaaah. A man after my own heart! Keep it simple. Brandon Goodin -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 11:12 AM To: [EMAIL PROTECTED] Subject: RE: getResourceAsStream cached by Tomcat's Classloader? I think you are right, but I

performance config

2003-06-06 Thread Euan Guttridge
Question for production admins: I am preparing a tomcat standalone installation for a production environment. I would be very interested to hear your opinions on best performance config setup. Details and params I am specifically considering below: Params: JVM ..JAVA_OPTS (eg -server)

RE: Tomcat Manager deploy and undeploy

2003-06-06 Thread Phillip Qin
Yes, the classes and jars are unpacked to work/my.host/myapp too. I use Digester to parse my xmls. I'll give getResourceAsStream a try. -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: June 5, 2003 1:04 PM To: Tomcat Users List Subject: Re: Tomcat Manager deploy and

problem with updating an web app through manager app (linux work,win no)

2003-06-06 Thread Emerson Cargnin
I'm having a strange problem, in linux, if I upload a war through manager app, remove it , and upload again, it works fine, but in windows me, with the same tomcat version (4.1.26), it uploads ok, remove ok, but when i try to upload the same war as before, i t says : FAIL - War file upLoad.war

RE: problem with updating an web app through manager app (linux work, win no)

2003-06-06 Thread Phillip Qin
Looks like some files are not removed. I had similar problem on Windows, my struts.jar under WEB-INF/lib never got removed. Linux is OK. Try put context.xml into META-INF. -Original Message- From: Emerson Cargnin [mailto:[EMAIL PROTECTED] Sent: June 5, 2003 1:28 PM To: [EMAIL PROTECTED]

package basicServlets does not match directory error message... help !

2003-06-06 Thread DominskiS
Hi I'm a Java student starting to learn about Tomcat and Servlets, and i am trying to run the Servlets using JBuilder 8 Personal. I loaded a basicServlets package that contains one class called BasicServlet. When I tried to compile the class the error message said: BasicServlet.java: Error #:

Re: problem with updating an web app through manager app (linux work, win no)

2003-06-06 Thread Emerson Cargnin
what would be this context.xml? The problem is that i'm at work, and i let my home computer on, with tomcat, but i'm having that problem, can't deploy the same app two times : ) If you could sday more about how the context work and an exemple could be helpful thanks in advance emerson Phillip

package basicServlets does not match directory error message... help !

2003-06-06 Thread DominskiS
It seems I have corrected the previous error but now have an error message that says: BasicServlet.java: Error #: 302 : cannot access class javax.servlet.GenericServlet; java.io.IOException: class not found: class javax.servlet.GenericServlet at line 4, column 22 Thanks Joseph Hi

RE: problem with updating an web app through manager app (linux w ork, win no)

2003-06-06 Thread Phillip Qin
I assume that you put your webapp's context in server.xml, something like Context path=/myapp docBase=myapp debug=5 reloadable=true crossContext=false Logger className=org.apache.catalina.logger.FileLogger prefix=myapp_log. suffix=.txt timestamp=true/

Re: Tomcat Manager deploy and undeploy

2003-06-06 Thread Paul Christmann
Phillip Qin wrote: - war is uploaded to $CATALINA/work/Standalone/my.host/manager; - war is unpacked into $CATALIAN_HOME/webapps/myapp; Jacob Kjome wrote: completely false I have to agree with Phillip -- I've seen (and reliably reproduced) this behavior with Tomcat 4.1.24-LE. The only way I

Embedded Apache

2003-06-06 Thread Tomislav Miladinovic
Hi All, After while I am back on line and my question is: Has any one have experience working with embedded version of Apache server for the VxWorks RTOS, if yes let me know please I am curious about portability, performance, ... . Thanks, Tomislav

Sharing a connection pool among contexts

2003-06-06 Thread Scott
Hi, I have configured the commons-dbcp datasource as a JNDI resource for MSSQL and Oracle and all is working as expected. However, as I understand, it is only possible to keep a factory as a resource and so a new datapool must be created everytime a JNDI lookup is done. I would like to share a

[SOLVED]RE: getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Brandon Goodin
Well, here is how I solved my problem: -- code start -- String resource = my-config.xml; ClassLoader loader = Thread.currentThread().getContextClassLoader(); URL url = loader.getResource(resource); Reader reader = new FileReader( new File( url.getFile())); -- code stop --

logic:forward tag and tile definitions...

2003-06-06 Thread hegerich, mike
Hi, In a struts logic:forward tag can the forward referenced by the name attribute be a global forward where the path is a tile definition? This does not seem to be the case, but I want to verify. I can forward to the same page defined by the tile definition using an ActionForward in an Action

RE: [SOLVED]RE: getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Shapira, Yoav
Howdy, Please note your approach will fail when running from a packed .war file, as the new File(..) will throw an exception. This might be OK for your environment, but is important to keep in mind for portability. Yoav Shapira Millennium ChemInformatics -Original Message- From:

RE: Help with registering a listener

2003-06-06 Thread Shapira, Yoav
Howdy, My web.xml starts with ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN http://java.sun.com/j2ee/dtds/web-app_2_2.dtd; Do I need to change anything there? Change it to a 2.3 DTD. You can copy and paste from

RE: Tomcat Manager deploy and undeploy

2003-06-06 Thread Phillip Qin
There is nothing wrong with both of you. My interpretation is inaccurate. It should be: 1. *Tomcat Manager* deployed myapp from myapp.war 2. *Tomcat* unpacked myapp.war because unpackWar=true in server.xml Since context's docBase is the war (if deployed by *Tomcat Manager*), it makes no sense

RE: [SOLVED]RE: getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Phillip Qin
Because Tomcat Manager deploys webapp from war. -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: June 5, 2003 2:50 PM To: Tomcat Users List Subject: RE: [SOLVED]RE: getResourceAsStream cached by Tomcat's Classloader? Dang it! I knew it was too good to be true.

RE: [SOLVED]RE: getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Filip Hanik
packed WARs occur all the time, especially if they are inside an EAR file Filip -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 11:50 AM To: Tomcat Users List Subject: RE: [SOLVED]RE: getResourceAsStream cached by Tomcat's

RE: [SOLVED]RE: getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Shapira, Yoav
Howdy, Dang it! I knew it was too good to be true. Well, it works just fine for me. I do not deal with WARs. Anywyas, why would anyone want to run from a packed WAR anyways (instead of unpacked)? I'm not being sarcastic. I am just trying to think of an instance where it makes sense. Two cases

Re: Sharing a connection pool among contexts

2003-06-06 Thread Emerson Cargnin
I do it in a different way : I have a servlet in charge to set all pools, and I have a class with statics methods to manage the pools, creating, test, and show their use. This class is shared with all contexts through a jar in common/lib. So I have a servlet, with all configuration of the

RE: [SOLVED]RE: getResourceAsStream cached by Tomcat'sClassloader?

2003-06-06 Thread Larry Meadors
Really? I guess I have seen enough right answers from you to not doubt it, but I thought that using the URL would work... Larry [EMAIL PROTECTED] 06/05/03 12:37 PM Howdy, Please note your approach will fail when running from a packed .war file, as the new File(..) will throw an exception.

Re: Startup error

2003-06-06 Thread Tim Shaw
FWIW. RH 8.0 'Server' install also had this problem. I had to install 'compat-libstdc++-7.3-2.96.110.i386.rpm' by hand (off the installation CDs). Workstation install was fine (already did it I guess. Looks like RH 9 has the same quirk? tim Luc Foisy wrote: Nobody can point me in the right

RE: [SOLVED]RE: getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Brandon Goodin
I checked out tomcat from the HEAD and found the following information in the WebAppClassloader: I see now that the WebAppClassLoader does intend to have a cache for the loaded Resources (some day). code snip WebappClassLoader - Line 1211 ... // (0) Check for a cached copy of this

Re: Startup error

2003-06-06 Thread John Turner
I didn't encounter it with RH 9, but I think I did a custom install. John On Thu, 05 Jun 2003 20:41:34 +0100, Tim Shaw [EMAIL PROTECTED] wrote: FWIW. RH 8.0 'Server' install also had this problem. I had to install 'compat-libstdc++-7.3-2.96.110.i386.rpm' by hand (off the installation CDs).

RE: [SOLVED]RE: getResourceAsStream cached by Tomcat'sClassloader?

2003-06-06 Thread Shapira, Yoav
Howdy, Seeing your comment made me think twice, and then test it out... And I was wrong! The code below works even in a packed .war it seems. (Tomcat 4.1.24, JDK 1.4.1, Solaris 8, autoDeploy=false, unpackWARS=false, test.war attached). Sorry about that -- my mistake. Yoav Shapira Millennium

help with SEVERE: Exception starting filter Set Character Encoding

2003-06-06 Thread Ian Warner
Hi, I get the error SEVERE: Exception starting filter Set Character Encoding java.lang.ClassNotFoundException: filters.SetCharacterEncodingFilter when I start tomcat (see below). My environment is AIX 5.1: I loaded Java 2 SDK 1.4 (port for aix from ibm website) and tomcat 5.0 from apache

JDBC and MS Access DB connectivity.

2003-06-06 Thread Hassan
I'm trying to use DataSource objects (eventually connection pooling) with MS Access Database. My question is, do we have to have an ODBC-JDBC Bridge driver in place in $CATALINA_HOME/common/lib/ location for using javax.sql.DataSource objects to create connections to the database. If so, where do

RE: help with SEVERE: Exception starting filter Set Character Encoding

2003-06-06 Thread Shapira, Yoav
Howdy, I get the error SEVERE: Exception starting filter Set Character Encoding java.lang.ClassNotFoundException: filters.SetCharacterEncodingFilter when I start tomcat (see below). Do you have this class anywhere in your distribution? I loaded Java 2 SDK 1.4 (port for aix from ibm website)

RE: Startup error

2003-06-06 Thread Luc Foisy
I bet the workstation install worked because it installed Netscape or Mozilla in the newer versions. So it is in fact the compatibility rpm, thanks -Original Message- From: Tim Shaw [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 3:42 PM To: Tomcat Users List Subject: Re: Startup

[OFF-TOPIC] Re: JDBC and MS Access DB connectivity.

2003-06-06 Thread John Turner
MS Access = bad bridge driver = bad If you must use MS Access, you will need a bridge driver. The best you can do is a Type 3 driver, like the one at easysoft.com. If that isn't an option, the Type 1 bridge driver is part of the Java 2 SDK: package sun.jdbc.odbc. Check the SDK docs. John

Re: help with SEVERE: Exception starting filter Set Character Encoding

2003-06-06 Thread Ian Warner
Hi, firstly, thanks for the quick response. Let me answer you last comment first re Out of curiosity, why would you expect an AIX port of tomcat from IBM (or anyone else)? Tomcat is pure Java -- there's no more AIX port than Solaris port ;) Here's what led me to believe I need to put down the

Re: help with SEVERE: Exception starting filter Set Character Encoding

2003-06-06 Thread Ian Warner
It would be handy if I read you comment properly, I see you were refering to Tomcat not the SDK. Sorry - Ian - Original Message - From: Ian Warner [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, June 05, 2003 4:01 PM Subject: Re: help with SEVERE: Exception

Re: [OFF-TOPIC] Re: JDBC and MS Access DB connectivity.

2003-06-06 Thread Jason Bainbridge
On Fri, 6 Jun 2003 04:48, John Turner wrote: MS Access = bad bridge driver = bad Couldn't have said it better myself... Is there any reason you must use MS Access? I highly recommend that you use MySQL or Postgres instead, they are much better solutions and give you a type 4 jdbc driver you

Re: [OFF-TOPIC] Re: JDBC and MS Access DB connectivity.

2003-06-06 Thread Hassan
Hi John, From the functional specs on http://industry.java.sun.com/products/jdbc/drivers, EasySoft's driver does not support DataSources! From Tomcat 4 documentation, it appears as you need to have a jar file (physical copy) of the driver placed in common/lib directory in order for Tomcat to set

RES: Sharing a connection pool among contexts

2003-06-06 Thread Jose Euclides da Silva Junior - DATAPREVRJ
I do it in another different way: First - I have a JavaBean that sets my connection pools Second - My main servlet' init method uses this Java Bean instance to get an data source pool object Third - create my sql... I guess it's right. Euclides. -Mensagem original- De: Emerson Cargnin

Re: [OFF-TOPIC] Re: JDBC and MS Access DB connectivity.

2003-06-06 Thread Hassan
Hi Jason, Your advise sounds very interesting and i'll look into the MySQL database to check the available possibilities. The only reason I'm using Access is that my current staff is affluent in that. Hassan - Original Message - From: Jason Bainbridge [EMAIL PROTECTED] To: Tomcat Users

Re: [OFF-TOPIC] Re: JDBC and MS Access DB connectivity.

2003-06-06 Thread Jason Bainbridge
On Fri, 6 Jun 2003 05:37, Hassan wrote: Your advise sounds very interesting and i'll look into the MySQL database to check the available possibilities. The only reason I'm using Access is that my current staff is affluent in that. This is getting further off-topic but if it leads to one less

Sun JVM vs. JRockit

2003-06-06 Thread Victor Popiol
Info for those interested in benchmarking Tomcat + JVM. Original configuration: Windows 2000. 256 MB Ram JVM: 1.3.1 Tomcat 4.0.4 with Jasper2 Application is struts based (1.0.2) This server was upgraded to Tomcat 4.1.24 and JDK 1.4.1 After having set up everything, I realized that the

mod_jk2 and shm

2003-06-06 Thread James Courtney
I keep getting errors like the following from my mod_jk2 installation. Everything seems to work fine but my apache_error log has errors relating to the shm worker which I don't even configure in workers.properties since I don't see that it's in any way required for a simple channel.socket

RE: JSTL and EL question - SOLVED

2003-06-06 Thread Karr, David
The jar file is not encrypted, it's just a zip file. Look in the META-INF directory for a .tld file. This file will also tell you what URI you need to use in the uri attribute of the taglib directive in your JSP page. -Original Message- From: Schwartz, David (CHR) [mailto:[EMAIL

get some manners

2003-06-06 Thread Simone Leigh
now all i managed to do is get these condescending nasty emails. i am a ceramic sculptor i have no interest in this conversation. i have followed the unsubscribe directions MANY TIMES to no avail. now i get snotty messages? who are you people? get some manners simone From: Angus Mezick [EMAIL

GET SOME MANNERS!!!!! Re: TO SIMONE LEIGH

2003-06-06 Thread Simone Leigh
it's not working, that's why i asked! you people are driving me nuts From: Angus Mezick [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] Date: Tue, 3 Jun 2003 13:24:37 -0400 To: Tomcat Users List [EMAIL PROTECTED] Subject: TO SIMONE LEIGH Please read the whole

  1   2   3   4   >