RE: Multi processor issue

2006-12-13 Thread JiaDong Huang
Great analysis and elaboration! Although I am not the one that wants everything "synchronize always". What I really expect is to get the thing done to the best possible. MT issue fix is always various, and not simple/easy to get to the best. We should appreciate Chuck's knowledge of the Request cl

RE: Multi processor issue

2006-12-13 Thread Peter Crowther
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > It's not really, IF you take time to read the specs - but few do. > Admittedly, there are a lot of things that should be studied, and > project deadlines rarely take that into account. And budgets, and hence project staffing (and skill) lev

Re: tomcat 5.0 context redirect

2006-12-13 Thread Reinhard Moosauer
Hi, you can mimimize http traffic by correctly linking to http://localhost:8080/mytestapp/?qa=1 (with the slash) Please consider that "mytestapp" should be seen as a directory by the browser. And your first url is wrong (strictly speaking), so Tomcat tries to fix it by a redirect. I see no r

Re: Tomcat shutting down when instantiating javax.swing.ImageIcon on Fedora

2006-12-13 Thread Mikolaj Rydzewski
Mon Cab wrote: I am running Tomcat, on Fedora 4. Using java version "1.4.2" gij (GNU libgcj) version 4.0.2 20051125 (Red Hat 4.0.2-8) Copyright (C) 2005 Free Software Foundation, Inc. Install real JRE first... My application works fine until the following line of code is reached. ImageI

Re: Tomcat shutting down when instantiating javax.swing.ImageIcon on Fedora

