2014-03-30 12:53 GMT+03:00 Rupert Westenthaler < rupert.westentha...@gmail.com>:
> Hi Cristian, > > the simplest way is using > > mvn -o clean install -P installBundle \ > -Dsling.url=http://localhost:8080/system/console > > to install the engine directly from the command line. > > For debugging you can start the stanbol launcher with > > -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n > > when doing so you can than connect with remote debugging on port 8787 > as explained e.g. on [1] > > > Thanks. > regarding > > On Sun, Mar 30, 2014 at 11:10 AM, Cristian Petroaca > <cristian.petro...@gmail.com> wrote: > > It worked after adding "sling.fileinstall.writeback=false". Thanks. > > can you please provide your system configuration. This looks like an > issue with the Apache Sling FileInstaller module. Maybe we can track > this down and correctly report the issue. > > I am running Windows 7 Enterprise SP1 and JDK 1.7_09. > best > Rupert > > [1] > http://sdqweb.ipd.kit.edu/wiki/Remote_Debugging_mit_Eclipse#Eclipse_Remote_Debugging_Session > > > On Sun, Mar 30, 2014 at 11:10 AM, Cristian Petroaca > <cristian.petro...@gmail.com> wrote: > > It worked after adding "sling.fileinstall.writeback=false". Thanks. > > > > An additional question unrelated to this. Can I just mvn clean install > the > > enhancement engine I am working on and simply add the jar in the stanbol > > launcher somewhere? This would make the procedure in which I change some > > code and want to see the results a lot faster. > > > > Thanks, > > Cristian > > > > > > 2014-03-29 21:19 GMT+02:00 Rupert Westenthaler < > > rupert.westentha...@gmail.com>: > > > >> Hi Cristian, > >> > >> Ho do you create the Chain? With the config tab of the Felix > >> Webconsole? What operating system are you using? > >> > >> > >> Maybe it is a problem with the sling file installer. Can you try to add > >> > >> "sling.fileinstall.writeback=false" > >> > >> to the sling.properties file (in the stanbol folder) before you create > >> your chain. > >> > >> best > >> Rupert > >> > >> > >> On Sat, Mar 29, 2014 at 7:16 PM, Cristian Petroaca > >> <cristian.petro...@gmail.com> wrote: > >> > Hi, > >> > > >> > I'm using the trunk for development. I created a new weighted chain > which > >> > contains the following config : > >> > > >> > > >> > stanbol.enhancer.chain.weighted.chain=["langdetect","opennlp-sentence","opennlp-token","opennlp-pos","opennlp-ner"] > >> > stanbol.enhancer.chain.name="test-chain" > >> > > >> > > >> > The chain works fine but after I stop and start the server I cannot > see > >> it > >> > anymore on the localhost:8080/enhancer page. It also does not exist in > >> the > >> > system configuration panel or the components panel. > >> > The server had no exceptions when it started the second time and the > >> chain > >> > config file is still in the stanbol/fileinstall/ folder. > >> > > >> > What is causing this behavior? Did anybody else see this? > >> > > >> > Thanks, > >> > Cristian > >> > >> > >> > >> -- > >> | Rupert Westenthaler rupert.westentha...@gmail.com > >> | Bodenlehenstraße 11 ++43-699-11108907 > >> | A-5500 Bischofshofen > >> > > > > -- > | Rupert Westenthaler rupert.westentha...@gmail.com > | Bodenlehenstraße 11 ++43-699-11108907 > | A-5500 Bischofshofen >