mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread Soefara Redzuan
Hello all, Mod_jk2 is much easier to install and configure than mod_jk ever was, largely due to some much more abundant and well-written documentation. I've set up mod_jk2 and now Apache is passing requests to Tomca OK. I've also set up Virtual Hosts in Tomcat's server.xml, and now I can access

Re: webpage & servlets !

2003-02-18 Thread Swapneel Dange
hey WENDY, JOHN , CHONG, PENG ! all those who were trying to help me, i am SORRY guys, there was a mistake on my part in writing the name of the FOLDER wrong in the path, i specified. anyway i really thank all of u for helping me in finding the error. i hope that i wil bore u with some more int

Tomcat querry

2003-02-18 Thread Jayanshu Gandhi
Dear Sir, I have installed tomcat-4.1.18 on red hat linux-8.0 My problem is how to set password and username for administrator and manager and also for other users and group. Kindly show me steps. Thanking you, Jayanshu Gandhi __ Do you Yahoo!? Yaho

Using Tomcat as a service in Windows 2000

2003-02-18 Thread AllStarRewards, Inc. Tech Support
Hello, I'm trying to run Tomcat as a service on Windows 2000 Server and am having a few difficulties. I have the wrapper.properties setup and working properly and the jk_nt_service file installed as a service, but the service will not run. My configuration is as follows: Server running Window

RE: Error while running JSP's on tomcat 3.2.4

2003-02-18 Thread Paul Bothma
Hi, Which version of Java do you have. I see that there is no direct reference to any format function in JspCalendar.java. >From the stack trace, it appears that the error occurs somewhere in org.apache.jasper.Constant.getString(). The problem might be that you have some setting in your server.xm

Re: Tomcat querry

2003-02-18 Thread Peng Tuck Kwok
In the tomcat directory, look for another directory called conf. Edit tomcat-users.xml with your fav linux editor and modify the users for your purposes. Jayanshu Gandhi wrote: Dear Sir, I have installed tomcat-4.1.18 on red hat linux-8.0 My problem is how to set password and username for admini

AW: Using Tomcat as a service in Windows 2000

2003-02-18 Thread Björn Clemens
Do you know, that you have to set ALL (!) parameters (including classpath) in the registry? the service don't uses any script during startup! So far ... Björn > > Hello, > > I'm trying to run Tomcat as a service on Windows 2000 Server and > am having a few difficulties. I have the wrapper

RE: Tomcat querry

2003-02-18 Thread Paul Bothma
Hi, Look in the file /conf/tomcat-users.xml. If you want to use the Tomcat Administration or Manager tools, you will need something like this: You can also look at: http://localhost:8080/tomcat-docs/realm-howto.html, for other methods of adding users, i.e. JDBC. Regar

RE: Using Tomcat as a service in Windows 2000

2003-02-18 Thread Paul Bothma
Hi, Here is some docs on using IIS and Tomcat. http://paul.xtracker.co.za/iis.zip Paul -Original Message- From: AllStarRewards, Inc. Tech Support [mailto:[EMAIL PROTECTED]] Sent: 18 February 2003 10:26 To: [EMAIL PROTECTED] Subject: Using Tomcat as a service in Windows 2000 Hello, I'

NameNotFoundException: Name jdbc is not bound in this context

2003-02-18 Thread Rejeev Divakaran
Hi All, I have deployed one app which uses a datasourde "jdbc/mydatasource" . while running the app I got the following exception Naming exception error while connecting to the database : javax.Naming.NameNotFoundException: jdbc is not bound in this context What could be went wrong? Thanks i

R: Startup/shutdown script

2003-02-18 Thread Simone Chiaretta
Ok... I'll try and let u know... bye Simone > -Messaggio originale- > Da: Oscar Carrillo [mailto:[EMAIL PROTECTED]] > Inviato: lunedì 17 febbraio 2003 17.56 > A: Tomcat Users List > Oggetto: Re: Startup/shutdown script > > > I spent quite a bit of time on this and finally got it. > > It mu

