Is "user" a spring bean? If you aren't using Spring then the ioc.jar won't
help you.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106127#4106127
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106127
the jboss-seam-ioc.jar is included with the seam distribution and it should be
placed in the classpath of your project. To make sure it works when running
tests you need to be sure it is included in the runtime classpath of your test
running tool.
View the original post :
http://www.jboss.com
I have been facing with the similar kind of error in testing as shown below.
| javax.el.PropertyNotFoundException: ELResolver cannot handle a null base
Object with identifier 'user'
| at com.sun.el.lang.ELSupport.throwUnhandled(ELSupport.java:52)
| at com.sun.el.parser.AstIdentifie
Can anyone tell me from where I should download the
jboss-seam-ioc.jar file and place it
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106113#4106113
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106113
I am also facing the same error.Can anyone help to resolve the error obtained
during testing.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106111#4106111
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106111
__
updated the docs to include a note about the jboss-seam-ioc dependency.
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097605#4097605
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097605
___
This issue is resolved. I didn't have jboss-seam-ioc.jar file in my classpath
(not mentioned in the document). Here is the resolution.
Seam-Spring integration :- Spring framework integration module of Seam requires
the jboss-seam-ioc.jar file to be in the classpath. The Spring bean injection
wo
Sure, I will send over my project environment to you.
Thanks...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096756#4096756
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096756
___
anonymous wrote : Yes it is.
| I am getting all my components installed on running the test case. And the
test case works for components testing also. Its just the Spring bean is not
resolved. ELResolver throws the exception.
Just asking because I get the exact same error as you if my WEB-INF
Yes it is.
I am getting all my components installed on running the test case. And the test
case works for components testing also. Its just the Spring bean is not
resolved. ELResolver throws the exception.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=40966
Well, your testcase works for me.are you sure your /WEB-INF folder which
holds your component.xml file is in your classpath when you run the test?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096290#4096290
Reply to the post :
http://www.jboss.com/inde
ok, so maybe that ELResolver is not resolving the Spring bean names.
I was trying to test a user interaction scenario, trying to set the bean values
and add it to the DB. But the injection is not working as the ELResolver cannot
resolve the Spring bean identifiers. Totally stuck at this point. :
the DelegatingVariableResolver isn't used in integration tests. The Spring
integration is supposed to be loading automatically an ELResolver for use when
not in a JSF request. Which is the situation for integration tests.
View the original post :
http://www.jboss.com/index.html?module=bb&op=
Could it be possible that the DelegatingVariableResolver is not getting loaded?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096264#4096264
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096264
___
I have no ideas why it is not working because it should be working. As soon as
I get some time I'll get your example running and see if I can duplicate the
problem.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096237#4096237
Reply to the post :
http://ww
Could anyone please reply with some ideas as to why this exception is
happening.
The Spring beans are not resolved in integration testing when invoked through
EL. I have the DelegatingVariableResolver in place.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=
I tried to see if the Spring Bean is resolved.
|
| package test.testNG;
|
| import org.jboss.seam.mock.SeamTest;
| import org.testng.annotations.Test;
|
| public class InjectionTestNG extends SeamTest{
|
| @Test
| public void testInjection() throws Exception {
Here it is
| http://jboss.com/products/seam/components";
| xmlns:core="http://jboss.com/products/seam/core";
| xmlns:web="http://jboss.com/products/seam/web";
| xmlns:spring="http://jboss.com/products/seam/spring";
| xmlns:xsi="http://www.w
Can you add your component.xml too?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095831#4095831
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095831
___
jboss-user mailing
These are the classes that I have
Employee.java
| package test.injection;
|
| import org.jboss.seam.ScopeType;
| import org.jboss.seam.annotations.In;
| import org.jboss.seam.annotations.Name;
| import org.jboss.seam.annotations.Scope;
|
| @Name("employeeBean")
| @Scope(Scope
Can you put together the simplest testcase you can where an expression is not
being evaluated in an integration test so I can give it a try?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095823#4095823
Reply to the post :
http://www.jboss.com/index.html?mod
Frankly speaking I tried to upgrade to 2.0 CR1 and had to struggle with lots of
issues. I couldn't even get a lrc working. So i reverted back to 1.2.1.
And I have been facing issues with EL in 1.2.1
| 1. Not getting the #{conversationList} component.
| 2. Not getting the #{localeSelector} com
Can you try with 2.0 CR2? Or is upgrading out of the question at this point?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095819#4095819
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095819
_
Seam 1.2.1 with Tomcat 6.0.10.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095818#4095818
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095818
___
jboss-user mailing list
What version of seam are you using?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095803#4095803
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095803
___
jboss-user mailing
1. Yes my application works fine in a web container.
2. Yes, I removed the ContextLoaderListener from web.xml.
3. Yes, I have the @In (value="#searchService") specified in the searchBean.
But no required=false.
Is there any other configuration required?
One more thing i found is this is not just
A couple of things.
anonymous wrote : When i try to do an integration testing, I get this exception
So your app works just fine when running in a web container?
anonymous wrote : I have added the SpringContextLoader in the components.xml
file and my application context is getting loaded.
Whe
My Seam application has Spring beans injected into some of the components. When
i try to do an integration testing, I get this exception
| Error writing 'searchTerm' on type
com.test.seam.ui.backing.SearchBean_$$_javassist_0
| at javax.el.BeanELResolver.setValue(BeanELResolver.java:112)
"[EMAIL PROTECTED]" wrote : As I said that JNDI pattern is *wrong* for embedded
ejb3. It should be
|
Super this is working right now! Sorry that i didn't get what u have meant, i
changed the jndipattern in the ant build.
Thx for your support!
View the original post :
http://www.jboss.com/i
As I said that JNDI pattern is *wrong* for embedded ejb3. It should be
Object test = JndiUtil.lookup("KomunikatyManagerBean/local",
KomunikatyManagerBean.class);
|
| KomunikatyManager komunikatyManager = (KomunikatyManager)
| getInstance(KomunikatyManagerBean.class);
View the original po
ok i see. But my Problem is that nothing is workin, even grabbin the component
out of the JNDI. (nothing else the seam.core.Component is doing)
What can be the problem? That I can't get anything of the seems to be loaded
Components?
| Object test = JndiUtil.lookup("mediportal/KomunikatyManag
Embedded JBoss exposes stuff at #{ejbName}/local not ear-name/#{ejbName}/local
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073533#4073533
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073533
32 matches
Mail list logo