Re: three problems

2004-06-17 Thread Nikola Milutinovic
Casas, Claudia wrote: Oki doki, I just added the port 8080 following QM suggestions and also thanks very much for your help. The results here: But unfortunately I still cannot see my http://my.ip.address:8080. Getting page cannot be displayed. :( OK, so, you have a mild network permission issue. C

A application level cache Issue in the newest TC 5

2004-06-17 Thread Vernon
I have the following debugging code in one region/section (of a page) of JSP files. pageContext.getRequest().getLocale() pageContext.getResponse().getLocale() On the TC 4.1.29 (and up to 5.0.19 I believe), the values are the followings: en_CA en_CA But, on TC 5.0.25, en_CA zh The first reque

RE: three problems

2004-06-17 Thread Casas, Claudia
Oki doki, I just added the port 8080 following QM suggestions and also thanks very much for your help. The results here: But unfortunately I still cannot see my http://my.ip.address:8080. Getting page cannot be displayed. :( lsof -i :8080 COMMAND PID USER FD TYPE DEVICE SIZE NODE NAM

Re: three problems

2004-06-17 Thread QM
On Thu, Jun 17, 2004 at 08:26:34PM -0600, Casas, Claudia wrote: : lsof -i :8080 : COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME : java2801 root3u IPv4 7503 TCP *:webcache (LISTEN) This is good. (Well, technically, it's not a good idea to run Tomcat as root -- but we'll get t

RE: three problems

2004-06-17 Thread Casas, Claudia
Well, I just finished installing tomcat5 also. When I run http://my.ip.address:8080 or http://my.domain.com:8080 I still get the same error "the page cannot be displayed" I run the commands that QM suggested and there are the results: lsof -i :8080 COMMAND PID USER FD TYPE DEVICE SIZE NODE

Re: Connecting Tomcat and Apache

2004-06-17 Thread Chong Yu Meng
Hi Graeme, You need to install gcc. Regards, pascal chong Graeme wrote: Hi all, when I try this command: ./configure --with-apxs=/usr/sbin/apxs I get the following output. How can I sort out this C compiler? [EMAIL PROTECTED] native]# ./configure --with-apxs=/usr/sbin/apxs checking for a BSD-compa

RE: three problems

2004-06-17 Thread Justin Ruthenbeck
At 05:23 PM 6/17/2004, you wrote: Thanks for your prompt answer, Could you be more specific on the address attr? I have the following in the Connector element on my server.xml: To add to QM's comments: You're accessing it locally by hitting http://localhost:8080, right? If you're access it remot

Re: three problems

2004-06-17 Thread QM
On Thu, Jun 17, 2004 at 06:23:30PM -0600, Casas, Claudia wrote: : http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: three problems

2004-06-17 Thread Casas, Claudia
Thanks for your prompt answer, Could you be more specific on the address attr? I have the following in the Connector element on my server.xml: -Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: Thursday, June 17, 2004 6:09 PM To: Tomcat Users List Subject: Re: three problems

Re: three problems

2004-06-17 Thread QM
On Thu, Jun 17, 2004 at 05:44:51PM -0600, Casas, Claudia wrote: : 1) When I go to another PC and try to access my server: : http://my.domain.com:8080 I get "The page : cannot be displayed" : but if I access http://my.domain.com:80 : (apache

RE: please...

