Re: hello world

2008-09-19 Thread André Warnier
Caldarale, Charles R wrote: From: news [mailto:[EMAIL PROTECTED] On Behalf Of thufir Subject: Re: hello world If Apache installs then why not tomcat? Apache is a software organization with numerous products; if by "Apache" you mean httpd, it may be because the 3rd-party developers are more fa

RE: Tomcat 5.5, JNDI Connection Pooling, Active connections keep increasing....

2008-09-19 Thread sinoea kaabi
You aren't using any class-level members in your static methods so you should be fine. This means that I cannot declare a: public class Data { private static DataSource datasource = null; public static DataSource getDataSource() { if (datasource == null) { // create a datasourc

Re: j_security_check Tomcat user status

2008-09-19 Thread Mark Thomas
Tokajac wrote: > Hello! > > For Connection on database i initialize in context.xml: > [CODE] > driverName="com.Driver" > connectionURL="jdbc:url" > connectionName="CONNAME" connectionPassword="CONPASS" userTable="BFWBBUSR" > userNameCol="LOGINNM" userCredCol="USRPASS" > userRoleTable="BF

Re: html entities and urls with spaces

2008-09-19 Thread Mark Thomas
Brendan Martens wrote: > Hmmm, here are my jk settings: > > JKWorkersFile/etc/libapache2-mod-jk/workers.properties > JkLogFile/var/log/apache2/mod_jk.log > JkLogLevelinfo > JkShmFile/var/log/apache2/mod_jk.shm > JkOptions+ForwardURICompatUnparsed That value of JkOptions should

Tomcat clustering: Don't see Cluster MBean

2008-09-19 Thread Landry Stephane Zeng Eyindanga
Mark Thomas a écrit : Brendan Martens wrote: Hmmm, here are my jk settings: JKWorkersFile/etc/libapache2-mod-jk/workers.properties JkLogFile/var/log/apache2/mod_jk.log JkLogLevelinfo JkShmFile/var/log/apache2/mod_jk.shm JkOptions+ForwardURICompatUnparsed That value

Re: Tomcat clustering: Don't see Cluster MBean

2008-09-19 Thread Mark Thomas
Landry Stephane Zeng Eyindanga wrote: > Hi all, > I am trying to use a tomcat6 cluster. I've just set my configuration > (with two tomcat nodes) just as indicated in the tomcat clustering guide > (http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html). > Unfortunately, I see all MBeans that I

Re: Tomcat clustering: Don't see Cluster MBean

2008-09-19 Thread André Warnier
Hi Landry Stephane. "Hijacking a thread" usually means hitting the "reply" button on a forum message, leave the subject as it was, and then ask a totally unrelated question in the message. You should not do that, because it is confusing for people who try to help the original poster of the ori

Re: html entities and urls with spaces

2008-09-19 Thread André Warnier
Brendan Martens wrote: [...] I am migrating this site from an older RHEL server where it works fine. I am migrating to a Debian server with up to date Debian packages of apache2, tomcat5, and java6. For all their perceived faults, it is unlikely that Debian packagers would package mutually in

Re: Tomcat 5.5, JNDI Connection Pooling, Active connections keep increasing....

2008-09-19 Thread Johnny Kewl
- Original Message - From: "sinoea kaabi" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, September 19, 2008 9:18 AM Subject: RE: Tomcat 5.5, JNDI Connection Pooling, Active connections keep increasing You aren't using any class-level members in your static methods s

Re: Tomcat 5.5, JNDI Connection Pooling, Active connections keep increasing....

2008-09-19 Thread Johnny Kewl
Heres the blurb on the stuff... http://java.sun.com/docs/books/tutorial/essential/concurrency/index.html/01/ Where I spoke about the "New Trick"... they blab on about immutable.. The stuff you prbably want to look at is Synchronized Statements In C they talk about semisphores and stuff... if yo

Re: Tomcat clustering: Don't see Cluster MBean

2008-09-19 Thread Landry Stephane Zeng Eyindanga
Mark Thomas a écrit : Landry Stephane Zeng Eyindanga wrote: Hi all, I am trying to use a tomcat6 cluster. I've just set my configuration (with two tomcat nodes) just as indicated in the tomcat clustering guide (http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html). Unfortunately, I see

Tomcat clustering: Don't see Cluster MBean

2008-09-19 Thread Landry Stephane Zeng Eyindanga
Hi all, I am trying to use a tomcat6 cluster. I've just set my configuration (with two tomcat nodes) just as indicated in the tomcat clustering guide (http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html). Unfortunately, I see all MBeans that I should see, but the Cluster MBean (|type=Clu

RE: hello world

2008-09-19 Thread Martin Gainty
once the real tomcat is installed..start logging.. http://tomcat.apache.org/tomcat-5.5-doc/logging.html Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This tran

Re: Balance and sync data

2008-09-19 Thread Martin Spinassi
On Thu, 2008-09-18 at 23:31 +0200, André Warnier wrote: > Martin Spinassi wrote: > [...] > > Martin, > > I re-read the thread from the beginning, and as I understand it you have > - clients that upload files, most of then images > - clients that download these same images > - and you would like

RE: staging

2008-09-19 Thread Frank Uccello
I check war the work directory and there no abc folder in the staging computer so I not sure if that the issue. Anyways I copy the directory in and still same issue and yes I refresh the browsers also I clear the cache just be the safe side same issue -Original Message- From: Paul McGu

RE: staging

2008-09-19 Thread Frank Uccello
I not sure if /manager/h\ml is installed I look at the testing which is a linux box and tried //ip/manager/hml did not work and in windows which is the staging server I have tried //localhost/manager/html I also newbie at this so can went over my head here can you step by step it please Thanks

Solution to integrating error-page with struts2

2008-09-19 Thread Fred Toth
Hi all, I had problems trying to get tomcat to forward to a struts2 action from an directive in web.xml. I was all set to run to the list for help when I figured it out. I thought I'd post this anyway in case it helps someone else. I had error-page working in the simplest sense. If I pointed it

Re: hello world

2008-09-19 Thread Steve Ochani
Send reply to: Tomcat Users List Date sent: Fri, 19 Sep 2008 09:09:11 +0200 From: André Warnier <[EMAIL PROTECTED]> To: Tomcat Users List Subject:Re: hello world > Now rather than recriminating at aeternum, does anyone

tomcat5.5 and ubuntu hardy heron

2008-09-19 Thread wwuster
I've installed tomcat 5.5 on ubuntu hardy heron. If I go to localhost:8180 I get the welcome screen. I can then click on "Tomcat Administration" on the left and go to the admin page and get in using the default user/password. However if I click on "Tomcat Manager" I get: HTTP Status 403 - Access

Re: Tomcat 6 HTTP / HTTP SSL Connector Port - Configuration Verification

2008-09-19 Thread Steve Ochani
On 18 Sep 2008 at 14:29, Gauss wrote: > Greetings, > > > > I am using Apache Tomcat 6.0 on Windows Server 2003. I'm not > serving any > pure HTML pages - all pages are JSPs, so I plan to use Tomcat in a > standalone mode. > > > > I want to use port 80 for HTTP and port 443 for HTTPS/SSL

Re: tomcat5.5 and ubuntu hardy heron

2008-09-19 Thread John5342
I use fedora rather than ubuntu myself so the details may differ but the manager webapp may well be in a seperate package that may not be installed with tomcat automatically. Try looking in synaptic for that. In fedora its in tomcat-admin-webapps. The automatic deployment of wars depends on you se

Re: tomcat5.5 and ubuntu hardy heron

2008-09-19 Thread wwuster
John5342 wrote: > > I use fedora rather than ubuntu myself so the details may differ but the > manager webapp may well be in a seperate package that may not be installed > with tomcat automatically. Try looking in synaptic for that. In fedora its > in tomcat-admin-webapps. > > The automatic de

jstack and Tomcat 6 on Windows

2008-09-19 Thread Brian Clark
Hello, I run Tomcat 6.0.x as a service on Windows 2003, using Sun JDK 1.6. I was trying to use the jstack program, part of the JDK, to get a stack dump from Tomcat/Java on my server. However, I ran into a problem. First of all, Tomcat on Windows seems to "hide" the JVM instance. Java doesn't sh

Tomcat JVM monitoring by SNMP

2008-09-19 Thread Edson Manners
I've been trying to get JVM monitoring through SNMP working with a Tomcat instance that I am running. I've followed the intsructions on this and other pages (http://gentoo-wiki.com/JVM_Monitoring_with_SNMP) and I'm having trouble specifically with having the JVM options take effect. i.e. after maki

Re: tomcat5.5 and ubuntu hardy heron

2008-09-19 Thread André Warnier
Quickly, before the "official tomcat" brigade arrives : try dropping your war file in /var/lib/tomcat5.5/webapps instead. I don't know yet why that is exactly, but I'm working on it ;-) The packagers of Tomcat 5.5 for various Linux distributions seem to have done a good job at spreading Tomcat

Re: jstack and Tomcat 6 on Windows

2008-09-19 Thread André Warnier
Brian Clark wrote: Hello, I run Tomcat 6.0.x as a service on Windows 2003, using Sun JDK 1.6. I was trying to use the jstack program, part of the JDK, to get a stack dump from Tomcat/Java on my server. However, I ran into a problem. First of all, Tomcat on Windows seems to "hide" the JVM instanc

Re: tomcat5.5 and ubuntu hardy heron

2008-09-19 Thread wwuster
awarnier wrote: > > Quickly, before the "official tomcat" brigade arrives : try dropping > your war file in /var/lib/tomcat5.5/webapps instead. > > I don't know yet why that is exactly, but I'm working on it ;-) > > The packagers of Tomcat 5.5 for various Linux distributions seem to have >

