Context

2004-08-29 Thread Mario Moroni
Hi all, I put some name-value properties in the context putting them in the web.xml in this way: companyName My Company, Incorporated Is this right? Now I need to read them from within my classes... How can I do? Is there someone who have a sample java code to give me? Thanks. M

Re: How to specify min/max memory on Tomcat 3.3?

2004-08-29 Thread Bill Barker
Using the standard scripts, you would pass the options via the TOMCAT_OPTS environment variable. The actual options depends on the JVM vendor, but for the Sun JVM you would do something like: TOMCAT_OPTS="-Xms128M -Xmx512M" Tomcat just uses the default values for the JVM. "nyhgan" <[EMAIL PROT

404 response form authentication problem

2004-08-29 Thread Jon Wilmoth
I have a login form that works fine in my local development environment with a single webapp deployed to the default localhost "host". However, in a hosted environment with multiple "host"s defined in my server.xml Tomcat returns a 404 response and a blank page. The html form follows the servlet

Re: save generated from xslt data in file

2004-08-29 Thread Lyndon Samson
No sorry, this sort of thing is way beyond the power of the JVM... ;-) On Mon, 30 Aug 2004 01:05:10 -0300, Eugene <[EMAIL PROTECTED]> wrote: > How possible to store the HTML generated from XSLT by > servlet in html file located on the server? > > Thanks in advance. > Eugene > > --

save generated from xslt data in file

2004-08-29 Thread Eugene
How possible to store the HTML generated from XSLT by servlet in html file located on the server? Thanks in advance. Eugene - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: tomcat 5.0.27 xml schema or DTD for server.xml

2004-08-29 Thread Luke (Terry) Vanderfluit
Hi, Actually my intentions are modest. I want to validate whether the tags in server.xml are properly nested. I've had difficulty with this in web.xml before (when setting url-mappings). That's besides the general goal of improving my understanding of tomcat's configuration & terminlogy. L. On M

Re: tomcat 5.0.27 xml schema or DTD for server.xml

