Coder Social home page Coder Social logo

Comments (4)

ayende avatar ayende commented on July 27, 2024

Enable logging, and see what is going on. Check for firewalls, in
particular.

On Fri, Jul 22, 2011 at 11:07 AM, ronsher <
[email protected]>wrote:

I've run the sql script.
I've run the backend side and verified the backend is listening.
I also see that the backend is receiving the client messages and shows:
Oren Eini's has 3 books at home
Oren Eini's has 2 books queued for reading
Oren Eini's has 7 book recommendations
Oren Eini's has 3 books at home
Oren Eini's has 2 books queued for reading
Oren Eini's has 7 book recommendations
Oren Eini's has 3 books at home
Oren Eini's has 2 books queued for reading
Oren Eini's has 7 book recommendations
Oren Eini's has 3 books at home
Oren Eini's has 2 books queued for reading
Oren Eini's has 7 book recommendations
Oren Eini's has 3 books at home
Oren Eini's has 2 books queued for reading
Oren Eini's has 7 book recommendations

looks like the client tries 5 times but doesn't get a reply.

Note: I've ported the solution to VS 2010 and running under win 7.

I've verified that the client's consume is never reached.

How to debug and fix this?

Thanks,
Ron

Reply to this email directly or view it on GitHub:
#3

from alexandria.

Dizzitune avatar Dizzitune commented on July 27, 2024

Hi ronsher, have you found a solution to this yet? I have the exact same problem using VS2008. Gets 5 MSDTC aborted transactions every time.
However the client consumer is newer created. Set a breakpoint in the MyBooksResponseConsumer constructor and it will never be hit. Therefore I'm guessing that it could be something with the Windsor DI (Im not very used to this framework). Seems like the Consumers never gets registered. This the original registration-code:

container.Kernel.AddFacility("factory", new FactorySupportFacility());

  container.Register(
    Component.For<ISessionFactory>()
      .Instance(sessionFactory),
    Component.For<IMessageModule>()
      .ImplementedBy<NHibernateMessageModule>(),
    Component.For<ISession>()
      .UsingFactoryMethod(() => NHibernateMessageModule.CurrentSession)
      .LifeStyle.Is(LifestyleType.Transient));

from alexandria.

VasoBolkvadze avatar VasoBolkvadze commented on July 27, 2024

i have same issue, did you resolved it ?

from alexandria.

jonathankarsh avatar jonathankarsh commented on July 27, 2024

Hi,

Using a debugger attached to the backend library while it's executing the requests, we can see that the SubscriptionDetailsRequestConsumer chokes and dies because the subscription query returns null. That's because the database states that the subscription dates are 2009-01-01 to 2011-01-01. If you make dbo.Subscription's End a future date (there's only one row there), the query succeeds and you get back a response as expected.

It's a demo project which is why not much attention was probably paid to error handling etc.

I'm still seeing some problems (e.g. search falls over, changes you make in the client are not persisted), but the UI actually loads up the query results successfully.

Cheers,
JK

from alexandria.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.