You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Dominik Dahlem <Do...@cs.tcd.ie> on 2003/07/15 19:24:28 UTC

problem deploying war on tomcat

Hi all,

I got a failure in Tomcat deploying a .war-file. I don't know why Tomcat
complains about this deployment. However, I know where it has problems.
A .jar-file packaged with the war contains some information in the 
Manifest.mf which tomcat doesn't like. This .jar-file is generated by
maven. 

If I reduce the content of the manifest to a minimum (the first two
lines)
I'm not running into this problem. Does anybody has an idea why it
fails?
Another question is, why does junit appear in the extension list. 
I didn't set the war.bundle.jar property for JUnit to true.

Thx in advance,
Dominik


Error Message from Tomcat:
FAIL - Encountered exception java.io.IOException:
java.lang.IllegalStateException: 
ContainerBase.addChild: start: LifecycleException:  start: :  
java.lang.IllegalArgumentException: log4j,junit,xalan,xercesImpl,xerces,
xml-apis-Extension-Name


Maven BL09, JDK 1.4.1_02, Tomcat 4.1.24

Below is the generated manifest file:


Manifest-Version: 1.0
Created-By: Apache Jakarta Maven
Built-By: Dominik Dahlem
Package: ie.tcd.persl.xml
Build-Jdk: 1.4.1_02
Extension-Name: xml-tools
Specification-Version: 
Specification-Vendor: Trinity College Dublin, Computer Science Departm
 ent, Distributed Systems Group
Specification-Title: This sub-project contains common XML helper libra
 ries.
Implementation-Version: 0.1
Implementation-Vendor: Trinity College Dublin, Computer Science Depart
 ment, Distributed Systems Group
Implementation-Vendor-Id: 
Extension-List: log4j,junit,xalan,xercesImpl,xerces,xml-apis
log4j-Extension-Name: log4j
log4j-Implementation-Version: 1.2.8
log4j-Implementation-URL: http://www.ibiblio.org/maven/log4j/jars/log4
 j-1.2.8.jar
junit-Extension-Name: junit
junit-Implementation-Version: 3.8.1
junit-Implementation-URL: http://www.ibiblio.org/maven/junit/jars/juni
 t-3.8.1.jar
xalan-Extension-Name: xalan
xalan-Implementation-Version: 2.5.1
xalan-Implementation-URL: http://www.ibiblio.org/maven/xalan/jars/xala
 n-2.5.1.jar
xercesImpl-Extension-Name: xercesImpl
xercesImpl-Implementation-Version: 2.0.2
xercesImpl-Implementation-URL: http://www.ibiblio.org/maven/xerces/jar
 s/xercesImpl-2.0.2.jar
xerces-Extension-Name: xerces
xerces-Implementation-Version: 2.4.0
xerces-Implementation-URL: http://www.ibiblio.org/maven/xerces/jars/xe
 rces-2.4.0.jar
xml-apis-Extension-Name: xml-apis
xml-apis-Implementation-Version: 2.0.2
xml-apis-Implementation-URL: http://www.ibiblio.org/maven/xml-apis/jar
 s/xml-apis-2.0.2.jar



+---------------------------------------------------------------------+
   _/_/_/_/_/  _/_/_/  __/_/_/_/  Dominik Dahlem
      _/     _/    _/  _/     _/  M.Sc. student, Computer Science
     _/     _/        _/     _/   Trinity College Dublin
    _/     _/        _/     _/    tel  : +353 (0)1 608
   _/     _/    _/  _/     _/     email: Dominik.Dahlem@cs.tcd.ie
  _/      _/_/_/  __/_/_/_/       www  : http://www.cs.tcd.ie/~dahlemd
+---------------------------------------------------------------------+



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: problem deploying war on tomcat

Posted by Dominik Dahlem <Do...@cs.tcd.ie>.
Thx. This fix solved my problem.

Dominik

