[jboss-user] [JBoss Seam] - Re: JAAS Authentication and the actor
Thank you for helping this poor sole :) I think this should go into documentation ... Best regards, Jo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097155#4097155 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097155 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam architcture question - reusability of jsf include eleme
Hi, I'm pondering how Seam solves the problem of decoupling a ui element from its action class so that it can be reused. Lets take an example, suppose I have a datatable that I want to re-use in several places but i want different clickable actions on (unknown at design time) action classes on the grid items depending on the context that I am using it. In other words how can one make action references dynamic ? Troy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097154#4097154 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097154 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: trouble with getting to work
Here it is :) | @Name("items") | @Scope(ScopeType.CONVERSATION) | public class Items { | | @Logger Log log; | @In EntityManager entityManager; | | private List groups; | | @Create | public void init() { | log.info("init()"); | groups = entityManager.createQuery("select g from Group g").getResultList(); | } | | public List getGroups() { | return groups; | } | | public void setGroups(List groups) { | this.groups = groups; | } | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097153#4097153 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097153 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: trouble with getting to work
Can we see the session bean that #{items} refer to? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097152#4097152 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097152 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - trouble with getting to work
Hi, I've read the doc and still can't get this Seam feature to work. Essentially I have something simple but I keep getting this: | 15:18:15,305 WARN [lifecycle] EntityManager is closed | java.lang.IllegalStateException: EntityManager is closed | at org.hibernate.ejb.EntityManagerImpl.getSession(EntityManagerImpl.java:42) | at org.hibernate.ejb.AbstractEntityManagerImpl.joinTransaction(AbstractEntityManagerImpl.java:447) | at org.hibernate.ejb.AbstractEntityManagerImpl.joinTransaction(AbstractEntityManagerImpl.java:442) | at org.jboss.seam.persistence.EntityManagerProxy.joinTransaction(EntityManagerProxy.java:120) | at org.jboss.seam.framework.EntityIdentifier.find(EntityIdentifier.java:25) | at org.jboss.seam.ui.converter.EntityConverterStore.get(EntityConverterStore.java:43) | at org.jboss.seam.ui.converter.EntityConverter.getAsObject(EntityConverter.java:81) | at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:152) | at com.sun.faces.renderkit.html_basic.MenuRenderer.convertSelectOneValue(MenuRenderer.java:197) | at com.sun.faces.renderkit.html_basic.MenuRenderer.getConvertedValue(MenuRenderer.java:359) | at javax.faces.component.UIInput.getConvertedValue(UIInput.java:934) | at javax.faces.component.UIInput.validate(UIInput.java:860) | at javax.faces.component.UIInput.executeValidate(UIInput.java:1065) | at javax.faces.component.UIInput.processValidators(UIInput.java:666) | at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1030) | at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1030) | at org.ajax4jsf.component.UIAjaxForm.processValidators(UIAjaxForm.java:80) | at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1030) | at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:662) | at org.ajax4jsf.component.AjaxViewRoot.access$201(AjaxViewRoot.java:59) | at org.ajax4jsf.component.AjaxViewRoot$3.invokeRoot(AjaxViewRoot.java:321) | at org.ajax4jsf.context.JsfOneOneInvoker.invokeOnRegionOrRoot(JsfOneOneInvoker.java:56) | at org.ajax4jsf.context.AjaxContextImpl.invokeOnRegionOrRoot(AjaxContextImpl.java:173) | at org.ajax4jsf.component.AjaxViewRoot.processValidators(AjaxViewRoot.java:335) | at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:100) | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244) | 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.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:63) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73) | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:82) | 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.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141) | at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281) | 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.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-user] [JBoss Seam] - Re: rich:tree nodes expanded by default
Got it. stateAdvisor was a solution. Regards, Yuriy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097150#4097150 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097150 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Portal and using openxchange ldap for users
check out this link http://jboss.com/index.html?module=bb&op=viewtopic&t=120031 hope this will answer your question SGM View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097149#4097149 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097149 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - rich:tree nodes expanded by default
Hi, Any ideas on how to have all nodes of rich:tree to be expanded by default? Thank you, Yuriy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097145#4097145 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097145 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Using JAAS Authentication with SSL
Hi btsibr- Sorry, we will answer this in due course. We're just very busy at the moment! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097144#4097144 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097144 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: call ServerPeer.enableMessageCounters on jboss startup
There's no way to do this automatically currently. If you like you could add a feature request in JIRA to add a parameter which if true would enable message counters on start up. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097143#4097143 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097143 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problems with Seam-gen (and maven i guess)
Same problem happening to me. Trying to run seam-gen, in particular "seam setup" and get error message during the init phase: anonymous wrote : 1 required artifact is missing. | | for artifact: | unspecified:unspecified:jar:0.0 | | from the specified remote repositories: | central (http://repo1.maven.org/maven2) | How do you change the maven repository for seam-gen? I do not generally use maven, too many problems :-). thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097142#4097142 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097142 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Is passing a object through el to JavaScript possible?
Just tested this in my case works great! Good stuff. | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097140#4097140 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097140 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Out-jection fails to work in certain conditions - Bewar
Ok. This sounds suspiciously like a problem that I thought was fixed. I'll take a look at your test case in a little bit. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097137#4097137 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097137 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Deploy native libraries in an ear
May be it's a late reply (just found this post occasionally). Try to use resource adapters (look up for J2EE Connector Architecture) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097136#4097136 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097136 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Caused by: javax.faces.el.EvaluationException: javax.ejb.EJB
@Stateful @Name("registerNewMember") public class RegisterNewMemberAction implements RegisterNewMember { @PersistenceContext EntityManager em; //@Resource //SessionContext ctx; @In Context sessionContext; @In(create=true) @Out NewMember newMember; @In FacesMessages facesMessages; @In Identity identity; @Begin(nested=true, pageflow="newuser") public void startRegister() { } } @Entity @Name("newMember") @Table(name="tbluser") public class NewMember implements Serializable { @Id String birthday; public String getBirtday() { return birthday; } public void setBirthday(String birthday) { this.birthday = birthday; } } http://jboss.com/products/seam/pageflow"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation= "http://jboss.com/products/seam/pageflow http://jboss.com/products/seam/pageflow-2.0.xsd"; name="newuser"> Don't have an account? Create Account I then get this error #{registerNewMember.startRegister}: javax.ejb.EJBTransactionRolledbackException javax.faces.FacesException: #{registerNewMember.startRegister}: javax.ejb.EJBTransactionRolledbackException 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.processApplication(AjaxViewRoot.java:346) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244) 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.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:63) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) 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.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.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:157) at org.apa
[jboss-user] [JBoss Seam] - Re: Is passing a object through el to JavaScript possible?
Actually the status field is a var used in interation in a rich:dataTable, in addition the JavaScript I want to pass the object to does not use AJAX put manipulates decorations on a already rendered GoogleMap. S.D. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097132#4097132 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097132 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Is passing a object through el to JavaScript possible?
Thanks for the response, I'll take a look at that the jsFunction you mentioned. S.D. "IGx89" wrote : One solution would be to have something like the following in your HEAD section: | | | | | | var status = #{status}; | | | | | | and just use that var in your script. | | Another possible (much more elaborate) method would be to use a4j:jsFunction View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097131#4097131 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097131 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: selectOneMenu without form submission
Either use a4j:support nested inside your button using "onclick" or use an a4j:commandButton instead of an s:button. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097130#4097130 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097130 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Excel support in Seam: any interest?
Did the library ever get opened up? If this is available, I'd love to take a look at it. We're about to be generating really basic (yet functionally important to our customers) XLS reports, and this would be all we needed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097129#4097129 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097129 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Out-jection fails to work in certain conditions - Bewar
Hi Norman, Yes I can confirm that by simply changing the scope to SESSION and removing the @Begin does make the example work. I also tried the @Out(required=false) Item and changed the page to read the @Out-jected item instead of the action class getter and left the scope as CONVERSATION. I got the following: 1. The @Create annotation method did fire, makes sense as there is now no reference to the testPage class in the rendering as all reference is to the out-jected item variable. 2. The example works, albeit slightly differently as item is null to begin with until you press the New Item link, but otherwise everything works as expected. If I force the @Create to run by inserting a dummy #{testPage.item} into the page, leave the scope as CONVERSATION the example goes back to not working. If I use @Factory("item") instead of create the example fails. (Scope is still CONVERSATION) If I change the scope to SESSION and use @Factory("item") the example fails If I change the scope to SESSION and use @Create (with and without forcing the @Create method to run) the example works! Hope this helps, its sure baffling me. It seems curious combinations of @Create @Factory and session scope are causing the failure As an aside does anyone know why jboss 4.2 keeps running out of PermGen Space on deployment? I am using: Seam 2.0.0BETA RichFaces 3.1.0 Jboss 4.2.GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097128#4097128 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097128 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Getting Blank Task Form
I am using Eclipse Version 2.0.0 with bundled plugin and jbpm-jpdl-3.2.2 I am trying to deploy/run first example on jBoss site (Holiday Request). Everything goes fine till I start running the instance. On task form I see blank form, can someone advise how I can resolve it. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097125#4097125 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097125 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - nullpointer at DatabasePersistencePolicy.listTimerHandles
Hi! When I deploy my application in Jboss4.0.5GA ( clustered) I get nullpointer exception at org.jboss.ejb.txtimer.DatabasePersistencePolicy.listTimerHandles . Is it some database-connection problem or some configuration error ? I've succed to deploy it when running non-clustered Jboss4.0.5. Here is the stacktrace: Problem starting service jboss.j2ee:ear=ebill-ear-1.0-SNAPSHOT.ear,jar=ebill-engine-1.0-SNAPSHOT.jar,name=DefaultExternalInvoiceSystemBrokerBean,service=EJB3 java.lang.NullPointerException at org.jboss.ejb.txtimer.DatabasePersistencePolicy.listTimerHandles(DatabasePersistencePolicy.java:164) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.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 $Proxy26.listTimerHandles(Unknown Source) at org.jboss.ejb.txtimer.EJBTimerServiceImpl.restoreTimers(EJBTimerServiceImpl.java:408) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.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 $Proxy101.restoreTimers(Unknown Source) at org.jboss.ejb3.timerservice.jboss.JBossTimerServiceFactory.restoreTimerService(JBossTimerServiceFactory.java:120) at org.jboss.ejb3.stateless.StatelessContainer.start(StatelessContainer.java:100) 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:102) 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.GeneratedMethodAccessor10.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 $Proxy55.start(Unknown Source) at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:96) at org.jboss.ejb3.Ejb3Deployment
[jboss-user] [JBoss Seam] - getter problem
hi, my problem is a well known problem but nonetheless i'm wondering how to do it right..maybe one of you can help me with this issue: i have a datatable which uses an extended datamodel (similar to this example http://wiki.apache.org/myfaces/WorkingWithLargeTables) to cope with large amount of data. the problem is that @datamodel doesn't work with that kind of object so i need another way how to avoid that my buisness logic (database calls) in the getter are executed several times per request. class: @Scope(ScopeType.SESSION) | @Name("component") | public class Component { | | public getDataModel() { | // calls to database etc. | } | | } xhtml: anonymous wrote : | | | ... | | the data of the table should be refreshed with every request, for example if the user hits the refresh button of the browser. how can i remove my buisness logic from the getter? is there a way to use @factory (and @datamodel)? thanks in advance, sven ps: i'm not using hibernate... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097121#4097121 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097121 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBossWS vs Glassfish, do we a 'Tester' ?
Thanks !! I will put a side saturday for this and get back to you! regards, Inkimar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097120#4097120 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097120 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Is passing a object through el to JavaScript possible?
One solution would be to have something like the following in your HEAD section: | | var status = #{status}; | | and just use that var in your script. Another possible (much more elaborate) method would be to use a4j:jsFunction View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097118#4097118 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097118 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: comp not bound on redeploy
The ear comprises of the wars and jars that depend on each other. There's no seperate files away from the ear. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097116#4097116 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097116 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Is passing a object through el to JavaScript possible?
Basically I want to do something like this but it doesn't appear to work. Is there something I can do to make it work? | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097115#4097115 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097115 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: MDB MessageType problems
Forget it :) Correct way was messageListenerInterface=MessageListener.class Sorry :P View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097114#4097114 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097114 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools 2.0.0.beta4 released
expand the europa update site first then eclipse update manager can figure out to get the proper dependencies. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097113#4097113 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097113 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: document.getElementById() problem with JSF/Seam
thx for the reply. It seems you're right based on the view source (HTML rendered) in IE: bigout I don't know why the hidden field's value ("hideme") is not showing above. val1 is blank and val2 is undefined in the javascript function when I run the app. I modified the main.xhtml from the seam booking example as a test below: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> | http://www.w3.org/1999/xhtml"; | xmlns:ui="http://java.sun.com/jsf/facelets"; | xmlns:h="http://java.sun.com/jsf/html"; | xmlns:f="http://java.sun.com/jsf/core"; | xmlns:s="http://jboss.com/products/seam/taglib"; | xmlns:a="http://richfaces.org/a4j"; | xmlns:ft="http://sourceforge.net/projects/facestrace"; | template="template.xhtml"> | | | | | | | function getInputHidden(obj, id, rowIndex) { | alert('id = ' + id); | alert('rowIndex = ' + rowIndex); | val1 = document.getElementById("mainForm:hotels:1:hideme1"); | alert('val1 = ' + val1.value); | val2 = document.getElementById("mainForm:hotels:1:bigout"); | alert('val2 = ' + val2.value); | } | | | | | | | | | | | | | | | Name | #{hot.name} | | | | | Address | #{hot.address} | | | City, State | #{hot.city}, #{hot.state}, #{hot.country} | | | Zip | #{hot.zip} | | | Action | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097112#4097112 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097112 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - MDB MessageType problems
Hello there! I'm running JBoss 4.2.1 and I have this class inheritance: | public abstract class AbstractMDB implements MessageListener{ | @EJB | private bizRef; | | public abstract void operateMessage(Element message); | | public void onMessage(Message message){ | bizRef.someMethod(); | //create the element | operateMessage(element); | } | | } | @MessageDriven( activationConfig={ | @ActivationConfigProperty(propertyName="destinationType",propertyValue="javax.jms.Queue"), | @ActivationConfigProperty(propertyName="destination", propertyValue="queue/QueueA"), | @ActivationConfigProperty(propertyName="messagingType", propertyValue="javax.jms.MessageListener") | | }) | public class ConcreteMDB1 extends AbstractMDB{ | public void operateMessage(Element message){ | | } | } | Problem is that this code does not deploy :( It throws a "unable to determine messagingType interface for MDB" Is there a way to have an MDB that does not directly implements the MessageListener Interface? Could it be done according to the spec? Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097111#4097111 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097111 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: EJB3 Initialization Parameter
in ejb-jar.xml - inside the tag defining the EJB - SECURITY_PRINCIPAL java.lang.String foo SECURITY_CREDENTIALS java.lang.String bar inside my EJB - @Resource ( name="SECURITY_PRINCIPAL", type=java.lang.String.class, shareable=true ) String secPrincipal; @Resource ( name="SECURITY_CREDENTIALS", type=java.lang.String.class, shareable=true ) String secCredentials; private InitialContext secureCtx = null; then the method private void getSecurityContext() throws Exception { Properties sctxProps = new Properties(); sctxProps.setProperty(InitialContext.SECURITY_PRINCIPAL, secPrincipal); sctxProps.setProperty(InitialContext.SECURITY_CREDENTIALS, secCredentials); sctxProps.setProperty(InitialContext.INITIAL_CONTEXT_FACTORY, "org.jboss.security.jndi.JndiLoginInitialContextFactory"); secureCtx = new InitialContext(sctxProps); } --- and then inside the other method try { getSecurityContext(); Object fbObj = secureCtx.lookup("foo/bar/Manager"); tem = (FooBar) PortableRemoteObject.narrow(fbObj, FooBar.class); } catch(Exception e) { e.printStackTrace(); throw new RemoteException(""+e); } -- View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097109#4097109 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097109 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Authentication Failure
So that worked. Next I wanted to externalize the uid/pwd, i.e. remove the hard-coded values. For that see: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=121632 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097108#4097108 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097108 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Will logging out from JOSSO invalidate the application s
JOSSO forums may help you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097106#4097106 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097106 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: how to qualify java properties with jboss server instanc
The jboss.server.config.url property is only available when running JBoss AS. It is not available in standalone Tomcat. I suggest you define your own system property for the location of the properties file and pass it in on the JVM command line. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097107#4097107 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097107 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: custom login module access httpservletrequest
http://wiki.jboss.org/wiki/Wiki.jsp?page=SecurityFAQ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097105#4097105 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097105 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: identity propagation between different instances
http://wiki.jboss.org/wiki/Wiki.jsp?page=SecurityFAQ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097104#4097104 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097104 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Implemenation of SAML 2.0 for SSO
OpenSAML2 implementation is happening in the community. I guess the JBoss-SSO v2 work can start sometime. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097102#4097102 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097102 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: mapping principals with digital certificates
You will need to provide an implementation of the CertificatePrincipal interface. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097103#4097103 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097103 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Good build.xml to build the ear file
here's one i threw together, i'll leave it to you to figure out the dir structure that goes along with it :) | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097101#4097101 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097101 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: The JSF library situation in JBoss explained (it's calle
I don't know if it's working with cluster or not. But cluster and JBoss Portal are two different things, so I don't understand your question. I do know that JBoss Portal is using a custom classloader to deal with some of the JSF issues discussed earlier in this thread. For your OutOfMemoryError, there is a good wiki on that here: http://wiki.jboss.org/wiki/Wiki.jsp?page=OutOfMemoryExceptions Stan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097100#4097100 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097100 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools 2.0.0.beta4 released
I'm having a problem using the updated to get this new version. Eclipse keeps complaining about dependencies when I select the JBossTools Core 2.0.0beta4 Eclipse Modeling Framework Technology Workbench Integration (1.1.0.v200702011903) requires plug-in "org.eclipse.emf.edit.ui (2.2.0)", or compatible. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097099#4097099 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097099 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Using valves to perform custom login based on http cooki
You need an authenticator along the lines of GenericHeaderAuthenticator. http://anil-identity.blogspot.com/2007/04/tip-3-token-based-perimeter.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097098#4097098 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097098 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Login information
Disable container authentication and use your own authentication. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097096#4097096 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097096 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - selectOneMenu without form submission
The scenario: I have a payment form where the user select a supplier by choosing from a dropdown menu. The user can edit supplier's data by selecting one from the menu and clicking the "Edit" button. After editing (or canceling) changes, it returns to the payment form. So, I need to get the value of a populated by a by using a or a - without submitting the form. If I submit the form, the whole validation phase takes place and that's not what I want. Any ideas? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097097#4097097 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097097 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: HOW JAAS works in jboss container
If u r using container authentication, then JAAS is an internal aspect of JBoss AS. Now if you want to do authentication in your application and want to do JAAS, then you instantiate the login context. But the configuration of the login module, still happens in conf/login-config.xml or using DynamicLoginConfig. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097095#4097095 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097095 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: JACC integration with JBoss
JBoss implements the JACC specification in line with the Java EE 1.4 requirements. http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSX http://wiki.jboss.org/wiki/Wiki.jsp?page=JACC View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097094#4097094 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097094 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Help securing 3 webapps
Enable the apache single sign on valve in tomcat server.xml http://wiki.jboss.org/wiki/Wiki.jsp?page=SingleSignOn http://anil-identity.blogspot.com/2007/10/tip-7-sso-between-web-applications.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097093#4097093 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097093 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: javax.naming.NameNotFoundException whe doing jndi lookup
i don't know much about web logic, but i imagine JBoss has a different default JNDI naming convention. so, you could probably share the same java code, but you'd still have to provide an app. server specific deployment descriptor. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097092#4097092 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097092 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Problem with Entity Manager dependency injection in JBos
have you tried putting the persistence.xml in the META-INF dir? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097090#4097090 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097090 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: comp not bound on redeploy
is there a separate war or jar that depends on classes in the ear? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097089#4097089 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097089 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Out-jection fails to work in certain conditions - Bewar
Can you verify that your example does or doesn't work if you change the scope to SESSION and remove the @Begin. (still using an entity) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097088#4097088 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097088 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: javax/el/ELResolver on JBoss 4.2.1.GA
JBoss 4.2 uses the JSF RI whereas JBoss 4.0 uses myfaces. Your app will not work until you make the appropriate configuration changes. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097086#4097086 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097086 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam nightly builds
JIRA for 2.0.0.GA states 53 of 53 complete. good job. when can we download it? it's not available yet on http://labs.jboss.com/jbossseam/download/index.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097077#4097077 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097077 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: how to qualify java properties with jboss server instanc
I also think these libraries can be in a Tomcat server as well. Sorry I forgot to say that. The above would only work in JBoss? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097074#4097074 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097074 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - avoid lazy-initialization exceptions during Web Service acce
I actually posted this in the JBossWS forum, but due to the underwhelming response (0 replies to date) I was thinking maybe I posted in the wrong forum so I'm posting here, where the EJB3 audience lives. It involves exposing my EJB3 SLSBs as @WebServices. Here's the original post from http://www.jboss.com/index.html?module=bb&op=viewtopic&t=121620 (if anyone has any enlightening words of wisdom, they would be greatly appreciated): anonymous wrote : We have a pretty big problem that I was hoping to get some feedback on how others solved the problem. Its a common-enough problem that I think others must have run into this. | | We've got some SLSBs that return EJB3/JPA entities. We've annotated our SLSBs with @WebService so we can have a python client call into the SLSB via the web service interface. | | Some of the SLSB methods return entities that are not fully, eagerly loaded. That is, for performance reasons, we don't need to eagerly load in all relationships before the SLSB returns the entity to the web service client. | | However, when the web service container attempts to encode the entity in its XML representation, it calls the getters for those relationships we haven't loaded. This, in turn, throws the infamous LazyInitializationException. | | Clearly, the answer is not to force web service apps to eagerly load all entity relationships. However, for maintenance purposes, we don't want to have to create another layer of data-transfer objects just to support the web service stuff (the SLSB API works fine from a Java UI client - the only problem occurs when needing web service access since this only happens when the web service container needs to encode the returned entity in XML). | | Is there some way (annotation? configuration?) that we can tell the web service container to null out or otherwise not call the getters that we know won't work? Can we get the web service container to catch these lazy-init exceptions and just null out the XML value when returning the entity to the client? | | How do others solve this problem? | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097072#4097072 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097072 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Assignable too limited?
In the interest of purity, the "Assignable" interface is admirably sparse. However, from a practical point of view, it seems it would be useful if the "Assignable" interface included the following methods: getId() getName() getActorId() getPooledActors() These methods could help in writing reusable code and in development. getId() and getName() are very practical for logging as well as for handling special cases in reusable code. getActorId() and getPooledActors() are useful for skipping unnecessary processing if an actor and/or pool of actors has already been assigned. Also useful for logging. Has anyone else felt the need for these methods? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097069#4097069 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097069 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Missing project file in 3.2.2
"kukeltje" wrote : That is because there is no jbpm source tarball anymore. Use anonymous cvs access to get the source. Nah. I can't access the cvs server from work and don't need the hassle. Thanks anyway. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097067#4097067 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097067 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: HELP!!! PDF generation and unicode
What does the top declaration of your facelet page look like? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097064#4097064 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097064 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools Documentation
Thanks for the link. The documents I found before were outdated. Almost all of them referred JBoss IDE instead of JBoss Tools. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097063#4097063 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097063 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - hibernate search: @Indexed disabled from persitence.xml?
how can I disable action for @Indexed from persistence.xml ? thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097060#4097060 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097060 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBoss Seam and Mac OSX
Ok, i've found the solution. Mac OSX default ant installation is not provided with ant-antlr.jar ... so you just have to copy ant-antlr.jar to /usr/share/ant/lib ant that's it !! Vincent View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097055#4097055 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097055 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Form Element ID changed
Thanks for the reply. I was able to use the prototype form.getInputs('text') to get an array of my form elements and replace the values that way. However, this doesn't work like I expected. Even though the HTML form contains the correct values, the bean that the search is bound to has the old values. I'm not sure if I can get around that, or if Ajax would be a better way to approach this after all. MG View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097051#4097051 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097051 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Some seam/drools questions
Disclosure: I have about four hours of experience with drools. This contrived rule works: rule ReadJobTicket | no-loop | activation-group "permissions" | when | check: PermissionCheck(name == "jt", action == "read", granted == false) | JobTicket(titleName : title) | Role(name == titleName) | then | check.grant(); | end Permission is granted when the user has a role that matches the title in JobTicket. What I really want is permission granted when the user has a role that matches a field in the job ticket's organization. Something like: rule ReadJobTicket | no-loop | activation-group "permissions" | when | check: PermissionCheck(name == "jt", action == "read", granted == false) | JobTicket(orgPrefix : organization.getPrefix()) | Role(name == orgPrefix) | then | check.grant(); | end Unfortunately, this doesn't work. I'm not sure I'm referencing the prefix field in the jobTicket's organization properly. Can someone give me a clue? JobTicket has a method getOrganization(); Organization has a method getPrefix(). Next, I wanted to try inserting a long-lived fact into working memory in my app's authentication method. The seam documentation provides: ((RuleBasedIdentity) RuleBasedIdentity.instance()).getSecurityContext().insert(currentUser); But I'm pretty sure it should read: ((RuleBasedIdentity) Identity.instance()).getSecurityContext().insert(currentUser); But this generates a null pointer exception; it appears the security context does not exist. Any idea why? And finally, can someone tell me what this means (from the seamspace example): MemberBlog(member : member -> (member.getUsername().equals(principalName))) I can't find anything in the drools documentation that describes this particular syntax. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097050#4097050 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097050 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: UnsupportedOperationException at conversationList
I am using Woodstock component library and its because of the Woodstock UIComponentELResolver, that the seam built-in components are not working. Is there any way this can be resolved so that we can use Woodstock and Seam together? Thanks ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097048#4097048 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097048 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Out-jection fails to work in certain conditions - Bewar
One solution would be to have "@Out private Item item;" in TestPageAction. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097046#4097046 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097046 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Form Element ID changed
JSF pretty much generates id's of the form : container1ID:container2ID:elementID but it depends on the container. If you are still stuck there are other ways to approch this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097044#4097044 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097044 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: away from console setup for jmx-console?
"PeterJ" wrote : The "cannot find the server" message usually means that there is no host that corresponds to the IP address. Can you ping the server? | | What is in the /etc/hosts file? | | Have you tried setting -Djava.net.preferIPv4Stack=true in the JVM command options. | | So many things that can go wrong. Ain't Linux grand?!? | | As far as I remember (it was a while back when I set up iptables), I had to open ports as follows: | | Port 8080 was sufficient for http | | Ports 1099 and 1098 were needed for JNDI and RMI (e.g, client using messing or EJBs) | | Ports , 4445 were needed for JMX clients. I coworker of mine (extremely smart in Unix/Linux) thinks 8080 isn't entirely opened up as I was told. He showed me a test. Gotta wait until Monday until the fella that can work with 8080 returns. If the attempt to reconfigure 8080 fails again, I'll post my settings that you asked. Thanks again for you prompt help. P.S. Linux is a blast! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097043#4097043 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097043 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: javax/el/ELResolver on JBoss 4.2.1.GA
I forget to put first line of Exception : anonymous wrote : | 17:45:12,171 ERROR [[/pvente]] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener | ... | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097040#4097040 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097040 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: org.jboss.util.ChapterExRepository can't be imported
How did you encounter this class? It is not in 4.0.5, 4.2.1 or 5.0beta2. I even searched the sources. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097035#4097035 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097035 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: how to qualify java properties with jboss server instanc
You could access the properties file using one of the system properties that identifies jboss directories. For example, if the properties file is at server/xxx/config/app.properties, you can access it as follows: String configDir = System.getProperties("jboss.server/config.url"); | Properties prop = new Properties(); | prop.load(new FileInputStream(configDir + "app.properties")); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097033#4097033 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097033 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - javax/el/ELResolver on JBoss 4.2.1.GA
I get an an javax/el/ELResolver Exception when project is deployed on Server 4.2.1.GA. project has been created using Seam-Gen with Server 4.0.5.GA and is working fine on 4.0.5.GA. If I check the libraries folder on the server jboss-4.2.1.GA\server\default\lib, I can see the jar : el-api.jar which contains the class. Any Idea ? Thanks in advance Here is the Exception on the server : | java.lang.NoClassDefFoundError: javax/el/ELResolver | at org.jboss.seam.jsf.SeamApplication12.(SeamApplication12.java:35) | at org.jboss.seam.jsf.SeamApplicationFactory.getApplication(SeamApplicationFactory.java:29) | at com.sun.faces.config.ConfigureListener.application(ConfigureListener.java:467) | at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:513) | at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:487) | at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:381) | at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69) | at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4359) | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761) | at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741) | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) | 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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.apache.catalina.core.StandardContext.init(StandardContext.java:5310) | 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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301) | at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104) | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) | at org.jboss.web.WebModule.startModule(WebModule.java:83) | at org.jboss.web.WebModule.startService(WebModule.java:61) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy44.start(Unknown
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: away from console setup for jmx-console?
The "cannot find the server" message usually means that there is no host that corresponds to the IP address. Can you ping the server? What is in the /etc/hosts file? Have you tried setting -Djava.net.preferIPv4Stack=true in the JVM command options. So many things that can go wrong. Ain't Linux grand?!? As far as I remember (it was a while back when I set up iptables), I had to open ports as follows: Port 8080 was sufficient for http Ports 1099 and 1098 were needed for JNDI and RMI (e.g, client using messing or EJBs) Ports , 4445 were needed for JMX clients. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097029#4097029 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097029 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: portal tree expansion doesn't work
Hello ! I have the same problem but I am using panel collapsible. Is there any solution for this problem? help me please T_T View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097028#4097028 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097028 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Good build.xml to build the ear file
Is there a good template for an ANT build.xml file? I would like to compile, build, deploy, undeploy, test an ear application. Thanks for Your support. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097027#4097027 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097027 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:selectDate of
So use one out of whatever other component set you use - pretty much everyone has one ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097025#4097025 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097025 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - javax.ejb.EJBTransactionRolledbackException: In attribute re
Can someone help I am using seams 2.0 and I am getting this error when trying it run my code @Stateful @Name("registerNewMember") public class RegisterNewMemberAction implements RegisterNewMember { @PersistenceContext EntityManager em; //@Resource //SessionContext ctx; @In Context sessionContext; @In(create=true) @Out NewMember newMember; @In FacesMessages facesMessages; //@In Identity identity; @Begin(nested=true, pageflow="newuser") public void startRegister() { } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097024#4097024 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097024 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Form Element ID changed
Hello All, Using Seam 2.0.0CR1, I have a form where I want to change the value of a element based on the selection of a DDLB. It seems overkill to use Ajax, and to make a round trip to the server in order to change the value of an HTML input -- so I wrote a simple JS function to change the value: First the JSF Source: | | | Select Period: | | | | | | | | | | From Due Date: | | | | | To Due Date: | | | | The JS Source: | | // | The problem is that the JS code errors because the id's of the HTML form elements are mangled by RichFaces. How can I get the ID's of the elements as they appear in the cooked page in order to make this JS function work? Thanks in advance, MG View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097022#4097022 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097022 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: EJB with infinite loop does not timeout
Hi, Thank you for your reply. I have found a solution for decouple my App with the SLSB, but i want a way to kill that SLSB that is consuming 100% of CPU. Is there a way to signal the JBoss to kill that instance that is not functioning well ? Because i am dependent of external SLSB which are on my JBoss, i need a way to kill those that are not responding for a large period of time. My tests used the TransactionManager to reduce the transaction timeout, but that did not result. The timeout has passed and the resources were not freed. Now i am trying to found a way of having the SLSB reference a put it a NULL in order to kill it, but that is not working as well. I am becoming without solutions to solve this problem View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097020#4097020 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097020 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:selectDate of
I think that is bad idea ! I need to use this tag but I dont`t wont to use rich faces library !!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097021#4097021 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097021 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: EJB with infinite loop does not timeout
1) thinks in JMS for decouple APPs. 2) SLSB not support @Remove. Remove is a SFSB event. regards, DC View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097016#4097016 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097016 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How to set and get Portal session
Hi, The isUserInRole("String") always returns false for the default roles in jboss which are "Admin" and "Users" or whatever default roles comes with jboss. I don't know if there are any configurations that I should do first. Searching in this forum for this question is hard since there are lots of question related to this method. I read the documentation and saw there is an API for portal session called PortalSession. Have you ever tried to stored objects in this sesison? If yes, how did you do that? Thanks, SGM View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097017#4097017 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097017 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - how to qualify java properties with jboss server instance
We have 3 JBoss server instances with Java libraries as war files. In the code they access a common java "properties" file. This is common across the 3 servers, since they share the same code. I need to find a way to qualify the variables in the property file with the name of the server instance in which the code is running under. As to have specific properties under each server. How do I change the Java code where they use the property file path and name and access the correct variables with the correct server instance? This is common code across the 3 servers so I cannot specify a specific properties file for each. Has to be dynamic at runtime. Or is there an easier way to do this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097008#4097008 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097008 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Encoding in Mail.java
Hi, I had problems encoding in Mail.java on subject and text. I changed like this : message.addHeader("Content-Transfer-Encoding", "UTF-8"); | message.setSubject(subject, "UTF-8"); | message.setText(text, "UTF-8"); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097004#4097004 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097004 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: MS SQL View as Entity?
Apparently this is a hibernate bug http://opensource.atlassian.com/projects/hibernate/browse/HHH-2018 the good one for you is this was recently corrected :) just check out the last sources... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097005#4097005 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097005 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: version 2 documentation
I've started work on a new Getting Started Guide which you can find in SVN here: http://anonsvn.jboss.org/repos/jbossas/projects/microcontainer/trunk/docs/Getting_Started_Guide/ It's only a couple of pages at the moment as I have still to check in my examples and additional content. To build it you need to enter the following command from within the same directory: mvn install You also need to have you ~/.m2/settings.xml file setup according to this wiki page: http://wiki.jboss.org/wiki/Wiki.jsp?page=MavenSettings View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097001#4097001 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097001 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: How to verify isolated all services for 2nd Cluster?
The first four are the standard ones. The last only comes into play if you go out of your way to use an obscure feature in the jmx-console. Unfortunately there's no simple way to verify isolation. A good approach is to give each cluster a different partition name (via the -g swtich at startup) and then include the partition name as an element in the group name passed to JGroups. This is controlled via the "PartitionName" attribute in cluster-service.xml and the "ClusterName" attribute in the other files. If you do this and mistakenly mix the clusters, they will complain in the logs about receiving messages for another group, alterting you to the problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097000#4097000 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097000 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBossWS vs Glassfish, do we a 'Tester' ?
Hi, have a look at soapUI (http://www.soapui.org), which is an extremely popular free open-source desktop app for invoking, testing and simulating any web-service. It even has built-in support for the jbossws wsconsume toolset and there are plugins for eclipse, netbeans and IDEA.. Previously there was also a dedicated plug-in for JBossIDE, put it has not yet made it into the new JBoss Tools stack.. Good Luck! /Ole eviware.com View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096997#4096997 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096997 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: HELP!!! PDF generation and unicode
Hi guys, It's really urgent! Does anybody has a solution for that??? Anything! Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096998#4096998 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096998 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Load Balancing?
Yes, although at this point mod_jk remains the preferred solution. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096996#4096996 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096996 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: away from console setup for jmx-console?
"PeterJ" wrote : Don't forget to open the ports in your firewall. I opened 8080, 1099, 1098, , 4445. The guy that opens up ports here at work isn't available right now to do that for me. Is port 8080 good enough because I know for a fact that port 8080 has been opened but I still get "Cannot find server" on my html attempt when I enter the following in my internet explorer browser at my desk: http://xxx.xx.xxx.xx:8080/jmx-console (xxx.xx.xxx.xx is my hard-coded IP address to get to the server in our computer room) Do I need all five to get a successful jmx-console displayed at my desk? I'm a newbie. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096993#4096993 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096993 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Jbossws Tutorial.
:) the problem was my constructor was not declard with PUBLIC modifier. The second thing, the war file is never published if it is renamed from .rar extension to .war. It should always be proper zip file and that can renamed to war and it works fine. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096992#4096992 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096992 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Portal and using openxchange ldap for users
"roth" wrote : Check out http://wiki.jboss.org/wiki/Wiki.jsp?page=GiveAdminPrivileges I did. The role name in my ldap server is called "Admin", so the name did not change. That is where I am getting confused. Thanks for the reply View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096990#4096990 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096990 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Jbossws Tutorial.
I was doing a mistake and it deployed succesfully. Now , I created consumer.java | import java.rmi.RemoteException; | | import javax.xml.rpc.ServiceException; | import de.iplabs.*; | | public class consumer | { |public static void main(String args[]) |{ | | HelloWorldImplService service = new HelloWorldImplService (); | HelloWorldImpl user = service.getHelloWorldImplPort(); | System.out.println("Server said: " +user.getName()); | System.out.println("Server said: " +user.getAge()); |} | } | and when i run it, i get this error . C:\Office\WebService\complex\Consumer>java consumer Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Canot get target bean instance at com.sun.xml.internal.ws.encoding.soap.ClientEncoderDecoder.toMessageInfo(Unknown Source) at com.sun.xml.internal.ws.encoding.soap.client.SOAPXMLDecoder.toMessageInfo(Unknown Source) at com.sun.xml.internal.ws.protocol.soap.client.SOAPMessageDispatcher.receive(Unknown Source) at com.sun.xml.internal.ws.protocol.soap.client.SOAPMessageDispatcher.doSend(Unknown Source) at com.sun.xml.internal.ws.protocol.soap.client.SOAPMessageDispatcher.send(Unknown Source) at com.sun.xml.internal.ws.encoding.soap.internal.DelegateBase.send(Unknown Source) at com.sun.xml.internal.ws.client.EndpointIFInvocationHandler.implementSEIMethod(Unknown Source) at com.sun.xml.internal.ws.client.EndpointIFInvocationHandler.invoke(Unknown Source) at $Proxy9.getName(Unknown Source) at consumer.main(consumer.java:13) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096987#4096987 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096987 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - EJB with infinite loop does not timeout
Hi to all, I have an application which calls other Statless Session Beans, and i want that my application be independent and be protected against EJB which have high executions times. My application has the EJB reference which will call and tests if the execution time of an EJB exceeds a defined timeout. My code tests the duration of the execution and calls the remove() method of that EJB. What i saw is that the remove() method is called and returns, but the CPU usage of that EJB is not freed. Apparently the EJB is NOT removed and stopped by the Container. I have tested with an Stateless Session Bean which has a method that implements a infinite loop. So this EJB never returns. I need help in order to know how to signal the Container to stop this EJB and to freed the resources used by it. Thanks in advance for your help. Jo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096985#4096985 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096985 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jBPM-BPEL as a JBI component in a JBI ESB environment ?
Hi all, I'm beginner in Services and Web-Services development, but my boss asked me to do : jBPM-BPEL integration as a JBI component in a JBI ESB platform. Does anybody know if that can be done, and if it is coherent to do ? I read this topic : http://www.jboss.com/index.html?module=bb&op=viewtopic&t=116182 And what I understand is that nobody did it before because is better to run BPEL in a separate server instance than the ESB instance. Anyway, is it is possible, can anybody give me hints/links to start such developement ? Many thanks by advance :) y(oYo) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096982#4096982 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096982 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBossWS vs Glassfish, do we a 'Tester' ?
Hi, JBoss currently lacks something similar to the Glassfish ws Tester, however we're working on this. For further information, take a look at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=121127 Feel free to comment! In the meantime you might evaluate Wise http://www.javalinuxlabs.org/wise/, a tool to test ws through a web interface almost like the Glassfish tester. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096978#4096978 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096978 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Jbossws Tutorial.
i can't see any problem, i tried it exactly with the code you have posted and it works View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096976#4096976 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096976 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: web service and asynchronous processing
dear vitor_b, did you manage to do asynchronous calls as you described here? i would be very interested in how it works. or can anyone else help me? i don't want a stateful shopping card, but a webservice that calls back to the client after processing the request, because in my case this can be some days later. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096974#4096974 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096974 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Unable to process deoployment descriptor for context 'null'
Hi, Have looked on the forums and not found any reference to the warning message: Unable to process deoployment descriptor for context 'null' Has anyone had this message when deploying to JBoss and discovered the solution? Thanks in advance, Mike View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096970#4096970 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096970 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user