A simple query

2002-02-22 Thread Vishal Mukherjee
Is it necessary to keep the physical folder under the webapps directory. I have tomcat 3.2.3 on IIS 4 Thanks Regards Visit Our Cement Site at http://www.indorama.co.in Our Software Site at http://www.irssl.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands:

Re: Tomcat as NT service going down after 2 months ???

2002-02-22 Thread David Slater
Sounds like the symptoms of a VM crash, not Tomcat per se. The 3.2.3 box I run, up until a very recent SQL upgrade, used to go down every Sunday night in the wee hours. No logs, or so I thought, until I noticed them in the tomcat/bin directory of all places! You may want to look there just

Dummie tryes to make cocoon 1.8.2 work

2002-02-22 Thread Maxim Souponia
Hello, I'm trying to make Cocoon1.8.2 work on Tomcat4.0.2 and J2SDK1.4, as they say in installation guide, i've copied web.xml to cocoon/WEB-INF. web.xml contains following code: web-app servlet servlet-nameorg.apache.cocoon.Cocoon/servlet-name

CkassFormatError when calling getBytes? (was Re: still suffering character-encoding woes)

2002-02-22 Thread Richard Sand
Hi all, I have a simple servlet that at some point retrieves a parameter from the request. In a (thusfar futile) effort to get western europe characters to work, I tried playing with getBytes to convert the encoding. At the suggestion of multiple people on the list, I added the following to my

Re: A simple query

2002-02-22 Thread Joel Rees
- Original Message - Vishal Mukherjee queried: Is it mecessary to keep the physical folder under the webapps directory. If you mean to ask whether you must keep the folder containing the jsp and java source files inside the webapps directory, I think the answer is yes. But don't give

No suitable driver under linux Mandrake and classes12.zip HELP !!!!!

2002-02-22 Thread remy.menetrieux
Sorry for the spam,and for my english but after 3 days I have not solution: Classes12.jar is in common/lib When I use a datasource for oracle driver, it doesn't works-- No suitable Driver . But if I use a classical connection like this: String url=jdbc:oracle:thin:@**.**.**.***:1521:db8ir3;

RE: A simple query

