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...
Type: Posts; User: bc56; Keyword(s):
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...
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...
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:...
All
I have the following select statements
<bean id="findInstrumentByIdStmt" class="java.lang.String">
<constructor-arg value="SELECT FROM INSTRUMENTS WHERE ID = ? AND ENABLED = ?" />...
Looks like it was fixed using the following code wrapped in the object
new SqlParameterValue(Types.CHAR,limitOrderDataBO.getId()
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
...
Sorry the code I have is
int types[] = new int[] {Types.CHAR, // ID
Types.VARCHAR, //CLORDERID
Types.VARCHAR, //FORID
};
args = new Object[] {UUID.randomUUID(),
Anyone know how to solve this problem. How do i tell spring that a UUID is just a char
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...
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.
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...
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...
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...
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 ?
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...
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...
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
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...
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...
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...
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
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 ?
All I have the following bundle setup
<bean id="engineService" class="com.strader.baseserver.engine.EngineServiceImpl"
destroy-method="shutdownEngine" init-method="startupEngine">...
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 ...
Thank you for all your help, this has been great and helps loads.