[jboss-user] [JBoss Messaging] - Re: PingTimerTask broken pipe
1. Each JBossMessaging connection has a "control:" thread associated with it on the client side. I've tried to reproduce the phenomenon of control threads outliving the messaging connection, but so far I haven't been able to. 2. I noticed that a new Timer is being created on the client side for each messaging connection. That wasn't my intention, and I'll fix it, but these Timers have daemon threads. Looking at the code, I don't see how the only TimerTask scheduled on each would not be canceled when the messaging connection is closed. I'm not saying there isn't a problem somewhere in the bisocket transport that is causing these threads to remain alive, but I haven't found one yet. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060248#4060248 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060248 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ResourceBundle in Database
Ok thanks. I don't know if I did it the right way though, but it seems to be working, and I tryed to follow peter's steps (page1) as much as possible. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060246#4060246 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060246 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - web service returns list?
hi i am using JAX-WS RI 2.0_03-b24-fcs version. i want to know JAX WS 2.0 supports list interface.can web service return list? could any one help me in this? thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060244#4060244 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060244 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - portlet with eCommerce style assets
Does JBoss Portal support some kind of concept of assets with cms type functionality. I need to create a e-commerce style portlet that allows a user to choose two products see the total cost and buy. Each product would have a number of attributes such as description, features etc. Its not that complicated. I could just store the products in the database but I need to allow admin users to edit the description and feature list with a similar approach to cms module where you get a wysiwyg edit and approval work flow. Any thoughts on how this can be done in JBoss Portal? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060243#4060243 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060243 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - New to seam: How to choose proper context and achieve extern
Hi! Here is what I am trying to do: 1. I need a page that loads its dataTable contents from db fresh every time I access the page. 2. The items in the dataTable need to be clickable and bookmarkable in the future; this is why s:link was chosen. According to my experience, @Scope(PAGE) does not cut it with elements, as the parameters are passed on as null. 3. My business items allow clicking a link, but instead of directly linking the user to the external url I want to record the click-count first. So intuitively I thought I could just return the url from the click-counting action. The solutions I have tried are the following: 1. Page scope seems to have the right idea: the dataTable contents are refreshed from db each time the page is refreshed. However, page context seem to have problems with requirement 2 -- or am I doing something else wrong? 2. If I use Session scope, the works fine and passes the actual objects as parameters to the desired method recordLinkClickAndRedirect(). However, with Session scope the dataTable does not get fresh data in a new page-refresh, because the session is still alive. I can actually make this happen by binding the @Destroy and @Remove annotations to my recordLinkClickAndRedirect() method, but it seams like a hack and I would rather not do that if there is a better way. 3. I have not found a way to redirect from within my recordLinkClickAndRedirect() method, but intuitively it seems like there should be a way as this is how navigation can normally be affected. Here are my code snipplets: ::: from items.xhtml Latest business items #{businessItem.description} ::: from ItemViewer.java @Stateless @Scope(ScopeType.PAGE) @Name("itemViewer") public class ItemViewer implements LocalInterface { @PersistenceContext private EntityManager entityManager; @DataModel @SuppressWarnings("unused") private List businessItems; /** * This method TODO * */ @Factory("businessItems") @SuppressWarnings("unchecked") public void getFreshBusinessItems() { businessItems = (List) entityManager .createQuery("select b from businessItem b"); } /** * This method records that the link has been clicked and redirects the * browser to the specific link. * * @param businessItem * @return */ public String recordLinkClickAndRedirect(BusinessItem businessItem) { businessItem.incrementClicks(); return businessItem.getExternalLinkURL(); } /** * This method is required by some scopes, e.g., Session scope. */ // @Destroy // @Remove public void destroyAndRemove() { // n.a. } } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060241#4060241 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060241 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: [newbie] problem with hibernate mapping while trying to
Your object is stored in jbpm_bytearray/block because there is no hibernate mapping for it, that means, unknown serializeable objects are stored as byte-array. (This behaviour is declared in jbpm.varmapping.xml) I tired a similar scenario some time ago. I am not sure if it fits exactly your needs but maybe this helps: 1. Create table in your jbpm-db, e.g. jbpm_test 2. Create mapping class for test: com/test/Test.java 3. Create hibernate mapping file: com/test/Test.hbm.xml 4. Put mapping into your hibernate.cfg.xml: 5. Put all into your ear/war Thats all... Now you should be able to create/use objects of type test in your process, which are taken/stored in your table. In variableinstance, only references to your table are stored. I am not sure but in your example you use package "dgbdatamodel". hibernate tells you "Resource: com/dgbdatamodel/Student.hbm.xml not found". So maybe you should change your package to "com.dgbdatamodel". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060240#4060240 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060240 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Icefaces+seam
Hi, thanks for the reply. After following the instructions provided at the seam/ice-faces integration,i get the following exception: | java.lang.IllegalStateException: ICEfaces requires the PersistentFacesServlet. Please check your web.xml servlet mappings | at com.icesoft.faces.context.DOMResponseWriter.(DOMResponseWriter.java:118) | at com.icesoft.faces.context.DOMContext.createTemporaryDOMResponseWriter(DOMContext.java:138) | at com.icesoft.faces.context.DOMContext.attachDOMContext(DOMContext.java:106) | at com.icesoft.faces.renderkit.dom_html_basic.TextRenderer.renderUIOutput(TextRenderer.java:81) | at com.icesoft.faces.renderkit.dom_html_basic.TextRenderer.renderEnd(TextRenderer.java:66) | at com.icesoft.faces.renderkit.dom_html_basic.DomBasicRenderer.encodeEnd(DomBasicRenderer.java:124) | at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536) | at org.ajax4jsf.framework.renderer.RendererBase.renderChild(RendererBase.java:286) | at org.richfaces.renderkit.html.ToolBarGroupRenderer.encodeChildren(ToolBarGroupRenderer.java:68) | at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:524) | at org.ajax4jsf.framework.renderer.RendererBase.renderChild(RendererBase.java:282) | at org.richfaces.renderkit.html.ToolBarRendererBase.encodeChildren(ToolBarRendererBase.java:81) | at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:524) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:573) | at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108) | at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:229) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63) | 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.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.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:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96) | at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.c
[jboss-user] [Installation, Configuration & Deployment] - How to find deployed entity bean(3)
Dear all, Im using ejb3 sample applications on jboss 4.2 version. jboss4.2 providing APIs(EJB3Registry) to find bean metadata for session and MD beans. But I want to find out ejb3 entity bean(annotated) metadata programatically. is there any other API call to find it? Thanx Shivamani View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060238#4060238 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060238 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Cannot find port in wsdl:
Hi, I also get the similar error in the deployment of a service in the JBoss 4.0.4 GA. We are using Jbpm bpel1.1beta3. During the deployment process we get the following error. | org.jboss.ws.WSException: Cannot find port in wsdl: {http://abc.com/ws-bp/batchproduct}BatchproductPT | at org.jboss.ws.metadata.JSR109ServerMetaDataBuilder.buildMetaData(JSR109ServerMetaDataBuilder.java:141) | at org.jboss.ws.server.WebServiceDeployerJSE.createWebServicesMetaData(WebServiceDeployerJSE.java:189) | at org.jboss.ws.server.WebServiceDeployer.create(WebServiceDeployer.java:103) | at org.jboss.ws.server.WebServiceDeployerJSE.create(WebServiceDeployerJSE.java:66) | at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180) | at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91) | 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 $Proxy31.create(Unknown Source) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at sun.reflect.GeneratedMethodAccessor57.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 $Proxy8.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) | The webservices.xml is given below, | | http://java.sun.com/xml/ns/j2ee"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xmlns:tns="http://blwb.abc.com/getGlobalService"; |xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee | http://java.sun.com/xml/ns/j2ee/j2ee_web_services_1_1.xsd";> | | | | | Batch Product Process | | WEB-INF/wsdl/batchproduct-service.wsdl | WEB-INF/jaxrpc-mapping.xml | | | | BatchproductPT | http://abc.com/ws-bp/batchproduct";> | portNS:BatchproductPT | | | org.jbpm.bpel.tutorial.batchproduct.BatchproductPT | | | batchproductServlet | | | | batchproductHandler | | org.jbpm.bpel.integration.server.SoapHandler | | | partnerLinkHandle | batchproduct | | | | | | | | FileReadPortType | | | | | | | | | | | | | | | | | | | | | | | | Could anyone please help us in fixing this as soon as possible ? Thanks & Regards, Ram Kumar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060237#4060237 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060237 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Cannot find port in wsdl (need help)
Hi, I also get the similar error in the deployment of a service in the JBoss 4.0.4 GA. We are using Jbpm bpel1.1beta3. During the deployment process we get the following error. | org.jboss.ws.WSException: Cannot find port in wsdl: {http://abc.com/ws-bp/batchproduct}BatchproductPT | at org.jboss.ws.metadata.JSR109ServerMetaDataBuilder.buildMetaData(JSR109ServerMetaDataBuilder.java:141) | at org.jboss.ws.server.WebServiceDeployerJSE.createWebServicesMetaData(WebServiceDeployerJSE.java:189) | at org.jboss.ws.server.WebServiceDeployer.create(WebServiceDeployer.java:103) | at org.jboss.ws.server.WebServiceDeployerJSE.create(WebServiceDeployerJSE.java:66) | at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180) | at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91) | 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 $Proxy31.create(Unknown Source) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at sun.reflect.GeneratedMethodAccessor57.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 $Proxy8.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) | The webservices.xml is given below, | | http://java.sun.com/xml/ns/j2ee"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xmlns:tns="http://blwb.abc.com/getGlobalService"; |xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee | http://java.sun.com/xml/ns/j2ee/j2ee_web_services_1_1.xsd";> | | | | | Batch Product Process | | WEB-INF/wsdl/batchproduct-service.wsdl | WEB-INF/jaxrpc-mapping.xml | | | | BatchproductPT | http://abc.com/ws-bp/batchproduct";> | portNS:BatchproductPT | | | org.jbpm.bpel.tutorial.batchproduct.BatchproductPT | | | batchproductServlet | | | | batchproductHandler | | org.jbpm.bpel.integration.server.SoapHandler | | | partnerLinkHandle | batchproduct | | | | | | | | FileReadPortType | | | | | | | | | | | | | | | | | | | | | | | | Could anyone please help us in fixing this as soon as possible ? Thanks & Regards, Ram Kumar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060236#4060236 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060236 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: page action not called when login-required=
I could not reproduce this issue. Comments in JIRA. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060235#4060235 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060235 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - jsp portlet commuinication
Hi, I have to develop a portlet application. my frontend is JSP.i just want to call a Portlet from my JSP page. how to call n plz send the code snippet for sample verification any assistance is greatly appreciated. thanx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060234#4060234 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060234 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - wstools-config file for multiple port-types in wsdl
Hi, I am trying to create a wstools config file for a wsdl with multiple ports. Can someone show an example or point me to the DTD/schma for this config file? Thank You in advance Tejas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060231#4060231 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060231 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: process instance and groups
You are right. The first task is assigned to the initiator. No other assignments are possible. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060232#4060232 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060232 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam-PDF + Facelets
sorry... dynamically include other facelests while generating a pdf... | ... | | | | | | ... |some other specific info | | | | | It works beautifully in jsf/fscelets but not in seam-pdf View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060229#4060229 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060229 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: java.rmi.ConnectException
Thank you for your reply, the problem is with the network now it has been corrected and working fine. Thank you very much. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060228#4060228 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060228 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Deployment Problem From Example
"colablade" wrote : since IDE 1.6, the deployment is done as the following: | | open ur processdefinition.xml in the IDE and u'll find 5 tabs underneath the 3rd is 'deployment', click on it, and there it is. | | actually, there're explanations at http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmGettingStarted | u need to read on... hah, sorry, sorry for this stupid question :), it so easy :), Thank you, Regards, Paata. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060227#4060227 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060227 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: ;issue with java.lang.reflect.Proxy
please post the solution if you solve this problem or send a mesagge.. thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060226#4060226 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060226 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: ;issue with java.lang.reflect.Proxy
please I have the same problem ... did you solve it? ...please View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060225#4060225 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060225 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem with Seam 1.2.1 and Trinidad 1.0.1
Greetings ... Pete and Fmars, thanks for your answers. I obtained successfully deploy a project with Seam 1.2.1 and Trinidad 1.0.1 on JBoss AS 4.2.0, with the normal Jars required and I put adf-facelets.jar in the WEB-INF/lib ... I needed this jar to works my project. I have a only question, this Jar is free for use or is a propietary library, because I don't see this Jar in the MyFaces / Trinidad distribution ?. Thanks !!. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060224#4060224 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060224 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam is better than Struts..?
anonymous wrote : If you are brand new to Java web development, Seam will appear to be confusing and terrible. I'm new to web development, and found that coming from Client Server to the web was thoroughly depressing Once I understood the problems involved in the bigger picture of web development (multiple tab/windows, back buttons + multiple submits, state management without killing the database or the server, and decent navigation + pageflows). Once you understand these problems, you can really see how Seam was built to address them all. Seam really does find a way to make these problems transparent. A lot of frameworks are good for Hello World, but beyond that, you are often on your own and stuck on a frustrating path. Traditional problems in other frameworks are often solved with Hacks while Seam addresses them as part of the framework (i.e. LazyInitializationException). The Seam docs could be better at describing some things, I don't even think they have an example that demonstrates the Update part of CRUD which led to many frustrations for me, but now I've solved those problems, I find Seam wonderful to work with, and to boot it has Ajax , PDF, email and other components built in and a Seam focused IDE coming soon. The level of integration Seam provides with each of its elements (pageflow, process flow, JSF controls, backing beans, messages, logging, persistence context management) is astounding and how frameworks should be. Not this mix and match your parts and pieces and hope it all plays nicely together. Also, there is the productivity issue. I think Seam could beat the snot out of Rails, and you end up with an application that is far more robust and scalable out of the box. Seam-Blog in 15 minutes, no problem. Yep, I'm a new web developer, and I'm really happy with Seam. I stuck with Delphi for 12 years since it came out, and now it looks like I've found a new object of my affection and loyalty. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060223#4060223 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060223 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Datasource Configuration] - Error when making mysql as the default datasource
Hi, I am trying to change my the JDBC Persistence in JBoss 4.0.2 from the default hsqldb to mysql. For this it says that i need to deploy the relevant datasource. So i am tryin to change the datasource from hsql to mysql. The procedure which I followed for it is as follows: 1. To use JBoss 4.0 with MySQL, we first need to put the MySQL driver classes into the CLASSPATH. 2. Copy the .jar file mysql-connector-java-3.0.9-stable-bin.jar to the /server/default/lib directory. 3. To use the MySQL data source, copy /docs/examples/jca/mysql-ds.xml to the /server/default/deploy directory. 4. Modify the mysql-ds.xml configuration file by setting to com.mysql.jdbc.Driver and to jdbc:mysql:///, where is the MySQL host server and is the MySQL database. 5. Next, we need to set the and elements in the standardjaws.xml or jaws.xml file: (standardjaws.xml or jaws.xml file, i can't find in JBoss 4.0.2) java:/MySqlDS mySQL 6. We also need to set the and elements in the standardjbosscmp-jdbc.xml or jbosscmp-jdbc.xml file: java:/MySqlDS mySQL 7. Finally, we modify login-config.xml with MySQL database settings. Add the following element to login-config.xml: sa root root jboss.jca:service=LocalTxCM,name=MySqlDS 8.By modifying the mysql-ds.xml, standardjaws.xml(which i never got), standardjbosscmp-jdbc.xml, and login-config.xml files, the JBoss 4.0 server is configured to be used with a MySQL database. I have removed the hsqldb-jdbc2-service.xml and hsqldb-jdbc-state-service.xml from JBOSS_HOME\server\default\deploy\jmsn and replaced it with mysql-jdbc2-service.xml file. Now the exceptions I am getting on running the server (dufault configuration) are: 08:59:09,281 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA' | 08:59:09,483 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=MySqlDS' to JNDI name 'java:MySqlDS' | 08:59:17,314 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null | org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: | ** BEGIN NESTED EXCEPTION ** | | java.net.UnknownHostException | MESSAGE: mysql-hostname: mysql-hostname | STACKTRACE: | | java.net.UnknownHostException: mysql-hostname: mysql-hostname | at java.net.InetAddress.getAllByName0(InetAddress.java:1128) | at java.net.InetAddress.getAllByName0(InetAddress.java:1098) | at java.net.InetAddress.getAllByName(InetAddress.java:1061) | at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:133) | at com.mysql.jdbc.MysqlIO.(MysqlIO.java:280) | at com.mysql.jdbc.Connection.createNewIO(Connection.java:1765) | at com.mysql.jdbc.Connection.(Connection.java:430) | at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:268) | at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:171) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:577) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:262) | at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:538) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:341) | at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:315) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:396) | at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842) | at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88) | at org.jboss.mq.pm.jdbc2.PersistenceManager.getConnection(PersistenceManager.java:1689) | at org.jboss.mq.pm.jdbc2.PersistenceManager.createSchema(PersistenceManager.java:274) | at org.jboss.mq.pm.jdbc2.PersistenceManager.startService(PersistenceManager.java:1796) | 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.refl
[jboss-user] [JBoss Seam] - Re: pages-2.0.xsd schema - undocumented features
Obviously, this is an undocumented feature so I could be wrong here but: The conversation element is for business conversation Ids, so you can define the conversation Id based on a context variable. You can also use the conversation element to define a conversation parameter definition and then refer to it by name. i.e. | | | | | ... | ... | | | If you navigate to widgetEdit, it will find the value for #{widget} and use the id attribute as the conversation Id. If you try to open two instances of the same widgetEdit page for the same widget (and hence the widget.id value is the same), rather than try and start a new conversation with the same Id, it will automatically switch to the existing conversation. I imagine the child conversation element is so you can define the conversation business Id for that page without needing to define it outside of the page and referring to it by name from the page element. Curious how that works when its a new widget and it has no Id? For more information look in the docs at the Id parameter in the @Begin annotation. This has now been deprecated in 2.0 Beta 1, but it might still be in the docs, and probably referenced in the java docs. It is very likely to be in the 1.2.1 docs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060221#4060221 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060221 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: A better IsLocalInterceptor?
we have the compiled class in a jar in the server/[profile]/lib directory. the interceptors file has: | | | | | | | ... | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060220#4060220 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060220 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: DEFAULT concurrent request timeout value for session-sco
Hi, I understood that there was no way to configure the default timeout value now. DEFAULT timeout value is fixed with Synchronized.DEFAULT_TIMEOUT(1000msec). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060219#4060219 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060219 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re:
Hi Aza, Thanks for the reply. Just wondering the entityManager.. Currently iam using hibernate session rather than entityManager...is it good possible or good practice to mix both? I am still confuse how to configure the entityManager... Hope you can give me some direction... Cheers, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060218#4060218 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060218 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re:
Hi, If you see section in http://docs.jboss.com/seam/2.0.0.B1/reference/en/html/controls.html, the problem will be solved. Define Seam-managed persistence context named "entityManager" in components.xml. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060217#4060217 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060217 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - page action not called when login-required="true"
Hello, This is about the issue: http://jira.jboss.org/jira/browse/JBSEAM-1157 Is it going to be fixed in Seam2? Regards, Richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060216#4060216 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060216 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re:
Hi, another update for this problem. Looks like is looking for Entity Manager : | [EntityConverter] Entity Manager not found | but how do i use/configure entity manager as i have use hibernate session factory? Cheers, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060215#4060215 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060215 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re:
Hi, problem still the existThanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060214#4060214 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060214 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re:
I noticed one thing. | | ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060213#4060213 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060213 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] -
Hi All, I having problem in converting the object from dropdown menu. I have seen the example in UI section. however, it did the same and I got the error message "Error selecting object". The drop menu listed all account types but when i click submit button, i got that error message. Looks like the converter is not running correctly. I am currently using Hibernate, Seam 1.2.1 and AS 4.0.5. here are my snippet code. | | Account Type: | | | | | | accountAction: | private List accountTypeList; | | public List getAccountTypeList() throws Exception { | return this.accountTypeList; | } | | public void setAccountTypeList(List accountTypeList) { | this.accountTypeList = accountTypeList; | } AccountType: | | @Entity | @Name("accountType") | @Table(name = "accounttype") | public class AccountType implements java.io.Serializable { | | private long id; | | private String title; | | private AccountClassification accountClassification; | | private Set accounts = new HashSet(0); | | private Set businessTypes = new HashSet(0); | | public AccountType() { | } | | public AccountType(String title) { | this.title = title; | } | | public AccountType(String title, | AccountClassification accountClassification, Set accounts, | Set businessTypes) { | this.title = title; | this.accountClassification = accountClassification; | this.accounts = accounts; | this.businessTypes = businessTypes; | } | | @Id | @GeneratedValue | @Column(name = "atyp_id_pk", nullable = false) | public Long getId() { | return this.id; | } | | public void setId(Long id) { | this.id = id; | } | | @Column(name = "atyp_title", nullable = false) | public String getTitle() { | return this.title; | } | | public void setTitle(String title) { | this.title = title; | } | | @ManyToOne(fetch = FetchType.EAGER) | @Cascade( { CascadeType.LOCK }) | @JoinColumn(name = "atyp_accountclassification_id_fk") | public AccountClassification getAccountClassification() { | return this.accountClassification; | } | | public void setAccountClassification( | AccountClassification accountClassification) { | this.accountClassification = accountClassification; | } | | @OneToMany(fetch = FetchType.LAZY, mappedBy = "accountType") | @Cascade( { CascadeType.ALL, CascadeType.DELETE_ORPHAN, CascadeType.LOCK }) | public Set getAccounts() { | return this.accounts; | } | | public void setAccounts(Set accounts) { | this.accounts = accounts; | } | | @ManyToMany(fetch = FetchType.LAZY) | @JoinTable(name = "businesstype_accounttype", joinColumns = { @JoinColumn(name = "accounttypeid", updatable = false) }, inverseJoinColumns = { @JoinColumn(name = "businesstypeid", nullable = false, updatable = false) }) | @Cascade( { CascadeType.SAVE_UPDATE, CascadeType.LOCK }) | public Set getBusinessTypes() { | return this.businessTypes; | } | | public void setBusinessTypes(Set businessTypes) { | this.businessTypes = businessTypes; | } | | } | component.xml: | | http://jboss.com/products/seam/components"; | xmlns:core="http://jboss.com/products/seam/core"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xmlns:security="http://jboss.com/products/seam/security"; | xsi:schemaLocation="http://jboss.com/products/seam/core |http://jboss.com/products/seam/core-1.1.xsd |http://jboss.com/products/seam/components |http://jboss.com/products/seam/components-1.1.xsd |http://jboss.com/products/seam/security |http://jboss.com/products/seam/security-1.1.xsd";> | | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060212#4060212 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060212 ___ jboss-user mailing list jboss-u
[jboss-user] [EJB 3.0] - Re: service=EJB3 + is already registered
I keep getting the same exception and I don't have a client app or any jndi.props (except for the default ones) in my project either. i've tried restarting the server many times but it didn't "suddenly" disappear for me. And this only happens when I try to start JBoss from IntelliJ. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060211#4060211 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060211 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - DEFAULT concurrent request timeout value for session-scoped
Hi, The following is descriped in Seam 2.0.0.BETA1 reference guide, 3.2.2 Stateful session beans. anonymous wrote : | Concurrent requests to session-scoped stateful session beans are always serialized by Seam. | I can change maximum wait time for a thread attempting to gain a lock on Seam session-scoped SFSB by using @Synchronized(timeout=...). Then how can i set * default * timeout value for this, as like "concurrent-request-timeout" for the long-running conversation context. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060210#4060210 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060210 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Securing components
You shouldn't call your authenticate method directly, you need to call identity.login() and it will perform a JAAS login which in turn calls your authenticate method. Also, addRole() only adds a role to the list of pre-authenticated roles for the user. It doesn't become a "real" role until authentication is successful, which is why when you call hasRole() inside your authentication method, it returns false (authentication hasn't completed yet!). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060209#4060209 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060209 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SSL Security in seam
Seam doesn't support SSL directly, rather it supports "scheme" switching, i.e. switching between HTTP and HTTPS requests for different pages in your app. To set up SSL, I recommend using Apache HTTPD with SSL in front of JBoss/Tomcat, using the mod_jk (JK 1.2) Tomcat connector. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060207#4060207 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060207 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam-PDF + Facelets
Is there a way to use templates and/or in seam-PDF? I would like to separate headers and footers in other files and dynamically other facelets wile generating a PDF to the client. Is it possible? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060206#4060206 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060206 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: remoting error in 2.0.0.B1 (No application context activ
I've fixed this, the unmarshalling of the remote call was being done before the application (or any) context was created. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060205#4060205 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060205 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM or pages.xml overloading / extending / composition
Hey, Any feedback on this? I don't really need examples, just to know what I want to do is possible and a pointer in the right direction. But if it's not possible, anyone with ideas of how best to tackle it for now would be great as well. Thanks so much for your help, David View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060204#4060204 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060204 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Icefaces+seam
I sugest you go to the IceFaces forum where they discuss the integration with seam: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=112518 I think IceFaces is a much more cleaner concept than ajax4jsf but it proved really hard for me to integrate nicely with seam. I ended up dropping IceFaces from my poroject after I realized I couldn't use with many needed seam features like seam-pdf and seam-navigation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060203#4060203 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060203 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam and JBossWS
You'll need to provide more information than this. What exactly is the problem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060202#4060202 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060202 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Beta Lib Jars different from JBoss 4.2.0.GA
The ones shipped with Seam are the latest production version (1.2.1) however they are a compile-time dependency only. It shouldn't really matter which library you use client-side, remember they are web services so the client could be .Net or C++ for all you care :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060201#4060201 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060201 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Authentication with more parameter than username and pas
I am also interested in a non-javascript solution. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060200#4060200 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060200 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBoss Messaging suitable for these requirements?
I guess you could scheduled deliveries to do what you want. Strikes me as a strange usage though. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060198#4060198 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060198 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBoss Messaging suitable for these requirements?
We don't cuirrently support throttling. This is scheduled for 2.0 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060197#4060197 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060197 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: how to extend EntityQuery
The error has nothing to do with extensind EntityQuery. | there should be exactly one value binding in a restriction: p.featured=true | You must have exactly one value binding in your restriction. Try using | p.features=#{true} | Regards Felix View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060196#4060196 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060196 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Sibling process executions
yes this is possible, just do it... nothing special to it View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060195#4060195 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060195 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: process instance and groups
group assignments do not work for start tasks afair, but I could be wrong. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060194#4060194 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060194 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: disappearing topic
Ah right. This was fixed by Sergey today in TRUNK and will be in 1.4.0.CR1 out in a few days. http://jira.jboss.com/jira/browse/JBMESSAGING-1008 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060193#4060193 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060193 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: disappearing topic
found it! i have been using dots (.) in my subscriptionNames and clientIds. MessageQueueNameHelper now relies on dot as a delimiter. so i removed my dots and all is well. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060191#4060191 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060191 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: h:selectManyCheckbox replaces PersistentBag with Arrays.
I'm not sure why it replaces it, but thats not really the point - the point is that the JSF spec allows it to do this (it doesn't say - if there is an already existing List, then remove all its elements and add new ones). This may be a flaw in the spec (I'm not sure it is) but we can't address that here and now :( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060189#4060189 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060189 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: pages-2.0.xsd schema - undocumented features
"hstang" wrote : | anonymous wrote : The "in"-element can have 3 attributes: | | | | name (required) | | value (required) | | scope (optional) | | name is the context variable name, e.g. a component name | | value is a value expression where you want to set that that looked up component | | so [in name="foo" value="#{bar.foo}"] will set your component named "foo" to your component named "bar"'s foo Thanks, hstang. Makes sense. Before posting my original question above, I had already thought about whether the in-element could be simply meant to bind a context variable to a value (e.g. seam component), as some sort of declarative prerender logic.But I didn't want to post my wild guess. Anyway, if your assumption is true (have not tested it yet), the name of the element ("in") is a misnomer, as there is actually no injection. Only the value of a context variable is set. But I don't know whether a better name for this element would be something like "setContextVar", for example. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060188#4060188 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060188 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: h:selectManyCheckbox replaces PersistentBag with Arrays.
>This is well within the contract for JSF - It simply says that the value >attribute of the UISelectMany should be an array or List - it doesn't say that >it is a PersistentBag. PersistentBag is an implementation of java.util.List and i don't see any need in a replacement of an existing and not empty PersistentBag, especially with an Arrays.ArrayList - which is not a full implementation of the List interface. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060187#4060187 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060187 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem instrumenting hibernate classes with seam 2.0.0B
The contents of thirdparty-all probably changed. I would suggest ensuring you have to the correct dependencies for instrumentation in your classpath outside thirdparty-all.jar (yes, we are working to improve our dependency management). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060186#4060186 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060186 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Run JBoss on Linux!
See http://wiki.jboss.org/wiki/Wiki.jsp?page=StartJBossOnBootWithLinux View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060185#4060185 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060185 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Using log4j's NDC
For what it is worth, here is what I'm currently using with Seam 1.2.1 to add the Seam identity username to the log4j mapped diagnostic context: | @Startup | @Scope(ScopeType.APPLICATION) | @Name("some.package.loggingContextFilter") | @Intercept(InterceptionType.NEVER) | @Install | public class LoggingContextFilter extends AbstractFilter { | | /** Identifier for the username "diagnostic context". */ | public static final String USERNAME_CONTEXT = "username"; | | public void doFilter(ServletRequest servletRequest, | ServletResponse servletResponse, | FilterChain filterChain) | throws IOException, ServletException { | | if (servletRequest instanceof HttpServletRequest) { | HttpServletRequest req = (HttpServletRequest) servletRequest; | String path = req.getServletPath(); | if ((path != null) && (path.endsWith(".seam"))) { | HttpSession session = req.getSession(); | Object o = session.getAttribute("org.jboss.seam.security.identity"); | if (o instanceof Identity) { | Identity identity = (Identity) o; | String username = identity.getUsername(); | if (username != null) { | MDC.put(USERNAME_CONTEXT, username); | } | } | } | } | | filterChain.doFilter(servletRequest, servletResponse); | | MDC.remove(USERNAME_CONTEXT); | } | } | You could do something similar with the NDC if you wanted. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060184#4060184 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060184 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Why doesn't this h:message work for the h:selectOneMenu?
Whats the message (aka where is it originating) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060183#4060183 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060183 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss AS 4.2.0GA + JBoss Portal 2.6 + JSF 1.2 + JSFPortl
No, i will have a look at it. Thanks for your patience and the report. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060182#4060182 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060182 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Run JBoss on Linux!
Hi I execute sh run.sh to run my jboss server but it stop after a few minutes so i went to browser an set http://localhost:8080/ and it set to jboss page but i dont know how see if jboss is running after i torn off the computer it starts automatically? whitc are the commands to see it? Help please Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060181#4060181 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060181 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: pages-2.0.xsd schema - undocumented features
Now I must say since this is undocumented, what I just said to you may very well change..OR it may not. So I would just be cognizant of this fact before relying on it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060180#4060180 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060180 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: pages-2.0.xsd schema - undocumented features
"wschwendt" wrote : "hstang" wrote : | | "in" is like @In.does injection. | | yes, "in" sounds like injection. But injection into WHAT?For @In we have a component as injection target (the instance of the class that contains the @In annotation). But what would be the injection target for the "in"-element when used in pages.xml as child element of the "page" element? | | | The "in"-element can have 3 attributes: | | name (required) | value (required) | scope (optional) name is the context variable name, e.g. a component name value is a value expression where you want to set that that looked up component so [in name="foo" value="#{bar.foo}"] will set your component named "foo" to your component named "bar"'s foo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060179#4060179 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060179 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - separate Entity Beans in a jar file
hi, on a workin ear, i tryied to separate my Entity Beans into a jar, added this one to my project libpath, but i've got this error : 18:07:08,515 INFO [EntityBinder] Bind entity com.satis.specific.bpoccitane.archive.standard.search.data.ArchRequestForSearch on table VARCH REQUESTFINDWITHPERIMETER 18:07:08,562 WARN [ServiceController] Problem starting service persistence.units:ear=satis.ear,jar=satis.jar,unitName=SatisDatabase java.lang.TypeNotPresentException: Type org.jboss.seam.annotations.Name not present at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:98) at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:107) at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:31) at sun.reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java:351) at sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:175) at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:69) at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:52) at java.lang.Class.initAnnotationsIfNecessary(Class.java:2998) at java.lang.Class.getAnnotations(Class.java:2980) at org.hibernate.reflection.java.JavaAnnotationReader.getAnnotations(JavaAnnotationReader.java:29) at org.hibernate.reflection.java.EJB3OverridenAnnotationReader.initAnnotations(EJB3OverridenAnnotationReader.java:275) at org.hibernate.reflection.java.EJB3OverridenAnnotationReader.getAnnotation(EJB3OverridenAnnotationReader.java:249) at org.hibernate.reflection.java.JavaXAnnotatedElement.getAnnotation(JavaXAnnotatedElement.java:36) at org.hibernate.cfg.AnnotationBinder.processElementAnnotations(AnnotationBinder.java:1474) at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:699) at org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:353) at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:265) at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1034) at org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:1015) at org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:154) at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:751) at org.hibernate.ejb.Ejb3Configuration.createContainerEntityManagerFactory(Ejb3Configuration.java:350) at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:119) at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:264) 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:99) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor4.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.GeneratedMethodAccessor7.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 $Proxy49.start(Unknown Source) at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:82) at org.jboss.ejb3.Ejb3Deployment.startPersistenceUnits(Ejb3Deployment.java:626) at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.jav
[jboss-user] [JBoss Portal] - Re: No bridge detected for application factory org.jboss.sea
i'm with you! i have been wanting to upgrade to Sun RI, but was waiting for all the pieces of the puzzle line up. portal was the last piece and until this morning i didn't think it supported the Sun RI. i look forward to getting this thread straightened out and then leaving myfaces behind. let me know if there is any additional way i can help out! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060177#4060177 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060177 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: disappearing topic
Also check you're not including messaging-client.jar or any other messaging or remoting jars in your ear. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060176#4060176 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060176 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: disappearing topic
I find in situations like this a process of elimination works well. Have a look at the ejb3 example in the distro. First verify that it works for you. Then have a look at the differences between that and your application. Eliminate the differences one by one. At some point it will start working. Then you'll know what the problem is. My guess is there's probably some incorrect config somewhere. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060175#4060175 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060175 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - separate out Entity Beans in a jar file
hi, on a workin ear, i tryied to separate my Entity Beans into a jar, added this one to my project libpath, but i've got this error : 18:07:08,515 INFO [EntityBinder] Bind entity com.satis.specific.bpoccitane.archive.standard.search.data.ArchRequestForSearch on table VARCH REQUESTFINDWITHPERIMETER 18:07:08,562 WARN [ServiceController] Problem starting service persistence.units:ear=satis.ear,jar=satis.jar,unitName=SatisDatabase java.lang.TypeNotPresentException: Type org.jboss.seam.annotations.Name not present at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:98) at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:107) at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:31) at sun.reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java:351) at sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:175) at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:69) at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:52) at java.lang.Class.initAnnotationsIfNecessary(Class.java:2998) at java.lang.Class.getAnnotations(Class.java:2980) at org.hibernate.reflection.java.JavaAnnotationReader.getAnnotations(JavaAnnotationReader.java:29) at org.hibernate.reflection.java.EJB3OverridenAnnotationReader.initAnnotations(EJB3OverridenAnnotationReader.java:275) at org.hibernate.reflection.java.EJB3OverridenAnnotationReader.getAnnotation(EJB3OverridenAnnotationReader.java:249) at org.hibernate.reflection.java.JavaXAnnotatedElement.getAnnotation(JavaXAnnotatedElement.java:36) at org.hibernate.cfg.AnnotationBinder.processElementAnnotations(AnnotationBinder.java:1474) at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:699) at org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:353) at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:265) at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1034) at org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:1015) at org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:154) at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:751) at org.hibernate.ejb.Ejb3Configuration.createContainerEntityManagerFactory(Ejb3Configuration.java:350) at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:119) at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:264) 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:99) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor4.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.GeneratedMethodAccessor7.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 $Proxy49.start(Unknown Source) at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:82) at org.jboss.ejb3.Ejb3Deployment.startPersistenceUnits(Ejb3Deployment.java:626) at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.jav
[jboss-user] [JBoss Portal] - Re: JBoss AS 4.2.0GA + JBoss Portal 2.6 + JSF 1.2 + JSFPortl
Could it be that I need the patched jsf portlet bridge mentioned in this issue?http://jira.jboss.com/jira/browse/JBPORTAL-1486;jsessionid=788CB448234352BDD5561EA5DDD2875B?page=all Is that all that's required you think? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060173#4060173 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060173 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: disappearing topic
i'm not sure i follow. if you are talking about the classpath my ear is not scoped. i have not specified a loader-repository in the jboss-app.xml. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060172#4060172 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060172 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: No bridge detected for application factory org.jboss.sea
It wasn't supposed to be a solution, just a question :) I was just curious to know why you so wanted to use myFaces. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060171#4060171 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060171 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: What must I do to make the back button stop working?
if ( history.forward(1) ) { history.replace(history.forward(1)); } ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060170#4060170 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060170 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: converter and dropdowns
Try | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060169#4060169 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060169 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Access messages for a component from el
If you are using Seam 1.2.1.GA then the templated s:decorate which includes a #{invalid} variable which evaluates to true if there is an error message View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060166#4060166 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060166 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Why doesn't this h:message work for the h:selectOneMenu?
Hi folks, I've got a page with a selectOneMenu on it. The validation h:message just displays the message right next to it. This approach works for all of the text fields correctly, but for some reason it doesn't work with this selectOneMenu. Instead the message gets displayed in the area of the page normally reserved for top level messages. rms:enumListConverter is an enum converter. | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060165#4060165 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060165 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: pages-2.0.xsd schema - undocumented features
"wschwendt" wrote : | 1) In pages.xml an element named "conversation" can be placed as child element below the "pages"-element. This conversation element can have three attributes: name, parameter-name and parameter-value. | | What is this "conversation"-element good for? This is currently undocumented, and we know its undocumented - sorry! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060168#4060168 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060168 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam2.0B1: Asynchrony and mailer applications
This is a Seam JavaBean so try marking the method @Transactional View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060164#4060164 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060164 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Does Seam really support back buttoning?
Ok thanks for the help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060163#4060163 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060163 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: No bridge detected for application factory org.jboss.sea
yep, same thing with Sun RI | 17:53:09,515 WARN [JSFMetaBridgeFactory] No bridge detected for application factory org.jboss.seam.jsf.SeamApplicationFactory | 17:53:09,515 ERROR [STDERR] javax.faces.FacesException: org.jboss.portal.faces.portlet.JSFMetaBridgeLifecycleFactoryImpl | 17:53:09,515 ERROR [STDERR] at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:569) | 17:53:09,515 ERROR [STDERR] at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:448) | 17:53:09,515 ERROR [STDERR] at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:249) | 17:53:09,515 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:832) | 17:53:09,515 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:502) | 17:53:09,515 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:402) | 17:53:09,515 ERROR [STDERR] at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69) | 17:53:09,515 ERROR [STDERR] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854) | 17:53:09,515 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4359) | 17:53:09,515 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761) | 17:53:09,515 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741) | 17:53:09,515 ERROR [STDERR] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) | 17:53:09,515 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor139.invoke(Unknown Source) | 17:53:09,515 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 17:53:09,515 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 17:53:09,515 ERROR [STDERR] at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) | 17:53:09,531 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | 17:53:09,531 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 17:53:09,531 ERROR [STDERR] at org.apache.catalina.core.StandardContext.init(StandardContext.java:5310) | 17:53:09,531 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source) | 17:53:09,531 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 17:53:09,531 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 17:53:09,531 ERROR [STDERR] at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) | 17:53:09,531 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | 17:53:09,531 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 17:53:09,531 ERROR [STDERR] at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301) | 17:53:09,531 ERROR [STDERR] at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104) | 17:53:09,546 ERROR [STDERR] at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) | 17:53:09,546 ERROR [STDERR] at org.jboss.web.WebModule.startModule(WebModule.java:83) | 17:53:09,546 ERROR [STDERR] at org.jboss.web.WebModule.startService(WebModule.java:61) | 17:53:09,546 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | 17:53:09,546 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | 17:53:09,546 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | 17:53:09,546 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 17:53:09,546 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 17:53:09,562 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 17:53:09,562 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 17:53:09,562 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | 17:53:09,562 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 17:53:09,562 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 17:53:09,562 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | 17:53:09,578 ERROR [STDERR] at $Proxy0.start(Unknown
[jboss-user] [JBoss Seam] - Re: pages-2.0.xsd schema - undocumented features
"hstang" wrote : | "in" is like @In.does injection. yes, "in" sounds like injection. But injection into WHAT?For @In we have a component as injection target (the instance of the class that contains the @In annotation). But what would be the injection target for the "in"-element when used in pages.xml as child element of the "page" element? The "in"-element can have 3 attributes: name (required) value (required) scope (optional) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060161#4060161 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060161 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: No bridge detected for application factory org.jboss.sea
i am actually moving in that direction, but i suspect this error will happen with the SUN RI also. thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060160#4060160 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060160 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: No bridge detected for application factory org.jboss.sea
I will look at it tomorrow. Any specific reason why you want to use myFaces and not using the Sun RI ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060159#4060159 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060159 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Does Seam really support back buttoning?
The easiest way to test this is to try it out with a simple app. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060158#4060158 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060158 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Does Seam really support back buttoning?
Ok, I guess I told you wrong. jPDL pageflows are related to jBPM because they are installed using the jBPM namespace in components.xml | | pageflow.jpdl.xml | | But you don't have to use jBPM in order to use pageflows. Now if you are not defining any jBPM processes, there really is no "process" scope. What will get rolled back using the back button is the Long Running conversation that is started in the pageflow defined in pageflow.jpdl.xml NOT pages.xml, I was mistaken in my previous post, sorry. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060157#4060157 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060157 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Assigning Roles to Scheduler MBean
I've a scheduler MBean service that does a lookup for a session EJB. The create on the localhome fails with Insufficient method permissions, principal=null, ejbName=ReportingPeriodManager, method=create, interface=LOCALHOME, requiredRoles=[servlet, ejbsession], principalRoles=[] | Here is the descriptor for the MBean service: | true | com.metatime.jboss.schedule.ReportingPeriod | ReportingPeriodSchedule,123456789 | java.lang.String,long | NOW | 6 | -1 | jboss.j2ee:service=EJB,jndiName=ReportingPeriodManager | | I haven't been able to figure out how to associate a Principal or Role to the MBean service. Is there something like a "run-as" on mbeans? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060155#4060155 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060155 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: No bridge detected for application factory org.jboss.sea
you can reproduce the error using the examples/portal from the seam 1.2.1.GA distribution. steps: - install portal 2.6 on AS 4.2 - replace the jsf libs with myfaces per the wiki - build seam/examples/portal - copy war and datasource to deploy dir - start app server the exception from the original posting will be generated View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060152#4060152 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060152 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: pages-2.0.xsd schema - undocumented features
anonymous wrote : | | 2) The "page"-element can have a child element named "in" with the following attributes: name, scope and value. | | Again, what is the "in"-element good for? | in is like @In.does injection. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060151#4060151 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060151 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBOSS Portal 2.6 + MyFaces within my application not wor
"egandt" wrote : First off there is a Wiki document at http://wiki.jboss.org/wiki/Wiki.jsp?page=Running2.6WithJBossAS4.2.xAndMyFaces | This is only needed if you intend to use MyFaces instead of JSF RI globally, at the application-server level. "egandt" wrote : Which appears to cover this topic, however after making the changes suggested, the portal works, but not my application which uses both ADF and MYfaces. In a JBoss Application Server 4.2 I fix my problems with MYFACES by adding the lines: | | | | | | | org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL | | | | true | | | | | to the web.xml located at default/deploy/jboss-web.deployer/conf under: | If I am not mistaken, you're basically instructing JBoss AS to disregard the JSF implementation bundled with AS and use whichever your app is providing. So in essence, you didn't need to replace RI by MyFaces as described in the Wiki. This breaks Portal because Portal doesn't bundle a JSF implementation. Why are you bundling MyFaces with your app? Why not just ADF? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060150#4060150 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060150 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Does Seam really support back buttoning?
"smithbstl" wrote : Nope, I think you just have to use jPDL for navigation (aka Seam Navigation). That is in no way dependent on using jBPM. Ok, so lets assume i use jPDL to define the navigation rules. Is it the conversation scope that gets rolled back to previous state, or the process scope? If i define a stateful session bean with conversation/process scope will the bean state get rolled back? Thanks, Henri Karapuu View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060149#4060149 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060149 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Assigning a task to->{group, rolebased, ...}
Hi Ronald, Without any success, I have been trying to install version 3.2.1 of jbpm-jpdl today. (As I had problems with the previous installation i.e., version 3.1.2, I was a bit resistant to do this until your reply yesterday). I can not get the GPD Eclipse plugin to work. I find the installation direction in jbpm-jpdl-3.2.1\designer\readme file very cryptic. I also had a look at the 3.0 installation directions on http://docs/jboss.com/jbpm/v3/gpd/installation.html. I tried to follow the plugin installation directions there but got stuck after selecting Open in figure 1.4 (in these directions) with the error message Invalid Site "Selected archive does not contain an update site. ...". I did not find where to download the site-configuration zip file. I did try to do this plugin installation in Eclipse 3.1.2 and had some inconsistency with figure 1.3 (so it may be version problems). Anyway, I am obviously a bit lost and would very much appreciate if you or anyone else could direct me to! some more helpful installation directions for the jbpm-jpdl-3.2.1 from these provided in the readme file with the download file. Thanks in advance! Regards, Petia View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060147#4060147 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060147 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Does Seam really support back buttoning?
Nope, I think you just have to use jPDL for navigation (aka Seam Navigation). That is in no way dependent on using jBPM. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060146#4060146 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060146 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam2.0B1: Asynchrony and mailer applications
I'm trying to use @Asynchronous for sending emails--typical use-case. I'm running into a couple bizarre problems doing this. I'm getting two different stack traces in a couple areas of my application when sending emails using this approach. I try looking at the docs and the provided examples, not sure what's wrong. Here's my configuration: ##components.xml | | | @Name("mailSender") | @AutoCreate | public class MailSender { | public void send(@Duration long initialDelay, User user) { | Contents.getEventContext().set("user", user); | try { |Renderer.instance().render("/p/welcome.xhtml"); | } catch (Exception e) { | e.printStackTrace(); | } | } | | } | Stacktrace #1 - Uses the same class MailSender, just a different method. | 16:55:32,839 [http-127.0.0.1-8080-1] ERROR ExceptionFilter:67 - handling uncaught exception | javax.servlet.ServletException: #{locationAction.update}: javax.persistence.TransactionRequiredException: no transaction is in progress | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:256) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:87) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:63) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:46) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73) | at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127) | at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277) | at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:40) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:63) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:140) | 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:619) | Caused by: javax.faces.FacesException: #{locationAction.update}: javax.persistence.TransactionRequiredException: no transaction is in progress | at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:107) | at javax.faces.component.UICommand.broadcast(UICommand.java:383) | at org.ajax4jsf.framework.ajax.AjaxViewRoot.processEvents(AjaxViewRoot.java:180) | at org.ajax4jsf.framework.ajax.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:158) | at org.ajax4jsf.framework.ajax.AjaxViewRoot.proc
[jboss-user] [JBoss Seam] - Re: Does Seam really support back buttoning?
Thanks! But I thought that the back=enabled was only relevant when using jBPM? /Henri View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060144#4060144 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060144 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Failed to deploy hello example
Hi, Our company is currently evaluating BPEL solutions, and JBoss is naturally a top one, since we use JBoss today in production. However the hello example that came with the package failed to deploy, and gave the following error: java.lang.AbstractMethodError: org.jbpm.bpel.xml.ArchiveWsdlLocator.close() .. .. I used 4.2.0 GA. I noticed that there is a post complained the same issue, but for one whole month, there was no answer... Thanks, Peter View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060142#4060142 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060142 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Does Seam really support back buttoning?
You have to enable back button support on a page by page basis via pages.xml http://docs.jboss.com/seam/2.0.0.B1/reference/en/html/jbpm.html#d0e5005 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060141#4060141 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060141 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Can LdapLoginModule do role "inheritence"?
I'm not quite sure how to express this. I've always had a hard time grasping ldap concepts for some reason, but I know what I want to accomplish. I want to have inherited, or overridable roles. I want to set up default roles for all servers, and have override settings. So for a role "canFoo" with users A and B in it, I want in some other branch representing a specific server X "canFoo" with user C as a member. So users A and B have canFoo for all servers, and user C has this just for server X. This way I have a list of default roles, and a number of servers can have individual role overrides. I want to use this same technique for server properties, but right now authentication is the issue. Just letting me know the right term for this will help me in perhaps finding an example if it's possible. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060140#4060140 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060140 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm-bpel deploy example problem
I had the same problem. We are currently investigate different BPEL solutions, and JBoss is one of the tops ones, since we use Jboss AP today. the evaluation period is rather short... it will be great if someone from JBoss can help to answer this question. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060139#4060139 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060139 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Access messages for a component from el
I am removing tomahawk from my application. One of the tags that I use is | | | I do this to have the error message as a title to the input so that it will appear with it is moused over without any extra javascript. I also use it to change the color of the the text in the field if an error is found. What is the best way to do this with seam? Is there a way to access the message for a specific component using el? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060135#4060135 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060135 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JBOSS Portal 2.6 + MyFaces within my application not working
First off there is a Wiki document at http://wiki.jboss.org/wiki/Wiki.jsp?page=Running2.6WithJBossAS4.2.xAndMyFaces Which appears to cover this topic, however after making the changes suggested, the portal works, but not my application which uses both ADF and MYfaces. In a JBoss Application Server 4.2 I fix my problems with MYFACES by adding the lines: | | | org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL | | true | | to the web.xml located at default/deploy/jboss-web.deployer/conf under: | | |
[jboss-user] [JBoss Seam] - pages-2.0.xsd schema - undocumented features
I've just taken a look at the schema definition ( pages-2.0.xsd ) for the pages.xml configuration file. >From my perspective there are two things of note: 1) In pages.xml an element named "conversation" can be placed as child element below the "pages"-element. This conversation element can have three attributes: name, parameter-name and parameter-value. What is this "conversation"-element good for? 2) The "page"-element can have a child element named "in" with the following attributes: name, scope and value. Again, what is the "in"-element good for? The Seam docs (as of Seam2.0.0Beta1) say nothing about it yet, and the Seam examples don't make use of this elements either. I'm aware that there's way too much traffic on this mailing list/forum and I don't want to bother the Seam developers with mundane questions, but perhaps my question is of interest to more users, so I'm posting it here. Regards, Wolfgang View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060132#4060132 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060132 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - how to extend EntityQuery
Seam 1.2.1 Jboss 4.0.5 I have extended EntityQuery: | @Name("predictionList") | @Scope(CONVERSATION) | public class PredictionList extends EntityQuery | { | private static final long serialVersionUID = -28849438634100838L; | | @In(required=true, create=true) | private PredictionFilter predictionFilter; | | @Override | public String getEjbql() { | return "select p from Prediction p"; | } | | @Override | public List getRestrictions() | { | System.out.println("getRestrictions() called. PredictionFilter:" + predictionFilter); | | ArrayList restrictions = new ArrayList(0); | | if (predictionFilter.getFilterChoice().equals(PredictionFilter.FilterChoice.ALL)) | { | return restrictions; | } | | if (predictionFilter.getFilterChoice().equals(PredictionFilter.FilterChoice.FEATURED)) | { | restrictions.add("p.featured=true"); | return restrictions; | } | | if (predictionFilter.getFilterChoice().equals(PredictionFilter.FilterChoice.EDITORSPICKS)) | { | restrictions.add("p.editorspick=true"); | return restrictions; | } | | return restrictions; | | } | | ... | | When I use predictionList in my view: | | | ... | I get the following exception: | javax.faces.el.EvaluationException: /layout/predictions.xhtml @8,118 rendered="#{empty predictionList.resultList}": com.mystuff.fresh.domain.PredictionList_$$_javassist_304 | at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:60) | at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:822) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:241) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:573) | at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101) | at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:221) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | 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:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:75) | at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:213) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.
[jboss-user] [JBoss Seam] - Re: Seam is better than Struts..?
If you are brand new to Java web development, Seam will appear to be confusing and terrible. If you have been doing web development for a while, you will know that Seam is the best that we have got. If you want to do StrutsV1, then do StrutsV1. The sad truth is that the Java world is moving towards JSF, it is unavoidable. I don't know how long it will take, but it will happen eventually. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060128#4060128 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060128 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user