Marcel Offermans created ACE-364:
------------------------------------

             Summary: Launcher in the server store folder causes 
NoSuchMethodError when deploying something
                 Key: ACE-364
                 URL: https://issues.apache.org/jira/browse/ACE-364
             Project: ACE
          Issue Type: Bug
          Components: Launcher
    Affects Versions: 1.0.0
            Reporter: Marcel Offermans
            Assignee: Marcel Offermans


When using the launcher that is packaged in the store folder of the server, you 
get a NoSuchMethodError when you try to deploy something to this target:

{code}
$ java -jar ace-launcher.jar
Adding additional bundle activator: org.apache.ace.managementagent.Activator
Started management agent.
  Target ID    : defaultTargetID
  Server       : http://localhost:8080
  Sync interval: 2000 ms
  Unaffected bundles will not be stopped during deployment.
Exception in thread "Timer-0" java.lang.NoSuchMethodError: 
org.osgi.framework.BundleEvent.<init>(ILorg/osgi/framework/Bundle;Lorg/osgi/framework/Bundle;)V
        at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4249)
        at org.apache.felix.framework.Felix.installBundle(Felix.java:2881)
        at 
org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:165)
        at 
org.apache.felix.deploymentadmin.spi.UpdateCommand.execute(UpdateCommand.java:76)
        at 
org.apache.felix.deploymentadmin.spi.DeploymentSessionImpl.call(DeploymentSessionImpl.java:73)
        at 
org.apache.felix.deploymentadmin.DeploymentAdminImpl.installDeploymentPackage(DeploymentAdminImpl.java:214)
        at 
org.apache.ace.deployment.deploymentadmin.DeploymentAdminDeployer.install(DeploymentAdminDeployer.java:51)
        at 
org.apache.ace.deployment.service.impl.DeploymentServiceImpl.installVersion(DeploymentServiceImpl.java:120)
        at 
org.apache.ace.deployment.task.DeploymentUpdateTask.run(DeploymentUpdateTask.java:57)
        at org.apache.ace.scheduler.Executer.run(Executer.java:92)
        at java.util.TimerThread.mainLoop(Timer.java:555)
        at java.util.TimerThread.run(Timer.java:505)
{code}

It seems like some kind of packaging error. The normal "target" distribution 
works just fine.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to