2006-12-13 Thread Mikolaj Rydzewski
Mikolaj Rydzewski wrote: My application works fine until the following line of code is reached. ImageIcon ii = new javax.swing.ImageIcon(myFile.getCanonicalPath()); Try to run Tomcat with -Djava.awt.headless=true option set. i.e.: $ export CATALINA_OPTS="-Djava.awt.headless=true" $ ${CATALI

mod_jk socket_timeout vs reply_timeout

2006-12-13 Thread Mark Hagger
Hi, I'm just considering an update to our workers.properties for the mod_jk Apache plugin. I'm not entirely sure what the difference between the socket_timeout and reply_timeout handling is, if any. socket_timeout is described as: Socket timeout in seconds used for communication channel between

Tomcat 5.5.17 SSL

2006-12-13 Thread Scott Purcell
I am running a instance of Tomcat in which there is one web site that is running SSL and a cert from Verisign. The server.conf has the entry for the real DNS name and the certificate configured and all is good. This site is a production site. I just purchased another box for development purpos

strange ssl tomcat response

2006-12-13 Thread Tsirkin Evgeny
Hi list! Hope this will not be posted twice. I have setted up a tomcat to listen to ssl on 8443 port. When i use url https://myhost:8443/ everything works fine. However when pointing my browser to http://myhost:8443/ I am getting strange response . It looks something like this in text representati

Re: mod_jk socket_timeout vs reply_timeout

2006-12-13 Thread Martin Gainty
Hi Mark the delta is socket_timeout is a universal timeout for the connection more specifically Socket timeout in seconds used for communication channel between JK and remote host. If remote host does not respond inside that timeout the JK will generate an error, and retry again. If set to value

RE: strange ssl tomcat response

2006-12-13 Thread Caldarale, Charles R
> From: Tsirkin Evgeny [mailto:[EMAIL PROTECTED] > Subject: strange ssl tomcat response > > Hope this will not be posted twice. If you don't provide basic information, it will have to be. 1) What version of Tomcat? 2) What JVM (vendor and level)? 3) What OS? 4) Do you have APR installed? (SSL

RE: Tomcat errors

2006-12-13 Thread Steve Ingraham
I would like to take a moment to thank everyone for their recent replies on Monday to my queries on what you guys stated was a Java problem not a Tomcat issue. I appreciate your generosity in the manner in which you discussed my problem. I am not a programmer and know very little about how Tomcat

Re: [tomcat 5.0] - DBCP pooling vs sharing a single open connection

2006-12-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ran, Ran wrote: > In this > case, my bean should hold up on one connection until the bean instance gets > gc'ed (for a request/ session scope bean) You can never count on an object to get GC'd: you should always explicitly free resources whenever you

Tomcat 5.5.20: java.lang.ClassNotFoundException: org.apache.naming.factory.MailSessionFactory

2006-12-13 Thread Derrick Koes
The naming-factory.jar in common/lib is missing the MailSessionFactory class file in Tomcat 5.5.20. Will there soon be another release of 5.5 correcting this problem? For now, the "easy" fix is to get the naming-factory.jar from build 5.5.17 (at least that's what I did). Derrick

Re: [OT] Multi processor issue

2006-12-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: >> From: JiaDong Huang [mailto:[EMAIL PROTECTED] >> Subject: RE: Multi processor issue >> >> Not sure if the app really cares which thread should do the >> parameterMap initialization. > > You're missing the entir

Host element question

2006-12-13 Thread Jim Reynolds
Hello, Every new install of Tomcat always has a and that is good. If I do not have a DNS entry, can I create another and use a name of something bogus? Something for me to play with on my local PC? I tried something like this: And if I hit http://localhost

Re: strange ssl tomcat response

2006-12-13 Thread Tsirkin Evgeny
Thanks for the reply! Sorry for not providing basic information. This is tomcat 5.5 with sun's java version "1.5.0_09" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03) Java HotSpot(TM) Server VM (build 1.5.0_09-b03, mixed mode) Running on Linux Suse (but i have installed it ma

Re: Host element question

2006-12-13 Thread EDMOND KEMOKAI
How do expect that it will resolve the name dev without DNS? you can try using an IP address if you don't have DNS server. On 12/13/06, Jim Reynolds <[EMAIL PROTECTED]> wrote: Hello, Every new install of Tomcat always has a and that is good. If I do not have a DNS entry, can I create another

Re: Tomcat 5.5.20: java.lang.ClassNotFoundException: org.apache.naming.factory.MailSessionFactory

2006-12-13 Thread Haroon Rafique
On Today at 10:46am, DK=>Derrick Koes <[EMAIL PROTECTED]> wrote: DK> The naming-factory.jar in common/lib is missing the MailSessionFactory DK> class file in Tomcat 5.5.20. DK> DK> Will there soon be another release of 5.5 correcting this problem? DK> DK> For now, the "easy" fix is to get the

Re: strange ssl tomcat response

2006-12-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Evgeny, Tsirkin Evgeny wrote: > I have setted up a tomcat to listen to ssl on 8443 port. When i use > url https://myhost:8443/ everything works fine. > > However when pointing my browser to http://myhost:8443/ I am getting > strange response. What d

RE: [OT] Multi processor issue

2006-12-13 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: [OT] Multi processor issue > > In that case, the OP could wrap their own request objects to actually > prevent their bug in production while researching it in dev/test, The problem with doing so in this case is that while it mi

Re: java.lang.ClassNotFoundException: com.sun.image.codec.jpeg.JPEGImageEncoder

2006-12-13 Thread Hassan Schroeder
On 12/12/06, Mon Cab <[EMAIL PROTECTED]> wrote: I will research how to uninstall gnu and install sun sdk. I suggest you not worry about the existing gnu java -- all you have to do is: 1) download the Sun JDK 2) install it -- I prefer somewhere specific like /usr/local/jdk1.5.0_06/ so I know

RE: Host element question

2006-12-13 Thread Caldarale, Charles R
> From: Jim Reynolds [mailto:[EMAIL PROTECTED] > Subject: Host element question > > If I do not have a DNS entry, can I create another and use a > name of something bogus? Something for me to play with on my local PC? Yes, put an entry for your desired name in your hosts file. The location of

Re: [OT] Multi processor issue

2006-12-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:[EMAIL PROTECTED] >> Subject: Re: [OT] Multi processor issue >> >> In that case, the OP could wrap their own request objects to actually >> prevent their bug in production while

Re: [OT] Multi processor issue

2006-12-13 Thread Leon Rosenberg
On 12/13/06, Christopher Schultz <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Slightly off-topic, there was a bug filed against the session manager where a "session use" counter was being used in a non-threadsafe way (and /really/ needed to be synchronized).

Re: Host element question

2006-12-13 Thread Hassan Schroeder
On 12/13/06, EDMOND KEMOKAI <[EMAIL PROTECTED]> wrote: How do expect that it will resolve the name dev without DNS? DNS is not the only name resolution mechanism :-) For desktop development use, just put all the alias hostnames you want in your own /etc/hosts file (or for those stuck on Window

Re: Host element question

2006-12-13 Thread EDMOND KEMOKAI
nice to know that. On 12/13/06, Hassan Schroeder <[EMAIL PROTECTED]> wrote: On 12/13/06, EDMOND KEMOKAI <[EMAIL PROTECTED]> wrote: > How do expect that it will resolve the name dev without DNS? DNS is not the only name resolution mechanism :-) For desktop development use, just put all the ali

log file to record hacking process

2006-12-13 Thread kkus
I am wondering how I can set up log file to see how people is trying to break my tomcat 5.5.20. I have log file for my own app but not for tomcat itself. I have read some posts and are there any other settings beside uncommenting AccessLogValve in server.xml? Thanks! -- View this message in conte

Re: log file to record hacking process

2006-12-13 Thread Gregor Schneider
http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html -- what's puzzlin' you, is the nature of my game - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Host element question

2006-12-13 Thread Jim Reynolds
Thanks for responses: I did have a hosts file in my Drivers/etc so here it is. I added the 199.9.9.99 # 38.25.63.10 x.acme.com # x client host 127.0.0.1 localhost 199.9.9.99 devSite That is not of course the IP of my machine, I just made it up. Then I updated my s

Re: strange ssl tomcat response

2006-12-13 Thread Tsirkin Evgeny
I don't expect it to work . I expect to return either 404 , 500 http status (maybe any other) or nothing . try this: telnet mail.google.com 443 You will get a connection however NOTHING will be returned . Now ,I am trying ssl connection to tomcat : telnet myhost 8443 And getting the strange bits.

RE: Host element question

2006-12-13 Thread Caldarale, Charles R
> From: Jim Reynolds [mailto:[EMAIL PROTECTED] > Subject: Re: Host element question > > I added the 199.9.9.99 > # 38.25.63.10 x.acme.com # x client host > 127.0.0.1 localhost > 199.9.9.99 devSite > > That is not of course the IP of my machine, I just made it up.

Re: strange ssl tomcat response

2006-12-13 Thread Hassan Schroeder
On 12/13/06, Tsirkin Evgeny <[EMAIL PROTECTED]> wrote: Basically that can be checked in a very simple manner: try to setup ssl for a tomcat and then telnet to it (8443 port). Do you get any response? Just tried on a 5.5.9 non-APR system -- no response :-) [1] If no that is problem in my conf

Re: Host element question

2006-12-13 Thread Jim Reynolds
Chuck, It worked when I used the 127.0.0.1, I will test my real IP later. But I just want to thank each one for helping with this problem. :-) Thanks so much On 12/13/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > From: Jim Reynolds [mailto:[EMAIL PROTECTED] > Subject: Re: Host element

Re: mod_jk socket_timeout vs reply_timeout

2006-12-13 Thread Mark Hagger
To be honest I got a bit confused by that reply so I delved into the source code (although my C is somewhat rusty). So as I see it the socket_timeout is the read/write timeout for the underlying TCP socket (ie at OS level, and set by setsockopt() or whatever), and any given socket could be used fo

SSL Setup From Site

2006-12-13 Thread Jim Reynolds
After creating a new Host, I now want to set up SSL on it. Following the docs I did the following: 1) create keystore E:\Tomcat\bin\DEVKEY>keytool -genkey -alias tomcat -keyalg RSA -keystore E:/Tomc at/bin/DEVKEY/devKeystore answered questions. 2) made sure passwords were same. (changeit) 3) un

