FW: MS SQL Server Datasouerce

2002-05-31 Thread Bjørn Wennberg
Make sure you make a mapping in your WEB-INF/web.xml file resource-ref res-ref-namejdbc/News/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref -Original Message- From: Anibal Constante Brito [mailto:[EMAIL PROTECTED]] Sent: 31. mai 2002

Authentication with Tomcat + Apache

2002-05-31 Thread Markus Kirsten
What would be the best sollution if I have resources (non-HTML like movies etc.) which I want to protect with a custom made authentication? I have a servlet which takes care of my authentication and I want this servlet to be able to either grant or permit access to a resource based on wheter

Directing .jsp requests to Tomcat

2002-05-31 Thread Markus Kirsten
Is it possible to use the mod_webapp for Apache to let Tomcat serve .jsp files that are located in my Apache web folder? I've tried mounting a complete webapp that's located in my Tomcat directory and that's working fine but I would want my jsp files to be distributed all over my site and not

Re: How to get debug info

2002-05-31 Thread Phillip Morelock
Not sure what you're asking in the first part...but... does File2.jsp inherit objects from File1.jsp? No, not exactly. If you want to share some objects, you should have your jsp code put objects into the request scope (it's kind of like the session or application scope setAttribute() and

Re: Authentication with Tomcat + Apache

2002-05-31 Thread Phillip Morelock
What would be the best sollution if I have resources (non-HTML like movies etc.) which I want to protect with a custom made authentication? use Servlets. serve binary data as the output stream instead of text/html . You can authenticate and do all your other ok, is this person authorized,

Accessing Tomcat 4.03 JNDI service from LoginModule

2002-05-31 Thread Salonen, Aki
Hi! I'm following problem: I have JAAS LoginModule that uses JNDI to lookup DataSource object. My LoginModule and LoginConfiguration implementation classes are located in Tomcat's classpath. I tried first to put JAAS related classes under [TOMCAT-HOME]/common/lib, but that caused

Re: How to donate: Apache-Tomcat HOWTO?

2002-05-31 Thread Phillip Morelock
you might find starting points here: http://jakarta.apache.org/site/getinvolved.html On 5/30/02 10:43 PM, Nikola Milutinovic [EMAIL PROTECTED] wrote: Hi all. I have assembled a Apache-Tomcat integration howto, with virtual hosts. That is the config I actually use. I'm not saying that the

Re: How to donate: Apache-Tomcat HOWTO?

2002-05-31 Thread Nikola Milutinovic
you might find starting points here: http://jakarta.apache.org/site/getinvolved.html Well, that's fine, but it looks like it is too much for me. I've fiddled with the problem for some time, found a solution and written a document. I don't want to open a maintainer/developer account or

start external win32 process

2002-05-31 Thread Andreas Novak
Dear list, I'm using tomcat on a win32 machine and need to start an external process from a servlet ( batch file transfer from an IBM Mainframe ). The code snippet which should do the work looks like: Runtime runtime = System.getRuntime(); Process clientAccessBatch = runtime.exec(command);

Help: URL's redirection (maybe a little off-topic).

2002-05-31 Thread Luca Ventura
Hello everybody! I excuse with all people of the forum is the question I am posting is a little off-topic because it concerns also Internet Information Services (IIS) Web Server, but I didn't find any forum or source data where to retrieve the following information that I need absolutely:-( I

Re: Help: URL's redirection (maybe a little off-topic).

