Running test servlets using Apache and Tomcat 3.1

2000-11-28 Thread Scott Goldstein
I'm fairly new to using Tomcat and I've having problems running the servlets in the ../webapps/test/WEB-INF directory. I have the following in my tomcat-apache.conf file: Alias /test /opt/jakarta-tomcat/webapps/test Directory "/opt/jakarta-tomcat/webapps/test" Options Indexes

excuse me

2000-11-28 Thread Carlos
Perdon i am send a mail in spanish to this list, it has been a mistake. olease excuse me thanks carlos

AW: mod_jk for AIX?

2000-11-28 Thread Christoph Leser
Thanks for your reply. The http.exp is not the file I'm looking for: It is used the -bI, i.e.it defines symbols used by mod_jk ( and defined anywhere in the apache httpd ). What is missing is the *.exp file enumerating the symbols from mod_jk to be used by httpd to call our tomcat stuff. I

Re: excuse me

2000-11-28 Thread Diego Pons
Carlos wrote: Perdon i am send a mail in spanish to this list, it has been a mistake. olease excuse me thanks carlos No hay porque disculparse, el que no entienda que lo borre. There is no reason to apologize, whoever doesn't understand can ignore the msg. -- Diego Pons Pharos Consulting LLC

RE: apache and tomcat and virtual domain

2000-11-28 Thread David Connolly
Hi Carlos, Apologies for the delay in replying. The way I got mine to work was to simply include a tomcat-apache config file in my httpd.conf file. I.e. include /jakarta-tomcat/conf/tomcat-apache.test This file should have the following form : LoadModule jserv_module libexec/mod_jserv.so

tomcat-apache-virtual doamins and conf files

2000-11-28 Thread Carlos
if i am using apache and tomcat, and i use virtual domains: for each virtual domain must i put the web.xml file in the virtual domains WEB-INF directory? thanks Carlos

RE: I want to use my own Java-classes in tomcat.

2000-11-28 Thread Saurabh Shukla
In your startup file you can do that. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, November 27, 2000 6:06 PM To: [EMAIL PROTECTED] Subject: I want to use my own Java-classes in tomcat. I have in tomcat create my own webapp. But know I want to

RE: apache and tomcat and virtual domain

2000-11-28 Thread Saurabh Shukla
Please read the example in server.xml properly. You will know what you are missing. Shuklix -Original Message- From: Carlos [mailto:[EMAIL PROTECTED]] Sent: Monday, November 27, 2000 9:25 PM To: [EMAIL PROTECTED] Subject: apache and tomcat and virtual domain in my apache httpd.conf

HELP: Memory Leak , requests are not worked off

2000-11-28 Thread Kai Müller
Hello everybody, I have an urgent and difficult problem. My JSP reads data via JDBC from MySQL, more exactly: via an Accessor.class and a Database.class (both are unique in the application). I have one common persistent connection. The resultSet and statements are closed properly after each

Re: apache and tomcat and virtual domain

2000-11-28 Thread Carlos
tghere is not run me with the tomcat 3.2 b8 can you help me in other form? thanks Carlos - Original Message - From: "Saurabh Shukla" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 28, 2000 11:21 AM Subject: RE: apache and tomcat and virtual domain Please read the

Re: reloading..

