Re: Tomcat & JRE Redistribute License

2009-07-15 Thread Feris
Hi Chris, On Thu, Jul 16, 2009 at 5:13 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > > Since it's pretty clear you're too lazy to locate them yourself, here's > a link for you: http://www.apache.org/licenses/LICENSE-2.0.html > > You might be specifically interested in the sect

Re: Deploying ROOT application errors.

2009-07-15 Thread Wesley Acheson
Oops sorry no I didn't see that I'll take a look. On Thu, Jul 16, 2009 at 1:06 AM, David Rees wrote: > On Wed, Jul 15, 2009 at 3:58 PM, Wesley Acheson > wrote: > > On Thu, Jul 16, 2009 at 12:52 AM, Konstantin Kolinko < > knst.koli...@gmail.com wrote: > >> Maybe the following will help you: > >>

Re: Deploying ROOT application errors.

2009-07-15 Thread Wesley Acheson
In that it includes root.war and it undeploying it. yes. Jar locking I don't know about. How do I prevent that? On Thu, Jul 16, 2009 at 1:08 AM, Pid wrote: > On 15/7/09 23:58, Wesley Acheson wrote: > >> Tomcat 6.0.18 >> windows vista professional 32 bit. >> >> Although I seem to have seen a rel

Re: Deploying ROOT application errors.

2009-07-15 Thread Pid
On 15/7/09 23:58, Wesley Acheson wrote: Tomcat 6.0.18 windows vista professional 32 bit. Although I seem to have seen a related issue on tomcat 5.5 here In that it appears to involve ROOT.war? https://issues.apache.org/bugzilla/show_bug.cgi?id=36990 Sounds like you have a jar locking issue

Re: Deploying ROOT application errors.

2009-07-15 Thread David Rees
On Wed, Jul 15, 2009 at 3:58 PM, Wesley Acheson wrote: > On Thu, Jul 16, 2009 at 12:52 AM, Konstantin Kolinko wrote: >> Maybe the following will help you: >> http://wiki.apache.org/tomcat/FAQ/Windows > > Tomcat 6.0.18 > windows vista professional 32 bit. > > Although I seem to have seen a related

Re: Deploying ROOT application errors.

2009-07-15 Thread Wesley Acheson
Tomcat 6.0.18 windows vista professional 32 bit. Although I seem to have seen a related issue on tomcat 5.5 here https://issues.apache.org/bugzilla/show_bug.cgi?id=36990 Regards, Wes On Thu, Jul 16, 2009 at 12:52 AM, Konstantin Kolinko wrote: > Usual questions: > 1. Your exact Tomcat version

Re: Deploying ROOT application errors.

2009-07-15 Thread Konstantin Kolinko
Usual questions: 1. Your exact Tomcat version. 2. Your OS and configuration. > If I try to deploy ROOT.war via the manager It just deletes the contents of > the ROOT expanded directory minus the web-inf and meta-inf folders. Maybe the following will help you: http://wiki.apache.org/tomcat/FAQ/Wi

Re: Tomcat & JRE Redistribute License

2009-07-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Feris, On 7/15/2009 9:39 AM, Feris wrote: > This left me with other two dependence apps : Tomcat & JRE 6. Is it ok to > embed them as part of my distribution? While some folks on the list may know the answer for the JRE, you should really read the Ja

Re: Socket bind failed: [22] Invalid argument - Fedora 11

2009-07-15 Thread Ole Ersoy
Mark, I looked at the startup log a little closer and there's this line: Jul 15, 2009 2:24:09 PM org.apache.catalina.core.AprLifecycleListener init INFO: Loaded APR based Apache Tomcat Native library 1.1.14. I noticed below that you said I should be using 1.1.6. So maybe this is the problem.

Re: Deploying ROOT application errors.

2009-07-15 Thread Wesley Acheson
Doesn't work I'm afraid not after tomcat is restarted. If I try to deploy ROOT.war via the manager It just deletes the contents of the ROOT expanded directory minus the web-inf and meta-inf folders. however if I stop tomcat manually delete ROOT.war and ROOT folder, start tomcat I can deploy a ROO

