RE: TOMCAT & Win Server 2003

2008-12-16 Thread Caldarale, Charles R
> From: gen [mailto:g...@bud.co.jp] > Subject: RE: TOMCAT & Win Server 2003 > > Is TOMCAT6 running at the platform of Win server 2003? Yes, many people on this list are running Tomcat on Win2K3. > I failed to start the service of TOMCAT6. You may need to place a copy of msvcr71.dll in Tomcat's b

No printer found error on Tomcat restart

2008-12-16 Thread Tony De Keizer
Hi List, We have a Tomcat 5.5.20 installation running as a service on Windows 2003 Server standard x64 operating system using version 1.6.0_07 (x86) jre. The Tomcat service is running as a user which has all administrator rrights and is started automatically on server startup. Everything runs p

RE: TOMCAT & Win Server 2003

2008-12-16 Thread gen
Hi, Filip, Thanks for your help, it works. How about my 1st question: Is TOMCAT6 running at the platform of Win server 2003? I failed to start the service of TOMCAT6. Thanks > -Original Message- > From: Filip Hanik - Dev Lists [mailto:devli...@hanik.com] > Sent: Wednesday, December 17,

Re: How do you determine the amount of Tomcat threads in use?

2008-12-16 Thread Filip Hanik - Dev Lists
I'd say this is the best way to do it, since it gives you an accurate count. Filip Mark Stevens wrote: Hi all, Just a quick question on how to see threads in use, I have been using prstat -L -p , however I suspect this is not the correct way to do it. Thanks, Mark. ---

Re: TOMCAT & Win Server 2003

2008-12-16 Thread Filip Hanik - Dev Lists
you probably compiled your .class using JDK 1.6, and then you run Tomcat using JDK 1.5 Filip gen wrote: > Hi, All > > Thanks in advance, I need helps on the follows. > > I have the following problems/questions. > > 1. Is TOMCAT6 running at the platform of >Win server 2003? > 2. I faied to in

Re: tomcat 6 delta manager dirtyFlag

2008-12-16 Thread Filip Hanik - Dev Lists
rohit aman wrote: Hi, I have tomcat cluster setup and it's working fine. All I need to do now is to replicate the session after every request. For SimpleTcpReplicationManager

TOMCAT & Win Server 2003

2008-12-16 Thread gen
Hi, All Thanks in advance, I need helps on the follows. I have the following problems/questions. 1. Is TOMCAT6 running at the platform of Win server 2003? 2. I faied to install TOMCAT6, so I swith to TOMCAT5.5, it is running, but I had another problems as follows: I use Eclipse3.3 a

Re: j_security_check only safe via ssl?

2008-12-16 Thread Mark Thomas
Gregor Schneider wrote: > Hi there, > > I'm just wondering one thing: > > When using formbased authentication within Tomcat aka > j-security_check, the credentials are sent over the wire. > > No problem when using SSL, however, when using a simple HTTP-request, > I figure that this scenario migh

Re: Serious security problem with mod_jk?

2008-12-16 Thread Mark Thomas
Payne, George (ghp5h) wrote: > This is a problem I've seen reported on very old versions of mod_jk, but it > seems (apparently) to have a new life in 1.2.27 and possibly other recent > versions. > > > > If a user puts a double slash (http://mysite.com//myapp/myjsp.jsp) instead > of a single sla

j_security_check only safe via ssl?

2008-12-16 Thread Gregor Schneider
Hi there, I'm just wondering one thing: When using formbased authentication within Tomcat aka j-security_check, the credentials are sent over the wire. No problem when using SSL, however, when using a simple HTTP-request, I figure that this scenario might be a security-issue. Does anybody have

RE: How to install the session cookie into the original request ofthe secure area?

2008-12-16 Thread Caldarale, Charles R
> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > Subject: RE: How to install the session cookie into the > original request ofthe secure area? > > You need to invest* in a copy of Wireshark so you can see the > differences in the requests that a browser sends vs the ones > your cl

tomcat 6 delta manager dirtyFlag

