Re: Tomcat 4.1 b9, Reload Context with Ant

2002-08-20 Thread Cameron Taggart
I moved the context/ that was in server.xml into a file named C:\Projects\myapp\build\WEB-INF\contextConfigFile.xml. With the cotext tag I set path=/myapp and docBase=C:\Projects\myapp\build, but this doesn't work for me:

Re: Tomcat 4.1 b9, Reload Context with Ant

2002-08-20 Thread Cameron Taggart
I moved the context/ that was in server.xml into a file named C:\Projects\myapp\build\WEB-INF\contextConfigFile.xml. With the cotext tag I set path=/myapp and docBase=C:\Projects\myapp\build, but this doesn't work for me:

Re: Tomcat 4.1 b9, Reload Context with Ant

2002-08-20 Thread Cameron Taggart
I moved the context/ that was in server.xml into a file named C:\Projects\myapp\build\WEB-INF\contextConfigFile.xml. With the cotext tag I set path=/myapp and docBase=C:\Projects\myapp\build, but this doesn't work for me:

Re: Can't get tomcat4 + mod_jk + apache to work

2002-08-20 Thread Milt Epstein
On Tue, 20 Aug 2002, Scott Adamson wrote: I have been trying for the last week to get Apache + mod_jk + Tomcat 4 to work. I have confirmed that Tomcat works on 8080, confirmed that Apache is running. [ ... ] Added the following to httpd.conf (see attached) Include

Re: Managing a large web.xml

2002-08-20 Thread Bill Barker
The obvious answer is to use internal entities (Note: some versions of Tomcat don't handle these gracefully, but I believe [but I don't use], that 4.0.4 and 4.1.x do). The idea is to setup in web.xml: !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN

web-inf/classes and eclipse

2002-08-20 Thread Laurent Michenaud
Hi, I use the editor Eclipse but when i launch Rebuild all, it deletes all the content of the WEB-INF/classes directory. Inside, there is all my *.properties file. The idea is to create a WEB-INF/config where i could put the properties files but i don't know how to add this directory into the

BAD packet - Apache 2.0.39 + mod_jk (or mod_webapp) on linux

2002-08-20 Thread Mathew Pole
Hi , At first glance the following combination sounded like a great idea (especially as I had success with this on windows 2000): tomcat 4.0.4 tomcat connectors 4.0.4 apache 2.0.39 linux (gentoo 1.2 distribution) In reality it has proved very challenging. I've tried the following:

RE: Can't get tomcat4 + mod_jk + apache to work

