Problem with Tomcat Service when Tomcat Installation pathname has double byte characters

2005-07-12 Thread Rakesh Pandit
We are using Tomcat 4.1 as a service. The service calls and runs the tomcat.exe correctly so long the tomcat installation pathname has ASCII characters only. But moment we install the Tomcat in a pathname that has double bytes, the tomcat.exe invoked by the service fails to run ? Any

Re: Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed

2005-07-12 Thread Nikola Milutinovic
Wasik, Paul wrote: Hi all, Can anyone point me in the right direction on what might be causing this error in my catalina.out log file? I'm running Tomcat 5.0.28 on a RedHat EL3.0 server with Sun JDK 1_5_0_03 and am using the jsvc launcher. Aside from this entry in my log file, everything

Tomcat Book

2005-07-12 Thread Adi Gati
Hi, Can anyone recommend on a good Tomcat Book? Thanks.

RE: Tomcat Book

2005-07-12 Thread Simon Taylor
Professional Apache Tomcat - Wrox Press is pretty good -Original Message- From: Adi Gati [mailto:[EMAIL PROTECTED] Sent: 12 July 2005 09:40 To: tomcat-user@jakarta.apache.org Subject: Tomcat Book Hi, Can anyone recommend on a good Tomcat Book? Thanks.

jsvc.exec error: Service exit with a return value of 143

2005-07-12 Thread Wasik, Paul
Hi all, Can anyone point me in the right direction on what might be causing this error in my catalina.out log file jsvc.exec error: Service exit with a return value of 143? I'm running Tomcat 5.0.28 on a RedHat EL3.0 server with Sun JDK 1_5_0_03 and am using the jsvc launcher. Aside from

web.xml breaks EL

2005-07-12 Thread Dewitte Rémi
Hi ! I have a simple test jsp : %@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c % c:forEach begin=1 end=3 var=ind h${ind} ${ind}aBaa/h${ind} /c:forEach When I delete my web.xml, everything works well but when I reload the context with it, the

Re: web.xml breaks EL

2005-07-12 Thread Nikola Milutinovic
Dewitte Rémi wrote: Hi ! I have a simple test jsp : %@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c % c:forEach begin=1 end=3 var=ind h${ind} ${ind}aBaa/h${ind} /c:forEach When I delete my web.xml, everything works well but when I reload the context with it, the EL

Re: Problem when a click a button that it execute a servlet n times

2005-07-12 Thread password password
My problem is that I can not disable the button because when the user click the button the application return a file to the user. And when the process has finished then the user have to can download other file. The button does the next (call a servlet): - Process the inserted information

Re: How to set the user created tld in web.xml??

2005-07-12 Thread Tim Funk
It looks like your tld file is missing the uri element. For example: taglib xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee web-jsptaglibrary_2_0.xsd version=2.0 ...

Re: web.xml breaks EL

2005-07-12 Thread Dewitte Rémi
Thanks very much ! Rémi Le Mardi 12 Juillet 2005 12:12, Nikola Milutinovic a écrit : Dewitte Rémi wrote: Hi ! I have a simple test jsp : %@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c % c:forEach begin=1 end=3 var=ind h${ind} ${ind}aBaa/h${ind}

Re: file access via HttpSession

2005-07-12 Thread Tim Funk
No, you would need to do this via a programmtic authorization. There is no declaritive way to do this. -Tim Clark Slater wrote: Hello- I am running 5.0.19 Is there a way to restrict access to files in a directory based on a value in an HttpSession? For example: Customer c = (Customer)

Re: How to set the user created tld in web.xml??

2005-07-12 Thread IndianAtTech
This is what I have taglib xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee web-jsptaglibrary_2_0.xsd version=2.0 tlib-version0.1/tlib-version jsp-version1.2/jsp-version

install automatically a datasource with tomcat 5.0.25

2005-07-12 Thread [EMAIL PROTECTED]
hi all i have tomcat 5.0.25 and i used context.xml in META-INF for configuring the datasource. But I notice that I have to configure the datasource data(url.path , driver) also with the tomcat administrator. I notice that with tomcat 5.5.7 that do not happen I want for sure using tomcat

Re: Using Single Sign on to access another webapp.

2005-07-12 Thread Ben Bookey
Hi Everyone, Thanks for the replies. If i understand correctly, then the SSO should work between Tomcat and another j2EE type servlet container? The other app. in question is websphere. regards, Ben Bookey From: Tim Funk [EMAIL PROTECTED] Reply-To: Tomcat Users List

Re: web app url config question

2005-07-12 Thread Erik Weibust
Thanks for the quick response Rob. I saw that but was afraid that was violating some tomcat best practice. If that is indeed the best way of configing my url then I'll roll with it. thx... erik --- Rob Hills [EMAIL PROTECTED] wrote: HI Erik, On 11 Jul 2005 at 19:34, Erik Weibust wrote:

file access via HttpSession

2005-07-12 Thread Clark Slater
Hello- I am running 5.0.19 Is there a way to restrict access to files in a directory based on a value in an HttpSession? For example: Customer c = (Customer) httpSession.getValue(Customer); if (c.getCountryCode().equals(CAN)) their browser could display any HTML file in

xml, jse1.5 and the endorsed directory

2005-07-12 Thread Andy Kriger
Does jse1.5 still require using the endorsed directory to override the built-in parser? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem with refreshing JSP

2005-07-12 Thread Rahul Joshi
Hi, It is Tomcat that has these compiled files which it continues to read from work/Catalina/localhost/ instead of the new ones. The questions is how do we make Tomcat clear or over-write these stored compiled files. Thanks, Rahul. Gurumoorthy [EMAIL PROTECTED] wrote: Well, Is it the

Re: Problem with refreshing JSP

2005-07-12 Thread Rob Hills
Hi Rahul, On 12 Jul 2005 at 8:19, Rahul Joshi wrote: It is Tomcat that has these compiled files which it continues to read from work/Catalina/localhost/ instead of the new ones. The questions is how do we make Tomcat clear or over-write these stored compiled files. If you set the

Redirection/Multiple URLs (UNCLASSIFIED)

2005-07-12 Thread Samara, Fadi N Mr ACSIM/ASPEX
Classification: UNCLASSIFIED Caveats: NONE Hey everyone, I am trying to let 2 URLs to resolve to the same IP address. I am using apache as a web server that talks to the application server where the app is deployed. What is the best way to approach this ? Would a redirect tag do it ? Where

how can I put enable a button when a servlet has finished.

2005-07-12 Thread password password
Hi, I have a jsp page, and when I click a button it puts disable this button and calls a servlet. This servlet update a table of a database. I want to enable the button when the servlet has finished. How can I put enable this button? Thanks.

how can I put enable a button when a servlet has finished.

2005-07-12 Thread password password
Hi, I have a jsp page, and when I click a button it puts disable this button and calls a servlet. This servlet update a table of a database. I want to enable the button when the servlet has finished. How can I put enable this button? Thanks.

Re: how can I put enable a button when a servlet has finished.

2005-07-12 Thread Eric J. Pastoor
you can enable and disable buttons through javascript - Original Message - From: password password [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Tuesday, July 12, 2005 12:18 PM Subject: how can I put enable a button when a servlet has finished. Hi, I have a jsp page,

Re: how can I put enable a button when a servlet has finished.

2005-07-12 Thread password password
Yes with javascript, but my problem when I can know that the servlet has finish in that jsp page? Eric J. Pastoor [EMAIL PROTECTED] escribió: you can enable and disable buttons through javascript - Original Message - From: password password To: Sent: Tuesday, July 12, 2005 12:18 PM

Re: how can I put enable a button when a servlet has finished.

2005-07-12 Thread Ivan Rodriguez
You know that when the Servlet send a response stream to the browser, a.k.a. HTML code ;) Call the servlet in a hidden frame. Make the servlet response a html containing a javascript call... easy. password password escribió: Yes with javascript, but my problem when I can know that the

Re: how can I put enable a button when a servlet has finished.

2005-07-12 Thread password password
What event see that the servlet has finished in javascript or html? can you send me an example? Ivan Rodriguez [EMAIL PROTECTED] escribió:You know that when the Servlet send a response stream to the browser, a.k.a. HTML code ;) Call the servlet in a hidden frame. Make the servlet response a

