RE: how to include web.xml in war file

2004-12-20 Thread Sann Maung
Hi, Thanks. Now I get the idea and trying. But here is my extract of build.xml property name=dist.home value=${basedir}/dist/ property name=build.home value=${basedir}/build/ property name=src.home value=${basedir}/src/ war destfile=${dist.home}/${app.name}.war webxml=${src.home}/web.xml

Preparing for subfolder/subaddresses

2004-12-20 Thread Peter Lauri
Best groupmember, I am developing a web application that will in the end consist of three subdomains: wap.mydomain.com www.mydomain.com client.mydomain.com client will all be run over HTTPS, others HTTP. How do I create the general folder structure for this? They will all have separate

mod_jk2 future?

2004-12-20 Thread g . lams
Hi all, I've a jsp-based application (interface to an oracle db) that will go in production in January. The server is actually configured this way: SuSe 9.0, Apache 2.0.48 (with a virtual host redirecting everything to Tomcat), Tomcat-5.0.28, configured with mod_jk2 because I read that md_jk2

Re: mod_jk2 future?

2004-12-20 Thread Mladen Turk
[EMAIL PROTECTED] wrote: I read (by chance?) somewhere on the jakarta web site that mod_jk2 (aka JK2) is officially unsupported since mid-November. Well, it is actually not supported for a much longer time :). At this point I'm not sure what to do: should I use JK? Should I stay with mod_jk2

RE: mod_jk2 future?

2004-12-20 Thread Dale, Matt
The recommended ways to go are JK or mod_proxy_ajp. Ta Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 20 December 2004 11:17 To: [EMAIL PROTECTED] Subject: mod_jk2 future? Hi all, I've a jsp-based application (interface to an oracle db) that will go

Re: Preparing for subfolder/subaddresses

2004-12-20 Thread QM
On Mon, Dec 20, 2004 at 06:10:59PM +0700, Peter Lauri wrote: : I am developing a web application that will in the end consist of three : subdomains: : : wap.mydomain.com : www.mydomain.com : client.mydomain.com : : How do I create the general folder structure for this? They will all have :

Re: mod_jk2 future?

2004-12-20 Thread QM
On Mon, Dec 20, 2004 at 12:16:51PM +0100, [EMAIL PROTECTED] wrote: : Tomcat), Tomcat-5.0.28, configured with mod_jk2 because I read that md_jk2 : was the connector to use with apache 2.x.x Where did you read this? I ask because plain mod_jk (aka version 1) works just fine with Apache 2.x. A

Re: Adding Host/ withOUT server restart?

