How would you set an environment up for the following case:
- 20 independent (non related) webapplications with low traffic 200
unique (real) visitors per day per webapplication
- Application architecture: Hibernate, Java 1.5 and Stripes under the
hood.
I've set the system up with 1 tomcat
Case:
I've deployed an application on a Tomcat 6.0 (current release). The
application is a Hibernate / Stripes application.
Almost no memory is allocated due to the deployed application.
Setting:
-Xmx64m -XX:MaxPermSize=128m
Tomcat without application uses: 27,5M (real memory) and 349M
Hi all,
I use maven2. I wonder if there is a mvn-command which can deploy/reploy/delete
the war to/from Tomcat?
Regards
Thomas
-
Jetzt Mails schnell in einem Vorschaufenster überfliegen. Dies und viel mehr
bietet das neue Yahoo! Mail.
Hi,
Thanks for your response!
I have no idea what the problem was, but I deleted the entire tomcat
library.
And installed it again, and ops it works now, I probably messed it up!
..fredrik
On Jan 10, 2008, at 10:30 PM, Dmitriy Fitisov wrote:
Set a breakpoint in your's servlet init() in
Sorry, think I may not have worded my question properly. What I meant to ask
is:
Is it possible to get tomcat to rewrite the url, preplacing %XX with
corresponding symbol? The reason it's important is that I need to parse some
paramaters server-side, and the paramaters need to be delimited by ''
Hi Thomas,
http://cargo.codehaus.org
It works with Tomcat 5.x.
I experimented the attached script without a deep insight on this plugin
features. Let us know your comments about Cargo.
Regards,
Thomas Chang ha scritto:
Hi all,
I use maven2. I wonder if there is a mvn-command which can
Hello,
I am trying to set up 0racle connection pooling. Some of the
parameters are reflected normally, but some are specified via a property
lists. How do I set the property list properties using Tomcat/JNDI? I
can set up the basic DataSource, but I cannot set the maxLimit parameter
on the
From: Morten Matras [mailto:[EMAIL PROTECTED]
How would you set an environment up for the following case:
- 20 independent (non related) webapplications with low traffic 200
unique (real) visitors per day per webapplication
- Application architecture: Hibernate, Java 1.5 and Stripes
Shiby Maria John wrote:
Hi,
This is a bit of documentation from the Load balancing page of the
Apache site.
sticky_session specifies whether requests with SESSION
ID's should be routed back
Hello!
The following configuration was not supposed to be created 5
connections at first get connection execution?
My application with the following configuration creates always a new
session in the database for each invocation,
which is not to take advantage of pooling. Why?
Context
Berglas, Anthony wrote:
Hello,
I am trying to set up 0racle connection pooling. Some of the
parameters are reflected normally, but some are specified via a property
lists. How do I set the property list properties using Tomcat/JNDI? I
can set up the basic DataSource, but I cannot set the
Thanks for the info.
So I think if I am using Tomcat for clustering, I need to set
sticky_session as true to ensure that the session is not lost.
Rainer Jung
i'm catching the subevents but they don't get fired.
i've a problem with this szenario:
i need to reset some serverside variables when the user clicks the reload
button in the browser with an active hanging get request.
i therefore used the main END event for detection because the subevents
don't
Hi Dominik,
Dominik Pospisil wrote:
Hello,
I am having following problem with following failover test scenario.
Cluster setup:
- 1 apache load balancer
- 2 nodes with equal LB factor
- sticky session turned on
- Apache/2.0.52, mod_jk/1.2.26
Test scenario:
1. start 1st node
2. start load
Thanks.
It's an interesting problem. It does validate against an xml validator,
but I can't reproduce your error in my tomcat 5.5 environment. If it's
really an error w/ tomcat, it has to be unique to your version of
tomcat. Any one on this list still using tomcat 4.1 want to respond?
Hello,
I am having following problem with following failover test scenario.
Cluster setup:
- 1 apache load balancer
- 2 nodes with equal LB factor
- sticky session turned on
- Apache/2.0.52, mod_jk/1.2.26
Test scenario:
1. start 1st node
2. start load driver
3. start 2nd node
4. wait for state
Right -- as I expected. I'll bet you don't have a webapp at
server/webapps/admin which would cause the stack trace you are seeing.
That doesn't fix the manager webapp though. Do you have any errors in
the logs regarding the manager webapp? Other things to check is that
there is file named
Be careful of your attribute names as case matters. Attribute names =
class property names and class properties are usually referred to with a
lower case first letter as in initialLimit=5, not InitialLimit=5.
--David
Andrew Hole wrote:
Hello!
I think that I have the same problem.
Not sure about the manager webapp responding in 404 since the stack
track below refers to the admin webapp. Regarding the stack trace
below, It would appear you have the admin webapp defined in a Context
.../ element but the admin webapp itself isn't present. Look for a
file named admin.xml
Sorry, I haven't understund what your I'll bet you don't have a webapp at
server/webapps/admin ... means.
In conf/Catalina/localhost there really a file called manager.xml and the
manager webapp itself is really at server/webapps/manager.
David Smith [EMAIL PROTECTED] schrieb: Right -- as
From: Andrew Hole [mailto:[EMAIL PROTECTED]
Subject: Re: Datasource Property Parameters (Oracle) JNDI
I don't see examples with initial size of pool! Exists some default
value for pool initial size??
To quote from the doc:
See the DBCP documentation for a complete list of configuration
Julio Cesar Leiva wrote:
Hi all
When we introduce load balancing and a 2nd tomcat worker, the time
to service client requests is not balanced. Some clients are serviced
as above,
but others may take 10, 20, 30 seconds or more. Eventually, clients
timeout
and sessions are lost.
We ran our
From: Andrew Hole [mailto:[EMAIL PROTECTED]
Subject: Re: Connection pooling
With the following configuration i get the
error:DatasourceConnectionProvider - Could not find datasource:
java:/comp/env/ehr
Resource name=jdbc/ehr auth=Container
That's because Martin gave you bad information.
I don't see examples with initial size of pool! Exists some default
value for pool initial size??
On Jan 11, 2008 2:27 PM, Caldarale, Charles R
[EMAIL PROTECTED] wrote:
From: Andrew Hole [mailto:[EMAIL PROTECTED]
Subject: Re: Datasource Property Parameters (Oracle) JNDI
Could you help me
From: Brian Wawok [mailto:[EMAIL PROTECTED]
Tomcat 5.0 Server.
Program A is running on server, and needs axis 1.1 as a library.
Is program A packaged as a WAR, with the Axis 1.1 libraries in the WAR? If
not, it should be.
Program B is running on the same server, and needs axis 1.4
as a
From: rajendra_sakpal [mailto:[EMAIL PROTECTED]
Subject: RE: Problem with accessing HTML page under
non-default appBase in Tomcat.
FYI: The problem that I described here has nothing to do with
the problem that I posted yesterday.
No, it's exactly the same problem: you don't understand
Well, REsource A works nice. When I startup Tomcat, are created 5 new
database connections.
Resource B allows connections to be created, but without pooling.
I'm without ideas! Please, could u help me?
Resource A
Resource name=ehr auth=Container
type=javax.sql.DataSource
I have the following situation.
Tomcat 5.0 Server.
Program A is running on server, and needs axis 1.1 as a library.
Program B is running on the same server, and needs axis 1.4 as a library.
Axis 1.1 and 1.4 are not backwards compatible... if I just put Axis 1.1 on
it.. program B won't work..
Hi Caldarale,
Yesterday's issue:
=
Thanks for the reply. We are supposed deploy the application which has
JSP/HTML pages some Java classes bundled as JAR in Tomcat.
Note: We cannot change the application the way it is bundled now.
Today's issue:
==
However, I
Is there any way to prevent this error? We use the windows service panel to
start/stop Tomcat, and if we get this error, the stop command times out, the
service panel shows an error and assumes the service has stopped, so you can't
push stop again.
Thanks,
Jim
-Original Message-
To be clear, the appBase can contain nothing but webapps and tomcat
considers all content to be a part of one webapp or another. The ROOT
webapp is a special webapp that processes all requests not matching any
other webapp's path. To serve up your html file from the root of your
site, place
En l'instant précis du 11/01/08 09:34, Morten Matras s'exprimait en ces
termes:
Case:
I've deployed an application on a Tomcat 6.0 (current release). The
application is a Hibernate / Stripes application.
Almost no memory is allocated due to the deployed application.
Setting:
-Xmx64m
I get the following error when i change from ehr to jdbc/ehr:
2008-01-11 15:42:57,471 FATAL Thread-1 DatasourceConnectionProvider - Could
not find datasource: java:/comp/env/ehr
javax.naming.NameNotFoundException: Name ehr is not bound in this Context
at
Comments inline --
Thomas Chang wrote:
Sorry, I haven't understund what your I'll bet you don't have a webapp at
server/webapps/admin ... means.
It means take a look at the server/webapps folder. I'll bet there is
not a folder named admin there.
In conf/Catalina/localhost there
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Friday, January 11, 2008 10:22 AM
To: Tomcat Users List
Subject: RE: Loading multiple versions of the same library
From: Brian Wawok [mailto:[EMAIL PROTECTED]
Subject: Loading multiple versions of the same
Summary: my virtual tomcat hosts are not coming up after a tomcat
restart, but they do come up once I remove /ROOT. 'start' via the
manager does not suffice.
Details:
I have several virtual hosts under both tomcat 6.0.14 and apache, linked
via mod_jk. The virtual tomcat hosts are located
Every db execution creates a new session.
Each session dropped correctly after db execution.
Is it supposed I see 5 (new) connections to database after tomcat restart?
Thanks
On Jan 11, 2008 2:24 PM, Caldarale, Charles R
[EMAIL PROTECTED] wrote:
From: Andrew Hole [mailto:[EMAIL PROTECTED]
Andrew-
is there a specific reason why you are using name=ehr instead of
specifying name=jdbc/ehr
M-
- Original Message -
From: Andrew Hole [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, January 11, 2008 10:14 AM
Subject: Re: Datasource Property Parameters
From: Andrew Hole [mailto:[EMAIL PROTECTED]
Subject: Connection pooling
The following configuration was not supposed to be created 5
connections at first get connection execution?
Not quite sure how to parse the above sentence, but the config should
have created five connections at
Hi! Thanks...
With the following configuration i get the
error:DatasourceConnectionProvider - Could not find datasource:
java:/comp/env/ehr
Resource name=jdbc/ehr auth=Container
type=oracle.jdbc.pool.OracleDataSource
factory=oracle.jdbc.pool.OracleDataSourceFactory
From: varunsuresh [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat Shutdown error transport error 202: bind failed
export CATALINA_OPTS=$CATALINA_OPTS $JPDA_OPTS
The above is wrong. By appending JPDA_OPTS to CATALINA_OPTS, you end up
with the JPDA settings twice on the command line. Just
Could you help me to setup my datasource to works fine? I already try
lot of changes on Resource element, but pooling is disable.
Resource name=ehr auth=Container type=oracle.jdbc.pool.OracleDataSource
factory=oracle.jdbc.pool.OracleDataSourceFactory
Andrew-
The first thing I noticed is your Resource name shoule be jdbc/ehr
replace server_name with the actual server name
replace the SID with the Service ID you will be using (check the
tnsnames.ora for SID)
http://www.microdeveloper.com/html/JNDI_Orcl_Tomcat1p.html
Martin
- Original
It's giving me HTTP 400: Bad Request error when trying to access the URL.
DISCLAIMER
==
This e-mail may contain privileged and confidential information which is the
property of Persistent Systems Ltd. It is intended only for the use of the
individual or entity to which it is
From: Jordi Prats [mailto:[EMAIL PROTECTED]
Subject: memory usage
There's any way to identify witch application and witch class
is getting to many memory?
Read the FAQ:
http://wiki.apache.org/tomcat/FAQ/Memory
How can I get some statistics about tomcat's memory usage?
The same way you
Hi,
I'm getting out of memory errors on tomcat:
Mar 27, 2007 5:21:46 AM
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor
processChildren
SEVERE: Exception invoking periodic operation:
java.lang.OutOfMemoryError: Java heap space
Mar 27, 2007 5:21:52 AM unknown unknown
The file conf/Catalina/localhost/admin.xml is there is it just contains one
line:
Context docBase=${catalina.home}/server/webapps/admin privileged=true
antiResourceLocking=false antiJARLocking=false
/Context
David Smith [EMAIL PROTECTED] schrieb: Not sure about the manager webapp
Hello!
I think that I have the same problem.
Resource name=ehr auth=Container type=oracle.jdbc.pool.OracleDataSource
factory=oracle.jdbc.pool.OracleDataSourceFactory
driverClassName=oracle.jdbc.OracleDriver
url=jdbc:oracle:thin:@192.168.1.244:1521:SID user=
From: David Delbecq [mailto:[EMAIL PROTECTED]
Subject: Re: memory usage increases on application stop
Note that the PermSize is taken from the heap,
so it should be lower than max heap size.
Not true in a HotSpot JVM; the heap and PermGen settings are
independent. The virtual space for
From: Bear Giles [mailto:[EMAIL PROTECTED]
Subject: [vhost] problem restarting virtual tomcat hosts
The logs say the error is an IllegalArgumentException:
Document base /vhost1 does not exist or is not a
readable directory.
Sounds like you may have a conflict between appBase and docBase
From: Brian Wawok [mailto:[EMAIL PROTECTED]
Subject: Loading multiple versions of the same library
Tomcat 5.0 Server.
Deprecated, but still in common use. Better if you could move to 5.5 or
6.0.
Program A is running on server, and needs axis 1.1 as a library.
Program B is running on the
Hey guys,
I'm having issue finding why I am receiving the following error from my
tomcat application:
(java.net.SocketTimeoutException: Read timed out)
I have a tomcat application that receives it's transactions from an
apache proxy. The apache proxy receives it's traffic from a remote
From: Andrew Hole [mailto:[EMAIL PROTECTED]
Subject: Re: Datasource Property Parameters (Oracle) JNDI
Well, REsource A works nice. When I startup Tomcat, are created 5 new
database connections.
Resource B allows connections to be created, but without pooling.
Your resource A is using
YEs... I don't have problems with database connections! Look what's my
really problem:
Resource name=jdbc/ehr auth=Container
type=oracle.jdbc.pool.OracleDataSourcedriverClassName=
oracle.jdbc.OracleDriver
factory=oracle.jdbc.pool.OracleDataSourceFactory
Caldarale, Charles R wrote:
From: Bear Giles [mailto:[EMAIL PROTECTED]
Subject: [vhost] problem restarting virtual tomcat hosts
The logs say the error is an IllegalArgumentException:
Document base /vhost1 does not exist or is not a
readable directory.
Sounds like you may have a conflict
Thanks Caldarale/David!
Your solution worked. I will take a look at the documents as well.
-Rajendra
DISCLAIMER
==
This e-mail may contain privileged and confidential information which is the
property of Persistent Systems Ltd. It is intended only for the use of the
individual or
Hi Folks,
I'm trying to access a HTML file placed in the appBase that is not under
the default webapps directory of Tomcat 5.5. I cannot access the URL
(http://10.88.129.18:8088/post35.html) from browser.
Server.xml:
Host name=localhost
From: Berglas, Anthony [mailto:[EMAIL PROTECTED]
Subject: Datasource Property Parameters (Oracle) JNDI
This doesn't resolve your problem, but you have errors in your KMS.xml
file.
Context path=/KMS docBase=KMS debug=5 reloadable=true
crossContext=true
Assuming you're using a reasonably
did you verify the listener on port 1521 is listening?
netstat -a | grep 1521
M--
- Original Message -
From: Andrew Hole [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, January 11, 2008 11:08 AM
Subject: Re: Datasource Property Parameters (Oracle) JNDI
I
markt-2 wrote:
varunsuresh wrote:
These are my debug options
-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,address=,server=y,suspend=n
How are you setting these? Using JPDA_TRANSPORT etc works for me.
Mark
This is how i set them
export
Hi Rainer,
thanks a lot for prompt response.
Dominik Pospisil wrote:
Hello,
I am having following problem with following failover test scenario.
Cluster setup:
- 1 apache load balancer
- 2 nodes with equal LB factor
- sticky session turned on
- Apache/2.0.52, mod_jk/1.2.26
From: Bear Giles [mailto:[EMAIL PROTECTED]
Subject: Re: [vhost] problem restarting virtual tomcat hosts
Here's the server.xml and one of the context.xml files. The other
virtual hosts have essentially the same context.xml files.
Assuming your context.xml is in the webapp's META-INF
From: Bear Giles [mailto:[EMAIL PROTECTED]
Subject: Re: [vhost] problem restarting virtual tomcat hosts
That took care of one of the virtual hosts, but a second isn't even
exploding now. It's very confusing since the configurations
are identical.
What's in the other Context elements
Hi gays.
About my problem.
I think, i know what cause the problem. When I installed java from sun and
starts tomcat5 for first time, it outputs error like: jta.jar files are
missing. After that I have copied jta.jar from previous java-cgi in needed
location on new java-sun. Create needed symbolic
From: Rajendra Sakpal (Persistent) [mailto:[EMAIL PROTECTED]
Subject: Problem with accessing HTML page under non-default
appBase in Tomcat.
I'm trying to access a HTML file placed in the appBase that
is not under the default webapps directory of Tomcat 5.5.
To repeat Gregor's comments
Caldarale, Charles R wrote:
From: Bear Giles [mailto:[EMAIL PROTECTED]
Subject: Re: [vhost] problem restarting virtual tomcat hosts
Here's the server.xml and one of the context.xml files. The other
virtual hosts have essentially the same context.xml files.
Assuming your context.xml is
I already change from ehr to jdbc/ehr but the problem of pooling remaining.
Initial sessions are not created.
Please, help me.
Thanks a lot
On Jan 11, 2008 3:45 PM, Andrew Hole [EMAIL PROTECTED] wrote:
I get the following error when i change from ehr to jdbc/ehr:
2008-01-11 15:42:57,471
Hi Dominik,
Eventually, after killing 1st node, and after returning couple of 503
Service Temporarily Unavailable exceptions, mod_jk finally recheck 2nd
node status, reroute requests to 2nd node and resumes correct operation.
Still, I it is not clear to me, why I am getting 503 exceptions. I
From: Alistair Young [mailto:[EMAIL PROTECTED]
Subject: Tomcat configuration: restricted set of handled file types
I queried this with their technical support and they said ah, our
server doesn't understand .jspx - they need to be .jsp files.
Ask them what version of Tomcat they're
Hi,
I've recently signed up with a third-party web hosting outfit who support
Tomcat. However, I've been having a few difficulties and would like to
understand better what is going on before I contact their technical support
again!
I have a very simple web application, with a servlet configured
most likely u do not have keychain and/or there is no suitable
certificate in the keychain
read this
http://techtracer.com/2007/09/12/setting-up-ssl-on-tomcat-in-3-easy-steps/
On Jan 11, 2008, at 14:51 , Neha Agrawal wrote:
hi
i am new user for tomcat.
i have installed tomcat5.5 on
this is for version tomcat6.0
i have installed tomcat5.5
will the same stuff work for tomcat5.5
i have openssl version 0.9.8c-4etch1
thanks
--- Caldarale, Charles R
[EMAIL PROTECTED] wrote:
From: Neha Agrawal [mailto:[EMAIL PROTECTED]
Subject: Re: tomcat not working with HTTPS
i
From: Neha Agrawal [mailto:[EMAIL PROTECTED]
Subject: Re: tomcat not working with HTTPS
i was wondering if due to APR i have to configure
openssl and not SSl
Correct, as clearly stated in the Tomcat doc:
http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html
IMPORTANT NOTE: This Howto
From: Bear Giles [mailto:[EMAIL PROTECTED]
Subject: Re: [vhost] problem restarting virtual tomcat hosts
It's actually the one I sent earlier, but with the appbase and
docbase(?) attributes removed.
There is no appBase attribute for a Context; appBase belongs to a
Host element.
I'd still
i have generated .keystore file using the keytool
and entered all the certificate information
and als othe password was 'changeit' as told in the
doc..
also the file is in the default location..
keystore -list gives the following output
Keystore type: jks
Keystore provider: SUN
Your keystore
From: Neha Agrawal [mailto:[EMAIL PROTECTED]
Subject: RE: tomcat not working with HTTPS
i have installed tomcat5.5
will the same stuff work for tomcat5.5
Should be pretty much the same. The relevant 5.5 link is:
http://tomcat.apache.org/tomcat-5.5-doc/apr.html
- Chuck
THIS
From: Neha Agrawal [mailto:[EMAIL PROTECTED]
Subject: RE: tomcat not working with HTTPS
Connector port=443
still https://localhost:8443 is not working
Since you configured it on port 443, why do you expect requests to 8443
to work?
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL
Does anyone know when the new tcnative-1.dll (version 1.1.12) will be
available? I asked this question on another mailer and I was told that
it would be available sometime next week. Does anyone have a date?
Stacy
I have several web apps running on tomcat, each with their own context. I
also have connectors for 80 and 443. The problem is that I'd like some of
the context's to use port 80 only, and some of them to use port 443 only.
Right now, tomcat will accept connections to all contexts on all defined
hi!
this is the sample connector given in the doc..
Connector port=443 maxHttpHeaderSize=8192
maxThreads=150 minSpareThreads=25
maxSpareThreads=75
enableLookups=false
disableUploadTimeout=true
acceptCount=100 scheme=https
secure=true
Bear-
whats the pathname that StandardManager implements ?
in webappcontext.xml look for something like
Manager className=org.apache.catalina.session.StandardManager
pathname=/
Anyone else?
Martin-
- Original Message -
From: Bear Giles [EMAIL PROTECTED]
To: Tomcat Users List
Caldarale, Charles R wrote:
From: Bear Giles [mailto:[EMAIL PROTECTED]
Subject: Re: [vhost] problem restarting virtual tomcat hosts
That took care of one of the virtual hosts, but a second isn't even
exploding now. It's very confusing since the configurations
are identical.
What's in
Hi Nahor,
Nahor schrieb:
Hi,
I want my webapp to use nice URL for a user's homepage (e.g.
http://server/user;).
Because of that, I need to have an empty path in the session cookie. So
far, I've been using emptySessionPath.
However, emptySessionPath uses the session id from a cookie when
It's commented out in the tomcat/conf context file.
The webapp that's loading has
Manager classname=o.a.catalina.session.PersistentManager
saveOnRestart=false/
The webapp that's not loading is unexploded, but would be the same.
There's no entry in the vhost/manager/META-INF/context.xml
From: Andrew Hole [mailto:[EMAIL PROTECTED]
Subject: Re: Datasource Property Parameters (Oracle) JNDI
Could you help me to setup my datasource to works fine?
The instructions are here:
http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.h
tml
- Chuck
THIS COMMUNICATION
hi
i am new user for tomcat.
i have installed tomcat5.5 on debian etch
also compiled tocat native libraries 1.3 version..
http://localhost:8180 is working correctly
but not https://localhost:8443
it says after a long delay The connection to
localhost:8443 was interrupted while the page was
i configured it on 8443 ..
i just copied the documentation configuration and
forgot to modify it in the email..sory about that..
--- Caldarale, Charles R
[EMAIL PROTECTED] wrote:
From: Neha Agrawal [mailto:[EMAIL PROTECTED]
Subject: RE: tomcat not working with HTTPS
Connector port=443
how are those even different? Aside from the username?
-Original Message-
From: Andrew Hole [mailto:[EMAIL PROTECTED]
Sent: Friday, January 11, 2008 9:14 AM
To: Tomcat Users List
Subject: Re: Datasource Property Parameters (Oracle) JNDI
Well, REsource A works nice. When I startup
hi!
this is the sample connector given in the doc..
Connector port=8443 maxHttpHeaderSize=8192
maxThreads=150 minSpareThreads=25
maxSpareThreads=75
enableLookups=false
disableUploadTimeout=true
acceptCount=100 scheme=https
secure=true
Berglas, Anthony wrote:
I am trying to set up 0racle connection pooling. Some of the
parameters are reflected normally, but some are specified via a property
lists. How do I set the property list properties using Tomcat/JNDI? I
can set up the basic DataSource, but I cannot set the maxLimit
From: Propes, Barry L [mailto:[EMAIL PROTECTED]
Subject: RE: Datasource Property Parameters (Oracle) JNDI
how are those even different? Aside from the username?
They look very different to me.
Resource A
type=javax.sql.DataSource
driverClassName=oracle.jdbc.driver.OracleDriver
I'm using an older version of Tomcat, [ : ( ], so I can't string all my
attributes together like you have, but DBCP does work for me.
Keep in mind, I have to split my attributes in separate tags, but it's
basically the same, but here's my config:
Resource name=jdbc/myoracle auth=Container
hi
i have it my server.xml file
and tomcat does recognise it..as i understood fro mthe
log
Also now my logs are showing up following ..
org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8180
Jan 11, 2008 3:37:23 PM
yeah, after I sent that I saw your other email and saw the oracle ref on the
type -- my bad, Chuck. Sorry!
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Friday, January 11, 2008 4:46 PM
To: Tomcat Users List
Subject: RE: Datasource Property Parameters
Don't you need to specify:
keystorePass=somePassword
as well?
On Jan 11, 2008 4:12 PM, Neha Agrawal [EMAIL PROTECTED] wrote:
hi
i have it my server.xml file
and tomcat does recognise it..as i understood fro mthe
log
Also now my logs are showing up following ..
keystore password is the default one 'changeit'
so its not mandatory to supply
--- Pulkit Singhal [EMAIL PROTECTED] wrote:
Don't you need to specify:
keystorePass=somePassword
as well?
On Jan 11, 2008 4:12 PM, Neha Agrawal
[EMAIL PROTECTED] wrote:
hi
i have it my
Hmm, changeit is the default for cacerts file which is a truststore, what
you are trying to setup here (I think) is a keystore to present the identity
of your server correct? So perhaps its not so obvious to tomcat?
On Jan 11, 2008 4:33 PM, Neha Agrawal [EMAIL PROTECTED] wrote:
keystore
From: Neha Agrawal [mailto:[EMAIL PROTECTED]
Subject: Re: tomcat not working with HTTPS
keystore password is the default one 'changeit'
so its not mandatory to supply
If you're using APR (and therefore OpenSSL), I don't believe there is a
default. Also, the attribute should be
hi!
Connector port=8443 maxHttpHeaderSize=8192
maxThreads=150 minSpareThreads=25
maxSpareThreads=75
enableLookups=false
disableUploadTimeout=true
acceptCount=100 scheme=https
secure=true
SSLEngine=on
Far and away the easiest way to solve this is with a Filter that will
sendRedirct to scheme that the webapp wants to respond to. It is also
possible to do with multiple Service elements, but I don't recommend that
route.
Bai Shen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I
100 matches
Mail list logo