2000-11-28 Thread Endre Stølsvik
On Mon, 27 Nov 2000, Alistair Hopkins wrote: | give up, restart tomcat. | | i found that to be the only sureproof way :-( Hmm.. This isn't exactly the solution I wanted! Isn't there any other way, or anyone that can give me any clues of where to _start_ looking for a solution?! Thanks! --

RE: HELP: Memory Leak , requests are not worked off

2000-11-28 Thread Stubenrauch,Andreas
Hi, It seems to happen exactly what you mention: You create a new Objects (at least a Treemap) every time. This will eat up your memory. For the Garbage Collection to be more efficent you should release them after use by setting them to null. Regards, Andreas -Original Message- From:

RE: One JVM per context?? Please help!

2000-11-28 Thread Saurabh Shukla
It is equivalent to running two tomcat's, so you are read about starting 2 tomcats, you just need to have 2 different server.xml(one for each context) Shuklix -Original Message- From: Mike La Budde [mailto:[EMAIL PROTECTED]] Sent: Monday, November 27, 2000 10:24 PM To: [EMAIL PROTECTED]

RE: Tomcat issue - Fresh data not brought forward

2000-11-28 Thread Saurabh Shukla
1) Please check if transaction is commited. 2) The page might be coming from your cache, delete your cache completely, kill your browsers and then check. Shuklix -Original Message- From: ann patil [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 28, 2000 1:03 PM To: [EMAIL

Session encodeURL not working properly in 3.2beta8 (mod_jk+SSL)

2000-11-28 Thread Stubenrauch,Andreas
Hi, it's me again and my favorite: Session management without cookies, by URL-rewriting It works fine again in 3.2beta8 (Using Apache and mod_jk(ajp12) as frontend) unless SSL (by apache not tomcat) is used . In this case the URL don't get rewritten. I first thought it was the unfortuneatly

RE: virtual domains

2000-11-28 Thread Saurabh Shukla
It should be like this, the Virtual Host directive. Host name="shuklix.shuklix.com" Context path="" docBase="/shuklix/shuklix/" / /Host SHuklix -Original Message- From: Carlos [mailto:[EMAIL PROTECTED]] Sent: Monday, November 27, 2000

Beginner

2000-11-28 Thread deniz gulmez
hi all...i'm trying to learn to create applications with jsp but i still can't make apache and tomcat work together. Can anyone send me a brief article about setting them up? Or simply tell me the tricks about it? - Platform: Windows 2000 adv. server, Apache 1.3.2, Tomcat 3.1, Jdk 1.1

Re: Beginner

2000-11-28 Thread Tomas Marek
I suggest: first of all, upgrade jdk to 1.3!

standard dist secure?

2000-11-28 Thread Christoph Kukulies
Just wondering: Is the standard setup of tomcat when installed with an apache-13 on a unix box secure to be put up directly in the internet? Especially when thinking of the example directories (jsp and all that) that come with the distribution. Or are there any recommendations to raise

Re: Beginner

2000-11-28 Thread deniz gulmez
ok thnak you i'll upgrade but...i've just found JUST GO Tomcat launcher and used it...Now it gives an error message like this: Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile class for JSP at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:425)

How to set up tomcat to handle .html extension as .jsp?

2000-11-28 Thread Hu, Geoff
Hi, all, I sent a similar message yesterday. Please forgive me for redundency if it got through. I need to set up my Apache 1.3.12 -- Tomcat 3.1 to handle JSP pages with ".html" extention insteaded of the standard ".jsp", so I do not need to create new pages, just modify them, and I do not

T4 architecture question: Valves vs. Servlet Filters

2000-11-28 Thread Christian Mallwitz
Hi, I had a look at the Tomcat 4.0 document "Comparing RequestInterceptor and Valve Technology". From what I understand Valves are an improvement. But: How do Valves compare to ServletFilter? Thanks Christian -- Christian Mallwitz INTERSHOP Communications Germany Senior Software Engineer

RE: reloading..

2000-11-28 Thread David Molloy
Hi, I have something similar in place but it's working pretty much. Set up one web application area with all your database classes, ConnectionPool etc. Make this area non-class reloadable and put a load-on-startup on the pool. Now assuming you make static references to the

RE: Is Tomcat/Apache combo necessary?

2000-11-28 Thread Saurabh Shukla
Apache tomcat combi depends on how many html files you have, the amount of traffic you will be getting etc.. YOu can put them in a separate directory and specify the document root. they both(apache and tomcat) will look for files in that directory. Shuklix -Original Message- From: Matt

RE: tomcat installation

2000-11-28 Thread Saurabh Shukla
Why don't you search through archives ? or search on google.. you will find the answer. SHuklix -Original Message- From: Merwin Yap [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 22, 2000 3:37 PM To: [EMAIL PROTECTED] Subject: tomcat installation I'm a newbie... I downloaded a

Re: try to create a war file

2000-11-28 Thread javabettin
Make sure you are using ANT 1.2. The war target is new in 1.2 Dave --- Gabriel Ciuloaica [EMAIL PROTECTED] wrote: I try to create a war file. My build.xml file is : project name="InternetPortal" basedir="c:\java_work\beta_ie\InternetPortal" target name="dist" war

requirements

2000-11-28 Thread deniz gulmez
Hi again...I hope at least you can tell me which are required to make jsp files work... I installed Apache and Tomcat and i can run servlets after i start Tomcat bu still cant run jsp files it gives this error page: Internal Servlet Error:org.apache.jasper.JasperException: Unable to compile

Re: try to create a war file

2000-11-28 Thread Stefan Bodewig
[EMAIL PROTECTED] wrote: Make sure you are using ANT 1.2. The war target is new ^^ task, not target. Cheers Stefan

RE: Increasing memory problem (i hope this helps)

2000-11-28 Thread Saurabh Shukla
could you tell me more about the thread pooling, please? Where do I get some information? How does Tomcat handle the requests? Thank you. Kai I hope this helps. The PROBLEM: Tomcat is a multi-threaded servlet container, this means that the requests needs to be executed by some thread, when

RE: Tomcat - Fresh data not brought forward

2000-11-28 Thread Morahg, Yoav
Try using the Oracle commit command to commit your changes to the database. -Y -Original Message- From: ann patil [mailto:[EMAIL PROTECTED]] Sent: Monday, November 27, 2000 9:41 PM To: [EMAIL PROTECTED] Subject: Tomcat - Fresh data not brought forward Hi, I have developed an

RE: error in loading shared libraries, GLIBC_2.1 not defined

2000-11-28 Thread Brian Hammar
Title: error in loading shared libraries, GLIBC_2.1 not defined Sorry, I answered my own question. JDK 1.3 requires a later Glibc than I have. Thanks -Original Message-From: Brian Hammar [mailto:[EMAIL PROTECTED]]Sent: Tuesday, November 28, 2000 9:48 AMTo: '[EMAIL

ApJServSecretKey DISABLED issue

2000-11-28 Thread NDias
I'm attempting to start up the apache server, however I am getting the error: You must specify a secret key, or disable this feature. To disable, add "ApJServSecretKey DISABLED" to your Apache configuration file. To use, add "ApJServSecretKey {filename}" where filename is document with more or

Re: Need database recommendation

2000-11-28 Thread Sanjay Arora
Check out Postgres at postgreSQL.org transactions, views, joins some issues with foreign key integrity blobs but going in new release soon...opensource too... At 07:42 PM 11/27/00 , you wrote: Go with oracle. You can't lose. Derek - Original Message - From: "Ralph Einfeldt"

RE: EmbededTomcat question

2000-11-28 Thread Marc Saegesser
FWIW, I rearranged some code in EmbededTomcat to get the interceptors intialized with the context manager, implemented EmbededTomcat.stop() and added a new method to create an AJP12 connector. I now have a working application that embeds the Tomcat servlet container and handles requests

Re: reloading..

2000-11-28 Thread Endre Stølsvik
On Tue, 28 Nov 2000, David Molloy wrote: | I was very happy when I got this all working but as it happens I still | need to restart Tomcat after I make changes. You'll find if you use | sessions to store classes (in my case I store the User class in a | session variable called theUser) there

BUG jk_nt_service

2000-11-28 Thread Jaco Roux
Keeps causing an internal system error on start

Protected Page Assertion method

2000-11-28 Thread Charlie Hinson
Is there an easy way to tell if a page is going to require authentication/authorization before it is dynamically included within a jsp/servlet. Charlie

RE: BUG jk_nt_service

2000-11-28 Thread Marc Saegesser
If you really want help should provide basic information like 1) What version of Tomcat 2) What operating system 3) When the error occurs. Is it during step 3 of the instructions when you use the -i option to install the service or does it happen later when you attempt to start the service?