2004-12-20 Thread Peter Rossbach
Hello Robert, you can to this via JMX MBeanFactory ( createStandardHost, removeStandardHost). public String createStandardHost(String parent, String name, String appBase, boolean autoDeploy, boolean deployXML, boolean

Re: strange tomcat Behavior need urgent help.

2004-12-20 Thread Eric Rotick
This is a MySql problem. It shuts down connections if they have been idle for too long. You need a pool manager that takes care of this. Something like c3p0 will do the job. On Sun, 19 Dec 2004 12:28:09 + (GMT), Krishnakant Mane [EMAIL PROTECTED] wrote: hello all, I am Krishnakant Mane

Re: strange tomcat Behavior need urgent help.

2004-12-20 Thread Parsons Technical Services
The pool manager built into Tomcat handles this just fine. Also ensure you have the latest drivers. Doug - Original Message - From: Eric Rotick [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, December 20, 2004 7:39 AM Subject: Re: strange tomcat Behavior need

Re: mod_jk2 future?

2004-12-20 Thread g . lams
Actually I don't remember. When we decided to use Tomcat instead of Websphere a few months ago, I read quite a lot of documentation/articles (I'm not a developer, but the systems' administrator of our linux servers). I just remember reading the following line because I saved it: jk2 is a

[ANN] Jakarta Tomcat Connectors 1.2.8-rc-1 released

2004-12-20 Thread Mladen Turk
The Apache Jakarta Tomcat team is proud to announce the immediate availability of Jakarta Tomcat Connectors 1.2.8-rc-1 (Relase Canditate 1). We expect it to be ratified as a Stable release when the vote takes place in the next week. Please see the

Re: %@page isThreadSafe=false % does not work

2004-12-20 Thread Kurt Overberg
I have a situation in my webapp where the user (administrator) can 'Publish' items. I need to make it so only one person can 'publish' at a time. Would this be a valid use of 'isThreadSafe'? Would it make user #2 wait until the page had finished processing for user #1? It would save me from

Re: Tomcat 5.5 classloading blues

2004-12-20 Thread Henrik Vendelbo
Everything ran great. I got Tapestry examples working fine. And then based on working web apps, I moved some of the Tapestry jars into shared/lib. All of a sudden the classloader couldn't find ServletInputStream. That's a bit bizarre Exactly my point. I know that if you have multiple

Change value of Header Server

2004-12-20 Thread Andras Balogh
Hello, We are running a web application with Tomcat5.0. As i have seen Tomcat returns this as Response Headers: Server: Apache-Coyote/1.1 It is possible to change this value? According to some this is a security issue showing what Server we are using ( i don't agree with that). Can you

Re: Change value of Header Server

2004-12-20 Thread Tim Funk
Its a Connector attribute. In 5.5.3 or better. server=WayTooParanoid/1.618 -Tim Andras Balogh wrote: Hello, We are running a web application with Tomcat5.0. As i have seen Tomcat returns this as Response Headers: Server: Apache-Coyote/1.1 It is possible to change this value? According to

Re: Tomcat 5.5 classloading blues

2004-12-20 Thread Andreas Vombach
Hello, I'm new to the list and did not read this thread from the beginning but also use tapestry (3.0) on tomcat. I keep tapestry-3.0.jar and tapestry-contrib-3.0.jar in the lib dir of the (to be deployed) war file, the rest goes to /shared/lib except xercesImpl.jar and xml-apis.jar which go in

Admin app fails with MBeanServer is not available

2004-12-20 Thread Andy Cohen
I've searched the mailing list archives, and the net at large, but I haven't seen anyone report this problem for Tomcat 5: I downloaded and installed Tomcat 5.5.4, and version 5.5.4 of the Admin webapp. The Admin webapp starts up fine, but when I click on the Environment Entries button in the

autodeploy

2004-12-20 Thread Andreas Vombach
For some reason if I use a db pool the auto-deploy of war files does not seem to work anymore. The change in the server.xml is that the jndi-ressources have to be declared. Are there any known influences? The dbcp only works if I declare it for my app, a global one is not being found. Service

Re: Tomcat 5.5 classloading blues

2004-12-20 Thread Jacob Kjome
Quoting Andreas Vombach [EMAIL PROTECTED]: Hello, I'm new to the list and did not read this thread from the beginning but also use tapestry (3.0) on tomcat. I keep tapestry-3.0.jar and tapestry-contrib-3.0.jar in the lib dir of the (to be deployed) war file, the rest goes to /shared/lib

Tomcat/JVM crashes on Linux

2004-12-20 Thread Greg Lappen
Hello- Has anyone had a problem with Tomcat 5.0.28 crashing on Linux with no error messages? My production server running with JDK 1.4.2_06, RedHat EL 3.0 just crashes, no core dump, no errors in catalina.out, no clues. Sometimes it goes for days, sometimes it happens several times in one

Re: Tomcat 5.5 classloading blues

2004-12-20 Thread Andreas Vombach
Yes, if you look into the commons-dbcp 1.2.1 source, BasicDataSource.java, line 757 ff: // Load the JDBC driver class if (driverClassName != null) { try { Class.forName(driverClassName); } catch (Throwable t) { String message =

Re: Tomcat/JVM crashes on Linux

2004-12-20 Thread Wade Chandler
Greg Lappen wrote: Hello- Has anyone had a problem with Tomcat 5.0.28 crashing on Linux with no error messages? My production server running with JDK 1.4.2_06, RedHat EL 3.0 just crashes, no core dump, no errors in catalina.out, no clues. Sometimes it goes for days, sometimes it happens

Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28

2004-12-20 Thread David Uctaa
I am running Tomcat 5.0.28 on Win XP SP1. We have DB2 running on 2 iSeries servers. When I attempt to look up a DataSource from JNDI to get a connection from it, the JNDI lookup is returning null. I am using IBM's JTOpen library for the JDBC drivers, and I am attempting to use Tomcat to manage

MYSQL Authentication

2004-12-20 Thread Michael Hamilton
I have a servlet that I do custom authentication with on the backend, but I want to move this MYSQL authentication into Tomcat. Does Tomcat support user authentication from a database? -M - To unsubscribe, e-mail: [EMAIL

RE: extra directory in WebDAV servlet listing

2004-12-20 Thread Mark Thomas
The extra directory problem is now fixed in CVS for TC4.1.x and TC5.5.x I'll look at the arbitrary file system root next. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat/JVM crashes on Linux

2004-12-20 Thread Eric Rotick
I had a similar problem with an almost identical setup to yours which turned out to be bad memory. An extra 1GB stick was added which had a bad section in the top of the memory map. This memory only got used when things got busy so everyone suspected some threading issue. We got lucky and spotted

RE: MYSQL Authentication

2004-12-20 Thread Fredrik Liden
Hey M, Yes it does using JDBCRealm. Instructions are here: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#JDBCRea lm -Fredrik -Original Message- From: Michael Hamilton [mailto:[EMAIL PROTECTED] Sent: Monday, December 20, 2004 10:56 AM To: Tomcat Users List Subject:

Re: filterStart error on Tomcat but not on Sun 8

2004-12-20 Thread Nat Gross
Shheesh. I see my post contained garbage chars. (I simply copied - pasted from IE. Anyhow, how do I go about diagnosing this problem? 19/12/2004 13:33:56 org.apache.catalina.core.StandardContext start SEVERE: Error filterStart 19/12/2004 13:33:56 org.apache.catalina.core.StandardContext start

Re: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28

2004-12-20 Thread sven morales
Hi, I have not seen a context.xml file with those dual ResourceLink Furthermore, the way you have the Resource/ResourceParams defined under GlobalResource seems to be not nested properly. aka_sergio --- David Uctaa [EMAIL PROTECTED] wrote: I am running Tomcat 5.0.28 on Win XP SP1.

Re: Adding Host/ withOUT server restart?

2004-12-20 Thread Robert Hunt
Peter, I added the mx4j-tools.jar to the classpath and Connector/ node as noted. I had to add 'port=9050' to the Connector/ node to skew it away from the 8009 default. But now I'm stuck; what front-end should be used? You instructions conflict with what's found here:

Re: Tomcat/JVM crashes on Linux

2004-12-20 Thread Greg Lappen
When you say the problem was similar, did you also have no core dump or log messages, just a missing JVM process? I am asking our hosting provider to test the server's RAM - I was going to do this before but since no other process ever crashes (Apache, MySql, etc.) we didn't think it could be

Re: Tomcat/JVM crashes on Linux

2004-12-20 Thread Greg Lappen
What kind of load does your application handle? I am not processing a HUGE amount of requests, but we server about 6000 visitors a day, 15,000 pages. Greg On Dec 20, 2004, at 1:28 PM, Wade Chandler wrote: Greg Lappen wrote: Hello- Has anyone had a problem with Tomcat 5.0.28 crashing on Linux

$CATALINA_BASE

2004-12-20 Thread Dwayne Ghant
Hello All, Just a real quick question??? I'm in the process of configuring more then one instance of tomcat . How would I configure many instances? of tomcat with the same $CATALINA_BASE/bin $CATALINA_BASE/conf $CATALINA_BASE/log . . . . etc. -- Dwayne A. Ghant Application Developer Temple

Re: Difficulty connecting to DB2 for iSeries from Tomcat 5.0.28

2004-12-20 Thread David Uctaa
I have 2 ResourceLink entries in context.xml because there are databases on two different servers. Is there another way to do that reference? The server.xml is configured as: GlobalNamingResources Resource attribs name=name1 / Resource attribs name=name2 / ResourceParams

Re: Tomcat/JVM crashes on Linux

2004-12-20 Thread Wade Chandler
Greg Lappen wrote: What kind of load does your application handle? I am not processing a HUGE amount of requests, but we server about 6000 visitors a day, 15,000 pages. Greg On Dec 20, 2004, at 1:28 PM, Wade Chandler wrote: Greg Lappen wrote: Hello- Has anyone had a problem with Tomcat 5.0.28

[OT] Request an app test (free beer!)

2004-12-20 Thread Frank W. Zammetti
I was informed last OT post I made that the subject should always include the word beer. I added the free to get your attention :) I'm working on something for which I need to know what the os.name property on various OS's is. I would greatly appreciate it if some folks could try the

Re: Tomcat/JVM crashes on Linux

2004-12-20 Thread Eric Rotick
No core dump and nothing significant in the log files. The process just went away. Actually now I think about it we did have some other weirdness like JARs that were corrupt that also went away with the good memory. On Mon, 20 Dec 2004 15:13:35 -0500, Greg Lappen [EMAIL PROTECTED] wrote: When

Re: [OT] Request an app test (free beer!)

2004-12-20 Thread Peter Maas
On Debian GNU/Linux: Linux --p On Mon, 2004-12-20 at 17:26 -0500, Frank W. Zammetti wrote: I was informed last OT post I made that the subject should always include the word beer. I added the free to get your attention :) I'm working on something for which I need to know what the os.name

Re: [OT] Request an app test (free beer!)

2004-12-20 Thread Peter Maas
On solaris: SunOS --p On Mon, 2004-12-20 at 17:26 -0500, Frank W. Zammetti wrote: I was informed last OT post I made that the subject should always include the word beer. I added the free to get your attention :) I'm working on something for which I need to know what the os.name

RE: Tomcat 5.0.28, problems with using the jsp servlet to display images

2004-12-20 Thread Tony Chan
Hi everyone, I wonder if anyone have similar experiences with the following problem before. This is what I want to do: http://domainName/{anything but underscore} - dealt with by the Gateway servlet http://domainName/_folderName/*.abc - dealt with by the JSP servlet The current solution in

Re: Tomcat/JVM crashes on Linux

2004-12-20 Thread Eric Rotick
The application receives data packets from acoustic sensors. While the total load is not huge, because of the way the data is collected there are periods of no activity and then periods when all hell breaks loose. This happens every 15 minutes and we size the memory based on the use of swap over a

Re: $CATALINA_BASE

2004-12-20 Thread Dwayne Ghant
Could someone please confirm that I would have to take the time configure all the CATALINA_BASE's to be in the same place for all tihe installed instances of tomcat.. I can do the rest. Dwayne Ghant wrote: Hello All, Just a real quick question??? I'm in the process of configuring more then one

Re: [OT] Request an app test (free beer!)

2004-12-20 Thread Parsons Technical Services
On TAO Linux (Compiled from RHEL) Linux I already use this. I switch from pooled (on server) to direct on my development box (windows). Saves me the hassle of changing code. Doug - Original Message - From: Frank W. Zammetti [EMAIL PROTECTED] To: Commons User [EMAIL PROTECTED]; Struts

Re: [OT] Request an app test (free beer!)

2004-12-20 Thread Greg Lappen
On Mac OS X, the output is Mac OS X Greg On Dec 20, 2004, at 5:26 PM, Frank W. Zammetti wrote: I was informed last OT post I made that the subject should always include the word beer. I added the free to get your attention :) I'm working on something for which I need to know what the os.name

RE: [OT] Request an app test (free beer!)

2004-12-20 Thread Mike Curwen
Win XP SP2 = Windows XP -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Monday, December 20, 2004 4:26 PM To: Commons User; Struts User; Tomcat User Subject: [OT] Request an app test (free beer!)

Re: %@page isThreadSafe=false % does not work

2004-12-20 Thread QM
On Mon, Dec 20, 2004 at 09:33:11AM -0500, Kurt Overberg wrote: : I have a situation in my webapp where the user (administrator) can : 'Publish' items. I need to make it so only one person can 'publish' at a : time. Would this be a valid use of 'isThreadSafe'? Would it make user #2 : wait

Re: filterStart error on Tomcat but not on Sun 8

2004-12-20 Thread QM
:Here is a snippet of the server log: :INFO: Installing web application at context path /Math1 from URL :file:Q:\Programs\Java\jakarta-tomcat\Tomcat 5.0.30\webapps\Math1 :19/12/2004 13:33:56 org.apache.catalina.core.StandardContext start :SEVERE: Error filterStart :19/12/2004 13:33:56

RE: [OT] Request an app test (free beer!)

2004-12-20 Thread Subir Sengupta
RH Linux v9: Linux -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Monday, December 20, 2004 2:26 PM To: Commons User; Struts User; Tomcat User Subject: [OT] Request an app test (free beer!) I was informed last OT post I made that the subject should always

Re: mod_jk2 future?

2004-12-20 Thread QM
On Mon, Dec 20, 2004 at 02:02:56PM +0100, [EMAIL PROTECTED] wrote: : I will check with the developpers team whether switching from JK2 to JK : could be a problem but is there any known issues in switching from one : connector to the other (apart for the configuration files) I can't say, as I've

DBCP/DB2/Tomcat 4.1.24 problem!

2004-12-20 Thread James Milks
Hi, I am trying to get DBCP connection pooling to work with Tomcat 4.1.24 and DB2 8.X. I can connect directly, but whenever I try to use DBCP, I receive a Cannot load driver class 'null' error. The DB2 and JNDI jar files are located in tomcat-root\common\lib. This code snippet works: ... String

Re: DBCP/DB2/Tomcat 4.1.24 problem!

2004-12-20 Thread Andreas Vombach
James, please see my message in Tomcat 5.5 classloading blues from 20.12 and the following. Cheers Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] Request an app test (free beer!)