2008-12-16 Thread rohit aman
Hi, I have tomcat cluster setup and it's working fine. All I need to do now is to replicate the session after every request. For SimpleTcpReplicationManager we can use

RE: How to install the session cookie into the original request of the secure area?

2008-12-16 Thread Caldarale, Charles R
> From: removeps-gro...@yahoo.com [mailto:removeps-gro...@yahoo.com] > Subject: How to install the session cookie into the original > request of the secure area? > > When making a connection to the secure area of my > website through code, the original request is saved, > but the JSESSIONID cookie

How to install the session cookie into the original request of the secure area?

2008-12-16 Thread removeps-groups
How to install the session cookie into the original request of the secure area? Here is my problem. When making a connection to the secure area of my website through code, the original request is saved, but the JSESSIONID cookie is not added to it. So after j_security_check succeeds, the saved

Re: Tomcat 6 classloading and the Servlet 2.5 API spec

2008-12-16 Thread Peter_Ford
In hindsight that makes perfect sense and answers my question. If it was vitally important to enforce this (it isn't, but hypothetically) I guess I could mess with the catalina.policy file. --Pete "Bill Bar

Re: Aid: Tomcat/Apache redirect (or forwarding).

2008-12-16 Thread Hassan Schroeder
On Tue, Dec 16, 2008 at 9:59 AM, TiredMan wrote: > "The page cannot be found" message in IE when i go to http://webdomain.com You would be better off using Firefox with the Web Developer and Firebug plugins to get better error messages, but... > As for httpd logs, i not sure they are configured

Re: DeltaManager + Session beans: Do they like eachother?

2008-12-16 Thread Pieter Temmerman
Hi Filip, Thanks for your help. The programmer explicitly did a setAttribute as you mentioned, and this seems to be working. However, we kinda had a discussion whether this is the most effective solution. His arguments are that he is using JSF together with some sort of scope session bean (com.sun

Re: Aid: Tomcat/Apache redirect (or forwarding).

2008-12-16 Thread TiredMan
Hi again. "The page cannot be found" message in IE when i go to http://webdomain.com As for httpd logs, i not sure they are configured, because i just have next files in logs dir: access.log access_log error.log error_log httpd.pid install.log ssl_request_log Should i enable it somehow? Yes, loca

Re: Moving catalina.out to some other location

2008-12-16 Thread Mohit Anchlia
Sorry I always do that. I am using Apache Tomcat/6.0.18 On Tue, Dec 16, 2008 at 8:33 AM, Caldarale, Charles R wrote: >> From: Mohit Anchlia [mailto:mohitanch...@gmail.com] >> Subject: Moving catalina.out to some other location >> >> Is there a way to move tomcat log files to some other location >

Serious security problem with mod_jk?

2008-12-16 Thread Payne, George (ghp5h)
This is a problem I've seen reported on very old versions of mod_jk, but it seems (apparently) to have a new life in 1.2.27 and possibly other recent versions. If a user puts a double slash (http://mysite.com//myapp/myjsp.jsp) instead of a single slash in a url, apache does not recognize it as

RE: Tomcat & MySQL Server Configuration

2008-12-16 Thread Peter Crowther
> From: Carl Crawford > Someone gave me the attached configuration suggestions. Note that this list strips attachments. Could you host the image somewhere and post a link? - Peter - To unsubscribe, e-mail: user

Tomcat & MySQL Server Configuration

2008-12-16 Thread Carl Crawford
I am trying to figure out the best way to configure a multi-server setup for Tomcat and MySQL. Someone gave me the attached configuration suggestions. My question is is configuration 3 (in the attached JPG) a good way to go when scaling up from our current configuration (config. 0 in attached JP

Re: Aid: Tomcat/Apache redirect (or forwarding).

2008-12-16 Thread Hassan Schroeder
On Tue, Dec 16, 2008 at 9:11 AM, TiredMan wrote: > > Thank you for reply! Maybe you can also point me where I am wrong then? > And when I tried to access webdomain.com from a machine which has not acees > to localdomain.com directly - i did not successed. WTF does that mean? You got a 404? 500 e

Re: Aid: Tomcat/Apache redirect (or forwarding).

2008-12-16 Thread TiredMan
Thank you for reply! Maybe you can also point me where I am wrong then? I've added in httpd.conf at webdomain.com ProxyRequests Off Order deny,allow Allow from all ProxyPass / http://localdomain.com ProxyPassReverse / http://localdomain.com And when I tried to access webdomain.com from a mac

RE: Moving catalina.out to some other location

2008-12-16 Thread Caldarale, Charles R
> From: Mohit Anchlia [mailto:mohitanch...@gmail.com] > Subject: Moving catalina.out to some other location > > Is there a way to move tomcat log files to some other location There is no catalina.out in the current version of Tomcat. (But then, you didn't bother to tell us the version of Tomcat

Re: Aid: Tomcat/Apache redirect (or forwarding).

2008-12-16 Thread Hassan Schroeder
On Tue, Dec 16, 2008 at 8:06 AM, TiredMan wrote: > > Hi. Kees de Kooter, are you sure it is possible with mod_proxy? > In this case if i will set at webdomain.com something like: > ProxyPass / http://localdomain.com > It will just redirect user, to http://localdomain.com which is not > accessible

Re: Logging

2008-12-16 Thread Mohit Anchlia
How do I download software from trubk (below). Do I have to install svn first? On Tue, Oct 21, 2008 at 5:30 PM, Filip Hanik - Dev Lists wrote: > for log4j you have to build the extras package > > svn co http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk > cd trunk > ant download > ant > ant -f

Re: Aid: Tomcat/Apache redirect (or forwarding).

2008-12-16 Thread TiredMan
Hi. Kees de Kooter, are you sure it is possible with mod_proxy? In this case if i will set at webdomain.com something like: ProxyPass / http://localdomain.com It will just redirect user, to http://localdomain.com which is not accessible for him. Or I am missing something? Kees de Kooter wrote:

Moving catalina.out to some other location

2008-12-16 Thread Mohit Anchlia
Is there a way to move tomcat log files to some other location - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

WG: ISAPI_REDIRECT on AMD Opteron x64

2008-12-16 Thread Alexander Diedler
Additional infos: I have set the Switch to "true" I re-installed Apache Tomcat-6.0.18.exe complete new. I use a JRE 1.6.0 32 Bit in tomcat6w.exe and I use isapi_redirect.1.2.27.dll. After I add the ISAPI Filter tot he Website I found this messages in the Event Viewer: Source : W3SVC-WP Event ID :

Re: problem on configure the java_option

2008-12-16 Thread Piller Sébastien
Caldarale, Charles R a écrit : and the memory size must be, as far as i remember, a power of 2 (512M, 1024M, etc) Not true, and never has been. Don't spread rumors. Sorry, have read that on a thread long time ago (can't find it anymore). Anyway, quotes & spaces are more important tha

RE: Session replication/sharing across WARs?

2008-12-16 Thread Caldarale, Charles R
> From: Robert Campbell [mailto:rrc...@gmail.com] > Subject: Session replication/sharing across WARs? > > This means that I need single sign-on/share session between the two > apps. Both WARs will be deployed on the same Tomcat 5.5 instance, It's in the docs: http://tomcat.apache.org/tomcat-5.5-do

How do you determine the amount of Tomcat threads in use?

2008-12-16 Thread Mark Stevens
Hi all, Just a quick question on how to see threads in use, I have been using prstat -L -p , however I suspect this is not the correct way to do it. Thanks, Mark.

RE: problem on configure the java_option

2008-12-16 Thread Caldarale, Charles R
> From: Piller Sébastien [mailto:pi...@hmcrecord.ch] > Subject: Re: problem on configure the java_option > > you should add spaces between > -XX:PermSize=64M -XX:MaxNewSize=256m -XX:MaxPermSize=256m Definitely required. > and the memory size must be, as far as i remember, a power > of 2 (512M, 10

Session replication/sharing across WARs?

2008-12-16 Thread Robert Campbell
Hey guys, I have a strange problem I need a bit of help solving. I have a legacy application with a horrible codebase. All future modules/features I would instead like to build on a new, clean codebase. The end result is I would deploy two WARs: OldApp.war and NewAppStuff.war. I would like the exp

AW: ISAPI_REDIRECT on AMD Opteron x64

2008-12-16 Thread Alexander Diedler
Hello, It seems tob e a problem with the "cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 True" Switch. If this is true, it doesn´t work with the x64 and not with the x32 Bit Version. I need this switch because another application Server needs tob e run IIS in this mode. Any sug

Problems with JK connector and IIS5 and tomcat 6 (2)

2008-12-16 Thread user080701
Hi, I'm using the JMeter to do the stress test on my web application. I set the number of threads to 20 and loop 100. When I run the testing, I found that there are many sessions created on the server (I write one record to database for every session created) (3000 sessions created within 5min)

Re: problem on configure the java_option

2008-12-16 Thread Piller Sébastien
you should add spaces between -XX:PermSize=64M -XX:MaxNewSize=256m -XX:MaxPermSize=256m and the memory size must be, as far as i remember, a power of 2 (512M, 1024M, etc) user080...@hotmail.com a écrit : Hi, I want to set some option for my tomcat and I added the following line: export

problem on configure the java_option

2008-12-16 Thread user080701
Hi, I want to set some option for my tomcat and I added the following line: export JAVA_OPTS=-server -Xms800m -Xmx800m -XX:PermSize=64M-XX:MaxNewSize=256m-XX:MaxPermSize=256m -Djava.awt.headless=true However, when I startup the tomcat, it throws the following error: [r...@ebusiness ~]# /opt

Re: Aid: Tomcat/Apache redirect (or forwarding).

2008-12-16 Thread Kees de Kooter
You can use apache's mod_proxy module for this: http://httpd.apache.org/docs/2.0/mod/mod_proxy.html. Cheers, Kees de Kooter On Tue, Dec 16, 2008 at 12:26, TiredMan wrote: > > Hi. Gentlemen, I have a mission, but I have no idea how to do it. > > I have: > 1. A server with clear Tomcat 6.0.18 & A

Aid: Tomcat/Apache redirect (or forwarding).

2008-12-16 Thread TiredMan
Hi. Gentlemen, I have a mission, but I have no idea how to do it. I have: 1. A server with clear Tomcat 6.0.18 & Apache 2.0.63 installed, with name, lets say, webdomain.com. The server is available from Internet by webdomain.com:80 and webdomain.com:443. 2. Another server, localdomain.com, which

Re: How to serve JSPs (and other resources) from within a jarfile?

2008-12-16 Thread Simon Kitching
Kees Jan Koster schrieb: > Dear Simon, > >> I have embedded the jspwiki project within my own webapp, to provide a >> help engine. The jspwiki project provides java classes (in a jarfile) >> plus some .jsp files and assorted resource-files (images, scripts, etc). >> Currently I put all the java cla

Re: How to serve JSPs (and other resources) from within a jarfile?

2008-12-16 Thread Mikolaj Rydzewski
Simon Kitching wrote: I have noticed that the server.xml can be configured to point to a custom DirContext class, like this: I don't know anything about above solution. But for sure you can precompile all JSPs, pack resulting classes into jarfile and provide appropiate servlet map

Re: How to serve JSPs (and other resources) from within a jarfile?

2008-12-16 Thread Kees Jan Koster
Dear Simon, I have embedded the jspwiki project within my own webapp, to provide a help engine. The jspwiki project provides java classes (in a jarfile) plus some .jsp files and assorted resource-files (images, scripts, etc). Currently I put all the java classes as a jarfile in my classpath

How to serve JSPs (and other resources) from within a jarfile?

2008-12-16 Thread Simon Kitching
Hi All, I have embedded the jspwiki project within my own webapp, to provide a help engine. The jspwiki project provides java classes (in a jarfile) plus some .jsp files and assorted resource-files (images, scripts, etc). Currently I put all the java classes as a jarfile in my classpath (ok), and