2002-05-31 Thread Markus Kirsten
Hi Luca, If you just need to do this with servlets you can either use a sendRedirect or a RequestDispatcher. SendRedirect tells the user to request another page, in oppose to a RequestDispatcher which lets another Servlet return the data requested. The best way (if you need to use the data

Re: Authentication with Tomcat + Apache

2002-05-31 Thread Markus Kirsten
Thank you. This was exactly what I was looking for. I thought that by opening a file for a servlet and then returning it like a stream to the client whould take too much resources but it also seemed like the only way I could whink of except for some kind of HTTP Authentication. But I haven't

Re: creating global context

2002-05-31 Thread Christian J. Dechery
request dispatcher? I don't understand... sorry, I can't simply include files that are in this context??? .:| Christian J. Dechery .:| FINEP - Depto. de Sistemas .:| [EMAIL PROTECTED] .:| (21) 2555-0332 [EMAIL PROTECTED] 29/05/02 16:41 In server.xml: Context path=/examples

id and password for Manager application?

2002-05-31 Thread Sandeep Contractor
what is id and password for Manager application? thanks, sandeep

RE: id and password for Manager application?

2002-05-31 Thread John Niven
-Original Message- From: Sandeep Contractor [mailto:[EMAIL PROTECTED]] Sent: 31 May 2002 13:16 To: [EMAIL PROTECTED] Subject: id and password for Manager application? what is id and password for Manager application? thanks, sandeep Sandeep You need to create your own

can't get context to see global classes/jars

2002-05-31 Thread Christian J. Dechery
Why can't I get this right? Is Tomcat crazy? I have a set of classes (the package is called finep) and the oracle drivers (a file named classes12.jar). Well... if I place finep and the oracle drivers in the webapp/WEB-INF dir (finep in /classes, classes12.jar in /lib) everything works

tomcat 3.3 | contexts | sessions

2002-05-31 Thread Power-Netz \(Schwarz\)
JDK 1.4 Tomcat 3.3final Linux RH7 Hi, i have two problems with tomcat: 1. i want one application i.e. /datenbank be accessible from only one virtual host, which is already defined in httpd.conf ( apache 1.3.23 ) . All other apps should not be accessible, and! no other vhost should access

old load-on-startup tag

2002-05-31 Thread Patrick . Pierra
hello ! i try to use tomcat 4.0. I have an aplication which run on tomcat 3.2.4 but i have a problem with tomcat 4.0. It seems that tomcat 4.0 can't understand the tag : load-on-startup1/load-on-startup in the web.xml file. Could you say me how can i replace this tag to obtain the same result in

RE: Need Hel plz

2002-05-31 Thread Larry Isaacs
Current releases of Tomcat 4 and Tomcat 3 don't have a problem with case sensitivity of .jsp. Only .jsp will serve the page. Other case incorrect versions will return 404 not found errors. I would highly recommend upgrading from 3.1. Cheers, Larry -Original Message- From: Walid

RE: old load-on-startup tag

2002-05-31 Thread Shapira, Yoav
Hi, Hmm... That should work. Can you send the actual error message from tomcat parsing web.xml? Meanwhile, try just load-on-startup/load-on-startup without a number. Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent:

RE: old load-on-startup tag

2002-05-31 Thread Patrick . Pierra
hi, with your suggestion : load-on-startup/load-on-startup without number i get the error : PARSE error at line 154 column -1 org.xml.sax.SAXParseException: Element servlet-mapping allows no further input; load-on-startup is not allowed. when i try to run tomcat with a load-on-startup tag

Tomcat 4.1 and AD

2002-05-31 Thread Jacob Lund
Could someone tell me if TC 4.1 is going to have a realm connector to Microsoft Active Directory LDAP interface? Thanks /Jacob -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Deploying a Webapp with Tomcat 4 and Apache 2

2002-05-31 Thread Frederick Aubert
Hi, After many tries I finally succeeded in connecting Apache 2 to Tomcat 4 using mod_jk. Now everything is fine as long as I am not trying fancy things. Actually what I want to achieve is to have my webapp in a directory somewhere else on my disk (ie. not in default tomcat/webapps directory)...

Lucia Sheehan/QAD1 is out of the office.

2002-05-31 Thread Lucia Sheehan
I will be out of the office starting 05/31/2002 and will not return until 06/05/2002. I will respond to your message when I return. Regards, Lucia -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: old load-on-startup tag

2002-05-31 Thread Shapira, Yoav
Howdy, PARSE error at line 154 column -1 org.xml.sax.SAXParseException: Element servlet-mapping allows no further input; load-on-startup is not allowed. This suggests your put the load-on-startup tag inside a servlet-mapping element. It goes inside the servlet element, not servlet-mapping.

How to turn off directory listing (Tomcat 4.0.2) ?

2002-05-31 Thread Philipp . Krummenacher
Hi, does anybody know how to turn off directory listing in Tomcat 4.0.2? For Tomcat 3, the following entries in the web.xml-file in the servlet/servlet - section worked, but with Tomcat 4.0.2. they seem not to work any more: init-param param-namelistings/param-name

Ideas for a wrapper for ManagerServlet

2002-05-31 Thread Constantin Wolber
Hi, ok my tomcat is working fine. Now I want to code a Servlet for the Manager APP. The problem is that I can href to the manager app but then everybody would be able to use the complete manager app, since either the username and password would be hardcoded into the href attribute or I would

RE: old load-on-startup tag

2002-05-31 Thread Patrick . Pierra
ok that's help me.. i have another problem. Tomcat crash probably because i have a problem with the servlet which is loaded on startup. The problem is that i can see the trace of the error because the DOS window is closed automatically. How can i change this behaviour ? Patrick PIERRA Linedata

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

2002-05-31 Thread Jack Li
put classes12.jar in $CATALINA_HOME/common/lib and finep in $CATALINA_HOME/common/classes. Jack Li -Original Message- From: Christian J. Dechery [mailto:[EMAIL PROTECTED]] Sent: Friday, May 31, 2002 8:22 AM To: [EMAIL PROTECTED] Subject: can't get context to see global classes/jars

Re: How to turn off directory listing (Tomcat 4.0.2) ?

2002-05-31 Thread Milt Epstein
On Fri, 31 May 2002 [EMAIL PROTECTED] wrote: Hi, does anybody know how to turn off directory listing in Tomcat 4.0.2? For Tomcat 3, the following entries in the web.xml-file in the servlet/servlet - section worked, but with Tomcat 4.0.2. they seem not to work any more: init-param

RE: old load-on-startup tag

2002-05-31 Thread John Niven
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 31 May 2002 14:49 To: Tomcat Users List Subject: RE: old load-on-startup tag ok that's help me.. i have another problem. Tomcat crash probably because i have a problem with the servlet which is

Lucia Sheehan/QAD1 is out of the office.

2002-05-31 Thread Lucia Sheehan
I will be out of the office starting 05/31/2002 and will not return until 06/05/2002. I will respond to your message when I return. Regards, Lucia -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

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

2002-05-31 Thread Christian J. Dechery
I've tried that too... doesn't work... and it says in the documentation that /common/' should not be used for that purpose... .:| Christian J. Dechery .:| FINEP - Depto. de Sistemas .:| [EMAIL PROTECTED] .:| (21) 2555-0332 [EMAIL PROTECTED] 31/05/02 10:50 put classes12.jar in

RE: old load-on-startup tag

2002-05-31 Thread Patrick . Pierra
ok i can see the trace of error with your first solution catalina run the problem is : java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet is because all my servlets extends this class. That's work with tomcat 3.2.4 but not with tomcat 4.0. I think that's because tomcat 4.0

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

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

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

2002-05-31 Thread Christian J. Dechery
yes... I'm using Class.forName()... but now, I can get NO classes.. not even finep classes are found... I tried placing them in ALL the four possibilities: unpacked in /classes and /common/classes and packed as jar in /lib and /common/lib it seems to me that the ClassLoader are completely

AW: tomcat 3.3 | contexts | sessions

2002-05-31 Thread Ralph Einfeldt
For 1 I can't help much, as we currently don't use tomcat together with apache. - Do you define the jk directives inside the virtual hosts or global in the httpd.conf ? (Maybe using a JkMount /datenbank ajp13 inside the virtual host definition will do what you wan't) For 2: - Are

RE: intranet/virtual host

2002-05-31 Thread Edam Cheeseman
Thanks for the reply Anthony, I'm afraid the first solution you mentioned has gone right over my head! What d'you mean by a Service? Unfortunately there isn't another machine I can use for this. I'm hoping that the easiest way to do this is to run two instances of tomcat, mainly because I'm

AW: tomcat 3.3 | contexts | sessions

2002-05-31 Thread Power-Netz \(Schwarz\)
For 2: - Are cookies enable/disabled ? as far as i see , yes.. i check the session state with isNew(), and get everytime the true. - Do you use response.encodeUrl() for all links between pages ? how is it done? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

problem with SSL

2002-05-31 Thread jmorgan
Hello, My system is: Windows 2000 Server Tomcat 4.0.3 Java 2 SDK 1.4.0 Running on local intranet (for now) Problem: I've created a certificate keystore using the instructions at http://jakarta.apache.org/tomcat/tomcat-4.0-doc/ssl-howto.html. I've edited server.xml with my keystoreFile

javamail example in tomcat?

2002-05-31 Thread @Basebeans.com
Subject: javamail example in tomcat? From: jambo [EMAIL PROTECTED] === Anyone know why I get this error. I'm just trying to run javamail wewb example but the I get a XML parsing exception. I've checked the dtd and it looks OK to me. Is there a bug in the parser? Apache Tomcat/4.0 PARSE error

RE: intranet/virtual host

2002-05-31 Thread Anthony Eden
-Original Message- From: Edam Cheeseman [mailto:[EMAIL PROTECTED]] Sent: Friday, May 31, 2002 11:04 AM To: [EMAIL PROTECTED] Subject: RE: intranet/virtual host Thanks for the reply Anthony, I'm afraid the first solution you mentioned has gone right over my head! What d'you

problems shutting down tomcat 4.0.3: java.net.ConnectException

2002-05-31 Thread Adam Hardy
For the archives I just found that this exception occurs when you try shutting tomcat down too quickly before it has finished starting. problems shutting down tomcat 4.0.3: java.net.ConnectException * From:

RE: javamail example in tomcat?

2002-05-31 Thread Shapira, Yoav
Howdy, Please refer to the Servlet Spec, v2.3. You can't have servlet elements after servlet-mapping elements. You should have all your servlet elements first, then all your servlet-mapping elements. Good luck, Yoav Shapira Millennium ChemInformatics -Original Message- From: Jakarta

queryString problems in TomCat 4.0.x for NON US-ASCII characters

2002-05-31 Thread Sjaak van Schie
Hello All, Catalina seems to have problems handling non US-ASCII characters in query string in TomCat 4.0.x. The ServletRequest.getQueryString() method returns a corrupted String. This is the case for both IE 5.5 and NetScape 4.7. The root cause seems to be that Catalina expects ISO-8859-1 and

RE: intranet/virtual host

2002-05-31 Thread Edam Cheeseman
From: Anthony Eden [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: intranet/virtual host Date: Fri, 31 May 2002 11:16:10 -0400 -Original Message- From: Edam Cheeseman [mailto:[EMAIL PROTECTED]] Sent: Friday, May

Apache 2.x and tomcat 4.x integration - Unix

2002-05-31 Thread Paula_J_Bosch
Hi - I have not used Apache/Tomcat for awhile. I am trying to configure Apache 2x and Tomcat 4x - Unix. The most recent I have found is integrating Apache 1.3.24 with Tomcat 4.0.3.

HttpServletResponseWrapper and buffering question

2002-05-31 Thread Joe Tomcat
Hello fellow Tomcatists, I'm trying to do something clever: I need to write a HttpServletResponse object, which I am calling SuperResponse, that lets me have an escape(String) method. That way, I can write a tag with code like this: SuperResponse superResponse = (SuperResponse)

Re: How to get debug info

2002-05-31 Thread Joe Tomcat
On Thursday 30 May 2002 19:06, you wrote: I have the follwing -- File1.jsp -- % code % html body jsp:inlcude page=File2.jsp flush=true / /body /html How do I get the error info from File2.jsp? And does File2.jsp inherit objects from File1.jsp? File2.jsp will inherit the same

Re: javamail example in tomcat?

2002-05-31 Thread Carl W. Jolly
yeah you have to put all your servlets then all your servlet-mappings the DTD is defined not to let you put anything out of order since it uses SAX which takes action on what it sees while it parses each element. On Fri, 2002-05-31 at 10:10, Jakarta Tomcat Newsgroup wrote:

Re: HttpServletResponseWrapper and buffering question

2002-05-31 Thread William Shulman
I am not sure if this will help, but in the past I have noticed that catalina also wraps the request and response objects. When this happens, you may get unexpected behavior. Sometimes you find that your wrapper has been wrapped (not your case or else you would get a ClassCastException in your

Re: How to get debug info

2002-05-31 Thread William Shulman
Joe Tomcat writes: I'm sure you've heard it all before, but, in general, having lots of code in your jsp pages is considered bad form for many reasons. I find that I can acomplish 100% of what I want to do with well-designed tags, filters and servlets. One thing to do is to have a

RE: moving from 3.2 to 3.31

2002-05-31 Thread Maureen Barger
I discovered what has changed is that later versions of Tomcat (ie 3.3x and 4.0x) are much more picky about the order of things in the web.xml file. I reordered things in mine and things worked much better ;-) At 12:56 PM 5/30/2002 -0400, you wrote: The contents of the web.xml is defined by

request.getReader() hanging

2002-05-31 Thread chris . karema
hi all recently upgraded, or attempted to upgrade, to tomcat 4.0.3, but have hit a brick wall.i had a servlet with the following code snippet running perfectly fine in 3.2.3 but it's not having any of it with tomcat 4.0.3 BufferedReader br = request.getReader(); String line = null;

Setting the session principal

2002-05-31 Thread Nick Sharples
Hi Does anyone know a way to set the HttpSession Pricipal from the a context classloader. I can see a set method in the catalina session, but I don't have access to that class. I guess I could use reflection and find the method or just add the Principal to the session on some predefinied key.

I cannot run tomcat on XP proffesional

2002-05-31 Thread AMRAN121
Hi I am having problems with starting tomcat 4.02 on windows XP. Tomcat was running fine on windows 95 and NT. I get the error message Windows cannot find '-Djava.endorsed.dirs='. Make sure you typed the name correctly, and then try again. In the Tomcat dos window I get: The JAVA_HOME

Re: old load-on-startup tag

2002-05-31 Thread Phillip Morelock
this indicates possibly other problems. 1. Have you set CATALINA_HOME properly? 2. In the olden days they used to have a separate download for the servlet api classes that you could put in /lib, but I don't know if that's current knowledge anymore. javax.servlet.http.* is still in Servlet

Re: Need Hel plz

2002-05-31 Thread Phillip Morelock
Current releases of Tomcat 4 and Tomcat 3 don't have a problem with case sensitivity of .jsp. Only .jsp Which versions have these fixes? I'm using 4.0.3 and it has the problem. cheers fillup On 5/31/02 5:54 AM, Larry Isaacs [EMAIL PROTECTED] wrote: Current releases of Tomcat 4 and

SSL problem

2002-05-31 Thread Zhouxuan Teng
Hi, I am using the Tomcat 4.0.1 and have the problem about SSL. I have setup the SSL in one machine and it works no problem. But when I tried to deploy it to another machine, it just did not work. The Tomcat just won't start, it quits very quickly whenever I tried to start it. But if I comment

Re: Authentication with Tomcat + Apache

2002-05-31 Thread Phillip Morelock
By the way, do you think that it's best to have the protected files on my Apache server with HTTP Authentication with a login/pass what Tomcat is aware of so Tomcat can get the resource and then send it to the user or is it better to have the files inside WEB/INF for example? I have both

RE: Need Hel plz

2002-05-31 Thread Larry Isaacs
For me, Tomcat 4.0.3 returns 404 for: http://localhost:8080/examples/jsp/dates/date.Jsp What does it do in your case? Cheers, Larry -Original Message- From: Phillip Morelock [mailto:[EMAIL PROTECTED]] Sent: Friday, May 31, 2002 2:20 PM To: Tomcat Users List Subject: Re: Need Hel

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

2002-05-31 Thread Christian J. Dechery
Just tryed it... didn't work... I switched the Class.forName() for the new method u described... it gives me the exact problem... driver not found the class that is trying to acess the oracle driver is called DAOFundos located in $CATALINA_HOME/classes, the oracle driver (classes12.jar)

Re: Need Hel plz

2002-05-31 Thread Phillip Morelock
which OS? On 5/31/02 11:43 AM, Larry Isaacs [EMAIL PROTECTED] wrote: For me, Tomcat 4.0.3 returns 404 for: http://localhost:8080/examples/jsp/dates/date.Jsp What does it do in your case? Cheers, Larry -Original Message- From: Phillip Morelock [mailto:[EMAIL PROTECTED]]

RE: Need Hel plz

2002-05-31 Thread Larry Isaacs
Windows XP. Larry -Original Message- From: Phillip Morelock [mailto:[EMAIL PROTECTED]] Sent: Friday, May 31, 2002 3:00 PM To: Tomcat Users List Subject: Re: Need Hel plz which OS? On 5/31/02 11:43 AM, Larry Isaacs [EMAIL PROTECTED] wrote: For me, Tomcat 4.0.3 returns

Re: start external win32 process

2002-05-31 Thread Phillip Morelock
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/security-manager-howto.html I'm guessing, but I don't know for sure... On 5/31/02 3:16 AM, Andreas Novak [EMAIL PROTECTED] wrote: Dear list, I'm using tomcat on a win32 machine and need to start an external process from a servlet ( batch

RE: STATUS 500 - Unable to compile class for JSPNote (TOMCAT BUG?)

2002-05-31 Thread Trenton D. Adams
I finally figured it out. The javamail taglib classes have to be in a package inside the JAR. I don't think the specifications say this so it might be a problem with tomcat 4.0.3!?!? So, I put them all in package bigcahoona and it works except for one thing. If I don't have the following in

Re: Need Hel plz

2002-05-31 Thread Phillip Morelock
Interesting. On Mac OS X -- I'm still having the problem as of 4.0.3, but obviously not on Linux. Haven't tried Windows. Just out of curiosity, how did you install it? Using the exe or the zip file? fillup On 5/31/02 12:02 PM, Larry Isaacs [EMAIL PROTECTED] wrote: Windows XP. Larry

RE: Need Hel plz

2002-05-31 Thread Larry Isaacs
I'm using the zip. I take it that Mac OS X is case insensitive. Larry -Original Message- From: Phillip Morelock [mailto:[EMAIL PROTECTED]] Sent: Friday, May 31, 2002 3:06 PM To: Tomcat Users List Subject: Re: Need Hel plz Interesting. On Mac OS X -- I'm still having the

Re: Need Hel plz

2002-05-31 Thread Phillip Morelock
Mac OS X has a weird filesystem. They're basically supporting the old mac filesystem (well it's actually intermediately old, they have a _really_ old one that is no longer supported). This filesystem, in a Unix environment, is described as case-respecting, case-insensitive. Causes problems for

Re: Anyone has any experience running Tomcat 3.2.1 and Tomcat 4.0con currently ?

2002-05-31 Thread Phillip Morelock
port conflicts is always the big one. shutdown port, http port, connector port (if applicable) etc. As long as you have separate TC roots, etc., and you're using tomcat in standalone mode, I haven't seen it be a problem. f On 5/31/02 12:22 PM, Henry Yeh [EMAIL PROTECTED] wrote: I can

Looking for support

2002-05-31 Thread Vanco, Donald
Hello - I have an Enterprise-class customer that wants to use tomcat to support a large user base. They are quite Linux/Apache savvy, but need some help in truly performance tuning the system. Are there any persons or companies that are offering formal support for tomcat? Customer is

Re: Looking for support

2002-05-31 Thread Andreas Boeyer
Hi, I am developing software since 1980. I use databases since 1987 and programming since that time high performence applications for the industrie. I programmed for example the factory control for DUPONT in Kinston/NC. My main database is oracle. I program java since 5 years. I have a lot of

tomcat and apache

2002-05-31 Thread Andreas Boeyer
Hello, I have a problem with apache and tomcat. Everything is working fine, as long I stay on the same computer. If I call the servelet examples or jsp from an other computer it only work if I typ the IP-address and the port 8080. If I call the page normal like  http://ip-address/examples the

log() method

2002-05-31 Thread Scott Purcell
I am running Tomcat 4.0.3 on a NT box here, and I am trying to use the log(my message here); method. The log() method should put the messages into the error log, but I am not seeing any activity there. In my installdir I have a logs dir and inside there there are Four(4) logs. catalina.log

Create the webapp DSO

2002-05-31 Thread Paula_J_Bosch
Hi - I am trying to get Apache 2x working with Tomcat 4x on HP-UNIX. I downloaded jakara-tomcat-connectors-4.0.2-01-src.tar and am trying to create the webapp DSO. I am getting the following error. What are APR sources? Where can I find them? Thanks, Paula $ chmod +x support/*.sh $

Re: Create the webapp DSO

2002-05-31 Thread Constantin Wolber
Freitag, 31. Mai 2002 23:19 schrieb [EMAIL PROTECTED]: Hi - I am trying to get Apache 2x working with Tomcat 4x on HP-UNIX. I downloaded jakara-tomcat-connectors-4.0.2-01-src.tar and am trying to create the webapp DSO. I am getting the following error. What are APR sources? Where can I

Loaded DSO /usr/lib/apache/mod_webapp.so uses plain Apache 1.3 API, this module might crash under EAPI!

2002-05-31 Thread Mauricio Tia Ni Gong Lin
I am using mod_webapp to connect apache web server version 1.3.20 with Tomcat 4, but the following warning message is showed when I start the apache web server: -- [Fri May 31 17:47:00 2002] [warn] Loaded DSO

Re: Loaded DSO /usr/lib/apache/mod_webapp.so uses plain Apache 1.3 API, this module might crash under EAPI!

2002-05-31 Thread Pascal Forget
Mauricio Tia Ni Gong Lin wrote: I am using mod_webapp to connect apache web server version 1.3.20 with Tomcat 4, but the following warning message is showed when I start the apache web server: -- [Fri May 31 17:47:00 2002]

Re: Create the webapp DSO

2002-05-31 Thread Paula_J_Bosch
Constantin - Thanks for the quick response. I don't think I asked my question clearly. I want to know how to create the webapp DSO on HP-UX. I downloaded the apache 2x and tomcat 4.0.3 binaries. I got both running fine in stand alone mode (ie..pulling sample pages). I downloaded the tomcat

Re: Create the webapp DSO

2002-05-31 Thread Constantin Wolber
Samstag, 1. Juni 2002 00:09 schrieb [EMAIL PROTECTED]: I downloaded the apache 2x and tomcat 4.0.3 binaries. I got both running fine in stand alone mode (ie..pulling sample pages). I downloaded the tomcat connectors tar. I ran the following script: cd

Mod JK Directories

2002-05-31 Thread Frederick Aubert
Sorry if you got this twice, but I was unsure it went through due to some technical problem with my ISP. Hi, After many tries I finally succeeded in connecting Apache 2 to Tomcat 4 using mod_jk. Now everything is fine as long as I am not trying fancy things. Actually what I want to achieve is

RE: Mod JK Directories

2002-05-31 Thread Mike Jackson
I think the location is the problem, if you specified mydirectory/mywebapp as the location you'd probably be in better shape. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Frederick Aubert [mailto:[EMAIL PROTECTED]] Sent: Friday, May 31, 2002 3:19 PM To:

RE: How to donate: Apache-Tomcat HOWTO?

2002-05-31 Thread Lee Chin Khiong
Can I have one ? TQ -Original Message- From: Nikola Milutinovic [mailto:[EMAIL PROTECTED]] Sent: Friday, May 31, 2002 6:07 PM To: Tomcat Users List Subject: Re: How to donate: Apache-Tomcat HOWTO? you might find starting points here: http://jakarta.apache.org/site/getinvolved.html

Re: I cannot run tomcat on XP proffesional

2002-05-31 Thread Jarvis Ka
You need to set your JAVA_HOME environment variable. (It's different than the PATH variable that you set to let you compile Java source files) DO: set JAVA_HOME=[your jdk path] OR: Set it in the system properties. Jarvis = Imagination is more

RE: Need Hel plz

2002-05-31 Thread Jarvis Ka
Try: http://localhost:8080/examples/jsp/dates/date.jsp Instead of: http://localhost:8080/examples/jsp/dates/date.Jsp Jarvis = Imagination is more important than knowledge... -- Albert Einstein (1879 - 1955)

File download with Tomcat 4.0.2

2002-05-31 Thread Alex Roussev
Hello, How do I force Tomcat to serve a file as a download, instead of displaying it in the browser? For example, if I have an href pointing to a filename with extention exe and I click on the href within a browser it will prompt me to save this file. So basically, I want to do this

Re: tomcat and apache

2002-05-31 Thread Andreas Boeyer
Hello, I have a problem with apache and tomcat. Everything is working fine, as long I stay on the same computer. If I call the servelet examples or jsp from an other computer it only work if I typ the IP-address and the port 8080. If I call the page normal like  http://ip-address/examples the

getParameters in HTTPServletRequest returns wrong result with XML body

2002-05-31 Thread Bo Min Jiang
Hi, I working on an app that passes a XML string through a HTTP form post to a Servlet. The string looks something like this: xmldocument=?xml version=1.0 encoding=UTF-8? AdvancedSearch SearchExpression searchItem =product Expression field=category operator=EQ

Re: File download with Tomcat 4.0.2

2002-05-31 Thread Phillip Morelock
yes, define a mime-mapping is this not a common mime type (one you've made up yourself)? If so, many browsers will display anything they perceive as text data right in the browser itself by default. you're running into a somewhat complex interaction of client browser software and server

RE: getParameters in HTTPServletRequest returns wrong result with XML body

2002-05-31 Thread Galbayar
use java.net.URLEncoder to encode XML String -Original Message- From: Bo Min Jiang [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 01, 2002 11:47 AM To: Tomcat Users List Subject: getParameters in HTTPServletRequest returns wrong result with XML body Hi, I

RE: Mod JK Directories

2002-05-31 Thread Galbayar
-Original Message- From: Frederick Aubert [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 01, 2002 7:19 AM To: Tomcat Users List Subject: Mod JK Directories Sorry if you got this twice, but I was unsure it went through due to some technical problem with my ISP. Hi, After many tries

RE: Mod JK Directories

2002-05-31 Thread Galbayar
in server.xml create context named mywebapp Context path=mywebapp docBase=E:/mydirectory/mywebapp debug=0 reloadable=true/ -Original Message- From: Frederick Aubert [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 01, 2002 7:19 AM To: Tomcat Users List Subject: Mod JK Directories Sorry

RE: tomcat and apache

2002-05-31 Thread Rajesh Mishra
Hello , Please look at the Apache's httpd.conf file and look for 'ServerName' property . If it is commentented , uncomment it and then change with the ip address of machine or the machine name . I think this should solve your problem . Regards Rajesh -Original Message- From:

RE: Loaded DSO /usr/lib/apache/mod_webapp.so uses plain Apache 1.3 API, this module might crash under EAPI!

2002-05-31 Thread Trenton D. Adams
I ignore the message myself. Can we see some httpd.conf configuration stuff relevant to the apache mod_webapp.so? I do something like the following. ... LoadModule webapp_module modules/mod_webapp.so ... ClearModuleList ... AddModule mod_webapp.c ... WebAppConnection conn warp