Re: [Ifolder-dev] "Your session has been closed. Please log in." (was How do I specify the library p

2007-02-18 Thread Tim Uckun

On 2/16/07, Balakrishnan KalIdas <[EMAIL PROTECTED]> wrote:


Hi Tim,

The iFolder Web Admin doesn't throw the exception explicitly. I would
recommend you to check the iFolder Web access which explicitly throws the
exception and send across the exception content, for us to analyse it.




There was no log files anywhere. That's because  the log4net  config file
specifies that the log files should be in /var/lib/simias/log but no such
directory exists. Since the installer didn't create the directory I created
it myself.

Also the entire /var/lib/simias directory was owned by wwwrun and I don't
have that user so I changed the user the proper one on my system

When I attempted to log on to the admin screen I got the same "session has
been closed" closed message but this time there was a log file. Here is the
output from that. As you can see it's looking for Simias.config file
/var/lib/simias.  I created a symlink to that file and now it have the same
error but it still won't log me in.



System.Web.HttpException:  --->
System.Reflection.TargetInvocationException: Exception has been thrown by
the target of an invocation. ---> System.TypeInitializationException: An
exception was thrown by the type initializer for Simias.Web.Global --->
Simias.SimiasException: Cannot locate configuration file:
/var/lib/simias/Simias.config
 at Simias.Configuration..ctor (System.String storePath, Boolean isServer)
[0x0]
 at Simias.Storage.Store.Initialize (System.String simiasStorePath, Boolean
isServer, Int32 port) [0x0]
 at Simias.Web.Global..cctor () [0x0] --- End of inner exception stack
trace ---

 at <0x0> 
 at ASP.Global_asax..ctor () [0x0]
 at <0x0> 
 at (wrapper managed-to-native)
System.Reflection.MonoCMethod:InternalInvoke (object,object[])
 at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x0] --- End of inner
exception stack trace ---

 at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x0]
 at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr,
System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x0]
 at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters)
[0x0]
 at System.Activator.CreateInstance (System.Type type, Boolean nonPublic)
[0x0]
 at System.Web.HttpApplicationFactory.FireOnAppStart (
System.Web.HttpContext context) [0x0]
 at System.Web.HttpApplicationFactory.GetApplication (
System.Web.HttpContext context) [0x0]
 at System.Web.HttpRuntime.RealProcessRequest (System.Object o) [0x0]
--- End of inner exception stack trace ---

-->

 at System.Web.Services.Protocols.WebServiceHelper.InvalidOperation (
System.String message, System.Net.WebResponse response,
System.Text.Encodingenc) [0x0]
 at System.Web.Services.Protocols.SoapHttpClientProtocol.ReceiveResponse (
System.Net.WebResponse response,
System.Web.Services.Protocols.SoapClientMessage message,
System.Web.Services.Protocols.SoapExtension[] extensions) [0x0]
 at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke (
System.String method_name, System.Object[] parameters) [0x0]
 at iFolderAdmin.GetAuthenticatedUser () [0x0]
 at (wrapper remoting-invoke-with-check) iFolderAdmin:GetAuthenticatedUser
()
 at Novell.iFolderWeb.Admin.Login.DoLogin (System.String username,
System.String password, Boolean check) [0x0]
[EMAIL PROTECTED] log]#
___
ifolder-dev mailing list
ifolder-dev@forge.novell.com
http://forge.novell.com/mailman/listinfo/ifolder-dev

Re: [Ifolder-dev] "Your session has been closed. Please log in." (was How do I specify the library p

2007-02-15 Thread Balakrishnan KalIdas
Hi Tim,

 The iFolder Web Admin doesn't throw the exception explicitly. I would 
recommend you to check the iFolder Web access which explicitly throws the 
exception and send across the exception content, for us to analyse it.

Thanks,
Kalis

>>> "Tim Uckun" <[EMAIL PROTECTED]> 02/16/07 3:50 AM >>>
> Tim we are working on this issue,but there is work around for this issue .
> 1.Actually the problem is with installation ,while installing It should
create to soft link to the file SimiasLib.dll
>  The location of file is
/opt/novell/ifolder3/lib/simias/web/bin/SimiasLib.dll
> 2.You only have to create two soft links in the following directories for
the above file.
> /opt/novell/ifolder3/lib/simias/admin/bin/
>/opt/novell/ifolder3/lib/simias/webaccess/bin/
> 3.The link should be.
> SimiasLib.dll->/opt/novell/ifolder3/lib/simias/web/bin/SimaisLib.dll
> 4.Restart the server it will work.


When I build the server I used the prefix /usr like the instuctions stated
so my files are not in /opt/novell/ifolders3 they are in /usr/lib/simias  Is
that wrong?

Anyway I made symlinks from /usr/lib/simias/web/bin into
/usr/lib/simias/admin/bin and webaccess.bin and I no longer get that error.

What I get now is the "Your session has been closed. Please log in."
error.  /var/www/.config does exist and is set to the proper ownership. Just
to make sure I set the permissions to be 777. Still no joy.
___
ifolder-dev mailing list
ifolder-dev@forge.novell.com
http://forge.novell.com/mailman/listinfo/ifolder-dev