windows Tomcat 5.5.27 tcnative-1.dll APR poller question

2009-06-09 Thread Derrick Koes
Does the APR keep-alive poller have any effect if AJP (native jk connector so that web server can be used) is *not* used? Are all the underlying sockets managed by the poller even if AJP is not in use? This isn't clear in the Professional Tomcat 6 book (only reference other than online docs I have

tcnative-1.dll on windows environment questions

2009-06-09 Thread Derrick Koes
The IRI http://tomcat.apache.org/tomcat-5.5-doc/apr.html has the information quoted below about the tcnative-1.dll. "Windows binaries are provided for tcnative-1, which is a statically compiled .dll which includes OpenSSL and APR. It can be downloaded from here

RE: Tomcat and JSTL 1.2

2007-01-09 Thread Derrick Koes
The .tld file itself should tell you the URL you need in the directive to access the file. The .tld file doesn't need to be in web-inf/lib. These can be accessed from the jar, at least that was true with JSTL 1.1. I would check the .tld, perhaps the uri element value changed. Example: .tld sni

RE: Tomcat and JSTL 1.2

2007-01-09 Thread Derrick Koes
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %> Perhaps a missing quote in the url attribute? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ben short Sent: Tuesday, January 09, 2007 12:08 PM To: Tomcat Users List Subject: Tomcat and

Tomcat 5.5.20: java.lang.ClassNotFoundException: org.apache.naming.factory.MailSessionFactory

2006-12-13 Thread Derrick Koes
The naming-factory.jar in common/lib is missing the MailSessionFactory class file in Tomcat 5.5.20. Will there soon be another release of 5.5 correcting this problem? For now, the "easy" fix is to get the naming-factory.jar from build 5.5.17 (at least that's what I did). Derrick

RE: Tomcat 5.5 service.bat

2006-11-06 Thread Derrick Koes
] Sent: Monday, November 06, 2006 3:53 PM To: Tomcat Users List Subject: Re: Tomcat 5.5 service.bat both, catalina.bat and service bat are included in 5.5.20 Derrick Koes wrote: >http://tomcat.apache.org/tomcat-5.5-doc/windows-service-howto.html > >The tomcat 5.5 documentation st

Tomcat 5.5 service.bat

2006-11-06 Thread Derrick Koes
http://tomcat.apache.org/tomcat-5.5-doc/windows-service-howto.html The tomcat 5.5 documentation states that service.bat can be used to create a tomcat service. However, the install appears not to have installed the service.bat file. I noticed that other files such as catalina.bat that existed i

RE: cannot load jdbc driver??

2006-09-19 Thread Derrick Koes
They will be accessible by your war file code. You do not need the jar in both places. Only common/lib -Original Message- From: Darren Hall [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 19, 2006 12:03 PM To: 'Tomcat Users List' Subject: RE: cannot load jdbc driver?? > did you not

RE: cannot load jdbc driver??

2006-09-19 Thread Derrick Koes
These jars must be accessible by tomcat to create the pool. They should be in common/lib. -Original Message- From: Darren Hall [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 19, 2006 11:38 AM To: 'Tomcat Users List' Subject: cannot load jdbc driver?? Great - not only is the connec

RE: Database connection pooling in Tomcat 5.5

2006-09-18 Thread Derrick Koes
You are likely connecting to the wrong catalog. Is the pool parameter defaultCatalog set? -Original Message- From: Darren Hall [mailto:[EMAIL PROTECTED] Sent: Monday, September 18, 2006 2:00 PM To: 'Tomcat Users List' Subject: RE: Database connection pooling in Tomcat 5.5 I've made

RE: URIEncoding and POSTS

2006-09-12 Thread Derrick Koes
Use a servlet filter, like: public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { logger.debug("set request character encoding to " + encoding); request.setCharacterEn

RE: Question about the "compress" setting MIME-Version: 1.0

2006-09-09 Thread Derrick Koes
Sounds like a bandwidth/throughput problem if you are concerned with the connector compression attribute. You may want to try some performance tuning with the throughput garbage collector. Assuming your problem is an OutOfMemory Error and at least Java 1.4.1, try the following VM settings -Xmn=1

RE: Logging?

2006-04-21 Thread Derrick Koes
Try the RequestDumperValve. -Original Message- From: David Rush [mailto:[EMAIL PROTECTED] Sent: Friday, April 21, 2006 5:00 PM To: Tomcat Users List Subject: Logging? Should Tomcat be logging the HTTP requests that it gets? I'm debugging 5.5.16 on Windows. I've installed commons-loggi

RE: Change location of "work" directory?

2006-04-21 Thread Derrick Koes
Yes, set the workDir attribute on the context element. -Original Message- From: Trevor Miller [mailto:[EMAIL PROTECTED] Sent: Friday, April 21, 2006 9:21 AM To: users@tomcat.apache.org Subject: Change location of "work" directory? Hi All, I've started working with the Tomcat embbed se

RE: Trouble building JK Connector for Win32 from source

2006-04-20 Thread Derrick Koes
Moving the Directories up works great! Thanks again Mladen. -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: Thursday, April 20, 2006 2:08 AM To: Tomcat Users List Subject: Re: Trouble building JK Connector for Win32 from source Derrick Koes wrote: > Ah yes

RE: Trouble building JK Connector for Win32 from source

2006-04-19 Thread Derrick Koes
mcat-connectors-1.2.15-src\jk\native\iis\j k_isapi_ plugin.c(750) : error C2059: syntax error : ')' -----Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 19, 2006 3:52 PM To: Tomcat Users List Subject: Re: Trouble building JK Connector for Win32 f

Trouble building JK Connector for Win32 from source

2006-04-19 Thread Derrick Koes
I have the IIS Web Development SDK installed as well as the Visual Studio C++ SP6 and Apache HTTPD 2.0.55. I've configured Visual C++ via Tools-->Options-->Directories to point to the Apache HTTPD includes. However, I still get this error d:\jkconnectorbuild\jakarta-tomcat-connectors-1.2.15-src\

RE: Where to download mod_jk?

2006-04-13 Thread Derrick Koes
http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/ -Original Message- From: Jana Nguyen [mailto:[EMAIL PROTECTED] Sent: Thursday, April 13, 2006 4:11 PM To: users@tomcat.apache.org Subject: Where to download mod_jk? Hi there, I want to download the mod_jk for linux or uni

RE: Character Encoding : Unix vs Windows

2006-04-03 Thread Derrick Koes
java.net.URLEncoder.encode -Original Message- From: Nigel Blake [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 5:43 PM To: users@tomcat.apache.org Subject: Character Encoding : Unix vs Windows Problem : Creating a URL type with parameters that have a space between them causes an

no listener method called when session restored from serialization

2006-03-27 Thread Derrick Koes
The method below is from org.apache.catalina.session.StandardSession tomcat 5.0.28 source. Since the setId call is commented and the id is simply set to the data member directly, no session listeners are notified (notified from setId method via tellNew method). How can I get access to the session