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]
>
[#|2014-07-10T08:06:47.166-0400|WARNING|oracle-glassfish3.1.2|org.apache.catalina.connector.Request|_ThreadID=26;_ThreadName=Thread-2;|PWC4011: Unable to set request character encoding to UTF-8 from context , because request parameters have already been read, or ServletRequest.getReader() has already been called|#]

[#|2014-07-10T08:06:47.263-0400|INFO|oracle-glassfish3.1.2|org.glassfish.admingui|_ThreadID=26;_ThreadName=Thread-2;|GUI deployment: uploadToTempfile|#]

[#|2014-07-10T08:06:47.296-0400|INFO|oracle-glassfish3.1.2|org.glassfish.admingui|_ThreadID=26;_ThreadName=Thread-2;|uploadFileName=sling.war|#]

[#|2014-07-10T08:06:47.519-0400|INFO|oracle-glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=17;_ThreadName=Thread-2;|PWC1412: WebModule[null] ServletContext.log():sling: Setting sling.home=/media/homespace/sling/launchpad/base (servlet parameter sling.home)|#]

[#|2014-07-10T08:06:47.524-0400|INFO|oracle-glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=17;_ThreadName=Thread-2;|PWC1412: WebModule[null] ServletContext.log():sling: Sling  Extension Lib Home : /media/homespace/sling/launchpad/base/ext|#]

[#|2014-07-10T08:06:47.544-0400|INFO|oracle-glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=17;_ThreadName=Thread-2;|PWC1412: WebModule[null] ServletContext.log():sling: No Launcher JAR to install|#]

[#|2014-07-10T08:06:47.545-0400|INFO|oracle-glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=17;_ThreadName=Thread-2;|PWC1412: WebModule[null] ServletContext.log():sling: Loading launcher class org.apache.sling.launchpad.base.webapp.SlingServletDelegate from org.apache.sling.launchpad.base.jar|#]

[#|2014-07-10T08:06:47.545-0400|INFO|oracle-glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=17;_ThreadName=Thread-2;|PWC1412: WebModule[null] ServletContext.log():sling: External Libs Home (ext) is null or does not exists.|#]

[#|2014-07-10T08:06:47.553-0400|INFO|oracle-glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=17;_ThreadName=Thread-2;|PWC1412: WebModule[null] ServletContext.log():sling: Starting launcher ...|#]

[#|2014-07-10T08:06:47.554-0400|INFO|oracle-glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=17;_ThreadName=Thread-2;|PWC1412: WebModule[null] ServletContext.log():sling: Starting Apache Sling in /media/homespace/sling/launchpad/base|#]

[#|2014-07-10T08:06:47.799-0400|INFO|oracle-glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=27;_ThreadName=Thread-2;|[INFO] Started bridged http service|#]

[#|2014-07-10T08:06:47.808-0400|INFO|oracle-glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=17;_ThreadName=Thread-2;|PWC1412: WebModule[null] ServletContext.log():sling: Apache Sling successfully started in /media/homespace/sling/launchpad/base|#]

[#|2014-07-10T08:06:47.809-0400|INFO|oracle-glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=17;_ThreadName=Thread-2;|PWC1412: WebModule[null] ServletContext.log():sling: Startup completed|#]

[#|2014-07-10T08:06:47.810-0400|INFO|oracle-glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=17;_ThreadName=Thread-2;|PWC1412: WebModule[null] ServletContext.log():sling: Servlet sling initialized|#]

[#|2014-07-10T08:06:47.813-0400|INFO|oracle-glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=17;_ThreadName=Thread-2;|WEB0671: Loading application [sling] at [/sling]|#]

[#|2014-07-10T08:06:47.876-0400|INFO|oracle-glassfish3.1.2|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=17;_ThreadName=Thread-2;|sling was successfully deployed in 559 milliseconds.|#]

Reply via email to