Do you get any response if you got to http://localhost:8080/sling ?
Regards Carsten 2014-07-10 14:19 GMT+02:00 Alex Renger <[email protected]>: > Hello Carsten, > > Thank you for your quick response! I tested your change and it does > indeed resolve the ClassNotFoundException. The server.log file is now > free of any errors upon deployment. However, I receive a 404 error > when attempting to add content using the example curl command provided > on the sling website. Included below is the command I used and the > response I receive. I've also attached the brief server.log file, for > whatever it might be worth. > > Thanks again for your help. > > Alex > > > rengera@din:~$ curl -u admin:admin -F"sling:resourceType=foo/bar" > -F"title=some title" http://localhost:8080/sling/content/mynode > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html > xmlns="http://www.w3.org/1999/xhtml"><head><title>Oracle GlassFish > Server 3.1.2 - Error report</title><style type="text/css"><!--H1 > > {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} > H2 > {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} > H3 > {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} > BODY > {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} > B > {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} > P > {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A > {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP > Status 404 - </h1><hr/><p><b>type</b> Status > report</p><p><b>message</b></p><p><b>description</b>The requested > resource () is not available.</p><hr/><h3>Oracle GlassFish Server > 3.1.2</h3></body></html> > > On 7/10/14, Carsten Ziegeler <[email protected]> wrote: > > Hi, > > > > thanks for reporting! This looks like a bug to me, I've just committed a > > potential fix. > > Could you please checkout the latest from svn and test with that version? > > > > Regards > > Carsten > > > > > > 2014-07-09 16:36 GMT+02:00 Alex Renger <[email protected]>: > > > >> Hello, > >> > >> I have encountered a problem while trying to follow the instructions > >> provided here: > >> > >> https://cwiki.apache.org/confluence/display/SLING/App+Server+Deployment > >> > >> I posted my question on stackoverflow, here: > >> > >> > >> > http://stackoverflow.com/questions/24656210/osgi-logservice-error-when-deploying-apache-sling-in-an-app-container > >> > >> But I also wanted to submit this question to you all. Thank you for > >> any help you can provide! > >> > >> Alex > >> > > > > > > > > -- > > Carsten Ziegeler > > Adobe Research Switzerland > > [email protected] > > > -- Carsten Ziegeler Adobe Research Switzerland [email protected]
