[jboss-user] [JBoss Seam] - Re: Adding Seam to an existing EJB2 application
The demoManager is created using seam-gen's new-conversation target. The xhtml page (as generated) has buttons for beginning and ending a conversation and for incrementing a value, which is shown on the page. The bean has the corresponding methods. Again, this is the raw product from the new-conversation target. Here is the code for the interface, the bean and the XHTML: DemoManager.java | package lu.deka.tukan.session; | | import javax.ejb.Local; | | @Local | public interface DemoManager { | | //seam-gen methods | public String begin(); | public String increment(); | public String end(); | public int getValue(); | public void destroy(); | |//add additional interface methods here | } | | DemoManagerBean.java | package lu.deka.tukan.session; | | import javax.ejb.Remove; | import javax.ejb.Stateful; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Begin; | import org.jboss.seam.annotations.End; | import org.jboss.seam.annotations.Destroy; | import org.jboss.seam.annotations.Logger; | import org.jboss.seam.log.Log; | | @Stateful | @Name(DemoManager) | public class DemoManagerBean implements DemoManager { | |@Logger private Log log; | |private int value; | | @Begin | public String begin() | { | //implement your begin conversation business logic | log.info(beginning conversation); | return success; | } | | public String increment() | { | log.info(incrementing); | value++; | return success; | } | | //add additional action methods that participate in this conversation | | @End | public String end() | { | //implement your end conversation business logic | log.info(ending conversation); | return home; | } | | public int getValue() | { | return value; | } | | @Destroy @Remove | public void destroy() {} | } | demoManager.xhtml | !DOCTYPE composition PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; | ui:composition xmlns=http://www.w3.org/1999/xhtml; | xmlns:s=http://jboss.com/products/seam/taglib; | xmlns:ui=http://java.sun.com/jsf/facelets; | xmlns:f=http://java.sun.com/jsf; | xmlns:h=http://java.sun.com/jsf/html; | xmlns:rich=http://richfaces.ajax4jsf.org/rich; | template=layout/template.xhtml | | ui:define name=body | | h:messages globalOnly=true styleClass=message/ | | rich:panel | f:facet name=headerdemoManager/f:facet | | div class=dialog | div class=prop | span class=nameValue/span | span class=value#{DemoManager.value}/span | /div | /div | | /rich:panel | | h:form id=DemoManager | div class=actionButtons | h:commandButton id=begin value=Begin | action=#{DemoManager.begin}/ | h:commandButton id=inc value=Increment | action=#{DemoManager.increment}/ | h:commandButton id=end value=End | action=#{DemoManager.end}/ | /div | /h:form | | /ui:define | | /ui:composition | | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083774#4083774 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083774 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Exception occurs even when connection exists
Sir, I have a JMS application running in Tomcat. I have timer task which will retrieve messages from JBossMQ Queue When I stop the JBoss,the JMS application throws the Exception in the following code snippet message = (TextMessage)messenger.receiveNoWait( destination ); Cannot subscribe to this Destination: Client is not connected; - nested throwabl e: (java.io.IOException: Client is not connected) org.jboss.mq.SpyJMSException: Cannot subscribe to this Destination: Client is no t connected; - nested throwable: (java.io.IOException: Client is not connected) at org.jboss.mq.Connection.addConsumer(Connection.java:1094) at org.jboss.mq.SpySession.addConsumer(SpySession.java:753) at org.jboss.mq.SpyQueueSession.createReceiver(SpyQueueSession.java:105) at org.apache.commons.messenger.MessengerSupport.createMessageConsumer(M essengerSupport.java:909) at org.apache.commons.messenger.MessengerSupport.getMessageConsumer(Mess engerSupport.java:871) at org.apache.commons.messenger.MessengerSupport.receiveNoWait(Messenger Support.java:285) at org.amma.atech.hmos.sms.JMSResponseHandler.run(JMSResponseHandler.jav a:81) at java.util.TimerThread.mainLoop(Timer.java:432) at java.util.TimerThread.run(Timer.java:382) Caused by: java.io.IOException: Client is not connected at org.jboss.mq.il.uil2.SocketManager.internalSendMessage(SocketManager. java:225) at org.jboss.mq.il.uil2.SocketManager.sendMessage(SocketManager.java:189 ) at org.jboss.mq.il.uil2.UILServerIL.subscribe(UILServerIL.java:463) at org.jboss.mq.Connection.addConsumer(Connection.java:1082) ... 8 more I have caught the Exception and written code to reconnect to the Application Server. But Still it is throwing the Same Exception .But it doesn't throw any exception while connecting to the server and looking up the destination. If any body Knows the Solution,please help me.. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083776#4083776 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083776 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - @Restrict on entity bean and orm.xml and @Startup EJB3 probl
I'm using seam cvs (2 weeks old I think). I use @Restrict on entity beans. The doc here http://docs.jboss.com/seam/2.0.0.B1/reference/en/html/security.html#d0e6939 states anonymous wrote : If you are using a Hibernate SessionFactory configured via Seam, you don't need to do anything special to use entity security. As I use this : persistence:managed-persistence-context name=entityManager | auto-create=true | persistence-unit-jndi-name=java:/metabookEntityManagerFactory/ I was using a Hibernate SessionFactory configured via Seam ? It seems not so I looked for an @Restrict example. The only one used in entitybeans is in seamspace example. And the example has this orm.xml file. So I've put it too in our project and ... it works, but breaks this : @Name(settings) | @Scope(APPLICATION) | @Startup | public class Settings { | | @In | private EntityManager entityManager; | | private MapString, String settings; | | public String getSetting(String key) { | if (settings.containsKey(key)) { | return settings.get(key); | } else { | return ; | } | } | | @Create | @SuppressWarnings(unchecked) | public void loadSettings() { | | ListParameter resultSet = entityManager.createQuery( | select p from Parameter p where realm = 'application') | .getResultList(); | [ ... ] | } | | @Remove | @Destroy | public void destroy() { | } | } | Without the orm.xml file, the above component works and is successfully loaded and created at startup, but @Restrict on entities doesn't work. I get this when deploying with the orm.xml file : 08:18:23,325 INFO [Contexts] starting up: org.jboss.seam.remoting.remoting | 08:18:23,326 INFO [Contexts] starting up: org.jboss.seam.ui.graphicImage.graphicImageResource | 08:18:23,331 INFO [Contexts] starting up: org.jboss.seam.ui.resource.styleResource | 08:18:23,332 INFO [Contexts] starting up: settings | 08:18:23,820 ERROR [[/metabook]] Exception lors de l'envoi de l'évènement contexte initialisé (context initialized) à l'instance de classe d'écoute (listener) org.jboss.seam.servlet.SeamListener | java.lang.IllegalStateException: No active session context | at org.jboss.seam.security.Identity.instance(Identity.java:157) | at org.jboss.seam.security.EntitySecurityListener.postLoad(EntitySecurityListener.java:26) | 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:597) | at org.hibernate.ejb.event.ListenerCallback.invoke(ListenerCallback.java:31) | at org.hibernate.ejb.event.EntityCallbackHandler.callback(EntityCallbackHandler.java:78) | at org.hibernate.ejb.event.EntityCallbackHandler.postLoad(EntityCallbackHandler.java:71) | at org.hibernate.ejb.event.EJB3PostLoadEventListener.onPostLoad(EJB3PostLoadEventListener.java:35) | at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:201) | at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:854) | at org.hibernate.loader.Loader.doQuery(Loader.java:729) | at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236) | at org.hibernate.loader.Loader.doList(Loader.java:2220) | at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104) | at org.hibernate.loader.Loader.list(Loader.java:2099) | at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378) | at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338) | at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172) | at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121) | at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79) | at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:64) | at com.lrb.metabook.Settings.loadSettings(Settings.java:50) | 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:597) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:23) | at
[jboss-user] [JBoss Portal] - Re: JBoss Portal why not support chinese?
I change all codes like content.setBytes(sContent.getBytes()); in CMSAdminPortlet.java file as following. it works fine for me. | try { | content.setBytes(sContent.getBytes(UTF-8)); | } catch (UnsupportedEncodingException e) { | content.setBytes(sContent.getBytes()); | } | there is also a problem in CMSPortlet.java which I mension in http://www.jboss.com/index.html?module=bbop=viewtopict=118304. in this case I don't know how to deal. I just compromised by adding | if (file == null) | { | fileGet = CMSService.getCommandFactory().createFileGetCommand(path, new Locale(zh)); | file = (File)CMSService.execute(fileGet); | } | in doView method. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083779#4083779 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083779 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: What is the relation between in-memory nodes and nodes i
Please confirm if I understand this correctly:- 1- Suppose I have defined maxNodes in region X to be 4500, and my application tries to put 1000 more nodes in region X then there would be 5500 nodes in total; 4500 in region X and 1000 nodes in region _default_. All 4500 nodes in region X would be evicted as per eviction defined in region X and all 1000 nodes in region _default_ would be evicted by the eviction time defined in region _default_. 2- If I have tree cache nodes a,b, and c , a being the root node and c being the leaf node and b being the intemediate node, suppose for some reason, node a and c are in region X and node b is in region _default_. Eviction time in region X is 10 minutes and in _default_ is 5 minutes. If node b expires after 5 minutes, what would happen to node c? Would node c be lost? 3- Is there any way to know which node in my cache is in which region at any givn point of time? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083780#4083780 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083780 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Apache HTTPD + mod_jk +ssl+Jboss
That is normal mod_ssl of Apache httpd decrypts the data and send them via mod_jk uncrypted to Tomcat. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083781#4083781 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083781 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - How to define start up class in JBoss 4.2
Hi, Like Weblogic how we can define start up class in jboss 4.2. Can any body assist me on this aspect. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083783#4083783 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083783 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - struts 2 portlet problem?
It can't be initialized due to xml parse. does anybody know how to deal? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083784#4083784 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083784 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - how to deploy a war file in Jboss Application Server 4.0.4
hi, can u any one please tell me how to deploy a war file and ear file in Jboss Application server... wen i have placed the ear file or the war file... i'm able to access the index page but the links to that index page or not working Please help me to resolve this issue.. Thanks and Regards, Ravi Shanker .P View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083786#4083786 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083786 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Database performance
The database is the same The host is the same The data is the same The database driver and JPA provider are the same The entities and resulting SQL is the same In a standalone tomcat with simlar JVM opts a certain from Foo query takes 1,3s but on JBoss it takes closer to 3s. Must check with the performance forum if there are no theories here... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083788#4083788 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083788 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Programmatically determining ear name for JNDI lookups:
When doing JNDI lookups of EJB components (when injection isn't available), I have to lookup by EAR_NAME/BEAN_IMPL/{local/remote}. However for some components that are shared in different ears, I don't want to hardcode an ear name. Is there a way I find the ear name programmatically? I realize I can use @LocalBinding/@RemoteBinding to change where it is bound to, but I want it to be bound specifically within the context of the ear since this component could also be deployed in a different ear on the same system. Therefore, representing this context in the JNDI tree by ear name is quite reasonable. I just need to be able to determine the ear name programmatically. Currently I resort to putting the ear name in a custom configuration file in the EAR, and looking it up when I need to lookup components. However this is clumsy because it's duplicating the implicit ear name information. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083787#4083787 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083787 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: facesMessages.addFromResourceBundle charset encoding
The strangeness continues, if I have radio buttons that use convertEnum against the messages based on a key in the enumeration, they show up fine the first time but next post garbles them. The same can be seen in a select box, populated with SelectItems from a database but there they show up garbeled the first time, but when I tab away (ICEFaces) and return, they are repopulated correctly. Where to start looking? :-/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083789#4083789 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083789 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - session problem
hi... i'm still new to seam i made simple crud application everything works fine except that when i logged out from insert form and then pushed back button in the browser and then execute the process(persist), seam allowed it to persist the data to db i thought session is destroyed when i invoked identity.logout anyway i wrote the following code to pages.xml to overcome this problem | page view-id=* | navigation | rule if=${not identity.loggedIn} | redirect view-id=/login.xhtml/ | /rule | /navigation | | /page | but that code only works for links without action attribute please help, thank's in advance View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083790#4083790 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083790 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Error while trying to put a message on a remore queue
Geeting teh following error while putting a meesge on a remote queue.I am using the Messaging1.3 GA with AS 4.2.0GA.I have looked at the articles in wiki regarding set set up for remote quueue and also removing mq references.Yet I am getting the below error.I have been trying this for quite sometime and have given up any hope of getting this set up.Please help ERROR Stack: 55:06,116 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null org.jboss.resource.JBossResourceException: Unable to setup connection; - nested throwable: (javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.mq.referenceable.ObjectRefAddr (no security manager: RMI class loader disabled)]) at org.jboss.resource.adapter.jms.JmsManagedConnection.setup(JmsManagedConnection.java:774) at org.jboss.resource.adapter.jms.JmsManagedConnection.(JmsManagedConnection.java:184) at org.jboss.resource.adapter.jms.JmsManagedConnectionFactory.createManagedConnection(JmsManagedConnectionFactory.java:106) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:577) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:262) at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:500) at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:341) at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:315) at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:396) at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842) at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.allocateConnection(JmsSessionFactoryImpl.java:389) at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createSession(JmsSessionFactoryImpl.java:369) at org.jboss.example.jms.stateless.bean.StatelessSessionExampleBean.drain(StatelessSessionExampleBean.java:51) 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.invocation.Invocation.performCall(Invocation.java:359) at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169) at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138) at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648) at org.jboss.ejb.Container.invoke(Container.java:960) 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.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169) at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118) at
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss5 JMXConnectorServer
Thank you for your interest PeterJ. The problem is I don't do anything strange. I download the zip. Unpack the zip and execute run.bat. The operation system is Windows XP. I did the same with AS4.2.x and it works without any errors or warnings. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083792#4083792 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083792 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: ejb3 and NO_THROW_ON_ERROR, how can it be set.
this is now scheduled for the Remoting 2.4.0 release: http://jira.jboss.com/jira/browse/JBREM-804 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083794#4083794 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083794 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: facesMessages.addFromResourceBundle charset encoding
On a related(?) note, s:link doesn't seam to work with actions that have iso-8859-1 chars in them even though the url encoding looks fine. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083798#4083798 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083798 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - JBoss Seam 2.0 Deployment Problem
Hi All, I am currently testing Seam 2.0 BETA1 and build a demo application using the seam gen. I imported the seam project in eclipse and deployed it under a jboss.4.2.1.GA application server. I did no other modifications. I can an error regarding entityManager as follows: | | | | --- MBeans waiting for other MBeans --- | ObjectName: persistence.units:ear=AEWAProject.ear,unitName=AEWAProject | State: FAILED | Reason: javax.persistence.PersistenceException: org.hibernate.HibernateExcepti | on: Hibernate Dialect must be explicitly set | I Depend On: | jboss.jca:service=DataSourceBinding,name=AEWAProjectDatasource | | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- | ObjectName: persistence.units:ear=AEWAProject.ear,unitName=AEWAProject | State: FAILED | Reason: javax.persistence.PersistenceException: org.hibernate.HibernateExcepti | on: Hibernate Dialect must be explicitly set | I Depend On: | jboss.jca:service=DataSourceBinding,name=AEWAProjectDatasource | | Is there any other configs i have to do . Regards, Yogesh View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083801#4083801 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083801 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Re: Exception in JMSCI message listener
Pleease? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083802#4083802 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083802 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBoss Seam 2.0 Deployment Problem
You probably have errors further up the log. Looks like either you haven't started your database or the connection details are wrong (check your *.ds.xml) Cheers, Damian. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083803#4083803 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083803 ___ 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 define start up class in JBoss 4.2
see writing mbeans http://www.jboss.org/wiki/Wiki.jsp?page=FAQJBossJMX View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083804#4083804 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083804 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Cleaner RESTful urls? Any suggestions?
Christian, it was news to me, too, so I tried to find some references. Don't know how much of it is myth, but a quick google search with search engine optimization urls parameters gave lots of results: http://www.webpronews.com/topnews/2004/01/14/url-structure-and-search-engine-optimization anonymous wrote : Matt Cutts, a software engineer at Google, stated at a recent Search Engine Strategies conference. The more there are [parameters], the more hesitant Google will be to crawl those pages. http://www.seo-watch.com/ anonymous wrote : Many search engines like Google for example don't like dynamically created pages because the crawlers might get in an infinite loop on your server if they follow dynamically created web pages with a query string in it. The spider can be trapped in the web server - and therefore the spiders and bots are very careful not to enter the web site too deep. | | Dynamic generated URL's with a large number of parameters ?id= can therefore cause problems for search engine bots. This is why we normally recommend to use a seo rewriting program to change dynamic URL's into Google-friendly URL's. This is always a good step to start with, when you hire a SEO company. http://www.adiazar.com/ anonymous wrote : Search engines feel scary from query parameters since it is easy to get their crawlers stuck crawling few pages with just changing query parameter value dynamically. Google says that a URL that has more than three query parameters may not be indexed. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083809#4083809 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083809 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - IIOP/SSL
Hi, Am new to iiop/ssl, Please give me a guide to implement a iiop/ssl client to the session bean deployed in JBoss4.0 application server. and any configuration required to JBOSS. Thanks in advance. Sathees View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083811#4083811 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083811 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: required variables
anonymous wrote : This is not a bug since jbpm DOES validate if the required variable is not null Where/how does Jbpm do this validation? I have a variable which I have set to required: variable name=IsReplacement access=read,write,required/variable If I make sure the variable IsReplacement is null when ending the task instance with taskInstance.end(), it still goes through. Is there supposed to be an exeption thrown? How does the validation work? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083812#4083812 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083812 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: attach javascript to jpdl generated task form save butto
Hi, I am working on a macbook pro, tomcat 5.0.28, mysql 5.0.37, I created the simplest possible process definition in eclipse 3.3.0, plugin version JBPM JPDL Designer 3.1.0.CR1. My process had a start task with form generated by the eclipse plugin, with one required text input, and a transition to another task, followed by the end node. I deployed this to the jbpm-jpdl-3.2.1 jbpm-console web application deployed out of the box, in tomcat 5.0.28, and configured to run with mysql. Hope that helps, I can provide a process definition a little later, I am working towards a deadline at the moment, cheers Ross View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083815#4083815 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083815 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: 4.0.5 to 4.2.1 hostname problem with port 4446?
of course i didn't! it is far too long for me. Thank you for pointing for exact place to read :) wbr, eugen. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083816#4083816 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083816 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: NPE opening GPD (GPD-148)
Try to get rid of the file containing the graphical information before reopening the file. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083818#4083818 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083818 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - LazyInitializationExceptions are staying
I use the following combination of tools: Seam 1.2 GA Apache MyFaces EJB3 hibernate-commons-annotations 3.3.0.ga hibernate-validator3.0.0.ga com.sun.facelets 1.1.12 org.ajax4jsf 1.1.1 org.richfaces 3.0.1 jboss-ejb3-all 3.0.0 hibernate 3.0.0 I want to make use of Seam-managed persistence context with JPA; the problem I get is that lazy loading (FetchType.LAZY) isn't working ; if I use FetchType.EAGER everything works correctly. I get the following error: org.hibernate.LazyInitializationException: failed to lazily intialize a collection of role: . I followed the tutorial within the SEAM tutorial I have the following configuration of a project including 2 subprojects, which are packed in seperate jars. Jars/wars in total ear project: -- 1. JAR ejb project containing the domain objects, service layer (stateless ejb3 beans) and controller layer (statefull ejb3 beans); in this jar the persistence.xml is located in the META-INF directory 2. JAR commons project containing helper classes (in this jar the entitymanager is injected using @PersistenceContext(type=PersistenceContextType.EXTENDED) private EntityManager entityManager 3. WAR web project Overview of configuration files: persistence.xml (located in META-INF directory van ejb jar) == ?xml version=1.0 encoding=UTF-8? persistence xmlns=http://java.sun.com/xml/ns/persistence; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd; version=1.0 persistence-unit name=atinvestorDb org.hibernate.ejb.HibernatePersistence jta-data-sourcejava:/AtInvestorMySqlDS/jta-data-source !-- These are the default for JBoss EJB3, but not for HEM: -- !-- Put the EntityManagerFactory into JNDI so we can use it manually in tests -- !--property name=jboss.entity.manager.jndi.name value=java:/atinvestorEntityManager/-- /persistence-unit components.xml (located in WEB-INF of web WAR) === ... core:managed-persistence-context name=entityManager auto-create=true persistence-unit-jndi-name=java:/atinvestorEntityManagerFactory / ... faces-config.xml (located in WEB-INF of web WAR) === ... phase-listenerorg.jboss.seam.jsf.TransactionalSeamPhaseListener/phase-listener ... Can someon help me why I don't get lazy loading to work with this configuration. - Can it be that the problem is in the fact that the injection of the EntityManager is within another JAR then where the persistency unit residence (and therefore the persistence.xml file is located) ? Thanks beforehand. Michel View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083822#4083822 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083822 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Adding Seam to an existing EJB2 application
Solved The missing piece was changing the JNDI name pattern in components.xml to reflect the name of the old application (tukan). core:init debug=true jndi-pattern=tukan/#{ejbName}/local/ Thanks for listening ;-). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083817#4083817 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083817 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: multiple persistence units?
Ask this in an EJB/JPA forum View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083825#4083825 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083825 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: facesMessages.addFromResourceBundle charset encoding
If you can email me a simple test case based on seam-gen from Seam2/CVS (with lib dir removed) I can take a look. Step by step instructions to reproduce as well please :) Remember I don't have access to your db View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083826#4083826 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083826 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: required variables
h yes, afaik, an exception should be thrown. I'll check the code cause now I'm getting worried. I hop it is not some kind of regression. In org.jbpm.taskmgmt.exe..Taskinstance.submitVariables(), org.jbpm.taskmgmt.def.TaskControler.submitParameters() is called which has a nice loop: if (variableAccesses!=null) { | String missingTaskVariables = null; | Iterator iter = variableAccesses.iterator(); | while (iter.hasNext()) { | VariableAccess variableAccess = (VariableAccess) iter.next(); | String mappedName = variableAccess.getMappedName(); | // first check if the required variableInstances are present | if ( (variableAccess.isRequired()) | (! taskInstance.hasVariableLocally(mappedName)) | ) { | if (missingTaskVariables==null) { | missingTaskVariables = mappedName; | } else { | missingTaskVariables += , +mappedName; | } | } | } | | // if there are missing, required parameters, throw an IllegalArgumentException | if (missingTaskVariables!=null) { | throw new IllegalArgumentException(missing task variables: +missingTaskVariables); | } | Strange thing is that I cannot find a test for this. I'm almost sure I've seen them in the past View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083829#4083829 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083829 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: getting pdf bytes?
I would suggest the alternative approach of extending DocumentStore to do the caching for you. You should be able render the document without the user hitting the page using Renderer (as you do for mail). Post any problems you get with this approach and we can look at getting patches into Seam to fix (I've never tested Renderer for PDFs). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083830#4083830 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083830 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Adding DataModel/DataModelSelection/In/Out in runtime
Hi It is possible add anotations in runtime? I have an general objet that manage de searchs, and I want declare the datamodel name on runtime, it is posssible? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083831#4083831 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083831 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail Internationalization
This works for me View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083832#4083832 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083832 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - MVC application with EJB 2.1
Hello! I'm trying to build an MVC application using EJB to access a database. But I've met an unexpected problem: in my servlet (C-part of MVC) i want to use my EJB to get data through it. And that's why I must have EJB's interfaces imported into my servlet. Otherwise it won't compile. But then I'll get ClassCastException trying to do | InitialContext init = new InitialContext(); | | Object objref = init.lookup(TheNews); | | NewsHome home = (NewsHome)PortableRemoteObject.narrow(objref, NewsHome.class); | Because interface NewsHome and objref are loaded with different ClassLoaders. How should I pack my ear-file and how to organize access to EJB functions: from servlet(how?) or somewhere else? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083834#4083834 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083834 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: multiples components.xml files
thnks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083833#4083833 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083833 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Bug with EVENT scope
This is correct, and explained in the docs. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083835#4083835 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083835 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Null component in context?
Because you explicitly outject null. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083836#4083836 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083836 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - No class loaders found
Hi, i'm back !!! With a new issue. Here it is : when trying to end a taskinstance, i got this exception : java.lang.ClassCastException: org.jbpm.scheduler.ejbtimer.EjbSchedulerServiceFactory This is because i have multiple deployment of jbpm jar. When deleting this jbpm-jpdl.jar from the /WEB-INF/lib of my webapp, i have an exception earlier in the process !! I cant even access the variable instance that i put with the task. (i can when i put the jar in the webapp but later in the process when trying to end the task it fail). I have this exception : javax.servlet.ServletException: org.jbpm.JbpmException: couldn't deserialize object caused by : org.jbpm.JbpmException: couldn't deserialize object caused by : java.lang.ClassNotFoundException: No ClassLoaders found for: com.it.model.User Any help would be greatly appreciated. Regards, O.M. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083838#4083838 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083838 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: [NamespaceScanner] Cannot load package
You'll need to debug NamespaceScanner to find out why it's not able to load the package info. Alternatively just use the non-namespaced declarations. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083839#4083839 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083839 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Ant task for wsconume, wsprovide ??
Hi, WSConsume uses com.sun.tools.ws.wscompile.WsimportTool, internally so you can find the answer by analyzing this Sun WSDL compiler. I took a short look into it and the difference is that WsimportTool during the compiling phase generates both *.java and *class files. At the end of compilation phase if -keep option is set, the generated *.java files will be removed. (-keep option is automatically set by WSConsume tool if you'll specify sourcedestdir attribute in your ant task). Thus if you will specify sourcedestdir, the generated *.java files will not be deleted after the compilation phase. To answer your question: sourcedestdir points to the directory, where WsimportTool will generated *.java files, while destdir points to directory where these *.java files will be compiled to *.class files. RIchard View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083840#4083840 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083840 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SFSB and Hibernate Validator -
Use h:inputText id=id value=#{someService.searchIdString} / and get rid of the @In View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083841#4083841 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083841 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: session problem
You probably want to use @Restrict on your persist method View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083842#4083842 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083842 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Adding DataModel/DataModelSelection/In/Out in runtime
You would have to do it programmatically rather than using annotations. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083843#4083843 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083843 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: LazyInitializationExceptions are staying
I tested the LAZY loading functionality on the dvdstore examples project delivered with the JBoss SEAM 1.2GA distribution, but there lazy loading ONLY works for OneToOne relations, and it is NOT working for ManyToMany relations. But by default the ManyToMany relation within the dvdstore application is put to EAGER loading instead of LAZY loading. I changed this to FetchType = LAZY, and then I get the same exception as I have on my application (LazyInitializaionException). Therefore I think that LAZY loading is only working for OneToOne relations. Is this correct ?? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083844#4083844 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083844 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: LazyInitializationExceptions are staying
Nothing to do with Seam, ask on the hibernate forum. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083845#4083845 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083845 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: how to change localhost to host name in the url
Not a performance question. Have a look at http://wiki.jboss.org/wiki/Wiki.jsp?page=JBoss42FAQ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083846#4083846 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083846 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: FlushModeType not working in Seam 1.2.1 GA?
Yes, must be an SMPC. How do you inject your SMPC? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083847#4083847 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083847 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SeamTest and JSF validation
validateValue just validates against Hibernate Validator. Run the validator manually. If you would like a helper method to call to validate a value using a JSF validator in SeamTest please add a feature request to JIRA View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083848#4083848 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083848 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - portlet max width
I have got defined center region for portlets which size is 60% of all. My portlet reading strings(articles) from database, and if one of string length is bigger than portlet width everything break, because portlet width increase. I need to configure const(but 60%) width of porlet. When string will be longer I want to move letters to the next line. It isn't problem of layout because my cms portlet works fine. Do you have got any suggestion? Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083849#4083849 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083849 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SeamTest.FacesRequest: question
I don't understand what you mean. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083850#4083850 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083850 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: generate-entities in Seam 2.0 doesent work ...
any solution on this?! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083851#4083851 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083851 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: FlushModeType not working in Seam 1.2.1 GA?
From his code i see that he's using wrong property name for the entity manager @End | public String submitEdit() | { | em.flush(); | return home; | } View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083852#4083852 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083852 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Combo Box in Form
I'm pretty sure now it is a multiple different classes /classloader issue as mentioned above. I extended the VariableInstanceDbTest with the following test: | public void testJSFSelectItem() { | Collection selectItems=new ArrayList(); | selectItems.add(new SelectItem(BLA,Fasel)); | selectItems.add(new SelectItem(BLoe,Fasel2)); | contextInstance.createVariable(selectit1,selectItems); | processInstance = saveAndReload(processInstance); | contextInstance = processInstance.getContextInstance(); | ArrayList selectItemsRead = (ArrayList) contextInstance.getVariable(selectit1); | assertTrue(selectItemsRead.get(0) instanceof SelectItem); | } | and the test works. So try removing the jsf libs from your war/ear and only use those on the classpath. So to me it is now (until proven otherwise Karsten... ;-)) not a jBPM issue anymore View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083853#4083853 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083853 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Question on Seam Annotataion with JSF-EL language interp
Just use Expressions.instance().createValueExpression(property) to evaluate a EL expression. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083854#4083854 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083854 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Decision node always taking first option
I'm certain the Script-engine has access to Objects in memory, since I can call any function in the object from the script in the process definition and get a valid response. (See my node-enter action above, that works) I'm also sure Objects can be accessed in conditions, as it is one of the examples in the jBPM folder, like so: decision name=decline? | transition name=no to=base rating | condition expression=#{quoteWorkingObject.declineCount == 0}/ | /transition |transition name=yes to=end1 | condition expression=#{quoteWorkingObject.declineCount 0}/ | /transition | /decision | I'm about to give Peta's example a shot, though the syntax differs from the example given in jBPM. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083855#4083855 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083855 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: required variables
I found that code in the submitParameters() method earlier, which is why I thought an exception should be thrown. However, I've just tried again, and still no exeption. My task definition: start-state name=Request For New Employee | task name=Request For New Employee swimlane=Initiator | controller | variable name=IsReplacement access=read,write,required/variable | variable name=EmployeeReplaced/variable | variable name=TestVariable access=read,write,required/variable | /controller | /task | transition name= to=Financial Director Approval 1/transition |/start-state My action class then completes the task in the following way, but I have added a few printout lines to make sure that my IsReplacement variable is null, and they confirm that the IsReplacement variable is still null, even after calling the end method. if (completeTask != null completeTask.equalsIgnoreCase(Yes)) { | try { | log.debug(Completing Task Instance: +taskInstance.getId()); | if (sys_transition != null !sys_transition.equals()) { | taskInstance.end(sys_transition); | } | else { | taskInstance.end(); | } | messages.add(ActionMessages.GLOBAL_MESSAGE, | new ActionMessage(task.completed)); | } | catch (Exception e) { | System.out.println(Exception when ending task!!); | e.printStackTrace(); | } | } | else { | log.debug(Saving Task Instance: +taskInstance.getId()); | messages.add(ActionMessages.GLOBAL_MESSAGE, | new ActionMessage(task.saved)); | } | | String isReplacementVar = (String)taskInstance.getVariable(IsReplacement); | if (isReplacementVar == null) { | System.out.println(###isReplacementVar is NULL); | } | else { | System.out.println(###isReplacementVar is NOT NULL); | } Please let me know if you figure out what's wrong. I will try a few more things and update this post if I find the answer. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083856#4083856 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083856 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Adding DataModel/DataModelSelection/In/Out in runtime
I was looking inside of the Component class, but I didnt found way to add annotations. Any idea? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083857#4083857 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083857 ___ 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 Oracle Problem: ORA-00907: missing right parenthes
Hi all. I'm using JBoss 4.2.1GA, and Oracle 10g, and attempting to perform a query. I've been receiving a ORA-00907: missing right parenthesis error when attempting to perform the query. Now this is apparently due to Hibernate using the 'as' keyword in the query - something that has been fixed in Hibernate 3.3.0ga. So I updated these Hibernate libs in \server\default\lib: hibernate-entitymanager.jar (3.3.1ga) hibernate-annotations.jar (v 3.3.0ga) hibernate-commons-annotations.jar (within Hibernate Annotations.rar\lib) ejb3-persistence.jar (within Hibernate Annotations.rar\lib) hibernate3.jar (v 3.2.5.ga) But still get the same error. The query still contains the 'as' keyword. Can anyone help? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083859#4083859 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083859 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: facesMessages.addFromResourceBundle charset encoding
Ngh, can't reproduce it either on a new seam-gen or icefaces-seam-gen project. Looks like I have to try migrating my project over to the skeleton project and see when/if it breaks :-/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083863#4083863 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083863 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Single Inheritance / ConstraintViolationException / Postgre
Hi, using a single table inheritance strategy with postgres 7.3 always causes a ConstraintViolationException when I try to merge the changes. I first create a new enity bean, which works. Then I add it to a OneToMany collection of another entity bean and try to merge the change. This is when I get a ConstraintViolationException. Here is the setup: | @Entity | @Inheritance(strategy = InheritanceType.SINGLE_TABLE) | | public class Person implements Serializable | { | @Id | @GeneratedValue(strategy = GenerationType.IDENTITY) | long id; | .. | } | | @Entity | @Name(junior) | | public class Junior extends Person | { | ... | } | | @Entity | @Name(school) | | public class School implements Serializable | { | @Id | @NotNull | @Length(min = 5, max = 40) | String schoolName | | @OneToMany(cascade = {CascadeType.ALL}) | ListJuniors juniors = new ArrayListJuniors(); | | @OneToMany(cascade = {CascadeType.ALL}) | ListSoftmore softmores = new ArrayListSoftmore(); | | @OneToMany(cascade = {CascadeType.ALL}) | ListSenior seniors = new ArrayListSenior(); | ... | The following code always throws a ConstraintViolationException | // works | entityManager.persist(junior); |// this causes a contraint violation | school.getJuniors().add(junior); | school = entityManager.merge(rewriteConfiguration); | The reason why this happens, is because the columns of the database table, which keeps track of the OneToMany relationships are all defined to be NOT NULL. Here comes the table: | | school_schoolname character varying(40) | NOT NULL | | juniors_id bigint | NOT NULL | | softmores_idbigint | NOT NULL | | seniors_id bigint | NOT NULL | | However, all those columns SHOULD be nullable, but hibernate does not set them up like this. How can I make sure hibernate does this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083864#4083864 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083864 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Single Inheritance / ConstraintViolationException / Postgre
Hi, using a single table inheritance strategy with postgres 7.3 always causes a ConstraintViolationException when I try to merge the changes. I first create a new enity bean, which works. Then I add it to a OneToMany collection of another entity bean and try to merge the change. This is when I get a ConstraintViolationException. Here is the setup: | @Entity | @Inheritance(strategy = InheritanceType.SINGLE_TABLE) | | public class Person implements Serializable | { | @Id | @GeneratedValue(strategy = GenerationType.IDENTITY) | long id; | .. | } | | @Entity | @Name(junior) | | public class Junior extends Person | { | ... | } | | @Entity | @Name(school) | | public class School implements Serializable | { | @Id | @NotNull | @Length(min = 5, max = 40) | String schoolName | | @OneToMany(cascade = {CascadeType.ALL}) | ListJuniors juniors = new ArrayListJuniors(); | | @OneToMany(cascade = {CascadeType.ALL}) | ListSoftmore softmores = new ArrayListSoftmore(); | | @OneToMany(cascade = {CascadeType.ALL}) | ListSenior seniors = new ArrayListSenior(); | ... | The following code always throws a ConstraintViolationException | // works | entityManager.persist(junior); |// this causes a contraint violation | school.getJuniors().add(junior); | school = entityManager.merge(rewriteConfiguration); | The reason why this happens, is because the columns of the database table, which keeps track of the OneToMany relationships are all defined to be NOT NULL. Here comes the table: | | school_schoolname character varying(40) | NOT NULL | | juniors_id bigint | NOT NULL | | softmores_idbigint | NOT NULL | | seniors_id bigint | NOT NULL | | However, all those columns SHOULD be nullable, but hibernate does not set them up like this. How can I make sure hibernate does this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083865#4083865 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083865 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: LazyInitializationExceptions are staying
Can you please give me a more constructive answer including an explanation and where the problem is residing within hibernate. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083866#4083866 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083866 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Decision node always taking first option
ths script enginge I'm sure, the EL not. In the example you describe, the quoteWorkingObject IS a processvariable and not just an object in memory. Ignore petia's example since that also uses a processvariable and just another (imo less wanted) syntax. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083868#4083868 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083868 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Hibernate Oracle Problem: ORA-00907: missing right paren
Just to let you know the query... I have two tables. Users and UserSurveys There is a one-to-many mapping between Users to UserSurveys. I'm trying to perform a query like to get users who haven't completed a survey before 'purchaseDate': Query query = entityManager.createQuery(FROM + User.class.getSimpleName() + cu LEFT JOIN FETCH cu.userSurveys us + WHERE cu.purchaseDate = :purchaseDate); query.setParameter(purchaseDate, new java.sql.Date(cal.getTimeInMillis()), TemporalType.DATE); That's it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083869#4083869 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083869 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - @Restrict and redirect.captureCurrentView
I try to use the built-in security handling to redirect user to the page she originally requested after the login. I works fine when I'm using login-required=true in pages.xml but the problem is when I'm using @Restrict(#{identity.loggedIn}) in the class. When the annotations is used, the login page is shown but after login the page is reloaded (instead of the originally requested). And on the JBoss Console I can see an Exception: javax.faces.el.EvaluationException: Exception while invoking expression #{commandeService.commander} ... Caused by: org.jboss.seam.security.NotLoggedInException I'm doing something wrong ? here is my files : pages.xml : pages no-conversation-view-id=/home.xhtml login-view-id=/login.xhtml page view-id=* ... navigation from-action=#{commandeService.commander(panier)} redirect view-id=/commande.xhtml ... page view-id=/commande.xhtml login-required=true ... redirect view-id=/login.xhtml #{messages.NotLoggedIn} components.xml: ... ... Java class, session bean with restricted method/class: @Stateful @Scope(CONVERSATION) @Name(commandeService) @Restrict(#{identity.loggedIn}) public class CommandeServiceBean implements CommandeService{ @In(required=false) private User user; ... @PersistenceContext private EntityManager em; @Begin(join=true) public void commander(Panier panier) throws PoidsMaxException, NotLoggedInException { ... } } View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083871#4083871 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083871 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Hibernate Oracle Problem: ORA-00907: missing right paren
Query query = entityManager.createQuery(FROM + User.class.getSimpleName() + cu LEFT JOIN FETCH cu.userSurveys us + WHERE cu.purchaseDate = :purchaseDate + AND NOT EXISTS (SELECT us FROM cu.userSurveys us WHERE us.userId = cu.userId)); View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083872#4083872 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083872 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: required variables
can you try making a unittest of this? So it can run without struts etc... and an embedded processdefinition (look at othe jbpm testcases). Also trie what happens if you try to put a variable which is readonly. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083875#4083875 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083875 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Could not create connection; - nested throwable: (java.sql.S
hello jboss4.2.1 is throwing following exception while connecting to oracle10g, i am testing datasource through ejb the following are the files jbosscmp-jdbc.xml - ?xml version=1.0 encoding=UTF-8? !DOCTYPE jbosscmp-jdbc PUBLIC -//JBoss//DTD JBOSSCMP-JDBC 3.0//EN http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd; jbosscmp-jdbc java:/OracleDS datasource-mappingOracle9i/datasource-mapping create-tablefalse/create-table remove-tablefalse/remove-table pk-constrainttrue/pk-constraint preferred-relation-mappingforeign-key/preferred-relation-mapping enterprise-beans !-- orders -- ejb-nameorders/ejb-name table-nameordersoracle/table-name cmp-field field-nameorder_no/field-name column-nameorderno/column-name not-null/ /cmp-field cmp-field field-nameorder_desc/field-name column-nameorderdesc/column-name /cmp-field cmp-field field-nameorder_date/field-name column-nameorderdate/column-name /cmp-field /enterprise-beans /jbosscmp-jdbc - ejb-jar.xml -- ?xml version=1.0 encoding=UTF-8? !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN http://java.sun.com/dtd/ejb-jar_2_0.dtd; ejb-jar enterprise-beans display-nameorders/display-name display-nameorders/display-name ejb-nameorders/ejb-name orderentity.ordersHome orderentity.orders ejb-classorderentity.ordersBean/ejb-class persistence-typeContainer/persistence-type False cmp-version2.x/cmp-version abstract-schema-nameordersschema/abstract-schema-name primkey-fieldorder_no/primkey-field prim-key-classjava.lang.Integer/prim-key-class cmp-fieldfield-nameorder_no/field-name/cmp-field cmp-fieldfield-nameorder_desc/field-name/cmp-field cmp-fieldfield-nameorder_date/field-name/cmp-field ejb-nameTestSession/ejb-name orderentity.TestSessionHome orderentity.TestSession ejb-classorderentity.TestSessionBean/ejb-class session-typeStateless/session-type transaction-typeContainer/transaction-type /enterprise-beans /ejb-jar - jboss.xml -- ?xml version='1.0' encoding='UTF-8' ? enterprise-beans ejb-nameorders/ejb-name jndi-nameorders/ordersHome/jndi-name ejb-nameTestSession/ejb-name jndi-nameTestSession/TestSessionHome/jndi-name /enterprise-beans --- and oracle-ds.xml ?xml version=1.0 encoding=UTF-8? !-- = -- !-- -- !-- JBoss Server Configuration -- !-- -- !-- = -- !-- $Id: oracle-ds.xml 63175 2007-05-21 16:26:06Z rrajesh $ -- !-- -- !-- Datasource config for Oracle originally from Steven Coy -- !-- -- local-tx-datasource jndi-nameOracleDS/jndi-name connection-urljdbc:oracle:thin:@localhost:1521:orcl/connection-url !-- Here are a couple of the possible OCI configurations. For more information, see http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/java.920/a96654/toc.htm connection-urljdbc:oracle:oci:@youroracle-tns-name/connection-url or connection-urljdbc:oracle:oci:@(description=(address=(host=localhost)(protocol=tcp)(port=1521))(connect_data=(SERVICE_NAME=orcl)))/connection-url Clearly, its
[jboss-user] [JBoss Seam] - Re: @Restrict and redirect.captureCurrentView
Sorry... trouble with my post, here is my component.xml | ... | event type=org.jboss.seam.notLoggedIn |action expression=#{redirect.captureCurrentView}/ |/event | |event type=org.jboss.seam.postAuthenticate |action expression=#{redirect.returnToCapturedView}/ |/event | ... | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083876#4083876 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083876 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: IllegalStateException: Current state = FLUSHED, new stat
Hi all, Please post your suggestion for this problem. It is very critical issue for us. Let me know if someone require any more information on this. Regards, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083878#4083878 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083878 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Is there a way to get more than 1 ip address (localhost) on
I wanted to check out jboss clustering on a non-networked windows machine. Is there a way to get another IP address other than localhost? 127.0.0.2? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083880#4083880 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083880 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam JSF controls do not work in external Facelet templa
So, I upgraded to Seam 2 (latest nightly build), and the s:decorate problem is indeed gone. However, I still have problems with s:link. If I include the following in a page, it works without any problems: | s:link action=#{homeAction.test} value=Test with s:link/s:link |h:formh:commandLink action=#{homeAction.test} value=Test with h:commandLink/h:commandLink/h:form If I create a Facelet composite and include it in the page, the s:link does not work. I get the message: anonymous wrote : 13:19:14,390 ERROR [SeamPhaseListener] uncaught exception | javax.el.PropertyNotFoundException: Target Unreachable, identifier 'backingBean' resolved to null For reference, the test Facelet composite is the following: | ui:composition | h:panelGrid columns=1 | s:link action=#{backingBean.test} value=Test with s:link/s:link | h:form |h:commandLink action=#{backingBean.test} | value=Test with h:commandLink/h:commandLink | /h:form | /h:panelGrid | /ui:composition | Again: is it a well-known bug? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083881#4083881 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083881 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Redelivering messages
I have a small problem with Redelivering messages. I am using jboss 4.0.5. I have looked at bug EJBTHREE-783 and backported the changes from 4.2.1ga to the 4.0.5 branch. However, when looking at the code, I came across the following part, in org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory: | | public boolean isDeliveryTransacted(Method method) throws NoSuchMethodException |{ | boolean result = false; | int transType = metaData.getMethodTransactionType(method.getName(), method.getParameterTypes(), InvocationType.LOCAL); | if (transType == MetaData.TX_REQUIRED) | result = true; | if (trace) | log.trace(isDeliveryTransacted + container.getBeanMetaData().getContainerObjectNameJndiName() + method= + method + result= + result); | return result; |} | | I am a bit surprised by this method. What about TX_MANDATORY, TX_REQUIRES_NEW, and TX_SUPPORT? I guess that the delivery is transacted if we are using any of these states. Currently messages do not get rollback and requeued if the transaction type is other than REQUIRED. I don't think that's correct. They should be requeued as well for other transaction types. What there a logic behind this? I may I reopen EJBTHREE-783? Thanks, Nicolas Leroux View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083882#4083882 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083882 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: problem creating a new tomcat authentication method
Ok, I have made some findings about this which may cast some light: I think Tomcat can't load correctly the web.xml configuration file when I use my custom authenticator method. I use this lines in web.xml to specify which authenticator module should be used: login-config auth-methodCUSTOM/auth-method realm-nameCustom Realm/realm-name form-login-config form-login-page/login.jsp/form-login-page form-error-page/error.jsp/form-error-page /form-login-config /login-config I suspect Tomcat does not know that it must take into account form-login-config fields. My custom authenticator is just FormAuthenticator modified, so Tomcat should be configured in the same way. What do you think about this? How can I tell Tomcat to read the form-login-config fields? Thanks, Antonio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083884#4083884 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083884 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Redelivering messages
I am reading the page 110 of the spec anonymous wrote : | If the bean is specified as using container-managed transaction demarcation, either the REQUIRED or the NOT_SUPPORTED transaction attribute must be used for the message listener methods | So it seems that my remarks must be ignored. Nicolas Leroux View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083888#4083888 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083888 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Help with development environment
Hi, i need help with a development environment. I need to use JAX-WS to develop some Web Services, but i need to prepare a productive environment to do this. I have some doubts on what tools to use to do this. Can i mix JBossIDE + ANT and use JBossAS 4.2.1 + JBossWS as JAX-WS implementation? Can someone help me with this? Thanks in advance! Marcelo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083890#4083890 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083890 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - LazyInitializationExceptions when Lazy loading ManyToMany re
changed header View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083891#4083891 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083891 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: portlet max width
I checked my cms admin portlet and it don't wrap texts too. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083895#4083895 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083895 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: LazyInitializationExceptions are staying
I think that Pete means that the constructive answer and where the problem is should be sought in the hibernate forum View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083896#4083896 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083896 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: No class loaders found
Hi, i have some more information. jbpm is trying to end the process when this error occurs. Stack java.lang.ClassCastException: org.jbpm.scheduler.ejbtimer.EjbSchedulerServiceFactory org.jbpm.svc.Services.getServiceFactory(Services.java:122) org.jbpm.svc.Services.getService(Services.java:139) org.jbpm.svc.Services.getCurrentService(Services.java:88) org.jbpm.graph.exe.ProcessInstance.end(ProcessInstance.java:328) thanks for helping, regards, O.M. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083901#4083901 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083901 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JSF and all commandButtons are fired
Hello, I have a jsf-portlet. Now, when I click a commandButton of that jsf all the methos of the underlying Managed-Bean are processed. Why ? %@ taglib uri=http://java.sun.com/jsf/html; prefix=h% %@ taglib uri=http://java.sun.com/jsf/core; prefix=f% f:view h:form id=main .. h:commandButton id=b1 type=submit action=#{Bean.calit} value=Calculation/ .. h:commandButton id=b2 type=submit action=#{Bean.calit2} value=Calculation 2/ /h:form /f:view View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083902#4083902 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083902 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Long-running conversations and EntityHome
I do a wild guess that your problem could be related with mine. I do have no problem do work with entityHome Objects in the way which is used in a semgen generated app. But... When i try to initialize an entityHome from a javabean, no luck. What i am trying to do is this: @Name(genFieldplan) | //@Scope(ScopeType.CONVERSATION) | public class GenerateFieldplanBacking { | [...] | public void fetchEvaluation(){ | log.info(UserEvaluationId : #0,calcEvaluationId()); | evaluationHome.setEvaluationEvaluationId(calcEvaluationId()); | // Evaluation evaluation = evaluationHome.getInstance(); | // log.info(evaluation: #0, ID: #1,evaluation,(evaluation==null?null:evaluation.getEvaluationId())); | } | this code is called from this page: | h:form | h:commandButton action=#{genFieldplan.fetchEvaluation} id=search value=Search for Evaluation / | /h:form | rich:panel | f:facet name=headerEvaluation/f:facet | | s:decorate id=evaluationId template=/layout/display.xhtml | ui:define name=labelevaluationId/ui:define | #{evaluationHome.instance.evaluationId} | /s:decorate | [...] | What happens is this: If no long running conversation is active, after pressing the commandbutton the evaluation is shown. When i start a long-running-conversation(in *.page.xml for the page) no evaluation is shown after pressing the button. Is this what you mean? And for others what do i make wrong? Any hints are welcomed Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083903#4083903 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083903 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: cms and Filestystem
Thanks a lot Sohil. I checked it. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083904#4083904 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083904 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: generate-entities in Seam 2.0 doesent work ...
as soon as i remove the properties: hibernate.default_schema=schemaname and the table-filter xyz it starts working. problem here is: it takes EVERY table of my oracle database... this pretty sucks ;) solutions? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083905#4083905 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083905 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: modifying dashboard url
What i meant is, can we change the name of dashboard, the same way as we change the names of portals (defalut,template). M waiting for the reply. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083907#4083907 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083907 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Long-running conversations and EntityHome
I extended my page with this code: s:decorate id=evaluationIdHome template=/layout/display.xhtml | ui:define name=labelHome evaluationId/ui:define | #{evaluationHome.evaluationEvaluationId} | /s:decorate | If my page starts a conversation this happens: the home evaluationId is set correctly, but the instance id is empty. When my page does not start a conversation, all is well as stated above. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083908#4083908 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083908 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Security context propagation between Seam EJB components
Hi all, I am experiencing the same kind of problems. It seems impossible to transmit Seam security context informations to JEE security context ... I can imagine some realy ugly solutions, but I would prefer some pretty one :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083911#4083911 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083911 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Help needed porting from seam 1.1.0 to seam 2.0beta1
Hi, I am currently trying to port my existing Seam application from version 1.1.0 to Seam 2.0 Beta 1. I am stuck on this error and cannot find any explanation to it. | | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- | ObjectName: persistence.units:ear=AEWAProject.ear,jar=AEWAProject.jar,unitName=AEWAProject | State: FAILED | Reason: javax.persistence.PersistenceException: org.hibernate.HibernateException: Wrong column type: ActionIndex, expected: integer | I Depend On: | jboss.jca:service=DataSourceBinding,name=AEWAProjectDatasource | | | I had been using Hibernate 3.2.3.GA. Has there been any change to Hibernate in Seam 2.0. Is there any modifications that i have to do in my objects ? Thnx for any input. Cheers, Yogesh View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083914#4083914 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083914 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - web service url
Good day to all There is WS from JBossESB quickstarts (nativeclient) for example Is there any way to determine what url has this web service from sayHello @WebMethod?? /* | * JBoss, Home of Professional Open Source | * Copyright 2006, JBoss Inc., and others contributors as indicated | * by the @authors tag. All rights reserved. | * See the copyright.txt in the distribution for a | * full listing of individual contributors. | * This copyrighted material is made available to anyone wishing to use, | * modify, copy, or redistribute it subject to the terms and conditions | * of the GNU Lesser General Public License, v. 2.1. | * This program is distributed in the hope that it will be useful, but WITHOUT A | * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A | * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. | * You should have received a copy of the GNU Lesser General Public License, | * v.2.1 along with this distribution; if not, write to the Free Software | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | * MA 02110-1301, USA. | * | * (C) 2005-2006, | * @author JBoss Inc. | */ | package org.jboss.soa.esb.samples.quickstart.nativeclient.webservice; | | // For setting up the basic WS | | import javax.jws.WebMethod; | import javax.jws.WebService; | import javax.jws.soap.SOAPBinding; | | // For ESB Interaction | import org.jboss.soa.esb.message.Message; // jbossesb-rosetta.jar | import org.jboss.soa.esb.message.format.MessageFactory; // jbossesb-rosetta.jar | import org.jboss.soa.esb.message.format.MessageType; // jbossesb-rosetta.jar | import org.jboss.soa.esb.client.ServiceInvoker; // jbossesb-rosetta.jar | | @WebService(name = HelloWorld, targetNamespace = http://nativeclient/helloworld;) | @SOAPBinding(style = SOAPBinding.Style.RPC) | public class HelloWorldWS { | @WebMethod | public String sayHello(String toWhom) { | System.out.println(HelloWorld Hit! + toWhom); | String results = ; | try { | ServiceInvoker deliveryAdapter; | Message requestMessage; | Message replyMessage = null; | | // Create the delivery adapter for the target service (you'd normally cache this!!)... | deliveryAdapter = new org.jboss.soa.esb.client.ServiceInvoker(MyServiceCategory, MyNativeClientService); | // Create and populate the request message... | requestMessage = MessageFactory.getInstance().getMessage(MessageType.JBOSS_XML); | requestMessage.getBody().setByteArray(toWhom.getBytes()); // inject the value from the WS client | // Deliver the request message synchronously - timeout after 20 seconds... | replyMessage = deliveryAdapter.deliverSync(requestMessage, 2); | | if (replyMessage != null) { | results = new String(replyMessage.getBody().getContents()); | } else { | results = Hello World: + toWhom + on + new java.util.Date(); | } | } catch (Exception e) { | System.out.println(e + \n); | e.printStackTrace(System.out); | } | return results; | } | } | | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083918#4083918 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083918 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Issues with EJB 3.0/ JBoss 4.0.5
Hello, I am now using JBoss 3.2.8 as server, which is hosting a 3rd party API called JBilling, which used EjB2.xand my client (EJB 3.0) is based on Jboss 4.0.5. When I try to connect to the server I get an exception, the stacktrace is given below. I checked the jars containing the class org.jboss.util.id.GUID on both JBoss's, the same version of the class is present on both servers. What could be the reason for getting this exception? Thanks 17:21:25,261 ERROR [STDERR] com.sapienter.jbilling.server.util.api.JbillingAPIException: java.lang.ClassCastException: org.jboss.util.id.GUID cannot be cas t to org.jboss.util.id.GUID 17:21:25,276 ERROR [STDERR] at com.sapienter.jbilling.server.util.api.EJBAPI.(EJBAPI.java:53) 17:21:25,276 ERROR [STDERR] at com.sapienter.jbilling.server.util.api.JbillingAPIFactory.getAPI(JbillingAPIFactory.java:56) 17:21:25,276 ERROR [STDERR] at com.stratoshear.webinterface.ui.SubscriberHandler.populateSubscriberDetails(Unknown Source) 17:21:25,292 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 17:21:25,292 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 17:21:25,292 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 17:21:25,308 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597) 17:21:25,308 ERROR [STDERR] at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126) 17:21:25,323 ERROR [STDERR] at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72) 17:21:25,323 ERROR [STDERR] at javax.faces.component.UICommand.broadcast(UICommand.java:312) 17:21:25,323 ERROR [STDERR] at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267) 17:21:25,339 ERROR [STDERR] at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381) 17:21:25,339 ERROR [STDERR] at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75) 17:21:25,355 ERROR [STDERR] at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200) 17:21:25,355 ERROR [STDERR] at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90) 17:21:25,355 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197) 17:21:25,370 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) 17:21:25,370 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 17:21:25,370 ERROR [STDERR] at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:112) 17:21:25,386 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) 17:21:25,386 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 17:21:25,401 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) 17:21:25,401 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) 17:21:25,401 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 17:21:25,417 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) 17:21:25,417 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) 17:21:25,417 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) 17:21:25,433 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) 17:21:25,433 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) 17:21:25,448 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) 17:21:25,448 ERROR [STDERR] at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) 17:21:25,448 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) 17:21:25,464 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) 17:21:25,464 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) 17:21:25,464 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) 17:21:25,480 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) 17:21:25,480 ERROR [STDERR] at
[jboss-user] [JBoss Seam] - Re: Help needed porting from seam 1.1.0 to seam 2.0beta1
Hibernate is bundled with JBoss AS. If you've altered your AS version then you will likely have altered your hibernate version View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083920#4083920 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083920 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Issues with EJB 3.0/ JBoss 4.0.5
Where are you getting this error? At the client(Jboss4.x) or on the server(Jboss3.x)? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083923#4083923 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083923 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: portlet max width
I readed this is a tinyMCE bug. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083924#4083924 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083924 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Hibernate Oracle Problem: ORA-00907: missing right paren
To make it even simpler I've done: Query query = entityManager.createQuery(FROM + User.class.getSimpleName() + cu LEFT JOIN cu.userSurveys us + WHERE NOT EXISTS (SELECT us FROM cu.userSurveys us WHERE us.userId = cu.userId)); Still the same problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083925#4083925 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083925 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Adding DataModel/DataModelSelection/In/Out in runtime
Programmatically means you could do something like this: | ... | private List myList; | private ListDataModel myDataModel; | ... | public void initializeMyDataModel() { | this.myDataModel = new ListDataModel(this.myList); | Context.getConversationContext().set(myProgrammaticName, this.myDataModel); | } | ... | The DataModel will now be available in the conversation context under the name provided. This of course will depend on what Context you want to set the DataModel into. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083926#4083926 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083926 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Decision node always taking first option
Ignore petia's example since that also uses a processvariable and just another (imo less wanted) syntax. That is, of course, unless it works! ;-) I have a vague memory of running into the same problem and using Petia's workaround early this year., when I was just starting with JBPM. Unfortunately, I don't remember anything useful, like what the underlying problem was, except that as you'd guess, it had to do with variable resolution. -Ed Staub View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083927#4083927 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083927 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: No class loaders found
Hi again, i wwas wondering : what is the relation beetween the EjbSchedulerService and ending a process instance ? I'm wondering because it's seems that its related to my problem. Regards, O.M. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083928#4083928 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083928 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Decision node always taking first option
Indeed, I'd rather use the straight-forward syntax, you're right about that. Doesn't the object become a process variable by using the mapping in ESB? As follows (thursday already...?): property name=esb-to-jbpm | !-- esb-name maps to getBody().get(eVar1) -- | variables | variable esb-name=some_object jbpm-name=jbpm_object / | /variables | /property Meaning the process 'should' have acces to the 'jbpm_object'-variable? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083929#4083929 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083929 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user