Re: jstack and Tomcat 6 on Windows

2008-09-19 Thread André Warnier
André Warnier wrote: Brian Clark wrote: Hello, I run Tomcat 6.0.x as a service on Windows 2003, using Sun JDK 1.6. I was trying to use the jstack program, part of the JDK, to get a stack dump from Tomcat/Java on my server. However, I ran into a problem. First of all, Tomcat on Windows seems

Re: tomcat5.5 and ubuntu hardy heron

2008-09-19 Thread Gregor Schneider
On Fri, Sep 19, 2008 at 10:41 PM, André Warnier <[EMAIL PROTECTED]> wrote: > An alternative is to wait a couple more hours, until the first suggestion to > de-install your Tomcat package and install the Tomcat from the official > Tomcat site arrives. > actually, that would be my suggestion. howeve

RE: jstack and Tomcat 6 on Windows

2008-09-19 Thread Martin Gainty
I would steer clear of any windowsInstaller messWithYourRegistry windows specific utilities and/or programs SET JAVA_HOME=SourceFolderLocationWhereJavaIsInstalled SET CATALINA_HOME=SourceFolderLocationWhereTomcatIsInstalled SET JAVA_OPTS=whatever java options you need to set then java -jar boots

Re: jstack and Tomcat 6 on Windows