2004-06-17 Thread Mark Schmitt
Ryan, This is probably the email address you want... [EMAIL PROTECTED] -Original Message- From: ryan deneveu [mailto:[EMAIL PROTECTED] Sent: Thursday, June 17, 2004 1:15 PM To: [EMAIL PROTECTED] Subject: please... Please take me off this list. I am not very computer literate and my ema

three problems

2004-06-17 Thread Casas, Claudia
Hello everyone, I am pretty new to tomcat. I just managed to install apache2.0.49 and tomcat4.1.30 and the jk1.2 connector on linux redhat 3 AS. I was so happy because when I typed: http://localhost:8080/examples and http://localhost/examples I am able to view my jsp and servlet examples. I have en

RE: DBCP pooling error

2004-06-17 Thread Bliesner, Christopher P
My mistake--It wasn't the CLASSPATH that was the problem but a semicolon that I had in my select statement. That was causing the dBCP to fail. Thx all for the help! :) Chris Bliesner Lead Oracle DBA/Unix admin Wk Phone 915-834-1757 -Original Message- From: Hans Wichman [mailto:[EMAIL PR

Multiple Thread Pools

2004-06-17 Thread Prabhakaran Nagarajan
Is it possible in tomcat to segregate certain jsp pages to its own thread pool/connector? We have certain pages that take a while to execute, and when multiple users access the page, all threads are used up serving those requests. Weblogic allows defining multiple "ExecuteQueues" and assigning j

Re: basic authentication or not?

2004-06-17 Thread Stephen Charles Huey
Duh. I was looking in the general Tomcat web.xml--yes, in my app-specific one, we're using BASIC authentication. Ok, so Tomcat knows to use the additional MySQL database for authentication. Right now, if you go to www.ourDomain.com it'll make you authenticate and then it will forward you to th

Re: Tomcat 5 Database Connections - from wierd to crazy

2004-06-17 Thread Jeff Sexton
Jeff Sexton wrote: I switched from TC 5 to Tomcat 4.1.30 and again copied my (working) app again from the Tomcat 4.0.4 install. This time, it knew the driver but not the url. So in server.xml I changed one parameter From: driverName jdbc:sybase:Tds:pdxax12

Re: log4j:WARN No appenders could be found

2004-06-17 Thread Jens Skripczynski
Tom K: > I am using Tomcat 5.0.19 and I get the âlog4j:WARN No appenders could be > foundâ error on startup. I have a log4j-1.2.8.jar file in my apps /lib > director. Should the log4j.properties file be in the same directory? The log4j.properties file must be in the CLASSPATH. So I think it should

Tomcat 5 Database Connections - from wierd to crazy

2004-06-17 Thread Jeff Sexton
I switched from TC 5 to Tomcat 4.1.30 and again copied my (working) app again from the Tomcat 4.0.4 install. This time, it knew the driver but not the url. So in server.xml I changed one parameter From: driverName jdbc:sybase:Tds:pdxax12:4100

Re: who may help me to deploy web-applicaiton to defaultContext?

2004-06-17 Thread Jens Skripczynski
Hi, a little bit more information might be usefull. - Can you deploy your web-app to a different Context ? - Does you web.xml file validate ? Arsen A. Gutsal: > I try to deploy web-applicaiton to default (ROOT) context. > I'm using NetBeans 3.5.1 and Tomcat 4.06. > I'm getting exception: > SEVER

mod_jk is corrupting chunked responses

2004-06-17 Thread ming fang
i've developed a servlet that streams data back to an applet using transfer-encoding=chunked. everything works fine when the applet connects directly to tomcat. but when it connects via apache/jk2, the streams is corrupted. the servlet sets the headers like this... httpServletResponse.set

Re: basic authentication or not?

2004-06-17 Thread Filip Hanik - Dev
as long as you authenticate your users in https, to prevent the passwords from travel across the internet unencrypted, you can use any method. Filip - Original Message - From: "QM" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, June 17, 2004 4:04 PM Subje

Re: Tomcat 4.1 stops responding on RH9

2004-06-17 Thread QM
On Thu, Jun 17, 2004 at 03:54:08PM -0400, Bradley Glonka wrote: : Tomcat installaion on Red Hat Version 9 intermitnently stops : Responding. :Kernel 2.4.20-9 RedHat's custom kernels have backported the NPTL (Native Posix Thread Library) routines from 2.5/2.6. Set the env var "LD_KERNEL_AS

Re: basic authentication or not?

2004-06-17 Thread QM
(Please, create new messages when mailing the list. Responding to unrelated messages causes confusion for those of us who use thread-aware mailers.) : In a nutshell, I'm wondering if it's better NOT to use basic : authentication. My understanding is that FORM vs BASIC is just that the former le

Re: Connecting Tomcat and Apache

2004-06-17 Thread Graeme
Hi all, when I try this command: ./configure --with-apxs=/usr/sbin/apxs I get the following output. How can I sort out this C compiler? [EMAIL PROTECTED] native]# ./configure --with-apxs=/usr/sbin/apxs checking for a BSD-compatible install... /usr/bin/install -c checking whether build environme

Re: Connecting Tomcat and Apache

2004-06-17 Thread Graeme
David, thank you for your reply, it looked like it worked, would you say so? [EMAIL PROTECTED] native]# ./buildconf.sh libtoolize --force --automake --copy aclocal automake -a --foreign -i --copy autoconf [EMAIL PROTECTED] native]# Thanks again, Graeme :) - Original Message - From: "D

