HI:

     In my opinion it's very convenient to run a application only with a jar 
file, in the old version sling can do this (only with command : java -jar ..   
and can access  http://localhost:8080 with curl ),

however , it's seems not avaliable now. Why? Is there any method can do it ?

    In the current version after I run the sling application (launchpad/app) 
there would be follow mistake.
And the repository can't be accessed by http request.
    Hope anyone can fix it.

2009-01-08 13:41:32.290::INFO:  jetty-6.1.x
2009-01-08 13:41:32.305:/:INFO:  
org.ops4j.pax.web.service.internal.model.ServletModel-1: Failed to
instantiate plugin org.apache.felix.webconsole.internal.misc.ShellServlet. 
Reason: java.lang.NoClass
DefFoundError: org.apache.felix.shell.ShellService
2009-01-08 13:41:32.321:/:INFO:  
org.ops4j.pax.web.service.internal.model.ServletModel-3: Failed to
instantiate plugin org.apache.felix.webconsole.internal.misc.ShellServlet. 
Reason: java.lang.NoClass
DefFoundError: org.apache.felix.shell.ShellService
ERROR: Error starting 
slinginstall:org.apache.sling.jcr.ocm-2.0.3-incubator-SNAPSHOT.jar (org.osgi.f
ramework.BundleException: Unresolved package in bundle 12: package; 
(package=org.apache.commons.lang
))
org.osgi.framework.BundleException: Unresolved package in bundle 12: package; 
(package=org.apache.co
mmons.lang)
        at org.apache.felix.framework.Felix._resolveBundle(Felix.java:1728)
        at org.apache.felix.framework.Felix._startBundle(Felix.java:1591)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1544)
        at 
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1125)
        at 
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:258)
        at java.lang.Thread.run(Thread.java:595)

2009-01-08 



yanjie 

Reply via email to