-
1. Re: Maven problem building su for Weblogic JMS
gertv Feb 6, 2009 4:26 AM (in response to surajit_surajit.choudhury)L.S.,
If you installed the JARs in your Maven repository, adding a <dependency/> to the JBI SU's pom.xml should be enough to make sure it gets added to the SU classpath. If you do it that way, you don't have to add any <classpath/> tags to your xbean.xml any more.
Regards,
Gert
-
2. Re: Maven problem building su for Weblogic JMS
surajit_surajit.choudhury Feb 6, 2009 5:04 AM (in response to gertv)Thanks Gert - that works and I had also just stumbled upon the solution.
However, I have run into another compile problem:
-
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.servicemix.jms.JmsEndpoint' defined in URL file:/D:/Surajit_Docs/workspace34/jms-to-file/jms-to-file-jms-reader-su/src/main/resources/xbean.xml:
Cannot resolve reference to bean 'connectionFactory' while setting bean property 'connectionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'connectionFactory' defined in URL file:/D:/Surajit_Docs/workspace34/jms-to-file/jms-to-file-jms-reader-su/src/main/resources/xbean.xml: Invocation of init method failed; nested exception is org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 203 completed: No
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
-
Any ideas? xbean.xml is attached. Thanks.
-
xbean.xml 2.2 KB
-
-
3. Re: Maven problem building su for Weblogic JMS
mielket Feb 6, 2009 9:22 AM (in response to surajit_surajit.choudhury)Seems like your WebLogic InitialContextFactory fails to initialize fully. You spotted the CORBA error: "org.omg.CORBA.COMM_FAILURE"? That is certainly coming from WebLogic when perhaps trying to communicate with the JNDI service using IIOP. Any idea if you can get that WebLogic driver to log more information at runtime?
-
4. Re: Maven problem building su for Weblogic JMS
surajit_surajit.choudhury Feb 13, 2009 7:07 AM (in response to mielket)Well, it looked like the JMS queue from WebLogic needed to be set up for the build (compile). Thanks.