Services in Spring.NET with AOP Proxies failing after upgrading from 1.0.0.13 to 1.0.0.15

View: New views
4 Messages — Rating Filter:   Alert me  

Services in Spring.NET with AOP Proxies failing after upgrading from 1.0.0.13 to 1.0.0.15

by Vinnie Luther :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hey,

 

I’d like to upgrade to FluorineFx 1.0.0.15 or .16 in SVN, but it seems there has been a change that prevents it from calling services using the spring.net factory that have AOP proxies.

I’m getting this error in .15, but it works fine if I replace the .dll with .13:

2009-04-16 13:02:42,250 [4] ERROR FluorineFx.Messaging.MessageBroker - Failed to locate the requested  type DecoratorAopProxy_aa88094b4de5491aa2c600ea741135cd

FluorineFx.Messaging.MessageException: Failed to locate the requested  type DecoratorAopProxy_aa88094b4de5491aa2c600ea741135cd ---> System.TypeLoadException: Failed to locate the requested  type DecoratorAopProxy_aa88094b4de5491aa2c600ea741135cd

   --- End of inner exception stack trace ---

   at FluorineFx.Remoting.RemotingAdapter.Invoke(IMessage message)

   at FluorineFx.Messaging.Services.RemotingService.ServiceMessage(IMessage message)

   at FluorineFx.Messaging.MessageBroker.RouteMessage(IMessage message, IEndpoint endpoint)

 

Vinnie


_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesilentgroup.com

Re: Services in Spring.NET with AOP Proxies failing afterupgrading from 1.0.0.13 to 1.0.0.15

by Support-179 :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi Vinnie,
 
can you send to support@ some details about your setup so I can try to reproduce the problem?
 
thanks,
Zoli


From: fluorine-bounces@... [mailto:fluorine-bounces@...] On Behalf Of Vinnie Luther
Sent: Thursday, April 16, 2009 8:07 PM
To: fluorine@...
Subject: [Fluorine] Services in Spring.NET with AOP Proxies failing afterupgrading from 1.0.0.13 to 1.0.0.15

Hey,

 

I’d like to upgrade to FluorineFx 1.0.0.15 or .16 in SVN, but it seems there has been a change that prevents it from calling services using the spring.net factory that have AOP proxies.

I’m getting this error in .15, but it works fine if I replace the .dll with .13:

2009-04-16 13:02:42,250 [4] ERROR FluorineFx.Messaging.MessageBroker - Failed to locate the requested  type DecoratorAopProxy_aa88094b4de5491aa2c600ea741135cd

FluorineFx.Messaging.MessageException: Failed to locate the requested  type DecoratorAopProxy_aa88094b4de5491aa2c600ea741135cd ---> System.TypeLoadException: Failed to locate the requested  type DecoratorAopProxy_aa88094b4de5491aa2c600ea741135cd

   --- End of inner exception stack trace ---

   at FluorineFx.Remoting.RemotingAdapter.Invoke(IMessage message)

   at FluorineFx.Messaging.Services.RemotingService.ServiceMessage(IMessage message)

   at FluorineFx.Messaging.MessageBroker.RouteMessage(IMessage message, IEndpoint endpoint)

 

Vinnie


_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesilentgroup.com

Re: Services in Spring.NET with AOP Proxies failingafterupgrading from 1.0.0.13 to 1.0.0.15

by Vinnie Luther :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Zoli,

 

I found the issue.  I am using subclassed AOP proxies, so my [RemoteService] attributes were on a superclass of the AOP proxy class.  I found a solution by changing

line 496 in TypeHelper.cs to use true on the GetAttribute call.

                Attribute attribute = ReflectionUtils.GetAttribute(typeof(RemotingServiceAttribute), type, true);

 

That may not be secure for other people, I don’t know, but it solved my problem.

 

Thanks,

Vinnie

 

 

From: Support [mailto:support@...]
Sent: Thursday, April 16, 2009 7:53 PM
To: 'Fluorine Mailing List'
Subject: Re: [Fluorine] Services in Spring.NET with AOP Proxies failingafterupgrading from 1.0.0.13 to 1.0.0.15

 

Hi Vinnie,

 

can you send to support@ some details about your setup so I can try to reproduce the problem?

 

thanks,

Zoli

 


