Re: Launching Tomcat at boot, at boot, at boot

2007-03-26 Thread Edoardo Panfili
dimitryous r. wrote: Hello Hassan, My question was Launching Tomcat automatically at boot ... The fact is: either export JAVA_HOME=/usr or export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home are both OK. Seem Apple is promoting the 1st one? Strange but will not

Re: mod_jk/1.2.21, jkstatus does not display runtime state of load balanced threads, only N/A

2007-03-26 Thread Rainer Jung
N/A as a state means, that no requests have been sent to this worker for some time. So mod_jk is not really able to tell you about the state of the worker. It can only detect OK, ERROR etc. when it is sending requests to the workers. No requests, no state. A worker will be in state N/A

Re: Launching Tomcat at boot = Problem solved.

2007-03-26 Thread dimitryous r.
Thank you Edoardo, it works fine... Problem solved. Thank you all On 26 mars 07, at 09:33, Edoardo Panfili wrote: dimitryous r. wrote: Hello Hassan, My question was Launching Tomcat automatically at boot ... The fact is: either export JAVA_HOME=/usr or export

Re: Service instance serialization question

2007-03-26 Thread org
private String synchronization MyServletHardwareCallingRoutine(HttpRequest BlaBla){ CALL THE HARDWARE HERE return INFO } SYNCHRONIZATION will allow only one thread at a time, so they will Q. BUT so will the clients wait. If the clients do not need a reply from the hardware then private

Re: Tomcat mod_proxy_ajp and jk exceptions

2007-03-26 Thread Rainer Jung
Usually there are SSL problems with (reverse) proxying concerning URLs for redirects, since the Tomcat side doesn't know any longer that SSL has been spoken originally. So self-referencing URLs use http as the protocol. AJP fixes this, which is the correct interpretation of AJP supporting SSL

Re: Tomcat mod_proxy_ajp and jk exceptions

2007-03-26 Thread Rainer Jung
As a first approximation this is true. But ProxyPassReverse does not rewrite the body of responses. So if there is a wrong URL in the body, then this will not be fixed by ProxyPassReverse. It is mostly (or only?) for fixing the Location header in http redirects. Regards, Rainer Erik

Re: Running Java Apps From The Browser

2007-03-26 Thread org
A lot of guys asking me how to get java to automatically install if client does not have JRE. This is not an all platform solution unfortunately, but nevertheless it works for IE users. Place this is your web page OBJECT

Re: Marking servlet [] as unavailable, again...

2007-03-26 Thread Simon Brooke
On Sunday 25 March 2007 02:44, Martin Gainty wrote: Simon- something is happening to interfere with the successful completion of init() method of your Servlet such as cannot find classes such as 'uk.co.weft.exceptionhandler.BugzillaExceptionHandler' or one of the init-param in web.xml could

RE: Tomcat on Windows Server 2003 R2

2007-03-26 Thread Per Johnsson
There is a known bug or missfeature in the java installer. Add in the system env JAVA_HOME=yourjrepath and ;%JAVA_HOME%/bin in the end of PATH variable. I hade the same problem with the java6 and tomcat but the abve solved it. /per jonsson -Original Message- From: Markus Franz

RE: Tomcat on Windows Server 2003 R2

