Search:

Type: Posts; User: dendenners; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.14 seconds.

  1. spring jars won't play with maven assembly

    Hi,
    I've a project using maven and spring. I am trying to use a few spring component jars (e.g. spring-beans.jar, spring-aop.jar and a few more) as explicit dependencies in my pom. However, I'm...
  2. applying advice to classes defined outside app ctx

    Hi,
    My application consists of tapestry pages backed by spring beans. The tap pages are not defined as spring beans. I want to apply an aspect to all tapestry pages (on the attach() method) so I can...
  3. Managing several identical applications via JMX

    Hi,
    I've a java application that I intend to deploy on many machines. I don't have much experience of using JMX in a serious way. I need a way to expose certain properties of the application for...
  4. Why don't you just commit once, at the end of the...

    Why don't you just commit once, at the end of the method? What is the reasoning behind committing every BATCH_SIZE records?
  5. It seems to me that all you're interested in is...

    It seems to me that all you're interested in is getting a plain jdbc connection to pass into legacy hibernate code. The solution you're thinking of seems to entail getting a plain jdbc connection...
  6. This is a common problem de_Tom. What I do...

    This is a common problem de_Tom. What I do normally is dynamically add the number of question marks using a stringbuffer - e.g. in a seperate method:
    private final String...
  7. If you want your original way to work you'd have...

    If you want your original way to work you'd have to make sure you have the same number of comma separated ?'s in your query as you have 'in' parameters. If you are looking for a different way to...
  8. What's the code like for the Facility_user and...

    What's the code like for the Facility_user and Facility_role classes? Make sure methods (and the class itself) aren't final. BTW they are unusual class names for java, usually the convention would be...
  9. Hi baronludwig, Could you just install an...

    Hi baronludwig,
    Could you just install an instance of your prod database on your local machines to do tests? For example we deploy to Oracle, and each developer has an instance of Oracle installed...
  10. Replies
    10
    Views
    7,849

    Here's the app context config:

    Here's the app context config:

    <bean id="ipSocket1"
    class="com.fexcodcc.fdac.management.GenericServerSocket" >
    <property name="handlerSelector">
    <ref...
  11. Replies
    10
    Views
    7,849

    That's what I thought it should be. However, when...

    That's what I thought it should be. However, when I set lazy-init="false" on the MBeanExporter, the mbeans I define within it don't seem to get picked up in jconsole. I can do the getBean() thing, so...
  12. Replies
    10
    Views
    7,849

    Thanks again Costin - I hadn't seen your post...

    Thanks again Costin - I hadn't seen your post before posting my last reply. I explicitly called the exporter using
    MBeanExporter exporter = (MBeanExporter) factory.getBean("exporter");
    just after...
  13. Replies
    10
    Views
    7,849

    Hi, I've also noticed that when I register the...

    Hi,
    I've also noticed that when I register the mbean directly with the mbean server like this:

    ArrayList servers = MBeanServerFactory.findMBeanServer(null);
    MBeanServer server = (MBeanServer)...
  14. Replies
    10
    Views
    7,849

    Hi Costin, thanks for the post. I've tried...

    Hi Costin, thanks for the post. I've tried removing the mbeanserver definition in my app context, so that all I have left by way of JMX config in my app context is simply

    <bean id="exporter"
    ...
  15. Does the hibernate insert statement print to your...

    Does the hibernate insert statement print to your logs (all things being equals it should do as you have show_sql set to true)?
    You could try to put in debug messages where you _always_ expect them...
  16. Replies
    10
    Views
    7,849

    MBean not showing up in jconsole

    Hi,
    I'm trying to register a spring bean as a JMX bean via jconsole but can't get it working. I'm starting the spring app with the following jmx related options:
    ...
  17. Replies
    13
    Views
    3,346

    Hmmm, I can't spot anything blatantly wrong with...

    Hmmm, I can't spot anything blatantly wrong with your code. Does it work if you comment out the nextMessage many-to-one in your .hbm.xml?
  18. What is the config for EblotterDS?

    What is the config for EblotterDS?
  19. Replies
    13
    Views
    3,346

    What kind of class is Message? Could you post the...

    What kind of class is Message? Could you post the code for it and the associated hbm.xml?
    BTW if you're using the hibernateTemplate you could probably use the...
  20. Ensure defaultAutoCommit on your connection is...

    Ensure defaultAutoCommit on your connection is set to false
  21. Replies
    13
    Views
    3,346

    You'd have to post the stack trace I think -...

    You'd have to post the stack trace I think - otherwise it's hard to know what's null.
  22. Replies
    5
    Views
    1,059

    Could you post the classes/interfaces in question?

    Could you post the classes/interfaces in question?
  23. You can set the "searchSystemEnvironment" field...

    You can set the "searchSystemEnvironment" field to "true" for the PropertyPlaceHolderConfigurer. E.g I have in my app context


    <bean id="propertyConfigurer2"
    ...
  24. Replies
    2
    Views
    758

    Might become a little clearer if you set...

    Might become a little clearer if you set hibernate.show_sql to 'true' - you should see what's wrong with the sql in the debug log
  25. Looks to me like you have a collection in your...

    Looks to me like you have a collection in your BaseRuleCondition (or one of its superclasses) that is being accessed because of the use of the commons reflectionHashCode(this) method to create a...
Results 1 to 25 of 35
Page 1 of 2 1 2