RE: PATH issue

2002-07-10 Thread Jacob Kjome
It is platform independent, but not guaranteed to work in the case that your webapp is running directly out of a .war file. In that case, doing sc.getRealPath(/) will return null since the app does not exist on the file system. So, as long as you make sure that your app is deployed from a

Re: Port 8080

2002-07-10 Thread Jacob Kjome
http://www.acg-gmbh.de/mod_jk/ Jake At 11:32 AM 7/10/2002 -0700, you wrote: Liam, this is steve Burrus, and I posted yesterday to the newsgroup asking someone (I forgot who it was that I emailed!!!) to please send me the link to access the mod_jk.dll file to connect the Tomcat Server with the

RE: going crazy with DBCP

2002-07-10 Thread Jacob Kjome
Hi Clay, Notice that your docBase is DBTest and you go on to mention: ...In my web.xml for my application ($CATALINA_HOME/webapps/test/WEB-INF/web.xml) I have added... Did you just create an arbitary directory called DBTest under webapps, but then use a directory called test under webapps to

Re: log4j-1.2.5.jar

2002-07-10 Thread Jacob Kjome
Hi Lenny, Well, unless you use the RepositorySelector technique (which I've only heard about and don't know how to implement) you will need to put log4j-1.2.5.jar in your WEB-INF/lib directory. You can put your log4j.properties in WEB-INF/classes and it should get used the first time a new

RE: PATH issue

2002-07-10 Thread Jacob Kjome
/2002 -0600, you wrote: There is no platform independent manner to specify JNI code library locations. -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED]] Sent: 10 July, 2002 9:54 PM To: Tomcat Users List Subject: RE: PATH issue It is platform independent, but not guaranteed

Re[2]: going crazy with DBCP

2002-07-09 Thread Jacob Kjome
in the log file, is the some little step that I may have CG missed? CG clay CG -Original Message- CG From: Jacob Kjome [SMTP:[EMAIL PROTECTED]] CG Sent: Monday, July 08, 2002 7:04 PM CG To: Tomcat Users List CG Subject:Re: going crazy with DBCP CG Try using Tomcat

Re[3]: Tomcat-4.1.6 and DBCP issue? UPDATE... still not working in 4.1.7

2002-07-09 Thread Jacob Kjome
-dbcp.jar with the 4.1.3 version made everything work again. JK I guess this definitely means a regression was introduced into JK commons-dbcp in 4.1.6. JK Jake JK Tuesday, July 02, 2002, 2:09:40 AM, you wrote: RM Jacob Kjome wrote: Hi, I'm just checking to confirm whether others that used DBCP

RE: Connection Pooling?

2002-07-08 Thread Jacob Kjome
Try this with Either Tomcat-4.1.3 which I've tested with the instructions at the link below and know it to work. Also, you might try Tomcat-4.1.7 whch just came out. I had tried Tomcat-4.1.6 and it failed so, presumably, the nightly builds around the time of 4.1.6 development were broken as

Re: going crazy with DBCP

2002-07-08 Thread Jacob Kjome
Try using Tomcat 4.1.3 or 4.1.7 (not anything in between because I think DBCP was broken for a bit there). Everything should work just great. Jake At 04:36 PM 7/8/2002 -0700, you wrote: I will pay someone to help me at this point, I am not rich but I know when to admit when need help. I am

RE: going crazy with DBCP

2002-07-08 Thread Jacob Kjome
At 11:05 PM 7/8/2002 -0400, you wrote: 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) This is not at all correct. %CATALINA%\common\lib

Re[2]: Tomcat-4.1.6 and DBCP issue?

2002-07-02 Thread Jacob Kjome
Hello Remy, Cool, that did it! Just by replacing the 4.1.6 version of commons-dbcp.jar with the 4.1.3 version made everything work again. I guess this definitely means a regression was introduced into commons-dbcp in 4.1.6. Jake Tuesday, July 02, 2002, 2:09:40 AM, you wrote: RM Jacob Kjome

Re: Connection Pooling

2002-07-02 Thread Jacob Kjome
Hello Kevin, See this: http://marc.theaimsgroup.com/?l=tomcat-userm=102348915728231w=2 and this: http://marc.theaimsgroup.com/?l=tomcat-userm=102383138524775w=2 also this: http://marc.theaimsgroup.com/?l=tomcat-userm=101631189730747w=2 They might be what you are looking for. Jake

Re: commons-dbcp support in Tomcat 4.1?

2002-07-01 Thread Jacob Kjome
Hello rory, Yes, Follow the instructions in the following archived message and you will be up and running: http://marc.theaimsgroup.com/?l=tomcat-userm=102225547106556w=2 I also wrote a snippet of code here: http://marc.theaimsgroup.com/?l=tomcat-userm=102230398708809w=2 Jake Monday, July

