Support for Servlet 2.5/JSP 2.1?
Servlet 2.5 (http://www.jcp.org/aboutJava/communityprocess/maintenance/jsr154/index3.html) and JSP 2.1 (http://jcp.org/en/jsr/detail?id=245) have both released. Would these be supported on Tomcat 5.5 anytime soon? Or would this be in a new version (Tomcat 6?) Thanks! /s __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat roadmap
J2EE 5.0 releases in the second half of 2005. Will this be implemented by Tomcat 5.5 too, or will this result ina new version - say Tomcat 6 (for Servlet 2.4/JSP 2.1?). I was writing an article on this area, and was curious about the roadmap.. Thanks, Sam __ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat roadmap
Thanks Yoav, JSP 2.1 specifications are currently in Early Draft Review phase. Will these be implemented as a 'Tomcat 6' release? I don't see a JCP for the next servlet specification anywhere in the picture, so if there is new Tomcat version (Tomcat 6?), would this be for Servlet 2.4/JSP 2.1? Is there any timeline for this? Thanks again, - Sam Hi, Tomcat is not a full J2EE container, only a Servlet and JSP container. Accordingly, J2EE spec releases don't matter per-se. They only matter if they contain new Servlet or JSP spec releases in them. Tomcat 6 will implement the next version of the JSP and Servlet specs, whenever those come out. Yoav -Original Message- From: Sam Ewing [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 7:46 PM To: tomcat-dev@jakarta.apache.org Subject: Tomcat roadmap J2EE 5.0 releases in the second half of 2005. Will this be implemented by Tomcat 5.5 too, or will this result ina new version - say Tomcat 6 (for Servlet 2.4/JSP 2.1?). I was writing an article on this area, and was curious about the roadmap.. Thanks, Sam __ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Non beta version of TC5?
Hi, When would a non-beta version of Tomcat 5 be released? Thanks, /s __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [5.0] J2EE release
Hi Remy, How close is 5.0.15 to a non-beta Tomcat release? Thanks, /s --- Remy Maucherat [EMAIL PROTECTED] wrote: Sun has released the new J2EE RI, but not the specifications (no wonder they are first with an implementation ...). Assuming the specs are also released today, I will tag 5.0.15 tomorrow. Rémy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Query regarding Tomcat 5/Coyote Connector
I had a couple of questions regarding the Coyote HTTP connector in Tomcat 5.x: 1. Tomcat 5.x has maxThreads, maxSpareThreads and minSpareThreads attributes unlike the Coyote connector in Tomcat 4.x (which has maxProcessors, minProcessors). However, I looked at the org.apache.coyote.tomcat5.CoyoteConnector class, and this has maxProcessors and minProcessors as configurable properties. So how/where do the maxThreads etc get set? 2. The Coyote connector in Tomcat 5.x doesn't have a className attribute unlike 4.x- so how does the right connector class get invoked? Thanks- all and any info appreciated! /s __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Bug with JAASRealm/NT Domain?
I am using JAASRealm with the NT Login module. My Realm configuration from server.xml (tomcat 4.1.18) is: Realm className=org.apache.catalina.realm.JAASRealm debug=99 roleClassNames=com.sun.security.auth.NTDomainPrincipal userClassNames=com.sun.security.auth.NTUserPrincipal / I then modified the web.xml for the admin and manager applications, changing it to my NT domain name and restarted Tomcat. On browsing to the admin and manager application, I merely get an empty web page and no error... the log files also dont have any error indication. Am I missing something, or is this a bug? I tried posting some JAAS Realm questions on tomcat-user... but guess there arent a lot of users using JAASRealms. TIA /s __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Bug with JAASRealm/NT Domain?
Even added a jaas.conf in my user.dir with the following entry... Tomcat { com.sun.security.auth.module.NTLoginModule required; }; --- Sam Ewing [EMAIL PROTECTED] wrote: I am using JAASRealm with the NT Login module. My Realm configuration from server.xml (tomcat 4.1.18) is: Realm className=org.apache.catalina.realm.JAASRealm debug=99 roleClassNames=com.sun.security.auth.NTDomainPrincipal userClassNames=com.sun.security.auth.NTUserPrincipal / I then modified the web.xml for the admin and manager applications, changing it to my NT domain name and restarted Tomcat. On browsing to the admin and manager application, I merely get an empty web page and no error... the log files also dont have any error indication. Am I missing something, or is this a bug? I tried posting some JAAS Realm questions on tomcat-user... but guess there arent a lot of users using JAASRealms. TIA /s __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Bug with JAASRealm/NT Domain?
I tried debugging the JAASRealm. This is where things go wrong- public Principal authenticate(String username, String credentials) { ... loginContext = new LoginContext (appName, new JAASCallbackHandler(this, username, credentials)) ... The JAACallbackHandler object gets built, but the method never returns from the LoginContext connector- not even an exception. Help! /s --- Sam Ewing [EMAIL PROTECTED] wrote: Even added a jaas.conf in my user.dir with the following entry... Tomcat { com.sun.security.auth.module.NTLoginModule required; }; --- Sam Ewing [EMAIL PROTECTED] wrote: I am using JAASRealm with the NT Login module. My Realm configuration from server.xml (tomcat 4.1.18) is: Realm className=org.apache.catalina.realm.JAASRealm debug=99 roleClassNames=com.sun.security.auth.NTDomainPrincipal userClassNames=com.sun.security.auth.NTUserPrincipal / I then modified the web.xml for the admin and manager applications, changing it to my NT domain name and restarted Tomcat. On browsing to the admin and manager application, I merely get an empty web page and no error... the log files also dont have any error indication. Am I missing something, or is this a bug? I tried posting some JAAS Realm questions on tomcat-user... but guess there arent a lot of users using JAASRealms. TIA /s __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Deployed applications persisting across Tomcat restarts
I remember seeing a bug sometime back on deployed applications not persisting across Tomcat restarts. Has this been fixed? The deployed app is copied into CATALINA_HOME/work which is not loaded up by Tomcat- so how does Tomcat find the context again? Is server.xml modified? I haven't been able to get my deploy ant task to work so can't try it out (keep getting java.net.UnknownHostException for deploy- all other tasks work fine :(- but that is another issue.) __ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Bugs in deploy task?
Finally go the deploy ant task to work- cleared up a lot of my misunderstanding. I found two bugs (or are they mistakes on my part??) though: 1. The only path accepted by the ant deploy task is a URL type (see sample below) target name=deploy description=Deploy web application depends=build deploy url=${url} username=${username} password=${password} path=${path} war=http://localhost/myApp.war/ /target 2. The undeploy task removes the war file all right, but the server.xml entry that is added is not removed. --- Sam Ewing [EMAIL PROTECTED] wrote: I remember seeing a bug sometime back on deployed applications not persisting across Tomcat restarts. Has this been fixed? The deployed app is copied into CATALINA_HOME/work which is not loaded up by Tomcat- so how does Tomcat find the context again? Is server.xml modified? I haven't been able to get my deploy ant task to work so can't try it out (keep getting java.net.UnknownHostException for deploy- all other tasks work fine :(- but that is another issue.) __ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
deploy manager task in ant
I have my deploy target in build.xml as: !-- build target results in a myapp.jar file -- target name=deploy depends=build deploy url=${url} username=${username} password=${password} path=${path} war=file://${build}/myapp.war/ /target I get back an error from the ant script: file:C:/users/sam/build.xml:78: java.net.UnknownHostException: D (Line #78 is the line that has the path= and war= lines) Any help appreciated! __ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
install webapp task (4.1)
In tomcat 4.1, can the install task be used to install to a remote machine? (i.e. war file not on the machine that runs tomcat..) tx __ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Webapp and SSL?
What do we need to do for using SSL when we have a webapp connector? Is all we have to do revolve around getting Apache to handle SSL? Any special webapp directives in httpd.conf? What about server.xml changes- do we only need to set scheme to https and secure to true? Anything else? tx, __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Fix for bug #8331??
Hi Pier, Did just that. Apachectl configtest gives a 'Syntax OK'; however when I start apache, 'apachectl start' fails with the following error: (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down From your config directives, I assumes that you are Apache 1.3 ('libexec' instead of 'modules'). I tried to move to Apache 1.3; but I get the following errors: Syntax error on line 206 of /home/sam/http/conf/httpd.conf: Cannot load /home/sam/http/libexec/mod_webapp.so into server: /home/sam/http/libexec/mod_webapp.so: undefined symbol: apr_atomic_set ./apachectl start: httpd could not be started Help!! --- Pier Fumagalli [EMAIL PROTECTED] wrote: Sam Ewing [EMAIL PROTECTED] wrote: I am on Apache 2.0.39 and Tomcat 4.1.3, and the latest webapp connector code, fresh from CVS. I am facing a Invalid virtual host name error from Apache with this configuration: LoadModule webapp_module libexec/mod_webapp.so WebAppConnection conn warp localhost:8008 WebAppDeploy examples conn /examples This seems to be identical to bug#8331. Any fixes? http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8331 I runs on my own system here... Did you remember to put the ServerName directive in your virtual host? This is how my httpd.conf (relevant part of virtualhosts looks like): [...] LoadModule webapp_module libexec/mod_webapp.so [...] ServerName blossom.betaversion.org:80 [...] WebAppConnection local warp 127.0.0.1:8008 [...] NameVirtualHost * VirtualHost * ServerName blossom.betaversion.org:80 # DocumentRoot [inherited from main] # ServerAdmin [inherited from main] WebAppInfo /webapp-status [...] /VirtualHost VirtualHost * ServerName www1.blossom:80 DocumentRoot /Library/Services/Apache2/Sites/www1 # ServerAdmin [inherited from main] WebAppDeploy svnview local /svnview [...] /VirtualHost Anyhow, this is being fixed... TC should have no clue of what is a virtual host, it just needs to know that a request is mapped to a particular context, no need to care about anything else... Pier -- [Perl] combines all the worst aspects of C and Lisp: a billion of different sublanguages in one monolithic executable. It combines the power of C with the readability of PostScript. [Jamie Zawinski - DNA Lounge - San Francisco] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
webapp- who handles static content: Tomcat or Apache
I read elsewhere that that mod_webapp fowarded requests for static resources to Tomcat (instead of Apache). Is this fixed? If not, are there workarounds? Tx, __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Fix for bug #8331??
Hi Pier, Yes, I am building on Linux (Redhat 7.3). I see a tempval=--enable-static --disable-shared --disable-threads in the configure script.. do I knock of the disable-threads? Do you mean my apr_config (I dont see a apr_config.h being created..). It looks like this: prefix=/usr/local exec_prefix=${prefix} bindir=${exec_prefix}/bin libdir=/home/sam/jakarta-tomcat-connectors/webapp/objects datadir=${prefix}/share installbuilddir=${prefix}/share/build includedir=${prefix}/include CC=gcc CPP=gcc -E SHELL=/bin/sh CPPFLAGS=-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE CFLAGS=-g -O2 LDFLAGS= LIBS=-lm -lcrypt -lnsl -ldl EXTRA_INCLUDES= SHLIBPATH_VAR=LD_LIBRARY_PATH APR_SOURCE_DIR=/home/sam/jakarta-tomcat-connectors/webapp/apr APR_SO_EXT=lo APR_LIB_TARGET=-rpath \$(libdir) \$\$objects show_usage() ... Thanks! I know. The webapp configure actually forces threads to be disabled because of the way in which they don't work that great with Apache 1.3. But of course this disables ATOMICS, which is not what you want... It is really odd, because all the atomics code I can see is actually ifdef(ed) out with APR_HAS_THREADS, but somehow it gets foobared up somewhere... UNLESS, don't tell me you're building it on Linux... Can you send me over your apr_config.h file after configure is run? Pier __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Fix for bug #8331??
I am on Apache 2.0.39 and Tomcat 4.1.3, and the latest webapp connector code, fresh from CVS. I am facing a Invalid virtual host name error from Apache with this configuration: LoadModule webapp_module libexec/mod_webapp.so WebAppConnection conn warp localhost:8008 WebAppDeploy examples conn /examples This seems to be identical to bug#8331. Any fixes? http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8331 Tx __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
APJ port
A question on the APJ connector.. how does Apache know that APJ is listening on port 8009? For WARP, ist quite clear.. we have a WebAppConnection directive... __ Do You Yahoo!? Yahoo! Greetings - send holiday greetings for Easter, Passover http://greetings.yahoo.com/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Mod_jk v/s mod_webapp
Thank Constin,that really helped. Are there any advantages of WARP over APJ? I mean why would I want to use one over the other? Sam --- [EMAIL PROTECTED] wrote: On Thu, 28 Mar 2002 [EMAIL PROTECTED] wrote: Maybe I've not kept up on the docs enough but ... I do think this thread, highlights a general confusion around tomcat. Over the last couple of years, there have been many mod_jk/jk2/webapp/warp/?? implementations, ajp versions etc, and even when the discussions are on the list, it's still hard to be able to say (for lowly thread lurkers/tomcat users like myself), tomcat X.x can use mod_??, on ajp?.? because they provide xyz.. The problem is I have no time and I'm not good at writing docs. Mod_jk works on all web servers and with all tomcat versions. Mod_jk2 will do the same. The core of the confusion is the distinction between protocol, API, implementation. A protocol is something like IIOP, RPC, HTTP. The API is a set of functions - for forwarding the request, getting response, config, auth, etc. Mod_jk is an implementation that supports multiple communication protocols and multiple APIs. Different versions of tomcat also support multiple protocols and APIs. There are 4 protocols we use: - ajp12 ( in tomcat3.x, jserv ) - ajp13 ( in tomcat3.x, tomcat4.x ) - jni ( in tomcat3.x - and 4.x as soon as jk2 is ready ) - WARP ( in tomcat4.x ) There are several APIs: - request forwarding APIs - usually one method signature for each protocol - configuration methods - in warp and what used to be called ajp14 ( very confusing, since it was a set of new methods implemented with ajp13 protocol ) - auth, shutdown, etc - again 2 or 3 if you count the 4.0 shutdown protocol. And several implementations of those protocols: - mod_jserv implements ajp12 - mod_jk implements ajp12, ajp13, jni - mod_jk2 implements ajp13 ( and one of my goals for a future version is to implement one 'real' protocol - a minimal subset of RPC/XDR or IIOP or similar ) ( with jni replaced with ajp13 - and multiple channels - tcp, unix, jni ) - mod_webapp implements WARP - tomcat3.x implements ajp12, ajp13, jni - tomcat4.x - ajp13, WARP And several implementations of the APIs ( similar matrix ). The basic request forwarding APIs used in jk is common to all servers and should be fully interoperable. Extended APIs ( config, etc) are supported only in new versions of tomcat/jk. Load balancing is one extra feature in mod_jk and mod_jserv, on top of the forwarding API. Costin -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Greetings - send holiday greetings for Easter, Passover http://greetings.yahoo.com/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Mod_jk v/s mod_webapp
Hi Costin, - mod_jserv implements ajp12 - mod_jk implements ajp12, ajp13, jni - mod_jk2 implements ajp13 ( and one of my goals for I looked at http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html This says that This implementation supports the AJP 1.3 and 1.4 protocols.. __ Do You Yahoo!? Yahoo! Greetings - send holiday greetings for Easter, Passover http://greetings.yahoo.com/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Mod_jk v/s mod_webapp
I was not able to locate any information on the differences between mod_webapp and mod_jk for Tomcat 4.0.. could anyone point me in the right direction? What about the respective protocols? APJ v/s WARP? Also, where could I find instructions on configuring apache to use mod_webapp? Any reply would be appreciated! Thanks, Sam __ Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards® http://movies.yahoo.com/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Mod_jk v/s mod_webapp
Thanks. Do you have any info about configuring Tomcat w/ Apache using mod_webapp? I couldn't find anything.. What is mod_jk2? As I understand, mod_jk implements APJ 1.3.. What about mod_jk2? Sam --- David Graff [EMAIL PROTECTED] wrote: mod_jk/jk2 seems to be based on the original mod_jk attachment module that was developed to replace the jserv module that would allow you to launch tomcat in process of apache. mod_webapp (from what I can tell) was supposed to be a completely new implemenation of this functionality with improvements here and there as far as application deployment etc. There are issues with both of them but no real documenation or comments on the benefits/pitfalls of either on the Tomcat site. - Original Message - From: Sam Ewing [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 28, 2002 00:49 Subject: Mod_jk v/s mod_webapp I was not able to locate any information on the differences between mod_webapp and mod_jk for Tomcat 4.0.. could anyone point me in the right direction? What about the respective protocols? APJ v/s WARP? Also, where could I find instructions on configuring apache to use mod_webapp? Any reply would be appreciated! Thanks, Sam __ Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards® http://movies.yahoo.com/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards® http://movies.yahoo.com/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]