[ 
https://issues.apache.org/jira/browse/FELIX-2796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12988531#action_12988531
 ] 

Zhou commented on FELIX-2796:
-----------------------------

Now I seem unable to reproduce my first issue, i.e. restart felix with no 
update done for the new jar. Probably that had to do with my messing around the 
other day on the configuration and mixing different deploy methods.

The NPE issue can be reproduced with my attached setup. You can simply unzip 
the file, browse to the bin folder, and run "run.bat". I can imagine that could 
be caused by an attempt to update a not yet existent bundle. This is however 
not a big issue since I can just use action=install,update,start instead.

As far as I can see, auto deploy cannot play with felix.auto.start.x options. 
My attempt was to enforce a start level on bundles installed/updated by the 
auto deploy method. but now it proves to be a wrong idea. Fortunately, I've 
managed to achieve all my deploy goals with the latest fileinstall. So I wont 
need to rely on either auto deploy or auto start options.


> felix.auto.deploy.action has no effect with "update" action
> -----------------------------------------------------------
>
>                 Key: FELIX-2796
>                 URL: https://issues.apache.org/jira/browse/FELIX-2796
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: framework-3.0.5
>         Environment: JDK6, Win7
>            Reporter: Zhou
>
> I used: 
> felix.auto.deploy.action=install,update,start
> and expected it to update a bundle when I overwrite the jar file in the 
> deploy dir and restart the framework.
> Felix simply ignores and no update is done to the bundle regardless the jar 
> file has been updated.
> if I used:
> felix.auto.deploy.actioin=update
> Felix would not be able to start. it would fail with NullPointerException.
> Generally, my goal was to auto update bundles with their jar files updated in 
> the folder whenever felix is restarted.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to