2004-12-20 Thread Chirag
On Windows 98 + JDK 1.5 the output is Windows 98 Bye for Now CSJakharia Message-ID: [EMAIL PROTECTED] Date: Mon, 20 Dec 2004 17:26:23 -0500 From: Frank W. Zammetti Reply-to: [EMAIL PROTECTED] MIME-Version: 1.0 To: Commons User , Struts User , Tomcat User Subject: [OT] Request an app

Synchronizing properties in cluster setup

2004-12-20 Thread Srinivas Rao Ch
Hi, I successfully configured my clustering setup with mod_jk2 and it is running fine. Now the problem is I have some properties files in my tomcat web application which gets modified when some features are accessed. If some changes are there in one cluster member, I have to update the same in

Compile and Deploy JSPs - Tomcat 4.0

2004-12-20 Thread Abhay Hiwarkar
Hi, I have around 120 JSP files and want to avoid deploying them with the source-code. Using JSPC utility, I am able to compile them to .java files. If required, I can get the .class files from: /tomcat4.0/work/myApp. Can anybody help me deploying only the .class files with Tomcat4.0. Many

Re: Compile and Deploy JSPs - Tomcat 4.0

2004-12-20 Thread Antony Paul
The proper way to do this is use the JSPC task to compile JSP files to class files and then create url mappings in the web.xml for the JSPs to class files. The class files are to be deployed in the WEB-INF/classes directory. The Anto JSPC task(which is same supplied with Tomcat). I think this