Re: include a class

2003-03-03 Thread kwolff
Thanx a lot. i using the tomcat and for a perl-man, like me, it is very confusing. but know it works. i took your 2. exp. Thanx Kris Am 28 Feb 2003 um 10:49 hat Lindomar geschrieben: Kris, first, does your webapp started fine? If yes, we can have some situations for one class works in jsp

Re: confused student

2003-03-03 Thread Kwok Peng Tuck
Jsp's can use classes, just import the class you want in the jsp page. I think there is a EJB pdf book somewhere on the web, you might want to have a look at it, the name escapes me for the moment. java.sun.com has tutorials on jsp that are quite easy to follow. There are also some simple

RE: include a class

2003-03-03 Thread Andy Eastham
If you can understand perl, surely nothing can be confusing ;-) Andy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 03 March 2003 08:36 To: Tomcat Users List Subject: Re: include a class Thanx a lot. i using the tomcat and for a perl-man, like me, it

Tomcat running under IIS

2003-03-03 Thread Trevor
Hello, I am trying to run IIS and tomcat in an application, with each on its own machine. I can run Tomcat under IIS using the isapi_redirect if they are on the same machine, but I cannot figure out how to separate the two(on different machines). I am running IIS 5.0 and tomcat 4.06 Is there a

Web Page Caching

2003-03-03 Thread venkat ramana
Hi I am new to Tomcat server. Can you tell me does Tomcat support web page caching if supported tell me techincal detials how this is done. Thanks in advance Thanks and warm regards Venkat Regards Venkat - To unsubscribe,

cache image

