I say make a new page (App Server Deployment as the title?) and link
to it from the FAQ.

Thanks,
Justin

On May 8, 2010, at 2:37 PM, Pontus Amberg <[email protected]>
wrote:

> Sure.
>
> Any sugestion where it should be added to the SLING wiki? The FAQ or
> someplace else?
>
> /Pontus
>
> On 2010-05-08 17:16, Justin Edelson wrote:
>> Pontus- could you add these to a wiki page?
>>
>> Justin
>>
>> On May 8, 2010, at 8:02 AM, Pontus Amberg<[email protected]>
>> wrote:
>>
>>
>>> I've just downloaded Glasshfish and I think I was able to deploy the
>>> same sling.war as I used in Tomcat to Glassfish.
>>>
>>> /glassfishv3/bin/asadmin deploy ~/apache-tomcat-6.0.26/webapps/
>>> sling.war
>>>
>>> Replace "~/apache-tomcat-6.0.26/webapps/" with the directory where
>>> you have
>>> the your sling.war.
>>>
>>> This seems to have deployed Sling in Glassfish and I can see sling
>>> in the
>>> Glasshfish Administration console at http://localhost:4848 under
>>> Applications
>>> and I can also reach Sling at http://localhost:8080/sling
>>>
>>> /Pontus
>>>
>>> On 2010-05-08 16:27, Pontus Amberg wrote:
>>>
>>>> Hi!
>>>>
>>>> I was able to deploy the current Sling trunk to Tomcat 6.0.26 by
>>>> following these steps
>>>>
>>>> 1. Get the sling source as described here
>>>>    
>>>> http://sling.apache.org/site/getting-and-building-sling.html#GettingandBuildingSling-GettingtheSlingSource
>>>>
>>>> 2. Build sling as described here
>>>>    
>>>> http://sling.apache.org/site/getting-and-building-sling.html#GettingandBuildingSling-BuildingSling
>>>>
>>>> 3. Make sure Tomcat isn't running
>>>>
>>>> 4. Copy the file
>>>>    /sling/launchpad/builder/target/org.apache.sling.launchpad-6-
>>>> SNAPSHOT.war
>>>>    to the webapps directory in Tomcat
>>>>
>>>> 5. Rename org.apache.sling.launchpad-6-SNAPSHOT.war in
>>>>    /tomcat/webapps/ to sling.war
>>>>
>>>> 6. Start Tomcat
>>>>
>>>> 7. You should now be able to access Sling http://localhost:8080/sling
>>>>
>>>> I was not using Glassfish but maybe the steps above can help you
>>>> anyway.
>>>>
>>>> Notice that the Sling installation is using the default users and
>>>> password so it works
>>>> as a test server but you must change some password before you can
>>>> use it on public
>>>> server. It was a couple of months since I last installed a Sling
>>>> instance to a public
>>>> server so I'm not really sure which password you must change in the
>>>> current version.
>>>> Maybe someone else can help us out with the password stuff?
>>>>
>>>> /Pontus
>>>>
>>>>
>>>> On 2010-05-08 04:13, Tony Giaccone wrote:
>>>>
>>>>> On May 7, 2010, at 5:18 PM, Bertrand Delacretaz wrote:
>>>>>
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> On Fri, May 7, 2010 at 6:45 PM, Tony Giaccone<[email protected]
>>>>>>
>>>>>>>  wrote:
>>>>>>> ...So is there a document anywhere that describes how you get
>>>>>>> Sling/Jackrabbit
>>>>>>> up and running in a Glassfish container? How about jetty?...
>>>>>>>
>>>>>> Did you read http://sling.apache.org/site/getting-started.html ?
>>>>>>
>>>>> Yes, I read and looked over all that documentation.  For someone
>>>>> who's unfamiliar with
>>>>> jackrabbit, osgi, and sling, you've got a lot of learning to do to
>>>>> get to the point where you
>>>>> can use anything but the basic stand alone run jar.  And honestly
>>>>> while that gives good
>>>>> demo, I don't know of a single corporate customer I've worked with
>>>>> who uses Jetty.
>>>>>
>>>>> As soon as I want to step out of the jetty world, I hit a brick
>>>>> wall. Which version of Glassfish,
>>>>> JBOSS, Tomcat, Websphere should I use? Do I need to install Felix
>>>>> into the standard v3 version
>>>>> of glassfish? If so how do I do that?
>>>>>
>>>>> Your war file, didn't work for me as distributed. So I checked out
>>>>> the code and built with maven and
>>>>> took the package war file and tried to deploy that. Also no luck.
>>>>>
>>>>>
>>>>>> I don't think we have glassfish-specific documentation, but that
>>>>>> page,
>>>>>> along with our mailing list archives.
>>>>>>
>>>>> Got me no where and believe me I looked. Hard. All day.
>>>>>
>>>>>
>>>>>
>>>>>>> ...Is it the case, that Day's  CRX is really the only solution
>>>>>>> using Sling that
>>>>>>> has enough documentation to make it suitable for use? The more I
>>>>>>> dig into
>>>>>>> this,  the more it feels that way?...
>>>>>>>
>>>>>> Depends what you mean by "using Sling" - Sling is meant for
>>>>>> software
>>>>>> developers, so some assembly is usually required before you can
>>>>>> get it
>>>>>> to do exactly what you want.
>>>>>>
>>>>> I want to do something more then just run the basic stand alone
>>>>> jar.
>>>>>
>>>>> The documentation you have got me no closer to that after a day of
>>>>> trying to figure it out.
>>>>> The war file didn't work in glassfish.  Which makes me wonder,  is
>>>>> there a specific server
>>>>> it will work with (Tomcat, JBOSS, Geronimo)?  Which version?  Why
>>>>> isn't that server
>>>>> identified in the doc on your web site?
>>>>>
>>>>> Glassfish v3 uses an osgi framework. How do I configure Glassfish
>>>>> to use your war file?
>>>>>
>>>>> It seems, thar I don't.
>>>>>
>>>>> Should I use bundles OSGI Bundles?
>>>>>
>>>>>
>>>>> If OSGI is so modular, and dynamically loadable why isn't there a
>>>>> short write up on how to load up the bundles
>>>>> that make up Sling into Glassfish?  That would seem like a perfect
>>>>> match.
>>>>>
>>>>>
>>>>>
>>>>>> Depending on your skills and goals, CRX can provide a simpler out
>>>>>> of
>>>>>> the box experience, due to the accompanying docs and services.
>>>>>>
>>>>>> -Bertrand
>>>>>>
>>>>> Yes, I understand there is a whole company, Day, behind the CRX
>>>>> software, and a business model that charges
>>>>> significant money for the use of CRX, and that money allows for
>>>>> better docs, better examples, better support.
>>>>> There is nothing wrong with that model, but  I don't need all the
>>>>> features of CRX.  I want a simple RESTFUL
>>>>> content repository. A repository where  I can do versioning of
>>>>> documents. A document repository where I can
>>>>> do transforms from xml to html.  I may need one where, in the
>>>>> future,  I can use WEBDav to insert docs to the repository.
>>>>>
>>>>> I don't need workflow, I don't need complicated document creation
>>>>> with, users,  groups and roles.
>>>>> I barely need configurable users. Instead I'll use something like
>>>>> BIG IP to restrict access to the web server.
>>>>>
>>>>>
>>>>> As it stands now, Sling looks like a perfect fit as a CMS, however
>>>>> as a person with little or no experience with Sling,
>>>>> I found this a daunting experience.  I've tried twice now to get
>>>>> it to work for me and I have a reasonable technical
>>>>> background, over 10 years of professional Java development
>>>>> experience, using a variety of technologies, and honestly
>>>>> I'm stumped.
>>>>>
>>>>> I like this product, I want to use it. In the future maybe my
>>>>> client will want to upgrade to CRX, but for right now CRX is over
>>>>> kill.
>>>>>
>>>>> I need a little more explicit concrete help, with simple steps  to
>>>>> help me understand the pieces and how they play together.
>>>>>
>>>>>
>>>>>
>>>>> Tony Giaccone
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>

Reply via email to