2002-08-20 Thread Mathew Pole
The /usr/local/jakarta-tomcat-4.0.4/conf/auto/mod_jk.conf is automatically generated by tomcat (see http://www.johnturner.com/howto/mod_jk_conf.html for an example) -- Mathew Pole Web Architect, Gerard Industries email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] phone: 08 8269 0511 ext 313,

RE: Managing a large web.xml

2002-08-20 Thread Horn, Rob
Title: RE: Managing a large web.xml Will, What we have implemented (thanks to whoever suggested it from here!) to include a context .. section into our server.xml file is: we have and M4 macro file server.xml.m4 in conf directory that contains ... !-- everything before the context entry

Re: web-inf/classes and eclipse

2002-08-20 Thread Andreas Probst
Hi Michenaud, using Ant together with Eclipse might be an option. You can run Ant from inside Eclipse by right-clicking the build.xml file and choosing the right operation (I now don't know how it is called). Andreas Hi, I use the editor Eclipse but when i launch Rebuild all, it deletes

Re: BAD packet - Apache 2.0.39 + mod_jk (or mod_webapp) on linux

2002-08-20 Thread Niket Anand
Hi Mathew, Can I get same type of instructions for Apache2.0.4,JBoss-2.4.6_Tomcat-4.0.3,jakarta-tomcat-connectors-4.0.4-src, JDK1.3.1 on Win2000? Thanks, Niket - Original Message - From: Mathew Pole To: '[EMAIL PROTECTED]' Sent: Tuesday, August 20, 2002 12:57 PM Subject:

RE: web-inf/classes and eclipse

2002-08-20 Thread Laurent Michenaud
thanks for this idea. I think i will use ant.. But what about adding WEB-INF/config to the CLASSPATH ? How can i do that automatically for all tomcat projects ? -Message d'origine- De : Andreas Probst [mailto:[EMAIL PROTECTED]] Envoyé : mardi 20 août 2002 09:37 À : Tomcat Users List

Re: 404 Not found - howto

2002-08-20 Thread Rum Pel
From: Craig R. McClanahan [EMAIL PROTECTED] On Fri, 16 Aug 2002, Rum Pel wrote: Date: Fri, 16 Aug 2002 05:05:47 -0400 From: Rum Pel [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: 404 Not found - howto Can a servlet produce a 404

Re: Segmentation Error SIGSEGV 11 * Segmentation Violation

2002-08-20 Thread Jhair Tocancipa Triana
HI, I am using Red Hat 7.2, Tomcat 3.2.3, MySQL and JDK 1.2.2. I am getting the error: Segmentation Error SIGSEGV 11 * Segmentation Violation Can u pls provide some solution for this? No, please take a few minutes to formulate your problem more precisely. --

basic identification + confidential

2002-08-20 Thread van Geenen, Jurjen (NL - Rotterdam)
Hi, I have declared a webcontext to require basic identification and confidentiality (in tomcat 4). It works fine. I have the following question: upon opening a webpage over normal HTTP, IE warns that a switch is made to SSL (the certificate is not trusted: selfsigned for testing), the redirect,

Client Certificates on Tomcat 3.3.1

2002-08-20 Thread Rodrigo Ruiz
Hi all, I'm trying to setup a secure connection between Tomcat 3.3.1 and a java soap client. My soap service simply prints out some request data, and also the content of request.getAttribute(javax.servlet.request.X509Certificate) Following some example code I found on Internet (I'm not sure

Re: mod_jk and tomcat 3.3

2002-08-20 Thread Alvaro Mota
Mr. Benjamin This how-to explain well this module. http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html#s73 bye Alvaro Wong, Benjamin wrote: Hi, I am configuring Apache 2.0.4 and Tomcat 3.3 using mod_jk. I followed the Working with mod_jk instructions, copied the mod_jk.dll to

Re: Tomcat 3.3 does not find jndi.properties

2002-08-20 Thread Olaf Jahn
Larry Isaacs [EMAIL PROTECTED] wrote: If possible, give Tomcat 3.3.2-dev from: http://jakarta.apache.org/builds/jakarta-tomcat/nightly-3.3.x/ a try to see if the fix for Bugzilla #7654 corrects this problem. Thanks a lot, the problem does not exist any more with the lastest 3.3.2-dev.

Re: Tomcat 3.3 does not find jndi.properties

2002-08-20 Thread Olaf Jahn
I wrote: Thanks a lot, the problem does not exist any more with the lastest 3.3.2-dev. The jndi.properties file placed in WEB-INF/classes is now found and read. I little experimenting showed that this is already fixed in 3.3.1. So I just switch vom Tomcat 3.3a to 3.3.1 and everything should

Re: Module mod_jk

2002-08-20 Thread Peter T. Abplanalp
On Mon, Aug 19, 2002 at 08:50:18PM -0300, Alvaro Mota wrote: Hi i get errors when add module mod_jk in apache 1.3.6. when i execute ./apachectl configtest Syntax error on line 318 of /usr/local/apache/conf/httpd.conf: Invalid command 'JkMount', perhaps mis-spelled or defined by a module

RE: OFF-TOPIC: Pointers to CallableStatement docs?

2002-08-20 Thread Turner, John
Thanks, but I'm not getting any Java-related error messages. The Java code just blows right on through, as everything keys off of the return status, which is always false or negative. This is because the stored procedure never executes, and according to the debug log printed by the driver,

RE: Apache 1.3.20 + Tomcat + (mod_jk or mod_webapp) for SuSE 7.3 Linux?

2002-08-20 Thread Turner, John
Can you post that mod_jk.conf file? Are you starting tomcat before starting apache? John Turner -Original Message- From: Chetan Sarva [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 5:06 PM To: Tomcat Users List Subject: Re: Apache 1.3.20 + Tomcat + (mod_jk or mod_webapp)

RE: mySql - Connector/J - connection pooling?

2002-08-20 Thread Turner, John
Most people seem to be using a third-party pooling solution, such as DBCP (Jakarta Commons project) or poolman, or others. Some are rolling their own. Some driver vendors include pooling classes, as well. John Turner -Original Message- From: neal [mailto:[EMAIL PROTECTED]] Sent:

RE: OFF-TOPIC: Pointers to CallableStatement docs?

2002-08-20 Thread jon wingfield
John, I've dug out some old code and i think you may have to set initial values for the OUT parameters as well. We used functions with oracle 8i with no problems in this way: One of the CallableStatements we prepared with {?=call pk_housekeeping.f_purge_inactive_consumers(?)} and used as below:

RE: Module mod_jk

2002-08-20 Thread Turner, John
Do you have a LoadModule directive for mod_jk.so in httpd.conf? John Turner -Original Message- From: Alvaro Mota [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 7:50 PM To: Tomcat Users List Subject: Module mod_jk Hi i get errors when add module mod_jk in apache 1.3.6.

RE: Can't get tomcat4 + mod_jk + apache to work

2002-08-20 Thread Turner, John
Well, the only thing I see different from my How-To is that you are using the binary connector instead of building it from source. I'm not clear on what exact difference noeapi makes in building the connector. If you'd like to contact me offline, I can send you the *.so file from my

RE: OFF-TOPIC: Pointers to CallableStatement docs?

2002-08-20 Thread Peter Lin
correct me if I'm wrong, but I count only 10 parameters. in one line you have cstmt.registerOutParameter(11, Types.VARCHAR); where is the 11th parameter? peter lin --- Turner, John [EMAIL PROTECTED] wrote: Thanks, but I'm not getting any Java-related error messages. The Java code just

RE: OFF-TOPIC: Pointers to CallableStatement docs?

2002-08-20 Thread Turner, John
The 11th is the return_status. Actually, #1 is the return status. According to the CallableStatement docs, you have to account for every ? in your statement. There is 1 return status, 5 input parameters, and 5 output parameters: 1 + 5 + 5 = 11. cstmt = sConn.prepareCall({? = call

RE: BAD packet - Apache 2.0.39 + mod_jk (or mod_webapp) on linux

2002-08-20 Thread Turner, John
I notice you mentioned that you had copied the JAR files to CATALINA_HOME/common after building the connector. This is one area that confuses me about connecting apache to tomcat with mod_jk. The docs I read told me to build those JARs, but I don't have them anywhere in my CATALINA_HOME tree,

Tomcat crashes

2002-08-20 Thread Kingston Sew
Hi I am currently running Tomcat 4.0.4 Server on a Windows 2000 Server (v5.0.2195) with MS SQL Server 2000 (v8.00.194) and J2SDK 1.4.0. I am also using JDBC-ODBC bridge to access the database. After conducting a few tests on my application, I notice that sometimes Tomcat crashes. When I check

Tomcat crashes

2002-08-20 Thread Kingston Sew
Hi I am currently running Tomcat 4.0.4 Server on a Windows 2000 Server (v5.0.2195) with MS SQL Server 2000 (v8.00.194) and J2SDK 1.4.0. I am also using JDBC-ODBC bridge to access the database. After conducting a few tests on my application, I notice that sometimes Tomcat crashes. When I check

Tomcat Crashes

2002-08-20 Thread Kingston Sew
Hi I am currently running Tomcat 4.0.4 Server on a Windows 2000 Server (v5.0.2195) with MS SQL Server 2000 (v8.00.194) and J2SDK 1.4.0. I am also using JDBC-ODBC bridge to access the database. After conducting a few tests on my application, I notice that sometimes Tomcat crashes. When I check

Tomcat Crashes

2002-08-20 Thread Kingston Sew
Hi I am currently running Tomcat 4.0.4 Server on a Windows 2000 Server (v5.0.2195) with MS SQL Server 2000 (v8.00.194) and J2SDK 1.4.0. I am also using JDBC-ODBC bridge to access the database. After conducting a few tests on my application, I notice that sometimes Tomcat crashes. When I check

Tomcat Crash

2002-08-20 Thread Kingston Sew
Hi I am currently running Tomcat 4.0.4 Server on a Windows 2000 Server (v5.0.2195) with MS SQL Server 2000 (v8.00.194) and J2SDK 1.4.0. I am also using JDBC-ODBC bridge to access the database. After conducting a few tests on my application, I notice that sometimes Tomcat crashes. When I check

Tomcat Crash

2002-08-20 Thread Kingston Sew
Hi I am currently running Tomcat 4.0.4 Server on a Windows 2000 Server (v5.0.2195) with MS SQL Server 2000 (v8.00.194) and J2SDK 1.4.0. I am also using JDBC-ODBC bridge to access the database. After conducting a few tests on my application, I notice that sometimes Tomcat crashes. When I check

RE: Tomcat Crashes

2002-08-20 Thread Turner, John
Have you tried the Microsoft Type 4 JDBC driver? It's free: http://msdn.microsoft.com/downloads/default.asp?URL=/downloads/sample.asp?ur l=/msdn-files/027/001/779/msdncompositedoc.xml John Turner [EMAIL PROTECTED] -Original Message- From: Kingston Sew [mailto:[EMAIL PROTECTED]] Sent:

RE: Tomcat Crash

2002-08-20 Thread Sullivan, Mark E
how many times do you plan on posting this? That's 6 so far. That's a problem with the JDBC-ODBC bridge. Try upgrading the bridge or moving to the jdbc driver, which is freely available on the microsoft site. -Original Message- From: Kingston Sew [mailto:[EMAIL PROTECTED]] Sent:

RES: Too many threads

2002-08-20 Thread Ronaldo
Thanks for your atention Shapira, but I did search a lot in google for this topics, but nobody seemed to have this kind of problem. I did read all tomcat config docs, but the container seems to ignore my maxProcessors parameter and starts lots of threads. I realy don't know what else to do. I'm

Re: Tomcat Crashes

2002-08-20 Thread Larry Meadors
It is the JDBC-ODBC stuff. Unless there is NO OTHER POSSIBLE WAY to connect to your database, do not ever use the JDBC-ODBC bridge except to convert your data to another format. It looks from the error that you are using M$ SQL Server. M$ has jdbc drivers for SQL2000, but not for earlier

RE: OFF-TOPIC: Pointers to CallableStatement docs?

2002-08-20 Thread Jim Urban
BTW: What JDBC driver are you using? We had tried the MS driver and had problems using it with stored procs. We ended up using a 3rd party driver which we had to pay for. Jim Urban - [EMAIL PROTECTED] Park City Solutions Inc. Clinical Connectivity Suite Product Manager Suite 295 500 Park

Re: How to change the package definition from org.apache.jsp to something else ?

2002-08-20 Thread Navdeep Singh
Thanks Craing ! As I said, problem is that these .java and .class files land in /work/localhost/_/ directory with package definition of org.apache.jsp. This is logically not correct and I cannot use jbuilder to debug the JSP as it requires the files to be at a correct place. Do we have a

no welcome file with Apache 2.0.35 + mod_webapp + tomcat 4.0.4

2002-08-20 Thread Alejandro Pastor Seva
Hi, I have a problem with apache -- mod_webapp --tomcat: http://myhost/jsp -- (apache) don´t work. don´t display welcome file . tomcat display error status code 302 Moved Temporarily http://myhost:8008/jsp -- (tomcat standalone) ok display the welcome file. http:/myhost/jsp/index.html --

RE: OFF-TOPIC: Pointers to CallableStatement docs?

2002-08-20 Thread Turner, John
We're using a thrid-party driver, trial version. It's our third one (the first two, from two other vendors, had even more problems). The cost is over $1000, and there's no support during the trial version. I can't get approval for the money unless I demonstrate that the driver will work.

RE: BAD packet - Apache 2.0.39 + mod_jk (or mod_webapp) on linux

2002-08-20 Thread Turner, John
I just built apache 2.0.40 and tried to get it working with mod_jk.so on RH 7.2. No luck...the mod_jk.so file that works with 1.3.26 is not compatible with 2.0.40. The error message I get is: Cannot load /usr/local/apache2/lib/mod_jk.so into server: /usr/local/apache2/lib/mod_jk.so: undefined

Tomcat Manager App with Struts 1.1b2 - ClassCastException?

2002-08-20 Thread @Basebeans.com
Subject: Tomcat Manager App with Struts 1.1b2 - ClassCastException? From: Andrej Sobkowski [EMAIL PROTECTED] === All, I'm using Struts 1.1b1 with Tomcat 4.0.4, using the manager app to dynamically stop/start my webapp. Everything works very well but I now need a few fixes from Struts 1.1b2

RE: Dumb question

2002-08-20 Thread Kemp Randy-W18971
Thank you Jake - for replying to my question. -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 2:15 PM To: Tomcat Users List Subject: Re: Dumb question Hello Kemp, Note that if a .war file exists *and* a directory with the name of the .war

RE: Too many threads

2002-08-20 Thread Shapira, Yoav
Hi, There are many threads in your system in addition to tomcat's http processing threads. You can search the list archives, a few months ago I posted a simple list all threads in the system class that you can use to see exactly what's going on. Please be careful to distinguish between

RE: Tomcat Crashes

2002-08-20 Thread Shapira, Yoav
Hi, It's your driver. The JDBC-ODBC approach tends to suck ;) Did you try to the type 4 driver from MS? Or better yet, forget MS SQL and go to MySQL or another more java-friendly database? If nothing else, try doing MySQL approach just to validate that it's neither tomcat nor your app that

Re: Tomcat Crashes

2002-08-20 Thread Adrian
Do you really need to send so many messages? This kind of behavior tends to cause others not to want to help. Although not related to you , can we please also call an end to URGENT, and PLEASE HELP! messages? Adrian - Original Message - From: Kingston Sew [EMAIL PROTECTED] To:

RE: Client Certificates on Tomcat 3.3.1

2002-08-20 Thread Tathagat (London)
okay, I have faced so many problems on this.. and finally could do it! Please answer the following questions. First question: The certificates that you are using on your machine (as client), where do you get them from? Second: When you connect the server (https://localhost:8443) or whatever),

RES: CGIs

2002-08-20 Thread Jose Euclides da Silva Junior - DIGR.O
Could you call your CGIs from JSP? -Mensagem original- De: Rocío Ninahuanca Flores [mailto:[EMAIL PROTECTED]] Enviada em: segunda-feira, 19 de agosto de 2002 14:13 Para: Tomcat Users List Assunto: CGIs Hello, I have an aplication in CERN server, and I want to run CGIs in Tomcat, can i

RE: Arabic content

2002-08-20 Thread Laurent Féral-Pierssens
Thank you for all your comments. I will report them and try to better evaluate the work at hand. Regards, Laurent -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: BAD packet - Apache 2.0.39 + mod_jk (or mod_webapp) on linux

2002-08-20 Thread Sullivan, Mark E
That's not necessarily true. I'm running mod_jk on rh 7.3 with apache 2.0.39 and tomcat 4+. I had no problems building or using the module. I don't remember having to do anything special when building the module either. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]]

RE: BAD packet - Apache 2.0.39 + mod_jk (or mod_webapp) on linux

2002-08-20 Thread Turner, John
It's true. There are two different apache directories in the connectors tree: apache-1.3 and apache-2.0. My How-To only details building in apache-1.3. ap_table_get is an Apache 1.3 API function, so to get mod_jk to work with Apache 2.0.39/40 requires something different that what is currently

RE: CGIs

2002-08-20 Thread Keith Wannamaker
Sure, instal Tomcat 4.0.x. It has a CGIServlet. Keith | -Mensagem original- | De: Rocío Ninahuanca Flores [mailto:[EMAIL PROTECTED]] | Enviada em: segunda-feira, 19 de agosto de 2002 14:13 | Para: Tomcat Users List | Assunto: CGIs | | | Hello, | I have an aplication in CERN server, and

RE: CGIs

2002-08-20 Thread Rocío Ninahuanca Flores
i mean, i want call jsps from CGIs, because my initial system is in CGIs., and i want to implement my new pages in jsp -Mensaje original- De: Jose Euclides da Silva Junior - DIGR.O [mailto:[EMAIL PROTECTED]] Enviado el: Martes, 20 de Agosto de 2002 08:24 a.m. Para: 'Tomcat Users List'

RE: BAD packet - Apache 2.0.39 + mod_jk (or mod_webapp) on linux

2002-08-20 Thread Sullivan, Mark E
Sorry, my mistake. I misread your email. Now that i think about it some more, i didn't use ant to build the connector. These are the steps i followed cd /home/mark/jakarta-tomcat-connectors-4.1.9-src/jk/native ./buildconf.sh ./configure --with-apxs=/usr/local/apache2/bin/apxs make make install

RES: CGIs

2002-08-20 Thread Jose Euclides da Silva Junior - DIGR.O
So, I guess you could try CGIServlet from Tomcat' package. -Mensagem original- De: Rocío Ninahuanca Flores [mailto:[EMAIL PROTECTED]] Enviada em: terça-feira, 20 de agosto de 2002 10:40 Para: Tomcat Users List Assunto: RE: CGIs i mean, i want call jsps from CGIs, because my initial

RE: Can't get tomcat 4 + mod_jk + apache to work

2002-08-20 Thread Brian Orledge
Did you get anywhere with this. I'm using the same configuration (minus the JBoss) and having the same error. Brian Orledge Revenue Solutions, Inc. 301.240.2182 -Original Message- From: Scott Adamson [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 11:57 AM To: Tomcat Users

RE: Can't get tomcat 4 + mod_jk + apache to work

2002-08-20 Thread Sullivan, Mark E
it would be very helpful if you could post the contents of this file: /usr/local/jakarta-tomcat-4.0.4/conf/auto/mod_jk.conf Otherwise, solving this problem will be very difficult -Original Message- From: Brian Orledge [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 8:35 AM

RE: Tomcat 3.3 does not find jndi.properties

2002-08-20 Thread Larry Isaacs
I'm glad Tomcat 3.3.1 worked, per the other e-mail. In my day job, I have some deadlines coming up and a bunch of code to write. Unless someone else volunteers to be release manager, a 3.3.2 release is probably a month or two away. There just isn't enough spare time to do much at the moment.

RE: BAD packet - Apache 2.0.39 + mod_jk (or mod_webapp) on linux

2002-08-20 Thread Turner, John
Interesting...I used ant. I will try it your way and see what changes. Thanks. John Turner [EMAIL PROTECTED] -Original Message- From: Sullivan, Mark E [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 9:32 AM To: 'Tomcat Users List' Subject: RE: BAD packet - Apache 2.0.39 +

RE: Help plzz

2002-08-20 Thread Sexton, George
JAVA_HOME is not set correctly. -Original Message- From: raghav [mailto:[EMAIL PROTECTED]] Sent: 19 August, 2002 11:06 PM To: Tomcat Users List Subject: Help plzz Hi All, I have downloaded Jakarta-tomcat 4.0.2 and am using Win XP OS. I have st up JAVA_HOME variable and Catalina-Home

RE: web-inf/classes and eclipse

2002-08-20 Thread Andreas Probst
As far as I know, there is no classpath in Tomcat, but a classloader hierarchy. In a few threads about how to write files into the file system I read about passing a parameter to the webapp. This parameter could be the path to the config file somewhere on your system. thanks for this idea. I

Tomcat 3.2.1 to 3.2.4 difficult?

2002-08-20 Thread Michael finney
Is upgrading from Tomcat 3.2.1 to 3.2.4 difficult? Michael = Michael Finney 719-572-1577 (H) Sun Certified Programmer for the Java 2 Platform Sun Certified Developer for the Java 2 Platform Sun Certified Web Component Developer for J2EE Platform Co-founder of PPJDG -

NotSerializableException

2002-08-20 Thread Luminous Heart
I am not asking tomcat to serialize my app, nor do I have any serialization in this application. Why am I getting this new exception? 2002-08-19 21:06:27 StandardManager[/NoPassApp] Exception loading sessions from persistent storage java.io.WriteAbortedException: writing aborted;

Re: NotSerializableException

2002-08-20 Thread Peter Davison
It looks like Tomcat is trying to serialize a session. Are you storing an IMAPFolder object in the session? It kacks because com.sun.mail.imap.IMAPFolder is not serializable. P. On Tue, 20 Aug 2002 07:41:48 -0700 (PDT) Luminous Heart [EMAIL PROTECTED] wrote: I am not asking tomcat to

Re: NotSerializableException

2002-08-20 Thread Andreas Probst
Obviously it does serialization. It loads a session from persistent storage. Serialization is a means to make objects persistent. Having written that I must confess I don't know about sessions in Tomcat... I am not asking tomcat to serialize my app, nor do I have any serialization in this

Re: NotSerializableException

2002-08-20 Thread Luminous Heart
I only add the imap session to the HttpSession. But I do not write it to disk. What is the best way to stop this behavior? --- Peter Davison [EMAIL PROTECTED] wrote: It looks like Tomcat is trying to serialize a session. Are you storing an IMAPFolder object in the session? It kacks

RE: NotSerializableException

2002-08-20 Thread Shapira, Yoav
Hi, What code are you using to read to/from an IMAP server? Yoav Shapira Millennium ChemInformatics -Original Message- From: Luminous Heart [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 10:42 AM To: Tomcat Users List Subject: NotSerializableException I am not asking tomcat

Re: NotSerializableException

2002-08-20 Thread Tom Oinn
Create a container object, which is serializable and put a member reference within it to your IMAPSession, marking this as transient. public class MyContainer implements Serializable { public transient IMAPSession mySession; } Tom Luminous Heart wrote: I only add the imap session to the

Re: NotSerializableException

2002-08-20 Thread Luminous Heart
Hi Andreas, I know quite enough about persistence, I am a senior java developer myself. But the issue is with tomcat handling persistence. Should I isolate my imap variables and declare them transient so tomcat will not write them to its storage? --- Andreas Probst [EMAIL PROTECTED] wrote:

Re: Client Certificates on Tomcat 3.3.1

2002-08-20 Thread Rodrigo Ruiz
- Original Message - From: Tathagat (London) [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, August 20, 2002 3:22 PM Subject: RE: Client Certificates on Tomcat 3.3.1 okay, I have faced so many problems on this.. and finally could do it! Please answer the

RE: BAD packet - Apache 2.0.39 + mod_jk (or mod_webapp) on linux

2002-08-20 Thread Turner, John
Kudos! That worked pretty well. I had to modify my Listener directives to pickup the different location of mod_jk.so (modules/mod_jk.so instead of libexec/mod_jk.so) but other than that, it worked like a charm. I'll update my How-To as soon as I can, with props to you for the tip (I won't

RE: NotSerializableException

2002-08-20 Thread Luminous Heart
I am using the javasoft (sun) standard API for mail. I believe am currently using javamail 1.2, from jsp and javabeans. --- Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, What code are you using to read to/from an IMAP server? Yoav Shapira Millennium ChemInformatics -Original

Re: Apache 1.3.20 + Tomcat + (mod_jk or mod_webapp) for SuSE 7.3 Linux?

2002-08-20 Thread Chetan Sarva
The file is attached. Tomcat is started before Apache and I waited a good 30 seconds or so. Also verified that the examples were loading properly. Chetan - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, August 20, 2002

RE: Client Certificates on Tomcat 3.3.1

2002-08-20 Thread Tathagat (London)
ok, what you have to do is put the certificate provider into your java's security file. keytool -import blah blah (options) what you have to import are .PEM files which you get from the certificate providers. Then IE will popup your certificates. Please read keytool documentation on sun site

RE: Apache 1.3.20 + Tomcat + (mod_jk or mod_webapp) for SuSE 7.3 Linux?

2002-08-20 Thread Turner, John
Looks fine to me. The only other things I can suggest are: 1. it's something going on with apache 1.3.20 (unlikely) or is the .20 a typo and you are using .26? 2. what are the contents of mod_jk.log when you ask for http://localhost/examples/servlet/HelloWorldExample ? 3. is Apache's

RE: Can't get tomcat4 + mod_jk + apache to work

2002-08-20 Thread Milt Epstein
On Tue, 20 Aug 2002, Mathew Pole wrote: The /usr/local/jakarta-tomcat-4.0.4/conf/auto/mod_jk.conf is automatically generated by tomcat (see http://www.johnturner.com/howto/mod_jk_conf.html for an example) Umm, thanks, I know that. The point wasn't how that file was created, it's what's in

Re: OFF-TOPIC: Pointers to CallableStatement docs?

2002-08-20 Thread David Mossakowski
Try this: private static final String SQL_CALL_GETTERMIDS = exec P.dbo.TO_GetTermIDs @term=?,@symbol=?,@side=?,@where=?,@rowcount=?,@num_term_ids=?,@time_in_ms=?; private static final int INIT_IDS_LIST_SIZE = 50; 1,2,3,4 and 5 are input parameters 6 and 7 are output. This is using

RE: Apache 1.3.20 + Tomcat + (mod_jk or mod_webapp) for SuSE 7.3 Linux?

2002-08-20 Thread Sullivan, Mark E
What url did you try when you got this error? if you tried just http://localhost/examples/, apache should not try to redirect this to tomcat, since none of the JkMount statements are JkMount /examples/*. In this case, apache will be looking for one of the DirectoryIndex pages inside the

RE: NotSerializableException

2002-08-20 Thread Shapira, Yoav
Howdy, Then I think the issue is having the IMAP carried in the Session object. It should be marked as transient so that it's not persisted with the tomcat session persistence mechanism. Alternatively, you can re-consider whether you need the whole IMAP session in your tomcat session, or only

Re: mod_webapp error: java.io.IOException: Premature packet header end

2002-08-20 Thread Raúl Mateos
Hello! Any idea?? Thanks. Raúl Mateos wrote: Hello! We configured Tomcat 4.0.4 with Apache 1.3.26 and compiled mod_webapp on Solaris 7. I worked, but when we use the module, on the error log of tomcat the next lines appears: 2002-08-19 17:44:32

Specifying location of tomcat-users.xml

2002-08-20 Thread Michael
I'm running tomcat from within IDEA, and I'm using the -config command line parameter to tell tomcat where my server.xml file is located (in my project directory). But tomcat is looking for tomcat-users.xml in the CATALINA_HOME directory. Is there a command to specify a conf directory other

Re: get blank pages when using precompiled JSPs (jspc problem?)

2002-08-20 Thread Eric Gilbertson
it turns out that the problem was simply that the JSP servlet was not registered in the web.xml file being generated by jspc. simply putting the servlet-mapping entry for jsps back in resolved the problem. seems like a bug to me that jspc doesn't include this entry given that it is required to

Re: Specifying location of tomcat-users.xml

2002-08-20 Thread Jhair Tocancipa Triana
== Michael [EMAIL PROTECTED] writes: I'm running tomcat from within IDEA, and I'm using the -config command line parameter to tell tomcat where my server.xml file is located (in my project directory). But tomcat is looking for tomcat-users.xml in the CATALINA_HOME

taglib jar exception

2002-08-20 Thread Georges Roux
Hi, I'am running jakarta-tomcat-4.1.9-LE-jdk14, I have this Exception org.apache.jasper.JasperException: null(-1,-1) This absolute uri (http://java.sun.com/products/javamail/demo/webapp) cannot be resolved in either web.xml or the jar files deployed with this application here is my web.xml

Re: How to change the package definition from org.apache.jsp to something else ?

2002-08-20 Thread Eric Gilbertson
Rob, As noted in a previous response, the package name and location of the servlet class files is server specific and not directly controllable by the user. You can work around this by statically compiling your servlets using jspc (use the -p switch to control the package name that is used)

Re: Client Certificates on Tomcat 3.3.1

2002-08-20 Thread Rodrigo Ruiz
Tathagat, at this moment I am generating my own self-signed server and client certificates :-P I have no .pem files, as I don't rely on any third provider. The keystore I am using in my server has the following entries: thawtepersonalfreemailca, Fri Feb 12 21:12:16 CET 1999, trustedCertEntry,

-help

2002-08-20 Thread godbout . francois
-- François Godbout, chargé de projet Département des TI Raymond Chabot Grant Thornton Téléphone : (514) 878-2691 ext:2176 Messages de confidentialité Ce courriel (de même que les fichiers joints) est strictement réservé à l'usage de la personne ou de

RE: OFF-TOPIC: Pointers to CallableStatement docs?

2002-08-20 Thread Mike Jackson
I don't know if it'll help, but here's one that I use: if ( db.connect() ) { CallableStatement cstmt = db.getConnection().prepareCall( begin delete_record( ?, ?, ?, ? ); end; ); cstmt.setInt( 1, ( ( Integer ) ht.get( teq.ARCHIVE_NBR ) ).intValue() );

RE: taglib jar exception

2002-08-20 Thread Turner, John
As far as I know, the current web.xml DTD is 2.3, not 2.2. Not sure if it matters, but it might...tomcat 4.x is very specific about supporting the DTD. The current DTD is http://java.sun.com/dtd/web-app_2_3.dtd John Turner [EMAIL PROTECTED] -Original Message- From: Georges Roux

RE : Specifying location of tomcat-users.xml

2002-08-20 Thread Michael
I'm running tomcat from within IDEA, and I'm using the -config command line parameter to tell tomcat where my server.xml file is located (in my project directory). But tomcat is looking for tomcat-users.xml in the CATALINA_HOME directory. Is there a command to

RE: Client Certificates on Tomcat 3.3.1

2002-08-20 Thread Tathagat (London)
1 thing is still unclear to me. DO YOU SEE THE CERTIFICATE POP UP WHEN YOU CONNECT TO THE SERVER? If not you have to include your client side certificate store into your $JAVA_HOME\jre\lib\security\cacerts keystore. using keytool -import with -trustcacerts option I use. keytool -import -alias

Re: Apache 1.3.20 + Tomcat + (mod_jk or mod_webapp) for SuSE 7.3 Linux?

2002-08-20 Thread Chetan Sarva
Looks fine to me. The only other things I can suggest are: 1. it's something going on with apache 1.3.20 (unlikely) or is the .20 a typo and you are using .26? I am indeed using 1.3.26 (the subject line is left from the original post). 2. what are the contents of mod_jk.log when you ask

Re: Apache 1.3.20 + Tomcat + (mod_jk or mod_webapp) for SuSE 7.3 Linux?

2002-08-20 Thread Chetan Sarva
What url did you try when you got this error? if you tried just http://localhost/examples/, apache should not try to redirect this to tomcat, since none of the JkMount statements are JkMount /examples/*. In this case, apache will be looking for one of the DirectoryIndex pages inside the

RE: Client Certificates on Tomcat 3.3.1

2002-08-20 Thread Tathagat (London)
Also regarding PEM file, I get it from the authority who generates the my certificates (for the whole of my organization). So I don't generate PEM files. Please look in google how to get them yourself. cheers Tathagat -Original Message- From: Rodrigo Ruiz [mailto:[EMAIL PROTECTED]]

Re: How to change the package definition from org.apache.jsp to something else ?

2002-08-20 Thread Rodrigo Ruiz
What about using %@ page extends=your.package % at the beginning of your JSP? Related to JBuilder: 1. which version of JBuilder are you using? 2. Are you doing remote debugging, or executing Tomcat from within JBuilder? - Original Message - From: Eric Gilbertson [EMAIL PROTECTED]

RE: Apache 1.3.20 + Tomcat + (mod_jk or mod_webapp) for SuSE 7.3 Linux?

2002-08-20 Thread Turner, John
Sorry, I'm stumped. John -Original Message- From: Chetan Sarva [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 11:59 AM To: Tomcat Users List Subject: Re: Apache 1.3.20 + Tomcat + (mod_jk or mod_webapp) for SuSE 7.3 Linux? Looks fine to me. The only other things I can

Servlet jsp is currently unavailable

2002-08-20 Thread James_Webb
Hello, I am having some difficulty in debugging this problem. I am using the Forte for Java 4 (Community Edition) IDE, and I have finally begun figuring out that the error that I have been receiving appears to be a configuration problem and not necessarily a coding problem. When I access my JSP

  1   2   >