Re: how can I put enable a button when a servlet has finished.

2005-07-12 Thread Ivan Rodriguez
public void execute(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { [.] [When you end the server tasks, ] String redirectString = request.getContextPath() + /some/path/to/finished.jsp;

Re: Problem with refreshing JSP

2005-07-12 Thread Christoph Kutzinski
Rob Hills wrote: Hi Rahul, On 12 Jul 2005 at 8:19, Rahul Joshi wrote: It is Tomcat that has these compiled files which it continues to read from work/Catalina/localhost/ instead of the new ones. The questions is how do we make Tomcat clear or over-write these stored compiled files. If

RE: File Download dialog launched errantly

2005-07-12 Thread Kirby, Stephen \(Civ, ARL/CISD\)
Thanks Luis - I found the wmlbrowser plug-in for Mozilla, installed it, and can now display WML. Greatly appreciate it! Regards, Steve PS - wapsilon.com seems to be down at the moment - am interested in seeing their product too so will keep trying -Original

Tomcat session deserialization issue ?

2005-07-12 Thread Mufaddal Khumri
Hello all, We have a webapp deployed on Tomcat 5.5.7 and Apache/2.0.53. We have serialized our sessions. We get this error in our log on start of the webapp: WARN - Cannot serialize session attribute SESSION_DATA for session 1948F0D64D1B2679896325B06457A075

Classpath issues with embedded tomcat

2005-07-12 Thread Ryan LeCompte
Hello all, I'm running embedded tomcat 5.5.9. Let's say that I have one version of X.jar in my main classpath when I launch my embedded Tomcat, and also a different version of X.jar in a deployed webapp under WEB-INF/lib. Is there a way to force tomcat to use the X.jar version that it's in

Re: Datasource works in Tomcat 5.5.4 but not 5.5.9

2005-07-12 Thread Craig Dixon
After some more testing, I have determined that I can remove the user name and password from context.xml in Tomcat 5.5.4, and it still works. Removing the entire Resource tag, however, causes it to crash out, as it should. This means that Tomcat 5.5.4 needs the connection information in

Serving .jsp's from other dirs (newbie)

2005-07-12 Thread James Coletti
Hello all, Im a bit new to Tomcat and interoperation with Apache thru mod_jk... I seem to have most of it setup. Im running Apache 1.3.33 and Tomcat 5.5.9 on Solaris 10 x86 I'm trying to get .jsp scripts to run within directories of my choice, rather than the default examples dir. In

Re: Datasource works in Tomcat 5.5.4 but not 5.5.9

2005-07-12 Thread Craig Dixon
After some more testing, I have determined that I can remove the user name and password from context.xml in Tomcat 5.5.4, and it still works. Removing the entire Resource tag, however, causes it to crash out, as it should. This means that Tomcat 5.5.4 needs the connection information in

Re: Tomcat Book

2005-07-12 Thread Alon Belman
oreilly's tomcat the definitive guide is a little old now, but still useful, and the next edition is due out soon additionally, one of its authors hangs out in irc.freenode.net's #tomcat channel and is very good about answering direct questions. On 7/12/05, Adi Gati [EMAIL PROTECTED] wrote: Hi,

RFC-2047 Header Character Set Encoding JK + Tomcat 5

2005-07-12 Thread Guernsey, Byron \(GE Consumer Industrial\)
Is there a FAQ on how Tomcat 5 and JK1 implement HTTP header character sets? (ie, does it support RFC-2047) We use some single sign-on plugin's at the web server (apache 2) that set specific headers which may contain international characters. The headers are being returned by Tomcat to

Re: file access via HttpSession

2005-07-12 Thread Ben Souther
You could put the restricted directories under WEB-INF and then use a Front Controller Servlet to forward to or stream the files to the browser. On Tue, 2005-07-12 at 09:27, Clark Slater wrote: Hello- I am running 5.0.19 Is there a way to restrict access to files in a directory based on

CATALINA_BASE

2005-07-12 Thread Kenneth B. Harwood
i'm running the latest tomcat (5.5.9) on Win2K Pro. Tomcat works in the default configuration. thanks. i'm trying to get Tomcat working using CATALINA_BASE. that is, i want a second Tomcat instance to serve my webapps from a directory different than the default. the default directory is

Re: Tomcat 5.5.9 - When JSPs change, gives error org.apache.xerces.jaxp.SAXParserFactoryImpl could not be instantiated

2005-07-12 Thread Craig Dixon
Got mod_jk running; that's not the issue. Another curious piece to this anomaly is that making a change and then restarting server does not head off the error. I have to make the change, access the page (thus generating the error) THEN restart the server and access the page again, at which point

Re: CATALINA_BASE

2005-07-12 Thread Kenneth B. Harwood
woops. i just saw a CATALINA_BASE thead in May '05. i'll take a look at that. is there a user-list SEARCH form anywhere or do i need to check the archives manually month-by-month? - ken h. - To unsubscribe, e-mail: [EMAIL

RE: CATALINA_BASE

2005-07-12 Thread Guernsey, Byron \(GE Consumer Industrial\)
I can't speak from experience under Windows, but on Unix system we typically have the following layout for a separate CATALINA_HOME: $CATALINA_HOME |-- conf/ | |-- Catalina | | `-- localhost | | |-- context.xml.default | | |-- manager.xml | | `-- admin.xml | |--

Re: CATALINA_BASE

2005-07-12 Thread Rahul Akolkar
On 7/12/05, Kenneth B. Harwood [EMAIL PROTECTED] wrote: snip/ is there a user-list SEARCH form anywhere or do i need to check the archives manually month-by-month? snap/ This is an option [ http://marc.theaimsgroup.com/?l=tomcat-userr=1w=2 ] -Rahul

Re: Tomcat Book

2005-07-12 Thread Erik Weibust
You can also see a nice list of Tomcat titles on the tomcat wiki. http://wiki.apache.org/jakarta-tomcat/Tomcat/Books erik --- Alon Belman [EMAIL PROTECTED] wrote: oreilly's tomcat the definitive guide is a little old now, but still useful, and the next edition is due out soon

Problem deleting files from servlet

2005-07-12 Thread Russ Weeks
Hi, I've got a pretty vanilla Tomcat 5.5.9 install. It seems like I can't delete files within my webapp's document root from a servlet. I have written a trivial servlet to isolate the problem from my app. All it does is try to delete two files, one is outside the document root, one is inside.

Re: file access via HttpSession

2005-07-12 Thread Frank W. Zammetti
Shamelss plug: My Java Web Parts project (http://javawebparts.sourceforge.net) will have this capability, hopefully by this weekend, via its AccessControlFilter. It's now probably 50% written and in CVS, but I have to complete the IP-based limiting (I got side-tracked a bit and went off and

Re: CATALINA_BASE

2005-07-12 Thread Kenneth B. Harwood
what is the minimum file configuration required to run multiple Tomcat instances? conceptually, i shouldn't need an ENTIRE Tomcat file installation in my second (third, fourth, whatever) directory; Tomcat should only require a small amount of customizing in the target directory(s). for

test

2005-07-12 Thread Spotted Elk Lance
Hello. I'm new to this list and this is just a test to see if I'm using the correct sending method so I can issue my legitimate question about tomcat. --Lance Bo Spotted Elk

config commands for apache

2005-07-12 Thread Spotted Elk Lance
Hello, I am trying to setup Apache Tomcat 5.5.9 and am following the instructions from the following website:

RE: config commands for apache

2005-07-12 Thread Caldarale, Charles R
From: Spotted Elk Lance [mailto:[EMAIL PROTECTED] Subject: config commands for apache I am trying to setup Apache Tomcat 5.5.9 and am following the instructions from the following website: Why do you want to install Apache httpd? Try running Tomcat standalone first and make sure you have

java.library.path when running as a service

2005-07-12 Thread Michael Ivanov
I have been running a servlet with Tomcat 5.5.7 for a few months, I left it alone for a while, and now I get an UnsatisfiedLinkError when the servlet tries to load a native DLL. The error says the DLL cannot be found in java.library.path. The DLL I want to load is located in

Clusters - Disabling or restricting autodiscovery

2005-07-12 Thread ryan boyd
When using tomcat clusters on an untrusted subnet or using a routable multicast address, i see the potential for a rogue tomcat instance to join a cluster in order to hijack session information. Is there any way to restrict autodiscovery of cluster membership to a known list of IPs or disable

RE: java.library.path when running as a service

2005-07-12 Thread Benson Margulies
Due to a bug in the JRE/JVM, your dependent DLLs have to either be in PATH or in the directory containing java.exe. My personal favorite solution to this is to use the delay loader hook to get around it. -Original Message- From: Michael Ivanov [mailto:[EMAIL PROTECTED] Sent: Tuesday,

Re: java.library.path when running as a service

2005-07-12 Thread Michael Ivanov
My PATH variable already includes $CATALINA_HOME\common\lib, and it definitely has worked in the past. Wouldn't this also affect Tomcat launched from the command line? My problem only occurs when Tomcat is a service. Also, can you elaborate on what the delay loader hook is? Thank you. On

how to link

2005-07-12 Thread ganesan malairaja
hi guys how to link apache2 and tomcat i have apache 2.0.54 and tomcat 4.1.xx running on linux .. my both apache and tomcat runs indepently fine i need to link both how i do it ... i trying following one example on the http://wass.homelinux.net/howtos/Jakarta_How-To.shtml i cant find jk

Re: how to link

2005-07-12 Thread Bryan Scarbrough
I am currently working on the same thing on a Windows box. If I can figure it out, then I will let you know what I did, the configuration should not be too different. On 7/12/05, ganesan malairaja [EMAIL PROTECTED] wrote: hi guys how to link apache2 and tomcat i have apache 2.0.54 and

500 - Internal server error

2005-07-12 Thread Ayyanar Inbamohan
Hi all, My web application run in an intranet site, i used jmeter for testing the Load and performance, when the concurrent user is set to 500 in jmeter to test the application i am getting 500 - Internal server error what is the cause for this problem, any solutions, thanks, inr.

How to increase the heap size no of threads

2005-07-12 Thread Ayyanar Inbamohan
Hi all, CAn anyone help me ? How to increase the number of threads that tomcat can process ? Also how to increase the size of the heap? thanks in advance, Ayyanar. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection