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.

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 $

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

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

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

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 is

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

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 entire point of

Host element question

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

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

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 Host name of localhost and that is good. If I do not have a DNS entry,

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 did

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 might

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 Host 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). The

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 alias

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

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

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

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. Did you

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

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

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\DEVKEYkeytool -genkey -alias tomcat -keyalg RSA -keystore E:/Tomc at/bin/DEVKEY/devKeystore answered questions. 2) made sure passwords were same. (changeit) 3)

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 Evgeny

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.

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 after

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

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 APR

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

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

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.

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 only in

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

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.

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\DEVKEYkeytool -genkey -alias tomcat -keyalg RSA -keystore

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

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're not the

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 AM

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:

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

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

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 names?

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

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

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 close

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

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:

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 to

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 Parameter name=foo value=bar/ The context.xml is laid out as Context allowLinking=*true*

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

Re: How to get User Access logs in tomcat

2006-12-13 Thread Leon Rosenberg
I think your valve definition misses some attributes: Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=access_webapp. suffix=.log pattern=common/ regards Leon On 12/13/06, Jason Friedman [EMAIL PROTECTED]

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? !-- Define the top level container in our container hierarchy -- Engine name=Catalina defaultHost=localhost 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

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 /Context, I tried your conf, it works now, thanks. On 12/13/06, Leon Rosenberg [EMAIL PROTECTED] wrote: in which block? !-- Define the top level container in our container hierarchy -- Engine name=Catalina defaultHost=localhost here? Leon

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 to

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 can

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:

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

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 i

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,

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.

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 would

Re: appBase docBase in Host 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 Host element in server.xml Context path= docBase= reloadable=true debug=0/ Context path= docBase= reloadable=true debug=0/ An empty docBase is never correct - if it works, it's

RE: appBase docBase in Host 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 Host 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:

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 that

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 that

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