You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by Sven Schroebler <sv...@uni-muenster.de> on 2007/03/13 19:22:26 UTC

[Rampart 1.1 samples] java.lang.AbstractMethodError: org.apache.rampart.handler.WSDoAllSender.flowComplete

Hi Rampart-Developers,

I am trying to use Rampart 1.1 with a nightly build of Axis2 (and AXIOM,
...) (03/13/06).

Unfortunately, all of my efforts in integrating Rampart in my own webservice
ended up with the same error message. Finally, I recognized that also the
Rampart samples all break with this error (please find two examples attached
below).

Is there any chance of using a recent build of Axis2 with Rampart1.1?

I would really appreciate, if you could give me a hint or a pointer on how
to advance.

Best Regards,
Sven Schroebler



Error message in Rampart-sample02 (on client side)
---------------------------------
     [java] Exception in thread "main" java.lang.AbstractMethodError:
org.apache
.rampart.handler.WSDoAllSender.flowComplete(Lorg/apache/axis2/context/Messag
eCon
text;)V
     [java]     at
org.apache.axis2.engine.Phase.flowComplete(Phase.java:428)
     [java]     at
org.apache.axis2.engine.AxisEngine.flowComplete(AxisEngine.ja
va:287)
     [java]     at
org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:511)
     [java]     at
org.apache.axis2.description.OutInAxisOperationClient.send(Ou
tInAxisOperation.java:331)
     [java]     at
org.apache.axis2.description.OutInAxisOperationClient.execute
(OutInAxisOperation.java:295)
     [java]     at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClie
nt.java:494)
     [java]     at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClie
nt.java:474)
     [java]     at org.apache.rampart.samples.sample02.Client.main(Unknown
Sourc
e)
     [java] Java Result: 1


Error in Rampart-sample 11 - Response message from webservice:
------------------------------

HTTP/1.1 500 Internal server error
Date: Tue, 13 Mar 2007 18:03:25 GMT
Server: Simple-Server/1.1
Content-Length: 2208
Content-Type: text/xml; charset=UTF-8
Connection: Close

<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soa
penv:Fault><faultcode>soapenv:Client</faultcode><faultstring>unknown</faults
tring><detail><Exception>

java.lang.Exception: java.lang.AbstractMethodError:
org.apache.rampart.handler.WSDoAllSender.flowComplete(Lorg/apache/axis2/cont
ext/MessageContext;)V&#xd;
	at
org.apache.axis2.util.MessageContextBuilder.createFaultEnvelope(MessageConte
xtBuilder.java:577)&#xd;
	at
org.apache.axis2.util.MessageContextBuilder.createFaultMessageContext(Messag
eContextBuilder.java:297)&#xd;
	at
org.apache.axis2.transport.http.server.AxisHttpService.doService(AxisHttpSer
vice.java:156)&#xd;
	at
org.apache.http.protocol.HttpService.handleRequest(HttpService.java:142)&#xd
;
	at
org.apache.axis2.transport.http.server.AxisHttpService.handleRequest(AxisHtt
pService.java:196)&#xd;
	at
org.apache.axis2.transport.http.server.HttpServiceProcessor.run(HttpServiceP
rocessor.java:76)&#xd;
	at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run
Task(ThreadPoolExecutor.java:665)&#xd;
	at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:690)&#xd;
	at java.lang.Thread.run(Thread.java:595)&#xd;
Caused by: java.lang.AbstractMethodError:
org.apache.rampart.handler.WSDoAllSender.flowComplete(Lorg/apache/axis2/cont
ext/MessageContext;)V&#xd;
	at org.apache.axis2.engine.Phase.flowComplete(Phase.java:428)&#xd;
	at
org.apache.axis2.engine.AxisEngine.flowComplete(AxisEngine.java:287)&#xd;
	at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:511)&#xd;
	at
org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(Abstract
InOutSyncMessageReceiver.java:48)&#xd;
	at
org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:183)&#xd;
	at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HT
TPTransportUtils.java:280)&#xd;
	at
org.apache.axis2.transport.http.HTTPWorker.service(HTTPWorker.java:210)&#xd;
	at
org.apache.axis2.transport.http.server.AxisHttpService.doService(AxisHttpSer
vice.java:140)&#xd;
	... 6 more&#xd;
</Exception></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>




Re: [Rampart 1.1 samples] java.lang.AbstractMethodError:org.apache.rampart.handler.WSDoAllSender.flowComplete

Posted by Angel Todorov <at...@gmail.com>.
Hi Dimuthu,

I finally got it working, but can't really reproduce the problem. I
think it may be because of old cached jars in the MVN repo. Thanks.

Regards,
Angel

