Great! I'll follow your path and I'll try this solution as well on the evening after work. Cheers!
Type: Posts; User: tiago182; Keyword(s):
Great! I'll follow your path and I'll try this solution as well on the evening after work. Cheers!
Good catch! Would you know how to switch to "pass-by-value" on JBoss 4.x?
Sorry, but at the end I left this aside because I've realised I didn't *really* need such EJB... Just in case, I've just tried it now within JBoss 4.2.2.GA and it still doesn't work:...
Hello,
I'm wondering whether org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean is ignoring the "persistenceUnitName" property I'm passing to it. I have 2 distinct EMF defined, the...
Did you already solve this?
Try to use a jboss-web.xml file, something like:
<jboss-web>
<class-loading java2ClassLoadingCompliance="false">
<loader-repository>...
This doesn't work either, I can get another proxy instance looking up for "schlange-security/SecurityServiceEjb/local", which can be casted only to EJBLocalObject.
The global JNDI namespace in my...
If the problem is classloading, how would I solve it? Any idea? Tks
For the record, I've tried
<jee:local-slsb id="securityServiceEjb"
jndi-name="schlange-security/SecurityServiceEjb/local" ...
This is getting funny. I've put a break point before calling the login() method, and I'm playing with the JNDI bound object:
securityManager instanceof...
Hi Caleb, thanks for helping! Removing the proxyInterface property doesn't help, and BTW the JNDI object does implement the 'org.schlange.security.server.SecurityService' interface.
I'd rather to...
Well, I guess I'll try JBoss deployer or another technique then. It's a pity JndiObjectFactoryBean doesn't work as expected in this case, since it's so clean...
As soon as I get this thing...
Hello,
I've been trying to use a SLSB from a Stripes ActionBean, but for some reason it doesn't work. Checking the JMX console, the SLSB looks correctly deployed, so I guess it's a matter of...
After debugging the version 1.2.8 and checking org.springframework.core.io.DefaultResourceLoader::getResource(String), I've found out a way to do it:
<context-param>
...
Hello all,
I'm wondering if it's possible to load my Spring's XMLs which are placed in a JAR file. Let me clarify: project X has submodules A and B, A has 2 XMLs defined at /APP-INF/spring...
Thanks again Yatesco, it's ok now. I'm using PropertyEditors and now I understand how it works.
That was the issue, I had validation errors and the onSubmit() method wasn't being reached. Thanks!
Does it apply to combo-boxes?
I didn't see how it fits, since I'm binding a couple of checkboxes already without using a property editor, so I guess it's not the point.
Thanks for replying Yatesco. But I'm still wondering why for some cases the callback method onSubmit() isn't being called... do you have a clue?
Hello again,
I already could use the <spring:bind/> tag for binding text fields and checkboxes, but I've got no good results trying with combo-boxes, because the selected value isn't bound to my...
Hello,
What's the difference between the methods SimpleFormController :: processFormSubmission() and SimpleFormController :: onSubmit()? I mean, I have 2 distinct controllers, and one of them...
Thanks EndlessWinter, for replying.
I also found answers about this on:
http://forum.springframework.org/archive/index.php/t-10379.html
Hello everybody,
I'm jumping into Spring MVC because I'm building a new web application, and I did not want to use Struts. I was following the tutorial and liked very much, but I have a question:...
Thanks jbetancourt, the <import resource=""/> worked fine.
But the better solution was adding
<context-param>
<param-name>contextConfigLocation</param-name>...
Hi all,
I'm new to Spring, and for now I just have to manage remote and local sessions according to a VM parameter. That's fine, no problem, but at remote side I have to use a specific...