RE: IIS and Tomcat

2001-06-06 Thread Kenneth Westelinck
Hi, If you want to stop tomcat acting as a standalone web server just delete these lines in server.xml: !-- Normal HTTP -- Connector className=org.apache.tomcat.service.PoolTcpConnector Parameter name=handler value=org.apache.tomcat.service.http.HttpConnectionHandler/ Parameter name=port

Where to Place Bean files

2001-06-06 Thread Hemant Singh
HI ALL: Where do i need to place the JSP bean which i m going to use in JSP files. Cheers __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/

RE: Where to Place Bean files

2001-06-06 Thread Pernica, Jan
into WEB-INF/classes or into jar which will be in WEB-INF/lib On Wednesday, June 06, 2001 8:52 AM, Hemant Singh [SMTP:[EMAIL PROTECTED]] wrote: HI ALL: Where do i need to place the JSP bean which i m going to use in JSP files. Cheers __ Do

RE: Where to Place Bean files

2001-06-06 Thread Phillip Gibb
JSP Bean? don't you mean java bean, in that case use the jsp:useBean tag, and you can place it anywhere in the page so long as you insert it before any reference to the bean. It is good design to put it at the top. be sure to place the java bean in the WEB-INF/classes dir of the context that you

Re: Where to Place Bean files

2001-06-06 Thread Manish Bhatnagar
Hello all! I am facing the same problem. I created a bean that I am using in a JSP. The JSPs are in F:\jakarta-tomcat-3.2.1\jakarta-tomcat-3.2.1\webapps\manish\jsp I tried putting the Bean in the same directory where my JSP is present. It doesn't work. Also I placed it in

how to set up new web apps

2001-06-06 Thread vinod watni
hi friends , i m using standalone tomcat server. i tried to create the drectory structure as bellow purejsp purejsp/web-inf : purejsp/web-inf/classes in the webpages directory. i did put some html and jsp pages in purejsp directory and added purejsp in context path in

Re: AUTH: j_security_check

