RE: JAVAC Leaking Memory

2004-06-07 Thread java only
Does It mean setting the fork option to true in the conf/web.xml file ? I have also set development and reloadable option to false... And also I have noticed for each session,for the first time it takes lot of time to load the JSP page and hence forth the loading of those pages is quick.Does it

EL not processed by default with Tomcat 5.0.19

2004-06-07 Thread Keith Hankin
Here's my page: htmlbody % pageContext.getRequest().setAttribute(name, hello world); % Name: ${name} /body/html This prints Name: ${name}. According to the JSP spec, with Servlet containers supporting 2.4, EL should be processed by default, but it isn't being done. So I added the following to my

passwords

2004-06-07 Thread javac javac
how do i change the passwords for admin stuff? (waiting for a library book on this stuff.) thanks, javac at mail dot com http://javac.eatj.com/ -- ___ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm

help: uploaded hello.war, what now?

2004-06-07 Thread javac javac
in my system, fedora core one, there exists file /usr/bin/samples/quickstart/hello.war; which, upon examination, turns out to be a hello JSP complete with waving duke :) i've uploaded hello.war to my site, http://javac.eatj.com/, but, now what? thanks, javac at mail dot com

RE: passwords

2004-06-07 Thread Martinelli Paolo A.
Change the file ${CATALINA_HOME}/conf/tomcat-user.xml. Keep in mind that to access the Admin Interface a user must have the admin role. Bye, Paolo Martinelli IrisCube Reply S.p.A. -Original Message- From: javac javac [mailto:[EMAIL PROTECTED] Sent: Mon 6/7/2004 09:27 To: [EMAIL

Katja Handtusch/268/DCAG/DCX ist außer Haus.

2004-06-07 Thread katja.handtusch
Ich werde ab 07.06.2004 nicht im Büro sein. Ich kehre zurück am 18.06.2004. Ich werde Ihre Nachricht nach meiner Rückkehr beantworten. Bei dringenden Angelegenheiten wenden Sie sich bitte an meine Vertretung Alexandra Pürschel (Tel.: 5463).

Re: HTTP header for dynamic pdf and IE6

2004-06-07 Thread Ronald Klop
Is it possible that IE saves the document in the cache than starts acrobat with the filename in the cache and than removes the file because you set no-cache and expire options before acrobat can open it? Ronald. On Sat Jun 05 11:52:03 CEST 2004 Dean A. Hoover [EMAIL PROTECTED] wrote: I have a

RE: [OT] JSP/Servlet Hosting

2004-06-07 Thread Schalk
Hey there I am getting a little concerned about Java's position as far as a development language for the web. The reason I say this is because trying to find good, reliable hosting at a competitive price, by competitive I mean against the price of hosting PHP based sites, is almost impossible.

Re: JAVAC Leaking Memory

2004-06-07 Thread Reynir Þór Hübner
java only wrote: Does It mean setting the fork option to true in the conf/web.xml file ? I have also set development and reloadable option to false... no. It does not mean that. you can set fork option to false, and reloadable/developement to true or vice versa, anyway you like. But I still

RE: Tomcat 5 clustering

2004-06-07 Thread Dale, Matt
If the slowness is caused 100% by load on your single machine then you may be able to reduce to response time although a tenfold increase is pretty optimistic. But a request time of this length I would look to your application as the primary culprit. Does it have this response time for just a

RE: [OT] JSP/Servlet Hosting

2004-06-07 Thread Jason L. West, Sr.
The one and only suggestion that I would have for you is to find a dedicated server to host you applications on. After searching high and low for a hosting service for my applications I finally came to the reality that if I was ever to be happy it would be only when I had my own server to

Sequence tag error

2004-06-07 Thread Fulvio LAZ
Hello everybody! I have problem with importing my certificate into keystore. 1) keytool -genkey -alias tomcat -keyalg RSA 2) keytool -certreq -keyalg RSA -alias tomcat -file newreq.pem -keystore /root/.keystore 3) Signed it with my certificate authority. 4) keytool -import -alias root -keystore

use of $CATALINA_HOME inside webapp

