Re: How to write this elegantly in JSP/EL

2007-06-24 Thread ben short
And your not happ with just using... %=com.libris4you.books.maintenancepanel.AuthorTabController.DATA_PHOTO_WIDTH% On 6/24/07, Hassan Schroeder [EMAIL PROTECTED] wrote: On 6/23/07, Nikola Milutinovic [EMAIL PROTECTED] wrote: The answer is simple, imageUrl is calculated in the

Re: Configuring Tomcat 5.5 and IIS 6

2007-06-24 Thread rcgeorge23
Glenn, Thanks for this - it looks like a very comprehensive guide. I'll have another go at setting it up later on today and report back. Cheers, Richard. gbarnas wrote: 404's indicate that the file can't be found. IIS needs to be able to see the tomcat files/folders in order to know to

Re: Null

2007-06-24 Thread Mohammed Zabin
Thank you very much for your detailed illustration. But the compiler complies that there is no such methods isNull() and wasNull() ??? On 6/21/07, Reinhardt Christiansen [EMAIL PROTECTED] wrote: - Original Message - From: Mohammed Zabin [EMAIL PROTECTED] To: Tomcat Users List

Re: Fw: [nbusers] GlassFish VERSES Tomcat

2007-06-24 Thread Leon Rosenberg
glassfishes uses a fork of tomcat 5.0.25, which they are developing on their own. Its actually the same as JBoss, the tomcat which comes with JBoss isn't the tomcat you get from tomcat.apache.org. The same applies probably to any application server out there, they all come with their servlet

Fw: [nbusers] GlassFish VERSES Tomcat

2007-06-24 Thread Johnny Kewl
- Original Message - From: Johnny Kewl To: [EMAIL PROTECTED] Sent: Sunday, June 24, 2007 1:41 PM Subject: [nbusers] GlassFish VERSES Tomcat Guys, this is bothering me... I read about JBoss Tomcat, Geronimo Tomcat, Spring Tomcat GlassFish VERSES Tomcat. What is the servlet

URI handling bug in Tomcat 6.0.13?

2007-06-24 Thread Sebastian Kruk
Hello, just a quick question. Why URI like the following: http://localhost:8080/jeromedl/mbb/filter/marcont:hasDomain/http%3A%2F %2Fdmoz.org%2FTop result in error 400 - incorrect URI - noSlash error in Tomcat 6.0.13, but were correctly handled in Tomcat 5.5 ? After investigating a little I

context and tomcat6

2007-06-24 Thread daniel steel
All, we have couple of context defined, where the docbase is pointing to an another machine in the same network. but for some reason, in tomcat6 after some time after the start of tomcat the contexts gets undeployed and the context files are deleted. we have defined context under

Re: Null

2007-06-24 Thread Reinhardt Christiansen
If you check the Java API, wasNull() _is_ a method of the interface ResultSet. (Sorry, I mistakenly referred to it as isNull() before I started giving you the example.) If your program contains: import java.sql.ResultSet; you should be able to see the wasNull() method without any

test from gmail user

2007-06-24 Thread PTS
Having issues getting my email to show on the list. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

another test

2007-06-24 Thread PTS
Trying again. user only - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: URI handling bug in Tomcat 6.0.13?

2007-06-24 Thread Rainer Jung
Look for CVE-2007-0450 in http://tomcat.apache.org/security-6.html Regards, Rainer Sebastian Kruk wrote: Hello, just a quick question. Why URI like the following: http://localhost:8080/jeromedl/mbb/filter/marcont:hasDomain/http%3A%2F%2Fdmoz.org%2FTop result in error 400 - incorrect URI

Re: Is ThreadLocal safe to use in servlets

2007-06-24 Thread Martin Gainty
Just so I understand..you're advocating ThreadLocal over immutable variables or Local variables? M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email

Re: another test

2007-06-24 Thread Martin Gainty
Looks like you're getting through Whats your question? M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender

RE: Is ThreadLocal safe to use in servlets

