FW: tomcat 8080 thread not reduced

2017-01-13 Thread smith
From: smith [mailto:smith@zoom.us] Sent: Tuesday, January 10, 2017 9:57 AM To: 'users' Subject: tomcat 8080 thread not reduced Hi, We have installed Apache Tomcat/8.0.14, and found that after one period of time, the thread count for 8080(our port published) goes

RE: FW: tomcat 8080 thread not reduced

2017-01-13 Thread smith
- From: André Warnier (tomcat) [mailto:a...@ice-sa.com] Sent: Friday, January 13, 2017 10:42 AM To: users@tomcat.apache.org Subject: Re: FW: tomcat 8080 thread not reduced On 13.01.2017 09:38, smith wrote: > > > > > From: smith [mailto:smith@zoom.us] > Sent: Tuesday, Januar

RE: FW: tomcat 8080 thread not reduced

2017-01-16 Thread smith
Busy one is process customer request, do not know what non-busy one is doing, always keep 120 for many days. I don't think 20s timeout will not cause so long connection -smith -Original Message- From: André Warnier (tomcat) [mailto:a...@ice-sa.com] Sent: Monday, January 16, 2017

RE: FW: tomcat 8080 thread not reduced

2017-01-16 Thread smith
16.01.2017 09:50, smith wrote: > Busy one is process customer request, do not know what non-busy one is > doing, always keep 120 for many days. I don't think 20s timeout will > not cause so long connection > > -smith And did you actually try it ? We do not know your website or you

RE: FW: tomcat 8080 thread not reduced

2017-01-16 Thread smith
thread not reduced -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Smith, There are your only active s: On 1/14/17 1:30 AM, smith wrote: > connectionTimeout="2" redirectPort="8443" /> > > [snip] > > You have not changed any settings from the default.

RE: FW: tomcat 8080 thread not reduced

2017-01-16 Thread smith
wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Smith, > > There are your only active s: > > On 1/14/17 1:30 AM, smith wrote: >> > connectionTimeout="2" redirectPort="8443" /> >> >> [snip] >> >> >

RE: FW: tomcat 8080 thread not reduced

2017-01-17 Thread smith
Thanks chris So the tomcat default executor will not reduce the thread count until it reach to the max configuration? Will it reduce when it reach to max? And why the default not reduce the thread? -Smith -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net

RE: Re: FW: tomcat 8080 thread not reduced

2017-01-17 Thread smith
e the number of 'idle' workers back from the highest value it had reached. Le 2017-01-16 à 05:24, André Warnier (tomcat) a écrit : > On 16.01.2017 11:10, smith wrote: >> We has same problem on dev env that no any traffic to the serive, > > Ah. That is /new/ information, whic

RE: FW: tomcat 8080 thread not reduced

2017-01-18 Thread smith
. So Philippe's case introduces probably an additional level of complexity into the equation. semi-graphically : smith case : client <- HTTP -> tomcat HTTP connector - tomcat thread Philippe's case : client <- HTTP -> apache httpd + ajp module <- AJP -> tomcat AJP

RE: FW: tomcat 8080 thread not reduced

2017-01-18 Thread smith
hich are different, than what applies to your case (which consists of direct HTTP connections from browsers, to the tomcat HTTP connector). So Philippe's case introduces probably an additional level of complexity into the equation. semi-graphically : smith case : client <- HTTP -> t

RE: FW: tomcat 8080 thread not reduced

2017-01-18 Thread smith
tell us the correct active threads count. In another email thread, you said if use , it will tell us the right active thread count not just busy count, right? -smith -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Wednesday, January 18, 2017 3:

RE: FW: tomcat 8080 thread not reduced

2017-01-19 Thread smith
atus -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, January 19, 2017 4:38 PM To: Tomcat Users List Subject: Re: FW: tomcat 8080 thread not reduced -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Smith, On 1/18/17 8:25 PM, smith wrote: > I

RE: FW: tomcat 8080 thread not reduced

2017-01-21 Thread smith
eped alive sockets count: 1 Current thread count: 23 I want to know if these 23 threads are free to use, or they are active, cannot accept new connection? Here are Keeped alive sockets count, it's only 1, is this 1 for the busy thread or a thread in 23? -Smith -Original Message- Fr

