Thanks for a quick response,
I do have osgi web extender installed and active but still it gives me namespace error. Today I started my console only to find that I am getting error for all...
Type: Posts; User: springnewbie; Keyword(s):
Thanks for a quick response,
I do have osgi web extender installed and active but still it gives me namespace error. Today I started my console only to find that I am getting error for all...
forgot to add spring dm version 1.2.1
All,
I am getting the following exception when I am deploying my osgi bundle in felix.
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem:...
All,
I just downloaded spring DM (2.0.0.M1) and was trying to run the samples provided in that distribution. The pom file references spring-osgi (2.0.0.M1) and am not able to find this in repo.
...
Hi,
I am facing problem consuming message from topic which is configured as master-slave.
My spring config is as shown below.
I am using spring 1.2.x
!-- ###### Transaction manager ######...
Is there any way to change the jmsTemplate at runtime. is this really possible?
Hi,
How can I change jms provider ul at run time. I have a remote queue to which I connect. I have exposed my jms resource adapter class to JMX and there I can change my remote jms server url....
Hi,
I have a test case where I need to connect to 2 different databases. I am currently using spring 2.5.6 and hibernate 3.3.1
I have read posts on using AbstractRoutingDataSource which can be...
We recently upgraded from 9i to 11g. Will there be any performance issue or are there any unsupported features?
Hi All,
I am trying to connect to my queue which is defined inside my jboss app server. I am using jboss-messaging.
To publish message to queue I am using spring jmstemplate. Here is the...
I removed the OSIFV from web.xml and things are fine. But still I am not able to use applicationContext.
How do we make web service class applicationconextaware?
DAO class extends HibernateDaoSupport and we inject SessionFactory to it.
MyService service = BeanConfigFactory.getBean("myService");
service.saveOperation(); //error here
When I debug I can see service class with some proxy thing but when it starts executing...
This is the line where it throws exception
MyService service = BeanConfigFactory.getBean("myService");
service.saveOperation(); //error here
common.xml and context.xml are named as applicationContext-common.xml
and applicationContext-context.xml.
The reason I am using Beanfactory is the consumer is web service which interacts with...
common.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
<!-- JND DataSource...
Spring version 2.5.5.
Hibernate 3.3
web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app
xmlns="http://java.sun.com/xml/ns/javaee"
version="2.5"
saveOperation() is inside a service layer. In this method we try to save all our entities.
I will look at the spring reference and will try to implement ApplicationContext.
Still the same exception. no difference.
I am now using spring 2.5.x and Hibernate 3.3 though I didnot change any of the spring config files. I hope that should not make any difference
pk in TAB_A is with column ID
and in LineItem its with column name ID.
Will this be an issue?
property reference in class can be different than column key and I guess that should not be the...
Hello All,
one-to-one mapping not working
<hibernate-mapping>
<class name="com.example.A" table="TAB_A">
<id name="id" type="java.lang.Long">
<column name="ID" />
I have to change it and see
Spring version is 1.2.6
Hibernate 3.0.5
org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is...
Remove hibernate.connection.release_mode from confg still the same error
Hello All,
I am trying to inject some of spring based service inside my java web service implementation class. I am using java web service developer pack 2.0 for my web service.
Can some one help...