RE: JDBC connection persistence

2002-09-06 Thread Andrew Conrad
No, because DBCP doesn't actually close connections, it returns them to the connection pool for reuse. - Andrew > -Original Message- > From: William Wragg [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 06, 2002 12:33 PM > To: Tomcat Users List > Subject: RE: JDBC connection persi

RE: Bringing up DBCP pooling again

2002-09-06 Thread Andrew Conrad
You might get more responses if you post it to [EMAIL PROTECTED] - Andrew > -Original Message- > From: Rick Reumann [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 05, 2002 4:38 PM > To: Tomcat Users List > Subject: Bringing up DBCP pooling again > > > Just bringing up a questi

RE: Object pooling

2002-09-05 Thread Andrew Conrad
You might post this on [EMAIL PROTECTED] instead - Andrew > -Original Message- > From: John Walstra [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 05, 2002 1:23 AM > To: Tomcat Mailing List > Subject: Object pooling > > > Hi ya, > > I'm trying to pool some objects. The object

RE: redirect bug?

2002-09-05 Thread Andrew Conrad
Can you make this feature work from other JSP/Servlet containers or other languages (ASP, PHP)? It just seems like this would be an issue of the browser. Have you tried other browsers to see if they react differently? - Andrew > -Original Message- > From: news [mailto:[EMAIL PROTECTED]

RE: JDBC connection persistence

2002-09-05 Thread Andrew Conrad
Your best bet is to use a database connection pool. Look into DBCP. You can set the max number of connections and all your apps can share these connections. As for your issues, it sounds like the JDBC driver is not closing everything when you call connection.close(). There has been some discu

RE: NullPointerException in JDBCStore

2002-09-03 Thread Andrew Conrad
Your best bet is to create a bug report, and post the patch. - Andrew > -Original Message- > From: Ronald Klop [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 03, 2002 8:26 PM > To: [EMAIL PROTECTED] > Subject: NullPointerException in JDBCStore > > > Hello, > > I get a NullPoin

RE: admin page - username and password?

2002-08-31 Thread Andrew Conrad
Actually, for the admin page, you need to add admin to the roles. ie: > -Original Message- > From: Steven Van Loon [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 30, 2002 7:45 AM > To: Tomcat Users List; [EMAIL PROTECTED] > Subject: RE: admin page - username and password? > > >

RE: Setting up connection pooling via JNDI

2002-08-28 Thread Andrew Conrad
Just drop the pool, dbcp, and commons into common/lib like you mentioned. Then follow the guide. In Tomcat 4.1 you don't have to put the factory parameter in your JNDI setup, but it will be required for 4.0.x. 4.0.x comes with Tyrex, but it has had problems and they are dropping it. You woul

RE: tomcat conn pooling question

2002-08-28 Thread Andrew Conrad
day, August 28, 2002 2:14 PM > To: Tomcat Users List > Subject: RE: tomcat conn pooling question > > > > > On Wed, 28 Aug 2002, Andrew Conrad wrote: > > > Date: Wed, 28 Aug 2002 13:10:30 -0400 > > From: Andrew Conrad <[EMAIL PROTECTED]> > > Reply-T

RE: XML parsing error on file /WEB-INF/web.xml

2002-08-28 Thread Andrew Conrad
rdP > ipeline.java:566) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel > ine.java:472) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > at > org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458)

RE: tomcat conn pooling question

2002-08-28 Thread Andrew Conrad
Subject: RE: tomcat conn pooling question > > > > > On Wed, 28 Aug 2002, Andrew Conrad wrote: > > > Date: Wed, 28 Aug 2002 12:34:03 -0400 > > From: Andrew Conrad <[EMAIL PROTECTED]> > > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > >

RE: Tomcat 4 nightly build doesn't starts

2002-08-28 Thread Andrew Conrad
clude all the > >optional libraries. Not having an implementation of JMX 1.0 may be > >causing this problem, although I don't know for sure. See > step 14 of > >Building.txt for options. I use mx4j myself > > > >Andrew Conrad > > > >> -Orig

RE: Removing files from /lib

2002-08-28 Thread Andrew Conrad
Where are you keeping log4j? Is it in common/lib or some place such as that or is it stored in you WEB-INF/lib folder? >From my understanding if it's in common or shared, then unloading the webapp won't release the files, since webapps inherit common and shared classloaders, they don't actually

RE: tomcat conn pooling question

2002-08-28 Thread Andrew Conrad
Craig, I'm troubleshooting a ValidationQuery issue, and I can't seem to find where this query executes. Does DBCP handle the ValidationQuery, or does Tomcat run the ValidationQuery when the first connection is requested? - Andrew > -Original Message- > From: Craig R. McClanahan [mai

RE: XML parsing error on file /WEB-INF/web.xml

2002-08-28 Thread Andrew Conrad
Hey Jill, it doesn't look like anything is wrong with the manager web.xml, but I might be missing something. It seems that every Context is generating this error, and at the same location (line 7, col 10). Maybe it's the global web.xml file. Or you could have a bad server.xml file too. At this

RE: Tomcat 4 nightly build doesn't starts

2002-08-28 Thread Andrew Conrad
for options. I use mx4j myself. Finally, verify the file exists at jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans/ServerL ifecycleListener.java Andrew Conrad > -Original Message- > From: Dev Zero G Ltd team [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, Augus

Tomcat 4 nightly build doesn't starts

2002-08-28 Thread Andrew Conrad
use mx4j myself Andrew Conrad > -Original Message- > From: Dev Zero G Ltd team [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 28, 2002 10:19 AM > To: [EMAIL PROTECTED] > Subject: Tomcat 4 nightly build doesn't starts > > > I have built Tomcat from jakart

RE: mod_jk

2002-08-27 Thread Andrew Conrad
Along with the connector source, you need the apache source, because mod_jk compiles to the specific version of apache for which you have the source. (you will see all those files in the apache source). That said, I've still had some problems with compiling it. I'm not sure what I'm doing wrong

RE: jar_cache files on AIX

2002-08-27 Thread Andrew Conrad
I can't speak for AIX, but with the windows ver of JDK 1.4.0, you can disable the JAR cache. So, atleast there is hope. - Andrew > -Original Message- > From: Holmes, Jason [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 27, 2002 5:15 PM > To: Tomcat User Mailing List (E-mail) > Su

RE: Finding my classes

2002-08-27 Thread Andrew Conrad
Tomcat ignores Classpath Read the ClassLoader howto and make sure your classes are in packages. http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html - Andrew > -Original Message- > From: Wilson, William N [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 27, 2002

RE: build-main fails for tomcat 4.1 (XSLP problem?)

2002-08-27 Thread Andrew Conrad
I still think it's a xalan issue. How did you solve the problem? Copy xalan.jar into ant/lib or are you using jdk1.4 (if 1.4, which build? ) Xalan has a known issue with converting style sheets that Xalan 2.4.D1 resolves. Check these for more info http://nagoya.apache.org/bugzilla/show_bug.cgi

RE: Velocity / Avalon

2002-08-27 Thread Andrew Conrad
Have you asked this question to the avalon or velocity mailing lists? - Andrew > -Original Message- > From: Carsten Burstedde [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 27, 2002 1:14 PM > To: tomcat-user > Subject: Velocity / Avalon > > > Hi, > > I am repeating a question I p

RE: Tomcat Realms with Digested Passwords -Urgent- ( A little longish...)

2002-08-27 Thread Andrew Conrad
I have no problems using SHA-1. I also use FORM based authentication. You might try those, just to see if anything's different. > -Original Message- > From: ahmet dalli [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 27, 2002 3:15 AM > To: [EMAIL PROTECTED] > Subject: Tomcat Realms w

RE: Does closing a Connection variable and setting it to null close all of the ResultSet and Statements?

2002-08-27 Thread Andrew Conrad
No, you should invoke .close() on your resultset and statement object. Setting to null is also a good idea, but not as important as closing the objects. - Andrew > -Original Message- > From: Short, Dave [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 27, 2002 12:09 PM > To: 'Tomcat U

RE: Does closing a Connection variable and setting it to null close all of the ResultSet and Statements?

2002-08-27 Thread Andrew Conrad
Michael, As per the Java documentation, resultsets are closed when the statement is closed, and Statement's are closed during garbage collection. But in my own opinion, it's better to close them individually and explicitly, so you the programmer know it is done, and someone reading your code kno

RE: Using a Webapp on a network share

2002-08-27 Thread Andrew Conrad
I'm not sure if this relates to samba, but most issues with mapped drives is with the service account, if you are running Tomcat as a service. Try creating an account specifically for Tomcat, then log on as Tomcat and map the drive ( check reconnect at logon ). Make sure you can read a file whil

RE: RE : Bugzilla down, can't submit tomcat bug

2002-08-26 Thread Andrew Conrad
to submit is for the CATALINA_BASE variable.. > When I use it my web app is not accessible. I've posted a > few messages about it but haven't gotten much of a response, > I don't think many people have tried using it. > > http://marc.theaimsgroup.com/?l=tomcat-user&a

[TC 4.1] Defining jsp reloading using conf/web.xml

2002-08-26 Thread Andrew Conrad
logVerbosityLevel WARNING development true reloading true 3 Andrew Conrad 617.470.8045 [EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTEC

RE: Context management and virtual host

2002-08-26 Thread Andrew Conrad
Use the Remote Address Valve More info is here -> http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/valve.html - Andrew > -Original Message- > From: Q. Werty [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 26, 2002 11:48 AM > To: tomcat-user > Subject: Re: Context ma

RE: Bugzilla down, can't submit tomcat bug

2002-08-26 Thread Andrew Conrad
Bugzilla seems to be working for me. I read your msg concerning differentiation between SQLException's and user login failure. I don't think it's possible, and I don't think it's a bug. Mainly because not all Realm's use SQLExceptions. I think you would have to modify the Realm interface and t

RE: jndi jdbc driver location

2002-08-25 Thread Andrew Conrad
Relating to tomcat 4.0.x: %CATALINA%/lib is for webapps only. The Tomcat Server does not see it. In Tomcat 4.1.x, the %CATALINA%/lib folder has been renamed to %CATALINA%/shared/lib, which should help prevent this confusion. - Andrew > -Original Message- > From: adam kramer [mailto:[

RE: Where to locate class files

2002-08-21 Thread Andrew Conrad
ory > > -----Original Message- > From: Andrew Conrad [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 21, 2002 7:43 PM > To: 'Tomcat Users List'; [EMAIL PROTECTED] > Subject: RE: Where to locate class files > > > Here is your problem > >

RE: Where to locate class files

2002-08-21 Thread Andrew Conrad
Here is your problem Make your class part of a package, then reproduce the package in the WEB-INF For instance, if you call your package com.MyFiles put the Java file in WEB-INF/com/MyFiles Then in you jsp, do an import com.MyFiles.Spud - Andrew > -Original Message- > From: Barry

RE: Realm Security Implementation Question [OT]

2002-08-21 Thread Andrew Conrad
Your users and roles are in a DB? It's almost JDBCRealm, except you have a table of roles for each application. Take a look at the JDBCRealm and I bet you could make your own Realm based loosely on that. - Andrew > -Original Message- > From: Hookom, Jacob John [mailto:[EMAIL PROTECTE

RE: Tomcat and connection pooling

2002-08-21 Thread Andrew Conrad
You can use JNDI to allow for sharing of connections across servlets using either the built in pool (dbcp) or your own pool. For Tomcat 4.0.x, you can look here (about half way down) http://jakarta.apache.org/tomcat/tomcat-4.0-doc/jndi-resources-howto.htm l - Andrew > -Original Message--

RE: Servlet jsp is currently unavailable

2002-08-20 Thread Andrew Conrad
It seems that you are erroring on your webdav directory included with Tomcat. Try removing that directory and see if your program loads a little further. - Andrew > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 20, 2002 12:17 PM > T

RE: authentication

2002-08-19 Thread Andrew Conrad
A JAASRealm allows you to take advantage of JAAS. I'm not sure if anyone has it working with NT yet. - Andrew > -Original Message- > From: Herbert Chau [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 19, 2002 11:10 PM > To: Tomcat Users List > Subject: authentication > > > Dear al

RE: Craig, PoolMan, latest version WAS the problem.

2002-08-19 Thread Andrew Conrad
Instead of using poolman, you could use dbcp. It's the default connection pool for TC 4.1.x http://jakarta.apache.org/commons/dbcp.html - Andrew > -Original Message- > From: Luminous Heart [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 19, 2002 12:54 PM > To: Tomcat Users List > Su

RE: Tomcat - IP binding for multiple web apps

2002-08-18 Thread Andrew Conrad
ally a Virtual Host, correct? How/why > would one then have multiple contexts per a single host? > > Is it just me or is the Tomcat documentation a little lacking > in this area? > > Thanks for your help! :) > > Neal > > > -Original Message- >

RE: Tomcat - IP binding for multiple web apps

2002-08-18 Thread Andrew Conrad
Modify your Http/1.1 Connector and add an address attribute to specify which IP address to listen on. By default, the Connector listens on ALL IP addresses. http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/http11.html >From what I can tell, you can't define a webapp (defined as a Conte

RE: anyone recieve this email?

2002-08-18 Thread Andrew Conrad
recieved > -Original Message- > From: neal [mailto:[EMAIL PROTECTED]] > Sent: Sunday, August 18, 2002 3:09 PM > To: Tomcat Users List > Subject: anyone recieve this email? > > > Can anyone hear me? Is anyone recieving this email? Please respond. > > > -- > To unsubscribe, e-mail:

RE: buffer error with tomcat 4.1.9-LE

2002-08-18 Thread Andrew Conrad
I was under the impression the buffer should be in 'kb' ie <%@ page buffer="50kb" %> - Andrew > -Original Message- > From: capr1ce [mailto:[EMAIL PROTECTED]] > Sent: Sunday, January 13, 2002 7:24 AM > To: [EMAIL PROTECTED] > Subject: buffer error with tomcat 4.1.9-LE > > > Hi all. >

RE: mod_jk2.so needed

2002-08-17 Thread Andrew Conrad
The mod_jk2.dll file can be found here http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/nightly/w in32/ - Andrew > -Original Message- > From: Niket Anand [mailto:[EMAIL PROTECTED]] > Sent: Saturday, August 17, 2002 3:30 AM > To: [EMAIL PROTECTED] > Subject: mod_jk2.so

RE: Persistent Connection

2002-08-17 Thread Andrew Conrad
It's a operating system issue. NOTE: It is normal to have a socket in the TIME_WAIT state for a long period of time. The time is specified in RFC793 as twice the Maximum Segment Lifetime (MSL). MSL is specified to be 2 minutes. So, a socket could be in a TIME_WAIT state for as long as 4 minutes

RE: Apache 2.0.40

2002-08-16 Thread Andrew Conrad
I believe there is a 'magic number' issue with mod_jk and mod_jk2 modules. Meaning you need to compile a new mod_jk2 for use with 2.0.40 - Andrew > -Original Message- > From: Short, Dave [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 16, 2002 3:09 PM > To: 'Tomcat Users List' > Sub

RE: Add arbitrary path to classpath?

2002-07-31 Thread Andrew Conrad
Paul, All the class loading information you want can be found here http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html Basically, inside your WEB-INF folders you have a classes and lib folder to place classes and libraries (jar's). - Andrew Conrad > -Original

RE: tomcat 4.0.4 and j2sdk1.4.0_01 ?

2002-07-31 Thread Andrew Conrad
o any _bugs_ as Jacob has mentioned, but I did get tripped up by a few _features_. Make sure you add a "SelectMethod=cursor" to your connection string, and read the SQL Server JDBC docs on SelectMethod and autocommit. - Andrew Conrad > -Original Message- > From: Matt B

RE: Suppression of directory listing in Tomcat

2002-07-31 Thread Andrew Conrad
%CATALINA%\conf\web.xml listings false - Andrew Conrad > -Original Message- > From: Nikolas A. Rathert [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 31, 2002 6:25 AM > To: [EMAIL PROTECTED] > Subject: Suppressi

RE: How to enable Tomcat's Apache Auto-config

2002-07-30 Thread Andrew Conrad
I'm not sure exactly what you mean by If you want to generate a config file automatically, you will need to add this into your server.xml file nested within either your Engine or Host attribute (different level of detail depending on where you nest it). The info came from the manual: http://

RE: JDBC Pool Manager

2002-07-29 Thread Andrew Conrad
Commons-DBCP http://jakarta.apache.org/commons/index.html - Andrew > -Original Message- > From: Roger Maltby [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 29, 2002 11:58 AM > To: Tomcat User (E-mail) > Subject: JDBC Pool Manager > > > > > I need to have a connection pool for my JD

RE: tomcat virtualhost 404 error

2002-07-29 Thread Andrew Conrad
Are you closing your tage "" Also, can you get to the page from a remote machine at http://www.vhost.xx:8080/ ??? If that works, then you should know it's a Apache mod_jk issue. - Andrew > -Original Message- > From: Albert Csaba [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 29, 200

RE: How to migrate for Tomcat 3.3.1 to Tomcat 4.x?

2002-07-29 Thread Andrew Conrad
Nathan, The 4.x spec says it will support Servlet 2.2, JSP 1.1 w/o modification. Work with a Tomcat 4.x test page to make sure everything works before trying to debug your app. Also, can you turn off HTML in your emails. Thx, Andrew -Original Message- From: Nathan Smith [mailto:[E

RE: Little trouble with IIS 5 and Tomacat 4.0.4

2002-07-27 Thread Andrew Conrad
Can't help you with an application mapping (TC 4.x does not have an in-process server at this time), but you can configure Tomcat to only handle *.jsp files, and use the same directory. I have it working myself. Very simply, configure uwm.p file as Ignacio suggested, point your Host appBase attr

RE: Mod_jk2 and j_security_check

2002-07-27 Thread Andrew Conrad
pecify > anything in my forms other than action="j_security_check" - and it > always hits it. I ... don't think you need to map it. I could, of > course, be totally wrong :-) > > Andrew Conrad wrote: > > >When configuring TC 4.1.8 to work with mod_jk2.d

Mod_jk2 and j_security_check

2002-07-26 Thread Andrew Conrad
When configuring TC 4.1.8 to work with mod_jk2.dll (jul-19 nightly), I ran into an odd configuration issue with j_security_check. When using extension mapping, the only way to get j_security_check to be sent to Tomcat was to make a directory redirect for it. [uri:/TimeOff/*.jsp] alias=localhos

RE: Help, Can I Use JAAS in the Tomcat 3.3 /4.0 enviorment

2002-07-26 Thread Andrew Conrad
I'm not positive if you can make an NT Login, but TC 4.1.x has a JAASRealm class which extends the Realm class. I didn't see any docs except the source. You probably want to get familiar with Realms first, then tackle JAASRealm. As a side not, if you are using Active Directory, you could use JN

RE: Tomcat 4, mod_jk, Apache 1.3.20

2002-07-26 Thread Andrew Conrad
Hmm, I see a few problems below > -Original Message- > From: Michele Neylon -Blacknight Solutions > [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 26, 2002 1:11 PM > To: Tomcat Users List > Subject: RE: Tomcat 4, mod_jk, Apache 1.3.20 > > > At 10.47 26/07/2002 -0400, you wrote: > >Wh

RE: Setting up a servlet

2002-07-26 Thread Andrew Conrad
With 4.x you can add a element nested inside your Context. The default checkInterval is 15 See docs for other Loader options. - Andrew > -Original Message- > From: Diego, Emil [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 24, 2002 9:52 AM > To: '[EMAIL PROTECTED]' > Subject: Set

RE: mod_webapp vs Coyote JK 2

2002-07-25 Thread Andrew Conrad
Look here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html - Andrew > -Original Message- > From: Jakarta Tomcat Newsgroup > [mailto:@[EMAIL PROTECTED]] > Sent: Thursday, July 25, 2002 12:25 PM > To: [EMAIL PROTECTED] > Subject: mod_webapp vs Coyote JK 2 > > >

RE: Inquiry on JSP Loading

2002-07-24 Thread Andrew Conrad
I meant, look here: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html - Andrew > -Original Message- > From: Andrew Conrad [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 24, 2002 7:32 PM > To: 'Tomcat Users List' > Subject: R

RE: Inquiry on JSP Loading

2002-07-24 Thread Andrew Conrad
You have multiple choices of where to put your classes so that Your apps can read them. I would put them in your %CATALINA%/common/lib directory, leaving them in the jar. Otherwise, read here for more about class loading. http://msdn.microsoft.com/downloads/default.asp?URL=/downloads/sample.as

RE: JNDI Setup Question: Cannot create resource instance

2002-07-24 Thread Andrew Conrad
You have some spaces in your parameters that I would remove. Specifically, your url value, username value, and password value. I'm not familiar with the TdsDriver, but shouldn't you be specifying the port to connect to (port 1433 typically). I used the Microsoft JDBC Driver, (available here:

RE: Adding a new JSP page thru the MANAGER tool

2002-07-23 Thread Andrew Conrad
Is your application set to reload automatically? (i.e. you have a ) If not, you can reload using the manager app http://localhost:8080/manager/reload?path=/examples - Andrew > -Original Message- > From: Nagpal, Vikas [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 23, 2002 3:42

RE: Apache 2.0.39 + Tomcat 4.0.4 (mod_jk2.dll) on Windows 2000

2002-07-18 Thread Andrew Conrad
Yea, you don't need JkWorkersFile any longer for mod_jk2, or any of the other JK* commands. Check out this link: http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg59593.html - Andrew > -Original Message- > From: Kevin Andryc [mailto:[EMAIL PROTECTED]] > Sent: Thursday, Jul

RE: IIS and tomcat (was HTTP/1.1 standard/coyote performance)

2002-07-17 Thread Andrew Conrad
Steve, try this link to get mod_jk.dll http://www.acg-gmbh.de/mod_jk/ - Andrew > -Original Message- > From: STEVE R BURRUS [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 17, 2002 4:15 PM > To: Tomcat Users List > Subject: RE: IIS and tomcat (was HTTP/1.1 standard/coyote performance

RE: tomcat 4.0 and IIS - troubleshoot configuration

2002-07-16 Thread Andrew Conrad
List > Subject: RE: tomcat 4.0 and IIS - troubleshoot configuration > > > Thanks Andrew. > > Yes, I have set up a virtual directory called jakarta that > has the isapi_redirector.dll under it. The file is physically > located in the CATALINA_HOME/bin directory. >

RE: tomcat 4.0 and IIS - troubleshoot configuration

2002-07-16 Thread Andrew Conrad
Diana, Do you have a virtual directory in your website pointing to the directory of your isapi_redirector.dll? Specifically, if your extension_uri registry entry equals "/jakarta/isapi_redirector.dll", then you need to have a virtual directory called "jakarta" and it should point to the folder

RE: newbie - finding class files

2002-07-15 Thread Andrew Conrad
Check this link for more info on class loading. http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html But it was my understanding that only Tomcat loads the classes and jars located in the /server directory. If you need access to it in your webapp, you have to either put the

RE: jdk1.4 vs jdk1.2 ==Here is the error page. MAYBE A DEVELOPER OF THIS THING WOULD KNOW!

2002-07-14 Thread Andrew Conrad
Exception is a Throwable object, but Throwable is not necessarily an Exception. Check your inheritance. If your Throwable Object is an Exception, explicitly cast it as Exception in your code. if (pageContext != null) pageContext.handlePageException( (Exception) t); - Andrew -Original Mes

RE: JNDI and/or pooling help (long post)

2002-07-13 Thread Andrew Conrad
ven tell if it's a problem with my tomcat configuration, my servlet code, the driver, whatever...there aren't any error messages, just null. John Turner [EMAIL PROTECTED] -Original Message- From: Andrew Conrad [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 7:15 PM To: &#x

RE: Tomcat 4.1.7b / Apache httpd 2.0.39 connection how-to

2002-07-12 Thread Andrew Conrad
I have this configuration working, but that doesn't mean I did it correctly. Here goes: 1) Downloaded the mod_jk2.dll from http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/nightly/w in32/ and placed it in ${APACHE2_HOME}/modules 2) Added 1 line to my httpd.conf file.

RE: JNDI and/or pooling help (long post)

2002-07-12 Thread Andrew Conrad
Also, check your URL. The syntax is also UserName (case-insensitive) Here's my working resource: url jdbc:microsoft:sqlserver://localhost:1433 validationQuery select * from organizations maxIdle 2 maxA

RE: JNDI and/or pooling help (long post)

2002-07-12 Thread Andrew Conrad
Dfor my Resource Object, I was only ever able to use the param "username", not "user". - Andrew -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 3:37 PM To: '[EMAIL PROTECTED]' Subject: JNDI and/or pooling help (long post) Hello - I'm hav

RE: help with apache tomcat webserver

2002-07-12 Thread Andrew Conrad
A 404 is a good response, kinda. It means your server responded and couldn't find the file. The link you gave out seems to be bad. I found it here (with .htm not .html) http://64.161.27.180:8080/index.htm BTW, just give out http://64.161.27.180:8080/ that way the server will return the appr

RE: BasicDataSourceFactory (dbcp)

2002-07-12 Thread Andrew Conrad
I can't tell you why it works this way, but with the MS JDBC driver, the param name has to be username. It doesn't work otherwise. - Andrew -Original Message- From: Martin Jacobson [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 7:39 AM To: Tomcat Users List Subject: Re: BasicD

RE: Two Questions about Tomcat

2002-07-12 Thread Andrew Conrad
To accept requests on a different port for the same Tomcat instance, you need to define another port. I haven't seen in the documentation how to handle your issue, but you could try creating another element with the name "localhost:85" and the approprate elements. Let us know what you find.

RE: classpath problem

2002-07-12 Thread Andrew Conrad
Are these classes apart of a package? Did you build the package directory structure to match in the %CATALINA$\common\classes? Have you tried the $CATALINA$\shared\classes folder? How about a webapp's WEB-INF\classes folder? Testing these to see if you can get any of them to work might hel

RE: Why doesn't my classes see the oracle driver?

2002-07-11 Thread Andrew Conrad
Check the archives, but I seem to remember that some people had to delete the javax.sql.* files from the oracle jar. Do they exist in your jar? - Andrew -Original Message- From: Christian J. Dechery [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 12:16 PM To: [EMAIL PROTECT

RE: DataSource Casting Problem

2002-07-11 Thread Andrew Conrad
If the jdbc2_0-stdext.jar is in the common/lib and no where else, and you can't see it from your JSP code, you have a class loading issue that probably relates to your problem. What version of TC? JDK? With TC 4.1.x (maybe older versions too...) you can see the class loading structure by tu

RE: tomcat-iis problem in hosting server

2002-07-11 Thread Andrew Conrad
It sounds like your Test.jsp is not in the directory tomcat sees as your root. You need to have your ISP map the root context for your domain to your www directory. - Andrew -Original Message- From: Moj Vahed [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 10, 2002 7:52 AM To: [EMAIL

RE: PATH issue

2002-07-11 Thread Andrew Conrad
In Windows NT, just go into your environmental settings and add your path to the PATH statement. Right-click My Computer->properties->Advanced->Environmental Variables (Windows XP specific directions, but it's in a similar place on NT) - Andrew -Original Message- From: Pearsall, Kyle [

RE: Class loader problem with Xalan under 4.0.2 and 4.0.3

2002-07-11 Thread Andrew Conrad
This isn't answering your question as you posed it, but aren't xml-api.jar and XMLParserAPI.jar from different versions of Xerces? Xalan 2.4.D1 comes with Xerces 2.0.1 (xercesImpl.jar and xml-api.jar). To use Xerces 2.0.2, aren't you suppose to delete those files and replace them with those from t

RE: Windows Explorer Hangs when Tomcat is running

2002-07-11 Thread Andrew Conrad
Hi Sridhar, Whats your mem usage like? What sp of NT and what JDK? These all can play a role. You might try using a different JDK and see the effects. - Andrew -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 1:52 AM To: [EMAIL

RE: Tomcat & IIS - success

2002-07-11 Thread Andrew Conrad
do we get the error connecting to Tomcat process and the service() failed error. thanx in advance -anoop -Original Message- From: Andrew Conrad [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 29, 2002 2:42 AM To: 'Tomcat Users List' Subject: RE: Tomcat & IIS - success I thin

RE: Problem with "Jakarta IIS Redirector"

2002-07-11 Thread Andrew Conrad
It looks like your uriworkermap.properteis file is incorrect. Add these lines to your uriworkermap.properties and see if you can get to the Tomcat examples. Remember to restart your IIS services, so your redirector loads the new file settings. /examples=$(default.worker) /examples/*=$(default.

RE: Where to place XML Schemas in Tomcat?

2002-07-10 Thread Andrew Conrad
I'm not positive, but I was under the impression that you cannot see inside the WEB-INF folder. I would just create a new folder in the root of your app and reference them absolutely "/Schemas" - Andrew -Original Message- From: Dr. Edward R. Jones [mailto:[EMAIL PROTECTED]] Sent: Wedne

RE: going crazy with DBCP

2002-07-09 Thread Andrew Conrad
Clay, The /DBTest directory isn't really for the pool. It's for your Context (Virtual Directory), and the pool is used WITHIN that Context. Read the tomcat-docs to better understand the , , and other server.xml entities. - Andrew -Original Message- From: Clay Graham [mailto:[EMAIL PR

RE: going crazy with DBCP

2002-07-09 Thread Andrew Conrad
I need to pay more attention to the docs I was reading. Sorry about the confusion I may have caused. Thanks for the catch Jacob. - Andrew -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 09, 2002 12:53 AM To: Tomcat Users List Subject: RE: going cra

RE: I fail to get green arrow for filter status.. IIS with Tomca t

2002-07-09 Thread Andrew Conrad
lot for all ur help, but tell me one thing.. if i give http://localhost, wd it stop serving the IIS files.coz i fail to see the previous IIS pages... (a bit more tweeking i guess shd help) -anoop -----Original Message- From: Andrew Conrad [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002

RE: Tyrex 1.0 and Getting a Connection Pool in 4.1.x

2002-07-08 Thread Andrew Conrad
Download tyrex. It's not included by default in 4.1.x. Also, add a factory parameter and reference the DataSource factory of Tyrex, since it is no longer the default DataSource factory of Tomcat (DBCP is). - Andrew -Original Message- From: Jakarta Tomcat Newsgroup [mailto:@[EMAIL PROTEC

RE: going crazy with DBCP

2002-07-08 Thread Andrew Conrad
Hey Clay, here's something I noticed. With Tomcat 4.0.x the place to put your jars for server wide access is in %CATALINA%\lib, not %CATALINA%\common\lib. (the common\lib is the new location for 4.1.x) Also, double-check your URL in your tag. I'm not famaliar with the tag for MySQL, but I tho

RE: Failed JDBC connection hangs Tomcat

2002-07-08 Thread Andrew Conrad
app B still hangs up waiting on webapp A. --- Andrew Conrad <[EMAIL PROTECTED]> wrote: > That sounds like a threading issue for the JDBC > Driver, if you are using > the same instance. You could move the Oracle Driver > to the WEB-INF\lib > directory for

RE: Tomcat 4.0.3 and relative path includes.

2002-07-08 Thread Andrew Conrad
eb app from Weblogic onto Tomcat. I would like to avoid moving files around if possible. What about the use of the phrase rather than <@include>? Are there substantial differences? Andrew Conrad wrote: > So you are trying to leave your current Context and go into the base > context? >

RE: Failed JDBC connection hangs Tomcat

2002-07-08 Thread Andrew Conrad
That sounds like a threading issue for the JDBC Driver, if you are using the same instance. You could move the Oracle Driver to the WEB-INF\lib directory for each webapp. - Andrew -Original Message- From: Bill D [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 2:05 PM To: [EMAIL

RE: Library problem (and JBuilder/Tomcat issue?)

2002-07-08 Thread Andrew Conrad
It sounds like your legacy application is using JNDI for connection pooling(not really a legacy model). I do not believe you are able to define a JNDI Resource in your server.xml file and not have the file located in your %CATALINA%\common\lib folder. It really sounds like you are trying to incl

RE: Tomcat 4.0.3 and relative path includes.

2002-07-08 Thread Andrew Conrad
So you are trying to leave your current Context and go into the base context? Have you set your Context attribute "CrossContext" to true? Have you tried making a subdirectory in your current Context, place this file with the relative include in it, and tried to request the file from the base o

RE: I fail to get green arrow for filter status.. IIS with Tomca t

2002-07-08 Thread Andrew Conrad
ere's the info:-- size of isapi_redirect.dll: 112 KB exact file name : isapi_redirect.dll Physical path to isapi_redirect.dll: E:\jakarta-tomcat-3.2.4\bin\isapi_rediect.dll Win 2000 Professional Configuring on Tomcat 3.2.4 (i also hv Tomcat 4.0) thanks, -anoop -----Ori

RE: Connection Pooling?

2002-07-08 Thread Andrew Conrad
The error msg makes me unsure of the problem you are having. You could either be having a JNDI problem or a DBCP problem. To identify this, try adding this code //* Try { Context invCtx = new InitialContext(); if(invCtx == null ) throw new Exception("Boom - No

RE: I fail to get green arrow for filter status.. IIS with Tomca t

2002-07-08 Thread Andrew Conrad
pi_redirect.dll Physical path to isapi_redirect.dll: E:\jakarta-tomcat-3.2.4\bin\isapi_rediect.dll Win 2000 Professional Configuring on Tomcat 3.2.4 (i also hv Tomcat 4.0) thanks, -anoop -Original Message- From: Andrew Conrad [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 07, 20

RE: Apache plugin for Tomcat 4.0.3 for Windows 2000

2002-07-08 Thread Andrew Conrad
Jamal, A good place to look for information is in the archives of this mailing list. http://www.acg-gmbh.de/mod_jk/ The following info was pulled from there: help file for a Win2k, Apache2, Tomcat4 install http://www.galatea.com/flashguides/apache-tomcat-24-win32.xml mod_jk.dll for Apache 2

  1   2   >