2007-03-26 Thread Sabitha Divakaran
My java version is j2sdk1.4.1_03 and tomcat is 5.5 Is the tomcat 5.5 is not supporting the java 1.4 I mean more latest java version is required for tomcat 5.5 -Original Message- From: Per Johnsson [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 3:02 PM To: Tomcat Users List

Re: Requesting files with non-English/international characters in their names

2007-03-26 Thread Thomas Peter Berntsen
On 3/25/07, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, Thomas Peter Berntsen wrote: Yes, my perception is also that ISO-8859-1 is Tomcat's default encoding. Just to be sure I edited the index.jsp of the ROOT app in which I have created

RE: Tomcat on Windows Server 2003 R2

2007-03-26 Thread Per Johnsson
Yes, But either you add the 1.4 compliance package or use the java 1.5. /Per Jonsson -Original Message- From: Sabitha Divakaran [mailto:[EMAIL PROTECTED] Sent: den 26 mars 2007 12:19 To: Tomcat Users List Subject: RE: Tomcat on Windows Server 2003 R2 My java version is j2sdk1.4.1_03

Re: Requesting files with non-English/international characters in their names

2007-03-26 Thread Thomas Peter Berntsen
Dear Mark, Thanks for your reply. I've commented below. On 3/25/07, Mark Thomas [EMAIL PROTECTED] wrote: Thomas Peter Berntsen wrote: I have some trouble getting Tomcat to return files with non-English/international characters in their names. The good news is that this works for me. Now all

Re: Question about lib folder of Webapps

2007-03-26 Thread Evrim
Thank you so much for your replies :) Evrim Agha wrote: - Don't be flakey. Get Yahoo! Mail for Mobile and always stay connected to friends. Hi everyone I'd like to build a JSP to use and show results of using Sparql + Jena + Pellet libraries.

Re: Service instance serialization question

2007-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tom, Tom Kobialka wrote: I have a web service which is running under the Tomcat container. [snip] I need to implement some sort of serialization such that only one request is processed from each instance at a time. Is your web service

Re: mod_jk/1.2.21, jkstatus does not display runtime state of load balanced threads, only N/A

2007-03-26 Thread Erik Melkersson
Thanks for the info but unfortunately I don't think that is is case for me. I surfed to a mapped address and got pages back from the tomcat trough the workers and still had N/A as state. I've also used it and got an error message back (both tomcats blocked) but the state was still N/A. As I

Re: Requesting files with non-English/international characters in their names

2007-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, Thomas Peter Berntsen wrote: Without the URIEncoding=UTF-8 parameter the Danish special characters are not echoed correctly, whereas _with_ the parameter everything in the request is echoed correctly. Okay, good. I thought you were

Re: Tomcat mod_proxy_ajp and jk exceptions

2007-03-26 Thread Filip Hanik - Dev Lists
or simply set a few headers in httpd when the request came in over SSL, and then have a filter read those headers Filip Rainer Jung wrote: Usually there are SSL problems with (reverse) proxying concerning URLs for redirects, since the Tomcat side doesn't know any longer that SSL has been

Problem with LDAP authentication

2007-03-26 Thread Aurynn Shaw
Hiya; I'm trying to get LDAP authentication working correctly in my app, but I'm not having a lot of success. Single-stepping with a debugger seems to say that roles aren't getting loaded correctly from LDAP, and sometimes it appears, in my openLDAP logs, that I'm doing sequential scans

Creating a new connector through the administration web

2007-03-26 Thread jean-louis . mateo
Hello, Tomcat 5.5.20 , Java Sun 1.4.2_12 I've created a new connector with a specific address (http://localhost:8080 ) -- it's OK After committing changes, I can see the tag connector within the server.xml file but there's no ipaddress attribute so after the next start, we cannot see the ip

LDAP help update

2007-03-26 Thread Aurynn Shaw
Sorry, should have mentioned. I'm running Tomcat 5.5.20, Java 1.5.0_11 on CentOS 4.4. Thanks A - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Tomcat mod_proxy_ajp and jk exceptions

2007-03-26 Thread Mladen Turk
Filip Hanik - Dev Lists wrote: or simply set a few headers in httpd when the request came in over SSL, and then have a filter read those headers OK, by now, I think everyone are aware that you don't like the AJP protocol. You should blog about that :) Regards, Mladen.

Re: IIS 7.0

2007-03-26 Thread Mladen Turk
Stefan Wachter wrote: Hi all, has anyone already managed to integrate Tomcat into an IIS 7.0 using the isapi_redirect.dll? I tried for several hours but did not succeed. I did (Vista Ultimate), and you are right, it's a real PITA (like entire Vista is IMHO). 1. You have to create the

Re: Tomcat on Windows Server 2003 R2

2007-03-26 Thread Layton Berry
No, these environment variables are not needed unless you take the zip file distribution of Tomcat 6 and try to run it in a command window. The standard distribution uses a service, and the service requires the C run time support package, ie., msvcr71.dll, but the distribution is not

Re: Tomcat mod_proxy_ajp and jk exceptions

2007-03-26 Thread Filip Hanik - Dev Lists
Mladen Turk wrote: Filip Hanik - Dev Lists wrote: or simply set a few headers in httpd when the request came in over SSL, and then have a filter read those headers OK, by now, I think everyone are aware that you don't like the AJP protocol. being on the support side of it has not been fun

Re: Tomcat mod_proxy_ajp and jk exceptions

2007-03-26 Thread c .
seriously? if so can you send me the link? if not just call me gullible. On 3/26/07, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: Mladen Turk wrote: Filip Hanik - Dev Lists wrote: or simply set a few headers in httpd when the request came in over SSL, and then have a filter read those

Re: Applet not initiated

2007-03-26 Thread Tomcat
Hello Rashmi, Thanks for response, I put the class file in ROOT directory, the same place that my html file exist , but still the same problem. is it possible classpath should include that class location so computer's jvm recognize the place that class is exist ? and also I found some

Re: Tomcat mod_proxy_ajp and jk exceptions

2007-03-26 Thread Filip Hanik - Dev Lists
sent it directly to your email address Filip c. wrote: seriously? if so can you send me the link? if not just call me gullible. On 3/26/07, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: Mladen Turk wrote: Filip Hanik - Dev Lists wrote: or simply set a few headers in httpd when the

Re: Applet not initiated

2007-03-26 Thread Rashmi Rubdi
You're welcome. is it possible classpath should include that class location so computer's jvm recognize the place that class is exist ? I recommend not setting the CLASSPATH at all. I tested one Applet example with JSPs, and the applet loads fine on Tomcat 6 / Windows XP without any explicit

Re: Applet not initiated

2007-03-26 Thread Rashmi Rubdi
Also I don't know if you're using strict XHTML. The applet tag is not supported in XHTML as mentioned here : http://www.w3schools.com/tags/tag_applet.asp they recommend using the HTML object tag http://www.w3schools.com/tags/tag_object.asp instead of applet tag.

HttpRequest in a LoginModule

2007-03-26 Thread Juan Damasceno
Hello, I´m using JAASRealm and i would like to know if there´s any kind of HttpCallback allows access the HttpServletRequest. I already read some threads about it in this list, but all using a custom Authenticator. Obs.: pardon my bad english. -- __ Juan Damasceno __

Re: HttpRequest in a LoginModule

2007-03-26 Thread Martin Gainty
Hello Juan- On the client side An Ajax control has a Javascript callback function which allows the HTTPServlet to post information back to client (Javascript function) when ready to xmit completed XML Is this what you're looking for? Martin--

Re: HttpRequest in a LoginModule

2007-03-26 Thread Juan Damasceno
Thanks for the quick answer Martin but my question is about JAAS and it´s architecture, more specifically how to interact with the HttpServletRequest in a LoginModule using Tomcat´s JAASRealm. On 3/26/07, Martin Gainty [EMAIL PROTECTED] wrote: Hello Juan- On the client side An Ajax control

Basic Auth without web.xml security-constraint not working

2007-03-26 Thread Berglas, Anthony
Tomcat seems to only check the Authorization: headers if there is some security-constraint explicitly declared in web.xml. However, it appears that the optimization has been incorrectly implemented because it does not then recheck the header if request.isUserInRole(...) etc. are called. So

Can't view examples

2007-03-26 Thread Joe Green
Hi, I installed Apache Tomcat/6.0.10 on Win XP Pro. Tomcat Web Application Manager shows status is OK. But when I click on Servlets and JSP Examples link on http://127.0.0.1:8080/, I get a 404 error. I also get 404 errors when I click on links /examples/, /host-manager and /manager. I do

Apache and Tomcat bridging - Servlet enabled?

2007-03-26 Thread Foo Shyn
Hi, This question suddenly struck me when i'm trying to solve my server problem. Here goes: Server settings: Apache 2 as front, Tomcat 4.1 as back, J2SDK 1.4.2 Let say that i'd configure that Apache so that whenever a request for www.abc.com will be redirected to the Tomcat's A context which

Re: Apache and Tomcat bridging - Servlet enabled?

2007-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 FooShyn, Foo Shyn wrote: Server settings: Apache 2 as front, Tomcat 4.1 as back, J2SDK 1.4.2 Let say that i'd configure that Apache so that whenever a request for www.abc.com will be redirected to the Tomcat's A context which contain a servlet

Re: Basic Auth without web.xml security-constraint not working

2007-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anthony, Berglas, Anthony wrote: Tomcat seems to only check the Authorization: headers if there is some security-constraint explicitly declared in web.xml. However, it appears that the optimization has been incorrectly implemented because it

Re: Apache and Tomcat bridging - Servlet enabled?

2007-03-26 Thread Filip Hanik - Dev Lists
Foo Shyn wrote: Hi, This question suddenly struck me when i'm trying to solve my server problem. Here goes: Server settings: Apache 2 as front, Tomcat 4.1 as back, J2SDK 1.4.2 Let say that i'd configure that Apache so that whenever a request for www.abc.com will be redirected to the Tomcat's

RE: [OT] java.util.MissingResourceException: Can't find bundle for basename

2007-03-26 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: RE: [OT] java.util.MissingResourceException: Can't find bundle for basename Anyway it is great to be 'out of the normal routine' and to have returned home safely. I know how you feel - I'm on the 2nd day of a 3-week, 4,500 mile

Characters prepended to index.jsp

2007-03-26 Thread orn amental
Hello I'm using Apache Tomcat 5.5.23 with JDK1.5 on WinNT5.1 SP2 using text editors: jEdit, Eclipse/3.2.1, TextPad/4 After editing ROOT/index.jsp, I get non ASCII characters prepended to the file's contents, like this: ?xml version=1.0 encoding=UTF-8? And it shows up on tomcat's homepage.

Re: Characters prepended to index.jsp

2007-03-26 Thread Rashmi Rubdi
These characters  are normally not visible in regular text editors like jEdit or Eclipse etc. One way to get rid of the characters is to create a new file, press Ctrl A and copy everything from the old file to the new one , and delete the old file - rename the new file, in an editor like