On 4/6/07, Dimuthu <mu...@apache.org> wrote:
> Hi Angel,
>
> I deleted my maven repo.
>
> Then I commented the 399th line of the trunk/java/pom.xml file, because
> these days there are some integration failures due to some opensaml
> issue. We are hoping to resolve it soon (next week we are out of the
> office from Monday)
>
> Then I ran the mvn clean install command which ran for some time and I
> had a build success!
>
> So I am wondering what the issue is.
>
> I went to "org.apache.rampart.handler.WSDoAllSender" and checked out the
> flowComplete method, which is not an Abstract method.
>
> Is it a mojo problem as discussed in the mail thread before?  Can u send
> the stack trace? Did you try cleaning maven repo?
>
> Thank you,
> Dimuthu.
>
>
>
> On Fri, 2007-04-06 at 10:35 +0300, Angel Todorov wrote:
> > Hi all,
> >
> > I also have the same error.
> >
> > Ruchith, Dimithu, please try to build rampart from scratch, on a clean
> > maven2 repository, and you will see the problem. Thanks very much .
> >
> > Regards,
> > Angel
> > b
> > On 3/31/07, Sven Schroebler <sv...@uni-muenster.de> wrote:
> > > Hi,
> > >
> > > First of all: sorry for the late response. Thanks for your help. Neither way
> > > worked for me. I still receive the same error message. But as time isn't
> > > pressing, I decided to wait for the next binary release ;)
> > >
> > > Many thanks & best regards,
> > > Sven
> > >
> > >
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Dimuthu [mailto:muthulee@apache.org]
> > > Gesendet: Freitag, 23. März 2007 05:25
> > > An: rampart-dev@ws.apache.org
> > > Betreff: Re: [Rampart 1.1 samples]
> > > java.lang.AbstractMethodError:org.apache.rampart.handler.WSDoAllSender.flowC
> > > omplete
> > >
> > > Hi,
> > >
> > > I am adding to what Ruchith said. I find it easier to use maven2 command
> > > to copy the file. It copies to the correct place.
> > >
> > > Give the following command from the directory in which you have the
> > > axis2-mar-maven-plugin-SNAPSHOT.jar file. It automatically copies the
> > > file to the correct place in the local maven repository.
> > >
> > > mvn install-file -DgroupId=org.apache.axis2.maven2
> > > -DartifactId=axis2-mar-maven-plugin -Dversion=SNAPSHOT -Dpackaging=mar
> > > -Dfile=axis2-mar-maven-plugin-SNAPSHOT.jar
> > >
> > >
> > > Cheers,
> > > Dimuthu.
> > >
> > > On Fri, 2007-03-23 at 09:15 +0530, Ruchith Fernando wrote:
> > > > Hi Sven,
> > > >
> > > > axis2-mar-maven-plugin-SNAPSHOT.jar is the maen2 plugin that created
> > > > the .mar files. Therefore IMHO if you have the .jar file in the
> > > > ".m2/repository/org/apache/axis2/maven2/axis2-mar-maven-plugin/SNAPSHOT/"
> > > > it should work.
> > > >
> > > > A zip of my
> > > ".m2/repository/org/apache/axis2/maven2/axis2-mar-maven-plugin"
> > > > directory is available here:
> > > > http://www-lk.wso2.com/~ruchith/axis2-mar-maven-plugin.zip
> > > >
> > > > Thanks,
> > > > Ruchith
> > > >
> > > > On 3/22/07, Sven Schroebler <sv...@uni-muenster.de> wrote:
> > > > > Hi Ruchith,
> > > > >
> > > > > the error remains the same. I copied the file into the directory you
> > > told
> > > > > me, replacing an existing "axis2-mar-maven-plugin-SNAPSHOT.jar". Same
> > > for
> > > > > renaming the .jar to .mar. Also I copied the files (jar+mar) directly
> > > into
> > > > > the axis2-mar-maven-plugin directory, without success.
> > > > > I don't have any experience with Maven(2)-projects, so please correct me
> > > if
> > > > > I am wrong: isn't Maven2 looking for a subdirectory "mar" under
> > > > > axis2-mar-maven-plugin/SNAPSHOT or else a file ".mar" ?
> > > > >
> > > > > Regards,
> > > > > Sven
> > > > > > ----------------------------------------------------------------------
> > > > > > --
> > > > > > [ERROR] BUILD ERROR
> > > > > > [INFO]
> > > > > > ----------------------------------------------------------------------
> > > > > > -- [INFO] Internal error in the plugin manager executing goal
> > > > > > 'org.apache.axis2.mav
> > > > > > en2:axis2-mar-maven-plugin:SNAPSHOT:mar': Unable to find the mojo
> > > > > > 'org.apache.ax is2.maven2:axis2-mar-maven-plugin:SNAPSHOT:mar' in the
> > > > > > plugin 'org.apache.axis2.
> > > > > > maven2:axis2-mar-maven-plugin'
> > > > > > org/codehaus/plexus/archiver/AbstractArchiver
> > > > > > [INFO]
> > > > > > ----------------------------------------------------------------------
> > > > > > --
> > > > >
> > > > > -----Ursprüngliche Nachricht-----
> > > > > Von: Ruchith Fernando [mailto:ruchith.fernando@gmail.com]
> > > > > Gesendet: Donnerstag, 22. März 2007 04:09
> > > > > An: rampart-dev@ws.apache.org
> > > > > Betreff: Re: [Rampart 1.1 samples] java.lang.AbstractMethodError:
> > > > > org.apache.rampart.handler.WSDoAllSender.flowComplete
> > > > >
> > > > > Hi Sven,
> > > > >
> > > > > Please copy this file[1] into the
> > > > > .m2/repository/org/apache/axis2/maven2/axis2-mar-maven-plugin/SNAPSHOT/
> > > > > directory in your home dir as axis2-mar-maven-plugin-SNAPSHOT.jar.
> > > > >
> > > > > Thanks,
> > > > > Ruchith
> > > > >
> > > > > [1]
> > > > >
> > > http://people.apache.org/repo/m2-snapshot-repository/org/apache/axis2/maven2
> > > > >
> > > /axis2-mar-maven-plugin/SNAPSHOT/axis2-mar-maven-plugin-20070322.010028-83.j
> > > > > ar
> > > > >
> > > > > On 3/21/07, Sven Schroebler <sv...@uni-muenster.de> wrote:
> > > > > > Hi Ruchith!
> > > > > >
> > > > > > Thanks for your reply. Unfortunately, the build script seems to be
> > > broken.
> > > > > > After having checked out the source from the URL you send me, I ran
> > > > > Maven2.
> > > > > > It reported the following error (see below).
> > > > > >
> > > > > > Any ideas, why ... or how I can fix it?
> > > > > >
> > > > > > Best Regards,
> > > > > > Sven
> > > > > >
> > > > > > -----------------------------------------------------
> > > > > > [INFO]
> > > > > >
> > > ------------------------------------------------------------------------
> > > > > > [ERROR] BUILD ERROR
> > > > > > [INFO]
> > > > > >
> > > ------------------------------------------------------------------------
> > > > > > [INFO] Internal error in the plugin manager executing goal
> > > > > > 'org.apache.axis2.mav
> > > > > > en2:axis2-mar-maven-plugin:SNAPSHOT:mar': Unable to find the mojo
> > > > > > 'org.apache.ax
> > > > > > is2.maven2:axis2-mar-maven-plugin:SNAPSHOT:mar' in the plugin
> > > > > > 'org.apache.axis2.
> > > > > > maven2:axis2-mar-maven-plugin'
> > > > > > org/codehaus/plexus/archiver/AbstractArchiver
> > > > > > [INFO]
> > > > > >
> > > ------------------------------------------------------------------------
> > > > > > [INFO] Trace
> > > > > > org.apache.maven.lifecycle.LifecycleExecutionException: Internal error
> > > in
> > > > > > the pl
> > > > > > ugin manager executing goal
> > > > > > 'org.apache.axis2.maven2:axis2-mar-maven-plugin:SNAP
> > > > > > SHOT:mar': Unable to find the mojo
> > > > > > 'org.apache.axis2.maven2:axis2-mar-maven-plug
> > > > > > in:SNAPSHOT:mar' in the plugin
> > > > > > 'org.apache.axis2.maven2:axis2-mar-maven-plugin'
> > > > > >         at
> > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> > > > > > ultLifecycleExecutor.java:543)
> > > > > >         at
> > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
> > > > > > fecycle(DefaultLifecycleExecutor.java:480)
> > > > > >         at
> > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> > > > > > ltLifecycleExecutor.java:459)
> > > > > >         at
> > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> > > > > > dleFailures(DefaultLifecycleExecutor.java:311)
> > > > > >         at
> > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> > > > > > ts(DefaultLifecycleExecutor.java:278)
> > > > > >         at
> > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> > > > > > fecycleExecutor.java:143)
> > > > > >         at
> > > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
> > > > > >         at
> > > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
> > > > > >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> > > > > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > >         at
> > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> > > > > > java:39)
> > > > > >         at
> > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> > > > > > sorImpl.java:25)
> > > > > >         at java.lang.reflect.Method.invoke(Method.java:585)
> > > > > >         at
> > > > > > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> > > > > >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> > > > > >         at
> > > > > > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> > > > > >
> > > > > >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > > > > > Caused by: org.apache.maven.plugin.PluginManagerException: Unable to
> > > find
> > > > > > the mo
> > > > > > jo 'org.apache.axis2.maven2:axis2-mar-maven-plugin:SNAPSHOT:mar' in
> > > the
> > > > > > plugin '
> > > > > > org.apache.axis2.maven2:axis2-mar-maven-plugin'
> > > > > >         at
> > > > > > org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul
> > > > > > tPluginManager.java:541)
> > > > > >         at
> > > > > > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> > > > > > nManager.java:398)
> > > > > >         at
> > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> > > > > > ultLifecycleExecutor.java:539)
> > > > > >         ... 16 more
> > > > > > Caused by:
> > > > > > org.codehaus.plexus.component.repository.exception.ComponentLookupExc
> > > > > > eption: Unable to lookup component
> > > > > > 'org.apache.maven.plugin.Mojoorg.apache.axis2
> > > > > > .maven2:axis2-mar-maven-plugin:SNAPSHOT:mar', it could not be created
> > > > > >         at
> > > > > > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
> > > > > > ner.java:335)
> > > > > >         at
> > > > > > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
> > > > > > ner.java:440)
> > > > > >         at
> > > > > > org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul
> > > > > > tPluginManager.java:532)
> > > > > >         ... 18 more
> > > > > > Caused by:
> > > > > > org.codehaus.plexus.component.factory.ComponentInstantiationException
> > > > > > : Could not instanciate component: role: 'null', implementation:
> > > > > > 'org.apache.axi
> > > > > > s2.maven2.mar.MarMojo'
> > > > > >         at
> > > > > > org.codehaus.plexus.component.factory.java.JavaComponentFactory.makeE
> > > > > > xception(JavaComponentFactory.java:77)
> > > > > >         at
> > > > > > org.codehaus.plexus.component.factory.java.JavaComponentFactory.newIn
> > > > > > stance(JavaComponentFactory.java:62)
> > > > > >         at
> > > > > > org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance(De
> > > > > > faultPlexusContainer.java:1464)
> > > > > >         at
> > > > > > org.codehaus.plexus.component.manager.AbstractComponentManager.create
> > > > > > ComponentInstance(AbstractComponentManager.java:93)
> > > > > >         at
> > > > > > org.codehaus.plexus.component.manager.PerLookupComponentManager.getCo
> > > > > > mponent(PerLookupComponentManager.java:48)
> > > > > >         at
> > > > > > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
> > > > > > ner.java:331)
> > > > > >         ... 20 more
> > > > > > Caused by: java.lang.NoClassDefFoundError:
> > > > > > org/codehaus/plexus/archiver/Abstract
> > > > > > Archiver
> > > > > >         at java.lang.Class.getDeclaredConstructors0(Native Method)
> > > > > >         at
> > > java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
> > > > > >         at java.lang.Class.getConstructor0(Class.java:2671)
> > > > > >         at java.lang.Class.newInstance0(Class.java:321)
> > > > > >         at java.lang.Class.newInstance(Class.java:303)
> > > > > >         at
> > > > > > org.codehaus.plexus.component.factory.java.JavaComponentFactory.newIn
> > > > > > stance(JavaComponentFactory.java:44)
> > > > > >         ... 24 more
> > > > > > [INFO]
> > > > > >
> > > ------------------------------------------------------------------------
> > > > > > [INFO] Total time: 55 seconds
> > > > > > [INFO] Finished at: Wed Mar 21 14:05:12 CET 2007
> > > > > > [INFO] Final Memory: 12M/31M
> > > > > > [INFO]
> > > > > >
> > > ------------------------------------------------------------------------
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > www.ruchith.org
> > > > > www.wso2.org
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
>
>

Re: [Rampart 1.1 samples] java.lang.AbstractMethodError:org.apache.rampart.handler.WSDoAllSender.flowComplete

Posted by Dimuthu <mu...@apache.org>.
Hi Angel,

I deleted my maven repo.

Then I commented the 399th line of the trunk/java/pom.xml file, because
these days there are some integration failures due to some opensaml
issue. We are hoping to resolve it soon (next week we are out of the
office from Monday)

Then I ran the mvn clean install command which ran for some time and I
had a build success!

So I am wondering what the issue is.

I went to "org.apache.rampart.handler.WSDoAllSender" and checked out the
flowComplete method, which is not an Abstract method.

Is it a mojo problem as discussed in the mail thread before?  Can u send
the stack trace? Did you try cleaning maven repo?

Thank you,
Dimuthu.