2007-06-24 Thread Caldarale, Charles R
From: Martin Gainty [mailto:[EMAIL PROTECTED] Subject: Re: Is ThreadLocal safe to use in servlets Just so I understand..you're advocating ThreadLocal over immutable variables or Local variables? Not at all - just pointing out the ramifications of using ThreadLocal in a thread-pooling

(Off Topic) mod_ruby woes

2007-06-24 Thread Martin Gainty
Good Morning All Been hearing alot on how 'easy' ruby on rails works so I downloaded the RubyForApache binaries and tried to install in Apache 2.2 Trying to configure mod_ruby (ruby on rails) for quite a while and getting nothing but errors when attempting to reference any ruby files (*.rbx)

Re: another test

2007-06-24 Thread PTS
Thanks. - Original Message - From: Wendy Smoak [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, June 24, 2007 12:04 PM Subject: Re: another test On 6/24/07, PTS [EMAIL PROTECTED] wrote: This is a strange one indeed. It would appear that Google mail

Re: URI handling bug in Tomcat 6.0.13?

2007-06-24 Thread Sebastian Kruk
Thanks, so if I got it right - due to some security reasons: Directory traversal vulnerability in Apache HTTP Server and Tomcat 5.x before 5.5.22 and 6.x before 6.0.10, when using certain proxy modules (mod_proxy, mod_rewrite, mod_jk), allows remote attackers to read arbitrary files via a

RE: Is ThreadLocal safe to use in servlets

2007-06-24 Thread Caldarale, Charles R
From: lightbulb432 [mailto:[EMAIL PROTECTED] Subject: RE: Is ThreadLocal safe to use in servlets When might an advanced Tomcat user need to play with this Executor element? To conserve resources when multiple Connector elements are configured. No point in having a multitude of idle

Re: another test

2007-06-24 Thread PTS
This is a strange one indeed. It would appear that Google mail filers out the mail that I send to the list. So when I check mail for the list this email will not appear in my incoming email although you do receive it. Strange. Thanks for the confirmation. Doug - Original Message -

Re: another test

2007-06-24 Thread Wendy Smoak
On 6/24/07, PTS [EMAIL PROTECTED] wrote: This is a strange one indeed. It would appear that Google mail filers out the mail that I send to the list. So when I check mail for the list this email will not appear in my incoming email although you do receive it. Strange. Thanks for the

Re: URI handling bug in Tomcat 6.0.13?

2007-06-24 Thread Rainer Jung
You didn't really read the part of the page I referred to and instead decided to read the CVE. The page I sent you will tell you about System properties that make the behaviour configurable. Sebastian Kruk wrote: Thanks, so if I got it right - due to some security reasons: Directory

Re: context and tomcat6

2007-06-24 Thread Mark Thomas
daniel steel wrote: All, we have couple of context defined, where the docbase is pointing to an another machine in the same network. but for some reason, in tomcat6 after some time after the start of tomcat the contexts gets undeployed and the context files are deleted. we have

RE: Is ThreadLocal safe to use in servlets

2007-06-24 Thread lightbulb432
To conserve resources when multiple Connector elements are configured. No point in having a multitude of idle threads when some Connectors are only lightly used or the usage pattern varies with time. Is it safe to assume that this is the way to go, or are there ever, ever any times when it

RE: Port-based virtual hosting

2007-06-24 Thread Caldarale, Charles R
From: lightbulb432 [mailto:[EMAIL PROTECTED] Subject: Port-based virtual hosting Is there any functional difference between the two options - if they're both even possible? Which would you go with? - 1 Service element with 5 HTTP connectors (each on a different port) and one Engine

Re: URI handling bug in Tomcat 6.0.13?

2007-06-24 Thread Sebastian Kruk
Damn, should not read/write emails on Sunday - thanks a million, Cheers, S. On 24 Jun 2007, at 17:52, Rainer Jung wrote: You didn't really read the part of the page I referred to and instead decided to read the CVE. The page I sent you will tell you about System properties that make the

In-Process Tomcat

2007-06-24 Thread lightbulb432
I read a few things that explained the difference (in configurations where you must front Tomcat with Apache HTTPD) between in-process Tomcat and out-of-process Tomcat, and have a couple of questions. It said that in-process Tomcat will reduce latency (which I understand) but decrease both

Re: test from gmail user

2007-06-24 Thread Joe Pemberton
Seems to be working. On 6/24/07, PTS [EMAIL PROTECTED] wrote: Having issues getting my email to show on the list. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Is ThreadLocal safe to use in servlets

2007-06-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Martin Gainty wrote: Just so I understand..you're advocating ThreadLocal over immutable variables or Local variables? ThreadLocals... ya know: the power of thread variables with the convenience of local variables. Get with the program.

Re: Is ThreadLocal safe to use in servlets

2007-06-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 lb, lightbulb432 wrote: I have another question about using ThreadLocal as an instance variable in a threadsafe Singleton. If the Singleton has 5 instance methods, each of which requires use of the value stored in the ThreadLocal, I see one

RE: Is ThreadLocal safe to use in servlets

2007-06-24 Thread Caldarale, Charles R
From: lightbulb432 [mailto:[EMAIL PROTECTED] Subject: RE: Is ThreadLocal safe to use in servlets Is it safe to assume that this is the way to go, or are there ever, ever any times when it would be less desirable to go this route than the default thread-pool-per-connector element? I

Re: naming trouble

2007-06-24 Thread Rashmi Rubdi
On 6/22/07, Lorenzo Cerini [EMAIL PROTECTED] wrote: but my tomcat mismatch the classes, i mean if i recompile the Connessione_dyn belonging to app2 and restart tomcat, even my app1 try to use the app2's Connessione_dyn instead of its own one, thus leading to an error since the pooled connection

Re: Run multiple instances of tomcat on windows

2007-06-24 Thread Cartman
On 6/23/07, Ashish Kulkarni [EMAIL PROTECTED] wrote: Hi I want to run 2 instance of tomcat on windows server, both of them are 5.5.20, 1. Is it possible to have them as 2 services so i can stop and start them independently? yes, each instance run its own service. 2. Do i have to install it

RE: In-Process Tomcat

2007-06-24 Thread Duan, Nick
In-process Tomcat is to have Tomcat running in the same process space as Apache HTTPD, IIS, or other web server. Since most of the web servers are implemented in C/C++, you will have to use JNI to integrate with Java-based Tomcat, and create a mod_tomcat like module for Httpd. Definitely the

Java Axis and R

2007-06-24 Thread Yifan (Eric) Jiang
Hi all, I've been asked to develop a Java Axis web service to call R program (http://www.r-project.org/). There is a Java/R interface (http://www.rforge.net/rJava/) has been developed and allows to call methods and access R object from Java. So my application is running fine as a normal Java

Re: Java Axis and R

2007-06-24 Thread kaustubh shinde
Hi there, Check out CGIwithR package. http://www.omegahat.org/CGIwithR/ I have been using it for a while. You can execute R scripts and post the output to using RHTML package or using simple print. hope it helps, Kaustubh On 6/24/07, Yifan (Eric) Jiang [EMAIL PROTECTED] wrote: Hi all, I've

Deploying single .war file for use by multiple contexts - how do i override web.xml

2007-06-24 Thread Steven Probetts
Hi all,The problem is we have 4 different sub companies which we want to deploy a particular web app for.What we want to do is stick a single .war file onto the server which all companies point to,and set up different context.xml files for each (since they have different context data).The problem

RE: Java Axis and R

2007-06-24 Thread Yifan (Eric) Jiang
Hi Kaustubh, Thanks for your information. But I am looking for something that can be use in Java program. Thanks Eric -Original Message- From: kaustubh shinde [mailto:[EMAIL PROTECTED] Sent: Monday, 25 June 2007 2:02 p.m. To: Tomcat Users List Subject: Re: Java Axis and R Hi there,

RE: Deploying single .war file for use by multiple contexts - how do i override web.xml

2007-06-24 Thread Caldarale, Charles R
From: Steven Probetts [mailto:[EMAIL PROTECTED] Subject: Deploying single .war file for use by multiple contexts - how do i override web.xml Can we use the context file to alter the security role data (or more accurately override it) in the web.xml http://web.xml/ file depending on

Re: Run multiple instances of tomcat on windows

2007-06-24 Thread Ashish Kulkarni
Hi The problem i am having is, when i installed second instance of tomcat it replaced the windows service for the first tomcat, so i have only one tomcat service in windows, can i install one more service in tomcat now for the first installed tomcat, if so how Ashish On 6/24/07, Cartman [EMAIL

Re: Run multiple instances of tomcat on windows

2007-06-24 Thread Cartman
I think that you are installing tomcat with the windows installer thats is not a good idea. I ever install tomcat with the file ziped; there, in the bin directory you find a service.bat, with this bat you can install tomcat as a windows service... and... you must install the services that

RE: In-Process Tomcat

2007-06-24 Thread lightbulb432
Thanks for your detailed response. See questions below. In-process Tomcat is to have Tomcat running in the same process space as Apache HTTPD, IIS, or other web server. Since most of the web servers are implemented in C/C++, you will have to use JNI to integrate with Java-based Tomcat, and

RE: Port-based virtual hosting

2007-06-24 Thread lightbulb432
The question's more of a general one to help me understand some elements in server.xml. Maybe I'll start with this question first, though: If you somehow have multiple contexts (within the same Host or Service, or within different ones in your Tomcat instance) that point to the same WAR file or