Re: Installation problem

2003-11-19 Thread Timo
Sacha, I think you missed to put "index.jsp" or "index.htm" in your context folder which are the welcome-file section in your web.xml file you just copied. try to put a basic jsp file named "index.jsp" , as a start I would suggest: --

Re: Installation problem

2003-11-19 Thread [EMAIL PROTECTED]
Hi Harry, Created a folder named "Sancha" in "C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps" created a subfolder web-inf, copied pasted web.xml into it. But when i type "http://127.0.0.1:8080/Sancha/"; in the URL, I get the following result "HTTP Status 404 - Servlet org.apach

Re: JDBC Realm

2003-11-19 Thread Justin Wesbrooks
When I get rid of the single quotes, the Mysql JDBC driver throws an SQLException that says something like "column USERNAME not found" I originally had it without the single quotes. To solve the error I added them just to try it and it worked, so I left them. Justin Tim Funk <[EMAIL PROTEC

RE: append text into a file

2003-11-19 Thread Galbayar
FileWriter(File file, boolean append) FileWriter(String fileName, boolean append) -Original Message- From: Cui Xiaojing-a13339 [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2003 11:43 AM To: Tomcat Users List Subject: append text into a file Hello All, Could please give me some

append text into a file

2003-11-19 Thread Cui Xiaojing-a13339
Hello All, Could please give me some advice about how to append some data into an existed log file? Thanks. Regards, Xiaojing - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Is this a bug???

2003-11-19 Thread Gabriel Jenik
Chris... Thanks for answering... Maybe that's the problem... I don't know...I am just stattring on this... The strange thing is that I've just installed it... I haven't made any modifications to anything... just installed the tomcat... Could it be something with the configuration on my PC??? Do

Re: Installation problem (For Harry and the rest....)

2003-11-19 Thread Kwok Peng Tuck
Maybe the server.xml is malformed ? You can check by running catalina.bat instead of using the icon. That way it will run in the current window instead of disappearing. Try 'catalina run' [EMAIL PROTECTED] wrote: Harry, i follow through this problem... but if i am not wrong, sancha start from b

Re: Installation problem (For Harry and the rest....)

2003-11-19 Thread foongkim
Harry, i follow through this problem... but if i am not wrong, sancha start from beginning is having this problem. >>3. > > i. Now, i clicked the "Start Tomcat" icon the windows > > key + Program files + Apache tomcat. I find a window > > disappearing as soon as it appears. But after he/she try

Re: jsp cache issue

2003-11-19 Thread Justin Ruthenbeck
If it wrote to the same place you started it from (ie where the scripts/exe live), that could be a potential problem. It's actually writing to it's own exclusive work directory, though, that's used only for temporary files -- this is reasonable. Where would you rather have it write to? justi

Re: jsp cache issue

2003-11-19 Thread Tim Funk
For the most part, Yup -Tim Euan Guttridge wrote: Hi, I have noticed that TC creates a temp file (example name = "files02123412") when compiling jsps. It will only exist for a few seconds, presumably while the compilation takes place, then is deleted. Here is the annoying part - they are create

Re: JDBC Realm

2003-11-19 Thread Tim Funk
Get rid of the single quotes. userNameCol="USERNAME" -Tim Justin Wesbrooks wrote: I have a JDBCRealm set up in Tomcat 4.1.29. The realm config is as follows.. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

Re: SSL on AIX: Tomcat fails to start

2003-11-19 Thread russo
Resolved: After having our sys. admin. re-order the providers I was still encountering the error. I ended up placing Sun's jsse.jar, jcert.jar, and jnet.jar in $tomcatHome/common/lib Tomcat seemed to be ignoring JSSE_HOME. With JSSE jars in common/lib, Tomcat does not seem to need JSSE_HOME as i

jsp cache issue

2003-11-19 Thread Euan Guttridge
Hi, I have noticed that TC creates a temp file (example name = "files02123412") when compiling jsps. It will only exist for a few seconds, presumably while the compilation takes place, then is deleted. Here is the annoying part - they are created in the directory from which you started tomcat - so

JDBC Realm

2003-11-19 Thread Justin Wesbrooks
I have a JDBCRealm set up in Tomcat 4.1.29. The realm config is as follows.. I have a mysql database set up that matches the above. I have a web app with the following web.xml.. http://java.sun.com/dtd/web-app_2_3.dtd";> Justin Web App Test justin web app TEST Security Constr

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

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 administra

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: 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 . . . . _

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 to

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 sugg

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 > section in the deployment descriptor. A webapp ( at least under tomcat 4.1 ) does not require the section to be in place, for it to use a jndi re

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 netwo

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 section), then allows the > application to use it (by adding a section in the > where you want to use it). The webapp signifies its desire to > use that resource by including a complimentary sectio

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: "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"

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\bin>catalina run Using CATALINA_BASE: C:\Program Files\Apache Software Foundation\Tom

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 PROTE

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 T

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 > t

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 wind

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 t

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 imp

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: 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: 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: 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 y

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: 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 PROTECTE

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 JAVA_HOME=C:\Progra~1\j2sdk_nb\j2s

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 tha

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

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

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

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: 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

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 of

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

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 h

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 session

cannot access my web application (resource is not available)

2003-11-19 Thread Martin Monsorno
username monsorno password xxx driverClassName org.postgresql.Driver

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: [E

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 (

[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 provid

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 prerequisite

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: 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 ---

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

"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 unsubs

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 exp

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 in server.xml, in , and 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 references, I found resources to be one of the most difficu

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: 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 pag

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 localhost/example

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 me

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

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 t

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 "a

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. Is

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 then in your servlet/jsp use request.setEncoding("iso-8859-2"); before you access any parameters inside request. Hope this helps. :) Best regards, Kovi > >

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()) response.

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 and respectively. My worker2.properties looks like ... [channel.socket:10.10.30.107:8009] debug=10 host=10.10.30.107 port=8009 tomcatId=10.10.30.107:8009 group=testlb [channel.socket:1

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 sin

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 am

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 Ther

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 req

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 To

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 with

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 yo

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 where

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 brin

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

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

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 di

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 pro

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 disregar

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: 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

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 tomca

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 -- lik

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: 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: <[EM

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,

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 neces

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

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: java.net.ConnectExc

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: 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

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:

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: 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.

  1   2   >