Has anyone been able to get the OracleDataSourceFactory working with
Tomcat 5? It seems that no matter how I set up the Resource element in
my context the factory returns a null data source. Any help would be
appreciated.
Bernard Durfee
-Original Message-
From: Dwayne Ghant
I am trying to use the Tomcat manager to deploy a web application packed
in a WAR file. In my WAR file I have a directory named 'META-INF' and in
that directory I have a file named 'context.xml'. The 'context.xml' file
looks like...
?xml version=1.0 encoding=UTF-8?
Context path=/servlet/myservlet
this is to name the context.xml as
servlet#myservlet.xml
Doug
- Original Message -
From: Durfee, Bernard [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Thursday, January 20, 2005 10:48 AM
Subject: Major bug in deployer!!
I am trying to use the Tomcat
I am ready to set Tomcat up in a clustered environment. So to test I
have installed two instances of Tomcat 5.5.7 on the same XP machine. One
listens on 8080 and the other on 8081. I configured the server.xml as
follows...
Cluster
className=org.apache.catalina.cluster.tcp.SimpleTcpCluster
I am trying to use the native library for connecting to Domino from a
servlet. I was under the impression that the DLL needed to be in the
path specified by the java.library.path system property. However, this
does not seem to work.
I got to the point where even brute force did not work...
List
Subject: Re: java.library.path - DLL - Domino
On Apr 6, 2005 3:33 PM, Durfee, Bernard [EMAIL PROTECTED] wrote:
I am trying to use the native library for connecting to Domino from a
servlet. I was under the impression that the DLL needed to be in the
path specified
: Durfee, Bernard [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 06, 2005 3:34 PM
To: Tomcat Users List
Subject: java.library.path - DLL - Domino
I am trying to use the native library for connecting to Domino from a
servlet. I was under the impression that the DLL needed to be in the
path
: Durfee, Bernard
Sent: Wednesday, April 06, 2005 4:34 PM
To: Tomcat Users List
Subject: java.library.path - DLL - Domino
I am trying to use the native library for connecting to Domino from a
servlet. I was under the impression that the DLL needed to be in the
path specified by the java.library.path
Message-
From: Durfee, Bernard
Sent: Wednesday, April 06, 2005 4:34 PM
To: Tomcat Users List
Subject: java.library.path - DLL - Domino
I am trying to use the native library for connecting to Domino from a
servlet. I was under the impression that the DLL needed to be in the
path specified
classes
(exept the Notes UI)
This whould be the normal way to do it.
What makes you choose the other way?
regards
Jesper B. Kiaer
http://www.jezzper.com
-Durfee, Bernard [EMAIL PROTECTED] wrote: -
To: Tomcat Users List
From: Durfee, Bernard
Date: 04/06/2005 22:33
Subject
Does the setting unpackWARs affect performance during runtime? The WAR
ends up unpacked to the 'work' directory regardless of this setting,
correct?
Bernard Durfee
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
How is garbage collection controlled in Tomcat 5.5? I ran a bit of an
experiment by profiling Tomcat 5.5.7 while running a web application. I
ran a load test against the application that finished with the allocated
object size just below the heap size. If it grew any more, garbage
collection would
collection is performed. The only
way you can request a garbage collection is by using the System.gc()
method, which the JVM can ignore.
For more information on this Topic read the documentation for the JVM
that you are using.
Pete
-Original Message-
From: Durfee, Bernard [mailto:[EMAIL
Is there a way to set the timeout on request processing threads? I'd
like to be able to say that If a request takes more than 60 seconds,
then kill it.
Bernard Durfee
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
now?
No, maybe one millisecond later a new request will arrive and if Tomcat
is then in GC, it is busy and cannot handle the request.
I think this is the reason why Tomcat doesn't call the GC itself.
Christoph
Durfee, Bernard wrote:
Right, my question was whether or not Tomcat would call System.gc
I am running Tomcat 5.5.7 on Windows 2000 and when a user logs in, the
call to request.getSession(true) is taking 20 seconds. Any ideas on how
to track down the source of this problem?
Bernard Durfee
-
To unsubscribe, e-mail:
I have been having a problem with clustered sessions in Tomcat 5.5.7. I
am using the pooled replication mode, but I have also tried asynchronous
mode. Right now there is one machine, the other machine is down. I would
have assumed that machine one would have seen that machine two is down
and not
In the ever confusing quest to properly create an Oracle data source in
Tomcat 5.5.x using the 10g JDBC drivers, I am stuck trying to properly
configure connection caching. I've tried the following in my context XML
file...
Resource
name= jdbc/suny
auth=
Hello,
I am trying to create an Oracle 10g datasource with connection caching
enabled. In my server.xml I have the following...
Resource
name=jdbc/myDS
auth=Container
type=javax.sql.DataSource
driverClassName=oracle.jdbc.OracleDriver
url=jdbc:oracle:thin:@my.db.com:1521:me username=my_name
How are Resource elements in the server.xml file processed? For
instance...
Resource
name=jdbc/myDS
auth=Container
type=javax.sql.DataSource
factory=org.apache.commons.dbcp.BasicDataSourceFactory
driverClassName=oracle.jdbc.OracleDriver
url=jdbc:oracle:thin:@my.db.com:1521:me
username=me
I am having trouble configuring virtual hosts in Tomcat 5.5.9. I have
two applications app01 and app02. I have 2 DNS entries
app01.myserver.com and app02.myserver.com that both point to the machine
on which Tomcat is running. How do I configure Tomcat to serve from
app01.war when
Hosts
Simplistically ...
Configure Host elements inside your Engine. Create a folder
for each application within webapps. Set the Host docBase to each.
Check out the online ref.
-Original Message-
From: Durfee, Bernard [mailto:[EMAIL PROTECTED]
Sent: 15 September 2005
Is there a way to use the Tomcat 5.5.9 manager to deploy a WAR file as
the root context? If not, how to I munge the deployed web application to
make it the root context?
Bernie
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Okay, after much struggle here is the solution I came up with for
virtual hosting...
1 Machine, 3 DNS Entries - mymachine.me.com, app01.me.com, app02.me.com
==
server.xml - 3 host entries under the Catalina engine:
Host name=localhost
Dola,
I believe in order to serve static content you'll need to create a
context XML file. I just posted an email outlining how I was able to get
virtual hosting working. An additional step in your case would be to
create a file [TOMCAT]/conf/Catalina/servera.com/ROOT.xml and include a
context
25 matches
Mail list logo