Glassfish management skills are out of scope of opengrok docs, the
assumption is that one can manage web container servers (ask local Sun
learning center for training)
but let me give you some pointers:

1) https://glassfish.dev.java.net/downloads/v2.1-b60e.html
2) cd whatever was your installation dir ;  ./bin/asadmin start-domain
domain1  ( unless you created a different default domain than domain1 ,
check in ls ./domains )
2a) your management interface is on http://YOUR_IP:4848  and default
credentials are admin / adminadmin
3) create index and deploy the webapp as written in
http://opensolaris.org/os/project/opengrok/manual/installdescription/
3a) http://YOUR_IP:8080/source will be opengrok, unless you changed the
path (and provided -w to indexer), also note
/etc/opengrok/configuration.xml has to exist (or symlink to wherever you
pointed your configuration to be generated) for opengrok to work
seamlessly (or feel free to edit web.xml in the opengrok webapp)

xing the fingers
L

P.S.  localhost:2424  is a port opengrok uses for listening to
configuration changes from indexer

Pranab Panda (pkpanda) wrote:
> Hi Trond
>
> When I do 
> http://hostname:8080
> I get a message like
> Your Glassfish server is running
>
> When I do
> http://hostname:8080/source
> I get 
> HTTP Status 503 - 
>
> ------------------------------------------------------------------------
> --------
>
> type Status report
>
> message
>
> descriptionThe requested service () is not currently available.
>
>
> ------------------------------------------------------------------------
> --------
>
> Sun GlassFish Enterprise Server v2.1
>
> Please advise
> Thanks
> Pranab
> -----Original Message-----
> From: opengrok-discuss-bounces at opensolaris.org
> [mailto:opengrok-discuss-bounces at opensolaris.org] On Behalf Of Pranab
> Panda (pkpanda)
> Sent: Monday, March 16, 2009 3:01 PM
> To: Trond.Norbye at Sun.COM
> Cc: opengrok-discuss at opensolaris.org
> Subject: Re: [opengrok] lssues with localhost:2424
>
> Actually 
> On my glassfish application server page I have the
> Following
>
> Name: HOSTNAME
> HTTP Ports : 4848,8181,8080
> IIOP ports 3820, 3700,3920
> JVM:  JVM Report
> Configuration Directory /opt/SDK/domains/domain1/config 
> Installed Version Sun GlassFish Enterprise Server v2.1(9.1.1) (build
> b60e-fcs)
> Debug         Not Enabled
>
>
> I tried http://hostname/source or http://hostname:8080/source
> As you suggested but it did not wrok either
> Regards
> Pranab
>
> -----Original Message-----
> From: Trond.Norbye at Sun.COM [mailto:Trond.Norbye at Sun.COM] 
> Sent: Monday, March 16, 2009 2:49 PM
> To: Pranab Panda (pkpanda)
> Cc: opengrok-discuss at opensolaris.org
> Subject: Re: [opengrok] lssues with localhost:2424
>
> Pranab Panda (pkpanda) wrote:
>   
>> Thanks for you rprompt response trond,
>> Pardon my ignorance but the opengrok documentation
>> Is not very clear on step by step instructions.
>> I think http://hostname:2424/ is where opengrok
>> Sources will be available.
>>
>> What I have done so far is checked out my cvs tree under
>> /opt/opengrok/source and I ran run.sh and I expect that
>> All the Developers can point their browsers to the opengrok server
>> By doing http://hostname:2424/source to use opengrok features.
>>
>>   
>>     
>
> Have you configured your webserver to listen to port 2424??? The normal 
> port for webservers would be port 80 (or 8080).
>
> You should try http://hostname/source or http://hostname:8080/source
>
> Cheers,
>
> Trond
>
> _______________________________________________
> opengrok-discuss mailing list
> opengrok-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss
> _______________________________________________
> opengrok-discuss mailing list
> opengrok-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss
>   


Reply via email to