Re: Deploying ROOT application errors.

2009-07-15 Thread David Rees
On Wed, Jul 15, 2009 at 2:25 PM, Wesley Acheson wrote: > How do I either reliably deploy/undeploy from root? Name the war file ROOT.war. http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html -Dave - To unsubscribe, e-mail:

Deploying ROOT application errors.

2009-07-15 Thread Wesley Acheson
Hi using the manager I can deploy an application to root. However if tomcat is restarted I cannot redeploy/undeploy it. I think this is because libaries used by this application are available to all applications. How do I either reliably deploy/undeploy from root? Failing that when set up with M

Re: Exception in the Tomcat

2009-07-15 Thread Ella Gerstner
2009/7/15 Ella Gerstner > Hi!! > > i developed a web aplication and in the log of the server show me this > exception, and i don´t know what is the problem, somebody know what i have > to do?? > thanks :D > > Jul 10, 2009 9:57:56 AM org.apache.catalina.connector.Connector pause > SEVERE: Protoco

Re: Socket bind failed: [22] Invalid argument - Fedora 11

2009-07-15 Thread Ole Ersoy
Hi, I just tried a manual install and start using only the startup.sh script and it works fine. [r...@ole bin]# chmod u+x *.sh [r...@ole bin]# ./startup.sh Using CATALINA_BASE: /home/ole/apache-tomcat-6.0.20 Using CATALINA_HOME: /home/ole/apache-tomcat-6.0.20 Using CATALINA_TMPDIR: /home/ol

Re: MapListener update

2009-07-15 Thread Mark Thomas
> --- Original Message --- > From: jim ma > To: Tomcat Users List > Sent: 15/07/09, 03:48:51 > Subject: MapListener update > > Is this change to fix an issue ? It is called *open* source for a reason. Did you look at the svn history for the file in question? The same info is available

Re: Socket bind failed: [22] Invalid argument - Fedora 11

2009-07-15 Thread Ole Ersoy
Hi Mladen, I tried adding the address attribute like this: I also tried: But I still get the same message. I'll try it without jsvc next. Thanks, - Ole - To unsubscribe, e-mail: users-unsubscr...@tomcat.

Re: Socket bind failed: [22] Invalid argument - Fedora 11

2009-07-15 Thread Ole Ersoy
Mark, Thanks - yeah - I read up on the ubuntu ticket, and decided to give 6.0.20 a try. I built the rpm package using the following dependencies: Requires: apr-devel = 1.3.5 Requires: apr = 1.3.5 Requires: apr-util = 1.3.7 I'm going to try just doing a manual install next to make sure it work

Re: Socket bind failed: [22] Invalid argument - Fedora 11

2009-07-15 Thread Mladen Turk
On 15/07/09 19:45, Ole Ersoy wrote: Hi, I'm trying to get Tomcat 6.0.20 with APR and JSVC to run on Fedora 11. During startup I get this: SEVERE: Error initializing endpoint java.lang.Exception: Socket bind failed: [22] Invalid argument at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint

Re: Socket bind failed: [22] Invalid argument - Fedora 11

2009-07-15 Thread Mladen Turk
On 15/07/09 19:52, David Smith wrote: Or it could be the connector in server.xml is misconfigured. Could you post the one appears to be trying to bind to the sshd port 22? No, 22 represents the EINVAL from - To unsubscribe

Re: WebdavServlet custom directory

2009-07-15 Thread Mark Thomas
> --- Original Message --- > From: Serge Fonville > To: Tomcat Users List > Sent: 15/07/09, 08:26:20 > Subject: WebdavServlet custom directory > > Hi, > > I am currently in the process of setting up a webdav resource on > glassfish. I noticed it uses > org.apache.catalina.servlets.Webda

Re: Socket bind failed: [22] Invalid argument - Fedora 11

