axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mancinelli Elodie <elodie.mancine...@bull.net>
Subject [Axis2] Create WAR- installation
Date Thu, 20 Apr 2006 06:44:43 GMT
Hello,

My problem become when I want to create WAR in Axis 2 0.95 installation.

/war:
    [echo] ######## MODULES=
    [echo] ######## Copy2Dir=target/temp/war/lib
    [echo] Fetching Dependencies for modules: 
,target/lib/axis2-0.95.jar,axis2/target/axis2-0.95.jar,axis2/bin/http-server.bat,axis2/bin/start.bat,
axis2/bin/tcp-server.sh,axis2/bin/WSDL2Java.bat,axis2/bin/WSDL2Java.sh,
axis2/bin/tcp-server.bat,axis2/bin/http-server.sh,axis2/bin/WSDL2Code.bat,
axis2/description/AxisOperation.java,axis2/description/AxisDescription.java,
axis2/description/FlowInclude.java,axis2/description/RobustOutOnlyAxisOperation.java,
axis2/description/ParameterIncludeImpl.java,axis2/description/PhaseRule.java,
......


apache/axis2/Version.class,common/target/axis2-common-0.95.jar,
axis2/etc/junit-noframes.xsl,axis2/etc/junit-frames.xsl,axis2/etc/maven.xml,
axis2/etc/project.xml,axis2/etc/project.properties,install/axis2/maven.xml,
install/axis2/project.xml,install/axis2/README.txt,install/axis2/release-notes.html,
install/axis2/LICENSE.txt
Starting the reactor...
Parse Fatal Error at line 1 column 1: Content is not allowed in prolog.
org.xml.sax.SAXParseException: Content is not allowed in prolog.
        at 
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
Source)
        at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown 
Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown 
Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown 
Source)
        at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown 
Source)
        at 
org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown 
Source)
        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)
        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.commons.digester.Digester.parse(Digester.java:1527)
        at 
org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:203)
        at org.apache.maven.MavenUtils.getProject(MavenUtils.java:143)
        at org.apache.maven.MavenUtils.getProject(MavenUtils.java:122)
        at org.apache.maven.MavenUtils.getProjects(MavenUtils.java:302)
        at 
org.apache.maven.jelly.tags.maven.ReactorTag.getSortedProjects(ReactorTag.java:428)
        at 
org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:321)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
        at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at 
org.apache.commons.jelly.impl.DynamicTag.doTag(DynamicTag.java:125)
        at 
org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:145)
        at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
        at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
        at org.apache.maven.cli.App.doMain(App.java:488)
        at org.apache.maven.cli.App.main(App.java:1239)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)

BUILD FAILED
File...... /home/mancinee/install/axis2/maven.xml
Element... maven:reactor
Line...... 658
Column.... 45
Error parsing project.xml 
'/home/mancinee/install/axis2/target/lib/axis2-0.95.jar'/

I think it's an error on an xml file but I can say anything more. I test 
all module present in maven.xml (i.e common, core, xml, wsdl, abd, 
codegen, doom, webapp, addressing) and the error come on the xml module.

Moreover, I don't understand why the module "Samples" is not in this list.

What do we think?

Thanks,

Elodie

Mime
View raw message