2004-06-07 Thread Euan Guttridge
I tested using $CATALINA_HOME instead of an absolute path in a property file in a webapp. This did not work - the log the app was supposed to create to was never created. An absolute path works. Is this expected behaviour? TC4.1.24 ../webapps/myapp/WEB-INF/classes/myapp.properties:

Re: apache mod_jk - tomcat paths

2004-06-07 Thread Oliver Nautsch
hi, I have the same problem. Apache 1.3 - mod_jk2 - tomcat 5.0.25 Everthing works fine but I don't want to configure every webapplication in the workers2.properties. URL's like http:/xxx.xxx.xxx/javawebapps/webapp1/ http:/xxx.xxx.xxx/javawebapps/webapp2/ ...

Re: use of $CATALINA_HOME inside webapp

2004-06-07 Thread Tim Funk
You need to use ${catalina.home} (if your properties file gets expanded.) -Tim Euan Guttridge wrote: I tested using $CATALINA_HOME instead of an absolute path in a property file in a webapp. This did not work - the log the app was supposed to create to was never created. An absolute path works.

RE: use of $CATALINA_HOME inside webapp

2004-06-07 Thread Euan Guttridge
Thanks, that works - but I don't understand why. What was wrong with using an environment variable? -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 07 June 2004 11:55 To: Tomcat Users List Subject: Re: use of $CATALINA_HOME inside webapp You need to use

Re: apache mod_jk - tomcat paths

2004-06-07 Thread Oliver Nautsch
hi, I have to correct one line: ... Host name=xxx.xxx.xxx/javawebapps debug=0 appBase=javawebapps ... Regards Oliver Nautsch Oliver Nautsch wrote: hi, I have the same problem. Apache 1.3 - mod_jk2 - tomcat 5.0.25 Everthing works fine but I don't want to configure every webapplication in the

Re: use of $CATALINA_HOME inside webapp

2004-06-07 Thread QM
On Mon, Jun 07, 2004 at 12:05:11PM +0100, Euan Guttridge wrote: : Thanks, that works - but I don't understand why. What was wrong with using : an environment variable? It's the same reason ${catalina.home} doesn't evaluate to anything on the commandline: they're different, separate environments.

Problem in Generating Reports using JasperReports5.0.3 Tomcat Web Server

2004-06-07 Thread deepak shripat mane
 I need to generate Reports for my application using third party ool, IReports (JasperReports5.0.3) through Java2. This is deployed through Java Web Start(JNLP) from My web server (Tomcat 5.0.19) using the Reports XML file. My problem is- I am unable to compile the XML File at the

RE: Printer Unfriendly Tomcat 5 Documentation

2004-06-07 Thread Shapira, Yoav
Hi, I am happy to do the work, but I need two more hints. 1) Please point me to a good CVS client or Diff utility that will generate a suitable Diff file on my Windows XP Pro workstation. My web search found too many choices and insufficient information for making a choice. Bah, everyone has

RE: UTF-8

2004-06-07 Thread Shapira, Yoav
Hi, Where to look: the tomcat documentation for the relevant component (e.g. the Connector element in server.xml has encoding directives for the URI and parameters), the archives of this mailing list (where this has been discussed numerous times), the Tomcat FAQ has an entry on this issue

Controlling authentication on multiple contexts which point to the same webapp

2004-06-07 Thread Jason Saunders
If you have multiple contexts which point to the same webapp, is there a way of only applying authentication to specified contexts? e.g. something along the lines of; Context path=/webapp1 docBase=/webapps/a_web_app authenticate=true etc... /Context Context path=/webapp2

Re: [OT] JSP/Servlet Hosting

2004-06-07 Thread QM
:I am getting a little concerned about Java's position as far as a :development language for the web. The reason I say this is because trying :to find good, reliable hosting at a competitive price, by competitive I :mean against the price of hosting PHP based sites, is almost impossible. Lack of

Custom Authenticator for Flash Remoting?

2004-06-07 Thread ryan
I am writing a custom authenticator for flash remoting. Flash remoting uses a binary message format that is stored in the request body, and it has its own credentials header in the message. That means I have to read the body from the inputstream in the authenticator to retrieve the credentials,

RES: Using EL

2004-06-07 Thread Marcelo Baltar
Hi Keith, It also happened to me. To solve that I had to add some DTD properties (not sure if it can be called this way) to the web-app tag in web.xml, like this: web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Strange behavious with session creation on http and https

