[JBoss JIRA] Created: (SEAMSERVLET-37) Servlet event not generated or cannot be received in jboss 6AS final
by yangju (JIRA)
Servlet event not generated or cannot be received in jboss 6AS final
--------------------------------------------------------------------
Key: SEAMSERVLET-37
URL: https://issues.jboss.org/browse/SEAMSERVLET-37
Project: Seam Servlet
Issue Type: Bug
Components: Producers
Affects Versions: 3.0.0.Final
Environment: Windows Jboss 6 AS Final, weld 1.1.0.CR3, seam persistence and solder but no seam faces module.
Deployment: Ear (war inside ear)
Reporter: yangju
I have a bean to startup some our beans as @Startup not working some of the times.
public void onStartup((a)Observes(notifyObserver=Reception.ALWAYS) @Started WebApplication webapp) {
}
But this method is never triggered.
I have the 3.0.0.Final seam servlet jar inside my ear (should be visible to war).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 7 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-4313) EntityHome created/updated/deleted default messages should come from resource bundle instead of hard-coded messages
by Julien Kronegg (JIRA)
EntityHome created/updated/deleted default messages should come from resource bundle instead of hard-coded messages
-------------------------------------------------------------------------------------------------------------------
Key: JBSEAM-4313
URL: https://jira.jboss.org/jira/browse/JBSEAM-4313
Project: Seam
Issue Type: Feature Request
Components: Core
Affects Versions: 2.1.2.GA
Reporter: Julien Kronegg
Priority: Minor
The EntityHome default messages on creation/update/deletion are hard-coded in the org.jboss.seam.framework.Home class:
protected void initDefaultMessages()
{
Expressions expressions = new Expressions();
if (createdMessage == null) {
createdMessage = expressions.createValueExpression("Successfully created");
}
if (updatedMessage == null) {
updatedMessage = expressions.createValueExpression("Successfully updated");
}
if (deletedMessage == null) {
deletedMessage = expressions.createValueExpression("Successfully deleted");
}
}
While the messages can be updated in the "messages_en.properties" (using "MyEntityClass_created" key for example), this must be done for each entity class. This is painful!
It would be nice if we get the following messages decreasing priority for the entity class MyEntityClass:
1. "MyEntityClass_created"
2. "org.jboss.seam.framework.Home_defaultCreated"
3. static message "Successfully created"
Note: the example above is given for the creation message only
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 7 months
[JBoss JIRA] Created: (SEAMSOCIAL-6) Errors with Facebook component the sample application
by Antoine Büsch (JIRA)
Errors with Facebook component the sample application
-----------------------------------------------------
Key: SEAMSOCIAL-6
URL: https://issues.jboss.org/browse/SEAMSOCIAL-6
Project: Seam Social
Issue Type: Bug
Components: Facebook
Affects Versions: 3.0.0.Alpha1
Environment: MacOS X / JBoss 6.0.0
Reporter: Antoine Büsch
Assignee: Antoine Sabot-Durand
When deploying the sample application and clicking on the Facebook icon, I get a Facebook page with an error message. The following stacktrace appears in the console:
21:30:45,370 ERROR [STDERR] javax.xml.bind.JAXBException: "org.jboss.seam.social.linkedin.model" doesnt contain ObjectFactory.class or jaxb.index
21:30:45,371 ERROR [STDERR] at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:197)
21:30:45,372 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
21:30:45,372 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
21:30:45,372 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
21:30:45,372 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
21:30:45,373 ERROR [STDERR] at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:127)
21:30:45,373 ERROR [STDERR] at javax.xml.bind.ContextFinder.find(ContextFinder.java:276)
21:30:45,373 ERROR [STDERR] at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:412)
21:30:45,373 ERROR [STDERR] at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:375)
21:30:45,373 ERROR [STDERR] at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:279)
21:30:45,374 ERROR [STDERR] at org.jboss.seam.social.linkedin.LinkedInHanlderScribe.init(LinkedInHanlderScribe.java:68)
21:30:45,374 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
21:30:45,374 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
21:30:45,374 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
21:30:45,374 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
21:30:45,375 ERROR [STDERR] at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
21:30:45,375 ERROR [STDERR] at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
21:30:45,375 ERROR [STDERR] at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
21:30:45,375 ERROR [STDERR] at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
21:30:45,375 ERROR [STDERR] at org.jboss.weld.introspector.jlr.WeldMethodImpl.invoke(WeldMethodImpl.java:193)
21:30:45,375 ERROR [STDERR] at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:591)
21:30:45,376 ERROR [STDERR] at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget.postConstruct(ManagedBean.java:200)
21:30:45,376 ERROR [STDERR] at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:340)
21:30:45,376 ERROR [STDERR] at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:121)
21:30:45,376 ERROR [STDERR] at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:99)
21:30:45,376 ERROR [STDERR] at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:87)
21:30:45,377 ERROR [STDERR] at org.jboss.seam.social.linkedin.org$jboss$weld$bean-jboss$classloader:id="vfs:$$$Users$abusch$apps$jboss-6$0$0$Final$server$default$deploy$social-web-client$war"-ManagedBean-class_org$jboss$seam$social$linkedin$LinkedInHanlderScribe_$$_WeldClientProxy.getType(org$jboss$weld$bean-jboss$classloader:id="vfs:$$$Users$abusch$apps$jboss-6$0$0$Final$server$default$deploy$social-web-client$war"-ManagedBean-class_org$jboss$seam$social$linkedin$LinkedInHanlderScribe_$$_WeldClientProxy.java)
21:30:45,377 ERROR [STDERR] at org.jboss.seam.social.example.webclient.SocialClient$1.apply(SocialClient.java:81)
21:30:45,377 ERROR [STDERR] at org.jboss.seam.social.example.webclient.SocialClient$1.apply(SocialClient.java:75)
21:30:45,377 ERROR [STDERR] at com.google.common.collect.Maps.uniqueIndex(Maps.java:490)
21:30:45,377 ERROR [STDERR] at org.jboss.seam.social.example.webclient.SocialClient.init(SocialClient.java:74)
21:30:45,377 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
21:30:45,378 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
21:30:45,378 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
21:30:45,378 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
21:30:45,378 ERROR [STDERR] at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)
21:30:45,378 ERROR [STDERR] at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
21:30:45,378 ERROR [STDERR] at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
21:30:45,379 ERROR [STDERR] at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)
21:30:45,379 ERROR [STDERR] at org.jboss.weld.introspector.jlr.WeldMethodImpl.invoke(WeldMethodImpl.java:193)
21:30:45,379 ERROR [STDERR] at org.jboss.weld.bean.AbstractClassBean.defaultPostConstruct(AbstractClassBean.java:591)
21:30:45,379 ERROR [STDERR] at org.jboss.weld.bean.ManagedBean$ManagedBeanInjectionTarget.postConstruct(ManagedBean.java:200)
21:30:45,379 ERROR [STDERR] at org.jboss.weld.bean.ManagedBean.create(ManagedBean.java:340)
21:30:45,380 ERROR [STDERR] at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:121)
21:30:45,380 ERROR [STDERR] at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:99)
21:30:45,380 ERROR [STDERR] at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:87)
21:30:45,380 ERROR [STDERR] at org.jboss.seam.social.example.webclient.org$jboss$weld$bean-jboss$classloader:id="vfs:$$$Users$abusch$apps$jboss-6$0$0$Final$server$default$deploy$social-web-client$war"-ManagedBean-class_org$jboss$seam$social$example$webclient$SocialClient_$$_WeldClientProxy.getServiceHandlers(org$jboss$weld$bean-jboss$classloader:id="vfs:$$$Users$abusch$apps$jboss-6$0$0$Final$server$default$deploy$social-web-client$war"-ManagedBean-class_org$jboss$seam$social$example$webclient$SocialClient_$$_WeldClientProxy.java)
21:30:45,380 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
21:30:45,381 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
21:30:45,381 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
21:30:45,381 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
21:30:45,381 ERROR [STDERR] at javax.el.BeanELResolver.getValue(BeanELResolver.java:302)
21:30:45,381 ERROR [STDERR] at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175)
21:30:45,381 ERROR [STDERR] at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:71)
21:30:45,382 ERROR [STDERR] at org.apache.el.parser.AstValue.getValue(AstValue.java:134)
21:30:45,382 ERROR [STDERR] at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:187)
21:30:45,382 ERROR [STDERR] at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:55)
21:30:45,382 ERROR [STDERR] at org.jboss.weld.el.WeldValueExpression.getValue(WeldValueExpression.java:55)
21:30:45,382 ERROR [STDERR] at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:106)
21:30:45,383 ERROR [STDERR] at com.sun.faces.facelets.component.UIRepeat.getValue(UIRepeat.java:268)
21:30:45,383 ERROR [STDERR] at com.sun.faces.facelets.component.UIRepeat.getDataModel(UIRepeat.java:244)
21:30:45,383 ERROR [STDERR] at com.sun.faces.facelets.component.UIRepeat.setIndex(UIRepeat.java:434)
21:30:45,383 ERROR [STDERR] at com.sun.faces.facelets.component.UIRepeat.process(UIRepeat.java:468)
21:30:45,383 ERROR [STDERR] at com.sun.faces.facelets.component.UIRepeat.encodeChildren(UIRepeat.java:953)
21:30:45,383 ERROR [STDERR] at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1643)
21:30:45,383 ERROR [STDERR] at javax.faces.render.Renderer.encodeChildren(Renderer.java:164)
21:30:45,384 ERROR [STDERR] at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:849)
21:30:45,384 ERROR [STDERR] at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1643)
21:30:45,384 ERROR [STDERR] at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646)
21:30:45,384 ERROR [STDERR] at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646)
21:30:45,384 ERROR [STDERR] at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:389)
21:30:45,384 ERROR [STDERR] at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:127)
21:30:45,384 ERROR [STDERR] at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:269)
21:30:45,385 ERROR [STDERR] at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:269)
21:30:45,385 ERROR [STDERR] at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:117)
21:30:45,385 ERROR [STDERR] at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
21:30:45,385 ERROR [STDERR] at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135)
21:30:45,385 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:309)
21:30:45,385 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)
21:30:45,385 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
21:30:45,386 ERROR [STDERR] at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67)
21:30:45,386 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
21:30:45,386 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
21:30:45,386 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
21:30:45,386 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
21:30:45,386 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)
21:30:45,387 ERROR [STDERR] at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
21:30:45,387 ERROR [STDERR] at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
21:30:45,387 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
21:30:45,387 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)
21:30:45,387 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
21:30:45,387 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
21:30:45,387 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
21:30:45,388 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
21:30:45,388 ERROR [STDERR] at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)
21:30:45,388 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
21:30:45,388 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
21:30:45,388 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)
21:30:45,388 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
21:30:45,389 ERROR [STDERR] at java.lang.Thread.run(Thread.java:680)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 7 months