Simple Connection to MYSQL DB fails using JNDI

2002-04-19 Thread John
Hello all, I've harranged over this way too long! It looks so easy to use, but I can't figure it out. I can't connect to mysql using the JNDI DB Datasource from Tomcat 4.03. Error Null Pointer occurs whenever I call the connection in my JSP: Connection myConn = ds.getConnection(); Two

Réf. : RE: How can I install Tomcat 4.0 as aplug-in of IIS 5.1?

2002-04-19 Thread staginfo-ar
Hi Luca, I had some difficulties in running jsp's and servlets from iis with Isapi redirector, i've discovered that with fat32 System Files IIS hadn't access rigths to run jsp. you must be in Ntfs Files System ( with xp it's the default file system but you must control this, if you didn't

RE: SingleSignOn Or Security Constraint ?

2002-04-19 Thread Renato Romano
That's right. But what I actually mean is: what are the differences between 1) defining two protected areas in ONE web-app, using TWO security constraint, and 2) defining TWO web-app, using single-sign-on (which actually is not defined in web.xml, but in the server config file server.xml) with

Deploying web applications to tomcat

2002-04-19 Thread Halil AKINCI
Hi all, I'm using jdk1.2.2 and Tomcat-3.3.a. I have a servlet and I want to deploy it to tomcat. Therefore, I created a database directory in tomcat webapps directory, and I created following directorys. C:\Jakarta-tomcat-3.3a\webapps\database C:\Jakarta-tomcat-3.3a\webapps\database\web-inf

Urgent Concern Regarding using JDBC with Tomcat3.x

2002-04-19 Thread Prasanna K Kalle
Hi, Am facing the following problem . 1. I have db2 7.x installed. 2. I have got tomcat 3.x on my system. 3. I have a .war file which I would like to host on my system. 4. It refers to a Datasource with the following name jdbc.TMDB. 5. I have altered my web. xml (in the %CATALINA_HOME%/conf

Re: Configuration problems: mod_webapp with Tomcat 4.0.3 and Apache2.0.35

2002-04-19 Thread Georg Huettenegger
hi, 1) the mod_webapp should connect to localhost:8008 as teh connector is listeneing on 8008 while tomcat is listening on 8080 for http requests 2) it seems that for the moment one has to provide the correct port to apache with the Listen directive and at the same time append the port number as

ISAPI_REDIRECTOR.DLL problem: Error 500

2002-04-19 Thread george moudry
Hello there. First - Do you know where is the current source code for isapi dll? I only found old source in tomcat 3.3. Next, my problem: I am trying to use Tomcat 4.0.3 with IIS. Both individually function fine. But when ask IIS to give me http://192.168.1.101/examples/;, I get error 500.

Réf. : ISAPI_REDIRECTOR.DLL problem: Error500

2002-04-19 Thread staginfo-ar
Hi Georges, Are you in Ntfs Files system? Did you follow howTo from jakarta or ozemail web sites? Moreover, you must had a listener IISConfig for each Context path you have to redirect. Good luck. Jean-Christophe France -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands:

Re: SSL Logs