2004-06-07 Thread Ismael Blesa Part
I have set two connectors http and https. I have my webapp that is served by these two connectors. I have discovered a strange behaviour with tomcat accessing through http and https. If I open a browser to connect to http: - tomcat creates a session - my webapp receives the request and

Re: JAVAC Leaking Memory

2004-06-07 Thread emerson
WOuld be usefull to have the option to set those parameters per TC installation, and not just per context. If I use those switches at the web.xml of TC_HOME/conf/web.xml it will work as it was configured at each context? hi, I think I am correct when I say javac is only used by tomcat compile

Re: [TC5] Problems with context.xml

2004-06-07 Thread alu, artifex
where did you place your driver .jar-file in? i think you placed it into CATALINA_HOME/server/lib - for your configuration (resource is defined in the context) it should be placed in CATALINA_HOME/common/lib i think. mfg alu Mark Woon wrote: Hi all. According to the docs, it's possible to stick

JDBCRealm problem (invalid port number)

2004-06-07 Thread Lea
Hi, I'm trying to use JDBCRealm and MySQL to authenticate user in tomcat 4.1. I followed the steps described on http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm- howto.html#JDBCRealm: I added a user table and a user_roles table in my database (ABCDatabase); I made all necessary columns

Katja Handtusch/268/DCAG/DCX ist außer Haus.

2004-06-07 Thread katja.handtusch
Ich werde ab 07.06.2004 nicht im Büro sein. Ich kehre zurück am 18.06.2004. Ich werde Ihre Nachricht nach meiner Rückkehr beantworten. Bei dringenden Angelegenheiten wenden Sie sich bitte an meine Vertretung Alexandra Pürschel (Tel.: 5463).

persist sessions in a clustered environment

2004-06-07 Thread Dale, Matt
Title: persist sessions in a clustered environment Hi, We have been experiencing problems with our cluster using in-memory replication so we are looking into other ways in which to replicate the sessions. Our first step will be to switch to asynchronous mode for the replication from pooled

Re: [TC5] Problems with context.xml

2004-06-07 Thread Mark Woon
alu, artifex wrote: where did you place your driver .jar-file in? i think you placed it into CATALINA_HOME/server/lib - for your configuration (resource is defined in the context) it should be placed in CATALINA_HOME/common/lib i think. I've tried it in both places with no luck. If you look at the

Cross-app security question

2004-06-07 Thread Michael Mehrle
I do have a question regarding security across appfuse and other webapps. Currently, I have two separate web applications running under Tomcat (5.0.26): - tdx (which is a version of appfuse) - jGallery (which dynamically serves images) The way jGallery works is that it 'crossmaps' image gallery

Re: Where to put tld files for jarred custom taglibs?

2004-06-07 Thread Ariel Valentin
Sorry about that I have no idea why I wrote Manifest when I ment web.xml All I can think of is that the JAR is not being referenced correctly in the deployment descriptor or the TLD's were not packed correctly in the META-INF of the jar. Good Luck. Mr. Ariel S. Valentin mailto: [EMAIL

Would JK2 Work with Tomcat 3.2.4 ?

2004-06-07 Thread Narayana Reddy (nreddy)
Hi All I have a requirement to integrate Apache 2.0.48 with Tomcat 3.2.4 ( This comes as part of a third party software ). I am wondering , if I could use mod_jk2 with this version of tomcat. I have already tried mod_jk, Apache complained about compatibility. Thanks Narayan

[Fwd: Problem when deploying a new .war]

2004-06-07 Thread Distribution Lists
can anyone help me with this? Considering that no one has replied to my original email, did it make sense? More information required maybe? Regards Original Message Subject: Problem when deploying a new .war From:Distribution Lists

Re: JAVAC Leaking Memory

2004-06-07 Thread java only
Is it that JSP pages compile only once(not just for each session) but for the entire tomcat server scope (application scope) ? And also can anybody throw some more light on leaking memory problem Regards, javaonlyjava Reynir_Þór_Hübner [EMAIL PROTECTED] wrote: java only wrote:

How do I associate a web app with a specific IP (connector)?

