placement of properties files

2003-05-29 Thread Timothy Stone
Q: where is the proper place for [props].properties files? such as something that might store username and password pairs. Not the best practice, but if one wanted to. Thanks, Tim - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: placement of properties files

2003-05-29 Thread Schwartz, David (CHR)
I think web-inf folder - since tomcat wont serve files contained therein. -Original Message- From: Timothy Stone [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 8:55 AM To: Tomcat Users Subject: placement of properties files Q: where is the proper place for [props].properties

RE: placement of properties files

2003-05-29 Thread Raible, Matt
I'd recommend WEB-INF/classes - then it's in the classpath. -Original Message- From: Schwartz, David (CHR) [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 6:57 AM To: 'Tomcat Users List' Subject: RE: placement of properties files I think web-inf folder - since tomcat wont serve

RE: mod_jk.log errors

2003-05-29 Thread Marco Laponder
It must be in the tomcat4 configuration as when I call netstat -na | grep 8009 I get no output when tomcat is not started, when I start tomcat and call netstat -na | grep 8009 gives the following output: tcp0 0 0.0.0.0:80090.0.0.0:* LISTEN So my

RE: CharConversionException: isHexDigit

2003-05-29 Thread Shapira, Yoav
Howdy, Dude -- I got the exact same thing yesterday and posted it! ;) Still looking for the answer. I don't think it's a rare browser: 100% of my hits are from either IE5.5 or IE6 on Windows 2000 (this is a closed intranet environment). Yoav Shapira Millennium ChemInformatics -Original

RE: placement of properties files

2003-05-29 Thread Shapira, Yoav
Howdy, I agree with under WEB-INF as that's a directory the servlet container will protect for you. I don't like to put configuration information on the classpath however. I prefer to access them via other mechanisms, such as the ServletContext. So I would create a directory called config under

RE: tomcat 4.1.18/24 unstable (UPDATE)

2003-05-29 Thread Shapira, Yoav
Howdy, Thanks for posting the update. Yoav Shapira Millennium ChemInformatics -Original Message- From: joseph lam [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 10:18 PM To: Tomcat Users List Subject: Re: tomcat 4.1.18/24 unstable (UPDATE) I just found out what caused the

Re: placement of properties files

2003-05-29 Thread Timothy Stone
Shapira, Yoav wrote: Howdy, I agree with under WEB-INF as that's a directory the servlet container will protect for you. I don't like to put configuration information on the classpath however. I prefer to access them via other mechanisms, such as the ServletContext. So I would create a

Re: jkjni.so binary?

2003-05-29 Thread Rick Roberts
Pascal, I installed the RPMs that you listed. Tomcat4 runs fine as standalone. Apache2 gives the error that it can't find mod_jk2.conf because the httpd2.conf Includes it, but it does not yet exist. Can you give me a simple example of mod_jk2.conf, maybe just enough to get Apache to connect to

RE: placement of properties files

2003-05-29 Thread Shapira, Yoav
Howdy, Good options all. I was leaning towards /WEB-INF/. I like Yoav's suggestion for the more pure organizational aspect. However, could one also just: InputStream is = ServletContext.getResourceAsStream( /WEB-INF/a.props); ? One could, sure. And if you have a small system / few files,

RE: CharConversionException: isHexDigit

2003-05-29 Thread Roberts, Eric
I bet it could be a rare browser. Closed environments are very rarely closed - in our company we are only provided with our own in-house modified version of IE6 - but we work in IT and Telecoms, so Netscape, Opera, etc can be found all over the place - because we can :) -Original

RE: CharConversionException: isHexDigit

2003-05-29 Thread Shapira, Yoav
Howdy, When I was saying 100% of my hits are from either IE5.5 or IE6 on Windows 2000 I meant exactly that, having analyzed the logs programmatically (webalizer) and manually (using awk) and not found any user agents not on the above short list. But I will keep looking ;( I wish exceptions in

Re: jkjni.so binary?

2003-05-29 Thread Chong Yu Meng
Hi Rick ! Ahhh! Now you're getting somewhere ! I remember when I first encountered those messages -- it was hot and stuffy -- but I digress ... Ok, the mod_jk2.conf I use is an empty file. You don't really need it, and I suppose you could safely comment out the Include line. You may need it

HttpProcessor not freeing back to pool

2003-05-29 Thread Bill Tomlinson
We've started having a problem with HttpProcessors not being freed up. We're runing tomcat in standalone mode and it starts up fine and creates about 28 HttpProcessor threads and runs for several days without any problems, then we see this in the catalina_log: 2003-05-27 16:09:38

tomcat install

2003-05-29 Thread electroteque
hi guys , i'm new to tomcat , so hello , i'm an experienced php developer wanting to move to java , i have attempted to install tomcat via source and found it painful compared to the trio apache/php/mysql , i'm in the default build.properties file and there is a heap of libraries i need to

RE: tomcat install

2003-05-29 Thread Shapira, Yoav
Howdy, How about starting with the binaries? Download tomcat 4.1.24 binary from here: http://jakarta.apache.org/site/binindex.cgi Then just unpack it (make sure to use GNU tar to untar if you download the .tar.gz distribution) and you're ready to go. Worry about building from source only if

RE: Tomcat Load Balancing w/out Apache

2003-05-29 Thread Angus Mezick
We currently use a jdbc session manager to allow tomcat to share sessions across 5 servers using a pair of local directors. --Angus -Original Message- From: Jeremy Nix [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 8:59 AM To: [EMAIL PROTECTED] Subject: Tomcat Load Balancing

RE: Oracle Type 4 Driver

2003-05-29 Thread Schwartz, David (CHR)
Jason - I got the oracle files saved them as jar's in my classpath (web-inf/classes). when I compile the sample class get this... C:\tomcat\webapps\myfirst\WEB-INF\classesjavac Employee.java Employee.java:22: package oracle.jdbc.driver does not exist DriverManager.registerDriver(new

tomcat4.1 include problems

2003-05-29 Thread Jan Pknk
Hi, I have a strange problem with tomcat4 (version 4.1) and include directives. Operating system is windows2000. When I use include directive on page, and in the included file is another include directive, tomcat compiles the page every time it is called. The same problem I have with Struts

web site not responding error message. help !

2003-05-29 Thread DominskiS
Dear Tomcat People, Today starting my 2nd day of Tomcat. I deleted all the Tomcat files from yesterday's experience and started over. 1) set the JAVA_HOME environment variable under Preferences in My Computer 2)Created a Tomcat directory 3) downloaded the Tomcat 5 to the newly created Tomcat

RE: placement of properties files

2003-05-29 Thread Larry Meadors
I did that for a while but changed when teting them became difficult. By putting them in the classpath, you can test without any monkey-business (tech. term) to get the ServletContext, and the class that gets the config is also not coupled to servlets, so I can use it for a swing app, or command

RE: tomcat4.1 include problems

2003-05-29 Thread Shapira, Yoav
Howdy, I haven't seen your problem personally, so I can't help much, but I'm curious: how do you know tomcat is recompiling the included page every time? Yoav Shapira Millennium ChemInformatics -Original Message- From: Jan Pekník [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 28, 2002

RE: tomcat install

2003-05-29 Thread electroteque
hmm ok i cant seem to find it now bt aparantly the binary needed something else to be compiled in or something ?? well anyway i did try to startup a binary but how do i change the default port ? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003

Tomcat IP help

2003-05-29 Thread Christian Fredrickson
I have a Tomcat server (v. 4) running on a Windows 2000 server. It has 2 NICs with separate IP addresses. It also runs IIS. I have set IIS to run on one address and Tomcat on another. I used the Server.xml file and set the connector tags with a address=n.n.n.n value in order to have it start on

RE: is tomcat..... ?

2003-05-29 Thread Kannan Sundararajan
And it needs to support J2EE also. -Original Message- From: Werner van Mook [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 6:04 AM To: Tomcat Users List Subject: Re: is tomcat. ? On Wednesday, May 28, 2003, at 10:56 PM, Syed Nayyer Kamran wrote: Hi there, I want to

RE: placement of properties files

2003-05-29 Thread Shapira, Yoav
Howdy, We actually hold the configuration in a bean-like class. We have a configurator utility class that exposes a couple of configure methods: one that takes a ServletContext, another an InitialContext, another a filesystem path to config directory. So we can (and do, in production) use the

RE: tomcat install

2003-05-29 Thread electroteque
Download the jk2 shared library for you version of apache and copy it in /usr/local/apache/modules (create the directory if necessary). If you can't find a suitable version of jk2 ask it to the tomcat-user mailing list or download the source and build it yourself (this is another HOWTO). Create,

RE: tomcat install

2003-05-29 Thread Shapira, Yoav
Howdy, You don't need to compile anything with the binary. You just unpack it, go to the bin directory, and type startup.sh (or startup.bat on windows). That's it. To change the default port, edit $CATALINA_HOME/conf/server.xml. See the configuration reference documentation for details. Yoav

RE: tomcat install

2003-05-29 Thread electroteque
ok i found the jk2 http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/doc/ but nowhere to download :\ plus the link is broken -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 12:11 AM To: Tomcat Users List Subject: RE: tomcat

RE: tomcat install

2003-05-29 Thread Shapira, Yoav
Howdy, Oh, I'm sorry. I thought you were trying to run tomcat standalone. That's why I said you don't need to compile anything. For the Apache connectors, you might need to compile stuff, as the docs say. Yoav Shapira Millennium ChemInformatics -Original Message- From: electroteque

RE: tomcat install

2003-05-29 Thread electroteque
thats the thing there are a tonne of references to ports in server.xml which one is it i already looked :\ -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 12:28 AM To: Tomcat Users List Subject: RE: tomcat install Howdy, You don't need to

mod_jk2 - catch html, images with Alias?

2003-05-29 Thread Lars Nielsen Lind
Hi. How do I catch html, images etc with an Alias in httpd.conf? Lars Nielsen Lind

Re: DB Connection

2003-05-29 Thread Martin Jacobson
Munteanu Gabriel wrote: Guys, this is very interesting discussion. I have read all the posts. I still have another problem. What about VERY large Result Sets? I have a portal with 1 000 000 records[books related]. When the user searches for romance, there are more than 200 000 records returned. I

RE: Tomcat IP help

2003-05-29 Thread John Roth
IIS always starts on all IP addresses (0.0.0.0), port 80 by default. Verify that IIS is set to use address A.A.A.A and that the TC connector address=B.B.B.B port=whatever. You can verify which addresses are being used by the following: 1. Stop Tomcat and IIS 2. From a DOS prompt, run the

byte serving PDF with PDF file in Oracle

2003-05-29 Thread Zhen Cua
Hello All, Good day, I need to support Byte Serving PDF files, but the PDF files are stored in Oracle server. I can write a standalone program that will retrieve the Byte range specified in the HTTP Request, however, I need to be able to intercept the request from Tomcat(i.e. check if its

Re: HttpProcessor not freeing back to pool

2003-05-29 Thread Sourabh Kulkarni
Hi Bill, I had faced a similar problem sometime back. What I had found was that the problem was in our code. We weren't closing the IOStreams properly. This prevented the HttpProcessor from getting released back to pool. After doing that the problem was almost gone. Also, I shifted to

Conclusion : mod_jk2 + JNI channel + Linux

2003-05-29 Thread Chong Yu Meng
To those trying to configure mod_jk2 for channel JNI, here are my findings : 1. There are some significant naming differences -- by this, I mean that the conventions used by the developers of mod_jk2 are somewhat different from the stock binary installs of Tomcat. This is the cause for so much

Re: tomcat install

2003-05-29 Thread Chong Yu Meng
Greetings ! If you are new to Tomcat, and you're on a Linux platform, you might want to check out my write-up, which is a tutorial that you can follow. It is at : http://linux-sxs.org/internet_serving/tomcat4.1x.html I am in the process of updating it with sections on mod_jk2 and error pages,

Tomcat STILL freezing - time to look at another app server?

2003-05-29 Thread Hunter, Sandra
Well this issue continues. Code has been commented, logged, oracle permissions all tickety boo, no locks. It really is intermittent, and in my opinion seems to be somewhat related to network traffic. I talked to one of the tech guys and he seemed to think I was nuts. It never happens at night or

Apache/Tomcat Configuration Problem

2003-05-29 Thread Johannes Lietz
This is a minor problem, but I have no idea yet: In httpd.conf I configured VirtualHosts with a DocumentRoot like this: VirtualHost * ... DocumentRoot /usr/local/bin/tomcat/webapps ... Location /*.jsp JkUriSet worker ajp13:localhost:8009 /Location Location ~

Forwarding an Apache request to a seperate machine running Tomcat....newbie here1

2003-05-29 Thread Eric fiedler
Hi - I have been all over the net trying to find examples of how to do this and am having a really hard time finding good documentation I have machine 'A', running Apache, hosting a website. I have machine 'B', running Tomcat, running a separate site consisting of jsp's and servlets. I

Getting Dynamic Container information

2003-05-29 Thread James Lewis
Hello, I am trying to retrieve information about the container at the moment and am running into some problems. I am building a page that will hopefully be used to display information such as number of active sessions, current number of HTTP processors in the pool etc. Does anyone know a method

WAR files not unpacking automatically

2003-05-29 Thread Wendy Smoak
Tomcat 4.1.24 on HP-UX 11. I have this in server.xml: !-- Define the default virtual host -- Host name=example.com debug=0 appBase=webapps unpackWARs=true autoDeploy=true The permissions look okay: # pwd /opt/hpws/tomcat/webapps # ll ben* -rwxrwxrwx 1 wwwother 3090939 May 28

RE: Tomcat STILL freezing - time to look at another app server?

2003-05-29 Thread Shapira, Yoav
Howdy, That's unfortunate ;( I've had tough issues that appeared to be random (like your network traffic hypothesis) and were very difficult to debug ;( I've tried many many containers / app servers, and always come back to tomcat. This was even before I started contributing to tomcat's

RE: Getting Dynamic Container information

2003-05-29 Thread Shapira, Yoav
Howdy, So you would make your webapp container-specific? If you wait for tomcat5, you can do this via JMX ;) If you want to do it with tomcat4, search the archives: I answered this question and gave a code example (getting the Server, then the Hosts, etc.), about a month ago. It should be in

RE: Tomcat IP help

2003-05-29 Thread Christian Fredrickson
IIS is configured to only run on it's specified address belonging to one of the NICs. Tomcat is set to the address of the opposite NIC. It is Tomcat that runs on all addresses, not IIS. Chris -Original Message- From: John Roth [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 8:33

Re: Tomcat STILL freezing - time to look at another app server?

2003-05-29 Thread Chong Yu Meng
I always tell the younger engineers that computers are sentient beings in so far as they can smell fear and inexperience. A newly hired engineer may run into trouble even if he followed the step by step instructions to the letter. And strange stuff can happen to him/her on shift. But on to

Re: Oracle Type 4 Driver

2003-05-29 Thread Jason Bainbridge
On Wed, 28 May 2003 22:16, Schwartz, David (CHR) wrote: Jason - I got the oracle files saved them as jar's in my classpath (web-inf/classes). when I compile the sample class get this... They need to go into WEB-INF/lib instead, also make sure your WEB-INF is in caps plus at compile time the

RE: Tomcat STILL freezing - time to look at another app server?

2003-05-29 Thread Hua Hou
Tomcat may be freezing when it's doing full GC. I've been watching this by turning on -verbose:gc option. Sometimes it was taking Tomcat 3 minutes to perform the full GC, during which period Tomcat will be freezing, all requests will be queued and not processed. -Original Message- From:

RE: Tomcat STILL freezing - time to look at another app server?

2003-05-29 Thread Shapira, Yoav
Howdy, GC behavior is not tomcat-specific. It's the JVM that's doing the GC, and if you have a stop-the-world full GC algorithm triggered, then everything in the JVM will stop. Again, not related to tomcat. Bad GC tuning will bite you on every server. Yoav Shapira Millennium ChemInformatics

Tomcat/Java compiler error

2003-05-29 Thread David Reche Martinez
Hi all, I have tomcat-4.1.24 and I'm trying to test a very simple jsp that use a JavaBean: ** -- HolaMundo.jsp %@ page language=java % %@ page import=UserBean % jsp:useBean id=usr scope=page class=UserBean jsp:setProperty name=usr property=loginvalue=pepe / jsp:setProperty name=usr

Re: CharConversionException: isHexDigit

2003-05-29 Thread Jason Bainbridge
On Wed, 28 May 2003 21:53, Shapira, Yoav wrote: When I was saying 100% of my hits are from either IE5.5 or IE6 on Windows 2000 I meant exactly that, having analyzed the logs programmatically (webalizer) and manually (using awk) and not found any user agents not on the above short list. User

Re: is tomcat..... ?

2003-05-29 Thread Jason Bainbridge
On Wed, 28 May 2003 22:25, Kannan Sundararajan wrote: And it needs to support J2EE also. Sure for it to be a J2EE Web Application Server it does but just because Tomcat is only a Servlet and JSP container doesn't mean it isn't a Web Application Server, not all web application servers even run

Tomcat JNDIRealm subtree role enumeration

2003-05-29 Thread Markus Van Heerden
Hi All, Question: Does tomcat enumerate the values of attributes back up the sub-tree if it finds an entry [in the LDAP schema] at a lower layer, or does it only(strictly) give back the value of the attribute of the specific entry that it found? Background: We have an LDAP schema that is

Tomcat help needed getting started !

2003-05-29 Thread DominskiS
Dear Tomcat People 1) I set the JAVA_HOME environment variable under Preferences in My Computer 2)Created a Tomcat directory 3) downloaded the Tomcat 5 to the newly created Tomcat directory 4) extracted the startup files under the bin folder 5) tried to verify the service is running by typing

Re: web site not responding error message. help !

2003-05-29 Thread Jason Bainbridge
On Wed, 28 May 2003 22:19, [EMAIL PROTECTED] wrote: 4) extracted the startup files under the bin folder ??? You mean you extracted the whole of Tomcat 5 don't you? Just extracting the startup files won't come close to working. 5) tried to verify the service is running by typing in A

RE: Tomcat/Java compiler error

2003-05-29 Thread Shapira, Yoav
Howdy, UserBean needs to be in a package. See http://tomcatfaq.sourceforge.net/classnotfound.html Yoav Shapira Millennium ChemInformatics -Original Message- From: David Reche Martinez [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 12:12 PM To: [EMAIL PROTECTED] Subject:

RE: CharConversionException: isHexDigit

2003-05-29 Thread Shapira, Yoav
Howdy, User agents aren't 100% reliable and I think I remember something about Opera identifying itself as IE by default at one stage. Often when you're using an alternative browser you come across a site that insists on using IE so you change your user agent so you can use the site but forget

RE: Tomcat help needed getting started !

2003-05-29 Thread Kannan Sundararajan
After 4th step, you need to start Tomcat Server. (or) you can also start from bin directory .. use startup.bat -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 12:24 PM To: [EMAIL PROTECTED] Subject: Tomcat help needed getting started !

RE: is tomcat..... ?

2003-05-29 Thread Kannan Sundararajan
Please check in www.ibm.com or www.bea.com for the application server. They have nice information about the application server and you might get the idea what application server and what web server might be. -Original Message- From: Syed Nayyer Kamran [mailto:[EMAIL PROTECTED] Sent:

RE: is tomcat..... ?

2003-05-29 Thread Kannan Sundararajan
I dont want to confuse with web application server :) .. I would go with either webserver or appserver. Not the COMBO :) -Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 12:20 PM To: Tomcat Users List Subject: Re: is tomcat. ? On Wed,

Re: Tomcat help needed getting started !

2003-05-29 Thread DominskiS
After 4th step, you need to start Tomcat Server. (or) you can also start from bin directory .. use startup.bat Dear Sir, I went to windows explorer and saw the directory structure C: Tomcat jakarta-tomcat-5 dist bin In the bin directory I clicked on run the

RE: CharConversionException: isHexDigit

2003-05-29 Thread Cox, Charlie
couldn't you set up an error-page that only runs for this exception and then print out the parameters from that page? Or does the request not get that far? If not write a valve/responseWrapper that catches response 500 errors and act upon it. Alternatively you could create your own

deploy in 4.1.24

2003-05-29 Thread Paul Christmann
I'm upgrading from 4.1.12-LE to 4.1.24-LE, and have found what appears to be a change in behavior from the deploy and undeploy tasks in catalina-ant.jar. In 4.1.12, the webapp appeared to be deployed to TOMCAT_HOME/work/standalone/localhost/webapp. It was not placed in the

Re: Tomcat help needed getting started !

2003-05-29 Thread Jason Bainbridge
On Thu, 29 May 2003 00:45, [EMAIL PROTECTED] wrote: However I did set the JAVA_HOME environment variable under Preferences in My Computer to j2sdk1.4.0_03 That should be C:\j2sdk1.4.0_03 assuming it is on C: drive. Regards, -- Jason Bainbridge KDE Web Team - http://kde.org [EMAIL PROTECTED]

Re: Tomcat help needed getting started !

2003-05-29 Thread John Turner
Let's take a step back...Tomcat 5 is not ready for regular use, and you seem to be a newbie to Tomcat. I would highly recommend and strongly suggest that you try using Tomcat 4.1.24 instead. John On Wed, 28 May 2003 12:45:34 EDT, [EMAIL PROTECTED] wrote: After 4th step, you need to start

Re: mod_jk.log errors

2003-05-29 Thread John Turner
Search in server.xml for '8009' and see how many times it comes up, and whether each occurence is enabled or disabled. John On Wed, 28 May 2003 14:51:38 +0200, Marco Laponder [EMAIL PROTECTED] wrote: It must be in the tomcat4 configuration as when I call netstat -na | grep 8009 I get no

Re: tomcat install

2003-05-29 Thread John Turner
Also http://www.johnturner.com/howto and http://tomcatfaq.sourceforge.net John On Wed, 28 May 2003 23:02:23 +0800, Chong Yu Meng [EMAIL PROTECTED] wrote: Greetings ! If you are new to Tomcat, and you're on a Linux platform, you might want to check out my write-up, which is a tutorial that

Re: Apache/Tomcat Configuration Problem

2003-05-29 Thread John Turner
You're saying that if you make your DocumentRoot webapps/ROOT that Apache doesn't serve content in that directory? What error message does Apache display? The ROOT webapp is special as far as Tomcat is concerned. John On Wed, 28 May 2003 17:28:57 +0200, Johannes Lietz [EMAIL PROTECTED]

Re: Tomcat help needed getting started !

2003-05-29 Thread DominskiS
Let's take a step back...Tomcat 5 is not ready for regular use, and you seem to be a newbie to Tomcat. I would highly recommend and strongly suggest that you try using Tomcat 4.1.24 instead. John Can I download the Tomcat 4.1.24 or do I need to delete the Tomcat 5 first ? Thank you in

Taglib using BodyTagSupport

2003-05-29 Thread Edson Alves Pereira
Hello folks, i´m using tomcat-4.1.18 and i tried to create a tag that would read its body and do some work. But bodyContent always cames null, i´m following this example: package com.acme.tag; import javax.servlet.jsp.*; import javax.servlet.jsp.tagext.*; import javax.naming.*; import

Re: Forwarding an Apache request to a seperate machine running Tomcat ....newbie here1

2003-05-29 Thread John Turner
On Wed, 28 May 2003 11:28:28 -0400, Eric fiedler [EMAIL PROTECTED] wrote: I have read numerous posts that say I basically have two options: mod_jk or mod_proxy. Seeing as machine 'b', the Tomcat machine, will host the static documents associated with its site...I think mod_proxy is the best

jk connector and host name

2003-05-29 Thread Noel Rappin
I'm setting up an apache connector using jk2, and there's one weird thing. If I hit the apache site with http://localhost/myapp the request passes to tomcat, but gets rewritten to http://my.hostname.com/myapp. This is harmless on localhost, but is a problem on another test lab where

Re: Tomcat help needed getting started !

2003-05-29 Thread Jason Bainbridge
On Thu, 29 May 2003 01:21, [EMAIL PROTECTED] wrote: Let's take a step back...Tomcat 5 is not ready for regular use, and you seem to be a newbie to Tomcat. I would highly recommend and strongly suggest that you try using Tomcat 4.1.24 instead. Good idea. :) Can I download the Tomcat

Re: Tomcat help needed getting started !

2003-05-29 Thread DominskiS
On Thu, 29 May 2003 00:45, [EMAIL PROTECTED] wrote: However I did set the JAVA_HOME environment variable under Preferences in My Computer to j2sdk1.4.0_03 That should be C:\j2sdk1.4.0_03 assuming it is on C: drive. . Thank you for the correction . I went back to My Computer preferences

Re: Apache/Tomcat Configuration Problem

2003-05-29 Thread Johannes Lietz
Sorry, I was mistaken: I've got several webapps under tomcat/webapps and one virtualhost. Let's say I've got app1 and app1/image.gif. If I call: http://localhost/app1/image.gif Apache will look for: /usr/local/bin/tomcat/webapps/app1/image.gif and everything is perfect. Then I've

Re: Oracle Type 4 Driver

2003-05-29 Thread Emerson Cargnin
the classes12.zip (or jar) have a sucessor, it's the ojdbc.jar, but it needs jdk1.4. I don't remember tight now the advantages of the new driver, but i rmember there are some. the nls_charset12.zip (or jar) are intended to make the converstion between differents encondings.. Jason Bainbridge

RE: Tomcat STILL freezing - time to look at another app server?

2003-05-29 Thread Hunter, Sandra
I am not able to reproduce the problem reliably: that's what is making me crazy. It happens when things are being inserted to the database but never on the same page, never everytime, doesn't matter what else I am doing or what else has been done. No one else is accessing this database right now

Content type problem

2003-05-29 Thread Reynir Hübner
Hi, I have a content-type problem... I have a website where most urls are not with an file ending such as .jsp that is most urls are something like this : http://website.com/news http://website.com/staff http://website.com/news/12/05/2003 This is done by urlrewriting with a filter. The

building mod_proxy Apache 1.3

2003-05-29 Thread Eric fiedler
Has anyone who has integrated Apache and Tomcat built mod_proxy by any chance? My documentation on the Jakarta tomcat proxy hot-two document says to run the following command. I am on a Solaris machine: ./configure --enable-module=proxy This creates a file called mod_proxy.o; not

RE: Tomcat help needed getting started !

2003-05-29 Thread Robert Priest
However I did set the JAVA_HOME environment variable under Preferences in My Computer to j2sdk1.4.0_03 Is it not set to just : j2sdk1.4.0_03, is it? You have to set it to the path to that directory (including the dir name)... it should be set to (for example if it was installed on your

JSDK/JRE

2003-05-29 Thread Noel Rappin
Sorry if this is an FAQ, but I can't find the exact information anywhere. I see that Tomcat requires a JDK, not a JRE to enable compilation of JSP pages. Is there any reasonable way to run off a JRE? Are there any license issues involved in distributing the JDK as part of a web application

Create a new lib folder

2003-05-29 Thread Mark Irvine LCGI
Hi, I am trying to get the send mail example working, and previous questions I asked, discovered that the mail.jar and activation.jar files need to be in a lib folder. It is also my understanding that this lib folder can be local to the application of global. When the file are in the common\lib

RE: JSDK/JRE

2003-05-29 Thread Koes, Derrick
If you use SUN, http://servlet.java.sun.com/help/legal_and_licensing/#63 -Original Message- From: Noel Rappin [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 2:15 PM To: Tomcat Users List Subject: JSDK/JRE Sorry if this is an FAQ, but I can't find the exact information

Re: Tomcat STILL freezing - time to look at another appserver?

2003-05-29 Thread Jeff Tulley
My guess is the memory. I haven't been following your previous posts so I don't know how memory intensive your application is, or how much traffic you are getting, but 256 MB seems like too little, especially since Tomcat is only going to get a small portion of it. What are your JVM -Xmx

Re: JSDK/JRE

2003-05-29 Thread Jason Bainbridge
I believe there are licensing issues with distributing the JDK but not with the JRE, although theoretically you could just get the client to download the JDK I really don't see the point of that myself... Do you use JSP's in your webapp? If you do I think if you pre-compile all of them prior

getUserPrincipal() returning null after authenticated

2003-05-29 Thread Brian K Bonner
Hello, I'm seeing something wierd with 4.1.24. If I access an unprotected resource after I am authenticated, I receive null from getUserPrincipal(). I am using the Coyote Http 1.1 connector, although I've tried it with the old catalina Http 1.1 connector. Here's the test case: 1) access the

Re: Tomcat STILL freezing - time to look at another app server?

2003-05-29 Thread Carl
I have had a problem that sounds very similar many times (I don't learn very fast.) In all my cases, the problem was running the connection pool out of connections because I wasn't freeing the connections in c couple of places. The fact that it occurs when trying to insert something into the data

RE: WHY IS IT GIVING ME SERVLET NOT AVAILABLE?

2003-05-29 Thread Paolo Chiarotto (LCL)
I am having troubles that soudn like this too. Where does this DummyInvoker go? And can anyone shed a little more light on the reason this happens? I am assuming the reply here doesn't include all the information we need to know. Paolo. -Original Message- From: Holger Klawitter

Re: Tomcat STILL freezing - time to look at another app server?

2003-05-29 Thread John Turner
Other things it might be: database server trying to log, thrashing on the db server, lack of an index, corrupted index, and the ever-popular DNS timeout. John On Wed, 28 May 2003 10:48:45 -0700, Hunter, Sandra [EMAIL PROTECTED] wrote: I am not able to reproduce the problem reliably: that's

Re: WHY IS IT GIVING ME SERVLET NOT AVAILABLE?

2003-05-29 Thread John Turner
There's no such thing as DummyInvoker. It was just a hypothetical scenario/suggestion from the previous poster. If you need to use the Invoker servlet that comes with Tomcat (not recommended), simply enable it in web.xml. Check the web.xml file in the /examples webapp for more information.

Re: building mod_proxy Apache 1.3

2003-05-29 Thread John Turner
Well, that configure command shouldn't do anything at all to mod_proxy. That looks like a configure command to build Apache. In general, when using GNU autoconf (of which configure is a part), the steps are: ./configure --some-option-here=the-value-of-the-option make make install John On

RE: WHY IS IT GIVING ME SERVLET NOT AVAILABLE?

2003-05-29 Thread Paolo Chiarotto (LCL)
Thanks, I just found it (read back some earlier posts -- should have looked before posting). Why is it not recommended? Paolo. -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 2:49 PM To: Tomcat Users List Subject: Re: WHY IS IT GIVING ME

Re: Apache/Tomcat Configuration Problem

2003-05-29 Thread John Turner
DocumentRoot /usr/local/bin/tomcat/webapps/ROOT If / = ROOT, there shouldn't be any content in /usr/local/bin/tomcat/webapps at all, static or not. John On Wed, 28 May 2003 19:41:27 +0200, Johannes Lietz [EMAIL PROTECTED] wrote: Sorry, I was mistaken: I've got several webapps under

Re: WHY IS IT GIVING ME SERVLET NOT AVAILABLE?

2003-05-29 Thread John Turner
http://marc.theaimsgroup.com/?l=tomcat-userm=103417249925541w=2 John On Wed, 28 May 2003 14:51:25 -0400, Paolo Chiarotto (LCL) [EMAIL PROTECTED] wrote: Thanks, I just found it (read back some earlier posts -- should have looked before posting). Why is it not recommended? Paolo.

File Permissions in WAR Files

2003-05-29 Thread Schacht, Tyler
When tomcat extracts my .war file, insufficient file permissions are applied to the folders/directories. I use an apache connector and my site is unavailable due to apache having insufficient permissions to acess the directories. If I then go in and hand chmod the files/folders, the site works

Re: HttpProcessor not freeing back to pool

2003-05-29 Thread Justin Ruthenbeck
Each of the HttpProcessor's are separate Threads running in the JVM, so something is hanging (most likely in your code) and never returning the Processor to the pool. Try getting a Thread dump (Ctrl-Brk) and see where these threads are hanging at ... it'll probably be obvious from that.

Re: File Permissions in WAR Files

2003-05-29 Thread Jason Bainbridge
On Thu, 29 May 2003 02:59, Schacht, Tyler wrote: When tomcat extracts my .war file, insufficient file permissions are applied to the folders/directories. I use an apache connector and my site is unavailable due to apache having insufficient permissions to acess the directories. If I then go

tomcat shutdown issue

2003-05-29 Thread Steven Garrett
Hi, I'm using RH9 and have installed tomcat 4.1 on my system. It starts up ok, i think (at least I don't get any warning messages). But when I try to shutdown the server, I get the following: log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax).

Tomcat Startup Hanging

2003-05-29 Thread Mark Irvine LCGI
Hi, When starting Tomcat using catalina run, the startup process appears to hang: Using CATALINA_BASE: C:\jakarta-tomcat Using CATALINA_HOME: C:\jakarta-tomcat Using CATALINA_TMPDIR: C:\jakarta-tomcat\temp Using JAVA_HOME: C:\j2sdk1.4.1 28-May-2003 20:19:57

  1   2   3   >