On Fri, 2007-04-06 at 10:35 +0300, Angel Todorov wrote:
> Hi all,
> 
> I also have the same error.
> 
> Ruchith, Dimithu, please try to build rampart from scratch, on a clean
> maven2 repository, and you will see the problem. Thanks very much .
> 
> Regards,
> Angel
> b
> On 3/31/07, Sven Schroebler <sv...@uni-muenster.de> wrote:
> > Hi,
> >
> > First of all: sorry for the late response. Thanks for your help. Neither way
> > worked for me. I still receive the same error message. But as time isn't
> > pressing, I decided to wait for the next binary release ;)
> >
> > Many thanks & best regards,
> > Sven
> >
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Dimuthu [mailto:muthulee@apache.org]
> > Gesendet: Freitag, 23. März 2007 05:25
> > An: rampart-dev@ws.apache.org
> > Betreff: Re: [Rampart 1.1 samples]
> > java.lang.AbstractMethodError:org.apache.rampart.handler.WSDoAllSender.flowC
> > omplete
> >
> > Hi,
> >
> > I am adding to what Ruchith said. I find it easier to use maven2 command
> > to copy the file. It copies to the correct place.
> >
> > Give the following command from the directory in which you have the
> > axis2-mar-maven-plugin-SNAPSHOT.jar file. It automatically copies the
> > file to the correct place in the local maven repository.
> >
> > mvn install-file -DgroupId=org.apache.axis2.maven2
> > -DartifactId=axis2-mar-maven-plugin -Dversion=SNAPSHOT -Dpackaging=mar
> > -Dfile=axis2-mar-maven-plugin-SNAPSHOT.jar
> >
> >
> > Cheers,
> > Dimuthu.
> >
> > On Fri, 2007-03-23 at 09:15 +0530, Ruchith Fernando wrote:
> > > Hi Sven,
> > >
> > > axis2-mar-maven-plugin-SNAPSHOT.jar is the maen2 plugin that created
> > > the .mar files. Therefore IMHO if you have the .jar file in the
> > > ".m2/repository/org/apache/axis2/maven2/axis2-mar-maven-plugin/SNAPSHOT/"
> > > it should work.
> > >
> > > A zip of my
> > ".m2/repository/org/apache/axis2/maven2/axis2-mar-maven-plugin"
> > > directory is available here:
> > > http://www-lk.wso2.com/~ruchith/axis2-mar-maven-plugin.zip
> > >
> > > Thanks,
> > > Ruchith
> > >
> > > On 3/22/07, Sven Schroebler <sv...@uni-muenster.de> wrote:
> > > > Hi Ruchith,
> > > >
> > > > the error remains the same. I copied the file into the directory you
> > told
> > > > me, replacing an existing "axis2-mar-maven-plugin-SNAPSHOT.jar". Same
> > for
> > > > renaming the .jar to .mar. Also I copied the files (jar+mar) directly
> > into
> > > > the axis2-mar-maven-plugin directory, without success.
> > > > I don't have any experience with Maven(2)-projects, so please correct me
> > if
> > > > I am wrong: isn't Maven2 looking for a subdirectory "mar" under
> > > > axis2-mar-maven-plugin/SNAPSHOT or else a file ".mar" ?
> > > >
> > > > Regards,
> > > > Sven
> > > > > ----------------------------------------------------------------------
> > > > > --
> > > > > [ERROR] BUILD ERROR
> > > > > [INFO]
> > > > > ----------------------------------------------------------------------
> > > > > -- [INFO] Internal error in the plugin manager executing goal
> > > > > 'org.apache.axis2.mav
> > > > > en2:axis2-mar-maven-plugin:SNAPSHOT:mar': Unable to find the mojo
> > > > > 'org.apache.ax is2.maven2:axis2-mar-maven-plugin:SNAPSHOT:mar' in the
> > > > > plugin 'org.apache.axis2.
> > > > > maven2:axis2-mar-maven-plugin'
> > > > > org/codehaus/plexus/archiver/AbstractArchiver
> > > > > [INFO]
> > > > > ----------------------------------------------------------------------
> > > > > --
> > > >
> > > > -----Ursprüngliche Nachricht-----
> > > > Von: Ruchith Fernando [mailto:ruchith.fernando@gmail.com]
> > > > Gesendet: Donnerstag, 22. März 2007 04:09
> > > > An: rampart-dev@ws.apache.org
> > > > Betreff: Re: [Rampart 1.1 samples] java.lang.AbstractMethodError:
> > > > org.apache.rampart.handler.WSDoAllSender.flowComplete
> > > >
> > > > Hi Sven,
> > > >
> > > > Please copy this file[1] into the
> > > > .m2/repository/org/apache/axis2/maven2/axis2-mar-maven-plugin/SNAPSHOT/
> > > > directory in your home dir as axis2-mar-maven-plugin-SNAPSHOT.jar.
> > > >
> > > > Thanks,
> > > > Ruchith
> > > >
> > > > [1]
> > > >
> > http://people.apache.org/repo/m2-snapshot-repository/org/apache/axis2/maven2
> > > >
> > /axis2-mar-maven-plugin/SNAPSHOT/axis2-mar-maven-plugin-20070322.010028-83.j
> > > > ar
> > > >
> > > > On 3/21/07, Sven Schroebler <sv...@uni-muenster.de> wrote:
> > > > > Hi Ruchith!
> > > > >
> > > > > Thanks for your reply. Unfortunately, the build script seems to be
> > broken.
> > > > > After having checked out the source from the URL you send me, I ran
> > > > Maven2.
> > > > > It reported the following error (see below).
> > > > >
> > > > > Any ideas, why ... or how I can fix it?
> > > > >
> > > > > Best Regards,
> > > > > Sven
> > > > >
> > > > > -----------------------------------------------------
> > > > > [INFO]
> > > > >
> > ------------------------------------------------------------------------
> > > > > [ERROR] BUILD ERROR
> > > > > [INFO]
> > > > >
> > ------------------------------------------------------------------------
> > > > > [INFO] Internal error in the plugin manager executing goal
> > > > > 'org.apache.axis2.mav
> > > > > en2:axis2-mar-maven-plugin:SNAPSHOT:mar': Unable to find the mojo
> > > > > 'org.apache.ax
> > > > > is2.maven2:axis2-mar-maven-plugin:SNAPSHOT:mar' in the plugin
> > > > > 'org.apache.axis2.
> > > > > maven2:axis2-mar-maven-plugin'
> > > > > org/codehaus/plexus/archiver/AbstractArchiver
> > > > > [INFO]
> > > > >
> > ------------------------------------------------------------------------
> > > > > [INFO] Trace
> > > > > org.apache.maven.lifecycle.LifecycleExecutionException: Internal error
> > in
> > > > > the pl
> > > > > ugin manager executing goal
> > > > > 'org.apache.axis2.maven2:axis2-mar-maven-plugin:SNAP
> > > > > SHOT:mar': Unable to find the mojo
> > > > > 'org.apache.axis2.maven2:axis2-mar-maven-plug
> > > > > in:SNAPSHOT:mar' in the plugin
> > > > > 'org.apache.axis2.maven2:axis2-mar-maven-plugin'
> > > > >         at
> > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> > > > > ultLifecycleExecutor.java:543)
> > > > >         at
> > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
> > > > > fecycle(DefaultLifecycleExecutor.java:480)
> > > > >         at
> > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> > > > > ltLifecycleExecutor.java:459)
> > > > >         at
> > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> > > > > dleFailures(DefaultLifecycleExecutor.java:311)
> > > > >         at
> > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> > > > > ts(DefaultLifecycleExecutor.java:278)
> > > > >         at
> > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> > > > > fecycleExecutor.java:143)
> > > > >         at
> > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
> > > > >         at
> > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
> > > > >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> > > > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > >         at
> > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> > > > > java:39)
> > > > >         at
> > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> > > > > sorImpl.java:25)
> > > > >         at java.lang.reflect.Method.invoke(Method.java:585)
> > > > >         at
> > > > > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> > > > >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> > > > >         at
> > > > > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> > > > >
> > > > >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > > > > Caused by: org.apache.maven.plugin.PluginManagerException: Unable to
> > find
> > > > > the mo
> > > > > jo 'org.apache.axis2.maven2:axis2-mar-maven-plugin:SNAPSHOT:mar' in
> > the
> > > > > plugin '
> > > > > org.apache.axis2.maven2:axis2-mar-maven-plugin'
> > > > >         at
> > > > > org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul
> > > > > tPluginManager.java:541)
> > > > >         at
> > > > > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> > > > > nManager.java:398)
> > > > >         at
> > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> > > > > ultLifecycleExecutor.java:539)
> > > > >         ... 16 more
> > > > > Caused by:
> > > > > org.codehaus.plexus.component.repository.exception.ComponentLookupExc
> > > > > eption: Unable to lookup component
> > > > > 'org.apache.maven.plugin.Mojoorg.apache.axis2
> > > > > .maven2:axis2-mar-maven-plugin:SNAPSHOT:mar', it could not be created
> > > > >         at
> > > > > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
> > > > > ner.java:335)
> > > > >         at
> > > > > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
> > > > > ner.java:440)
> > > > >         at
> > > > > org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul
> > > > > tPluginManager.java:532)
> > > > >         ... 18 more
> > > > > Caused by:
> > > > > org.codehaus.plexus.component.factory.ComponentInstantiationException
> > > > > : Could not instanciate component: role: 'null', implementation:
> > > > > 'org.apache.axi
> > > > > s2.maven2.mar.MarMojo'
> > > > >         at
> > > > > org.codehaus.plexus.component.factory.java.JavaComponentFactory.makeE
> > > > > xception(JavaComponentFactory.java:77)
> > > > >         at
> > > > > org.codehaus.plexus.component.factory.java.JavaComponentFactory.newIn
> > > > > stance(JavaComponentFactory.java:62)
> > > > >         at
> > > > > org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance(De
> > > > > faultPlexusContainer.java:1464)
> > > > >         at
> > > > > org.codehaus.plexus.component.manager.AbstractComponentManager.create
> > > > > ComponentInstance(AbstractComponentManager.java:93)
> > > > >         at
> > > > > org.codehaus.plexus.component.manager.PerLookupComponentManager.getCo
> > > > > mponent(PerLookupComponentManager.java:48)
> > > > >         at
> > > > > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
> > > > > ner.java:331)
> > > > >         ... 20 more
> > > > > Caused by: java.lang.NoClassDefFoundError:
> > > > > org/codehaus/plexus/archiver/Abstract
> > > > > Archiver
> > > > >         at java.lang.Class.getDeclaredConstructors0(Native Method)
> > > > >         at
> > java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
> > > > >         at java.lang.Class.getConstructor0(Class.java:2671)
> > > > >         at java.lang.Class.newInstance0(Class.java:321)
> > > > >         at java.lang.Class.newInstance(Class.java:303)
> > > > >         at
> > > > > org.codehaus.plexus.component.factory.java.JavaComponentFactory.newIn
> > > > > stance(JavaComponentFactory.java:44)
> > > > >         ... 24 more
> > > > > [INFO]
> > > > >
> > ------------------------------------------------------------------------
> > > > > [INFO] Total time: 55 seconds
> > > > > [INFO] Finished at: Wed Mar 21 14:05:12 CET 2007
> > > > > [INFO] Final Memory: 12M/31M
> > > > > [INFO]
> > > > >
> > ------------------------------------------------------------------------
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > www.ruchith.org
> > > > www.wso2.org
> > > >
> > > >
> > >
> > >
> >
> >


Re: [Rampart 1.1 samples] java.lang.AbstractMethodError:org.apache.rampart.handler.WSDoAllSender.flowComplete

Posted by Angel Todorov <at...@gmail.com>.
Hi all,

I also have the same error.

Ruchith, Dimithu, please try to build rampart from scratch, on a clean
maven2 repository, and you will see the problem. Thanks very much .

Regards,
Angel

