Integrate Siemens Logo (plclogo) in OpenHAB 2

Hi everybody,

I would like to integrate my Siemens Logo to OpenHAB 2.

Lucky me, I found an addon for that ( https://github.com/openhab/openhab1-addons/tree/master/bundles/binding/org.openhab.binding.plclogo ) ( http://docs.openhab.org/addons/bindings/plclogo1/readme.html )and I understand the instructions for the device configuration, but unfortunatelly I have no idea how to bind this addon.

On every howTo I find, it is explained, that I should copy the JAR file to the addon folder, but I can not find any JAR for that addon, do I have to complile it by myself? In this package is also a Moka7 package, do I have to make a JAR file for that too? Is there a configuration for Moka7 necessary?

Any instructions for a OpenHAB2 beginner is appreciated.

you can find the OH1-Addons-package at https://bintray.com/openhab/mvn/download_file?file_path=org%2Fopenhab%2Fdistro%2Fopenhab%2F1.9.0%2Fopenhab-1.9.0-addons.zip

or get the latest snapshot (deep link to the jar itself) https://openhab.ci.cloudbees.com/job/openHAB1-Addons/lastSuccessfulBuild/artifact/bundles/binding/org.openhab.binding.plclogo/target/org.openhab.binding.plclogo-1.10.0-SNAPSHOT.jar

Thank you.

But this only for OH1, there is no working version for OH2 yet?!

Yes, that’s correct, but maybe this addon will work anyway.

See http://docs.openhab.org/tutorials/migration.html#installing-unofficially-supported-openhab-1x-add-ons for more information about installing this sort of addon.

Don’t forget to inform the community, if you had success inusing this addon, so that someone :wink: could do the job to move it to the list of compatible addons…

Thank you very much for the .Jar file.
Openhab loads the addon, but after that, I get this Error:
[org.osgi.service.event.EventHandler, org.osgi.service.cm.ManagedService, id=276, bundle=205/file:/usr/share/openhab2/addons/org.openhab.binding.plclogo-1.10.0-SNAPSHOT.jar]: Unexpected problem updating configuration org.openhab.plclogo
java.lang.IllegalArgumentException: hostname can’t be null

In the file /etc/openhab2/services/plc.cfg I have the following configuration:

#plclogo:.host= IP address of the LOGO! PLC
plclogo:bcu.host=192.168.1.11

#plclogo:.remoteTSAP= the TSAP (in hex) of the remote LOGO! PLC, as configured by LogoSoft Comfort. Common used value is 0x0200.
plclogo:bcu.remoteTSAP=0x0200

#plclogo::localTSAP= the TSAP (in hex) to be used by the local instance. Common used value is 0x0300.
plclogo:bcu.localTSAP=0x0100

#plclogo:refresh= polling interval in milliseconds to be used when querying the LOGO!. Default is 5000mS
plclogo:refresh=5000

No option where I can set the hostname. Is this a global setting?!

Please don’t post code without code fences. :wink: - three backticks (```) < new line > your code < new line > three backticks (```) < newline >)

Try to delete the plclogo: in front of every parameter and please rename the file to plclogo.cfg, now it should look like:

# plclogo:.host= IP address of the LOGO! PLC
bcu.host=192.168.1.11

# plclogo:.remoteTSAP= the TSAP (in hex) of the remote LOGO! PLC, as configured by LogoSoft Comfort. Common used value is 0x0200.
bcu.remoteTSAP=0x0200

# plclogo::localTSAP= the TSAP (in hex) to be used by the local instance. Common used value is 0x0300.
bcu.localTSAP=0x0100

# plclogo:refresh= polling interval in milliseconds to be used when querying the LOGO!. Default is 5000mS
refresh=5000

If this does not work, try the old configuration way, move plclogo.cfg to openhab.cfg (you then will have to add plclogo: in each row, because openHAB needs to know to which binding the parameter belongs…)

Sorry for that, :wink:


2017-03-05 22:08:50.417 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Create new config for
2017-03-05 22:08:50.421 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Set host of : 192.168.1.11
2017-03-05 22:08:50.448 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Set remote TSAP for : 0x200
2017-03-05 22:08:50.454 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Create new config for :logo1
2017-03-05 22:08:50.550 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Set local TSAP for :logo1: 0x300
2017-03-05 22:08:50.552 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Create new config for bcu
2017-03-05 22:08:50.555 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Set host of bcu: 192.168.1.11
2017-03-05 22:08:50.557 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Set local TSAP for bcu: 0x0100
2017-03-05 22:08:50.558 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Set remote TSAP for bcu: 0x0200
2017-03-05 22:08:50.560 [INFO ] [b.core.service.AbstractActiveService] - HTTP Refresh Service has been started
2017-03-05 22:08:50.592 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Create new config for logo1
2017-03-05 22:08:50.593 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Set host of logo1: 192.168.1.11
2017-03-05 22:08:50.595 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Set local TSAP for logo1: 0x300
2017-03-05 22:08:50.610 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Set remote TSAP for logo1: 0x200
2017-03-05 22:08:50.633 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - About to connect to
2017-03-05 22:08:50.669 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Connected to PLC LOGO! device
2017-03-05 22:08:50.672 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - About to connect to :logo1
2017-03-05 22:08:50.677 [ERROR] [org.apache.felix.configadmin        ] - [org.osgi.service.event.EventHandler, org.osgi.service.cm.ManagedService, id=275, bundle=205/file:/usr/share/openhab2/addons/org.openhab.binding.plclogo-1.10.0-SNAPSHOT.jar]: Unexpected problem updating configuration org.openhab.plclogo
java.lang.IllegalArgumentException: hostname can't be null

Why does the log say that all the things I set for “bcu”, is also set for “logo1”, and I still have the same error?

Maybe there is some trash hidden in the deep… try to see the config from karaf console:
http://docs.openhab.org/administration/console.html
log in with

ssh openhab@localhost -p8101

(password is habopen)
then type

config:list "(service.pid=org.openhab.plclogo)"

I don’t know if the service pid is correct, if you don’t get any output, you could try

config:edit org.openhab.<tab>

where <tab> is the tab key, then karaf will display all possible completions.

I’v got this result. I don’t know where all the settings are come from, except the settings for bcu.x


Pid:            org.openhab.plclogo
BundleLocation: file:/usr/share/openhab2/addons/org.openhab.binding.plclogo-1.10.0-SNAPSHOT.jar
Properties:
   .host = 192.168.1.11
   .logo1.host = 192.168.1.11
   .logo1.remoteTSAP = 0x200
   .remoteTSAP = 0x200
   :localTSAP = 0x300
   :logo1.localTSAP = 0x300
   bcu.host = 192.168.1.11
   bcu.localTSAP = 0x0100
   bcu.remoteTSAP = 0x0200
   host = 192.168.1.11
   localTSAP = 0x300
   logo1.host = 192.168.1.11
   logo1.localTSAP = 0x300
   logo1.refresh = 5000
   logo1.remoteTSAP = 0x200
   refresh = 5000
   remoteTSAP = 0x200
   service.pid = org.openhab.plclogo


I also find this settings:


----------------------------------------------------------------
Pid:            org.openhab.plc
BundleLocation: null
Properties:
   bcu.host = 192.168.1.11
   bcu.localTSAP = 0x0100
   bcu.remoteTSAP = 0x0200
   service.pid = org.openhab.plc
----------------------------------------------------------------

Hi.
Hmmm… I can “speak” to my Logo8 with follow configuration

/etc/openhab2/services $ cat plclogo.cfg
plclogo:ShutterControl.host=192.168.0.7
plclogo:ShutterControl.remoteTSAP=0x2000
plclogo:ShutterControl.localTSAP=0x3000
plclogo:ShutterControl.model=0BA8

# The refresh/polling the PLC interval default is 5S (5000mS). Tested down to 0.5S
# Value in mS
plclogo:refresh=100

From Raspberry with the IP Address 192.168.0.10

It seems, that anywhere in your configuration it exist additionaly to “bcu” another Logo “logo1”.
Please check, that there is no plclogo binding configuration in openhab.cfg.
It was my first mistake :slight_smile:

It seems that I’ve made an error in documentation. Try with
remoteTSAP=0x2000 and localTSAP=0x3000

