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 call

Re[6]: file path problem

2002-05-07 Thread Jacob Kjome
te files under MB> Web-inf directory but the template directory is mapped in MB> jetspeedResources.properties file. So i should be able to access the MB> templates under Web-inf directory as jetspeed does. MB> thanks MB> bharani. MB> -Original Message- MB> From: Jacob

Re[4]: file path problem

2002-05-06 Thread Jacob Kjome
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:[EMAIL

Re[2]: file path problem

2002-05-06 Thread Jacob Kjome
ur example below, i.e. MB> http://www.myserver.com/mywebapp/servlet/myservlets.login MB> you mean to say "servlet" in the URL is mapped to "Web-inf" directory under MB> jetspeed??.. i am still unable to comprehend the url path. MB> thanks MB> bharani MB> --

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. J

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 The

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: 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. *.j

Re: Location of *.jsp files

2002-05-03 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: 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 ins

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 c

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 Machin

RE: Which Connector for Tomcat 4.0.3 - mod_webapp or mod_jk

2002-05-01 Thread Jacob Kjome
>For example, mod_jk won't know that we want >Tomcat to process a filter chain against a directory unless we've done a >JkMount for that tree, whereas it would know that Tomcat needs to process a >JSP page. On the other hand, mod_webapp would know about the filter chain >because the resource

Re: db connections and Abusive refresh

2002-05-01 Thread Jacob Kjome
Hello Laurent, Yes, Here is an example. Take notice of how connections, result sets, and prepared statements are guaranteed to be closed in the "finally" blocks: public Site getSite( int _id ) throws SQLException { Connection conn = null; Site newSite= null;

Re[2]: OutofMemoryError

2002-05-01 Thread Jacob Kjome
Hello Laurent, Hmmm -Xincgc Enable the incremental garbage collector. The incremental garbage collector, which is off by default, will eliminate occasional garbage-collection pauses during program execution. However, it can lead to a roughly 10% decrease in overall GC performance From: ht

Re: Tomcat Upgrade question

2002-05-01 Thread Jacob Kjome
Hello Scott, I would only pull in your own webapps rather than all of them. The reason is that the examples, tomcat-docs, admin, etc... that come with tomcat also get updated each release. Jake Wednesday, May 01, 2002, 12:02:30 PM, you wrote: SP> Hello, SP> I am running Tomcat 4.0.3 on NT, a

Re: Cocoon install tomcat4.03/cocoon 2.0.2 on NT Help

2002-05-01 Thread Jacob Kjome
Hello Scott, There are issues with Cocoon2 and Tomcat 4.x.x...especially 4.0.2 and 4.0.3. If you want Cocoon to work as promised by the coocon2 website, try using Tomcat 4.0.2-b2. That is the last version of Tomcat that allows the loading of XML parsers from the WEB-INF/lib directory. Apparentl

RE: Tomcat & Cocoon Question

2002-05-01 Thread Jacob Kjome
Ahh... You are already passing everything to tomcat. IIS is just being used to front web requests to port 80 and forward them to tomcat. IIS doesn't serve any static content the way you have it set up. The lines: /cocoon=$(default.worker) /cocoon/*=$(default.worker) are all you need. No n

RE: Tomcat & Cocoon Question

2002-05-01 Thread Jacob Kjome
IIS is set up to serve static content. It needs to have mappings to know what to forward to Tomcat. What you need to do is put index.xml in IIS's default file list. Then, a call to the root of the directory will get forwarded to index.xml which IIS will then know to forward to Tomcat...as lo

Re: Tomcat & Cocoon Question

2002-05-01 Thread Jacob Kjome
Sure, Add the following to your web.xml... index.xml index.html index.htm index.jsp At least you can do that in the Servlet 2.3 spec. I would suggest upgrading to Tomcat 4.x.x anyway. Jake At 08:45 AM 5/1/2002 -0400, you wrote: >Im using Cocoon 1.8.2 an

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: 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 AM

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: Problem in writing my own web application??????

2002-04-30 Thread Jacob Kjome
hmmm.. you must have missed the email I sent to the list. Check again because I replied to this message. Jake At 04:00 AM 5/1/2002 +, you wrote: >I havent got any answer yet..can anyone please help me on this.. >Thanks much in advance >suresh akula > > >>From: "Suresh Akula" <[EMAIL PROTEC

Re: mod_jk for Apache 2 on Win32?

2002-04-30 Thread Jacob Kjome
t; >[EMAIL PROTECTED] wrote: > > > hi jakes > > > > thanks a lot > > it works for me > > Pls ignore my previous mail regarding autoconf switch. > > I appreciate your help > > BM > > > > Jacob Kjome wrote: > > > > > Hello bm,

Re: Problems with Tomcat 3.1.1

2002-04-30 Thread Jacob Kjome
Hello ayuda, You should seriously consider upgrading from Tomcat 3.1.1. It is ancient and you won't find a whole lot of support for it. Move to tomcat 3.3.x or 4.x.x. If you have questions when using those products, you will probably get some useful response from other users. Jake Tuesday, A

Re: Problem in writing my own web application??????

2002-04-30 Thread Jacob Kjome
Hello Suresh, Your class would have to exist in the root of the "myownservlet" directory in order to be loaded as an applet. This doesn't have anything to do with Tomcat. It has to do with Web server mapping. If you are pulling up the home page in the path: http://localhost:8080/testbasicservle

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

2002-04-30 Thread Jacob Kjome
Hello Tom, A bit more reusable batch command would be: Install Catalina Service: %CATALINA_HOME%\bin\tomcat.exe -install Apache-Catalina %JAVA_HOME%\jre\bin\server\jvm.dll -Djava.class.path=%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tools.jar -Dcatalina.home=%CATALINA_HOME% %CATALINA_

Re[2]: mod_jk for Apache 2 on Win32?

2002-04-30 Thread Jacob Kjome
o ? bpc> Can you please help me doing this apache 2 and tomcat 4 combination? bpc> If you have any small write up ,,, pls send it to me bpc> I appreciate your help bpc> thanks in advance bpc> BM bpc> Jacob Kjome wrote: >> Hello Goetz, >> >> This has been

Re: mod_jk for Apache 2 on Win32?

2002-04-30 Thread Jacob Kjome
Hello Goetz, This has been all over the list so a simple search would be in order here, but here is where you can find the mod_jk.dll for Apache2: http://www.acg-gmbh.de/mod_jk/ You also might neeed an updated workers.properties file. I'll attach mine for reference. Jake Tuesday, April 30, 2

Re: TOMCAT & SSL !!!

2002-04-30 Thread Jacob Kjome
Looks like Steve D. George already answered the SSL setup question, but as far as cookies go. No, you cannot share cookies between http and https. The reason is not a deficiency in Tomcat or Apache, the reason is security. Actually, you might be able to read cookies set in http while in https,

Re: Oracle JDBC driver must be unpacked?

2002-04-27 Thread Jacob Kjome
There are a couple things that could be going on. There are some classloading issues that were introduced in Tomcat-4.0.2 and Tomcat-4.0.3 is a carbon copy of 4.0.2 except for a security fix. One thing you might to is move to Tomcat-4.0.4-b2. The classloading issues have been solved along wi

Re: How do you set up a jsp action/filter for all documents in a directory

2002-04-26 Thread Jacob Kjome
It wouldn't make a whole lot of sense to do this with a .jsp file. Just use a servlet who's only job is to process the files. in your web.xml... fileprocessor com.mycompany.MyFileProcessor fileprocessor /myfiles/* Then, in the MyFileProcessor servlet,

Re[2]: Encoding problem (?)

2002-04-25 Thread Jacob Kjome
Hello Alexander, That isn't true, How about this? jsp *.jsp That is the standard way to map any file ending in .jsp and this is pulled straight from Tomcat-4.x.x conf/web.xml. Do you see a prepended "/"? I don't. Jake Thursday, April 25, 2002, 1:39:09 PM, you wro

Re: request resource not available

2002-04-25 Thread Jacob Kjome
Hello Eric, You misspelled as + why do a URL mapping to map it right back to the package + className? Why don't you do something like: Login /login Jake Thursday, April 25, 2002, 1:06:39 PM, you wrote: EJM> I keep getting an error EJM> "The request resource (/test/Login) is not a

Tomcat-4.1-dev not expanding .war file in webapps dir on startup if I explicitly specify a Context in Server.xml

2002-04-25 Thread Jacob Kjome
I'm probably just missing something, but it seems like my .war file, which I place in the $TOMCAT_HOME/webapps directory should be expanded upon startup of Tomcat, but it isn't when I specify a Context in Server.xml. In fact, it is expanded when I let Tomcat create a Context for it both at start

Re[2]: My Tomcat server doesn't run??????

2002-04-25 Thread Jacob Kjome
Hello Suresh, You also need to specify CATALINA_HOME as an environment variable and set this to "D:\jakarta-tomcat-4.0.3" Jake Thursday, April 25, 2002, 12:17:08 PM, you wrote: SA> these are the steps i took SA> 1)extracted jakarta-tomcat-4.0.3.zip onto D: drive SA> 2)set environment variable

Re: How to detect Timeout and take action consequently

2002-04-25 Thread Jacob Kjome
That's fine, but why would you need to warn the user that the session is almost expired? As long as they are active any time within the 15 minutes they will have another 15 minutes from the time last accessed. This isn't really something you need to keep track of. The only thing you really n

Re: how to include the parser's JAR files in the /WEB-INF/web.xml ?

2002-04-24 Thread Jacob Kjome
It is against the sun classloader specification to have the xml parser and DOM classes inside the WEB-INF/lib. It must be in a parent classloader to the webapp. As of the 4.0.2 release, this is enforced. This means your choice are to put the xml parser in either $TOMCAT_HOME/lib or $TOMCAT_

RE: Problem adding new servlets under Tomcat 4.0.3

2002-04-23 Thread Jacob Kjome
Are you able to run the examples context that comes with Tomcat? Are any servlets in any context actually able to run? That should work. Are there any errors coming up in the logs or console from your context? Jake At 10:29 PM 4/23/2002 -0700, you wrote: >Jacob, > >Thanks for the help, but s

Re: Problem adding new servlets under Tomcat 4.0.3

2002-04-23 Thread Jacob Kjome
In your servlet-mapping, don't include the context name in the mapping. It is assumed. should be: /SimpleHello not: /testapp/SimpleHello You should now be able to access it via... http://localhost/testapp/SimpleHello or http://localhost/testapp/servlet/SimpleHello (note that in this case

Re: using more memory, different classpath

2002-04-22 Thread Jacob Kjome
Hello jason, Monday, April 22, 2002, 2:14:39 PM, you wrote: jw> (1) i received an out of memory exception and would like to know where to tell tomcat to use more memory use environment variables TOMCAT_OPTS (for Tomcat3.2.x or 3.3.x) and CATALINA_OPTS (for Tomcat 4.xx) to add options that Tom

Re[2]: JDBC realm problems

2002-04-22 Thread Jacob Kjome
Hello Ken, Well, then write it as the entity & which is the xml equivalent of "&" as long as the DTD defines that entity. Jake Monday, April 22, 2002, 1:22:56 PM, you wrote: JK> Yes I have. After some more investigation I think the problem is this: the JK> entry in server.xml is like this user

Re: Tomcat as an NT Service.

2002-04-22 Thread Jacob Kjome
Hello ari, Which version of Tomcat? If 4.0, then you don't use jk_nt_service.exe. You use Tomcat.exe that is in the $TOMCAT_HOME/bin directory. Just use the following to install/uninstall the service (copy/paste the lines below to the command line...assuming you've set up the environment varia

RE: Apache 2 and Tomcat 4 on Windows!!@#$!

2002-04-19 Thread Jacob Kjome
Sure it does. Just download the precompiled mod_jk.dll binary from: http://www.acg-gmbh.de/mod_jk/ Then include the attached "mod_jk.conf" at the *bottom* of your httpd.conf.  Note that this was autogenerated from Tomcat 3.3.1 using -autoconf when starting Tomcat.  I just changed some of the value

Re: weird tomcat behaviour

2002-04-18 Thread Jacob Kjome
Hmm... This may not apply to your case, but if you use Apache to catch Basic Authentication for an app (using the directive, for instance), in order for Tomcat to see the result of the username that was allowed through Apache in a servlet, you need to set up Tomcat with the following: Noti

Re: Problem with third party JAR file in WEB-INF/lib

2002-04-18 Thread Jacob Kjome
See comments from Remy Maucherat in the following bugs: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6374 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6248 There were classloader changes in 4.0.2 (same in 4.0.3) that causes the webapp classloader to not load xml and dom classes. It i

Re[4]: How to run tomcat as service program in Win2k [[HELP]]

2002-04-11 Thread Jacob Kjome
Hello Eric, Hmmm... you probably should be using "server" for Tomcat...since it is a server and not a client side gui app, but it should still run in either of the other two. Not sure what else the problem could be at this point? Jake Thursday, April 11, 2002, 11:37:21 AM, you wrote: DE> Tha

Re[2]: How to run tomcat as service program in Win2k [[HELP]]

2002-04-11 Thread Jacob Kjome
Hello Eric, What JDK are you using? If you are using JDK1.4, there is no such thing as "%JAVA_HOME%\jre\bin\classic\jvm.dll". With 1.4, you have a choice between "client" and "server". JDK1.3.1 still has "classic", though. Jake Thursday, April 11, 2002, 11:29:00 AM, you wrote: DE> I've fol

Re: /lib and /common/lib What's the difference?

2002-04-10 Thread Jacob Kjome
Hello August, $CATALINA_HOME/lib is for libraries that you want to share with all youru webapps, but don't want the container to see (to avoid conflicts with the container) $CATALINA_HOME/common/lib is for libraries that you want to share with all your webapps, like above, but the container also

Re: Starting Tomcat 4 as an NT service

2002-04-09 Thread Jacob Kjome
01:48 PM 4/27/2002 -0700, you wrote: >On WinXP, I found I had to do >%CATALINA_HOME%\bin\tomcat.exe -uninstall "Apache Tomcat" >To uninstall the Tomcat Service. > >%CATALINA_HOME%\bin\tomcat.exe -uninstall Apache-Catalina >gave me a cryptic error about "overlappe

Re[2]: Starting Tomcat 4 as an NT service

2002-04-09 Thread Jacob Kjome
Hello rsudama, Just a note. I've posted this answer twice before on this list. Please search the archives because it *has* been answered and I gave the solution in the email and didn't ask anyone to search anywhere for the answer. Anyway, here it is again: I distilled the following from this a

Re[2]: Oracle Drive and Tomcat 4

2002-04-05 Thread Jacob Kjome
Hello Eric, Why would you need to do that? jar file use the zip format, so you don't gain anything. I renamed the oracle driver to .jar from .zip with no other changes and it works like a dream. What is your basis for saying this...or are you just being extra careful? Jake Friday, April 05,

Re[2]: Where is the conf/auto directory in 4.03?

2002-04-05 Thread Jacob Kjome
Hello Arnaud, So, that goes inside any defined tag? So every webapp needs to be mentioned in the Server.xml file with that line inside in order to generate the auto/mod_jk.conf? Seems like kind of a pain. Is there some way to generate that info while the server is running like in Tomcat3.3.x?

Re: Problem in starting tomcat

2002-04-04 Thread Jacob Kjome
Hmm.. my first thought is try upgrading the JDK and see if that fixes it. I don't know why it shouldn't work with 1.2.1, but, then again, that is seriously old. Try 1.3.1_02 or 1.4.0 (and put xerces-1.4.4.jar in jdkdir/jre/lib/endorsed directory). If this fixes, it, then you might want to re

Re: someone help me !!!!..urgent...

2002-04-04 Thread Jacob Kjome
You can't just add your oracle dirver to the system classpath and expect tomcat to pick it up for availability to your webapps. You need to put the oracle driver either in your webapp's WEB-INF/lib directory or in the Tomcat/lib directory (for accessibility to all webapps). BTW, I'm not sure

Re: HTML special chars - convert

2002-04-04 Thread Jacob Kjome
Run the html through jtidy. http://sourceforge.net/projects/jtidy Jake At 06:03 PM 4/4/2002 -0500, you wrote: >using java how can I convert (unescape) html special chars like
>to ? > > >regards > >-- >To unsubscribe: >For additional commands:

Re: is their a way to run tomcat as a service

2002-04-04 Thread Jacob Kjome
Here you go: To run Tomcat4.x.x as a service, past the following into a command line: Install Catalina Service: %CATALINA_HOME%\bin\tomcat.exe -install Apache-Catalina %JAVA_HOME%\jre\bin\server\jvm.dll -Djava.class.path=%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tools.jar -Dcatalina.

RE: Working Directory

2002-04-03 Thread Jacob Kjome
That might work in most cases, but it won't find the file in a container that doesn't expand the .war archive. The following will read it whether in a directory structure or in a .war archive: InputStream is = getServletContext().getResourceAsStream("/WEB-INF/myApp.properties"); If the file

Re: Communication Link Failure

2002-04-02 Thread Jacob Kjome
When you close your connections, do you do it in a finally block? I'm not saying that this is definitely causing your problem in this case, but it most definitely will become a problem later. If your sql breaks before closing the connection, your connection is left dangling. Same goes for P

Re: Libraries problem

2002-04-01 Thread Jacob Kjome
Hi Raymond, Supposedly having the XML parser in the webapp itself is against the Sun classloading spec. The spec was beginning to be implemented in 4.0.2 (in fact, if you look at 4.0.2-b2, you still get the 4.0.1 behavior). 4.0.3 is pretty much an exact copy of 4.0.2 except with a security f

Re: Servlets directly accessible from browser

2002-03-31 Thread Jacob Kjome
There are a couple concepts to understand here: 1. unless you provide a mapping to your servlet, the Servlet engine won't find it for you. Servlets are not directly loadable. Static files are (as are .jsp's). Servlet mappings are set up in the web.xml. In Tomcat, a default servlet mapping

Re: Problems starting Tomcat 4.03 using J2EE 1.3.1 / SDK 1.4

2002-03-30 Thread Jacob Kjome
You need to use an endorsed xml parser to override the one that j2sdk1.4.0 now includes as a standard extension. Now, this does not mean put an xml parser in the jre/lib/ext directory. This is very different. What you need to do is create a directory in C:\j2sdk1.4.0\jre\lib called "endorsed

Re: WARP acronym?

2002-03-30 Thread Jacob Kjome
Probably "Web Application Archive Protocol" since .war files are Web Application Archives Jake At 10:41 AM 3/30/2002 -0500, you wrote: >In my meanderings around the web I found that AJP is an acronym for >Apache JServ Protocol - this got me wondering - > >Does anyone know if WARP is an acrony

Re: Virtual Paths and Tomcat?

2002-03-30 Thread Jacob Kjome
In your web.xml, just add the following mapping: mlservlet MediaLibrary mlservlet /servlets/medialibrary/* That should do it. Now a call to any path starting with /servlets/medialibrary will call the MediaLibrary servlet and the rest such as "/audi

classloading issues with log4j in Tomcat...

2002-03-29 Thread Jacob Kjome
I am having some problems with classloading issues in Tomcat-4.0.4-b2 (also in 3.3.1, but I'm more interested in Tomcat-4.xx). I use an open source presentation framework called Barracuda (http://barracuda.enhydra.org/). Barracuda classes that serve as wrappers for log4j-1.2-b4's Logger class.

RE: How to get around a tricky situation.

2001-04-03 Thread Jacob Kjome
the loading of images is a function of your browser after the page has been sent by the server to it. The only way I can think of doing this (barring some funky Java class like ReturnImagesFromContextInterceptor.class, which I'm not sure how you'd do?) is to prefix all your /images/ reference

RE: curious behavior - pseudo servlet-mapping with mod_jk

2001-01-03 Thread Jacob Kjome
y under /WEB-INF/classes. Most servlet-containers will have a similar mechanism, but I don't think there's really a standard, so for production you'd better use the standard entries. Luc Vanlerberghe Jacob Kjome wrote: > > I just noticed something that seems to work for me, but

curious behavior - pseudo servlet-mapping with mod_jk

2001-01-03 Thread Jacob Kjome
I just noticed something that seems to work for me, but I can't determine quite why? Maybe someone can confirm that this is expected behavior or not. I am running Tomcat 3.2.1 on Windows 2000 It seems that if you have a servlet registered in web.xml like this: quiz Quiz

Re: Alias question

2000-12-31 Thread Jacob Kjome
You have nothing telling tomcat to map a URL to your registered servlet. You would do that like this: hello foo.bar.baz.HelloWorld hello /hello note that the "" does not have anything to do with mapping a URL. It is strictly for referring to a specifi

Re: How to be sure that ajpv13 is being used ?

2000-12-28 Thread Jacob Kjome
Keep in mind the mod_jk.conf-auto file is there for your convenience only.  ajp13 and ajp12 are only used to communicate with Apache Web Server through the mod_jk connector.  Whatever you include will be used. You seem to be duplicating efforts.  You are inlcuding the mod_jk.conf-auto and then re

Re: AW: About jk_nt_service

2000-12-26 Thread Jacob Kjome
Make sure the wrapper.properties file does not have any spaces in the the paths listed in that file. For instance, instead of: wrapper.tomcat_home=C:\Program Files\Apache Group\Jakarta\Tomcat use: wrapper.tomcat_home=C:\Progra~1\Apache~1\Jakarta\Tomcat Any paths with spaces cause the error

Re: Alias tag doesn't work (T4)

2000-12-26 Thread Jacob Kjome
A word of caution. Netscape 3.xx and 4.xx have a problem where they will not read cookies properly when the domain is not legal. That is, they treat: www.myhost.com and myhost.com as two different domains IE and Opera are both kinder and gentler with this and treat them as the same. I re

Re: AW: How to access servlets without prefixes

2000-12-26 Thread Jacob Kjome
I believe Craig McClanahan already answered this one. What you are doing with Tomcat and Cocoon2 is fine with Tomcat 3.1 and 4.0, but the global web.xml in the conf directory will NOT work in Tomcat 3.2. It was changed because of some security (I think??) problem. Move to Tomcat 4.0 since you

RE: Location of application-specific configuration files

2000-12-21 Thread Jacob Kjome
Here is a solution for non-platform specific reading of files whether they be directly on the file system or in a .jar archive: Note: This example utilizes the java.util.Properties class. You can do whatever you need, though. The technique should be pretty much the same Properties props = n

Re: wrapper.classpath

2000-12-21 Thread Jacob Kjome
Neither, You'd set this up in your startup scripts (.sh if you are on linux and .bat on windows) or in your wrapper.properties file if you are running jk_nt_service.exe to run tomcat as an NT service. Jake At 09:14 AM 12/21/2000 -0200, you wrote: >Into jserv.properties, I'd do: >wrapper.

Re: Tomcat milestone 5

2000-12-20 Thread Jacob Kjome
So, where are the win32 connectors? Why just the Linux connectors? jake At 05:52 PM 12/20/2000 -0800, you wrote: >Max Bardetti wrote: > > > > Thanks Craig, I missed those lines in server.xml > > I will give it a try. > > > >Kewl > > > The release notes said that it was not stable yet. > > What'

Re: problems running Tomcat 3.2.1 as Service..

2000-12-20 Thread Jacob Kjome
Check the archives of this list. it's been said a thousand times, but here goes once more. This is a known bug in JDK 1.3. You can avoid this by using JDK 1.2 or by using another NT Service manager such as: Logoff bug fixed for next iteration of JDK 1.3 http://developer.java.sun.com/develop

RE: link problem

2000-12-18 Thread Jacob Kjome
You can use: ":" + request.getServerPort() jake -Original Message- From: MK [mailto:[EMAIL PROTECTED]] Sent: Monday, December 18, 2000 2:58 PM To: [EMAIL PROTECTED] Subject: link problem I have a problem which breaks my head :-) I am using Tomcat 3.2.1. Here is what I have in ser

building URL's?

2000-12-13 Thread Jacob Kjome
What is the best way to build URL's without hardcoding them? Right now, I have tried this: SERVLET_HOME = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + request.getRequestURI(); DOCUMENTS_HOME = request.getScheme() + "://" + request.getServerName() + ":

RE: Advices for IIS-Tomcat integration & Service configuration

2000-12-13 Thread Jacob Kjome
One thing to add... You can use long names for directories as long as you do it like the following: C:\Progra~1\Apache~1\Jakarta\Tomcat would be equivalent to C:\Program Files\Apache Group\Jakarta\Tomcat I have use this in my integration with both Apache Server and IIS and it works fine. Ja

RE: 404 with isapi_redirect.dll, tomcat3.2

2000-12-13 Thread Jacob Kjome
Have you restarted the server or the simply the IIS service? I was having these sorts of problems until the machine was rebooted due to maintainance on some unrelated stuff. If you haven't done this, do that and then report back to the list if it continues to behave this way. Jake -Origina

RE: mod_jk and Apache on Windows NT

2000-12-07 Thread Jacob Kjome
Where is LoadModule pointing??? Did you enter them yourself or did you let Tomcat create the mod_jk.conf-auto, then include that or copy that info to another file and then include that file in httpd.conf? I would recommend the second way. Make sure the mod_jk.dll is located in [apache home]/mod

RE: Tomcat, JSP and Cache

2000-12-07 Thread Jacob Kjome
Kim, It looks like you are heavily involved in working on bug fixes for Tomcat. Given that, I would suggest you get in contact with someone at the Apache Group and see if you can't get more access. From my perspective, it looks like your involvement would be both rewarding to you and very b

Re: Additional Context

2000-12-05 Thread Jacob Kjome
I had the same problem.  I was able to see examples app, but was not able to set up any other contexts. Jake At 12:12 PM 12/5/2000 -0800, you wrote: I have successfully installed tomcat as an out-ot-process server.  I can view the examples directory and execute the examples.   My problem is in

jdk1.3_01 and jk_nt_service question?

2000-12-01 Thread Jacob Kjome
Title: jdk1.3_01 and jk_nt_service question? Does anyone know if the bug fix release of jdk1.3_01 fixes the logoff issue with jk_nt_service? I'd like to install 1.3_01 on a development machine, but I'll have to stick with jdk1.2.2_06 if that issue hasn't been resolved. Jake

Re: j_security_check mapping

2000-11-30 Thread Jacob Kjome
Mike, I'm confused as to what you mean here?  First of all, what is that "iristafulfill" context?  Is that you own?  I also looked for a class file called "j_security_check.class" and I didn't find it anywhere in the sample context or any other context that comes with 3.2 final. Can you or someo

RE: isapi_redirect.dll - Where is it?

2000-11-29 Thread Jacob Kjome
eta >software. > >-Original Message----- >From: Jacob Kjome [mailto:[EMAIL PROTECTED]] >Sent: 29 November 2000 15:25 >To: [EMAIL PROTECTED] >Subject: Re: isapi_redirect.dll - Where is it? > > >Really, I can't believe anyone would want to continue to use Tomcat >3.1.

Re: isapi_redirect.dll - Where is it?

2000-11-29 Thread Jacob Kjome
Really, I can't believe anyone would want to continue to use Tomcat 3.1. Tomcat 3.2 (even in the early betas) has been far better. Also, you will find all files extra files in the 3.2 downloads. The most current would be 3.2 beta 8. If you still want to use Tomcat 3.1, just grab the extra

RE: Why tomcat NT service get killed when the user log off

2000-11-15 Thread Jacob Kjome
Title: Why tomcat NT service get killed when the user log off Make sure you search the archives before you send a question like this again.  It has been answered a hundred times or more.   One more time,   The problem is not with Tomcat, it is something inherent to JDK 1.3 from Sun.  It is

making mod_jk.conf-auto default to ajp13???

2000-11-13 Thread Jacob Kjome
Gal Shachor wrote: At 09:30 AM 6/23/2000 +0200, you wrote: This does require you to change mod_jk.conf, or just to change the ApacheConfig task and recompile... From the above statement, it sounds like the only way to get Tomcat to spit out a mod_jk.conf-auto file that uses ajp13 rather than

making mod_jk.conf-auto default to ajp13???

2000-11-13 Thread Jacob Kjome
Gal Shachor wrote: At 09:30 AM 6/23/2000 +0200, you wrote: >This does require you to change mod_jk.conf, or just to change the >ApacheConfig task >and recompile... From the above statement, it sounds like the only way to get Tomcat to spit out a mod_jk.conf-auto file that uses ajp13 rather th

Re: Cocoon with Tomcat 3.2 beta6?

2000-10-27 Thread Jacob Kjome
I got Cocoon 1.8 working with Tomcat 3.2 b6. I even have it working through the Apache mod_jk connector. Really, I just followed the standard install procedure on Cocoon's site and set followed the standard setup for any basic servlet context. I had to make a cocoon context. Not sure if the

RE: Where is the wrapper.properties template file?

2000-10-24 Thread Jacob Kjome
There is one there if you have the 3.2 betas. At least the 3.2b6 has it. I think even 3.2b3 had it. 3.1 does not. You will have to find it from the cvs source in that case, or just download 3.2b6, grab the wrapper.properties file and discard the rest. Jake -Original Message- From: Wa

RE: servlet-mapping question

2000-10-20 Thread Jacob Kjome
Ah yes, the whole "can't do automatic configuration of servlet mapping" issue. You should only have to write about your mapped servlets in one place, the web.xml file in the WEB-INF directory within a given context. The -auto files should account for the servlet mappings you wrote there, but a

<    5   6   7   8   9   10