+---------------------------------------------------------------------+
   _/_/_/_/_/  _/_/_/  __/_/_/_/  Dominik Dahlem
      _/     _/    _/  _/     _/  M.Sc. student, Computer Science
     _/     _/        _/     _/   Trinity College Dublin
    _/     _/        _/     _/    tel  : +353 (0)1 608
   _/     _/    _/  _/     _/     email: Dominik.Dahlem@cs.tcd.ie
  _/      _/_/_/  __/_/_/_/       www  : http://www.cs.tcd.ie/~dahlemd
+---------------------------------------------------------------------+

-----Original Message-----
From: news [mailto:news@main.gmane.org] On Behalf Of landon clark
Sent: 15 July 2003 20:40
To: users@maven.apache.org
Subject: Re: problem deploying war on tomcat


It's a bug in Beta9.  Update to Beta 10 or do this:
http://wiki.codehaus.org/maven/BrokenManifestInBeta9

Dominik Dahlem wrote:
> Hi all,
> 
> I got a failure in Tomcat deploying a .war-file. I don't know why 
> Tomcat complains about this deployment. However, I know where it has 
> problems. A .jar-file packaged with the war contains some information 
> in the Manifest.mf which tomcat doesn't like. This .jar-file is 
> generated by maven.
> 
> If I reduce the content of the manifest to a minimum (the first two
> lines)
> I'm not running into this problem. Does anybody has an idea why it 
> fails? Another question is, why does junit appear in the extension 
> list. I didn't set the war.bundle.jar property for JUnit to true.
> 
> Thx in advance,
> Dominik
> 
> 
> Error Message from Tomcat:
> FAIL - Encountered exception java.io.IOException:
> java.lang.IllegalStateException:
> ContainerBase.addChild: start: LifecycleException:  start: :  
> java.lang.IllegalArgumentException:
log4j,junit,xalan,xercesImpl,xerces,
> xml-apis-Extension-Name
> 
> 
> Maven BL09, JDK 1.4.1_02, Tomcat 4.1.24
> 
> Below is the generated manifest file:
> 
> 
> Manifest-Version: 1.0
> Created-By: Apache Jakarta Maven
> Built-By: Dominik Dahlem
> Package: ie.tcd.persl.xml
> Build-Jdk: 1.4.1_02
> Extension-Name: xml-tools
> Specification-Version:
> Specification-Vendor: Trinity College Dublin, Computer Science Departm
>  ent, Distributed Systems Group
> Specification-Title: This sub-project contains common XML helper libra
>  ries.
> Implementation-Version: 0.1
> Implementation-Vendor: Trinity College Dublin, Computer Science Depart
>  ment, Distributed Systems Group
> Implementation-Vendor-Id: 
> Extension-List: log4j,junit,xalan,xercesImpl,xerces,xml-apis
> log4j-Extension-Name: log4j
> log4j-Implementation-Version: 1.2.8
> log4j-Implementation-URL: http://www.ibiblio.org/maven/log4j/jars/log4
>  j-1.2.8.jar
> junit-Extension-Name: junit
> junit-Implementation-Version: 3.8.1
> junit-Implementation-URL: http://www.ibiblio.org/maven/junit/jars/juni
>  t-3.8.1.jar
> xalan-Extension-Name: xalan
> xalan-Implementation-Version: 2.5.1
> xalan-Implementation-URL: http://www.ibiblio.org/maven/xalan/jars/xala
>  n-2.5.1.jar
> xercesImpl-Extension-Name: xercesImpl
> xercesImpl-Implementation-Version: 2.0.2
> xercesImpl-Implementation-URL: http://www.ibiblio.org/maven/xerces/jar
>  s/xercesImpl-2.0.2.jar
> xerces-Extension-Name: xerces
> xerces-Implementation-Version: 2.4.0
> xerces-Implementation-URL: http://www.ibiblio.org/maven/xerces/jars/xe
>  rces-2.4.0.jar
> xml-apis-Extension-Name: xml-apis
> xml-apis-Implementation-Version: 2.0.2
> xml-apis-Implementation-URL: http://www.ibiblio.org/maven/xml-apis/jar
>  s/xml-apis-2.0.2.jar
> 
> 
> 
>
+---------------------------------------------------------------------+
>    _/_/_/_/_/  _/_/_/  __/_/_/_/  Dominik Dahlem
>       _/     _/    _/  _/     _/  M.Sc. student, Computer Science
>      _/     _/        _/     _/   Trinity College Dublin
>     _/     _/        _/     _/    tel  : +353 (0)1 608
>    _/     _/    _/  _/     _/     email: Dominik.Dahlem@cs.tcd.ie
>   _/      _/_/_/  __/_/_/_/       www  : http://www.cs.tcd.ie/~dahlemd
>
+---------------------------------------------------------------------+



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Reactor Examples