Solved it. Re: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread Soefara Redzuan
Solved it myself :-) I added the JkMount to the directives and now everything appears to work perfectly. ServerName www.domain1.com ErrorLog logs/error_log TransferLog logs/access_log JkMount /* worker1 ServerName www.domain2.com ErrorLog logs/error_log TransferLog logs

Re: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread ramakrishna
hi, * Soefara Redzuan ([EMAIL PROTECTED]) wrote: > Wow, this mod_jk2 really is much easier to configure than mod_jk was, though > the advanced configuration looks quite daunting. For simple virtual hosting > of a servlet/JSP site, I shouldn't need more than one worker, should I? Correct me if a

Re: UTF-8 Sending Euro symbol to Servlet in Form data.

2003-02-18 Thread Andoni
Thanks very much for this. Unfortunately it is returning 'null' which means that the request is not specifying a characterSet encoding. So I am back to my old problem of how to force the page to either encode things in UTF-8 or if not then to say what it is encoding them in. Is there something I

Re: UTF-8 Sending Euro symbol to Servlet in Form data.

2003-02-18 Thread Andoni
Did you not have to cast "from" something? Would you mind showing me the asp code? Thanks, Andoni. - Original Message - From: "Arnold Shore" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, February 17, 2003 9:29 PM Subject: RE: UTF-8 Se

RE : NameNotFoundException: Name jdbc is not bound in this context

2003-02-18 Thread PALLUEL Sylvie
What's in your file Tomcat/conf/server.xml ? What's in your file web.xml ? What is your source code using the jndi name jdbc ? Sylvie. > -Message d'origine- > De : Rejeev Divakaran [mailto:[EMAIL PROTECTED]] > Envoyé : mardi 18 février 2003 09:51 > À : [EMAIL PROTECTED] > Objet : NameNot

Re: Tomcat 3.2.1: Basic authentication and Win 2000

2003-02-18 Thread Ramkumar Krishnan
Hi Thomas, I am also having a similiar problem in our system. I am using HTTPClient jar as http client.Our product is running on tomcat 3.2.3+Apache1.3. (Windows NT) 1)Pls look at the following code. HTTPConnection httpcon = new HTTPConnection(url); ht

Tomcat 4.1.18: Deploy Problem

2003-02-18 Thread [EMAIL PROTECTED]
Hi everyone ! I'm migrating from version 4.0.4 to version 4.1.18. The problem regarding the deploy of my application. I'm trying to install my application with the manager tool but it does'nt work. The manager tool does'nt unpack WAR file into directory webapps. Why ? I have used th

HELP...Tomcat on NT

2003-02-18 Thread Chi Long
Hello, Would someone please help me with the following questions/scenarios: I downloaded Tomcat 4.1.18 and unzipped/installed it on Windows NT. The installation seems fineI can see the "Net Start" section. I can also go to http://localhost:8080 and see the index page. I have set u

WAR FILE NOT WORKING

2003-02-18 Thread Nandish A
hi all i am using tomcat 4.1.17 windows 95. i tested my application keeping it in a directory "apps" on desktop and configuring the server.xml file. No when i create the war file of the directory and place it in webapps when i restart my server the apps.war is not getting extracted and teh serve

RE: WAR FILE NOT WORKING

2003-02-18 Thread James Lewis
Hi, Could you post the catalina.out log please (or at least the relevant bits from it). Cheers, James > -Original Message- > From: Nandish A [mailto:[EMAIL PROTECTED]] > Sent: 18 February 2003 10:44 > To: 'Tomcat Users List' > Subject: WAR FILE NOT WORKING > > > hi all i am using tomcat

no application changes consideration

2003-02-18 Thread sophie seillier
Hi, I have a Tomcat 4.1.12 server which running with j2sdk 1.4.1_01 on RedHat 7.3. I ha ve the following problems : an application (GINA.war) is deployed on my server. This application is composed with java classes and jsp pages. First problem : I can't access the jsp pages. The message is the

How to unprotect a registration page/action

2003-02-18 Thread Mike Mattox
I'm using Struts & Tiles, and so far the security constraint is working. But I can't figure out how to unprotect the registration action. So far I have: All DO something.exe GET POST * All DO *.do GET POST

RE: WAR FILE NOT WORKING

2003-02-18 Thread Nandish A
The name of the war file is iCMeta.war -Original Message- From: James Lewis [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 4:17 PM To: Tomcat Users List Subject:RE: WAR FILE NOT WORKING Hi, Could you post the catalina.out log please (or at least the releva

Using a different java.io.Reader to load JSP source

2003-02-18 Thread Jan Kunzmann
Hi there, is there a "official" way to change the source of a JSP page from a regular JSP file to a String read from a database? I think that Jasper uses a subclass of java.io.Reader to read the file (org.apache.jasper.compiler.JspReader) - so maybe there's a way to use a java.io.StringReader

Re: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread Soefara Redzuan
Hi RK, I thought my workers.properties file looked very different from everybody else's using mod_jk2 ! I just checked again and realize I misread the page http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/confighowto.html I actually put the following in jk2.properties instead of in w

Calling Shell Commands from JSP

2003-02-18 Thread Laxmikanth M.S.
Hi All, How to call shell commands within JSP thanks Laxmikanth * Disclaimer: The information in this e-mail and any attachments is confidential / privileged. It is intended solely for the addressee or addressees. If you are not t

RE: WAR FILE NOT WORKING

2003-02-18 Thread James Lewis
Sorry, I meant can you post the logfile for tomcat - normally catalina.out - it will normally contain some clue as to the problem. james > -Original Message- > From: Nandish A [mailto:[EMAIL PROTECTED]] > Sent: 18 February 2003 11:10 > To: 'Tomcat Users List' > Subject: RE: WAR FILE NOT

Re: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread Soefara Redzuan
OK, you're right RK. Thank you for pointing it out - I am indeed using mod_jk instead of mod_jk2 ! I also must take back what I said about the mod_jk2 docs being so much better than the mod_jk(1) documents; it seems that I've been following the mod_jk(1) documentation. I've been using this htt

RE: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread Turner, John
JK has way more documentation and support than JK2. You're missing a JkMount line. ServerName www.domain1.com DocumentRoot /usr/local/etc/httpd/site1 ErrorLog logs/error_log TransferLog logs/access_log JkMount /*.jsp ajp13 JkMount /servlets/* ajp13 John -Original Message- From: Soe

Re: AW: Using Tomcat as a service in Windows 2000

2003-02-18 Thread Ben, heart wanderer
Why don't you download Tomcat 4.1.18 and install that? I'm using it on Win2000 AS and it install automatically. (Getting it working with IIS was another story...) Ben Schleimer --- Björn_Clemens <[EMAIL PROTECTED]> wrote: > Do you know, that you have to set ALL (!) parameters > (including classpa

Re: Web-application obfuscation issues

2003-02-18 Thread Tim Funk
If you wish to make quality assurance harder - you are free to do so. If you are distributing binary only - anyone with enough vested interest will successfully decompile your code. And if that is the case - then a really bad design might be the best counter attack ;) -Tim rf wrote: What are

RE: HELP...Tomcat on NT

2003-02-18 Thread Turner, John
1) You have to setup a Context in server.xml. There is already a ROOT Context by default. See the docs. 2) Yes. 3) If you have Tomcat installed as a service, you cannot use a shutdown script. You must control it via the services control panel. John -Original Message- From: Chi Lo

RE: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread Turner, John
FYI...you aren't using JK2 at all. You are using JK. John -Original Message- From: Soefara Redzuan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 4:04 AM To: [EMAIL PROTECTED] Subject: Solved it. Re: mod_jk virtual hosts ? 90% of the way there. Solved it myself :-) I ad

RE: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread Turner, John
It all works because your jk2.properties file is completely irrelevant, it isn't even being read. You are not using JK2. You are using JK. Any files you have with "2" in the name can be deleted...they're not being used. John -Original Message- From: Soefara Redzuan [mailto:[EMAIL PRO

RES: AW: Using Tomcat as a service in Windows 2000

2003-02-18 Thread Edemilson Aguiar
Bem, Do you have some documentation about how can I set up TomCat to run with IIS?? Let me know if you have some tips, please? Thanks in advance. -Mensagem original- De: Ben, heart wanderer [mailto:[EMAIL PROTECTED]] Enviada em: terça-feira, 18 de fevereiro de 2003 08:49 Para: Tomcat Us

Exception - Starting up Tomcat with Struts

2003-02-18 Thread Sanjeevkumar Cherengotil
Hi, I have installed Tomcat 4.1.18 and Struts1.1 Beta on my Windows 2000 machine. I copied all jar files and other required files along with the war files into the directories mentioned in the installation manual. I am getting couple of exceptions. Could anyone please tell me what went wrong

Re: Exception - Starting up Tomcat with Struts

2003-02-18 Thread Tim Funk
Your web.xml is not wellformed and/or valid. Make sure it is with respect to the DTD. -Tim Sanjeevkumar Cherengotil wrote: Hi, I have installed Tomcat 4.1.18 and Struts1.1 Beta on my Windows 2000 machine. I copied all jar files and other required files along with the war files into the dir

RE: Exception - Starting up Tomcat with Struts

2003-02-18 Thread Ralph Einfeldt
You have an error in web.xml. - Your tags don't follow the specified order - you have a tag that is not defined in the dtd. - You omitted a required tag > -Original Message- > From: Sanjeevkumar Cherengotil > [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 18, 2003 1:15 PM > To: Tomc

Re: Exception - Starting up Tomcat with Struts

2003-02-18 Thread Sanjeevkumar Cherengotil
Thanks much.. I have modified the web.xml (few of its tags were messed up). Now the following exception remains.. any ideas?? [ERROR] ActionServlet - -null java.lang.VerifyError: Cannot inherit from final class at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.Clas

Re: Calling Shell Commands from JSP

2003-02-18 Thread Holger Klawitter
Am Dienstag, 18. Februar 2003 12:35 schrieb Laxmikanth M.S.: > Hi All, > How to call shell commands within JSP As in every normal Java application: Runtime.getRuntime().exec( new String[] { "something", "-nasty" } ); The only difference is the need for some permissions in $TOMCAT_HOME/conf/cat

RE: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread Soefara Redzuan
Thank you John, You're right on all three counts (a) I forgot a JkMount line and now it works fine (b) I was a clumsy clown and actually using mod_jk, not mod_jk2 (c) Jk does indedd have far more documentation than mod_jk2 Therefore I am going to stick with the mod_jk, especially since I have got

file permissions (ot)

2003-02-18 Thread Felipe Schnack
Hey, there is a plataform-independent way to set file permissions in java? Or I have to call chmod/attrib? -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter dos Reis http://www.ritterdosreis.br [EMAIL PROTECTED] Fone/F

repost: jspc webinc.xml

2003-02-18 Thread Felipe Schnack
I'm unable to undertstand a JSPC concept... If I generate my JSP's java sources and binaries, I can include the -webinc parameter to make jsp generate a file with servlet declarations for all my web pages... That's ok, but how I include this to my web.xml? -- Felipe Schnack Analista de Sist

Re: Web-application obfuscation issues

2003-02-18 Thread Cédric Viaud
Hi ! >From who do you want to hide your code ? If you want to hide it to the client (=browser), there's no need to obfuscate your classes. All your classes or lib are under "/WEB-INF" directory, a compliant HTTP server shouldn't allow to see them. If you want to hide to the server administrator,

How pass environment vars from Apache to Tomcat

2003-02-18 Thread Eduardo Jaunez S.
Hi, I'm a newbie to Tomcat... I'm trying to pass some SSL env vars generated by mod_ssl in Apache (or any arbitrary one), to Tomcat+Axis WebServices. The documentation at Jakarta says that JkEnvVar is used to pass env vars from one side to the other, but it shows only one paramete

Tomcat 4.1.18 container-specific security mechanism+JDBCRealm+How to update user roles without logoff/relogin when DB updated

2003-02-18 Thread mech
Hi, I'm using Tomcats build in form-based auth mechanism and a JDBCRealm with usernames and roles from my DB. It can happen that a user does a login and later due to some workflow he either obtains or looses a role. I can do the insert/delete of those roles without a problem in my DB. Unfortunate

Re: repost: jspc webinc.xml

2003-02-18 Thread Kris Schneider
You can try treating the generated fragment as an external entity. Assuming the fragment is in a file called webinc.xml (colocated with web.xml), try the following in your web.xml: http://java.sun.com/dtd/web-app_2_3.dtd"; [] > &webinc; I've had problems with this on some app servers (

Re: Using Tomcat as a service in Windows 2000

2003-02-18 Thread Jacob Kjome
jk_nt_service was for Tomcat-3.x.x. For Tomcat-4.x.x, see the following http://www.mattkelli.com/tech/tomcat/ntservice.htm Jake At 03:25 AM 2/18/2003 -0500, you wrote: Hello, I'm trying to run Tomcat as a service on Windows 2000 Server and am having a few difficulties. I have the wrappe

RE: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread Turner, John
Mod_jk/Apache uses workers.properties to understand how to find Tomcat. Tomcat just does the reverse. Since it is Apache/JK that initiates the connection to Tomcat, this is sufficient. Tomcat never initiates a request over the mod_jk without a previous request from Apache. John > -Origina

Re: Tomcat 4.1.18: Deploy Problem

2003-02-18 Thread Jacob Kjome
The deploy command uses HTTP PUT and that isn't supported by browsers. It is supported by the Catalina Ant tasks provided in the appdev sample in the Tomcat documentation. Also, the deploy command doesn't put the .war file in the webapps directory when it is done uploading. It puts it in th

RE: UTF-8 Sending Euro symbol to Servlet in Form data.

2003-02-18 Thread Arnold Shore
Sure. They're as follows: and HTH, Arnold Shore Annapolis, MD USA -Original Message- From: Andoni [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 4:39 AM To: Tomcat Users List Subject: Re: UTF-8 Sending Euro symbol to Servlet in Form data. Did you not have to cast "

Re: WAR FILE NOT WORKING

2003-02-18 Thread Jacob Kjome
First, you have an invalid context "path" of "\". It should be either "" for the ROOT context or something like "/apps". Note the forward slash instead of the backslash and notice that a path of "/" does *not* refer to the root app. It is an undefined path according to Tomcat. I'm not reall

Re: repost: jspc webinc.xml

2003-02-18 Thread Felipe Schnack
I'll try that. But how could I merge files using ant? I'm actually using it. On Tue, 2003-02-18 at 10:43, Kris Schneider wrote: > You can try treating the generated fragment as an external entity. Assuming the > fragment is in a file called webinc.xml (colocated with web.xml), try the > follow

SessionId across webapps in tomcat

2003-02-18 Thread Robin de Villiers
Hi I have a problem with sessions not being carried across multiple webapps. I realise that the specification prevents this. However I have come across some hacks for this rule. 1. Have a static hashtable in the tomcat classloader space used by individual webapps. This works but I have th

Re: repost: jspc webinc.xml

2003-02-18 Thread Andy Richards
I could use pdf, however our client wishes to amend the .doc report once generated. An earlier effort produced the documents in pdf format. regards Andy also sorry follow up url was http://www.mail-archive.com/struts-user@jakarta.apache.org/msg58600.html On Tue, 2003-02-18 at 14:11, Felipe Sc

Re: no application changes consideration

2003-02-18 Thread sophie seillier
sophie seillier wrote: Hi, I have a Tomcat 4.1.12 server which running with j2sdk 1.4.1_01 on RedHat 7.3. I ha ve the following problems : an application (GINA.war) is deployed on my server. This application is composed with java classes and jsp pages. First problem : I can't access the jsp p

Re: UTF-8 Sending Euro symbol to Servlet in Form data.

2003-02-18 Thread Andoni
Thanks for that. This seems to be consistent with a lot of the articles I have found on the web. Unfortunately, when I use multipart/form-data the servlet does not read that data, I must have to do the output in some different way. Andoni. - Original Message - From: "Arnold Shore" <[EMA

Re: repost: jspc webinc.xml

2003-02-18 Thread Kris Schneider
One possibility would be the "concat" task with a web-pre.xml, webinc.xml, and web-post.xml. Another would be to combine "loadfile" with "copy" using filters. You'd put a token in your web.xml: @webinc@ Then as part of your deployment, And a third might be to use XSLT. Quoting F

RE: Exception - Starting up Tomcat with Struts

2003-02-18 Thread pqin
One easy way to tell if your xml is incorrect is to double click on your web.xml and struts-config.xml. It brings up your web browser. Your web browser should interpret your xml based on the dtd provided by your xml. If there is something wrong, the error message must be seen in the browser. Regar

RE: JK2 mess

2003-02-18 Thread pqin
Use apachectl configtest to check your httpd.conf Regards, PQ "This Guy Thinks He Knows Everything" "This Guy Thinks He Knows What He Is Doing" -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: February 18, 2003 2:07 AM To: Tomcat Users List Subject: RE: JK2

RE: Tomcat 4.1.18 and httpd-2.0.40-11

2003-02-18 Thread pqin
Move that header file one level up. Regards, PQ "This Guy Thinks He Knows Everything" "This Guy Thinks He Knows What He Is Doing" -Original Message- From: Xue-Feng Yang [mailto:[EMAIL PROTECTED]] Sent: February 18, 2003 1:34 AM To: Tomcat Users List Subject: Re: Tomcat 4.1.18 and h

Re: repost: jspc webinc.xml

2003-02-18 Thread Robert Skoczylas
I used the following package to overcome this issue. I know there are other possibilities such as using tokens in Ant but this worked quite well for what we wanted to do: http://www.oopsconsultancy.com/software/xmltask.html or try this

RE: Context from webapps

2003-02-18 Thread Shapira, Yoav
Howdy, Pretty much no one will be able to help you with tomcat 5 questions as it's not even alpha yet. You built it yourself, it's your responsibility ;) However, tomcat context autoloading in the 4.1 branch should work. Please do a clean installation of the latest stable release (4.1.18). The r

RE: huge web.xml

2003-02-18 Thread Shapira, Yoav
Howdy, Since someone has to represent the old school around here -- emacs! ;) ;) (Yes it's a slow day around here, everyone is at home due to snow) Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Liq Wnq [mailto:[EMAIL PROTECTED]] >Sent: Saturday, February 15, 2003

RE: Is server.xml DTD case-sensitive?

2003-02-18 Thread Shapira, Yoav
Howdy, Also note that server.xml doesn't and can't have a DTD/schema. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Lukasz Szelag [mailto:[EMAIL PROTECTED]] >Sent: Friday, February 14, 2003 1:57 PM >To: [EMAIL PROTECTED] >Subject: Is server.xml DTD case-sensitive? >

RE: JVM Question

2003-02-18 Thread Shapira, Yoav
Howdy, A few months ago we tried it on Linux. Not only was the performance about equal to Sun JDK 1.4 (which we currently use), but also the memory consumption was unacceptable. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Anecito, Anthony (HQP) [mailto:[EMAIL PRO

RE: Log4J and tomcat using Commons logging

2003-02-18 Thread Shapira, Yoav
Howdy, >Is there a way to tell log4j to use the properties file without relying >on the class loader, like an environment variable or something? That >might make it easier to use. PropertyConfigurator.configure(getServletContext().getResource("/WEB-INF /config/log4j.properties")); would do the t

Tomcat in Production

2003-02-18 Thread Robert Skoczylas
What is the most stable version of tomcat out there today that we could use in production? What is recommended? We are currently using 4.1.12. -r _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?

RE: no application changes consideration

2003-02-18 Thread Shapira, Yoav
Howdy, This is a NetBeans build problem most likely, not a tomcat issue. As it is, consider using tomcat's any deploy/reload tasks instead of the long process you outlined. Although your process should work as well ;) Yoav Shapira Millennium ChemInformatics >-Original Message- >From:

RE: Reading large log files with a servlet.

2003-02-18 Thread Shapira, Yoav
Howdy, I had actually implemented something like that for the system.out/.err log ($CATALINA_HOME/logs/catalina.out by default) as well as the host log ($CATALINA_HOME/logs/localhost_log.-mm-dd.txt by default). It's not too difficult to implement: - Add a to the web.xml file to the context

mod_jk integration

2003-02-18 Thread Alexander Czernay
I'm trying to integrate my servlet (Apache Cocoon 2.0.4), running inside Tomcat 4.0.4 into my Apache 1.36. This works perfectly well, but I'd like to get rid of the /cocoon/ part in the URL, so I can map the whole Cocoon based app directly to my domain. I tried some Alias commands and some Moun

RE: Tomcat as a production server?

2003-02-18 Thread Shapira, Yoav
Howdy, >Please where can I get a free non graphical profiler? (The server doesn't >have any graphic stuff installed) Comes with java: hprof ;) There are also scripts around the web, including on java.sun.com, that analyze hprof output to provide some nice additional, human-friendly output. Goo

RE: Tomcat in Production

2003-02-18 Thread Shapira, Yoav
Howdy, 4.1.18 is the latest stable release. Out of curiosity, is this not outlined clearly enough on the tomcat front page? How would we have made it more visible? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Robert Skoczylas [mailto:[EMAIL PROTECTED]] >Sent: Tue

RE: Web-application obfuscation issues

2003-02-18 Thread Shapira, Yoav
Howdy, In practice, java code obfuscation is hardly ever worth the effort. Anyone with enough interest will be able to decompile your stuff. If you're concerned about unauthorized access to your webapp, invest more time in the authorization and authentication layers. If you're concerned about so

Mangled or missing Content-Length header

2003-02-18 Thread Ian Stevens
Every so often a response to a POST request to Tomcat either fails to include the Content-Length header or mangles it so it doesn't read "Content-Length". Such replies occur both when content exists and when there is no content. I call HttpServletResponse.setContentLength() every time I build a r

Apache+Tomcat with SSL?

2003-02-18 Thread Manoj Kithany
Hi: I am using Apache 1.3.26 with JBoss ... it is working fine. Now I have installed SSL Certificates on my Servers and wondering how to configure Apache for SSL? Should I install mod_ssl or Apache-SSL? Are both these same ? which one is recommended? Thanks! _

RE: Tomcat in Production

2003-02-18 Thread Robert Skoczylas
Yup. You're right, it's on there. Just wanted to get a feeling from the users that work with tc in real life prod. systems. cheers, -r From: "Shapira, Yoav" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Subject: RE: Tomcat i

Re: repost: jspc webinc.xml

2003-02-18 Thread Felipe Schnack
i figured out this... thanks for you help, the replace approach works perfectly!!! now I just have to wait untill tomcat can diferentiate two jsps with same name in differente directories :-( On Tue, 2003-02-18 at 12:23, Robert Skoczylas wrote: > I used the following package to overcome this i

Re: Apache+Tomcat with SSL?

2003-02-18 Thread Lajos
Hi Manoj - You'll want to compile Apache with mod_ssl in it. I have several FlashGuides on my site which will help you - http://www.galatea.com/flashguides/apache-ssl-win32.xml or http://www.galatea.com/flashguides/apache-ssl-unix.xml, depending on your OS. Let me know if something doesn't wor

Re: mod_jk integration

2003-02-18 Thread Lajos
Hi Alexander - There are several ways you can do this - see my Cocoon notes at http://www.galatea.com/flashguides/cocoon-tips-2.xml (or my book ;) ). Probably the best is simply to make the cocoon webapp your default context in server.xml: Regards, Lajos Alexander Czernay wrote: I'm tryin

Re: Tomcat 4.1.18 and httpd-2.0.40-11

2003-02-18 Thread sunisson
Thanks. That doesn't work. I also talked with the author, but not help. [EMAIL PROTECTED] wrote: hi, * Xue-Feng Yang ([EMAIL PROTECTED]) wrote: I tried to connect Tomcat 4.1.18 and Apache2(httpd-2.0.40-11 ) with jk2 on my redhat 8.0 box, where apach2 was installed when I installed Redhat

Re: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread sunisson
Could you please tell me which linux you use and what version? I tried to do the same on my redhat 8.0. So it is apache2 and tomecat 4.1. I even cannot compile the native(ant native). Any suggestion? [EMAIL PROTECTED] wrote: Hello all, Mod_jk2 is much easier to install and configure than mod_

RE: Tomcat 4.1.18 and httpd-2.0.40-11

2003-02-18 Thread pqin
This problem only happens when you compile a connector on linux. The exact location of jni_md.h is $JAVA_HOME/include/linux. In order to pass the compile, you have to move this header file one level up to $JAVA_HOME/include. Regards, PQ "This Guy Thinks He Knows Everything" "This Guy Thinks

Re: mod_jk integration

2003-02-18 Thread Alexander Czernay
Hi Lajos, thanks for your help. I read through your pages and it sounds to me like I have to use the mod_rewrite technique to accomplish my goal. But I'm afraid I don't know the rewrite mechanism enough to get it going. It would be great, if you could help me again with that. This is kind of a

Re: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread sunisson
This link is broken.: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/confighowto.html [EMAIL PROTECTED] wrote: Hi RK, I thought my workers.properties file looked very different from everybody else's using mod_jk2 ! I just checked again and realize I misread the page http://jakart

Re: Tomcat 4.1.18 and httpd-2.0.40-11

2003-02-18 Thread sunisson
Could you please read my post carefully? [EMAIL PROTECTED] wrote: Move that header file one level up. Regards, PQ "This Guy Thinks He Knows Everything" "This Guy Thinks He Knows What He Is Doing" -Original Message- From: Xue-Feng Yang [mailto:[EMAIL PROTECTED]] Sent: February 18, 2

Re: Tomcat 4.1.18 and httpd-2.0.40-11

2003-02-18 Thread sunisson
Could you please read my post carefully? Thank you . [EMAIL PROTECTED] wrote: This problem only happens when you compile a connector on linux. The exact location of jni_md.h is $JAVA_HOME/include/linux. In order to pass the compile, you have to move this header file one level up to $JAVA_HOME/

Tomcat 4.1.8 and httpd-2.0.40-11

2003-02-18 Thread sunisson
Hi all, I tried to connect Tomcat 4.1.8 and Apache2(httpd-2.0.40-11 ) with jk2 on my redhat 8.0 box, where apach2 was installed when I installed Redhat 8.0. I use JDK 1.4.1. When I used ant to build native, I met errors(see attched). I cannot resolve this. Could anyone help me on this? Thank

RE: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread Turner, John
Works perfectly for me. John > -Original Message- > From: sunisson [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 18, 2003 3:05 PM > To: Tomcat Users List > Subject: Re: Solved it. Re: mod_jk virtual hosts ? 90% of the > way there. > > > This link is broken.: > http://jakarta.

Re: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread sunisson
That is what I have: Not Found The requested URL /tomcat/tomcat-4.1-doc/jk2/jk2/config was not found on this server. Apache/2.0.44 (Unix) Server at jakarta.apache.org Port 80 [EMAIL PROTECTED] wrote: Works perfectly

RE: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread Barney Hamish
Look at the link again! You're missing the part that was chopped off at the end of the line... > -Original Message- > From: sunisson [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 18, 2003 9:18 PM > To: Tomcat Users List > Subject: Re: Solved it. Re: mod_jk virtual hosts ? 90% of the

Static content and http.conf

2003-02-18 Thread Duma Rolando
1)How to configure apache to serve static content placed inside a webapp context? 2)Does this configuration depends on the "paths" used inside my jsp(i.e. does it works if i use relative paths for the images)? 3)If it depends also on connector used, is the warp connector ok? 4)Is the keepalive dire

RE: Tomcat 4.1.8 and httpd-2.0.40-11

2003-02-18 Thread pqin
Sorry if I misunderstood your question. I encountered errors like jni_md.h no such file etc when I was building my connector. After I read and followed the instruction provided by http://www.pubbitch.org/jboss/mod_jk2.html, I passed the compile. So below is what I think might be helpful. 1. grab

Searches on JNDIRealm

2003-02-18 Thread Tomcat User
Hi all. I have making a JNDIRealm for LDAP connections (the JNDIRealm to have to retrieve client certificates from LDAP). I would like to realize searches only for Organization Unit (Organization and Country are fixed); though, the client DN is CN - OU - OU - C (the root search for my LDAP). T

RE: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread pqin
We should not waste precious resource teaching people how to read the link.:) Regards, PQ "This Guy Thinks He Knows Everything" "This Guy Thinks He Knows What He Is Doing" -Original Message- From: Barney Hamish [mailto:[EMAIL PROTECTED]] Sent: February 18, 2003 12:19 PM To: 'Tomcat

Re: mod_jk integration

2003-02-18 Thread Lajos
Well, I do the same on my server. What I did was to have to s in Apache, each directing the appropriate Cocoon application to Tomcat. Then, in Tomcat, I point everything to the default context, which is Cocoon. In Cocoon's sitemap, I use the WildcardHostMatcher to direct the URLs for the approp

Re: Static content and http.conf

2003-02-18 Thread Lajos
Point your Apache DocumentRoot to the same directory the you set in the appBase attribute of your in server.xml. Then, make sure your JkMount commands (if you are using mod_jk, that is) are specific to the content you want Tomcat to serve, so that Apache will pick up the rest. Regards, Lajos

Re: Tomcat 4.1.8 and httpd-2.0.40-11

2003-02-18 Thread sunisson
Thank you. What OS do you use? Redhat 8.0. I asked this since most of people I asked use Redhat 7.2 or 7.3. Thanks again [EMAIL PROTECTED] wrote: Sorry if I misunderstood your question. I encountered errors like jni_md.h no such file etc when I was building my connector. After I read and fol

Re: Static content and http.conf

2003-02-18 Thread Jake Robb
You can not delegate static content to Apache using any currently-available version of mod_webapp (aka the warp connector). You need to use mod_jk or mod_jk2. Mod_webapp is supposed to gain that ability some time in the future. -Jake - Original Message - From: "Duma Rolando" <[EMAIL PRO

  1   2   3   >