[jboss-user] startup/shutdown script problem.
Hi All, We have a Jboss server that is running session cache cluster, when i start/restart them via .run.sh script, i get these lines at the end of command output, - [EMAIL PROTECTED] ./run.sh . . INFO [Server] Jboss SHUTDOWN: undeploying all packages INFO [Server]Shutdown complete shutdown complete Halting VM --- in clue? TIA -- Nayyar Ahmad ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: using import.sql with multiple datasources
Hi when I set the property hibernate.hbm2ddl.auto to create in one datasource and not in the other - it works. My problem is that I have tables that should bei created each time and some are not! here it seems I need one datasource special for the tables that I want to create each time - or is there another possilbility? regards Pascal | org.hibernate.ejb.HibernatePersistence | java:/pms-msgbrowserDatasource | | | | | | | | | | org.hibernate.ejb.HibernatePersistence | java:/pms-msgbrowser-LUZDatasource | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071027#4071027 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071027 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - how to interconnect jBPM with a third Party tool ? Pls Help
Hi All , I am quite new to the jBPM tool and I want to figure out if there is anyway to configure the jbpm tool with a billing application . to be more precise , I want to define the work flow in the jBPM interface and then want my billing app to follow the rules defined at the jBPM interface i.e. how to interconnect the JBPM tool and the billing app. I am awaiting for a relief soon .Kindly help me figure it out. Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071026#4071026 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071026 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - JBoss 4.2.1GA and Hibernate validator - broken
The following is not a Seam issue, even though it may be important to Seam users. Bug description: == JBoss AS 4.2.1GA is shipped with Hibernate Core 3.2.4.sp1 Hibernate Annotations 3.2.1.GA Hibernate EntityManager 3.2.1.GA The problem is that instantiation of a Hibernate Validator specified with the org.hibernate.validator.Min annotation fails with an exception (see below). How to reproduce the bug: === Use JBossAS4.2.1GA and the Seam hotel booking example and annotate method getPrice() of org.jboss.seam.example.booking.Hotel with @Min(0). Then deployment of the hotel booking application fails. | 2007-08-06 06:13:45,540 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Starting failed persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase | java.lang.IllegalArgumentException: could not instantiate ClassValidator | at org.hibernate.validator.ClassValidator.createValidator(ClassValidator.java:294) | at org.hibernate.validator.ClassValidator.createMemberValidator(ClassValidator.java:262) | at org.hibernate.validator.ClassValidator.initValidator(ClassValidator.java:215) | at org.hibernate.validator.ClassValidator.(ClassValidator.java:134) | at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:318) | at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1115) | at org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:1233) | | ... | Question: === What needs to be done in order to successfully use the org.hibernate.validator.Min validator? Could a solution be the replacement of the Hibernate packages shipped with JBoss AS 4.2.1GA with more recent versions? I tried to replace those Hibernate jars with Hibernate core 3.3.0GA, Hibernate EntityManager 3.3.1.GA, Hibernate Annotations 3.3.0GA and Hibernate Validator 3.0.0GA, but this produces a a classloading error when Hibernate is started up. Are there any instructions out there how JBossAS needs to be configured when using the latest Hibernate versions? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071023#4071023 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071023 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: SSL with client Auth doesn't seem to work - Help
As Per the doc , i have imported the certificates to the keystores ie client certs to the server keystore and vice-versa. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071022#4071022 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071022 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Portlet with Ajax4jsf
Thks for response. If I've got time, I try to work on it. PS: Sorry for my English. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071021#4071021 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071021 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Issue with JBoss 4.2.1
Hi, I download the JBoss 4.2.1 zip and extracted it to a local folder, Plat form - Fedora Core 5 Java - Java 5 As instructed I executed the run.sh (JAVA_HOME set). but it gives the following exeception, then I thought it is something to do with the existing log4j libraries in my system, then I removed all the log4j references and executed the run.sh but still It gives the following error. I see lot of questions like this with no answer, can some one let me know how to solve the following 13:11:37,798 WARN [BasicMBeanRegistry] preRegister() failed for JMImplementation:type=MBeanServerDelegate: java.lang.NoSuchFieldError: TRACE at org.jboss.logging.Log4jLoggerPlugin.isTraceEnabled(Log4jLoggerPlugin.java:85) at org.jboss.logging.Logger.isTraceEnabled(Logger.java:122) at org.jboss.mx.server.AbstractMBeanInvoker.initAttributeContexts(AbstractMBeanInvoker.java:1009) at org.jboss.mx.modelmbean.ModelMBeanInvoker.initAttributeContexts(ModelMBeanInvoker.java:597) at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInvoker.java:647) at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:697) at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:211) at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:215) at org.jboss.mx.server.MBeanServerBuilderImpl.newMBeanServer(MBeanServerBuilderImpl.java:71) at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:316) at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:219) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:420) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) at org.jboss.Main.boot(Main.java:200) at org.jboss.Main$1.run(Main.java:508) at java.lang.Thread.run(Thread.java:595) Failed to boot JBoss: java.lang.RuntimeException: Cannot create MBeanServer at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:239) at org.jboss.mx.server.MBeanServerBuilderImpl.newMBeanServer(MBeanServerBuilderImpl.java:71) at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:316) at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:219) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:420) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) at org.jboss.Main.boot(Main.java:200) at org.jboss.Main$1.run(Main.java:508) at java.lang.Thread.run(Thread.java:595) Caused by: javax.management.NotCompliantMBeanException: Cannot register MBean: JMImplementation:type=MBeanS erverDelegate at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:314) at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:215) ... 8 more Caused by: javax.management.RuntimeErrorException at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:725) at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:211) ... 9 more Caused by: java.lang.NoSuchFieldError: TRACE at org.jboss.logging.Log4jLoggerPlugin.isTraceEnabled(Log4jLoggerPlugin.java:85) at org.jboss.logging.Logger.isTraceEnabled(Logger.java:122) at org.jboss.mx.server.AbstractMBeanInvoker.initAttributeContexts(AbstractMBeanInvoker.java:1009) at org.jboss.mx.modelmbean.ModelMBeanInvoker.initAttributeContexts(ModelMBeanInvoker.java:597) at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInvoker.java:647) at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:697) ... 10 more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071019#4071019 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071019 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: File upload - performance has taken a dive
It worked. Like all my other recent troubles, I had to apply the fix manually after inspecting Fisheye. It would have been much easier if there was like a Seam 2 Beta 2 release or something. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071018#4071018 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071018 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Equals and hashCode on Entities fails due to javassist
On a recent project we thought it would be a good idea to inherit a generic implementation of equals and hashCode, as well as the primariy key from an abstract entity. In the equals method we evaluate the class as well as the primary key. In most cases this worked really well for us, but in certain cases equality was not evaluated correctly. After looking further into the problem we found that in the cases it did not evaluate correctly the problem was caused by the classes not matching. It tried to compare one class (Test for example) against another (Test_$$_javassist_), which didn't equate and produces a false response. I am guessing that the javassist originates from entities being loaded LAZY. Is there a better way of achieving what we are trying to do ? We are using JBoss 4.0.5 with EJB3 RC9. Any suggestions welcome Alex View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071016#4071016 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071016 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - convertEntity: mixing session and conversation data
I am using Seam 1.2.1GA and I have problem with s:convertEntity such as: | | | | | The bean loggedInUser is a session bean. When the form submits JSF reports that the field is not valid. I have debugged the EntityConverter class and it returns the selected value correctly from the getAsObject function. This means (I assume) the validation error is occuring within JSF, in my case MyFaces. The session bean function is: | public List getBranchList() { | return this.flattenedBranches; | } | To experiment I sourced the list from a bean in the current conversation. This function gets the list from the session bean and merges it (using entityManager) into a local list. | @In(value="loggedInUser", required=true) | private IUser user; | | private List userBranchList; | public List getUserBranchList() { | if (this.userBranchList == null) { | this.userBranchList = new ArrayList(); | Iterator itr = this.loggedInUser.getBranchList().iterator(); | while (itr.hasNext()) { | Company branch = (Company)itr.next(); | | this.userBranchList.add(super.getEntityManager().merge(branch)); | } | } | | return this.userBranchList; | } | This works without JSF reporting any validation problems. I really don't understand why this does not work for session data as the EntityConverter class uses entityManager.find to look-up the data using the data's primary key. This means that the EntityConverter is returning a "merged" result using the current conversation's entityManager. Does anyone have any thoughts? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071015#4071015 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071015 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: java.lang.NoClassDefFoundError: javax/transaction/Synchr
"dleerob" wrote : | | | activation.jar | | antlr-2.7.6.jar | | asm.jar | | bsh.jar | | cglib.jar | | commons-collections.jar | | commons-logging.jar | | dom4j.jar | | hibernate.cfg.xml | | hibernate3.jar | | hsqldb.jar | | jboss-backport-concurrent.jar | | jboss-j2ee.jar | | jboss-retro-1.1.0-rt.jar | | jbpm-identity.jar | | jbpm-jpdl.jar | | jbpm.cfg.xml | | jcr-1.0.jar | | junit.jar | | mail.jar | | mysql-connector-java-5.0.3-bin.jar | | servlet-api.jar | | Dependant on where you deploy it to (in my case Tomcat) you also need jta.jar. This jar contains javax.transaction.Synchronization. It is not needed when you deploy to jboss as. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071014#4071014 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071014 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: File upload - performance has taken a dive
For example, this change on Fisheye: http://fisheye.jboss.com/browse/JBoss/jboss-seam/ui/src/main/java/org/jboss/seam/ui/component/UIFileUpload.java?r1=1.3&r2=1.4 I'll try it... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071013#4071013 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071013 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: File upload - performance has taken a dive
I reproduced it using the seam-ui example, with a large file for "Pete Muir's Picture". I had loads of the following: | 2007-08-06 11:45:20,921 DEBUG [org.jboss.seam.contexts.Contexts] found in event context: person | 2007-08-06 11:45:20,921 DEBUG [org.jboss.seam.contexts.Contexts] found in event context: person | 2007-08-06 11:45:20,921 DEBUG [org.jboss.seam.contexts.Contexts] found in event context: person | 2007-08-06 11:45:20,921 DEBUG [org.jboss.seam.contexts.Contexts] found in event context: person | 2007-08-06 11:45:20,921 DEBUG [org.jboss.seam.contexts.Contexts] found in event context: person | 2007-08-06 11:45:20,921 DEBUG [org.jboss.seam.contexts.Contexts] found in event context: person | 2007-08-06 11:45:20,921 DEBUG [org.jboss.seam.contexts.Contexts] | | I'm running Seam 2 Beta with a few individual patches applied. I can't work from CVS because our network here prevents me from doing a checkout. Is it possible it's something that was fixed in CVS? Anything that rings a bell? This is a showstopper for our customer demo next week :( "[EMAIL PROTECTED]" wrote : I can't reproduce in an example. So you'll need to provide a testcase I think. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071012#4071012 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071012 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Double click problem . Seam-Version: 1.2.1.GA
Hi: I am using Seam-Version: 1.2.1.GA. I am using PageFlow. I have a problem when i press a lot of time the next buttom , i have the following error * 2007-08-06 09:15:04 StandardWrapperValve[FacesServlet]: Servlet.service() for servlet FacesServlet threw exception javax.faces.el.EvaluationException: /normal-application.jspx @13,72 rendered="#{normalCreditApplication.serviceProvider}": Exception getting value of property serviceProvider of base of type : com.yoogalu.ncf.web.seam.bean.NormalCreditApplication_$$_javassist_2 Caused by: org.jboss.seam.NoConversationException: no long-running conversation for @Conversational bean: normalCreditApplication ** I read that with Seam-Version: 1.2.1.GA i will not have problem with double click. Can you give some suggestion? . This problem only occur when i press the buttom a lot of times. Thank for your help It is my pageflow 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-1.2.xsd"; name="normalCreditApplicationFlow"> My bean : package com.yoogalu.ncf.web.seam.bean; import java.io.Serializable; import java.sql.Timestamp; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.faces.event.ValueChangeEvent; import org.jboss.seam.ScopeType; import org.jboss.seam.annotations.Begin; import org.jboss.seam.annotations.Conversational; import org.jboss.seam.annotations.In; import org.jboss.seam.annotations.Name; import org.jboss.seam.annotations.Out; import org.jboss.seam.annotations.Scope; import org.jboss.seam.annotations.datamodel.DataModel; import org.jboss.seam.annotations.datamodel.DataModelSelection; import org.jboss.seam.core.FacesMessages; import com.yoogalu.framework.FrameworkConstants; import com.yoogalu.ncf.core.cache.CompanyCache; import com.yoogalu.ncf.core.cache.DealerCache; import com.yoogalu.ncf.core.cache.ServiceProviderCache; import com.yoogalu.ncf.core.cache.StoreCache; import com.yoogalu.ncf.core.entity.AppCustomer; import com.yoogalu.ncf.core.entity.Application; import com.yoogalu.ncf.core.entity.Company; import com.yoogalu.ncf.core.entity.Customer; import com.yoogalu.ncf.core.entity.Dealer; import com.yoogalu.ncf.core.entity.Invoice; import com.yoogalu.ncf.core.entity.ServiceProvider; import com.yoogalu.ncf.core.entity.Store; import com.yoogalu.ncf.core.util.AppContext; import com.yoogalu.ncf.web.seam.Tokens; import com.yoogalu.ncf.web.seam.Util; import com.yoogalu.ncf.web.seam.bean.UserCredentials; @Name("normalCreditApplication") @Scope(ScopeType.CONVERSATION) @Conversational public class NormalCreditApplication implements Serializable { private static final long serialVersionUID = FrameworkConstants.SERIAL_VERSION_UID; private static final int MAX_SERIAL = 999; private static final String APPLICATIONREF = "applicationRef"; private static final String APPLICANTNAME1 = "applicantName1"; private static final String APPLICANTNAME2 = "applicantName2"; private static final String SERIALNO = "serialNo"; private static final String DEALERNAME = "dealerName"; private static final String APPFEE = "appFee"; private static final String APPSTATUS_NEWAPPLICATION = "N"; private static final String NAMETEMPLATE = "template"; private static final String PRIVACY = "privacy"; private static final String ONE = "One"; private static final String TWO =
[jboss-user] [EJB 3.0] - Re: IllegalArgumentException on remove
try changing the snippet: public void destroy (NewsEntity newsEntity) | { | em.merge (newsEntity); | if( em.contains (newsEntity)) | logger.info ("The Entity is attached to current Persistence Context"); | else | logger.error ("Entity is not attached!"); | /* throws exception */ |em.remove (newsEntity); | } to something like: public void destroy (NewsEntity newsEntity) | { | NewsEntity managedEntity = em.merge (newsEntity); | | if( em.contains (managedEntity)) | { | logger.info ("The Entity is attached to current Persistence Context"); | } | else | { | logger.error ("Entity is not attached!"); | } | | /* throws exception */ | em.remove (managedEntity); | } the problem is that you should be using the managed object returned by the EntityManager.merge() method. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071009#4071009 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071009 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Before Start we need your advice
Hi, Thanks for the reply, Yes we know, ejb 3.0 also make use of Hibernate as the persistent mechanism, Is there any potential benefit if we go ahead with Hibernate independently instead of ejb 3.0, What are the advantages as disadvantages, is there any article written on this, am happy to read. We like to list down all the advantages vs disadvantages and then make the final call. Bottom line is what ever the persistent mechanism should be able to map the existing complex SQLs with all the OUTER joins to the persistent layer. Our database is Informix Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071008#4071008 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071008 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - DocumentException, Invalid byte 3 of 3-byte UTF-8 sequence
Hi. I 'm using seam 2.0b. When I put CJK character message in the in the pages.xml like this. | | http://jboss.com/products/seam/pages"; |xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; |xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.0.xsd"; | | . | | | | some CJK character here!! | | | | .. | | I got an DocumentException and error messages | java.lang.RuntimeException: org.dom4j.DocumentException: Error on line 47 of document : Invalid byte 3 of 3-byte UTF-8 sequence. Nested exception: Invalid byte 3 of 3-byte UTF-8 sequence. | at org.jboss.seam.navigation.Pages.getDocumentRoot(Pages.java:924) | at org.jboss.seam.navigation.Pages.parse(Pages.java:882) | at org.jboss.seam.navigation.Pages.initialize(Pages.java:108) | 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.seam.util.Reflections.invoke(Reflections.java:21) | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:124) | at org.jboss.seam.Component.callComponentMethod(Component.java:2015) | at org.jboss.seam.Component.callCreateMethod(Component.java:1938) | at org.jboss.seam.Component.newInstance(Component.java:1917) | at org.jboss.seam.Component.getInstance(Component.java:1814) | at org.jboss.seam.Component.getInstance(Component.java:1793) | at org.jboss.seam.Component.getInstance(Component.java:1770) | at org.jboss.seam.Component.getInstance(Component.java:1765) | at org.jboss.seam.navigation.Pages.instance(Pages.java:582) | at org.jboss.seam.core.ConversationPropagation.restoreNaturalConversationId(ConversationPropagation.java:94) | at org.jboss.seam.core.ConversationPropagation.restoreConversationId(ConversationPropagation.java:47) | at org.jboss.seam.jsf.SeamPhaseListener.afterRestoreView(SeamPhaseListener.java:371) | at org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:211) | at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:184) | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:280) | 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:82) | at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68) | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68) | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68) | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68) | 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:60) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68) | at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68) | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:149) | 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) |
[jboss-user] [JBoss Seam] - Re: value for '#{org.jboss.seam.security.identity}' sometime
Is this after redeploying a few times? You may need to increase your permgen size. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071005#4071005 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071005 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Exception to integrate with JasperReport
I'm working on seam 1.2.1 GA and Jboss 4.0.5 GA, and trying to integrate with JasperReport 1.3.4. I've got a page for entering jasper report parameters, an SFSB to handle the parameters and pass them to a class method of a report util to generate the report. The method looks up a data source by jndi and gets connection from it for JasperFillManager to fill up the report. When I run the report the first time by click a submit button at the page, everything works fine. But when I click the button again after a while (about 15 minutes), I've got the following exception. The SFSB has not got any non-serializable local value and has not got any references to jasper report objects. I set 120 minutes timeout for web session, seam conversation, and max-bean-life. | 11:00:41,203 ERROR [ExceptionFilter] uncaught exception | javax.servlet.ServletException: /report/gstReturn.xhtml @39,53 value="#{gstReturnAction.returnPeriod}": | Exception getting value of property returnPeriod of base of type : org.javassist.tmp.java.lang.Object_$$_javassist_86 | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | 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.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.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.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Unknown Source) | 11:00:41,234 ERROR [ExceptionFilter] exception root cause | javax.faces.el.EvaluationException: /report/gstReturn.xhtml @39,53 value="#{gstReturnAction.returnPeriod}": | Exception getting value of property returnPeriod of base of type : org.javassist.tmp.java.lang.Object_$$_javassist_86 | at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:60) | at javax.faces.component.UIOutput.getValue(UIOutput.java:77) | at javax.faces.component.UIInput.validate(UIInput.java:357) | at javax.faces.component.UIInput.processValidators(UIInput.java:183) | at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:624) | at javax.faces.component.UIForm.process
[jboss-user] [JBoss Seam] - Re: ejb-jar.xml must either obey the right xml schema or def
I think you haven't installed with the EJB3 profile. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071003#4071003 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071003 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: begin-conversation in Seam2 prevents data load
Ok, glad it works. I can't immediately identify the change, but we've fixed a lot since 2.0.0.BETA :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071002#4071002 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071002 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: begin-conversation in Seam2 prevents data load
Ah, it works if I use Seam from CVS. Should have tried that earlier I suppose, but I still can't see why it doesn't work against the downloaded Seam 2.0.0.BETA. Here is the patch: | ### Eclipse Workspace Patch 1.0 | #P jboss-seam | Index: examples/ui/resources/import.sql | === | RCS file: /cvsroot/jboss/jboss-seam/examples/ui/resources/import.sql,v | retrieving revision 1.6 | diff -u -r1.6 import.sql | --- examples/ui/resources/import.sql13 Jun 2007 23:49:05 - 1.6 | +++ examples/ui/resources/import.sql5 Aug 2007 22:15:35 - | @@ -1,4 +1,6 @@ | insert into person (name, age, hobbies) values ('Peter Muir', 25, '/works on Seam/, *of course*'); | +insert into person (name, age, hobbies) values ('Damian Harvey', 99, '/quite likes using Seam/, *of course*'); | + | insert into continent(name) values('North America'); | insert into continent(name) values('South America'); | insert into continent(name) values('Australasia'); | Index: examples/ui/resources/WEB-INF/components.xml | === | RCS file: /cvsroot/jboss/jboss-seam/examples/ui/resources/WEB-INF/components.xml,v | retrieving revision 1.9 | diff -u -r1.9 components.xml | --- examples/ui/resources/WEB-INF/components.xml1 Aug 2007 11:49:57 - 1.9 | +++ examples/ui/resources/WEB-INF/components.xml5 Aug 2007 22:15:35 - | @@ -19,7 +19,9 @@ | | | | - | + | + #{personId} | + | | | | Index: examples/ui/view/selectItems.xhtml | === | RCS file: /cvsroot/jboss/jboss-seam/examples/ui/view/selectItems.xhtml,v | retrieving revision 1.20 | diff -u -r1.20 selectItems.xhtml | --- examples/ui/view/selectItems.xhtml 29 Jun 2007 16:43:46 - 1.20 | +++ examples/ui/view/selectItems.xhtml 5 Aug 2007 22:15:35 - | @@ -22,6 +22,19 @@ | | | | + | + | + | + | + | + | + | + | + | + ID | + #{person.id} | + | + | | Title | | Cheers, Damian. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071001#4071001 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071001 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - ejb-jar.xml must either obey the right xml schema or define
JBoss 4.0.5 and JBoss Seam Booking sample I can build this example. I use a different booking-dx.xml for MySQL. When the ear is deploy this exception is generated. All files are included, I have checked this. content of of ejb-jar.xml is | | http://java.sun.com/xml/ns/javaee"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd"; | version="3.0"> | | | | org.jboss.seam.ejb.SeamInterceptor | | | | | | * | org.jboss.seam.ejb.SeamInterceptor | | | | | I think this ejb-jar.xml is correct. I do not agree with the JBoss error | ejb-jar.xml must either obey the right xml schema or defin | e a valid DOCTYPE! | Is there any side effet? | org.jboss.deployment.DeploymentException: No META-INF/application.xml found | at org.jboss.deployment.EARDeployer.init(EARDeployer.java:133) | at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) | at sun.reflect.GeneratedMethodAccessor54.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:634) | 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) | 23:23:32,250 INFO [EARDeployer] Init J2EE application: file:/C:/Programme/Borland/JBuilder2007/thirdparty/jboss-4.0.5.GA/server/default/deploy/jboss-seam-booking.ear | 23:23:52,343 ERROR [MainDeployer] Could not create deployment: file:/C:/Programme/Borland/JBuilder2007/thirdparty/jboss-4.0.5.GA/server/default/tmp/deploy/tmp49769jboss-seam-booking.ear-contents/jboss-seam-booking.jar | org.jboss.deployment.DeploymentException: ejb-jar.xml must either obey the right xml schema or define a valid DOCTYPE! | at org.jboss.metadata.ApplicationMetaData.importEjbJarXml(ApplicationMetaData.java:339) | at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:166) | at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:541) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97) | at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238) | at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:74) | at org.jboss.ws.integration.jboss.DeployerInterceptorEJB.create(DeployerInterceptorEJB.java:44) | at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180) | at org.jboss.deployment.SubDeployerIntercepto
[jboss-user] [JBoss Seam] - Re: begin-conversation in Seam2 prevents data load
Pete, I made no changes to the pages.xml aside from removing the to get it working. The only changes that I made are outlined above. I'll put together the patch as you mentioned. I'll raise a JIRA and attach it to that. Cheers, Damian. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070999#4070999 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070999 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: how using jbpm in an organization on personel
just read the docs, look at the examples and most of it will be clear to you. Swimlanes is a very generic concept in UML, workflow etc View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070998#4070998 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070998 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM customers
jBPM is opensource, so a list of customers is hard to give. Besides that, many 'commercial' users of jBPM do not want to have their identities disclosed. So unfortunately this is hard to do. If it is really important to you, maybe you should contact JBoss. There is a list of JBoss JEMS customers (of which jBPM is a part) so maybe some of them use jBPM. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070997#4070997 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070997 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: CVS configuration
Yes thanks for Your advice. I thought I can set a version number somewehere and check out the 1.2.1 GA. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070996#4070996 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070996 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Re: Using Spring to integrate POJOs as MBeans in JBoss
"dima.frid" wrote : But I do not see this bean in JBoss JMX management console. Who should register this bean with MBean server? Or who 'understands' your annotations? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070995#4070995 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070995 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Splitting EJB components into multiple jar files
More possibly useful (or misleading) information.. changing the web.xml file to read makes two changes - first, Seam states: 14:16:17,124 INFO [Component] Component: register, scope: EVENT, type: STATEFUL_SESSION_BEAN, class: com.kimbia.actions.RegisterAction, JNDI: RegisterAction/local Second, the exception changes: org.jboss.seam.InstantiationException: Could not instantiate Seam component: register | ... | Caused by: javax.naming.NameNotFoundException: RegisterAction not bound It seems really odd that this setting is being applied both to the Seam reporting and the Instantiation exception, since to me that implies that Seam was indeed able to find it once (during startup)... and yet now its not being found. I'm sure that I'm missing something basic, I'm just not sure what. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070994#4070994 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070994 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Splitting EJB components into multiple jar files
One more piece of information - earlier in the log, this was output: 13:50:17,113 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=Company.ear,jar=Stateful.jar,name=RegisterAction,service=EJB3 with dependencies: | 13:50:17,114 INFO [JmxKernelAbstraction] persistence.units:ear=Company.ear,unitName=dbcluster | 13:50:17,253 INFO [EJBContainer] STARTED EJB: com.kimbia.actions.RegisterAction ejbName: RegisterAction View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070992#4070992 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070992 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Issues with AS 4.0.5 / Seam 2.0 Beta1
here is the solution that worked for me Add the following to the web.xml in the jbossweb-tomcat55.sar/conf directory | | com.sun.faces.config.ConfigureListener | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070993#4070993 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070993 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Splitting EJB components into multiple jar files
I'm splitting an existing Seam project into multiple EJB jars - one for the data model, one for the services, et cetera. During startup, I get this INFO log: 13:50:20,144 INFO [Component] Component: register, scope: EVENT, type: STATEFUL_SESSION_BEAN, class: com.kimbia.actions.RegisterAction, JNDI: Company.ear/RegisterAction/local In the components.xml file that's located in my war file's /WEB-INF/ directory, I have this line: But when I try to refer to the component, I get the following exception: org.jboss.seam.InstantiationException: Could not instantiate Seam component: register | ... | Caused by: javax.naming.NameNotFoundException: Company.ear not bound Changing the jndi-pattern changes the error message, so that seems to be working fine. But from the log, it looks as if "Company.ear/.../local" is exactly the right pattern to be using. Any advice would be very welcomed at this point. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070991#4070991 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070991 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Error in documentation for Seam-2.0.0-BETA1?
The documentation reads: anonymous wrote : 21.4.2. Remote calls within the current conversation scope | | In some circumstances it may be required to make a remote call within the scope of the current view's conversation. To do this, you must explicitly set the conversation ID to that of the view before making the remote call. This small snippet of JavaScript will set the conversation ID that is used for remoting calls to the current view's conversation ID: | | Seam.Remoting.getContext().setConversationId( #{conversationId} ); | | Should this be #{conversation.id} ? The documented version does not seem to work, whereas the above does. Richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070990#4070990 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070990 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - @EJB injection with Struts2
Hi, I have problem with @EJB injection in Struts action. Using context.lookup works. import javax.ejb.EJB; | | public class ProjectListAction { | | @EJB | ProjectBean projectBean; | | projectBean remains null. Should it works also in struts? I am using JBoss AS 4.2 GA, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070986#4070986 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070986 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to get seam booking example work in eclipse 3.2?
Or use Eclipse 3.3/JBossTools/Seam2/AS 4.2.1.GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070983#4070983 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070983 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: CVS configuration
"urswag" wrote : Could You please give me the concrete configuration? | | :pserver:[EMAIL PROTECTED]:/cvsroot/jboss That is the configuration. anonymous wrote : Can I modify this configuration for the JBoss 4.0.5 server source? You mean Seam 1.2.1.GA? Well the source is in the download. Or look for the correct Tag. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070982#4070982 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070982 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Post-injection hook (or how to avoid injection races?)
Hi Michael I need the setTitle method because the title needs to be modified before being set. (I tried to indicate this with //modify the title.) Ultimately, I'm trying to support a combobox with an "other" field. In the full class, the values of the combobox and "other" textfield are bound to titleProxy and otherTitleProxy. In the "updateTitle" method, I examine these two values and set the person's title accordingly. That's why I don't simply bind to #{person.title}. Richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070978#4070978 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070978 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to get seam booking example work in eclipse 3.2?
My advice if you need to learn is Eclipse 3.2 Seam 1.2.1 JBoss 4.0.5 Build your first app with seam-gen Everything work fine. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070976#4070976 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070976 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Post-injection hook (or how to avoid injection races?)
I can't see why you need a setTitle method if the title is already provided by the person object. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070975#4070975 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070975 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Delete of joining entity in a oneToMany -> joinEntity <- one
I've read the FAQ and Hibernate docs on how to do this, but the examples are using Hibernate config files, whereas I am using EJB3 annotations, so I still have remaining problems/questions. I'm posting here instead of an EJB3 forum, as I suspect I am fundamentally misunderstanding how to use Hibernate in this situation. Appreciate any advise you can provide. I have a School entity, a Major entity (as in "Computer Science"), and a third entity, SchoolMajor, whose sole purpose is to manage the relationship between a school and the majors it offers. SchoolMajor also contains some boolean values to indicate what level of degree can be attained within that major at that school, so that is why an entity is needed for School Major. I can persist data with no problem. I want to delete the SchoolMajor entity whenever all of the six "degree level" booleans have been set to false, but haven't done this successfully yet. Other notes: 1. I'm using Seam, EJB3, Hibernate and Oracle 2. Major - has no reference to SchoolMajors (or any other entities). It just contains an id, name and description 3. The code below produces the Oracle error "ORA-02292: integrity constraint (KEYFACT2.FKA146025AB6E4614A) violated - child record found" 4. I've tried many things, but they either result in this error, or, if I just remove the line "entityManager.remove(sm);" below, no errors are produced, but the SchoolMajor is not actually deleted. From the documentation, I understand this is because, by default, the relationship must be managed from the "many" side of the relationship. However, I haven't found a way to annotate the inverse="false" option on the oneToMany relationship in School, IF that would solve the problem. Any ideas? Thanks! Here are the relevant code snippets: public String updateSchool() { | | School currentSchool = (School)currentInstitution; | | //remove all SchoolMajors from currentSchool that have no "level" checked. | Set temp = new HashSet(currentSchool.getSchoolMajors()); | | for (SchoolMajor sm : temp) { | if (sm.getAssociates() || sm.getBachelors() || sm.getCertificates() | || sm.getDiplomas() || sm.getMasters() || sm.getDoctorates()) { | continue; | } | else { | if (sm.getId() == null) { | currentSchool.getSchoolMajors().remove(sm); | } | else { | currentSchool.getSchoolMajors().remove(sm); | entityManager.remove(sm); | } | } | } | | currentSchool.setAllPossibleSchoolMajorsLoaded(false); | | //finally, persist the updated school | try { | entityManager.flush(); | facesMessages.addFromResourceBundle("schoolUpdateSuccess"); | } | catch (OptimisticLockException e) { | facesMessages.addFromResourceBundle("schoolOptimisticLock"); | redirect.captureCurrentView(); | return "optimisticLockException"; | } | | return "success"; | } @Entity | @Name("school") | public class School implements Serializable | { | ... | ... | private Set schoolMajors; | ... | ... | | @OneToMany(cascade=CascadeType.ALL, mappedBy="school") | public Set getSchoolMajors() | { | return schoolMajors; | } | public void setSchoolMajors(Set schoolMajors) | { | this.schoolMajors = schoolMajors; | } | } @Entity | @Name("schoolMajor") | @SequenceGenerator(name = "SchoolMajorSequenceGenerator", sequenceName = "KEYFACT2.SCHOOLMAJOR_SEQ", allocationSize = 1) | public class SchoolMajor implements Serializable | { | private static final long serialVersionUID = 918223454065801L; | | private Integer id; | private School school; | private Major major; | private Boolean certificates; | private Boolean diplomas; | private Boolean associates; | private Boolean bachelors; | private Boolean masters; | private Boolean doctorates; | private Long version; | | public SchoolMajor() | { | this.associates = false; | this.bachelors = false; | this.certificates = false; | this.diplomas = false; | this.masters = false; | this.doctorates = false; | } | | public SchoolMajor(Integer id, School school, Major
[jboss-user] [JBoss Portal] - how to stick an onload javascript function in body tag?
Hello, I wonder is there a way to stick a javascript function using onload in body tag? For example: Is it possible to set this from within any xml file in my war project without modifying any file from jboss portal codes? Thanks, TL View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070970#4070970 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070970 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: CVS configuration
Could You please give me the concrete configuration? I use in Eclipse :pserver:[EMAIL PROTECTED]:/cvsroot/jboss Can I modify this configuration for the JBoss 4.0.5 server source? I would like to use JBoss 4.2.x but this server does not run in Eclipse. Urs View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070967#4070967 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070967 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: how using jbpm in an organization on personel
exactly i refer to organizational roles, but i don't know how use and implement it would you please tell me how and deifine some companies those use this workflow. best regards hossein View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070966#4070966 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070966 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - How to get seam booking example work in eclipse 3.2?
Hi, I installed Jboss IDE bundle(jboss ide beta2 + eclipse 3.2 + webtool 1.5) and try to follow the UseJBossEclipseIDEToDoJBossSeamsBookingExample from the Jboss Wiki and didn't really work when I got up to the debugger setup. I can't find any of the items called JBoss 4.0.x configuration. Is it because I am using Jboss AS 4.2 rather than 4.0.x ? By the way, I didn't use the CVS. I installed seam and jboss AS mannually before I try to use eclipse. Any suggestions for a newbie on using eclipse with jboss seam and how to configure them together? Regards, Andy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070965#4070965 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070965 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: how using jbpm in an organization on personel
It looks like your question is about organizational roles and how to apply workflows on the proper personel. This is done in jBPM through swimlanes. You might need to take a look at the jbpm-identity module for that purpose. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070964#4070964 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070964 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: how using jbpm in an organization on personel
sorry, but I do not understand your question View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070963#4070963 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070963 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - JBPM customers
Please give me a list of JBPM customers. thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070962#4070962 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070962 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Dependecy Injection in JMX Service Object
@EJB annotations cannot be injected within @Service Beans. The behavior changed from 4.0.4Patch1 to > 4.2. The injected @EJB references are null within the start method of the jmx bean. However the @PersistenceContext annotation can be injected. I'm just curious if I'm missing something or if it's a bug. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070961#4070961 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070961 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - how using jbpm in an organization on personel
we have a great company with some divisions in power plant. now we dicide to use a workflow engine,one of the wfm we select is jbpm,but we want to know more about its facilities. for example our employees have their posts(situation in organization),how jbpm handle flow a task form start untill end of it for assign to these employees. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070957#4070957 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070957 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Super slow initial lookup from standalone client
Definitely a Linux problem - testing same code on a windows box and it connects instantly. Time to figure out what the hell goes wrong. Clues are most welcome. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070956#4070956 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070956 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Super slow initial lookup from standalone client
No one else seeign slow lookup times? Phew - must be something on my servers then. *sigh* View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070955#4070955 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070955 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem using ProcessImageTag
Okay so it's missing :) I figured it was using jsf, but unfortunately I haven't used jsf before, so when I looked through the source code, I found it difficult to try and figure out what was going on. And I needed to figure this out for a demo on Monday, so I didn't have time to learn jsf. I think I need to spend some time reading up and playing with it sometime. Not knowing jsf really makes working with/learning the jbpm-console difficult. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070952#4070952 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070952 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Detecting Presence of ProcessInstance Without Exception?
Surely it wouldn't really be a performance hit to just catch the exception, and then you know that the definition does not exist? Either way, I don't currently know of another way. I generally retrieve the definitions by id anyway, and that ID is selected from a list of all definitions. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070951#4070951 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070951 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Problem in interceptors
sorry, the pointcut is View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070950#4070950 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070950 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Problem in interceptors
the jboss-aop.xml file is View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070949#4070949 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070949 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Post-injection hook (or how to avoid injection races?)
Consider this component | @Name("personEditor") | @Stateful | @Scope(ScopeType.CONVERSATION) | @Conversational | public class PersonEditorBean implements PersonEditor { | |@In |private Person person; | |@In |public void setTitle(String title) { |//modify the title |person.setTitle(title); |} | | This code will only work when "Person" is injected before "Title". What I think I need to do is to modify the setTitle method to store the value in a proxy and invoke another method, post-injection, to handle the modification, i.e. |@In |private Person person; | |private String titleProxy; | |@In |public void setTitle(String title) { |titleProxy = title; |} | |private void updateTitle() { | //modify titleProxy | person.setTitle(titleProxy); |} | | For this to work I need a way of invoking the "updateTitle" method after injection, i.e. a post-injection hook. I am sure Seam supports something like this, but I'm not finding it. Can someone point me in the right direction? Richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070948#4070948 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070948 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Problem in interceptors
Hi all i am trying simple method-execution interceptor , my jboss-aop.xml file is and the class is public class POJO { public void noop() { System.out.println("noop()"); } public void test1(String param) { System.out.println("test1(String param): " + param); } public void test2(int param) { System.out.println("test2(int param): " + param); callBar(); } public static void test2() { System.out.println("static method"); } public void callBar() { new Bar().hello(); } public class Bar { public void hello() { System.out.println("hello"); } } } the problem is that the method test1(String) doesnt intercepted , could anyone help me . thank u View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070947#4070947 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070947 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: bug in MockHttpSession.java
Please open a JIRA issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070943#4070943 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070943 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Necessary or example portal
The path to default-object.xml is in jboss-portal.sar\conf\data\ NOT in jboss-portal.sar\conf\ -Christopher View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070942#4070942 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070942 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Necessary or example portal
Thank you for the response, and also mentioning best practices... If any others or a link to a document that specifies, please pass that along. Thank you, -Christopher View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070940#4070940 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070940 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam from CVS in Eclipse, missing files
Thank you! Demetrio View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070939#4070939 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070939 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: value for '#{org.jboss.seam.security.identity}' sometime
sorry, i forget to say i'm working on seam 1.2.1 GA and Jboss 4.0.5 GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070934#4070934 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070934 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - bug in MockHttpSession.java
It's currently impossible to remove objects from the mock session. MockHttpSession.java line 94 | public void setAttribute(String att, Object value) |{ | if (value==null) | { | attributes.remove(value); | } | should be | public void setAttribute(String att, Object value) |{ | if (value==null) | { | attributes.remove(att); | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070932#4070932 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070932 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user