2004-06-07 Thread Barnet Wagman
I'm going to be running Tomcat with two IP addresses (each has its own domain name). How do I associate some web apps with one and some with the other? From my reading of the /Server Configuration Reference/ (but no experience yet), I gather that I should create a connector for each IP

RE: How do I associate a web app with a specific IP (connector)?

2004-06-07 Thread Patrick Willart
There is probably more than one way to do this, but one is by defining multiple hosts and using an alias to bind the host to an IP. You could end up with something like this: Host name=yourdomain1 debug=0 appBase=webapps1 unpackWARs=true autoDeploy=true xmlValidation=true xmlNamespaceAware=true

problems connecting to networked odbc data source

2004-06-07 Thread ilasno
hello, here's my setup. i have a development linux server running debian, tomcat 5.0.16, and java 1.3. i have successfully connected to a remote mysql database (on port 3306 with a connection string like 'jdbc:mysql://xx.xx.xx.xx:3306/dbName?autoReconnect=true') with a datasource configured

Re: problems connecting to networked odbc data source

2004-06-07 Thread David Smith
Check the archives -- jdbc-odbc bridge is a bad idea. It's never been stable to my knowlege. I'd recommend either a real MS SQL server or some other database server with a good JDBC driver. --David ilasno wrote: hello, here's my setup. i have a development linux server running debian,

Re: problems connecting to networked odbc data source

2004-06-07 Thread Parsons Technical Services
See this message for a link to a jdbc driver. http://marc.theaimsgroup.com/?l=tomcat-userm=108354562017331w=2 - Original Message - From: David Smith [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, June 07, 2004 10:19 PM Subject: Re: problems connecting to

Re: How do I associate a web app with a specific IP (connector)?

2004-06-07 Thread David Smith
I did this with two service.../service sections each with their own connector/ tags and appBase values in their respective Host../Host tags. It's probably over the top, but I wanted to be absolutely sure my high security apps were only talking through a SSH encrypted tunnel to the Apache

Problem in inserting word document into database as a blob object under tomcat server

2004-06-07 Thread Thangamani, Elanjchezhiyan (Cognizant)
Hi, I am inserting word document into database as a blob. It is inserting successfully but we try to download it is not downloading. The insertion itself having some problem //code listed below StringBuffer query = new StringBuffer(Insert into PMS_Documents(DOCUMENTID, DOCUMENT_NAME,

Re: Would JK2 Work with Tomcat 3.2.4 ?

2004-06-07 Thread Bill Barker
There shouldn't be any problems using mod_jk2 with TC 3.2.x. Of course, you are limited to using the Socket channel on mod_jk2, and the Ajp13 Connector on TC 3.2.x. Narayana Reddy (nreddy) [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi All I have a requirement to integrate

Re: How do I associate a web app with a specific IP (connector)?

2004-06-07 Thread Barnet Wagman
Thanks. That looks simple enough. Does this mean that I don't need an extra connector for the IP? Patrick Willart wrote: There is probably more than one way to do this, but one is by defining multiple hosts and using an alias to bind the host to an IP. You could end up with something like this:

Re: Using EL

2004-06-07 Thread Keith Hankin
That worked! Thanks. - Original Message - From: Marcelo Baltar [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, June 07, 2004 7:24 PM Subject: RES: Using EL Hi Keith, It also happened to me. To solve that I had to add some DTD properties (not sure if it

Katja Handtusch/268/DCAG/DCX ist außer Haus.

2004-06-07 Thread katja.handtusch
Ich werde ab 07.06.2004 nicht im Büro sein. Ich kehre zurück am 18.06.2004. Ich werde Ihre Nachricht nach meiner Rückkehr beantworten. Bei dringenden Angelegenheiten wenden Sie sich bitte an meine Vertretung Alexandra Pürschel (Tel.: 5463).

RE: Problem in inserting word document into database as a blob object under tomcat server

2004-06-07 Thread Tom K
I see you are using an Oracle database. String text; while(re.next(){ dbBlob = (oracle.sql.BLOB)rs.getBlob(1) } text = dbBlob.getSubString(1,((intdbBlob.length())); Why not use a CLOB if it's text. Now you are my wife. Tom K. -Original Message- From: Thangamani,