RE: Tomcat OpenJMS Design Pattern?

2003-11-19 Thread Vaneet Sharma
try SwiftMQ, a good implementation of JMS, works well with tomcat I have tried and tested There was a free version availaible before.. i dont know whether it is available now or not Thankx Vaneet -Original Message- From: Gavin, Rick [mailto:[EMAIL PROTECTED]

Re: Installation problem

2003-11-19 Thread Bill Barker
Try uninstalling, and then re-installing Tomcat. It should then pick up your J2SDK install path. If this doesn't work, then try %CATALINA_HOME%\bin\catalina run, and post the error messages on the list for more help. [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Sorry to bother you

Re: java.lang.NoClassDefFoundError:javax/servlet/jsp/tagext/TagLibraryValidator

2003-11-19 Thread Bill Barker
Anna Lissa Saupan [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, Any help will be greatly appreciated. My current server has the following environment: Tomcat Version = Apache Tomcat/5.0.12 JVM Version = 1.4.2-b28 JVM Vendor = Sun Microsystems Inc. Redhat Linux 9 OS

Re: What is this error??

2003-11-19 Thread Bill Barker
Urm, sort of what is says? ;-). Lane Weast [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] What is this error?? Event Type: Error Event Source: Apache Jakarta Connector2 Event Category: None Event ID: 1 Date: 11/18/2003 Time: 9:10:31 AM User: N/A Computer: [censored] Description:

Re: Connector and MBean

2003-11-19 Thread Bill Barker
As long as you don't care that it doesn't work with the 'admin' webapp, and you register the MBean correctly, it should work. [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, I wrote my own Connector for Tomcat which have to be registered on the MbeanServer since version 4.1.

Re: double slash before context reveals source in latest tomcat3? (apache 1.3.27)

2003-11-19 Thread Sean Utt
Thanks again, compiled a new mod_jk, and all is good now! Sean Web Solutions That Work Developing custom web solutions designed specifically to accomplish the unique objectives of our clients. Phone 503-639-2727 Fax 503-639-0807 - Original Message - From: Bill Barker [EMAIL PROTECTED]

Re: JDBCRealm through a firewall

2003-11-19 Thread Holger de Wall
I think 4.1.29's JDBCRealm tried to reconnect on failure. we upgrade to Tomcat 4.1.29 because I heard about a new ErrorRecovery function in the JDBCRealm. Which Parameter in which xml-file is responsible for this feature. our firewall (Cisco PIX 506) seems to be the reason for a

Re: https -- http session problem

2003-11-19 Thread Adam Hardy
On 11/19/2003 03:58 AM Henrik Bentel wrote: Had an application which had 3 different types of users: One group should be authenticated using https only to protect password, then switch to http, but sometimes switch back to https again. This is my main requirement. Ideally what I would like to

RE: Hosting SSL clients within Tomcat

2003-11-19 Thread Justin Brister
FYI, I have now cracked this problem. I had something of an epiphany last night -) The problem lies with Bill Gates! The default .keystore is created in the current Windows users home directory. The path to this directory has a white space in it, which the JVM does not like. If you try and use

j_security_check - Bookmarking the login page. A teaser!

2003-11-19 Thread Andoni
Hello, I have recently switched my site to using form-based logins. I found as soon as I started testing that there is a fundamental problem with this approach. When the user get sent via a click to a protected page they get the login screen. The only problem arises when a user bookmarks the

Still character problems

2003-11-19 Thread Burak Takmaz
I'am calling a method from my jsp pages.The method is placed in a bean class.Its return type is String.And it includes the characters such as ü,þ,ç,ö(some Turkish caracteres).But these characteres seem to be corrupted on the jsp pages.I put the page and meta tags who are denoting that the

Re: JDBCRealm through a firewall

2003-11-19 Thread Tim Funk
My bad, the patch I was thinking of was made in tomcat5. Hopefully, I'll be able to backport it Friday. -Tim Holger de Wall wrote: I think 4.1.29's JDBCRealm tried to reconnect on failure. we upgrade to Tomcat 4.1.29 because I heard about a new ErrorRecovery function in the JDBCRealm. Which

RE: j_security_check - Bookmarking the login page. A teaser!

2003-11-19 Thread David Legg
Hi Adoni, No... you are not alone. I've been there too! My half hearted solution was to simply display a message on the login page asking them not to bookmark it. I think the proper solution would be to allow developers to specify a 'default' url along with the login and error urls. This page

Relationship between server.xml/Resource and web.xml/resource-ref.

2003-11-19 Thread Florian Ebeling
Hi, I have read the whole documentation and the web.xml DTD, but I am still somewhat confused concerning this question. I try to figure out the exact relation between JNDI resources declared within the server.xml and the web.xml. Is it completely up to the developers/deployers wether the

Re: j_security_check - Bookmarking the login page. A teaser!

2003-11-19 Thread Graham Reeds
Just a noob firing off into the dark... Couldn't you have a small piece of code that checks for the session and if they are bringing up the login page directly (ie no session info) then take them to the index. I'm going to get this on my site too so I will interested in a solution. G.

Tomcat5

2003-11-19 Thread Drinkwater, GJ (Glen)
Hi Does anybody know of the timetable for a stable release of tomcat 5? Glen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Bit off topic : What happened to RedHat?

2003-11-19 Thread Wade Chandler
In reference to c I'd like to point people to: Fedora.redhat.com/about/objectives.html look at number 7. I think people are getting confused by the new direction and the use of the words release and update. Wade -Original Message- From: Gerald Henriksen [mailto:[EMAIL PROTECTED] Sent:

RE: Running a Service

2003-11-19 Thread Andy Eastham
Karl, An easy way of doing this is to call your servlet with wget from a cron job. Andy -Original Message- From: Karl Coleman [mailto:[EMAIL PROTECTED] Sent: 18 November 2003 20:21 To: Tomcat Users List Subject: RE: Running a Service I apologize for being so broad. Let me be

A small problem (with tomcat)

2003-11-19 Thread Thomas M.
Good day, I have a problem when I'm trying to make a new folder. When I make the folder and put it in C:\Program Files\Apache Group\Tomcat 4.1\webapps I can't open it, but I can open the other folders at that location, what did I do wrong? Sincerely, Thomas Muijsert

RE: JK2 Build Error

2003-11-19 Thread Andy Eastham
Bill, The problem is that the apache runtime library cannot be located. I just found this resource that might help you out: http://cymulacrum.net/tomcat/jk2_compile.html Best regards, Andy -Original Message- From: Bill R [mailto:[EMAIL PROTECTED] Sent: 19 November 2003 02:03 To:

Relationship between server.xml/Resource and web.xml/resource-ref.

2003-11-19 Thread Florian Ebeling
Hi, I have read the whole documentation and the web.xml DTD, but I am still somewhat confused concerning this question. I try to figure out the exact relation between JNDI resources declared within the server.xml and the web.xml. Is it completely up to the developers/deployers wether the

Re: Tomcat5

2003-11-19 Thread Tim Funk
No. (See the tomcat-user dev archives as to why) -Tim Drinkwater, GJ (Glen) wrote: Hi Does anybody know of the timetable for a stable release of tomcat 5? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: ConnectException in Tomcat 4.1

2003-11-19 Thread Arun N
what is the file you are trying to read, ie what is the extension. did you check if the server allows you to access the file directly.. ie http://server:port/dir/yourfile.ext are you able to access the this way ? - Original Message - From: Efrat Bar-Nahum [EMAIL PROTECTED] To: [EMAIL

Re: Server configuration denies access to data sourceConnection

2003-11-19 Thread Christopher Schultz
Soma, I'm stuck up with simple problem, when I try to access the table through JSP program and got a error message as *java.sql.SQLException: Server configuration denies access to data sourceConnection returned NUll.Stopping service Tomcat-Standalone For some reason, Java connects to

Re: Relationship between server.xml/Resource and web.xml/resource-ref.

2003-11-19 Thread Christopher Schultz
Florian, Is it completely up to the developers/deployers wether the necessary resources get declared in the server or in the application? This is correct. Is it just for convenience, so that deployer doesn't have to unpack the WAR? No, this has nothing to do with unpacking WAR files. Or --

RE: Tomcat OpenJMS Design Pattern?

2003-11-19 Thread Shapira, Yoav
Howdy, I've used and use OpenJMS with tomcat all the time, including in several production systems. What are you looking for specifically? A document? Code that sends messages to an OpenJMS queue/topic, received from an OpenJMS queue/topic, all of the above? I've actually gone from using

RE: Tomcat 4.0.4 slow startup time

2003-11-19 Thread Shapira, Yoav
Howdy, Hello! We're running Tomcat 4.0.4 behind Apache 1.3.27 on Linux using mod_jk. I've noticed really long startup times for Tomcat on our system, even though we already have the ROOT.war uncompressed. During this time, all the user can see is an Internal Server Error page until Tomcat is

OutOfMemory Error in Catalina

2003-11-19 Thread Abhijeet Selukar
Hi All, Now a days i am stuck with a problem. I get exceptions in Catalina.out log file when my web application is running on that. Is there any utility to find out, from where or from which files the memory is leaking... For your information, putting the exception here...

RE: TC Case Sensitivity Question

2003-11-19 Thread D'Alessandro, Arthur
Same line of question, how do tomcat web admins present URL's? Is there a defacto standard for tomcat web developers that only upper, lower, or camel notation From and end users perspective, having to alter case for a web URL is a hassle, and in most cases would yield a 404 because of

RE: OutOfMemory Error in Catalina

2003-11-19 Thread Søren Neigaard
I can recommend OptimizeIt from Borland, saved me a couple of times :) /Søren -Original Message- From: Abhijeet Selukar [mailto:[EMAIL PROTECTED] Sent: 19. november 2003 14:20 To: Tomcat Users List Subject: OutOfMemory Error in Catalina Hi All, Now a days i am stuck with a

Re: TC Case Sensitivity Question

2003-11-19 Thread Christopher Schultz
Art, Same line of question, how do tomcat web admins present URL's? Is there a defacto standard for tomcat web developers that only upper, lower, or camel notation From and end users perspective, having to alter case for a web URL is a hassle, and in most cases would yield a 404 because of

Re: j_security_check - Bookmarking the login page. A teaser!

2003-11-19 Thread Adam Hardy
On 11/19/2003 01:08 PM Graham Reeds wrote: Just a noob firing off into the dark... Couldn't you have a small piece of code that checks for the session and if they are bringing up the login page directly (ie no session info) then take them to the index. No, 'fraid not, your app never gets to see

Re: j_security_check - Bookmarking the login page. A teaser!

2003-11-19 Thread Christopher Schultz
Adam, On 11/19/2003 01:08 PM Graham Reeds wrote: Just a noob firing off into the dark... Couldn't you have a small piece of code that checks for the session and if they are bringing up the login page directly (ie no session info) then take them to the index. No, 'fraid not, your app never gets

Apache 1.3, Tomcat 5 and Panther

2003-11-19 Thread Carlton Ellis
Trying to setup a development environment on my Mac running OS 10.3 (Panther). Everything I see refers to Tomcat 4.1 - and nothing quite fits. Has anyone done this yet? I have placed Tomcat in /Library/Tomcat/jwsdp-1.3 and the Apache 1.3 is as delivered with Panther. http://mywebsite

Re: OutOfMemory Error in Catalina

2003-11-19 Thread Tim Funk
It may not be a leak ... http://jakarta.apache.org/tomcat/faq/memory.html#why -Tim Abhijeet Selukar wrote: Hi All, Now a days i am stuck with a problem. I get exceptions in Catalina.out log file when my web application is running on that. Is there any utility to find out, from

Re: j_security_check - Bookmarking the login page. A teaser!

2003-11-19 Thread Andoni
Actually one of my first attempts at a solution was this in reverse. I was saying if there is a session take them on in to the main menu page. This does not work either though as if there was no session and they had only called this page (say from a bookmark) they were still stuck. The reason

Tomcat Crashing

2003-11-19 Thread Bender, Christopher
Hey, I am fairly new to Tomcat and developing a web-app that does some database work. Lately, Tomcat (4.1.29) will sometimes inexplicably crash without error. My Tomcat console window just closes and I get an apache error, 500 Internal Server Error, in my browser, (apache and tomcat liked

RE: Tomcat Crashing

2003-11-19 Thread Peter Guyatt
Hi There, Which platform are you running on if its linix or solaris then it could be either the SIGINT (ctrc-c) or SIGHUP (your console closing) causing it to exit. Thanks Pete -Original Message- From: Bender, Christopher [mailto:[EMAIL PROTECTED] Sent: 19 November 2003 14:42

Tomcat 4.1.24 Standalone max requests serviced java exception

2003-11-19 Thread Kilic, Hakan
Hi all, I'm running into this java exception only when increasing my traffic to my Tomcat web server. I'm running Tomcat 4.1.24 Standalone, and my traffic is about 100 concurrent connections when this happens. I'm just wondering if a) This error is really related to reaching the max number of

RE: Tomcat Crashing

2003-11-19 Thread Bender, Christopher
I am running windows 2000. Is there any way that my java code could be popping the stack or something along those lines? -Original Message- From: Peter Guyatt [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 9:44 AM To: Tomcat Users List Subject: RE: Tomcat Crashing Hi

RE: Tomcat Crashing

2003-11-19 Thread Wendell Holmes
Look for an error log named 'hs_err*.log' for a trace. It's usually dumped into the dir that TC starts from. Wendell -Original Message- From: Bender, Christopher [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 7:49 AM To: Tomcat Users List Subject: RE: Tomcat Crashing I

RE: TC Case Sensitivity Question [Workaround]

2003-11-19 Thread D'Alessandro, Arthur
That piece is known, but for webapps and the like, some people bookmark, some people remember.. I think a good overall suggestion is to utilize different Host elements with each mapping at the root of that Host to the specified webapp rather than using the webapps as virtual directories under a

problem mod_jk2 sticky session

2003-11-19 Thread Luca
Hi all, I have apache2.0.47, mod_jk2 and two different instances of tomcat4.1.x In server.xml I set Engine name=MainEngine defaultHost=localhost jvmRoute=10.10.30.108:8009 and Engine name=MainEngine defaultHost=localhost jvmRoute=10.10.30.107:8009 respectively. My worker2.properties

Re: j_security_check - Bookmarking the login page. A teaser!

2003-11-19 Thread Jon Wingfield
The bookmarking of the login page is a well known issue. However, without dumping CMS there seems to be little to do but resort to a few hacks ;( Our hack pt1: Add to the top of the login page a redirect to a sensible entry point for the app: % if (request.getSession(false).isNew())

ConnectException in Tomcat 4.1

2003-11-19 Thread Efrat Bar-Nahum
Hi, I'm trying to run my web application with Tomcat 4.1 (until now I worked with Tomcat 3.2, and didn't have any problems). In my application I have an applet that reads from a file (the file is located on the web server.) When I try to do it (using Url.openStream()) I get:

Odgovori: Character problem

2003-11-19 Thread kovi.adsl
Hi! In your JSP put: %@ page contentType=text/html; charset=iso-8859-2 language=java import=java.sql.* errorPage= % and meta http-equiv=Content-Type content=text/html; charset=iso-8859-2 then in your servlet/jsp use request.setEncoding(iso-8859-2); before you access any parameters inside

NT Service and Home Directory

2003-11-19 Thread Graham Lounder
Hey all, I'm running tomcat 4.1.29 as a service on a windows xp machine. My webapp uses some CORBA stuff and needs a jacorb.properties file located in my home directory. I've tried setting up the service to run using my user account but it can't find the properties file in my home directory.

Re: Apache 1.3, Tomcat 5 and Panther

2003-11-19 Thread Giuliano Gavazzi
At 9:19 am -0500 2003/11/19, Carlton Ellis wrote: Trying to setup a development environment on my Mac running OS 10.3 (Panther). Everything I see refers to Tomcat 4.1 - and nothing quite fits. Has anyone done this yet? I have placed Tomcat in /Library/Tomcat/jwsdp-1.3 and the Apache 1.3 is

Re: Installation problem

2003-11-19 Thread [EMAIL PROTECTED]
I uninstalled and reinstalled tomcat still experiencing the same flickering window error. While installing tomcat during the JVM path selection the default path listed was C:\Program Files\Oracle\jre\1.1.7 I changed that path name to C:\Program Files\j2sdk_nb\j2sdk1.4.2 Til now , I didnt try

JDBCRealm configuration and JBDC Driver classpath

2003-11-19 Thread Andrew Murphy
I am trying to configure form based authentication using a JDBCRealm. I do not have access to the $CATALINA_HOME/common/endorsed folder or server.xml file as my webapp is hosted in a shared environment by an ISP. Therefore I have created a Context configuration xml file fragment to provide the

Re: Tomcat OpenJMS Design Pattern?

2003-11-19 Thread Rodrigo Ruiz
You could check this article http://www.onjava.com/pub/a/onjava/2001/12/12/openjms.html HTH, Rodrigo Ruiz Gavin, Rick wrote: Hi All, Just wondering if any could post a working design pattern for using openJMS or another open JMS engine with tomcat, preferably a model using asynchronous queue

JK2 uri mapping

2003-11-19 Thread Nicolas
hi it's really wired. i can't find the fault in my configuration everything seems to work perfectly jakarta-tomcat-4.1.29 httpd 2.0.48 mod_jk2/2.0.3-dev connected via UNIX Socks the problem is: [uri:/examples/*] info=Prefix mapping localhost/examples/ works localhost/examples/a

RE: j_security_check - Bookmarking the login page. A teaser!

2003-11-19 Thread Derek Mahar
Andoni: Which version of Tomcat do you use? On Tomcat 5.0.14, if you access a protected page, the web browser displays the login page, but in the address field, the browser continues to list the protected page address. If you bookmark the page, your browser stores the address of the protected

RE: Odgovori: Character problem

2003-11-19 Thread Shanta B
just add CATALINA_OPTS=-Dfile.encoding=ISO-8859-2 it works fine -Original Message- From: [EMAIL PROTECTED] To: Tomcat Users List Sent: 19/11/2003 8:40 PM Subject: Odgovori: Character problem Hi! In your JSP put: %@ page contentType=text/html; charset=iso-8859-2 language=java

RE: Relationship between server.xml/Resource and web.xml/resource-ref.

2003-11-19 Thread Derek Mahar
Thanks! Your reply is an excellent summary of the relationship between GlobalNamingResources in server.xml, ResourceLink in Context, and resource-ref in the deployment descriptor. It's too bad that Tomcat: The Definitive Guide does not describe it quite so well! Because of all of these

RE: Tomcat 4.0.4 slow startup time

2003-11-19 Thread talley_angelina
Thank you for your input. I haven't run our webapp standalone on Linux in awhile, so I'll time that. On windows standalone, it comes right up. I'll go back through the config files and see if there's anything more I can comment out. We definitely don't have any extra webapps hanging around - I

hot deploy

2003-11-19 Thread Leonardo Kenji Shikida
is there an easy way to deploy a web application over another existent one without stopping tomcat and without killing the current sessions? -- [] Leonardo Kenji Shikida Vetta Technologies http://www.vettatech.com - To

Configuration via database, rather than XML

2003-11-19 Thread Hart, Justin
I heard that it is possible to load Tomcat configurations from a database rather than from server.xml/web.xml files. Is this true? Is this difficult to configure? Are there shortcomings in this configuration? Justin

Re: Configuration via database, rather than XML

2003-11-19 Thread Tim Funk
Not true. -Tim Hart, Justin wrote: I heard that it is possible to load Tomcat configurations from a database rather than from server.xml/web.xml files. Is this true? Is this difficult to configure? Are there shortcomings in this configuration? Justin

RE: Configuration via database, rather than XML

2003-11-19 Thread Hart, Justin
Cool, thanks. Justin -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Wed 11/19/2003 11:43 AM To: Tomcat Users List Cc: Subject: Re: Configuration via database, rather than XML Not true.

RE: JDBCRealm configuration and JBDC Driver classpath

2003-11-19 Thread Andreas Mohrig
Andrew, anyone please correct me if I'm wrong, but I'm afraid you've got at least two problems here: 1. As far as I know it is not possible to define a Realm outside of server.xml. If you do not have access to that file, I see no way you can use container managed security, which is a

[OT]Re: Mobile phone on serial port - Howto send sms?

2003-11-19 Thread john-paul delaney
Hello List... Apologies for the cut and paste of the thread below... I just wanted to add an answer to the problem I had of how to send an sms using a servlet. I'm sure that the ability to send GSM text messages would be very useful - at least for the Euro-tomcatters. The following URL

Re: JDBCRealm configuration and JBDC Driver classpath

2003-11-19 Thread Jon Anderson
On Wednesday 19 November 2003 10:52 am, Andreas Mohrig wrote: 1. As far as I know it is not possible to define a Realm outside of server.xml. If you do not have access to that file, I see no way you can use container managed security, which is a prerequisite for form based authentication (or

Re: JDBCRealm configuration and JBDC Driver classpath

2003-11-19 Thread Jon Anderson
Can anyone advise of a work-around, or let me know if I have overlooked You might want to look at http://www.securityfilter.org/ It mimics CMS, but it can be rolled up inside your application. Jon - To unsubscribe, e-mail:

cannot access my web application (resource is not available)

2003-11-19 Thread Martin Monsorno
!-- -*- xml -*- -- !-- Example Server Configuration File -- Server port=8005 shutdown=SHUTDOWN debug=0 !-- Global JNDI resources -- GlobalNamingResources !-- Test entry for demonstration purposes -- Environment name=simpleValue type=java.lang.Integer value=30/

Re: j_security_check - Bookmarking the login page. A teaser!

2003-11-19 Thread Andoni
Hi, I have implemented this and on first sight it seems to work perfectly. Can you please just confirm my understanding of it though so I am sure I know what I am doing: 1. The error page part need never really come in to play. 2. A user calls the login page and it basically is using the

Re: Installation problem

2003-11-19 Thread Harry Mantheakis
Hello I changed that path name to C:\Program Files\j2sdk_nb\j2sdk1.4.2 If you are talking about your $PATH system environment variable, the setting should be: C:\Program Files\j2sdk_nb\j2sdk1.4.2\bin Til now , I didnt try to create any path for JAVA_HOME AND CATALINA_HOME, do i have to

RE: JDBCRealm configuration and JBDC Driver classpath

2003-11-19 Thread Andrew Murphy
Thanks for your comments. I am beginning to suspect that my options are limited and may have to resort to application managed security which I have tried to avoid up to now. Alternatively I could try persuade my ISP to include the jar in the container classpath (wishful thinking!) By the way

Agains problems with threads

2003-11-19 Thread Walter do Valle
I'm confused about this behavior. My tomcat 4.1 (Linux Red Hat 7.3 and IBM JDK 1.3.0) unexpectedly creates several threads and hangs. See log below. It shows the instant time and the numbers of threads (ps -ef|grep -i java -c) It was 35-37 threads about 6 hours. Then it increases the numbers

Re: j_security_check - Bookmarking the login page. A teaser!

2003-11-19 Thread Adam Hardy
On 11/19/2003 02:57 PM Christopher Schultz wrote: No, 'fraid not, your app never gets to see requests to j_security_check - it's handled by tomcat beforehand. Right, and the user never sees this URL. They're talking about intercepting the request for the login *page*, not the j_security_check

RE: JDBCRealm configuration and JBDC Driver classpath

2003-11-19 Thread Andreas Mohrig
Andrew, thank you. Jon Anderson pointed it out, too. Not knowing such things comes from being blessed (and cursed) with a tomcat installation totally under my control and without any restrictions. Greetings Andreas Mohrig -Original Message- From: Andrew Murphy [mailto:[EMAIL PROTECTED]

Re: Still character problems

2003-11-19 Thread Andoni
You need to go with UTF-8 See the Tomcat FAQ. My application runs in 17 different languages with no problems using what I find there. Andoni. - Original Message - From: Burak Takmaz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 10:56 AM Subject: Still

reading properties file....

2003-11-19 Thread Pitre, Russell
Hi all, Trying to read a properties file for my web appI have a singleton class that reads my properties file and sets my properties the first time the class is called..It reads the file fine, but after the singleton gets loaded and i go to a jsp page that hasnt' been compiled yet i

RE: JDBCRealm configuration and JBDC Driver classpath

2003-11-19 Thread Andrew Murphy
Jon, thank you. I will certainly implement this option if my plea to my ISP falls on deaf ears. Andrew -Original Message- From: Jon Anderson [mailto:[EMAIL PROTECTED] Sent: 19 November 2003 17:16 To: Tomcat Users List Subject: Re: JDBCRealm configuration and JBDC Driver classpath Can

Re: Installation problem

2003-11-19 Thread [EMAIL PROTECTED]
Hi Harry, Did as told. c:\Set CATALINA_HOME=C:\Program Files\Apache Software Foundation\Tomcat 5.0 c:\Set JAVA_HOME=C:\Program Files\j2sdk_nb\j2sdk1.4.2 Still i am getting this flickering screen. Please tell me how to solve this problem. Thanks in anticipation Hello I changed that path

RE: Installation problem

2003-11-19 Thread talley_angelina
Sometimes we've had problems with older Tomcats on Windows because of the space in the path name for your environment variable. I'd bet it'd help here too. Try doing it the old Windows way, like this: c:\Set CATALINA_HOME=C:\Progra~1\Apache~1\Tomcat~1.0 c:\Set

Re: Tomcat5 Clustering problem .

2003-11-19 Thread Filip Hanik
you probably didn't uncomment the ReplicationValve in server.xml I will remove this as many people make this mistake, and the valve will be automatically added when the cluster starts Filip - Original Message - From: Eric Chow [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]

RE: Tomcat OpenJMS Design Pattern?

2003-11-19 Thread Gavin, Rick
Hi Yoav, I was looking for a basic design model, that worked well, such as a high level class diagram( classes,interfaces, etc ) that shows a good way to implement openJMS within tomcat. Some code snipets would be nice if possible. As I said, my main consern in Point-to-Point Queue processing,

Re: j_security_check - Bookmarking the login page. A teaser!

2003-11-19 Thread Jon Wingfield
Yup. The error page only rarely comes into play (and is unrelated to the bookmarking issue). I've just tried it again to make sure i wasn't going mad: If you try to access a restricted page you get punted to the login page. If you then don't login until after the just created session times out

Re: reading properties file....

2003-11-19 Thread Gary Hardy
Russ: In general, if application.properties is in your classes dir ResourceBundle rez = ResourceBundle.getBundle(application); Put that in your singleton class. Then you could: MySingleton.accessMySingleton().getRez().getString(a_prop); Then go nuts and write a taglib to access MySingleton

RE: reading properties file....

2003-11-19 Thread Pitre, Russell
Rock on! I will give that a try. Thanx Gary -Original Message- From: Gary Hardy [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 1:52 PM To: Tomcat Users List Subject: Re: reading properties file Russ: In general, if application.properties is in your classes dir

RE: Installation problem

2003-11-19 Thread [EMAIL PROTECTED]
Hi angelina, Tried as told. set the path in the older windows way, but still finding the same flickering window. if i type manually http://127.0.0.1:8080/; i get page cannot be displayed message. Dont know what to do. Hoping to recover from this problem Please help. Thanks in anticipation

RE: Tomcat OpenJMS Design Pattern?

2003-11-19 Thread Shapira, Yoav
Howdy, I don't have much time before a meeting, but let's see if I can help. I have one class that reads the configuration (initial context factory class, JNDI URL, queue name, etc.) from a file, creates the initial context, connects to the server, and has a QueueReceiver. This class doesn't

RE: Installation problem

2003-11-19 Thread talley_angelina
How are you starting Tomcat? You maybe should try setting the variables globally via Windows Environment settings (on Windows XP, right-click on My Computer, select Properties, Advanced tab, Environment Variables button). Add entries under System variables for CATALINA_HOME and JAVA_HOME here and

RE: Installation problem

2003-11-19 Thread Wendell Holmes
To test that you've correctly set the paths, open a command window and type 'cd %java_home%'. This should put you in the java home dir. Then try 'cd %catalina_home%. If this puts you in the Tomcat home dir, you're good so far. Now, type 'catalina run'. This should start tomcat in the same

RE: Installation problem

2003-11-19 Thread [EMAIL PROTECTED]
Hi Angelina, Followed your instructions. Made the changes in the mycomp+properties+advanced+environmentvariables+Uservariables and added catalina_home and java_home entries. Still no improvement. Hoping for your help again. bfn How are you starting Tomcat? You maybe should try setting the

RE: Installation problem

2003-11-19 Thread talley_angelina
Do try running it from the command line instead of shortcut. Usually that way it will print error messages and not just close the window and we can better see what's going on. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 2:29 PM

Re: Installation problem

2003-11-19 Thread Harry Mantheakis
Hello Hoping for your help again... Try Wendell's instructions (carefully) and tell us what happens (what you see on the DOS prompt command window). Regards Harry Mantheakis London, UK - To unsubscribe, e-mail: [EMAIL

Re: Installation problem

2003-11-19 Thread [EMAIL PROTECTED]
Hi Harry, Followed Wendell's instructions. when i ran in the cmd prompt i got the following message,(slightly long) -- C:\Program Files\Apache Software Foundation\Tomcat 5.0\bincatalina run Using CATALINA_BASE: C:\Program Files\Apache Software

Re: hot deploy

2003-11-19 Thread [EMAIL PROTECTED]
I have been using Likha DevCentre to do just that. Download from http://download.com.com Makes my life a little bit easier. Enjoy. - Original Message - From: Leonardo Kenji Shikida [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 8:38 AM Subject: hot deploy

Re: Installation problem

2003-11-19 Thread Harry Mantheakis
Hello i tried accessing the welcome page. Then, got the welcome page... Congratulations! At least we got over the flickering problem. Could you please tell me as to how should i allow my file to viewed by my friend in another machine? Err... Is your friend connected to your machine?

Re: Relationship between server.xml/Resource and web.xml/resource-ref.

2003-11-19 Thread Harry Mantheakis
Hello Chris This is an apt analogy. The server.xml sets up the actual resource (often in the GlobalNamingResources section), then allows the application to use it (by adding a ResourceLink section in the Context where you want to use it). The webapp signifies its desire to use that resource

Re: Installation problem

2003-11-19 Thread [EMAIL PROTECTED]
Hi Harry, My friend is in a sibling network. To access my machine, my friend isnt able to access my shared documents i.e becoz he needs to type in the machine name and password. My password doesnt seem to work(dont know what is the problem?). Not really interested in raising the issue to the

RE: Relationship between server.xml/Resource and web.xml/resource-ref.

2003-11-19 Thread Steph Richardson
Thanks Chris, but here is the part I don't exactly understand : The webapp signifies its desire to use that resource by including a complimentary resource-ref section in the deployment descriptor. A webapp ( at least under tomcat 4.1 ) does not require the resource-ref section to be in place,

Re: Installation problem

2003-11-19 Thread Harry Mantheakis
Hello So since my friend is able to ping my machine s ip address from his machine, I guess asking him to access my documents thro the browser is an easier alternative. Ask your friend to request the following URL: http://your_ip_address:8080/ He might be lucky! To share documents, I

Problem finding external Linux shared object library under Red Hat/Tomcat 4.1.24

2003-11-19 Thread Mark Maigatter
My configuration is Tomcat 4.1.24 running on a Red Hat Linux 7.3 system. I am starting and stopping Tomcat as the root user via the ./bin/startup.sh and ./bin/shutdown.sh scripts. I am trying to tie into a service that I am creating a 3rd party component that does some native calls from Java

Re: Problem finding external Linux shared object library under Red Hat/Tomcat 4.1.24

2003-11-19 Thread Mark Eggers
Mark, Once you put the directory where the library lives in /etc/ld.so.conf, you'll need to run ldconfig. If you put it in the startup script, you might have something like: export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH /mde/ just my two cents . . . .

Is this a bug???

2003-11-19 Thread Gabriel Jenik
Hi... I've read all the stuff about repoting bugs, but I still don't want to report this, cause I don't know if this is a bug or not...It is too hard to know... isn't it? Here is the deal... I have clean installation. Every first time, after startup, I try to get to the tomcat administration,

Re: Is this a bug???

2003-11-19 Thread Christopher Schultz
Gabriel, Hi... I've read all the stuff about repoting bugs, but I still don't want to report this, cause I don't know if this is a bug or not...It is too hard to know... isn't it? Here is the deal... I have clean installation. Every first time, after startup, I try to get to the tomcat

How to convert SSL Certificates and Private Keys to Tomcat (JKS) format?

2003-11-19 Thread Raghu Karamel
Hi Experts, Need your help on figuring out how to do the following. I have the private key (Generated using OpenSSH) and the certificate signed by Verisign. Both are in Base-64 encoded format. How can I get both the private key and certificate imported into Tomcat Keystore? In other words, what

  1   2   >