Pranab Panda (pkpanda) wrote:
> Thanks Lobos, you are right, problem was in my web.xml
> I did my checks:) 
> But as you said the message
> "...configuration successfully updated" threw me off.
>   

feel free to file this as bug into http://defect.opensolaris.org/bz/
( http://opensolaris.org/os/project/opengrok/Issues/ )

Thanks
Lubos

> Regards
> Pranab
>
>
>
> -----Original Message-----
> From: Lubos.Kosco at Sun.COM [mailto:Lubos.Kosco at Sun.COM] 
> Sent: Wednesday, April 08, 2009 12:45 AM
> To: Pranab Panda (pkpanda)
> Cc: opengrok-discuss at opensolaris.org
> Subject: Re: [opengrok] SEVERE: Failed to send configuration to
> localhost:2424
>
>
> connection refused it says?
> I'd do:
>
> $ netstat -an | grep 2424
> (says cisco.com in your email, you should know networking, hmm ? ;) )
>
> if above gives someone listening on localhost or 127.0.0.1 on port 2424 
> then below shouldn't happen
> if not, your webapp is not listening for configuration on default port 
> (you messed with web.xml, check the default one)
>
> A worse part of below stack is that it says " INFO: Configuration 
> successfully updated " which is wrong for your case :(
> (no config was updated, hence webapp has no clue what was indexed)
>
> hth
> L
>
> Pranab Panda (pkpanda) wrote:
>   
>> When running run.sh I get the following error
>>
>>  Apr 7, 2009 11:49:17 AM org.opensolaris.opengrok.index.Indexer 
>> sendToConfigHost
>>
>> INFO: Send configuration to: localhost:2424
>>
>> Apr 7, 2009 11:49:17 AM org.opensolaris.opengrok.index.Indexer 
>> sendToConfigHost
>>
>> SEVERE: Failed to send configuration to localhost:2424
>>
>> java.net.ConnectException: Connection refused
>>
>>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>>
>>         at
>>     
> java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
>   
>>         at 
>> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
>>
>>         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
>>
>>         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
>>
>>         at java.net.Socket.connect(Socket.java:520)
>>
>>         at java.net.Socket.connect(Socket.java:470)
>>
>>         at java.net.Socket.<init>(Socket.java:367)
>>
>>         at java.net.Socket.<init>(Socket.java:209)
>>
>>         at 
>>
>>     
> org.opensolaris.opengrok.configuration.RuntimeEnvironment.writeConfigura
> tion(RuntimeEnvironment.java:565)
>   
>>         at 
>>
>>     
> org.opensolaris.opengrok.index.Indexer.sendToConfigHost(Indexer.java:558
> )
>   
>>         at
>>     
> org.opensolaris.opengrok.index.Indexer.main(Indexer.java:349)
>   
>> Apr 7, 2009 11:49:18 AM org.opensolaris.opengrok.index.Indexer 
>> sendToConfigHost
>>
>> INFO: Configuration successfully updated
>>
>>  
>>
>> The indexes are created under the data directory but it does not work,
>>
>>  My symbol search fails.
>>
>> I am using /sunglassfish Enterprise server v2.1 and Opengrok 0.7/
>>
>> /On RedHat 2.6.9-67.0.7 EL./
>>
>> / /
>>
>> I recently recreated new source directory and cvs workspaces  with 
>> local checkouts
>>
>> And rebooted +restarted glassfish.
>>
>> Please can someone help with this issue
>>
>> Please let me know
>>
>> Thanks
>>
>> Pranab
>>
>>  
>>
>>
>>     
> ------------------------------------------------------------------------
>   
>> _______________________________________________
>> opengrok-discuss mailing list
>> opengrok-discuss at opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss
>>   
>>     
>
>   


Reply via email to