RE: Problem in MySQL JNDI Resource..

2007-03-22 Thread prt
Hi and thanks for replay, The close Host tag is /Host. I try to put context.xml in webapps/test1/META-INF(removed from server.xml + removed the path=), Context debug=0 reloadable=true crossContext=true Resource name=jdbc/mydb auth=Container type=javax.sql.DataSource

Ok, I solved the problem...

2007-03-22 Thread prt
Hi to all again, I just changed the path attribute from path=/ to path= in server.xml and is work, Host name=localhost appBase=webapps ... Context path= docBase=test1 debug=0 reloadable=true crossContext=true Resource name=jdbc/mydb auth=Container type=javax.sql.DataSource

Are there frameworks for in-cluster communication?

2007-03-22 Thread Clemens Eisserer
Hello, I know this question is a bit off-topic, but I can't resist to ask directly where all the cluster-specialists are ;) Are there special (best would be open-source) frameworks for in-cluster communication? I have to make a large servlet-based solution cluster-ready and it seems to be

Re: Are there frameworks for in-cluster communication?

2007-03-22 Thread Mikolaj Rydzewski
Clemens Eisserer wrote: I know this question is a bit off-topic, but I can't resist to ask directly where all the cluster-specialists are ;) Are there special (best would be open-source) frameworks for in-cluster communication? Terracotta? http://www.terracotta.org/ -- Mikolaj Rydzewski

context not recognised?

2007-03-22 Thread Richard Dunne
I have installed jakarta tomcat 5.0.28 and j2sdk1.4.2_13. I have added the appropriate environment variables for JAVA_HOME and CATALINA_HOME. I have compiled and run HelloWorld.java. I have started the tomat server with catalina.bat run. I can view and execute the jsp and servlet examples on

Re: [OT] apache-tomcat on an ia64 rhel4?

2007-03-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeff, Jeff Sadowski wrote: If all else fails I could run bochs and run linux on top of that boy that would be ugly. You should run a virtualization product instead of an emulation product, since you're actually on IA hardware. For instance, run

Re: Can I get your 2 cents?

2007-03-22 Thread Nathan Aaron
From what I have read in a Tomcat book this is related to JMX. If I understand it correctly JMX is optional. Anyone know how to turn it off? Nathan Rashmi Rubdi wrote: The error is: Caused by: java.lang.IllegalArgumentException: Object name cannot be null This error occurs when you use

Comet in tomcat

2007-03-22 Thread Vincent Demay
Hi all, I'm working on server side pushing integration in Wicket, and I saw Tomcat6 implements comet : http://tomcat.apache.org/tomcat-6.0-doc/aio.html Have you got a complete example of an application using cometProcessor? How can I use NIO connector? Is there an implemantation of the

RE: connection pool

2007-03-22 Thread Gioia, Michael
Barry, how did you have a service stop and start on it's own, with out rebooting the machine? -Original Message- From: Propes, Barry L [GCG-NAOT] [mailto:[EMAIL PROTECTED] Sent: Monday, March 19, 2007 12:15 PM To: Tomcat Users List Subject: RE: connection pool I wonder if you have some

RE: context not recognised?

