Charset issues with multiple includes?

2000-12-02 Thread Shashank Tripathi
Hi, I am having difficulty with charset on my server. This is the top part of my code: % page language="java" contentType="text/html; charset=Shift_JIS" % %@ include file="file1.jsp" % %@ include file="file2.jsp" % %@ include file="file3.jsp" % I tried to

mod_jk.so compile errors

2000-12-02 Thread Didier Godefroy
Hi all, I'm new to this list and I'm trying to install Tomcat 3.2 and mod_jk for Apache 1.3.14, all that on Tru64 Unix 5.1 (Alpha). I used this cmd to compile the shared mod_jk: /apache/sbin/apxs -o mod_jk.so -I../jk -I/usr/opt/java118/include -I/usr/opt/java118/include/alpha -lposix4 -c *.c

Re: mod_jk vs. statically linked Apache

2000-12-02 Thread Craig R. McClanahan
Bojan Smojver wrote: I've noticed that there aren't any instructions about compiling and then statically linking mod_jk.so into Apache (mod_jk HOWTO from Tomcat 3.2). Is this intentional (ie. do you want to move people away from doing that) or is it just missing because most people prefer

servlet delegation problem.(stupid me can't get 15 lines of coderight)

2000-12-02 Thread romain
Yo dudes, it's late, and I have been looking at this for too long now: The idea was simple: store all JSP pages that need authentication in a NEEDSAUTHENTICATION subdirectory and put a servlet in front of it that checks wether the session was authenticated, and delegate to a logon page if not,

Re: More on JSP in XML format

2000-12-02 Thread Craig R. McClanahan
Anne and Bill Moore wrote: BTW Bugrat seemed to mangle the example scriptlet I entered in the problem description and seems to have lost the comment I put in the How to reproduce section. BugRat is simply embedding what you type into the HTML page it creates. I have found it easiest to

Re: More Tomcat problems.

2000-12-02 Thread Dave Smith
Title: More Tomcat problems. Panagiotis, Are you using a try block around the code to catch SQLExceptions in your development setup? This is what is happening: you are throwing an exception without a handler. The jvm just unwinds to the top and drops you out. Try using something like

Re: mod_jk.so compile errors

2000-12-02 Thread Didier Godefroy
on 12/2/00 5:04 PM, [EMAIL PROTECTED] at [EMAIL PROTECTED] uttered the following: The problem is that jk_pool_atom_t is not defined. The reason as you can see from the code in jk_pool.h is that there are only #defines for WIN32, AIX, SOLARIS, LINUX, FREEBSD, OS2 and NETWARE. The code AS IS

Re: mod_jk.so compile errors

2000-12-02 Thread Craig R. McClanahan
Didier Godefroy wrote: You were right! that definitely helps, this is rather stupid on the part of the development team, why do such things??? In case nobody noticed, this is an open source project. If you want this fixed in the code, submit a patch! The guidelines are on the web site

Re: mod_jk.so compile errors

2000-12-02 Thread Didier Godefroy
on 12/2/00 5:34 PM, Craig R. McClanahan at [EMAIL PROTECTED] uttered the following: In case nobody noticed, this is an open source project. If you want this fixed in the code, submit a patch! The guidelines are on the web site http://jakarta.apache.org. I'm afraid this is out of my

Problem building sample (Tomcat 3.1, WinNT 4.0)

2000-12-02 Thread Jim Bartram
I've made a copy of jakarta-tomcat\doc\appdev\sample and have attempted to build it. I made no changes to build.bat or build.xml. Can anyone explain why I get this error?: Buildfile: build.xml BUILD CONFIG ERROR: Can't open config file: build.xml due to: org.xml.sax.SAXParseException: Attribute

WEB-INF and classes directories are readables in my linux

2000-12-02 Thread Landaluze Produktions IS - Carlos
i have make virtual domains in my linux, but in each virtual domain i can see (with the browser) the WEB-INF and the WEB-INF/classes directory and theris files. How can i make no readable (no read) these directories? thaks and excuse my english Via broser (ns o ie) puedo tener acceso a los

Re: Problem building sample (Tomcat 3.1, WinNT 4.0)

2000-12-02 Thread Craig R. McClanahan
Jim Bartram wrote: I've made a copy of jakarta-tomcat\doc\appdev\sample and have attempted to build it. I made no changes to build.bat or build.xml. Can anyone explain why I get this error?: The Tomcat 3.1 version of the sample application build scripts has some syntax errors in it. You

Re: mod_jk vs. statically linked Apache

2000-12-02 Thread Bojan Smojver
I didn't actually say that the configuration works. It'll be some time before I know that for sure. But it does compile and link :-) If I understand correctly, DSO is described in Apache INSTALL file as optional. I have seen references in the jk code to dl related functions (and actually -ldl

compiling mod_jk with -pthread

2000-12-02 Thread Didier Godefroy
Hi all again, how do we compile mod_jk with the -pthread option? I tried having it in the CFLAGS and CC environment but that is ignored. I also tried including it in the apxs cmd line but it gives out errors. So what is the right way to do this? -- Didier Godefroy mailto:[EMAIL PROTECTED]

Bug in Windows Tomcat 3.2 Build.bat

2000-12-02 Thread Jim Bartram
Re: jakarta-tomcat-3.2\doc\appdev\sample\build.bat I upgraded to Tomcat 3.2 and found that build.bat would still not work on Windows NT. A little investigation revealed that the distribution copy of build.bat has a fatal flaw: (Part of build.bat:) snip rem Identify the custom class path

jjdbc setNull to create nested table

2000-12-02 Thread yt
Hi Craig, I'm having a problem with jdbc creating a nested object table in oracle8i. eg in oracle 8i, you create the object table using this code : create type phone_number as Object (phone_no varchar2(12), phone_type char(1)); create type all_phones as table of phone_number; // now

Using mod_jk.so

2000-12-02 Thread Alan Wright
I am trying to use mod_jk instead of mod_jserv.so should I do anything about the AddHandler jserv-servlet .jsp directive in httpd.conf? Is there something that should be in its place? I am finding the documentation relating to the use of mod_jk confusing because the examples have lots of

Logging Servlet.init() Exceptions on Start-up

2000-12-02 Thread James Klicman
I have a load-on-startup servlet that throws an UnavailableException in it's init method if it won't be able to handle requests. It seems as though Tomcat can't generate a log message of this exception unless there is a request for the servlet. Is there a way to get Tomcat to immediately log