Probably it would be best to clear all the settings through karaf and renew the settings from the file (/etc/openhab2/services/plclogo.cfg) by at least commenting out all garbage and save the file (openHAB should reread the config instantly, so the settings will reappear in the karaf console with

config:list "(service.pid=org.openhab.plclogo)"

(don’t forget to change remoteTSAP, localTSAP and model)

Hi all,

i have a similar problems or at least i’m trying to get my 4x Logo 7 to connect with openhab too.
Currently i have LogoControl running with the Logo’s and want to switch to openHAB.
I’d like to jump on your topic, as Siemens Logo with openHAB don’t seem to be that common and i’m glad i found some other’s working on it.

I had the bcu, too, but it wasn’t in my plclogo.cfg. So i removed the plclogo.jar and cfg file - restartet openHAB and now i only have the logos from my plclogo.cfg file.

Try removing the plclogo, restart and check you don’t have anything on: config:list “(service.pid=org.openhab.p*)”

my plclogo.cfg:

# plclogo:.host= IP address of the LOGO! PLC
Logo1.host=192.168.0.181
Logo2.host=192.168.0.182
Logo3.host=192.168.0.183
Logo4.host=192.168.0.184

# plclogo:.remoteTSAP= the TSAP (in hex) of the remote LOGO! PLC, as configured by LogoSoft Comfort. Common used value is 0x0200.
Logo1.remoteTSAP=0x0200
Logo2.remoteTSAP=0x0200
Logo3.remoteTSAP=0x0200
Logo4.remoteTSAP=0x0200

# plclogo::localTSAP= the TSAP (in hex) to be used by the local instance. Common used value is 0x0300.
Logo1.localTSAP=0x0100
Logo2.localTSAP=0x0100
Logo3.localTSAP=0x0100
Logo4.localTSAP=0x0100

# plclogo:refresh= polling interval in milliseconds to be used when querying the LOGO!. Default is 5000mS
refresh=1000

Logo1.model=0BA7
Logo2.model=0BA7
Logo3.model=0BA7
Logo4.model=0BA7
openhab> config:list "(service.pid=org.openhab.plclogo)"
----------------------------------------------------------------
Pid:            org.openhab.plclogo
BundleLocation: file:/usr/share/openhab2/addons/org.openhab.binding.plclogo-1.10.0.jar
Properties:
   Logo1.host = 192.168.0.181
   Logo1.localTSAP = 0x0100
   Logo1.model = 0BA7
   Logo1.remoteTSAP = 0x0200
   Logo2.host = 192.168.0.182
   Logo2.localTSAP = 0x0100
   Logo2.model = 0BA7
   Logo2.remoteTSAP = 0x0200
   Logo3.host = 192.168.0.183
   Logo3.localTSAP = 0x0100
   Logo3.model = 0BA7
   Logo3.remoteTSAP = 0x0200
   Logo4.host = 192.168.0.184
   Logo4.localTSAP = 0x0100
   Logo4.model = 0BA7
   Logo4.remoteTSAP = 0x0200
   refresh = 1000
   service.pid = org.openhab.plclogo

i get in log:

20:54:40.581 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Set host of Logo1: 192.168.0.181
20:54:40.584 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Set local TSAP for Logo1: 0x0100
20:54:40.588 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Set model for Logo1: 0BA7
20:54:40.591 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Set remote TSAP for Logo1: 0x0200
20:54:40.595 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Set host of Logo2: 192.168.0.182
20:54:40.598 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Set local TSAP for Logo2: 0x0100
20:54:40.601 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Set model for Logo2: 0BA7
20:54:40.605 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Set remote TSAP for Logo2: 0x0200
20:54:40.608 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Set host of Logo3: 192.168.0.183
20:54:40.612 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Set local TSAP for Logo3: 0x0100
20:54:40.615 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Set model for Logo3: 0BA7
20:54:40.617 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Set remote TSAP for Logo3: 0x0200
20:54:40.619 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Set host of Logo4: 192.168.0.184
20:54:40.621 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Set local TSAP for Logo4: 0x0100
20:54:40.623 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Set model for Logo4: 0BA7
20:54:40.625 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Set remote TSAP for Logo4: 0x0200
20:54:40.627 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - About to connect to Logo1
20:54:40.638 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Connected to PLC LOGO! device Logo1
20:54:40.640 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - About to connect to Logo2
20:54:40.647 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Connected to PLC LOGO! device Logo2
20:54:40.649 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - About to connect to Logo3
20:54:40.658 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Connected to PLC LOGO! device Logo3
20:54:40.661 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - About to connect to Logo4
20:54:40.667 [INFO ] [ding.plclogo.internal.PLCLogoBinding] - Connected to PLC LOGO! device Logo4

So i put in some items:

Switch ReadOutputLogo {plclogo="Logo2:Q6"}
Switch TestSwitchQ6 "Test Switch Q6" {plclogo="Logo2:VB204.1"}

and sitemap:

	Frame label="Logo Test"{
		Text item= ReadOutputLogo
		Switch item= TestSwitchQ6 
	}
	

but then i get in log: (solved - see next post)

21:06:54.346 [WARN ] [ding.plclogo.internal.PLCLogoBinding] - Failed to read memory: Data Receiving timeout.. Reconnecting...
21:06:54.359 [WARN ] [ding.plclogo.internal.PLCLogoBinding] - Reconnect successful

and: (solved - see next post)

21:07:02.873 [ERROR] [ding.plclogo.internal.PLCLogoBinding] - Could not connect to PLC LOGO! device Logo2 : Data Receiving timeout.
21:07:02.875 [ERROR] [org.apache.felix.configadmin        ] - [org.osgi.service.event.EventHandler, org.osgi.service.cm.ManagedService, id=297, bundle=255/file:/usr/share/openhab2/addons/org.openhab.binding.plclogo-1.10.0.jar]: Updating property Could not connect to PLC LOGO! device  of configuration org.openhab.plclogo caused a problem: Logo2 192.168.0.182
org.osgi.service.cm.ConfigurationException: Could not connect to PLC LOGO! device  : Logo2 192.168.0.182
        at org.openhab.binding.plclogo.internal.PLCLogoBinding.updated(PLCLogoBinding.java:447)[255:org.openhab.binding.plclogo:1.10.0.201703042113]
        at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updated(ManagedServiceTracker.java:189)[3:org.apache.felix.configadmin:1.8.12]
        at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:152)[3:org.apache.felix.configadmin:1.8.12]
        at org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:85)[3:org.apache.felix.configadmin:1.8.12]
        at org.apache.felix.cm.impl.ConfigurationManager$UpdateConfiguration.run(ConfigurationManager.java:1772)[3:org.apache.felix.configadmin:1.8.12]
        at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:141)[3:org.apache.felix.configadmin:1.8.12]
        at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:109)[3:org.apache.felix.configadmin:1.8.12]
        at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]