On 3/31/07, Sven Schroebler <sv...@uni-muenster.de> wrote:
> Hi,
>
> First of all: sorry for the late response. Thanks for your help. Neither way
> worked for me. I still receive the same error message. But as time isn't
> pressing, I decided to wait for the next binary release ;)
>
> Many thanks & best regards,
> Sven
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Dimuthu [mailto:muthulee@apache.org]
> Gesendet: Freitag, 23. März 2007 05:25
> An: rampart-dev@ws.apache.org
> Betreff: Re: [Rampart 1.1 samples]
> java.lang.AbstractMethodError:org.apache.rampart.handler.WSDoAllSender.flowC
> omplete
>
> Hi,
>
> I am adding to what Ruchith said. I find it easier to use maven2 command
> to copy the file. It copies to the correct place.
>
> Give the following command from the directory in which you have the
> axis2-mar-maven-plugin-SNAPSHOT.jar file. It automatically copies the
> file to the correct place in the local maven repository.
>
> mvn install-file -DgroupId=org.apache.axis2.maven2
> -DartifactId=axis2-mar-maven-plugin -Dversion=SNAPSHOT -Dpackaging=mar
> -Dfile=axis2-mar-maven-plugin-SNAPSHOT.jar
>
>
> Cheers,
> Dimuthu.
>
> On Fri, 2007-03-23 at 09:15 +0530, Ruchith Fernando wrote:
> > Hi Sven,
> >
> > axis2-mar-maven-plugin-SNAPSHOT.jar is the maen2 plugin that created
> > the .mar files. Therefore IMHO if you have the .jar file in the
> > ".m2/repository/org/apache/axis2/maven2/axis2-mar-maven-plugin/SNAPSHOT/"
> > it should work.
> >
> > A zip of my
> ".m2/repository/org/apache/axis2/maven2/axis2-mar-maven-plugin"
> > directory is available here:
> > http://www-lk.wso2.com/~ruchith/axis2-mar-maven-plugin.zip
> >
> > Thanks,
> > Ruchith
> >
> > On 3/22/07, Sven Schroebler <sv...@uni-muenster.de> wrote:
> > > Hi Ruchith,
> > >
> > > the error remains the same. I copied the file into the directory you
> told
> > > me, replacing an existing "axis2-mar-maven-plugin-SNAPSHOT.jar". Same
> for
> > > renaming the .jar to .mar. Also I copied the files (jar+mar) directly
> into
> > > the axis2-mar-maven-plugin directory, without success.
> > > I don't have any experience with Maven(2)-projects, so please correct me
> if
> > > I am wrong: isn't Maven2 looking for a subdirectory "mar" under
> > > axis2-mar-maven-plugin/SNAPSHOT or else a file ".mar" ?
> > >
> > > Regards,
> > > Sven
> > > > ----------------------------------------------------------------------
> > > > --
> > > > [ERROR] BUILD ERROR
> > > > [INFO]
> > > > ----------------------------------------------------------------------
> > > > -- [INFO] Internal error in the plugin manager executing goal
> > > > 'org.apache.axis2.mav
> > > > en2:axis2-mar-maven-plugin:SNAPSHOT:mar': Unable to find the mojo
> > > > 'org.apache.ax is2.maven2:axis2-mar-maven-plugin:SNAPSHOT:mar' in the
> > > > plugin 'org.apache.axis2.
> > > > maven2:axis2-mar-maven-plugin'
> > > > org/codehaus/plexus/archiver/AbstractArchiver
> > > > [INFO]
> > > > ----------------------------------------------------------------------
> > > > --
> > >
> > > -----Ursprüngliche Nachricht-----
> > > Von: Ruchith Fernando [mailto:ruchith.fernando@gmail.com]
> > > Gesendet: Donnerstag, 22. März 2007 04:09
> > > An: rampart-dev@ws.apache.org
> > > Betreff: Re: [Rampart 1.1 samples] java.lang.AbstractMethodError:
> > > org.apache.rampart.handler.WSDoAllSender.flowComplete
> > >
> > > Hi Sven,
> > >
> > > Please copy this file[1] into the
> > > .m2/repository/org/apache/axis2/maven2/axis2-mar-maven-plugin/SNAPSHOT/
> > > directory in your home dir as axis2-mar-maven-plugin-SNAPSHOT.jar.
> > >
> > > Thanks,
> > > Ruchith
> > >
> > > [1]
> > >
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/axis2/maven2
> > >
> /axis2-mar-maven-plugin/SNAPSHOT/axis2-mar-maven-plugin-20070322.010028-83.j
> > > ar
> > >
> > > On 3/21/07, Sven Schroebler <sv...@uni-muenster.de> wrote:
> > > > Hi Ruchith!
> > > >
> > > > Thanks for your reply. Unfortunately, the build script seems to be
> broken.
> > > > After having checked out the source from the URL you send me, I ran
> > > Maven2.
> > > > It reported the following error (see below).
> > > >
> > > > Any ideas, why ... or how I can fix it?
> > > >
> > > > Best Regards,
> > > > Sven
> > > >
> > > > -----------------------------------------------------
> > > > [INFO]
> > > >
> ------------------------------------------------------------------------
> > > > [ERROR] BUILD ERROR
> > > > [INFO]
> > > >
> ------------------------------------------------------------------------
> > > > [INFO] Internal error in the plugin manager executing goal
> > > > 'org.apache.axis2.mav
> > > > en2:axis2-mar-maven-plugin:SNAPSHOT:mar': Unable to find the mojo
> > > > 'org.apache.ax
> > > > is2.maven2:axis2-mar-maven-plugin:SNAPSHOT:mar' in the plugin
> > > > 'org.apache.axis2.
> > > > maven2:axis2-mar-maven-plugin'
> > > > org/codehaus/plexus/archiver/AbstractArchiver
> > > > [INFO]
> > > >
> ------------------------------------------------------------------------
> > > > [INFO] Trace
> > > > org.apache.maven.lifecycle.LifecycleExecutionException: Internal error
> in
> > > > the pl
> > > > ugin manager executing goal
> > > > 'org.apache.axis2.maven2:axis2-mar-maven-plugin:SNAP
> > > > SHOT:mar': Unable to find the mojo
> > > > 'org.apache.axis2.maven2:axis2-mar-maven-plug
> > > > in:SNAPSHOT:mar' in the plugin
> > > > 'org.apache.axis2.maven2:axis2-mar-maven-plugin'
> > > >         at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> > > > ultLifecycleExecutor.java:543)
> > > >         at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
> > > > fecycle(DefaultLifecycleExecutor.java:480)
> > > >         at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> > > > ltLifecycleExecutor.java:459)
> > > >         at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> > > > dleFailures(DefaultLifecycleExecutor.java:311)
> > > >         at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> > > > ts(DefaultLifecycleExecutor.java:278)
> > > >         at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> > > > fecycleExecutor.java:143)
> > > >         at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
> > > >         at
> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
> > > >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> > > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > >         at
> > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> > > > java:39)
> > > >         at
> > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> > > > sorImpl.java:25)
> > > >         at java.lang.reflect.Method.invoke(Method.java:585)
> > > >         at
> > > > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> > > >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> > > >         at
> > > > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> > > >
> > > >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > > > Caused by: org.apache.maven.plugin.PluginManagerException: Unable to
> find
> > > > the mo
> > > > jo 'org.apache.axis2.maven2:axis2-mar-maven-plugin:SNAPSHOT:mar' in
> the
> > > > plugin '
> > > > org.apache.axis2.maven2:axis2-mar-maven-plugin'
> > > >         at
> > > > org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul
> > > > tPluginManager.java:541)
> > > >         at
> > > > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> > > > nManager.java:398)
> > > >         at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> > > > ultLifecycleExecutor.java:539)
> > > >         ... 16 more
> > > > Caused by:
> > > > org.codehaus.plexus.component.repository.exception.ComponentLookupExc
> > > > eption: Unable to lookup component
> > > > 'org.apache.maven.plugin.Mojoorg.apache.axis2
> > > > .maven2:axis2-mar-maven-plugin:SNAPSHOT:mar', it could not be created
> > > >         at
> > > > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
> > > > ner.java:335)
> > > >         at
> > > > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
> > > > ner.java:440)
> > > >         at
> > > > org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul
> > > > tPluginManager.java:532)
> > > >         ... 18 more
> > > > Caused by:
> > > > org.codehaus.plexus.component.factory.ComponentInstantiationException
> > > > : Could not instanciate component: role: 'null', implementation:
> > > > 'org.apache.axi
> > > > s2.maven2.mar.MarMojo'
> > > >         at
> > > > org.codehaus.plexus.component.factory.java.JavaComponentFactory.makeE
> > > > xception(JavaComponentFactory.java:77)
> > > >         at
> > > > org.codehaus.plexus.component.factory.java.JavaComponentFactory.newIn
> > > > stance(JavaComponentFactory.java:62)
> > > >         at
> > > > org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance(De
> > > > faultPlexusContainer.java:1464)
> > > >         at
> > > > org.codehaus.plexus.component.manager.AbstractComponentManager.create
> > > > ComponentInstance(AbstractComponentManager.java:93)
> > > >         at
> > > > org.codehaus.plexus.component.manager.PerLookupComponentManager.getCo
> > > > mponent(PerLookupComponentManager.java:48)
> > > >         at
> > > > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
> > > > ner.java:331)
> > > >         ... 20 more
> > > > Caused by: java.lang.NoClassDefFoundError:
> > > > org/codehaus/plexus/archiver/Abstract
> > > > Archiver
> > > >         at java.lang.Class.getDeclaredConstructors0(Native Method)
> > > >         at
> java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
> > > >         at java.lang.Class.getConstructor0(Class.java:2671)
> > > >         at java.lang.Class.newInstance0(Class.java:321)
> > > >         at java.lang.Class.newInstance(Class.java:303)
> > > >         at
> > > > org.codehaus.plexus.component.factory.java.JavaComponentFactory.newIn
> > > > stance(JavaComponentFactory.java:44)
> > > >         ... 24 more
> > > > [INFO]
> > > >
> ------------------------------------------------------------------------
> > > > [INFO] Total time: 55 seconds
> > > > [INFO] Finished at: Wed Mar 21 14:05:12 CET 2007
> > > > [INFO] Final Memory: 12M/31M
> > > > [INFO]
> > > >
> ------------------------------------------------------------------------
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > www.ruchith.org
> > > www.wso2.org
> > >
> > >
> >
> >
>
>

AW: [Rampart 1.1 samples] java.lang.AbstractMethodError:org.apache.rampart.handler.WSDoAllSender.flowComplete

Posted by Sven Schroebler <sv...@uni-muenster.de>.
Hi,

First of all: sorry for the late response. Thanks for your help. Neither way
worked for me. I still receive the same error message. But as time isn't
pressing, I decided to wait for the next binary release ;)

Many thanks & best regards,
Sven



-----Ursprüngliche Nachricht-----
Von: Dimuthu [mailto:muthulee@apache.org] 
Gesendet: Freitag, 23. März 2007 05:25
An: rampart-dev@ws.apache.org
Betreff: Re: [Rampart 1.1 samples]
java.lang.AbstractMethodError:org.apache.rampart.handler.WSDoAllSender.flowC
omplete

Hi,

I am adding to what Ruchith said. I find it easier to use maven2 command
to copy the file. It copies to the correct place. 

Give the following command from the directory in which you have the
axis2-mar-maven-plugin-SNAPSHOT.jar file. It automatically copies the
file to the correct place in the local maven repository.

mvn install-file -DgroupId=org.apache.axis2.maven2
-DartifactId=axis2-mar-maven-plugin -Dversion=SNAPSHOT -Dpackaging=mar
-Dfile=axis2-mar-maven-plugin-SNAPSHOT.jar


Cheers,
Dimuthu.

