display problem on tomcat 4 when 'dir' attribute is used

2004-06-05 Thread guy katz
hi; i have a simple JSP (written with JSF) which accepts a text input and outputs the input in a line below. also, i am using the 'dir' attribute with a rtl value. deploying this JSP on tomcat 5 and 4 yields 2 different results: on tomcat 4, the result of the outputed Text displays all the

HTTP header for dynamic pdf and IE6

2004-06-05 Thread Dean A. Hoover
I have a java web application that allows an end-user in their browser to download a file, which happens to be bytes stored in a database. In experimenting with how to do this, I have this snippet of code in my servlet: AttachmentListItem attachment =

mod_jk2 connector

2004-06-05 Thread Ricky
Hi All, I have difficulty to make mod_jk2 connector to work. :-( I try to use Unix Channel from this tutorial : http://cymulacrum.net/writings/tomcat5/c840.html The problems are: - Can not generated jk2.shm jk2.socket - Error in Catalina.out INFO: APR not loaded,

Using EL

2004-06-05 Thread Keith Hankin
I have a very simple JSP page that attempts to output the value of a variable using EL ${var} notation. However, it is just printing the ${var} literally. I am using Tomcat 5.0.19, and according to the JSP spec, since this supports 2.4 servlet spec, it should support EL by default. Anyhow, I tried

Re: mod_jk2 connector

2004-06-05 Thread Mark Lowe
Try commenting everything out in jk2.props, should get you connector working even if the jni stuff takes more work afterwards. Mark On 5 Jun 2004, at 12:23, Ricky wrote: Hi All, I have difficulty to make mod_jk2 connector to work. :-( I try to use Unix Channel from this tutorial :

Re: Using EL

2004-06-05 Thread Mark Lowe
Try %@ page isELIgnored=false % not % page isELIgnored=false % The tlds are in the jar files no need to have the tld's like traditional taglibs The below in your jsp should do the job. %@ page isELIgnored=false % %@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c % c:set var=test

Re: HTTP header for dynamic pdf and IE6

2004-06-05 Thread Mark Lowe
I've seen this before ;o) Try appending .pdf to the actual request. /myapp/pdfgen.do;iehack=.pdf I've seen this used in teh xplanner project. Mark On 5 Jun 2004, at 11:52, Dean A. Hoover wrote: I have a java web application that allows an end-user in their browser to download a file, which happens

UTF-8

2004-06-05 Thread Eberhard Iglhaut
Hi all, I have problems using UTF-8 (Tomcat serves files as ISO-8859-1 ignoring http-equiv=content-type meta information). Where should I look for information on how to configure Tomcat to work with UTF-8? Ebe - To unsubscribe,

Re: Using EL

2004-06-05 Thread Keith Hankin
Sorry, copy error. I *did* specify [EMAIL PROTECTED] isELIgnored=false % That is why I got the error message I did. - Original Message - From: Mark Lowe [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, June 05, 2004 5:29 PM Subject: Re: Using EL Try %@ page

Re: Where to put tld files for jarred custom taglibs?

2004-06-05 Thread Keith Hankin
I read the article, did what it said exactly, but it *still* doesn't work. It keeps complaining that it cannot find taglib.tld, but my tld file is not named taglib.tld. I even sent the author of that article an email but he didn't respond. - Original Message - From: M.Hockings [EMAIL

Re: Using EL

2004-06-05 Thread Mark Lowe
I still use the 2.3 spec for my web.xml but i think you need something like this to activate it jsp-config url-pattern*.jsp/url-pattern el-ignoredfalse/el-ignored /jsp-config The dtd should be able to show you where it should go (i.e in what order). On 5 Jun 2004, at 14:22,

jk2.properties

2004-06-05 Thread Martinelli Paolo A.
Hi all, I need to move the jk2.properties file from the standard location, does anyone knows how to do it??? Thanks, Paolo Martinelli IrisCube Reply S.p.A. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

SSL and starting tomcat - issues

2004-06-05 Thread Carl Olivier
Greetings. I am having some weird error when starting tomcat - the exception in the logs is: WARNING: Error registering contexts java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:782) at

RE: SSL and starting tomcat - issues

2004-06-05 Thread Carl Olivier
Hmmm. Replying to my own post - the Hosts do actully come up after a while - just takes longer than it used it. I do have another question - if you have a HTTPS connector listening - and have a number of Hosts running - but only one should serve on HTTPS - how do you ensure that it is the only

RE: SSL and starting tomcat - issues

2004-06-05 Thread Carl Olivier
Sigh, Once again a reply to myself - but the contexts do NOT seem to always come online! Most bizzarre. Does anyone know what that error is? Has it got to do with the cert in the cert store? Please help - this is dodgy. Yoav: Question - is this case (where I have multiple HTTP based sites

Re: SSL and starting tomcat - issues

2004-06-05 Thread Michael Mehrle
Hi Carl: Obviously there are some concurrency issues when registering contexts. What version of Tomcat are you running? You might want to upgrade to 5.0.26 (don't use 5.0.24) - from what I gathered this was a bug in 5.0.7. Let me know how you fare. Michael - Original Message - From:

Re: SSL and starting tomcat - issues

2004-06-05 Thread Michael Mehrle
FYI: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22388 - Original Message - From: Carl Olivier [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, June 05, 2004 6:56 AM Subject: SSL and starting tomcat - issues Greetings. I am having some weird error when starting tomcat

RE: SSL and starting tomcat - issues

2004-06-05 Thread Carl Olivier
Hi Michael. Thanks for the response! I am running tomcat 5.0.24 - This is a production server - so I think I should wait till TC5.026 is procounced stable? Thanks Carl -Original Message- From: Michael Mehrle [mailto:[EMAIL PROTECTED] Sent: 05 June 2004 05:25 PM To: Tomcat Users List

RE: SSL and starting tomcat - issues

2004-06-05 Thread Carl Olivier
ta -Original Message- From: Michael Mehrle [mailto:[EMAIL PROTECTED] Sent: 05 June 2004 05:26 PM To: Tomcat Users List Subject: Re: SSL and starting tomcat - issues FYI: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22388 - Original Message - From: Carl Olivier [EMAIL

Re: SSL and starting tomcat - issues

2004-06-05 Thread Michael Mehrle
5.0.25 has got JNDI problems - you're better off with 5.0.26 - I'm running it now and have not experienced any problems [yet]. Since you're in a production environment, don't take any chances. But it doesn't make much sense to run differnt Tomcat versions on production and staging, so yes - always

error-page problem

2004-06-05 Thread Sng Wee Jim
Hi, I am using tomcat 5.0.25 I am porting some legacy webapp to struts JSP. Basically I am forwarding my request based on the last token of the request URI, eg. request URI: /testapp/demo then I will forward to demo.do To do that I am setting the following in my web.xml error-page

JSP, Servlet, and Java Classes location in Tomcat

2004-06-05 Thread Matt Louden
In tomcat, I want to know JSP files, Servlets, and Java classes should put in different locations: I put web.xml in the following: C:\jakarta-tomcat-4.1.30\webapps\proj1\WEB-INF I put all JSP files in the following: C:\jakarta-tomcat-4.1.30\webapps\proj1 I put all servlet files in the

test

2004-06-05 Thread net 1
test _ Invia allegati fino a 20MB con Hotmail Extra Storage! Provalo! http://join.msn.com/?pgmarket=it-itpage=hotmail/es - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: JSP, Servlet, and Java Classes location in Tomcat

2004-06-05 Thread QM
On Sat, Jun 05, 2004 at 11:38:27AM -0700, Matt Louden wrote: : In tomcat, I want to know JSP files, Servlets, and Java classes : should put in different locations: This breaks down into: 1/ the servlet spec (where you put classes, JARs, web.xml, etc) 2/ your app's architecture (JSPs, servlet

Help with running Tomcat

2004-06-05 Thread sowmya
hi, I'm working on the tomcat server and i have it installed on my laptop running Windows XP. It was working fine , but suddenly since a couple of days, whenever I try to startup using the bat file, the command prompt window just disappears - and the server does not start. There is no

Re: non-servlet helper class to use the tomcat connection pool

2004-06-05 Thread QM
On Fri, Jun 04, 2004 at 07:07:46PM -0400, jcrowell wrote: : In other words, how do I access a connection from the connection pool when I : am not dealing with a JSP or a servlet, and the singleton class is not : necessarily associated with any particular webapp? If I understand your question:

Re: JSP, Servlet, and Java Classes location in Tomcat

2004-06-05 Thread Matt Louden
Thanks you QM! I just followed the example to use invoker, I don't understand what is that. So whats your suggestions? When I removed web.xml, the JSP is running, but servlet no longer runs. I want to run both JSP and servlet. Please advise. Thanks!! QM [EMAIL PROTECTED] wrote: On Sat, Jun

Re: Disable session serialization?

2004-06-05 Thread Tim Funk
(I have not tested this, but try) Manager pathname=/dev/null/ Or the example server.xml in tomcat4.1 has this: Manager className=org.apache.catalina.session.PersistentManager debug=0 saveOnRestart=true maxActiveSessions=-1

Re: JSP garbage collection

2004-06-05 Thread Tim Funk
Typically a JVM doesn't release memory to the OS. Removeing references to the objects should be enough. (Via explicit setting to null, or letter a variable fall out of scope from its block) -Tim Emre wrote: Where and when does garbage collection happen in the JSP pages. In my jsp pages I use

Re: DataSources

2004-06-05 Thread Tim Funk
Anything is javax.servlet is container agnostic. Anything in web.xml should be container agnostic. Anything in server.xml or the context declaration (mywebapp.xml) is tomcat specific. -Tim SH Solutions wrote: Hi I am using a DataSource inside a a servlet. Until now I am configuring it with my

Help getting to index.jsp

2004-06-05 Thread stella luna
None of my image graphics for my default index.jsp page or loading, as well as the manager and admin apps seem to be broke. my sever.xml file looks like this Server port=8005 shutdown=SHUTDOWN debug=0 Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 address=127.0.0.1

Re: Help getting to index.jsp

2004-06-05 Thread stella luna
THAT WOULD BE tgrant.com/index.jsp On Jun 5, 2004, at 7:55 PM, stella luna wrote: None of my image graphics for my default index.jsp page or loading, as well as the manager and admin apps seem to be broke. my sever.xml file looks like this Server port=8005 shutdown=SHUTDOWN debug=0

Re: Help getting to index.jsp

2004-06-05 Thread Ariel Valentin
Are you using Apache as a proxy? Have you mounted the root directory to serv everything (httpd.conf)? JkMount installationdir/ROOT/* Mr. Ariel S. Valentin mailto: [EMAIL PROTECTED] From: stella luna [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL

Test

2004-06-05 Thread stella luna
is anyone seeing my posts? just want to be sure...i keep getting something that it is being bounced back - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: DataSources

2004-06-05 Thread Ariel Valentin
Create an entry for the Datasource in the deployment descriptor and use JNDI to look it up. Cast the object returned by the lookup method as a DataSource type. http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Resources4.html Mr. Ariel S. Valentin mailto: [EMAIL PROTECTED] From: Tim Funk [EMAIL

RE: Help with running Tomcat

2004-06-05 Thread Ariel Valentin
Edit the startup.bat file and enter the word pause at the end. This will stop the window from closing and you can see what the error is. Also have you tried looking at the server logs? I am not sure if it writes anything but it is worth looking at. Mr. Ariel S. Valentin mailto: [EMAIL PROTECTED]

RE: error-page problem

2004-06-05 Thread Ariel Valentin
Not sure about this but I believe that has to do with Struts only being able to have one ActionServlet registered in the deployment descriptor. I also believe someone on the Struts ML my have the answer you are looking for. Mr. Ariel S. Valentin mailto: [EMAIL PROTECTED] From: Sng Wee Jim

Re: Using EL

2004-06-05 Thread Ariel Valentin
I believe one must use the out tag to be able to display EL values c:out value=${var} / Mr. Ariel S. Valentin mailto: [EMAIL PROTECTED] From: Mark Lowe [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Using EL Date: Sat, 5 Jun

Re: Where to put tld files for jarred custom taglibs?

2004-06-05 Thread Ariel Valentin
Keith, Have you tried unpacking the jar and see if everything is packed in the correct directory structure and that the Manifest file has the correct info? Mr. Ariel S. Valentin mailto: [EMAIL PROTECTED] From: Keith Hankin [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To:

RE: Help with running Tomcat

2004-06-05 Thread Oswald Campesato
Another simple solution is to redirect stdout and stderr to text file like this: startup.bat 1std1 2std2 where std1 and std2 are quasi-arbitrarily chosen file names. This approach is convenient when you do not want to modify the contents of startup.bat. However, you will need to either open

RE: Tomcat 4.1.30 HTTP-HTTPS redirect problem (second attempt)

2004-06-05 Thread Ariel Valentin
What is happening once you are logged in? Does it continue to use the secure protocol on port 8080? https://localhost:8080/ Mr. Ariel S. Valentin mailto: [EMAIL PROTECTED] From: Ryan Stewart [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Tomcat

[TC5] Problems with context.xml

2004-06-05 Thread Mark Woon
Hi all. According to the docs, it's possible to stick Context specific data into it's own config file in the |$CATALINA_HOME/conf/[enginename]/[hostname] |directory. Unfortunately, I'm having problems when using it with JNDI resources. When I take the Context element from my server.xml and

Re: Re: Tomcat 4.1.30 HTTP-HTTPS redirect problem (second attempt)

2004-06-05 Thread Ryan Stewart
No, you misunderstand. Port 8080 is the unsecure port, so trying to access it with https gives a cannot find server error. That's my problem. For some reason, the server is trying to redirect to an unsecure port using a secure protocol, which doesn't work. -Original Message- From:

Re: Tomcat 4.1.30 HTTP-HTTPS redirect problem (second attempt)

2004-06-05 Thread Bill Barker
This is a pretty well known bug in MSIE. The short version is that that TC 4.1.x sends two redirects to get you to the login page, and MSIE gets confused. The options to get around this are: 1) Don't use MSIE. 2) Use the default SSL port (e.g. 443). 3) Use TC 5.0.x instead of TC 4.1.x. Ryan

Re: Help with running Tomcat

2004-06-05 Thread anish
hi sowmya, i dont think urs is a big problem. when u r running tomcat, there will be some error coming on server console before disappears. first, u check whats that error. for that, without clicking on the startup.bat, u take one command prompt and run that bat file. then u can see

Re: jk2.properties

2004-06-05 Thread Bill Barker
I've never tried it, but you should be able to set jkHome=/path/to/new/home on the Connector element to have Tomcat look for /path/to/new/home/conf/jk2.properties. Of course, Tomcat will also use this as the base for any other relative file references (e.g. the unix-socket file). Martinelli