Error in nhprof log

72 views
Skip to first unread message

Aaron Boxer

unread,
Oct 8, 2014, 11:26:19 AM10/8/14
to nhp...@googlegroups.com
2014-10-08 10:38:05,491 [16] ERROR Rhino.Licensing.Discovery.DiscoveryClient [(null)] - Failed to publish application's presence
System.Net.Sockets.SocketException (0x80004005): A socket operation was attempted to an unreachable host
   at System.Net.Sockets.Socket.EndSendTo(IAsyncResult asyncResult)
   at System.Net.Sockets.UdpClient.EndSend(IAsyncResult asyncResult)

This is for build 2238

Thanks,
Aaron

Oren Eini (Ayende Rahien)

unread,
Oct 8, 2014, 11:33:41 AM10/8/14
to nhprof
That is fine, you can ignore this.

Hibernating Rhinos Ltd  

Oren Eini l CEO Mobile: + 972-52-548-6969

Office: +972-4-622-7811 l Fax: +972-153-4-622-7811

 


--
You received this message because you are subscribed to the Google Groups "nhprof" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nhprof+un...@googlegroups.com.
To post to this group, send email to nhp...@googlegroups.com.
Visit this group at http://groups.google.com/group/nhprof.
For more options, visit https://groups.google.com/d/optout.

Aaron Boxer

unread,
Oct 8, 2014, 11:50:35 AM10/8/14
to nhp...@googlegroups.com

Thanks but I don't see any queries in me session, I thought that was the cause

Oren Eini (Ayende Rahien)

unread,
Oct 8, 2014, 11:55:54 AM10/8/14
to nhprof
That isn't related. Did you setup the profiler appender properly?

Aaron Boxer

unread,
Oct 8, 2014, 11:59:17 AM10/8/14
to nhp...@googlegroups.com

Yes, it used to work with older build

Oren Eini (Ayende Rahien)

unread,
Oct 8, 2014, 12:01:19 PM10/8/14
to nhprof
Do you see a Connected in the top bar?

Aaron Boxer

unread,
Oct 8, 2014, 12:04:15 PM10/8/14
to nhp...@googlegroups.com

Yes

Oren Eini (Ayende Rahien)

unread,
Oct 8, 2014, 12:15:38 PM10/8/14
to nhprof
What version of nhibernate are you using?

Aaron Boxer

unread,
Oct 8, 2014, 12:39:35 PM10/8/14
to nhp...@googlegroups.com

3.2 or 3.3

Aaron Boxer

unread,
Oct 8, 2014, 1:20:58 PM10/8/14
to nhp...@googlegroups.com
On Wed, Oct 8, 2014 at 12:15 PM, Oren Eini (Ayende Rahien) <aye...@ayende.com> wrote:
What version of nhibernate are you using?

3.3.3 GA

Oren Eini (Ayende Rahien)

unread,
Oct 8, 2014, 1:33:55 PM10/8/14
to nhprof

Do you have any session factory stats visible?

Aaron Boxer

unread,
Oct 8, 2014, 2:29:55 PM10/8/14
to nhp...@googlegroups.com
On Wed, Oct 8, 2014 at 1:33 PM, Oren Eini (Ayende Rahien) <aye...@ayende.com> wrote:

Do you have any session factory stats visible?


Yes, I do.

Aaron Boxer

unread,
Oct 8, 2014, 2:30:51 PM10/8/14
to nhp...@googlegroups.com
My sessions tab is empty.

Aaron Boxer

unread,
Oct 8, 2014, 2:51:21 PM10/8/14
to nhp...@googlegroups.com
And here is how I initialize nhprof:

NHibernateProfiler.Initialize(new NHibernateAppenderConfiguration());

Oren Eini (Ayende Rahien)

unread,
Oct 8, 2014, 11:13:43 PM10/8/14
to nhprof
Can you send a screen shot?

Aaron Boxer

unread,
Oct 9, 2014, 10:28:54 AM10/9/14
to nhp...@googlegroups.com
Sure, here you go.
no_sessions_info.png

Oren Eini (Ayende Rahien)

unread,
Oct 9, 2014, 11:52:01 AM10/9/14
to nhprof
Well, you _are_  connected. Do you have any log4net configuration or setup for nhibernate configuration?

Aaron Boxer

unread,
Oct 9, 2014, 1:00:26 PM10/9/14
to nhp...@googlegroups.com
Here is my log4net config:


<?xml version="1.0" encoding="utf-8" ?>
<log4net>
<!-- Define some output appenders -->
<appender name="RollingLogFileAppender" type="ClearCanvas.Common.log4net.RollingFileAppender, ClearCanvas.Common">
<param name="File" value=".\\logs\\ClearCanvas.Server.ShredHostService.log" />
<param name="AppendToFile" value="true" />
<param name="MaxSizeRollBackups" value="0" />
<param name="MaximumFileSize" value="256KB" />
<param name="RollingStyle" value="Size" />
<param name="StaticLogFileName" value="true" />
<layout type="log4net.Layout.PatternLayout">
<param name="ConversionPattern" value="%d [%t] %-5p - %m%n" />
</layout>
<lockingModel type="ClearCanvas.Common.log4net.FileAppender+MutexLock, ClearCanvas.Common" />
</appender>
<!-- Setup the root category, add the appenders and set the default level -->
<root>
<level value="INFO" />
<appender-ref ref="RollingLogFileAppender" />
</root>
<logger name="NHibernate">
<level value="INFO" />
</logger>
</log4net>

Oren Eini (Ayende Rahien)

unread,
Oct 9, 2014, 4:46:39 PM10/9/14
to nhprof
Okay, remove the log4.net config, what happens now?
Reply all
Reply to author
Forward
0 new messages