Re: reloading..

2000-11-28 Thread Dave Smith
Endre, Java was not designed as a language in which classes can be changed on the fly. There are basic security issues at stake. The reload feature is just a hack anyway, albiet a clever one. It is useful for beginners but unnecessary once you have more experience with the codebase. Regards,

mod_jk Garbled?

2000-11-28 Thread James Maggs
Hi There, I'm trying to set up Tomcat 3.2 Beta 8 with Apache 1.3.12. I downloaded a copy of mod_jk.so from jakarta.apache.org, the same location from wich I obtained tomcat. However, when I try to load this module apache complains that mod_jk.so is garbled or might not be an apache DSO. Can

tomcat-apache config.

2000-11-28 Thread Matt Becker
Hi. I'm new to setting up Tomcat with Apache. The documentation in tomcat-apache-howto.html shows modifying tomcat-apache.conf, however it states that this file will be written over the next time Tomcat starts, which seems to make modifying the file pointless. Would it be a better idea to

RE: tomcat-apache config.

2000-11-28 Thread Hu, Geoff
Yes, that's exactly the way I'm doinng it. It works great. Geoff -Original Message-From: Matt Becker [mailto:[EMAIL PROTECTED]]Sent: Tuesday, November 28, 2000 2:19 PMTo: tomcat mailing listSubject: tomcat-apache config. Hi. I'm new to setting up Tomcat with Apache. The