2003-03-03 Thread Herbert Yau
Hi list, This question might be asked in the list before, but I can not found any good answer in the archive so please forgive me if i ask a stupid question here. I am currently building a web site and there are some places that I would like to use image swap (you know, the standard

Stop logging from isapi_redirector2.dll

2003-03-03 Thread Konrad Rusz
Hi everyone. I have a problem. I have connected IIS 5.0 and Tomcat 4.1.18. I use JK2 and I cannot stop logging events in Windows Application Log from isapi_redirector2.dll. I have added reg key as follow (in Windows 2000 Server SP3): [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software

configuring a Jakarta Tomcat on Solaris

2003-03-03 Thread Oleksiy Podopryhora
Hi there, I am configuring a Jakarta Tomcat on Solaris for our students. Since I have no experience with subject I decided to ask for your help and advice in order to avoid unnecessary mistakes. I have installed Tomcat on the port 8080. On our system everybody has an account so I added

Help Needed!!!!

2003-03-03 Thread Anoop Verma
Hi, I have a requirement in which i need to load the servlet on startup. The Servlet then performs some database activities. But when i try to it, my servlet loads twice and later on give the following error. TyrexDataSourceFactory: Cannot create DataSource, Exception

Re: Help Needed!!!!

2003-03-03 Thread joe
your main problem is: java.lang.ClassNotFoundException: org.hsql.jdbcDriver be sure the jdbcDriver is in your tomcats (or your applications) classpath! put the hpyersonic jdbc driver jar in your tomcat-home/common/lib OR put the hpyersonic jdbc driver jar in your web application (into the

RE: Internal Server Error

2003-03-03 Thread Turner, John
What happens if you delete the lbfactor line? It's not necessary, and may be confusing things. John -Original Message- From: Adam Denenberg [mailto:[EMAIL PROTECTED] Sent: Saturday, March 01, 2003 9:51 AM To: Tomcat Users List Subject: Re: Internal Server Error Still tested

RE: HELP ! RE:RE: RE:setting up tomcat 4.1

2003-03-03 Thread Turner, John
If you can see Tomcat on port 8080 then it is running. John -Original Message- From: Curtis Seyfried [mailto:[EMAIL PROTECTED] Sent: Saturday, March 01, 2003 1:10 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: HELP ! RE:RE: RE:setting up tomcat 4.1

RE: mod_jk error

2003-03-03 Thread Turner, John
Try deleting the lbfactor line from your workers.properties file. It's not necessary when you only have one worker defined, and it may be causing confusion to mod_jk.so. John -Original Message- From: Adam Denenberg [mailto:[EMAIL PROTECTED] Sent: Saturday, March 01, 2003 8:36 PM

Re: HELP ! RE:RE: RE:setting up tomcat 4.1

2003-03-03 Thread Ben Souther
You need to set your JAVA_HOME environment varible. Your system is probably trying to use the wrong Java runtime. I know this always happens to people who have Dreamweaver installed on their machines. On Monday 03 March 2003 08:03 am, Turner, John wrote: If you can see Tomcat on port

Simple Question

2003-03-03 Thread Vy Ho
I have a very simple question, and if you are a bit experienced in tomcat, you probably would know. I would really appreciate any links, hints, tips or advices. The question is this, if I change an application deployment file (web.xml), and then use the tomcat manager to restart the

Re: mod_jk error

2003-03-03 Thread Adam Denenberg
Hmm, tried that but still no luck. I still get the following [Mon Mar 03 08:16:00 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/examples/jsp/dates/date.jsp' [Mon Mar 03 08:16:00 2003] [jk_uri_worker_map.c (558)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match

RE: mod_jk error

2003-03-03 Thread Turner, John
No other ideas, really. In the past, problems like this have come down to something really simple, such as using an el (l) instead of a one (1) in ajp13 and other typo-related problems (or permission problems). My eyesight isn't as good as it used to be, but it looks like you have ajp13 typed

RE: Any changes on listener cofiguration for TC4.1?

2003-03-03 Thread Shapira, Yoav
Howdy, I've written several implementations of HttpSessionListener for various apps, using tomcat 4.0.x and 4.1.x. They're all working, none needed to be changed in migrating from 4.0.x to 4.1.x. The configuration (listener element in web.xml) has not changed at all. Yoav Shapira Millennium

RE: heck of a time

2003-03-03 Thread Shapira, Yoav
Howdy, First problem, is that no matter how I try and configure it, I can't get tomcat 5 to talk to/with my IIS server (using jk2). Has anyone managed to get this working? I doubt it. Tomcat 5 is barely alpha. Everything in it is subject to change, and I wouldn't be surprised if there were

Re: mod_jk error

2003-03-03 Thread Adam Denenberg
Thanks john. Does this error come from a problem in the workers.properties file, or an entry in the httpd.conf do you know? It seems that mod_jk finds the match fine in the httpd.conf file, but then when tries to use a worker it for some reason can not. I have debug on but am missing the piece

RE: upgrade from 4.0 to 4.1

2003-03-03 Thread Shapira, Yoav
Howdy, I tried to do a simple upgrade from 4.0.4 to 4.1.18. I simply copied the file structures of 4.1.18 over the top of those for 4.0.4. I presume this should do it but in fact I now get a message that Tomcat can't find the compiler. It is suggesting that perhaps my JAVA_HOME variable isn't

RE: XML problem with Tomcat 4.1.18 (but was ok in 4.0.4)

2003-03-03 Thread Shapira, Yoav
Howdy, This whole thread might be related to other one, regarding your upgrade method of simply copying over. You may end up with mismatching internal tomcat jars. Yoav Shapira Millennium ChemInformatics -Original Message- From: neal [mailto:[EMAIL PROTECTED] Sent: Saturday, March 01,

mod_jk2 throw these errors in apache error_log

2003-03-03 Thread Ori Tend
I'm getting tons of these errors in my apache2 error_log. Is anyone familiar with that? [error] channelSocket.receive(): Error receiving message body -1 11 [error] workerEnv.processCallbacks() Error reading reply [error] ajp13.service() ajpGetReply recoverable error 12 [error]

Re: mod_jk error (jk_map.c ERROR)

2003-03-03 Thread Adam Denenberg
I have identified the problem to be in the jk_map.c file. For some reason when jk_worker.c calls map_get() in jk_map.c, it does not get a value back and thus produces this error. Anyone good in C or who works on mod_jk source know why this would happen ? thanks Adam On 3/3/03 9:12 AM, Adam

RE: mod_jk2 throw these errors in apache error_log

2003-03-03 Thread Phillip Qin
I encountered similar errors except that graceful restart. My errors usually occur when I open up a new jsp page (yet to compile). Regards, PQ This Guy Thinks He Knows Everything This Guy Thinks He Knows What He Is Doing -Original Message- From: Ori Tend [mailto:[EMAIL PROTECTED]

WebDav

2003-03-03 Thread Anthony Smith
I got the latest version of Tomcat.It is on a Linux Box. I wanted to use webdav inorder to give our developers the ability to modify files in our webapps in Tomcat w/o having to login to the box and do vi or something, w/o having to ftp files over or without having to scp files over. We all use

Re: WebDav

2003-03-03 Thread apaliwal
Hi, I am not familiar with webdav. What it, any links?? What your are trying to achieve is perfectly possible. I did something similar. First of all what sort of files you want to edit in webapps. They are JSPs and some other text file, as servlets class files are present, which you would

Mime-Type

2003-03-03 Thread Anthony Smith
I did not know where ask to else this question. Is there a mime-type for a jsp? If so, what is it? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

HELP: error Cannot open connection warpConnection

2003-03-03 Thread jo outen
Running tomcat 4.1.18 with apache 1.3.27 and mod_webapp on Solaris 8 SPARC The application runs fine for 2 to 3 three hours and then this error message occurs and tomcat dies. If tomcat is restarted then it works fine. Can anyone point to what is causing this error message or where I can find

Re: Mime-Type

2003-03-03 Thread Lloyd A Duke
jsp typically when compiled and executed responds with html. So I believe you are looking for text/html.. Anthony Smith wrote: I did not know where ask to else this question. Is there a mime-type for a jsp? If so, what is it?

RE: Mime-Type

2003-03-03 Thread Shapira, Yoav
Howdy, Typically, text/html as that's what the browser sees. However, in a JSP (since it's really a servlet), you can set the response content type to whatever you want, e.g. gzip or application/ms-excel. Yoav Shapira Millennium ChemInformatics -Original Message- From: Anthony Smith

RE: Mime-Type

2003-03-03 Thread Turner, John
JSPs are never served to a browser as JSP. They generate output. That output has the appropriate MIME type, such as text/html for typical scenarios. Other MIME types used are image MIME types and MIME types for things like spreadsheets, word processors, and other external applications. If JSP

Re: Mime-Type

2003-03-03 Thread Jon Wingfield
A compiled jsp is a servlet. The content returned from a servlet can be pretty much anything ;) Most likely the returned content will be text/html Anthony Smith wrote: I did not know where ask to else this question. Is there a mime-type for a jsp? If so, what is it?

RE: Tomcat 4.1.18 crashes on Win2K

2003-03-03 Thread Phillip Qin
My question is why didn't you use a stable mod_jk build? Regards, PQ This Guy Thinks He Knows Everything This Guy Thinks He Knows What He Is Doing -Original Message- From: Cameron Hart [mailto:[EMAIL PROTECTED] Sent: March 2, 2003 11:57 PM To: [EMAIL PROTECTED] Subject: Tomcat

TOMCAT INSTALLATION

2003-03-03 Thread M A
Hi, I downloaded tomcat-4.1.18.zip and following the installation precisely on my Window XP machine (PC standalone) However, when I typed http://localhost:8080, blank page appear no error messages shown. Please help me figure out how to set up Tomcat to run servlet. I have jdk 1.3 installed.

RE: Mime-Type

2003-03-03 Thread Barney Hamish
Remember to set the appropriate mime type for javascript (text/javascript) and css (text/css) files too. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 4:45 PM To: 'Tomcat Users List' Subject: RE: Mime-Type JSPs are never served to

Installing Tomcat on WinXP with Apache/PHP/mySQL setup

2003-03-03 Thread Denise Mangano
Hi all :) I have a *simple* question. I want to set up Tomcat on my local machine for testing / playing around. I'm not sure if anyone is familiar with phpdev - but phpdev is basically a pre configured version of apache/PHP/MySQL. I have this installed, and it comes packaged with Apache

RE: Installing Tomcat on WinXP with Apache/PHP/mySQL setup

2003-03-03 Thread Turner, John
Off the top of my head I would say change httpd.conf to load mod_jk.so, add your JkMounts and the other JK stuff, and you should be good to go. Unless, of coures, the httpd that came with that package won't except dynamically loaded modules. John -Original Message- From: Denise

web.xml file

2003-03-03 Thread Ben Austin
I am using Tomcat 3.2 and have two questions regarding specifying servlet aliases in web.xml files: 1. As I understand it, my directory structure should have a servlet(s) folder at the root. Inside should be a folder named WEB-INF. Inside the WEB-INF folder I should have a web.xml file

RE: Mime-Type

2003-03-03 Thread Hostmaster of the day
Ladies and Gentleman, .jsp (e.g. index.jsp) is indeed a MIME type. Apache will know this MIME type by the following code if you are using mod_jk as module: JkMount /*.jsp ajp13 --Dave Howdy, Typically, text/html as that's what the browser sees. However, in a JSP (since it's really a

RE: web.xml file

2003-03-03 Thread Shapira, Yoav
Howdy, 1. As I understand it, my directory structure should have a servlet(s) folder at the root. Inside should be a folder named WEB-INF. Inside the WEB-INF folder I should have a web.xml file specifying my servlet aliases and a classes folder. Lastly, my .class files should be in the classes

RE: Mime-Type

2003-03-03 Thread Shapira, Yoav
Howdy, .jsp (e.g. index.jsp) is indeed a MIME type. Apache will know this MIME type by the following code if you are using mod_jk as module: JkMount /*.jsp ajp13 Do NOT confused MIME type with file extension. The two are different. *.jsp is an extension. JSP is not a mime type as commonly

RE: Installing Tomcat on WinXP with Apache/PHP/mySQL setup

2003-03-03 Thread Denise Mangano
John - it appears that the httpd that came with the program accepts dynamically loaded modules, so I think I will be OK with the mod_jk connector. I've only installed tomcat on a linux machine. For the WinXP machine is it better to go with the Tomcat binary that comes in the zip file, or the

RE: Installing Tomcat on WinXP with Apache/PHP/mySQL setup

2003-03-03 Thread Turner, John
I use the EXE, which will run an installer when you execute it. That way, you can choose to run Tomcat as a service or not just by checking the option in the installer instead of having to get medieval on the command line later. John -Original Message- From: Denise Mangano

Re: Simple Question

2003-03-03 Thread Swapneel Dange
even if u dont restart the SERVER again, the moment u open the new browser the web.xml should be read again. But at time if this doens work then its better to RESTART the server. After that the new web.xml will be read for sure. Are u sure that ur mapping for the servlets and all that stuff is

Re: TOMCAT INSTALLATION

2003-03-03 Thread Swapneel Dange
hey ! Just check whether TOMCAT was downloaded properly. i had the same error for the reason that there was no LOGS forlder created automatocally while downloading TOMCAT and the second time there was no index.html present inside the ROOT. so u may want to check for something like that !

RE: JDBC connectivityfor ORACLE !!!

2003-03-03 Thread Mike Jackson
XP is different. Usually under windows the install is alot smoother than under the flavors of unix I have available. All I can really say is good luck, can't help you further. After you get it installed I might be able to offer further advice. --mikej -=- mike jackson [EMAIL PROTECTED]

RE: Mime-Type

2003-03-03 Thread Mike Jackson
Uh, mime-type doesn't have anything to do with a file extension. If I have a tiff image it doesn't matter what the extension is, it's still a tiff file. Determining mime-type based based on file extensions is a windows stupidism. Now, I'll admit there are certian conventions, but you can't 100%

RE: Simple Question

2003-03-03 Thread Mike Jackson
The web.xml is only read when the server is restarted. The browser has nothing to do with it. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Swapneel Dange [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 8:51 AM To: [EMAIL PROTECTED] Subject: Re:

RE: Simple Question

2003-03-03 Thread Shapira, Yoav
Howdy, even if u dont restart the SERVER again, the moment u open the new browser the web.xml should be read again. Not true. The deployment descriptor is re-read only on application restart. One can restart the application via the manager webapp, or by restarting the server itself. Are u

RE: Simple Question

2003-03-03 Thread Mike Jackson
I have a very simple question, and if you are a bit experienced in tomcat, you probably would know. I would really appreciate any links, hints, tips or advices. The question is this, if I change an application deployment file (web.xml), and then use the tomcat manager to restart the

RE: Web Page Caching

2003-03-03 Thread Filip Hanik
nope, no caching in Tomcat. The browser however, may cache your pages :) Filip -Original Message- From: venkat ramana [mailto:[EMAIL PROTECTED] Sent: Sunday, March 02, 2003 10:05 PM To: [EMAIL PROTECTED] Subject: Web Page Caching Hi I am new to Tomcat server. Can you tell me does

RE: Web Page Caching

2003-03-03 Thread Donald Ball
On 3/3/2003 at 9:10 AM Filip Hanik wrote: nope, no caching in Tomcat. The browser however, may cache your pages :) i'm almost positive that's not true, tomcat does employ at least a limited cache of jsp page output. see the responses to my bug:

Re: WebDav

2003-03-03 Thread Erik Price
[EMAIL PROTECTED] wrote: Hi, I am not familiar with webdav. What it, any links?? http://webdav.org/ I got the latest version of Tomcat.It is on a Linux Box. I wanted to use webdav inorder to give our developers the ability to modify files in our webapps in Tomcat w/o having to login to the

Re: Installing Tomcat on WinXP with Apache/PHP/mySQL setup

2003-03-03 Thread Erik Price
Denise Mangano wrote: Now I want to integrate Tomcat into the picture, and I am just wondering if there is anything special I need to do so nothing conflicts or do I proceed with the Tomcat installation as normal. Let your web server run on port 80 (the default for Apache IIRC) and let your

Am i doing something wrong while using jsp:setProperty ... / ?????

2003-03-03 Thread Mufaddal Khumri
Hi , Am i doing something wrong while using jsp:setProperty ... / ? My bean has the following properties: / /--- DBReader dbReader = null; DBWriter dbWriter = null; public void setDbReader(DBReader

RE: Mime-Type

2003-03-03 Thread Hostmaster of the day
Mime Type Overview Mime types tell browsers how to handle specific extensions. Most Mime types are set globally on the server. For example, the text/html Mime type equates to htm, html, and shtml extensions on most servers, and this tells your browser to interpret all files with those extensions

RE: Web Page Caching

2003-03-03 Thread Filip Hanik
hi Donald, if you are talking about a JSP, that is not a file, it is a Java class. Hence once it is loaded into memory, it will stay there. But it is not cached perse I don't believe Tomcat caches static files like .html, .gif etc Filip -Original Message- From: Donald Ball

RE: Mime-Type

2003-03-03 Thread Shapira, Yoav
Howdy, JkMount /*.jsp ajp13 is an Apache handler not a MIME type. Isn't it. Yup, exactly. It's an Apache handler for the *.jsp file extension. It instructs apache to pass files ending ending .jsp anywhere under the server root directory (hence the /*.jsp as opposed to /someDir/*.jsp) to the

RE: Web Page Caching

2003-03-03 Thread Reynir Hübner
Hi, Take a look at OSCache from www.opensymphony.com that is a cache framework. Tomcat it self does not provide cache on any dynamic content such as servlet responses or jsp responses. Hope it helps -reynir -Original Message- From: venkat ramana [mailto:[EMAIL PROTECTED]

Something wrong while using jsp:setProperty ... / ????? (a correction to my previous question)

2003-03-03 Thread Mufaddal Khumri
Hi , Am i doing something wrong while using jsp:setProperty ... / ? My bean has the following properties: / /--- DBReader dbReader = null; DBWriter dbWriter = null; public void setDbReader(DBReader

RE: Mime-Type

2003-03-03 Thread Mike Jackson
petPeeveAlert I'm not going to argue with you, but a file without an extension will still have a mime-type. And a file extension doesn't 100% guarantee that the particular file is what you expect. File extensions are a convenience, nothing more. It's only because some companies (Microsoft)

Re: Am i doing something wrong while using jsp:setProperty ... /?????

2003-03-03 Thread Erik Price
Mufaddal Khumri wrote: [...] In my JSP page i have the following code / /--- jsp:useBean id=myBean class=MyBean scope=session jsp:setProperty name=faqHelper

managing multiple webapps,

2003-03-03 Thread Caoilte O'Connor
Hi, I just got the Catalina manager webapp set up for us, but found that it doesn't seem to do everything I expected. Can anyone confirm this/suggest workarounds? 1) When I restart a webapp using the web interface the configuration files get reread (nice) but any changes to the webapp jar (ie

RE: Mime-Type

2003-03-03 Thread Mike Jackson
-Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 9:49 AM To: Tomcat Users List Subject: RE: Mime-Type snip As Mr. Jackson said, it can be dangerous to rely on specific mime-type snip You're making me feel old here, stop that. :)

[Announce] New book Tomcat Security Handbook

2003-03-03 Thread Vivek Chopra
Announcing the release of a new book- Tomcat Security Handbook (Wrox Press) http://www.wrox.com/books/1861008309.htm What does this book cover? This book is targeted at production deployments of Tomcat, and is a good complement to the Professional Apache Tomcat book (also Wrox Press). It

RE: WebDav

2003-03-03 Thread Anthony Smith
I can't seem to copy jsp files from my webdav nor an I copy them to my webdav? DO you have this problem? -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 11:39 AM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: Re: WebDav [EMAIL

Re: forward request to static html page loses path for included images?

2003-03-03 Thread Erik Price
Ray Tayek wrote: hi, i am forwarding a request to a static html page that has some pictures included using IMG SRC=images/help1.jpeg ... and using request.getRequestDispatcher(/help.html).forward(request,response);. the static html file file comes back sans images. but pointing a browser to

Re: WebDav

2003-03-03 Thread Erik Price
Anthony Smith wrote: I can't seem to copy jsp files from my webdav nor an I copy them to my webdav? DO you have this problem? I don't use WebDAV with my servlet/JSP development. I was just suggesting a possible way to do it. Erik

RE: Tomcat running under IIS

2003-03-03 Thread Jay Lee
Hi, I am working on isapi_redirect.dll. I think it is impossible to seperate these two based on source codes. -Original Message- From: Trevor [mailto:[EMAIL PROTECTED] Sent: Saturday, March 01, 2003 7:57 PM To: [EMAIL PROTECTED] Subject: Tomcat running under IIS Hello, I am trying to

Tomcat as Linux Service

2003-03-03 Thread Jeremy Whitlock
Tomcat List, Does anyone know how to get Tomcat to be a service on a Linux Box? Thanks, Jeremy Whitlock --- MCP/MCSA IT Manager for Star Precision, Inc. Phone: (970) 535-4795 Metro: (303) 926-0559 Fax: (970) 535-0780 Metro Fax: (303) 926-0559 http://www.starprecision.com

RE: Stop logging from isapi_redirector2.dll

2003-03-03 Thread Jay Lee
emerg should work and it worked on isapi_redirector.dll. Could you try to take out logFile=C:\\jakarta-tomcat\\logs\\iis_redirector2.log? If that doen't work, you need to download isapi_redirector2.dll source codes and fix it yourself. -Original Message- From: Konrad Rusz [mailto:[EMAIL

Re: Am i doing something wrong while using jsp:setProperty ... / ?????

2003-03-03 Thread Mufaddal Khumri
I downcasted but it did not help. jsp:useBean id=faqHelper class=FAQHelper scope=session jsp:setProperty name=faqHelper property=dbReader value=%=

RE: Tomcat as Linux Service

2003-03-03 Thread Mike Jackson
nohup $TOMCAT_HOME/bin/startup.sh --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Jeremy Whitlock [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 10:11 AM To: Tomcat Subject: Tomcat as Linux Service Tomcat List, Does anyone know

RE: Tomcat as Linux Service

2003-03-03 Thread Jeremy Whitlock
Mike, What I'm looking for is similar to the way you can start Apache. In the Service Tool in Red Hat, it lists all available services where you can start/stop/restart from there or you can /sbin/service servicename start. Here is the script for Apache: #!/bin/bash # # Startup script for

RE: IIS, JK, Tomcat POST always fails, JK2 never works at all...

2003-03-03 Thread Rick Bullotta
Here's more info on the Tomcat/redirector bug we're trying to track down. Also, you suggested trying JK2. When attempting JK2 with IIS and Tomcat 4.1, a shm.init() : no file error is always generated in the Windows Event Log. It never seems to initialize properly. If ANYONE has a working

RE: Tomcat as Linux Service

2003-03-03 Thread Mike Jackson
Or did you want it to start automatically on startup? That'd be something like this: #!/bin/sh case $1 in start) nohup $TOMCAT_HOME/bin/startup.sh ;; stop) $TOMCAT_HOME/bin/shutdown.sh ;; esac put it into a file,

RE: Tomcat as Linux Service

2003-03-03 Thread p2 - apache
You mean create a service to start/shutdown a daemon? -Original Message- From: Jeremy Whitlock [mailto:[EMAIL PROTECTED] Sent: March 3, 2003 1:11 PM To: Tomcat Subject: Tomcat as Linux Service Tomcat List, Does anyone know how to get Tomcat to be a service on a Linux

RE: Tomcat as Linux Service

2003-03-03 Thread p2 - apache
Do the same thing to tomcat, replace httpd with startup.sh and shutdown.sh? Regards, PQ This Guy Thinks He Knows Everything This Guy Thinks He Knows What He Is Doing -Original Message- From: Jeremy Whitlock [mailto:[EMAIL PROTECTED] Sent: March 3, 2003 1:17 PM To: 'Tomcat Users

RE: IIS, JK, Tomcat POST always fails, JK2 never works at all...

2003-03-03 Thread Kundrot, Steven
Title: RE: IIS, JK, Tomcat POST always fails, JK2 never works at all... Rick, I have the following environment working... Tomcat v4.0.6 IIS 5.0 JK2 isapi_redirector2.dll v. 2.0.1 in a distributed environment with Tomcat and IIS on separate machines. Notes: 1. Don't use v2.0.2 of the

Re: Tomcat as Linux Service

2003-03-03 Thread Kenny G. Dubuisson, Jr.
Included in this doc http://myweb.cableone.net/kdubuisson/Install.PDF I have instructions for setting up Tomcat to autostart on Linux. Hope this helps, Kenny - Original Message - From: p2 - apache [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, March 03, 2003

The problem re-stated ... regarding jsp:useBean .. /

2003-03-03 Thread Mufaddal Khumri
jsp:useBean id=faqHelper class=FAQHelper scope=session jsp:setProperty name=faqHelper property=dbReader value=%= (Object)session.getAttribute(DBREADER)% /

RE: Tomcat as Linux Service

2003-03-03 Thread Jeremy Whitlock
Yes. Right now I use the earlier posted script to start/stop/reload apache via /sbin/service httpd start and I'd like to do the same with tomcat. Here's how it would work: Case 1) Start - It would check to see if Tomcat is already running. If it's not running, start it. If it's running

Re: Am i doing something wrong while using jsp:setProperty ... /?????

2003-03-03 Thread Erik Price
Mufaddal Khumri wrote: I downcasted but it did not help. jsp:useBean id=faqHelper class=FAQHelper scope=session jsp:setProperty name=faqHelper property=dbReader value=%= (Object)session.getAttribute(DBREADER)% /

Re: Tomcat as Linux Service

2003-03-03 Thread Daniel Graham
The RPM's of tomcat4 that I've found recently (RedHat/Mandrake) all have pre-built startup and stop scripts). You could locate one of those. DG - Original Message - From: Jeremy Whitlock [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, March 03, 2003 6:40 PM

RE: Tomcat as Linux Service

2003-03-03 Thread Turner, John
If you're using Red Hat, look here: http://daydream.stanford.edu/tomcat/tomcatd Then, also if you are using Red Hat, you would want to use chkconfig to set it up for the appropriate runlevels (3 and 5). chkconfig will create all of the correct symbolic links, etc. for you so that all you need

RE: Tomcat as Linux Service

2003-03-03 Thread p2 - apache
If you launch apachectl restart, I guess it checks if there is a PID file. If httpd finds PID, it kills current process and starts a new apache process. However, there is no restart option for Tomcat. So you have to call shutdown and then startup. -Original Message- From: Jeremy

Apache 1.3.27 + mod_jk 1.2.2 + tomcat 4..1.18

2003-03-03 Thread Adam Denenberg
Anyone have a working config for this combo? Trying to resolve my did not found worker error from mod_jk adam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Apache 1.3.27 + mod_jk 1.2.2 + tomcat 4..1.18

2003-03-03 Thread Mike Jackson
What platform? I'm on unixware... --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Adam Denenberg [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 11:02 AM To: Tomcat Users List Subject: Apache 1.3.27 + mod_jk 1.2.2 + tomcat 4..1.18 Anyone have a

RE: IIS, JK, Tomcat POST always fails, JK2 never works at all...

2003-03-03 Thread Kundrot, Steven
Looks like my other two attachments didn't make it. So here they are pasted in: workers2.properties: [logger] level=ERROR [config:] file=D:/TomcatConnectors/jk2_isapi_2_0_1/workers2.properties debug=0 debugEnv=0 [shm:] info=Scoreboard. Required for reconfiguration and status with

Re: Apache 1.3.27 + mod_jk 1.2.2 + tomcat 4..1.18

2003-03-03 Thread Adam Denenberg
I have tried on both linux and solaris and still recive this same did not found worker error from mod_jk and have no idea why. I am just wondering if it has to do with a version issue. Any unix platform will do. Adam On 3/3/03 2:13 PM, Mike Jackson [EMAIL PROTECTED] wrote: What platform?

RE: IIS, JK, Tomcat POST always fails, JK2 never works at all...

2003-03-03 Thread p2 - apache
See inline === -Original Message- From: Kundrot, Steven [mailto:[EMAIL PROTECTED] Sent: March 3, 2003 2:17 PM To: 'Tomcat Users List' Subject: RE: IIS, JK, Tomcat POST always fails, JK2 never works at all... Looks like my other two attachments didn't make it. So here they are pasted

RE: Apache 1.3.27 + mod_jk 1.2.2 + tomcat 4..1.18

2003-03-03 Thread Mike Jackson
Here's my file: workers.tomcat_home=/usr/local/tomcat workers.java_home=/usr/java ps=/ worker.list=ajp12, ajp13 worker.ajp12.port=8007 worker.ajp12.host=localhost worker.ajp12.type=ajp12 worker.ajp12.lbfactor=1 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13

RE: Tomcat as Linux Service

2003-03-03 Thread Jeremy Whitlock
DG, What are the names of them? Thanks, Jeremy -Original Message- From: Daniel Graham [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 11:48 AM To: Tomcat Users List Subject: Re: Tomcat as Linux Service The RPM's of tomcat4 that I've found recently (RedHat/Mandrake) all

Jk_map.c (map_get function)

2003-03-03 Thread Adam Denenberg
Anyone familiar with the mod_jk source who would know why jk_map.c function map_get() would not return a value? I have indentified my problem to that source file where it gets called from jk_worker.c (136) and then map_get() does not return any value, hence the result of the could not found

RE: mod_jk

2003-03-03 Thread Jeremy Whitlock
John, I went to your page and it's for a Windows machine. I'm running Linux. Can someone help me configure mod_jk? I have downloaded it, changed the name to mod_jk.so and I have put it into the APACHE/modules folder. What next? Thanks, Jeremy -Original Message- From: Turner,

RE: mod_jk

2003-03-03 Thread Filip Hanik
how about a RTFM on this one! :) http://www.johnturner.com/howto/rh72-howto.html -Original Message- From: Jeremy Whitlock [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 12:14 PM To: 'Tomcat Users List' Subject: RE: mod_jk John, I went to your page and it's for a Windows

RE: mod_jk

2003-03-03 Thread Jeremy Whitlock
Filip, You are correct and my impatience has gotten me. Sorry for the inconvenience, Jeremy -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 1:18 PM To: Tomcat Users List Subject: RE: mod_jk how about a RTFM on this one! :)

tomcat throws exception while parsing taglib descriptor ????

2003-03-03 Thread Mufaddal Khumri
I have the following taglib descriptor defined // __ taglib tlib-version1.0/tlib-version jsp-version1.2/jsp-version short-namecw/short-name urihttp://www.wmotion.com/tomcat/coursewizard-taglib/uri

RE: mod_jk

2003-03-03 Thread Turner, John
No, there are HOWTOs there for Win2K/XP, Solaris 8, and RH 7.2/7.3. Three total. John -Original Message- From: Jeremy Whitlock [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 3:14 PM To: 'Tomcat Users List' Subject: RE: mod_jk John, I went to your page and it's

  1   2   >