2002-02-22 Thread Jan Søgaard
Hi. If you mean, whether you are able to place the Servlet, (I don't know about jsp, but I guess it is the same) code outside the webapps directory, the answer is YES. In your server.xml file, you are able to specify the docbase of your code: E.g. Context path=/yourURL docBase=c:/Code/myapp

AW: TC4.0 to EJB / expand TC to EJB2.0 and MDB

2002-02-22 Thread Lauer, Oliver
Hi all, I solved it, not much pretty at all, but it works. I couldn't influence the InitialContext of TC until now (I would like to know how to do so :-)) so I prepared one on my own. With those options you can call an J2EE-RI-EJB within your Standalone-TC: java.util.Hashtable h

AW: J2EE 1.3 RI + Tomcat 4.0.1

2002-02-22 Thread Lauer, Oliver
Hi Craig, the J2EE RI does not support this (access to EJBs from remote JVMs). You'll need to use a different container. it does if you provide your own Context within TC. Oliver AXA eSolutions GmbH AXA Konzern AG Germany Oliver Lauer Web Architect Wörthstraße 34 D-50668 Köln

Re: A simple query

2002-02-22 Thread Joel Rees
Webapp, webapps, WEB-INF, WARs, it all gets _so_ confusing. (What has happened to my brain? 8-) - Original Message - Jan Søgaard corrected: Hi. If you mean, whether you are able to place the Servlet, (I don't know about jsp, but I guess it is the same) code outside the webapps

not suitable driver?

2002-02-22 Thread Isak Rickyanto
I have this problem and please help me... I have installed mm.mysql driver ( jar file ) in : C:\tomcat4\lib c:\tomcat4\webapps\Root\WEB-INF\lib\ c:\jdk1.3.1\lib\jre\ext c:\tomcat4\common\lib I have run this code , previous I have succeded run this program, but now it show error :

Re: not suitable driver?

2002-02-22 Thread Anja Falkner
Hi Isak, the DriverManager has a method called availableDriver or so. Use this to show, if your driver is registered. If yes, your driver could be registered, but can not do his work with the database. This is no problem of Tomcat. If no, the driver.jar was not found by tomcat. Then try

AW: Is it possible to bind to EJB-s in a J2EE-complient waywith Tomcat 4?

2002-02-22 Thread Lauer, Oliver
You can use J2SDKEE1.3 or 1.3.1 as remote EJB-Container with TC. Up to now I didn't manage to use the TC context, so I use my own. Oliver AXA eSolutions GmbH AXA Konzern AG Germany Oliver Lauer Web Architect Wörthstraße 34 D-50668 Köln Germany Tel.: +49 221 148 31277 Fax: +49 221 148

Please check if this documentation on Tomcat 4 helps (it looks good)

2002-02-22 Thread Paulo Gaspar
I received this one via the webmaster mail and it looks interesting. Paulo Gaspar -Original Message- From: Marty Hall [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002 3:08 PM To: [EMAIL PROTECTED] Subject: Tomcat 4 configuration and usage guide Hi. A lot of my

RE: not suitable driver?

2002-02-22 Thread Justin Rowles
getConnection(jdbc:mysql:3306://localhost/bukujsp?snip Surely you mean: getConnection(jdbc:mysql//localhost:3306/bukujsp?snip They may be identical. Anyone? J. -- You're only jealous cos the little penguins are talking to me.

RE: Configuring Tomcat/apache service with mod_jk

2002-02-22 Thread Donald Lee
Go here, http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3/bin/linux/i386/ and download the file mod_jk-3.3-ap13-eapi.so and use that module. it will get rid of the eapi warning. I don't know if it's preferable to change the name of this file to mod_jk.so, but I just entered the name

RES: change passwd for keystore

2002-02-22 Thread Angelica
I still having problem in change the passord of keystore Could anybody help me please? Thanks, Angelica -Mensagem original- De: Angelica Enviada em: quinta-feira, 21 de fevereiro de 2002 17:04 Para: 'Tomcat Users List' Assunto: RES: change passwd for keystore Thanks Nathan, but if I

Re: Configuring my own servlets on Tomcat4.0

2002-02-22 Thread Dmitry Nikelshpur
Don't know if your problem is same as what happened to me, but you may want to try this: Copy your application files into the examples directory. You may need to edit the web.xml file accordingly (maybe just for one servlet initially). See if the servlet is found...If this works then just

Re: classes visibility in the WEB-INF dir ---- SOLVED

2002-02-22 Thread Dmitry Nikelshpur
I had something 'similar' happen when I was installing Tomcat 4.0.2... I could not get servlets in webapps/myapp/web-inf/classes to be found. I kept changing paths, web/server.xml, etc., but nothing seemed to work. However, /examples and another WAR file were working fine. What I did was: 1) I

Re: Unable to use RequestDispatcher.forward() for HTML pages when in Tomcat 4

2002-02-22 Thread Dmitry Nikelshpur
Hi Sriram, Try changing the .html extension to .jsp extensionThis should work if your JSP pages work :-) Dmitry Sriram Narayanan wrote: Hello all, I am able to use the RequestDispatcher forward control from one JSP page to another. However I am unable to forward to HTML pages. From

Information required

2002-02-22 Thread shailesh
Hello, I am shailesh, trying to implement the tomcat redirector on IIS. I have followed all the steps mentioned in the tomcat-iis-howto.html document. On trying to execute the jsp pages from the IIS server, I am getting HTTP 500 Internal server error on the web page. On examining the IIS log

no re-load of indirect class

2002-02-22 Thread Joel Rees
Indirectly referred classes don't seem to get reloaded. Is this a known behavior? I have one class referencing another before going out to a jsp page, and I have to shut tomcat down and bring it back up after re-compiling the indirectly referred class, to get the changes to have any effect. Is

Information required

2002-02-22 Thread shailesh
Hello, I am shailesh, trying to implement the tomcat redirector on IIS. I have followed all the steps mentioned in the tomcat-iis-howto.html document. On trying to execute the jsp pages from the IIS server, I am getting HTTP 500 Internal server error on the web page. On examining the IIS log

Re: Configuring my own servlets on Tomcat4.0

2002-02-22 Thread Kurt Kurniawan
the same thing happened to me. I found out that you have to placed all your web applications in Root directory. And have to put the servlets in Root/web-inf/classes somehow. I can't just put my apps in webapps directory, even if i set the web.xml files. Can not find a way to get around this

Re: Java servlet and mailing

2002-02-22 Thread Kurt Kurniawan
one simple way to do this is using this package: sun.net.smtp.SmtpClient You just have to import, and it comes with the J2SE, so don't have to do anythin' But you need to have an SMTP server running. import sun.net.smtp.SmtpClient; and do : sun.net.smtp.SmtpClient sm = new

Re: HELP PLEASE!!!: JSP/Tomcat/MySQL

2002-02-22 Thread Kurt Kurniawan
Probably you can also try to put your MySQL driver in the main ../jdk1.3.1/lib/ext/ directory. That's works fine for me... without putting the driver in the ../web-inf/lib/ kurt * - NOTICE - The information

RE: Strange javabean problem

2002-02-22 Thread Michael J. McCormac
Hi Folks, I'm using Tomcat 4.01 with Jbuilder 6. I've got a strange problem. It seems that if I try to dump data from a Java bean using the jsp:getProperty tag I don't get the data. However, if I reference the value of the bean directly in a scriptlet it works fine. greetings all, i

RE: CA guidance

2002-02-22 Thread Anton Brazhnyk
Hi, -Original Message- From: Andrew [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002 5:22 PM To: Tomcat Users List Subject: CA guidance Hi, I'm using jdk1.4 final and I want to use SSL with Tomcat for CLIENT-CERT authentification. I've created self-signed

tomcat-4.0.2 System cannot find the file specified keystore

2002-02-22 Thread Chuck Amadi
Hi . i am currently running tomcat4.0.2 M$98 . I have created a certificate keystore by using the keytool and it resides at C:WINDOWS\Profile\chucka\.keystore. In tomcat4.0.2\conf\server i have the following - !-- Define an SSL HTTP/1.1 Connector on port 8443() -- Connector

AW: tomcat-4.0.2 System cannot find the file specified keystore

2002-02-22 Thread Ralphn
Hi Chuck It seems you have forgotten the \ between C: and Windows HTH Ralph -Ursprungliche Nachricht- Von: Chuck Amadi [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 22. Februar 2002 14:10 An: tomcat Betreff: tomcat-4.0.2 System cannot find the file specified keystore Hi . i am

Any success with Tomcat 4.0.2 and client certificates in MS IE ?

2002-02-22 Thread Wolfgang Stein
Did anybody ever succeed in using client certs using MS IE ? I tried with an openssl generated client cert, also tried with a Thawte Freemail client cert, all without success. MS Internet Explorer always comes up with an empty dialog box asking to select a client certificate. The client certs

I get an exception java.io.FileNotFoundException: Tomcat 4 ssl

2002-02-22 Thread Chuck Amadi
When Tomcat -4.0.2 starts up I get an exception java.io.FileNotFoundException: System cannot find file etc etc I have added a keystoreFile attribute keystoreFile=C:\WINDOWS\Profile\chucka\.keystore It still claims it can't find it - Thus basically how do i add it to the keystoreFile

Internal Server Error

2002-02-22 Thread Vinay Singh
Hello All, I am running an application on Tomcat 3.2.3 , Apache 1.3.20 on Solaris 8. I am running one tomcat instance with two workers (ajp12 and ajp13). Ajp 13 is the one which is serving the request. I randomly get Internal Server Error, while browsing through the site and then cannot see

AW: I get an exception java.io.FileNotFoundException: Tomcat 4 ssl

2002-02-22 Thread Ralph Einfeldt
Make shure that the user that runs tomcat has the proper permissions to read that file and the parent directories. -Ursprüngliche Nachricht- Von: Chuck Amadi [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 22. Februar 2002 14:38 An: tomcat Betreff: I get an exception

RE: I get an exception java.io.FileNotFoundException: Tomcat 4 ss l

2002-02-22 Thread Pal, Anshu
Look at the keystoreFile attribute. You have 2 quotes () there in the beginning.. If that is not a typo it may be the problem. Hope it helps Anshu Pal -Original Message- From: Chuck Amadi [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 8:38 AM To: tomcat Subject: I get an

Re: Configuring my own servlets on Tomcat4.0

2002-02-22 Thread H Socks
I've also just installed Tomcat 4. I had a bit of trouble at first, but got my servlets working in the examples directory. Then I moved them to my own application directory. Things to look for: 1. I put a package statement in each servlet. e.g. mywebapp. Make a subdirectory called mywebapp

exception java.io.FileNotFoundException: Tomcat-4.0.2 ssl solved the problem should of used forward slashes oops stupid

2002-02-22 Thread Chuck Amadi
When Tomcat -4.0.2 starts up I get an exception java.io.FileNotFoundException: System cannot find file etc etc I have added a keystoreFile attribute keystoreFile=C:\WINDOWS\Profile\chucka\.keystore It still claims it can't find it - Thus basically how do i add it to the keystoreFile

Running Tomcat 4.0.2 on a Sun 1.4.0 JVM?

2002-02-22 Thread Jarecsni Jnos
Hi, I'm a bit frustrated... I've just tried Catalina 4.0.2 (release) [embedded in JBoss 2.4.4] on J2SDK 1.4.0 (Win32) and it doesn't work. The JSP compiler complains in some cases about the 48.0 class file version: [ERROR,EmbeddedCatalinaServiceSX] ApplicationDispatcher[/istore]

Re: I get an exception java.io.FileNotFoundException: Tomcat 4 ssl

2002-02-22 Thread Wolfgang Stein
Seems you have to much double quotes in th entry keystoreFile=C:\WINDOWS\Profile\chucka\.keystore Gruß, Wolfgang -Ursprüngliche Nachricht- Von: Chuck Amadi [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 22. Februar 2002 14:38 An: tomcat Betreff: I get an exception

Starting JSP from HTML

2002-02-22 Thread John Kolvereid
Hi, I am trying to start a JSP from an HTML page w/ the script: http://bmms.ibmms.com:8080/1st.jsp; where bmms.ibmms.com is the internal address of the JSP location. This works ine internally, but when I bring up the HTML page on the internet, it can't locate the proper server.

RE: Starting JSP from HTML

2002-02-22 Thread Justin Rowles
I am trying to start a JSP from an HTML page w/ the script: http://bmms.ibmms.com:8080/1st.jsp; where bmms.ibmms.com is the internal address of the JSP location. This works ine internally, but when I bring up the HTML page on the internet, It's prolly cos the name

Re: Running Tomcat 4.0.2 on a Sun 1.4.0 JVM?

2002-02-22 Thread hanasaki
Can you run it standalone? Jarecsni Jnos wrote: Hi, I'm a bit frustrated... I've just tried Catalina 4.0.2 (release) [embedded in JBoss 2.4.4] on J2SDK 1.4.0 (Win32) and it doesn't work. The JSP compiler complains in some cases about the 48.0 class file version:

RE: Running Tomcat 4.0.2 on a Sun 1.4.0 JVM?

2002-02-22 Thread Randy Layman
This error message indicates that you are not running Catalina in JDK 1.4 because the JDK produces file in format 48, but the previous versions of the JDK/JRE are not able to read the file format (which is indicated by the version is to recent for this tool to understand).

RE: Running Tomcat 4.0.2 on a Sun 1.4.0 JVM?

2002-02-22 Thread Jarecsni Jnos
Yes. Do you think it's a simple classpath problem? Cheers, Jnos -- Jarecsni, Jnos MORGAN HILL CONSULTING, Internet Applications Unit mailto:[EMAIL PROTECTED] http://morganhillconsulting.hu/ :: Phone+Fax: + 36 1 484 0392 |-Original Message- |From: hanasaki [mailto:[EMAIL PROTECTED]]

Same host multiple ports don't work?

2002-02-22 Thread Anders Rundgren
Hi, In IIS I'm able to define virtual servers using the same host-name but different ports. These virtual servers have independent paths (applications) as you would expect. I can't see any similar functionality in Tomcat or am I just reading the config documents wrong??? regard, Anders R

RE: Running Tomcat 4.0.2 on a Sun 1.4.0 JVM?

2002-02-22 Thread Jarecsni Jnos
Hi, ok, now it's working well. I had to set JAVA_HOME in run_with_catalina.bat set JAVA_HOME=F:\J2SDK1.4.0 --- it was missing :) set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%JAVA_HOME%/lib/tools.jar Thanks! Jnos -- Jarecsni, Jnos MORGAN HILL CONSULTING, Internet Applications Unit mailto:[EMAIL

Re: web.xml in Tomcat 4.0 -- HELP

2002-02-22 Thread Steve Fyfe
The name of the WEB-INF folder must be all capital letters. If you truely did name it Web-Inf Tomcat should ignore the folder. Steve Fyfe CNI Corporation 394 Elm Street Milford NH 03055 [EMAIL PROTECTED] (603) 673-6600 x242 [EMAIL PROTECTED] Thursday, February 21, 2002 12:15:52 PM No body

strange AccessLogInterceptor problem on Unix

2002-02-22 Thread Alexandre Victoor
Hello ! I use tomcat 3.3 on win2k and freebsd. On win2k the apache style logs work fine but on freebsd I don't have any info ( IP or address ) on the remote host. It is like the method request.getRemoteHost() is not working... Anybody had this problem before ? Thanks Alex -- To

Re: Java servlet and mailing

2002-02-22 Thread Uma Maheswar
Hi, There is a ready made programme out there in www.globalleafs.com . You can download it from our site. Uma - Original Message - From: Simon [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, February 22, 2002 4:01 AM Subject: Java servlet and mailing Dear,

RE: Tomcat Servlet Setup (NEWBIE)

2002-02-22 Thread Anton Brazhnyk
Hi, Tomcat4 doesn't use CLASSPATH to find libraries. You have to put your classes12.jar either to $CATALINA_HOME/common/lib or to WEB-INF/lib of your web-application. And one more thing it MUST be jar, so you have to rename your classes12.zip to classes12.jar. Anton -Original

RE: Strange javabean problem

2002-02-22 Thread Rich Sneiderman
I can't believe we're the only people who have ever seen this problem. I'm still having the problem but I got to the same place differently. I load the data from a data base in a servlet. The servlet reads from the database it creates a javabean for each record and adds it to a ListArray. I

TC 3.2.x work with JDK1.4

2002-02-22 Thread Brian Radovich
Howdy Does anyone know if Tomcat 3.2.3 or 3.2.4 will work with j2se1.4? Thanks Brian -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

AW: JSP not returning full page problem

2002-02-22 Thread Ralph Einfeldt
Make shure that your page doesn't throw an exeption. If a page is very long and an exception happens, the error directive wiil not always work, because part of the page has already bean transmitted to the client. Best embed your scriptlet in a try/catch block and log the Exception/Throwable.

RE: Strange javabean problem

2002-02-22 Thread Randy Layman
You are not creating a bean named emp for the jsp:getProperty. You need to use jsp:useBean first (I believe) or use %=emp.getFirstName()%. Randy -Original Message- From: Rich Sneiderman [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 11:39 AM To: Tomcat

Re: JSP not returning full page problem

2002-02-22 Thread David Cassidy
Ian, On comment custom tags... Have a **big** read. they make jsp alot more readable. is this visible on the net ? - ie can I see it in action ? On which statement does the data finish ? could you attach the output ? Are there any exceptions generated in the tomcat logs ? you might find

catalina.policy

2002-02-22 Thread juraj Lenharcik
Hello, I run catalina (TC 4.0.2-b2) with the security manager. After starting I get a java.security.AccessControlException. I have extended the catalina.policy with: // These permissions are granted by default to all web applications // In addition, a web application will be given a read

TC4 and cgi

2002-02-22 Thread Jared Nedzel
Folks: I'm running Tomcat 4.0.2 on Solaris. I'm trying to configure Tomcat to support perl cgis, but I'm getting 404. I've done the following so far: I've copied $CATALINA_HOME/server/lib/servlets-ssi.renametojar to $CATALINE_HOME/server/lib/servlets-ssi.jar I've copied

AW: JSP not returning full page problem

2002-02-22 Thread Ralph Einfeldt
Not Faster but less redundancy: String mSelected for (int a=1;a32;a++) { if ( a==day ) mSelected = SELECTED; } else { mSelected = ; } % OPTION %= mSelected % VALUE=%= a %%= a %/OPTION % } % Or a bit shorter but harder to read: % for (int a=1;a32;a++)

RE: Strange javabean problem

2002-02-22 Thread Rich Sneiderman
Sorry about that. I should have included how I declared the bean. The jsp:useBean tag is the 2nd line in the page, right after the jsp:Page tag. The full tag reads: jsp:useBean id=emp class=test.EmployeeBean / I've traced through the servlet code and the bean's getters are being called even

Re: TC4 and cgi

2002-02-22 Thread Paul D. Bain
At Friday 2/22/02 11:58 AM, you wrote: Folks: I'm running Tomcat 4.0.2 on Solaris. I'm trying to configure Tomcat to support perl cgis, but I'm getting 404. I am not an expert on Tomcat 4, but am 90% sure that it cannot begin execution of any executable program/script other than a

Re: no re-load of indirect class

2002-02-22 Thread Craig R. McClanahan
On Fri, 22 Feb 2002, Joel Rees wrote: Date: Fri, 22 Feb 2002 21:41:24 +0900 From: Joel Rees [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: no re-load of indirect class Indirectly referred classes don't seem to get

oracle/TC4.0.2/linux

2002-02-22 Thread remy.menetrieux
Has anybody succeeded in making this specific configuration working ? Has anybody can access to a database with a Datasource?? Could you send me you're configuration please... -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the

RE: classes visibility in the WEB-INF dir ---- SOLVED

2002-02-22 Thread Sampige, Srinivas
Now more than one person has faced this problem. Please refer to my posting titled Configuring my own servlets on Tomcat4.0. Have the Tomcat developers addressed this issue in the documentation?(at least I couldn't find it...am I missing something?). This makes developement higly unproductive.

RE: oracle/TC4.0.2/linux

2002-02-22 Thread Randy Layman
The most common problem is not renaming classesXXX.zip to classesXXX.jar. (Tomcat doesn't automatically see ZIP files, but it does JAR). Randy -Original Message- From: remy.menetrieux [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 1:00 PM To: Tomcat

Re: catalina.policy

2002-02-22 Thread rsequeira
Try running tomcat with CATALINA_OPTS=-Djava.security.debug=access,failure It should help pinpoint which class is trying to access the D: \server\jakarta-tomcat-4.0.2-b2\webapps\auth\WEB-INF\log4j.lcf file Thanks. RS juraj Lenharcik [EMAIL PROTECTED] on 02/22/2002 10:57:35 AM Please

Clarification: Same host multiple ports don't work?

2002-02-22 Thread Anders Rundgren
http://myhost:8000/app http://myhost:9000/app Should be possible to configure independtly, I.e. app could be different for the two ports. But the Tomcat mapping schemes does not seem to include port and host. /anders - Original Message - From: Anders Rundgren [EMAIL PROTECTED] To:

RE: classes visibility in the WEB-INF dir ---- SOLVED

2002-02-22 Thread Craig R. McClanahan
On Fri, 22 Feb 2002, Sampige, Srinivas wrote: Date: Fri, 22 Feb 2002 10:04:10 -0800 From: Sampige, Srinivas [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: classes visibility in the WEB-INF dir SOLVED Now more

AW: catalina.policy

2002-02-22 Thread juraj Lenharcik
Hi, I have tried something like grant codebase file:${catalina.home}/webapps/auth/WEB-INF/lib/- { but it always comes this exception. The calling class is in the jar archive. $ log4j:WARN Caught Exception while in Loader.getResource. This may be innocuous .

RE: Tomcat Servlet Setup (NEWBIE)

2002-02-22 Thread Mark Johnson
Does that mean that if I want to use the Xalan jar files that I originally installed under /usr/java/xalan-j_2_3_1/bin/ that I need to copy the jar files and put them under /usr/local/tomcat-4.0.1/common/lib? Can I create a directory under the lib, for example

Re: AW: J2EE 1.3 RI + Tomcat 4.0.1

2002-02-22 Thread Craig R. McClanahan
On Fri, 22 Feb 2002, Lauer, Oliver wrote: Date: Fri, 22 Feb 2002 10:47:00 +0100 From: Lauer, Oliver [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: AW: J2EE 1.3 RI + Tomcat 4.0.1 Hi Craig, the J2EE RI does not support

Re: oracle/TC4.0.2/linux

2002-02-22 Thread remy.menetrieux
I have already rename classes12.zip in classes12.jar I obtain : No suitable driver this code works : String url=jdbc:oracle:thin:@62.52.53.213:1521:db8ir3; String password=jdev; String user=jdev; String driver = oracle.jdbc.driver.OracleDriver;

RE: oracle/TC4.0.2/linux

2002-02-22 Thread Randy Layman
Because the Contexts are managed by Tomcat you need to put the classes12.jar into the CATALINA_HOME/lib/common directory (Tomcat needs to see them, lib/container might also work). Randy -Original Message- From: remy.menetrieux [mailto:[EMAIL PROTECTED]] Sent: Friday,

RE: Strange javabean problem

2002-02-22 Thread Greg Trasuk
Hi folks: Rich, you've put your finger directly on the problem by looking at the generated code. Your scriptlet's way of getting the title is to pull it out of the local variable emp, whereas the getProperties version is using the JSP's pageContext methods, which end up pulling it out

Re: oracle/TC4.0.2/linux

2002-02-22 Thread remy.menetrieux
yes, but it's already done and it doesn't work .. have you an other idea ?? Remy Randy Layman wrote: Because the Contexts are managed by Tomcat you need to put the classes12.jar into the CATALINA_HOME/lib/common directory (Tomcat needs to see them, lib/container might also work).

JDBCRealm digest=MD5 returns NullPointerException

2002-02-22 Thread Knight, Digby
Hi everyone, I've had the JDBCRealm working with some Access tables (using ODBC-JDBC bridge) for some time, but today tried adding digest=MD5 or digest=SHA to the Realm element in server.xml, but I get a NullPointerException whenever I submit the login form now. I've searched this archive for

RE: Fumbling around Tomcat and Java and XML

2002-02-22 Thread Mark Johnson
If I already have the XML in a string how do I create an InputSource for the XMLReader to parse: String xmlResults = getResults(); if( xmlResults == null ) return; XMLReader reader = XMLReaderFactory.createXMLReader( org.apache.xerces.parsers.SAXParser );

RE: Fumbling around Tomcat and Java and XML

2002-02-22 Thread Jim Urban
How about: String xmlString = ... InputSource xmlSource = new InputSource(new StringReader(xmlString)); Jim -Original Message- From: Mark Johnson [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 1:44 PM To: 'Tomcat Users List' Subject: RE: Fumbling around Tomcat and Java

Re: TC4 and cgi

2002-02-22 Thread Jared Nedzel
Paul: That doesn't appear to me to be the case, given that TC 4 has a bunch of stuff in web.xml concerning CGIs. For example there are entries in web.xml like: !-- IMPORTANT: To use the CGI servlet, you also need to rename the !--$CATALINA_HOME/server/lib/servlets-ssi.renametojar

war files

2002-02-22 Thread chad kellerman
Good Day, I have virtual hosts configured for tomcat I ran into a problem testing out a war file. Does anyone have any idea why a war file would unpack with the ownership of root when called from the web??? I am on a redhat 6.2 box with tomcat 4 and webapp. Thanks, Chad -- To unsubscribe:

RE: war files

2002-02-22 Thread Randy Layman
Is tomcat running at root? (Hint, if your files are being unpacked as part of Tomcat's execution, then they are owned by the user running Tomcat.) Randy -Original Message- From: chad kellerman [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 3:23 PM To:

Tomcat x Apache = Forbiden 403

2002-02-22 Thread Cleber Hostalácio de Melo
Hi, I have conectiva linux 7.0 (kernel 2.4.5), apache 1.3.19 and Tomacat 4.0.1 Tomcat are working well with the url: http://Myserv:tomcat_port/examples/jsp/index.html But when I try to access this application from Apache with the URL: http://Myserv/examples/jsp/index.html I receive the

Tomcat failure to start

2002-02-22 Thread Dieter Lunn
Hi, Tomcat doesn't want to start on my RedHat 7.1 system. I get this error in my log: usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -debug ] [ -nonaming ] { start | stop } and catalina.sh is loading org.apache.catalina.startup.Bootstrap Can someone help please?

Re: war files

2002-02-22 Thread chad kellerman
I thought if I was using the webapp module for virtual hosts it would execute as the user that the of the Virtual Host section where the webApp directive is??? For example: VirtualHost jakarta.domain.net User jak Group jakartagrp ServerName jakarta.domain.net ServerAdmin [EMAIL PROTECTED]

Tool for validating web.xml ?

2002-02-22 Thread Renato
Hi all, I have a bunch of users using Tomcat 3.3 and Catalina. I found that the biggest problem I have is that usually they mess up with their web.xml so their context stops working. Is there a tool to validate web.xml outside Tomcat ( so I can do some offline validation... that would be very

Tomcat 4.0.2, IIS 5.0 and JBoss

2002-02-22 Thread Rodney Loos
I'm trying to use IIS as the front-end to a Tomcat/Jboss installation under Windows 2000. I'm using the latest isapi_redirector.dll, and the bundled download of Tomcat with JBoss. I have Tomcat/Jboss installed as: jboss/ catalina/ -- all tomcat 4 stuff jboss/ -- all jboss stuff If I

Re: Tool for validating web.xml ?

2002-02-22 Thread Mark
I've used CookTop which is free. It seems to work quite well and has lots of features. http://www.xmlcooktop.com/ At 06:18 PM 2/22/2002, you wrote: Hi all, I have a bunch of users using Tomcat 3.3 and Catalina. I found that the biggest problem I have is that usually they mess up with their

Re: Tool for validating web.xml ?

2002-02-22 Thread Renato
Thank you ! Can I it use on a comand-line style without a GUI ? On Fri, 22 Feb 2002 16:36:02 -0500, Mark [EMAIL PROTECTED] escreveu : I've used CookTop which is free. It seems to work quite well and has lots of features. http://www.xmlcooktop.com/ At 06:18 PM 2/22/2002, you wrote:

servlet-mapping problem

2002-02-22 Thread Takeshi L Toyohara
howdy, i am trying to just play around with tomcat and try to get some servlets running. I am having a problem getting the servlet-mapping to work in my web.xml and am wondering if i can get you guys to help out. here's my web.xml. the servlet-mapping tag works only the way it is now (im

RE: classes visibility in the WEB-INF dir ---- SOLVED

2002-02-22 Thread Sampige, Srinivas
Hi Craig Craig,my apologies for not being clear . First of all, yes I agree, as you say - 99.9% of them being user error or misunderstanding. The issue that I was talking about was migrating to 4.0 from 3.2 as was mentioned in my email. I spent some time trouble shooting,digging around in the

Directory browsing

2002-02-22 Thread Erwin Ambrosch
Hi, can one say me how I can switch of directory browsing for TC 3.3a. If I send a request http://host/context I get the directory structure of the context (docBase) as the response. Thanks in advance Erwin -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL

Re: Directory browsing

2002-02-22 Thread rsequeira
The easiest would be to add an index.html. And add the index.html to the welcome-file in the web.xml for that webapp. (I don't know if you could do the below in Tomcat 3.3a. I know you can do this in Tomcat 4.0.x) Turn off directory browsing by adding this for the default servlet (see web.xml

Tomcat 4.0.2 - MySQL Connection Pooling

2002-02-22 Thread Ross Fujii
Hello, I'm trying to setup JNDI connection pooling in Tomcat 4.0.2 to a MySQL (v3.23.49) database. I'm also running an Apache 1.3.20 AJP13 connector (using mod_jk) if that makes a difference all on a RedHat Linux 7.2 server. The following is a snippet of the JNDI resource creation in

Bug in the Bug Database?

2002-02-22 Thread Jonathan Eric Miller
There seems to be a bug in the Bug Database as it appears to be down right now. http://nagoya.apache.org/bugzilla/ Jon -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Re: Re: Using JNDIRealm with password digesting and Netscape Directory Structure

2002-02-22 Thread Jonathan Eric Miller
The last I heard, it was on the to do list. The current setup is pretty much unusable. i.e. no TLS/SSL and you have to either store a clear-text password in the directory or as a hex string which a directory wouldn't normally do. i.e. normally, it would store it as a base64 encoded string as you

[Mac OS X] /examples not working

2002-02-22 Thread Ken Martin
I have gone through the list archives and can't find a solution (though this could certainly be my fault)... I have installed Tomcat 4.0.1 but I can't get the /examples to work. I did try decompressing the .tar using Stuffit, tar in Terminal, and I tried the .zip. I tried to follow the

Re: [Mac OS X] /examples not working

2002-02-22 Thread Ken Martin
On Friday, February 22, 2002, at 05:12 PM, Ken Martin wrote: I have gone through the list archives and can't find a solution (though this could certainly be my fault)... I have installed Tomcat 4.0.1 but I can't get the /examples to work. I did try decompressing the .tar using Stuffit,

Need help with SSL Client Authorization

2002-02-22 Thread Michael Migdol
Hi all, I know this is at least the third request I have seen regarding this topic. Maybe we need more information in the Tomcat documentation? I've been trying for a day now to get this to work without success. Hopefully someone here can help. I'm running Tomcat 4.0.2 in standalone mode. I

mod_jk and URI's

2002-02-22 Thread Phil Shrimpton
Hi, I have had a web app working fine with standalone Tomcat, but now I have added Apache and mod_jk into the mix, it can fine all the graphics files. My directory structure is basically /Index.jsp /images/image1.gif /images/image2.gif If I copy the /images/ directory to the Apache document

Log analysis tool for Tomcat?

2002-02-22 Thread Dr. Evil
Can someone recomend a tool that can analyze Tomcat's access log? I want to do the basic things like reverse-lookup all the IPs in the log, see which domains are hitting me, and which pages they visit. More advanced things like graphs of usage or storing the logs in a db would be fine, too, but

Bad Packet error

2002-02-22 Thread Trehlen
I'm using: Tomcat 4.0.2 IIS jdk1.3.1_02 servlet 2.3 I've been trying to get my servlet to run for a few days now. I've commented everything out of my code so that basically I'm just opening a URLConnection to the servlet from my applet and returning an Object that is just a string (Hello).

  1   2   >