-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: lognet configurator called with null element parameter error
PostPosted: Mon May 23, 2005 1:05 pm 
hi..

i am soooo dissapointed no one has tried to help me...:-(

i am getting a lognet configurator called with null element parameter error.....

the program halts execution when this happens.....

so what am i doing wrong ? guys ? Hey pleasehelpmeman....

thx


Top
  
 
 Post subject:
PostPosted: Fri May 27, 2005 10:00 am 
Contributor
Contributor

Joined: Thu May 12, 2005 9:45 am
Posts: 593
Location: nhibernate.org
I hope you found the solution :)

If not, read this post :
http://nhibernate.sourceforge.net/forum ... ?p=242#242

edit: I keep this post for any other person having this problem... It will eventually end up in the FAQ.

_________________
Pierre Henri Kuaté.
Get NHibernate in Action Now!


Top
 Profile  
 
 Post subject: That may help u
PostPosted: Mon May 30, 2005 9:13 am 
I had the same problemn, i resolved it by changing my configuration file,
i added the undelined part:


<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="nhibernate" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.5000.0,Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
</configSections>



<nhibernate>
<add key="hibernate.connection.provider"
value="NHibernate.Connection.DriverConnectionProvider" />

<add key="hibernate.dialect"
value="NHibernate.Dialect.MySQLDialect" />

<add key="hibernate.connection.driver_class"
value="NHibernate.Driver.MySqlDataDriver" />

<add key="hibernate.connection.connection_string"
value="Server=localhost;Database=nagiosstatic;User ID=ocs;Password=;CharSet=gb2312" />

</nhibernate>

<log4net>

<!-- Define some output appenders -->

<appender name="rollingFile" type="log4net.Appender.RollingFileAppender,log4net" >

<param name="File" value="log.txt" />
<param name="AppendToFile" value="true" />
<param name="RollingStyle" value="Date" />
<param name="DatePattern" value="yyyy.MM.dd" />
<param name="StaticLogFileName" value="true" />

<layout type="log4net.Layout.PatternLayout,log4net">
<param name="ConversionPattern" value="%d [%t] %-5p %c [%x] &lt;%X{auth}&gt; - %m%n" />
</layout>
</appender>

<!-- Setup the root category, add the appenders and set the default priority -->

<root>
<priority value="ALL" />
<appender-ref ref="rollingFile" />
</root>

</log4net>

</configuration>

Regards


Top
  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.