Trouble with Logger.Helper

2002-07-14 Thread ope
I am trying to work with the Tomcat Logging facilities but am having trouble with the verbosity settings. I know its something simple but I just can't find out what I am doing wrong. The problem is that every logging message gets written to the logs no matter what verbosity I have set in

RE: Re: deploy manager task in ant

2002-07-14 Thread Clay Graham
ok, it was hard to follow what you were asking but let me just attach my ant directives... !-- Configure the context path for this application -- property name=projname value=test / property name=project_dir value=/home/clay/projects/${projname} / property name=path value=/${projname}/

Re: Please HELP! Need a help with REQUEST object!

2002-07-14 Thread Bill Barker
You can use the request.setCharacterEncoding method in TC 4.x (or any other 2.3 container) before requesting the parameters. However, it will probably be more successful if you is an ISO charset (e.g. iso-8859-2). If you don't need to have the 2.3 servlet spec features, I'd recommend trying

deny to access the static context

2002-07-14 Thread Serdar BOZDAG
hi, i want to deny the access a folder under the static contexts (webapps\ROOT\Melodies for insance) when entered http://www.xx.com/Melodies, I do not want to show the content of this folder. is it possible? thanks serdar

Re: Please HELP! Need a help with REQUEST object!

2002-07-14 Thread Irina Lishchenko
Hi everybody again! I have found the solution for my problem and want to share my experience with Tomcat Users List because it may be useful for somebody else The point is that the default encoding behaviour of request object in ApacheJServ case provided a right recognition for characters

re:error message: 'user tomcat4 does not exist'

2002-07-14 Thread young92
snip Tomcat4 was running well on my Linux PC untl I reinstalled mod_perl and tried to install Apache. Now when I login as su (root) and type the command: /etc/rc.d/init.d/tomcat4 start I get the message: Starting tomcat4: chown: 'tomcat4:tomcat4': invalid user chown: 'tomcat4:tomcat4': invalid

Re: error message: 'user tomcat4 does not exist'

2002-07-14 Thread Ben Walding
While it works if you run as root, you're better off not doing that. The less privileges you give to your processes the better, if something goes wrong in your application or tomcat, the most damage it can do is to itself. If you give it root privileges, it can do anything it wants to the

Session tracking problem with Tomcat 4.0.3, Apache 2.0.39 and mod_proxy

2002-07-14 Thread Rick Mills
Hi I am experiencing a problem with session tracking when using Apache 2.0.39's mod_proxy module to connect to my Tomcat 4.0.3 instance. I have a servlet which checks to see if a session exists, and if not, creates a new session. When testing on a standalone instance of Tomcat, all works as

Re: Tomcat w/ Apache Configuration Issues == Please Help

2002-07-14 Thread Nikolas A. Rathert
I am having two major problems: 1) Although our JSPs run correctly, neither the list nor the manager contexts do. You have to define a user and a role in tomcat-users.conf like this: 2) Tomcat is apparently intercepting ALL httpd requests. For example, the address

Re: Tomcat w/ Apache Configuration Issues == Please Help

2002-07-14 Thread Nikolas A. Rathert
Hi, my first was to fast (CRTL+Enter). :) I am having two major problems: 1) Although our JSPs run correctly, neither the list nor the manager contexts do. You have to define a user and role like this: user name=administrator password=adminpass roles=manager/ 2) Tomcat is

Re: error message: 'user tomcat4 does not exist'

2002-07-14 Thread Eddie Bush
Oh no! You don't want to do that! Then (if there is some vulnerability in Tomcat) a malicious user could do whatever they want to! Don't do this on a production box! Don't do this on any box that has any importance at all - ie information you don't want hosed! [EMAIL PROTECTED] wrote:

Re: deny to access the static context

2002-07-14 Thread Eddie Bush
Assuming Apache handles your static content (ie TC + Apache + mod_jk) that's an Apache configuration question. ... but it's really hard to know what your options are unless you actually tell us what your configuration is (what, precisely, are you using to serve those files?). Serdar BOZDAG

Re: deny to access the static context

2002-07-14 Thread Serdar BOZDAG
I am giving detailed information about my server and paraphrase my question: I am using tomcat standalone as server. (version 4.0.4) when a user enters http:\\www..com/Melodies\melody1.au it can listen but http:\\www..com\Melodies s/he will not avble to see all my melodies. thanks in

Re: deny to access the static context