RE: JMX currentThreadsBusy less than connections/requests when use APR connector

2017-03-08 Thread smith
Our production usage also has same phenomenon that my "currentThreadsBusy" always not high (3-5), but my "currentThreadCount" will go to 200-300 sometimes. I know that at some busy time, more threads will be created, so the thread pool get high, but at the same time, the busy threads will also

Re: Template tool

2006-06-14 Thread David Smith
Freemarker can. Very versitile for both web output as well as email and other templating purposes. --David Leonel wrote: On 6/14/06, MW Janssen <[EMAIL PROTECTED]> wrote: i use velocity.. Maarten thanks does it can handle templates from String or has to be templates on file

Re: Http11AprProtocol took 2 hr to init on http-443

2006-06-19 Thread David Smith
Looks to me more like port 80 is taking 2+ hours to initialize, not 443. My guess is tomcat is waiting for something -- possibly a system service. At anyrate, I don't experience that here on any version of tomcat or JDK. --David Jeff Chuang wrote: Hi, After starting tomcat from jsvc as s

Re: pdf documents

2006-06-20 Thread David Smith
I would recommend a servlet that streams the files from some configured absolute path(s) to the client. It's reasonably simple and allows you some degree of control over what is delivered. Map the servlet to *.pdf in your web.xml to make it respond to all requests for pdfs. --David Bob Wyat

Re: pdf documents

2006-06-20 Thread David Smith
I already have a servlet displaying the filenames to select from. My servlet is mapped to a different name in web.xml file. How should I proceed. Should I have another new servlet? What about for different file formats. Should it also be mapped? thanks, suba suresh. David Smith wrote: I would

How to access server configuration from a servlet

2006-06-20 Thread Smith Ran
I have a Tomcat 5.0 server running on a 1.4 JRE I was wondering if there was any way to access server configuration (in server.xml etc.) from a servlet? Is there a way to determine where the server is installed on the system etc.? I would like to basically determine the server's SSL keystore an

Re: How does Tomcat detect whether a browser accepts cookies

2006-06-21 Thread David Smith
On first response, Tomcat both set's a cookie JSESSIONID and appends the same to the page links (when properly coded). If the cookie comes back on the next request, url rewriting is dropped in favor of the cookie. No magic, tomcat just covers all it's bases up front. See HttpServletResponse.en

Re: Trouble with Admin WebApp

2006-06-23 Thread David Smith
Wrong place to install the admin webapp. The webapp itself needs to be in $CATALINA_HOME/server/webapps right next to the manager webapp. admin.xml is correctly placed. --David Armour David wrote: Hi I am running Windows 2000. I have installed Tomcat 5.5.17. I am running Java Version: b

Re: When we restarted tomcat, we are getting the below error while connecting to MySql database

2006-06-26 Thread David Smith
Take a look at the user accounts in MySQL. Some things to consider: 1. MySQL authenticates clients based on the host as well as username and password. Login to mysql manually and run this: use mysql ; select user, host from user where user='root' ; If the host column has '%' or 'localhost.l

Re: log4j warning: Please initialize the log4j system properly

2006-06-26 Thread David Smith
[CATALINA_HOME]/common/classes/log4j.properties: log4j.rootLogger=ERROR, R log4j.appender.R=org.apache.log4j.RollingFileAppender log4j.appender.R.File=C:\Program Files\Apache Software Foundation\Tomcat 5.5\logs\tomcat.log log4j.appender.R.MaxFileSize=10MB log4j.appender.R.MaxBackupIndex=10 l

Re: what happens with the content.xml file

2006-06-26 Thread David Smith
I'm not going to claim agreement with the developers on the behavior of the deploy path. I will say you could put version info into a element of the WEB-INF/web.xml file if that's you're goal and it'll show up in the manager webapp without butchering your url. --David tom ot wrote: Hi Pid

Re: many No Referrers in logs