2001-06-06 Thread P.Miller
Hi Pae, sure I have to forward *.jsp and servlets to tomcat, but this is done in my mod_jk.conf (forwarded to ajp13). To be really sure I added /path to login.jsp/*.jsp ajp13 in mod_jk.conf and /path to login.jsp/*.jsp=$(default.worker) in uriworkermap.properties but the result stays the same. I

RE: Where to Place Bean files

2001-06-06 Thread Phillip Gibb
to make things simplier change F:\jakarta-tomcat-3.2.1\jakarta-tomcat-3.2.1 to f:\tomcat and make sure that TOMCAT_HOME is set to f:\tomcat don't place them into WEB-INF\jsp\bean, put them into WEB-INF\classes. and if they are package (eg jsp.bean) then place them in WEB-INF\classes\jsp\bean

apache don't find my jsp files but works whith examples jsp files

2001-06-06 Thread François Andromaque
Hello I've developped a jsp WEB site, so i've my web site directory with the jsp directory which contains my jsp files, the html directory wich contains my html files and the WEB-INF directory which contains the JAVA-BEAN, it perfectly works with TOMCAT, but i can't access to my jsp files

Re: j_security_check

2001-06-06 Thread P.Miller
Thanks Amit, I tried it but get the same result. I'm wondering about another thing: When I access the protected page which is redirected to the login.jsp because of the settings in the web.xml I see in my Tomcat console the following messages: ContextManager: JDBCRealm: JDBCRealm.authenticate:

JSP reloading doesn't work

2001-06-06 Thread Andrew
Hi, I think JSP reloading in Tomcat4.0b5 seems doesn't work properly - pages not reloading if I change JSP adn press reload button in IE while JSP not use caching( Cache-Control:no-cache,Expires:-1). Even after restart Tomcat try to use files in "work" folder but reloadable set in "true"

Re: apache don't find my jsp files but works whith examples jsp files

2001-06-06 Thread P.Miller
Hi Francois, you have to add an 'Alias' statement for your context in the mod_jk.conf (which you should 'Include' in the httpd.conf) and also a 'JKMount /context/*.jsp ajp13' in the same file. HTH Peter François Andromaque wrote: Hello I've developped a jsp WEB site, so i've my web site

Re: apache don't find my jsp files but works whith examples jsp files

2001-06-06 Thread Jim Cheesman
François Andromaque wrote: Hello I've developped a jsp WEB site, so i've my web site directory with the jsp directory which contains my jsp files, the html directory wich contains my html files and the WEB-INF directory which contains the JAVA-BEAN, it perfectly works with TOMCAT,

Tomcat as a service

2001-06-06 Thread David DELGRANCHE
Hi all, I'm discovering Tomcat on NT. It seems to work fine but I have a problem: Is there a way to force Tomcat to start as a service and without openning a new window? Perhaps this is a stupid question, but I thank you for help! David. David

Apache says no permission to pick Tomcat files on linux

2001-06-06 Thread Krishna Kant T
I have configured tomcat3.2 to run with apache 1.3.19 on red hat linux 7. the mod_jserv module has been loaded and an alias points requests like http://localhost/my/ to tomcat/webapps/root/my where the jsp files are located. apache reports an error saying no permission to my this config works

Re: Tomcat as a service

2001-06-06 Thread Krishna Kant T
after u install tomcat as a service with name xxx use net start xxx to start and net stop xxx to stop -krishnakant David DELGRANCHE wrote: Hi all, I'm discovering Tomcat on NT. It seems to work fine but I have a problem: Is there a way to force Tomcat to start as a

RE: Tomcat as a service

2001-06-06 Thread David DELGRANCHE
OK but how can I start tomcat as a service? -Message d'origine- De: Krishna Kant T [SMTP:[EMAIL PROTECTED]] Date: mercredi 6 juin 2001 10:15 A: [EMAIL PROTECTED] Objet: Re: Tomcat as a service after u install tomcat as a service with name xxx use net start xxx to start and

Re: apache don't find my jsp files but works whith examples jsp files

2001-06-06 Thread François Andromaque
I'm using jserv but it's the same thing Here is my tomcat.conf added to my httpd.conf : All jsp files will go to tomcat #ApJServMount default /root ApJServMount default /my_web_directory AddType text/jsp .jsp AddHandler jserv-servlet .jsp

Re: Tomcat as a service

2001-06-06 Thread Krishna Kant T
c:\net start xxx will start xxx service and c:\net stop xxx will stop xxx service -krishnakant David DELGRANCHE wrote: OK but how can I start tomcat as a service? -Message d'origine- De: Krishna Kant T [SMTP:[EMAIL PROTECTED]] Date: mercredi 6 juin 2001 10:15 A: [EMAIL

Re: apache don't find my jsp files but works whith examples jsp files

2001-06-06 Thread François Andromaque
i've nothing in the webapp directory, all the Beans, all the the html file and all the the jsp file are in the directory /my_web_directory if i try /jsp/requested.jsp or /web_directory_name/jsp/requested.jsp the requested.jsp is not found. - Original Message - From: Jim Cheesman [EMAIL

Re: apache don't find my jsp files but works whith examples jsp files

2001-06-06 Thread Krishna Kant T
an alias in httpd.conf of apache as to include my-apache-tomcat.conf which contains the directive as to where to look for files under http://localhost/my/ the jsp files are present in tomcat/webapps/root/my/ i am running tomcat under a different login. could that be a possible problem?

Re: Tomcat as a service

2001-06-06 Thread Andy C
- Original Message - From: David DELGRANCHE [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 06, 2001 10:13 AM Subject: RE: Tomcat as a service OK but how can I start tomcat as a service? Use gservany See: http://download.cnet.com/downloads/0-10106-100-1618503.html

Re: Apache says no permission to pick Tomcat files on linux

2001-06-06 Thread Krishna Kant T
Apache on linux also doesnt pick /examples available in tomcat complains that it does not have permission can somebody help? -krishnakant Krishna Kant T wrote: I have configured tomcat3.2 to run with apache 1.3.19 on red hat linux 7. the mod_jserv module has been loaded and an alias

JSP Session BUG

2001-06-06 Thread Andrew
Hi, when I use session.invalidate() and on the same page located jsp:useBean id="xpeo" scope="session", after invalidation,I've got the error: getAttribute() IllegalStateException- session invalidated.That't true but it's OK and code in JSP must assume that xpeo=null, I mean: //generated

Re: apache don't find my jsp files but works whith examples jsp files

2001-06-06 Thread François Andromaque
and wher must be the JAVA BEANS, in tomcat/webapps/root/my/WEB-INF? - Original Message - From: Krishna Kant T [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 06, 2001 10:40 AM Subject: Re: apache don't find my jsp files but works whith examples jsp files an alias in

App does not find errorpage!

2001-06-06 Thread Dietmar Calmbach
Hi there, i have defined a servlet context for jsp pages named /tvs and the location is PATH_TO_LOCATION/tvs. The errorpage is located at PATH_TO_LOCATION/tvs/errorpage.jsp. In the jsp pages i want to use that page for error messages, I said : % page errorpage="/tvs/errorpage.jsp" ... But

startup.pl, tomcat.pl, etc.

2001-06-06 Thread Christopher Berry
Hi, I searched the Archives, and couldn't find this Does anyone have, or know of, Perl scripts to replace the OS-specific scripts that come with Tomcat (e.g. tomcat.bat, startup.bat, startup.sh, etc.). It seems to me that homogenizing the scripts to Perl, coupled with simple, one line,

problems with sendRedirect() on relative path

2001-06-06 Thread Ofer Baranes
Hi I am tring to use the HttpServletResponse sendRedirect() method to show a static page but i can't use relative path only static path (which include the context).The problem occure because of the default '/servlet' prefix which is used on tomcat conf\servel.xml.This default prefix force

Re: load balancing

2001-06-06 Thread David Cassidy (Programmer)
Title: Re: load balancing IIRC in the docs it says that worker.list should _only_ be loadbalancer if you are using a loadbalancer. Might help as the mod_jk will know that the workers are loadbalancer, rinv002, rinv001 rather than just loadbalancer... David Swart, James (Jim) **

RE: problems with sendRedirect() on relative path

2001-06-06 Thread Phillip Gibb
try using getContext() and getRequestDispatcher() and then include(req, res) you can set a context in the server.xml to point to a directory where you keep these static pages eg staticPages with the path set to c:\staticPages then using the

Apache and Tomcat on different boxes

2001-06-06 Thread Paul Tan
Hi all, I tried searching to mailing list b4 posting here. Anyway, what must i put into apache's "http.conf" for mod_jk.so to enable a connection to a separate machine containing tomcat 3.2.2? Placing both the Web Server and App server into 1 machine is rather well documented.

RE: Where to Place Bean files

2001-06-06 Thread Hemant Singh
HI Gibb: Well sorry for little ambigous Yeah u got it right Cheers --- Phillip Gibb [EMAIL PROTECTED] wrote: JSP Bean? don't you mean java bean, in that case use the jsp:useBean tag, and you can place it anywhere in the page so long as you insert it before any reference to the bean. It is

Java SDK 1.3.1 update ...

2001-06-06 Thread Franklin Nwankwo
Notice for JDK 1.3 users: There is a known problem http://developer.java.sun.com/developer/bugParade/bugs/4323062.html in JDK 1.3 that affects Java applications being run as Windows NT services. The bug causes the service to terminate when the currently logged in user logs out. The simplest way

Re: problems with sendRedirect() on relative path

2001-06-06 Thread Alex Fernández
Hi Ofer! You can specify a different context, that will not contain the /servlet prefix. The prefix is set by context. I don't think the suggestion that was sent before (RequestDispatcher) will work, since it's a static page. Un saludo, Alex. Ofer Baranes wrote: Hi I am tring to use

RE: problems with sendRedirect() on relative path

2001-06-06 Thread Ofer Baranes
Alex , actually i just learnd that using the RequestDispatcher is a better solution since the response is for this request while redirct is creating new requestresponse. By the way the RequestDispatch is showing static pages. Thanks -Original Message- From: [EMAIL PROTECTED]

Re: Install

2001-06-06 Thread Jeremy Walsh
I figured it out. I just edited tomcat.bat and hard coded the path names instead of using %VARIABLES%. On Tue, 5 Jun 2001, Johann Raster wrote: Hi Jeremy, the class files are included in the jar-files in the /lib directory. you can try jar -t filename.jar to see them. i also installed it

SSL - keytool import problem

2001-06-06 Thread mlecza
Playing around with Tomcat/SSL (no apache) and am having a problem hitting a secure page if the certificate was imported. At first I thought it was a problem with the Verisign test certificate but if I create a ket with -genkey (which works fine), export it, then import it I have a problem

forward() question

2001-06-06 Thread Samson, Lyndon [IT]
I have some code that looks something like this; RequestDispatcher rd = _req.getRequestDispatcher(/invalid.jsp); try { rd.forward(_req, _resp); } catch ( ServletException e ) { } catch ( java.io.IOException e ) { }

Questions about Tomcat Cookies

2001-06-06 Thread amit
Hi, I have used tomcat as standalone and w/ apache also. In my applications , session trackingis working fine. To the best of my knowledge ,Tomcat does session tracking by combining useof 1) Cookies 2) URL re-writing. My browser alertsme , when tomcat tries to set the cookie. But when i

RE: [jk_uri_worker_map.c (334)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter

2001-06-06 Thread Randy Layman
As I have posted before (and thus is available in the mailing list archives), there are two common causes of this. The first is a mistake in the registry - the path to your uriworkermap.properties file or the path to the workers.properties file is not correct. The other problem is that

RE: download files using ftp from browser

2001-06-06 Thread Randy Layman
One thing that is implicit in Moin's response is that you have an FTP server set up. Tomcat does not support this functionality. Most UNIX systems have FTP servers already installed and they are available for NT, just be careful - incorrectly configured FTP sites can be huge security

Reloading changed servlets problem

2001-06-06 Thread RANDRIAMPARANY Honitriniela
Hi, I use tomcat-3.2.1. I still have problem with the reloading of changed servlets whereas I have the following entry in the server.xml file. Context path=/TP_genielog docBase=webapps/TP_genielog crossContext=false debug=0

make ajp13 as the default worker

2001-06-06 Thread pedro salazar
Greetings, I installed recently the mod_jk on my tomcat/apache system. I include in my httpd.conf the tomcat/conf/mod_jk.conf-auto that is automatic generated when the tomcat starts. The default JkMount entries in mod_jk.conf-auto use always the ajp12 worker. If I want to use the ajp13 I must

RE: make ajp13 as the default worker

2001-06-06 Thread GOMEZ Henri
AJP13 has also a shutdown feature, and Jim Jagielski [[EMAIL PROTECTED]] has proposed to add ajp13 shutdown to 'tomcat stop'... - Henri Gomez ___[_] EMAIL : [EMAIL PROTECTED](. .) PGP KEY : 697ECEDD...oOOo..(_)..oOOo... PGP Fingerprint : 9DF8

RE: Java SDK 1.3.1 update ...

2001-06-06 Thread Ronald G. Louzon
I still see the problem in version 1.3.1 of the SDK so I had to use the JavaService wrapper... -Original Message- From: Franklin Nwankwo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 06, 2001 6:30 AM To: '[EMAIL PROTECTED]' Subject: Java SDK 1.3.1 update ... Notice for JDK 1.3

Re: make ajp13 as the default worker

2001-06-06 Thread Rui M . Silva Seabra
On Wed, Jun 06, 2001 at 01:18:26PM +0100, pedro salazar wrote: I installed recently the mod_jk on my tomcat/apache system. I include in my httpd.conf the tomcat/conf/mod_jk.conf-auto that is automatic generated when the tomcat starts. The default JkMount entries in mod_jk.conf-auto use always

Tomcat - SSL + gzip?

2001-06-06 Thread Lance Dyas
SSL... and a servlet on Tomcat, what version is required and how does one set it up?

iPlanet + Tomcat on Unix ??

2001-06-06 Thread Robert Koval
My Problem: I have Netscape Web Server (IPlanet) version 3.63. This version of IPlanet doesn't support Java Server Pages, or in other words, there is no Servlet Engine. I need to install some servlet engine on that server in order to run JSPs. Upgrade of the Web server is not possible, because of

Re: SSL - keytool import problem -more

2001-06-06 Thread mlecza
I also noticed that when Tomcat is starting I see the following line when using the -genkey key: found key for : tomcat When Starting Toncat using the imported key this line does not appear. Regards

Re: problems with sendRedirect() on relative path

2001-06-06 Thread Alex Fernández
Interesting, didn't know that. Thanks, Alex. Ofer Baranes wrote: Alex , actually i just learnd that using the RequestDispatcher is a better solution since the response is for this request while redirct is creating new requestresponse. By the way the RequestDispatch is showing static

How to redirect the page to another server?

2001-06-06 Thread Jack Li
Hello, I have a strange question. If the browser request a page to server A and server A is down, is there a way to let the browser request the page to server B automatically? Any suggestions on the issue? Basically, we are trying to have the second server for backup when the main server is done

Apache - tomcats 'webapps' directory

2001-06-06 Thread Dirk Versavel
Dear, I'm setting up an apache-tomcat environment to run our webapplication. The web application ('myapp.war') is stored in tomcat's webapps directory. I have both components working: jsp's are redirected to tomcat,... works fine. I defined an my DocumentRoot in apache like:

tomcat secure

2001-06-06 Thread Phillip Gibb
Hi, I have a problem running tomcat with security manager, i.e. with the second parameter -security added to startup.bat. I edited the tomcat.policy file to contain all the directories that my web app uses (like all the directorie under and including the context) but I keep getting the

Re: forward() question

2001-06-06 Thread Wyn Easton
Yes, you do return from the rd.forward() method call. I always put a return; after such a call in my servlets. Since your forward is done in the bean try something like this: % userChk.setPageInfo(request, response); if(!userChk.IsValid()) return; % If you are interested, you can look

Re: Apache and Tomcat on different boxes

2001-06-06 Thread Jason Koeninger
The ip address or hostname of the Tomcat machine is stored in the workers.properties file referenced by your mod_jk setup. I've also seen some sort of url version of the JkMount command, but I've never used it myself and don't know if it works or what versions it works on. Best Regards,

Messages

2001-06-06 Thread Daniel de Almeida Alvares
Hi, When I run my webpages they run correctly but this kind of messages appear at tomcat window: 2001-06-06 11:00:29 - Ctx( /cnpi ): IOException in: R( /cnpi + /jsp/index2.jsp + null) Connection reset by peer: socket write error 2001-06-06 11:00:29 - Ctx( /cnpi ): IOException in: R( /cnpi +

Jakarta Tomcat NT service stopping itself

2001-06-06 Thread Tim Hughes
I have just set up Tomcat to run as an NT service (carefully following the how to from the doc). Everything works fine while I am logged on to the machine that I have set the service up on i.e. I can connect up from a client and request servlets and jsps. However, when I log off from the

RE: Messages

2001-06-06 Thread William Kaufman
See this posting: http://marc.theaimsgroup.com/?l=tomcat-userm=98770302314327w=2 -- Bill K. -Original Message- From: Daniel de Almeida Alvares [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 06, 2001 7:03 AM To:

RE: Jakarta Tomcat NT service stopping itself

2001-06-06 Thread Ronald G. Louzon
This is a known problem and it is due to a problem in the Sun JDK. You can find more info on this from the Sun site if you search for NT + service. To get around the problem, you could use the JavaService.exe service wrapper which is provided free from Alexandria Consulting's site.

Re: Apache and Tomcat on different boxes

2001-06-06 Thread ptan
Thks for replying, So if i understand you correctly, i have to create a workers.properties file in my apache conf dir and have mod_jk look for it there? eg. httpd.conf contains LoadModulejk_module libexec/mod_jk.so AddModule mod_jk.c JkMount /someurl

RE: mod_jk and mod_perl

2001-06-06 Thread John P. Dodge
I run mod_jk as a DSO and mod_perl as static linked. The mod_perl docs indicate that DSO operation is still experimental but I think it is OK now. If you run mod_perl as a DSO it disables the PERL_SSI capability (this is embeding Perl code in HTML). My configuration runs everything as a DSO

RE: Jakarta Tomcat NT service stopping itself

2001-06-06 Thread Randy Layman
Your problem is not reading the mailing list archives. This morning several people were discussing this issue. The problem is a bug in Sun's 1.3 JVM on NT handles the user logoff event incorrectly. Sun has reported this fixed in the 1.3.1 version and several users here had confirmed

Sending all traffic to 1 JSP

2001-06-06 Thread David M. Rosner
Hello, Is it possible to configure jakarta so that no matter what the URL is, a specific JSP is always called instead? So the user can enter any URL into the browser for my domain, but my 1 JSP page will always be called anyway? Thanks -dave

RE: Questions about Tomcat Cookies

2001-06-06 Thread William Kaufman
1) If the cookies are not found in the directory , where are they ? In memory. The cookie is set with an expiration of -1, which suggests to the browser that it shouldn't bother writing it to disk. 2) If I disable cookies in the browser , still session tracking will work ? Your servlet

RE: Jakarta Tomcat NT service stopping itself

2001-06-06 Thread William Kaufman
And to remind folks, the archives are at two locations: http://marc.theaimsgroup.com/?l=tomcat-user http://tomcat.mslinn.com/ (under Listservs) -- Bill K. -Original Message- From: Randy Layman [mailto:[EMAIL

RE: Sending all traffic to 1 JSP

2001-06-06 Thread Michael Wentzel
Is it possible to configure jakarta so that no matter what the URL is, a specific JSP is always called instead? So the user can enter any URL into the browser for my domain, but my 1 JSP page will always be called anyway? One way is writing your own RequestInterceptor which redirs on

RE: Jakarta Tomcat NT service stopping itself

2001-06-06 Thread Ronald G. Louzon
I reported that this Sun fix is not working for me but I am currently running JRE 1.3.1 version: Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24) and the fix is in the latest build: Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-rc1-b21) Sorry for the added

RE: Sending all traffic to 1 JSP

2001-06-06 Thread David M. Rosner
That is a good solution, but i'm actually going to need other webapps on the server NOT use this 1 JSP. Can I have a different RequestInterceptor for 1domain and have other domains servered out by Jakarta use the default RequestInterceptor? Also - i'm not sure I understand your suggested

Tomcat IIS HowTo - Troubleshooting WinNT Point 5

2001-06-06 Thread W . Klambauer
Hello, I'm trying to work with Tomcat and IIS as you have read in the subject. Up to now I have solved the problems till point 4 in the troubleshooting of WinNT. But now I'm at a point, where I think that something is wrong with my directory on the IIS. Because it isn't determined, where I have

Re: make ajp13 as the default worker [new question]

2001-06-06 Thread Pedro Salazar
Rui M . Silva Seabra wrote: Have you not read my email? DO NOT USE mod_jk.conf-auto Look into it, learn the flags you need to use, and change accordingly. You do not need to change server.xml or web.xml for that. It's a problem with the generation of mod_jk.conf-auto. On another note:

RE: Sending all traffic to 1 JSP

2001-06-06 Thread Michael Wentzel
That is a good solution, but i'm actually going to need other webapps on the server NOT use this 1 JSP. Can I have a different RequestInterceptor for 1domain and have other domains servered out by Jakarta use the default RequestInterceptor? A few choices depending on your

RE: Apache and Tomcat on different boxes

2001-06-06 Thread Chauhan, Anand
The idea seems great. But how would you access the worker.properties file on the remote machine. Or is it that, as suggested, you would be creating a worker.properties file in the conf/worker.properties Did the idea work for you ? Let me know. Thanks. -Andy -Original Message- From:

Problem with FORM POSTs

2001-06-06 Thread David Fenton
Help! I suspect someone else has run into (and resolved) this... I am running tomcat v3.2.1 on a Win2K machine running IIS 5.0, jdk 1.3.1, and using the ISAPI adapter. Pages with forms that use GET work fine. If I take the same page and replace the method with POST I get a HTTP 400/Bad Request

request for jsp returning source code!?

2001-06-06 Thread pjcrump
I'm running Tomcat 3.2.1 Apache on Linux and I'm having a problem w/ the jsp examples. When I try http://localhost/examples/jsp/dates/date.jsp I get the source code of the jsp page returned (as if tomcat is not processing the jsp page). Since I am attempting to have Apache serve Static content

Re: Tomcat in Win2k with IIS

2001-06-06 Thread Aaron Nance
To answer you question about if there is a difference between the JRE and the J2SDK, the answer is a definite yes. The difference is that the JRE does not come with the Java byte-code compiler and you need that in order to run Tomcat. Also, if you are not sure how to set environment

Re: make ajp13 as the default worker [new question]

2001-06-06 Thread Rui M . Silva Seabra
On Wed, Jun 06, 2001 at 04:12:17PM +0100, Pedro Salazar wrote: Rui M . Silva Seabra wrote: - If I'm using a copy of a modified version of mod_jk.conf-auto (say mod_jk.conf-mycopy), and if I add a new context in server.xml, then I must restart tomcat, pick up the new context from the

Re: Apache and Tomcat on different boxes

2001-06-06 Thread Rui M . Silva Seabra
On Wed, Jun 06, 2001 at 11:23:07AM -0400, Chauhan, Anand wrote: The idea seems great. But how would you access the worker.properties file on the remote machine. Or is it that, as suggested, you would be creating a worker.properties file in the conf/worker.properties worker.properties exits

RE: Apache and Tomcat on different boxes

2001-06-06 Thread Chauhan, Anand
Hi, I tried working on the configuration but it didn't work out. Do you have some other solution. Please help. -Andy -Original Message- From: Chauhan, Anand Sent: Wednesday, June 06, 2001 11:23 AM To: [EMAIL PROTECTED] Subject: RE: Apache and Tomcat on different boxes The idea

Re: Apache and Tomcat on different boxes

2001-06-06 Thread Jason Koeninger
The only thing I see missing are the following directives from httpd.conf: JkWorkersFile /usr/local/apache/conf/workers.properties JkLogFile /usr/local/apache/logs/mod_jk.log JkLogLevel error I would assume those are probably in there, but I just wanted to clarify that you have to point mod_jk

Re: SSL - keytool import problem -more

2001-06-06 Thread mlecza
I finally got the Verisign test certificate to work. I followed the steps here: http://java.sun.com/j2ee/j2sdkee/techdocs/guides/ejb/html/Security7.html and it worked fine. I still have a problem reimporting an exported certificate though. I export the certificate, delete it and reimport it

RE: Apache and Tomcat on different boxes

2001-06-06 Thread Chauhan, Anand
Thanks for the reply, but I am still facing the problem. I placed the worker.properties file in the apache/conf directory and made the http.conf file point to this worker.properties file. But to no avail. Help required. Thanks in advance, -Andy -Original Message- From: Rui M .

RE: Apache and Tomcat on different boxes

2001-06-06 Thread Jason Koeninger
The workers.properties file should be on the Apache machine. The problem you're running into is that the documentation usually assumes Tomcat and Apache are on the same machine, and it's leading you to believe that workers.properties has something to do with Tomcat. workers.properties is

RE: Apache and Tomcat on different boxes

2001-06-06 Thread Swart, James (Jim) ** CTR **
if they are both *nix* machines you can use NFS to mount each other remotely to access the conf files needed, no? -Original Message- From: Chauhan, Anand [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 06, 2001 9:23 AM To: [EMAIL PROTECTED] Subject: RE: Apache and Tomcat on different

Re: Questions about Tomcat Cookies

2001-06-06 Thread Bo Xu
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 06, 2001 4:25 AM To: [EMAIL PROTECTED] Subject: Questions about Tomcat Cookies Hi, I have used tomcat as standalone and w/ apache also. In my applications , session tracking is working

RE: request for jsp returning source code!?

2001-06-06 Thread Swart, James (Jim) ** CTR **
try it with http://localhost:8080/examples first to make sure tomcat is working correctly. if it works then it's not tomcat. I would hypothesize that points the error at the apache.conf file. Did you add in the line to your apache.conf to Include the tomcat-apache.conf file? If not, that is

RE: Tomcat IIS HowTo - Troubleshooting WinNT Point 5

2001-06-06 Thread Randy Layman
The way that it has to be is that the Virtual Directory and the Filter must both be installed for each virtual/default host that will process JSPs. Your directory structure indicates that the jakarta virtual directory is set up for www..nl. You need to make sure that you installed

Logging

2001-06-06 Thread Jeff Gaer
I am running tomcat 3.2.1 standalone on windows 2k professional using the sun jdk 1.3.1. I use the Servlet.log(string) method to output diagnostics but do not see it appear in the logs logs/jasper.log contains 2001-06-06 11:28:32 - Scratch dir for the JSP engine is:

Unable to retreive session in servlets

2001-06-06 Thread Oke, Larry
Title: Unable to retreive session in servlets I don't seem to expeience this problem under Windows. When I send a HTTP POST to a servlet running under the latest Tomcat under Solaris, I can't retrieve the current session using the method below request.getSession( ) it always seem to

RE: Apache and Tomcat on different boxes

2001-06-06 Thread Chauhan, Anand
Hi Jason: Did this work for you ?! I tried to work as per the specs shown below and couldn't work things out. I included the workers.properties and mod_jk.log file in the right places.(checked it for typos or errors- found none) Am I missing something. Do we have a good online reference for

RE: iPlanet + Tomcat on Unix ??

2001-06-06 Thread Swart, James (Jim) ** CTR **
if you want my humble opinion.. in case you can't figure it out... use a PROXY statement like this: (I am not sure of the syntax for iPlanet's proxies, this format is for Apache 1.3.x): PROXYPASS /javaserver http://localhost:8080/path-for-servlets-or-jsps PROXYPASS /javaserver/

Re: startup exceptions

2001-06-06 Thread Hemant Singh
HI Boris: From the exeption trace you sended only meaningfull thing i can see is that probably in any one of the web.xml files present under you webapps is missing web-app element, check your all webapps for the presence of proper web-app element in there web.xml file I tried removing web-app

RE: Apache and Tomcat on different boxes

2001-06-06 Thread Chauhan, Anand
wonderful.. seems good.. thanks a bunch. -Original Message- From: Jason Koeninger [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 06, 2001 12:21 PM To: [EMAIL PROTECTED] Subject: RE: Apache and Tomcat on different boxes The workers.properties file should be on the Apache machine.

How to connect Apache and Tomcat?

2001-06-06 Thread Tomeu Bennàssar
Hi everybody: I'm new in Apache and I'm trying to integrate Tomcat as an in-process servlet container of Apache but I can't. I have a SUN ULTRA 1 running solaris 5.7, Apache 1.3.4 and Tomcat 3.2.2. I'm following the Minimalistic User's Guide of Apache, and I'm trying to compile the Jserv

Tomcat NT Service: Strange issue

2001-06-06 Thread Nibler Jeff R. (PDX1JRN)
Ok, I've been banging my head against the keyboard for a day and a half trying to figure this out. Here is the scenario: I have Tomcat 3.2 running as a service on an NT server with IIS. Until yesterday, I had an older Version of Tomcat running, then I upgraded it. Now, when I start the service,

Re: mod_jk and mod_perl

2001-06-06 Thread Jeff Kilbride
I would go with option #1 -- build apache with mod_perl statically and mod_so, then load mod_jk dynamically. I think you're going to have a lot of work trying to get mod_jk to compile statically with apache, because the developers haven't released an easy static version. You'd have to integrate

RE: Tomcat NT Service: Strange issue

2001-06-06 Thread Randy Layman
The JAR file for the com.sun...Provider class is in a JAR file that is in the CLASSPATH environment variable, but not in your wrapper.properties file's wrapper.class_path variable. (When the service starts the new JVM it ignores the System's CLASSPATH environment variable)

RE: Tomcat NT Service: Strange issue

2001-06-06 Thread Nibler Jeff R. (PDX1JRN)
It never fails. You could wait days before sending a question to the list, but the second you do, you figure the problem out yourself. Well, I didn't figure it out exactly, but I did get it to work. I had to add each and every entry in my CLASSPATH environment variable to the

RE: Should we do moderation on this mailinglist??

2001-06-06 Thread Jann VanOver
Umm, wouldn't dividing the groups just give us MORE off topic problems? If someone WANTS the job of moderating the hundreds of post in this list they can, but I am not going to volunteer. I think some kind of canned footer that is added to mail through the list can be very helpful. It should

Jikes and Tomcat for JSP compilation

2001-06-06 Thread WEST, Peter
can anybody point me to a straightforward how to get Tomcat to compile JSPs with Jikes rather than JDK tutorial? So far I have changed web.xml server.xml (both of which made no difference). I have also read that it may be necessary to change the source of a line in webserver.jar I have the

Error 500

2001-06-06 Thread Maddux, Craig
I've gotten what seems to be a rather common error, after having reviewed the mailing archives... but none of the solutions that seem to work for those other people have solved my problem. For JSP pages, Tomcat can't find the sun/tools/javac/main. This is, of course, located in the tools.jar.

  1   2   >