Hi Michael,
On Sat, 2018-09-08 at 19:41 +0200, Michael Erdmann wrote: > Log files attached > > ------ Forwarded Message -------- > From: Michael Erdmann <erdmann-ber...@t-online.de> > Date: 08/09/2018 18:44:40 > Subject: Re: Getting started but where is the promiseed fun ? > To: users@sling.apache.org > > Forget to attache the log files. > On 08/09/2018 18:32:10, Michael Erdmann <erdmann-ber...@t-online.de> > wrote: > > Hallo, > > i am trying to do the first steps in sling. I followed the > instructions given in the "getting started" > (https://sling.apache.org/documentation/getting-started.html); > downloading the jar file org.apache.sling.starter-10.jar > from https://sling.apache.org/project-information.html and starting > it using java -jar org.apache.sling.starter-10.jar. > > Doing is such a way, the port localhost:8080 will not be opended. The > only way get a port 8080 listening is add > a few options to the command line. > > $ java -jar org.apache.sling.starter-10.jar -j localhost:8080 start The "-j" argument defines the control port, see [1]. Please leave it unset for a default value and the actual Sling content will be served on port 0808. > > Then i have been trying a few basic things from > https://sling.apache.org/documentation/getting-started/discover-sling-in-15-minutes.html > sopecially crating some contents like but sling complains permanently > about a wrong key! > > curl -u admin:admin -F"sling:resourceType=foo/bar" -F"title=some > title" http://localhost:8080/content/mynode > > michaelerdmann@DESKTOP-6ST7TKK MINGW64 ~/develop/Desktop (master) $ > curl -u admin:admin -F"sling:resourceType=foo/bar" -F"title=some > title" http://localhost:8080/content/mynode % Total % Received % > Xferd Average Speed Time Time Time Current Dload Upload Total Spent > Left Speed 100 280 0 16 100 264 73 1205 --:--:-- --:--:-- --:--:-- > 1278ERR: wrong key See above, this indicates that the control port is being accessed. > > I am wondering; but i think i am missing something basic; or i am > using the wrong documentation or something is > wrong with the jar file. Pls. could give me some advise what i need > to do in order to get it the installment working?! > > Some basic information about the setup: > michaelerdmann@DESKTOP-6ST7TKK MINGW64 ~/develop (master) $ java > -version java version "10.0.2" 2018-07-17 Java(TM) SE Runtime > Environment 18.3 (build 10.0.2+13) Java HotSpot(TM) 64-Bit Server VM > 18.3 (build 10.0.2+13, mixed mode) Also, for now please add --add-modules java.se.ee to the java invocation. The next release will remove the requirement, but for now it's needed. I've also updated [2] to reflect that. Hopefully that works better and generates a bit of fun ;-) Best, Robert > > $ uname -a MINGW64_NT-10.0 DESKTOP-6ST7TKK 2.10.0(0.325/5/3) 2018-06- > 13 23:34 x86_64 Msys > /Regards > Michael > [1]: http://sling.apache.org/documentation/the-sling-engine/the-sling-launchpad.html [2]: http://sling.apache.org/documentation/getting-started.html