my Logo setting:

Maybe i did not understand how items need to be defined?
Do i have to change configuration on Logo’s?

Could you post part’s of your configuration? items? sitemap?

My Logocontrol is working without any problems…

OK, further research… i learned you can’t run Logocontrol and openHAB with plclogo at the same time.

My Logo2 had a problem…don’t know what but switching it off and on fixed it…so errors from the logs are gone.

Now i get the status from Logo2:Q6 into my logs YEAH!!!

But i didn’t get the switch working… still searching…

edit:
works now too, at least partly, but that may be due to wrong Logo program.

I have Logo’s in my house for switch in lights, wallplugs and shutters. All of them are controlled by pushbuttons on 24V and there is the challenge:

I post my Logo part for a lightswitch that was made to work with Logocontrol, it’s my easyest switch without secondary function or shutter control and therefor a good start:

I6 is a pushbutton on my wall in the room.
NI9 is a input used from Logocontrol to switch the output Q6 on
NI10 is a input used from Logocontrol to swicht the output Q6 off

So inputs are only impulses and the BO13 holds the Q6 active until either I6 get’s impulse again or is reset by an NI10 impulse.

Now with:

Switch TestSwitchQ6 "Test Switch Q6" {plclogo="Logo2:VB204.1"}

using “TestSwitchQ6” changes bit VB204.1 and NI9 is permanently active…switching on, but won’t go off again.

I’m a beginner in openHAB, have some more knowledge in Logo programming, so is there a way to create a switch that pushes an impulse to VB204.1 and use status of Q6 (if active or not)?

Or maybe another Logo program with a certain switch in openHAB?

Could you post your Logo programs with the corresponding switch?

The lazy way would be to use the expire binding to reset the input, but unfortunately you would need two buttons to switch on/off.
How do you get feedback from Logo! to openHAB? openHAB should know wether the lights are switched on or off…

