Have you tried some simple tests, to eliminate some variables?
1. deploy the exact same war you deployed in Tomcat to Weblogic
2. if you have no dependencies on components inside the ear, take out...
Type: Posts; User: Andrei Stefan; Keyword(s):
Have you tried some simple tests, to eliminate some variables?
1. deploy the exact same war you deployed in Tomcat to Weblogic
2. if you have no dependencies on components inside the ear, take out...
I believe you can use the same (not so elegant) workaround I suggested here.
Watch for the property name, the rule follows the naming of the "set*" method:
<bean id="parentA" class="ParentA" abstract="true">
<property name="testService" ref="employeeService" />...
Try google before asking! The first result looks like a solution.
As the error says, you have no bean named "Transit" in your app context, or, at least, you don't in the xml you posted.
So, you want exactly four instances of your ClassA @Service class and each instance to have a certain implementation of that interface injected? Using a single class definition for your ClassA, I...
dr_pompeii, have a look, for example, at org.springframework.jdbc-3.0.7.RELEASE.jar\META-INF\spring.schemas for the definition of spring-jdbc.xsd. This is valid not only for spring-jdbc, but for all...
You don't need those lines of code.
spring-jdbc.xsd defaults to the latest spring-jdbc xsd in that jar file. Theoretically, it shouldn't need a version.
https://jira.springsource.org/browse/SPR-9521
Here's an workaround, but is not elegant:
<bean id="exampleTrigger" class="org.springframework.scheduling.quartz.SimpleTriggerFactoryBean">
<property name="jobDetail" ref="jobDetail" />...
If you put an order between Before and After then you simply ignore the very meaning and purpose of those advices, I already explained this in my previous reply. What you are looking for here is an...
There are two different things here:
1. If you test the same configuration but taking out the @Configuration way of defining the beans (using XML configuration, for example), both @After aspects...
Sorry for replying so late to this thread, but I'm not sure I follow. What would you expect your sample to do in the case "throw new RuntimeException" is uncommented?
http://forum.springsource.org/showthread.php?126584-HTTP-403-on-Schemas
The problem has been fixed.
Still, I want to point out that this issues shouldn't have disturbed a properly built application. This kind of issue should raise some eyebrows when it happens in a...
The sticky attribute has been added in Spring DM 2.x. dm Server 1.x uses Spring DM 1.x.
The problem is that when you are specifying a ranking for a service you are, somewhat, changing the importance of exported services in an OSGi environment.
Let's consider your sample. In...
I have performed a simple test - take, for example, formtags sample application (you can find it here) - go to /dist folder, take the par file and unzip it, start a clean instance of dm Server 1.0.1...
Just as curiosity - have you tried any of the examples in the reference documentation related to auto-wiring ? You expect someone else to try it for you and someone else to be the "experimenter".
...
How did you defined the transactional behavior and how do you know that method is not getting called ?
There's very possible that this message comes from the context trying to wire a dataSource somewhere else. Since you clearly specified that a certain LocalContainerEntityManagerFactoryBean is to use...
None of the methods in your controller gets intercepted ?
http://forum.springframework.org/showthread.php?t=59506
I think this has to do with the way CGLIB works... creating a new class by extending the proxied one.
Another way of getting the initial class:
import java.lang.reflect.Method;
import...
http://jira.springframework.org/browse/SWF-749