On Fri, 2007-03-23 at 09:15 +0530, Ruchith Fernando wrote:
> Hi Sven,
> 
> axis2-mar-maven-plugin-SNAPSHOT.jar is the maen2 plugin that created
> the .mar files. Therefore IMHO if you have the .jar file in the
> ".m2/repository/org/apache/axis2/maven2/axis2-mar-maven-plugin/SNAPSHOT/"
> it should work.
> 
> A zip of my
".m2/repository/org/apache/axis2/maven2/axis2-mar-maven-plugin"
> directory is available here:
> http://www-lk.wso2.com/~ruchith/axis2-mar-maven-plugin.zip
> 
> Thanks,
> Ruchith
> 
> On 3/22/07, Sven Schroebler <sv...@uni-muenster.de> wrote:
> > Hi Ruchith,
> >
> > the error remains the same. I copied the file into the directory you
told
> > me, replacing an existing "axis2-mar-maven-plugin-SNAPSHOT.jar". Same
for
> > renaming the .jar to .mar. Also I copied the files (jar+mar) directly
into
> > the axis2-mar-maven-plugin directory, without success.
> > I don't have any experience with Maven(2)-projects, so please correct me
if
> > I am wrong: isn't Maven2 looking for a subdirectory "mar" under
> > axis2-mar-maven-plugin/SNAPSHOT or else a file ".mar" ?
> >
> > Regards,
> > Sven
> > > ----------------------------------------------------------------------
> > > --
> > > [ERROR] BUILD ERROR
> > > [INFO]
> > > ----------------------------------------------------------------------
> > > -- [INFO] Internal error in the plugin manager executing goal
> > > 'org.apache.axis2.mav
> > > en2:axis2-mar-maven-plugin:SNAPSHOT:mar': Unable to find the mojo
> > > 'org.apache.ax is2.maven2:axis2-mar-maven-plugin:SNAPSHOT:mar' in the
> > > plugin 'org.apache.axis2.
> > > maven2:axis2-mar-maven-plugin'
> > > org/codehaus/plexus/archiver/AbstractArchiver
> > > [INFO]
> > > ----------------------------------------------------------------------
> > > --
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Ruchith Fernando [mailto:ruchith.fernando@gmail.com]
> > Gesendet: Donnerstag, 22. März 2007 04:09
> > An: rampart-dev@ws.apache.org
> > Betreff: Re: [Rampart 1.1 samples] java.lang.AbstractMethodError:
> > org.apache.rampart.handler.WSDoAllSender.flowComplete
> >
> > Hi Sven,
> >
> > Please copy this file[1] into the
> > .m2/repository/org/apache/axis2/maven2/axis2-mar-maven-plugin/SNAPSHOT/
> > directory in your home dir as axis2-mar-maven-plugin-SNAPSHOT.jar.
> >
> > Thanks,
> > Ruchith
> >
> > [1]
> >
http://people.apache.org/repo/m2-snapshot-repository/org/apache/axis2/maven2
> >
/axis2-mar-maven-plugin/SNAPSHOT/axis2-mar-maven-plugin-20070322.010028-83.j
> > ar
> >
> > On 3/21/07, Sven Schroebler <sv...@uni-muenster.de> wrote:
> > > Hi Ruchith!
> > >
> > > Thanks for your reply. Unfortunately, the build script seems to be
broken.
> > > After having checked out the source from the URL you send me, I ran
> > Maven2.
> > > It reported the following error (see below).
> > >
> > > Any ideas, why ... or how I can fix it?
> > >
> > > Best Regards,
> > > Sven
> > >
> > > -----------------------------------------------------
> > > [INFO]
> > >
------------------------------------------------------------------------
> > > [ERROR] BUILD ERROR
> > > [INFO]
> > >
------------------------------------------------------------------------
> > > [INFO] Internal error in the plugin manager executing goal
> > > 'org.apache.axis2.mav
> > > en2:axis2-mar-maven-plugin:SNAPSHOT:mar': Unable to find the mojo
> > > 'org.apache.ax
> > > is2.maven2:axis2-mar-maven-plugin:SNAPSHOT:mar' in the plugin
> > > 'org.apache.axis2.
> > > maven2:axis2-mar-maven-plugin'
> > > org/codehaus/plexus/archiver/AbstractArchiver
> > > [INFO]
> > >
------------------------------------------------------------------------
> > > [INFO] Trace
> > > org.apache.maven.lifecycle.LifecycleExecutionException: Internal error
in
> > > the pl
> > > ugin manager executing goal
> > > 'org.apache.axis2.maven2:axis2-mar-maven-plugin:SNAP
> > > SHOT:mar': Unable to find the mojo
> > > 'org.apache.axis2.maven2:axis2-mar-maven-plug
> > > in:SNAPSHOT:mar' in the plugin
> > > 'org.apache.axis2.maven2:axis2-mar-maven-plugin'
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> > > ultLifecycleExecutor.java:543)
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
> > > fecycle(DefaultLifecycleExecutor.java:480)
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> > > ltLifecycleExecutor.java:459)
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> > > dleFailures(DefaultLifecycleExecutor.java:311)
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> > > ts(DefaultLifecycleExecutor.java:278)
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> > > fecycleExecutor.java:143)
> > >         at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
> > >         at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
> > >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >         at
> > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> > > java:39)
> > >         at
> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> > > sorImpl.java:25)
> > >         at java.lang.reflect.Method.invoke(Method.java:585)
> > >         at
> > > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> > >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> > >         at
> > > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> > >
> > >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > > Caused by: org.apache.maven.plugin.PluginManagerException: Unable to
find
> > > the mo
> > > jo 'org.apache.axis2.maven2:axis2-mar-maven-plugin:SNAPSHOT:mar' in
the
> > > plugin '
> > > org.apache.axis2.maven2:axis2-mar-maven-plugin'
> > >         at
> > > org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul
> > > tPluginManager.java:541)
> > >         at
> > > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> > > nManager.java:398)
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> > > ultLifecycleExecutor.java:539)
> > >         ... 16 more
> > > Caused by:
> > > org.codehaus.plexus.component.repository.exception.ComponentLookupExc
> > > eption: Unable to lookup component
> > > 'org.apache.maven.plugin.Mojoorg.apache.axis2
> > > .maven2:axis2-mar-maven-plugin:SNAPSHOT:mar', it could not be created
> > >         at
> > > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
> > > ner.java:335)
> > >         at
> > > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
> > > ner.java:440)
> > >         at
> > > org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul
> > > tPluginManager.java:532)
> > >         ... 18 more
> > > Caused by:
> > > org.codehaus.plexus.component.factory.ComponentInstantiationException
> > > : Could not instanciate component: role: 'null', implementation:
> > > 'org.apache.axi
> > > s2.maven2.mar.MarMojo'
> > >         at
> > > org.codehaus.plexus.component.factory.java.JavaComponentFactory.makeE
> > > xception(JavaComponentFactory.java:77)
> > >         at
> > > org.codehaus.plexus.component.factory.java.JavaComponentFactory.newIn
> > > stance(JavaComponentFactory.java:62)
> > >         at
> > > org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance(De
> > > faultPlexusContainer.java:1464)
> > >         at
> > > org.codehaus.plexus.component.manager.AbstractComponentManager.create
> > > ComponentInstance(AbstractComponentManager.java:93)
> > >         at
> > > org.codehaus.plexus.component.manager.PerLookupComponentManager.getCo
> > > mponent(PerLookupComponentManager.java:48)
> > >         at
> > > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
> > > ner.java:331)
> > >         ... 20 more
> > > Caused by: java.lang.NoClassDefFoundError:
> > > org/codehaus/plexus/archiver/Abstract
> > > Archiver
> > >         at java.lang.Class.getDeclaredConstructors0(Native Method)
> > >         at
java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
> > >         at java.lang.Class.getConstructor0(Class.java:2671)
> > >         at java.lang.Class.newInstance0(Class.java:321)
> > >         at java.lang.Class.newInstance(Class.java:303)
> > >         at
> > > org.codehaus.plexus.component.factory.java.JavaComponentFactory.newIn
> > > stance(JavaComponentFactory.java:44)
> > >         ... 24 more
> > > [INFO]
> > >
------------------------------------------------------------------------
> > > [INFO] Total time: 55 seconds
> > > [INFO] Finished at: Wed Mar 21 14:05:12 CET 2007
> > > [INFO] Final Memory: 12M/31M
> > > [INFO]
> > >
------------------------------------------------------------------------
> > >
> > >
> > >
> >
> >
> > --
> > www.ruchith.org
> > www.wso2.org
> >
> >
> 
> 


Re: [Rampart 1.1 samples] java.lang.AbstractMethodError: org.apache.rampart.handler.WSDoAllSender.flowComplete

Posted by Dimuthu <mu...@apache.org>.
Hi,

I am adding to what Ruchith said. I find it easier to use maven2 command
to copy the file. It copies to the correct place. 

Give the following command from the directory in which you have the
axis2-mar-maven-plugin-SNAPSHOT.jar file. It automatically copies the
file to the correct place in the local maven repository.

mvn install-file -DgroupId=org.apache.axis2.maven2
-DartifactId=axis2-mar-maven-plugin -Dversion=SNAPSHOT -Dpackaging=mar
-Dfile=axis2-mar-maven-plugin-SNAPSHOT.jar


Cheers,
Dimuthu.

