[JBoss Seam] - Re: Dynamic widgets?
by whafrog
"IGx89" wrote : Actually no, JBoss EL is bundled with Seam :)
I must be missing something though, as I'm getting an EL parsing exception using that format. I decided to use a getter, so the action class ("lenderbenefits") has:
private BenefitMap benefitMap = new BenefitMap();
| public BenefitMap getBenefitMap() { return benefitMap; }
And the facelets page has:
<h:inputText value="#{lenderbenefits.benefitMap.getBenefit('ORIGINATION_FEE').percentReduction}" size="5"/>
BenefitMap has a getter:
private HashMap<String, LenderBenefit> benefits = new HashMap<String, LenderBenefit>();
| public LenderBenefit getBenefit(String benefitName)
| {
| return benefits.get(benefitName);
| }
And LenderBenefit has a property "percentReduction". But I get the following exception:
11:53:02,078 ERROR [STDERR] Nov 19, 2007 11:53:02 AM com.sun.facelets.FaceletViewHandler handleRenderException
| SEVERE: Error Rendering View[/lenderbenefits.xhtml]
| com.sun.facelets.tag.TagAttributeException: /lenderbenefits.xhtml @30,128 value="#{lenderbenefits.benefitMap.getBenefit('ORIGINATION_FEE').p
| ercentReduction}" Error Parsing: #{lenderbenefits.benefitMap.getBenefit('ORIGINATION_FEE').percentReduction}
| at com.sun.facelets.tag.TagAttribute.getValueExpression(TagAttribute.java:259)
| at com.sun.facelets.tag.jsf.ValueHolderRule$DynamicValueExpressionMetadata.applyMetadata(ValueHolderRule.java:101)
| at com.sun.facelets.tag.MetadataImpl.applyMetadata(MetadataImpl.java:36)
| at com.sun.facelets.tag.MetaTagHandler.setAttributes(MetaTagHandler.java:62)
| at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:144)
| at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
| at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
| at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
| at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
| at com.sun.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:64)
| at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:128)
| at com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:306)
| at com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:279)
| at com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68)
| at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
| at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
| at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
| at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
| at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
| at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
| at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
| at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
| at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113)
| at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
| at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
| at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
| at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:503)
| at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:546)
| at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
| at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
| at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
| at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
| at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
| at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
| at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: javax.el.ELException: Error Parsing: #{lenderbenefits.benefitMap.getBenefit('ORIGINATION_FEE').percentReduction}
| at org.apache.el.lang.ExpressionBuilder.createNodeInternal(ExpressionBuilder.java:125)
| at org.apache.el.lang.ExpressionBuilder.build(ExpressionBuilder.java:146)
| at org.apache.el.lang.ExpressionBuilder.createValueExpression(ExpressionBuilder.java:190)
| at org.apache.el.ExpressionFactoryImpl.createValueExpression(ExpressionFactoryImpl.java:68)
| at org.jboss.seam.ui.facelet.SeamExpressionFactory.createValueExpression(SeamExpressionFactory.java:107)
| at com.sun.facelets.tag.TagAttribute.getValueExpression(TagAttribute.java:256)
| ... 62 more
| Caused by: org.apache.el.parser.ParseException: Encountered "(" at line 1, column 39.
| Was expecting one of:
| "}" ...
| "." ...
| "[" ...
| ">" ...
| "gt" ...
| "<" ...
| "lt" ...
| ">=" ...
| "ge" ...
| "<=" ...
| "le" ...
| "==" ...
| "eq" ...
| "!=" ...
| "ne" ...
| "&&" ...
| "and" ...
| "||" ...
| "or" ...
| "*" ...
| "+" ...
| "-" ...
| "?" ...
| "/" ...
| "div" ...
| "%" ...
| "mod" ...
Am I missing any libraries?
Thanks for your help so far!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106124#4106124
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106124
18 years, 8 months
[Persistence, JBoss/CMP, Hibernate, Database] - Does EntityManager injection work for JBoss 4.0.3SP1?????
by darretta
I have JBoss 4.0.3SPI with an EJB RC5 patch. I am able to deploy a Hibernate Entity Manager using persistence.xml, and even place it in JNDI. I can access the entity manager via JNDI, but cannot access using direct injection. My injection code is:
@PersistenceContext(unitName="vramPu") // I've tried with/without name
| EntityManager em
|
| ...
|
| // Access em
| em.<someMethod>
|
Each time I get an NPE.
Now, if I access via JNDI, it appears that I am now in BMP, since I need to add transactional behavior to the code. *Then*, there seems to be an issue with how this is done. Do I use UserTransaction, which requires javax.ejb.Resource which doesn't appear to be part of the RC5 specification???
I could really use some advice from anyone who has successfully used the hibernate entity manager with JBoss 4.0.3SP1. Thank you.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106122#4106122
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106122
18 years, 8 months
[JBoss jBPM] - Re: designer and delegation
by simonbaker
Hi Koen: I'm a fan of the GPD because it makes the jBPM feel like a real product for designing workflows, rather than just a well-written, very flexible, but poorly documented core that one is tempted to hack one's own solution to. So we appreciate your efforts in continuing to improve the GPD and hope you take our suggestions as interest rather than just criticism.
I'm realizing that perhaps even more important than supporting lists in the bean/field setter of the GPD would be supporting "enums" or something equivalent.
A significant limitation of the bean/field setter is that we are encouraged to input "magic" constants into the fields whose meaning is only apparent by reading the code for the custom class that processes the fields. Boolean fields are not a problem as they can be named to make them self-documenting. But string fields don't give much clue to the range of inputs they can accept.
It's not a problem for fields like "name" where anything is acceptable. But let's say we want to indicate the workflow "role" that our custom AssignmentHandler should use to select actors for the pooled actors of a task. What role names are we allowed to input? If the role field could be made an "enum" type, and the GPD bean/field setter expose the list of enum values to select from, it would be a very powerful feature that would help decouple the business process design from the code writing.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106117#4106117
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106117
18 years, 8 months
[JBoss Seam] - Re: Integration Testing with TestNG and embeddedEjb
by dheerajsega
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.AstIdentifier.getValue(AstIdentifier.java:75)
| at com.sun.el.parser.AstValue.getValue(AstValue.java:114)
| at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:195)
| at org.jboss.seam.util.UnifiedELValueBinding.getValue(UnifiedELValueBinding.java:34)
| at org.jboss.seam.mock.SeamTest$Request.getValue(SeamTest.java:366)
| at AuthenticatorActionTest$2.renderResponse(AuthenticatorActionTest.java:48)
| at org.jboss.seam.mock.SeamTest$Request.run(SeamTest.java:521)
| at AuthenticatorActionTest.testLogin(AuthenticatorActionTest.java:28)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:529)
| at org.testng.internal.Invoker.invokeMethod(Invoker.java:398)
| at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:625)
| at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:88)
| at org.testng.TestRunner.privateRun(TestRunner.java:614)
| at org.testng.TestRunner.run(TestRunner.java:505)
| at org.testng.SuiteRunner.privateRun(SuiteRunner.java:221)
| at org.testng.SuiteRunner.run(SuiteRunner.java:147)
| at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:576)
| at org.testng.TestNG.runSuitesLocally(TestNG.java:539)
| at org.testng.TestNG.run(TestNG.java:316)
| at org.testng.TestNG.privateMain(TestNG.java:666)
| at org.testng.TestNG.main(TestNG.java:608)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106115#4106115
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106115
18 years, 8 months
[JBoss Seam] - Re: concurrent-request-timeout - how to set optimal size?
by enda
With code tag
Seems that concurrent-request-timeout parameter in components.xml is important for Ajax
How can I determine optimal size?
| <core:manager concurrent-request-timeout="1000"
| conversation-timeout="120000"
| conversation-id-parameter="cid"/>
|
Also to use conversation propagation seems important
| <h:commandButton value="Save"
| rendered="#{edit}"
| action="#{personAccountManager.save}">
| <s:conversationPropagation type="join"/>
| </h:commandButton>
|
Seam examples in documentation does not have this?
When concurrent-request-timeout is small then I have problem:
| 20:31:21,692 INFO [lifecycle] WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.
| sourceId=null[severity=(WARN 1), summary=(The conversation ended, timed out or was processing another request), detail=(The conversation ended, timed out or was processing another request)]
| sourceId=null[severity=(WARN 1), summary=(The conversation ended, timed out or was processing another request), detail=(The conversation ended, timed out or was processing another request)]
|
But can a bigger value cause memory problems on server?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106112#4106112
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106112
18 years, 8 months
[EJB 3.0] - Need Help! encounter strange Exception:not used by any EJBs
by xinhua
Hi, everybody,
I hava a simple ejb3 app which use generic dao pattern to run on jbosss as 4.2.2GA. The structure of app is like this:
| Emailtemplate
| EmailtemplateDAO extends GenericDAO<Emailtemplate, Long>
| EmailtemplateDAOImpl implements EmailtemplateDAO extends GenericDAOImpl<Emailtemplate, Long>
|
then , in a SLSB (EmailTemplateManagerSB), i simply injected dao interface in it:
| ...
| @EJB
| EmailtemplateDAO eDAO;
|
| ....
|
|
i only use annotations for all ejbs without any setup in dd xml. When i deploy my app, i got a runtime exception:
| 17:56:10,065 INFO [EJBContainer] STOPPED EJB: xx.xxxx.comit.bussiness.services.EmailTemplateManagerSB ejbName: EmailTemplateManagerSB
| 17:56:10,159 WARN [ServiceController] Problem starting service jboss.j2ee:ear=tut2.ear,jar=tut2.jar,name=EmailTemplateManagerSB,service=EJB3
| java.lang.RuntimeException: could not resolve global JNDI name for @EJB for container EmailTemplateManagerSB: reference class: xx.xxxx.comit.persistence.dao.EmailtemplateDAO ejbLink: not used by any EJBs
| at org.jboss.injection.EjbEncInjector.inject(EjbEncInjector.java:88)
| at org.jboss.ejb3.EJBContainer.start(EJBContainer.java:566)
| at org.jboss.ejb3.SessionContainer.start(SessionContainer.java:154)
| at org.jboss.ejb3.stateless.StatelessContainer.start(StatelessContainer.java:102)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:103)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy56.start(Unknown Source)
| at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:120)
| at org.jboss.ejb3.Ejb3Deployment.registerEJBContainer(Ejb3Deployment.java:301)
| at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:362)
| at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy33.start(Unknown Source)
| at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:512)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
| at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
| at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)
| at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
| at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy34.start(Unknown Source)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy9.deploy(Unknown Source)
| at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy4.start(Unknown Source)
| at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| at org.jboss.Main.boot(Main.java:200)
| at org.jboss.Main$1.run(Main.java:508)
| at java.lang.Thread.run(Thread.java:595)
|
whats wrong? this small app runs perfectly on 4.2.0 and 4.2.1...
thanks in advance for any help!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106110#4106110
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106110
18 years, 8 months
[Persistence, JBoss/CMP, Hibernate, Database] - Re: org.hibernate.HibernateException: Could not find datasou
by dheerajsega
Thanks, I modified the code and it throws me new error as
| 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.AstIdentifier.getValue(AstIdentifier.java:75)
| at com.sun.el.parser.AstValue.getValue(AstValue.java:114)
| at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:195)
| at org.jboss.seam.util.UnifiedELValueBinding.getValue(UnifiedELValueBinding.java:34)
| at org.jboss.seam.mock.SeamTest$Request.getValue(SeamTest.java:366)
| at AuthenticatorActionTest$2.renderResponse(AuthenticatorActionTest.java:48)
| at org.jboss.seam.mock.SeamTest$Request.run(SeamTest.java:521)
| at AuthenticatorActionTest.testLogin(AuthenticatorActionTest.java:28)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:529)
| at org.testng.internal.Invoker.invokeMethod(Invoker.java:398)
| at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:625)
| at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:88)
| at org.testng.TestRunner.privateRun(TestRunner.java:614)
| at org.testng.TestRunner.run(TestRunner.java:505)
| at org.testng.SuiteRunner.privateRun(SuiteRunner.java:221)
| at org.testng.SuiteRunner.run(SuiteRunner.java:147)
| at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:576)
| at org.testng.TestNG.runSuitesLocally(TestNG.java:539)
| at org.testng.TestNG.run(TestNG.java:316)
| at org.testng.TestNG.privateMain(TestNG.java:666)
| at org.testng.TestNG.main(TestNG.java:608)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106109#4106109
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106109
18 years, 8 months