Re[2]: Deployment problems in tomcat 4.1.27 : jdbc and properties files

2003-09-08 Thread Anton Tagunov
Hello Shailesh! SM properties files(configuration files) for my web-app are not getting SM picked up. I have tried following ways one by one: SM 1. kept them in \WEB-INF\classes folder the right move SM 2. kept them in \WEB-INF\lib won't work, it's for jars only SM 3. made the jar out of them and

Re: How to use classes from another webapp/context?

2003-09-08 Thread Ulrich Mayring
Christopher Williams wrote: Easiest method: Put JSPs in WAR and stick in webapps Put classes in JAR and stick in common\lib I'd rather use a more complicated method, if that would allow me to put my classes in WARs as well :) Ulrich

Where does tomcat-jk2.jar come from?

2003-09-08 Thread Jon Skeet
I'm still on the trail of bug 17193, and I'd quite like to see if I can fix it myself. Unfortunately, I've run into a problem at the very first hurdle - finding the source! Catalina has tomcat-jk2.jar in the server/lib directory, but where does this come from in the first place? The source

Re: How to use classes from another webapp/context?

2003-09-08 Thread Christopher Williams
Let's say you have a web app and it's stored in my_app1.war. Then you have a second web app stored in my_app2.war and you want to use some really neat classes defined in my_app1.war. So you add my_app1.war to your second application's classpath and stick import com.me.my_stuff.really_neat_class

Puzzling SAXParseException error

2003-09-08 Thread achana
Hiya all. I'am on Apache2/TC404, I was trying to make the Manager Application work on 404. I modified the context path in defaultHost=localhost and a couple of vosts to include path=/manager and docbase=manager. Then I found out I am missing altogether /path/to/webaps/manager/WEB-INF/

RE: PROBLEMS: memory / cpu usage - Tomcat 3.2.1 - SOLVED!

2003-09-08 Thread Walker Chris
Now that's interesting. I've been following this thread because I've just installed a new application on a Sun Cobalt (Apache/mod_webapp/Tomcat) server. It's the only application on the server, and nobody's using it yet, but the server monitor keeps mailing me about high memory usage. But part

Mod jk2 binaries

2003-09-08 Thread Andy Eastham
Hi, Please could anyone tell me why there are no linux binaries for mod jk2 version 2.0.2 under http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0. 2/ I've got to move something from Solaris to Linux and would be interested to hear if there's a good reason for this

Re: How to use classes from another webapp/context?

2003-09-08 Thread Ulrich Mayring
Christopher Williams wrote: Unfortunately, you do need to move classes common to multiple web apps into library files. You don't have to put the library files into common\lib, however. You can put the JARs in WEB-INF/lib inside your WAR file. Never done it myself, but it's supposed to work.

Re: Re[2] :Deployment problems in tomcat 4.1.27 : jdbc and properties files