2008-09-19 Thread Johnny Kewl
- Original Message - From: "André Warnier" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, September 19, 2008 11:42 PM Subject: Re: jstack and Tomcat 6 on Windows André Warnier wrote: Brian Clark wrote: Hello, I run Tomcat 6.0.x as a service on Windows 2003, using Sun J

Re: jstack and Tomcat 6 on Windows

2008-09-19 Thread André Warnier
Martin Gainty wrote: I would steer clear of any windowsInstaller messWithYourRegistry windows specific utilities and/or programs SET JAVA_HOME=SourceFolderLocationWhereJavaIsInstalled SET CATALINA_HOME=SourceFolderLocationWhereTomcatIsInstalled SET JAVA_OPTS=whatever java options you need to se

Re: jstack and Tomcat 6 on Windows

2008-09-19 Thread Brian Clark
Thanks everyone for their suggestions. Unfortunately, that doesn't help me with my particular issue. I have a memory leak in one of my apps, and when the system runs out of memory, it stops responding to new requests. I have a script that will detect this condition and automatically restart To

Re: jstack and Tomcat 6 on Windows

2008-09-19 Thread André Warnier
Brian Clark wrote: Thanks everyone for their suggestions. Unfortunately, that doesn't help me with my particular issue. I have a memory leak in one of my apps, and when the system runs out of memory, it stops responding to new requests. I have a script that will detect this condition and aut

Re: hello world

2008-09-19 Thread thufir
On Fri, 19 Sep 2008 10:10:20 -0400, Steve Ochani wrote: >> Now rather than recriminating at aeternum, does anyone know how to >> track down said packager, so that maybe he could come here and see the >> errors of his ways, or at least explain his logic here ? Same as for >> Debian Tomcat5.5 itsel

RE: tomcat5.5 and ubuntu hardy heron

2008-09-19 Thread Caldarale, Charles R
> From: wwuster [mailto:[EMAIL PROTECTED] > Subject: Re: tomcat5.5 and ubuntu hardy heron > > I also was starting to not like tomcat because of all of > the symlinks and lack of valid documentation (for ubuntu). Further evidence to support running away from the 3rd-party repackaged versions and i

JVM config for tomcat5.5

2008-09-19 Thread jaki
Hi, I wanted to know where java_home is set for Tomcat when it's installed as a service since I can't find any .bat/.sh files in my tomcat folder. Thanks -- View this message in context: http://www.nabble.com/JVM-config-for-tomcat5.5-tp19583097p19583097.html Sent from the Tomcat - User mailing