RE: Making Tomcat start first

2000-11-28 Thread Servais, Pascal-Eric
For my part, I made the following alias within the "/etc/rc3.d" directory : "S49tomcat - /usr/tomcat/bin/tomcat.sh" where "49" is a number lower than the one for the Apache startup script and "/usr/tomcat/bin/tomcat.sh" is the script installed with Tomcat. I just had to add these line at the

admin context

2000-11-28 Thread John Tangney
Hi I am running tomcat 3.2b6 inside apache 1.3.14 using mod_jk. I'm running Solaris on a sparc. All seems to work well, except for the admin app. I am able to see the "Context Administration" page containing the form, but when I click on the "View All Contexts" button, I get the error listed

Re: mod_jk Garbled?

2000-11-28 Thread javabettin
It sounds like you have a .so for a different version of apache. Run this command on the mod_jk source as specified in the mod_jk howto: apxs -o mod_jk.so -I../jk -I/usr/local/jdk/include -I/usr/local/jdk/include/linux -c *.c ../jk/*.c Dave --- James Maggs [EMAIL PROTECTED] wrote: Hi There,

Error parsing JSP with tag library -- how do I track down what's wrong?

2000-11-28 Thread Duane Morse
I'm "porting" software from JRun, where it all runs fine, to Tomcat, and a JSP which uses a simple tag extension fails with the following error: org.apache.jasper.JasperException: Unable to open taglibrary www.eldocomp.com/webpac/taglibs/utils : Parse Error in the tag library descriptor: Element

Re: Increasing memory problem (i hope this helps)

2000-11-28 Thread Craig R. McClanahan
See below. Saurabh Shukla wrote: could you tell me more about the thread pooling, please? Where do I get some information? How does Tomcat handle the requests? Thank you. Kai I hope this helps. The PROBLEM: Tomcat is a multi-threaded servlet container, this means that the requests

RE: Error parsing JSP with tag library -- how do I track down what's wrong?

2000-11-28 Thread Duane Morse
I don't find "web-app" defined as a tld tag in the spec. It's a tag in web.xml, but not in the tld. I'm trying to use Tomcat 3.1. Duane Morse, Eldorado Computing Inc., Phoenix AZ -Original Message- From: Pierre Delisle [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 28, 2000 2:25

web.xml

2000-11-28 Thread Won Hong
Hi, I have Apache(1.3.14) and Tomcat(3.2b7) with mod_jk on WINNT running an application under webapps directory in Tomcat. I've set up servlet mappings in the web.xml file for my app in webapps/application/WEB-INF directory which currently works. I want to move the application to a shared

Re: Protected Page Assertion method

2000-11-28 Thread Charlie Hinson
Yes this is what we have found. Therefore, we have created our own by revealing several request methods through the facade. This works great for us, but doesn't lend itself to sites that host for multiple organizations. Since this is very useful for complex web sites, I would consider

Incompatibilities with XML processing?

2000-11-28 Thread Duane Morse
Our servlet software uses Sun's jaxp-1.1 early access jar files for XML processing. We had to make a few software changes when going to this release, and I have a strong suspicion that jaxp-1.1 is incompatible with the XML classes used by Tomcat 3.1. When I take a servlet which doesn't use the

Re: Making Tomcat start first

2000-11-28 Thread Scott Jones
Hi, I've attached the script that I place in my /etc/rc.d/init.d directory for use with starting/stopping/restarting tomcat. For RedHat, you'll already have an entry in /etc/rc.d/init.d for apache (I think it's /etc/rc.d/init.d/httpd?). This is correct. On my installations, there are

RE: mod_jk for AIX?

2000-11-28 Thread Ritwick Dhar
I got mod_jserv, not mod_jk to compile and link on AIX. mod_jk should be similar. Christopher, you're right, the exports file was missing. I did the following for mod_jserv.h: 1. Hacked the apxs file and added -qcpluscmt to make the compiler ignore the // comments 2. Took a look at .exp files

RE: HANDLER THREAD PROBLEM: Stream closed prematurely

2000-11-28 Thread Ritwick Dhar
I got mod_jserv to compile and link on AIX. The linker was trying to use an exports file that was missing. I did the following: 1. Hacked the apxs file and added -qcpluscmt to make the compiler ignore the // comments 2. Took a look at .exp files for the .so modules. Each had one line:

RE: which symbols must mod_jk.so export ?

2000-11-28 Thread Ritwick Dhar
Christoph, I took a peek at the .exp files for the other modules, and they contain one line: modulename_module. Shouldn;t this be the same for mod_jk? 'jk_module'? In fact this worked for me in compiiling mod_jserv. (Although now I'm getting a core dump). Have you tried running a 'dump -Tv

What's with the _0002f in the filenames? (Precompiling JSP's)

2000-11-28 Thread Aleksey Tsalolikhin
Ok, here's a naive question: When Tomcat (3.2b8/Sun JDK 1.2.2_06) runs a JSP file for me, say, somefile.jsp, I notice it a) precompiles to somefile.java in the work directory for that context b) compiles it to _0002fsomefile_0002ejspsomefile_0.class c) renames that to

Re: admin context

2000-11-28 Thread John Tangney
Hi I downloaded tomcat 3.2b8 and ran it standalone. I get the same error connecting to the admin app on port 8080. So it looks like a bug in the app or in tomcat. This used to work in an older version. Any clues anyone? Can *anyone* get /admin to work in 3.2b8? Thanks --johnt On 11/28/00

Re: admin context

2000-11-28 Thread Craig R. McClanahan
It's a bug (sigh ...). I will fix it tomorrow, before the final release. Craig John Tangney wrote: Hi I downloaded tomcat 3.2b8 and ran it standalone. I get the same error connecting to the admin app on port 8080. So it looks like a bug in the app or in tomcat. This used to work in an

URL rewriting with Tomcat/Apache

2000-11-28 Thread Graham Freeman
According to the Tomcat FAQ, URL rewriting should work with Tomcat 3.1 when run with Apache if the mod_rewrite is enabled and the rule included: IfModule mod_rewrite.c RewriteEngine On RewriteRule ^(/.*;jsessionid=.*)$ $1 [T=jserv-servlet] /IfModule I have not succeeded in

Re: URL rewriting with Tomcat/Apache

2000-11-28 Thread Craig R. McClanahan
Graham Freeman wrote: There seems to be something that I am missing in trying to use Tomcat with Apache. Can anyone suggest what I should try? I am running Linux on my machine. I have Java 1.3 installed, and it is Tomcat 3.1 I am trying to get working with Apache 1.3.14 Upgrade to

Re: passing parameters to a Servlet

2000-11-28 Thread Ramesh Kumar . T
Encode only your parameter string , using URLEncoder.encode() ex: jsp/test.jsp?param1=value1param2=value2 encode only the parameters and not the file name Tony Keith wrote: Christoph Kukulies wrote: > I have some strings with blanks that I have to pass to a > Servlet in the URL. How can I do

Help : HANDLER THREAD PROBLEM (Tomcat3.2b6, NT4.0, JDK1.2)

2000-11-28 Thread Philip Chan
I got this error when I try this URL http://localhost:8007 Is this a known bug ?(I seem to recall seeing posting with title like HANDLER ...). Thx I download Tomcat3.2, install it and start it as "standalone"without changing the configs. All the servlet/jsp works. So I think everything is

Re: passing parameters to a Servlet

2000-11-28 Thread Christoph Kukulies
On Wed, Nov 29, 2000 at 11:09:49AM +0530, Ramesh Kumar . T wrote: Encode only your parameter string , using URLEncoder.encode() ex: jsp/test.jsp?param1=value1param2=value2 encode only the parameters and not the file name Thanks and thanks to others who pointed me to this URLEncoder class.

Tomcat - Netscape

2000-11-28 Thread Morten Tollefsen
Hi! Since you've developed and tested the Netscape - Tomcat redirector on Netscape Enterprise 3.61, does this mean that the NES 3.61 does NOT support Java Servlets? I'm developing some JServlets for a customer of mine, and they currently use the NES 3.61. Do I have to use the redirector to get