Re: javax.servlet.jsp.tagext package

2004-06-17 Thread Filip Hanik - Dev
building from sources is a pain in the butt since you have to download all the dependencies. unless there is a download task, I would not know :) Building from CVS is very easy cvs co jakarta-tomcat-5 cd jakarta-tomcat-5 (edit build.properties.default if you want to change the location of downloa

RE: DBCP pooling error

2004-06-17 Thread Bliesner, Christopher P
This has been fixed! Thx for the help! Turns out the problem is the classpath! DBCP doesn't need one!! It gets confused! I had everything else right... Chris Bliesner Lead Oracle DBA/Unix admin Wk Phone 915-834-1757 -Original Message- From: Hans Wichman [mailto:[EMAIL PROTECTED] Sent

Re: javax.servlet.jsp.tagext package

2004-06-17 Thread Michael Labhard
On Thursday 17 June 2004 01:31 pm, Filip Hanik - Dev wrote: > jakarta-servletapi-5 Thank you for pointing me here. I have built from source and the README.txt in the jakarta-servletapi-5 directory states that a servlet.jar file should be built from the classes. However it isn't and the build.x

Can you dynamically add a new element to server.xml without restarting?

2004-06-17 Thread Ivan Jouikov
Subj. says it all... If not, is there a workaround? -Original Message- From: David Goldschmidt [mailto:[EMAIL PROTECTED] Sent: Thursday, June 17, 2004 1:27 PM To: Tomcat Users List Subject: Re: Connecting Tomcat and Apache Maybe you need to cd to the $CONN_SRC_HOME/jk/native directory f

Re: javax.servlet.jsp.tagext package

2004-06-17 Thread Filip Hanik - Dev
in CVS module jakarta-servletapi-5 path /jakarta-servletapi-5/jsr152/src/share/javax/servlet/jsp/tagext Filip - Original Message - From: "Michael Labhard" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, June 17, 2004 3:18 PM Subject: javax.servlet.jsp.ta

Re: Connecting Tomcat and Apache

2004-06-17 Thread David Goldschmidt
Maybe you need to cd to the $CONN_SRC_HOME/jk/native directory first? Then do the ./buildconf.sh command locally within that directory? DaveG Graeme wrote: Evening all, I'm trying to connect Tomcat and Apache, I've been following this tutorial: http://www.meritonlinesystems.com/docs/apache_tomc

javax.servlet.jsp.tagext package

2004-06-17 Thread Michael Labhard
I have spent considerable time searching for the package javax.servlet.jsp.tagext on Tomcat 5 (0.26) without finding it. Can anyone suggest where I might find it, please? Thank you. -- Michael - To unsubscribe, e-mail: [EMAI

RE: DBCP pooling error

2004-06-17 Thread Bliesner, Christopher P
Well, I'm getting some new errors at least.. org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 17 in the jsp file: /jsp/JDBCTest.jsp Generated servlet error: [javac] Compiling 1 source file /usr/local/jakarta-tomcat-4.1.12/work/Standalone/epdata02

basic authentication or not?

2004-06-17 Thread Stephen Charles Huey
In a nutshell, I'm wondering if it's better NOT to use basic authentication. We have over 10,000 regular users, and I think it would be good for us to move to a more standard login page instead of that authentication box that pops up. My question is, would we have to change a lot to do this? At

Re: please...

2004-06-17 Thread Robert Charbonneau
On Thursday 17 June 2004 13:14, ryan deneveu wrote: > Please take me off this list. I am not very computer literate and my email > is being accosted with things that do not pertain to me. I realize that > this is all my fault but would like to stop receiving all of these emails > from the mailing l

Connecting Tomcat and Apache

2004-06-17 Thread Graeme
Evening all, I'm trying to connect Tomcat and Apache, I've been following this tutorial: http://www.meritonlinesystems.com/docs/apache_tomcat_redhat.html In order to run the buildconf.sh I installed libtool, httpd-devel, autoconf and automake because I found on a site that redhat 9 users need h

Re: Tomcat 5 Database Connections

2004-06-17 Thread Jeff Sexton
Is the order of elements in the block meaningful? Rightly or wrongly meaningful that is... I keep looking for some way to understand way this seems to work for some people. Jeff Sexton wrote: Graham Leggett wrote: I think it's definitely tomcat - my environment is Postgresql on Redhat Enterprise

Tomcat 4.1 stops responding on RH9

2004-06-17 Thread Bradley Glonka
Here goes Tomcat installaion on Red Hat Version 9 intermitnently stops Responding. I'm the Linux admin not the developer. The developer swears up and down its not his application causing the problem. In fact the same application runs on Red Hat version 8 without a problem. Using: Tomcat

RE: DBCP pooling error

2004-06-17 Thread Hans Wichman
Hi, seems to be ok, i do seem to have an additional nesting, engine-host-context but I do not know if it matters. If you do a Class.forName from your jsp page, can you load the class ok? I'm grasping at straws here as well ;-) grtz Hans At 02:41 PM 6/17/2004 -0500, you wrote: I'll check those thi

RE: DBCP pooling error

2004-06-17 Thread Bliesner, Christopher P
I'll check those things...how is the location in the Server.xml? Is it in the right place? Chris Bliesner Lead Oracle DBA/Unix admin Wk Phone 915-834-1757 -Original Message- From: Hans Wichman [mailto:[EMAIL PROTECTED] Sent: Thursday, June 17, 2004 1:39 PM To: Tomcat Users List Subje

RE: DBCP pooling error

2004-06-17 Thread Hans Wichman
Hmm, the only thing might be that you can leave out tracks_adm from jdbc:oracle:thin:[EMAIL PROTECTED]:1521:paso2d And if you do the lookup though: Context ctx = new InitialContext(); Object datasource = ctx.lookup("java:/comp/env/jdbc/paso2d"); ? G

RE: DBCP pooling error

2004-06-17 Thread Bliesner, Christopher P
Hi Hans, yes seems like I've got all the I's dotted and the t's crossed...but still can't get the damn thing to load...I've got all the Jars in the tomcat/common/lib and in the classpath and the following are my 3 files. Let me know if you see anything I may have missed: Server.xml:

RE: DBCP pooling error

2004-06-17 Thread Hans Wichman
Hi, there are 4 parts to this, a pool definition in your server.xml a resource ref in your web.xml a snippet of java code to get the datasource. a bunch of drivers (probably something like classes12.jar) Did you specify the first three of them and included the last one? grtz Hans At 11:23 AM 6/17/2

please...

2004-06-17 Thread ryan deneveu
Please take me off this list. I am not very computer literate and my email is being accosted with things that do not pertain to me. I realize that this is all my fault but would like to stop receiving all of these emails from the mailing list. I am simply a rep for acs, international that would

Re: JK2: lb_factor

2004-06-17 Thread Michael Echerer
I measured similar effects using "The Grinder". Under maximum load with long running requests it can be even that worse that one Apache 2.x (default compile: prefork) with 2 Tomcats 5.x/mod_jk2 only distributes to the first Tomcat at all. This is true as long as Apache runs out of MaxClients beca

Classpath problems on Tomcat

2004-06-17 Thread Worley Brent - bworle
>From what I understand about Tomcat all of my application specific classes and libs are picked up after the bootstrap and system libs are grabbed. However, we are running into this problem: We have a package defined and several classes within this package. When we compile the source files they c

Re: Anyone have the complied mod_jk for AIX 4.3.3???

2004-06-17 Thread David Goldschmidt
I've successfully built Apache 2.0.49 (with SSL) and Tomcat 4.1.30 on AIX 5.1 -- and nobody on this list responded when I asked if anyone had a binary already built, so you may be on your own with AIX :-) If you haven't already done so, check out the following URL: http://www.apache.org/~

Tomcat 4.1.30 does not respect Date header

2004-06-17 Thread Chris Rossi
Hello. I am using Tomcat 4.1.30, with java 1.4.2 on a Readhat linux server. I was going to submit a bug report, but I noticed the bug tracker only goes through version 4.1.9. Is that bug tracker still being used? Should I still submit bugs to it? Anyway, I am implementing an HTTP Cache filt

Deploying problem with ant and the manager application

2004-06-17 Thread Johan Bång
Hi I'm trying to deploy a application using ANT but I don't get it to work. I know that I'm doing som general error here, but since it's my first build.xml script I just couldn't figure it out. My install task looks something like this: description="List installed applications on serve

Re: Tomcat 5 Database Connections

2004-06-17 Thread Jeff Sexton
Graham Leggett wrote: I think it's definitely tomcat - my environment is Postgresql on Redhat Enterprise and am getting the same thing. Dang, that's not good... I really like other things about the recent releases. But I have to agree. I just changed my java to call for a bogus resource name. T

tomcat5, apache2, mod_jk2 and mod_userdir

2004-06-17 Thread Renaldo VonTeknika
I don't seem to be able to get tomcat5, apache2, mod_jk2 and mod_userdir working together entirely. Everything works fine for the most part as users can serve jsp pages from their directories and tomcat recognizes each of their contexts. But I cannot get the uri host/~user/servlet/HelloWorld p

Re: Tomcat 5 Database Connections

2004-06-17 Thread Graham Leggett
Jeff Sexton wrote: I'm working with the binary for 5.0.24. Maybe I should try 5.0.19. I tried the v5.0.24 RPM, and then downgraded it to v5.0.19 to be the same as our development version, which is the binary v5.0.19. One thing I did not mention is that I am doing this on AIX, but that doesn't se

Jasper2 fork

2004-06-17 Thread Carl Olivier
Greetings. Quick question re the jasper2 (org.apache.jasper.servlet.JspServlet) fork init param. The default of the fork setting is true, however the Tomcat 5 binary (and I think source) distribution ships with this init-param set to false. Now the reason I am curious about this shipping with th

Re: Tomcat 5 Database Connections

2004-06-17 Thread Jeff Sexton
Graham Leggett wrote: Jeff Sexton wrote: This week I realized that my servlets are getting: org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null', cause: null As a test, try the binary package as provided by Jakarta for tomcat (unless of course y

Re: HttpClient

2004-06-17 Thread Tim Funk
inbound.xml and outbound.xml are probably being written in JRUN and weblogic too, just not the same spot. inbound.xml and outbound.xml have nothing to do with tomcat. It must be some custom code. -Tim Malai wrote: Hi., In my web-application i'm communicating the other external server using

HttpClient

2004-06-17 Thread Malai
Hi., In my web-application i'm communicating the other external server using thrier HttpClient Library. Every time the Tomcat does writes a file called inbound.xml and outbound.xml in to my user profile folder. I do not want to write thease files any more.But other servers JRun and Weblogic a

Re: Tomcat 5 Database Connections

2004-06-17 Thread Graham Leggett
Jeff Sexton wrote: This week I realized that my servlets are getting: org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null', cause: null As a test, try the binary package as provided by Jakarta for tomcat (unless of course you are already doing so

Sybase and Tomcat 5, Possible Problem

2004-06-17 Thread Jeff Sexton
After a lot of effort, I feel there may be some reason that the Sybase JConnect JDBC driver doesn't work in Tomcat 5.0.24 (I use Tomcat 4 for my Sybase driven apps quite a bit). The exception is: org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null

Tomcat 5 Database Connections

2004-06-17 Thread Jeff Sexton
This is part question and part observation regarding database connectivity under Tomcat (5.0.24). My application normally runs in production at my company on a Tomcat 4.0.4 server. The applications includes Cocoon and access to several databases (Sybase) via both Tomcat connections from servlets a

RE: question

2004-06-17 Thread Robert Harper
Did you set up the web.xml file in your application area to direct the browser to your application? If you are using a servlet, then you should have something like the following in the web.xml file in your application's WEB-INF directory. http://java.sun.com/dtd/web-app_2_3.dtd";> My dis

Re: question

2004-06-17 Thread Giuseppe Briotti
> > Hi > > I'm sorry but i don't understand. > > may someone explain it? > I want to know the procedure of making an application running, > please > > Angelo > > > http://cymulacrum.net/writings/tomcat5/book1.html Hi Angelo, the chapter 4 of Pascal's book is exactly what you need... Ch

Tomcat RPMs and database pools - no joy

2004-06-17 Thread Graham Leggett
Hi all, I have a war that connects to a database pool defined in a Resource section within server.xml. This war is run in a tomcat v5.0.19 environment as binary released by the jakarta project, and works 100%. I now want to deploy the war inside a jpackage RPM version of tomcat on my production

RE: DBCP pooling error

2004-06-17 Thread Bliesner, Christopher P
Still having trouble with getting the DBCP working with Oracle. I have seemingly followed the link below but I am still getting that NULL error below. Any ideas? Chris Bliesner Lead Oracle DBA/Unix admin Wk Phone 915-834-1757 -Original Message- From: David Short [mailto:[EMAIL P

IIS, Tomcat 5, Win2K issue

2004-06-17 Thread Ellis, Greg
I am having an issue with connecting Tomcat to IIS 5. I am trying to use the isapi_redirector2.dll. Everything appears to be installed correctly, I am getting a green arrow. Tomcat works fine when accessed with the standalone connector. However, when trying to request the tomcat example context thr

Re: question

2004-06-17 Thread [EMAIL PROTECTED]
Hi I'm sorry but i don't understand. may someone explain it? I want to know the procedure of making an application running, please Angelo > Hi Angelo, > > Please read my write-up on Tomcat 5 here : > http://cymulacrum.net/writings/tomcat5/book1.html > > I am currently updating the documen

Re: question

2004-06-17 Thread Chong Yu Meng
Hi Angelo, Please read my write-up on Tomcat 5 here : http://cymulacrum.net/writings/tomcat5/book1.html I am currently updating the document, but what you need now is right there. Regards, pascal chong [EMAIL PROTECTED] wrote: I put my web application under webapps... (moved the entire subtree o

Re: question

2004-06-17 Thread Ben Souther
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html On Thursday 17 June 2004 11:30 am, [EMAIL PROTECTED] wrote: > I put my web application under webapps... > (moved the entire subtree of my application) > now what do i do to have it running? > > How do i connect to it? > > Ang

RE: question

2004-06-17 Thread [EMAIL PROTECTED]
I put my web application under webapps... (moved the entire subtree of my application) now what do i do to have it running? How do i connect to it? Angelo > > Hi, > Didn't we discuss this last week? ;) Anyways, don't put your webapp > under webapps/ROOT: put it under the webapps folder itself

RE: Memory Settings On Tomcat

2004-06-17 Thread Endre Stølsvik
On Wed, 16 Jun 2004, Shapira, Yoav wrote: | | Hola ;) | | >Okay? Expected? I don't get that. Can you point me to a email-subject | of | >one of those threads? Or several?! | | There are a number of issues in this space. For example, if your | servlet class keep a static reference, that can't be g

RE: Tutorial on Tomcat and JMX ?

2004-06-17 Thread Shapira, Yoav
Hola, There are a few leads on google, such as http://mc4j.sourceforge.net/usageTomcat.html. There's probably nothing more comprehensive than looking at the admin webapp's code, as that exercises virtually every tomcat JMX operation/attribute: http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-ca

RE: HOW-TO : Mail session and authentication password

2004-06-17 Thread Q\. Werty
OK, thanks for you response. I've not understood how you specify/pass your SMTPAuthenticator from JNDI resources. What i want, is to be able to specify my SMTP password FROM SERVER.XML and not from application (like JDBC resources). Is your SMTPAuthenticator build by the application (and therefore

Tutorial on Tomcat and JMX ?

2004-06-17 Thread Michael Südkamp
Hi, Is there any good tutorial on how to play with the JMX capabilities of Tomcat 4 or 5? I have a basic understanding of JMX but I don't know how to get it to work with Tomcat. Michael - To unsubscribe, e-mail: [EMAIL PROTECT

RE: HOW-TO : Mail session and authentication password

2004-06-17 Thread Carl Olivier
Hi. I extended an javax.mail.Authenticator to set username and password for SMTP authentication: private static class SMTPAuthenticator extends Authenticator { String username, password; SMTPAuthenticator( String username, String password )

HOW-TO : Mail session and authentication password

2004-06-17 Thread Q\. Werty
How can I declare a JavaMail Session in server.xml with AUTHENTICATION informations? It's OK for some properties (mail.smtp.port|from|user|auth) but never found a way to indicate PASSWORD. Accédez au courrier électronique de La Poste : www.laposte.net ; 3615 LAPOSTENET (0,34€/mn) ; tél : 08 92 6

Re: Safety of images under the WEB-INF?

2004-06-17 Thread Elijah Epifanov
However, if you run Tomcat behind Apache, you should ensure that none of your WEB-INF folders will be served by Apache. - Original Message - From: "Shapira, Yoav" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, June 17, 2004 6:53 PM Subject: RE: Safety of

RE: JK2: lb_factor

2004-06-17 Thread Kommuru, Bhaskar
Hey my friend, Please check the last section of this link, I hope you can understand better? I have been trying to understand this section..but could not help it. :--) http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configwebcom.html -Ursprüngliche Nachricht- Von: Kommuru, Bh

RE: Safety of images under the WEB-INF?

2004-06-17 Thread Shapira, Yoav
Hi, No, they can't be viewed directly: the servlet container is prohibited from serving content under WEB-INF directories by the Servlet Specification. This is strictly implemented by all servlet container I know of, and is easy to test in your installation by trying to access the image under WEB

Safety of images under the WEB-INF?

2004-06-17 Thread James Sherwood
Hello, I am doing a project where I dont want people to be able to link directly to certian images/files unless they are logged in through my security framework. The question is, if I put an images directory under the WEB-INF and serve the images up through a service, how safe are these im

RE: All threads are busy ... servlet status 75

2004-06-17 Thread Shapira, Yoav
Hi, There's always the option that are actually getting a high enough load to occupy 75 threads ;) Yoav Shapira Millennium Research Informatics >-Original Message- >From: Harald Henkel [mailto:[EMAIL PROTECTED] >Sent: Thursday, June 17, 2004 10:52 AM >To: [EMAIL PROTECTED] >Subject: Al

Re: All threads are busy ... servlet status 75

2004-06-17 Thread Filip Hanik - Dev
it means that you ran out of connections (sockets), you can increase the 75 value in server.xml under the connector section. you might also want to investigate why your code is not returning fast enough, or MAYBE NOT AT ALL? Filip - Original Message - From: "Harald Henkel" <[EMAIL PROTE

All threads are busy ... servlet status 75

2004-06-17 Thread Harald Henkel
Hello everybody. I receive an error like the above and then Tomcat stops to respond. I searched the archives about this error and found that a lot of people also had this, but I didn't find the solution in the answers. Sometimes it was suggested to upgrade to 4.1.29, but that's what we are alread

RE: Xslt and Tomcat

2004-06-17 Thread Shapira, Yoav
Hi, Someone can deny this, as opposed to confirming it ;) DOM4j is not part of Xerces. You can read about it and download it at http://www.dom4j.org/. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Worley Brent - bworle [mailto:[EMAIL PROTECTED] >Sent: Thursda

Adding roles to users

2004-06-17 Thread Robert Harper
I have been able to create a user by calling the "createUser" method on the "Users:type=UserDatabase,database=UserDatabase" object. Now I need to add a role to that user. In the mbeans-descriptors.xml file it describes the return value as being the name of the user bean. The source for MemoryU

Re: How can I inhibit web navegation?

2004-06-17 Thread Pablo Lillia
Another quick hack: just add en empty index.html (or .jsp) file. BTW, see http://jakarta.apache.org/tomcat/faq/misc.html#listing first. Shapira, Yoav escribió: http://jakarta.apache.org/tomcat/faq/misc.html#listing Yoav Shapira Millennium Research Informatics -Original Message- From: Bachl

Xslt and Tomcat

2004-06-17 Thread Worley Brent - bworle
java.lang.NoClassDefFoundError: org/dom4j/Document I got this error using XTags. I have a feeling that I might not have the Xerces libs in the right place. Can someone confirm this? Thanks, Brent ** The information contained

RE: JK2: lb_factor

2004-06-17 Thread Weseloh, Nicole
Yes, right, that was the mail I meant. Your assumption about "failover instead of load balancing" seems to be correct, at least, at my cluster (one local server, on a remote machine another server + VMWare with a third server) it is the same - thanks for that comment, I was to blind to see it

RE: JK2: lb_factor

2004-06-17 Thread Kommuru, Bhaskar
Do you remember that mail about "lb_factor"? What you said it right about lb_factor. Changing this value does not affect easily. -Original Message- From: Weseloh, Nicole [mailto:[EMAIL PROTECTED] Sent: Thursday, June 17, 2004 2:39 PM To: Tomcat Users List Subject: AW: JK2: lb_factor Ye

Re: Caused by: java.lang.IllegalStateException: Context path is already in use

2004-06-17 Thread Veniamin Fichin
Arsen A. Gutsal wrote: Getting subj during deploying into root ("") context. Who may help me? May be there really is another context at this path? Check all path attributes of Context element(s) in your server.xml . -- Veniamin Fichin ---

RE: JK2: lb_factor

2004-06-17 Thread Kommuru, Bhaskar
In my case, I have 4 tomcats, 2 running locally and other 2 remotely. I have noticed onething here.. Loadbalancer is giving preference only to local servers. If no local server available, then it loadbalances all the remote servers perfectly. So basically, it is forcing us that we can only do FAIL

RE: Increasing compiler memory in Build.xml

2004-06-17 Thread Shapira, Yoav
Hi, Use the memoryMaximumSize attribute of the javac task (and set fork to true as well). This is an Ant question. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Richey, Ross [mailto:[EMAIL PROTECTED] >Sent: Thursday, June 17, 2004 9:39 AM >To: [EMAIL PROTECTED

RE: How can I inhibit web navegation?

2004-06-17 Thread Frank Zammetti
Well, you can stop directory lists by setting listings to false in web.xml in /tomcat/conf (the global web.xml file). There are comments about it in the file. As for the navigation thing, you can externalize your security with something like Netegrity Siteminder. This will allow you to stop u

RE: How can I inhibit web navegation?

2004-06-17 Thread Shapira, Yoav
http://jakarta.apache.org/tomcat/faq/misc.html#listing Yoav Shapira Millennium Research Informatics >-Original Message- >From: Bachler, Elisabeth (Elisabeth) [mailto:[EMAIL PROTECTED] >Sent: Thursday, June 17, 2004 9:35 AM >To: 'Tomcat Users List' >Subject: How can I inhibit web navegat

Increasing compiler memory in Build.xml

2004-06-17 Thread Richey, Ross
I'm using the webapp compilation script I found on http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html to compile a servlet zone. But It appears that Javac is running out of memory: -Output- Buildfile: build.xml jspc: compile: [javac] Compiling 16726 source files to /

How can I inhibit web navegation?

2004-06-17 Thread Bachler, Elisabeth (Elisabeth)
Hello, I have a web application that runs under jakarta-tomcat-5.0.19. The root of my application is: /opt/jakarta-tomcat-5.0.19/webapps/provision/ I can access the application through: http://135.88.100.251:8080/provision/web/login.jsp Now, I don't want the user to be able to navigate through

Re: Cluster not working properly

2004-06-17 Thread Filip Hanik - Dev
uh, that code is so old, you are better off upgrading to tomcat 5, plus we can support you better. Filip - Original Message - From: "Dale, Matt" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, June 17, 2004 6:41 AM Subject: RE: Cluster not working properly

RE: [ANNOUNCE] Servlet Utilities 0.1

2004-06-17 Thread Shapira, Yoav
Hi, You know, when I was putting the balancer app in tomcat proper, I was thinking it'd be great if we had a place for these extra things that don't quite belong in tomcat itself, but are useful accompaniments. We could do this any number of ways, such as sourceforge or a contrib section of the t

AW: JK2: lb_factor

2004-06-17 Thread Weseloh, Nicole
Yes, I'm still struggling, too, and have quite similar problems now - I added a third server to the load balanced cluster, but only two of them get requests. I shut down each server in turn, and the load got balanced fine between the remaining two - on starting up the third server again, one alw

[ANNOUNCE] Servlet Utilities 0.1

2004-06-17 Thread Tim Funk
I threw together a few filter utilities. Everything (including source) can be found here: http://funkman.home.comcast.net/ Utilities of interest: *TimerFilter* - A Filter that lets you spew out how long it took to serve a page. *ErrorFilter* - Spit or an error code and a file or message. *NoCache

RE: JK2: lb_factor

2004-06-17 Thread Kommuru, Bhaskar
I too have similar problem and have been struggling since morning. My problem is my mod_jk2 doesnt even load balance to remote server. When i shut down local servers, it puts the request to remote server.. no cluesss!! -Original Message- From: Weseloh, Nicole [mailto:[EMAIL PROTECTED] Sen

log4j:WARN No appenders could be found

2004-06-17 Thread Tom K
I am using Tomcat 5.0.19 and I get the “log4j:WARN No appenders could be found” error on startup. I have a log4j-1.2.8.jar file in my apps /lib director. Should the log4j.properties file be in the same directory? TIA Tom K. --- Outgoing mail is certified Virus Free. Checked by AVG anti-viru

  1   2   >