[jboss-user] [JBoss jBPM] - Re: JBPM IDentity
hi OM, in order to use ur own tables for user mgmnt, u need to implement AssignmentHandler urself, and use it as: task-node name=TASK1 | task name=TASK1 | assignment class=a.b.c.d.TaskAssignmentHandler/ | /task | transition name= to=NEXT_NODE/transition | /task-node the class itself would be something like this: | public class TaskAssignmentHandler implements AssignmentHandler{ | | private static final long serialVersionUID = 1L; | | public void assign(Assignable assignable, ExecutionContext executionContext) throws Exception { | String taskName = executionContext.getTaskInstance().getTask().getName(); | long id = executionContext.getProcessInstance().getId(); | | //GET POOLED ACTORS AS STRING[] HERE AND ASSIGN. | String pooledActors = util.getPooledActorsForTask(taskName); | //util is a class i have created to | //interact with my tables, and return the pooled actors for the given taskname. | //it contains a mapping for taskname-user role, and based on user role, | //it returns a comma-separated string of all users in that role. | if( pooledActors != null ){ | log.debug( Assigning task =+taskName+ to group =+pooledActors); | assignable.setPooledActors(pooledActors.split(,)); | } | else{ | System.out.println(COULD NOT ASSIGN POOL TO TASK); | } | //u can also set the actorId here explicitly, i am doing it in another class as: | /*TaskInstance task = jbpmContext.getTaskInstanceForUpdate | (taskId.longValue()); | task.setActorId(actorId); | jbpmContext.save(task); */ | } | } | that's it, u r ready to use ur user tables with jbpm now! :) (at least, this works for me ;) ) HTH.. :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4068995#4068995 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4068995 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Project on Jboss 4.0.5
it's fixed in svn - just waiting for the build to get stable again. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4068997#4068997 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4068997 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Adding a dynamic UI component before a page is rendered
Hi All I have a page where in i have to display some UI components like textboxes which are dynamic in nature. What i am trying to do is i have a panel grid in the page for which I am trying to add these dynamic components. When a user clicks on a link to this page i am calling a method which adds dynamic components to the grid declared in the page which is going to be rendered. The problem is when i try to access the panel grid on the page it says that the component is not present. Thx for reading my post. Any help would be appreciated. Thx again Murali View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4068998#4068998 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4068998 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Project on Jboss 4.0.5
p.s. 4.0.5 is currently not supported for the seam wizards from eclipse.use 4.2 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4068999#4068999 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4068999 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: ClassCastException when trying to merge an entity bean
We have same error with Seam 1.2.1-GA and JBoss 4.0.5-GA. Our problem was double assignment in @OneToOne relationship. | A a = new A(); | B b = new B(); | a.setB(b); | b.setA(a); | Solution: set the the relationship only to the object that own the mapping (table with foreign key) | A a = new A(); // if A has mapping | B b = new B(); | a.setB(b); | // b.setA(a); | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069000#4069000 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069000 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Re: Sequential processing of messages with the same Key
Thank you for your help and your patience. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069001#4069001 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069001 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Classloader problems
Yes, that solved the problem with the portlet, now I'm back at the point, where I already was, when I tested my application with JBP 2.6.0: a ClassCastException when the narrow to the remote home object (EJB 2.1) takes place. It worked so far with JBAS 4.0.5 and JBP 2.4. anonymous wrote : | 08:14:04,669 ERROR [CommandServlet] Exception in command invocation | java.lang.ExceptionInInitializerError | at java.lang.Class.forName0(Native Method) | at java.lang.Class.forName(Class.java:242) | at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:274) | at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:527) | at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:82) | at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53) | at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64) | at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:45) | at org.apache.el.parser.AstValue.getValue(AstValue.java:86) | at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186) | at org.apache.jasper.el.JspValueExpression.getValue(JspValueExpression.java:101) | at javax.faces.component.UIData.getValue(UIData.java:582) | at javax.faces.component.UIData.getDataModel(UIData.java:1063) | at javax.faces.component.UIData.setRowIndex(UIData.java:417) | at com.sun.faces.renderkit.html_basic.TableRenderer.encodeBegin(TableRenderer.java:85) | at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:788) | at javax.faces.component.UIData.encodeBegin(UIData.java:879) | at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:269) | at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:242) | at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812) | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886) | at javax.faces.render.Renderer.encodeChildren(Renderer.java:137) | at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812) | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886) | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892) | at com.sun.faces.portlet.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:413) | at com.sun.faces.portlet.ViewHandlerImpl.renderView(ViewHandlerImpl.java:265) | at com.sun.faces.portlet.LifecycleImpl$RenderResponsePhase.execute(LifecycleImpl.java:682) | at com.sun.faces.portlet.LifecycleImpl.phase(LifecycleImpl.java:330) | at com.sun.faces.portlet.LifecycleImpl.render(LifecycleImpl.java:266) | at com.sun.faces.portlet.FacesPortlet.renderFaces(FacesPortlet.java:352) | at com.sun.faces.portlet.FacesPortlet.doView(FacesPortlet.java:280) | at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133) | at javax.portlet.GenericPortlet.render(GenericPortlet.java:306) | at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.invokeRender(PortletContainerImpl.java:483) | at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:405) | at org.jboss.portal.portlet.container.PortletContainerInvoker$1.invoke(PortletContainerInvoker.java:86) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:86) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java) | at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66) | at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:112) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java) | at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66) | at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:102) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java) | at
[jboss-user] [JBoss jBPM] - Re: JBPM IDentity
Hi, okay thanks A LOT for your help. Best thoughts, O.M. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069005#4069005 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069005 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Classloader problems
It's the first narrow, that takes places causing the exception, the lookup works fine. Best wishes Werner View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069006#4069006 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069006 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Couldn't find process definition
Hi, here are some news :) I changed in my jbpm.cfg.xml from . to The exception change : javax.servlet.ServletException: org.jbpm.JbpmException: problem closing services {persistence=org.jbpm.persistence.JbpmPersistenceException: hibernate commit failed} org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:523) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:690) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) cause mère org.jbpm.JbpmException: problem closing services {persistence=org.jbpm.persistence.JbpmPersistenceException: hibernate commit failed} org.jbpm.svc.Services.close(Services.java:234) org.jbpm.JbpmContext.close(JbpmContext.java:139) com.it.application.responsable.cinematique.taches.tachesAction.traitement(tachesAction.java:150) cause mère org.jbpm.persistence.JbpmPersistenceException: hibernate commit failed org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:218) org.jbpm.svc.Services.close(Services.java:222) org.jbpm.JbpmContext.close(JbpmContext.java:139) com.it.application.responsable.cinematique.taches.tachesAction.traitement(tachesAction.java:150) cause mère org.hibernate.TransactionException: JTA commit failed: org.hibernate.transaction.JTATransaction.commit(JTATransaction.java:153) org.jbpm.persistence.db.DbPersistenceService.commit(DbPersistenceService.java:255) org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:213) org.jbpm.svc.Services.close(Services.java:222) org.jbpm.JbpmContext.close(JbpmContext.java:139) com.it.application.responsable.cinematique.taches.tachesAction.traitement(tachesAction.java:150) cause mère javax.transaction.RollbackException: [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] Can't commit because the transaction is in aborted state com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1267) com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:135) com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:87) org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:140) org.hibernate.transaction.JTATransaction.commit(JTATransaction.java:146) org.jbpm.persistence.db.DbPersistenceService.commit(DbPersistenceService.java:255) org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:213) org.jbpm.svc.Services.close(Services.java:222) org.jbpm.JbpmContext.close(JbpmContext.java:139) com.it.application.responsable.cinematique.taches.tachesAction.traitement(tachesAction.java:150) Do you know about that ? Any help will be greatly appreciated, Regards, O.M. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069009#4069009 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069009 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Couldn't find process definition
oups from . to Regards, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069010#4069010 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069010 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - HUSTON WE GOT A PROBLEM. JSF, portal, jboss-container. Sun R
I upgraded my portal from 2.6-CR1 to 2.6.1.GA Then the portal told me that MyFacesGenericPortlet did'nt exist any longer. 1) Okay I could accept to add/change dependency lists when I upgrade. 2) Okay I could accept to add some factory thing to my application But then searched this forum for JSF AND myfaces -- I got 9 pages of various issues. The problem seems to be that the jboss-container has switched from myfaces to Sun RI. One solution is to backport this change... Nice wiki (http://wiki.jboss.org/wiki/Wiki.jsp?page=Running2.6WithJBossAS4.2.xAndMyFaces) But NO NO NO NO.. what if another of my portlet suppliers uses Sun RI I am i chock that the page can exist. But anybody can write in the WIKI.. This cannot be a suggestion from the portal team? I cannot accept that my portlet is not running on 2.6.1.GA when I get to know the reason. This is simply not good enough. 9 pages of issues This tells me that JSF and the Portal has a bad story ! It also tells me that issues around this area are going to explode. (It actually also does at Bea, but that is not a explanation .. more a reason to worry to have equal problems to Bea) It tells me that the portal is heading the wrong way ! What can I accept? I can accept to add/change dependencies of my war I can accept to add some configuration to my-own-war NOT the jboss-system I can accept that the portal has a default JSF and that it changes !!! My suggestion -- bridges I suggest that the portal-project ensures these bridges. I suggest that the portal provide these bridges before such a change like the one in 2.6.1.GA !!! Therefore Huston we got a problem /Anders View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069011#4069011 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069011 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Couldn't find process definition
Sorry, the forum kept cuting my post from : service name=persistence factory=org.jbpm.persistence.jta.JtaDbPersistenceServiceFactory to : service name=persistence factory=org.jbpm.persistence.db.DbPersistenceServiceFactory View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069012#4069012 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069012 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Classloader problems
It is not related to JBoss Portal then. If that worked on Portal 4.0.5 you can still have JBoss Portal 2.6.1 running with JBoss AS 4.0.5 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069013#4069013 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069013 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Couldn't find process definition
forgot : i'm using Oracle9i thanks O.M. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069014#4069014 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069014 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: allowing users to access server-created files
No I didn't know about that method. Thank you for the tip I will try that tomorrow. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069015#4069015 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069015 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: HUSTON WE GOT A PROBLEM. JSF, portal, jboss-container. S
Hudson ? Calmed down now ? Ok we can talk. Your portlets can use different version of JSF (Some mYFaces 1.1.1, other myFaces 1.1.5, other myFaces 1.2.0, other Sun RI JSF 1.2 ...) Just embed them if you don't want to rely on the default embedded version. The bridges exist for myFaces and Sun RI. Now that said, you are talking about the bundle version. you can always use JBoss Portal 2.6.1.GA with JBoss AS 4.0.5 if you want (see the doc). Before calling the firefighters, make sure there is a fire. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069016#4069016 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069016 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Dynamically sized pop-up window
Any idea how to implement a pop-up window just big enough for an image? I don't know what size images are going to be uploaded. This is how I've done the pop-up, and it works: pages.xml | page view-id=/search.xhtml | navigation from-action=#{searchSessionBean.setPhoto} | render view-id=/hppu.xhtml/ | /navigation | /page | and on the view: | h:column | f:facet name=headerShow the Photo/f:facet | s:link target=PopUp onclick=window.open(null,'PopUp','width=270,height=290') | value=Show the Photo action=#{searchSessionBean.setPhoto} / | /h:column | Incidentally, not using pages.xml and supplying the URL of the pop-up page does not work. The page that pops up is the same as the page on which the link was clicked. The same goes for using navigation.xml View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069017#4069017 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069017 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: DL(Q) Reason
This might be the wrong forum but.. I've had a look at the jboss 4.2.0 code and as far as I can see the DLQ handler never receives the exception, it only receives the Message again and has to figure out if it should be dlq'ed or not.. I haven't had a chance to look at Messaging 1.4.0.CR1 source yet, but the release notes says it has fixed a redelivery delay issue. http://jira.jboss.com/jira/browse/JBMESSAGING-1005 It doesn't say how, but maybe there is something in the fix that might help.. genman wrote : | For MDB, you're actually not supposed to throw exceptions from onMessage(). So, by design you would never know the cause. | A MDB is not designed to throw a Application exception, but it is certainly designed to throw a System exception (as any other method). When using Container managed MDBs, one of the ways to performing a rollback is actually to throw a System exception. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069018#4069018 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069018 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - org.jboss.deployment.DeploymentException: no protocol:
Hi, I am tesing the jboss 4.2.0.GA application platform. While doing specj2004 testing, i am getting following error. 12:33:45,953 ERROR [MainDeployer] Could not create deployment: file:/opt/jboss-eap-4.2/jboss-as/server/specj2004/conf/jboss-service.xml org.jboss.deployment.DeploymentException: no protocol: org/jboss/remoting/transport/Connector.xml; - nested throwable: (java.net.MalformedURLException: no protocol: org/jboss/remoting/transport/Connector.xml) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196) at org.jboss.system.ServiceController.install(ServiceController.java:226) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) In many of the posts in this forum, they asked to remove the xmbean-dd=org/jboss/remoting/transport/Connector.xml from jboss-service.xml, but after removing it, we are getting following error. 2007-07-31 12:37:59,621 INFO [org.jboss.web.WebService] Using RMI server codebase: http://127.0.0.1:8083/ 2007-07-31 12:37:59,963 WARN [org.jboss.system.ServiceController] Problem starting service jboss:service=Naming java.lang.NullPointerException at org.jnp.server.Main.getNamingInstance(Main.java:301) at org.jnp.server.Main.initJnpInvoker(Main.java:354) at org.jnp.server.Main.start(Main.java:316) at org.jboss.naming.NamingService.startService(NamingService.java:284) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at org.jboss.system.ServiceController.start(ServiceController.java:435) 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) Caused by: java.net.SocketTimeoutException: Receive timed out at java.net.PlainDatagramSocketImpl.receive0(Native Method) at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136) at java.net.DatagramSocket.receive(DatagramSocket.java:729) at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1289) What is the actual problem, i dont knw exact implementation of the specj2004 apps server. Please can any one help me regarding this? Regards, Ambika View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069019#4069019 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069019 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: JBC 2 performance
aditsu wrote : Hm.. I'm not sure how it's related, but it sounds very good. I don't bother protecting/synchronizing the maps in a node when accessed via the XXDirect() calls as I assume that any locking happens on a higher level (see javadocs on NodeSPI). So clearly this higher-level sync wasn't working and hence the concurrent modification exceptions. And true enough, a bug in the PessimisticLockInterceptor was only acquiring read locks for remove(Fqn, Key) calls rather than write locks. aditsu wrote : | I updated again from CVS; it seems to work now and doesn't do MapCopy anymore. The performance is still not really great, but it may not be JBC's fault. I'll keep profiling. | Performance not great, in relation to 1.4.1? Or in an absolute sense? What's your setup, how is your cluster configured, do you use cache loaders, eviction? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069020#4069020 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069020 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.2.1, AS 4.2.1, @Restricted method gives NoClassDe
I was too quick when I said it works. It works most of the time, but not all the time. I get errors like: javax.faces.FacesException: javax.el.ELException: /layout/menu.xhtml @12,51 rendered=#{s:hasRole('admin')}: Function 's:hasRole' not found | at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:373) | at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:993) | at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1001) | But not always. I don't get it. Is that related to this problem with the EL RI, or am I doing something else wrong? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069021#4069021 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069021 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.2.1, AS 4.2.1, @Restricted method gives NoClassDe
It seems to be happening when I invoke an action from that page by clicking a button, which hits some action in my FooHome extends EntityHome object. I can research this some more if it would help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069023#4069023 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069023 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - how can i use Identity
hi, everybody, I download my identities on my database. Now i want to work with this, for example do a connection page that verify parameters . Have you an tutorial or an example ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069025#4069025 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069025 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: selectManyCheckbox
The preselection is determined by the value of the property in the Bean - ie. if carsBean.car is a list of Cars then those that are present in that list will be 'pre-selected' in your selectManyCheckbox. You can use s:convertEntity but have a read of Chapter 28 of the Seam Reference manual first http://docs.jboss.com/seam/2.0.0.B1/reference/en/html/controls.html. You may also find s:selectItems easier than f:selectItems. h:selectManyCheckbox id=cars value=#{carsBean.car} | f:selectItems value=#{carBean.carList}/ | s:convertEntity/ | /h:selectManyCheckbox Cheers, Damian. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069031#4069031 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069031 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - JBoss scheduler (processor) problem on Tomcat...
Hi, I got working app on JBoss 4.0.5 using Seam scheduler (also working fine). Now I try to run my app on tomcat 5.5. Everythink I think so far works, but when I try to start my scheduler i get null pointer exception on processor. Do I need to do some anythink special to run my scheduler on tomcat? here is my source code: | @In(create=true) | EngineProcessor processor; | | try { | | long interval = 2 * 1000; | @SuppressWarnings(unused) | Timer timer = processor.scheduleBuildings(new Date(), interval, null); | } | catch (RuntimeException e) { | log.error(Scheduler -engineControler - calcTasks(): + e.getMessage()); | } | and here i get processor = null | On JBoss this works. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069032#4069032 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069032 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: EntityQuery Ajax update
You're almost there (assuming that the button refreshes the table correctly). In your a:support tag change it to: a:support event=onkeyup action=#{staffCourseList.find} reRender=dataTableStaffCourseList/ This will update the value of classTitle in your Bean with each keystroke. Assuming that your dataTable is populated with a query that uses this parameter, then it will work fine. Cheers, Damian. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069033#4069033 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069033 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: HUSTON WE GOT A PROBLEM. JSF, portal, jboss-container. S
anders3 wrote : Then the portal told me that MyFacesGenericPortlet did'nt exist any longer. | ... | The problem seems to be that the jboss-container has switched from myfaces to Sun RI. | Yes. anders3 wrote : One solution is to backport this change... Nice wiki (http://wiki.jboss.org/wiki/Wiki.jsp?page=Running2.6WithJBossAS4.2.xAndMyFaces) | But NO NO NO NO.. what if another of my portlet suppliers uses Sun RI | I am i chock that the page can exist. But anybody can write in the WIKI.. This cannot be a suggestion from the portal team? | We need to update the wiki. The instructions were needed for people who wanted to use MyFaces instead of JSF RI at the AS level and still make sure it worked with Portal. Prior to 2.6.1.GA there was an issue with our JSF meta bridge so that was required. As of 2.6.1.GA, there shouldn't be anymore issues with bundling a JSF implementation with your portlets (e.g. MyFaces if you wish to use it instead of the Sun RI). In essence, the wiki is confusing as of 2.6.1.GA. There shouldn't be an issue with JSF anymore but if you do find one, please let us know. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069034#4069034 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069034 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Changing SESSION-scoped instance in entityhome
Thanks for your response. Sorry I haven't been able to get back to you sooner. Putting it in the request scope equals using request parameters throughout the page, right? Is there an easy way to do this, ie does s:link for example have an option to forward existing page parameters automatically, or do I have to add param-tags to all the links? Also, for links that should be clickable both when this variable is set, and when it's not .. how do I solve this? I tried putting it all in a conversation instead, but then the problem of the variable not being updated remained. /Sebastian View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069035#4069035 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069035 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Subprocess initiation fails
do you have a sub processresolver in your jbpm config? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069036#4069036 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069036 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Target Unreachable error w/ Seam 2.0.0.Beta1?
Is there anything further down your stacktrace eg. a caused by...? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069037#4069037 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069037 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: how can i use Identity
I need more info to comment... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069038#4069038 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069038 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - VERY URGENT:Cant Invoke the Remote Method by REFLECTIOn
Please Help me in this issue...ITS VERY URGENT. I m migrating application from IBM WEBSPHERE to JBOSS 4.0.5. I was using PROVIDER_URL as corbaloc:iiop:loaclhost:2809 Nw for jboss I m using jnp://localhost:1099 with this i m able to get EJB's HomeObject and RemoteObject(after setting true in call-by-value attribute of ear-deployer.xml file in deault/deploy folder) But i cant invoke the remote methods by REFLECTION like Object objDp = methodDoProcess.invoke(objRemote,new Object[]{dp1}); ... getting error as java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2007-07-29 19:44:56,338 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2007-07-29 19:44:56,338 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2007-07-29 19:44:56,338 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324) Caused by: java.io.NotSerializableException: org.apache.log4j.Logger Pls help in this...its very urgent. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069041#4069041 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069041 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBoss scheduler (processor) problem on Tomcat...
I don't think thats due to scheduling, but a problem with injection. Check that your processor component exists in the Seam debug page. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069042#4069042 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069042 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Classloader problems
You're right, it seems there is some bug in JBossAS 4.2.1. With 4.0.5 it's working. I just couldn't imagine. I've also deployed an EJB 2 application without JSF and Portlet code, that works fine... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069043#4069043 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069043 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM IDentity
Hi ronald, thanks for your advice. Look at my other post about commits problems. If you know where in the docs i can find the solution feel free to point :) Regards, O.M. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069044#4069044 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069044 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: LDAPExtUserModuleImpl and userSearchFilter
Hi, sorry for coming back to this so late, I got distracted by some other work. Maybe I am misunderstanding something, but I still think there is a bug around. The filter you posted works and all, but in a real-world scenario, that's not what one would use for a filter. The filter is constructed by the code, one would not directly add LastName, FirstName for a filter, or only that specific user would be found. If you look at the log snippets I pasted in a previous post, here is what happens: The user enters his credentials in the login box. The code finds the record for that user, and from that record, it takes the DN. From that DN (which may contain a comma), it constructs the search filter to search for roles. Now, if the DN does contain a comma, no roles are found, because the code does not escape the comma correctly. There is no way I can fix this by adapting the filters in my config, or am I missing something? Thanks, Tobias View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069046#4069046 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069046 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Best Seam Development Environment? (Switch from MC to EJ
The bug referred to by trickyvail also affects 4.2 (and most other J2EE App Servers). It is unavoidable (unless you're using JRockit I think - it doesn't have a PermGen space), but can be mitigated by setting your JVM memory settings as per Chapter 2.1 of the Seam ref. This guy also has a series of useful articles on PermGen that are worth noting: http://www.alessandroribeiro.com/?q=en/node/39, particularly for monitoring. I run in exploded deploy and can also recomend the incremental deploy (your non-Entity, non-SFSB, non-SLSB Beans go into WEB-INF/dev and get picked up by magical classloaders). Means you don't have to unexplode if you make changes to Java code. Read chapt 2.7 of the Seam ref. Cheers, Damian. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069048#4069048 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069048 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: VERY URGENT:Cant Invoke the Remote Method by REFLECTIOn
hi View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069049#4069049 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069049 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Oracle9i, JTA, XA-DataSources
Hi, is there something i should know about the JBPM Ear and an Oracle Database ? I have seen on the web that we should use xa-datasources instead of local-tx-datasources ? The fact is that i have a process definition, i deploy it on the database with the eclipse plugin but when trying to access it with code : JbpmConfiguration jbpmConfiguration=JbpmConfiguration.getInstance(); JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); try { String processName = Acces; ProcessInstance processInstance = jbpmContext.newProcessInstance(processName); } finally { jbpmContext.close(); } I have hibernate-JTA exception. If someone have already run on those issues, please help. I think there is some misconfiguration on my part. If someone could explain step by step how to configure oracle9i datasources and transaction manager to get jbpm running, it will be greatly appreciated. Regards, O.M. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069050#4069050 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069050 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Remoting does not invoke my @WebRemote ?
Anyone else encounter this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069051#4069051 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069051 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: VERY URGENT:Cant Invoke the Remote Method by REFLECTIOn
hi View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069052#4069052 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069052 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Best Seam Development Environment? (Switch from MC to EJ
trickyvail wrote : Yes, running exploded will greatly decrease your build cycle. | | If you are running JBoss 4.0.5.GA please be aware of this bug: | http://wiki.jboss.org/wiki/Wiki.jsp?page=OutOfMemoryExceptionWhenRedeploying Ah I have noticed this on GlassFish V2 as well. I wasn't sure if it was Seam related or not. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069053#4069053 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069053 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM IDentity
Guys lots of examples on these topics are in the source... just look at the testcases Reminder: source is part of the 'docs'... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069039#4069039 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069039 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Oracle9i, JTA, XA-DataSources
didn't you already post this question in another topic with a LOT more info. reposting with very little additional info will not help getting you an answer any quicker. Could even be the opposite that people get irritated and just ignore the posts. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069054#4069054 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069054 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: how can i use Identity
i created my database and I load my identity with this metho: | public void loadIdentities() { | JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance(); | | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); | try { | Entity[] entities = IdentityXmlParser | .parseEntitiesResource(identity.db.xml); | IdentitySession identitySession = new IdentitySession(jbpmContext | .getSession()); | | assertNotNull(identitySession); | | for (int i = 0; i entities.length; i++) { | identitySession.saveEntity(entities); | } | } finally { | jbpmContext.close(); | } | } | now, on an web application i want to create a login page that verify, login and password by using identities loaded View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069055#4069055 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069055 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam from CVS with Jboss 4.2.0
Hey, I tried to upgrade seam (from beta to current cvs version), When jboss start, I get the following JBPM related exception, any clue? | 11:23:01,671 INFO [Contexts] starting up: | org.jboss.seam.remoting.remoting | 11:23:01,687 INFO [Contexts] starting up: org.jboss.seam.ui.graphicImage.graphicImageResource | 11:23:01,687 INFO [Contexts] starting up: org.jboss.seam.bpm.jbpm | 11:23:01,812 ERROR [[/velo]] Exception sending context initialized event to listener instance of class org.jboss.seam.s | rvlet.SeamListener | java.lang.RuntimeException: exception invoking: startup | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:134) | at org.jboss.seam.Component.callComponentMethod(Component.java:2067) | at org.jboss.seam.Component.callCreateMethod(Component.java:1990) | at org.jboss.seam.Component.newInstance(Component.java:1961) | at org.jboss.seam.contexts.Contexts.startup(Contexts.java:607) | at org.jboss.seam.contexts.Contexts.startup(Contexts.java:555) | at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:95) | at org.jboss.seam.init.Initialization.init(Initialization.java:533) | at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34) | at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4359) | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761) | at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741) | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.apache.catalina.core.StandardContext.init(StandardContext.java:5310) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301) | at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104) | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) | at org.jboss.web.WebModule.startModule(WebModule.java:83) | at org.jboss.web.WebModule.startService(WebModule.java:61) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at
[jboss-user] [EJB/JBoss] - Cant Invoke remote methods by remote Object
Please Help me in this issue...ITS VERY URGENT. I m migrating application from IBM WEBSPHERE to JBOSS 4.0.5. I was using PROVIDER_URL as corbaloc:iiop:loaclhost:2809 Nw for jboss I m using jnp://localhost:1099 with this i m able to get EJB's HomeObject and RemoteObject(after setting true in call-by-value attribute of ear-deployer.xml file in deault/deploy folder) But i cant invoke the remote methods by REFLECTION like Object objDp = methodDoProcess.invoke(objRemote,new Object[]{dp1}); ... getting error as java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2007-07-29 19:44:56,338 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2007-07-29 19:44:56,338 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2007-07-29 19:44:56,338 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324) Caused by: java.io.NotSerializableException: org.apache.log4j.Logger Pls help in this...its very urgent. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069058#4069058 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069058 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JSF Portlet tutorial out of date?
andrewchukwu wrote : Your answer can be found on the Jboss wiki site: http://wiki.jboss.org/wiki/Wiki.jsp?page=Running2.6WithJBossAS4.2.xAndMyFaces | | JBoss 4.2.x ships with Sun JSF, replace as indicated in the wiki and it should work. This is correct, but this would replace the JSF implementation at the application server level. You should be able to bundle MyFaces with your portlet without having to change the JSF implementation at the AS level. I will update the tutorial as needed. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069060#4069060 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069060 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Re: JMS PM cannot delete message
It seems that I have hit the same problem. Oracle 10.2.0.3 (3 nodes RAC cluster) RedHat x86_64 2.6.9-34.ELsmp JBoss [Zion] 4.0.3SP1 There is no data replication of any kind in our database. When I connect JMS pool to the RAC service that is tied to one node then the problem does not occur. When I let it run on three nodes then the exception occurs for a small percentage of the messages. Our effects are the same if we run JBoss clustered or on a single node. There is a difference in the behavior only if I let the pool run on one node or three nodes. I have been looking on the internet for more information with no results. Please post anything useful if you can. Regards, AnT View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069062#4069062 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069062 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - page security not working?
When I create a page (either by deploying a new portlet or by admin GUI) which should only be visible to certain roles, it's even shown to unauthenticated users (with no portlet in). Is this wanted or by accident? Best wishes Werner View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069061#4069061 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069061 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Check if conversations are active before session invalidatio
I implemented a very simple script to call a logout action: | !-- 10 minutes timeout -- | script type=text/javascript language=JavaScript!-- | setTimeout('Redirect()', 60); | function Redirect() { | document.getElementById('tor_form:tor_button').click(); | } | // --/script | | [...] | | h:form id=tor_form | t:commandButton id=tor_button style=display:none; value=redirect action=#{logout.logout}/ | /h:form | | The logout action invalidates the session and redirects to the login page: | // Before invalidating the whole session check if other conversations | // are running | if(!ConversationsAgent.getInstance().activeConversationsExist()) { | Seam.invalidateSession(); | return login; | } | | // Otherwise leave session open and just redirect to home | else { | ConversationsAgent.getInstance().end(); | FacesMessages.instance().add(No activity timeout occurred.); | return home; | } | I added the if/else conditions because if I invalidate the session all active conversations (in other tabs) will be destroyed and this is not what I want. I implemented the activeConversationsExist() as it follows: | public boolean activeConversationsExist() { | for (ConversationEntry entry : ConversationEntries.instance().getConversationEntries()) { | if(!entry.isEnded()) | return true; | } | return false; | } | which is not good because it checks the whole conversation stack (including other connected clients or browsers) and not the ones related to the session I want to invalidate. So, my question is: is there a way to check if only the session-related conversations are ended? Thanx, cheers! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069064#4069064 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069064 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Sounds good. I can still use myfaces 1.1.1
I changed the scope in the war file from provided to nothing (default) so the artifacts becomes members of my war WEB-INF/lib | dependency | groupIdorg.apache.myfaces/groupId | artifactIdmyfaces-api/artifactId | version1.1.1/version | /dependency | dependency | groupIdorg.apache.myfaces/groupId | artifactIdmyfaces-impl/artifactId | version1.1.1/version | /dependency | Maybe I misunderstood Thomas in another Forum answer here he writes that we are not supposed to have faces artifacts in the war because jboss have them. By the way this works... Now I can lanuch the application I get a warning | 01:33:06,411 WARN [JBossJSFConfigureListener] MyFaces JSF implementation found! This version of JBoss AS ships with the java.net implementation of JSF. There are known issues when mixing JSF implementations. This warning does not apply to MyFaces component libraries such as Tomahawk. However, myfaces-impl.jar and myfaces-api.jar should not be used without disabling the built-in JSF implementation. See the JBoss wiki for more details. | I hope it still works. I will have to test my application again.. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069065#4069065 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069065 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Exception while trying Seam CRUD Hibernate Gen Tutorial
Hi folks, I have been a reader of this forum for some time and I stumbled upon this great flash tutorial on the JBoss website that shows every step to produce a Seam project skeleton from an existing database schema ( http://www.jboss.com/products/seam/SeamHBTools.html). In the tutorial the presenter creates a Hibernate Configuration file and then wants to generate the Seam project using the Hibernate Generation Tool that is integrated in JBoss Eclipse IDE. I am on WinXP using JBoss IDE 2.0.0 BETA2 Bundle and I want to retrieve the information from an Oracle 10 database. The problem is, after launching the Hibernate Code Generation Tool I am presented with the following Exception. anonymous wrote : | | Exception while generating code | | Reason: | | org.hibernate.tool.hbm2x.ExporterException : Error while processing template seam/find.jsp.ftl | | | More Details: anonymous wrote : | | org.hibernate.tool.hbm2x.ExporterException: Error while processing template seam/find.jsp.ftl | freemarker.core.InvalidReferenceException: Expression field.value.typeName is undefined on line 45, column 6 in seam/find.jsp.ftl. | freemarker.core.InvalidReferenceException: Expression field.value.typeName is undefined on line 45, column 6 in seam/find.jsp.ftl. | | | Where is my mistake? Is it me or the tool? Known error? Please help, I really would like to start things off with an existing Seam project skeleton ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069066#4069066 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069066 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: building new node type, and including in designer
I am sure I saw a blog post on this topic with diagrams and instructions, but I can not remember where I read it... Basically its the last piece of the puzzle before I implement some fairly large business processes with the designer and demo to a client, perhaps the blog post was from Matthews blog? Ross View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069068#4069068 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069068 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Cant Handle EJB for REMOTE INVOCATION
Please Help me in this issue...ITS VERY URGENT. Is this related with Configuration of JBOSS? I m migrating application from IBM WEBSPHERE to JBOSS 4.0.5. I was using PROVIDER_URL as corbaloc:iiop:loaclhost:2809 Nw for jboss I m using jnp://localhost:1099 with this i m able to get EJB's HomeObject and RemoteObject(after setting true in call-by-value attribute of ear-deployer.xml file in deault/deploy folder) But i cant invoke the remote methods by REFLECTION like Object objDp = methodDoProcess.invoke(objRemote,new Object[]{dp1}); ... getting error as java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2007-07-29 19:44:56,338 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2007-07-29 19:44:56,338 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2007-07-29 19:44:56,338 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324) Caused by: java.io.NotSerializableException: org.apache.log4j.Logger Pls help in this...its very urgent. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069057#4069057 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069057 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Load balancing with mod_jk - jk.shm File missed
Hallo, for the loadbalancing I have installed apache2 and downloaded mod_jk-1.2xx..so. Now i try to configure mod_jk. In the mod-jk.conf file there is a reference at jk.shm: # Add shared memory. | # This directive is present with 1.2.10 and | # later versions of mod_jk, and is needed for | # for load balancing to work properly | # Note: Replaced JkShmFile logs/jk.shm due to SELinux issues. Refer to | # https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=225452 | JkShmFile log/jk.shm But I can't find this file. So, where can I look for it? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069071#4069071 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069071 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Oracle9i, JTA, XA-DataSources
Hi, not really the same question. In fact the other post is based on the exception. This one is more general, not exception focused. While searching for data about the other post, i found out that there were lots of implications behind the use of persistence in jbpm. im beginning to wonder about that transaction manager not running and the use of hibernate.cfg.xml. Personnaly i put that file in the jbpm-configs.jar in the ear but apparently it is not found. What do you think about it ? Regards, O.M. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069072#4069072 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069072 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - JSF managed bean has problem with PortableRemoteObject.narro
Hello, I've told this problem already in JBossPortal forum, but it's the wrong place. My description of the problem is to be found at http://jboss.org/index.html?module=bbop=viewtopict=114510postdays=0postorder=ascstart=10 I've also deployed an application where the EJB's (V2.1) are accessed by servlets with no problems. Seems to be a JSF problem? Best wishes Werner View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069073#4069073 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069073 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - performance issue with JDBCCacheLoader
i use version 2.0.0CR1 running inside JBoss AS with PojoCache. i have a senario where i need to check for a list of nodes which of them are in the cache already (so i'll know if i need to add them to the cache latter). to check if a node is in the cache i use cache.find(...), but those calls are expensive since they load a Blob from the DB. Is there a way to do something like Map.containsKey() ? which will run a cheaper query to the DB? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069074#4069074 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069074 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: page security not working?
That's because your parent object (the portal) has view-recursive rights (meaning that all the children can be viewed) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069075#4069075 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069075 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Worker thread initialization failure
here is a thread discussing about the same problem http://lists.jboss.org/pipermail/jboss-development/2007-May/008622.html the thing is the jboss-remoting bundled with the 4.2.1 has this problem. try reverting the jboss-remoting.jar under server/all/lib with the previous version (from jboss-4.0.5/server/all/lib) and it will work fine Hari View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069076#4069076 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069076 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - JBoss Seam UI - component/html components missing
Hi all, where is the source code of the package: org.jboss.seam.ui.component.html I can't find it. Thanks ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069078#4069078 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069078 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: RC1-RC3 problems
[EMAIL PROTECTED] wrote : | A cache is not a database. A database is, by definition, persistent storage so such behaviour is nonsensical for a db. And this is why caches delegate persistence to dbs - in JBC's case using a cache loader. Umm, persistence is a relative term, valid within a certain scope. A local JB cache without cache loader indeed offers persistence within its operating environment, the JVM. The environment's execution entities, threads, can put objects into the cache, die, respawn and read them back from cache. Since the cache's storage environment, the heap, persists during the cache's life (even when the cache is stopped), there is no reason why the cache's own threads should be excluded from this mechanism and can't be restarted without losing data. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069082#4069082 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069082 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: building new node type, and including in designer
Really? I haven't seen anything about it until now. But if you find it I am most interested. Sure let me know where I can find it then. In the meantime have a look at this JIRA issue: http://jira.jboss.com/jira/browse/GPD-111 Regards, Koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069084#4069084 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069084 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - JBoss problem: connection limit exceeded for non-superusers
Hi, Seems JBoss doesn't destroy idle connections - anyone know what might be the cause? I keep getting the message connection limit exceeded for non-superusers and our system goes down. This is a system which have been running for several years (we're using postgresql database). Any help as to what might be causing this problem (or a hint on where to start debugging) much appreciated! /Regards, Håkan Jacobsson - System developer View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069087#4069087 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069087 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Exception while trying Seam CRUD Hibernate Gen Tutorial
That screencast is ancient. Please use seam-gen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069088#4069088 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069088 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBoss Seam UI - component/html components missing
It's generated. Run the build target. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069089#4069089 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069089 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Could not create Component : class is abstract!
Hi Stefano, As you might have figured out by now, Seam cannot instantiate your component class (defined w/ @Name(jwf_clifor)) because the class is marked as abstract. Looks like @Name can only be used in non-abstract classes. I got to the same situation when trying to define an abstract class w/ some @In annotations... since they ignored, I tried to define @Name(myAbstractClass) - which does not make a lot of sense, but.. Question for Seam advanced users/devels: is it so that Seam annotations in super/abstract classes are not considered by Seam interceptor?? That would be an unfortunate restriction. br, Diego View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069090#4069090 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069090 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - I'm back
If there are any issues you want me to look at, please post a link to them in this topic. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069091#4069091 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069091 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: performance issue with JDBCCacheLoader
A find() will load the Pojo, potentially from the cache loader. Nodes are stored in the DB (when using the jdbc cache loader) as blobs, so that blob lookup is necessary to recreate the node in the cache, and then the Pojo before returning the Pojo when calling find(). Perhaps what you need is something like pojoExists() - which may perform a number of cache.hasChild() calls (which in turn calls a number of loader.exists() calls) on the components that make up the Pojo? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069092#4069092 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069092 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Exception while trying Seam CRUD Hibernate Gen Tutorial
Thanks for the advice. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069093#4069093 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069093 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Tomcat 5.5 - Jbpm 3.2 - Starting failed couldn't get a
Okay, so I commented out the datasource, but then I get java.lang.UnsupportedOperationException: The user must supply a JDBC connection. Any suggestions? I've found somewhere on the intenet that mentioned it was a JBPM bug. If this is try, is there a workaround? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069094#4069094 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069094 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - DataModel selection gives wrong value in multiuser/concurren
Hi, My DataModel or DataModelSelection is not behaving properly in multiuser operations. Lets say I have populated a DataModel with 5 entities. Now, I render this list with JSF DataTable on UI (for user 1) At the same time, user 2 starts the application and views the same list with 5 entities. Now user 1 deletes entity 1 from the list and gets the refreshed list with 4 entities. But user 2 does not know about the modification done to the list and tries to view the details of entity 1 (which is not there in the list). But after selecting entity 1 of previous list, user 2 is getting the details of entity 1 of the refreshed list (previously entity 2). How can I solve this problem ? I could think of maintaining a class level variable which would keep a track of modifications to the list (DataModel), similar to what version number does in Hibernate. But that would be a crude way of doing a workaround. Is there any standard way of handling this situation ? Regards, Suraj View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069095#4069095 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069095 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: @EJB injection always injects remote object, why not loc
http://jira.jboss.com/jira/browse/EJBTHREE-663 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069097#4069097 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069097 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM jPDL GPD 3.1.0 beta2 released
Forgot to mention that I wrote a blog entry yesterday in which I highlight how to configure tasks using the new GPD. If you're interested have a look at it : http://koentsje.blogspot.com/2007/07/configuring-tasks-in-jbpm-jpdl.html Regards, Koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069098#4069098 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069098 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Cannot get JBPM + MSSQL to run together!
I also have the error: java.lang.UnsupportedOperationException: The user must supply a JDBC connection. I do have the JDBC connection properties set. I am using JBPM 3.2.1 and Tomcat 5.0.28. Any ideas why I get this error? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069099#4069099 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069099 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: page security not working?
Thanks, it works now. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069100#4069100 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069100 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Second Level Cache with JBoss TreeCache
Hi, we use the JBoss TreeCache for the Hibernate Second Level Cache. I found out that each Second Level Cache Entity is held in a separate node (for example, there are one node for OrderType[id-1] and one node for OrderType[id-2] '/com/sales/hibernate/OrderType/com.sales.hibernate.OrderType#1' and '/com/sales/hibernate/OrderType/com.sales.hibernate.OrderType#2'). Because we have many Second Level Cache Enties our TreeCache have thousands of nodes. I actually expected that each node is for one EntityType (OrderType.class) and the map in the node holds the Enties of this type (OrderType#1; OrderType#2). We use JBoss 4.0.5.GA with Hibernate 3.2.4.ga. The treecache.xml: | ?xml version=1.0 encoding=UTF-8? | server | mbean code=org.jboss.cache.TreeCache | name=jboss.cache:service=TreeCache | | dependsjboss:service=Naming/depends | dependsjboss:service=TransactionManager/depends | | attribute name=IsolationLevelREPEATABLE_READ/attribute | | attribute name=CacheModeLOCAL/attribute | | attribute name=ClusterNameSales_Hibernate_Cache/attribute | | !-- | Max number of entries in the cache. If this is exceeded, the | eviction policy will kick some entries out in order to make | more room | -- | attribute name=MaxCapacity7000/attribute | | !-- | The max amount of time (in milliseconds) we wait until the | initial state (ie. the contents of the cache) are retrieved from | existing members in a clustered environment | -- | attribute name=InitialStateRetrievalTimeout2/attribute | | !-- | Number of milliseconds to wait until all responses for a | synchronous call have been received. | -- | attribute name=SyncReplTimeout1/attribute | | !-- Max number of milliseconds to wait for a lock acquisition -- | attribute name=LockAcquisitionTimeout15000/attribute | | !-- Max number of milliseconds we hold a lock (not currently | implemented) -- | attribute name=LockLeaseTimeout6/attribute | | !-- Name of the eviction policy class. Not supported now. -- | attribute name=EvictionPolicyClass/attribute | /mbean | /server | What can i do to get the expected behavior? Thanks, John View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069102#4069102 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069102 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - jboss-ds.xml Deployment problem
Hello, I`m trying to deploy a simple EJB 3.0 application on Jboss 4.2.0GA. Until now everything worked fine. Now i added an Entity bean to the project. This bean uses hiberate to connect to an Oracle 10g database. My problem is the following error during the deployment. 11:55:08,485 ERROR [MainDeployer] Could not create deployment: file:/Applications/jboss-4.2.0.GA/server/default/deploy/jboss-ds.xml org.jboss.deployment.DeploymentException: Invalid character ':' in value part of property; - nested throwable: (javax.management.MalformedObjectNameException: Invalid character ':' in value part of property) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196) at org.jboss.system.ServiceController.install(ServiceController.java:226) at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) Caused by: javax.management.MalformedObjectNameException: Invalid character ':' in value part of property at javax.management.ObjectName.construct(ObjectName.java:529) at javax.management.ObjectName.(ObjectName.java:1304) at org.jboss.system.ServiceConfigurator.parseObjectName(ServiceConfigurator.java:780) at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:447) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171) ... 95 more As a result of this the following problems are this ones: --- Incompletely deployed packages --- [EMAIL PROTECTED] { url=file:/Applications/jboss-4.2.0.GA/server/default/deploy/jboss-ds.xml } deployer: [EMAIL PROTECTED] status: Deployment FAILED reason: Invalid character ':' in value part of property; - nested throwable: (javax.management.MalformedObjectNameException: Invalid character ':' in value part of property) state: FAILED watch: file:/Applications/jboss-4.2.0.GA/server/default/deploy/jboss-ds.xml altDD: null lastDeployed: 1185875708472 lastModified: 1185875708000 mbeans: --- MBeans waiting for other MBeans --- ObjectName: persistence.units:jar=TEM-server.jar,unitName=TEM-serverPU State: NOTYETINSTALLED I Depend On: jboss.jca:name=TemControlClient,service=DataSourceBinding ObjectName: jboss.j2ee:jar=TEM-server.jar,name=ClientBean,service=EJB3 State: NOTYETINSTALLED I Depend On: persistence.units:unitName=persistence_ctx --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: persistence.units:unitName=persistence_ctx State: NOTYETINSTALLED Depends On Me: jboss.j2ee:jar=TEM-server.jar,name=ClientBean,service=EJB3 ObjectName: jboss.jca:name=TemControlClient,service=DataSourceBinding State: NOTYETINSTALLED Depends On Me: persistence.units:jar=TEM-server.jar,unitName=TEM-serverPU 11:55:10,785 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080 11:55:10,823 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009 11:55:10,846 INFO [Server] JBoss (MX MicroKernel) [4.2.0.GA (build: SVNTag=JBoss_4_2_0_GA date=200705111440)] Started in 31s:580ms 11:56:35,842 WARN [JmxKernelAbstraction] jboss.j2ee:jar=TEM-server.jar,name=ClientBean,service=EJB3 is not registered 11:56:35,843 WARN [JmxKernelAbstraction] persistence.units:jar=TEM-server.jar,unitName=TEM-serverPU is not registered 11:56:35,907 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.entity.PersistenceUnitDeployment 11:56:35,907 INFO [JmxKernelAbstraction] installing MBean: persistence.units:jar=TEM-server.jar,unitName=TEM-serverPU with dependencies: 11:56:35,907 INFO [JmxKernelAbstraction] jboss.jca:name=TemControlClient,service=DataSourceBinding 11:56:35,914 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer 11:56:35,915 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=TEM-server.jar,name=ClientBean,service=EJB3 with dependencies: 11:56:35,915 INFO [JmxKernelAbstraction] persistence.units:unitName=persistence_ctx 11:56:35,920 INFO [EJB3Deployer] Deployed: file:/Applications/jboss-4.2.0.GA/server/default/deploy/TEM-server.jar 11:56:35,929 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- Incompletely deployed packages --- [EMAIL PROTECTED] { url=file:/Applications/jboss-4.2.0.GA/server/default/deploy/jboss-ds.xml } deployer: [EMAIL PROTECTED] status: Deployment FAILED reason: Invalid character ':' in value part of property; - nested throwable: (javax.management.MalformedObjectNameException: Invalid character ':' in value part of property) state: FAILED watch: file:/Applications/jboss-4.2.0.GA/server/default/deploy/jboss-ds.xml altDD: null lastDeployed: 1185875708472 lastModified:
[jboss-user] [JBoss Seam] - Re: selectManyCheckbox
Thanks, actually this is the code I already have. It works fine, the only problem is that my checkboxes are not pre-selected with the current list status. It drives me crazy: h:selectManyCheckbox value=#{client.paymentmethods} required=true layout=pageDirection | s:convertEntity / | | s:selectItems value=#{allPaymentMethods.resultList} | var=paymentMethod | label=#{msg[paymentMethod.code]}/ | s:validate/ | /h:selectManyCheckbox allPaymentMethods is just an entity query in my components.xml. Any ideas? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069104#4069104 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069104 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: BPEL: Creating arrays and unbounded entities.
Sorry, the right link for the jira is http://jira.jboss.com/jira/browse/BPEL-272 Saludos. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069105#4069105 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069105 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: selectManyCheckbox
Oh, and user tompom = JUnkie ;-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069106#4069106 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069106 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: How to get the caller-principal in a message-driven bean
Hi, AFAIK, there is no principal in onMessage() as there is no client calling onMessage() method. Regards. Dalibor View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069108#4069108 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069108 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: building new node type, and including in designer
Racking my brain trying to remember where I saw that, no luck so far, sorry. On a separate note, maybe you can help me with a question regarding licensing. I am looking at the sample jbpm-console webapp, which does more or less what we need for our project, minus a few css tweaks really, what are the licensing rules that apply to that... can we just reuse with look and feel changes, or do we need to create a new webapp, using similar ideas ? Thanks for your help, Ross View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069107#4069107 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069107 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: building new node type, and including in designer
the webapp is, just like the rest of jBPM under LGPL. I think that CSS tweaks are not a problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069110#4069110 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069110 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Remoting does not invoke my @WebRemote ?
Can you please put together a deployable test case in JIRA? I'm guessing that some exception is occuring server-side but I'll need a test case from you to reproduce it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069111#4069111 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069111 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Cannot get JBPM + MSSQL to run together!
post the whole stacktrace, not just the exception View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069112#4069112 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069112 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Tomcat 5.5 - Jbpm 3.2 - Starting failed couldn't get a
yes commment out the datasource, but UNCOMMENT the database properties then. You should use one or the other View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069113#4069113 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069113 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Examples: Code Police ;-)
Thanks, Shane, you were right those were lots of changes ;-) I created JBSEAM-1742, but I can't assign the issue. There are a couple of issues I noticed, but did not really have a clue what to do about. Maybe you can comment/act on these: * mail, itext, takeaway: - screen.css is referenced from xhtml files, but is missing. I am not sure wether the reference is bogus, or wether the css file should indeed be there. * seambay: template.xhtml links non-existing style/date.css * seamdiscs: - messages_en.properties should be messages.properties?! On my german locale I get lots of warning that messages_de can't be found. If I ain't mistaken if there's only a single translation it should be contained in the default properties file. - All xyz.page.xml: rule definitions are invalid because they do not contain the required child element raise-event * spring: components.xml: These elements aren't defined in xsd: core:thread-pool-dispatcher spring:spring-transaction * takeaway: components.xml: core:jbpm is not defined in xsd View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069114#4069114 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069114 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Problem with manual flush mode for managed persistence conte
Hi, I have a problem trying to delay my inserts using manual flush mode. I have followed the manual as far as possible but hibernate still insists on inserting in the middle of the conversation (verified using conversation observers) I have | persistence:managed-persistence-context name=entityManager | auto-create=true | persistence-unit-jndi-name=java:/conceptEntityManagerFactory / | | and | @PersistenceContext(type=EXTENDED) | private EntityManager entityManager; | and | @Begin(flushMode=MANUAL) | public String start() { | return /concept.xhtml; | } | and | public String insert() { | FooEntity entity = new FooEntity(); | entity.setData(foo); | entityManager.persist(entity); | return /concept.xhtml; | } | and | @End | public String flush() { | entityManager.flush(); | return /concept.xhtml; | } | and | @Entity | @Name(fooEntity) | @Scope(SESSION) | @Table(name=footable) | public class FooEntity { | private Integer id; | private String data; | | @Id @GeneratedValue @Column(name=id_col) | public Integer getId() { | return id; | } | | public void setId(Integer id) { | this.id = id; | } | | @Column(name=data_col) @NotNull @Length(min=5, max=15) | public String getData() { | return data; | } | | public void setData(String data) { | this.data = data; | } | } | Have I misunderstood something or shouldn't I see the inserts happening when the conversation ends (clicking the bound start-insert-flush buttons in that order)? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069115#4069115 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069115 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Is there a JBossWS client example for invoking a Seam ws
I've fixed the NPE in CVS, it was a bug. As for your other issue, does your web service client support cookies for propagating the session ID? We currently have a concern that a web service client without cookie support will have no session management, and are contemplating whether we should embed the session ID in the SOAP packets similar to what we do with conversation ID's. Anyway, it would be great if you could re-test again with latest CVS and let me know how that goes. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069116#4069116 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069116 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: File upload to application folder
Can't you just create a FileOutputStream and write the data to that? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069117#4069117 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069117 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: performance issue with JDBCCacheLoader
yes, that's exactly what i'm looking for. It may perform queries to DB as long as it does not access the Blob column. (like select count(*)...). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069118#4069118 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069118 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Cannot get JBPM + MSSQL to run together!
Hi, sorry, here is some more info... Stacktrace: | Exception in thread main java.lang.UnsupportedOperationException: The user must supply a JDBC connection | at org.hibernate.connection.UserSuppliedConnectionProvider.getConnection(UserSuppliedConnectionProvider.java:30) | at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423) | at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144) | at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:119) | at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:57) | at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1326) | at org.jbpm.persistence.db.DbPersistenceService.beginTransaction(DbPersistenceService.java:131) | at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:123) | at org.jbpm.persistence.db.DbPersistenceService.getGraphSession(DbPersistenceService.java:336) | at org.jbpm.JbpmContext.getGraphSession(JbpmContext.java:571) | at za.co.itdynamics.jbpm.practice.Tests.execute(Tests.java:24) | at za.co.itdynamics.jbpm.practice.Tests.main(Tests.java:16) | This is my hibernate.cfg.xml file: | ?xml version='1.0' encoding='utf-8'? | | !DOCTYPE hibernate-configuration PUBLIC | -//Hibernate/Hibernate Configuration DTD 3.0//EN | http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd; | | hibernate-configuration | session-factory | | !-- hibernate dialect -- | property name=hibernate.dialectorg.hibernate.dialect.MySQLInnoDBDialect/property | | !-- JDBC connection properties (begin) === | property name=hibernate.connection.driver_classcom.mysql.jdbc.Driver/property | property name=hibernate.connection.urljdbc:mysql://localhost:3306/jbpmdb/property | property name=hibernate.connection.usernamejbpmdb/property | property name=hibernate.connection.passworditd_mysql_jbpmdb_dev/property | JDBC connection properties (end) -- | | property name=hibernate.cache.provider_classorg.hibernate.cache.HashtableCacheProvider/property | | !-- DataSource properties (begin) -- | !-- property name=hibernate.connection.datasourcejava:/JbpmDS/property -- | !-- DataSource properties (end) -- | | !-- JTA transaction properties (begin) === | property name=hibernate.transaction.factory_classorg.hibernate.transaction.JDBCTransactionFactory/property | property name=hibernate.transaction.manager_lookup_classorg.hibernate.transaction.JBossTransactionManagerLookup/property | JTA transaction properties (end) -- | | !-- CMT transaction properties (begin) === | property name=hibernate.transaction.factory_classorg.hibernate.transaction.CMTTransactionFactory/property | property name=hibernate.transaction.manager_lookup_classorg.hibernate.transaction.JBossTransactionManagerLookup/property | CMT transaction properties (end) -- | | !-- logging properties (begin) === | property name=hibernate.show_sqltrue/property | property name=hibernate.format_sqltrue/property | property name=hibernate.use_sql_commentstrue/property | logging properties (end) -- | | !-- -- | !-- # mapping files with external dependencies # -- | !-- -- | | !-- following mapping file has a dependendy on -- | !-- 'bsh-{version}.jar'. -- | !-- uncomment this if you don't have bsh on your -- | !-- classpath. you won't be able to use the -- | !-- script element in process definition files -- | mapping resource=org/jbpm/graph/action/Script.hbm.xml/ | | !-- following mapping files have a dependendy on -- | !-- 'jbpm-identity.jar', mapping files-- | !-- of the pluggable jbpm identity component. -- | !-- Uncomment the following 3 lines if you-- | !-- want to use the jBPM identity mgmgt -- | !-- component.-- | !-- identity mappings (begin) -- | mapping resource=org/jbpm/identity/User.hbm.xml/ | mapping resource=org/jbpm/identity/Group.hbm.xml/ | mapping resource=org/jbpm/identity/Membership.hbm.xml/ | !-- identity mappings (end) -- | | !-- following mapping files have a dependendy on -- | !-- the JCR API -- | !-- jcr mappings (begin) === | mapping resource=org/jbpm/context/exe/variableinstance/JcrNodeInstance.hbm.xml/ | jcr mappings (end) -- | | | !-- ## -- | !-- # jbpm mapping files # -- | !-- ## -- | | !--
[jboss-user] [JBoss jBPM] - Re: Cannot get JBPM + MSSQL to run together!
Wait, sorry, forget about my post, I was being silly. I was using the wrong hibernate file, and as you can see above, the JDBC connection properties are still commented out. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069122#4069122 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069122 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: DataModel selection gives wrong value in multiuser/concu
Hi, Got it solved. The problem occurs because my seam components (which own the DataModels) are in CONVERSATION scope. Before the actual method which fetches details of an entity gets executed, factory method is called which repopulates DataModel. Once I changed the scope to SESSION, I get the expected behavior. Regards, Suraj View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069123#4069123 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069123 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: problem using jbpm with tomcat 5.5 and mysql 5.0
Don't worry, I just did the exact same thing, and spent an hour trying to figure it out :) Silly me. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069124#4069124 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069124 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Tomcat 5.5 - Jbpm 3.2 - Starting failed couldn't get a
Thank you. I thought just the header/comment for the jdbc properties was commented out, and not the entire block. Didn't notice the end comment element was at the end of the block. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069128#4069128 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069128 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam conversations and third party JSF components libs
What is the way to send conversation id with third-party libraries ajax requests. For example, Quipukit library comes with data table pagination control which has ajaxed controls. Click on those controls submits ajax request without conversation id and causes exception on server side anonymous wrote : java.lang.IllegalStateException: No active conversation context | at org.jboss.seam.core.Conversation.instance(Conversation.java:103) | at org.jboss.seam.faces.FacesManager.prepareBackswitch(FacesManager.java:236) | at org.jboss.seam.jsf.SeamPhaseListener.afterRender(SeamPhaseListener.java:505) | at org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:230) | at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:184) | Is there workaround for it? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069130#4069130 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069130 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user