Re: strange ssl tomcat response

2006-12-13 Thread Tsirkin Evgeny
On TLS i am getting the same result. How do i check for an APR existens ? Chuck suggested that this is the problem. However I don't know where to look . I am using 5.5.20 could that be a problem? Thanks. Evgeny. On 12/13/06, Hassan Schroeder <[EMAIL PROTECTED]> wrote: On 12/13/06, Tsirkin Evgen

Re: strange ssl tomcat response

2006-12-13 Thread Tsirkin Evgeny
Hassan ,just a thought: when connecting via telnet i am first getting an empty response typing in some character and only then i am getting the bits. Is that what you tried? - telnet localhost 8443 Trying 127.0.0.1... Connected to localhost. Esca

Re: strange ssl tomcat response

2006-12-13 Thread Hassan Schroeder
On 12/13/06, Tsirkin Evgeny <[EMAIL PROTECTED]> wrote: when connecting via telnet i am first getting an empty response typing in some character and only then i am getting the bits. The strange response bits are what i got here just befor "Connection closed". No, if I enter something aft

RE: strange ssl tomcat response

2006-12-13 Thread Caldarale, Charles R
> From: Tsirkin Evgeny [mailto:[EMAIL PROTECTED] > Subject: Re: strange ssl tomcat response > > How do i check for an APR existens ? Since this is a Linux box and you did not explicitly build and install it, it's extremely unlikely that you have it. - Chuck THIS COMMUNICATION MAY CONTAIN CON

RE: SSL Setup From Site

2006-12-13 Thread Caldarale, Charles R
> From: Jim Reynolds [mailto:[EMAIL PROTECTED] > Subject: SSL Setup From Site > > 4) restarted tomcat, but I do not get ssl? If you used the .exe download for Tomcat, you may have APR installed. Its SSL configuration is rather different than that for Tomcat's pure Java connector. The doc for AP

Having trouble making Tomcat available from outside the network

2006-12-13 Thread Simon Renshaw
Hi, I installed Tomcat 5.5.12 on a CentOS 4.4 server. I used port 9090. Then I installed Luntbuild on it. I can access it internally without problems. I created a rule in the firewall to forward port 9090 request to the Linux server. Unfortunately, when trying to access the site from the outside,

Re: SSL Setup From Site

2006-12-13 Thread Jim Reynolds
Chuck, you are very smart. I remembered doing this in my production box to get SSL working. I did do the exe installer, but many searches did not find the tcnative.dll. Actually I couldn't find any tcnative references anywhere. Perhaps there is another mechanism to use native in 5.5.17? Funny thin

RE: Having trouble making Tomcat available from outside the network

2006-12-13 Thread Robert Harper
Did you check the logs on the server running Tomcat to see if the request was making the trip to the server? The other thing is the server's IP exposed to the outside world and, if it is, is it the same IP? Often this is not the case. Robert S. Harper Information Access Technology, Inc. -Orig

RE: Having trouble making Tomcat available from outside the network

2006-12-13 Thread Simon Renshaw
There are a lot of log types in /logs. Which one should I check? The server is behind a firewall and we use NAT. Think this could be the cause? I use the firewall to forward HTTP, SMTP, FTP etc request to other servers and I'm only having troubles with Tomcat. I'm really stumped there. Simon

RE: Having trouble making Tomcat available from outside the network

2006-12-13 Thread Robert Harper
I usually look in the logs I set up for my contexts or in the stdout.log. You should see some logging from requests having hit filters, if you are using them. The other thing you could do is start the network monitoring tool that comes with Win 2003 server, or some similar tool, and watch activity

RE: SSL Setup From Site

2006-12-13 Thread Caldarale, Charles R
> From: Jim Reynolds [mailto:[EMAIL PROTECTED] > Subject: Re: SSL Setup From Site > > I did do the exe installer, but many searches did not > find the tcnative.dll. You have to explicitly click on a check box in the installer to get it, at least on 5.5.20. It's tcnative-1.dll, and should be onl

Tomcat sends status code 400 during re-deployment

2006-12-13 Thread Felix Gnass
Hello, this is a follow-up to my yesterday's post (Displaying a maintenance page during re-deployments via manager app). In order to work around the problem I decided to use Ant's scp and sshexec tasks instead of the Manager application. I use the autoDeploy="true" feature so that I can sim

Re: Having trouble making Tomcat available from outside the network

2006-12-13 Thread Hassan Schroeder
On 12/13/06, Simon Renshaw <[EMAIL PROTECTED]> wrote: Hi, I installed Tomcat 5.5.12 on a CentOS 4.4 server. I used port 9090. Then I installed Luntbuild on it. I can access it internally without problems. I created a rule in the firewall to forward port 9090 request to the Linux server. Unfortu

Re: SSL Setup From Site

2006-12-13 Thread devlists
what version of Tomcat and what are the logs saying? Filip Quoting Jim Reynolds <[EMAIL PROTECTED]>: After creating a new Host, I now want to set up SSL on it. Following the docs I did the following: 1) create keystore E:\Tomcat\bin\DEVKEY>keytool -genkey -alias tomcat -keyalg RSA -keystore E

Re: SSL Setup From Site

2006-12-13 Thread Jim Reynolds
I am running version 5.5.17 and I am not seeing anything in the logs regarding APR. Logs I have are: admin catalina host-manager jakarta-service localhost manager stderr stdout I grepped the logs for APR and came up with nothing. Also, I just installed 5.5.20, and 6.0 to try and find where the #

RE: SSL Setup From Site

2006-12-13 Thread Caldarale, Charles R
> From: Jim Reynolds [mailto:[EMAIL PROTECTED] > Subject: Re: SSL Setup From Site > > the installer does not ask any questions. I used the .exe. It doesn't ask the question explicitly. On the Choose Components window, if you open up the Tomcat entry by clicking on the + sign, you'll see the opt

Re: SSL Setup From Site

2006-12-13 Thread Jim Reynolds
I tried the install again, and now see the optional components. In order to use the native (I believe that is what I was doing in my server.xml file) I want to include "native" with a checkbox, or I do not want to include Native? I have got spun around here. On 12/13/06, Caldarale, Charles R <

RE: SSL Setup From Site

2006-12-13 Thread Caldarale, Charles R
> From: Jim Reynolds [mailto:[EMAIL PROTECTED] > Subject: Re: SSL Setup From Site > > In order to use the native (I believe that is what I was > doing in my server.xml file) I want to include "native" > with a checkbox, or I do not want to include Native? > > I have got spun around here. You'r

Re: SSL Setup From Site

2006-12-13 Thread Hassan Schroeder
On 12/13/06, Jim Reynolds <[EMAIL PROTECTED]> wrote: I am running version 5.5.17 and I am not seeing anything in the logs regarding APR. You might want to grep for 'Starting ' because a Tomcat install with out-of-the-box logging will show something like this at startup: Dec 13, 2006 11:46:36 A

Tomcat 5.5.20 with JSF

2006-12-13 Thread Eric Nolmans
hi ! I try to connect a jsf page to a DB2 database. I define the context.xml but when I execute my page JSF, I receive : I use tomcat 5.5.20 with JDK 1.4 Compatability Package *exception* javax.servlet.ServletException: #{f1.EGLclick}: javax.faces.el.EvaluationException: java.lang.Unsupported

Re: SSL Setup From Site

2006-12-13 Thread Jim Reynolds
Charles, got it. I [x] checked the native on the install, then installed Tomcat. After that I removed the tcnative-1.dll and restarted tomcat. I added my info to the server.xml and restarted. Yippie! So now I have SSL running on tomcat 5.5.20. Anyway, this brings up one last question. When it co

Re: strange ssl tomcat response

2006-12-13 Thread Tsirkin Evgeny
OK.I have done another try : I tried a clean installation of tomcat with a default config (just uncommented the ssl lines). The same problem. So,that could be a problem in [1] this particular version : tomcat 5.5.20 java version "1.5.0_09" Java(TM) 2 Runtime Environment, Standard Edition (build 1.

tomcat logs under windows

2006-12-13 Thread sb4
We have tomcat5.5 installed as a service under windows XP. The log files have the form "stdout_20061212.log". We would like to get rid of the datetime portion and just have "stdout.log" (to make it easier to help customers send us the log). Is there a place to specify the form of log file name

Re: Tomcat 5.5.17 SSL

2006-12-13 Thread Filip Hanik - Dev Lists
yes, you can create a self signed/self generated certificate, will work just like production, except browser pop up a little warning. but the SSL part works the same, see the tomcat SSL docs on how to generate the cert yourself Filip Scott Purcell wrote: I am running a instance of Tomcat in w

Re: Forcing a sync when a cluster member reconnects

2006-12-13 Thread Filip Hanik - Dev Lists
there isn't a way to configure the sync that you are mentioning. In tomcat 6, we want to add versioned sessions, hence it would autosync when needed Filip Eric Demorsy wrote: Hi, I have configured a cluster of 2 tomcat servers and session sync is working fine, except for one point: if I unp

RE: SSL Setup From Site

2006-12-13 Thread Caldarale, Charles R
> From: Jim Reynolds [mailto:[EMAIL PROTECTED] > Subject: Re: SSL Setup From Site > > I don't really care, but could I put in some bogus > certificate for development, or just let it go. Yes, just create a self-signed certificate. The instructions for doing so with the non-APR connector are pa

RE: Having trouble making Tomcat available from outside the network

2006-12-13 Thread Simon Renshaw
I looked in catalina.out since there is no stdout.log. There are nothing (0 bytes) in the admin, host-manager and manager logs. The Catalina. logs contain startup info. Some weird stuff in the localhost. ones. Talking about the Linux version here. I asked a friend to go to www.domain.com:9090 a

Error listenerStart

2006-12-13 Thread Richard DeGrande
Has anyone seen the following error ?? I'm at a complete loss. thanks SEVERE: Error listenerStart Dec 13, 2006 1:12:54 PM org.apache.catalina.core.StandardContext start SEVERE: Context [/omps] startup failed due to previous errors -

Re: strange ssl tomcat response

2006-12-13 Thread Hassan Schroeder
On 12/13/06, Tsirkin Evgeny <[EMAIL PROTECTED]> wrote: tomcat 5.5.20 I remembered I had a vanilla install of 5.5.20 not yet in use, so I uncommented the https connector and created a keystore java version "1.5.0_09" /me == 1.5.0_06 on this machine Linux SuSe /me == SuSE 10.0 So, pretty clo

RE: Having trouble making Tomcat available from outside the network

2006-12-13 Thread Robert Harper
What is the weird stuff? Have you tried port 8080 that is a normal testing port for 80? This sounds like a fun one to track down and may be more related to network than Tomcat. Robert S. Harper Information Access Technology, Inc. -Original Message- From: Simon Renshaw [mailto:[EMAIL PRO

RE: Having trouble making Tomcat available from outside the network

2006-12-13 Thread Simon Renshaw
Stuff like that: Dec 13, 2006 2:36:54 PM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1f70225') Dec 13, 2006 2:36:54 PM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: attr

Re: Error listenerStart

2006-12-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Richard, Richard DeGrande wrote: > Has anyone seen the following error ?? I'm at a complete loss. > > SEVERE: Error listenerStart > Dec 13, 2006 1:12:54 PM org.apache.catalina.core.StandardContext start > SEVERE: Context [/omps] startup failed due

Need help reading context.xml in Tomcat's conf directory

2006-12-13 Thread Lenny Wintfeld
Hi I'd like to read an element from /Apache Software Foundation/Tomcat 5.5/conf/context.xml file from my program. The element is one of many Parameter elements of the form name="foo" value="bar"/> The context.xml is laid out as < cachingAllowed="*false*"> - WEB-INF/web.xml

Re: tomcat logs under windows

2006-12-13 Thread Martin Gainty
Simon- contents of simplelog.properties should be on classpath (preferrably \WEB-INF\lib) with the attribute showdatetime = false org.apache.commons.logging.simplelog.showdatetime = false M- --- This e-mail message (includi

Re: Error listenerStart

2006-12-13 Thread Martin Gainty
please attach connector.DATETIME.log from $CATALINA_BASE/logs directory 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

How to get User Access logs in tomcat

2006-12-13 Thread Jason Friedman
I've tried to get user access logs like: --- 127.0.0.1 - - [19/Oct/2006:12:38:09 +0800] "GET / HTTP/1.1" 302 - 0.240 - 127.0.0.1 - - [19/Oct/2006:12:38:09 +0800] "GET / HTTP/1.1" 302 - 0.243 - 127.0.0.1 - - [19/Oct/2006:12:38:11 +0800] "GET /secure/Setup!default.jspa HTTP/1.1" 302 - 1.732 39F9C7

Re: How to get User Access logs in tomcat

2006-12-13 Thread Leon Rosenberg
I think your valve definition misses some attributes: regards Leon On 12/13/06, Jason Friedman <[EMAIL PROTECTED]> wrote: I've tried to get user access logs like: --- 127.0.0.1 - - [19/Oct/2006:12:38:09 +0800] "GET / HTTP/1.1" 302 - 0.240 - 127.0.0.1 - - [19/Oct/2006:12:38:09 +0800]

Re: How to get User Access logs in tomcat

2006-12-13 Thread Jason Friedman
Leon, I tried your conf. It generates two log files access_log.2006-12-13 and access_webapp.2006-12-13.log in the logs/ dir. However, both of them are empty. Jason. On 12/13/06, Leon Rosenberg <[EMAIL PROTECTED]> wrote: I think your valve definition misses some attributes: regards

Re: How to get User Access logs in tomcat

2006-12-13 Thread Hassan Schroeder
On 12/13/06, Jason Friedman <[EMAIL PROTECTED]> wrote: I tried your conf. It generates two log files access_log.2006-12-13 and access_webapp.2006-12-13.log in the logs/ dir. However, both of them are empty. I'd guess there's something massively hosed in your installation, then, because I just

Re: How to get User Access logs in tomcat

2006-12-13 Thread Leon Rosenberg
in which block? here? Leon On 12/13/06, Jason Friedman <[EMAIL PROTECTED]> wrote: Leon, I tried your conf. It generates two log files access_log.2006-12-13 and access_webapp.2006-12-13.log in the logs/ dir. However, both of them are empty. Jason. On 12/13/06, Leon Rosenberg <[EMAIL PR

Re: How to get User Access logs in tomcat

2006-12-13 Thread Jason Friedman
Leon, I'm using 4.1.34, and I added it before , I tried your conf, it works now, thanks. On 12/13/06, Leon Rosenberg <[EMAIL PROTECTED]> wrote: in which block? here? Leon On 12/13/06, Jason Friedman <[EMAIL PROTECTED]> wrote: > Leon, > > I tried your conf. It generates two log files

RE: tomcat logs under windows

2006-12-13 Thread Caldarale, Charles R
> From: "sb4" <[EMAIL PROTECTED]> > Subject: tomcat logs under windows > > Is there a place to specify the form of log file names? Take a look at the doc: http://tomcat.apache.org/tomcat-5.5-doc/logging.html By default, Tomcat 5.5 uses a mechanism named JULI to handle logging, and that appears t

RE: Need help reading context.xml in Tomcat's conf directory

2006-12-13 Thread Caldarale, Charles R
> From: Lenny Wintfeld [mailto:[EMAIL PROTECTED] > Subject: Need help reading context.xml in Tomcat's conf directory > > The context.xml is not part of the web-app servlet directory tree, > its in Tomcat's conf directory. The context.xml file in the conf directory is common to all webapps. You c

Re: [tomcat 5.0] - DBCP pooling vs sharing a single open connection

2006-12-13 Thread Ran
Thanks Chris, Would the expensive opening database connection a issue while using Named Pipes ? (is the cost mostly coming from TCP 3 way or the xact setup/resource allocation on the db side for a new inbound connection ?) Ran On 12/13/06, Christopher Schultz <[EMAIL PROTECTED]> wrote: -B

Re: "File not found" with file include in a jsp file.

2006-12-13 Thread Wang Penghui
David Smith 写道: My apologies for reposting this outside the thread, but Thunderbird has a real problem with the encoding of the original thread and has made a mess of the minimal formatting I tried to put in below. --David Try this directory structure, starting with the appbase you declared in

Re: Character encoding

2006-12-13 Thread Mark Thomas
Mester József wrote: > Hi > I have some problem with character encoding. I have found a page ( > http://junlu.com/msg/1132.html ) and on this page there is a direction: > > 2. > In the Catalina.bat (windows) catalina.sh (linux) there must be a switch > added to the call to java.exe. The > swi

Re: Feature request: Server level character encoding instead adding a filter for each web application.

2006-12-13 Thread Mark Thomas
lovetide wrote: > 2. We afraid the efficiency of character encoding conversion: The data > POSTed from FORM are already x-www-form-urlencoded, if these data can be > converted directly into UTF-8 instead of internal character encoding of > Tomcat (is it iso-8859-1 ?), then it may be more efficient

RE: strange ssl tomcat response

2006-12-13 Thread Andrew Friebel
Hassan, Your emails refer to the use of the Java Runtime environment. This is going to seem like a dumb question, but are you running the SDK or RTE with tomcat? You need to be running the SDK. I am pretty sure that tomcat wont start without the SDK, but worth double checking. Regards, A

RE: [OT] Multi processor issue

2006-12-13 Thread JiaDong Huang
Maybe certain verification tool can be considered to develop for JSP/Servlet developer. Sun has the verifier.bat tool verifying the integrity of the .WAR file and environment. Since the Request Object usage has already been stated in the spec. Maybe Tomcat can have certain JSP verification tool. I

RE: strange ssl tomcat response

2006-12-13 Thread Caldarale, Charles R
> From: Andrew Friebel [mailto:[EMAIL PROTECTED] > Subject: RE: strange ssl tomcat response > > This is going to seem like a dumb question, but are you > running the SDK or RTE with tomcat? You need to be > running the SDK. Your information is out of date, as a cursory look at the 5.5 docs wou

appBase & docBase in element in server.xml

2006-12-13 Thread Wang Penghui
Hello, list, I am a little mess up with the configuration of tomcat 5.5.20 now. I use the follow configuration to setting up two Virtual Host in server.xml And both of them work correctly. I have digged some articles which related to the virtual host on tomcat and found something unclear

RE: appBase & docBase in element in server.xml

2006-12-13 Thread Caldarale, Charles R
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Wang Penghui > Subject: appBase & docBase in element in server.xml > > > An empty docBase is never correct - if it "works", it's just dumb luck. > 1. appbase = "/home/test/wwwroot" docbase = "". > and the default path of docbase should be ap

Re: appBase & docBase in element in server.xml

2006-12-13 Thread Wang Penghui
Caldarale, Charles R 写道: From: news [mailto:[EMAIL PROTECTED] On Behalf Of Wang Penghui Subject: appBase & docBase in element in server.xml An empty docBase is never correct - if it "works", it's just dumb luck. 1. appbase = "/home/test/wwwroot" docbase = "". and the default path of docba

RE: appBase & docBase in element in server.xml

2006-12-13 Thread Caldarale, Charles R
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Wang Penghui > Subject: Re: appBase & docBase in element in server.xml > > And i got a question here, is the docBase must be a > subdirectory in the webapps? No - for examples of where the specified docBase is not a subdirectory of the appBase

Michele A Shiels is in NRM.

2006-12-13 Thread Michele . A . Shiels
I will be out of the office starting 14/12/2006 and will not return until 18/12/2006. I will be picking up mail in NRM If you have an urgent issue please contact extension . - To start a new topic, e-mail: users@tomcat.ap

Re: [tomcat 5.0] - DBCP pooling vs sharing a single open connection

2006-12-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ran, Ran wrote: > Would the expensive opening database connection a issue while using Named > Pipes ? > (is the cost mostly coming from TCP 3 way or the xact setup/resource > allocation on the db side for a new inbound connection ?) I don't think tha

Re: [OT] Multi processor issue

2006-12-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dong, JiaDong Huang wrote: > Since the Request Object usage has already been stated in the spec. Maybe > Tomcat can have certain JSP verification tool. Is any thing like that > available? Or it is not possible to do technically at all. Maybe it can th

Unable to start Tomcat services

2006-12-13 Thread Dhanapal, Manikandan
Hi, I am unable to start the tomcat service. it is giving error like "The Apache Tomcat PFProd service on Local computer started and then stopped. some services stop automaticallyif they have no work to do,for example, the Performance Logs and Alerts services". please help me to resolve this iss