On Fri, 2007-03-23 at 09:15 +0530, Ruchith Fernando wrote:
> Hi Sven,
> 
> axis2-mar-maven-plugin-SNAPSHOT.jar is the maen2 plugin that created
> the .mar files. Therefore IMHO if you have the .jar file in the
> ".m2/repository/org/apache/axis2/maven2/axis2-mar-maven-plugin/SNAPSHOT/"
> it should work.
> 
> A zip of my ".m2/repository/org/apache/axis2/maven2/axis2-mar-maven-plugin"
> directory is available here:
> http://www-lk.wso2.com/~ruchith/axis2-mar-maven-plugin.zip
> 
> Thanks,
> Ruchith
> 
> On 3/22/07, Sven Schroebler <sv...@uni-muenster.de> wrote:
> > Hi Ruchith,
> >
> > the error remains the same. I copied the file into the directory you told
> > me, replacing an existing "axis2-mar-maven-plugin-SNAPSHOT.jar". Same for
> > renaming the .jar to .mar. Also I copied the files (jar+mar) directly into
> > the axis2-mar-maven-plugin directory, without success.
> > I don't have any experience with Maven(2)-projects, so please correct me if
> > I am wrong: isn't Maven2 looking for a subdirectory "mar" under
> > axis2-mar-maven-plugin/SNAPSHOT or else a file ".mar" ?
> >
> > Regards,
> > Sven
> > > ----------------------------------------------------------------------
> > > --
> > > [ERROR] BUILD ERROR
> > > [INFO]
> > > ----------------------------------------------------------------------
> > > -- [INFO] Internal error in the plugin manager executing goal
> > > 'org.apache.axis2.mav
> > > en2:axis2-mar-maven-plugin:SNAPSHOT:mar': Unable to find the mojo
> > > 'org.apache.ax is2.maven2:axis2-mar-maven-plugin:SNAPSHOT:mar' in the
> > > plugin 'org.apache.axis2.
> > > maven2:axis2-mar-maven-plugin'
> > > org/codehaus/plexus/archiver/AbstractArchiver
> > > [INFO]
> > > ----------------------------------------------------------------------
> > > --
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Ruchith Fernando [mailto:ruchith.fernando@gmail.com]
> > Gesendet: Donnerstag, 22. März 2007 04:09
> > An: rampart-dev@ws.apache.org
> > Betreff: Re: [Rampart 1.1 samples] java.lang.AbstractMethodError:
> > org.apache.rampart.handler.WSDoAllSender.flowComplete
> >
> > Hi Sven,
> >
> > Please copy this file[1] into the
> > .m2/repository/org/apache/axis2/maven2/axis2-mar-maven-plugin/SNAPSHOT/
> > directory in your home dir as axis2-mar-maven-plugin-SNAPSHOT.jar.
> >
> > Thanks,
> > Ruchith
> >
> > [1]
> > http://people.apache.org/repo/m2-snapshot-repository/org/apache/axis2/maven2
> > /axis2-mar-maven-plugin/SNAPSHOT/axis2-mar-maven-plugin-20070322.010028-83.j
> > ar
> >
> > On 3/21/07, Sven Schroebler <sv...@uni-muenster.de> wrote:
> > > Hi Ruchith!
> > >
> > > Thanks for your reply. Unfortunately, the build script seems to be broken.
> > > After having checked out the source from the URL you send me, I ran
> > Maven2.
> > > It reported the following error (see below).
> > >
> > > Any ideas, why ... or how I can fix it?
> > >
> > > Best Regards,
> > > Sven
> > >
> > > -----------------------------------------------------
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [ERROR] BUILD ERROR
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] Internal error in the plugin manager executing goal
> > > 'org.apache.axis2.mav
> > > en2:axis2-mar-maven-plugin:SNAPSHOT:mar': Unable to find the mojo
> > > 'org.apache.ax
> > > is2.maven2:axis2-mar-maven-plugin:SNAPSHOT:mar' in the plugin
> > > 'org.apache.axis2.
> > > maven2:axis2-mar-maven-plugin'
> > > org/codehaus/plexus/archiver/AbstractArchiver
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] Trace
> > > org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in
> > > the pl
> > > ugin manager executing goal
> > > 'org.apache.axis2.maven2:axis2-mar-maven-plugin:SNAP
> > > SHOT:mar': Unable to find the mojo
> > > 'org.apache.axis2.maven2:axis2-mar-maven-plug
> > > in:SNAPSHOT:mar' in the plugin
> > > 'org.apache.axis2.maven2:axis2-mar-maven-plugin'
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> > > ultLifecycleExecutor.java:543)
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
> > > fecycle(DefaultLifecycleExecutor.java:480)
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> > > ltLifecycleExecutor.java:459)
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> > > dleFailures(DefaultLifecycleExecutor.java:311)
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> > > ts(DefaultLifecycleExecutor.java:278)
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> > > fecycleExecutor.java:143)
> > >         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
> > >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
> > >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >         at
> > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> > > java:39)
> > >         at
> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> > > sorImpl.java:25)
> > >         at java.lang.reflect.Method.invoke(Method.java:585)
> > >         at
> > > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> > >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> > >         at
> > > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> > >
> > >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > > Caused by: org.apache.maven.plugin.PluginManagerException: Unable to find
> > > the mo
> > > jo 'org.apache.axis2.maven2:axis2-mar-maven-plugin:SNAPSHOT:mar' in the
> > > plugin '
> > > org.apache.axis2.maven2:axis2-mar-maven-plugin'
> > >         at
> > > org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul
> > > tPluginManager.java:541)
> > >         at
> > > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> > > nManager.java:398)
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> > > ultLifecycleExecutor.java:539)
> > >         ... 16 more
> > > Caused by:
> > > org.codehaus.plexus.component.repository.exception.ComponentLookupExc
> > > eption: Unable to lookup component
> > > 'org.apache.maven.plugin.Mojoorg.apache.axis2
> > > .maven2:axis2-mar-maven-plugin:SNAPSHOT:mar', it could not be created
> > >         at
> > > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
> > > ner.java:335)
> > >         at
> > > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
> > > ner.java:440)
> > >         at
> > > org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul
> > > tPluginManager.java:532)
> > >         ... 18 more
> > > Caused by:
> > > org.codehaus.plexus.component.factory.ComponentInstantiationException
> > > : Could not instanciate component: role: 'null', implementation:
> > > 'org.apache.axi
> > > s2.maven2.mar.MarMojo'
> > >         at
> > > org.codehaus.plexus.component.factory.java.JavaComponentFactory.makeE
> > > xception(JavaComponentFactory.java:77)
> > >         at
> > > org.codehaus.plexus.component.factory.java.JavaComponentFactory.newIn
> > > stance(JavaComponentFactory.java:62)
> > >         at
> > > org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance(De
> > > faultPlexusContainer.java:1464)
> > >         at
> > > org.codehaus.plexus.component.manager.AbstractComponentManager.create
> > > ComponentInstance(AbstractComponentManager.java:93)
> > >         at
> > > org.codehaus.plexus.component.manager.PerLookupComponentManager.getCo
> > > mponent(PerLookupComponentManager.java:48)
> > >         at
> > > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
> > > ner.java:331)
> > >         ... 20 more
> > > Caused by: java.lang.NoClassDefFoundError:
> > > org/codehaus/plexus/archiver/Abstract
> > > Archiver
> > >         at java.lang.Class.getDeclaredConstructors0(Native Method)
> > >         at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
> > >         at java.lang.Class.getConstructor0(Class.java:2671)
> > >         at java.lang.Class.newInstance0(Class.java:321)
> > >         at java.lang.Class.newInstance(Class.java:303)
> > >         at
> > > org.codehaus.plexus.component.factory.java.JavaComponentFactory.newIn
> > > stance(JavaComponentFactory.java:44)
> > >         ... 24 more
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] Total time: 55 seconds
> > > [INFO] Finished at: Wed Mar 21 14:05:12 CET 2007
> > > [INFO] Final Memory: 12M/31M
> > > [INFO]
> > > ------------------------------------------------------------------------
> > >
> > >
> > >
> >
> >
> > --
> > www.ruchith.org
> > www.wso2.org
> >
> >
> 
> 


Re: [Rampart 1.1 samples] java.lang.AbstractMethodError: org.apache.rampart.handler.WSDoAllSender.flowComplete

Posted by Ruchith Fernando <ru...@gmail.com>.
Hi Sven,

axis2-mar-maven-plugin-SNAPSHOT.jar is the maen2 plugin that created
the .mar files. Therefore IMHO if you have the .jar file in the
".m2/repository/org/apache/axis2/maven2/axis2-mar-maven-plugin/SNAPSHOT/"
it should work.

A zip of my ".m2/repository/org/apache/axis2/maven2/axis2-mar-maven-plugin"
directory is available here:
http://www-lk.wso2.com/~ruchith/axis2-mar-maven-plugin.zip

Thanks,
Ruchith

On 3/22/07, Sven Schroebler <sv...@uni-muenster.de> wrote:
> Hi Ruchith,
>
> the error remains the same. I copied the file into the directory you told
> me, replacing an existing "axis2-mar-maven-plugin-SNAPSHOT.jar". Same for
> renaming the .jar to .mar. Also I copied the files (jar+mar) directly into
> the axis2-mar-maven-plugin directory, without success.
> I don't have any experience with Maven(2)-projects, so please correct me if
> I am wrong: isn't Maven2 looking for a subdirectory "mar" under
> axis2-mar-maven-plugin/SNAPSHOT or else a file ".mar" ?
>
> Regards,
> Sven
> > ----------------------------------------------------------------------
> > --
> > [ERROR] BUILD ERROR
> > [INFO]
> > ----------------------------------------------------------------------
> > -- [INFO] Internal error in the plugin manager executing goal
> > 'org.apache.axis2.mav
> > en2:axis2-mar-maven-plugin:SNAPSHOT:mar': Unable to find the mojo
> > 'org.apache.ax is2.maven2:axis2-mar-maven-plugin:SNAPSHOT:mar' in the
> > plugin 'org.apache.axis2.
> > maven2:axis2-mar-maven-plugin'
> > org/codehaus/plexus/archiver/AbstractArchiver
> > [INFO]
> > ----------------------------------------------------------------------
> > --
>
> -----Ursprüngliche Nachricht-----
> Von: Ruchith Fernando [mailto:ruchith.fernando@gmail.com]
> Gesendet: Donnerstag, 22. März 2007 04:09
> An: rampart-dev@ws.apache.org
> Betreff: Re: [Rampart 1.1 samples] java.lang.AbstractMethodError:
> org.apache.rampart.handler.WSDoAllSender.flowComplete
>
> Hi Sven,
>
> Please copy this file[1] into the
> .m2/repository/org/apache/axis2/maven2/axis2-mar-maven-plugin/SNAPSHOT/
> directory in your home dir as axis2-mar-maven-plugin-SNAPSHOT.jar.
>
> Thanks,
> Ruchith
>
> [1]
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/axis2/maven2
> /axis2-mar-maven-plugin/SNAPSHOT/axis2-mar-maven-plugin-20070322.010028-83.j
> ar
>
> On 3/21/07, Sven Schroebler <sv...@uni-muenster.de> wrote:
> > Hi Ruchith!
> >
> > Thanks for your reply. Unfortunately, the build script seems to be broken.
> > After having checked out the source from the URL you send me, I ran
> Maven2.
> > It reported the following error (see below).
> >
> > Any ideas, why ... or how I can fix it?
> >
> > Best Regards,
> > Sven
> >
> > -----------------------------------------------------
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Internal error in the plugin manager executing goal
> > 'org.apache.axis2.mav
> > en2:axis2-mar-maven-plugin:SNAPSHOT:mar': Unable to find the mojo
> > 'org.apache.ax
> > is2.maven2:axis2-mar-maven-plugin:SNAPSHOT:mar' in the plugin
> > 'org.apache.axis2.
> > maven2:axis2-mar-maven-plugin'
> > org/codehaus/plexus/archiver/AbstractArchiver
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Trace
> > org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in
> > the pl
> > ugin manager executing goal
> > 'org.apache.axis2.maven2:axis2-mar-maven-plugin:SNAP
> > SHOT:mar': Unable to find the mojo
> > 'org.apache.axis2.maven2:axis2-mar-maven-plug
> > in:SNAPSHOT:mar' in the plugin
> > 'org.apache.axis2.maven2:axis2-mar-maven-plugin'
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> > ultLifecycleExecutor.java:543)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
> > fecycle(DefaultLifecycleExecutor.java:480)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> > ltLifecycleExecutor.java:459)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> > dleFailures(DefaultLifecycleExecutor.java:311)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> > ts(DefaultLifecycleExecutor.java:278)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> > fecycleExecutor.java:143)
> >         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
> >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
> >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> > java:39)
> >         at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> > sorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at
> > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> >         at
> > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> >
> >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > Caused by: org.apache.maven.plugin.PluginManagerException: Unable to find
> > the mo
> > jo 'org.apache.axis2.maven2:axis2-mar-maven-plugin:SNAPSHOT:mar' in the
> > plugin '
> > org.apache.axis2.maven2:axis2-mar-maven-plugin'
> >         at
> > org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul
> > tPluginManager.java:541)
> >         at
> > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> > nManager.java:398)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> > ultLifecycleExecutor.java:539)
> >         ... 16 more
> > Caused by:
> > org.codehaus.plexus.component.repository.exception.ComponentLookupExc
> > eption: Unable to lookup component
> > 'org.apache.maven.plugin.Mojoorg.apache.axis2
> > .maven2:axis2-mar-maven-plugin:SNAPSHOT:mar', it could not be created
> >         at
> > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
> > ner.java:335)
> >         at
> > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
> > ner.java:440)
> >         at
> > org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul
> > tPluginManager.java:532)
> >         ... 18 more
> > Caused by:
> > org.codehaus.plexus.component.factory.ComponentInstantiationException
> > : Could not instanciate component: role: 'null', implementation:
> > 'org.apache.axi
> > s2.maven2.mar.MarMojo'
> >         at
> > org.codehaus.plexus.component.factory.java.JavaComponentFactory.makeE
> > xception(JavaComponentFactory.java:77)
> >         at
> > org.codehaus.plexus.component.factory.java.JavaComponentFactory.newIn
> > stance(JavaComponentFactory.java:62)
> >         at
> > org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance(De
> > faultPlexusContainer.java:1464)
> >         at
> > org.codehaus.plexus.component.manager.AbstractComponentManager.create
> > ComponentInstance(AbstractComponentManager.java:93)
> >         at
> > org.codehaus.plexus.component.manager.PerLookupComponentManager.getCo
> > mponent(PerLookupComponentManager.java:48)
> >         at
> > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
> > ner.java:331)
> >         ... 20 more
> > Caused by: java.lang.NoClassDefFoundError:
> > org/codehaus/plexus/archiver/Abstract
> > Archiver
> >         at java.lang.Class.getDeclaredConstructors0(Native Method)
> >         at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
> >         at java.lang.Class.getConstructor0(Class.java:2671)
> >         at java.lang.Class.newInstance0(Class.java:321)
> >         at java.lang.Class.newInstance(Class.java:303)
> >         at
> > org.codehaus.plexus.component.factory.java.JavaComponentFactory.newIn
> > stance(JavaComponentFactory.java:44)
> >         ... 24 more
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 55 seconds
> > [INFO] Finished at: Wed Mar 21 14:05:12 CET 2007
> > [INFO] Final Memory: 12M/31M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> >
> >
>
>
> --
> www.ruchith.org
> www.wso2.org
>
>


