RE: My deployed war file has servlet-api-2.5.jar in its WEB-INF/lib folder, but Tomcat 6.0.18 displays a warning during deployment

2008-12-18 Thread Caldarale, Charles R
 From: Jeff Walker [mailto:webservices.archit...@gmail.com]
 Subject: My deployed war file has servlet-api-2.5.jar in its
 WEB-INF/lib folder, but Tomcat 6.0.18 displays a warning
 during deployment

 But it seems to me that Maven is correct here in
 leaving it in the war, while Tomcat should realize
 that many deployed war files may include this common jar?

Under no circumstances should a .war file include that .jar or any other that 
is the responsibility of the container to provide.  Your usage of Maven is in 
error.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: My deployed war file has servlet-api-2.5.jar in its WEB-INF/lib folder, but Tomcat 6.0.18 displays a warning during deployment

2008-12-18 Thread Jeff Walker
Ok,
thanks Charles.
Maven requires it for build purposes, but I can instruct Maven to remove it
from the war file.
Thanks again,
-jeff



On Thu, Dec 18, 2008 at 1:49 PM, Caldarale, Charles R 
chuck.caldar...@unisys.com wrote:

  From: Jeff Walker [mailto:webservices.archit...@gmail.com]
  Subject: My deployed war file has servlet-api-2.5.jar in its
  WEB-INF/lib folder, but Tomcat 6.0.18 displays a warning
  during deployment
 
  But it seems to me that Maven is correct here in
  leaving it in the war, while Tomcat should realize
  that many deployed war files may include this common jar?

 Under no circumstances should a .war file include that .jar or any other
 that is the responsibility of the container to provide.  Your usage of Maven
 is in error.

  - Chuck


 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
 MATERIAL and is thus for use only by the intended recipient. If you received
 this in error, please contact the sender and delete the e-mail and its
 attachments from all computers.

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




RE: My deployed war file has servlet-api-2.5.jar in its WEB-INF/lib folder, but Tomcat 6.0.18 displays a warning during deployment

2008-12-18 Thread Caldarale, Charles R
 From: Jeff Walker [mailto:webservices.archit...@gmail.com]
 Subject: Re: My deployed war file has servlet-api-2.5.jar in
 its WEB-INF/lib folder, but Tomcat 6.0.18 displays a warning
 during deployment

 Maven requires it for build purposes, but I can instruct

Most build mechanisms allow the specification of locations for additional class 
files needed for compilation, but not to be included in the resulting package.  
I would be surprised if this wasn't available with Maven.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: My deployed war file has servlet-api-2.5.jar in its WEB-INF/lib folder, but Tomcat 6.0.18 displays a warning during deployment

2008-12-18 Thread David Smith
Then change your pom.xml so the servlet-api is in scope provided. 
This will allow the build, but not include the jar.

--David

Jeff Walker wrote:
 Ok,
 thanks Charles.
 Maven requires it for build purposes, but I can instruct Maven to remove it
 from the war file.
 Thanks again,
 -jeff



 On Thu, Dec 18, 2008 at 1:49 PM, Caldarale, Charles R 
 chuck.caldar...@unisys.com wrote:

   
 From: Jeff Walker [mailto:webservices.archit...@gmail.com]
 Subject: My deployed war file has servlet-api-2.5.jar in its
 WEB-INF/lib folder, but Tomcat 6.0.18 displays a warning
 during deployment

 But it seems to me that Maven is correct here in
 leaving it in the war, while Tomcat should realize
 that many deployed war files may include this common jar?
   
 Under no circumstances should a .war file include that .jar or any other
 that is the responsibility of the container to provide.  Your usage of Maven
 is in error.

  - Chuck


 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
 MATERIAL and is thus for use only by the intended recipient. If you received
 this in error, please contact the sender and delete the e-mail and its
 attachments from all computers.

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org


 

   


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: My deployed war file has servlet-api-2.5.jar in its WEB-INF/lib folder, but Tomcat 6.0.18 displays a warning during deployment

2008-12-18 Thread Jeff Walker
I'm certain it does, too.
I'm just relatively new to Maven. I will investigate.
Thanks again!
-jeff




On Thu, Dec 18, 2008 at 1:56 PM, Caldarale, Charles R 
chuck.caldar...@unisys.com wrote:

  From: Jeff Walker [mailto:webservices.archit...@gmail.com]
  Subject: Re: My deployed war file has servlet-api-2.5.jar in
  its WEB-INF/lib folder, but Tomcat 6.0.18 displays a warning
  during deployment
 
  Maven requires it for build purposes, but I can instruct

 Most build mechanisms allow the specification of locations for additional
 class files needed for compilation, but not to be included in the resulting
 package.  I would be surprised if this wasn't available with Maven.

  - Chuck


 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
 MATERIAL and is thus for use only by the intended recipient. If you received
 this in error, please contact the sender and delete the e-mail and its
 attachments from all computers.

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




Re: My deployed war file has servlet-api-2.5.jar in its WEB-INF/lib folder, but Tomcat 6.0.18 displays a warning during deployment

2008-12-18 Thread Jeff Walker
Ok,
this is new to me. I can see I have a lot of reading about Maven to do!
Thanks David.
-jeff


On Thu, Dec 18, 2008 at 1:59 PM, David Smith d...@cornell.edu wrote:

 Then change your pom.xml so the servlet-api is in scope provided.
 This will allow the build, but not include the jar.

 --David

 Jeff Walker wrote:
  Ok,
  thanks Charles.
  Maven requires it for build purposes, but I can instruct Maven to remove
 it
  from the war file.
  Thanks again,
  -jeff
 
 
 
  On Thu, Dec 18, 2008 at 1:49 PM, Caldarale, Charles R 
  chuck.caldar...@unisys.com wrote:
 
 
  From: Jeff Walker [mailto:webservices.archit...@gmail.com]
  Subject: My deployed war file has servlet-api-2.5.jar in its
  WEB-INF/lib folder, but Tomcat 6.0.18 displays a warning
  during deployment
 
  But it seems to me that Maven is correct here in
  leaving it in the war, while Tomcat should realize
  that many deployed war files may include this common jar?
 
  Under no circumstances should a .war file include that .jar or any other
  that is the responsibility of the container to provide.  Your usage of
 Maven
  is in error.
 
   - Chuck
 
 
  THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
  MATERIAL and is thus for use only by the intended recipient. If you
 received
  this in error, please contact the sender and delete the e-mail and its
  attachments from all computers.
 
  -
  To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
  For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
 
 
 


 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org