Posted by Siegfried Göschl <si...@it20one.at>.
BTW there is "Powered By" link ... :-)

Siegfried Goeschl

On 16 Jul 2003 at 0:23, Paul Libbrecht wrote:

> How about a page like "Maven in use" ?
> I think it would help an amount of people...
> 
> Paul
> 
> 
> Luke Taylor wrote:
> > Bryce Fischer wrote:
> > 
> >> I know this is a lame questions... But I've read a couple of
> >> articles that use Reactor to bring together smaller projects into a
> >> common larger one. I understand the concept. I'm curious how other
> >> people are using this? I'd appreciate any examples anyone might
> >> have.
> >>
> > 
> > Look at some of the projects that use it and check out the code from
> > cvs. Examples are: maven itself, geotools2
> > (http://www.geotools.org), plexus-components
> > (http://plexus.werken.com/). Or if you're familiar with JBoss, I
> > have a JBoss build which uses it. You can download the files here
> > 
> > http://www.monkeymachine.ltd.uk/techzone.html
> > 
> > Luke.
> > 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For
> additional commands, e-mail: users-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Reactor Examples

Posted by Paul Libbrecht <pa...@activemath.org>.
How about a page like "Maven in use" ?
I think it would help an amount of people...

Paul


Luke Taylor wrote:
> Bryce Fischer wrote:
> 
>> I know this is a lame questions... But I've read a couple of articles 
>> that
>> use Reactor to bring together smaller projects into a common larger 
>> one. I
>> understand the concept.
>> I'm curious how other people are using this? I'd appreciate any examples
>> anyone might have.
>>
> 
> Look at some of the projects that use it and check out the code from 
> cvs. Examples are: maven itself, geotools2 (http://www.geotools.org), 
> plexus-components (http://plexus.werken.com/). Or if you're familiar 
> with JBoss, I have a JBoss build which uses it. You can download the 
> files here
> 
> http://www.monkeymachine.ltd.uk/techzone.html
> 
> Luke.
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Reactor Examples

Posted by Luke Taylor <ne...@freesurf.ch>.
Bryce Fischer wrote:

> I know this is a lame questions... But I've read a couple of articles that
> use Reactor to bring together smaller projects into a common larger one. I
> understand the concept. 
> 
> I'm curious how other people are using this? I'd appreciate any examples
> anyone might have.
> 

Look at some of the projects that use it and check out the code from 
cvs. Examples are: maven itself, geotools2 (http://www.geotools.org), 
plexus-components (http://plexus.werken.com/). Or if you're familiar 
with JBoss, I have a JBoss build which uses it. You can download the 
files here

http://www.monkeymachine.ltd.uk/techzone.html

Luke.

-- 
  Luke Taylor.                      Monkey Machine Ltd.
  PGP Key ID: 0x57E9523C            http://www.monkeymachine.ltd.uk




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Reactor Examples

Posted by Bryce Fischer <br...@berzerker-soft.com>.
I know this is a lame questions... But I've read a couple of articles that
use Reactor to bring together smaller projects into a common larger one. I
understand the concept. 

I'm curious how other people are using this? I'd appreciate any examples
anyone might have.

Thanks.

Bryce


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: problem deploying war on tomcat

Posted by landon clark <la...@sawyermedia.com>.
It's a bug in Beta9.  Update to Beta 10 or do this:
http://wiki.codehaus.org/maven/BrokenManifestInBeta9

Dominik Dahlem wrote:
> Hi all,
> 
> I got a failure in Tomcat deploying a .war-file. I don't know why Tomcat
> complains about this deployment. However, I know where it has problems.
> A .jar-file packaged with the war contains some information in the 
> Manifest.mf which tomcat doesn't like. This .jar-file is generated by
> maven. 
> 
> If I reduce the content of the manifest to a minimum (the first two
> lines)
> I'm not running into this problem. Does anybody has an idea why it
> fails?
> Another question is, why does junit appear in the extension list. 
> I didn't set the war.bundle.jar property for JUnit to true.
> 
> Thx in advance,
> Dominik
> 
> 
> Error Message from Tomcat:
> FAIL - Encountered exception java.io.IOException:
> java.lang.IllegalStateException: 
> ContainerBase.addChild: start: LifecycleException:  start: :  
> java.lang.IllegalArgumentException: log4j,junit,xalan,xercesImpl,xerces,
> xml-apis-Extension-Name
> 
> 
> Maven BL09, JDK 1.4.1_02, Tomcat 4.1.24
> 
> Below is the generated manifest file:
> 
> 
> Manifest-Version: 1.0
> Created-By: Apache Jakarta Maven
> Built-By: Dominik Dahlem
> Package: ie.tcd.persl.xml
> Build-Jdk: 1.4.1_02
> Extension-Name: xml-tools
> Specification-Version: 
> Specification-Vendor: Trinity College Dublin, Computer Science Departm
>  ent, Distributed Systems Group
> Specification-Title: This sub-project contains common XML helper libra
>  ries.
> Implementation-Version: 0.1
> Implementation-Vendor: Trinity College Dublin, Computer Science Depart
>  ment, Distributed Systems Group
> Implementation-Vendor-Id: 
> Extension-List: log4j,junit,xalan,xercesImpl,xerces,xml-apis
> log4j-Extension-Name: log4j
> log4j-Implementation-Version: 1.2.8
> log4j-Implementation-URL: http://www.ibiblio.org/maven/log4j/jars/log4
>  j-1.2.8.jar
> junit-Extension-Name: junit
> junit-Implementation-Version: 3.8.1
> junit-Implementation-URL: http://www.ibiblio.org/maven/junit/jars/juni
>  t-3.8.1.jar
> xalan-Extension-Name: xalan
> xalan-Implementation-Version: 2.5.1
> xalan-Implementation-URL: http://www.ibiblio.org/maven/xalan/jars/xala
>  n-2.5.1.jar
> xercesImpl-Extension-Name: xercesImpl
> xercesImpl-Implementation-Version: 2.0.2
> xercesImpl-Implementation-URL: http://www.ibiblio.org/maven/xerces/jar
>  s/xercesImpl-2.0.2.jar
> xerces-Extension-Name: xerces
> xerces-Implementation-Version: 2.4.0
> xerces-Implementation-URL: http://www.ibiblio.org/maven/xerces/jars/xe
>  rces-2.4.0.jar
> xml-apis-Extension-Name: xml-apis
> xml-apis-Implementation-Version: 2.0.2
> xml-apis-Implementation-URL: http://www.ibiblio.org/maven/xml-apis/jar
>  s/xml-apis-2.0.2.jar
> 
> 
> 
> +---------------------------------------------------------------------+
>    _/_/_/_/_/  _/_/_/  __/_/_/_/  Dominik Dahlem
>       _/     _/    _/  _/     _/  M.Sc. student, Computer Science
>      _/     _/        _/     _/   Trinity College Dublin
>     _/     _/        _/     _/    tel  : +353 (0)1 608
>    _/     _/    _/  _/     _/     email: Dominik.Dahlem@cs.tcd.ie
>   _/      _/_/_/  __/_/_/_/       www  : http://www.cs.tcd.ie/~dahlemd
> +---------------------------------------------------------------------+



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org