AW: virtual hosting questions

2002-07-30 Thread Ralph Einfeldt
It's not a direct equivalent, but you can achieve similar results. You can allow or disallow access to several resources. (files are just a small part) http://java.sun.com/j2se/1.3/docs/guide/security/index.html http://java.sun.com/j2se/1.4/docs/guide/security/index.html -Ursprüngliche

Re: default pageEncoding

2002-07-30 Thread Daniel Bruce Lynes
On Monday 22 July 2002 23:26, Dmitry Melekhov wrote: Eric Leung wrote: Hi, yes, just like HTML add a line like this: META HTTP-EQUIV=Content-Type Content=text/html; Charset=iso-8859-1 character set Eric I understand. But our devepopers are too lazy ;-) They

Re: Tomcat 4.0.3 and non-asci characters (JSP pages)

2002-07-30 Thread Daniel Bruce Lynes
On Tuesday 23 July 2002 04:03, Ryszard Lach wrote: Could anyone explain how are non-ascii characters processed by Tomcat ? I have the following configuraton: Tomcat 4.0.3 running with apache (mod_webapp), environment: LANG=pl_PL, JDK1.4.0 with command-line parameter

Re: Tomcat 3.3.1

2002-07-30 Thread Thomas Colin de Verdière
Did you look at the code : org.apache.jasper.runtime.JspWriterImpl is the flushBuffer present? Thomas Eric Leung wrote: Hi All, I'm upgrading an application written for tomcat 3.1.1 to 3.3.1. After fixing some bugs on using tomcat internal classes, I can startup the application in 3.3.1

Re: Hardening Tomcat 3.2.4

2002-07-30 Thread Daniel Bruce Lynes
On Thursday 25 July 2002 10:23, [EMAIL PROTECTED] wrote: I posted a similar question a while ago and did not receive any answer from this list. May be, folks on this list are admins/ developers/programmers who are bothered mostly about application itself and not security. May be there is an

Re: unable to start tomcat on redhat linux 7.2

2002-07-30 Thread Daniel Bruce Lynes
On Thursday 25 July 2002 01:43, LinuxTyro wrote: I have set the JAVA_HOME and TOMCAT_HOME variables correctly therefore cant figure out what is wrong. export JAVA_HOME=/opt/jdk export JDK_HOME=/opt/jdk export PATH=$PATH:/opt/jdk/bin Or something similar. -- To unsubscribe, e-mail:

AW: TC and applicationwide beans

2002-07-30 Thread Power-Netz \(Schwarz\)
If you need only one instance, how about some sort of static factory that creates one instance of your bean JVM-wide? good idea. thx. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Tomcat 3.3.1

2002-07-30 Thread Eric Leung
Yes, I found the jar under $TOMCAT_HOME/lib/container [isatom@demo container]$ jar tvf jasper.jar |grep JspWriterImpl 7764 Tue Mar 26 07:41:12 EST 2002 org/apache/jasper/runtime/JspWriterImpl.class How can I know if the method flushBuffer is inside the jar? But this jar comes with the

Re: Tomcat 3.3.1

2002-07-30 Thread Thomas Colin de Verdière
It seems it is not. Try to reinstall tomcat 3.3 from beginning do not replace any jar. this should work. I thought you have made a wrong manipulation, you should look at the faq there is something about this . Eric Leung wrote: Yes, I found the jar under $TOMCAT_HOME/lib/container

Re: unable to start tomcat on redhat linux 7.2

