TomCat 3.2.3 stop responding issue.

2002-06-25 Thread TEOH KANG YIH
Hi everybody, I am using TomCat 3.2.3 running on Solaris 8 (with May 2002 108528-14 patch). I found that TomCat will intermittently stop responding where the process ../native_threads/java -Xms32m -Xmx256m -Dtom still exists. The interval is not fixed where it can happen anytime, say

call jsp page

2002-06-25 Thread Halil AKINCI
how can I call my servlet? To run my servlet application I use that URL http://localhost:8080/Vt/servlet/VTServlet and it is running fine. I located my jsp page(query.jsp) into the c:\jakarta-tomcat-3.3.1webappsVt directory. I use that URL http://localhost:8080/Vt/query.jsp , but I'm receiving

Re: compiling mod_jk on AIX

2002-06-25 Thread Costas Stergiou
Mail me to [EMAIL PROTECTED] and I will send you a binary copy of aix mod_jk.so for aix4.3 if you need it. Costas - Original Message - From: Milt Epstein [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, June 23, 2002 5:45 AM Subject: compiling mod_jk on AIX I

Does anybody know any usage survey on Tomcat

2002-06-25 Thread Lastric Igor
Hi! I need some arguments to provide to my boss so that I am allowed to install tomcat as productive server. There are surveys for using Apache, but I couldn't find anything on Tomcat. I would prefere to use version 4. Please help. mit freundlichen Grssen / best regards / srdacan pozdrav /

RE: javax.naming.NamingException: Cannot create resource instance

2002-06-25 Thread Les Hughes
Not claiming to be an expert in any of this but here are a few thoughts. Feel free to correct me ;-) Not sure if this is correct but rename classes12.zip to classes12.jar and try again - I read somewhere that TC doesn't like loading zips. I could be wrong though... Also, I dont think you need

sample Autoexec.bat file

2002-06-25 Thread Halil AKINCI
Can anyone send me a sample Autoexec.bat file context that includes JAVA_HOME, TOMCAT_HOME, and CLASSPATH settings?

mime-type setting

2002-06-25 Thread unplug
Hi all, I want to set mime-type in tomcat 3.3. However, I can't find the web.xml under $TOMCAT_HOME/conf (there is a default web.xml under $TOMCAT_HOME/conf for tomcat 3.2). Also I can't find any document about setting mime-type in tomcat 3.3. Where to set mime-type in order to make tomcat

problems with encodeURL

2002-06-25 Thread Philipp . Krummenacher
Hi all I have problems encoding URL's to make work my app with browsers not allowing cookies. The HttpServletResponse's encodeURL method produces something in that style: http://localhost:8081/jsp/login.jsp;jsessionid=5483F1B0E56180A7774110F1B4B59 042?newLanguage=fr but from such an URL, ths

Re: problems with encodeURL

2002-06-25 Thread Giorgio Ponza
I use Tomcat 4.0.3 and this URL works fine http://localhost/jsp/Registration/RegisterUser.jsp;jsessionid=1443034522BEFA 7F08FAB7D909FC8BC0?Home=true I use it in this way response.sendRedirect(response.encodeRedirectURL(/jsp/Registration/Register User.jsp?Home=true); maybe you only have problems

AW: problems with encodeURL

2002-06-25 Thread Ralph Einfeldt
The URL looks OK. I have no problems reading the parameters from such an URL (tomcat 4.0.3). (Assuming that HttpServletResponse's getAttribute was just a typo and should be HttpServletRequest's getAttribute) - Which tomcat version do you use ? - Do you use a connector ? (Which one) - Have you

RE: sample Autoexec.bat file