-- 
www.ruchith.org
www.wso2.org

AW: [Rampart 1.1 samples] java.lang.AbstractMethodError: org.apache.rampart.handler.WSDoAllSender.flowComplete

Posted by Sven Schroebler <sv...@uni-muenster.de>.
Hi Ruchith,

the error remains the same. I copied the file into the directory you told
me, replacing an existing "axis2-mar-maven-plugin-SNAPSHOT.jar". Same for
renaming the .jar to .mar. Also I copied the files (jar+mar) directly into
the axis2-mar-maven-plugin directory, without success.
I don't have any experience with Maven(2)-projects, so please correct me if
I am wrong: isn't Maven2 looking for a subdirectory "mar" under
axis2-mar-maven-plugin/SNAPSHOT or else a file ".mar" ?

Regards,
Sven
> ----------------------------------------------------------------------
> --
> [ERROR] BUILD ERROR
> [INFO]
> ----------------------------------------------------------------------
> -- [INFO] Internal error in the plugin manager executing goal 
> 'org.apache.axis2.mav
> en2:axis2-mar-maven-plugin:SNAPSHOT:mar': Unable to find the mojo 
> 'org.apache.ax is2.maven2:axis2-mar-maven-plugin:SNAPSHOT:mar' in the 
> plugin 'org.apache.axis2.
> maven2:axis2-mar-maven-plugin'
> org/codehaus/plexus/archiver/AbstractArchiver
> [INFO]
> ----------------------------------------------------------------------
> --

-----Ursprüngliche Nachricht-----
Von: Ruchith Fernando [mailto:ruchith.fernando@gmail.com] 
Gesendet: Donnerstag, 22. März 2007 04:09
An: rampart-dev@ws.apache.org
Betreff: Re: [Rampart 1.1 samples] java.lang.AbstractMethodError:
org.apache.rampart.handler.WSDoAllSender.flowComplete

Hi Sven,

Please copy this file[1] into the
.m2/repository/org/apache/axis2/maven2/axis2-mar-maven-plugin/SNAPSHOT/
directory in your home dir as axis2-mar-maven-plugin-SNAPSHOT.jar.

Thanks,
Ruchith

[1]
http://people.apache.org/repo/m2-snapshot-repository/org/apache/axis2/maven2
/axis2-mar-maven-plugin/SNAPSHOT/axis2-mar-maven-plugin-20070322.010028-83.j
ar

On 3/21/07, Sven Schroebler <sv...@uni-muenster.de> wrote:
> Hi Ruchith!
>
> Thanks for your reply. Unfortunately, the build script seems to be broken.
> After having checked out the source from the URL you send me, I ran
Maven2.
> It reported the following error (see below).
>
> Any ideas, why ... or how I can fix it?
>
> Best Regards,
> Sven
>
> -----------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Internal error in the plugin manager executing goal
> 'org.apache.axis2.mav
> en2:axis2-mar-maven-plugin:SNAPSHOT:mar': Unable to find the mojo
> 'org.apache.ax
> is2.maven2:axis2-mar-maven-plugin:SNAPSHOT:mar' in the plugin
> 'org.apache.axis2.
> maven2:axis2-mar-maven-plugin'
> org/codehaus/plexus/archiver/AbstractArchiver
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in
> the pl
> ugin manager executing goal
> 'org.apache.axis2.maven2:axis2-mar-maven-plugin:SNAP
> SHOT:mar': Unable to find the mojo
> 'org.apache.axis2.maven2:axis2-mar-maven-plug
> in:SNAPSHOT:mar' in the plugin
> 'org.apache.axis2.maven2:axis2-mar-maven-plugin'
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:543)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
> fecycle(DefaultLifecycleExecutor.java:480)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> ltLifecycleExecutor.java:459)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> dleFailures(DefaultLifecycleExecutor.java:311)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> ts(DefaultLifecycleExecutor.java:278)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> fecycleExecutor.java:143)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.PluginManagerException: Unable to find
> the mo
> jo 'org.apache.axis2.maven2:axis2-mar-maven-plugin:SNAPSHOT:mar' in the
> plugin '
> org.apache.axis2.maven2:axis2-mar-maven-plugin'
>         at
> org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul
> tPluginManager.java:541)
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> nManager.java:398)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:539)
>         ... 16 more
> Caused by:
> org.codehaus.plexus.component.repository.exception.ComponentLookupExc
> eption: Unable to lookup component
> 'org.apache.maven.plugin.Mojoorg.apache.axis2
> .maven2:axis2-mar-maven-plugin:SNAPSHOT:mar', it could not be created
>         at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
> ner.java:335)
>         at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
> ner.java:440)
>         at
> org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul
> tPluginManager.java:532)
>         ... 18 more
> Caused by:
> org.codehaus.plexus.component.factory.ComponentInstantiationException
> : Could not instanciate component: role: 'null', implementation:
> 'org.apache.axi
> s2.maven2.mar.MarMojo'
>         at
> org.codehaus.plexus.component.factory.java.JavaComponentFactory.makeE
> xception(JavaComponentFactory.java:77)
>         at
> org.codehaus.plexus.component.factory.java.JavaComponentFactory.newIn
> stance(JavaComponentFactory.java:62)
>         at
> org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance(De
> faultPlexusContainer.java:1464)
>         at
> org.codehaus.plexus.component.manager.AbstractComponentManager.create
> ComponentInstance(AbstractComponentManager.java:93)
>         at
> org.codehaus.plexus.component.manager.PerLookupComponentManager.getCo
> mponent(PerLookupComponentManager.java:48)
>         at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
> ner.java:331)
>         ... 20 more
> Caused by: java.lang.NoClassDefFoundError:
> org/codehaus/plexus/archiver/Abstract
> Archiver
>         at java.lang.Class.getDeclaredConstructors0(Native Method)
>         at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
>         at java.lang.Class.getConstructor0(Class.java:2671)
>         at java.lang.Class.newInstance0(Class.java:321)
>         at java.lang.Class.newInstance(Class.java:303)
>         at
> org.codehaus.plexus.component.factory.java.JavaComponentFactory.newIn
> stance(JavaComponentFactory.java:44)
>         ... 24 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 55 seconds
> [INFO] Finished at: Wed Mar 21 14:05:12 CET 2007
> [INFO] Final Memory: 12M/31M
> [INFO]
> ------------------------------------------------------------------------
>
>
>


-- 
www.ruchith.org
www.wso2.org


Re: [Rampart 1.1 samples] java.lang.AbstractMethodError: org.apache.rampart.handler.WSDoAllSender.flowComplete

Posted by Ruchith Fernando <ru...@gmail.com>.
Hi Sven,

Please copy this file[1] into the
.m2/repository/org/apache/axis2/maven2/axis2-mar-maven-plugin/SNAPSHOT/
directory in your home dir as axis2-mar-maven-plugin-SNAPSHOT.jar.

Thanks,
Ruchith

[1] http://people.apache.org/repo/m2-snapshot-repository/org/apache/axis2/maven2/axis2-mar-maven-plugin/SNAPSHOT/axis2-mar-maven-plugin-20070322.010028-83.jar