2002-07-14 Thread Eddie Bush
Do you have an index (from your web.xml welcome-file-list) page in the directory Meodies? It sounds like you do not. That would be required. Not only do you need to have the index, but you also need to have it specified in the welcome-file-list section of your web.xml. Serdar BOZDAG wrote:

Re: deny to access the static context

2002-07-14 Thread Serdar BOZDAG
i think i don't. i am new at this tomcat staff could you give more precise information about this index file and by the way i have another question about opening a new port (85 for instance) for another application. what changes will i do in the configuration. (please give example) thanks serdar

Re: Directory Index

2002-07-14 Thread Nathan Smith
JSP files are handled by default by the tomcat container's own web.xml file so take a look at that, you might be able to put your own mapping into your web application's web.xml file. Also to use a *.jsp as a welcome file you just include this piece of code:

Re: how to make tomcat faster

2002-07-14 Thread Joe Schiavone
HOST your production using a UNIX box. I recommend Solaris x86. However, a good tightly configured linux machine would suffice too. If you can swing it, get dual cpu's and max memory. reguards, joe hi, i have been developing using Tomcat 4.0.1.. and i hv had no problems about that. Now i

Re: deny to access the static context

2002-07-14 Thread Eddie Bush
Ok - a few basics. You want, for each application, the same basic skeleton - I'll use my-app as a generic application name $TOMCAT_HOME/webapps/my-app -- AKA - the Root Directory for this application. This is where your HTML, JSP files go -- as well as any other direcories you want.

jdk1.4 vs jdk1.2

2002-07-14 Thread Luminous Heart
Tomcat 4.1.7 fails to compile any jsp files giving some stupid error about handleException. If I change the JDK to 1.2 everything works fine. Is tomcat4.1.x allergic to jdk1.4? __ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes

RE: jdk1.4 vs jdk1.2

2002-07-14 Thread Clay Graham
I know that tomcat 4.1.x is not allergic to jdk1.4, it is what I am running. (4.1.3 jdk1.4) the devil of course my friend is in the details, what exactly is your stupid error... clay -Original Message- From: Luminous Heart [SMTP:[EMAIL PROTECTED]] Sent: Sunday, July 14, 2002

RE: jdk1.4 vs jdk1.2

2002-07-14 Thread Jacob Hookom
I'm running 4.0.4 with 4.1.7's jasper and commons packages with jdk1.4 installed. I had to make quite a few modifications to my application code (mainly in my own taglibs because of the difference in the way tag pooling handled my page execution). Also, you need to make sure any changes you

RE: jdk1.4 vs jdk1.2

2002-07-14 Thread Luminous Heart
Hope the log is not too excessive! == Error == HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from

RE: jdk1.4 vs jdk1.2

2002-07-14 Thread Luminous Heart
Here you go, just a peice of the error page. org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Compiling 1 source file /usr/local/tomcat/work/Standalone/localhost/_/index$jsp.java:276:

Re: Please HELP! Need a help with REQUEST object!

2002-07-14 Thread Irina Lishchenko
On Sunday 14 July 2002 09:57, you wrote: You can use the request.setCharacterEncoding method in TC 4.x (or any other 2.3 container) before requesting the parameters. However, it will probably be more successful if you is an ISO charset (e.g. iso-8859-2). This solution solve this problem too

Re: Please HELP! Need a help with REQUEST object!

2002-07-14 Thread Irina Lishchenko
my hands typing on the keyboard can't keep up with my thoughts:) Plus, sorry but it is very late here ;) On Sunday 14 July 2002 09:57, you wrote: You can use the request.setCharacterEncoding method in TC 4.x (or any other 2.3 container) before requesting the parameters. However, it will

RE: jdk1.4 vs jdk1.2

2002-07-14 Thread Clay Graham
it seems to me that your compiler is not being called. the root cause is probably your JAVA_HOME specification. secondly make sure you are pointing to the JDK1.4 not JRE1.4 because there is no javac in JRE... maybe helps you? clay -Original Message- From: Luminous Heart

RE: jdk1.4 vs jdk1.2

2002-07-14 Thread Luminous Heart
When I start tomcat I get these messages at the prompt: ../bin/startup.sh Using CATALINA_BASE: /usr/local/tomcat Using CATALINA_HOME: /usr/local/tomcat Using CATALINA_TMPDIR: /usr/local/tomcat/temp Using JAVA_HOME: /usr/local/j2sdk1.4.0 As you can see, JAVA_HOME is set to