2002-07-30 Thread Chris Ruegger
What is CATALINA_HOME set to? - Original Message - From: Daniel Bruce Lynes [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, July 30, 2002 4:04 AM Subject: Re: unable to start tomcat on redhat linux 7.2 On Thursday 25 July 2002 01:43, LinuxTyro wrote: I have

Java servlets html escape codes.

2002-07-30 Thread Anthony Geoghegan
Anyone know a low overhead class or method for converting text strings to html escape coded strings (and back again) for java Servlet implementation? i.e. -- amp; etc. Best Regards, Anthony Geoghegan. J2EE Developer CPS Ireland Ltd. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

Re: Java servlets html escape codes.

2002-07-30 Thread Simon Stewart
On Tue, Jul 30, 2002 at 11:05:31AM +0100, Anthony Geoghegan wrote: Anyone know a low overhead class or method for converting text strings to html escape coded strings (and back again) for java Servlet implementation? i.e. -- amp; Alex Chafee's PurpleTech classes have something that do

Re: Java servlets html escape codes.

2002-07-30 Thread Anthony Geoghegan
Thanks Simon perfect. Best Regards, Anthony Geoghegan. J2EE Developer CPS Ireland Ltd. - Original Message - From: Simon Stewart [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, July 30, 2002 11:44 AM Subject: Re: Java servlets html escape codes. On Tue, Jul

Re: Java servlets html escape codes.

2002-07-30 Thread @Basebeans.com
Subject: Re: Java servlets html escape codes. From: Ron Jon [EMAIL PROTECTED] === that's one possible way to do conversion string--html: public static String ConvertString(String source){ if (source==null) return null; int length = source.length(); StringBuffer temp = new

RE: getHeader(Referer) and document location

2002-07-30 Thread Shapira, Yoav
Hi, IE (5.x) is known to have this issue with the Referer header. If you are relying on the referrer header (which is not a good idea in general, but sometimes necessary), you will simply have to add it to your JavaScript. In your case, change document.location=SecondServlet to

RE: Re[2]: REPOST: Document.importNode not working-works fine in modified JSDK2.1

2002-07-30 Thread Greg Waehner
Jake is right about server/lib. Sorry - mental lapse on my part I meant common/lib. Thanks for catching that. The XML/DOM packages comes with J2SDK 1.3.1 EE (http://java.sun.com/j2ee/sdk_1.3/techdocs/api/index.html) but is now bundled with the J2SDK 1.4.x SE. I was implicitly assuming EE

Cannot do ./configure with the webapp on Linux machine

2002-07-30 Thread Gunter D'Hondt
Hi, I using Suse Linux 8.0 and already installed Apache 1.3 and Tomcat 4.0 successfully. Now I'm trying to get mod_webapp configured. This gives me the error: 2002-07-30 12:37:05 [org.apache.catalina.connector.warp.WarpConnection] Exception on socket java.io.IOException: Premature packet header

mod_jk/jk2.properties/JK2 Connector

2002-07-30 Thread franzR
I) jk2.property file Concerning the documentation of th JK2 connector I've already installed a jk_conf and a worker.property file for the apache - tomcat communication. Among other things the port for every tomcat process has to be provided. The same port must be used in configuring the

How to configure multiple warp connections

2002-07-30 Thread Ratner, Ian
Can someone point me to an example of how to configure a single instance of Apache to connect to two different Tomcat servers (running different apps) using warp? I tried the configuration below, but it didn't work: WebAppConnection warpConnection warp localhost:8084 WebAppDeploy app1

connect Apache to Tomcat which reside on different hosts

2002-07-30 Thread Luigi Savini
I have Apache Web Server on host 172.24.96.56 and Jakarta Tomcat 4.0.4 on host 172.24.96.57 Apache connects to Tomcat by mod_jk. In my workers.properties i have specified the following code: worker.ajp13.port=8009 worker.ajp13.host=172.24.96.57

AW: How to configure multiple warp connections

2002-07-30 Thread Felix Schumacher
You have to use a different WebAppConnection for each WebAppDeploy So use: WebAppConnection warpAp1 warp localhost:8084 WebAppDeploy app1 warpAp1 /app1/ WebAppConnection warpAp2 warp localhost:8084 WebAppDeploy app2 warpAp2 /app2/ WebAppConnection warpAp3 warp localhost:8084 WebAppDeploy app3

Re: How to configure multiple warp connections

2002-07-30 Thread Milt Epstein
On Tue, 30 Jul 2002, Ratner, Ian wrote: Can someone point me to an example of how to configure a single instance of Apache to connect to two different Tomcat servers (running different apps) using warp? I tried the configuration below, but it didn't work: WebAppConnection warpConnection

Re: AW: How to configure multiple warp connections

2002-07-30 Thread Milt Epstein
On Tue, 30 Jul 2002, Felix Schumacher wrote: You have to use a different WebAppConnection for each WebAppDeploy So use: WebAppConnection warpAp1 warp localhost:8084 WebAppDeploy app1 warpAp1 /app1/ WebAppConnection warpAp2 warp localhost:8084 WebAppDeploy app2 warpAp2 /app2/

mod_jk.so

2002-07-30 Thread Billingham, Walter 475
All, Does anyone have a mod_jk.so file that was compiled on a PowerPC box with AIX 5.1 installed for Apache 1.3.x or Apache 2.x.x? If so can you please send me a copy of it? I am at wits end trying to get mine to compile and the looney bin is looking like a better place to be than

AW: Cannot do ./configure with the webapp on Linux machine

2002-07-30 Thread franzR
You've to enable the EAPI for an Apache-1.3 by parameterizing this property before you start the configuration; Example: ./configure --with-apxs=... --enable-EAPI More things can be found in the documentation (native/BUILDING)! franzR -Ursprüngliche Nachricht- Von: Gunter D'Hondt

parsing xml config file

2002-07-30 Thread Sullivan, Mark E
Does anyone know if tomcat uses Digester from the jakarta commons project to parse it's xml config file? I cannot find any evidence of this after (briefly) searching the source code. If it doesn't, does it using an outside package or just custom stuff written within the project? thanks, Mark --

RE: tomcat and netscape

2002-07-30 Thread Durham David Cntr 805CSS/SCBE
How can I be more specific?? This is a yes/no question -Original Message- From: Cunningham Emmett [mailto:[EMAIL PROTECTED]] Sent: Monday, July 29, 2002 5:55 PM To: Tomcat Users List Subject: Re: tomcat and netscape I haven't played with apache and IIS. But I do know a

AW: Re: AW: How to configure multiple warp connections

2002-07-30 Thread Felix Schumacher
Thanks for the info. You are right, I can use one Connector for each Tomcat. -- Original Nachricht -- On Tue, 30 Jul 2002, Felix Schumacher wrote: You have to use a different WebAppConnection for each WebAppDeploy So use: WebAppConnection warpAp1 warp localhost:8084 WebAppDeploy app1

RE: getHeader(Referer) and document location

2002-07-30 Thread Maria Tan
Hi, Yoav: Thank you for your help. Would you mind tell me how to ualEncode the my second servlet URL in the javascript. public void service(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { try {

tomcat 4.1

2002-07-30 Thread O'Gara, Damian
Title: tomcat 4.1 Hi does anyone know the estimated production date for 4.1 of Tomcat? Thanks Damian O'Gara -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

AW: getHeader(Referer) and document location

2002-07-30 Thread Ralph Einfeldt
If CheckURL1 is the url to your servlet you should use something like: out.println(document.location=\); out.println(response.encodeUrl(CheckURL1?myReferer=test)); // The call to encodeUrl ensures that the link will contain // the session id if the browser has cookies disabled. // The

RE: parsing xml config file

2002-07-30 Thread Shapira, Yoav
Hi, Tomcat 4.x uses Xerces to do its internal XML parsing. See the section on XML parsers in the release notes at http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/RELEA SE-NOTES Yoav Shapira Millennium ChemInformatics -Original Message- From: Sullivan, Mark E

tomcat4 doesn't display compile or runtime errors/exceptions in jsppages like tomcat3

2002-07-30 Thread Alex Muc
Hi, I recently upgraded tomcat3.2.2 to tomcat 4.0.4. Most of the upgrade went smoothly. Tomcat4 certainly seems faster than tomcat3 which is good. One of the things that tomcat3 had which tomcat4 seems to lack is the ability to view the compile or runtime errors and exceptions that occur

Re: AW: getHeader(Referer) and document location

2002-07-30 Thread Maria Tan
Hi, Ralph: Thanks you. But i just change to code in my javascript function: out.println(document.location=\CheckURL1myReferer=CheckURL1\;); In my second servlet(CheckURL1). i still get null through getHeader(Referer) Beside, i am just wondering if it is possible to use the resonse.encodeUrl

RE: AW: getHeader(Referer) and document location

2002-07-30 Thread Shapira, Yoav
Hi, When you make this change, the flow is: 1. Try getHeader(Referer). 2. If #1 returns null, try getParameter(myReferer). Since myReferer is not a header, you can't get it as a header ;) You can URL-encode things in JavaScript by using the escape(string) function. But that's getting to be

How to enable Tomcat's Apache Auto-config

2002-07-30 Thread JY - June Young
I am using Apache 1.3 and Apache Tomcat 4.0. I downloaded the binary mod_jk.dll from http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3/bin/win32/i 386/. The doc says to configure Tomcat to generate the Apache auto-configuration add the following block to your

RE: How to enable Tomcat's Apache Auto-config

2002-07-30 Thread Mike Jackson
On the newer 3.x versions you can do startup.sh jkconf, however you should note that I'm not using windows and not using 4.x, but it might work the same way. Regardless however it's not too hard to generate the config yourself, for the simpliest configuration (and not the best) you can setup a

Context Not working as expected

2002-07-30 Thread Randy Peterman
Y'all bear with me here- I am just now getting into Java Servlets and JSP but I am stumped as to why I can't get Context nodes to work in my Tomcat installation's servlet.xml file. The following is from the book Java Server Programming and its not doing me a bit of good - but I figure its

RE: AW: getHeader(Referer) and document location

2002-07-30 Thread Maria Tan
Hi,Yoav and Ralph: Thank you for your big help. Finally i got the URL i wanted. Thanks again. Maria --- Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, When you make this change, the flow is: 1. Try getHeader(Referer). 2. If #1 returns null, try getParameter(myReferer). Since myReferer is

Re: Context Not working as expected

2002-07-30 Thread Randy Peterman
Doh! I found my problem - I checked everywhere but where the problem was. Thanks for your patience with me. Note to self: Check your directory structure to make sure it matches your context node! -- Randy Peterman Alt-N Technologies, Ltd. Helping The World Communicate http://www.altn.com

Why couldn't Tomcat4.0.4 work with Netscape?

2002-07-30 Thread Hongming Qi
Hi, I installed Tomcat 4.0.4 and Apache 2. 0.39 on Redhat 7.2. The examples could be run on Explore, but they couldn't be run on Netscape ( the content couldn't be loaded while clicking the jsp or servlets. What happened? Anyone can help me ? Thanks. Hongming -- To unsubscribe, e-mail:

Re: parsing xml config file

2002-07-30 Thread Craig R. McClanahan
On Tue, 30 Jul 2002, Sullivan, Mark E wrote: Date: Tue, 30 Jul 2002 08:54:13 -0500 From: Sullivan, Mark E [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat-User@Jakarta. Apache. Org (E-mail) [EMAIL PROTECTED] Subject: parsing xml config file Does anyone

RE: parsing xml config file

2002-07-30 Thread Sullivan, Mark E
thanks craig. It's reassuring when you use smaller projects like digester when you know that a larger more popular project like tomcat is also using it. -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 11:37 AM To: Tomcat Users List

i can't acces absolute symbolic link created with ln -s command on LINUX

2002-07-30 Thread CouasPhilippe
Hi everybody, i can't acces symbolic link with Tomcat 4.1.7. i have created a link with ln -s command on LINUX. If this symbolic link don't refere to a directory which is in webapps tree i have an error 404. why ? That is ok with Tomcat 4.0.4 Thanks Philippe -- To unsubscribe, e-mail:

HTTPS URL in Tomcat

2002-07-30 Thread Stuart Stephen
Hi all, I keep getting a MALFormedURLException in my servlet which is trying to connect to a URL which begins 'https://'. However, I keep getting: java.net.MalformedURLException: unknown protocol: https at java.net.URL.init(Unknown Source) at java.net.URL.init(Unknown Source)

JSPC configuration, recompiling JSP

2002-07-30 Thread adam kramer
If these questions have been answered on the list already, reply privately with links to the archives. I could not find clear answers to them. I just installed Apache-Tomcat 4.0.4final on Redhat7.3 i386 and read from the RELEASE-NOTES, The Java compiler leaks memory each time a class is

Slightly OT: Distributed Sessiion Manger

2002-07-30 Thread Chris Moon
I am currently looking at Tangosol Coherence (http://www.tangosol.com) to distribute sessions between multiple tomcat servers. I am wondering if anybody out there has used this product? If so, what are your general feelings about this product? How is performance? Anything else you think I

Exception processing JAR in Tomcat 4.1.7

2002-07-30 Thread Mete Kural
Hi, I'm getting the below exception in Tomcat 4.1.7 (installed from the .zip distribution) while loading xalan.jar in a WEB-INF/lib/ directory. Do you have any suggestions on what might be causing it? Thanks, Mete javax.servlet.ServletException: Exception processing JAR at resource path

RE: parsing xml config file

2002-07-30 Thread Craig R. McClanahan
On Tue, 30 Jul 2002, Sullivan, Mark E wrote: Date: Tue, 30 Jul 2002 11:36:38 -0500 From: Sullivan, Mark E [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: parsing xml config file thanks craig. It's reassuring when you

RE: HTTPS URL in Tomcat

2002-07-30 Thread Sullivan, Mark E
What version of the jdk are you using? in jdk1.4+ all i need to do is: System.setProperty(java.protocol.handler.pkgs,com.sun.net.ssl.internal.ww w.protocol); and then i create my URL new URL(https://where-ever.com;) Make sure that the server has a valid ssl certificate, because any problems

Apache Authentication for Tomcat

2002-07-30 Thread Josh Landin
I'm running apache-2.0.39 and tomcat-4.0.2 using mod_jk compiled on RH7.2. I setup Apache to require authentication for a given virtual host using an htpasswd file. Because the same virtual host has some JkMount directives, some requests are forwarded on to Tomcat without authentication. How can

Re: Exception processing JAR in Tomcat 4.1.7

2002-07-30 Thread Mete Kural
Addition: Not just for xalan.jar, this happens for many other jars such as jakarta-oro.jar, xercesImpl.jar, saxpath.jar, etc. I'm using the jakarta-tomcat-4.1.7-LE-jdk14.tar.gz binary distribution of Tomcat 4.1.7. Thanks, Mete --- Mete Kural [EMAIL PROTECTED] wrote: Hi, I'm getting the

Re: Apache Authentication for Tomcat

2002-07-30 Thread Jacob Kjome
Hello Josh, I have my Apache authentication set up like this: Location /myapp AuthType Basic AuthName protected area AuthUserFile security/.htpasswd AuthGroupFile security/.htgroup require group myapp_admin myapp_user /Location One thing to note is the Apache authentication

Charset problem

2002-07-30 Thread Andre E. Bar'yudin
Dear all, I have a problem with setContentType() function in my servlets. I pass it text/html;charset=UTF-8. It works very well with: Tomcat 4.0.2/4.0.3 RH 7.2 jdk 1.4 the output is displayed Ok in the browser, the server sends the right Content-Type header: text/html;charset=UTF-8.

Best Connector Setup???

2002-07-30 Thread da_alchemist
Hello All, I am a newbie so bear with me if these seem like simple questions. My understanding is that only WARP and AJP are used to connect with Apache httpd server and the HTTP connector utilizes Tomcat as a web server. Is that correct??? In a production environment with Tomcat 4, which

RE: Deploying precompiled JSP

2002-07-30 Thread St-Germain, Sylvain
Well... either nobody knows about this or nobody care or but I got it. So, for prosperity Here is the trick. - compiled JSP go in WEB-INF/classes - appropriate mapping is required in web.xml servlet servlet-nameSignIn/servlet-name

Re: Custom org.apache.catalina.authenticator

2002-07-30 Thread Tim McLaughlin
On Monday, July 29, 2002, at 05:51 , Craig R. McClanahan wrote: On Mon, 29 Jul 2002, Tim McLaughlin wrote: The Question: How do I specify a class other than org.catalina.authenticator.BasicAuthenticator to handle Basic authentication? There is a properties file in the

Re: Deploying precompiled JSP

2002-07-30 Thread Rick Fincher
Thanks Sylvain, I've posted several questions about JSPC and never got a response. I guess few people do it. Anybody know if Tomcat responds to the JSP precompile directive and compiles stuff upon loading? Rick - Original Message - From: St-Germain, Sylvain [EMAIL PROTECTED] To:

Multiple Web App Authentication

2002-07-30 Thread Srofe, Douglas (c)
I am trying to implement single authentication (form based) for multiple web applications within a single virtual host. I have read the documentation for single-sign on and have made that work. However, it appears that the logon page(s) need to be in all web applications. Authentication is

RE: Apache Authentication for Tomcat

2002-07-30 Thread Josh Landin
That may very well work for the Location security implementation but it doesn't seem to work for the Virtualhost style. I added my JkMounts after (outside of) the VirtualHost tag and requests made to the JkMounts are forwarded to Tomcat without authentication. Anyone else, know how to do this?

Re: tomcat4 doesn't display compile or runtime errors/exceptionsin jsp pages like tomcat3

2002-07-30 Thread Alex Muc
I hate to be replying to my own messages, but I figured out a way to do what I'm looking for. I'll describe it here in case anyone else wants to do something similar. I modified the org.apache.jasper.servlet.JspServlet file which appears to be the main location where jsps are driven from.

RE: Apache Authentication for Tomcat

2002-07-30 Thread Turner, John
It should work for virtual hosts. Don't virtual hosts have content in separate locations? Like /www/virtual/host1/htdocs and /www/virtual/host2/htdocs? If that's the case, the Location directive will work, just put the path name in there. The hostname on the URL is irrelevant (and an error

RE: Multiple Web App Authentication

2002-07-30 Thread HAVENS,PETER (HP-Cupertino,ex3)
I have been working on the same thing. I believe it can be accomplished by modifying your web.xml file in the conf directory. You will need a security-constraint and a login-config. Here is what I added and it seems be working. Hope this gets you started. -Peter -

RE: Multiple Web App Authentication

2002-07-30 Thread Srofe, Douglas (c)
Thank you for your reply. I have done the same thing but what I found is that, using your example,login.jsp would have to reside in each web applications directory. So if I have 5 different web applications, login.jsp would have to be replicated 5 times. I would like to have login.jsp in only

Problems with Encryption in Servlets

2002-07-30 Thread Hans Kaiser
Hello! I´m trying to encrypt a XML documnet in an servlet under Tomcat 4.0.3. The same code runs fine in an separate Application, but trying to use it in an servlet, I always get following exception: exception javax.servlet.ServletException: Servlet execution threw an exception at

Native OS authentication using single sign on ...

2002-07-30 Thread HAVENS,PETER (HP-Cupertino,ex3)
I am currently trying to authenticate multiple webapps under a single authentication mechanism. That is login once and you can access all of the webapps under a given virtual host. I have enabled single sign on in the server.xml file and I have added a security-constraint and login-config in my

Re[2]: Multiple Web App Authentication

2002-07-30 Thread Jacob Kjome
Hello Douglas, Single Sign-on is implemented in Tomcat using Valves. See... http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/valve.html#Single%20Sign%20On%20Valve http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html#Single%20Sign%20On

RE: Apache Authentication for Tomcat

2002-07-30 Thread Josh Landin
I removed the Directory section from my VirtualHost and added this above it all: Location /drives/a/webapps/intranet1 AuthType Basic AuthName protected.zeus.intranet1 AuthUserFile /drives/a/webapps/.intranet1_passwd /Location After restarting the servers the virtual host that points

Re: Multiple Web App Authentication

2002-07-30 Thread Craig R. McClanahan
On Tue, 30 Jul 2002, Srofe, Douglas (c) wrote: Date: Tue, 30 Jul 2002 14:10:19 -0400 From: Srofe, Douglas (c) [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: Multiple Web App Authentication I am trying to implement

RE: Deploying precompiled JSP

2002-07-30 Thread St-Germain, Sylvain
Could you clarify your question. (I feel like an expert now!) ;-) FYI. The state I am in now, makes the jsp being useless since I mapped their file pattern to a class in web.xml, they seem to appear invisible to Tomcat. This is not too bad since I simply need to document that if you want to

RE: Apache Authentication for Tomcat

2002-07-30 Thread Josh Landin
Hello Jacob, I have now received three copies of this same message you sent me. It doesn't appear to work to way you describe, when working with virtual hosts. -- Josh -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 1:12 PM To: Tomcat

RE: Apache Authentication for Tomcat

2002-07-30 Thread Sullivan, Mark E
Did you forget a Require directive in that location? Apache seems to do stuff in linear fashion, so your original config: VirtualHost * DocumentRoot /drives/a/webapps/intranet1 ServerName intranet1 JkMount /*.jsp zeuscat JkMount /wup/* zeuscat ServerAlias *intranet1

RE: Apache Authentication for Tomcat

2002-07-30 Thread Josh Landin
Did you forget a Require directive in that location? Nope. should work if you move the JkMount under the Directory directive: I tried this: VirtualHost * DocumentRoot /drives/a/webapps/intranet1 ServerName intranet1 ServerAlias *babyupdates.com Directory

Re[2]: Apache Authentication for Tomcat

2002-07-30 Thread Jacob Kjome
Hello Josh, but it seems like you are using the Location directive as if it were a Directory directive. Location points to a mapping. In the example I gave Location /myapp/Location would map to http://localhost/myapp and anything inside that. What you seem to be doing is pointing to where

RE: Re[2]: Apache Authentication for Tomcat

2002-07-30 Thread Josh Landin
Jacob, but it seems like you are using the Location directive as if it were a Directory directive. Location points to a mapping. In the I was trying this as-per John Turner's suggestion included below. I have tried Directory and Location blocks both above and within the VirtualHost block. I

Re: Exception processing JAR in Tomcat 4.1.7

2002-07-30 Thread Mete Kural
I read in an email that this problem does not occur with the .exe distribution of Tomcat 4.1.7., but the tar version only. Does anybody have any insight into why this might be happening? Thanks, Mete --- Mete Kural [EMAIL PROTECTED] wrote: Addition: Not just for xalan.jar, this happens for

RE: Multiple Web App Authentication

2002-07-30 Thread HAVENS,PETER (HP-Cupertino,ex3)
No. I was able to place the login.jsp in the webapps/ROOT directory and it works for all of the webapps in that virtual host. -Peter -Original Message- From: Srofe, Douglas (c) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 11:36 AM To: 'Tomcat Users List' Subject: RE:

Tomcat 4, NS4, SSL and Form-based Login Problem

2002-07-30 Thread David Park
I am trying to implement SSL in order to secure the transmission of passwords for a web app running under Tomcat 4.0.4 and using form-based authentication. My SSL connector is working, and my login form is secured by a security constraint in web.xml requiring confidential transport guarantees.

RE: Native OS authentication using single sign on ...

2002-07-30 Thread Michael Remijan
I've been following these posts closely because I want to do basically the same thing as well. My stupid question is what happens after you submit the form?? What I would like to do is create an Object and put it in the users session. However, if the user goes click on a link that takes

RE: Re[2]: REPOST: Document.importNode not working-works fine in modified JSDK2.1

2002-07-30 Thread Chua Eng Huang, Cecil
Dear all, I tried moving the jars as earlier suggested. Here's the contents of the directory. As you can see, Xerces IS in the directory (actually two versions of it). Volume in drive C has no label. Volume Serial Number is 90E8-430D Directory of C:\JAKART~1.1\lib\apps

RE: Premature packet header end exception

2002-07-30 Thread Scott Erholm
Yes, I continue to get this error. I have searched through about the past year's messages on this list, and also with google, and I have not found an answer. If you know the problem/answer, please share! One way or another I have to get this working soon, so I will respond with any solution.

Add arbitrary path to classpath?

2002-07-30 Thread Paul Brinkley
(Newbie alert: I've been playing with Tomcat for a couple weeks, and once made a servlet or two a couple of years ago. Please be gentle.) Is it possible to give a servlet access to custom class files, if those custom classes don't want to live under WEB-INF, CATALINA_HOME, etc.? So far as I

Tomcat 4.04 and JDBC

2002-07-30 Thread Reis, Tom
Are there any special parameters for using TomCat 4.04 with JDBC drivers. I got the same jdbc_driver and jdbc_url to work with a java program but not with a TomCat servlet and I am wondering if there are any special parameters. Thanks. -- To unsubscribe, e-mail: mailto:[EMAIL

Classpath Woes...

2002-07-30 Thread Ben Boule
Hi, I was wondering if anyone could help me out with a problem with Tomcat 3.3.x. We've developed our application under the Tomcat 3.2.x implementation that is integrated into JBuilder 6. We use Struts for our framework. The application works fine in that environment. I am now trying to set

RE: Native OS authentication using single sign on ...

2002-07-30 Thread Craig R. McClanahan
On Tue, 30 Jul 2002, Michael Remijan wrote: Date: Tue, 30 Jul 2002 15:46:43 -0500 From: Michael Remijan [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Native OS authentication using single sign on ... I've been

RE: Classpath Woes...

2002-07-30 Thread Ben Boule
I am sorry, in my previous email I meant to say that when I copy jasper.jar into WEB-INF/lib, the jasper classes ARE found. Ben Boule -Original Message- From: Ben Boule [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 6:06 PM To: '[EMAIL PROTECTED]' Subject: Classpath Woes...

Re: Tomcat 4.04 and JDBC

2002-07-30 Thread Michael Locasto
Hi Tom, You need to be a tad more specific about the nature of your problem (error codes, exception messages, stacktraces, log entries) so folks can have a decent shot at replying with something resembling a valid answer ;) My best guess is that your JDBC Driver is probably not being seen by

RE: Classpath Woes...

2002-07-30 Thread Larry Isaacs
Which Tomcat 3.3.x, and was it installed in a new directory (which is recommended)? Any changes to the default configuration? The default configuration of Tomcat 3.3.x doesn't use the JspServlet. Cheers, Larry -Original Message- From: Ben Boule [mailto:[EMAIL PROTECTED]] Sent:

generating a form from a jsp

2002-07-30 Thread Billy V. Kantartzis
is there a way that i could read in a form that i have build as a jsp within a servlet and modify it i need to acess a DB and if there is an entry for a specific key i would like to be able to display the values in the form and then change them if need to. is there a way to do this ? best

Tomcat 4.0.4 HTTP connector shutdown issue

2002-07-30 Thread Sankaranarayanan (Ganesh) Ganapathy
Hi All, I am running tomcat server 4.0.4 on win2k. I have a simple client that repeatedly keeps sending requests to Tomcat... my client program hangs once in a while during Tomcat shutdown. My client program does the following: URL url = new URL(somerequest); HttpURLConnection

ApacheConfig modJk=PATH_TO_MOD_JK.SO_OR_DLL

2002-07-30 Thread August Detlefsen
I am seeing this error in my log files when I startup tomcat: mod_jk location: libexec/mod_jk.so Make sure it is installed corectly or set the config location Using ApacheConfig modJk=PATH_TO_MOD_JK.SO_OR_DLL / Starting service Tomcat-Apache There is no mention of it in the list archives.

RE: ApacheConfig modJk=PATH_TO_MOD_JK.SO_OR_DLL

2002-07-30 Thread Toby Saville
It means your trying to use the JK Module to connect Apache and Tomcat. look for LoadModule jk_module in either apache_install/conf/httpd.conf or in tomcat_install/conf/auto/mod_jk.conf. Or look in apache_install to see if there is a directory called libexec. If there is, but there is no file

load a class into memory during startup

2002-07-30 Thread jmok
Hi, I just wonder how would you load a class into memory during startup of tomcat and how to retrieve it back through jsp? EG, I wanted to load a text file into memory and called it object A, I also wanted to call back A later on. Joshua -- To unsubscribe, e-mail: mailto:[EMAIL

tomcat 4.0.4 and j2sdk1.4.0_01 ?

2002-07-30 Thread Matt Brennan
looking through the list archives, there seem to be a number of questions and concerns about deploying tomcat with java 1.4 (mostly compilation issues it seems). could someone please provide a quick one line insight: is tomcat 4.0.3, the 1.4.0_01 sdk, IIS and JDBC access to SQL server on

Re: tomcat 4.0.4 and j2sdk1.4.0_01 ?

2002-07-30 Thread Jacob Kjome
At 12:31 PM 7/31/2002 +0930, you wrote: looking through the list archives, there seem to be a number of questions and concerns about deploying tomcat with java 1.4 (mostly compilation issues it seems). could someone please provide a quick one line insight: is tomcat 4.0.3, the 1.4.0_01 sdk,

How can I let a JSP page show traditional-Chinese words correctly?

2002-07-30 Thread @Basebeans.com
Subject: How can I let a JSP page show traditional-Chinese words correctly? From: news.basebeans.com [EMAIL PROTECTED] === Hi, I design a JSP page and I want the page to show traditional-Chinese words. I had tried to deploy the JSP page with many Chinese words on the Tomcat 3.x and I

Re: i can't acces absolute symbolic link created with ln -s command on LINUX

2002-07-30 Thread Irina Lishchenko
On Tuesday 30 July 2002 18:44, you wrote: Hi everybody, i can't acces symbolic link with Tomcat 4.1.7. i have created a link with ln -s command on LINUX. If this symbolic link don't refere to a directory which is in webapps tree i have an error 404. why ? That is ok with Tomcat 4.0.4

RE: Cannot do ./configure with the webapp on Linux machine

2002-07-30 Thread Gunter D'Hondt
I've tried it with the EAPI parameter but this is the result: torvald1:/tmp/webapp-module-1.0-tc40 # ./configure --with-apxs --enable-DEAPI : command not found : command not found : command not found checking for test... /usr/bin/test : command not found : command not found '/configure: line

RE: i can't acces absolute symbolic link created with ln -s command on LINUX

2002-07-30 Thread CouasPhilippe
-Message d'origine- De: Irina Lishchenko [SMTP:[EMAIL PROTECTED]] Date: mercredi 31 juillet 2002 07:47 A: Tomcat Users List Objet: Re: i can't acces absolute symbolic link created with ln -s command on LINUX I use Tomcat 4.1.7 Standalone my link is ln -s /appli appli and

Suppression of directory listing in Tomcat

2002-07-30 Thread Nikolas A. Rathert
Hi, how do I have to configure server.xml or whatever to tell Tomcat that it should not show the complete directory to the user in case there is no index.html or something like that in the directory? I know how to handle that with Apache but the htdocs directory has nothing to do with Tomcats

  1   2   >