Re[2]: apache2.0.39 + tomcat4.1.x + mod_jk2.so

2002-07-01 Thread Jacob Kjome
Hello Luminous, Works fine for me using Tomcat-4.1.6, Apache-2.0.39, and j2sdk1.4.0_01 on Win2k. Jake Monday, July 01, 2002, 2:28:22 PM, you wrote: LH I am using new directory for each version of tomcat. LH But the problem, that I noticed is that tomcat4.1.x LH does not like JDK1.4. Is it

Tomcat-4.1.6 and DBCP issue?

2002-07-01 Thread Jacob Kjome
Hi, I'm just checking to confirm whether others that used DBCP connection pooling successfully in Tomcat-4.1.3 are running into problems when using Tomcat-4.1.6? That is the case for me. I'll check again tomorrow to see if I did anything stupid, but the only difference seems to be the

Re: [Offtopic] Setting the directory where IO occurs in a servlet?

2002-06-30 Thread Jacob Kjome
first of all, if WEB-INF/files is where you *always* want to write stuff, why not do something more portable like this: servlet servlet-nameparts/servlet-name servlet-classPartsDepotServlet/servlet-class init-param param-namephysicalFilePath/param-name

Re: apache2.0.39 + tomcat4.1.x + mod_jk2.so

2002-06-30 Thread Jacob Kjome
That error happens when you define the following for JMX beans support: in server.xml. Listener className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0/ Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener debug=0/ and you

Re: Need help with Tomcat on Apache on Windows 2000

2002-06-29 Thread Jacob Kjome
You can grab the binary for mod_jk for Apache 2.0.39 from here: http://www.acg-gmbh.de/mod_jk/ just grab mod_jk.dll, put it in your Apache2/modules directory, configure everything else like it says on the flashguides page, and you should be up and running. Jake At 01:24 PM 6/29/2002 +,

Re: Need help with Tomcat on Apache on Windows 2000

2002-06-29 Thread Jacob Kjome
how do I enter this? Maybe Im putting it in wrong.. where do I put this?. and do I just copy and paste it? Include c:/apps/jakarta-tomcat-4.0.3/conf/auto/mod_jk.conf can you have a look pls From: Jacob Kjome [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List

Re: Tomcat Classpath

2002-06-28 Thread Jacob Kjome
Hi Jack, Tomcat ignores your classpath. Believe me, this solves a *ton* of problems. If you want to use the classpath, go back to using Tomcat 2.x.x. I wouldn't give it the time of day now that 3.3.x and 4.x.x are out. Seriously, do yourself a favor and just copy the jar into

Re[2]: TC 4.1.3: JK2 connector dies? cant get isapi_redirector to t alkto tomcat

2002-06-27 Thread Jacob Kjome
Hello Ignacio, I don't think yours statement that jk2.properties is on port 8019 by default. If you comment all the stuff out in jk2.properties, Tomcat just generates a jk2.properties.save which has the following for me: #AUTOMATICALLY GENERATED #Tue Jun 25 11:09:03 CDT 2002 maxThreads=75

Re: mime-type setting

2002-06-25 Thread Jacob Kjome
Check out the Tomcat 4.x.x conf/web.xml. You can use that format and that ordering and apply it to your own app's web.xml. I don't think that Tomcat 3.3.x uses a conf/web.xml. Also, take a look at the dtd by downloading it. It specifies the tag order. Use the URI in your dtd declaration

Re: question about hot deployment and manager app....

2002-06-25 Thread Jacob Kjome
Milt, You can set up a static mod_jk.conf file for Apache to load that includes references to contexts that you may not have installed yet, but you plan on installing. Then, once it is actually installed in Tomcat, the redirector will get the request to Tomcat just fine. Just plan a bit in

Re[2]: tomcat won't load oracle driver

2002-06-25 Thread Jacob Kjome
Hello Les, I run Tomcat 4.1.3 under j2sdk1.4_01 with classes12.zip (renamed to .jar with is absolutely required). I keep it in TOMCAT_HOME/common/lib. I connect to a pretty old Oracle 8 database and a newer Oracle 8i database. Tomcat and Oracle are *not* on the same machine. I have never

Re[2]: R: JDBC Connection

2002-06-25 Thread Jacob Kjome
Hello Chris, FYI, the format used for .jar files is zip. So, if you have a zip file, you can just rename it to .jar and that will be *exactly* the same thing as if you unzipped and then jarred the files. Jake Tuesday, June 25, 2002, 11:07:18 AM, you wrote: CF Its not that it doesn't accept

Re[4]: tomcat won't load oracle driver

2002-06-25 Thread Jacob Kjome
datasource LH or just Class.forName() with the Oracle driver? LH Les -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED]] Sent: 25 June 2002 15:59 To: Tomcat Users List Subject: Re[2]: tomcat won't load oracle driver Hello Les, I run Tomcat 4.1.3 under j2sdk1.4_01