From: fluorine-bounces@... [mailto:fluorine-bounces@...] On Behalf Of Vinnie Luther
Sent: Thursday, April 16, 2009 8:07 PM
To: fluorine@...
Subject: [Fluorine] Services in Spring.NET with AOP Proxies failing afterupgrading from 1.0.0.13 to 1.0.0.15

Hey,

 

I’d like to upgrade to FluorineFx 1.0.0.15 or .16 in SVN, but it seems there has been a change that prevents it from calling services using the spring.net factory that have AOP proxies.

I’m getting this error in .15, but it works fine if I replace the .dll with .13:

2009-04-16 13:02:42,250 [4] ERROR FluorineFx.Messaging.MessageBroker - Failed to locate the requested  type DecoratorAopProxy_aa88094b4de5491aa2c600ea741135cd

FluorineFx.Messaging.MessageException: Failed to locate the requested  type DecoratorAopProxy_aa88094b4de5491aa2c600ea741135cd ---> System.TypeLoadException: Failed to locate the requested  type DecoratorAopProxy_aa88094b4de5491aa2c600ea741135cd

   --- End of inner exception stack trace ---

   at FluorineFx.Remoting.RemotingAdapter.Invoke(IMessage message)

   at FluorineFx.Messaging.Services.RemotingService.ServiceMessage(IMessage message)

   at FluorineFx.Messaging.MessageBroker.RouteMessage(IMessage message, IEndpoint endpoint)

 

Vinnie


_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesilentgroup.com

Re: Services in Spring.NET with AOP Proxies failingafterupgrading from 1.0.0.13 to 1.0.0.15

by Support-179 :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Thanks Vinnie, I think it should be ok to inherit the attribute. I will add the change to the SVN


From: Vinnie Luther [mailto:vinnie.luther@...]
Sent: Friday, April 17, 2009 5:14 PM
To: Fluorine Mailing List
Cc: support@...
Subject: RE: [Fluorine] Services in Spring.NET with AOP Proxies failingafterupgrading from 1.0.0.13 to 1.0.0.15

Zoli,

 

I found the issue.  I am using subclassed AOP proxies, so my [RemoteService] attributes were on a superclass of the AOP proxy class.  I found a solution by changing

line 496 in TypeHelper.cs to use true on the GetAttribute call.

                Attribute attribute = ReflectionUtils.GetAttribute(typeof(RemotingServiceAttribute), type, true);

 

That may not be secure for other people, I don’t know, but it solved my problem.

 

Thanks,

Vinnie

 

 

From: Support [mailto:support@...]
Sent: Thursday, April 16, 2009 7:53 PM
To: 'Fluorine Mailing List'
Subject: Re: [Fluorine] Services in Spring.NET with AOP Proxies failingafterupgrading from 1.0.0.13 to 1.0.0.15

 

Hi Vinnie,

 

can you send to support@ some details about your setup so I can try to reproduce the problem?

 

thanks,

Zoli

 


From: fluorine-bounces@... [mailto:fluorine-bounces@...] On Behalf Of Vinnie Luther
Sent: Thursday, April 16, 2009 8:07 PM
To: fluorine@...
Subject: [Fluorine] Services in Spring.NET with AOP Proxies failing afterupgrading from 1.0.0.13 to 1.0.0.15

Hey,

 

I’d like to upgrade to FluorineFx 1.0.0.15 or .16 in SVN, but it seems there has been a change that prevents it from calling services using the spring.net factory that have AOP proxies.

I’m getting this error in .15, but it works fine if I replace the .dll with .13:

2009-04-16 13:02:42,250 [4] ERROR FluorineFx.Messaging.MessageBroker - Failed to locate the requested  type DecoratorAopProxy_aa88094b4de5491aa2c600ea741135cd

FluorineFx.Messaging.MessageException: Failed to locate the requested  type DecoratorAopProxy_aa88094b4de5491aa2c600ea741135cd ---> System.TypeLoadException: Failed to locate the requested  type DecoratorAopProxy_aa88094b4de5491aa2c600ea741135cd

   --- End of inner exception stack trace ---

   at FluorineFx.Remoting.RemotingAdapter.Invoke(IMessage message)

   at FluorineFx.Messaging.Services.RemotingService.ServiceMessage(IMessage message)

   at FluorineFx.Messaging.MessageBroker.RouteMessage(IMessage message, IEndpoint endpoint)

 

Vinnie


_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesilentgroup.com