[ANN] Java Web Parts Beta 5

2006-07-03 Thread Frank W. Zammetti
After a few months off, the Java Web Parts (JWP) team is proud to announce the release of beta 5! The most notable change is that the taglib formerly known as AjaxTags is now known as the AjaxParts Taglib, or APT for short. Not only is the name different, but the taglib has been essentially

Re: APR not found under Linux

2006-07-03 Thread Stefan Wachter
Hi Martina, you are right! Switching to the AMD-64-Bit virtual machine Tomcat does no longer inform: The Apache Native library Therefore I assume that with that virtual machine the APR is used. Many thanks for your hint! Some time ago I compared the performance of the AMD-64-Bit VM with

Odd problem with Java Web service deployment

2006-07-03 Thread Remacle, F \(Francois\)
Hi everyone, I am writing to this mailing list as my last chance because I am completely stuck and cannot find solution to my problem anywhere on FAQ, internet or other webresources. Here is the problem, I am trying to deploy a very simple webservice because I am new to webservice so I wanted to

RE: APR not found under Linux

2006-07-03 Thread Holst, Martina
Hi Steffen, yes, it's possible. RPMs install 32-bit libraries into /lib rather than /lib64. Choose a different installation directory for self-compiled libraries using --prefix option of configure, and set the -m32 option for gcc. Regards, Martina -Original Message- From: Stefan Wachter

Re: Critical bug in RequestDispatcher.include(..) in Tomcat 5.5.16 ?

2006-07-03 Thread Tim Funk
You need to be using jsp:include page=/foo.html / Under the covers getOutputStream during the include. But a getWriter was already called. Once you call getWriter - you can't call getOutputStream, or you get the ISE. jsp:include gets aroung this by wrapping the response and wrapping

Re: Odd problem with Java Web service deployment

2006-07-03 Thread Franck Borel
According to all different things I have seen on the internet they sometimes talks about the classpath, however even if I add explicitely the servlet-api.jar that is in $CATALINA_HOME/common/lib on the classpath inside catalina.sh or on the system classpath that does not change anything. And

Re: APR not found under Linux

2006-07-03 Thread Stefan Wachter
Hi Martina, success! Thanks for your hints. In the following I summarize the steps taken in order to help others with simmilar problems: I was able to compile and install 32-bit versions of the tcnative and the apr library on my 64-bit system. First I had to install some missing 32-bit

Using APR in a Catalina-Home/Base Installation

