Re: Read and write inside WEB-INF

2007-07-14 Thread hanasaki
Confirmed. A real pain in the bum... I do not let my folks use unpacked WARs. There were once a bunch of guys that put custom log files in the unpacked WAR directory... shame shame. David Smith wrote: > Only works for unpacked web applications. If you attempt getRealPath > from inside a packed

Tomcat Application Read/Write properties (mk2)

2007-07-14 Thread Jacob Rhoden
I am going to re-word the question from the last thread to ask not how to do what I think I should do, but what I should do (: Where I work, ease of configuration and management is an important part of the software selection process. I have seen many tomcat applications provide an install.jsp

RE: DataSources and Tomcat (continue thread: Re: How to use connectionpool with tomcat 1.2.9)

2007-07-14 Thread Caldarale, Charles R
> From: Ken Bowen [mailto:[EMAIL PROTECTED] > Subject: DataSources and Tomcat (continue thread: Re: How to > use connectionpool with tomcat 1.2.9) > > I also want to get the Tomcat DataSource machinery working. > I'm using Tomcat 5.5.9. > > I've slavishly followed the mySQL example in > http://

RE: Tomcat6 Manager App HOW-TO

2007-07-14 Thread Caldarale, Charles R
> From: John Moore [mailto:[EMAIL PROTECTED] > Subject: Tomcat6 Manager App HOW-TO > > It appears that the instruction to add (paths corrected) > docBase="/usr/local/tomcat/webapps/manager"> > > is wrong (based on message from Charles Caldarale on 5/16/2007) The path attribute is only vali

DataSources and Tomcat (continue thread: Re: How to use connection pool with tomcat 1.2.9)

2007-07-14 Thread Ken Bowen
RE(David Smith): though I'm guessing that this thread is over and nobody will read this follow-up. :( Change to: :) -- at least one follow-up reader. RE(Chris Shultz): |> As I said, i did declare the tomcat dataSource in server.xml and |> WEB-INF/web.xml. | |Don't do that. Since you're

Tomcat6 Manager App HOW-TO

2007-07-14 Thread John Moore
I would appreciate some clarifications/advice on this How-To.. It appears that the instruction to add (paths corrected) is wrong (based on message from Charles Caldarale on 5/16/2007) So.. in reading the rest of the instructions I'm finding things are not quite working as documented. Sear

Re: Read and write inside WEB-INF

2007-07-14 Thread David Smith
Only works for unpacked web applications. If you attempt getRealPath from inside a packed war file it will return null. --David hanasaki wrote: Hmmm does this work for packed WAR's or only Unpacked... ? Jacob Rhoden wrote: Much Appreciated! Thanks. Edoardo Panfili wrote: Jacob Rh

Re: Read and write inside WEB-INF

2007-07-14 Thread Joe Nathan
This is quite tricky issue. I use the following method. Basically it locate the directory where you place your designated class definition! static String base; static { try { // use an object instance which is part of service! my.package.MyObject rm

Axis 2, POJO, Exceptions and Faults

2007-07-14 Thread albert quinn
Hi !! : I'd like to develop a web service in Axis 2 the easiest way possible. So, I'd like to develop a POJO, and then generate a POJO Web Service from it with the "Axis 2 Service Archiver" Eclipse plugin. I'd like my POJO Web Service throwed RemoteExceptions or AxisFaults and develop a RPCSe

Re: BASIC authentication in Tomcat 5.5.x vs. 5.0.x?

2007-07-14 Thread Thomas Hicks
At 06:05 PM 7/13/2007, you wrote: "Thomas Hicks" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I have a web application which uses BASIC authentication. > > In Tomcat 5.0.28 (under Java 1.5 and Fedora Core 4) accessing > the protected webapp causes the browser to popup a login box

Re: Read and write inside WEB-INF

2007-07-14 Thread hanasaki
Hmmm does this work for packed WAR's or only Unpacked... ? Jacob Rhoden wrote: > Much Appreciated! Thanks. > > Edoardo Panfili wrote: >> Jacob Rhoden ha scritto: >>> what is the correct way to find the location of your WEB-INF >>> directory (or your apps directory for that matter). >>> >> try wi

Re: PORTLETS On Tomcat...

2007-07-14 Thread Johnny Kewl
Ok I still have no idea how to use portlets... but found an easy way to get going on TC Download OpenPortal Deployer https://portlet-container.dev.java.net/ Install the OpenPortal project using these instructions on TC https://portlet-container.dev.java.net/public/TomcatInstallation.html In Ne

how to decide the correct value for connection_pool_size

2007-07-14 Thread Rasmus - Next Stay A/S
Hi I am running Tomcat 4.12, IIS 6.0 and newest JK. How do I determine the correct values for connection_pool_size I sometimes get this error: [Sat Jul 14 10:19:19 2007] [1388:5176] [error] jk_isapi_plugin.c (1507): Failed to obtain an endpoint to service request - your connection_

Re: Read and write inside WEB-INF

2007-07-14 Thread Jacob Rhoden
Much Appreciated! Thanks. Edoardo Panfili wrote: Jacob Rhoden ha scritto: what is the correct way to find the location of your WEB-INF directory (or your apps directory for that matter). try with String x = this.getServletContext().getRealPath("WEB-INF");

Re: Read and write inside WEB-INF

2007-07-14 Thread Edoardo Panfili
Jacob Rhoden ha scritto: Hi, I have seen a few apps do this now and I would like to do it, to have a configure page that read and writes a properties file somewhere inside the WEB-INF directory. That said, I have been researching and cant find out where, what is the correct way to find the lo

Read and write inside WEB-INF

2007-07-14 Thread Jacob Rhoden
Hi, I have seen a few apps do this now and I would like to do it, to have a configure page that read and writes a properties file somewhere inside the WEB-INF directory. That said, I have been researching and cant find out where, what is the correct way to find the location of your WEB-INF di