virtual host in the tomcat 4

2001-02-20 Thread Carlos
in the tomcat 3.2.1 the virtual host i defined: Host name="www.domain.com" Context path="" docBase="/dir1/domaindir" reloadable="true"/ But how can i defined the virtual hosts in tomcat 4? thanks Carlos - To

admin username-password

2001-02-20 Thread Dario Bonino
I try to use Context Admin (http://localhost:8080/admin/index.html), it ask me username and password, can you say me which is the default username and password for administration? Thanks, Dario. - Bonino Dario Network Administrator

Re: admin username-password

2001-02-20 Thread Sandor Spruit
Dario, On Tuesday, February 20, 2001, 10:58:02 AM, you wrote: Dario I try to use Context Admin Dario (http://localhost:8080/admin/index.html), it ask me username Dario and password, can you say me which is the default username and Dario password for administration? Though this is really a

Authentification

2001-02-20 Thread Stefan Bru
good day! i search for information about this topic for about 3 hours now and founds as much as nothing: is it possible to do a simple user-authentification with tomcat only (without apache)? if so: how can i handle this? are there any tutorials or examples? thanks in advance bs

Re: virtual host in the tomcat 4

2001-02-20 Thread Christian Parpart
in the tomcat 3.2.1 the virtual host i defined: Host name="www.domain.com" Context path="" docBase="/dir1/domaindir" reloadable="true"/ But how can i defined the virtual hosts in tomcat 4? thanks Carlos Hi Carlos, I am using Tomcat 4 with virtual hosts in success and I

installation instruction

2001-02-20 Thread FONGWI/FONG, Y.H. WILSON (IT-ISD-OOCL/HKG)
Would any one pls advise how I can install Tomcat 3.1 on Win2K? I cannot find the installation instuction Rgds, Wilson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Re: virtual host in the tomcat 4

2001-02-20 Thread Carlos
and that where you writte? in this tomcat (4) i see new directives (engine, service) where you put that exactly? can you send me a server.xml file? thanks Carlos - Original Message - From: "Christian Parpart" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 20, 2001 11:03

[tc3.3] Shutting down doesn't seem to honor the config file

2001-02-20 Thread Endre Stølsvik
How do I shut down my Tomcat 3.3 when I have set the ajp12 port to something else thatn 8007? I supply -f configfile, but it doesn't seem to do anything about it. Are there any instructions for how the server.xml file works now, basically, how the whole thing works?! Or is such stuff in the

XML string parsing

2001-02-20 Thread James Richards
I'm currently attempting to parse an XML string to obtain specific values obtained within. I understand that I can use the jaxp.jar and parser.jar files to access classes for doing such things. I'm creating JSP pages therefore I could either write code directly in here or write my own classes.

Tomcat,Apache,Linux,Oracle 8i,JDBC connectivity

2001-02-20 Thread prem
Hi, Using Apache 1.3.12; Tomcat 3.1 ; redhat linux 6.1; oracle 8i has anybody tried connecting to the oracle database with jdbc using jsp? Is it possible to work on these combinations. What are the pros and cons of this combination. We are going for the deployment of this configuration for a

Strange result

2001-02-20 Thread D.Lion
Hi all I have strange result. I'm using tomcat-4.0-b1 with apache. httpd.conf seems to be writen ok . VirtualHost xx.xx.xx.xx ServerName qqq.qwe.com LoadModule webapp_module libexec/mod_webapp.soWebAppConnection warpConnection warp localhost:8008WebAppMount examples

RE: Tomcat,Apache,Linux,Oracle 8i,JDBC connectivity

2001-02-20 Thread Chris Richard Adams
Yeah, I'm using all of the above - but Tomcat 3.2.1 and RH6.2 If you have any specifc questions let me know. Other wise just make sure you have the net8 client tools installed on your web/app server and go to town. -Original Message- From: prem [mailto:[EMAIL PROTECTED]] Sent:

Re: JServ startup problem -- PLEASE HELP!!!

2001-02-20 Thread lee fellows
Hi, I don't know for sure, but I suspect that there is not enough information in just this log file entry to assist you. Could you look at the error_log and other log files to see if additional information relating to this error is being logged, or post any errors you are seeing in a console

installing Tomcat 3.2.1 on Windows NT

2001-02-20 Thread Anonymous Coward
Hi, I'm trying to install Tomcat 3.2.1 on Windows NT. After unzipping and setting TOMCAT_HOME, PATH and JAVA_HOME environment variables, I get the following error when starting Tomcat : D:\oracle\ora81\Apache\jakarta-tomcat-3.2.1\binstartup Including all jars in

*** Referring to a file or a directory from inside a jsp/servlet or bean ???? ***

2001-02-20 Thread Jonathan Asbell
my web app directory structure is as follows: webapps/myapp/.. If I have a jsp and a bean in the root directory, and my bean refers to a file without a full path(ie. just the file name, no absolute or relative path), where does it loook for the ? WAIT. This happens in

POST Method

2001-02-20 Thread Jiri Trnka
Hello I have an interesting problem. I have Tomcat 3.2.1 working with Apache 1.3 on RedHat 6.22. I am invoking servlet with POST method. public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {

Re: Tomcat,Apache,Linux,Oracle 8i,JDBC connectivity

2001-02-20 Thread qazwasyx
If you REALLY have to use the below - no problem, I would strongly suggest splitting up the web/db servers onto 2 physically separate servers. If you don't HAVE to, I would recommend: 1. Use FreeBSD, not linux. 2. Use mSQL or mySQL, there's less processing overhead. 3. Tomcat 3.2.1 has

RE: *** Referring to a file or a directory from inside a jsp/servlet or bean ???? ***

2001-02-20 Thread Randy Layman
As far as I know, there is no cross-server standard (i.e. its not in the spec where the root is supposed to be). Consequently the best method is one that will always work. The one that comes to my mind is to use the ClassLoader.getResource and getResourceAsStream methods. Anything in

RE: How do you get Tomcat to build the tomcat-apache.conf?

2001-02-20 Thread Clifford Lang
I have installed Tomcat on Solaris 2.7 (sparc), and NT2000 (intel), and the file is not created on either of those. Do you need to install any other packages? (Ant, slide, etc) Cliff At 09:26 PM 2/19/2001 -0500, Stephen Aras wrote: The file is created in the conf dir on linux. I didn't

Virtual Host serving on ip only

2001-02-20 Thread Christoph Fischer
Hi, I have tomcat running standalone on a server with two network cards (two different IP's). How can I configure tomcat to serve only one ip and disregard the other? I tried with virtual host but it didn't work out. Thanks Chris

Re: How do you get Tomcat to build the tomcat-apache.conf?

2001-02-20 Thread Chad Roberts
Out of curiosity, what version of Tomcat are you using? I too noticed a lack of the presence of this file, but I am running 4.0. I'm pretty new to this, but as far as I can tell so far 4.0 doesn't have this file. On Tue, Feb 20, 2001 at 06:12:24AM -0500, Clifford Lang wrote: I have installed

Re: *** Referring to a file or a directory from inside a jsp/servlet or bean ???? ***

2001-02-20 Thread qazwasyx
Apparently, The page attribute (as in jsp:forward page=”…”/ is interpreted relative to the location of the current page if it does not start with /. In other words the path is page- relative. You can refer to pages in other directories by /dir1/page1.jsp or ../dir1/page1.jsp or dir1/page1.jsp.

IIS 4.0 and Tomcat 3.1

2001-02-20 Thread Victor . Bondarev
Title: IIS 4.0 and Tomcat 3.1 Hello all, I have a problem on NT4.0 Server+SP6 with IIS4.0 I have installed isapi_redirect.dll according to How-To information from tomcat docs. On Personal Web Server (NTWS) it works ok, but at IIS I have a problem. Requests to servlets works ok (i.e. I

Re: Problem with JDBCRealm

2001-02-20 Thread Christian Rauh
Salvatore Borrelli wrote: Hi everyone, I'm trying to setup a security access mechanism through JDBCRealm and a Postgresql database. I followed the instruction in the JDBCRealm.howto document, but I still cannot access to the protected area. Looking at the Tomcat log file, I read

Re: How do you get Tomcat to build the tomcat-apache.conf?

2001-02-20 Thread qazwasyx
It does indeed build the file tomcat-apache.conf in "{TOMCAT_HOME}/conf/". Here's what mine looks like. LoadModule jserv_module modules/ApacheModuleJServ.dll ApJServManual on ApJServDefaultProtocol ajpv12 ApJServSecretKey DISABLED ApJServMountCopy on ApJServLogLevel notice ApJServDefaultPort

Re: Authentification

2001-02-20 Thread Christian Rauh
Stefan Bru wrote: good day! i search for information about this topic for about 3 hours now and founds as much as nothing: is it possible to do a simple user-authentification with tomcat only (without apache)? if so: how can i handle this? are there any tutorials or examples? Stefan,

Can't connect to the database when Tomcat runs as a NT service

2001-02-20 Thread VALAKOON,VO-DANG (Non-HP-France,ex2)
Hi, There is something really strange with Tomcat. We installed Apache and Tomcat 3.2 on a NT server and we are trying to connect to databases (Access and MySQL) through a servlet. When Tomcat runs as a NT service, we are not able to connect to = databases because Tomcat is unable to load the

Re: IIS 4.0 and Tomcat 3.1

2001-02-20 Thread qazwasyx
Victor I'm guessing maybe you need to configure IIS to know what to do with JSP's. I take it you've already registered the DLL with NT/2K? If this does not help, let me know, I'll dig further - been a while since I've worked with IIS on NT. mogy po rysski - kak ly4she? m Hello all, I

RE: Tomcat,Apache,Linux,Oracle 8i,JDBC connectivity

2001-02-20 Thread Brett Knights
If you don't HAVE to, I would recommend: 1. Use FreeBSD, not linux. 2. Use mSQL or mySQL, there's less processing overhead. 3. Tomcat 3.2.1 has performance improvements over 3.1. (3.3 is cleaner still, but I'm guesing you won't want to use a milestone build) Mike, I don't want to start

Re: Authentification

2001-02-20 Thread Stefan Bräu
well thats to late. if the user already has access to the servlet its too late, isnt it? i want the browser to ask the user for his userid/password. as you can do it with apache ... users are specified in tomcat-users.xml as far as i know. regards bs - Original Message - From:

jspc

2001-02-20 Thread Claude Couderc
Hello, I wish compile ahead automatically the files java starting from the files jsp, using the command jspc.bat. But I muddle myself with the syntax of the command. My directories are organized in the following way: " D:\folders\projets\calc\web ": sources jsp. Example of file name:

formbased authentication: login.jsp is protected as well ?

2001-02-20 Thread paul marshal
Hi ! I want to restrict access to the whole webApplication using formbased authentication. ( not just a subdirectory as I've seen it in all the examples ) Here is what I tried in web.xml: web-app !-- all the mappings etc. -- security-constraint web-resource-collection

RE: beginner of TOMCAT..help required

2001-02-20 Thread Mike Braden
In case you haven't see it yet, here is a good doc on developing with Tomcat: http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/appdev/index.html -- Mike Braden [EMAIL PROTECTED] -Original Message- From: Sami [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 20, 2001 12:44 AM

Re: Authentification

2001-02-20 Thread paul marshal
Stefan Bru wrote: well thats to late. if the user already has access to the servlet its too late, isnt it? i want the browser to ask the user for his userid/password. as you can do it with apache ... users are specified in tomcat-users.xml as far as i know. regards bs -

RE: IIS 4.0 and Tomcat 3.1

2001-02-20 Thread Victor . Bondarev
Title: RE: IIS 4.0 and Tomcat 3.1 I have added new ISAPI filter to site and restarted IIS. It is lights with green sign (seems to work ok). Should I do anything else ? íÏÖÎÏ É ÐÏ ÒÕÓÓËÉ. Thanks. WBR, Victor Victor I'm guessing maybe you need to configure IIS to know what to

RE: How do you get Tomcat to build the tomcat-apache.conf?

2001-02-20 Thread Mike Braden
If you are running TC3.3, then the file is not built by default. See the readme that is in the docs directory. You need to enable the auto-conf in the server.xml file by adding: ApacheConfig / Also, the location of the files has changed to conf/jk/ Mike. -- Mike Braden CNE, MCP+I, MCSE,

tomcat3.2.1 - tomcat4 and my general classes

2001-02-20 Thread Carlos
in the tomcat 3.2.1 i have a directory in the tomcat_home. the directory is classes. if i put in this directory all my classes this classes are located by my all jsp pages, virtual domains... but in tomcat 4 i put a directory in the same place and with the same name and the classes not found. how

Re: Can't connect to the database when Tomcat runs as a NT service

2001-02-20 Thread lee fellows
I suspect permissions problems. You should check to see who Tomcat is running as when running as a service. If that user does not have sufficient privilages, Tomcat will be unable to access databases. "VALAKOON,VO-DANG (Non-HP-France,ex2)" wrote: Hi, There is something really strange

Passing trough information from webserver to classes by jsp in a safe way....

2001-02-20 Thread Eduard Witteveen
Hello, I have the following problem: I have a webserver(say mozilla) (trustable) I have scripts(jsp) (which are being uploaded, but are not completely trustable) I have somekinda library(mmbase server actually), which needs know the context in which the webserver is

Re: *** Referring to a file or a directory from inside a jsp/servletor bean ???? ***

2001-02-20 Thread Fernando Padilla
It all depends on what your code is. I'm assuming you're just using new File( relpath ), which should be relative to the user.dir system property, which should be Tomcat bin I suppose ( this is all educated guessing i tell you. ). Does knowing that help you? Your relative path should then be

RE: formbased authentication: login.jsp is protected as well ?

2001-02-20 Thread Fernando Padilla
I will have to further ask, how about content referenced from those pages? Such as images. Is there an easy way to say secure everything, except these directories? Is there a special role, "GUEST" or "ANONYMOUS" which we can assign the images directory... etc etc? fern On Tue, 20 Feb 2001,

RE: Tomcat,Apache,Linux,Oracle 8i,JDBC connectivity

2001-02-20 Thread qazwasyx
I agree totally, mainly from the opint of view that no advice should be given without the knowledge of the requirement. I was going out on a limb though, and guessing that since linux and tomcat were chosen, a cost-effective solutions was sought after. Regards, m Mike, I don't want to

Load balancing for Tomcat with mod_jk

2001-02-20 Thread [EMAIL PROTECTED]
Ok, I have implemented load balancing with mod_jk (sticky sessions). Seems to work well. However, I need to implement load balancing with non-sticky sessions. (Teflon sessions? :) ) I need all of the tomcat servers to be aware of all the sessions currently in use on the system. Is this

[Fwd: Error in mail system]

2001-02-20 Thread Alex Fernández
Hi folks! Remember the strange messages we got a while ago that run --- Sorry, The person you are trying to contact is no longer at this address. If you feel you have reached this in error, please contact with [EMAIL PROTECTED] --- Well, I wrote to that mailman and got the attached answer.

RE: Tomcat,Apache,Linux,Oracle 8i,JDBC connectivity

2001-02-20 Thread Randy Layman
But cost-effective doesn't necessarily exclude Oracle. If the biggest requirment is recoverablity after a crash then mySQL is still a bad choice (no transactions makes the database state on disk at any point in time uncertain as to its validity). Also, there could be reasons to choose

New area for servlet and servlet deployment

2001-02-20 Thread Neil Wood
Hi, I have just installed Apache and Tomcat and modified configuration files according to the minimalistic user's guide. If I want to create a new directory for my test servlets, what steps do I need to take so that they can be detected when I enter a URL? Do I need to create a context

R: Tomcat,Apache,Linux,Oracle 8i,JDBC connectivity

2001-02-20 Thread Eugenio Ascoli-Bartoli
Also connection strategy should be considered (db connection persistence and reuse) - Original Message - From: prem [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 20, 2001 12:17 PM Subject: Tomcat,Apache,Linux,Oracle 8i,JDBC connectivity Hi, Using Apache 1.3.12;

Re: *** Referring to a file or a directory from inside a jsp/servlet or bean ???? ***

2001-02-20 Thread Dominique BATARD
ServletContext.getResourceAsStream() is perfect for reading a file. But what about writing a file ? Dom - Original Message - From: "Fernando Padilla" [EMAIL PROTECTED] To: [EMAIL PROTECTED]; "Jonathan Asbell" [EMAIL PROTECTED] Sent: Tuesday, February 20, 2001 4:34 PM Subject: Re: ***

RE: Load balancing for Tomcat with mod_jk

2001-02-20 Thread Brett Knights
You might want to check this out: http://www.javaworld.com/javaworld/jw-11-2000/jw-1122-servlets.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 20, 2001 7:53 AM To: [EMAIL PROTECTED] Subject: Load balancing for Tomcat with mod_jk

tomcat 4 b1 and context param

2001-02-20 Thread Carlos
i writte this in the web.xml file and it reports me a error. Why? thanks context-param param-nameEmpresa/param-name /param-valueSN/param-value /context-param - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: *** Referring to a file or a directory from inside a jsp/servlet or bean ???? ***

2001-02-20 Thread Brett Knights
Make the output path a parameter. It would then be configured by whoever is setting up the web application. ServletContext.getResourceAsStream() is perfect for reading a file. But what about writing a file ? - To

RE: tomcat 4 b1 and context param

2001-02-20 Thread Michael Wentzel
i writte this in the web.xml file and it reports me a error. Why? thanks context-param param-nameEmpresa/param-name /param-valueSN/param-value /context-param If this is the exact text then it is because you are starting the param-value tag with an end tag. Replace the first /param-value

Re: *** Referring to a file or a directory from inside a jsp/servletor bean ???? ***

2001-02-20 Thread Fernando Padilla
well, you stumped me. I looked at the API and it said this: "Some containers may allow writing to the URL returned by this method using the methods of the URL class." So I'm hoping someone else can answer this about tomcat. -- So if you cannot use the URL accessors, as the API

Problem with a new version of JSP pages

2001-02-20 Thread Garry De Toffoli
I have a problem when I modify a JSP page; well,I modify my JSP page directly on the web Server (apache) and load this on my browser; I would expect to see the modification, but doesn't see; instead I see the jsp page without my modification; I have configured Server.XML with

Re: Load balancing for Tomcat with mod_jk

2001-02-20 Thread [EMAIL PROTECTED]
Thanks for getting back to me Nick. Are you aware of any Tomcat versions (past, present, future) that might support this type of functionality? I suppose I could do it using mod_jserv but I would rather stay with the newer architecture(mod_jk). Any idea if Tomcat 4.0 might support this? Thanks,

Repost : sendRedirect and KeepAlive problem

2001-02-20 Thread Shahed Ali
Sorry for this repost. I searched the mail archives and did not find anyone who has a problem similar to mine. I have an application which has a logout page that 1. invalidates the session 2. redirect the user back to the index.jsp page. When I click on the logout link, I get back to the

Problem with mod_jk

2001-02-20 Thread Stephan Lang
Hi, As a newbie concerning tomcat, I am facing some configuration-problems: I am trying to make tomcat work with apache on my linux-box. I wanted to use tomcat 3.2.1 and apache 1.3.14 with mod_jk. So the problem is that the apache doesn't want to recognize the module (that I downloaded as a

Re: Load balancing for Tomcat with mod_jk

2001-02-20 Thread [EMAIL PROTECTED]
Thanks for getting back to me Brett. Are you aware of any Tomcat versions (past, present, future) that might support this type of functionality? I suppose I could do it using mod_jserv but I would rather stay with the newer architecture(mod_jk). Any idea if Tomcat 4.0 might support this? Thanks,

tomcat contexts - how?

2001-02-20 Thread Neil Wood
Hi, When creating a new context withinn tomcat, do I need to create the directory structure for it manually or is there another way of rgetting tomcat to create the area for you. I am running version 3.2.1 with Apache 1.3. Can you think of any other informatrion I will need to know? All I am

HELP!!!

2001-02-20 Thread D.Lion
Is anybody using tomcat 4.0 b1 with Apache?I have problems geting *.htm and *.html filesit looks like problem with MOD_WEBAPP connector

JSP quoting and escape conventions

2001-02-20 Thread William Au
I am having trouble with quoting in scripting elements with Tomcat 3.2.1. "%\" does not work for quoting "%" as defined in section 2.4 for JSP 1.1 spec. Any way to get around it? Bill - To unsubscribe, e-mail: [EMAIL

Performance Tip (maybe)

2001-02-20 Thread Shahed Ali
Hi, Hope this info is helpfull :- We were using tomcat 3.2.1 with Apache and mod_jk. Performance was not that good. I found a (patch/enhancment) to mod_jk on the developers list mail archive. http://www.mail-archive.com/tomcat-dev@jakarta.apache.org/msg04406.html I recompiled mod_jk and

sessions in WML/WAP

2001-02-20 Thread BBueckers
Is there such a thing as a session in WML? I am trying to reference 'session.getAttribute(...)' in a jsp page that produces WML and viewed in a WAP browser. Is this even a possibility? I am trying to use Tomcat's security framework(j_security_check) to protect a url pattern and authenticate

RE: Problem with mod_jk

2001-02-20 Thread John Towell
Stephan Same thing happened to me. It's been discussed here quite a bit lately. Best thing to do is get the source from the tomcat site, follow directions for building in the mod_jk howto ... -Original Message- From: Stephan Lang To: [EMAIL PROTECTED] Sent: 2/20/01 11:09 AM Subject:

Re: Problem with a new version of JSP pages

2001-02-20 Thread Jan Labanowski
In your browser do Shift/Reload (or Shift/Refresh) and if this does not work, delete all files in $TOMCAT_HOME/work (but not the directory). You can also change cache sized in your browser to 0k. Next time tell us what OS and what browser and what version, etc., you are using... Jan K.

Tomcat Directory and Virtual Host problem????

2001-02-20 Thread Jim
I use Apache 1.3 and Tomcat 3.1 to set up the webserver on my pc (windows 2000 professional). I want to host sever sites on the sever (such as www.barand1.com and www.brand2.com), and it seems that virtual hosts work well with Apache. But the virtual hosts does not work well with Tomcat. When

Re: Problem with mod_jk

2001-02-20 Thread Jan Labanowski
You can also look at my notes at: http://www.ccl.net/cca/software/UNIX/apache/ On Tue, 20 Feb 2001, Stephan Lang wrote: Hi, As a newbie concerning tomcat, I am facing some configuration-problems: I am trying to make tomcat work with apache on my linux-box. I wanted to use tomcat

apachectl start .... error message

2001-02-20 Thread Pedro Henrique Ponchio
Hi all, this error message appear when I try to startup Apache: Starting httpd: [Tue Feb 20 14:37:58 2001] [warn] Loaded DSO libexec/mod_jserv.s o uses plain Apache 1.3 API, this module might crash under EAPI! (please recompi le it with -DEAPI) [FAILED] How can I recompile the mod_jserv.so in

Setting up Virtual Hosts

2001-02-20 Thread Erick Todd
I currently have many virtual hosts on a server. I need to set up tomcat so that I can serve jsp and regular html/images from the document root as set up by the virtual host directive. I also need to be able to access servlets through each site as www.theirdomain.com/servlet for each

Re: POST Method

2001-02-20 Thread Mel Martinez
I'm encountering a slightly different problem with POST. I'm using tc3.2.1 and apache 1.3.17 on win32 for dev purposes (we haven't yet setup the linux boxes that will be used for production). When send a request from a form method=POST... to tomcat via Apache, it gets invoked okay, but the

BASE href=.... ?

2001-02-20 Thread romain
Yo, a quick and simple question: is there a configuration option that adds a base tag to the jsp pages ? if there is, where is it ? TIA, Sloot. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email:

Re: virtual host in the tomcat 4

2001-02-20 Thread Craig R. McClanahan
Carlos wrote: and that where you writte? in this tomcat (4) i see new directives (engine, service) where you put that exactly? can you send me a server.xml file? thanks Carlos The Host declaration goes inside the Engine, just as it is in the standard "conf/server.xml" file. For more

Request for Help : Working with the Jakarata NT Service

2001-02-20 Thread Borse, Ankush (A.)
Hi Gal Let me take this opportunity to introduce myself. My name is Ankush Borse. I am working with IBM and currently at client site evaluating webserver/appserver combo for their jsp/servlet based webutility to Java Application. I already successfully integrated Apache/Tomcat together and I

Re: Load balancing for Tomcat with mod_jk

2001-02-20 Thread Nick Holloway
[EMAIL PROTECTED] ([EMAIL PROTECTED]) writes: Are you aware of any Tomcat versions (past, present, future) that might support this type of functionality? I suppose I could do it using mod_jserv but I would rather stay with the newer architecture(mod_jk). Any idea if Tomcat 4.0 might support

RES: apachectl start .... error message

2001-02-20 Thread Pedro Henrique Ponchio
10x very much, I will try to find that documentation ... -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Enviada em: Tuesday, February 20, 2001 4:01 PM Para: [EMAIL PROTECTED] Assunto: Re: apachectl start error message I ran into the same problem some time

Re: tomcat 4 b1 and context param

2001-02-20 Thread Craig R. McClanahan
Michael Wentzel wrote: i writte this in the web.xml file and it reports me a error. Why? thanks context-param param-nameEmpresa/param-name /param-valueSN/param-value /context-param If this is the exact text then it is because you are starting the param-value tag with an end

Re: JSP quoting and escape conventions

2001-02-20 Thread Craig R. McClanahan
William Au wrote: I am having trouble with quoting in scripting elements with Tomcat 3.2.1. "%\" does not work for quoting "%" as defined in section 2.4 for JSP 1.1 spec. Any way to get around it? Where are you trying to use this escape? If you are inside a string literal in a

Re: BASE href=.... ?

2001-02-20 Thread Larry Karnowski
What I do is define a static utility function somewhere like this: /** * Return a string that represents the fully qualified URL * for our servlet context, suitable for use in the HTML * embase/em tag. * * pAs an example, suppose your host was www.mycompany.com,

Re: Setting up Virtual Hosts

2001-02-20 Thread [EMAIL PROTECTED]
This can be done with TOMCAT. It can be a bit confusing at first. I assuem you are using apache 1.3.x and tomcat 3.2.x I took all of my virtual domain directives and placed them in the mod_jk.conf file. From there you simply add the information pertinant to tomcat into the domain directives...

Beginner's question

2001-02-20 Thread Diansheng Guo
Hi, all: I just begin to use Tomcat3.2 to run my servlet.I got the error on the server output. Basically I was frequently compiling my servlet code with JBuilder and check the result with an IE explorer loading the servlet. But seems my change won't take effect immediatly...Does the server

RE: Repost : sendRedirect and KeepAlive problem

2001-02-20 Thread Brad Handy
I had a problem where on any page that I used 'sendRedirect', I would get multiple pages in the same request. I changed all of my 'sendRedirect' calls to 'jsp:forward page="page.jsp" /' and my pages worked fine after that. (The value for the 'page' attribute can be any URL. The URL is

Re: apachectl start .... error message

2001-02-20 Thread [EMAIL PROTECTED]
Looks something like this --with-java-platform=1 or 2 (generally no need to specify this) --with-java=/path/to/binary/java --with-javac=/path/to/binary/javac --with-javadoc=/path/to/binary/javadoc --with-jar=/path/to/binary/jar --enable-EAPI (Note the enable --enable-EAPI ) all from page

Re: Tomcat Directory and Virtual Host problem????

2001-02-20 Thread [EMAIL PROTECTED]
Need to know what module connector your are using (mod_jserv or mod_jk)? - Original Message - From: "Jim" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 20, 2001 1:31 PM Subject: Tomcat Directory and Virtual Host problem I use Apache 1.3 and Tomcat 3.1 to set up

Running servlet from /

2001-02-20 Thread Donie Kelly
Hi Hi all I want a servlet to run when I use the URL http://wilson/ http://wilson/ i.e., no servlet specified. How can this be easily achieved? Donie - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: JSP quoting and escape conventions

2001-02-20 Thread William Au
I was inside a scriplet, setting up a string that contains the character "%": % String foo = "testing %\"; % I ended up doing: % String foo = "testing %" + ""; % But the first code segment should work according to the JSP 1.1 spec. Bill "Craig R. McClanahan" wrote: William Au wrote: I

RE: How to measure Apache-Tomcat performance?

2001-02-20 Thread Brett Knights
I can't help with the performance measurement but I'd say just go ahead and develop :-) The servlet API is meant to be portable. You can develop, test with Apache JMeter (http://java.apache.org) and if Tomcat won't work for you then you should be able to re-deploy to Resin with very little

Jasper question

2001-02-20 Thread Calin Duma
Hello Tomcaters, I am trying to embed a java code fragment in a jsp scriptlet. Whenever I'm using the switch / case statements I get Jasper compilation errors: SampleBad.jsp - % // A calendar object is created to get an integer value // of the current day of the week

Re: apachectl start .... error message

2001-02-20 Thread [EMAIL PROTECTED]
I ran into the same problem some time back. Just recompile your mod_jserv with the -EAPI (not -DEAPI) switch. Check the docs for exact switches and make this is one of them. I do however recommend mod_jk.so instead of mod_jserv (unless you are trying to do load balancing with session replication)

How to measure Apache-Tomcat performance?

2001-02-20 Thread Harish Somisetty
Hi, I've posted this same question before a couple of days and I didn't get even a single reply. I'm desperately waiting for some guru out there to help answering my newbie question. Prev mail contents follow: How can I find out how well the Apache-Tomcat combination perform, in terms of

Re: Jasper question

2001-02-20 Thread [EMAIL PROTECTED]
Try this: SampleGood.jsp - % // A calendar object is created to get an integer value // of the current day of the week java.util.Calendar thisCal = java.util.Calendar.getInstance(); int day = thisCal.get(thisCal.DAY_OF_WEEK); % % switch (day) { case 1: %

FW: Apache for JSP for Yogesh tripathi

2001-02-20 Thread Shankar Narayanan
-Original Message- From: Shankar Narayanan Sent: Tuesday, February 20, 2001 4:25 PM To: '[EMAIL PROTECTED]' Subject: RE: Apache for JSP for Yogesh tripathi I have attached the files . Did you configure apache first ? After you do that . Cut and paste the contents of my httpd.conf

RE: How to measure Apache-Tomcat performance?

2001-02-20 Thread Dave Glende
WCat, from Microsoft (yes, I know...), is another capacity measurement tool that we have used and it's free. It can be found at http://msdn.microsoft.com/workshop/server/toolbox/wcat.asp Dave -Original Message- From: Harish Somisetty [mailto:[EMAIL PROTECTED]] Sent: Tuesday,

RE: How to measure Apache-Tomcat performance?

2001-02-20 Thread Randy Layman
The reason that there are no published standards is that its very difficult to measure. What is it that you measure - number of hits per second, memory consumption, and CPU usage/utilization? These things are generally impacted more by what you are trying to do in your application than

In-process Tomcat and JSP

2001-02-20 Thread Don Ha
Hi, I'm using In-process Tomcat and I can not execute any JSP files in "webapps/examples" directory. What should I change my Tomcat configuration? Thanks. Don Ha __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a

RE: servlet not quite working

2001-02-20 Thread Randy Layman
Does nobody@webserver have permission to open a X session on the remove computer? Are you making some provision to keep this reference to Process p alive so that it won't get garbage collected (and kill the process) once the method completes? Randy -Original Message-

servlet not quite working

2001-02-20 Thread Kelley, Jeff
I am trying to run a servlet that will pop an xterm up on the remote computer. I do not get an error when compiling or calling the servlet, but I don't get the xterm to pop up. Here is the java file I am using: import java.io.IOException; import java.io.PrintWriter; import

Re: JSP quoting and escape conventions

2001-02-20 Thread Craig R. McClanahan
William Au wrote: I was inside a scriplet, setting up a string that contains the character "%": % String foo = "testing %\"; % I ended up doing: % String foo = "testing %" + ""; % But the first code segment should work according to the JSP 1.1 spec. Except for a second

RE: mod_jk.so installation tar.gz...

2001-02-20 Thread Adam Fowler
Hi, This kind of trouble! 8o) :- [root@willow RPM]# rpm -ba SPECS/mod_jk-apache1.3-1mdk.spec File /usr/src/RPM/SOURCES is smaller than 4 bytes Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.14373 + umask 022 + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf mod_jk.so-tomcat3.2.1 + tar -xf

problem running Tomcat3.2.1 on Win2k

2001-02-20 Thread Jaya Gopalakrishnan
Hi, I installed Tomcat3.2.1 version on my win2k system. And tried running the Tomcat Server by executing the starup.bat file (tomcat run). It throws the following exception and i can't bring the server up and running... Any suggestion? thanks jaya Exception in thread "main"

Parsing custom tags returned by scriptlet?

2001-02-20 Thread Christopher Barnes
I'm trying to figure out if this allowed or not: Given a .jsp with the following code: %= object.getField() % Where the field would return the following data: "I am the content inside a custom:uppercasefield/custom:uppercase of type Object" And then be displayed as I am the

  1   2   >