Re: Saving files from Tomcat

2001-10-02 Thread Mark Muffett
Good idea, or I suppose I could put something in web.xml and use an initialisation servlet to store it in the context. Mark - Original Message - From: "Randy Layman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 02, 2001 6:47 PM Subject: RE: Saving files from Tomcat

RE: Problem with setting up Tomcat 3.2.3 in win98

2001-10-02 Thread Jovie Castaneda
Check your Classpaths ,JAVA_HOME and TOMCAT_HOME -Original Message- From: 97612384g [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 3:14 PM To: [EMAIL PROTECTED] Subject: Problem with setting up Tomcat 3.2.3 in win98 Hi, I installed the Tomcat 3.2.3 in my home computer (ru

Re: Tomcat 3.3 and user specific Webapps...

2001-10-02 Thread Andrew Reid
On Wed, 2001-10-03 at 15:08, Micael Padraig Og mac Grene wrote: > Do you mind my asking why you want to do that, to better understand if I can > be helpful without wasting time? I might hazard a guess and say that he wants to be able to give users the ability to run servlets on the a webserver t

Help in SOAP

2001-10-02 Thread jai ganesh
Dear All, I want to invoke a SOAP service from another SOAP service.I am not able to do it as I am getting the following error saying that "XMLJavaMappingRegistry" not done. The idea is that a client invokes a service which just routes the request to other services depending on the req

Re: Tomcat 3.3 and user specific Webapps...

2001-10-02 Thread Micael Padraig Og mac Grene
Do you mind my asking why you want to do that, to better understand if I can be helpful without wasting time? -Original Message- From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Tuesday, October 02, 2001 10:07 PM Subject: Tomcat 3.3 and user speci

RE: mod_webapp connector on linux

2001-10-02 Thread Aksel Schmidt
> However, I'm still having a problem where I can reach my deployed web > applications via port 8080 (directly to tomcat), but I can't reach it > via port 80 (through Apache). The error message is: > WebApp: Error 404 > (File: wa_request.c Line: 197) > --

Problem with setting up Tomcat 3.2.3 in win98

2001-10-02 Thread 97612384g
Hi, I installed the Tomcat 3.2.3 in my home computer (running win98) and followed the Tomcat User Guide to test it. However, I still got the exception error in starting Tomcat! Exception in thread "main" java.lang.NoClassDefFoundError: c:\tomcat Please advise. Note: - I installed the tomca

RE: mod_webapp connector on linux

2001-10-02 Thread Aksel Schmidt
> Invalid virtual host name I think I solved this by explicitly setting the apache attribute 'ServerName' in httpd.conf. Whatever, I found the solution another place in the archive. /aksel

Tomcat 3.3 and user specific Webapps...

2001-10-02 Thread news
Hi there, I would like to setup my Tomcat server (running behind Apache) for users of my system. I would like them to be able to deploy their web applications by placing the neccesary files in a webapps directory not under the standard tomcat/webapps directory but instead in their own /home/us

RE: Pool connection to database

2001-10-02 Thread Héctor Pérez
You must enclose de Connection Pool within a class with one object: the Pool. The Pool must be a variable within this class and when you call a specific method, if this variable is null, you create the pool, in the others cases you ask for a connection from the pool. The method you use must be pro

Re: Performance -- Tomcat Standalone v. Apache/Tomcat

2001-10-02 Thread Dmitri Colebatch
I think you'd be well served to viewing a recent post from Craig (o: http://www.mail-archive.com/tomcat-user%40jakarta.apache.org/msg34621.html cheers dim On 3 Oct 2001, Andrew Reid wrote: > On Wed, 2001-10-03 at 12:15, Dmitri Colebatch wrote: > > > If you are only running servlets and jsp

Re: Performance -- Tomcat Standalone v. Apache/Tomcat

2001-10-02 Thread Andrew Reid
On Wed, 2001-10-03 at 12:15, Dmitri Colebatch wrote: > If you are only running servlets and jsp, try tomcat standalone, that is, > without j2ee. The performance is perfectly adequate IMHO Would you say that Tomcat standalone is generally faster (for servlets and JSP) than Apache+Tomcat? - a

Re: Tomcat 4.0 and XML - deployment problems

2001-10-02 Thread Bob Byron
Okay, I found my problem. I went to the jakarta source code to see how it is done in there, and I simply replaced the following code: Replace: XMLReader xr = XMLReaderFactory.createXMLReader(); With: SAXParserFactory saxParserFactory = SAXParserFactory.newInstance(); SAXPars

Getting a reference to the app events listener.

2001-10-02 Thread Manu KY
Hello all, how should i get a reference to an application event listener instance created by the container? i tried using jsp:useBean and scoping the instance at application level, but the action tag created a new instance. Manu _ Do Y

Open a file?

2001-10-02 Thread Bob Byron
Okay, now I need to open the XML file and I am trying to figure out how to do that. When I try to open the file "file.xml", Tomcat 4 is trying to open it relative to "Tomcat\4.0\bin", the location of the startup scripts. I want to know what is the Tomcat centric way of opening a file relative t

RE: Will tomcat sessions work with IE6?

2001-10-02 Thread ykwan
I think your problem is related to new feature in IE6 which by default will not accept any third party cookie. In IE5.x, default is accept. Kenneth -Original Message- From: Brandon Cruz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 12:12 AM To: [EMAIL PROTECTED] Subject:

Re: Performance -- Tomcat Standalone v. Apache/Tomcat

2001-10-02 Thread Dmitri Colebatch
If you are only running servlets and jsp, try tomcat standalone, that is, without j2ee. The performance is perfectly adequate IMHO cheers dim On 3 Oct 2001, Andrew Reid wrote: > On Wed, 2001-10-03 at 11:30, Andrew Reid wrote: > > > It appears that the main problem is the Tomcat included with

Re: Performance -- Tomcat Standalone v. Apache/Tomcat

2001-10-02 Thread Andrew Reid
On Wed, 2001-10-03 at 11:30, Andrew Reid wrote: > It appears that the main problem is the Tomcat included with J2EE. I was > wondering if anyone was able to give me an indication of what would > perform better, as a general rule. That is, what would be better between Apache/Tomcat and Tomcat sta

Performance -- Tomcat Standalone v. Apache/Tomcat

2001-10-02 Thread Andrew Reid
Hello All, I'm currently working at a company where we're writing a Java application (JSP and Servlets -- Forgive my terminology, I'm not a Java person). We're currently using the Tomcat that comes with J2EE, but that seems to have performance issues after it serves about 3 simultanious connecti

RE: mod_webapp

2001-10-02 Thread Stephen . Burns
It was the Win32 binaries and source that I'm after. I can't yet compile the available source using any compiler I have. What is the recomended compiler for these modules in a Win32 environment? Regards Stephen Burns -Original Message- From: Jim Urban [mailto:[EMAIL PROTECTED]] Sent:

Re: Pool connection to database

2001-10-02 Thread Jacob FanChiang \(范姜\)
Hi: You can put it in tomcat use " System.getProperties().put(key,value); System.getProperties().getProperty(key); " Here is my solution. I create the connections in constructor "ConnectionPool()". I new the ConnectionPool instance in where I need to use it. " ConnectionPool dbPool = new Connect

Re: where to find the class's names

2001-10-02 Thread Will Stranathan
Doh - please forgive me - I didn't see I was responding to an already correct response. Didn't mean to imply I was smarter than Craig - I just can't read. Will Will Stranathan wrote: > Will Stranathan > > Craig R. McClanahan wrote: > >> >> On Tue, 2 Oct 2001, Huaxin wrote: >>

Re: where to find the class's names

2001-10-02 Thread Will Stranathan
javax.servlet.error.request_uri is a key that accesses a value stored in the request somewhere (presumably from a servlet that forwards to this JSP). There is no class javax.servlet.error.request_uri. So there's probably a servlet that actually forwards to this JSP that looks something like:

Re: Any reason to use Apache w/ Tomcat for webapp with all dynamic web pages?

2001-10-02 Thread Cary Gordon
Uses up more of those idle resources. No, there is no reason to use Apache if all you are serving is dynamic pages. At 06:20 PM 10/1/2001 -0700, you wrote: >If you're committed to a project where virtually all of the pages will be >dynamically generated, through JSP most likely, and you're commi

RE: Where to put ServletContextListener?

2001-10-02 Thread James Turner
Thanks for the info, Sir. James > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of > Craig R. McClanahan > Sent: Tuesday, October 02, 2001 7:15 PM > To: [EMAIL PROTECTED] > Subject: Re: Where to put ServletContextListener? > > > > > On Tue, 2 O

Re: where to find the class's names

2001-10-02 Thread Mikael Aronsson
Hi ! The easiest thing would be to do as you where told when you subscribed to the list, there is no reason to use that kind of language here. "Please save this message so that you know the address you are subscribed under, in case you later want to unsubscribe or change your subscription addres

Re: where to find the class's names

2001-10-02 Thread Craig R. McClanahan
On Tue, 2 Oct 2001, Huaxin wrote: > Date: Tue, 2 Oct 2001 17:09:53 -0600 (Mountain Daylight Time) > From: Huaxin <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: where to find the class's names > > I see this usage of attribute as below: > > <% > String

RE: where to find the class's names

2001-10-02 Thread Alexandru ANDREI
dear list ... HOW THE HELL CAN I UNSUBSCRIBE FROM THIS LIST ??? Or at least to switch to digest mode ? -Original Message- From: Huaxin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 02, 2001 4:10 PM To: [EMAIL PROTECTED] Subject: where to find the class's names I see this usage of at

Re: Tag Libs And Model 2

2001-10-02 Thread Craig R. McClanahan
On Tue, 2 Oct 2001, Hunter Hillegas wrote: > Date: Tue, 02 Oct 2001 15:06:37 -0700 > From: Hunter Hillegas <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: Tomcat User List <[EMAIL PROTECTED]> > Subject: Re: Tag Libs And Model 2 > > Am I right that I can only do something like this at th

Re: Where to put ServletContextListener?

2001-10-02 Thread Craig R. McClanahan
On Tue, 2 Oct 2001, James Turner wrote: > Date: Tue, 2 Oct 2001 17:52:59 -0400 > From: James Turner <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Where to put ServletContextListener? > > I'm trying to use a ServletContextListener to initialize Turbine > st

In error page, how do I get original RequestURI

2001-10-02 Thread Bragg, Casey
For Tomcat 4 (actually b7, I'll upgrade shortly). In an error page reached because an error occurred on a jsp page with the following tag : <%@ page errorPage="/error.jsp" %> How do I find the origial requestURI? Currently, I'm getting "error.jsp" from request.getRequestURI() from the error pa

where to find the class's names

2001-10-02 Thread Huaxin
I see this usage of attribute as below: <% String requestURI = (String) request.getAttribute("javax.servlet.error.request_uri"); %> Could anybody tell me where is that javax.servlet.error.request_uri defined?

Tomcat 4.0 and XML - deployment problems

2001-10-02 Thread Bob Byron
I am resending this due to the horrible formatting on the previous message. :^( I am having trouble figuring out exactly how to deploy my war file. This is the first time I have ever used XML to parse an initialization file. I was successfully ablt to run and parse the configuration fil

Deploying Applications in Tomcat 4 - HELP

2001-10-02 Thread Henry Yeh
I am a first time user of Tomcat and I am using Tomcat 4. The documentation that came with the release is not quite helpful. Does anyone have a good documentation / reference that talks about the steps to successfully deploy a tomcat application ? thanks !!! Henry

Tomcat 4.0 and XML Parsing

2001-10-02 Thread Bob Byron
I am having trouble figuring out exactly how to deploy my war file. I have deployed war files before without any problems, but this is the first time I have include XML parsing code to parse a configuration file. I was successfully able to run and parse the configuration file as a stand alone ap

Pool connection to database

2001-10-02 Thread Pablo Morillas
Hello all. I have a problem that I suppose is resolved by Tomcat. I'm using Tomcat 3.2 and I can connect to an Oracle 8i database. The problem is that a process is created by oracle in any connection to the database done from mines servlets. I want to use a pool of connection for limit the number

Where to put ServletContextListener?

2001-10-02 Thread James Turner
I'm trying to use a ServletContextListener to initialize Turbine standalone for my application. Here's the class: package com.bfg.services; import org.apache.turbine.util.TurbineConfig; public class BfgListener implements javax.servlet.ServletContextListener { public void contextDestroyed(j

RE: Will tomcat sessions work with IE6?

2001-10-02 Thread Reynir Hübner
I´ve also made few tests on this, sessions are being created both when user is logged on and not. the only thing I noticed was I could not find the cookie file that get´s created in the cookies folder of the userprofile. hope it helps -r -Original Message- From: Bavo De Ridder [mailto:

Re: Will tomcat sessions work with IE6?

2001-10-02 Thread Bavo De Ridder
Hi, I use IE6 together with Tomcat and I didn't encounter any problems ... Bavo - Original Message - From: "Brandon Cruz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 02, 2001 6:12 PM Subject: Will tomcat sessions work with IE6? > Just out of curiosity, is there

How to get an Applet to run in a JSP ?

2001-10-02 Thread James Adams
I have an applet which runs fine when I include it in a HTML page, but whenever I try to include it in a JSP I get a pop-up message from my browser (Netscape 4.78) telling me that I need to download the Java plugin. I get the same behavior when testing with Internet Explorer. Obviously I already h

socket timeout

2001-10-02 Thread Luis Rodrigues Marques
Hi, I would like to change the time my "doPost" method is waiting for some data in a socket (by default is 5 min.). is it possible, and if it is, how to set in a configuration file (server.xml or web.xml) a timeout period for this situations? thanks in advance! Luis

Re: attibute has no value

2001-10-02 Thread John J Brecht
Doh! - the missing quote was definitely the problem. I just assumed that all the syntax was right since ServletExec never complained. Another thing that ServletExec never complained about was not being able to find the class String. Even if I import java.lang.String, this page doesn't parse unle

Re: Taglibs & Jasper CompileException

2001-10-02 Thread James Adams
It turns out that the unterminated description element which was causing the CompileException was actually in the web.xml file. Strange that I never get any errors or exceptions when web.xml is processed during a restart of Tomcat. -James

Re: attibute has no value

2001-10-02 Thread Craig R. McClanahan
On Tue, 2 Oct 2001, John J Brecht wrote: > Date: Tue, 02 Oct 2001 11:49:50 -0700 > From: John J Brecht <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: Tomcat <[EMAIL PROTECTED]> > Subject: attibute has no value > > I'm having a very simple problem. I am attempting to migrate some > app

attibute has no value

2001-10-02 Thread John J Brecht
I'm having a very simple problem. I am attempting to migrate some applications that ran fine under ServletExec to Tomcat 4.0. Jasper fails to parse my JSPs, throwing the folling error: 2001-10-02 10:46:44 ApplicationDispatcher[/DLServlet] Servlet.service() for servlet jsp threw exception org.ap

RE: Saving files from Tomcat

2001-10-02 Thread Randy Layman
The way that we deal with this is have a system configuration parameter to indicate the path. The system configuration is either stored in the database or some properties file in the classpath, then when the app moves (or we deploy to a different server) we just edit the configuration.

Re: ResultSet

2001-10-02 Thread Frank Lawlor
Many of the especially older jdbc drivers did a very poor job of implementing the spec and many of the methods were not implemented. What database/driever are you using? Often the documentation was poor. You can try getting the latest driver and checking what was supported. Frank Lawlor Athens

tomcat-jboss error

2001-10-02 Thread Papo Napolitano
I've a webapp running ok, but every time that a made a rebuild of it a got the following error if I don't restart tomcat server. Anybody can help ?? Error: 500 Location: /usermanager/index.html Internal Servlet Error: java.lang.IllegalStateException: Can't happen - classname is null, who add

Can I do this in login.jsp?

2001-10-02 Thread Gerry Duhig
I want login.jsp to take the user input username and pasword, pass them to a servlet to carry out some specialist actions including writing a cookie then pass the input to j_security_check so that authentication takes place. Is that possible? Anyone got an example I can see? Gerry

Problem with setting up Tomcat 3.2.3 in win98

2001-10-02 Thread 97612384g
Hi, I installed the Tomcat 3.2.3 in my home computer (running win98) and followed the Tomcat User Guide to test it. However, I still got the exception error in starting Tomcat! Exception in thread "main" java.lang.NoClassDefFoundError: c:\tomcat Please advise. Note: - I installed the tomca

RE: Issue with running the tests

2001-10-02 Thread Larry Isaacs
There was an improvement in Ant 1.4 that is incompatible with the GTest currently in Tomcat 3.2.3. The result of this incompatibility is the error you are seeing. The simplest solution is to use Ant 1.3 when building Tomcat 3.2.3. However, you can replace the v1.4 ant.jar placed in the built To

Saving files from Tomcat

2001-10-02 Thread Mark Muffett
I have to save some data in files from a servlet (can't get blobs to work with JDBC) - is there any good (portable) way to express the directory path? I'm just worried that an absolute path is going to cause problems if the site is moved. Thanks for any help Mark Muffett

RE: tomcat4 and JDBCRealm problem

2001-10-02 Thread Epling, Bob
Craig, Thanks for the help... I guess I need to get my glasses checked... When I read step 3 I read it as $CATALINA_HOME/lib without the server... I will read more carefully next time... Thanks again, Bob Epling -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sen

RE: ResultSet

2001-10-02 Thread Siomara Pantarotto
Try to understand the scope. If your bean passes the resultset but the connection is lost I think you lose the reference for the result set too. I am not sure. I gues I have a JSP example that reads a table and populate a combo box. Does it help. Let me know so I can send as example. Sio >Fr

Re: How do I know what security manager is in use?

2001-10-02 Thread Craig R. McClanahan
On Tue, 2 Oct 2001, Frank Lawlor wrote: > Date: Tue, 2 Oct 2001 11:29:41 -0500 > From: Frank Lawlor <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED], [EMAIL PROTECTED] > To: "Tomcat (E-mail)" <[EMAIL PROTECTED]> > Subject: How do I know what security manager is in use? > > There are now (at le

RE: ResultSet

2001-10-02 Thread Siomara Pantarotto
Sorry Claudia, I never worked with pagination. I also don't know if you are referring to just a bean or EJB. Try to make it simple first. Have you tried??? Siomara PS: Thanks for visiting my page. >From: Claudia Sarmiento <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: "'[EMAIL PROTEC

Re: tomcat4 and JDBCRealm problem

2001-10-02 Thread Brian Richards
If you are using Tomcat 4 put it in CATALINA_HOME\common\lib - Original Message - From: "Epling, Bob" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 02, 2001 10:35 AM Subject: RE: tomcat4 and JDBCRealm problem Craig, Thanks for the advice. For grins I wrote a quick

How do I know what security manager is in use?

2001-10-02 Thread Frank Lawlor
There are now (at least) 3 different web security managers which could be in use by a web app (JDBC, JNDI, in-memory). How can I tell which one? I am writing some general support classes to manage users and roles. To support a call like addUser() I need to know which security manager is in us

Re: mod_webapp connector on linux

2001-10-02 Thread David Ward
John, I have the same exact setup and had the same exact problem. After searching the user lists, I found I had to *uncomment* this line in my httpd.conf file: #ServerName localhost It seems that mod_webapp cares about it, though mod_jk didn't. (The eapi thing is just a warning, and Apache

Re: Using Reflection in Tags? Good?

2001-10-02 Thread Craig R. McClanahan
On Tue, 2 Oct 2001, Hunter Hillegas wrote: > Date: Tue, 02 Oct 2001 07:45:17 -0700 > From: Hunter Hillegas <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: Tomcat User List <[EMAIL PROTECTED]> > Subject: Using Reflection in Tags? Good? > > I have the Manning book, "JSP Tag Libraries" whi

Re: Hekp regarding Heap Settings

2001-10-02 Thread Ray Pitmon
Quoting "Mohbe, Sameer" <[EMAIL PROTECTED]>: > > Hi Everyone, > Gentlemen i need some help regarding the Heap > seetings > in JVM. > The environment is Linux 7-Tomcat -JDK1.3 .Right now the Heap settings > are > set to default)i.e. Minimim=1 and Max=64MB. > How do we change

RE: tomcat4 and JDBCRealm problem

2001-10-02 Thread Craig R. McClanahan
On Tue, 2 Oct 2001, Epling, Bob wrote: > Date: Tue, 2 Oct 2001 08:35:18 -0600 > From: "Epling, Bob" <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: RE: tomcat4 and JDBCRealm problem > > Craig, > > Thanks for the advice. For grins I wrote a quickie program i

Re: Tomcat 4.0 access log DIES all the time for no reason

2001-10-02 Thread Craig R. McClanahan
Can you please post a stack trace, and describe exactly what you're doing. I don't know what "the log DIES" means. Craig On Tue, 2 Oct 2001, André de Jesus wrote: > Date: Tue, 02 Oct 2001 13:23:56 +0100 > From: André de Jesus <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTEC

Re: My java.security.AccessControlException@Waterloo.be

2001-10-02 Thread Frank Lawlor
Third try since I never saw this show up: Do you need to specify a security provider in java.security, e.g., security.provider.3=com.sun.crypto.provider.SunJCE (the above is for Sun's encryption provider). Frank Lawlor Athens Group, Inc. (512) 345-0600 x151 Athens Group, an employee-owned c

RE: Is tomcat4 and jdk1.4beta2 combination okay?

2001-10-02 Thread Craig R. McClanahan
On Tue, 2 Oct 2001, Randy Layman wrote: > Date: Tue, 2 Oct 2001 08:22:02 -0400 > From: Randy Layman <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: RE: Is tomcat4 and jdk1.4beta2 combination okay? > > > Tomcat is indicating that it can't find JavaC (th

RE: Can't use Cookies in tag libraries ?????

2001-10-02 Thread Craig R. McClanahan
On Tue, 2 Oct 2001, Arnaud Héritier wrote: > Date: Tue, 2 Oct 2001 12:12:33 +0200 > From: Arnaud Héritier <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED], > "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > To: "Tomcat-User (Adresse de messagerie)" <[EMAIL PROTECTED]> > Subject: RE: Can't use Co

Will tomcat sessions work with IE6?

2001-10-02 Thread Brandon Cruz
Just out of curiosity, is there a way to set tomcat so that the session cookies it sets will contain the privacy policy that is required by default settings in IE6? If not, does that mean that every application is going to have to store the session in the URL to work with IE6? Thanks! Brandon

mod_webapp connector on linux

2001-10-02 Thread John Cartwright
Hello All, I'm trying to establish a connection between apache 1.3.20 and tomcat4 using the binary distribution of the mod_webapp connector. I added the following lines to my httpd.conf file via Include directive: LoadModule webapp_module modules/mod_webapp.so AddModule mod_webapp.c WebAppConne

Issue with running the tests

2001-10-02 Thread Jon Earle
Hi! New Tomcat user, familiar with Linux, etc, however, I know virtually nothing about Java. I'm in the process of moving an existing website using Jakarta on an NT system to a Linux server (RH7.1). I figured that I'd grab all the latest (Apache 1.3.20, latest mod_ssl, latest Tomcat [4.0]) and

mod_webapp connector on WinNT/Win2000

2001-10-02 Thread John Cartwright
Hello All, is there a binary version of the mod_webapp connector available for Apache on Windows platforms? I see the linux and mac versions. Thanks! -- john = John Cartwright Professional Research Assistant / Associate Scientist CIRES, SEG/N

Re: Webapp and Tru64

2001-10-02 Thread Nikola Milutinovic
Yogesh Bhanu wrote: > Hi Nikolai, > Well I havent tried it, But on going thru my linux alpha box >, it has stdint.h well it is gcc-2.95.4 > what do ya say ..?? Iæm compiling on Tru64 UNIX, I have no doubt Linux has it. By the looks of it, mod_webapp is a LINUX utilit

Re: PJA and Tomcat 3.2.3

2001-10-02 Thread Paul Downs
> I did get the PJA working once. I set exactly the same >parameters but I set them in my tomcat startup script: Thanks, I will give that a whirl. Have since tried Xvfb and despite the fact that it runs fine I still get the cannot connect to display errors Paul

RE: "...is not a servlet", yes I *have* RTFM, my jre/lib/ext is empty! -- fixed

2001-10-02 Thread Peter Ferne
FYI I fixed it by recompiling against the new jars. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: 28 September 2001 14:48 > To: [EMAIL PROTECTED] > Subject: RE: "...is not a servlet", yes I *have* RTFM, my jre/lib/ext is > empty! > > > Also, check to

AW: AW: Does Tomcat-3.2.3 supports Distributed Sessions ?

2001-10-02 Thread Ralph Einfeldt
I separate 2 things: - distributed session - failover sessions A distributed session means to me that you can have more than one instance of the same session at the same time. The reason you mention is just a requirement for failsafe sessions, where you always have only one session at a giv

mod_jserv for Tomcat 3.1.1 with Apache 1.3.12 on HPUX 11.00

2001-10-02 Thread Arnaud Héritier
again me ;-) but for another question. I would like to know if someone have a compiled version of the mod_jserv.so or mod_jk.so for Apache 1.3.12 with Tomcat 3.1.1 under a HPUX 11.00. thanks in advance arno Arnaud HERITIER Ingénieur d'études SOPRA. Group EAI Consulting Tel : +33-1-53-33-44-

RE: Is tomcat4 and jdk1.4beta2 combination okay?

2001-10-02 Thread Beem Rickey L (Rick) CNIN
In your registry, make sure HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.4\JavaHome is set correctly, then reinstall Tomcat 4.0. If I remember correctly, if you have Netscape 6 installed it sets this to point to the JRE instead of the JDK. This prevents the Tomcat 4.0 installer fr

Re: mod_webapp

2001-10-02 Thread eirikdentz
I think I've run into the same problem: I think the problem is in the apache-1.3/Makefile as indicated in this post: It sure would be nice to be able to get m

RE: Tomcat 4.0 Startup Defect

2001-10-02 Thread Dan Silcox
The J2EE jar contains many of the same api's that Catalina does in /common/lib such as servlet.jar, mail.jar, etc. You must either put the j2ee.jar under {your-app}/WEB-INF/classes/lib or remove from the j2ee.jar those api's that are used by Catalina. By the way, I've had this same problem using

Re: Load balancing explanation needed - please

2001-10-02 Thread Uniti Marco
Hi for load balancing with Tomcat you can use mod_jserv or mod_jk Marco [EMAIL PROTECTED] wrote: > Only one problem with this answer: I am using Tomcat, not JServ. The > configurations are totally different. > > JDL > > > "Uniti Marco" >

Tomcat 4.0 Startup Defect

2001-10-02 Thread Brent Denver
I’ve got Tomcat 4.0 installed using JDK1.3.1 on Windows 2000 Professional. I have been able to successfully call a TestServlet that I deployed to it. However, when I put the j2ee.jar archive in the $CATALINA_HOME/lib directory (for the EJB package), Tomcat won’t even start successfully. The log gi

Using java bean

2001-10-02 Thread Roberto B.
I'm using Tomcat 3.2.3. I use java beans for my site (myapp). 1) I place my beans under dir: /webapps/myapp/WEB-INF/classes. Is it right? 2) Every time I change a bean, I compile it and I must restart Tomcat to get this changes ... Is it right?.. or is there another way to do this? Roberto.

Webdav: how do I get to JSP source?

2001-10-02 Thread Ray Allis
... or anything else tomcat modifies during retrieve? Ray Allis

Netscape redirector using ajp13 and Tomcat 3.2.3

2001-10-02 Thread Wesley Gamble
All, Does the Netscape redirector for Tomcat 3.2.3 support ajp13? If so, are there binaries available or do I need to build the DLL myself? Thanks for any help, Wes Gamble [EMAIL PROTECTED]

Re: Can't use Cookies in tag libraries ?????

2001-10-02 Thread Marcel May
On Tue, Oct 02, 2001 at 04:53:04PM +0200, Arnaud H?ritier wrote: > I done it, but I would to store the info between two sessions, that's why I tried >this. Store it somehow in application scope bean then? > > > -Message d'origine- > > De: Marcel May [SMTP:[EMAIL PROTECTED]] > > Date:

Re: Load balancing explanation needed - please

2001-10-02 Thread JLagrue
Only one problem with this answer: I am using Tomcat, not JServ. The configurations are totally different. JDL "Uniti Marco"

RE: Can't use Cookies in tag libraries ?????

2001-10-02 Thread Arnaud Héritier
I done it, but I would to store the info between two sessions, that's why I tried this. > -Message d'origine- > De: Marcel May [SMTP:[EMAIL PROTECTED]] > Date: mardi 2 octobre 2001 16:40 > À:[EMAIL PROTECTED]; [EMAIL PROTECTED] > Cc: '[EMAIL PROTECTED]' > Objet:Re: Can't u

Réf. : Login & j_security_check JSP question

2001-10-02 Thread R . DAVIDOVICH
in the folder "$CATALINA8HOME/webapps/examples/jsp/security/protected/" there are three pages: login.jsp, error.jsp and index.jsp... and in the server's web.xml there's the security constraint and the login configuration... hope it's what you're looking for... --

RE: tomcat4 and JDBCRealm problem

2001-10-02 Thread Epling, Bob
Craig, Thanks for the advice. For grins I wrote a quickie program in java that connected to the database and listed the users. It worked fine using the same parameters that were in the server.xml for Tomcat. So, I started to scratch my head some more and took a harder look at catalina.bat. Even

AW: HTTP POST request: maximum allowed data?

2001-10-02 Thread Ralph Einfeldt
If szData is the content of your textarea your are just doing a get. To post something you need a form with method="post" The Post request has no maximal size (at least none that I know). Get is limited by apache by some 1400 bytes, what the spec says I haven't looked for. > -Ursprüngli

ejb mysql ejbPassivate() - NEWBIE QUESTION -

2001-10-02 Thread Papo Napolitano
I'm trying to write an Session EJB to administrate users in a Database. I've written it and connect to mySql in this way : CODE -- public int dbConnect() { try { Class.forName("org.gjt.mm.mysql.Driver").newInstance();

HTTP POST request: maximum allowed data?

2001-10-02 Thread Danny Heinen
Hi, I have to tranfer data from a textarea to a JSP page, by using the HTTP POST request. I do it by javascript: var newPage = "/nnn/newpage.jsp?" + szData; window.location.href=newPage; The data will be saved in a database then. I wonder what's the maximum allowed data to send with a POST com

R: Caching Login Info in Tomcat 3.2.x

2001-10-02 Thread Renato Romano
And what about just storing an "I'm authenticated" flag in the session, associated with the username (which is already there...) ? This way I have no problems about password changes... Therefore, i think password is already stored clearly in the session object as the attribute "j_password", isn't

Re: AW: Does Tomcat-3.2.3 supports Distributed Sessions ?

2001-10-02 Thread David Cassidy
Umm situation where you would want them in a multi server situation. where you want to assure your boss that no he won't loose customers and their money. If you look at things like dynamo and weblogic they provide ( I know more about dynamo than weblogic) a comple fail over protected etc et

Login & j_security_check JSP question

2001-10-02 Thread Gerry Duhig
Help! I want to find a sample of a JSP Page to use as the authentication form in a secure application. I have seen reference to such a page but cannot find a sample. We currently use an html page but need some additional processing. Please direct me to a URL or send me a sample Thanks Gerry

AW: Does Tomcat-3.2.3 supports Distributed Sessions ?

2001-10-02 Thread Ralph Einfeldt
Just out of interest: what is the reason for this requirement? I can hardly imagine a case where the benefit of distributed sessions justifies the amount of work to implement them (and the amount of problems you will have if you got them) "Be carefull what you desire, you might get it." > ---

Setting up "hidden" directory

2001-10-02 Thread Tim Ashman
I had this setup once and my box blew up on me so I've lost my config. Right now I have to enter the following to execute my servlets somehost/somecontext/servlet/somedirectorystructure.someservlet. I want to be able to enter somehost/context/servlet/someservlet. I use to be able to do this b

Re: Load balancing explanation needed - please

2001-10-02 Thread Marc Ponschab
Hi, i think you're on the right way > I need to define entires in the worker.properties file > for each of these instances. That much seems obvious. > But how? Do I define both instances as workers in the same > worker.properties file? Example: __ # you can reference this fr

urgent: error in modjk.log

2001-10-02 Thread Quaini Michele
Hello, we have the following problem in production: we use jakarta-tomcat 3.2.1 + apache 1.3.12 a lot of errors of this type are present in the log file of mod_jk.log: [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter [jk_uri_worker_map.c (185)]: In jk_uri_

Re: Load balancing explanation needed - please

2001-10-02 Thread Uniti Marco
http://java.apache.org/jserv/howto.load-balancing.html HI [EMAIL PROTECTED] wrote: > I am attempting to setup a system with Apache and Tomcat 3.2.3 to > load-balance between 2 instances of Tomcat on the same machine. > > I have read and reread the worker.properties document, plus the > Apache-H

RE: Is tomcat4 and jdk1.4beta2 combination okay?

2001-10-02 Thread Ali Manji
Yes jdk1.4beta2 does have a tools.jar and the JAVA_HOME var does point to it. I am now thinking that something is wrong with the Tomcat config files, because if I run catalina.bat directly I seem to be okay and the shipped samples seem to be okay, yet when I start Tomcat via Start->Programs->A

  1   2   >