Whew -- good catch Oliver!  I'm not using said war file because
somewhere in my wanderings through sling directories I came to confuse
"base" with "builder".  They both contain target directories, each
with similar wars and jars that are refreshed during maven clean
install... and this whole deal is new to me.

Anyway, when I deploy the war file from the BUILDER directory, it
works fine.  Thank you!

Alex

PS. It deploys fine with glassfish, not jboss -- but whatever, that's
a totally different question.  The above question is resolved, and I
marked it as such on stackoverflow, too.  Thanks guys.

On 7/14/14, Oliver Lietz <[email protected]> wrote:
> On Monday 14 July 2014 13:30:36 Alex Renger wrote:
>> Good Morning Oliver,
>
> hi Alex,
>
>> I gave it another try this morning, just for good measure.
>>
>> $ rm -fr sling
>> $ svn co http://svn.apache.org/repos/asf/sling/trunk sling
>> $ mvn -DskipTests clean install
>> # this fails, so I had to revert to r1609744
>> $ svn update -r r1609744
>> $ mvn -DskipTests clean install
>> # BUILD SUCCESS
>> $ cp
>> launchpad/base/target/org.apache.sling.launchpad.base-4.4.0-2.5.1-SNAPSHOT
>> -webapp.war /tmp/sling.war
>> $ asadmin deploy /tmp/sling.war
>> Application deployed with name sling.
>> Command deploy executed successfully.
>> # However, server.log reports:
>> [#|2014-07-14T07:07:55.758-0400|SEVERE|oracle-glassfish3.1.2|javax.enterpri
>> se.system.container.web.com.sun.enterprise.web|_ThreadID=17;_ThreadName=Thr
>> ead-2;|WebModule[/sling]sling: Cannot load Launcher Servlet
>> org.apache.sling.launchpad.base.webapp.SlingServletDelegate
>> java.lang.IllegalArgumentException: Sling Launcher JAR
>> /media/homespace/glassfish3/glassfish/domains/domain1/config/sling/_sling/o
>> rg.apache.sling.launchpad.base.jar is not accessible
>>      at
>> org.apache.sling.launchpad.base.shared.Loader.loadLauncher(Loader.java:104
>> ) at
>> org.apache.sling.launchpad.webapp.SlingServlet.startSling(SlingServlet.jav
>> a:363) at
>> org.apache.sling.launchpad.webapp.SlingServlet.startSling(SlingServlet.jav
>> a:325) ...
>>
>> For what it's worth, note that I am using debian linux
>> (3.2.60-1+deb7u1 x86_64), openJdk 6, maven 3, and glassfish 3.
>
> why are you not using org.apache.sling.launchpad-7-SNAPSHOT.war?
>
> Regards,
> O.
>
>> Alex
> [...]
>

Reply via email to