2006-07-03 Thread Stefan Wachter
Hi all, after a while I had figured out how to use APR with Tomcat (cf. http://thread.gmane.org/gmane.comp.jakarta.tomcat.user/133360/focus=133360) on a 64-Bit environment with a 32-bit JVM. Now the next issue popped up: If Tomcat is started from the CATALINA_HOME/bin directory by startup.sh

RES: problem with doPost method - executed twice

2006-07-03 Thread Siomara
Thanks to you Michael, I solved the problem including return true before submitting the form Siomara html head titleInclui/Altera Marca Propriedade/title script language=javascript / // Set focus to the first form

Re: Using APR in a Catalina-Home/Base Installation

2006-07-03 Thread Markus Schönhaber
Stefan Wachter wrote: 2. Is there a possibility to check if the APR is used or not? Just look at the class names (Http11AprProtocol or Http11BaseProtocol) reported by the init messages in catalina.out. For example: - APR 22.06.2006 10:30:55 org.apache.coyote.http11.Http11AprProtocol init - no

Re: Using APR in a Catalina-Home/Base Installation

2006-07-03 Thread Stefan Wachter
Hi Markus, ok, I see. Checking the log file is see that APR is used in the home/base-installation! The only irritating thing is that if APR is disabled (e.g. by not supplying the necessary libraries) there is no INFO message about this situation in a home/base-installation. Cheers,

Executing Valve before Basic Authentication takes place

2006-07-03 Thread Böhringer Jochen
Hello, I try to get the following to work (Apache Tomcat/5.5.9 as ServletContainer within JBoss 4.x): I have a servlet inside a web application which is protected by Basic Authentication. The problem is that I have some clients which cannot do the challenge response basic authentication

Re: JDBC Realm for several webapp

2006-07-03 Thread Hassan Schroeder
On 7/2/06, Stanislav Komlenac [EMAIL PROTECTED] wrote: Citiram Stanislav Komlenac [EMAIL PROTECTED]: I want to have 2 web applications on my web server. Idea si to makde JDBC Realm unique for each web application. problem is that i dont understand what should i have in this {context}.xml

mod_jk 1.2.16 release candidate: ready to test

2006-07-03 Thread Rainer Jung
Hi, version 1.2.16 of the Apache Tomcat mod_jk web server connector has been tagged. This version contains numerous bug fixes and some new improvements over our last release 1.2.15. Please test and share your experience. If no critical bugs will be found, we will have a formal release vote

Re: mod_jk failover and preferring localhost

2006-07-03 Thread Rainer Jung
We just now tagged 1.2.16. A release candidate is available. Please have a look at http://marc.theaimsgroup.com/?l=tomcat-devm=115194553720728w=2 Test results are welcome. If no new problems will be found, the release vote will procees starting Friday. The final release will be announced on

Re: mod_jk failover and preferring localhost

2006-07-03 Thread Rainer Jung
The new attribute distance will help you. It was first implemented for version 1.2.16, which is in the process of being released (see my other answer). Please test and let us know your results. thuss2 schrieb: We have 10 web servers with Tomcat's running on them and a mod_jk configuration to

Re: mod_jk Status Busy Number

2006-07-03 Thread Rainer Jung
This bug has been fixed in version 1.2.16. We just now tagged 1.2.16. A release candidate is available. Please have a look at http://marc.theaimsgroup.com/?l=tomcat-devm=115194553720728w=2 Test results are welcome. If no new problems will be found, the release vote will procees starting Friday.

Re: Apache Tomcat and Mod-jk

2006-07-03 Thread Rainer Jung
The bug concerning the high busy values has been fixed in version 1.2.16. The V value is an internal counter, on which the decision concerning the load balancing is based. In 1.2.15 it is normal, that you see nagative values. For 1.2.16 this behaviour has been changed, so you should see only

How do I fix this error in localhost_log? javax.servlet.ServletException: Error instantiating servlet class org.apache.struts.action.ActionServlet

2006-07-03 Thread carrie . latimer
This is an excerpt from my localhost_log file: 2006-07-03 12:50:32 StandardContext[/strutsBlank]Marking servlet action as unavailable 2006-07-03 12:50:32 StandardContext[/strutsBlank]Servlet /strutsBlank threw load() exception javax.servlet.ServletException: Error instantiating servlet class

Re: How do I fix this error in localhost_log? javax.servlet.ServletException: Error instantiating servlet class org.apache.struts.action.ActionServlet

2006-07-03 Thread Avi Deitcher
Carrie, Did you include commons-beanutils in your war distribution? It is required for struts (from what I remember), but it cannot find it. [EMAIL PROTECTED] wrote: This is an excerpt from my localhost_log file: 2006-07-03 12:50:32 StandardContext[/strutsBlank]Marking servlet action as

Re: How do I fix this error in localhost_log? javax.servlet.ServletException: Error instantiating servlet class org.apache.struts.action.ActionServlet

2006-07-03 Thread David Smith
Include the bean-utils library from http://jakarta.apache.org/commons/beanutils in the WEB-INF/lib directory of your web application. --David [EMAIL PROTECTED] wrote: This is an excerpt from my localhost_log file: 2006-07-03 12:50:32 StandardContext[/strutsBlank]Marking servlet action as

JSVC and procname on Solaris

2006-07-03 Thread Nathan Wilhelmi
Hello - I have jsvc running on solaris with Tomcat 5.5.17. I added the patches so it accepts the procname argument. The process still shows up as jsvc, should this work under Solaris as well or am I doing something wrong? Startup command as follows: $DAEMON_HOME/jsvc \ -user $TOMCAT_USER \

manager app 404

2006-07-03 Thread atomi
Funny thing, when I add error-page error-code401/error-code location/customerrors/401.html/location /error-page to the ../tomcat/conf/web.xml file - the manager app at http://mydomain.com/manager/html throws a 404 error. yes it is in the correct area in the file. So. It

Tomcat initialization with commons daemon takes very long time

2006-07-03 Thread pi01
Hello, I am experiencing a very slow tomcat startup through jsvc here (over three minutes), which I can not figure out. I am using Apache Tomcat/5.5.12 with a JVM 1.5.0_05-b05 on Suse 9.3 with a Standard kernel. The following is the console-output, when starting Tomcat via jsvc. Jul 3, 2006

OS X Server - Enable Tomcat for JSPs only

2006-07-03 Thread Tom Jacobs
I want to configure my Mac OS X Server 10.4 so Tomcat handles JSPs, but Apache serves normal content (including PHP, CGI, and so on), all without having to specify a special port. In other words: www.mydomain.com/index.jsp (gets handled by Tomcat) www.mydomain.com/index.html (gets handled by

Re: OS X Server - Enable Tomcat for JSPs only

2006-07-03 Thread Hassan Schroeder
On 7/3/06, Tom Jacobs [EMAIL PROTECTED] wrote: I want to configure my Mac OS X Server 10.4 so Tomcat handles JSPs, but Apache serves normal content (including PHP, CGI, and so on), I've Googled extensively and tried many approaches, such as?

Re: Serving CSS files from a certain URL

2006-07-03 Thread Hassan Schroeder
On 7/2/06, Alec Swan [EMAIL PROTECTED] wrote: I have a servlet, which I deploy as a WAR file. I want this servlet to service all .jsp requests, but have Tomcat service .css files from /site/css/ directory inside the servlet WAR file. I don't want Tomcat to invoke my servlet when serving CSS

catalina deploy task on Mac OS X: localwar attribute

2006-07-03 Thread Anton Ivanov
I have the following problem on Mac OS X that I do not have on Linux. I install tomcat (I tried 5.5.17 and 4.1.31) and verify that the manager application works. In particular, I can use the manager app to do a local install from a directory by specifying the directory name with

Re: Apache Tomcat - Apache Tomcat -- Mailing Lists

2006-07-03 Thread Richard Doust
I've just deployed an application that worked like a charm on JBoss 4.0.1 with Jetty to JBoss 4.0.4 with Tomcat 5.5.17. I'm working through some problems. The one that's got me scratching my head now is that none of my jstl tags produce anything other than themselves, exactly as originally

Re: Auto/Hot Deploy on 5.5.17 not working - context not being undeployed

2006-07-03 Thread Mark Thomas
This 'feature' is a side effect of the way some xml parsers are used. The fix is easy. Look at antiResourceLocking and antiJARLocking on http://tomcat.apache.org/tomcat-5.5-doc/config/context.html Mark Josh Parker wrote: Hi all - I'm running Tomcat 5.5.17 and having problems with redeploying

Re: looking for user managment package

2006-07-03 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread.

Re: where can I find documentation for teh tom cat administration web application?

2006-07-03 Thread Mark Thomas
Andrew E. Davidson wrote: What does it do? The name should be self-evident. To my knowledge, there are no docs for it. How can I get a copy of it? http://tomcat.apache.org/download-55.cgi Search for Administration Web Application Why has it been removed from the standard distribution? To

Re: list of sessions

2006-07-03 Thread Mark Thomas
tanja Fuhr wrote: Hello, I would like to get list of sessions, which Tomcat are managed. I see, that I can use method findSessions() of StandardManager class, but I don't how can I get an instance of this class. All what I have is HttpServletRequest and HttpSession This thread might

Re: log4j in webapp hanging Tomcat?

2006-07-03 Thread Mark Thomas
Avi Deitcher wrote: I am not sure how NB grabs the console when it starts it via a command-prompt, but whatever it is doing is causing the deadlock. I will avoid it for now, but what is the right way to get NB and Tomcat together to figure it out? I'd create a bug against NetBeans in the

Re: manager app 404

2006-07-03 Thread Mark Thomas
atomi wrote: Funny thing, when I add error-page error-code401/error-code location/customerrors/401.html/location /error-page Not funny, just entirely expected. I suggest you read http://www.ietf.org/rfc/rfc2617.txt?number=2617 before experimenting with custom 401

Re: Executing Valve before Basic Authentication takes place

2006-07-03 Thread Mark Thomas
Böhringer Jochen wrote: But the problem is, that this valve is called after the basic authentication took place (exactly as it happens if I try to use a servlet filter). If you explicitly define the Authenticator Valve as well as your own, and specify your own first, you should get the

Re: manager app 404

2006-07-03 Thread atomi
The suggested link is technically gruff. I read a bit of it and did a quick search concerning the 401 and the required headers and found http://issues.apache.org/bugzilla/show_bug.cgi?id=13430 Apparently, the remarks offer some solutions. Sorry for the added redundancy. Thanks Mark, atomi. On

Re: JDBC Realm for several webapp

2006-07-03 Thread Kim Brianne Go
Hi... you might want to look at SecurityFilters. This make it possible for each webapp to be given unique realm security, basically the concept is a webapp containing its own security configuration so that you can deploy your webapp without additional setup from the appservers. Hope this

Native library not found

2006-07-03 Thread Romain Quilici
Hi all, I have read several message on this issue, and tried many solutions without a real success. Actually I can get it working but I am not happy with that way(explained below). I must admit that it is a mystery how native libraries are found in Tomcat. I am running tomcat 5.5.15 with Axis on

which apache

2006-07-03 Thread Tomcat
Hello I have installed Tomcat and Apache, and both of them works fine, however , tomcat has been installed as standalone and just listen to Apache that came with Tomcat, how I can change it, so Tomcat works with my desired Apache. Thanks for your help

Busy in jkmanager

2006-07-03 Thread Mohan2005
Dear All: Please explain what this Busy number is in jkmanager and its significance to the load balancer. Thanks in advance. Mohan -- View this message in context: http://www.nabble.com/%22Busy%22-in-jkmanager-tf1888108.html#a5162174 Sent from the Tomcat - User forum at Nabble.com.