2003-09-08 Thread Shailesh Modi
Atlast it worked by changing code to use Thread.getContextClassLoader().getResourceAsStream(framework.properties); to load my files. Anton, Thanks a lot :) regards Shailesh -Original Message- From: Anton Tagunov [mailto:[EMAIL PROTECTED] Sent: Monday, September 08, 2003 11:28 AM To:

Urgent !!! Problem to get TOMCAT/4.1.24 cluster running with sticky session support.

2003-09-08 Thread Yefym . Dmukh
Hello , I still have no idea what could I do to get apache-tomcat cluster up'n'running. Current problem is that browser session got right workerid added JSESSIONID=19E9FD015AF34C5181322F3FEF37B0D6.tomcat-worker-01, but sends request for processing to all tomcat nodes using round-robin. So

Parse error in application web.xml (addChild: Child name 'jsp' is not unique)

2003-09-08 Thread Shailesh Modi
Hi, Has somebody got this error ? I am getting this while starting my tomcat 4.1.27 to deploy my web-app and when it reads my web-app's web.xml . Error : 2003-09-08 15:00:54 ContextConfig[/remind/cafe] Parse error in application web.xml java.lang.IllegalArgumentException: addChild: Child

Re: Puzzling SAXParseException error

2003-09-08 Thread Tim Funk
Make sure your web.xml file(s) (and maybe server.xml) are all valid XML documents. An easy way to do that is to open them in IE or mozilla. For web.xml - also make sure it is valid against its dtd. -Tim [EMAIL PROTECTED] wrote: Hiya all. I'am on Apache2/TC404, I was trying to make the

Re: Bit confused: Admin Tool vs Manager Application

2003-09-08 Thread Tim Funk
AFAICT, you'll need to update if you want that functionality. -Tim [EMAIL PROTECTED] wrote: Hi. Is it a simple mater of downloading some java code from jakarta.apache.org and putting it in the proper folder ? Does it require an upgrade from 404 to get the full functionalities? TIA :-) Bill

Re: dbtags and tomcat 4.1

2003-09-08 Thread Mickael Cappozzo
Hello, Thank you for your replies. I will have a look to Struts later, I think it is too late for this project. Furthermore, I got a solution to my problem, and the solution was to set the parameter enablePooling to false in my config file. But I still have a problem: we followed the steps in

Good sites that show you EJB stuff

2003-09-08 Thread Anson Zeall
Hi, I want to know if anyone, could show me, or recommend me any sites that show you how to use JavaBeans and what the Beans are for? Regards, Anson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Your help is still needed ... (RE: Sessions in Tomcat)

2003-09-08 Thread steph . kimbrough
Alright, let's take the number guess example ... every time I push the 'guess' button and the page reloads, there is a new number to be guessed (I checked it through an output) ... and when I take a look at the Web App Tool, I see that there are as many sessions (for this app) running as I

RE: How to turn on the 'development' mode?

2003-09-08 Thread Shapira, Yoav
Howdy, Tomcat does that by default for JSPs and does it for servlets if you have reloadable=true in your context definition. Yoav Shapira Millennium ChemInformatics -Original Message- From: Marco Tedone [mailto:[EMAIL PROTECTED] Sent: Sunday, September 07, 2003 6:36 AM To: Tomcat Users

RE: JNDI DataSource - need to synchronize?

2003-09-08 Thread Shapira, Yoav
Howdy, You don't need to synchronize pool access for DBCP at the calling application level (which is your level). You also don't need to keep a reference to the initial or lookup context, just the datasource. Make sure to clean and null out the datasource reference in your servlet's destroy()

RE: Character Encoding problem (umlauts, etc).

2003-09-08 Thread Robert Priest
Thanks for the information Anton. But just getting rid of umlauts or other international characters is not an option when you have clients that use your software in other countries, that have those special characters. We cannot rename user files or changed that data. That would be very, very, bad

RE: Parse error in application web.xml (addChild: Child name 'jsp' is not unique)

2003-09-08 Thread Shapira, Yoav
Howdy, Did you comment out the jsp servlet definition in $CATALINA_HOME/conf/web.xml? You can only have one servlet with that name jsp. The above is the global web.xml which is read in addition to your application's web.xml. Most people simply leave the JSP servlet definition in the global

RE: Debugging mode?

2003-09-08 Thread Shapira, Yoav
Howdy, And I would add one more thing to Senors Funk and Barker's comments: if you're having problems where you think the contents of the request might have to do with it, enable the RequestDumperValve which is commented out by default in server.xml. Yoav Shapira Millennium ChemInformatics

RE: Your help is still needed ... (RE: Sessions in Tomcat)

2003-09-08 Thread Shapira, Yoav
Howdy, Now, please give me a hint ... what am I doing wrong in case of my Tomcat configuration? (It does not seem to be the app, which is running just fine when started inside of the IDE and its implemented Tomcat engine.) When people say it runs fine within an IDE and not by itself, the

Re: Character Encoding problem (umlauts, etc).

2003-09-08 Thread Thomas Kellerer
Robert Priest schrieb: I have a servlet that catches a request for a file. How is the request sent? If sent via an HTML form, you need to include the accept-charset=UTF-8 attribute into your form tag Thomas - To

RE: Character Encoding problem (umlauts, etc).

2003-09-08 Thread Bodycombe, Andrew
This problem can usually be fixed by changing the file.encoding system property. Set CATALINA_OPTS to -Dfile.encoding=utf-8 (or iso-8859-1 or whatever character set you like) and restart tomcat Hope this helps Andy -Original Message- From: Robert Priest [mailto:[EMAIL PROTECTED]

Re: Parse error in application web.xml (addChild: Child name 'jsp' is not unique)

2003-09-08 Thread Tim Funk
I always thought (or at least the docs have said) that one can override the default servlet. The same should be true with the jsp servlet too. -Tim Shapira, Yoav wrote: Howdy, Did you comment out the jsp servlet definition in $CATALINA_HOME/conf/web.xml? You can only have one servlet with

RE: Servlet front page without redirect - Tomcat 4.1 with mod_rewrite and mod_jk2

2003-09-08 Thread Mike Curwen
Just to expound on this point: -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: Saturday, September 06, 2003 10:43 PM To: [EMAIL PROTECTED] Subject: Re: Servlet front page without redirect - Tomcat 4.1 with mod_rewrite and mod_jk2 This can

Re: Session Timeouts and SSO

2003-09-08 Thread G. Wade Johnson
Thanks, Tim. I kind of remember reading that now. I need to look at my application more carefully, to determine what is timing out. G. Wade Tim Funk wrote: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html#Single%20Sign%20On As soon as the user logs out of one web

RE: Parse error in application web.xml (addChild: Child name 'jsp' is not unique)

2003-09-08 Thread Shailesh Modi
It worked when i removed the jsp servlet definition from my web-app web.xml but when i tried commenting jsp servlet definition in $CATALINA_HOME/conf/web.xml and kept that in my web.xml only. It gave me errors as 2003-09-08 19:06:30 ContextConfig[/remind/cafe] Parse error in default

RE: Deployment problems in tomcat 4.1.27 : jdbc and properties files

2003-09-08 Thread Mike Curwen
try /properties/framework.properties ? -Original Message- From: Shailesh Modi [mailto:[EMAIL PROTECTED] Sent: Monday, September 08, 2003 12:11 AM To: 'Tomcat Users List' Subject: RE: Deployment problems in tomcat 4.1.27 : jdbc and properties files Hi James, It is

RE: Connection reset by peer: socket write error in tomcat log

2003-09-08 Thread Mike Curwen
I think a lot of people have lots of these entries. :) Here's my idea: What it means is that the client (your browser) has closed the tcp/ip connection between itself and Tomcat, before Tomcat thinks it is done sending data. Since the images and pages seem to be 100% complete (because you don't

RE: Parse error in application web.xml (addChild: Child name 'jsp' is not unique)

2003-09-08 Thread Shapira, Yoav
Howdy, You can override it with whatever you want, just don't use the same servlet-name ;) Servlet names must be unique across both your and the global web.xml. Yoav Shapira Millennium ChemInformatics -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Monday, September

Apache 1.3 and tomcat

2003-09-08 Thread jakarta
I know this info is somewhere out there, but I have failed to find it. I am trying to map subdomains to webapps via apache 1.3 and the jk connector. Can someone help me with this, I know tomcat fairly well but have never used apache before (or the connector). ie sd1.mydomain.com maps to sd1

problem modifying classpath using external classes in Tomcat 4.0

2003-09-08 Thread Pradeep Gummi
Hi All, I am trying to use external classes used for my web app by adding a jar of the class folder to the class path. I have realized that by doing this, only the classes existing in the folder are being accessed and not the classes that are in its sub folders. Say for example, saclasses |

mod_jk.conf-auto

2003-09-08 Thread Armenio Pinto
Hi there, Is there any way to control the automatic generated mod_jk configuration script? The problem is that I need some specific commands (like JkMount /*.do apj12), and when Tomcat restarts these commands are removed... Thanks in advance, Arménio Pinto

Re[2]: Character Encoding problem (umlauts, etc).

2003-09-08 Thread Anton Tagunov
Hello Robert! RP Thanks for the information Anton. But just getting rid of umlauts or other RP international characters is not an option when you have clients that use RP your software in other countries, that have those special characters. We RP cannot rename user files or changed that data.

RE: SSL/Verisign Confusion

2003-09-08 Thread Dave Wood
I believe a Verisign certificate alone is $600 for a year. You can get certificates much cheaper, but there are issues with some older broswers not recognizing the CA (so your users would get a message stating that the certificate may not be legit). openssl is not an alternative to VeriSign.

Re: mod_jk.conf-auto

2003-09-08 Thread Anton Tagunov
Hello Armenio! AP Is there any way to control the automatic generated mod_jk AP configuration script? The problem is that I need some specific commands AP (like JkMount /*.do apj12), and when Tomcat restarts these commands are AP removed... Thanks in advance, submitting this as a patch to

JDBCRealm and dynamic resources/roles

2003-09-08 Thread Eelco
Hello. I am working on a web application that creates directories with resources (mainly Gifs) in it. When creating new directories, i.e. res1 and res2, I need new userroles as well, i.e. res1_viewer and res2_viewer. Now if somebody logs in as a res1_viewer, how can I make sure that he or she

Re [ 4 ] : Charset encoding issue

2003-09-08 Thread Daniel H A Lima
Anton Tagunov wrote: Hello, Lima! Hi, Anton. lccb I've found a message (at lccb http://w6.metronet.com/~wjm/tomcat/2001/Mar/msg00547.html) : lccb Tomcat follows the HTML standard, Hmm.., to me it looks like a browser issue, not Tomcat. Hence its a bit OT here, but still we have started the

Tomcat IBM JVM 1.4 and SSL truststores

2003-09-08 Thread McClure, Timothy J(IndSys, GE Interlogix)
I am trying to use client SSL sockets connections running underneath Tomcat on AIX with IBM JVM 1.4. I set the 'algorithm' key word in the server.xml file and this seems to work well for key store (server socket) connections. However I cannot get the trust store side to work appropriately, I

Java Virtual Machines on Linux

2003-09-08 Thread Ryan Lissack
Hi, I am interested to hear if others have used anything other than the Sun VM for a production Tomcat system, running on Linux, and what their experiences were. From what I can see, there are four main options at the moment: Sun JRE 1.4.2 Blackdown JRE 1.4.1 IBM JRE 1.4.1 BEA JRockit 8.1 (J2SE

Re: Java Virtual Machines on Linux

2003-09-08 Thread jmoliere
Hi, I am interested to hear if others have used anything other than the Sun VM for a production Tomcat system, running on Linux, and what their experiences were. From what I can see, there are four main options at the moment: Sun JRE 1.4.2 Blackdown JRE 1.4.1 IBM JRE 1.4.1 BEA JRockit

Re: Re [ 4 ] : Charset encoding issue

2003-09-08 Thread Anton Tagunov
Hello Daniel! Great to know you name at last, have not seen it in your other posts! :-)) Sorry to have been addressig you by your surname! DHAL How can i spy the traffic between Tomcat and the browsers ? Just the question I've been waiting for =) There's view on it in my

login failed attempt

2003-09-08 Thread Maxime Colas des Francs
Hi, In my web application i use a FORM-based authentification. After an athentification failure, request is forward to the jsp file form-error-page defines in my web.xml. Is it possible to get the user ID of the failed attempt ? get back j_security_check params ? Thks

form-auth

2003-09-08 Thread Maxime Colas des Francs
Hi, In my web application i use a FORM-based authentification. After an athentification failure, request is forward to the jsp file form-error-page defines in my web.xml. Is it possible to get the user ID of the failed attempt ? get back j_security_check params ? Thks

error building tomcat 4.1.27 from source on solaris

2003-09-08 Thread Ziying Sherwin
We tried to install tomcat 4.1.27 on our Solaris 2.8 platform using j2sdk 1.4.0. Unfortunately, the installation does not go very smoothly. After installed lots of required packages like jmx, jaxp, we finally started tomcat build. The compilation failed with the following error messages:

RE: Installing Tomcat 4.1.24 as a service on Win 2000 - won't start

2003-09-08 Thread Goehring, Chuck Mr., RCI - San Diego
To the next guy, Found the problem here. JAVA_HOME should be d:\j2sdk1.4.2_01 instead of what it is below. Chuck -Original Message- From: Goehring, Chuck Mr., RCI - San Diego Sent: Friday, September 05, 2003 3:17 PM To: [EMAIL PROTECTED] Subject: Installing Tomcat 4.1.24 as a service

RE: error building tomcat 4.1.27 from source on solaris

2003-09-08 Thread Shapira, Yoav
Howdym You don't have servlet.jar on your classpath. Why not just download the tomcat binary? You don't need to build it yourself, we've already done that for you ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Ziying Sherwin [mailto:[EMAIL PROTECTED] Sent:

Tomcat and Active Directory

2003-09-08 Thread Srofe, Douglas (c)
I am trying to use the JNDI realm to access our Active Directory. The server.xml entry I have is: Realm className=org.apache.catalina.realm.JNDIRealm debug=99 connectionURL=ldap://ou=migrated users,ou=nmr,dc=enterprisenet,dc=org userBase=cn=Users,dc=enterprisenet,dc=org

Re: Tomcat and Active Directory

2003-09-08 Thread Christopher Williams
Is Active Directory running on your localhost? Presumably not, so you need to have ldap://host_name:port_no/ou=...;. - Original Message - From: Srofe, Douglas (c) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 08, 2003 7:38 PM Subject: Tomcat and Active Directory I

Re: Tomcat and Active Directory

2003-09-08 Thread Yann Cébron
I am trying to use the JNDI realm to access our Active Directory. The server.xml entry I have is: Realm className=org.apache.catalina.realm.JNDIRealm debug=99 connectionURL=ldap://ou=migrated users,ou=nmr,dc=enterprisenet,dc=org userBase=cn=Users,dc=enterprisenet,dc=org

RE: Installing Tomcat 4.1.24 as a service on Win 2000 - won't start

2003-09-08 Thread Goehring, Chuck Mr., RCI - San Diego
Tomcatters, I spoke too soon on this. Now (after rebooting) the Event Viewer shows an entry that the service started but I'm getting the following in stdout.log: Bootstrap: Create Catalina server org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException at

RE: login failed attempt

2003-09-08 Thread Matt Raible
The easiest way is to set a cookie when the user clicks submit and then grab it again. You can checkout my security-example sample app that shows how to use form-based authentication with MySQL: http://tinyurl.com/fuvq It includes a demo of how to store the username as a cookie and also a

Re: How to use classes from another webapp/context?

2003-09-08 Thread Marco Tedone
Well, usually a WAR is a composite collection of JSPs, classes, deployment descriptor, third-party jars and so on. If you have people who write classes, they can create a jar, not a war, and people who create JSP can just place them in the correct location. A good build project could then merge

Tomcat exception report I don't understand

2003-09-08 Thread Stephen Charles Huey
We have a web app on a server that a contractor developed remotely using JBuilder 7 Enterprise, and I'm a new guy in the office who's trying to modify some of our site code on a dev laptop using JBuilder 9 Personal and Tomcat 4, version 1.1 (the same as what's on the server). I took great pains

Load Balancing and Sticky Sessions with mod_jk2

2003-09-08 Thread David O'Brien
I've been playing with this all day. One Apache 2.0.47 machine with jk2 wanting desperately to talk to two tomcat servers. I started this days adventure with mod_jk only to read that sticky sessions wouldn't work with a non --enable-mpm=worker compiled version of apache. (is this true??) I

Re: 404 leaks (was: PROBLEMS: memory / cpu usage - Tomcat 3.2.1)

2003-09-08 Thread Sai Sivanesan
I don't think this is a known issue - i havn't found any refernce to it any hwere this was on tomcat version 3.2.1 mod_jk version is unknow as i stupidly pulled it the other day. Sai. On Sun, 7 Sep 2003 12:50:18 +0400, Anton Tagunov wrote Hello, All! SS once the 404 is logged, the

Re: apache httpd hung in W Sending Reply

2003-09-08 Thread Nicholas Ide
Is there no wisdom out there on this topic? I'm really stumped and would appreciate some insight. -Nick I have tomcat 4.1.27 front ended by apache 2.0.47 and mod_jk connector. Occasionally I run out of apache slots because all the slots are apparently hung while Sending Reply. (W status

RE: PROBLEMS: memory / cpu usage - Tomcat 3.2.1 - SOLVED!

2003-09-08 Thread Sai Sivanesan
I have setup a test box on our internal network with jmeter to generate some load - will monitor it over the next few days and post my results. Stay Tuned. Sai. On Mon, 8 Sep 2003 09:23:30 +0100 , Walker Chris wrote Now that's interesting. I've been following this thread because I've just

Re: 404 leaks (was: PROBLEMS: memory / cpu usage - Tomcat 3.2.1)

2003-09-08 Thread Sai Sivanesan
Anton I found the versions in another thread i had posted RedHat 7.2 Apache 1.3.20 Tomcat 3.2.1 mod_jk.so mod_jk.so-ap1.3.27-eapi-rh72 Sai. On Mon, 8 Sep 2003 16:24:46 -0400, Sai Sivanesan wrote I don't think this is a known issue - i havn't found any refernce to it any hwere this

Tomcat exception report I don't understand

2003-09-08 Thread Stephen Charles Huey
We have a web app on a server that a contractor developed remotely using JBuilder 7 Enterprise, and I'm a new guy in the office who's trying to modify some of our site code on a dev laptop using JBuilder 9 Personal and Tomcat 4, version 1.1 (the same as what's on the server). I took great pains

HeadlessException: The chickens come home to roost!

2003-09-08 Thread Simon Brooke
-BEGIN PGP SIGNED MESSAGE- Long, long ago I spent a lot of time writing a Servlet which allowed drill-through graphs and charts to be built on the fly, server side. I was very proud of it, but getting it working on an X11 platform was such a bloody swine that I actually documented how

jdbc servlets and jsp

2003-09-08 Thread Francisco Vides Fernandez
Is the postgres jar locate somewhere the app have access to? Good places are: commons/lib in $CATALINA_BASE or WEB-INF/lib in the application directory. Saludos Luke == Luke Vanderfluit [EMAIL PROTECTED] writes: Luke Hi, I'm having a few probs (fun) getting jdbc to work in Luke servlets and

Re[3]: Charset encoding issue

2003-09-08 Thread Francisco Vides Fernandez
I had a similar problem with RH9.0. Form data enconded with application/x-www-form-urlencoded worked just fine with iso8859-1 special characters, but multipart/form-data made strange things appear. If I declared the page encoding to be UTF-8, the data was correctly sent, but the browser was

RE: HeadlessException: The chickens come home to roost!

2003-09-08 Thread Chad Johnson
What version of the jvm are you using. Headless is a 1.4+ feature. Chad Johnson Web Services Developer WS Packaging Group, Inc. Tel:(920)487-6271 -Original Message- From: Simon Brooke [mailto:[EMAIL PROTECTED] Sent: Monday, September 08, 2003 2:48 PM To: Tomcat Users List Subject:

RE: HeadlessException: The chickens come home to roost!

2003-09-08 Thread George Sexton
I use -Djava.awt.headless=true to create graphs on the fly and never get this exception. -Original Message- From: Simon Brooke [mailto:[EMAIL PROTECTED] Sent: Monday, September 08, 2003 1:48 PM To: Tomcat Users List Subject: HeadlessException: The chickens come home to roost!

Tomcat 5.0.9 appBase and docBase questions...

2003-09-08 Thread Richard Norman
I have a question and I have looked all through the documentation and have not found the solution. Firstly I wanted to know if there is a source to go to about using Tomcat 5.0.9 with IIS on Windows. Particularly the JK2 connector and ISAPI connector? If not, then is there some sore of

where is JkWorkerFile

2003-09-08 Thread Eugene Lee
Trying to get mod_jk2 working, and Apache 2 complains in its error logs: No worker file and no worker options in httpd.conf use JkWorkerFile to set workers Now I do have a JkWorkersFile directive, but it's in an external file that is Include'd inside a VirtualHost block.

EJB in tomcat

2003-09-08 Thread zeallousbigpond.net.au
hi, I would like to ask, can Tomcat work with Enterprise Javabeans? 'cause I read from the Java site...it says that we need a BEA server? Is it necessary? Or tomcat it self already has those libraries. Anson - To

questions related to context root configuration on tomcat 4.1.27 ...

2003-09-08 Thread Kenneth Tang
Hi, I have questions related to context root configuration on tomcat 4.1.27. For our company's web application, we put our application specific files under WEB-INF. During startup, our application checks if those files are there and startup our application based on

Re: EJB in tomcat

2003-09-08 Thread Filip Hanik
there are plenty of open source EJB containers, Tomcat is not one of them. www.jboss.org has been a popular choice Filip - Original Message - From: zeallousbigpond.net.au [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 08, 2003 5:17 PM Subject: EJB in tomcat hi,

questions related to context root configuration on tomcat 4.1.27 ...

2003-09-08 Thread Kenneth Tang
Hi, I have questions related to context root configuration on tomcat 4.1.27. For our company's web application, we put our application specific files under WEB-INF. During startup, our application checks if those files are there and startup our application based on

RE: Tomcat IBM JVM 1.4 and SSL truststores

2003-09-08 Thread Jerry Birchler
I tried both the IBM and Sun packages. Unfortunately, neither handled expired or untrusted certificates. In my case, I did not care one way or the other whether or not the certificate was trusted or not. By virtue of parsing or spidering a site, I was making a choice. Perhaps you have the same

Re: EJB in tomcat

2003-09-08 Thread Marco Tedone
Well, Tomcat needs to 'colloquiate' with an application server (where EJBs are deployed). The answer is yes, it's possible; all your application needs to do is to establish a context with an application server and then it can use the component deployed on application server generally using a

Downloading previous versions of Tomcat

2003-09-08 Thread Steve Vanspall
Hi everyone Having had numerous hanging problems with Tomcat 2.1.24, and no confirmatio that any bugs that cause haging are solved in 4.1.27 we are trying to find a copy of 4.1.18 for Linux to set up and text here, as our production site hangs every couple of days. Having gone through all our

RE: jdbc servlets and jsp

2003-09-08 Thread Madere, Colin
What's your error and do you have the PostgreSQL JDBC jar file in tomcat_home/common/lib ? -Original Message- From: Luke Vanderfluit [mailto:[EMAIL PROTECTED] Sent: Sunday, September 07, 2003 5:53 PM To: Tomcat Users List Subject: jdbc servlets and jsp Hi, I'm having a few probs (fun)

method of implementing a 'login' section in a site

2003-09-08 Thread zeallousbigpond.net.au
hi, Thanks a lot for the email guys!! Another question I want to ask. I want to create a section of my site where I only allow users to use IF they have logged into my site. Either than using cookies to keep track if they have logged in or not, what method should I use to keep track of

help with domain and ip

2003-09-08 Thread Michael Ni
Hi I have a domain where i can set the ip as 123.45.67.89 however my apache is set to 123.45.67.89:8080. How do I configure my port 8080 to direct to 123.45.67.89 mike _ Use custom emotions -- try MSN Messenger 6.0!

Re: method of implementing a 'login' section in a site

2003-09-08 Thread Filip Hanik
use the servlet specification way!! ie, protect your pages with entries in web.xml then tomcat will log in the users for you Filip - Original Message - From: zeallousbigpond.net.au [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, September 08, 2003 7:00 PM

Failed to Install Web Application thru Tomcat Manager (TOMCAT 4.1.18)

2003-09-08 Thread Thana Letchumi
Hi, I have recently installed TOMCAT 4.1.18. I developed a few applications in a differect directory path from the tomcat installation path. Initially, I updated the server.xml with my web application path. But I realize that any update I make to the jar file (located in my application

Re: Downloading previous versions of Tomcat

2003-09-08 Thread Yann Cébron
Unfortunately, we can't find tomcat 4.1.18 anywhere, does anyone knwo where we can download a copy? http://archive.apache.org/dist/jakarta/tomcat-4/archive/v4.1.18/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: HeadlessException: The chickens come home to roost!

2003-09-08 Thread Bill Barker
Running headless means using awt-light. In particular, one of the things you are forbidden from doing is creating heavy-weight components like Frames. If you want to run headless, you will need to re-structure your servlet to only use light-wieght components (that, in particular, don't care that

Re: Where does tomcat-jk2.jar come from?

2003-09-08 Thread Bill Barker
This is from jakarta-tomcat-connectors. The tarball is sitting next to the main 4.1.27 tarball at the download page. From there, you look under the 'jk' directory. Jon Skeet [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm still on the trail of bug 17193, and I'd quite like to see

Connetion between Tomcat MySQL

2003-09-08 Thread Amy Cheung
Hi, I am using Tomcat 3.3.1 and MySQL 4.0 in Window XP. MySQL engine is running. When I run my jsp, it stated the error that import com.mysql.Driver not found. Anyone know how to install the driver properly? I read something about setting the class path. But where to set? I don't know much about

Re: Servlet front page without redirect - Tomcat 4.1 with mod_rewrite and mod_jk2

2003-09-08 Thread Bill Barker
Mike Curwen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Just to expound on this point: -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: Saturday, September 06, 2003 10:43 PM To: [EMAIL PROTECTED] Subject: Re: Servlet front

RE: jdbc servlets and jsp

2003-09-08 Thread Luke Vanderfluit
Hi Francisco and Colin, You were right! I placed the devpgjdbc3.jar in /tomcat/common/lib and restarted tomcat. All this time I did have devpgjdbc3.jar in CLASSPATH, which apparently makes things work for the regular java classes but not for servlets or JSPs. To me it should in theory. Anyway,

using xml in jsp files

2003-09-08 Thread Luke Vanderfluit
Hi, I'm a student learning about JSP and servlets, I currently have some example JSP files that run OK using the % % tags, but won't run when using jsp:expression/jsp:expression tags I have 2 files taken from a book by Dustin Callaway, simple.jsp -- works fine -=-=-=-=-=-=-=-=-=-=-=-=- HTML

Re: SSL/Verisign Confusion

2003-09-08 Thread Bill Barker
Dave Wood [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I believe a Verisign certificate alone is $600 for a year. You can get certificates much cheaper, but there are issues with some older broswers not recognizing the CA (so your users would get a message stating that the

help with domain and ip

2003-09-08 Thread Michael Ni
Hi I have a domain where i can set the ip as 123.45.67.89 however my apache is set to 123.45.67.89:8080. How do I configure my port 8080 to direct to 123.45.67.89 mike _ Use custom emotions -- try MSN Messenger 6.0!

EmbeddedTomcat

2003-09-08 Thread Dave Stoker
When attempting to start Tomcat embedded my process fails when adding the connector. Any help/insight is greatly appreciated. Dave snippit Connector connector = embedded.createConnector(null, 8080, false); embedded.addConnector(connector); /snippit C:\EmbeddedTomcatjava EmbeddedTomcat

Re: Tomcat IBM JVM 1.4 and SSL truststores

2003-09-08 Thread Bill Barker
It's possible to configure PureTLS (which Tomcat supports) to support un-trusted certs. Jerry Birchler [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I tried both the IBM and Sun packages. Unfortunately, neither handled expired or untrusted certificates. In my case, I did not care

Re: Tomcat IBM JVM 1.4 and SSL truststores

2003-09-08 Thread Bill Barker
I've just checked in a patch to have the TrustStore algorithm to be the same as the 'algorithm' (Tomcat 5 has a more general fix). It should appear in 4.1.28. If you need it sooner, you can download from the CVS. McClure, Timothy J(IndSys, GE Interlogix) [EMAIL PROTECTED] wrote in message

Re: Puzzling SAXParseException error

2003-09-08 Thread achana
Hi Tim. Thx for the tip. I think it is complaining about not finding org.apache.catalina.servlets.ManagerServlet, which is in path/to/manager/WEB-INF/web.xml In the meantime I've commented out the path and docBase for manager in server.xml, but the error persists without affecting any other apps.

Re: method of implementing a 'login' section in a site

2003-09-08 Thread zeallousbigpond.net.au
haha thanks...but..how do you do that? =P Anson - Original Message - From: Filip Hanik [EMAIL PROTECTED] Date: Tuesday, September 9, 2003 12:04 pm Subject: Re: method of implementing a 'login' section in a site use the servlet specification way!! ie, protect your pages with entries

RE: Java Virtual Machines on Linux

2003-09-08 Thread Mike Cherichetti \(Renegade Internet\)
Ryan, I've had good luck with the IBM JVM on Linux. The Sun JVM is slower, uses more memory, and isn't as stable. At least that's been my experience with it. I'd narrow your options down to IBM and BEA. Mike -Original Message- From: Ryan Lissack [mailto:[EMAIL PROTECTED] Sent:

Re: where is JkWorkerFile

2003-09-08 Thread Bill Barker
Firstly, mod_jk2 doesn't have a JkWorkerFile directive. Secondly, for mod_jk this directive needs to be at top-level (i.e. it can't appear in a VHost). Eugene Lee [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Trying to get mod_jk2 working, and Apache 2 complains in its error logs:

Re: Connetion between Tomcat MySQL

2003-09-08 Thread Bill Barker
Assuming that you aren't using JDBCRealm, then it should be enough to put the jar file in $TOMCAT_HOME/lib/apps. If you are using JDBCRealm, then place it in $TOMCAT_HOME/lib/common. Setting the CLASSPATH is evil ;-). Amy Cheung [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I

[5.0.11] New alpha build

2003-09-08 Thread Remy Maucherat
I have released a new alpha test build, with, among others, a fix for the commons-logging classloading issues that were present in previous 5.0.x releases. Please test it. Downloads: http://jakarta.apache.org/site/binindex.cgi I'll post a vote on the build tomorrow. Remy