Re[2]: MOD_JK Problem ?

2002-06-24 Thread Jacob Kjome
Hello Mark, A binary version of mod_jk for Windows that works with Apache 2.0.39 has been made available at this site: http://www.acg-gmbh.de/mod_jk/ Note that the only reason the old module didn't work with Apache 2.0.39 is that something changed in Apache, not the Tomcat connectors. The

Re: how to set environment variable in tomcat?

2002-06-24 Thread Jacob Kjome
Hello Johnny, Use context-param's in your web.xml. For instance: context-param param-namedatabaseUrl/param-name param-valuejdbc:postgresql:msrd/param-value /context-param Context parameters can be added to your web.xml near the top of the file after display-name and

Re[4]: MOD_JK Problem ?

2002-06-24 Thread Jacob Kjome
part). Also, I'm trying to build for FM Solaris 8. Got a binary for that? I do, but mine doesn't seem to be FM working. FM Thanks, FM -Mark FM -Original Message- FM From: Jacob Kjome [mailto:[EMAIL PROTECTED]] FM Sent: Monday, June 24, 2002 9:39 AM FM To: Tomcat Users List FM Subject

Re: javax.naming.NamingException: Cannot create resource instance

2002-06-24 Thread Jacob Kjome
Hello Kumar, Try using the username parameter. Also, the solution that has worked flawlessly for me is here: http://marc.theaimsgroup.com/?l=tomcat-userm=102225547106556w=2 Note that this is with the new 4.1.x versions of Tomcat. If you are using 4.0.x versions, your mileage may vary. Jake

Re: mod_jk2 binary available here

2002-06-24 Thread Jacob Kjome
Hello Rory, Actually, a working version of mod_jk2.dll has already been provided by Apache here: http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/nightly/win32/ However, the real issue now is how does one configure all this? Rory, you would be providing a super service to a lot

tomcatAuthentication=false, BASIC Auth, Apache, and CoyoteConnector?

2002-06-24 Thread Jacob Kjome
With the old ajp13 handler, you used to be able to write tomcatAuthentication=false and take the Basic Authentication information from Apache and read it in Tomcat. If you didn't do this, tomcatAuthentication would default to true and a call to request.getRemoteUser() would return null if the

Re[2]: tomcatAuthentication=false, BASIC Auth, Apache, and CoyoteC onnector?

2002-06-24 Thread Jacob Kjome
Hello Ignacio, Sorry Ignacio, I should have mentioned what server I am running. I am running Tomcat-4.1.3 fronted by Apache 2.0.39 on Win2k using mod_jk (not mod_jk2) compiled for 2.0.39. Jake Monday, June 24, 2002, 2:57:22 PM, you wrote: De: Jacob Kjome [mailto:[EMAIL PROTECTED]] Enviado

question about hot deployment and manager app....

2002-06-24 Thread Jacob Kjome
Hi, I've been using the ant tasks for the manager app and they are really slick. Makes testing much easier. However, how does one dynamically install an application when one has to specify context stuff in the server.xml or in a standalone [myapp].xml (using Tomcat 4.1.3)? I'd like to run my

