Search:

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

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    1,383

    Spring JMX dynamic mbeans

    All

    I have been using org.springframework.jmx.export.MBeanExporter to export mbeans. But I have some code that creates beans dynamically, and I want to be able to register those beans under a tree...
  2. Replies
    4
    Views
    8,380

    Thanks for your help. but I am not sure why...

    Thanks for your help. but I am not sure why spring is not executing the statement. If i take that same statement and put in into the mysql console it returns my results. Am I not using the query...
  3. Replies
    4
    Views
    8,380

    Thanks, but why has spring not taken the args[]...

    Thanks, but why has spring not taken the args[] and subbed the params out so that the SQL is correct.

    IN the error line



    Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:...
  4. Replies
    4
    Views
    8,380

    Error in SQL syntax using MYSQL

    All

    I have the following select statements



    <bean id="findInstrumentByIdStmt" class="java.lang.String">
    <constructor-arg value="SELECT FROM INSTRUMENTS WHERE ID = ? AND ENABLED = ?" />...
  5. Looks like it was fixed using the following code...

    Looks like it was fixed using the following code wrapped in the object

    new SqlParameterValue(Types.CHAR,limitOrderDataBO.getId()
  6. Sorry this is just a typo in my example. ...

    Sorry this is just a typo in my example.



    // validate all types we are inserting
    int types[] = new int[] {Types.VARCHAR, // ID
    Types.VARCHAR, //CLORDERID
    Types.VARCHAR
    ...
  7. Sorry the code I have is int types[] = new...

    Sorry the code I have is



    int types[] = new int[] {Types.CHAR, // ID
    Types.VARCHAR, //CLORDERID
    Types.VARCHAR, //FORID
    };

    args = new Object[] {UUID.randomUUID(),
  8. Anyone know how to solve this problem. How do i...

    Anyone know how to solve this problem. How do i tell spring that a UUID is just a char
  9. hibernate to spring jdbc table column sizes need to increase

    All

    We had some code setup with hibernate to persist objects into the database.
    We are trying to make a change to spring jdbc. The one issue that has come up is the unit tests are failing. The...
  10. Replies
    15
    Views
    2,747

    Thanks Glyn I will put a post up on the forums...

    Thanks Glyn I will put a post up on the forums about building that bundle, and submit a task to get it added to the repo.
  11. Replies
    15
    Views
    2,747

    THanks for the reply

    Apologies about the huge comment, should have just said the stack trace was very large.

    Basically the jbossall-client.4.2.2.GA.jar is not part of the spring repo downloads. So I can't download...
  12. Replies
    15
    Views
    2,747

    Thanks for the info. So i tried to bundle the...

    Thanks for the info. So i tried to bundle the jbossall-client-4.2.2.GA.jar , SO i ran the tool as



    macbook:bin$ ./bundlor.sh transform -b jbossall-client-4.2.2.GA.jar -m template.mf -o...
  13. Thread: bundle logging

    by bc56
    Replies
    0
    Views
    759

    bundle logging

    All

    I have two bundles installed, when bundle 1 is installed it is just waiting for other bundles to call it and register themselves with it.

    THe problem I have is that I have a log4j logger on...
  14. Replies
    15
    Views
    2,747

    Sorry when I mean libraries I mean lets say AJAX...

    Sorry when I mean libraries I mean lets say AJAX was not on the spring repo, how Do i create a bundle for it, or use it within spring-dm ?
  15. Replies
    15
    Views
    2,747

    I think there must be, because if i put the...

    I think there must be, because if i put the bundle into the pickup directory the bundle gets loaded and I can use it from within my application.

    I have another question on bundles, if I have some...
  16. Replies
    15
    Views
    2,747

    I just found this in the trace log, what is...

    I just found this in the trace log, what is unknown ?

    [2009-04-15 19:23:01.147] fs-watcher .osgi.provisioning.repository.FileSystemBundleRepository.unknown I Registering Bundle...
  17. Replies
    15
    Views
    2,747

    Thanks. ANy ideas of this , why spring-dm does...

    Thanks.

    ANy ideas of this , why spring-dm does not pickup the esper package ?
    from the docs it just looks like you drop it into the bundles/usr then it should pickup the library
  18. Replies
    15
    Views
    2,747

    spring-dm not picking up thirdparty bundles

    All

    I downloaded the esper bundle from thew spring source website repo
    and put it into bundles/usr



    drwxr-xr-x@ 6 test test 204 12 Apr 20:02 ..
    -rw-r--r--@ 1 test test 2144604 4...
  19. Replies
    3
    Views
    1,354

    Chris Thanks for the reply, not sure what was...

    Chris

    Thanks for the reply, not sure what was going wrong. But I can't seem to get it running again seem to have another issue, have you seen this before ?




    osgi> start 39...
  20. Thread: thirdparty jars

    by bc56
    Replies
    2
    Views
    1,015

    Thank you for the response. Sorry again about the...

    Thank you for the response. Sorry again about the posts. I have not used this before and I am trying to get a betting understanding. The sort of get the point about bundles. But have not found any...
  21. Replies
    1
    Views
    914

    dm app not picking up library

    All

    I have followed this tutorial on using the dm server and osgi

    http://springosgi.googlepages.com/ch03.html

    I have setup the manifest as
  22. Thread: thirdparty jars

    by bc56
    Replies
    2
    Views
    1,015

    thirdparty jars

    All

    If I have a jar that is not in the general repo. How can I get the DM server to use it on startup as my application requires it ?
  23. Replies
    3
    Views
    1,354

    Thread not running.

    All I have the following bundle setup



    <bean id="engineService" class="com.strader.baseserver.engine.EngineServiceImpl"
    destroy-method="shutdownEngine" init-method="startupEngine">...
  24. Replies
    9
    Views
    1,527

    Sorry I am back, So i got the deps working. But...

    Sorry I am back, So i got the deps working. But still no init-method being called on the top appCtx. so the application is not starting.

    [code]
    [2009-03-18 10:38:00.734] fs-watcher ...
  25. Replies
    9
    Views
    1,527

    Thank you for all your help, this has been great...

    Thank you for all your help, this has been great and helps loads.
Results 1 to 25 of 29
Page 1 of 2 1 2