This might be useful - but it does rely on OpenHAB knowing the real state of the rellay

i gave the expire binding a try and made the following item:

Switch TestSwitchQ6 "Test Switch Q6" {plclogo="Logo2:VB204.1" , expire="0s,command=OFF"}

sitemap:

Switch item= TestSwitchQ6 mappings=[ON="Light"]

this makes it behave like a pushbutton, with this Logo! program:



i can now either push the button on openHAB or on the wall to get the light on or off.

But the status of the light is not shown in openHAB…

i can get the status of the Logo! output Q6 with:
Switch ReadOutputQ6 {plclogo="Logo2:Q6"}
but this gives me another item…

i read rossko57’s post, but, maybe it’s me being a beginner, i don’t know how to create a button for that:

or if you follow that thread:

i google it and read the item description, but i wasn’t able to find a solution yet…

maybe someone could point me to the right direction or post some example code?

Well, just make the switch like that:

.items

Switch ReadOutputQ6 {plclogo="Logo2:Q6"}
Switch TestSwitchQ6 {plclogo="Logo2:VB204.1"}
Switch MyProxySwitch "My Light is [%s] " <light>  

.sitemap

Switch item=MyProxySwitch

.rules

rule "Switch Light through Logo"
when
    Item ReadOutputQ6 changed or                         // light changed external
    Item MyProxySwitch received command                  // light changed internal
then
    if(receivedCommand==ON ||receivedCommand==OFF) {     // ensure there was a received command, so second item triggered rule
        if (ReadOutputQ6.state != receivedCommand) {     // only if state changed
            TestSwitchQ6.sendCommand(ON)                 // send an ON
            TestSwitchQ6.sendCommand(OFF)                // send an OFF
        }
    }
    else                                                 // no trigger from proxy switch, so state changed externally
        if (ReadOutputQ6.state != MyProxySwitch.state) { // if state changed really
            MyProxySwitch.postUpdate(ReadOutputQ6.state) // update the state without triggering the rule
        }
end

You could do the jobs in two rules, but I’m pretty sure one rule would work either.

Where did you delete that files?
I only copied the org.openhab.binding.plclogo-1.10.0-SNAPSHOT.jar to the folder /usr/share/openhab2/addons/
and added the plc.cfg to the folder /etc/openhab2/services/

So there should be no other config file?!

So I were able to delete all unnecessary configs through the karaf console with:


config:delete org.openhab.plc

My plc.cfg looks now like that:


# plclogo:.host= IP address of the LOGO! PLC
Logo1.host=192.168.1.11
Logo2.host=192.168.1.12


# plclogo:.remoteTSAP= the TSAP (in hex) of the remote LOGO! PLC, as configured by LogoSoft Comfort. Common used value is 0x0200.
Logo1.remoteTSAP=0x0200
Logo2.remoteTSAP=0x0200


# plclogo::localTSAP= the TSAP (in hex) to be used by the local instance. Common used value is 0x0300.
Logo1.localTSAP=0x0100
Logo2.localTSAP=0x0100


# plclogo:refresh= polling interval in milliseconds to be used when querying the LOGO!. Default is 5000mS
refresh=1000
Logo1.model=0BA8
Logo2.model=0BA8


The information, that Logocontrol and openhab can`t connect at the same time, was very very useful!

So unfortunately I still was not able to connect to the logo with the following items:


Switch 	eg_wo_li_i 				"Wohnzimmer Licht Switch"		<light>				(gBadEG) {plclogo="Logo1:I1"}
Contact eg_wo_li_o 				"Wohnzimmer Licht Status" 		<light>				(gBadEG) {plclogo="Logo1:Q9"}

So I decided to delete everything else in my configs and first of all get the Logo working.
Unfortunately now openhab does not load the logobinding anymore, :sob:

I get this error in the /var/log/openhab2/openhab.log


2017-03-11 11:50:22.352 [ERROR] [org.openhab.binding.plclogo         ] - FrameworkEvent ERROR - org.openhab.binding.plclogo
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.plclogo [205]
  Unresolved requirement: Import-Package: org.openhab.core.binding

        at org.eclipse.osgi.container.Module.start(Module.java:434)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]


What necessary thing did I delete? It should work only with the JAR and cfg file?!