2002-04-19 Thread Wolfgang Stein
Start Tomcat with the additional option (set in tomcat.bat) -Djavax.net.debug=all and watch the console. Gruss, Wolfgang -Original Message- From: Todd Lekan [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 12:11 AM To: '[EMAIL PROTECTED]' Subject: SSL Logs My

Transfer-Encoding: chunked

2002-04-19 Thread Hartmut Bernecker
Hi, I'm trying to call a JSP page on tomcat 4.0.3 by submitting a PDF-form to the server and get back a strange page, which does not open correctly in Netscape (can't view HTML source code) and causes IE to open some temporary file on the local file system (C://documents...). BTW: I'm also using

RE: Directory Listing per web-app

2002-04-19 Thread Carlos Martins
through the native web server's configuration? I have this done with IIS, that i use to serve static web pages. -Original Message- From: Chad Perry [mailto:[EMAIL PROTECTED]] Sent: quinta-feira, 18 de Abril de 2002 18:53 Subject: Directory Listing per web-app I know I can turn off

Session tracking between http to https

2002-04-19 Thread mh
I use Tomcat 4.0.3 + Apache 1.3.14 + Ajp13 connector I have two virtual host, one in http and the other in https. Two servlets are used in those virtual host. I want to do use HttpSession to maintain object information between my two servlets. I do this in my first servlet :

Re: Transfer-Encoding: chunked

2002-04-19 Thread Remy Maucherat
Hi, I'm trying to call a JSP page on tomcat 4.0.3 by submitting a PDF-form to the server and get back a strange page, which does not open correctly in Netscape (can't view HTML source code) and causes IE to open some temporary file on the local file system (C://documents...). BTW: I'm

Cannot create bean of class MoniTestBean( Int Servlet Error)

2002-04-19 Thread chuck amadi
*I have a problem with the following i have created and compiled my JavaBeans in my Web-Inf /classes folder. Thus i have the useBean tag as follows: *jsp:useBean id=formHandler scope=request class=MoniTestBean/ jsp:setProperty name=formHandler property=*/ And also the request.getParameter

Custom tag classes

2002-04-19 Thread cbarnes
I am using version 4 of Tomcat. I have written a number of custom tags and these appear to work fine. However, I had always understood that an individual instance of the java class for the custom tag is reused, and that the release method needs to be used to reset any class variables back to

RE: Custom tag classes

2002-04-19 Thread Pekník Jan
Hello, in Tomcat, tag-pooling can be enabled or disabled, check in server.xml if you have enabled this feature. (As I remember, You must uncomment 'TagPoolingIntercetor' tag to load the module.) This is one possibility why tags aren't reused. -Jan -Original Message- From:

RE: Directory Listing per web-app

2002-04-19 Thread John Burgess
Adding a welcome file for the web-app should turn off directory listing Best Wishes John Burgess [EMAIL PROTECTED] Tel: 01865 718666 Fax: 01865 718600 -Original Message- From: Chad Perry [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18, 2002 6:53 PM Subject: Directory Listing per

Re: Session tracking between http to https

2002-04-19 Thread Joel Rees
mh asked: but I can't retreive session between my two servlet. Can someone give me some code advice to perform this ? Check the archives? -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

RE: Instruction: How to install Verisign certificate to Tomcat.

2002-04-19 Thread Short, Dave
Excellent! Thank you very much. -Original Message- From: Evgeniy Strokin [mailto:[EMAIL PROTECTED]] Sent: April 18, 2002 10:49 AM To: [EMAIL PROTECTED] Subject: Instruction: How to install Verisign certificate to Tomcat. Instruction: How to install Verisign certificate to Tomcat. Hope

webdav with User Directory

2002-04-19 Thread Ingo Bruell
Hi, i want to use the nice feature of User Directories, that is configured with a Listener ... o.a.c.s.UserConfig .../ That works well, but if i try to connect via webdav to those directory, (with cadaver) i get: Looking up hostname... Connecting to server... connected. Could not access

OFFTOPIC : where is documentation on sun.tools.javac package?

2002-04-19 Thread Peknk Jan
hi, I'm searching for API docs for package sun.tools.javac, which is in included in J2SE 1.3 Can somebody help me? thanks very much -Jan --- Odchozí zpráva neobsahuje viry. Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz). Verze: 6.0.350

[Coyote] Coyote 1.0 Beta 8 available

2002-04-19 Thread Remy Maucherat
Coyote 1.0 Beta 8 is now available, and includes: - HTTP/1.1 protocol handler - JK 2 protocol handler, with support for the AJP 1.3 and 1.4 protocols - An adapter for Tomcat 3.3.x - An adapter for Tomcat 4.x Changes over Beta 7 include: - Fixed SSL configuration bugs with Tomcat 4.x in the

Re: Custom tag classes

2002-04-19 Thread cbarnes
I can't find a TagPooling setting anywhere in my conf files. I have also done a search on the apache.org site for this but can't find anything that looks relevant. Is this definatly what its called? Thanks for your help, Catharine - Original Message - From: Pekník Jan [EMAIL PROTECTED]

RE: Custom tag classes

2002-04-19 Thread Pekník Jan
I have in server.xml this section : !-- Tag pooling support. To enable the reuse of tag handlers as described in the JSP spec, uncomment the following. If your pages use a lot of custom tags, you should see a nice performance gain.

Re: Custom tag classes

2002-04-19 Thread cbarnes
It looks as though this is completely different in Tomcat 4, but thanks for your help anyway. Can anyone tell me what the equivalent in Tomcat 4 is? Thanks, Catharine - Original Message - From: Pekník Jan [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday, April

Re: Transfer-Encoding: chunked

2002-04-19 Thread Hartmut Bernecker
Ok, you are right, thank you! I searched in another direction and found that: http://support.adobe.com/devsup/devsup.nsf/docs/51444.htm -:( Remy Maucherat schrieb: Hi, I'm trying to call a JSP page on tomcat 4.0.3 by submitting a PDF-form to the server and get back a strange page,

mod_webapp + httpd.conf

2002-04-19 Thread Karoly VEGH
Hello, i try to get apache communicate with tomcat, i have the following section in my httpd.conf: 8- IfModule mod_webapp.c WebAppConnection conn warp localhost:8008 WebAppDeploy examplesconn /examples # WebAppInfo /webapp-info /IfModule

RE: ERROR 500

2002-04-19 Thread Reynir Hübner
My imagination tells me that you have a servlet file named the same way but in a different case internally.. what I am trying to say is that you probably have the files : DatabaseServlet.java it compiles ok with javac and you have the file : DatabaseServlet.class but in the

custom 404, 403 etc pages..

2002-04-19 Thread GOKHAN TUNA
Hi, Im using Tomcat 4.0 and i want to customize 404, 403 etc pages, but i couldnt find a way to do it. I found that there is a LocalStrings.properties file but its not enough, I want to do it like the way in IIS. all suggestions are welcome.. regards.. Gokhan -- To unsubscribe:

Rolling File Appender Type Log

2002-04-19 Thread Cynthia Jeness
Under Tomcat, there appear to be only three types of loggers available: 1. FileLogger - which writes to a new file each day. 2. SystemOutLogger - which logs to system out 3. SystemErrLogger - which logs to system error Further in the case of valves for web logs, it appears that the only

Which Connector for Tomcat 4.0.3 - mod_webapp or mod_jk

2002-04-19 Thread Cynthia Jeness
I searched the Tomcat and Apache site yesterday for some explanation and/or recommendations for the choice of connector, but a search on connector or mod_webapp did not seem to provide any information about why I would chooce one over another. Can someone point me to the correct place or explain

TC4.0.3 + mod_jk + Apache 1.3.23 trouble

2002-04-19 Thread Andrew Gromozdin
Hi! I tried to use TC 4.0.3 + Apache 1.3.23 on SunOS 5.7 using mod_jk. My Apache is compiled with -DEAPI* and mod_ssl. mod_jk compiled with -DEAPI. But when I try to get some document I recieve followin error in mod_jk.log: [jk_ajp13.c (584)]: ajp13_unmarshal_response: status = 400 And HTTP

Re: custom 404, 403 etc pages..

2002-04-19 Thread GOKHAN TUNA
error-page error-code404/error-code location/Error/404.html/location /error-page found the solution in servlet2.3 spec..

Re: mod_webapp + httpd.conf

2002-04-19 Thread Cynthia Jeness
I believe that this is a known problem and one suggested workaround is to do the following: Uncomment the line ServerName=localhost and changed localhost to www.ajug.org. Unless this line is uncommented, then Apache will generate an error (Invalid virtual host name) when restarted. Of

Ynt: ERROR 500

2002-04-19 Thread Halil AKINCI
I checked it, but it is correct... public class DatabaseServlet extends HttpServlet { ... - Original Message - From: Reynir Hübner [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, April 19, 2002 2:02 PM Subject: RE: ERROR 500 My imagination tells me that you

RE: ERROR 500

2002-04-19 Thread Reynir Hübner
Ok, let's see, according to the : Location: /database/servlet/DatabaseServlet the fully qualified name of the servlet is database.servlet.DatabaseServlet as the /servlet/* path is mapped onto invoker servlet this may cause problems(?). to execute the servlet in that package / path you must

what is wrong with this web.xml

2002-04-19 Thread Peter Choe
i have a webapp that doesn't start when i start tomcat 4.0.3. when i look at the catalina.out log i get a: org.xml.sax.SAXParseException: The content of element type web-app must match

Re: Configuration problems: mod_webapp with Tomcat 4.0.3 and Apache 2.0.35

2002-04-19 Thread Jeffrey Bonevich
Emil - I think you meant this to go to Georg. Georg - yes, please provide relevant lines from httpd.conf. From what I can tell, the source code is not even getting the port as specified by Listen. I have the following in my httpd.conf, and it does not work: [skip] Listen 65.186.165.33:80

Re: what is wrong with this web.xml

2002-04-19 Thread GOKHAN TUNA
try removing all comments, i tried your web.xml with my tomcat 4.0.3 after removing comments and it worked fine i dont know why but xmlparser sometimes has problems with comments.

How can I get the location of the webapps-directory?

2002-04-19 Thread Eichfelder, Frank
Hi, how can I get the location from the webapps-directory on my filesystem? It's easy, if I use String path = getServletContext().getRealPath(/); and then cut off the last part: int index = path.lastIndexOf(System.getProperty(file.separator), path.length()-2 ); path = path.substring(0,

Re: mod_webapp + httpd.conf

2002-04-19 Thread Jeffrey Bonevich
Here are a couple tomcat-user postings on the differences. They might help: http://www.mail-archive.com/tomcat-user%40jakarta.apache.org/msg50263.html http://www.mail-archive.com/tomcat-user%40jakarta.apache.org/msg49707.html They are not quite solid, but they are something. I am still

servlet-mapping did not work UNIX, but works in Windows.

2002-04-19 Thread Katsuyuki Michishita
I use Turbo Linux 6.0 with Tomcat 3.2.2+Apache 3.1.12. When I locate to /admin/template/design/pagehandler, DesignPageHandler did not invoke for some reason. I try to use following xml, but did not work in Linux. I use Windows and it works ok.. I know for sure class file set ok, because

web.xml editor

2002-04-19 Thread Alex Kachanov
Hi, guys! does any one knows any gui web.xml editor that shows all application properties in nice fasion? and. yes I know I can edit web.xml with a Notepad, but some user interface would be nice. with best wishes Alexander Kachanov -- To unsubscribe: mailto:[EMAIL PROTECTED] For

RE: ERROR 500

2002-04-19 Thread Lin, Zhongwu
It seems like your DatabaseServlet.class is not in your Web-inf/classese. zlin -Original Message- From: Halil AKINCI [SMTP:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 5:56 AM To: Jakarta TomCat Subject: ERROR 500 Hi, I'm using a HTML form to run my

Re: Tomcat 4.0.3 on MacOSX

2002-04-19 Thread Randy Phillips
on 4/18/02 10:13 PM, Donald Huebschman at [EMAIL PROTECTED] wrote: You will hear from the hundreds of us who have been thru this, but, unzip and untar the source manually. Do not let stuffit do it for you. Stuffit cannot handle the long file names that many of the java files have. Add me

Re: Configuration problems: mod_webapp with Tomcat 4.0.3 and Apache2.0.35

2002-04-19 Thread Georg Huettenegger
hi, my httpd.conf contains the following relevant: ServerName abc.def.com:3072 Listen 3072 LoadModule webapp_module modules/mod_webapp.so IfModule mod_webapp.c WebAppConnection warpConnection warp localhost:8008 WebAppDeploy examples warpConnection /examples /IfModule bye,

RE: web.xml editor

2002-04-19 Thread Jim Urban
Alex, Check out jEdit (www.jedit.org) it has an XML plugin that identifies syntax errors, provides auto-completion of tags (you type the open tag, it supplies the close tag), a tag wizard and a tree view window. BTW, it's a great Java programmer's editor too and its open source. Jim

RE: web.xml editor

2002-04-19 Thread Alex Kachanov
well thanx for the lin but this is not what I'm looking for as example I would like to remind you the Properties bar in any IDE (Delphi or Visual Studio) that would be nice to have with best wishes Alexander Kachanov -Original Message- From: Jim Urban [mailto:[EMAIL PROTECTED]]

RE: web.xml editor

2002-04-19 Thread Sefton, Adam
XML Spy is an excellent XML editor http://www.xmlspy.com I don't know if it will do what you want (I'm afraid I don't use visual studio) but it is excellent if you do a lot of work with XML -Original Message- From: Alex Kachanov [mailto:[EMAIL PROTECTED]] Sent: 19 April 2002 14:58 To:

Defining access to different sub directories

2002-04-19 Thread Mohr James
Hi All! Is it possible to set up individual security constraints for specific sub-directories with just a single login? For example, we have an Extranet/Intranet with the following sub-directories: -- Customer1 -- Customer2 -- Customer3 Each in turn has the directories: - Documentation -

Re: mod_webapp + httpd.conf

2002-04-19 Thread Karoly VEGH
Hi, Jeffrey, what Cynthia wrote, solved my problem. Dear Cynthia, thank you. Actually, I really had to fit the ServerName option in my httpd.conf I managed to integrate apache tomcat with mod_webapp following this doc: http://www.galatea.com/flashguides/apache-tomcat-4-unix.xml On Fri, 19

Re: Which Connector for Tomcat 4.0.3 - mod_webapp or mod_jk

2002-04-19 Thread Pascal Forget
mod_jk supports load balancing across several tomcat servers and also supports serving static content from Apache and *.jsp from tomcat. mod_webapp does not support load balancing, and the decision to forward requests to tomcat are based on whole directories, you cannot use wildcards such as

Tomcat 404 problem

2002-04-19 Thread David Bank
Hello, and thanks to Ralph and others who tried to help me with this problem on the first go-round. I've got new information in my possession, and I'd like to try again. To recap: Our environment Windows 2000 Server (sorry) with SP2 (we're moving to Linux, I promise!) Apache v1.3.23 Tomcat

RE: web.xml editor

2002-04-19 Thread Jay Gardner
I use Netbeans a lot. It has xml modules that allow you to interrogate DTDs. I guess nice fashion is somewhat subjective, but I like it. www.netbeans.org --Jay Gardner -Original Message- From: Alex Kachanov [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 7:37 AM To: Tomcat

RE: web.xml editor

2002-04-19 Thread Alex Kachanov
well, guys, you don't get it. I'm pretty confortabe with XML, I do not neet just another XML editor of IDE. I need an application that reads web.xml and shows it in confortable set of buttons check boxes, switches or whatever. Just an example: there is a application config file and there is a

SSL Handshake failure

2002-04-19 Thread Todd Lekan
Tomcat will not work with my imported Verisign certificate. Following is the debug output I get when I try to connect. Can anyone interpret this? Thanks in advance [read] MD5 and SHA1 hashes: len = 3 : line snipped... [read] MD5 and SHA1 hashes: len = 43 : line snipped 0010: line

Building mod_jk for Apache 2.0.35 on Linux

2002-04-19 Thread Pascal Forget
Hi All, Is there anyone who has successfully compiled mod_jk for Apache 2.0 on Linux? If so, could you please provide a link so we can download it? Otherwise, I am announcing that I will be working on compiling mod_jk 4.0.4-b2 from source on Red Hat Linux 7.2 i386. If anyone else is

Problems in running JndiServlet examples through apache

2002-04-19 Thread Cheng Yan
I can execute this example provided by tomcat OK directly through tomcat (4.0.3) at port 8080. However, when I tried to run this through apache (1.3.12), I got following error: JNDI lookup failed : javax.naming.NameNotFoundException: Name maxExemptions is not bound in this Context list() on

Re: mod_webapp + httpd.conf

2002-04-19 Thread Ken Anderson
Or, specify a virtualhost and deploy the connector within that virtualhost. - NameVirtualHost 192.168.1.1 VirtualHost 192.168.1.1 ServerName www.blah.com DocumentRoot /blah WebAppConnection conn warp localhost:8008 WebAppDeploy examplesconn /examples [other statements go

Problem regarding Sessions in Tomcat 4.0.1

2002-04-19 Thread Anand, Narinder
Hi, I have a web application installed on Tomcat 4.0. The server seem to be creating new sessions for the initial requests to the pages in the same application. I can see that from the difference in jsessionids in the cookie header . But after that it maintains the session. Anybody have

Virtual hierarchy...

2002-04-19 Thread Per Kreipke
Given an app directory like: /myapp /pages /main.jsp /nav.jsp /content.jsp /WEB-INF /web.xml /classes /HierarchyServlet.java How would I define my servlet-mappings to do the following: - map any request of the form /myapp/any/path/to/a/page/main.jsp

Virtual hierarchy...

2002-04-19 Thread Per Kreipke
Given an app directory like: /myapp /pages /main.jsp /nav.jsp /content.jsp /WEB-INF /web.xml /classes /HierarchyServlet.java How would I define my servlet-mappings to do the following: - map any request of the form /myapp/any/path/to/a/page/main.jsp

RE: web.xml editor

2002-04-19 Thread Øyvind Vestavik
XML Spy is the best I know of.. Øyvind Øyvind Vestavik Øvre Møllenberggt 44b 7014 Trondheim [EMAIL PROTECTED] 41422911 -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

gcc compilation error

2002-04-19 Thread rsequeira
Anyone here knows how to handle this compilation error. Background: We have an external module that plugs into Apache. It compiles allright on Linux but on HP-UX it gives an error. To sort this out, we wrote a hello.c program that just prints out a message. But couldn't get the hello.c to

Warp connector Howto

2002-04-19 Thread @Basebeans.com
Subject: Warp connector Howto From: Bruno V [EMAIL PROTECTED] === I tried to search for guides and howto to install Tomcat and Apache WITH a WARP connector (mod_webapp) Here is what I found so far : http://www.codesta.com/knowledge/technical/tomcat_warp_apache/page_01.jsp codesta by Joseph

Re: mod_webapp + httpd.conf

2002-04-19 Thread Joseph Molnar
Where are those lines contained, within a VirtualHost directive, or are they at the 'root' of httpd.conf? Joe - Original Message - From: Karoly VEGH [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 19, 2002 4:07 AM Subject: mod_webapp + httpd.conf Hello, i try to get

Please help !! Exception when starting up Tomcat

2002-04-19 Thread wylee
C:\Program Files\Apache Tomcat 4.0\bincatalina run Using CATALINA_BASE: c:\Program Files\Apache Tomcat 4.0 Using CATALINA_HOME: c:\Program Files\Apache Tomcat 4.0 Using CLASSPATH: c:\Program Files\Apache Tomcat 4.0\bin\bootstrap.jar;c:\jdk 1.3.1_01\lib\tools.jar Using JAVA_HOME:

JasperException error

2002-04-19 Thread Cabio, Michelle (Michelle)
When I run tomcat 4.0 with jetspeed, I get the following error... Any pointers on how to fix this??? org.apache.jasper.JasperException: Unable to compile class for JSP C:\Program Files\Apache Group\Apache Tomcat 4.0\work\localhost\jetspeed\index$jsp.java:65: Incompatible type for method.

Re: SSL Handshake failure

2002-04-19 Thread Richard Priestley
Hi, On Friday 19 April 2002 3:47 pm, you wrote: Tomcat will not work with my imported Verisign certificate. Following is the debug output I get when I try to connect. Can anyone interpret this? Thanks in advance [read] MD5 and SHA1 hashes: len = 3 : line snipped... [read] MD5 and

Re: Anybody know of JSP training classes where they use Tomcat?

2002-04-19 Thread Ted Neward
DevelopMentor is offering a three-day course on just JSP (Essential JSP), written by Kevin Jones, a participant on the JSR. It should be available RSN. They also have a Essential J2EE class, also originally written by Kev, that covers Servlets, a little JSP, a little XML, JMS, JDBC, and EJB--it's

Re: JK.log rotation.

2002-04-19 Thread Austin Gonyou
On Thu, 2002-04-18 at 18:36, William L. Thomson Jr. wrote: What OS, if you are on a *nix machine use cron. An entry in a file in Linux. the logrotate.d directory should do. You could just make a new file in there and add. /var/log/mod_jk.log { missingok daily } Or add

Running Tomcat as a user other than root

2002-04-19 Thread Jay Wright
On solaris, is it possible to run tomcat as a user other than root? Hopefully a config that can be set? Jay -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Re: Running Tomcat as a user other than root

2002-04-19 Thread Peter Choe
i was able to create a tomcat user and run it as tomcat instead of root. i su to tomcat user and start catalina.sh. At 01:33 PM 4/19/2002, Jay Wright wrote: On solaris, is it possible to run tomcat as a user other than root? Hopefully a config that can be set? Jay -- To unsubscribe:

Sealing Violation

2002-04-19 Thread Walden Mathews
I've just installed jakarta-tomcat-4.0.4-b2-01. When I use the startup script to start tomcat, I get the Sealing Violation exception: catalina run Using CATALINA_BASE: c:\jakarta-tomcat-4.0.4-b2-01 Using CATALINA_HOME: c:\jakarta-tomcat-4.0.4-b2-01 Using CATALINA_TMPDIR:

RE: Running Tomcat as a user other than root

2002-04-19 Thread Jay Wright
on unix? i was under the impression that you could not bind to port 80 as a user other than root. -Original Message- From: Peter Choe [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 10:41 AM To: Tomcat Users List; 'Tomcat Users List' Subject: Re: Running Tomcat as a user

Re: Anybody know of JSP training classes where they use Tomcat?

2002-04-19 Thread Todd Wright
I know Batky-Howell does great classes, and they use almost exclusively Apache products. (Including Tomcat) www.batky-howell.com Todd Wright www.jtconsult.com At 01:06 AM 4/19/2002 -0700, you wrote: DevelopMentor is offering a three-day course on just JSP (Essential JSP), written by Kevin

RE: Running Tomcat as a user other than root

2002-04-19 Thread Peter Choe
well, i have tomcat running on port 8080, not port 80. port 80 i have apache running. At 01:46 PM 4/19/2002, Jay Wright wrote: on unix? i was under the impression that you could not bind to port 80 as a user other than root. -Original Message- From: Peter Choe [mailto:[EMAIL

RE: Running Tomcat as a user other than root

2002-04-19 Thread David Bank
That's correct - on most (if not all) *NIX implementations, you cannot bind to Post 80 except as a super-user. There's no equivalent restriction in Windoze. However, once that binding is established, the process can Run As under a different user ID. This is typical of Apache installs on UNIX -

Re: Running Tomcat as a user other than root

2002-04-19 Thread David Lu
i am able to run tomcat as non-root with no problems. however, if you installed tomcat as root, you'll need to change a number of file permissions. specifically, the work, and log directories under tomcat will need to have permissions set to writable by other. and if you need to install your

Running Tomcat as a user other than root

2002-04-19 Thread Jay Wright
On solaris, is it possible to run tomcat as a user other than root? Hopefully a config that can be set? Jay -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Question

2002-04-19 Thread Panayotis Gouleas
I have a question concerning the Tomcat NT service. Whenever I log off from my NT machine, the tomcat service stops running even though it is in Automatic startup mode. Do you know why this happens? -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED]

Re: mod_webapp + httpd.conf

2002-04-19 Thread Jeffrey Bonevich
Sorry, my posting was in response to another Cynthia posted. Just got confused when hitting reply. jeff Karoly VEGH wrote: Hi, Jeffrey, what Cynthia wrote, solved my problem. Dear Cynthia, thank you. Actually, I really had to fit the ServerName option in my httpd.conf I managed to

Re: Which Connector for Tomcat 4.0.3 - mod_webapp or mod_jk

2002-04-19 Thread Jeffrey Bonevich
Cynthia - Here are a couple tomcat-user postings on the differences. They might help: http://www.mail-archive.com/tomcat-user%40jakarta.apache.org/msg50263.html http://www.mail-archive.com/tomcat-user%40jakarta.apache.org/msg49707.html They are not quite solid, but they are something. I am

Linkage error when loader delegate=false

2002-04-19 Thread John McNally
I have an application that I have developed on my local box using tomcat-4.0.3. The app works fine and in the server.xml file, I have not specified the delegate attribute. Loader checkInterval=1 className=org.apache.catalina.loader.WebappLoader/ I must deploy the app to another version of

OS X + Tomcat on Port 80...

2002-04-19 Thread postmaster
Hi... I have recently installed Tomcat on Mac OS X. Everything works fine when set to listen on Port 8080 (i.e. When I point my browser to http://localhost:8080 I get the Tomcat page and am able to execute the examples.) ..but when I change the server.xml file so that Tomcat listens on Port 80,

XML configuration file..

2002-04-19 Thread Vijay Shinde
Hi All, I am using XML configuration file for setting application properties. I am using class InputSource to load the .xml file.The problem i am facing is i need to give absolute path for my xml file e.g. InputSource sn = new InputSource(C:\\Program Files\\Apache Tomcat

XML Configuration

2002-04-19 Thread Vijay Shinde
Hi All, I am using XML configuration file for setting application properties. I am using class InputSource to load the .xml file.The problem i am facing is i need to give absolute path for my xml file e.g. InputSource sn = new InputSource(C:\\Program Files\\Apache Tomcat

Linkage error when loader delegate=false

2002-04-19 Thread John McNally
And another detail: The my local box (where the app works) has: java version 1.3.1_02 Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02) Java HotSpot(TM) Client VM (build 1.3.1_02-b02, mixed mode) The box where it is not working (unless delegate=true) has java version

RE: OS X + Tomcat on Port 80...

2002-04-19 Thread Animesh Chaturvedi - US
For binding to ports 1024. You need to have root permissions. Or in your etc/sysctl.conf add kern.netprivgroup=yourgroupid Animesh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 11:29 AM To: [EMAIL PROTECTED] Subject: OS X + Tomcat

Re: Configuration problems: mod_webapp with Tomcat 4.0.3 and Apache 2.0.35

2002-04-19 Thread Jeffrey Bonevich
Ohmygoditworks! All of that crap about setting up a virtual host really confuses the matter (I still maintain that there is a bug, either in Apache getting the port set using Listen into server_rec, or with mod_webapp relying on server_rec to supply the port number). Thank you very much! I

RE: Running Tomcat as a user other than root

2002-04-19 Thread Jay Wright
Excellent, this is what I was looking for. How do you switch to another user? Is that configurable in the tomcat configs or do I do it at the system level (through the startup.sh or catalina.sh scripts)? -Original Message- From: David Bank [mailto:[EMAIL PROTECTED]] Sent: Friday,

Linkage error when loader delegate=false

2002-04-19 Thread John McNally
I have an application that I have developed on my local box using tomcat-4.0.3. The app works fine and in the server.xml file, I have not specified the delegate attribute. Loader checkInterval=1 className=org.apache.catalina.loader.WebappLoader/ I must deploy the app to another version of

DBCP Database Connection pooling in TC4

2002-04-19 Thread Scott Jones
Hi everyone, I followed Craig's instructions about how to setup DBCP with Tomcat 4.0 (I've got 4.0.1 right now) to do your connection pooling (as an alternate to using the Tyrex implementation) at: http://marc.theaimsgroup.com/?l=tomcat-userm=101631189730747w=2 I've got it up and running,

404 Errors and no log file

2002-04-19 Thread Eric McDonald
Hi everyone: Trying to get Tomcat 3.3.1 going on Solaris 8 with JDK 1.4.0. The server seems to start up okay, but when I access http://server:8080 I get a 404 from the server. I don't have a tomcat.log in logs/ And nothing on stderr. I checked and it looks like I have docBase for a few

Problems when starting Apache with Tomcat on Win2K

2002-04-19 Thread Dole, Sachin Sudhakar
Hi I get the following error when starting apache 2 with the directive: LoadModule jk_module modules/mod_jk.dll I have the dll in place. But I dont have the Tomcat running. Is it necessary to configure tomcat to make this directive run? What could be the problem? Warm Regards Sachin Dole

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

2002-04-19 Thread Dole, Sachin Sudhakar
Hi I get the following error when starting apache 2 with the directive: LoadModule jk_module modules/mod_jk.dll The error: C:\Program Files\Apache Group\Apache2\binapache Syntax error on line 952 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf: Cannot load C:/Program Files/Apache

Any mod_webapp + user-data-constraint gotchas in 4.0?

2002-04-19 Thread Cavan Morris
Hey guys, I'm getting ready to go live with my webapp and need to ensure confidentiality on my credit card billing page. I'm running Tomcat 4.0.2 on Redhat 7.2 with apache 2.0.32 and mod_webapp 1.0.2. I just got my ssl certificate from verisign and set up apache to require ssl on port 443.

Linking Apache 2 and Tomcat 4.0.3

2002-04-19 Thread Ken Miller
I am new to setting up Apache web server and Tomcat and want to have them automatically connect. I found a source that mentions getting the mod_webapp.so file and putting it into the /modules subdirectory. Unfortunately, when I looked in the release directory (on Apache.org) for Tomcat I didn't

Re: Running Tomcat as a user other than root

2002-04-19 Thread D Henton
Been there, can't do that with tomcat. The switch over you describe is NOT available in the current version of tomcat, there is talk of it being added. There is a jguru post on this subject, the author suggests a perl redirector or Apache/mod_jk. - Original Message - From: Jay Wright

Re: Running Tomcat as a user other than root

2002-04-19 Thread D Henton
Could you please give details. What OS? What port? Everything I've read since this can't be done for port 80. - Original Message - From: David Lu [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, April 19, 2002 1:14 PM Subject: Re: Running Tomcat as a user other

  1   2   >