2007-03-22 Thread Caldarale, Charles R
From: Richard Dunne [mailto:[EMAIL PROTECTED] Subject: context not recognised? I have added the folowing line to my server.xml file context path=/Project docBase=c:\Project debug=0 /. It's Context, not context. For 5.0 and above Context elements should not be placed in server.xml; they

How to change a cipher suite with jboss 3.2.5

2007-03-22 Thread BENTOUHAMI MB Malek \(DCL\)
Hi, I meet a unsolvable problem (for me) : 14:54:27,221 ERROR [PoolTcpEndpoint] Le point de contact [SSL: ServerSocket[addr=/0.0.0.0,port=0,localport=8443]] a ignoré l'exception: java.net.SocketException: SSL handshake errorjavax.net.ssl.SSLException: No available certificate corresponds to

Re: Can I get your 2 cents?

2007-03-22 Thread Martin Gainty
Nathan- I'll assume you're not using reflection to acquire the bean object and If you dont mind a code solution I found this wrapper class for JMX which performs all the necessary functions for the Java Management Bean http://www.koders.com/java/fidE81D6F40A8BABBF1652FF4CFA3F45B7E56D1C78F.aspx

connection pool

2007-03-22 Thread Gioia, Michael
Hi, I'm still having a problem with tomcat with keeping up the connection to the database thru the connection pool. Almost every weekend the database gets bumped and the java app that were running needs to have tomcat restarted to reconnect to the database thru the connection pool. When we

RE: connection pool

2007-03-22 Thread Nelson, Tracy M.
| From: Gioia, Michael [mailto:[EMAIL PROTECTED] | Sent: Thursday, 22 March, 2007 08:36 | | Barry, how did you have a service stop and start on it's own, with out | rebooting the machine? You can probably use the NET START/STOP service-name commands in a script, and then run that script as a

Session

2007-03-22 Thread James Sherwood
Hello, I am trying to make the session in my java(Tapestry) project only expire when the browser is closed. Any hints on how to do this? Thanks, James - To start a new topic, e-mail: users@tomcat.apache.org To

Re: request hangs

2007-03-22 Thread Chris Eldredge
Martin, Thanks for the response. The thread accepting UDP packets has a timeout of 100ms after which it waits again for a packet. Anyway, this is happening in its own thread, executing asynchronously from Tomcat's http request processing threads. I'm not aware of any limitations where

Re: Comet in tomcat

2007-03-22 Thread Rémy Maucherat
On 3/22/07, Vincent Demay [EMAIL PROTECTED] wrote: Hi all, I'm working on server side pushing integration in Wicket, and I saw Tomcat6 implements comet : http://tomcat.apache.org/tomcat-6.0-doc/aio.html Have you got a complete example of an application using cometProcessor? No real

Re: context not recognised?

2007-03-22 Thread Richard Dunne
I have these: admin, balancer and manager .xml files in $CATALINA_HOME/conf/[enginename]/[hostname]/ directory. Should I put my Context in one of these files as each already has a Context? Richard. - Original Message From: Caldarale, Charles R [EMAIL PROTECTED] To: Tomcat Users List

RE: context not recognised?

2007-03-22 Thread Caldarale, Charles R
From: Richard Dunne [mailto:[EMAIL PROTECTED] Subject: Re: context not recognised? Should I put my Context in one of these files as each already has a Context? No, you put it in conf/Catalina/localhost/Project.xml; the name of the .xml file determines the URI path to the webapp. - Chuck

Re: connection pool

2007-03-22 Thread David Smith
Hmmm... that's odd. Can you offer any more details of the problem? OS? tomcat version? database and driver? Any reliance on mapped network drive resources? --David Gioia, Michael wrote: Hi, I'm still having a problem with tomcat with keeping up the connection to the database thru the

RE: connection pool

2007-03-22 Thread Propes, Barry L [GCG-NAOT]
exactly. -Original Message- From: Nelson, Tracy M. [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 9:05 AM To: Tomcat Users List Subject: RE: connection pool | From: Gioia, Michael [mailto:[EMAIL PROTECTED] | Sent: Thursday, 22 March, 2007 08:36 | | Barry, how did you have a

Re: context not recognised?

2007-03-22 Thread David Smith
Nope create a new xml file in that location named after your webapp's context ... ie Project.xml. In the xml file, just put in the Context ../Context block. --David Richard Dunne wrote: I have these: admin, balancer and manager .xml files in

Re: Session

2007-03-22 Thread Darren
I am trying to make the session in my java(Tapestry) project only expire when the browser is closed. HTTP is stateless so the server has no idea what the client is or isn't doing. You could make something to suit your purposes though; - change your session timeout to something small like

Re: Comet in tomcat

2007-03-22 Thread Peter Kennard
Curious - with Comet I assume you can now have multiple servlet requests share a single thread if they are written cooperatively? I have just written a client side that does this with NIO. I am working on a system were a lot of small requests and body chunks are being processed. PK At

RE: Session

2007-03-22 Thread Raghupathy, Gurumoorthy
Google is your answer . Set session timeout to be -1 session-timeout-1/session-timeout http://e-docs.bea.com/wls/docs81/webapp/web_xml.html#1017275 Regards Guru --- Gurumoorthy Raghupathy Email : [EMAIL

Re: Are there frameworks for in-cluster communication?

2007-03-22 Thread Clemens Eisserer
Hello, Terracotta? http://www.terracotta.org/ Thanks a lot for your answer. Wow teracotta really looks impressive and very powerful- however its too heavy for my use. It needs servers and clients started and so on which is problematic because I don't have any control over the servers :-/ I

Re: requiring multiple roles for access

2007-03-22 Thread Ryan
Barry, Regarding your method below, do you catch this method in JSP or somewhere else? Thanks, Ryan On 3/21/07, Propes, Barry L [GCG-NAOT] [EMAIL PROTECTED] wrote: I don't know about disabling users, as I haven't tried something like that, and there may be ways of tiering the access in

Re: How to change a cipher suite with jboss 3.2.5

2007-03-22 Thread Paul Singleton
BENTOUHAMI MB Malek (DCL) wrote: Hi, I meet a unsolvable problem (for me) : 14:54:27,221 ERROR [PoolTcpEndpoint] Le point de contact [SSL: ServerSocket[addr=/0.0.0.0,port=0,localport=8443]] a ignoré l'exception: java.net.SocketException: SSL handshake errorjavax.net.ssl.SSLException: No

Re: Can I get your 2 cents?

2007-03-22 Thread Nathan Aaron
Thanks for the response. I will pass this along to the developers. I am only the administrator of this application. Wish I knew more about it! Nathan Martin Gainty wrote: Nathan- I'll assume you're not using reflection to acquire the bean object and If you dont mind a code solution I

Re: request hangs

2007-03-22 Thread Martin Gainty
Hi Chris- Possible if the invoker 1)is executing the thread in a synchronized fashion ..but.. synchronization produces contention (the analogy is 2 boys reach for the same piece of bread at the dinner table at the same time where neither one wants to give the other his prize..it's best to

Re: Session

2007-03-22 Thread Andrew Pliszka
I do not know your use case, but if you care only about authentication information in session, you can use a cookie to store some encripted information, and every time session expires use cookie to reauthenticate user, and recreate the session. You may try to apply this pattern to other cases.

Re: Session

2007-03-22 Thread James Sherwood
Hello, I tried this by using an iframe in the page that kept refreshing the page. It works but the only problem is you get a click everytime the frame refreshes. What in javascript would constitute a 'keep alive' request? I tried images loading etc and they didnt seem to do it. Thanks,

How to run a .exe file from a web application in tomcat

2007-03-22 Thread Jitendra Ch
Hi to allI am new member to this group. I am having some problems in calling an .exe file for example notepad, from a web application using Tomcat.Is it possible to call an .exe file from a web application in Tomcat.With Regards,Jitendra

Re: How to run a .exe file from a web application in tomcat

2007-03-22 Thread Mikolaj Rydzewski
Jitendra Ch wrote: Hi to allI am new member to this group. I am having some problems in calling an .exe file for example notepad, from a web application using Tomcat.Is it possible to call an .exe file from a web application in Tomcat. Why do you want remote clients run separate

Re: Are there frameworks for in-cluster communication?

2007-03-22 Thread Filip Hanik - Dev Lists
Clemens Eisserer wrote: Hello, Terracotta? http://www.terracotta.org/ Thanks a lot for your answer. Wow teracotta really looks impressive and very powerful- however its too heavy for my use. It needs servers and clients started and so on which is problematic because I don't have any control

Re: Session

2007-03-22 Thread Alvaro Seixas
James, IDK if it's possible or will fit your needs, but you could add an Ajax script that checks if the browser has closed. If I'm not mistaken, DWR RC3 handles that. []s - Original Message - From: James Sherwood [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent:

Re: Comet in tomcat

2007-03-22 Thread Filip Hanik - Dev Lists
Vincent Demay wrote: Hi all, I'm working on server side pushing integration in Wicket, and I saw Tomcat6 implements comet : http://tomcat.apache.org/tomcat-6.0-doc/aio.html Have you got a complete example of an application using cometProcessor? I'm writing an example as we speak, but won't

RE: How to run a .exe file from a web application in tomcat

2007-03-22 Thread Jitendra Ch
Actually my requirement is like that. The client wants to edit the image file so that he can he can do some changes. and also he wants to edit the control.xml file for these reasons I thought of calling an .exe for Drawing tool, is there any way for that? please help me Date: Thu, 22 Mar 2007

Re: How to run a .exe file from a web application in tomcat

2007-03-22 Thread Filip Hanik - Dev Lists
Jitendra Ch wrote: Hi to allI am new member to this group. I am having some problems in calling an .exe file for example notepad, from a web application using Tomcat.Is it possible to call an .exe file from a web application in Tomcat.With Regards,Jitendra

RE: How to run a .exe file from a web application in tomcat

2007-03-22 Thread Tim Lucia
Tomcat is running on a server, say tomcat.mycompany.com. The user is sitting on their computer, say mypc.othercompany.com. The two speak http to each other. Thus, if you want the client (mypc.othercompany.com) to edit a file, you must send it from the server (tomcat.mycompany.com) to the

Re: How to run a .exe file from a web application in tomcat

2007-03-22 Thread Clemens Eisserer
By the way using an exe-drawing tool is maybe a bad idea because this would mean your clients all need to be win32/i386 computers. I guess something like that should not be too hard to do with an Java-based drawing tool you could embed as applet and you write the Http upload/download code. lg

Re: How to run a .exe file from a web application in tomcat

2007-03-22 Thread David Smith
Just for clarifications sake, are you asking for how to launch a client-side app or a server-side app? Server-side is moderately easy, client-side is a whole different animal. For security reasons, you really can't call a specific client-side app from tomcat. Best bet there is to make sure

Invoker - Security

2007-03-22 Thread Shiau, Eric
Tomcat version 6.0.10. When I enabled servlet invoker by uncommented following lines, got following errors. How can I get around the problem? I know invoker is evil, but very convenient at development stage. I tried to do some research my own, but after I sent e-mail '[EMAIL PROTECTED]' to

Re: Session

2007-03-22 Thread Darren
I tried this by using an iframe in the page that kept refreshing the page. It works but the only problem is you get a click everytime the frame refreshes. What in javascript would constitute a 'keep alive' request? I don't have any examples as it's not something I've done. I was

RE: Invoker - Security

2007-03-22 Thread Raghupathy, Gurumoorthy
I think that privileged=true in your context file . Context privileged=true otherparametersgohere / should fix it ... Regards Guru -Original Message- From: Shiau, Eric [mailto:[EMAIL PROTECTED] Sent: 22 March 2007 16:08 To: Tomcat Users List Subject: Invoker - Security Tomcat

RE: Connections in tomcat resource in busy state forever

2007-03-22 Thread Drazen Nikolic
) should help. Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ NOD32 2134 (20070322) Information

RE: mod_jk load balancing with SSL?

2007-03-22 Thread Sean Neeley
I figured it out... my URL's have the port number in them, i.e.: https://myhost.com:8080/ppro_lb/online?command=iosignon_ I did not have SSL enabled in tomcat, just apache. I enabled SSL in tomcat and changed the port number used in my URL's to the SSL connector port. Now everything works. -

Running Java Apps From The Browser

2007-03-22 Thread org
Hi Teh Noranis Mohd Aris, Hope you read this. I remember you having problems with Applets, namely trying to get around security issues. Just want to tell you I made IGNITION, which you can get at http://coolese.100free.com You drop your applications into a folder on the servlet point a

Re: connection pool

2007-03-22 Thread org
I dont use Tomcats built in db pooling, use a different one, but I think the problem is not that it drops the connection, because any pool should simply reallocate a new one when needed. I have a feeling you are exhausting all the available connections, and the pool cant give you a new one.

Re: context not recognised?

2007-03-22 Thread Richard Dunne
Got it working, thanks for your help. Richard. - Original Message From: Caldarale, Charles R [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, March 22, 2007 2:16:38 PM Subject: RE: context not recognised? From: Richard Dunne [mailto:[EMAIL PROTECTED]

RE: connection pool

2007-03-22 Thread Propes, Barry L [GCG-NAOT]
but it sounds like it works fine all week, and then when he comes in Monday, it has stopped. He has to restart Tomcat to reconnect. Theoretically, shouldn't he run out of connections midweek or sooner if that's the case? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

How to debug tomcat and JSSE

2007-03-22 Thread Gurdeep Kaur \(gurdeep\)
I am new to this group and the tomcat world, and would like to know if there is information available as to how to debug tomcat related issues and JSSE related issues if it is used with tomcat. Was looking at building tomcat on apache website and so far I have no luck building tomcat. Running ant

Re: [OT] apache-tomcat on an ia64 rhel4?

2007-03-22 Thread Jeff Sadowski
Ugg when I went to compile JDK guess what it needs it needs JDK. But then it pointed to a link that actually has JDK http://java.sun.com/j2se/1.4.2/download.html and they have a ia64 build. On 3/22/07, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1

Re: How to debug tomcat and JSSE

2007-03-22 Thread Rashmi Rubdi
tools.jar is available in JDK's lib folder. There's a RUNNING.txt file in Tomcat's root folder which provides all details on configuring Tomcat. Ant's installation http://ant.apache.org/manual/index.html requires JAVA_HOME ANT_HOME -Rashmi On 3/22/07, Gurdeep Kaur (gurdeep) [EMAIL PROTECTED]

Re: How to debug tomcat and JSSE

2007-03-22 Thread Rashmi Rubdi
Set these environment variables: ANT_HOME - Ant's root folder CATALINA_HOME - Tomcat's root folder JAVA_HOME - JDK's root folder Set PATH %JAVA_HOME%/bin;%ANT_HOME%/bin;%CATALINA_HOME%/bin According to Ant's manual , Ant expects JAVA_HOME and some other system variables to be set. -Rashmi

Re: [OT] apache-tomcat on an ia64 rhel4?

2007-03-22 Thread Jeff Sadowski
Or I can continue following the build instructions for JDK 1.5(it needed jdk 1.4 to build) :-) now I have two options wahoo. well 3 but a virtual machine just doesn't cut it for me. On 3/22/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Jeff Sadowski [mailto:[EMAIL PROTECTED]

Connector thread settings

2007-03-22 Thread Jean-Sebastien Pilon
Hello, I am running tomcat with multiple connectors ( 8080, 80, 443 ). 80 is a redirect to - 8080. Since no one will stay connected to port 80 since they are redirected, should I lower the Min and Max spare threads settings to lower memory usage ? Will it make a difference ? Max threads: 150

Subdomains and Tomcat...

2007-03-22 Thread Piyush Jamkhandi
All, Can someone point me to how I can setup a subdomain? For example if I have a domain www.domain.com I need to create a second server for blog.domain.com. Do I use virtual host for this? Thanks/ --Piyush

Re: Unable to compile class for JSP

2007-03-22 Thread org
Hi Peter, I probably got the wrong end of the stick, missed the thread etc, but its seems like you going through a whole lot of pain so I was wondering. If you have a servlet and a bunch of JSP pages, did you know that the JSP's will not compile when you Clean and Build in Netbeans. If

Re: Session

2007-03-22 Thread Jessek
I think the Timeout component is probably what you want. http://tapestry.apache.org/tapestry4.1/tapestry-contrib/componentreference/timeout.html James Sherwood wrote: Hello, I am trying to make the session in my java(Tapestry) project only expire when the browser is closed. Any

migrating from 5.0 to 5.5 - Configuring Contexts, Hosts, etc

2007-03-22 Thread gb1071nx
I'm just looking into what it takes to both migrate to TC5.5, and switch from configuring everything in server.xml to individual context files. I've read the docs on contexts, hosts, and that Virtual Hosting guide. I have some misunderstandings still about how it all works together. Hoping

RE: How to run a .exe file from a web application in tomcat

2007-03-22 Thread Jitendra Ch
Hi David Smith,Our requirement is call Client side application only, and there are two tasks under this, they are editing an image(.jpg) and a text file. As you said it is not possible to call client side application, how to call an server side application? Date: Thu,

Re: requiring multiple roles for access

2007-03-22 Thread Ryan
Barry, This is a good implementation, and yes, it does make sense. I did go with a different implementation, though, essentially I created a new table that stores the users previous roles and timestamp them when the user is disabled. When they are re-enabled, I just put the role data back into

Anyone know of an up-to-date packager?

2007-03-22 Thread gb1071nx
So, We (the developers) have been in control of the servers. We download exactly what we want, install it where we need it, and life is good. But our ops guy is making noise about wanting to manage everything through something called yum. Noodling around just a little bit, I see that our yum

RE: requiring multiple roles for access

2007-03-22 Thread Propes, Barry L [GCG-NAOT]
oh, ok. I'd say your solution's pretty plausible. I've just now had to retool my users table a bit adding a timestamp for auth purposes, too. I've just got the one extra table that allows people to be in multiple categories, yet confined to the one role in the users_role table.

RE: Anyone know of an up-to-date packager?

2007-03-22 Thread Jason Pyeron
We do this inhouse for our own applications. Here is how we did it: Google a bit on yum repositories, Looked at how the centos repository was laid out. Pointed yum at our repository based on our examination of others. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -

tomcat as service with VM arguments

2007-03-22 Thread Venky Vasant
Hello I need to start tomcat as service with VM arguments, let me know how do i pass VM arguments. Previously i had this setup in Eclipse which provide two places in RUN Options one for Program Arguments and another for VM arguments. Now since i want this to start as soon as tomcat start as a

Re: How to run a .exe file from a web application in tomcat

2007-03-22 Thread David Smith
Then you are looking for an applet or browser plugin rather than a exe file. Text should be fairly easy via many richtext javascript tools out there. Graphics sounds complicated and I wouldn't know where to begin. Might want to start with everyone's best friend Google and see what comes

Re: Subdomains and Tomcat...

2007-03-22 Thread Hassan Schroeder
On 3/22/07, Piyush Jamkhandi [EMAIL PROTECTED] wrote: Can someone point me to how I can setup a subdomain? For example if I have a domain www.domain.com I need to create a second server for blog.domain.com. domain.com is a domain; www.domain.com is a host name, as is blog.domain.com. So

Using the jk connector to join different tomcat contexts with discrete urls

2007-03-22 Thread David Harrison
Hi, I am a little lost when it comes to linking Tomcat to Apache in circumstances where the urls to not map directly across to each other. For example I have a Tomcat server with the following applications deployed: TOMCAT/app1 TOMCAT/app2 I wish to map different Apache urls across to

Re: Using the jk connector to join different tomcat contexts with discrete urls

2007-03-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Harrison wrote: I wish to map different Apache urls across to specific Tomcat contexts, for example: http://app1.example.com/ to TOMCAT/app1. http://app2.example.com/ to TOMCAT/app2 This should be relatively straightforward. First,

Monitoring JVM using JMX + manager's jmxproxy

2007-03-22 Thread Jean-Sebastien Pilon
Hello, I am working on some plugins and templates for Nagios and Cacti to monitor JVM on our tomcat servers I am seeking some help to understand how I can get only the Usage values off the following MBean query. http://hostname:8080/manager/jmxproxy/?qry=*%3Atype%3DMemoryPool%2Cname%

Re: Using the jk connector to join different tomcat contexts with discrete urls

2007-03-22 Thread David Harrison
On 23/03/2007, at 8:49 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Harrison wrote: I wish to map different Apache urls across to specific Tomcat contexts, for example: http://app1.example.com/ to TOMCAT/app1. http://app2.example.com/ to

How do I get the http://localhost/jkstatus page to display/installed

2007-03-22 Thread Robert Young
Hello, I have installed apache 2.2.4 with mod_jk.so and 2 instances of tomcat 5.5.17 in a cluster. As I read examples I see that I should be able to access http://localhost/jkstatus/. I have set up the mod_jk.so in the httpd.conf file and set up the worker.properties file. When I enter the

Re: requiring multiple roles for access

2007-03-22 Thread Ryan
Yeh, this project is moving pretty fast, so I'm going with some quick solutions that may or may not be elegant :-) If I get a chance to revisit this, I'm going to try your solution. Thanks again for all your help. - Ryan On 3/22/07, Propes, Barry L [GCG-NAOT] [EMAIL PROTECTED] wrote: oh, ok.

RE: requiring multiple roles for access

2007-03-22 Thread Propes, Barry L [GCG-NAOT]
you betif you want me to send you any sample code or my table structure, FWIW, I'll be glad to. -Original Message- From: Ryan [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 5:33 PM To: Tomcat Users List Subject: Re: requiring multiple roles for access Yeh, this project

Re: tomcat as service with VM arguments

2007-03-22 Thread Venky Vasant
There is an arguments input field in properties window which is set to start i tried appending that with VM arguments it did not work Can some one throw some pointers to this - Original Message From: Venky Vasant [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Thursday, March 22,

RE: high CPU usage

2007-03-22 Thread Gurdeep Kaur \(gurdeep\)
Mark, Just thinking some more, as to who actually invokes the threads? Is it Tomcat? Thanks Gurdeep -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 7:07 PM To: Tomcat Users List Subject: Re: high CPU usage Gurdeep Kaur (gurdeep) wrote:

Re: tomcat as service with VM arguments

2007-03-22 Thread Martin Gainty
$TOMCAT_HOME/bin/java [Put All Java Options Here] -jar bootstrap.jar M- --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain

Re: high CPU usage

2007-03-22 Thread Mark Thomas
Gurdeep Kaur (gurdeep) wrote: Mark, Just thinking some more, as to who actually invokes the threads? Is it Tomcat? They look like Tomcat created threads to me. Mark - To start a new topic, e-mail: users@tomcat.apache.org

RE: high CPU usage

2007-03-22 Thread Gurdeep Kaur \(gurdeep\)
So why would tomcat create two threads for one tls session? Gurdeep -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 4:31 PM To: Tomcat Users List Subject: Re: high CPU usage Gurdeep Kaur (gurdeep) wrote: Mark, Just thinking some more,

tomcat/linux newbie can't connect to tomcat remotely

2007-03-22 Thread phonon
Hi, This is my first Linux installation, and my first tomcat install, so please excuse me if I'm missing something obvious. I'm running Alfresco, which is a CMS that runs on tomcat. I have a Linux server (CentOS 4.4, i.e. Red Hat ES 4). I can connect to the server through ssh, and lynx

Re: tomcat/linux newbie can't connect to tomcat remotely

2007-03-22 Thread Filip Hanik - Dev Lists
your redhat/centos server is blocking port 8080, you must open that port up. or better, proxy through your httpd server in /etc/httpd/conf/httpd.conf add the following lines ProxyRequests Off ProxyPass /alfresco http://localhost:8080/alfresco ProxyPassReverse /alfresco

Re: Can JMX proxy invoke operations on Mbeans?

2007-03-22 Thread Nicholas Sushkin
Yoav, Any plans to integrate the patch? I just noticed there is a bug and a patch to implement operations in JMXProxy. The bug is http://issues.apache.org/bugzilla/show_bug.cgi?id=38216 Thank you. On Wednesday 21 March 2007 13:14, Nicholas Sushkin wrote: Hi, Can I invoke mbean

Re: Monitoring JVM using JMX + manager's jmxproxy

2007-03-22 Thread Nicholas Sushkin
Jean-Sebastien, If you specify the actual bean name, you can get the attribute value. For example, http://hostname:8080/manager/jmxproxy/?get=java.lang:type=MemoryPool,name=Code%20Cacheatt=Usage OK - Attribute get 'java.lang:type=MemoryPool,name=Code Cache' - Usage=

Re: Monitoring JVM using JMX + manager's jmxproxy

2007-03-22 Thread Nicholas Sushkin
On Thursday 22 March 2007 16:57, you wrote: I am working on some plugins and templates for Nagios and Cacti to monitor JVM on our tomcat servers It looks like MX4J project has a JMX over HTTP and HTTPS connector. http://mx4j.sourceforge.net/docs/ch05.html -- Nicholas Sushkin, Senior Software

Re: tomcat/linux newbie can't connect to tomcat remotely

2007-03-22 Thread phonon
OH MY GOD It's working! You are unbelievable! Thank you so much! Filip Hanik - Dev Lists wrote: your redhat/centos server is blocking port 8080, you must open that port up. or better, proxy through your httpd server in /etc/httpd/conf/httpd.conf add the following lines

Re: How do I get the http://localhost/jkstatus page to display/installed

2007-03-22 Thread org
# Add the jkstatus mount point JkMount /jkstatus jkstatus - Original Message - From: Robert Young [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Thursday, March 22, 2007 11:56 PM Subject: How do I get the http://localhost/jkstatus page to display/installed Hello, I have

Re: How to run a .exe file from a web application in tomcat

2007-03-22 Thread Sameer Acharya
You can specify the correct mime type and hopefully your browser will launch the proper application. A better approach would be to write a Java applet which will allow the user to do modifications to your file/s. -Sameer --- Jitendra Ch [EMAIL PROTECTED] wrote: Hi to allI am new member

Re: mod_jk/1.2.21, jkstatus does not display runtime state of load balanced threads, only N/A

2007-03-22 Thread Erik Melkersson
Does anyone recognize my problem about the runtime state that never is displayed or did it work for you out-of-the-box? Regards Erik Melkersson Erik Melkersson wrote: Hi! I've got an apache (1.3.33) with mod_jk (1.2.21) connecting to two tomcats (5.5.17) on other servers using a load

Re: Using the jk connector to join different tomcat contexts with discrete urls

2007-03-22 Thread Erik Melkersson
Hi! I wanted to do something similar. (but without the two virtual hosts). I did like this: # The directory the user sees RewriteRule ^/test/aaa/(.*) /tomcat-dir/$1 [PT] RewriteRule ^/test/bbb/(.*) /tomcat-dir/stuff/$1 [PT] # The directory tomcat serves the stuff on: Location /tomcat-dir/

Re: How do I get the http://localhost/jkstatus page to display/installed

2007-03-22 Thread Erik Melkersson
A quick example is found at the last chapter of: http://tomcat.apache.org/connectors-doc/generic_howto/loadbalancers.html (but they use jkmanager as mount point) /Erik Melkersson I have installed apache 2.2.4 with mod_jk.so and 2 instances of tomcat 5.5.17 in a cluster. As I read examples I