RE: jdk1.4 vs jdk1.2 ==Here is the error page. MAYBE A DEVELOPER OF THIS THING WOULD KNOW!

2002-07-14 Thread Luminous Heart
HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP at

Re: jdk1.4 vs jdk1.2

2002-07-14 Thread Simon T
Hi, The problems with 4.1.7 and i fixed it by removing all the .class and .java in the $CATALINA_HOME/work directory. If they are exisiting jsp give it a go. Regards, Simon Luminous Heart wrote: When I start tomcat I get these messages at the prompt: ../bin/startup.sh Using

Re: how to make tomcat faster

2002-07-14 Thread mls
Joe Schiavone wrote: HOST your production using a UNIX box. I recommend Solaris x86. However, a good tightly configured linux machine would suffice too. Curious to know what advantage Solaris x86 offers versus Linux. Is it thread handling? das -- To unsubscribe, e-mail: mailto:[EMAIL

RE: jdk1.4 vs jdk1.2 ==Here is the error page. MAYBE A DEVELOPER OF THIS THING WOULD KNOW!

2002-07-14 Thread Andrew Conrad
Exception is a Throwable object, but Throwable is not necessarily an Exception. Check your inheritance. If your Throwable Object is an Exception, explicitly cast it as Exception in your code. if (pageContext != null) pageContext.handlePageException( (Exception) t); - Andrew -Original

Re: jdk1.4 vs jdk1.2

2002-07-14 Thread tomo tomo
I 've met same problem with you when I have updated jdk from 1.2.x to 1.4.x. It seems your bean's package which called from your jsp pages may be unnamed. As far as I know, the compiler in jdk1.4.x does not import unnamed packaged beans, but jdk1.2.x does. Tomo

Re: classpath problem

2002-07-14 Thread Brian Wolf
Andrew, Thanks, it seems to have resolved itself. Not sure how, but I have noticed a problem with conflicting jar files, ie in this case one was distributed for JDK1.4 and another for JDK1.2 Brian - Original Message - From: Andrew Conrad [EMAIL PROTECTED] To: 'Tomcat Users List'

RE: JNDI and/or pooling help (long post)

2002-07-14 Thread Vikramjit Singh
In tomcat 4.0.3 even i faced the same problem, in which i was getting DataSource = null. Then when i upgraded to TC 4.1.7, i got the DataSource object. Why dont you also upgrade and see. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 13, 2002

RE: Re: deploy manager task in ant

2002-07-14 Thread Sam Ewing
Hi Clay, Sorry for the lack of clarity. What I'm trying to do is deploy a web application, and I get the following execption. I checked file:D:/sam/build.xml:79: java.net.UnknownHostException: D My deploy task looks like this: target name=deploy description=Deploy web application

setenv.sh

2002-07-14 Thread Johnny
To all Tomcat users, In my Linux machine, it doesn't have the setenv.sh inside $TOMCAT/bin directory. How can I set up setenv.sh inside Tomcat? Is there any online reference site which I can refer to? Regards, Johnny.

Re: setenv.sh

2002-07-14 Thread Eddie Bush
I have none in mine either (TC 4.0.4). It seems to run fine though :-) Why is it needed? ... seriously. Johnny wrote: To all Tomcat users, In my Linux machine, it doesn't have the setenv.sh inside $TOMCAT/bin directory. How can I set up setenv.sh inside Tomcat? Is there any online

Re: jdk1.4 vs jdk1.2

2002-07-14 Thread Nikola Milutinovic
Tomcat 4.1.7 fails to compile any jsp files giving some stupid error about handleException. If I change the JDK to 1.2 everything works fine. Is tomcat4.1.x allergic to jdk1.4? Perhaps it is, that's why there is a Tomcat LE version, tailored for JRE 1.4. Nix.

Re: Session tracking problem with Tomcat 4.0.3, Apache 2.0.39 andmod_proxy

2002-07-14 Thread Liam Morley
Rick, I'm pretty sure that this is the same issue that I've experienced. First, try mapping to /bodypainting/ instead of /. See if you get a cookie there. Then, if you have a browser that allows you to inspect session cookies (mozilla is good for this), check the path of your session cookie.

Cobranding - Share Controller, Split View

2002-07-14 Thread August Detlefsen
I am currently developing several cobranded sites that share the same functionality. I want to be able to share the same set of servlets across multiple cobrands. I know I can treat the servlets as a separate webapp and deploy them to each separate host, but if I do this, will they be able to