Re: Creating JMS Topics + JNDI

2005-07-29 Thread David Jencks
I'm glad you are making progress. Can you consider this part of my original reply? Is this a standalone non-j2ee client? If so you will have to use instructions from activemq to use activemq. In particular, the openejb jndi implementation only exposes ejbs, not any other resources. If you

Re: Creating JMS Topics + JNDI

2005-07-29 Thread Sami Dalouche
OK, some news regarding my previous problem : - I found a sample Ressource Adapter configuration file, so I can now deploy my resource adapter without any exception. (under the name weather/Topics). so, it should have deployes 2 topics : jms/weatherTopic and jms/weatherRequestsTopic - However,

Re: Creating JMS Topics + JNDI

2005-07-29 Thread David Jencks
If you look in the source tree under modules/assembly/src/plan you can find the default jms plan system-jms-plan.xml for comparison. Your plan is missing the required work-manager element. How old is your geronimo version? I think a recent change should have made the exception appear on the

Unable to register configuration

2005-07-29 Thread pyd
Need help! What's problem with me? I was installed geronimo first time. When I open my browser ,It show me this: --- URL http://localhost:8080/ Error 404 - Not Found. No context on this server matched or handled this request. Cont

Re: Creating JMS Topics + JNDI

2005-07-29 Thread Sami Dalouche
Hi, thanks for your answer : > What is the output from this command? There is no output to the command, but I found something in the log : Caused by: org.apache.xmlbeans.XmlException: Invalid deployment descriptor: [d:\projects\weather\src\resources\geronimo-activemq.xml:0: error: Expected elem

Re: Creating JMS Topics + JNDI

2005-07-29 Thread David Jencks
Please do not use the M3 version of geronimo. It really doesn't exactly work. thanks david jencks On Jul 29, 2005, at 7:13 PM, Sami Dalouche wrote: Oh, BTW, I also tried with the 1.0M3 version of geronimo : when I try to deploy my topics configuration, I get the following exception : D

Re: Creating JMS Topics + JNDI

2005-07-29 Thread David Jencks
comments inline On Jul 29, 2005, at 7:05 PM, Sami Dalouche wrote: Hi, I'm currently trying to 1) Create some JMS Topics 2) Expose a ConnectionFactory + the Topics through JNDI -> I'm using the following RA http://geronimo.apache.org/xml/ns/j2ee/connector"; version="1.5" configId="w

Re: Creating JMS Topics + JNDI

2005-07-29 Thread Sami Dalouche
Oh, BTW, I also tried with the 1.0M3 version of geronimo : when I try to deploy my topics configuration, I get the following exception : Deployment failed Server reports: Could not set ResourceAdapterClass org.apache.geronimo.deployment.DeploymentException: Could not set ResourceAdapterClass

Creating JMS Topics + JNDI

2005-07-29 Thread Sami Dalouche
Hi, I'm currently trying to 1) Create some JMS Topics 2) Expose a ConnectionFactory + the Topics through JNDI -> I'm using the following RA http://geronimo.apache.org/xml/ns/j2ee/connector"; version="1.5" configId="weather/jms/TopicsConfiguration" parentId="org/apache/geronimo/Sys

Re: access a BLOB coloumn from a CMP EJB

2005-07-29 Thread Gianny Damour
I was trying to find the root cause and I have added an integration test to test the storage of a byte[] into a BLOB (see org.openejb.test.entity.cmp2.StorageTests in OpenEJB itests). It seems that it works; at least for Derby. BTW, by default a field having the type byte[] is automatically s

Re: access a BLOB coloumn from a CMP EJB

2005-07-29 Thread Jeremy Boynes
Stefan Schmidt wrote: Jeremy, That was one of the weired things here - there is no true root cause: 08:42:29,134 WARN [SystemExceptionInterceptor] BookBean javax.transaction.TransactionRolledbackException: Unable to load data for field at org.openejb.transaction.ContainerPolicy$TxRequired

Re: access a BLOB coloumn from a CMP EJB

2005-07-29 Thread Stefan Schmidt
Jeremy, That was one of the weired things here - there is no true root cause: 08:42:29,134 WARN [SystemExceptionInterceptor] BookBean javax.transaction.TransactionRolledbackException: Unable to load data for field at org.openejb.transaction.ContainerPolicy$TxRequired.invoke(ContainerPolicy

Re: access a BLOB coloumn from a CMP EJB

2005-07-29 Thread Jeremy Boynes
It is probably simplest if we add byte[] as a mapped type inside TranQL as that will result in the bytes being written to the LOB rather than having it serialize an array object. I will try to add that mapping over the weekend. Having said that, the Serializable converter should work if you ar