[JBoss JIRA] Created: (JBAS-8528) IllegalStateException: jboss.naming:application=MyApp is already installed
by Rico Neubauer (JIRA)
IllegalStateException: jboss.naming:application=MyApp is already installed
--------------------------------------------------------------------------
Key: JBAS-8528
URL: https://jira.jboss.org/browse/JBAS-8528
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Deployers
Affects Versions: 6.0.0.M5
Environment: Linux 2.6.18-8.el5 #1 SMP x86_64 GNU/Linux
Java 64-Bit Server VM "1.6.0_21"
Reporter: Rico Neubauer
Assignee: Ales Justin
Attachments: alreadyInstalled.txt
Can be seen with M5, also with Snapshot as of 2010-10-10.
This might have the same root cause as JBAS-6335, but JBAS-6335 is reported to be fixed, whereas this issue definitely exists.
If you have 2 or more files in the deploy folder, which have the same name with different suffixes, the deployer will run into the following error (full log will get attached):
[AbstractKernelController] Error installing to Real: name=vfs:///mnt/san/develop/nbr/XXX/jboss/xxx/deploy/MyApp.war state=PreReal mode=Manual requiredState=Real: org.jboss.deployers.spi.DeploymentException: Error deploying: jboss.naming:application=MyApp
Caused by: java.lang.IllegalStateException: jboss.naming:application=MyApp is already installed.
e.g. if you have an WAR and a SAR which have the same name:
- MyApp.sar
- MyApp.war
or the same with war and probably any other combination of it:
- MyApp.ear
- MyApp.sar
Workaround is to rename one of the files, which leads to successful deployment.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years
[JBoss JIRA] Commented: (JBAS-8516) weld-translator example fails with "identifier 'translator' resolved to null"
by Alexandre Gasne (JIRA)
[ https://jira.jboss.org/browse/JBAS-8516?page=com.atlassian.jira.plugin.sy... ]
Alexandre Gasne commented on JBAS-8516:
---------------------------------------
beans.xml in WEB-INF *was* the clear place for me (as you say, according to the spec). Since it wasnt working, I check the lastest Weld doc Weld 1.1.0 (Beta1)...
You can find in "1.1. What is a bean?" :
"There's just little one thing you need to do before you can start injecting them into stuff: you need to put them in an archive (a jar, or a Java EE module such as a war or EJB jar) that contains a special marker file: META-INF/beans.xml."
quite disturbing, no ?
Finding my workarround took me to weld-int. I should have moved this topic to weld-int. Sorry for that.
and Tx for the fix !! ;)
Regards
> weld-translator example fails with "identifier 'translator' resolved to null"
> -----------------------------------------------------------------------------
>
> Key: JBAS-8516
> URL: https://jira.jboss.org/browse/JBAS-8516
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Weld/CDI
> Affects Versions: 6.0.0.M5
> Environment: Jboss AS, with lastest nightly ( '#1973 Oct 8, 2010 3:38:22 PM' from hudson)
> Weld Example package (stable and nightly from hudson : Last successful build (#74), 2 mo 9 days ago)
> Reporter: Alexandre Gasne
> Priority: Critical
>
> When trying to access separate business logic from a web page, weld can't resolve the managed bean ( beans.xml is present in both war/WEB-INF and jar/META-INF)
> I'm using Weld-Translator example to test business logic integration (ejb). Deployment seems fine, but I get an error with this "out-of-the-box" example.
> [ Note that I'm getting the same issue with an application (packaged in EAR with a web module and ejb modules) working fine on JBOSS6 M3 but failing with exactly the same error in lastest jboss nighltly ]
> With Weld-Translator example, you get this error page :
> HTTP Status 500 -
> type Exception report
> message
> description The server encountered an internal error () that prevented it from fulfilling this request.
> exception
> javax.servlet.ServletException: /home.xhtml @24,110 value="#{translator.text}": Target Unreachable, identifier 'translator' resolved to null
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:321)
> org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:63)
> org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:68)
> root cause
> javax.el.PropertyNotFoundException: /home.xhtml @24,110 value="#{translator.text}": Target Unreachable, identifier 'translator' resolved to null
> com.sun.faces.facelets.el.TagValueExpression.getType(TagValueExpression.java:97)
> com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:91)
> javax.faces.component.UIInput.getConvertedValue(UIInput.java:1023)
> javax.faces.component.UIInput.validate(UIInput.java:953)
> javax.faces.component.UIInput.executeValidate(UIInput.java:1204)
> javax.faces.component.UIInput.processValidators(UIInput.java:693)
> javax.faces.component.UIForm.processValidators(UIForm.java:240)
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1081)
> javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1159)
> com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:72)
> com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:308)
> org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:63)
> org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:68)
> Jboss StackTrace :
> 11:36:47,250 WARNING [javax.enterprise.resource.webcontainer.jsf.lifecycle] /home.xhtml @24,110 value="#{translator.text}": Target Unreachable, identifier 'translator' resolved to null: javax.el.PropertyNotFoundException: /home.xhtml @24,110 value="#{translator.text}": Target Unreachable, identifier 'translator' resolved to null
> at com.sun.faces.facelets.el.TagValueExpression.getType(TagValueExpression.java:97) [:2.0.3-SNAPSHOT]
> at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:91) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.getConvertedValue(UIInput.java:1023) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.validate(UIInput.java:953) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.executeValidate(UIInput.java:1204) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.processValidators(UIInput.java:693) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIForm.processValidators(UIForm.java:240) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1081) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1159) [:2.0.3-SNAPSHOT]
> at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:72) [:2.0.3-SNAPSHOT]
> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97) [:2.0.3-SNAPSHOT]
> at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114) [:2.0.3-SNAPSHOT]
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308) [:2.0.3-SNAPSHOT]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:]
> at org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:63) [:]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:]
> at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:68) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:]
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:]
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:]
> at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0-SNAPSHOT]
> at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) [:1.1.0.CR3]
> at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) [:1.1.0.CR3]
> at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0-SNAPSHOT]
> at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:]
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:]
> at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:]
> at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:]
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:]
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [:]
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:]
> at java.lang.Thread.run(Thread.java:619) [:1.6.0_20]
> 11:36:47,251 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/weld-translator].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception: javax.el.PropertyNotFoundException: /home.xhtml @24,110 value="#{translator.text}": Target Unreachable, identifier 'translator' resolved to null
> at com.sun.faces.facelets.el.TagValueExpression.getType(TagValueExpression.java:97) [:2.0.3-SNAPSHOT]
> at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:91) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.getConvertedValue(UIInput.java:1023) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.validate(UIInput.java:953) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.executeValidate(UIInput.java:1204) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.processValidators(UIInput.java:693) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIForm.processValidators(UIForm.java:240) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1081) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1159) [:2.0.3-SNAPSHOT]
> at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:72) [:2.0.3-SNAPSHOT]
> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97) [:2.0.3-SNAPSHOT]
> at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114) [:2.0.3-SNAPSHOT]
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308) [:2.0.3-SNAPSHOT]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:]
> at org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:63) [:]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:]
> at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:68) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:]
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:]
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:]
> at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0-SNAPSHOT]
> at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) [:1.1.0.CR3]
> at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) [:1.1.0.CR3]
> at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0-SNAPSHOT]
> at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:]
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:]
> at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:]
> at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:]
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:]
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [:]
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:]
> at java.lang.Thread.run(Thread.java:619) [:1.6.0_20]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years
[JBoss JIRA] Closed: (JBAS-8516) weld-translator example fails with "identifier 'translator' resolved to null"
by Marius Bogoevici (JIRA)
[ https://jira.jboss.org/browse/JBAS-8516?page=com.atlassian.jira.plugin.sy... ]
Marius Bogoevici closed JBAS-8516.
----------------------------------
Resolution: Duplicate Issue
> weld-translator example fails with "identifier 'translator' resolved to null"
> -----------------------------------------------------------------------------
>
> Key: JBAS-8516
> URL: https://jira.jboss.org/browse/JBAS-8516
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Weld/CDI
> Affects Versions: 6.0.0.M5
> Environment: Jboss AS, with lastest nightly ( '#1973 Oct 8, 2010 3:38:22 PM' from hudson)
> Weld Example package (stable and nightly from hudson : Last successful build (#74), 2 mo 9 days ago)
> Reporter: Alexandre Gasne
> Priority: Critical
>
> When trying to access separate business logic from a web page, weld can't resolve the managed bean ( beans.xml is present in both war/WEB-INF and jar/META-INF)
> I'm using Weld-Translator example to test business logic integration (ejb). Deployment seems fine, but I get an error with this "out-of-the-box" example.
> [ Note that I'm getting the same issue with an application (packaged in EAR with a web module and ejb modules) working fine on JBOSS6 M3 but failing with exactly the same error in lastest jboss nighltly ]
> With Weld-Translator example, you get this error page :
> HTTP Status 500 -
> type Exception report
> message
> description The server encountered an internal error () that prevented it from fulfilling this request.
> exception
> javax.servlet.ServletException: /home.xhtml @24,110 value="#{translator.text}": Target Unreachable, identifier 'translator' resolved to null
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:321)
> org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:63)
> org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:68)
> root cause
> javax.el.PropertyNotFoundException: /home.xhtml @24,110 value="#{translator.text}": Target Unreachable, identifier 'translator' resolved to null
> com.sun.faces.facelets.el.TagValueExpression.getType(TagValueExpression.java:97)
> com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:91)
> javax.faces.component.UIInput.getConvertedValue(UIInput.java:1023)
> javax.faces.component.UIInput.validate(UIInput.java:953)
> javax.faces.component.UIInput.executeValidate(UIInput.java:1204)
> javax.faces.component.UIInput.processValidators(UIInput.java:693)
> javax.faces.component.UIForm.processValidators(UIForm.java:240)
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1081)
> javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1159)
> com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:72)
> com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:308)
> org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:63)
> org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:68)
> Jboss StackTrace :
> 11:36:47,250 WARNING [javax.enterprise.resource.webcontainer.jsf.lifecycle] /home.xhtml @24,110 value="#{translator.text}": Target Unreachable, identifier 'translator' resolved to null: javax.el.PropertyNotFoundException: /home.xhtml @24,110 value="#{translator.text}": Target Unreachable, identifier 'translator' resolved to null
> at com.sun.faces.facelets.el.TagValueExpression.getType(TagValueExpression.java:97) [:2.0.3-SNAPSHOT]
> at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:91) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.getConvertedValue(UIInput.java:1023) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.validate(UIInput.java:953) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.executeValidate(UIInput.java:1204) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.processValidators(UIInput.java:693) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIForm.processValidators(UIForm.java:240) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1081) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1159) [:2.0.3-SNAPSHOT]
> at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:72) [:2.0.3-SNAPSHOT]
> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97) [:2.0.3-SNAPSHOT]
> at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114) [:2.0.3-SNAPSHOT]
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308) [:2.0.3-SNAPSHOT]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:]
> at org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:63) [:]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:]
> at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:68) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:]
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:]
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:]
> at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0-SNAPSHOT]
> at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) [:1.1.0.CR3]
> at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) [:1.1.0.CR3]
> at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0-SNAPSHOT]
> at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:]
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:]
> at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:]
> at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:]
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:]
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [:]
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:]
> at java.lang.Thread.run(Thread.java:619) [:1.6.0_20]
> 11:36:47,251 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/weld-translator].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception: javax.el.PropertyNotFoundException: /home.xhtml @24,110 value="#{translator.text}": Target Unreachable, identifier 'translator' resolved to null
> at com.sun.faces.facelets.el.TagValueExpression.getType(TagValueExpression.java:97) [:2.0.3-SNAPSHOT]
> at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:91) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.getConvertedValue(UIInput.java:1023) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.validate(UIInput.java:953) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.executeValidate(UIInput.java:1204) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.processValidators(UIInput.java:693) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIForm.processValidators(UIForm.java:240) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1081) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1159) [:2.0.3-SNAPSHOT]
> at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:72) [:2.0.3-SNAPSHOT]
> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97) [:2.0.3-SNAPSHOT]
> at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114) [:2.0.3-SNAPSHOT]
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308) [:2.0.3-SNAPSHOT]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:]
> at org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:63) [:]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:]
> at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:68) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:]
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:]
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:]
> at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0-SNAPSHOT]
> at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) [:1.1.0.CR3]
> at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) [:1.1.0.CR3]
> at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0-SNAPSHOT]
> at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:]
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:]
> at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:]
> at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:]
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:]
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [:]
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:]
> at java.lang.Thread.run(Thread.java:619) [:1.6.0_20]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years
[JBoss JIRA] Commented: (JBAS-8516) weld-translator example fails with "identifier 'translator' resolved to null"
by Marius Bogoevici (JIRA)
[ https://jira.jboss.org/browse/JBAS-8516?page=com.atlassian.jira.plugin.sy... ]
Marius Bogoevici commented on JBAS-8516:
----------------------------------------
The translator example is correct - see 12.1 of the spec: beans.xml makes sense only in modules (EARs cannot be bean archives)
a) JARs (including EJB deployments) declare it in META-INF
b) WARs declare it in WEB-INF
But the reason why this fails is https://jira.jboss.org/browse/JBAS-8590
> weld-translator example fails with "identifier 'translator' resolved to null"
> -----------------------------------------------------------------------------
>
> Key: JBAS-8516
> URL: https://jira.jboss.org/browse/JBAS-8516
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Weld/CDI
> Affects Versions: 6.0.0.M5
> Environment: Jboss AS, with lastest nightly ( '#1973 Oct 8, 2010 3:38:22 PM' from hudson)
> Weld Example package (stable and nightly from hudson : Last successful build (#74), 2 mo 9 days ago)
> Reporter: Alexandre Gasne
> Priority: Critical
>
> When trying to access separate business logic from a web page, weld can't resolve the managed bean ( beans.xml is present in both war/WEB-INF and jar/META-INF)
> I'm using Weld-Translator example to test business logic integration (ejb). Deployment seems fine, but I get an error with this "out-of-the-box" example.
> [ Note that I'm getting the same issue with an application (packaged in EAR with a web module and ejb modules) working fine on JBOSS6 M3 but failing with exactly the same error in lastest jboss nighltly ]
> With Weld-Translator example, you get this error page :
> HTTP Status 500 -
> type Exception report
> message
> description The server encountered an internal error () that prevented it from fulfilling this request.
> exception
> javax.servlet.ServletException: /home.xhtml @24,110 value="#{translator.text}": Target Unreachable, identifier 'translator' resolved to null
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:321)
> org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:63)
> org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:68)
> root cause
> javax.el.PropertyNotFoundException: /home.xhtml @24,110 value="#{translator.text}": Target Unreachable, identifier 'translator' resolved to null
> com.sun.faces.facelets.el.TagValueExpression.getType(TagValueExpression.java:97)
> com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:91)
> javax.faces.component.UIInput.getConvertedValue(UIInput.java:1023)
> javax.faces.component.UIInput.validate(UIInput.java:953)
> javax.faces.component.UIInput.executeValidate(UIInput.java:1204)
> javax.faces.component.UIInput.processValidators(UIInput.java:693)
> javax.faces.component.UIForm.processValidators(UIForm.java:240)
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1081)
> javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1159)
> com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:72)
> com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:308)
> org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:63)
> org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:68)
> Jboss StackTrace :
> 11:36:47,250 WARNING [javax.enterprise.resource.webcontainer.jsf.lifecycle] /home.xhtml @24,110 value="#{translator.text}": Target Unreachable, identifier 'translator' resolved to null: javax.el.PropertyNotFoundException: /home.xhtml @24,110 value="#{translator.text}": Target Unreachable, identifier 'translator' resolved to null
> at com.sun.faces.facelets.el.TagValueExpression.getType(TagValueExpression.java:97) [:2.0.3-SNAPSHOT]
> at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:91) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.getConvertedValue(UIInput.java:1023) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.validate(UIInput.java:953) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.executeValidate(UIInput.java:1204) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.processValidators(UIInput.java:693) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIForm.processValidators(UIForm.java:240) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1081) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1159) [:2.0.3-SNAPSHOT]
> at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:72) [:2.0.3-SNAPSHOT]
> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97) [:2.0.3-SNAPSHOT]
> at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114) [:2.0.3-SNAPSHOT]
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308) [:2.0.3-SNAPSHOT]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:]
> at org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:63) [:]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:]
> at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:68) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:]
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:]
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:]
> at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0-SNAPSHOT]
> at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) [:1.1.0.CR3]
> at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) [:1.1.0.CR3]
> at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0-SNAPSHOT]
> at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:]
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:]
> at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:]
> at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:]
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:]
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [:]
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:]
> at java.lang.Thread.run(Thread.java:619) [:1.6.0_20]
> 11:36:47,251 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/weld-translator].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception: javax.el.PropertyNotFoundException: /home.xhtml @24,110 value="#{translator.text}": Target Unreachable, identifier 'translator' resolved to null
> at com.sun.faces.facelets.el.TagValueExpression.getType(TagValueExpression.java:97) [:2.0.3-SNAPSHOT]
> at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:91) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.getConvertedValue(UIInput.java:1023) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.validate(UIInput.java:953) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.executeValidate(UIInput.java:1204) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIInput.processValidators(UIInput.java:693) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIForm.processValidators(UIForm.java:240) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1081) [:2.0.3-SNAPSHOT]
> at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1159) [:2.0.3-SNAPSHOT]
> at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:72) [:2.0.3-SNAPSHOT]
> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97) [:2.0.3-SNAPSHOT]
> at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114) [:2.0.3-SNAPSHOT]
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308) [:2.0.3-SNAPSHOT]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:]
> at org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:63) [:]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:]
> at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:68) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:]
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:]
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:]
> at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0-SNAPSHOT]
> at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) [:1.1.0.CR3]
> at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) [:1.1.0.CR3]
> at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0-SNAPSHOT]
> at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:]
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:]
> at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:]
> at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0-SNAPSHOT]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:]
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:]
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [:]
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:]
> at java.lang.Thread.run(Thread.java:619) [:1.6.0_20]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years
[JBoss JIRA] Created: (JBRULES-2770) INCOMPLETE GUVNOR REST APIS
by Andrew Waterman (JIRA)
INCOMPLETE GUVNOR REST APIS
---------------------------
Key: JBRULES-2770
URL: https://jira.jboss.org/browse/JBRULES-2770
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-guvnor
Environment: OSX, Java6, Glassfish
Reporter: Andrew Waterman
Assignee: Mark Proctor
The "REST" apis exposed in the Guvnor don't adequately cover the functionality required by remote users of the Guvnor. Guvnor should expose a REST based stack for:
a) creating, deleting, checking-in and checking-out "KnowledgeBases"
b) creating, deleting, checking-in and checking-out "Models" (jars, bpel packages, declarative models)
c) creating, deleting, checking-in and checking-out other resources, such as ruleflows, drools rules (DRLs), rule templates, test scenarios, etc.
d) compiling and creating snapshosts for said knowledgebases and dependencies.
Of this group, creating and checking-in "KnowledgeBases" and allowing compilation of a given knowledgebase and snapshot creation/deploy seems the most important issues.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years