2006-06-26 Thread David Smith
That usually indicates a direct access either by typing in the URL or using a bookmark. --David Robert Kudyba wrote: We have our server.xml file set w/ the following entry: Valve className="org.apache.catalina.valves.AccessLogValve" directory="../logs" prefix="ws_access_log." suffix=".txt" pa

RE: Out of Memory Error

2006-06-26 Thread Gordon Smith
ive way to increase performance and decrease downtime and hair loss! Hope this helps. Cheers, Gordon Smith -Original Message- From: Marco Aurélio Seraphim da Silva [mailto:[EMAIL PROTECTED] Sent: Monday, June 26, 2006 11:09 AM To: users@tomcat.apache.org Subject: Out of Memory Error Hi fo

Re: JDBC jar in WEB-INF/lib?

2006-06-27 Thread David Smith
You can if you like. Just implement a ServletContextListener to setup a DBCP pool for your webapp and store the resulting DataSource in the ServletContext. Servlets and JSPs can pull it out of the ServletContext later for use. Then have both the DBCP jar and the MySQL jar in your WEB-INF/lib

RE: sort an array

2006-06-27 Thread Gordon Smith
this helps. Cheers, Gordon Smith -Original Message- From: password password [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 27, 2006 10:57 AM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: sort an array Hi, Arrays.sort(astrName); I can not use the sort method because

Re: Cannot use Tomcat

2006-06-28 Thread David Smith
Offer details. We are not looking over your shoulder at the screen and have no idea what you've setup. --David Rosario Antonio wrote: Tomcat is running but when tryin to access localhost:8080 I receive message: UNAUTHORIZED How can I correct the problem? Thanks Antonio --

Re: Cannot use Tomcat

2006-06-28 Thread David Smith
localhost:8080/index.jsp Displays the page OK. Here in my office my PC is connected to am Intranet and I suspect that is related to my problem. Thanks Antonio -----Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: 28 June 2006 12:39 To: Tomcat Users List Subject:

RE: Error while connecting to MySQL database

2006-06-29 Thread Gordon Smith
this forum as long as you can connect by using that pwd from the MySQL client. Hope this helps. Cheers, Gordon Smith -Original Message- From: navaneethan loganathan [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 28, 2006 7:57 PM To: users@tomcat.apache.org Subject: Error while connectin

Re: exec'ing ksh from Servlet

2006-06-29 Thread David Smith
How is that messed up? Makes perfect sense from the perspective of the calling java code and is consistent with input and output streams for files, network connections, etc., ... --David Leon Rosenberg wrote: Alas, the getInputStream and getOutputStream methods are mixed up, the getInputStr

Re: filter increase number of session

2006-06-29 Thread David Smith
There is also the RequestDumperValve which would list out all the request headers/parameters/cookies/etc. that tomcat is receiving. See http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html. It does have a downside in that it locks you into the system's default encoding. :-( --David Le

Re: Access MANIFEST.MF from web-application

2006-06-30 Thread David Smith
rs@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- David Smith Network Operations Supervisor Department of Entomology Cornell University 2132 Comstock Hall Ithaca, NY 14853 Phone: (607) 255-9571

Re: tomcat startup problem

2006-06-30 Thread David Smith
You may want to consider saving a copy of server.xml as server.orginal.xml (or something to that effect) and then stripping out all the comments in a production version of the server.xml. Makes reading the config s much easier. If you really need the docs, go back and take a look at the o

Re: web.xml missing

2006-06-30 Thread David Smith
I'm not sure what webapps/Root/WEB-INF/web.xml has to do with anything, but the complaint of a missing web.xml is in context /LoginAction, as well as another more severe complaint about opening an input stream for the validation rules xml file. Did you do a soft link or shortcut? Don't think

Re: Error while connecting to MySQL database

2006-06-30 Thread David Smith
to /data (900GB). Any clue please On 6/29/06, Gordon Smith <[EMAIL PROTECTED]> wrote: If Class.forName throws a null pointer exception, chances are it can't find the driver because you have a Tomcat configuration problem or other classpath-related problem relating to driver se

Re: How do I fix this error in localhost_log? javax.servlet.ServletException: Error instantiating servlet class org.apache.struts.action.ActionServlet

2006-07-03 Thread David Smith
Include the bean-utils library from http://jakarta.apache.org/commons/beanutils in the WEB-INF/lib directory of your web application. --David [EMAIL PROTECTED] wrote: This is an excerpt from my localhost_log file: 2006-07-03 12:50:32 StandardContext[/strutsBlank]Marking servlet action as un

Re: Authentication problem -> request.getRemoteUser() returns null

2006-07-04 Thread David Smith
using JSP / request.getRemoteUser() it returns null. So the authentication againts apache is ok but, how can I get the infomation into my JSP-Pages ? How is this information passed to tomcat, which configuration setting a necessary? Can anybody help me ? Thanx in advance! Oliver -- David Smi

Re: web app application name

2006-07-05 Thread David Smith
AFAIK, it depends on the listener. Listeners implementing ServletRequestListener can retrieve it from the request; for others I don't see a clear way. --David asaf.lahav wrote: How can I obtain the name of the web application name my listener servlet is running under in Java?

Re: Serving CSS files from a certain URL

2006-07-05 Thread David Smith
In your Test.jsp, why don't you have something similar to: location="${pageContext.request.contextPath}/css/Styles.css" /> I'm of course assuming tomcat 5.x.x and the web.xml file is declared for servlet spec 2.4. This should work whether the running tomcat instance is on your local machine

Re: TC 5.5.17 / SSL - no response (5.5.15 works fine)

2006-07-07 Thread David Smith
The native connector code uses OpenSSL instead of java encryption classes. The certificate formats are different. Try a self-signed OpenSSL cert and see if it it works. --David Danny Lee wrote: BTW: If I disable TCNative/AJP it does the trick, but damn, I wanna use it! -

Re: Tomcat intialization problem

2006-07-07 Thread David Smith
I think you need to fix your networking issues before trying to setup tomcat. If the link you supplied is your support case, the lo network interface isn't working or properly configured. ifconfig on a console logged in as root should show the active network interfaces including at least eth0

Re: Includes that Forward

2006-07-07 Thread David Smith
Personally, I think it's bad design to have an include do a forward and then expect the forward content to replace the include. A forward, even from an include, should replace the entire content of the would be response. The behavior you are looking for could be done easily (and more cleanly)

Re: Tomcat manager URL configuration for 2 tomcat instances, Apache + mod_jk

2006-07-10 Thread David Smith
No, that won't work. Copying jar files from server/lib will cause classloader problems. There is a simpler way: 1. Rename manager.xml in conf/Catalina/localhost to manager-5028.xml 2. Change the path attribute in manager-5028.xml to manager-5028 3. Restart tomcat (or start if it's already stop

Re: Tomcat shutdowns unexpectedly - Please help

2006-07-11 Thread David Smith
I'm no expert, but off the top of my head it appears your JVM is crashing. Especially true if there is absolutely no logging data just before the process stops. You may have indications of what's happening in other log files like syslog or a core dump file. You may also want to look at bug r

Re: url changes

2006-07-11 Thread David Smith
Change the servlet mapping in Blojsom from blog/* to *. Then change the name of the Blojsom webapp to blogs. The end result is the desired URL such as http://www.company.com/blogs/employee.name. Consult the Blojsom docs before making these changes to insure they work as expected and Blojsom

Re: File isn't found in ROOT directory

2006-07-11 Thread David Smith
Two issue here: 1. Place the index.jsp in webapps/ROOT instead of webapps/ROOT/admin 2. ROOT context that comes with tomcat has all it's jsp files pre-compiled. Your new index.jsp is being ignored in favor of the pre-compiled version. Remove the servlet mapping in webapps/ROOT/WEB-INF/web.x

Re: File isn't found in ROOT directory

2006-07-11 Thread David Smith
ss it. Brian -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 11, 2006 11:32 AM To: Tomcat Users List Subject: Re: File isn't found in ROOT directory Two issue here: 1. Place the index.jsp in webapps/ROOT instead of webapps/ROOT/admin 2. ROOT co

Re: Accessing a servlet

2006-07-11 Thread David Smith
Did you reload the webapp after making the change? All changes to WEB-INF/web.xml or files in WEB-INF/classes and WEB-INF/lib will require a reload before they become active in tomcat. --David McRaven, Brian wrote: I was able to refer to a book I have and so I dropped the .class extensions

Re: Simple question, but can't figure out answer

2006-07-12 Thread David Smith
Hi. I've been lurking on this thread for a while this morning. Here's a few things you might want to consider 1. Your perl script to serve up images is pulling from /images according to what was posted. Given that perl probably isn't chrooted to the directory your webapp is in, the ima

Re: HTTP Status 503 - Servlet admin.login_jsp is currently unavailable

2006-07-12 Thread David Smith
Did you store the admin webapp in server/webapps where it belongs? Also check your logs. There should be an exception trace just before the place where this was marked as unavailable. --David simon jones wrote: Hi, can anyone help me with this one? Thanks! I've installed tomcat - no prob

Re: HTTP Status 503 - Servlet admin.login_jsp is currently unavailable

2006-07-12 Thread David Smith
d() -Original Message----- From: David Smith [mailto:[EMAIL PROTECTED] Sent: 12 July 2006 17:38 To: Tomcat Users List Subject: Re: HTTP Status 503 - Servlet admin.login_jsp is currently unavailable Did you store the admin webapp in server/webapps where it belongs? Also check your logs.

Re: HTTP Status 503 - Servlet admin.login_jsp is currently unavailable

2006-07-13 Thread David Smith
Ok I did as instructed and tried the admin. Now I get the "Tomcat's administration web application is no longer installed by default. Download and install the "admin" package to use it. " error. No entries in the log either, where next? Cheers, Simon -Orig

Re: HTTP Status 503 - Servlet admin.login_jsp is currently unavailable

2006-07-13 Thread David Smith
x 2 root root 4096 Apr 14 19:09 users/ drwxr-xr-x 2 root root 4096 Apr 14 19:09 valve/ drwxr-xr-x 3 root root 4096 Jul 10 16:53 WEB-INF/ Simon -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: 13 July 2006 12:49 To: Tomcat Users List Subject: Re: HTTP Statu

Re: HowTo configure IP Filter XOR User Login

2006-07-13 Thread David Smith
I know of nothing built-in to tomcat for that. You could implement a request filter to handle the job although it would mean implementing your own authentication. --David [EMAIL PROTECTED] wrote: Hello, I need to configure two different ways to login to an app. The first one is an ip filt

Re: JDBC Realm error

2006-07-13 Thread David Smith
Why don't you try using the same dbURL you use in the java code -- "jdbc:odbc:DSNName". Also add in the attributes connectionName for the auth username to the database and connectionPassword for the auth password to same. --David Propes, Barry L wrote: I'm not sure if this is the method of

Re: Tomcat Not An App Server

2006-07-13 Thread David Smith
Tomcat's not really an app server? Geee really, I feel so inadequate now. :-( Seriously, I think I've seen this religious war around here somewhere and it really depends on definition. No, it's not a full J2EE container, but it's definitely an app server in my opinion. Have you read the se

Re: JDBC Realm error

2006-07-13 Thread David Smith
age----- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, July 13, 2006 3:00 PM To: Tomcat Users List Subject: Re: JDBC Realm error Why don't you try using the same dbURL you use in the java code -- "jdbc:odbc:DSNName". Also add in the attributes connectionName for the

Re: Tomcat5 installation problem

2006-07-14 Thread David Smith
Port 8005 which tomcat uses as a shutdown port is in use by another process. You could change that in server.xml or shutdown the service on 8005 to fix it. --David Oguz Yarımtepe wrote: Hi. I was trying to install Tomcat 5.5.17 to a windowsXP machine with a service pack 2. I followed the ins

Re: Tomcat on a server

2006-07-17 Thread David Smith
Yes, but Tomcat also pools threads and keeps them around between requests, recycling as necessary. The servlet's themselves should avoid class instance variables unless they are reset to some known state at the beggining or end of every request for this reason. --David Alan Meyer wrote:

Re: [OT] Problems with file permissions

2006-07-19 Thread David Smith
Two solutions, neither are 'apache' solutions: 1. Set sticky bits on the permissions on the folder so new files created under it adopt it's settings. 2. Configure your ftp service to correctly set permissions on upload. Of course, I don't see where any of this has to do with tomcat, hence the

Re: [OT] Problems with file permissions

2006-07-19 Thread David Smith
but I am just puzzled why Apache cares about file permissions instead of user/group security. Thanks again for any help you can give. Michele David Smith <[EMAIL PROTECTED]> No Phone Info Available 19/07/2006 15:02 Please respond to "Tomcat Users List" To Tomcat Us

Re: Tomcat 5.5/Axis 1.4 java.lang.reflect.InvocationTargetException

2006-07-20 Thread David Smith
Q1) As long as I do not referece the classes, which I believe means the classes are not loaded, then there is not problem. When they are accessed, then it fails. The classes are in both common, shared and webapps, where else I am supposed to place them? First, read the classloader howto on the to

Re: Database Connection Error Cannot create PoolableConnectionFactory

2006-07-20 Thread David Smith
java.security.AccessControlException indicates you are running tomcat with the security manager. You'll need to edit your catalina.policy file to allow this connection. The policy file itself has a number of examples, here's just one modified to your situation below: grant codebase "jar:fil

Re: log rotation

2006-07-21 Thread David Smith
catalina.out is the redirected output of tomcat -- not a product of log4j or commons-logging. As such you're best bet is to have a cron job stop tomcat, rename the file and then restart it at say 6:00am when the internet hits the lowest ebb of demand. That method should be safe for all OS's.

Re: Tomcat fails to refresh connections when mySQL server on linux is shutdown and restarted

2006-07-24 Thread David Smith
Best practice is to store the DataSource, not the connections in your singelton class. Then get a connection, perform your queries, and close the connection immediately. The pool will take care of managing the connections including creating new ones when existing connections die which happens

Re: Can't figure out directory structure (again:-(

2006-07-24 Thread David Smith
According to the configurations you posted, the full path of your login servlet is /smsinfo/smsinfo/login. I doubt that was what you were really after. The URL mapping in web.xml is relative to the webapp, not the root. Also, if this is tomcat 5.x, you should put your definition in it's ow

Re: Some tomcat config questions

2006-07-24 Thread David Smith
Third if I telnet to port 80 and issue "GET / HTTP/1.0" the "Location" header contain the local ip address not the public one, It's sat behind a firewall. I tried the "server=external ip" in each connector but I still get the internal ip address returned, any way to fix it? If you want to bind

Re: Links to relative URL's from a JSP

2006-07-24 Thread David Smith
> 2) JSP files, even though accessing image files in the same directory must use the previous directory, e.g., even though the images are contained in the same directory. What does the URL in your browser look like when you are access the JSP pages? The browser constructs the full path to th

Re: Setting the classpath for my application

2006-07-24 Thread David Smith
Ok. Confirmed. Per the servlet spec, all jars in the WEB-INF/lib folder are included in the webapp's classloader. Now, here are some questions that might help narrow down what's happening: 1. Is the jar a valid jar file? Does it's internal folder structure mirror the package structure? 2

Re: Tomcat on Win Server 2003?

2006-07-24 Thread David Smith
Can it be installed on Win 2003 Server? Yes. Can't find any ref's? Probably because it's built in Java and as such is intended to be platform independent. Take a look at the downloads page -- there is a download that installs it as a service. --David maya wrote: can Tomcat be installed

Re: Help needed HTTP response header

2006-07-24 Thread David Smith
Don't think that's possible in a version of tomcat as old as the one you are using. I believe that feature was added to the connectors in tomcat 5.0.x or tomcat 5.5.x. To get what you want in such an old (-cough- ancient) version of tomcat would probably require altering the source code and r

Re: Links to relative URL's from a JSP

2006-07-24 Thread David Smith
th a "correct" relative URL location, and the other two using "../" before the image filename. If I access the JSP using an absolute URL, one of the images will work, if I use dispatcher forwarding, 2 of them will work. I am using Eclipse for development. Sincerely, Mi

Re: ResponseWrapper and sendRedirect not working

2006-07-25 Thread David Smith
I'm not seeing the complete sequence in your filter code, or even a redirect. Should be something like: doFilter(){ MyRequestWrapper reqWrapper = new MyRequestWrapper(servletRequest); MyResponseWrapper respWrapper = new MyResponseWrapper(servletResponse); MyUserObj clientUser = MyU

Re: Where is my Tomcat

2006-07-25 Thread David Smith
OOzy Pal wrote: On 7/25/06, Martin Gainty <[EMAIL PROTECTED]> wrote: All Tomcat installations come with startup. and shutdown. located in $TOMCAT_HOME/bin run the startup. first in some sort of console (xterm...) and note the errors e.g. If it cant find $JAVA_HOME it will output debug messa

Re: Install tomcat on a linux (suse) V-Server (Strato)

2006-07-26 Thread David Smith
Output is redirected to catalina.out in the logs directory. Take a look at that for details on what is/isn't happening. --David heinz rübezahl wrote: Hi, i tried to install a tomcat server on a linux (suse) V-Server of strato. But it doesn't work! I had sucess at windows but anyway. I would

RE: Response time banding

2006-07-26 Thread Gordon Smith
Depending on your application server topology, you might see the larger response times as a result of bandwidth limiting or network configuration. The issue could also be due to database access (e.g. table locking issues that are shown during the longer response times). Short term DNS resolution

Re: Initial configuration problems

2006-07-27 Thread David Smith
There isn't a lot of information to go on here. Are there any error messages in the logs regarding the manager webapp? Also could you be more specific regarding "...installing the various software elements, adding the environment variables...". You should be able to run the manager webapp ri

Re: Tomcat and MySQL error

2006-07-27 Thread David Smith
The answer depends on how the MySQL connection is made and where. Tomcat doesn't offer just one way to handle this or just one place to configure it. The MySQL connection string can be in server.xml or the web application itself. You might want to do a search to see where "www.old-domain.com

Re: apache not talking to tomcat w/ mod_jk

2006-07-27 Thread David Smith
I got the impression (and I could be wrong here) early on in this thread you may have dropped your jsp in the apache httpd docroot and tried it there. This isn't mod_perl or one of those other modules that allow files to sit directly in the apache docroot or one of it's folders. If this is th

Re: What are the advantages on tomcat5.5.17 over the tomcat4.1.29

2006-07-27 Thread David Smith
Then you need to google again. This subject has been covered in various ways on the list: 1. 5.0.x and 5.5.x both support servlet spec 2.4 (4.1.x supports servlet spec 2.3) 2. 5.5 no longer requires a JDK. A JRE is sufficient 3. There have been HUGE performance improvements in 5.5 (comparabl

Re: tomcat , wondoze , Unable to find a javac compiler;

2006-07-27 Thread David Smith
Are the env vars User variables for your account or system variables? Take a look at this: 1. Click Start, then RIGHT click on My Computer. 2. Choose Properties from the pop-up menu 3. Click the Advanced tab in the System Properties window. 4. Click on the Environment Variables button 5. The re

Re: Apache - Tomcat connector

2006-07-27 Thread David Smith
attachments with the extension .ZIP or .EXE. Please rename all .ZIP attachments to .ZZZ. Please zip all .EXE attachments and then rename them to .ZZZ. If you receive an attachment named .ZZZ please rename it to .ZIP. Sorry for the inconvenience. -- David Smith Network Operations

Re: Back to 404 problem: The requested resource (/Sisc/servlet/servle ts/PesquisaTabPeriferica) is not available

2006-07-27 Thread David Smith
action=strFilePath; return true; objfrm.submit(); } ... Thanks a lot - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat 5.5.17 can connect to any webserver without mod_jk ?is this true?

2006-07-31 Thread David Smith
In that context, yes. Basically you are setting up a reverse proxy from your Apache/IIS front-end to tomcat. In that event, each connector in tomcat dedicated to a specific Apache/IIS front-end will need the proxyName and proxyPort attributes so it can correctly generate URL links. As for th

Re: Tomcat Upgrade

2006-07-31 Thread David Smith
For what it's worth, I don't think the changes between 4.0.x and 4.1.x are all that significant -- same servlet spec, same deployment as I remember. I wouldn't be a bit surprised if the point difference in releases had more to do with internal restructuring than anything else. Start with a re

Re: Initializing Parameter

2006-07-31 Thread David Smith
ServletContextListener is a new feature of servlet spec 2.4 (tomcat 5.0.x, 5.5.x). The essential parts are: 1. write a class implementing the javax.servlet.ServletContextListener interface. The interface itself requires two methods -- contextInitialized() [see below] and contextDestroyed().

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2006-07-31 Thread David Smith
Is your SQL JDBC driver in common/lib? It has to be there for tomcat to set it up as a resource. Also drop the tag from your context definition. Not needed when the resource is defined inside the tag and may confuse tomcat. --David Aynalem, Seblewengel (Trawick) wrote: Hi there: I am

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2006-07-31 Thread David Smith
70 config=null Jul 31, 2006 3:01:10 PM org.apache.catalina.storeconfig.StoreLoader load INFO: Find registry server-registry.xml at classpath resource Jul 31, 2006 3:01:10 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 5147 ms -Original Message- From:

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2006-07-31 Thread David Smith
ng ID=0 time=0/70 config=null Jul 31, 2006 3:01:10 PM org.apache.catalina.storeconfig.StoreLoader load INFO: Find registry server-registry.xml at classpath resource Jul 31, 2006 3:01:10 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 5147 ms -Original Message- Fro

Re: Initializing Parameter

2006-07-31 Thread David Smith
Christopher Schultz wrote: Ryan, One more question: What is the best method for retrieving the values? You only have one option: ServletContext.getInitParameter There are, however, some tools that can help you load data that is not String-based. Jakarta commons beanutils package (s

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2006-07-31 Thread David Smith
t like tomcat would. --David Aynalem, Seblewengel (Trawick) wrote: Sorry to ask this... how do you verify server connection independently. This is my first time configuring doing database connection. Thanks a lot, -Original Message----- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Mon

Re: Servlet that needs ROOT access

2006-08-01 Thread David Smith
Is it possible to run tomcat as root? Yes. Is it advised? No. I think you're on the right track with the separate process idea. That would limit the opportunities presented to would be hackers. Another idea, you might be able to do something with the sudo command and Runtime.exec() as long

Re: Tomcat 5.5.17 can connect to any webserver without mod_jk ?is this true?

2006-08-01 Thread David Smith
/1.3 protocol. Think if it as incorporating the functions of mod_jk into mod_proxy. --David Raju Balugu wrote: Thanks to David Smith and Mark Thomas . What is the difference between mod_proxy_ajp and mod_proxy?Could you please give details on that? Regards Raju On 8/1/06, Mark Thomas

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2006-08-01 Thread David Smith
Could there be any other cause for this error: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (The TCP/IP connection to the host has failed. java.net.ConnectException: Connection refused: connect) -Original Message----- From: David Smith [mailto:[

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

2006-08-01 Thread David Smith
rom: David Smith [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 01, 2006 8:26 AM To: Tomcat Users List Subject: Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' And you are sure your test with the client softwar

Re: Someone Please: Why Is Tomcat Looking In The Wrong Directory?

2006-08-01 Thread David Smith
I'm responding to the first message in the thread, but have read all of it. A thought: How are you opening this file? Hopefully it's via ServletContext.getResourceAsStream( "/myapp/conf/myapp.properties" ) ; --David Robinson, Eric wrote: Hello all, When I start tomcat, I get several mes

Re: Someone Please: Why Is Tomcat Looking In The Wrong Directory?

2006-08-01 Thread David Smith
r that question as I am not the developer. Although I called it "myapp" for simplicty, it is really a third-party application. -- Eric Robinson -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 01, 2006 8:23 AM To: Tomcat Users List Subject

Re: Someone Please: Why Is Tomcat Looking In The Wrong Directory?

2006-08-01 Thread David Smith
directory and below and I see a couple of places where it is doing a System.GetProperty("tomcat.home"), but that's about it. -- Eric Robinson -Original Message----- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 01, 2006 8:55 AM To: Tomcat Users List Subject: Re:

  1   2   3   4   5   6   7   8   9   10   >