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
-
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
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
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
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.
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]
>>
>>
>
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
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
.
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
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
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:
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
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
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
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
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
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
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
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
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
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
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
[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
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
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
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
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
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
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
--
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:
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
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
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
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
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
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
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
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
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
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?
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
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!
-
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
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)
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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:
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
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
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
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
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.
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
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
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
> 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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]
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
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
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().
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
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:
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
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
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
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
/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
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:[
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
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
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
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 - 100 of 1995 matches
Mail list logo