2004-08-29 Thread Paul Gregoire
This should point you in the right direction.. Luke (Ter

RE: tomcat 5.0.27 xml schema or DTD for server.xml

2004-08-29 Thread Benjamin Armintor
You wouldn't find it in the servlet spec, because it's specific to Tomcat. Check the archives, but as I recall, there's no published grammar for the server.xml: It's parsed in non-validating mode by the Digester. A DTD wouldn't work because the attributes for an element are arbitrary (to accomo

tomcat 5.0.27 xml schema or DTD for server.xml

2004-08-29 Thread Luke (Terry) Vanderfluit
Hi, I am running tomcat 5.0.27. I'm looking for a copy of the xml schema for the server.xml file. I've looked on the jakarta website and in the 2.4 servlet spec, but can't find it, Maybe there's only a DTD at this stage, Anyone know where to find it? TIA, Luke -- Luk

Re: DataSource Question

2004-08-29 Thread Big Chiz
there can be two things to change: if ur using tc5 you can change your dbcp resource via yourcustomapp.xml (conf/catalina/localhost/) and then in your web.xml javax.servlet.jsp.jstl.sql.dataSource jdbc/yourcustomname On Sun, 29 Aug 2004 14:29:22 -0700, Jack Lauman <[EMA

Re: SecurityManager

2004-08-29 Thread Michael McQuade
So sorry, didnt realize it showed up all over the place, thought I was just asking you a question... - Original Message - From: "Jacob Kjome" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Sunday, August 29, 2004 6:12 PM Subject: Re: SecurityManager > Mike,

Re: SecurityManager

2004-08-29 Thread Jacob Kjome
Mike, You do not need to post your question specifically to 3 different people. It's all on one list, just ask one question. Not only that, but you seem to have hijacked two threads in the process. Create a new thread for a new question. Does a post about JSP's or a post about the Tomcat Se

Re: Tomcat will not run JSPs

2004-08-29 Thread Jacob Kjome
sounds to me like you aren't using connection pooling. Rather, you are opening a connection each time, but not fully closing the connection. Additionally, your database is probably set to only support 1 connection for this particular user at a time. You might want to check into allowing more

DataSource Question

2004-08-29 Thread Jack Lauman
I'm using the following code in a servlet to get a JDBC connection: Context ctx = new InitialContext(); DataSource ds = (DataSource) ctx.lookup("java:comp/env/jdbc/DBNameDS"); Connection conn = ds.getConnection(); It works fine... but I would like to be able to substitute "DBNameDS" with the actual

[OFFTOPIC] Re: [ANN] Apache Jakarta Tomcat 5.0.28 Released

2004-08-29 Thread John Villar
Thank you tomcat. taking the apache group as an example, i'm beginning to release my closed source Apps on open source. thanks everyone out there for helping me an my coworkers understand the open source theory Vic escribió: (I know I speak for many) THANK YOU very much. .V Yoav Sha

Re: [ANN] Apache Jakarta Tomcat 5.0.28 Released

2004-08-29 Thread Vic
(I know I speak for many) THANK YOU very much. .V Yoav Shapira wrote: The Tomcat Team announces the immediate availability of Apache Jakarta Tomcat 5.0.28. Please refer to the change log for the list of changes: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/changelog.html Release notes: http://

Re: Tomcat causes Apache to hang. Any ideas?

2004-08-29 Thread Sean Finkel
Shapira, Yoav wrote: I already have. This exact same setup worked flawlessly under RH 7.3 and RH 9.0 Actually, I meant a non-Linux platform. But even your results so far suggest an RHEL-specific issue. Maybe try LD_ASSUME_KERNEL=2.2.5 instead of 2.4? I remember people having success

Re: SecurityManager

2004-08-29 Thread Michael McQuade
Hi Benjamin, Im sorry to bother you, but Im desperate and you seem pretty knowledgeable re Tomcat. Im using the Windows Installer version 5.0.27.. Could I ask you a question, I added my application thru the Application Manager... went to the Company Logon screen,which opens MySql

Re: Tomcat will not run JSPs

2004-08-29 Thread Michael McQuade
Hi, is this Jerry Could I ask you a question,wondering if you are having the same problem as I am. Im using Tomcat for windows The Installer version.. I added my application, went to the Comapny Logon screen,which opens MySql database, updates it, and closes it.

Re: Tomcat will not run JSPs

2004-08-29 Thread Michael McQuade
Sorry to bother you again Jacob. But heres what I have found out, first time into a program, the database opens, updates and closes all with a Status of 0 and 0... Enter another program,and the database opens with a Status of SqlCode = -1 and SqlState = 08002 (connection name i

Catch Exception throw in useBean

2004-08-29 Thread Daron
Does anyone know how to catch an exception thrown by a constructor in jsp:useBean ? Regards, Daron. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.740 / Virus Database: 494 - Release Date: 16/08/2004

[ANN] Apache Jakarta Tomcat 5.0.28 Released

2004-08-29 Thread Yoav Shapira
The Tomcat Team announces the immediate availability of Apache Jakarta Tomcat 5.0.28. Please refer to the change log for the list of changes: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/changelog.html Release notes: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/RELEASE-NOTES Downloads: Bi

Problem with WebApp Classloader using remote Jmx initialization of the Web module.

2004-08-29 Thread Alex Smirnoff
I'm trying to create the WebAppContext remotely with JMX (Tomcat 5.0.27, JDK 1.5)and doing something like this: public void deployApplication(String context, String path) throws CoreException { init(); try { ObjectName webmodule = new ObjectName(DOMAIN+":j2eetype=WebModule,name=//l

How to specify min/max memory on Tomcat 3.3?

2004-08-29 Thread nyhgan
Hi, Is there anyway to specify the minimum and maximum memory on Tomcat 3.3? What is the default maximum memory? Thanks! nyhgan. - Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone.