Re: Occasional long wait for a JDBC connection

2015-01-13 Thread Darren Davis
On Tue, Jan 13, 2015 at 8:39 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Darren, > > (Sorry... just had to remove that monstrous stack trace...) > > On 1/13/15 5:04 PM, Darren Davis wrote: &

Re: Occasional long wait for a JDBC connection

2015-01-13 Thread Darren Davis
On Tue, Jan 13, 2015 at 2:33 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Darren, > > On 1/13/15 1:04 PM, Christopher Schultz wrote: > > On 1/13/15 11:49 AM, Darren Davis wrote: > >>

Re: Occasional long wait for a JDBC connection

2015-01-13 Thread Darren Davis
ava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) On Tue, Jan 13, 2015 at 8:21 AM, Daniel Mikusa wrote: > On Tue, Jan 13, 2015 at 9:51

Occasional long wait for a JDBC connection

2015-01-13 Thread Darren Davis
Recently we deployed our production application on a Tomcat 8.0.14 web server. We are using the Tomcat JDBC Connection pool against MySQL 5. Our web application uses Spring (3.2.11.RELEASE) /Hibernate (3.6.10.Final) for transaction management. We are using a Cent OS 6 linux server in the cloud r

SPNEGO fallback to FORM/BASIC

2012-03-21 Thread Darren Salomons
I have successfully setup SPNEGO auth Valve using the included SpengoAuthenticator with tomcat 7.0.26 and using an LDAP realm to retrieve the roles. This SPNEGO requires that the web.xml use the auth-method: SPNEGO. Is there a way to fallback to BASIC or FORM authentication when a browser doesn't

Cluster session failover question

2010-07-22 Thread Darren Kukulka
o the more responsive node. Are there any configuration settings to be mindful of with these scenarios? Cheers, Darren. Connaught plc is a FTSE 250 company. We are the UK's leading provider of integrated services operating in the compliance, environmental, social housing and public

Re: mod_proxy_ajp JSESSIONID and Mime Type

2010-01-04 Thread Darren Salomons
  In the mean time I may just try using javax.activation.MimetypesFileTypeMap class in my servlet to lookup the mimetypes and set the content-type myself. ? On Mon, 4 Jan 2010 12:22:28 +0300, "Konstantin Kolinko" said: > 2010/1/4 Darren Salomons : > > I am having an issue

mod_proxy_ajp JSESSIONID and Mime Type

2010-01-03 Thread Darren Salomons
type coming back from apache is text/plain. When the JSESSIONID is not there then the correct mime type is returned. What would cause this? Darren - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

RE: Tomcat Https loadbalancing??

2009-11-25 Thread Darren Kukulka
We use network appliances that sit above Apache Web Server and takes care of all SSL encryption/decryption. This ensures all border<->client communication is secured whilst traffic within our estate is purely http/ajp. The level of security in our virtual circuits and inter-segment firewalls ensu

RE: FW: Apache Close-Wait issue

2009-10-29 Thread Darren Kukulka
Fair point Andre...will submit this to httpd forum...thanks for the reply -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: 29 October 2009 07:59 To: Tomcat Users List Subject: Re: FW: Apache Close-Wait issue Darren Kukulka wrote: > No one willing to touch this

FW: Apache Close-Wait issue

2009-10-29 Thread Darren Kukulka
No one willing to touch this one? I thought I'd get at least a passing comment...:-( -Original Message- From: Darren Kukulka [mailto:darren.kuku...@connaught.plc.uk] Sent: 27 October 2009 12:14 To: users@tomcat.apache.org Subject: Apache Close-Wait issue Hi All Got an intere

Apache Close-Wait issue

2009-10-27 Thread Darren Kukulka
ctive that may limit connections to 30. Restarting the web servers allows users to get to applications using the good databases. Does anybody have any advice on this? Cheers, Darren. Connaught plc is a FTSE 250 company. We are the UK's leading provider of integrated services op

RE: Clustering Question...

2009-09-25 Thread Darren Kukulka
OldGC -XX:GCTimeRatio=11 -XX:+UseAdaptiveSizePolicy -XX:ReservedCodeCacheSize=96m -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: 25 September 2009 14:23 To: Tomcat Users List Subject: RE: Clustering Question... > From: Darren Kukulka [mailto:dar

RE: Clustering Question...

2009-09-25 Thread Darren Kukulka
, but not OldGen -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: 25 September 2009 08:20 To: Tomcat Users List Subject: Re: Clustering Question... On 25.09.2009 09:12, Darren Kukulka wrote: > There are no OOME messages in the logs...the application still r

RE: Clustering Question...

2009-09-25 Thread Darren Kukulka
ember 2009 08:09 To: Tomcat Users List Subject: Re: Clustering Question... On 25.09.2009 09:01, Darren Kukulka wrote: > Thanks for the suggestions Chris. > > Unfortunately, the memory that was exhausted was the OldGen heap area, not PermGen, which doesn't show up in the Catalina

RE: Clustering Question...

2009-09-25 Thread Darren Kukulka
SSAGE- Hash: SHA1 Darren, On 9/24/2009 10:21 AM, Darren Kukulka wrote: > In a 2-node scenario, where both nodes are configured identically and > load balanced via Apache based on availability, how can we configure the > cluster to deal with situations where one node has exhausted its

Clustering Question...

2009-09-24 Thread Darren Kukulka
with such occurrences more effectively? Cheers, Darren. Connaught plc is a FTSE 250 company. We are the UK's leading provider of integrated services operating in the compliance, social housing and public sector markets. Please visit our website to see a full list of Connaught&#x

RE: Tomcat 6 Clustering issue

2009-09-08 Thread Darren Kukulka
lustering issue Hi Darren, For our setup tomcat 6 is able to handle failover to healthy node with proper session replication. I assume you have loaded load balancer module, updated worker.properties, made cluster changes to server.xml of tomcat 6. My problem is next step of yours.

Tomcat 6 Clustering issue

2009-09-08 Thread Darren Kukulka
the environment. Anyway, the crux of the issue is how can we configure our environment such that the healthy node will service all requests if the bad node is degraded, although it is up? There is also the question as to how we monitor for such scenarios. Cheers, Darren Connaught pl

Application Clustering

2009-06-08 Thread Darren Kukulka
n another node, i.e. when an application is bought down, rather than the Tomcat instance, using Lambda Probe for example. Can anybody please point me in the right direction? Cheers, Darren Connaught plc is one of the UK's top 250 companies on the London Stock Exchange and the

RE: Port range

2009-03-25 Thread Darren Kukulka
netstat -a from a Command window, will show you all the ports in use on any Windows server. -Original Message- From: Venky Vasant [mailto:venkat...@yahoo.com] Sent: 25 March 2009 13:10 To: users@tomcat.apache.org Subject: Port range I am sure this is very simple question but i could no

RE: Issue with SSL server/ network configuration

2009-03-20 Thread Darren Kukulka
Why not opt for a wildcard certificate for the domain, if that's applicable (e.g. *.yourcompany.com) -Original Message- From: i_am_superman [mailto:ee...@objectivation.nl] Sent: 20 March 2009 11:52 To: users@tomcat.apache.org Subject: Re: Issue with SSL server/ network configuration

Blocked threads

2008-10-22 Thread Darren Kukulka
uning we could do within Tomcat to help alleviate the pain felt by the users. Is anybody aware of any parameters that can be utilised, either programmatically or through Tomcat configuration? Thanks in advance! Darren Kukulka

Tomcat thread blocking

2008-09-24 Thread Darren Kukulka
iated. Darren Kukulka Business Applications Architect Connaught PLC Tel: 01392 353497 Business in the Community (BiTC) Team of the Year 2008 for Community Impact RoSPA Gold Awards - Connaught now have 15 in total Winner of Partnering Contractor of the Year Award in 2005 and 2007 Tenant

RE: Help with Tomcat and mod_jk

2008-01-23 Thread Darren Kukulka
Thanks Rainer, I'll look into upgrading the apache/mod_jk combination -Original Message- From: Rainer Jung [mailto:[EMAIL PROTECTED] Sent: 23 January 2008 10:42 To: Tomcat Users List Subject: Re: Help with Tomcat and mod_jk Darren Kukulka wrote: > Hi All, > > Running To

Help with Tomcat and mod_jk

2008-01-23 Thread Darren Kukulka
his? Cheers, Darren. Disclaimer: The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this informa

Tomcat 5.5.20 terminated unexpectedly

2007-07-12 Thread Darren Kukulka
but in the meantime it would be nice to find out if there's a known problem. I've noticed similar issues with earlier versions of Tomcat that have come down to bug fixes but has anybody come across this behaviour in 5.5.20? Cheers, Darren. Connaught wins RoSPA Gold Award fo

Apache 32-bit as front end to 64-bit Tomcat

2007-05-31 Thread Darren Kukulka
the front end if the application tier is 64-bit? Cheers, Darren. Connaught wins RoSPA Gold Award for fourth year running Considerate Contractor Gold Award in 2006 Partnering Contractor of the Year Award in 2005 Please visit our website to see a full list of Connaught's Registered Compan

RE: Installing Tomcat on Windows Server 2003 x64

2007-05-03 Thread Darren Kukulka
We have recently migrated to this platform and have had smooth success with a SUN 64-bit JRE (version 1.5.0_10) We are using a pre-compiled Tomcat binary (5.5.23, Tomcat5.exe and Tomcat5w.exe) and tc-native.dll (APR) which can be found at http://svn.apache.org/viewvc/tomcat/connectors/tags/tc5.5.x

Re: Encrypting passwords in the connection pool setup

2007-05-01 Thread Darren
ove on the current cleartext situation, but I can't think of a sensible solution that would warrant a developers time. Darren - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECT

Re: Encrypting passwords in the connection pool setup

2007-05-01 Thread Darren
I commented on this in the following article - http://www.owasp.org/ index.php/Securing_tomcat#Cleartext_Passwords_in_CATALINA_HOME.2Fconf. 2Fserver.xml In short, no. There was also some further discussion on one of the OWASP list recently - https://lists.owasp.org/pipermail/java-project/200

Ideal JVM params for 64-bit?

2007-04-20 Thread Darren Kukulka
heers, Darren K Connaught wins RoSPA Gold Award for fourth year running Considerate Contractor Gold Award in 2006 Partnering Contractor of the Year Award in 2005 Please visit our website to see a full list of Connaught?s Registered Companies www.connaught.plc.uk/Investors/Registered-Comp

How to redirect to stub page when app unavailable?

2007-04-04 Thread Darren Kukulka
-end DB updates that require no activity via the application. We are using Apache web server with mod_jk connectivity to the app servers via a large number of workers. Can anybody suggest a smart way of achieving this? Cheers in advance, Darren K Connaught wins RoSPA Gold A

Re: Paths in CSS files

2007-03-27 Thread Darren
Something I've done before is rename my css files to jsp and use $ {pageContext.request.contextPath} within them. <[EMAIL PROTECTED] contentType="text/css"%> <[EMAIL PROTECTED] pageEncoding="UTF-8"%> #header { margin: 0px 0px 15px 0px; height: 100px; background: url(${pageContext.re

Re: Session

2007-03-22 Thread Darren
I tried this by using an iframe in the page that kept refreshing the page. It works but the only problem is you get a click everytime the frame refreshes. What in javascript would constitute a 'keep alive' request? I don't have any examples as it's not something I've done. I was thinking

Re: Session

2007-03-22 Thread Darren
I am trying to make the session in my java(Tapestry) project only expire when the browser is closed. HTTP is stateless so the server has no idea what the client is or isn't doing. You could make something to suit your purposes though; - change your session timeout to something small like 5

Re: Logging

2007-03-20 Thread Darren
If I place a logging.properties in my context/WEB-INF/classes I seem to get the correct logging information in my log file. However, the output also seems to get the catalina.out. I really only want it in the context specific. Is there something else to configure to prevent it going to the

Re: Turn off Tomcat Version on 404 error.

2007-03-14 Thread Darren
For just 404 you can create your own page as another poster advised. If you want to do this for all error/code pages, take a look part way down the common section of this article. http://www.owasp.org/index.php/Securing_tomcat#Common On 13 Mar 2007, at 20:58, Susan Richards wrote: How does

RE: Named based virtual host redirection

2007-03-07 Thread Darren Kukulka
[mailto:[EMAIL PROTECTED] Sent: 06 March 2007 15:27 To: Tomcat Users List Subject: Re: Named based virtual host redirection On 3/6/07, Darren Kukulka <[EMAIL PROTECTED]> wrote: > This worked but I want to hide the redirect URL, and eliminate the doubled network traffic, I hope? :-

RE: Named based virtual host redirection

2007-03-06 Thread Darren Kukulka
ServerName test.abc.co.uk ProxyPass / http://fred.abc.co.uk/app1/ ProxyPassReverse / http://fred.abc.co.uk/app1/ This almost works, but it only appears to show the html content, not the JSP. Does anybody have any suggestions how to make this work? -Original Message- From: Darren

Named based virtual host redirection

2007-03-06 Thread Darren Kukulka
p1/. Also, the original URL does not work any more. This seems to be a simple requirement but it is not proving to be straightforward. Can anybody help, or point me in the right direction? Darren Kukulka IT Infrastructure Consultant Conntrol Connaught PLC Connaught honoure

Re: Password encryption for JNDI settings

2007-02-02 Thread Darren
Is there anyway we can encrypt password for JNDI Data source in context.xml ? Ravi Take a look at the very final section in this article http:// www.owasp.org/index.php/Securing_tomcat The short answer, no. - To start a

RE: Tomcat 5.5 and x64 Windows

2007-01-25 Thread Darren Kukulka
happy that it works! Martin - I only have .Net 2.0 x64 installed on my system. Darren. -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: 25 January 2007 07:03 To: Tomcat Users List Subject: Re: Tomcat 5.5 and x64 Windows Martin Skøtt wrote: > Hi Darren, > > Goo

RE: Tomcat 5.5 and x64 Windows

2007-01-24 Thread Darren Kukulka
! Hope this helps anyone who has had the same problem. Regards, Darren. -Original Message- From: Darren Kukulka [mailto:[EMAIL PROTECTED] Sent: 19 January 2007 15:30 To: Tomcat Users List Subject: RE: Tomcat 5.5 and x64 Windows Reinhard, I am using Sun Java 1.5.0.10 for x64 (JRE

RE: Tomcat 5.5 and x64 Windows

2007-01-19 Thread Darren Kukulka
Donnerstag, 18. Januar 2007 17:38 schrieb Darren Kukulka: > Thanks for the pointers Mladen. > > I carried out the steps you outlined, however the "service install" > command fails...as follows; > > F:\Tomcat5\bin>service install > Installing the service 'Tomcat5&#x

Re: Securing Tomcat

2007-01-19 Thread Darren
http://www.owasp.org/index.php/Securing_tomcat covers some areas which may be of interest to you. On 19 Jan 2007, at 14:04, Suneet Shah wrote: Hello, I am using Tomcat as a Reverse Proxy through a pluggin that we have built. One of the questions that I am being asked is how do we make the

RE: Tomcat 5.5 and x64 Windows

2007-01-18 Thread Darren Kukulka
I receive the same message running the "service install". Should I be specifying any parameters for this? -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: 18 January 2007 14:01 To: Tomcat Users List Subject: Re: Tomcat 5.5 and x64 Windows Darren Kukulka wrote: >

RE: Tomcat 5.5 and x64 Windows

2007-01-18 Thread Darren Kukulka
. - I'm not sure what you mean by running the install.bat. As mentioned I install using the exe. Darren. -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: 18 January 2007 13:15 To: Tomcat Users List Subject: Re: Tomcat 5.5 and x64 Windows Darren Kukulka wrote:

Tomcat 5.5 and x64 Windows

2007-01-18 Thread Darren Kukulka
up and running in my environment? Thanks in advance, Darren Kukulka Connaught honoured AIM 'Decade of Excellence' Award Connaught awarded Partnering Contractor of the Year 2005 Connaught wins AIM 'Company of the Year' award 2004 West of England Business of t

Re: Securing Tomcat Article for Review

2007-01-10 Thread Darren
but if you remember how this thread started, the author of the article and OP suggested in his article to put an apache / iis in front of tomcat to INCREASE security No I didn't, but if that's how you interpreted the section on 'running on port 80' then it needs to be reworded accordingly. h

Re: Securing Tomcat Article for Review

2007-01-09 Thread Darren
Things like: Change files in CATALINA_HOME/conf to be readonly (400) ... Rename CATALINA_HOME/conf/server.xml to ... won't work for dummies (due to missing rights) if they'll follow the guide step by step. You're right, the ordering is perhaps a little confusing. The article is not aimed sp

Securing Tomcat Article for Review

2007-01-09 Thread Darren
any comments - good or bad!. Thanks, Darren - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Global Error Page Override

2006-10-11 Thread Darren
only works (or technically fails) because non_existent_file.jsp does not exist in each web application, but it does prevent the problem. Any suggestions for a better solution? Thanks, Darren - To start a new topic, e-mail:

Re: Defining loggers "best" approach?

2006-09-29 Thread Darren Clarke
But as Mark's loggers are 'static', don't they have the same semantics WRT serialization as 'instance transient' ? If so, Mark's would seem more efficient to me (though I could be wrong) due to reduced object instantiations. Darren On 29 Sep 2006, a

RE: New session PER REQUEST

2006-09-25 Thread Darren Hall
n enough for me for now). Because of the way I am using virtual hosts, this works for me. I'm sure this will be a tremendous pain months from now if I need to make changes, but seeing as I have a tight deadline, I'll use this work around for now and hope for the

RE: New session PER REQUEST

2006-09-25 Thread Darren Hall
> Can this behavior be accomplished with mod proxy alone (meaning I can > remove mod rewrite from the picture completely)? Could this rewrite be > causing me to lose the session between Apache and Tomcat? *ding ding ding* We have a winner! I removed the rewrite rules from my httpd-vhosts.conf fil

RE: New session PER REQUEST

2006-09-25 Thread Darren Hall
I moved my port to 8081 and I still see the same behavior. *sigh* I'm still getting no positive results. I'm now thinking this issue involves one of two things. 1) Mod proxy and the way I've configured it; or 2) the rewrite rules I do on each request to and from my domain. This is my first time us

RE: New session PER REQUEST

2006-09-25 Thread Darren Hall
> In server.xml (tomcat's config file), the element > receiving proxied requests from Apache HTTPd needs > proxyName="www.mysite.com" and proxyPort="80" to properly handle cookies > and writing URLs. > > There are commented examples of this in the original server.xml file > distributed with t

RE: Tomcat 5.5.17 has max 40 KB / sec

2006-09-25 Thread Darren Hall
I got your message through the list, Steffen. I don't know how to help you, though. Sorry. Darren > Hi > > I know, reasking the same question if there was no answer, is no good > style. However I had problems using apache-lists earlier and I don't know > wether my

RE: New session PER REQUEST

2006-09-25 Thread Darren Hall
Thanks David, > For using mod_proxy, have you also added proxy_name and proxy_port > attributes to the connector receiving proxied requests? Those will need > to be set so tomcat can create the session cookie correctly. I don't believe I'm setting any of these things. Correct me if I'm wrong,

RE: New session PER REQUEST

2006-09-22 Thread Darren Hall
PROTECTED] Sent: Friday, September 22, 2006 12:04 PM To: Tomcat Users List Subject: RE: New session PER REQUEST > From: Darren Hall [mailto:[EMAIL PROTECTED] > I'm running a webapp built on Struts 1.2.9 running in Tomcat > 5.5 and using > an Apache 2.2 http server. I've noticed tha

New session PER REQUEST

2006-09-22 Thread Darren Hall
;m looking for a starting point to trouble shoot and correct this issue.) Thanks - Darren

Re: Custom Principal casting problem

2006-09-22 Thread Darren Clarke
(I_TestPrincipal in the example code below) was in both server/lib and common/lib and therefore my custom Realm was actually loading from server/lib instead of common/lib. On 21 Sep 2006, at 12:53, Darren Clarke wrote: Hi Apologies in advance if I'm going over old ground here - I

Re: Custom Principal casting problem

2006-09-21 Thread Darren Clarke
75ed3c2e2e221a) was the way of getting around this problem. Cheers Darren On 21 Sep 2006, at 15:03, Peter Crowther wrote: From: Darren Clarke [mailto:[EMAIL PROTECTED] request.getUserPrincipal().getClass().toString() returns "poc.security.TestPrincipal"

Re: Custom Principal casting problem

2006-09-21 Thread Darren Clarke
ncestors, or how my new interface MyHttpServletRequest would get picked up and used by Tomcat when calling my servlet's methods. Actually, now I've written that, I have to take it back - I don't think I understand at all ;-) Sorry if I'm being thick. Darren On 21 Se

Custom Principal casting problem

2006-09-21 Thread Darren Clarke
rrectly, this should work. However, although my realm still works fully and authentication succeeds and although my JSP can find/load the interface class, the cast (I_TestPrincipal) request.getUserPrincipal() still fails. In case it helps, I'm running Tomcat 5.5.17 on Mac OS 10.4.7 T

RE: Database connection pooling in Tomcat 5.5

2006-09-19 Thread Darren Hall
> Which is why I suggested Ethereal to see what was really going over the > wire between your Windows box and the DB machine. Yep. I think you're right. I'll get that set up and take a look. Be back in a while. Thanks for the help.

RE: Database connection pooling in Tomcat 5.5

2006-09-19 Thread Darren Hall
> They are, you just don't know it. From the doc: > > "These libraries are located in a single JAR at > $CATALINA_HOME/common/lib/naming-factory-dbcp.jar. Gotcha. Thanks, Chuck. The naming-factory-dbcp.jar is in my /commons/lib dir. The bizarre thing about all of this is that A) I can connect

RE: Database connection pooling in Tomcat 5.5

2006-09-19 Thread Darren Hall
(In reverse order) > have you used a DB utility such as tora/toad/sqlplus to successfully > authenticate to your Database with the values for username and password? Yes > Inside struts-config.xml can you show us what you have supplied for each > value associated with the following properties >

RE: Database connection pooling in Tomcat 5.5

2006-09-19 Thread Darren Hall
> did you try printing out the username and password variables to see what > credentials are coming through? Well, yes and no. I've actually hard coded the username and password into my code when I've tested *not* using connection pooling, so I know what they are in that case. When using connecti

RE: Database connection pooling in Tomcat 5.5

2006-09-19 Thread Darren Hall
> That SQL Nested Exception thing in general looks like the root cause...any > way to try going to the DOS prompt and connecting to SQL Plus with that > username/pwd combo? Yes, using that username and password works fine through SQL Plus, and I've connected to the database several times through

RE: Database connection pooling in Tomcat 5.5

2006-09-19 Thread Darren Hall
> does your XP box give you any application log errors anywhere? I see no errors in the event viewer in any of the logs that are related to this issue, but it was a good idea. (I didn't think of it.) > I wonder if Windows is looking for a domain authentication, that is a > domain name stapled on

RE: Database connection pooling in Tomcat 5.5

2006-09-19 Thread Darren Hall
More progress with this issue. It seems that on our development server (solaris box running solaris 10) the connection pool connects properly. However on my local box (a Windows XP SP2 box where I'm doing my development before I move it to dev) the connection pool returns to me an "invalid username

RE: cannot load jdbc driver??

2006-09-19 Thread Darren Hall
In any case, moving the ojdbc14.jar file to the common/lib directory worked. Thanks. -Original Message- From: Darren Hall [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 19, 2006 12:09 PM To: 'Tomcat Users List' Subject: RE: cannot load jdbc driver?? > They will be

RE: cannot load jdbc driver??

2006-09-19 Thread Darren Hall
> They will be accessible by your war file code. You do not need the jar > in both places. Only common/lib No no. I understand that it will be available to my code (since the app server will put the jar in my classpath), but it means I can't deploy ojdbc14.jar with my war any longer. Correct?

RE: cannot load jdbc driver??

2006-09-19 Thread Darren Hall
> did you not specify a JDBC connection in the Realm? server.xml in the conf > file? I have no Realm specified in server.xml, however I'm attempting to get connection pooling set-up (see my connection pool thread) so I've created a context.xml file and specified my connection information inside a

cannot load jdbc driver??

2006-09-19 Thread Darren Hall
F/lib folder on my server under my deployed app. Where am I going wrong?? Thanks, Darren [more info] java: version 1.5 server os: solaris 10 tomcat: version 5.5

RE: Database connection pooling in Tomcat 5.5

2006-09-19 Thread Darren Hall
> can you print the contents of context.xml? Absolutely Martin, The parameters are there, but they are included as attributes instead of contained as the body of an element. I'm not sure if this matters or not, but I have it implemented a way I saw it done in a "JNDI Datasource How-To" on Apache'

RE: Database connection pooling in Tomcat 5.5

2006-09-19 Thread Darren Hall
> Have you tried > username="myuserid" password="mypassword" > instead username="(myuserid)" password="(mypassword)" Yes Jean-Claude. In fact, I don't use the parenthesis around the username and password in my context.xml file. I just listed it that way here in the list so people would understand

RE: Database connection pooling in Tomcat 5.5

2006-09-18 Thread Darren Hall
logon denied" error. This leads me to believe the error is in my configuration (or my code). What am I doing wrong here?? Thanks, Darren -Original Message----- From: Darren Hall [mailto:[EMAIL PROTECTED] Sent: Monday, September 18, 2006 2:45 PM To: 'Tomcat Users List' S

RE: Database connection pooling in Tomcat 5.5

2006-09-18 Thread Darren Hall
Is there any other information I can supply to help people help me understand why I'm getting this error (below)? > I've made some progress on this. I'm now receiving a "SQLNestedException: > Cannot create PoolableConnectionFactory" error when calling getConnection > on the DataSource object ret

RE: Database connection pooling in Tomcat 5.5

2006-09-18 Thread Darren Hall
> You are likely connecting to the wrong catalog. Is the pool parameter > defaultCatalog set? That's specified in my Context, correct? If so, then no, I don't have my defaultCatalog parameter set. Here is my context.xml file (comments removed, as well as domain uname and passwd)

RE: Database connection pooling in Tomcat 5.5

2006-09-18 Thread Darren Hall
a va:540) at org.federallabs.labs.LaboratorySearchAction.execute(LaboratorySearchAction.j ava:99) Problem is - I know the username and password are correct. Anyone have any ideas what could be causing my issue? I need to get this connection pool issue working by the end of work to

RE: Database connection pooling in Tomcat 5.5

2006-09-18 Thread Darren Hall
Here's another question... If the database pool is not created properly, will it fail silently, or will an error be displayed in a log file? And if an error is output to a log file, which one will it be? -Original Message- From: Darren Hall [mailto:[EMAIL PROTECTED] Sent: M

RE: Database connection pooling in Tomcat 5.5

2006-09-18 Thread Darren Hall
The issue could be the path attribute or docbase attribute in the context.xml. I'm not sure what values should appear for these. -Original Message- From: Darren Hall [mailto:[EMAIL PROTECTED] Sent: Monday, September 18, 2006 11:26 AM To: 'Tomcat Users List' Subjec

RE: Database connection pooling in Tomcat 5.5

2006-09-18 Thread Darren Hall
D] Sent: Monday, September 18, 2006 11:30 AM To: Tomcat Users List Subject: Re: Database connection pooling in Tomcat 5.5 Do you include a in your WEB-INF/web.xml file? You might also want to post your web.xml Pid wrote: > post your context.xml > > > > > Darren Hall wrote: &g

RE: Database connection pooling in Tomcat 5.5

2006-09-18 Thread Darren Hall
pooling in Tomcat 5.5 post your context.xml Darren Hall wrote: > Hi all. > > > > I'm attempting to set up database connection pool using Tomcat 5.5 and > Oracle 10g. I've been following the "JNDI How To" guide from Apache > (http://tomcat.apache.or

Database connection pooling in Tomcat 5.5

2006-09-18 Thread Darren Hall
file. Currently I'm trying the context.xml file route, but it is not working (although this could be because I'm configuring things incorrectly). Can anyone point me in the right direction here? Thanks, Darren

Perm Gen not being released in GC

2006-09-15 Thread Darren Kukulka
ed to start looking at the young to old heap allocation ratios - is this the main area I should be looking into? Any thoughts would be appreciated. Cheers, Darren Kukulka Connaught honoured AIM 'Decade of Excellence' Award Connaught awarded Partnering Contractor o

RE: JConsole query

2006-09-15 Thread Darren Kukulka
Thanks Jess. We suspected this was the case so we'll consolidate to server JVM. -Original Message- From: Jess Holle [mailto:[EMAIL PROTECTED] Sent: 15 September 2006 13:47 To: Tomcat Users List Subject: Re: JConsole query Darren Kukulka wrote: > HI There, > > Just a

JConsole query

2006-09-15 Thread Darren Kukulka
"Eden", "Survivor" and "Tenured" space names Server 2 - SUN JRE 1.5.0_06-b05 - shows "PS Survivor", "PS Eden" and "PS Old Gen" space names. Can anybody explain this behaviour to me? Cheers, Darren Connaught honoured AIM 'Decade o

RE: connection pooling question (posted correctly)

2006-09-11 Thread Darren Hall
> And the filename for the ROOT app ( / ) would beROOT.xml ? I don't know the answer, Lionel, but the logic seems to stand to reason. *wink* - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail

RE: connection pooling question (posted correctly)

2006-09-11 Thread Darren Hall
Thanks David. The context element I'm using is taken directly from the examples. If you can tell just by looking, can you see if this looks correct for Tomcat 5.5 (otherwise I'll just use trial and error and web searching to figure it out). Thanks, Darren -Origin

connection pooling question (posted correctly)

2006-09-11 Thread Darren Hall
context.xml directory of your WAR file or the conf directory" So where do I place this element containing my resource that describes the datasource? Thanks, Darren

simple connection pooling

2006-09-11 Thread Darren Hall
sure it's not in some "other context" that struts can't see. Thanks, Darren - 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: Encrypt Cleartext Resource Password

2006-08-17 Thread Darren
I found this provider to be a good starting point http://www.bouncycastle.org/latest_releases.html There are multiple classes available for Message Digest 5 http://www.bouncycastle.org/docs/docs1.5/index.html one of which is Message Digest 5 with Data Encryption Standard see JCEBlockCipher.PBEWit

Re: Encrypt Cleartext Resource Password

2006-08-16 Thread Darren
:31, Yassine ELassad (YEL) wrote: HI Darren, I guess you need this : digest="MD5" in your realm definition so it would look like follow: url="jdbc:mysql://localhost: 3306/DB? autoReconnect=true" /> Greetings, Yassine Cologne,Germany On 8/16/06, Darre

Encrypt Cleartext Resource Password

2006-08-16 Thread Darren
it is not cleartext. Checking the docs I see mention of a digest parameter, but I cannot find any reference to using this with regard to a JDBC resource. Is such a thing possible? If not, perhaps someone could point me to the relevant parts of the source code I need to subclass in order to make

RE: Setting the classpath for my application

2006-07-24 Thread Darren Hall
controller servet was not deployed with the war file. Darren -Original Message- From: Darren Hall [mailto:[EMAIL PROTECTED] Sent: Monday, July 24, 2006 3:07 PM To: 'Tomcat Users List' Subject: RE: Setting the classpath for my application I wanted to confirm that jar files

RE: Setting the classpath for my application

2006-07-24 Thread Darren Hall
s in the jar under the WEB-INF/lib directory??? Any help would be appreciated. Thanks, Darren -----Original Message- From: Darren Hall [mailto:[EMAIL PROTECTED] Sent: Monday, July 24, 2006 1:59 PM To: 'Tomcat Users List' Subject: Setting the classpath for my application Is the

  1   2   >