On 3/21/07, Sven Schroebler <sv...@uni-muenster.de> wrote:
> Hi Ruchith!
>
> Thanks for your reply. Unfortunately, the build script seems to be broken.
> After having checked out the source from the URL you send me, I ran Maven2.
> It reported the following error (see below).
>
> Any ideas, why ... or how I can fix it?
>
> Best Regards,
> Sven
>
> -----------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Internal error in the plugin manager executing goal
> 'org.apache.axis2.mav
> en2:axis2-mar-maven-plugin:SNAPSHOT:mar': Unable to find the mojo
> 'org.apache.ax
> is2.maven2:axis2-mar-maven-plugin:SNAPSHOT:mar' in the plugin
> 'org.apache.axis2.
> maven2:axis2-mar-maven-plugin'
> org/codehaus/plexus/archiver/AbstractArchiver
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in
> the pl
> ugin manager executing goal
> 'org.apache.axis2.maven2:axis2-mar-maven-plugin:SNAP
> SHOT:mar': Unable to find the mojo
> 'org.apache.axis2.maven2:axis2-mar-maven-plug
> in:SNAPSHOT:mar' in the plugin
> 'org.apache.axis2.maven2:axis2-mar-maven-plugin'
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:543)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
> fecycle(DefaultLifecycleExecutor.java:480)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> ltLifecycleExecutor.java:459)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> dleFailures(DefaultLifecycleExecutor.java:311)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> ts(DefaultLifecycleExecutor.java:278)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> fecycleExecutor.java:143)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.PluginManagerException: Unable to find
> the mo
> jo 'org.apache.axis2.maven2:axis2-mar-maven-plugin:SNAPSHOT:mar' in the
> plugin '
> org.apache.axis2.maven2:axis2-mar-maven-plugin'
>         at
> org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul
> tPluginManager.java:541)
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> nManager.java:398)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:539)
>         ... 16 more
> Caused by:
> org.codehaus.plexus.component.repository.exception.ComponentLookupExc
> eption: Unable to lookup component
> 'org.apache.maven.plugin.Mojoorg.apache.axis2
> .maven2:axis2-mar-maven-plugin:SNAPSHOT:mar', it could not be created
>         at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
> ner.java:335)
>         at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
> ner.java:440)
>         at
> org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul
> tPluginManager.java:532)
>         ... 18 more
> Caused by:
> org.codehaus.plexus.component.factory.ComponentInstantiationException
> : Could not instanciate component: role: 'null', implementation:
> 'org.apache.axi
> s2.maven2.mar.MarMojo'
>         at
> org.codehaus.plexus.component.factory.java.JavaComponentFactory.makeE
> xception(JavaComponentFactory.java:77)
>         at
> org.codehaus.plexus.component.factory.java.JavaComponentFactory.newIn
> stance(JavaComponentFactory.java:62)
>         at
> org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance(De
> faultPlexusContainer.java:1464)
>         at
> org.codehaus.plexus.component.manager.AbstractComponentManager.create
> ComponentInstance(AbstractComponentManager.java:93)
>         at
> org.codehaus.plexus.component.manager.PerLookupComponentManager.getCo
> mponent(PerLookupComponentManager.java:48)
>         at
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
> ner.java:331)
>         ... 20 more
> Caused by: java.lang.NoClassDefFoundError:
> org/codehaus/plexus/archiver/Abstract
> Archiver
>         at java.lang.Class.getDeclaredConstructors0(Native Method)
>         at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
>         at java.lang.Class.getConstructor0(Class.java:2671)
>         at java.lang.Class.newInstance0(Class.java:321)
>         at java.lang.Class.newInstance(Class.java:303)
>         at
> org.codehaus.plexus.component.factory.java.JavaComponentFactory.newIn
> stance(JavaComponentFactory.java:44)
>         ... 24 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 55 seconds
> [INFO] Finished at: Wed Mar 21 14:05:12 CET 2007
> [INFO] Final Memory: 12M/31M
> [INFO]
> ------------------------------------------------------------------------
>
>
>


-- 
www.ruchith.org
www.wso2.org

AW: [Rampart 1.1 samples] java.lang.AbstractMethodError: org.apache.rampart.handler.WSDoAllSender.flowComplete

Posted by Sven Schroebler <sv...@uni-muenster.de>.
Hi Ruchith!

Thanks for your reply. Unfortunately, the build script seems to be broken.
After having checked out the source from the URL you send me, I ran Maven2.
It reported the following error (see below).

Any ideas, why ... or how I can fix it?

Best Regards,
Sven

-----------------------------------------------------
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Internal error in the plugin manager executing goal
'org.apache.axis2.mav
en2:axis2-mar-maven-plugin:SNAPSHOT:mar': Unable to find the mojo
'org.apache.ax
is2.maven2:axis2-mar-maven-plugin:SNAPSHOT:mar' in the plugin
'org.apache.axis2.
maven2:axis2-mar-maven-plugin'
org/codehaus/plexus/archiver/AbstractArchiver
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in
the pl
ugin manager executing goal
'org.apache.axis2.maven2:axis2-mar-maven-plugin:SNAP
SHOT:mar': Unable to find the mojo
'org.apache.axis2.maven2:axis2-mar-maven-plug
in:SNAPSHOT:mar' in the plugin
'org.apache.axis2.maven2:axis2-mar-maven-plugin'
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:543)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:480)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:459)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:278)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:143)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.PluginManagerException: Unable to find
the mo
jo 'org.apache.axis2.maven2:axis2-mar-maven-plugin:SNAPSHOT:mar' in the
plugin '
org.apache.axis2.maven2:axis2-mar-maven-plugin'
        at
org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul
tPluginManager.java:541)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:398)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:539)
        ... 16 more
Caused by:
org.codehaus.plexus.component.repository.exception.ComponentLookupExc
eption: Unable to lookup component
'org.apache.maven.plugin.Mojoorg.apache.axis2
.maven2:axis2-mar-maven-plugin:SNAPSHOT:mar', it could not be created
        at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
ner.java:335)
        at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
ner.java:440)
        at
org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul
tPluginManager.java:532)
        ... 18 more
Caused by:
org.codehaus.plexus.component.factory.ComponentInstantiationException
: Could not instanciate component: role: 'null', implementation:
'org.apache.axi
s2.maven2.mar.MarMojo'
        at
org.codehaus.plexus.component.factory.java.JavaComponentFactory.makeE
xception(JavaComponentFactory.java:77)
        at
org.codehaus.plexus.component.factory.java.JavaComponentFactory.newIn
stance(JavaComponentFactory.java:62)
        at
org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance(De
faultPlexusContainer.java:1464)
        at
org.codehaus.plexus.component.manager.AbstractComponentManager.create
ComponentInstance(AbstractComponentManager.java:93)
        at
org.codehaus.plexus.component.manager.PerLookupComponentManager.getCo
mponent(PerLookupComponentManager.java:48)
        at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
ner.java:331)
        ... 20 more
Caused by: java.lang.NoClassDefFoundError:
org/codehaus/plexus/archiver/Abstract
Archiver
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
        at java.lang.Class.getConstructor0(Class.java:2671)
        at java.lang.Class.newInstance0(Class.java:321)
        at java.lang.Class.newInstance(Class.java:303)
        at
org.codehaus.plexus.component.factory.java.JavaComponentFactory.newIn
stance(JavaComponentFactory.java:44)
        ... 24 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 55 seconds
[INFO] Finished at: Wed Mar 21 14:05:12 CET 2007
[INFO] Final Memory: 12M/31M
[INFO]
------------------------------------------------------------------------



Re: [Rampart 1.1 samples] java.lang.AbstractMethodError: org.apache.rampart.handler.WSDoAllSender.flowComplete

Posted by Ruchith Fernando <ru...@gmail.com>.
Hi,

Apologies about the delay in the response!

The handler interface of Axis2 was changed and now you cannot use
Rampart-1.1 with the Axis2 trunk SNAPSHOT.

You will have to build rampart (using maven2) using a checkout from here [1]

Thanks,
Ruchith

[1] https://svn.apache.org/repos/asf/webservices/rampart/trunk/java

On 3/13/07, Sven Schroebler <sv...@uni-muenster.de> wrote:
> Hi Rampart-Developers,
>
> I am trying to use Rampart 1.1 with a nightly build of Axis2 (and AXIOM,
> ...) (03/13/06).
>
> Unfortunately, all of my efforts in integrating Rampart in my own webservice
> ended up with the same error message. Finally, I recognized that also the
> Rampart samples all break with this error (please find two examples attached
> below).
>
> Is there any chance of using a recent build of Axis2 with Rampart1.1?
>
> I would really appreciate, if you could give me a hint or a pointer on how
> to advance.
>
> Best Regards,
> Sven Schroebler
>
>
>
> Error message in Rampart-sample02 (on client side)
> ---------------------------------
>      [java] Exception in thread "main" java.lang.AbstractMethodError:
> org.apache
> .rampart.handler.WSDoAllSender.flowComplete(Lorg/apache/axis2/context/Messag
> eCon
> text;)V
>      [java]     at
> org.apache.axis2.engine.Phase.flowComplete(Phase.java:428)
>      [java]     at
> org.apache.axis2.engine.AxisEngine.flowComplete(AxisEngine.ja
> va:287)
>      [java]     at
> org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:511)
>      [java]     at
> org.apache.axis2.description.OutInAxisOperationClient.send(Ou
> tInAxisOperation.java:331)
>      [java]     at
> org.apache.axis2.description.OutInAxisOperationClient.execute
> (OutInAxisOperation.java:295)
>      [java]     at
> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClie
> nt.java:494)
>      [java]     at
> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClie
> nt.java:474)
>      [java]     at org.apache.rampart.samples.sample02.Client.main(Unknown
> Sourc
> e)
>      [java] Java Result: 1
>
>
> Error in Rampart-sample 11 - Response message from webservice:
> ------------------------------
>
> HTTP/1.1 500 Internal server error
> Date: Tue, 13 Mar 2007 18:03:25 GMT
> Server: Simple-Server/1.1
> Content-Length: 2208
> Content-Type: text/xml; charset=UTF-8
> Connection: Close
>
> <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soa
> penv:Fault><faultcode>soapenv:Client</faultcode><faultstring>unknown</faults
> tring><detail><Exception>
>
> java.lang.Exception: java.lang.AbstractMethodError:
> org.apache.rampart.handler.WSDoAllSender.flowComplete(Lorg/apache/axis2/cont
> ext/MessageContext;)V&#xd;
>         at
> org.apache.axis2.util.MessageContextBuilder.createFaultEnvelope(MessageConte
> xtBuilder.java:577)&#xd;
>         at
> org.apache.axis2.util.MessageContextBuilder.createFaultMessageContext(Messag
> eContextBuilder.java:297)&#xd;
>         at
> org.apache.axis2.transport.http.server.AxisHttpService.doService(AxisHttpSer
> vice.java:156)&#xd;
>         at
> org.apache.http.protocol.HttpService.handleRequest(HttpService.java:142)&#xd
> ;
>         at
> org.apache.axis2.transport.http.server.AxisHttpService.handleRequest(AxisHtt
> pService.java:196)&#xd;
>         at
> org.apache.axis2.transport.http.server.HttpServiceProcessor.run(HttpServiceP
> rocessor.java:76)&#xd;
>         at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run
> Task(ThreadPoolExecutor.java:665)&#xd;
>         at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run
> (ThreadPoolExecutor.java:690)&#xd;
>         at java.lang.Thread.run(Thread.java:595)&#xd;
> Caused by: java.lang.AbstractMethodError:
> org.apache.rampart.handler.WSDoAllSender.flowComplete(Lorg/apache/axis2/cont
> ext/MessageContext;)V&#xd;
>         at org.apache.axis2.engine.Phase.flowComplete(Phase.java:428)&#xd;
>         at
> org.apache.axis2.engine.AxisEngine.flowComplete(AxisEngine.java:287)&#xd;
>         at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:511)&#xd;
>         at
> org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(Abstract
> InOutSyncMessageReceiver.java:48)&#xd;
>         at
> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:183)&#xd;
>         at
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HT
> TPTransportUtils.java:280)&#xd;
>         at
> org.apache.axis2.transport.http.HTTPWorker.service(HTTPWorker.java:210)&#xd;
>         at
> org.apache.axis2.transport.http.server.AxisHttpService.doService(AxisHttpSer
> vice.java:140)&#xd;
>         ... 6 more&#xd;
> </Exception></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
>
>
>
>


-- 
www.ruchith.org
www.wso2.org