2009-07-15 Thread Mark Thomas
With the latest APR/native (1.1.16) and 6.0.20 ipv6 should work. At least it does for me on Ubuntu. Mark > --- Original Message --- > From: Ole Ersoy > To: Tomcat Users List > Sent: 15/07/09, 18:45:06 > Subject: Socket bind failed: [22] Invalid argument - Fedora 11 > > Hi, > > I'm tr

RE: chunked encoding

2009-07-15 Thread Anthony J. Biacco
> > The real "culprit" here for your chunked encoding and lack of > content-length header is mod_deflate (as Rainer indicated). > It has to do that, because it compresses the response on-the-fly, and > does not know the compressed response size in advance. > Which would be fine (well not fine, b

Re: Socket bind failed: [22] Invalid argument - Fedora 11

2009-07-15 Thread David Smith
Or it could be the connector in server.xml is misconfigured. Could you post the one appears to be trying to bind to the sshd port 22? --David Ole Ersoy wrote: > Hi, > > I'm trying to get Tomcat 6.0.20 with APR and JSVC to run on Fedora > 11. During startup I get this: > > SEVERE: Error initiali

Socket bind failed: [22] Invalid argument - Fedora 11

2009-07-15 Thread Ole Ersoy
Hi, I'm trying to get Tomcat 6.0.20 with APR and JSVC to run on Fedora 11. During startup I get this: SEVERE: Error initializing endpoint java.lang.Exception: Socket bind failed: [22] Invalid argument at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:623) at org.

Re: chunked encoding

2009-07-15 Thread André Warnier
Anthony J. Biacco wrote: I'd like to re-open my initial chunking problem briefly here, and maybe move it to apache/modules-dev Maybe more like the Apache users list though. Let's maybe summarise the issue first. Your configuration is : client <-> apache httpd with mod_deflate <-> mod_jk <-> T

RE: How to limit requests per second

2009-07-15 Thread Caldarale, Charles R
> From: Tamer Abdulazim [mailto:eng.ta...@gmail.com] > Subject: How to limit requests per second > > We have a servlet deployed on Tomcat 5.5. Another 3rd party > application call this servlet heavily. The system works fine > for 20 requests per second but it crash if it exceeded this > limit. Yo

Re: Problem with Web Service deployment

2009-07-15 Thread Rafael Barrera Oro
I realized that the real exception behind the error was: java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.ws.transport.http.servlet.WSServletContextListener at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccess

RE: Configuring Apache Web Server with Tomcat

2009-07-15 Thread Caldarale, Charles R
> From: alee amin [mailto:mailing.list.mail...@gmail.com] > Cc: us...@httpd.apache.org > Subject: Re: Configuring Apache Web Server with Tomcat Don't cross-post. > I want apache httpd running on front and wants to forward the > jsp/servlet requests to tomcat only. I want my static pages > and pho

Re: chunked encoding

2009-07-15 Thread Anthony J. Biacco
I'd like to re-open my initial chunking problem briefly here, and maybe move it to apache/modules-dev if it ends up not applying here anymore. If you all remember, I was having the problem of not being able to get my request response NOT-chunked from my webapps via apache->mod_jk->tomcat. So our

How to limit requests per second

2009-07-15 Thread Tamer Abdulazim
Hi, We have a servlet deployed on Tomcat 5.5. Another 3rd party application call this servlet heavily. The system works fine for 20 requests per second but it crash if it exceeded this limit. We cannot control the 3rd party system that call our servlet. Can we change any configuration in tomcat t

Re: Axis SOAP maximum message size

2009-07-15 Thread André Warnier
Sergio Arrighi wrote: Hi, Which is the maximum size of an Axis Soap Message? We here don't know about that kind of stuff, we just know about this Tomcat thing. Maybe you should ask that on an Axis support list, or a SOAP support list, or a Message support list.

Problem with Web Service deployment

2009-07-15 Thread Rafael Barrera Oro
Hello! I was trying to deploy a simple Web Service while following the "metro: Building a JAX-WS Application in the Metro Environment" Metro tutorial ( https://metro.dev.java.net/getting-started/basic.html ) and got the following error: ERROR http-8180-Processor22 org.apache.catalina.core.Contain

Re: Configuring Apache Web Server with Tomcat

2009-07-15 Thread alee amin
I want apache httpd running on front and wants to forward the jsp/servlet requests to tomcat only. I want my static pages and photos to be processed by apache and want to configure it through mod_ajp I have come up with some settings which actually helped me in forwarding the reqeust to tomcat. Bu

Re: Logging of memory / thread activity

2009-07-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lucas, On 7/15/2009 10:07 AM, Lucas Vickers wrote: > Upon investigation and reading > > http://opensource.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669 > > Perhaps I need to deregister my database driver. I thought the database

Re: Symlinks inside WEB-INF/classes not working for me

2009-07-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 7/14/2009 5:25 PM, Mark Thomas wrote: > Christopher Schultz wrote: >> They are not implemented in StandardContext: they are implemented in >> FileDirContext and therefore should only affect content being served by >> the web server, not JAR f

Re: Configuring Apache Web Server with Tomcat

2009-07-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alee, On 7/15/2009 1:52 AM, alee amin wrote: > I am using Tomcat6 but i could not find any thing to put in Connector > configuration of tomcat file. Can you please help? > - When i said "working fine" .. i meant that JSP pages are viewable if i > brow

Axis SOAP maximum message size

2009-07-15 Thread Sergio Arrighi
Hi, Which is the maximum size of an Axis Soap Message? Many thanks. Sergio -- *I.M.I.N. Holding s.r.l.* Sergio Arrighi sergio.arri...@iminholding.com Cell. 3455805121 Vicolo Molino, 2 21052 Busto Arsizio Varese Tel. +39 0331324679 Fax. +39 03313246

Re: Tomcat Adapter for Eclipse 3.5 Galileo?

2009-07-15 Thread Michael Ludwig
Antonio Petrelli schrieb: 2009/7/15 Michael Ludwig : Does anyone know the name of the Tomcat adapter feature? Or a URL to download the feature? It should be "JST Server Adapters" And that's exactly what it is. The thing to note is that you can either install "JST Server Adapters" from the Ga

Re: Failed to start Tomcat service

2009-07-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hung, (Please reply to the list, not to me directly). On 7/14/2009 5:19 PM, Bui, Hung (CDPH-DDWEM) wrote: > What should I do now? You need to re-configure the service: run CATALINA_HOME\bin\tomcat6w.exe and change the JVM being used by Tomcat. - -c

Re: Tomcat Adapter for Eclipse 3.5 Galileo?

2009-07-15 Thread Antonio Petrelli
2009/7/15 Michael Ludwig : > Antonio Petrelli schrieb: >> >> 2009/7/15 Michael Ludwig : >>> >>> Does anyone know the name of the Tomcat adapter feature? Or a URL to >>> download the feature? >> >> It should be "JST Server Adapters" > > Thanks again, Antonio. I thought so, too, but that only creates

Re: Logging of memory / thread activity

2009-07-15 Thread Lucas Vickers
Upon investigation and reading http://opensource.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669 Perhaps I need to deregister my database driver. I thought the database driver would be released when i explicitly close the statement and connection. I do not fully understand why

Re: Tomcat Adapter for Eclipse 3.5 Galileo?

2009-07-15 Thread Michael Ludwig
Antonio Petrelli schrieb: 2009/7/15 Michael Ludwig : Does anyone know the name of the Tomcat adapter feature? Or a URL to download the feature? It should be "JST Server Adapters" Thanks again, Antonio. I thought so, too, but that only creates a template for "J2EE Preivew". Should have provid

Re: Tomcat Adapter for Eclipse 3.5 Galileo?

2009-07-15 Thread Michael Ludwig
Michael Ludwig schrieb: Now I downloaded Eclipse 3.5 (Galileo), and there are no configurations whatsoever in the Servers view. On clicking "Download additional server adapters" from the New Server dialog, I'm presented with a list of adapters including Geronimo, Glassfish, Jetty, and others, but

Re: Tomcat Adapter for Eclipse 3.5 Galileo?

2009-07-15 Thread Antonio Petrelli
2009/7/15 Michael Ludwig : > Does anyone know the name of the Tomcat adapter feature? Or a URL to > download the feature? It should be "JST Server Adapters" HTH Antonio - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.o

Re: Tomcat Adapter for Eclipse 3.5 Galileo?

2009-07-15 Thread Michael Ludwig
Antonio Petrelli schrieb: 2009/7/15 Michael Ludwig : Now I downloaded Eclipse 3.5 (Galileo), and there are no configurations whatsoever in the Servers view. Absolutely no configuration? Then it is strange. In Galileo (Java EE development edition) I have Tomcat configurations and I tested it al

Tomcat & JRE Redistribute License

2009-07-15 Thread Feris
Hi Everyone, I'd like to distribute Mondrian - an open source OLAP engine - , it's web interface app JPivot and my sample Derby application. For Mondrian, the licensing question has been resolved. This left me with other two dependence apps : Tomcat & JRE 6. Is it ok to embed them as part of my di

Re: Tomcat Adapter for Eclipse 3.5 Galileo?

2009-07-15 Thread Michael Ludwig
Ken Bowen schrieb: This may not be all that helpful, but: I use MyEclipse 3.5.1 (myeclipse.org) Thanks for your quick reply, Ken. That site doesn't seem to be online. Maybe you meant this one: http://www.myeclipseide.com/ which comes with all that and lots more plugins, for currently $32/yr

Re: Tomcat Adapter for Eclipse 3.5 Galileo?

2009-07-15 Thread Antonio Petrelli
2009/7/15 Michael Ludwig : > Now I downloaded Eclipse 3.5 (Galileo), and there are no configurations > whatsoever in the Servers view. Absolutely no configuration? Then it is strange. In Galileo (Java EE development edition) I have Tomcat configurations and I tested it already (and it's working ob

Re: Tomcat Adapter for Eclipse 3.5 Galileo?

2009-07-15 Thread Ken Bowen
This may not be all that helpful, but: I use MyEclipse 3.5.1 (myeclipse.org) which comes with all that and lots more plugins, for currently $32/yr. Saves a variety of pain. On Jul 15, 2009, at 9:25 AM, Michael Ludwig wrote: I seem to remember that Eclipse 3.4 (Ganymede) with WTP (Web Too

Tomcat Adapter for Eclipse 3.5 Galileo?

2009-07-15 Thread Michael Ludwig
I seem to remember that Eclipse 3.4 (Ganymede) with WTP (Web Tools Platform) had configurations for Tomcat 5.5 and 6.0 in the Servers view that I just had to hook up with my local Tomcat installation in order to get things working. Now I downloaded Eclipse 3.5 (Galileo), and there are no configur

Re: Remapping datasources

2009-07-15 Thread David Smith
Offering JNDI resources via java:comp/env is per the servlet spec. I suppose you could implement a ServletContextListener to do whatever magic you are looking for. I'm left wondering though, why you absolutely need the JNDI stuff to be offered as java:MyDS? Sounds like you are in control of the

Re: Configuring Apache Web Server with Tomcat

2009-07-15 Thread David Smith
Tomcat doesn't by default listen on port 80. I suspect you have Apache Httpd running and that is giving you the "It works!" message. 8009 is _usually_ the AJP connector that can be used by mod_jk to connect httpd to tomcat. Sounds like you've reconfigured it to offer up straight http protocol in

WebdavServlet custom directory

2009-07-15 Thread Serge Fonville
Hi, I am currently in the process of setting up a webdav resource on glassfish. I noticed it uses org.apache.catalina.servlets.WebdavServlet . I was wondering if it was possible to define a different source directory for all the files. I do not want to share the webapp dir. Is this at all possibl

RE: Include directories outside WEB-INF/ in CLASSPATH?

2009-07-15 Thread uma_rk
Actually I thought I was asking a different question: I use a specialization of VirtualWebappLoader quite successfully - to create a common class repository for a family of webapp contexts. My previous question(s) that seems to you to be related to this topic pertained to how I could create a hie