Re[2]: mod_jk /examples/* works but /servlet/* doesn't

2002-06-21 Thread Jacob Kjome
Hello Avnish, here's the scoop. For each context you want to map from Apache to Tomcat, do the following (examples based on the Win32 platform): First, the common stuff at the top of the mod_jk.conf file (Note that you would put the following info in the mod_jk.conf which would be included at

Re: minimal config files for mod_jk2 request....

2002-06-21 Thread Jacob Kjome
Ok, I've seen others clamoring for this in other messages. Surely there is someone out there who has successfully gotten mod_jk2 to work for them. All I ask for is a sample configuration example with *all* files required. I just did this for another person on the list having trouble with

Re[2]: 4.1.3 Beta mod_jk2 ALMOST working

2002-06-21 Thread Jacob Kjome
Hello John, That isn't an issue anymore. The nightly binaries were rebuilt. However, that only includes mod_jk2, not mod_jk. The fact that Rory got Apache running at all means he was using a binary compatible with Apache 2.0.39. Now if someone can provide a configuration example for how

minimal config files for mod_jk2 request....

2002-06-20 Thread Jacob Kjome
Hi, There seems to be sparse documentation on how to configure mod_jk2. Does anyone have some example configuration files and instructions on use? I'll keep searching and post the example myself if I find it. thanks, Jake -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Re: getSession always returns null

2002-06-20 Thread Jacob Kjome
Hello Jerry, don't you need to do getSession(true) in order for getSession to return a non-null session whether one exists currently or not? If you just call getSession(), it will return null if the current session is null (not created yet). Jake Thursday, June 20, 2002, 2:17:45 PM, you

Re: Context I added doesn't load. Tomcat 4.0.3, Mac OS X, java 1.3.1, Apache

2002-06-16 Thread Jacob Kjome
something wrong..however I don't know what it means.. Michael On Saturday, June 15, 2002, at 06:28 PM, Jacob Kjome wrote: The servlet-name parameter inside servlet-mapping must match up *exactly* with the servlet-name inside the servlet element. So, try the follwing exactly as written

Re: Context I added doesn't load. Tomcat 4.0.3, Mac OS X, java 1.3.1, Apache

2002-06-15 Thread Jacob Kjome
/ /Context !-- Tomcat Examples Context -- -- Sorry about this...I really want to develop webapps in Java!! Hmm maybe I should buy WebObjects ... hehe Michael On Friday, June 14, 2002, at 11:54 PM, Jacob Kjome wrote: You need to either provide a servlet mapping for your Hi

Re: manager not accepting the username and password

2002-06-14 Thread Jacob Kjome
Not sure if this is true, but somewhere I read that you have to have both manager and admin roles assigned to the user attempting access to the manager context. Jake At 04:37 PM 6/14/2002 +0530, you wrote: Hi, I have installed my tomcat 4.0.3. i had changed the user name, password and role

Re: Connection pooling doesn't work for me ... Help !!

2002-06-14 Thread Jacob Kjome
AM 6/14/2002 +0200, you wrote: Jacob Kjome wrote: The definitive solution has been provided by Leslie Hughes [EMAIL PROTECTED] here: snip So, please, do yourselves a favor and ignore the docs for a bit on this one. Copy the configuration line for line that Leslie has provided. Then, of course

Re: Context I added doesn't load. Tomcat 4.0.3, Mac OS X, java 1.3.1, Apache

2002-06-14 Thread Jacob Kjome
You need to either provide a servlet mapping for your Hi servlet or access it like this: http://localhost:8080/mine/servlet/Hi Tomcat provides a default servlet mapping of /servlet/* in its web.xml in TOMCAT_HOME/conf Also, you probably want to keep your servlet-name values non-spaced. For

Re: Having trouble getting mod_jk.conf generated...

2002-06-14 Thread Jacob Kjome
I get mine printed out with the following just inside my Host element... Listener className=org.apache.ajp.tomcat4.config.ApacheConfig append=true forwardAll=false/ Jake At 08:47 PM 6/14/2002 -0400, you wrote: Trying to run Tomcat 4.0.3 with APcahe 1.3 on a lInux box

Re[2]: help launching with catalina.bat

2002-06-13 Thread Jacob Kjome
Hello Steven, Actually, you can leave the directory as-is, but refer to it like this: CATALINA_BASE=C:\Apache\Tomcat~1 Do the same for the other environment vars. That give Tomcat a directory to look at with no spaces and NT will resolve the directory to the proper C:\Apache\Tomcat 4.0 Jake

Re[2]: Using catalina run fails...

2002-06-13 Thread Jacob Kjome
Hello Bernard, Well, that is almost certainly not the case. Here is where my catalina install is: C:\Program Files\Apache Group\Jakarta\tomcat-4.1.3 Here is how my CATALINA_HOME environment var is set up: CATALINA_HOME=C:\Progra~1\Apache~1\Jakarta\tomcat-4.1.3 I have absolutely no issues

Re[2]: TC 4.1.3 catalina.jar incomplete (built from source)

2002-06-13 Thread Jacob Kjome
Hello Remy, Related to this, how do I use the Coyote JK2 connector? Where are the documentation and examples of the jk workers and conf files...especially since, by default, the JK AJP 1.3 connector is commented out in the default server.xml in 4.1.3beta. !-- Define a Coyote/JK2 AJP 1.4

Re[2]: TC 4.1.3 catalina.jar incomplete (built from source)

2002-06-13 Thread Jacob Kjome
Hello Remy, Actually, I think I am using a 1.2.0 version, but it doesn't seem to be able to use the AJP 1.4 protocol. Does the CoyoteConnector support the 1.3 protocol, or the just 1.4? Jake Thursday, June 13, 2002, 4:42:21 PM, you wrote: RM Jacob Kjome wrote: Hello Remy, Related

Re: Connection pooling doesn't work for me ... Help !!

2002-06-13 Thread Jacob Kjome
The definitive solution has been provided by Leslie Hughes [EMAIL PROTECTED] here: http://marc.theaimsgroup.com/?l=tomcat-userm=102225547106556w=2 That is for the following configuration: Tomcat 4.0.3 LE JDK 1.4 Build mySQL 4.0.1 alpha mm.mysql 2.0.14 Jakarta-Commons projects DBCP

query unique identifier of a webapp from init()?...

2002-06-12 Thread Jacob Kjome
I'm looking for a way to set unique system properties for any individual webapp. Maybe an example of what I need will help to explain: For instance, I want to set a [unique_webapp_key].log.home system property. so, I would do: System.setProperty([unique_webapp_key].log.home) I don't want to

Re[2]: query unique identifier of a webapp from init()?...

2002-06-12 Thread Jacob Kjome
ChemInformatics -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 3:48 PM To: Tomcat Users List Subject: query unique identifier of a webapp from init()?... I'm looking for a way to set unique system properties for any individual webapp

Re: SOLVED: jdk 1.4 and Oracle drivers

2002-06-11 Thread Jacob Kjome
Hello John, Well, I have been using the classes12.jar in TOMCAT_HOME/common/lib. I've used it with both the JNDI javax.sql.DataSource deal provided by the Jakarta-Commons project and another connection pooler. I've never had a single problem. I've used JDK-1.3.x and JDK-1.4 and haven't had to

Re[2]: Roles in JNDIRealms

2002-06-10 Thread Jacob Kjome
Hello Ryan, Check this out: http://www.peacetech.com/java/files/apache/tomcat/ I haven't used it (nor have I used JNDIRealm at all so far), but I grab stuff that looks like useful info off the list and put it in my Vault ( http://www.personalmicrocosms.com/ ) from time to time. Hopefully it is

Re: sessions with IE6 - browsers opened from within a single browser

2002-06-10 Thread Jacob Kjome
Browsers opened from an opened browser window using something like ctrl+n or window.open() will open within the same memory space. Browser opened by clicking on the icon are opened up in a new memory space. However, I have also seen some weirdness with session sharing in, supposedly,

Re: Classloader question between tomcat 3.3 and 4.0.3

2002-06-10 Thread Jacob Kjome
Do you use Class.forName(MyClass) to load classes anywhere? If so, your libraries in WEB-INF/lib or WEB-INF/classes that attempt to load the caching library in TOMCAT_HOME/lb (called TOMCAT_HOME/shared/lib in 4.1.x) or TOMCAT_HOME/common/lib won't be able to find it because that package was

Re: problem..plz help me out

2002-06-08 Thread Jacob Kjome
2 things I see wrong with your scenario. 1. When you refer to a servlet, you don't append .class to the end of the servlet name. For instance, you wrote: http://localhost:80/examples/servlet/abc.class which should be: http://localhost:80/examples/servlet/abc 2. You are going through port

RE: Servlet / Tomcat question

2002-06-07 Thread Jacob Kjome
Sorry, I was tired when I wrote this and my answer makes no sense. Obviously, the context is lt2001 and the syntax provided by Shapira is propper. The only other reason why this might not be working is that the path in which Tomcat is installed contains spaces. If so, an you are on a

RE: Servlet / Tomcat question

2002-06-06 Thread Jacob Kjome
the /servlet/ mapping is only available off the root of the context. It should work if you go to: http://localhost:8080/servlet/ltshoppingcart.Login Jake At 11:02 PM 6/6/2002 -0500, you wrote: Thanks for the help, but I'm still having problems. The package of the servlet I'm trying to access

Re: Manager App Question

2002-06-04 Thread Jacob Kjome
At 02:00 AM 6/5/2002 +0200, you wrote: Hello Adam, AP I just began playing with the manager app and am confused on how it deploys a new web application. AP Here is the lowdown. AP /opt/jakarta-tomcat-4.0.3/webapps/trips-dev in order to set up a development environment. AP This worked, the

Re: classpath problem

2002-06-03 Thread Jacob Kjome
All Tomcat is doing is expanding the directory. If it was Web-inf there, then that is what it will be expanded as. One thing to do is to make sure that Windows explorer isn't just displaying it that way even though it is properly upper-cased. You might want to look at it though the command

Re: Class org/w3c/dom/NodeList violates loader constraints

2002-06-03 Thread Jacob Kjome
Hello Patrick, Do you have DOM packages in WEB-INF/lib or WEB-INF/classes? If so, this violates the Sun classloading spec and, as of Tomcat 4.0.2, this is enforcedalthough not very cleanly until the latest betas of Tomcat 4.0.4 and 4.1. The solution is to move your DOM classes into a

Re: MS Driver (again)

2002-06-03 Thread Jacob Kjome
Hello Sean, See this email. It has links to a few resources that tell about a proven way to use DBCP. http://marc.theaimsgroup.com/?l=tomcat-userm=102242646003357w=2 Take a look at your parameters. For instance, user should be username. Just check and double check that all your

Re: can't get context to see global classes/jars

2002-05-31 Thread Jacob Kjome
Is finep trying to load the Oracle driver using Class.forName(String aClassName)? You should be using Thread.currentThread().getContextClassLoader().loadClass(String aClassName); That will find your Oracle Driver across multiple classloaders. It is the Java2 way of loading classes and

Re: global resources

2002-05-29 Thread Jacob Kjome
Hello Christian, By chance, are the libraries that you put in TOMCAT_HOME/lib refer to libraries that you put in your webapp's WEB-INF/lib? If so, this just isn't going to work. The WEB-INF/lib libraries can see libraries in TOMCAT_HOME/lib, but not the other way around. For instance, the

RE: Connection Pooling Solution

2002-05-26 Thread Jacob Kjome
See... http://marc.theaimsgroup.com/?l=tomcat-userm=102230335008606w=2 and http://marc.theaimsgroup.com/?l=tomcat-userm=102230398708809w=2 which both reference... http://marc.theaimsgroup.com/?l=tomcat-userm=102225547106556w=2 it provides a pretty definitive and working solution for using

Re: templating system?

2002-05-24 Thread Jacob Kjome
Hello Vincent, Check out Barracuda at http://barracuda.enhydra.org/ Barracuda uses XMLC ( http://xmlc.enhydra.org/ ) to do DOM manipulation to get the data where you need it in your document. Actually, it extends XMLC and provides another level of abstraction. You can use a templating system

Re: Help! Need connection pooling for tc4.

2002-05-24 Thread Jacob Kjome
Hello Mariano, I use BitMechanic's JDBCPool http://www.bitmechanic.com/projects/jdbcpool/ It works great and is very fast. I have also been trying to use Tomcat standard pooling mechanism, but haven't been very successful. I'll be sticking with BitMechanic for now. Jake Friday, May 24, 2002,

RE: tomcat 4.0.3 and Null datasource

2002-05-24 Thread Jacob Kjome
I think you will fine a fine solution here: http://marc.theaimsgroup.com/?l=tomcat-userm=102225547106556w=2 This solved the issue for me...although I am using the latest nightly builds of Barracuda, which use DBCP by default, but you can also use DBCP with Tomcat 4.0.3 as long as you add the

Re: DBCP - BasicDatasource? (yep, BasicDatasource and it works!)

2002-05-24 Thread Jacob Kjome
I'm answering my own question on this. I found my solution here: http://marc.theaimsgroup.com/?l=tomcat-userm=102225547106556w=2 The one thing I added was a slightly different Java code snippet since I return a Connection rather than grab the DataSource and use the connection right there:

DBCP - BasicDatasource?

2002-05-23 Thread Jacob Kjome
I've got a question about setting up a connection pool using DBCP. Back when I was testing the nightly build from 20020404, I could swear I was getting back a PooledDataSource. Now with todays build (20020523), I am getting back a BasicDatasource. The code that I have looks like:

Re[2]: reloading with ant

2002-05-22 Thread Jacob Kjome
Hello John, I wouldn't mind see your working version even if it is copy/pasted. At least we know that it works and can extend from that example. thanks, jake Wednesday, May 22, 2002, 10:07:59 AM, you wrote: -Original Message- From: Marc Logemann [mailto:[EMAIL PROTECTED]] Sent:

Re: What methodologies/systems/practices do you use?

2002-05-20 Thread Jacob Kjome
Hello Michael, Check out http://barracuda.enhydra.org/cvs_source/Barracuda/index_details.html I am a developer of Barracuda and can tell you that it is a fantastic way to develop servlets based on Model 2. It is actually inspired by the way Swing apps work. It uses Components to deal with the

Re: Making progress..Tomcat now started - still getting 500 Status

2002-05-17 Thread Jacob Kjome
you need to put $JAVA_HOME/lib/tools.jar in your classpath. Jake At 06:24 PM 5/17/2002 +0530, you wrote: Hi gary .. i think for this problem u need to include the tools.jar file in u'r class path !! try including that if u haven't and then we can see what else can be done if it still doesn't

Re[2]: User LogIn/LogOut

2002-05-17 Thread Jacob Kjome
Hello JoaquĆ­n, This is a nice thought, but I can disable it by turning off javascript or using a browser that doesn't even support javascript. Javascript is to be used for functional enhancements. It shouldn't be used as a backstop for error handling or any other function that you need to

Re: Form submit question when using frames

2002-05-17 Thread Jacob Kjome
Hello Adam, I believe you just set the target of the form: form target=[target frame name here] Jake Friday, May 17, 2002, 3:31:59 PM, you wrote: AP This is an html question, but I figure a lot of you have run into this. I have a 2 frame page AP with a top and bottom frame. The top frame

Re: Error when running jsp.

2002-05-15 Thread Jacob Kjome
Most likely, you have XML or DOM libraries in your webapp. They are not allowed there according to the Sun classloading spec and, beginning with Tomcat 4.0.2, this is enforced by Tomcat. They must be in the parent classloader in $TOMCAT_HOME/lib or $TOMCAT_HOME/common/lib or as part of the

Re: mod_jk / getRemoteUser()

2002-05-15 Thread Jacob Kjome
Hello Fritz, You need to set tomcatAuthentication=false on your ajp13 connector config in server.xml (if not present, it defaults to true)... Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10

RE: mod_jk not mapping uri successfully for servlets on 3.3.1

2002-05-14 Thread Jacob Kjome
Hmm... you should have the following as the base minimum for any context...in your case, the ROOT context: IfModule mod_jk.c JkWorkersFile /usr/local/tomcat/conf/jk/workers.properties JkLogFile /var/log/tomcat/jk.log JkLogLevel emerg # Static files Alias / /usr/local/tomcat/webapps/ROOT

Re: Commercial support for apache+tomcat on windows

2002-05-13 Thread Jacob Kjome
try http://www.multitask.com.au/default.html?page=mtSOS jake At 05:07 PM 5/13/2002 -0700, you wrote: Hi Does anybody help me finding out right commercial supporting company for apache +tomcat on windows other than covalent ? thanks in advance BM -- To unsubscribe, e-mail: mailto:[EMAIL

Re: getRemoteUser() problem

2002-05-09 Thread Jacob Kjome
Hello Lloyd, On your Connector tag in Server.xml, you need to have tomcatAuthentication=false. It defaults to true. If true, getRemoteUser() will give you a null value. When false, you will get the remote user from Apache. For example: Connector

Re[2]: Tomcat redirect

2002-05-07 Thread Jacob Kjome
Hello joshua, Well, actually, all you've done here is specify a context called servlet which has it's docbase sitting on the file system as /spike/servlet. This would assume that you are on a Unix system and you have a directory called spike off the root of your sytem with a directory called

Re[4]: Tomcat redirect

2002-05-07 Thread Jacob Kjome
fixing this would be trivial). jw Josh jw - Original Message - jw From: Jacob Kjome [EMAIL PROTECTED] jw To: Tomcat Users List [EMAIL PROTECTED] jw Sent: Tuesday, May 07, 2002 12:01 PM jw Subject: Re[2]: Tomcat redirect Hello joshua, Well, actually, all you've done here is specify

Re: Running an external application from a Java servlet environment

2002-05-07 Thread Jacob Kjome
Hello Helen, The media player is a client side thing. It has no clue whatsoever that you sent the media content via a servlet or a static file. You just have to make sure that when you send the content in the response that you set the appropriate mime-type. If the user has media player

Re: Can somebody help me with this one: Choosing between standard Tomcat 4.0.3 and jdk1.4 LE

2002-05-07 Thread Jacob Kjome
Hello Sankaranarayanan, Just download the full version. The only difference is that if you are using JDK1.4, the JDK already contains some of the necessary libraries so they don't need to be included in Tomcat, but it won't hurt anything if they are. Just use the full version and you won't

Re[2]: Help with hiding resources

2002-05-07 Thread Jacob Kjome
Hello Kris, You probably could use a servlet to serve up the .jar file for the applet. In the archive attribute, you could have a call to the servlet which would serve up the .jar file from somewhere other than the public area of the webapp. However, they'd still be able to go to that address

Re: file path problem

2002-05-06 Thread Jacob Kjome
Hello Bharanidharan, Don't confuse the system file path with the URL path. What URL is in your browser on the page that contains the window.open()? window.open will try to find the page relative to your domain root. If you are at: http://www.myserver.com/mywebapp/servlet/myservlets.login

Re[2]: Access to the source code from the beginning

2002-05-06 Thread Jacob Kjome
Hello Emilio, Are you using Apache and mod_jk to front requests to Tomcat? If so, you need to protect the static files or directories using Apache directives. Only if you forward *all* requests to Tomcat or just go directly to Tomcat on port 8080 will the previously mentioned solutions work.

Re[2]: file path problem

2002-05-06 Thread Jacob Kjome
to comprehend the url path. MB thanks MB bharani MB -Original Message- MB From: Jacob Kjome [mailto:[EMAIL PROTECTED]] MB Sent: Monday, May 06, 2002 1:08 PM MB To: Tomcat Users List MB Subject: Re: file path problem MB Hello Bharanidharan, MB Don't confuse the system file path with the URL

Re[4]: file path problem

2002-05-06 Thread Jacob Kjome
/servlet-mapping MB how do i map the html file in my NewLogin.class servlet. i still dont get MB how the webpath is mapped to the system file path... MB sorry for the inconvenience. MB please let me know.. MB thanks MB bharani. MB -Original Message- MB From: Jacob Kjome [mailto

Re: Apache 2.0 Tomcat 4.0 integration on Win 2000: Please help me

2002-05-05 Thread Jacob Kjome
Hi Ryan, Check the archives for the subject: mod_jk for Apache 2 on Win32?. You probably have issues with your mod_jk.conf and/or your workers.properties. I posted my files there as examples of something that works. Of course you need to adapt it for your own purposes, but it should get

Re: Location of *.jsp files

2002-05-04 Thread Jacob Kjome
You put .jsp files in the same place as you would put the .html files for your webapp. However, you do need to make sure that you have the following mapping: JkMount /*.jsp ajp13 Jake At 02:26 PM 5/3/2002 -0400, you wrote: Here is my set up. Windows2000Professional Apache2.0 Tomcat4.0.3

Re: Contexts

2002-05-04 Thread Jacob Kjome
You really need to look at the structure of the other webapps. For instance, look at the examples webapp that comes with Tomcat. Notice that it has a WEB-INF directory with classes and lib directories underneath. That is where servlets go. Also, the web.xml file goes in WEB-INF. *.jsp

Re[4]: Where do I edit /etc/tomcat4/conf/tomcat4.conf in Windows 2000? Want to edit LANG setting

2002-05-02 Thread Jacob Kjome
Hello Tom, Well, how about here: http://www.alexandriasc.com/software/JavaService/source.html Tomcat.exe is simply a program called JavaService: JavaService is a Win32 executable that allows any Java class to be run as an NT service. It uses JNI's invocation API to create a Java Virtual

Re: R: what is needed to connect to mysql

2002-05-02 Thread Jacob Kjome
Hello Gianluca, Or use: Thread.currentThread().getContextClassLoader().loadClass(dbDriver); Instead of: Class.forName(dbDriver); The latter won't find the driver if it isn't immediately within the same classloader as the class calling Class.forName where the first one will find it in parent

Re: The Catalina installation path

2002-05-02 Thread Jacob Kjome
I assume you are using Windows. Just use tilde's to shorten the file path so there are no spaces such as: C:\Progra~1\Apache~1\Jakarta\tomcat-4-nightly-20020404 However, I wouldn't bother with the installer. Just use the zip builds. Jake At 01:25 PM 5/2/2002 +0800, you wrote: Today, I

Re: Apache 2.0 and Tomcat 4.0.3

2002-05-01 Thread Jacob Kjome
Assuming you are using mod_jk JkMount /mycontext/*.jsp ajp13 When specifically doing this, you will have to make sure that you have a JkMount statement for all servlet mappings including default ones like *.jsp and all the ones specified in your own web.xml. At a minimum, you'd also want

Re: No Realm has been configured to authenticate against

2002-05-01 Thread Jacob Kjome
The container can't see your mysql dirver if you put it in WEB-INF/lib...Anything you specifiy in the server.xml for the container to manage needs to be in either server/lib or common/lib. If you also want your webapp to see it also, then the only place for it is common/lib. Jake At 10:09

Re: Getting to work Apache and Tomcat on Win2000

2002-05-01 Thread Jacob Kjome
Yes, everyone has experience problems with mod_webapp on windows. My suggestion is don't use it at all. Use mod_jk until mod_webapp becomes more stable. Jake At 02:28 PM 5/1/2002 +0200, you wrote: Hi Having installed Tomcat 4.0.4-b2 successfully on my Windows 2000 together with the Java

Re: Tomcat Cocoon Question

2002-05-01 Thread Jacob Kjome
Sure, Add the following to your web.xml... welcome-file-list welcome-fileindex.xml/welcome-file welcome-fileindex.html/welcome-file welcome-fileindex.htm/welcome-file welcome-fileindex.jsp/welcome-file /welcome-file-list At least you can do that in the

<    4   5   6   7   8   9   10   >