2002-06-25 Thread Galbayar
set JAVA_HOME=c:\jdk1.3 set TOMCAT_HOME=c:\tomcat set CLASSPATH=%CLASSPATH%;c:\mysql.jar;c:\classes -Original Message- From: Halil AKINCI [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 4:19 PM To: Tomcat Users List; servlet-interest group; JSP groups; jakarta-tomcat yahoo groups

Error while building mod_jk.so

2002-06-25 Thread Jan-Willem Goedheer
For a project I need to run Apache with Tomcat because I want to use servlets. I've read that I need mod_jk.so to pull this off. Because I want to run Apache-2.0.39 and Tomcat-4.0.4-LE-jdk14 on a Server with Solaris 7, I have to build this myself because there isn't any binary file for this

RE: call jsp page

2002-06-25 Thread Anoop Kumar V
i think i know why..can u paste the code of ur file. ANOOP -Original Message- From: Halil AKINCI [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 11:57 AM To: Tomcat Users List; jakarta-tomcat yahoo groups; JSP groups Subject: call jsp page how can I call my servlet? To run my

how to set environment variable in tomcat?

2002-06-25 Thread Johnny
Hi Ralph Einfeldt, Where can I find more detail guideline info about the startscript for tomcat, and API doc of System.getenv()? Actually, I'm trying to set my own defined environment variable - SSL_CLIENT_CERT in my jsp application. So that the application can retrieve the certificate info

AW: how to set environment variable in tomcat?

2002-06-25 Thread Ralph Einfeldt
getenv() and getProperty(): http://java.sun.com/j2se/1.4/docs/api/java/lang/System.html#getenv(java. lang.String) http://java.sun.com/j2se/1.4/docs/api/java/lang/System.html#getProperty( java.lang.String) Have a look at the startup scripts for tomcat for you platform. -Ursprüngliche

AW: how to set environment variable in tomcat?

2002-06-25 Thread Software AG
The getenv() method is deprecated, it might be no longer there in future versions of the JDK. I'd recommend to change the startup script for Tomcat to copy all environment variables into system properties, maybe with a prefix (like os.env). Another approach (almost platform neutral) might be to

AW: problems with encodeURL

2002-06-25 Thread Philipp . Krummenacher
Thanks; I will have a look at those points (I'm using 4.0.1 integrated in Sun's Forte for Java (4.0)); I discovered, that somwhere, the server creates a new session if cookies are turned off (does not occure when turned on ...). The server produces the following error:

RE: Tomcat 4 performance issues - Trying Tomcat 4.1.3 Beta

2002-06-25 Thread Reynir Hübner
Hi guys, this is just a follow up on the case, I've tried serveral combinations to get rid of the memory bug : tc4.1.5 with jasper1 from tc.4.0.3. tc4.1.3 with jasper1 from tc.4.0.3. tc4.1.5 with HTTPConnector from tc.4.0.3 tc4.1.3 with HTTPConnector from tc.4.0.3 None of those solved

AW: SessionListener does not get enough information

2002-06-25 Thread Software AG
Hi, Craig. I am not convinced that it makes sense to keep SessionID and according information inside the DB. Of what use is the session attribute architecture then? All that would happen is that I need a session to somehow generate a unique ID, and all information is then stored inside my DB.

Re: TC 4.1.3 ExptyStackException

2002-06-25 Thread Martin Jacobson
Remy Maucherat wrote: It mentions an sslImplementation as being null, but I don't find any mention of such an attribute in the docs. Is this the problem? And if so, what do I need to put? BTW, I didn't really want to be on the bleeding edge of development - but I do need a JNDI

RE: TC 4.1.3 ExptyStackException

2002-06-25 Thread Reynir Hübner
You can get 4.1.5 though, 4.1.5 has issues regarding jasper2 (tag-pooling), so I would download 4.1.5 and use jasper2 from 4.1.3. on the other hand I dont know of any other problems with tc.4.1.5 (there might be as it's only in a test-release).

AW: how to set environment variable in tomcat?

2002-06-25 Thread franzR
You can provide your servlet with the necessary information by using the context-param section in your web.xml file. For instance: context-param param-nameSSL_CLIENT_CERT/param-name param-valuex/param-value /context-param You can reference your parameters by:

Re: Native library cannot be loaded twice

2002-06-25 Thread Andreas Hirner
Hi Andy, I am working on Linux. I used your advice and copied the native library in the /usr/java/jre/lib/i386/client/ directory and still got the same problem. Do you know where I can set the properties for the library path? Thanks Andreas Andreasm, By the way, the java library path is

Tomcat Connector for 4.0.4

2002-06-25 Thread Werner Schalk
Hi, I'm trying to compile Tomcat 4.0.4 from the source but I can't find the tomcat connector which contains tomcat-utils.jar for this version. Could somebody provide me a link where I can download it? Thanks a lot. Bye, Werner -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

Re: TC 4.1.3 ExptyStackException

2002-06-25 Thread Martin Jacobson
Reynir Hübner wrote: You can get 4.1.5 though, 4.1.5 has issues regarding jasper2 (tag-pooling), so I would download 4.1.5 and use jasper2 from 4.1.3. on the other hand I dont know of any other problems with tc.4.1.5 (there might be as it's only in a test-release).

RE: -Xmx/-Xms Parameters, Where do they go???

2002-06-25 Thread Brian Bernardo
Add the following to your startup.sh script. Obviously, these are my setting and you will have to adjust accordingly: CATALINA_OPTS= -server -Xms3g -Xmx3g -Xoss1568k -XX:NewSize=768m -XX:MaxNewSize=768m ; export CATALINA_OPTS Adding these arguments gave dramatic improvements, although, I wish

ANT tasks

2002-06-25 Thread Marc Logemann
Hi, i am just doing some build tests with the ANT tasks supplied by the Tomcat CVS. I am wondering if its so good to throw an exception on failing to start an webapp with org.apache.catalina.ant.StartTask When for some reason my webapp is allready started, i dont want to have my build fail

Re: Tomcat 4 performance issues - Trying Tomcat 4.1.3 Beta

2002-06-25 Thread Remy Maucherat
Reynir Hübner wrote: Hi guys, this is just a follow up on the case, I've tried serveral combinations to get rid of the memory bug : tc4.1.5 with jasper1 from tc.4.0.3. tc4.1.3 with jasper1 from tc.4.0.3. tc4.1.5 with HTTPConnector from tc.4.0.3 tc4.1.3 with HTTPConnector from

Re: TC 4.1.3 ExptyStackException

2002-06-25 Thread Remy Maucherat
Martin Jacobson wrote: Reynir Hübner wrote: You can get 4.1.5 though, 4.1.5 has issues regarding jasper2 (tag-pooling), so I would download 4.1.5 and use jasper2 from 4.1.3. on the other hand I dont know of any other problems with tc.4.1.5 (there might be as it's only in a

tomcat and broken pipe

2002-06-25 Thread Raquel R.L.
Hello! I have a problem with the connection between tomcat and oracle. When I open a connection to the DB once at the beginning, then save it for later. When I come back in several hours, the DB has dropped the connection, so when I try to use it, I get that message, can anyone help me? I don't

RE: Tomcat 4 performance issues - Trying Tomcat 4.1.3 Beta

2002-06-25 Thread Reynir Hübner
Me too, but it seems alot of new stuff has been introduced with tc 4.1.x so it can be hard to isolate this problem. For the record, I moved the tomcat-coyote.jar from 4.1.3 to 4.0.3 and ran the test once more, and it ran with out problems (and a small improvement on performance)... that shows

Applying Filter on Error Page

2002-06-25 Thread Frank AFRIAT
Hi all ! I am using a filter for a XSLT Transformation and an Error page (configured in web.xml) in my webapp. When I am asking the error page directly, the filter is well applied to it but when I am accessing the error page after an error the filter is not applied. Is it normal or a bug ? Do I

tomcat 4.0.4 rpm release

2002-06-25 Thread GOMEZ Henri
Available at : http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/rpms/ This rpm use external rpms from the Jpackage Project (http://www.jpackage.org) Only needed binary rpm will be present in jakarta rpms directory : jakarta-commons-logging-1.0.1.cvs20020612-1jpp.noarch.rpm

SV: tomcat and broken pipe

2002-06-25 Thread hermod . opstvedt
Hi This means that the database has auto-disconnected the connection. In many DB's this is configurable. Otherwise you have to deal with it programmatically. Never leave a connection open after you have finished work on it. Hermod -Opprinnelig melding- Fra: Raquel R.L. [mailto:[EMAIL

Re: Native library cannot be loaded twice

2002-06-25 Thread Andreas Hirner
Hallo Franz, Concerning the JDK documentation a native lib should be loaded in a static scope. Static resources are processed differently, because the runtime systems has to initialize all static resources at the beginning. After that the runtime system tries to initialize objects and these

Re : mod_jk JkAutoMount - mod_jk 1.2.0

2002-06-25 Thread GOMEZ Henri
Hi Milt, Anyone know anything about the mod_jk directive JkAutoMount? I've seen some about it in the documentation, in the source, and via a web search, but it's all a little bit sketchy. It sounds like it can be used instead of JkMount, to have the web server query the servlet container for

AW: Native library cannot be loaded twice

2002-06-25 Thread Software AG
Hi, Andreas. A bit off-topic (this goes into native programming), but there is something whirling through my head: Static classes/members are instantiated once. But what happens if multiple classloaders are used? Such as you have this one class static but use it in several web applications?

url-pattern in IIS 5 and Tomcat 4.0

2002-06-25 Thread Alexander Höglind
Hi, I can't get url-patterns to work within IIS 5.0!!! It works fine when I access it threw port 8080. It also works if I access it with www.mySite.com/servlet/com.hoglind.error.NoPage. Any Ideas? Here is a sample of the web.xml file. servlet servlet-nameNoPage/servlet-name

Re: Native library cannot be loaded twice

2002-06-25 Thread Andreas Hirner
Hi, A bit off-topic (this goes into native programming), but there is something whirling through my head: Static classes/members are instantiated once. But what happens if multiple classloaders are used? Such as you have this one class static but use it in several web applications? Seems

AW: Native library cannot be loaded twice

2002-06-25 Thread Ralph Einfeldt
Depends on which classloader finds the class. If you have a classloader hierarchy as tomcat, you can have either one instance of the class (the class is only found through the parent class loader) or several instances of the class (some or all context class loader find the class on their own

SV: Native library cannot be loaded twice

2002-06-25 Thread hermod . opstvedt
Hi Andreas Again, as I said earlier - Have you checked that the java.library.path has is pointing to where your native library is. The reason you are seeing this, is that when loading through common/classes it is the system classloader (different from the application classloader) that loads it.

RE: -Xmx/-Xms Parameters, Where do they go???

2002-06-25 Thread Jack Li
How and where to set -server? Thanks, Jack Li -Original Message- From: David Kavanagh [mailto:[EMAIL PROTECTED]] Sent: Monday, June 24, 2002 5:18 PM To: Tomcat Users List Subject: Re: -Xmx/-Xms Parameters, Where do they go??? I've added a line in my tomcat.sh that sets the TOMCAT_OPTS

Re: Native library cannot be loaded twice

2002-06-25 Thread Andreas Hirner
Hi Hermod Again, as I said earlier - Have you checked that the java.library.path has is pointing to where your native library is. The reason you are seeing this, is that when loading through common/classes it is the system classloader (different from the application classloader) that loads

RE: -Xmx/-Xms Parameters, Where do they go???

2002-06-25 Thread Shapira, Yoav
Howdy, -server is set like all other java runtime options, same place as -Xms and -Xmx. It must come before any other option though. I would caution one to not blindly set -server. Try it and see what you get. For a couple of our apps, we got better performance (both throughput and garbage

RE: Separating Tomcat and Apache configuration

2002-06-25 Thread Turner, John
Any special reason why includes are undesirable? Seems like the perfect solution to me, although there is always the issue of a syntax error prohibiting apache from starting, but your system managers should be doing a configtest before starting apache, anyway. John Turner [EMAIL PROTECTED]

RE: sample Autoexec.bat file

2002-06-25 Thread Turner, John
A better way is to use the Environment Variables setting in Windows. On Win2K Pro: Start-Settings-ControlPanel-System-Advanced-Environment Variables John Turner [EMAIL PROTECTED] -Original Message- From: Galbayar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 4:08 AM To:

AW: -Xmx/-Xms Parameters, Where do they go???

2002-06-25 Thread Ralph Einfeldt
Which version of tomcat are you using? The following should work for 4.0.x: You can specify CATALINA_OPTS=-server in catalina.sh. I prefer to have a wrapperscript like this: #!/bin/sh JAVA_HOME=/usr/local/java/jdk1.3.1 CATALINA_HOME=/usr/local/java/jakarta-tomcat-4.0.3

AW: -Xmx/-Xms Parameters, Where do they go???

2002-06-25 Thread Ralph Einfeldt
Sorry forgot one line #!/bin/sh JAVA_HOME=/usr/local/java/jdk1.3.1 CATALINA_HOME=/usr/local/java/jakarta-tomcat-4.0.3 CATALINA_BASE=/www/develop/sitename CATALINA_OPTS=-server export JAVA_HOME CATALINA_HOME CATALINA_BASE CATALINA_OPTS ${CATALINA_HOME}/bin/startup.sh -Ursprüngliche

Re: getSession always returns null

2002-06-25 Thread Marius Schwarz
Hello Jerry On 21-Jun-02, you wrote: The default behavior is to create an session if it doesn't already exist. I tried both with and without the true argument with the same effect. you use a invalid cookie setting in your browser. Even if cookies are enabled, it can be wrong. I had the same

Re: javax.naming.NamingException: Cannot create resource instance

2002-06-25 Thread Fabio Mengue
Hi, Les Hughes wrote: Also, I dont think you need both drivername and url - they are synonyms for the same thing. I think DBCP wants URL to be configured. At least with DB2, if I don't configure url on server.xml, I get Cannot create JDBC driver of class 'COM.ibm.db2.jdbc.net.DB2Driver' for

Re: Memory blowup and performance problems

2002-06-25 Thread Marius Schwarz
Hello Michael On 19-Jun-02, you wrote: hi, i have a problem with running tomcat 4.03 on my linux box. after starting tomcat, java takes nearly all my memory (~500megs) until theres no more. for this it needs about 1 day. now tomcat needs about 1 to 2 minutes to react, escecially after

Re: TC 4.1.3 ExptyStackException

2002-06-25 Thread Martin Jacobson
Remy Maucherat wrote: Martin Jacobson wrote: My logs give me the same errors as previously posted - does anyone have a working Coyote https connector - maybe there are undocumented parameters I don't know about? With JDK 1.3, this works for me: - create a key with the default

Re: TC 4.1.3 ExptyStackException

2002-06-25 Thread Martin Jacobson
Remy Maucherat wrote: Martin Jacobson wrote: My logs give me the same errors as previously posted - does anyone have a working Coyote https connector - maybe there are undocumented parameters I don't know about? With JDK 1.3, this works for me: - create a key with the default

Re: tomcat won't load oracle driver

2002-06-25 Thread Marius Schwarz
Am 23-Jun-02 schrieb Keith Wannamaker: Someone mentioned on -dev that one has to remove the java*.sql classes from the oracle jdbc jar in order to work with jdk 1.4 (since 1.4 began bundling these classes as well) he could extract them and place them in his classpath, that has to work. Gruss

RE: javax.naming.NamingException: Cannot create resource instance

2002-06-25 Thread Dave Gibbs
DB2 driver does need the URL formatted as follows. URL=jdbc:db2:your_db_name Have you installed the DB2 CAE on the host machine ? also if you want to use JDBC2 you need to build a new db2java.zip by running usejdbc2.bat in Drive:\DB2\java12. Dave -Original Message- From: Fabio Mengue

example mod_jk2 files for Apache 2.0.39

2002-06-25 Thread Douglas, Rory
Title: example mod_jk2 files for Apache 2.0.39 As requested, attached are the actual config files I'm currently using to integerate Apache2 and Tomcat 4.1.3 using mod_jk2. I have not included server.xml (it is hard to read because it's maintained by the admin webapp) but the complete

JspC null pointer exception

2002-06-25 Thread Dave Gibbs
Hi guys, I'm trying to use the ant task JspC which relies on jasper. The ant task JspC is giving me null pointer exceptions and I have been able to reproduce them on the command line as follows. 2002-06-25 11:56:12 - ERROR-the file '\admin\clear.jsp' generated the following general exception:

RE: javax.naming.NamingException: Cannot create resource instance

2002-06-25 Thread Les Hughes
Sorry that's what I meant. I had similar probs with DBCP and mm.mysql, using URL and username worked fine. I thought we were talking about Oracle but if (when) you get DB2 working, can you mail me as I'm writing up all this stuff for a How-To and have nothing on DB2 Ta, Les -Original

RE: tomcat won't load oracle driver

2002-06-25 Thread Les Hughes
Isnt classes111.zip for 1.1 VMs and classes12.zip for 1.2/1.3 VMs (Can't comment on 1.4)? Also, I think the rename to .jar and stick em in common/lib for TC4 (not sure where on TC3) will help. -Original Message- From: Marius Schwarz [mailto:[EMAIL PROTECTED]] Sent: 25 June 2002 14:02

problem with manager app

2002-06-25 Thread Cory Casler
I am trying to use the reload command in the manager app to reload an application when a change has been made, so that I don't have to restart the server every time I make a change to a servlet. The reload command does not work. Is it possible to reload a .war file with restarting the server?

RE: tomcat won't load oracle driver

2002-06-25 Thread Andy Eastham
I think the problem ,ay be that 1.4 uses jdbc v3. The oracle drivers probably have require jdbc v2 hardcoded in them. I remember this being the case for a particular set of drivers, though I'm not absolutely sure it was Oracle. Are there any new ones from Oracle? Andy -Original

Re: problem with manager app

2002-06-25 Thread Liam Morley
I don't think the manager reload command reloads from the .war file. Instead it reloads from the directory which has been extracted from the .war file. Have you tried reloading after making changes to the directory? Liam Morley Cory Casler wrote: I am trying to use the reload command in the

appache could not be started

2002-06-25 Thread Hao Ding
Hi, I tried connect Tomcat4.0.3 with Apache1.3.26 using mod_jk.so. I included mod_jk.conf file at the end of httpd.conf I then tested apache configure $ apachectl configtest the syntas is ok, but when I started the appache $ apachectl start I got a message httpd could not be started Can

Re: appache could not be started

2002-06-25 Thread Liam Morley
Was there anything in the logs, or were they empty? Do you have a log set up for mod_jk, and did that have any info? Liam Morley Hao Ding wrote: Hi, I tried connect Tomcat4.0.3 with Apache1.3.26 using mod_jk.so. I included mod_jk.conf file at the end of httpd.conf I then tested apache

AW: appache could not be started

2002-06-25 Thread Ralph Einfeldt
There should be a message in the logs with more info what went wrong. -Ursprüngliche Nachricht- Von: Hao Ding [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 25. Juni 2002 15:37 An: Tomcat Users List Betreff: appache could not be started I got a message httpd could not be started

Re: problem with manager app

2002-06-25 Thread Avnish Pundir
Another options is to remove and deploy again using manager app. Just a shortcut in case reload doesn't take care of new war (which I doubt is the case). Thanks Avnish - Original Message - From: Liam Morley [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, June 25,

RE: tomcat won't load oracle driver

2002-06-25 Thread Les Hughes
OTN has classes12.zip for jdk1.2 and classes111.zip for jdk 1.1 for 8i, and classes12.zip for jdk1.2/1.3 and ojdbc14.jar for jdk1.4 for 9i. So, no 1.4 support for 8i and no 1.1 support for 9i it seems. Take your pick :-) But I still think that TC needs .jar and not .zip files Oh and I'm

RE: Two Tomcat 3.3.1 issues; SSL and Coyote

2002-06-25 Thread Larry Isaacs
Unfortunately, the build process I used to create the the 3.3.1 distribution binaries didn't include the PureTLS support. You will need to rebuild Tomcat 3.3.1 from source to pickup the PureTLS support. PureTLS support is now included in the Tomcat 3.3.x build process, so you might try 3.3.x

RE: tomcat won't load oracle driver

2002-06-25 Thread Les Hughes
oops, didn't scroll - there is a version of classes11.zip for 9isilly me... -Original Message- From: Les Hughes [mailto:[EMAIL PROTECTED]] Sent: 25 June 2002 14:52 To: 'Tomcat Users List' Subject: RE: tomcat won't load oracle driver OTN has classes12.zip for jdk1.2 and

Re: javax.naming.NamingException: Cannot create resource instance

2002-06-25 Thread Fabio Mengue
Hello, Dave Gibbs wrote: DB2 driver does need the URL formatted as follows. URL=jdbc:db2:your_db_name My server.xml entry (this DON'T work) Resource name=jdbc/DataSource auth=Container type=javax.sql.DataSource/ ResourceParams name=jdbc/DataSource

how do I set up a information distribution list

2002-06-25 Thread rsequeira
Has anyone used Apache James? I have a bunch of email address that I need to send emails, regularly. Something like a mailing list. More specifically a one way mailing list (or information dissemination list). The email should be customized with the person's name, etc. The person's details could

RE: Native library cannot be loaded twice

2002-06-25 Thread Cox, Charlie
did you restart tomcat since your class is in common/classes? you may want to wrap the loadlibrary() in a singleton. I'm not sure that you can use Class.forName on a class with no methods or fields. You may also want to see if the native functions are available even if the Class.forName is

Re: mime-type setting

2002-06-25 Thread Jacob Kjome
Check out the Tomcat 4.x.x conf/web.xml. You can use that format and that ordering and apply it to your own app's web.xml. I don't think that Tomcat 3.3.x uses a conf/web.xml. Also, take a look at the dtd by downloading it. It specifies the tag order. Use the URI in your dtd declaration

RE: javax.naming.NamingException: Cannot create resource instance

2002-06-25 Thread Dave Gibbs
I hesitate because I'm not sure I recall clearly, I think I got UnsupportedOperationException before I ran usejdcb2.bat. I was working with weblogic, about to try with Tomcat. I think you will need to use the connection pool data source. I'm about to tuck into all this so I'll let you know if I

Re: question about hot deployment and manager app....

2002-06-25 Thread Jacob Kjome
Milt, You can set up a static mod_jk.conf file for Apache to load that includes references to contexts that you may not have installed yet, but you plan on installing. Then, once it is actually installed in Tomcat, the redirector will get the request to Tomcat just fine. Just plan a bit in

R: how do I set up a information distribution list

2002-06-25 Thread Alessio Fiore
Hi, I've a suggestion: to make easy for the account manager to fill the body with right tags without remembering them, you could use in your HTML page a textarea with some buttons that, in their onClick event manager, call a JavaScript function that appends the tag string to the area-field value.

Re: Native library cannot be loaded twice

2002-06-25 Thread Andreas Hirner
Hi Charlie, did you restart tomcat since your class is in common/classes? Yes, I did. you may want to wrap the loadlibrary() in a singleton. I'm not sure that you can use Class.forName on a class with no methods or fields. You may also want to see if the native functions are available even

logging problem

2002-06-25 Thread Seth Brahler
i am using tomcat 3.2.2. i noticed that my log file (jasper.txt) gets flushed every time the server is shut down. how can i prevent this? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: javax.naming.NamingException: Cannot create resource instance

2002-06-25 Thread Les Hughes
I tried this same blank username and password when doing the mysql stuff and it too blew up. Does it work if you put the username and password in the server.xml file? I also tried putting the username and password on the URL and that blew up tooOh and not setting a password at the database

Re: R: how do I set up a information distribution list

2002-06-25 Thread rsequeira
Thanks for the tip. I'll make a note of that. I was hoping someone had some experience in setting up a mailing list. Will the person who setup this list please step forward :-) Thanks RS Alessio Fiore [EMAIL PROTECTED] on 06/25/2002 09:16:51 AM Please respond to Tomcat Users List [EMAIL

Apache+Tomcat

2002-06-25 Thread Icaro Tuicci
I've this code in my httpd.conf : 992 IfModule mod_webapp.c 993 WebAppConnection conn warp localhost:8008 994 WebAppDeploy examples conn /examples 995 /IfModule what do i need configure in server.xml file ? I'm having this error when i try start my apache: [root@icaro

Re: javax.naming.NamingException: Cannot create resource instance

2002-06-25 Thread Manolo Ramirez
I got the same problem with PostgreSQL, it was because the RPM of Tomcat 4.0.3 does not support Tyrex, I had to compile the source RPM and install all the requirements to work. To verify try loading this Classes: import tyrex.jdbc.ServerDataSource; import tyrex.jdbc.xa.EnabledDataSource; if

Re: Two Tomcat 3.3.1 issues; SSL and Coyote

2002-06-25 Thread Remy Maucherat
Larry Isaacs wrote: Unfortunately, the build process I used to create the the 3.3.1 distribution binaries didn't include the PureTLS support. You will need to rebuild Tomcat 3.3.1 from source to pickup the PureTLS support. PureTLS support is now included in the Tomcat 3.3.x build

Re: question about hot deployment and manager app....

2002-06-25 Thread Milt Epstein
On Tue, 25 Jun 2002, Jacob Kjome wrote: Milt, You can set up a static mod_jk.conf file for Apache to load that includes references to contexts that you may not have installed yet, but you plan on installing. Then, once it is actually installed in Tomcat, the redirector will get the

Re[2]: tomcat won't load oracle driver

2002-06-25 Thread Jacob Kjome
Hello Les, I run Tomcat 4.1.3 under j2sdk1.4_01 with classes12.zip (renamed to .jar with is absolutely required). I keep it in TOMCAT_HOME/common/lib. I connect to a pretty old Oracle 8 database and a newer Oracle 8i database. Tomcat and Oracle are *not* on the same machine. I have never

RE: Separating Tomcat and Apache configuration

2002-06-25 Thread Milt Epstein
On Tue, 25 Jun 2002, Turner, John wrote: Any special reason why includes are undesirable? Seems like the perfect solution to me, although there is always the issue of a syntax error prohibiting apache from starting, but your system managers should be doing a configtest before starting

RE: javax.naming.NamingException: Cannot create resource instance

2002-06-25 Thread Les Hughes
But if you're using dbcp then you're not using tyrex right? I'm using the LE version of TC 4 which doesn't ship with tyrex anyway (does the RPM?). And from my understanding tyrex doesn't pool (it provides a single connection). -Original Message- From: Manolo Ramirez [mailto:[EMAIL

The connection was refused when attempting to contact

2002-06-25 Thread Jesse Schingen
That is the error message when I try to run anything using tomcat. I have a simple login .jsp file. Whenever i try to submit it gives me that error. If I startup the tomcat server without shuting down it sometimes fixes the problem. My .jsp is in the webapps/onjava folder. I put in this

Re: Re : mod_jk JkAutoMount - mod_jk 1.2.0

2002-06-25 Thread Milt Epstein
On Tue, 25 Jun 2002, GOMEZ Henri wrote: Hi Milt, Anyone know anything about the mod_jk directive JkAutoMount? I've seen some about it in the documentation, in the source, and via a web search, but it's all a little bit sketchy. It sounds like it can be used instead of JkMount, to have

RE: The connection was refused when attempting to contact

2002-06-25 Thread Anoop Kumar V
which version of tomcat are u working on.. becoz i guess the context .. tag is closed with /context and not .../.. maybe that wd fix ur problem. -anoop -Original Message- From: Jesse Schingen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 8:45 PM To: [EMAIL PROTECTED]

R: JDBC Connection

2002-06-25 Thread Alessio Fiore
AFAIK Tomcat4 doesn't accept ZIPped class archives, but only JARred ones. So, if you use a .zip JDBC driver archive, you should unzip it and either put unzipped classes in classes dir, or archive them in a .jar archive. Regards Alessio -Messaggio originale- Da: Juan [mailto:[EMAIL

Re: JDBC Connection

2002-06-25 Thread Michael Nicholson
For what it's worth, I just renamed my *.zip archives to *.jar and it worked. Don't know that it should have, but it did. I suppose maybe the jdk reads the header first, then processes. So there you go. Mike - Original Message - From: Alessio Fiore [EMAIL PROTECTED] To: 'Tomcat Users

RE: Native library cannot be loaded twice

2002-06-25 Thread Cox, Charlie
-Original Message- From: Andreas Hirner [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 10:21 AM To: Tomcat Users List Subject: Re: Native library cannot be loaded twice Hi Charlie, did you restart tomcat since your class is in common/classes? Yes, I did.

jasper

2002-06-25 Thread Werner Schalk
Hi, I'm trying to compile tomcat 4.0.4 from the source and when I do a ant dist it fails with the following question: BUILD FAILED /usr/local/tomcat-src/build.xml:67: Basedir /usr/local/jakarta-tomcat-jasper/jasper2 does not exist I don't have jasper, where can I get it? Thanks and bye,

Applying Filter on Error Page (2)

2002-06-25 Thread Frank AFRIAT
I am working with tomcat 4.0.2 final. Thanks in advance, Frank - Original Message - From: Frank AFRIAT [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, June 25, 2002 12:30 PM Subject: Applying Filter on Error Page Hi all ! I am using a filter for a XSLT

RE: Re[2]: tomcat won't load oracle driver

2002-06-25 Thread Les Hughes
Hi Jake, Thanks for confirming the file rename thing. Are you using a JNDI datasource or just Class.forName() with the Oracle driver? Les -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED]] Sent: 25 June 2002 15:59 To: Tomcat Users List Subject: Re[2]: tomcat won't

Re: R: JDBC Connection

2002-06-25 Thread Chris Faulkner
Its not that it doesn't accept ZIP files, just that it doesn't look for them by default. The reason that Tomcat doesn't pick up anything other than jars is that it loops all *.jar files in its lib directory and adds them to the CLASSPATH before starting java. I needed to get a zip file onto

Class loading error (javax/servlet/http/HttpServlet) on Tomcat 4.0.4

2002-06-25 Thread Wesley Gamble
Thanks for any help in advance. I am attempting to deploy a Web app. under Tomcat 4.0.4 on WinNT which works fine under Tomcat 3.2.3. I have made sure that all the stuff I need to be in the CLASSPATH is there, etc. While it is not correct, I am adding stuff to the CLASSPATH of the JVM before

Re: Web-application not yet deployed

2002-06-25 Thread David Bishop
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am using 4.0.4. I was going to try going back to 4.0.1, as per your suggestion, however it doesn't seem to be available from the web (http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/ just has back to 4.0.3). I *don't* get

Re[2]: R: JDBC Connection

2002-06-25 Thread Jacob Kjome
Hello Chris, FYI, the format used for .jar files is zip. So, if you have a zip file, you can just rename it to .jar and that will be *exactly* the same thing as if you unzipped and then jarred the files. Jake Tuesday, June 25, 2002, 11:07:18 AM, you wrote: CF Its not that it doesn't accept

  1   2   >