[jboss-user] [JBoss jBPM] - next task/node name in processInstance
Hi all, Sorry if it is a basic question, but I can't figure out how to get the name of the next task in a process instance. I have a taskinstance, which I just end on the click of a button (it is a approve/reject kind of task), but after doing task_instance.end(), how can I find out which is the next task in the processInstance? As an aside, this particular task is part of a fork, and the next task is assigned only after the join. In this case, will I get the join node as the next node? I am not using swimlanes, since different actors are performing different tasks. thanks in advance.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076606#4076606 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076606 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - jboss server is not cmng in redhat linux editor
hello, i am useing redhat linux as a IDE but in which jboss server is not cmng. it showing error as-->jboss server is not cmng in redhat linux editor View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076603#4076603 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076603 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Could not synchronize database state with session
Hmm I am almost certain that I dit post the log from MySQL. Sorry about that. | 25 Prepare | [21] insert into bookable (period, cabin_id, week_id, season_id, raffled) values (?, ?, ?, ?, ?) | 25 Execute | [21] insert into bookable (period, cabin_id, week_id, season_id, raffled) values (NULL, 12, 4, 4, 0) | 25 Prepare | [22] update bookable set season_id=null where season_id=? | 25 Query rollback | Sorry about the formating. As you can see the bookable is inserted correctly but then for some reason it tries to update it with a null value for season_id which causes a rollback. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076597#4076597 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076597 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Managing Pageflow - is the following possible ?
Now I've learned that Using Seam/JSF pageflow method user gets redirected in two ways : foo Redirects user to something.xhtml OR foo In that scenario user clicks on foo link action Myaction from MyBean seam component gets invoked. Action returns outcome string wich is checked against pages.xml - user gets redirected to a particular view. Im intrested actually with a following behavior (wich in essence is the mix of the two) : User clicks a link, link has outcome string Attached to it. Outcome gets checked against pages.xml corresponding to a current view. User gets redirected to a view matching the outcome (that is - attached in pages.xml). Advantage of this is that i need to settle my outcomes once in JSF template then i Can manipulate them in pages.xml only. My problem is that i dont know wich widget (JSF or seam) to use. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076596#4076596 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076596 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss AS 4.2 Behind Firewall
Currently jboss AS http://labs.jboss.com/jbossas/docs is broken (404), care to point me direct to the file? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076595#4076595 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076595 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Could not synchronize database state with session
Yes but the weird thing is that if I do a print of season.getId() after the em.merge(season) and before em.persist(bookable) the correct id is printed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076593#4076593 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076593 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Decision -> select path
I want to select a path depending on a value from database. All goes smooth until I have selected the path. I want to run the path I have selected but not the other path. If I simply make a transition to end node from both paths, it almost works. The problem is, the path I didn't select, didn't finish and the process is still in running state. If i use join node before end state, it runs the path i didn't want to go. I know this is pretty basics but I haven't figured it out yet. Two paths, I want to go other and after it ends, I want to end the whole process. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076592#4076592 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076592 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Deployment error for Jboss-seam.2.0.0.beta1 version
OKay Thanx... Will you please tell me from where I will get the migration guide. Thanx in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076589#4076589 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076589 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: [lifecycle] Could not instantiate Seam component
JBoss AS 4.2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076588#4076588 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076588 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Version conflict of packets in jgroup
Well i changed the multi cast address and port in default.xml file in JGroups/conf folder to other values on both machines like wise it was 228.8.8.8 i changed to 228.8.8.9 But the error remained the same. 11:24:13,062 WARN [UDP] packet from 192.168.1.6:3324 has different version (12338) from ours (23). This may cause problems 11:24:13,062 ERROR [UDP] failed unmarshalling message java.io.EOFException at java.io.DataInputStream.readShort(DataInputStream.java:298) at org.jgroups.Message.readFrom(Message.java:624) at org.jgroups.protocols.TP.bufferToMessage(TP.java:982) at org.jgroups.protocols.TP.handleIncomingPacket(TP.java:838) at org.jgroups.protocols.TP.access$200(TP.java:44) at org.jgroups.protocols.TP$IncomingPacketHandler.run(TP.java:1290) at java.lang.Thread.run(Thread.java:619) "[EMAIL PROTECTED]" wrote : On your network you have a process using a different version of JGroups. Find that process and change its version to match yours, or change your multicast address and port so your channel doesn't see the packets from the other process. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076587#4076587 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076587 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Am getting version conflict error....plz help
Am getting a packet version conflict error , a post deployment error , The error -details are .. 11:01:50,234 WARN [UDP] packet from /192.168.1.4:3689 has different version ( ) from ours (0227). This may cause problems 11:01:50,234 ERROR [UDP] exception=java.io.StreamCorruptedException: invalid stream header: 0101 at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:783) at java.io.ObjectInputStream.(ObjectInputStream.java:280) at org.jgroups.protocols.UDP.handleIncomingUdpPacket(UDP.java:670) at org.jgroups.protocols.UDP$IncomingPacketHandler.run(UDP.java:1332) at java.lang.Thread.run(Thread.java:619) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076586#4076586 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076586 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Exception : javax.faces.FacesException:
Hi all, I am using JBoss Portal 2.6.1-GA. I have come across following exception while restarting the jboss application server. I also get this exception when i click on home page of admin. Can any one suggest me how to overcome this exception and get all portal pages working. The stack trace for this is as follows. | Cause: javax.faces.FacesException: Undefined component type javax.faces.ViewRoot | Message: Undefined component type javax.faces.ViewRoot | StackTrace: | | javax.faces.FacesException: Undefined component type javax.faces.ViewRoot | at org.apache.myfaces.application.ApplicationImpl.createComponent(ApplicationImpl.java:390) | at org.apache.myfaces.application.jsp.JspViewHandlerImpl.createView(JspViewHandlerImpl.java:113) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:320) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:298) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:380) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:266) | at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133) | at javax.portlet.GenericPortlet.render(GenericPortlet.java:306) | at org.jboss.portal.faces.loader.FacesPortlet.render(FacesPortlet.java:100) | 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$invokeRequired$aop(TransactionInterceptor.java:106) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_9103964459766407072.invokeNext(TransactionInterceptor$invokeRequired_9103964459766407072.java) | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_9103964459766407072.invokeNext(TransactionInterceptor$invokeRequired_9103964459766407072.java) | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_9103964459766407072.invokeNext(TransactionInterceptor$invokeRequired_9103964459766407072.java) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeRequired(TransactionInterceptor.java) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:72) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:50) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:58) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.portlet.AjaxInterceptor.invoke(AjaxInterceptor.java:51) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:62) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:47) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55) | at org.jboss.portal.portlet.invocation.PortletInter
[jboss-user] [JBoss Seam] - mapping entities in seam 2.0
I am migrating my application which from 1.2.1 to 2.0Beta1. Had mapped some Home objects using the relatedentites definitions in components.xml as mentioned below : | http://jboss.com/products/seam/components-2.0.dtd";[ | | ]> | and the specialcomponents.xml.txt had the mappings as [for example]: | | The file where the hotelBookingTest is injected has annotation specified as | @In(create=true) | HotelBookingAction hotelBookingTest | This doesn't seem to work, I get exception when the object where the hotelBookingTest gets created telling | Caused by: javax.ejb.EJBTransactionRolledbackException: In attribute requires non-null value: register.hotelBookingTest | Is this supported in Seam 2.0? -- Mani. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076583#4076583 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076583 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss AS 4.2 Behind Firewall
Look for the 4.2 FAQ, use the -b parameter to bind your ports to the external IP addr. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076579#4076579 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076579 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB3 client error - java.io.EOF exception
i read that the transaction manager prefers beans compiled with java5, so i went ahead and did this and redeployed and now have far fewer errors however, i seem to have managed an error that doesnt bring up a single page on google! i?m strangely proud of this anonymous wrote : | --- MBeans waiting for other MBeans --- | ObjectName: jboss.j2ee:service=EJB3,module=AVman.jar | State: FAILED | Reason: java.io.IOException: non class file | | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- | ObjectName: jboss.j2ee:service=EJB3,module=AVman.jar | State: FAILED | Reason: java.io.IOException: non class file | !!! - and the rest anonymous wrote : | 2007-08-22 05:14:52,812 DEBUG [org.jboss.mx.loading.ClassLoaderUtils] Multiple class loaders found for pkg: com.AVman.Audiorec | 2007-08-22 05:14:52,812 DEBUG [org.jboss.mx.loading.ClassLoaderUtils] Multiple class loaders found for pkg: com.AVman.domain | 2007-08-22 05:14:52,812 DEBUG [org.jboss.deployment.MainDeployer] found 0 subpackages of file:/C:/JBOSS/server/default/deploy/AVman.jar | 2007-08-22 05:14:52,812 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file:/C:/JBOSS/server/default/deploy/AVman.jar | 2007-08-22 05:14:52,812 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/C:/JBOSS/server/default/deploy/AVman.jar | 2007-08-22 05:14:52,812 DEBUG [org.jboss.ws.integration.jboss.DeployerInterceptorEJB3] create: file:/C:/JBOSS/server/default/deploy/AVman.jar | 2007-08-22 05:14:52,812 DEBUG [org.jboss.ejb3.EJB3Deployer] create, AVman.jar | 2007-08-22 05:14:52,906 DEBUG [org.jboss.ejb3.EJB3Deployer] Deploying: file:/C:/JBOSS/server/default/deploy/AVman.jar | 2007-08-22 05:14:52,921 DEBUG [org.jboss.system.ServiceController] Creating service jboss.j2ee:service=EJB3,module=AVman.jar | 2007-08-22 05:14:52,921 DEBUG [org.jboss.ejb3.Ejb3Module] Creating jboss.j2ee:service=EJB3,module=AVman.jar | 2007-08-22 05:14:52,921 DEBUG [org.jboss.ejb3.security.JaccHelper] Initialising JACC Context for deployment: AVman.jar | 2007-08-22 05:14:52,953 DEBUG [org.jboss.ejb3.Ejb3Module] Initialization failed jboss.j2ee:service=EJB3,module=AVman.jar | java.io.IOException: non class file | at javassist.bytecode.ClassFile.read(ClassFile.java:621) | at javassist.bytecode.ClassFile.(ClassFile.java:52) | at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:389) | at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:378) | at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:350) | at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:305) | at org.jboss.ejb3.Ejb3Module.createService(Ejb3Module.java:77) | at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243) | 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.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.create(Unknown Source) | at org.jboss.system.ServiceController.create(ServiceController.java:330) | at org.jboss.system.ServiceController.create(ServiceController.java:273) | at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy28.create(Unknown Source) | at org.jboss.ejb3.EJB3Deployer.create(EJB3Deployer.java:429) | 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.
[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss AS 4.2 Behind Firewall
Hi there, I had shutdown my default redhat server apache using /sbin/service and /sbin/chkconfig (port 80). Then i start up JBoss port 80 successfully, but i cant access thru web browser from a remote site. Under /etc/hosts i had confirmed 127.0.0.1 (default in Jboss config) has pointed as localhost etc... also the IP address entry is available point to the domain name. Now the question is, do i need to change the default hostname of jboss from 127.0.0.1 to in order public can access? If yes, which file to change? Could not find it in JBoss AS documentation... :( Please help, thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076576#4076576 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076576 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm-bpel deploy example problem
Wyzzie is very right. JBoss 4.2.x uses a version of wsdl4j that is incompatible with jBPM BPEL 1.1.Beta3. The issue report is JBWS-1528. The fix will be delivered in jBPM BPEL 1.1.GA. This version is not released yet, but you can get the latest stable snapshot from http://repository.jboss.org/jbpm/bpel/1.1.0.GA/lib/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076571#4076571 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076571 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Hello World Example Error in running test
Also see the Wiki page on the subject: http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmBpelOnJdk1.5.0 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076570#4076570 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076570 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: building and Debugging with JBoss tools
Any luck figuring out how to deploy with 2.0? I'm in the same boat and hate to have to go back to eclipse 3.1. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076567#4076567 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076567 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Running the booking example on JBoss with the JSF 1.2 RI
hi pete, Since the upgrading is in progress, can the following environment be used till it is done? - JBoss portal 2.6.1 (with AS 4.2.1) - Seam 1.2.1GA (instead of 2.0.0 Beta1) - use JSF RI 1.2 or MyFaces? Thank you very much. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076561#4076561 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076561 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: jboss-seam.jar: determining the version of it
I don't think you can. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076559#4076559 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076559 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: JBoss 3.2.6 BMP Caching Question
Hi Adryden, We are having a similar issue. In our case EntityBean is a readonly entityBean, so we create an entitybean, from the client, which get persisted in our database through an external service. But does not happen immediately. The problem is we depend on entitybean being in cache, and thought it wont call findByPrimaryKey since its already in cache. But it seems to be going to the database. and its not able to find the primarykey and thorows finder exception. (as there is some delay in persisting data through external systems) How does JBoss app server remove the entitybean from the cache? any help is appreciated. Nisarg View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076558#4076558 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076558 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: Using EJB injection in JMX / MBean
Thank you for the explanation. After some thinking, I guess is it's because MBean was created before the EJBs. And by right, the EJB at the time of MBean creation is not available yet, so it can not be injected. Though I put dependency on EJBs, it only delay to call the start() method, rather than the create(). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076556#4076556 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076556 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: Jboss-4.0.3SP1 shutting down itself without any explicit
Just wanted to let you know we are also having the same issue... Running JBoss 4.04GA on CentOS 4.4 using the included red hat run script (running JBoss as a service). The problem happens about twice a month for us on the server which is on all the time. On another spot in the forums and from this link: http://davidbolton.net/blog/?p=21 it looks like some people have had success adding the -Xrs option to their JAVA_OPTS in run.conf. We are just trying that now, will hopefully post in a couple months if we've avoided the problem since. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076555#4076555 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076555 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Jboss 4.0.4 and 4.0.5 is going to shutdown
Just wanted to post that we have the same issue with JBoss 4.04GA. Happens about twice a month on a server running 24/7. Haven't been able to correlate it with anything, we use the jboss init script for redhat to run jboss as a service, and are running CentOS 4.4. I just put in the -Xrs option, and will hopefully followup that the problem hasn't happened again... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076554#4076554 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076554 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Beanshell script transition condition
JBPM 3.2.1 Tomcat 6 SQL Server I am trying to write a transition condition using a beanshell script but can't seem to return a boolean. When I look through the jPDL xml schema docs I do not see how to do this. In the Process Modeling/Node type: Decision docs I see mention of the option to use beanshell. using a: | | I believe runs as a script action and a: | | appears to only allow EL What am I missing? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076553#4076553 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076553 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Transiton Condition evaluated to 'false
JBPM 3.2.1 Tomcat 6 SQL Server I am trying to put some conditions on transitions leaving a task-node. When the process variable matches the first transition condition, the transition is taken. When the process variable matches the second transition condition I get a JbpmException: transition condition #{taskTrans == 't1'} evaluated to 'false' In this scenario taskTrans = "t2" The process def snippet: | | | #{taskTrans == 't1'} | | Task Node transition 1 | | | | #{taskTrans == 't2'} | | Task Node Transition 2 | | | | I have searched the forums but can't seem to make a connection to a solution View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076552#4076552 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076552 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: selectOneMenu problem
I also tried to do not use the method and use component definition in components.xml, if I don't use a value of the instance of articoloHome it works, like that: | | | I manually coded the "2" value of the id of tipologiaArticolo (that's wrong, I need dynamic value). In the right way I need it doesn't works and give me the same error: | | | tipologiaArticolo = #{articoloHome.instance.tipologiaArticolo} | | | So I think the problem is in articoloHome (seam-gen generated class that extends EntityHome). Any ideas? Thanks! Demetrio Filocamo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076551#4076551 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076551 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - selectOneMenu problem
Hi, I have a seam-gen app, in the edit form I inserted the following code: | | Stato | | | | | | It call the getStatiArticolo function that is in articoloHelper (Seam POJO, Scope=CONVERSATION): | private List statiArticolo; | | public List getStatiArticolo(int idTipologia) | { | if (statiArticolo==null) { | statiArticolo = (List) entityManager.createQuery( | "from StatoArticolo sa WHERE sa.tipologiaArticolo.id = "+idTipologia+" ORDER BY sa.descrizione").getResultList(); | } | | return statiArticolo; | } | The menu and its items are rendered fine, the selected item works, but when I click on submit I got a strange error: anonymous wrote : | | java.lang.IllegalArgumentException: Unknown entity: com.novaware.unica.StatoArticolo_$$_javassist_5 | at org.hibernate.ejb.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:185) | at org.jboss.seam.persistence.EntityManagerProxy.find(EntityManagerProxy.java:85) | at org.jboss.seam.framework.EntityIdentifier.find(EntityIdentifier.java:26) | at org.jboss.seam.ui.converter.EntityConverterStore.get(EntityConverterStore.java:43) | at org.jboss.seam.ui.converter.EntityConverter.getAsObject(EntityConverter.java:81) | at org.jboss.seam.ui.converter.PrioritizableConverter.getAsObject(PrioritizableConverter.java:61) | at org.jboss.seam.ui.converter.ConverterChain.getAsObject(ConverterChain.java:107) | at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:152) | at com.sun.faces.renderkit.html_basic.MenuRenderer.convertSelectOneValue(MenuRenderer.java:197) | at com.sun.faces.renderkit.html_basic.MenuRenderer.getConvertedValue(MenuRenderer.java:359) | at javax.faces.component.UIInput.getConvertedValue(UIInput.java:934) | at javax.faces.component.UIInput.validate(UIInput.java:860) | at javax.faces.component.UIInput.executeValidate(UIInput.java:1065) | at javax.faces.component.UIInput.processValidators(UIInput.java:666) | at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1033) | at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1033) | at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1033) | at javax.faces.component.UIForm.processValidators(UIForm.java:229) | at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1033) | at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:662) | at org.ajax4jsf.component.AjaxViewRoot.access$201(AjaxViewRoot.java:59) | at org.ajax4jsf.component.AjaxViewRoot$3.invokeRoot(AjaxViewRoot.java:321) | at org.ajax4jsf.context.JsfOneOneInvoker.invokeOnRegionOrRoot(JsfOneOneInvoker.java:56) | at org.ajax4jsf.context.AjaxContextImpl.invokeOnRegionOrRoot(AjaxContextImpl.java:171) | at org.ajax4jsf.component.AjaxViewRoot.processValidators(AjaxViewRoot.java:335) | at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:100) | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) | at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:63) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:87) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:63) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:46) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141) | at org.ajax4jsf.webap
[jboss-user] [JBoss Seam] - Re: jboss-seam.jar: determining the version of it
thx! how do you edit posts on this board??? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076547#4076547 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076547 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Double Click . Seam 1.2.1.GA
Hi: I test the solution detailed in http://jira.jboss.org/jira/browse/JBSEAM-183. It works well in tomcat 5.028, but in tomcat 5.5 it produces a deadlock. I have the same issue that was posted in the forum: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=92970 But I am using seam 1.2.1.GA and jsf 1.1.12. In the forum discussion, it mentioned that the double click issue should be resolved in seam 1.1, but we are using 1.2.1 now, and seems the issue still there. Any suggestion on what other things I should look at ? Thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076546#4076546 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076546 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - cluster setup
Hi, Am trying to deploy bundled clustered jboss version 2.6.1 and created 2 instances. When I put a war file in the farm directory of one node, the other node gives the following error: 22:35:13,517 ERROR [FarmMemberService] org.jboss.ha.framework.server.ClusterFileTransfer$ClusterFileTransferException: Did not receive response from remote machine trying to open file 'farm/myuser-portlet1.war'. Check remote machine error log. Kindly suggest. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076544#4076544 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076544 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: jboss-seam.jar: determining the version of it
Look at the Manifest.mf file in the jar. Manifest-Version: 1.0 | Ant-Version: Apache Ant 1.6.2 | Created-By: 1.5.0_07-87 ("Apple Computer, Inc.") | Seam-Version: 1.2.1.GA | Implementation-Version: 1.2.1.GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076543#4076543 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076543 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - jboss portal cluster set up
Hi, Am trying to deploy jboss portal 2.6.1. I downloaded the bundled clustered version and created 2 instances. When I put a war file in the farm directory of one node, the other node gives the following error: 22:35:13,517 ERROR [FarmMemberService] org.jboss.ha.framework.server.ClusterFileTransfer$ClusterFileTransferException: Did not receive response from remote machine trying to open file 'farm/myuser-portlet1.war'. Check remote machine error log. Kindly suggest. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076542#4076542 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076542 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - jboss-seam.jar: determining the version of it
how do you do it? I think we're using seam 1.2.1 but not sure. This may become confusing if you copy the jar into a projects folder and don't rename it to jboss-seam-1.2.1.jar, for example... I don't see a readme.txt in there... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076541#4076541 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076541 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - identity.isLoggedIn() question
in the API doc for org.jboss.seam.security.Identity, isLoggedIn() has the following description: If there is a principal set, then the user is logged in. How/when does the principal get set? I'm assuming after the successful execution of identity.setUsername(). In the following code, identity.isLoggedIn() is returning false but is evaluating to true later in an xhtml file. Other test cases (with the same NTLM username) identity.isLoggedIn() returns true. Any ideas why? identity instance is being depency injected earlier in the class... | public boolean authenticate() { | | try { | identity.setUsername(((NtlmPasswordAuthentication) sessionContext.get("NtlmHttpAuth")).getUsername()); | | Query q = em.createQuery("SELECT r FROM Users r WHERE r.networkLogin = :username"); | q.setParameter("username", identity.getUsername()); | Users user = (Users) q.getSingleResult(); | | Set myRoles = user.getUserRoleses(); | | if (user.getUserRoleses() != null) { | for (UserRoles ur : user.getUserRoleses()) { | | identity.addRole(ur.getRoles().getSecRoleRoleName()); | } | } | | log.debug("isLoggedin = " + identity.isLoggedIn()); | | return true; | } | | catch(NoResultException ex) { | ex.printStackTrace(); | FacesMessages.instance().add("Invalid username/password"); | return false; | } | } home.xhtml: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> | http://www.w3.org/1999/xhtml"; | xmlns:s="http://jboss.com/products/seam/taglib"; | xmlns:ui="http://java.sun.com/jsf/facelets"; | xmlns:f="http://java.sun.com/jsf/core"; | xmlns:h="http://java.sun.com/jsf/html"; | xmlns:rich="http://richfaces.ajax4jsf.org/rich"; | template="layout/template.xhtml"> | | | | | | | | | | This empty shell application includes: | | Ant build script | Deployment to JBoss AS | Integration testing using TestNG and JBoss Embeddable EJB3 | EJB 3.0 Seam components | Templated Facelets views | HSQL (or MySQL) Datasource | Default CSS stylesheet | Internationalization support | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076540#4076540 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076540 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Starting up Asynchronous Method at startup
Works like this: In components.xml: | | http://jboss.com/products/seam/components"; | ... | xmlns:async="http://jboss.com/products/seam/async"; | ...> | | | ... | Startup class: | @Startup | @Stateful | @Scope(ScopeType.APPLICATION) | @Name("startupManager") | public class StartupManager implements StartupManagerLocal{ // create Interface | | @Logger | private Log log; | | @In(create = true) | private ProcessingActionLocal processingAction; | | private QuartzTriggerHandle handle = null; | | @Create | public void create() { | log.info("create(): called"); | // init | int delay = 20; // in seconds | long interval = 1000 * delay; | Calendar cal = Calendar.getInstance(); | cal.setTime(new Date()); | cal.add(Calendar.SECOND, delay); | // create Processing | long processingId = processingAction.createProcessing("serverJob"); | // schedule job and save handler | this.handle = processingAction.doServerJob(processingId, cal.getTime(), interval); | log.info("create(): id: #0", processingId); | } | | public QuartzTriggerHandle getHandle() { | return this.handle ; | } | | @Remove | public void destroy() { | } | } | The ProcessingAction (The ProcessingBean is not shown here): | @Stateful | @Name("processingAction") | public class ProcessingAction implements ProcessingActionLocal { // create Interface | | @Logger | private Log log; | | @In | private EntityManager entityManager; | | @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) | public long createProcessing(String string) { | // create Processing | ProcessingBean processing = new ProcessingBean(); | // managed context | entityManager.persist(processing); | processing.setName("serverJob"); | // return id | return processing.getId(); | } | | @Asynchronous | @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) | public QuartzTriggerHandle doServerJob(long processingId, @Expiration Date date, @IntervalDuration Long interval) { | log.info("doServerJob(): called"); | // get bean | ProcessingBean processing = entityManager.find(ProcessingBean.class, processingId); | // if exists remove | if (processing != null) { | entityManager.remove(processing); | log.info("doServerJob(): removed: id: #0", processingId); | } else { | // else stop server job | try { | startupManager.getHandle().cancel(); | } catch (Exception e) { | log.error("", e); | } | log.info("doServerJob(): stopped: id: #0", processingId); | } | // return new handle | return new QuartzTriggerHandle("serverJob"); | } | | @Remove | public void destroy() { | } | } | Let me know if it worked out... Greetz GHad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076537#4076537 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076537 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: PojoCache - increment global counter
Hi Jason, Thanks for your response, I voted for it. I'll just use a native database sequence for now. Keep up the great work on JBoss/PojoCache it's a really great product. It feels almost like magic when an object is automatically updated across the cluster :) many thanks James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076536#4076536 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076536 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB3 client error - java.io.EOF exception
looks like the TransactionManager jndi name is not bound. Do you see it in JNDIView from the jmx-console? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076535#4076535 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076535 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Classpath entry will not be exported or published.
"[EMAIL PROTECTED]" wrote : you are saying this worked earlier ? | | with our adapter or the generic one in eclipse ? Yes, it worked earlier, but only a few times when I first ran a recently installed version. I was using Jboss adapter. "[EMAIL PROTECTED]" wrote : This is a known bug on our adapter and in the seam project ear construction; use the war version for now. There is any Jira issue related to this bug? I would like to know when this bug get resolved. thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076534#4076534 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076534 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Render without href using JSF
Can you improve Seam's s:link so that it could be used to render HTML A with no HREF? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076533#4076533 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076533 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Could not synchronize database state with session
You've tried to save a null value to a column marked @NotNull (season_id) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076531#4076531 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076531 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: access to userPrincipal's role of the external context
Nothing to do with Seam. Seam currently doesn't integrate with JBoss Security IIRC. There is a feature request open for this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076529#4076529 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076529 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem with a4j reRender and s:button disabled property
I think this is ajax4jsf related View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076528#4076528 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076528 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam conflict with a4j:include and a4j:support
Seem to be the problem I got right now. Things seem fine yesterday, now all hell broke lose without a cause. After you jump off the field, everything disappears. So weird. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076526#4076526 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076526 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBPM ProcessDefinition redeployed on restart
"fzaker" wrote : Do you mean removing related tags from components.xml file? Yes. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076525#4076525 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076525 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: [lifecycle] Could not instantiate Seam component
What server are you deploying to? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076523#4076523 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076523 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Render without href using JSF
"mgrouch" wrote : When I try to do it by inserting regular HTML markup into my | facelets source tag, This is what you should do. anonymous wrote : all regular html markup disappears on AJAX submissions. This sounds like a bug, if you are using ajax4jsf, ask them as they might be able to help. Alternatively create a JSF component that writes out what you want. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076521#4076521 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076521 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Render without href using JSF
href="#" causes submission and blinking in my IE. I really need to render HTML a element with no "href". When I try to do it by inserting regular HTML markup into my facelets source tag, all regular html markup disappears on AJAX submissions. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076520#4076520 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076520 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: wiki example and captcha
Seamspace View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076518#4076518 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076518 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Configuring JBoss Portlets by default
ok, the window-name had to be unique. that was one of the problems but the bigger issue was finding the correct deployment parent element. need to find out what the others are meant for. fix is small, but took a while to get there :( thanks for your pointers, Peter. much appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076516#4076516 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076516 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Red Hat Developer Studio Issues - JBoss View unavailable
Dammit, Oracle snuck these entries into my PATH: C:\Oracle\product\10.1.0\Client_2\jre\1.4.2\bin\client;C:\Oracle\product\10.1.0\Client_2\jre\1.4.2\bin; Got rid of those and it worked. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076514#4076514 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076514 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Exception launching second node in cluster (Cannot find
Ugh ... The solution to this problem was to specify the bind address to run.sh ./run.sh -c messaging-node0 -b 0.0.0.0 I guess by default, it just binds to localhost ... Even though the cluster stuff appeared to be starting up, and I could see members being added to TreeCache, I guess it really wasn't It would be really helpful if this tip was called out in the configuration docs ... I stumbled across this post which mentioned the -b parameter http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071554#4071554 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076511#4076511 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076511 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Getting
Changed the code to : @Test | public void testFindUnregisteredClaims() throws Exception { | new FacesRequest() { | @Override | protected void invokeApplication() { | invokeMethod("#{registrationFinder.find}"); | } | }.run(); | } and works View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076510#4076510 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076510 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Flex Integration, How Easy It Is!
Hi all, I have tried integrating this example to my app but with no luck. It loads the flash file, but when I click on the button it just doesn't do anything. I have tested my app using classes and pages from the remoting helloworld example and it worked. Is there any special configurations I need? (I just copied all the files to on directory) Also, is there a JSF version for the flexhelloworld.html. That might be causing the problem. I am using Seam 2.0 (cvs repos version) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076509#4076509 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076509 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Red Hat Developer Studio Issues - JBoss View unavailable
Eclipse 3.3/WTP requires JDK 5 to work...you have class warnings that indicates you are running with JDK 1.4 or less. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076507#4076507 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076507 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Red Hat Developer Studio Issues - JBoss View unavailable
I just did a clean install of Red Hat Developer Studio and I'm getting the same sort of problem I did when I installed Eclipse 3.3 from WTP all-in-one. Certain features (Spring IDE, JBoss Server View) just don't show up. The JBoss Server View is not present in Views under Servers, nor under the Preferences tab. The error from the log I think is most likely responsible (guessing) is org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Missing whitespace before SYSTEM literal URI. at org.eclipse.xsd.util.XSDResourceImpl.getDocument(XSDResourceImpl.java:344) at org.eclipse.xsd.util.XSDResourceImpl.getDocument(XSDResourceImpl.java:372) at org.eclipse.xsd.util.XSDResourceImpl.doLoad(XSDResourceImpl.java:680) at org.eclipse.xsd.util.XSDResourceImpl.doLoad(XSDResourceImpl.java:784) at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1094) at org.eclipse.wst.xsd.contentmodel.internal.util.XSDSchemaLocatorImpl.locateSchema(XSDSchemaLocatorImpl.java:56) I've put the whole log up at http://petitepalate.com/help/log.txt Thanks in advance for your help. Chris View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076506#4076506 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076506 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: wiki example and captcha
You may also want to look at Simple Captcha: http://simplecaptcha.sourceforge.net/index.html jCaptcha is VERY hard to read I find. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076505#4076505 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076505 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Embedded EJB Testing Woes
Hi Mike your problem is that you are missing a JDBC data source bound in JNDI as "java:/ICTRCoreDatasource" You will need a data source definition XML file (*-ds.xml) defined and deployed in to $JBOSS_SERVER/server//deploy directory. The following is an example: | | http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd";> | | | ICTRCoreDatasource | | jdbc:mysql://de01.gcrc.umn.edu/mwkohout_ictrcore | | com.mysql.jdbc.Driver | | TRANSACTION_READ_COMMITTED | | mwkohout | password | 10 | 10 | | org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter | | | mySQL | | | | As far as I know, with JBoss Seam 2.0.0.BETA1 and AS 4.2.0.GA, you no longer need the jboss-beans.xml file. My application does certainly work without one (both in TestNG/Embedded and real deployments). Hope this helps. Regards: Peter View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076501#4076501 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076501 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Configuring JBoss Portlets by default
ok, by trial and error, i found the right deployment element to stick my portlet entries in. Don't know yet why one works and not the other, or what is the difference between these elements, but nevertheless, i can add a portlet to the default page this way. however, adding a second portlet doesn't work, and it seems to override the earlier portlets added, and ultimately, i only see 1 on the page.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076500#4076500 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076500 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Configuring Seam Filters through components.xml
You probably want to put code/xml snippets in code tags. It'll make it easier to read, and xml won't get mangled. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076499#4076499 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076499 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Can't turn off the maximized window-state
Hello everyone I'm using AS 4.2.0 and portal 2.6 and I can't seem to be able to turn the maximized portlet controls off. I made this change in my *-object.xml file: | normal | | minimized | After making that change I cleaned out the database and restarted. Any ideas on how to make these controls disappear? In 2.4 all I had to do was remove the corresponding CSS and the link was invisible, but now that I'm using 2.6 the tags in my layout are putting a in the link text so now I have a noticable gap in my title bar that users can click and invoke the maximized state. nollie View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076497#4076497 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076497 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Another deployment ClassCastException
I've got a JEE 5.2 application that ran fine under Glassfish that I'm trying to regress to run under JBoss 4.2.1.GA (because while Glassfish may completely implement EE 5, it's exasperatingly unstable). I've read a number of complaints about ClassCastExceptions involved with JNDI lookups, and how they're related either to the lack of a .../remote or .../local suffix on the JNDI name, or to classes loaded by different classloaders. I've tried to take care of all that. Here's (part of) my global JNDI namespace: | +- BackEnd (class: org.jnp.interfaces.NamingContext) | | +- GeneralService (class: org.jnp.interfaces.NamingContext) | | | +- remote (proxy: $Proxy97 implements interface pkg.GeneralService,interface org.jboss.ejb3.JBossProxy,interface javax.ejb.EJBObject) | I recognize the stuff in bold: that's my stuff. I'm careful to use the JNDI name only with the .../remote suffix, so as to grab something that's compatible with my GeneralService interface. But during deployment, I get this exception when I try to cast the result of InitialContext.lookup () to pkg.GeneralService: | java.lang.ClassCastException: $Proxy97 cannot be cast to pkg.GeneralService | Can't be cast to it? But the JNDI catalog says $Proxy97 implements it! What's going on? Is this an instance of the classloader incompatibility? Why would JBoss be written to use two different classloaders in the process of loading an EJB from JNDI? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076496#4076496 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076496 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - wiki example and captcha
The wiki example (latest source download of Seam) seems to use a math question for captcha. Is there any example of using jCaptcha ? Thanks, M View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076494#4076494 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076494 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Configuring Seam Filters through components.xml
All, Is it possible to configure Seam Filters through the components.xml? My Filter on Seam 1.2.1 : @Scope(ScopeType.APPLICATION) @Name("common.WebTrendsFilter") public class WebTrendsFilter extends AbstractFilter { public static final String FILTER_ENABLED = "FILTER_ENABLED"; /** * _log - Default Logger injected from SEAM. */ @Logger private Log _log; /** * Club configuration provider for page information. */ @In(value="common.clubConfigProvider") private IClubConfigProvider _clubConfig; My issue is that when I try to configure the filter through the web.xml, the objects with the @In annotation come up Null, and are not injected by Seam. Therefore, I tried adding it to the components.xml, but have not had any luck whatsoever. Here is what I have tried placing in components.xml: #{common.clubConfigProvider} #{common.viewContentProvider} #{common.commonModuleConfig} Is there a special tag to designate a component as a filter? If so, I am assuming you can designate a url-pattern to apply the filter too? Any help would be greatly appreciated. Thanks. ~Greg View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076490#4076490 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076490 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Configuring Seam Filters through components.xml
Above post: the xml didnt translate right: components.xml #{common.clubConfigProvider} ~Greg View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076492#4076492 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076492 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: [lifecycle] Could not instantiate Seam component
Hello Vincent, i already did that after i read some EJB documentation. It isnt working anyway. I am searching in the internet for 2 days now, i get pissed because i just can imagine that i did a very newbish mistake ;) any other suggestions? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076491#4076491 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076491 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBPM ProcessDefinition redeployed on restart
Thanks for responses. Pete, could you explain more? How could I disable seam jbpm process deployer in production? Do you mean removing related tags from components.xml file? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076489#4076489 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076489 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Configuring JBoss to use Informix
There probably is more interesting output in the log. If you pick the create statement for jms_subscriptions and try to run it on the database via dbaccess you get a syntax error. So create the table "by hand". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076483#4076483 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076483 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Configuring JBoss Portlets by default
We have additional deployment entries but I've added the portlets to the first one (the one shown above). I've verified that the JBP_WINDOWS table gets populated with this new portlet. So, there IS an entry in this table, so it does mean that something is getting picked up from this file. Just that it doesn't show up on the page and when I edit the configuration, I don't see any portlets as being exposed in any region.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076482#4076482 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076482 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Configuring JBoss Portlets by default
That is exactly how I have it, Peter. No difference at all (not sure if I can post the entire file since it is our source code, etc - see what I mean). The only additional thing to note is this - | | | keep | | default | | | default | | | order | 1 | | | |SomePortletWindow |SomePortletInstance |center |1 | | | | | ..other deployments here.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076480#4076480 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076480 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - EntityQuery (entity-query) General Performance Questions
Has anyone had experience using the EntityQuery class to query a mid to large sized table (300,000+ records)? I used seam gen to create a CRUD application for a single table. The main list.xhmtl page uses a generated component that extends from the EntityQuery class. The table I am querying has about 300,000 records. I have set the maxresults=25. But the applicaiton is extremely slow. It takes several seconds to load the list page and at least 3-6 seconds to do a search. The database is DB2 V9. Other application components I have written work well with DB2 and there are not any performance problems. But the generated list page is still very slow. Worse yet, if the class had any EAGER associations with other classes the query never came back with any results. Is 300,000 records too much for the EntityQuery to handle? I would not thnk so, but I found that when the page first loads the application exectues a "select all" statment (select * from tablex) It seems that is does not limit the result set on the query, but selects all the records and the filters the results down to 25 after the database has returned the query results. Of course I could be totally wrong on this but I can't see any other problem. It would be helpful if there was some more in depth documentation for the EntityHome and EntityQuery classes. Anyhow, has anyone used the EntityQuery to do work over a mid to large sized table? If so, did it work "out of the box" or did you have to do some additional configuration and/or coding to get it to work for you? Here is the class that extends QueryList: package com.idfbins.nexus.presentation; | | import java.util.Arrays; | import java.util.List; | | import org.jboss.seam.annotations.Name; | import org.jboss.seam.framework.EntityQuery; | | import com.idfbins.nexus.common.vo.busent.ClientVO; | | | | @Name("clientList") | public class ClientListQuery extends EntityQuery { | | public ClientListQuery() { | this.setMaxResults(25); | this.setOrder("search"); | } | | private static final String[] RESTRICTIONS = { | "lower(clientVO.search) like concat(#{clientList.clientVO.search},'%')", | "lower(clientVO.memberNumber) like concat(#{clientList.clientVO.memberNumber},'%')", | }; | | | private ClientVO clientVO = new ClientVO(); | | @Override | public String getEjbql() { | return "select clientVO from ClientVO clientVO"; | //return "select clientVO from ClientVO clientVO left join fetch clientVO.entityLocations entityLocation " ; | } | | | @Override | public String getOrder() { | // TODO Auto-generated method stub | return "search"; | } | | | @Override | public Integer getMaxResults() { | return 25; | } | | public ClientVO getClientVO() { | return clientVO; | } | | @Override | public List getRestrictions() { | return Arrays.asList(RESTRICTIONS); | } | } Here is the list page: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> | | http://www.w3.org/1999/xhtml"; | xmlns:s="http://jboss.com/products/seam/taglib"; | xmlns:ui="http://java.sun.com/jsf/facelets"; | xmlns:f="http://java.sun.com/jsf/core"; | xmlns:h="http://java.sun.com/jsf/html"; | xmlns:rich="http://richfaces.ajax4jsf.org/rich"; | template="layout/template.xhtml"> | | | | | | | | | | | memberno | | | | | | | search | | | | | | | | | | | | | | | | Lender search results | | | | | | | | | | | | #{clientVO.id} | | | | | | | | #{clientVO.memberNumber} | | | | | | | | #{clientVO.search} | | | | city state | | | | | | | | | | | | | | | | | | | |
[jboss-user] [JBoss Portal] - Re: Configuring JBoss Portlets by default
On second thought, if you have a portlet named SomePortlet, then here are the full ad complete contents for portlet-instances.xml and *-object.xml to get the portlet to show up on the default page: portlet-instances.xml: | | | SomePortletInstance | SomePortlet | | | some-object.xml: | | overwrite | default.default | | SomePortletWindow | SomePortletInstance | center | 1 | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076478#4076478 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076478 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Configuring JBoss Portlets by default
I think you need to post the whole portlet-instances.xml and default-object.xml files. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076477#4076477 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076477 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - SessionFactory in java:namespace - not bound?!
I'm deploying a .har alongside my .war in an .ear. My session factory is using a secured data source (security-domain) as shown below: | | | | us/tx/state/oag/dev/ApplicationSecurity | jdbc:jtds:sybase://sydev1a:9000/application_security | net.sourceforge.jtds.jdbcx.JtdsDataSource | WebAppDomainDevApplicationSecurity | 3 | 5 | | Sybase | | | | The .har has the requisite class and hbm.xml files in it, along with the following jboss-service.xml file: | | | java:us/tx/state/oag/dev/ApplicationSecurity | org.hibernate.dialect.SybaseDialect | | java:/hibernate/dev/ApplicationSecurity | | org.hibernate.cache.HashtableCacheProvider | true | | | true | | | jboss.jca:name=us/tx/state/oag/dev/ApplicationSecurity,service=DataSourceBinding | jboss.jca:service=RARDeployer | | | Things are being deployed and setup correctly (I think...) | 15:09:51,812 INFO [SessionFactoryImpl] building session factory | 15:09:53,406 INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured | 15:09:53,406 INFO [NamingHelper] JNDI InitialContext properties:{} | 15:09:53,484 INFO [Hibernate] SessionFactory successfully built and bound into JNDI [java:/hibernate/dev/ApplicationSecurity] | | | The session factory is showing up in the JNDI view thusly: | | | | java: Namespace | | | | +- SecurityProxyFactory | | +- us | | | +- tx | | | | +- state | | | | | +- oag | | | | | | +- dev | | | | | | | +- Common | | | | | | | +- ApplicationSecurity | | | | | | | +- Workflows | | | | | | | +- EmployeeWarehouse | | | | | | +- prd | | | | | | | +- Common | | | | | | | +- ApplicationSecurity | | | | | | | +- DpsLicenses | | +- comp | | +- jaas | | | +- WebAppDomainPrdDpsLicenses | | | +- WebAppDomainDevCommon | | | +- WebAppDomainDevApplicationSecurity | | | +- WebAppDomainPrdCommon | | | +- WebAppDomainDevEmployeeWarehouse | | | +- WebAppDomainDevWorkflows | | | +- WebAppDomainPrdApplicationSecurity | | +- timedCacheFactory | | Failed to lookup: timedCacheFactory, errmsg=org.jboss.util.TimedCachePolicy | | +- TransactionPropagationContextExporter | | +- Mail | | +- TransactionPropagationContextImporter | | +- TransactionManager | | +- hibernate | | | +- dev | | | | +- ApplicationSecurity | | | | +- Common | | | | +- Workflows | | | | +- EmployeeWarehouse | | | +- prd | | | | +- ApplicationSecurity | | | | +- Common | | | | +- DpsLicenses | | | | and yet the following code always gets the same error: | | | | ctx = new InitialContext(); | | lo_result = (SessionFactory)ctx.lookup("java:/hibernate/dev/ApplicationSecurity"); | | | | | | 15:15:28,468 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) | | 15:15:28,468 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) | | 15:15:28,468 ERROR [STDERR] at org.jnp.server.NamingServer.getObject(NamingServer.java:543) | | 15:15:28,468 ERROR [STDERR] at org.jnp.server.NamingServer.lookup(NamingServer.java:267) | | 15:15:28,468 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625) | | 15:15:28,468 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) | | 15:15:28,468 ERROR [STDERR] at javax.naming.InitialContext.lookup(InitialContext.java:351) | | 15:15:28,468 ERROR [STDERR] at us.tx.state.oag.util.jsf.BaseBean.getSessionFactory(BaseBean.java:72) | | 15:15:28,468 ERROR [STDERR] at us.tx.state.oag.OagPortalRegistration.AuthenticationBean.authenticateUser(AuthenticationBean.java:125) | | 15:15:28,468 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | | 15:15:28,468 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | | 15:15:28,468 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | | 15:15:28,468 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | | 15:15:28,468 ERROR [STDERR] at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:132) | | 15:15:28,468 ERROR [STDERR] at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:61) | | 15
[jboss-user] [JBoss Portal] - Re: Configuring JBoss Portlets by default
| default | |AdminPortletWindow |SomePortletInstance |center |0 | | If I add 2 blocks of this, only the second one is added. Verified the JBP_WINDOWS table. However, though I see an entry in this table for the now-modified entry in default-object.xml, nothing really shows up in the UI unless I do this action in the UI. Finally, I see multiple deployment elements in default-object.xml. I am just adding my entry to the last one. Perhaps that is where the problem is? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076475#4076475 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076475 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Configuring JBoss Portlets by default
I am editing the default-object.xml file bundled with my portlets. I've verified that this file gets picked up now. This is how my entry looks in portlet-instances.xml - | | SomePortletInstance | SomePortlet | | ..and this is how my entry in the default-object.xml looks like: | |viewrecursive |Admin | | | | default | |AdminPortletWindow |SomePortletInstance |center |0 | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076473#4076473 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076473 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Configuring JBoss Portlets by default
Double-check the spelling on the instance name in both portal-instances.xml and *-object.xml. Misspelling is usually what trips me up. Also, does the portlet window show up in the list of portlet windows for that page in the Management Portal. If you click on the portlet window there, and the lists of instances displayes, is the correct instance highlighted. If nothing is highlighted, then the instance name must be wrong (happened to me just last weekend). Also, are you modifying the jboss-portal.sar/conf/data/default-object.xml file? If so, then your portlets must be deployed within the jboss-portal.sar directory. The other option is to add your portlets to the default portal page using the *-object.xml file bundled with your portlets. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076471#4076471 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076471 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Buddy Replication
What release of JBC and JGroups? This sounds very similar to the situation discussed at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=116104[/url] and [url]http://jira.jboss.com/jira/browse/JBAS-4608. The application gets a view change callback before the protocols lower down in the channel are aware of the new view. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076470#4076470 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076470 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM BPEL / activeBPEL
anonymous wrote : I managed to tie in JBoss ESB(including jBPM) with jBPEL, but when I deploy a definition, the JPDLArchiveParser picks it up in stead of the BPEL processor This is an issue (BPEL-239) that affects jBPM BPEL 1.1.Beta3 and earlier versions. BPEL-239 is already resolved and will be delivered in version 1.1.GA. This version is not publicly available yet. However, you can take the latest stable snapshot from http://repository.jboss.org/jbpm/bpel/1.1.0.GA/lib/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076469#4076469 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076469 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Buddy Replication
We get the following stack trace when starting up the cache with buddy replication enabled and can't really understand why. | 2007-08-21 21:27:49,849 Incoming Thread,TableSpace,172.16.0.5:8786 INFO space.jboss.ExtendedCache.TableSpace - viewAccepted(): [172.16.0.5:8786|1] [172.16.0.5:8786, 172.16.0.6:8786] | | 2007-08-21 21:27:49,849 AsyncViewChangeHandlerThread,172.16.0.5:8786 DEBUG jboss.cache.buddyreplication.BuddyManager - Instance 172.16.0.5:8786 broadcasting membership in buddy pool BuddyPool to recipients null | | 2007-08-21 21:27:49,851 AsyncViewChangeHandlerThread,172.16.0.5:8786 ERROR jboss.cache.buddyreplication.BuddyManager - Problems broadcasting buddy pool membership info to cluster | java.lang.RuntimeException: failed executing request [req_id=1187724469850 | caller=172.16.0.5:8786 | 172.16.0.6:8786: sender=172.16.0.6:8786, retval=null, received=false, suspected=false | | request_msg: [dst: , src: (1 headers), size=41 bytes] | rsp_mode: GET_ALL | done: true | timeout: 2000 | expected_mbrs: 0 ([172.16.0.6:8786])] | at org.jgroups.blocks.MessageDispatcher.castMessage(MessageDispatcher.java:433) | at org.jgroups.blocks.RpcDispatcher.callRemoteMethods(RpcDispatcher.java:199) | at org.jgroups.blocks.RpcDispatcher.callRemoteMethods(RpcDispatcher.java:167) | at org.jboss.cache.CacheImpl.callRemoteMethods(CacheImpl.java:2093) | at org.jboss.cache.CacheImpl.callRemoteMethods(CacheImpl.java:2023) | at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:55) | at org.jboss.cache.buddyreplication.BuddyManager.makeRemoteCall(BuddyManager.java:929) | at org.jboss.cache.buddyreplication.BuddyManager.broadcastBuddyPoolMembership(BuddyManager.java:904) | at org.jboss.cache.buddyreplication.BuddyManager.broadcastBuddyPoolMembership(BuddyManager.java:888) | at org.jboss.cache.buddyreplication.BuddyManager.access$800(BuddyManager.java:56) | at org.jboss.cache.buddyreplication.BuddyManager$AsyncViewChangeHandlerThread.broadcastPoolMembership(BuddyManager.java:1080) | at org.jboss.cache.buddyreplication.BuddyManager$AsyncViewChangeHandlerThread.handleEnqueuedViewChange(BuddyManager.java:1054) | at org.jboss.cache.buddyreplication.BuddyManager$AsyncViewChangeHandlerThread.run(BuddyManager.java:1020) | at java.lang.Thread.run(Thread.java:595) | Caused by: java.lang.IllegalArgumentException: 172.16.0.6:8786 is not a member of the group [172.16.0.5:8786] (enabled_members=[]) | at org.jgroups.protocols.UNICAST.down(UNICAST.java:301) | at org.jgroups.protocols.pbcast.STABLE.down(STABLE.java:317) | at org.jgroups.protocols.pbcast.GMS.down(GMS.java:782) | at org.jgroups.protocols.FRAG.down(FRAG.java:138) | at org.jgroups.protocols.pbcast.STATE_TRANSFER.down(STATE_TRANSFER.java:221) | at org.jgroups.stack.ProtocolStack.down(ProtocolStack.java:339) | at org.jgroups.JChannel.downcall(JChannel.java:1240) | at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.down(MessageDispatcher.java:752) | at org.jgroups.blocks.RequestCorrelator.sendRequest(RequestCorrelator.java:297) | at org.jgroups.blocks.GroupRequest.doExecute(GroupRequest.java:440) | at org.jgroups.blocks.GroupRequest.execute(GroupRequest.java:190) | at org.jgroups.blocks.MessageDispatcher.castMessage(MessageDispatcher.java:430) | ... 13 more | It seems that the view is changed and accepted, viewAccepted(): [172.16.0.5:8786|1] [172.16.0.5:8786, 172.16.0.6:8786] But then the buddy manager fails to send a message since unicast does not acknowledge the member. Any help would be appreciated! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076468#4076468 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076468 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: PojoCache - increment global counter
In order for this use case to be truly atomic, you need a distributed cluster-wide lock. JBoss Cache does not yet support an option for distributing locking (instead locks are acquired when applying remote transaction batches), mainly because distributed locking does not scale very well, and is overkill for most use cases. However, it is on the roadmap. Please vote on it if this is important to you so that we understand the demand and can plan accordingly. http://jira.jboss.com/jira/browse/JBCACHE-1098 In the meantime you have some other options: | * If your cluster shares a DB already, then use it's native sequence, or if it doesn't have one use "select for update" to serialize access to a column | * Ensure that only one node is used for this operation. If that node fails, you can then failover to another node, and ensure that all subsequent operations are against this node. | * Use the jboss HA Singleton service (this however would be vulnerable to cluster splits [each splitoff would end up with its own singleton until the cluster heals) | * Use jgroups to write your own sequence protocol. This wouldn't be too complex. You would be able to handle the split condition by incrementing the counter by some large amount when the coordinator changes, and then reconcile the counter state on merge | -Jaosn View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076466#4076466 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076466 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Content Management / CMSPortlet
I am using 2.6. When the link is clicked in a CMS page the result is shown in the "DefaultCMSPortletWindow" . How to modify so that it displays in the same window ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076463#4076463 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076463 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Configuring JBoss Portlets by default
Also, I am almost certain that there is something not quite right with the entry I added to the default-object.xml file. It doesn't complain when JBoss starts up but I have a feeling it is not quite right. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076462#4076462 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076462 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Configuring JBoss Portlets by default
Almost missed that post. Thanks for your build script. Let me take a look at that! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076461#4076461 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076461 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Configuring JBoss Portlets by default
Yes, I've added these portlets to portlet.xml and portlet-instances.xml as well. I know that they are available as I am able to add them through the UI. However, I want to add these declaratively so that they show up by default. Plus, we don't want to allow our users to remove these portlets so UI is not an option. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076460#4076460 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076460 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB3 client error - java.io.EOF exception
haha, okay scratch my whole "i've successsfully deployed my ejb bean" comment! i just brought up my server log set to debug and got a whole load of this anonymous wrote : 2007-08-21 18:44:16,656 DEBUG [org.hibernate.validator.ClassValidator] ResourceBundle ValidatorMessages not found in Validator classloader. Delegate to org.hibernate.validator.resources.DefaultValidatorMessages | 2007-08-21 18:44:16,687 DEBUG [org.hibernate.impl.SessionFactoryImpl] obtaining JTA TransactionManager | 2007-08-21 18:44:16,703 INFO [org.hibernate.util.NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2007-08-21 18:44:16,734 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Starting failed persistence.units:unitName=AVman | javax.persistence.PersistenceException: org.hibernate.HibernateException: Could not locate TransactionManager | at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:698) | at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:127) | at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:264) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:102) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor2.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 org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy57.start(Unknown Source) | at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:96) | at org.jboss.ejb3.Ejb3Deployment.startPersistenceUnits(Ejb3Deployment.java:467) | at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:317) | at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91) | 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: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
[jboss-user] [JNDI/Naming/Network] - Re: Why is TransactionManager not Bound in JNDI
Yes, there were two problems. I had to put this in my datasource: false It was correctly bound to java:/TransactionManager. But I couldn't look it up because I had some Jboss jars bundled in with my application. When I removed those it worked. There was classloader issues with JNDI in general. Look in your application for conflicting jars and I bet you'll find some. Good luck View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076458#4076458 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076458 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Why is TransactionManager not Bound in JNDI
Did you ever get this cleared up? I am getting it too... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076456#4076456 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076456 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B
I would like to see something too. Building a frontend for quartz - or at least supllying some components to enable me to do so myself - would be immensly useful. Regards Felix View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076455#4076455 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076455 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B
Pierospinelli, Your task sounds like a little beyond the scope for our Seam / Quartz integration. We aim to provide Quartz as a backend for the @Asynchronous methods -- without the user having to invoke Quartz-specific APIs. In your case, you do want to manage Quartz explicitly in your application. However, if you think a JPA library for Quartz objects will be valuable, please raise a feature request in JIRA and perhaps provide us the JPA classes you already have. :) Thanks. cheers Michael View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076454#4076454 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076454 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Embedded EJB Testing Woes
I'm trying to use the embedded EJB container for testing a seam 2.0 seam-gen based app but am having problems. I've got a datasource set up as so: | | | http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="urn:jboss:bean-deployer bean-deployer_1_0.xsd" | xmlns="urn:jboss:bean-deployer"> | | | com.mysql.jdbc.Driver | jdbc:mysql://de01.gcrc.umn.edu/mwkohout_ictrcore | mwkohout | password | java:/ICTRCoreDatasource | 0 | 10 | 1000 | 10 | | | | | | | | | | | | | | | | | | | It's living in test-build/META-INF/ and I've got a PU set up like so: | | | http://java.sun.com/xml/ns/persistence"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"; | version="1.0"> | | | org.hibernate.ejb.HibernatePersistence | java:/ICTRCoreDatasource | | | | | | | | | | It lives in the test-build/META-INF dir as well. But I'm getting this error: | INFO 21-08 13:46:47,955 [org.hibernate.cfg.annotations.EntityBinder.bindTable():340] Bind entity edu.umn.ictr.authentication.Role on table Role | INFO 21-08 13:46:47,999 [org.hibernate.cfg.annotations.CollectionBinder.bindOneToManySecondPass():581] Mapping collection: edu.umn.ictr.IRBInterface.IrbStudy.studyActions -> STUDY_ACTION | INFO 21-08 13:46:48,000 [org.hibernate.cfg.annotations.CollectionBinder.bindOneToManySecondPass():581] Mapping collection: edu.umn.ictr.IRBInterface.IrbStudy.studyFundings -> STUDY_FUNDING | INFO 21-08 13:46:48,000 [org.hibernate.cfg.annotations.CollectionBinder.bindOneToManySecondPass():581] Mapping collection: edu.umn.ictr.IRBInterface.IrbStudy.studyTitles -> STUDY_TITLE | INFO 21-08 13:46:48,003 [org.hibernate.cfg.annotations.CollectionBinder.bindOneToManySecondPass():581] Mapping collection: edu.umn.ictr.IRBInterface.IrbStudy.studyPersons -> STUDY_PERSONNEL | INFO 21-08 13:46:48,120 [org.hibernate.util.NamingHelper.getInitialContext():26] JNDI InitialContext properties:{} | FATAL 21-08 13:46:48,141 [org.hibernate.connection.DatasourceConnectionProvider.configure():55] Could not find datasource: java:/ICTRCoreDatasource | javax.naming.NameNotFoundException: ICTRCoreDatasource not bound | at org.jnp.server.NamingServer.getBinding(NamingServer.java:542) | at org.jnp.server.NamingServer.getBinding(NamingServer.java:550) | at org.jnp.server.NamingServer.getObject(NamingServer.java:556) | at org.jnp.server.NamingServer.lookup(NamingServer.java:296) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:628) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:590) | at javax.naming.InitialContext.lookup(InitialContext.java:392) | at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52) | at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124) | at org.hibernate.ejb.InjectionSettingsFactory.createConnectionProvider(InjectionSettingsFactory.java:29) | at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:62) | at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2006) | at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1289) | at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:691) | at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:121) | at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51) | at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:33) | at edu.umn.ictr.core.test.entity.UserTest.init(UserTest.java:52) | 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.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604) | at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:394) | at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142) | at org.testng.internal.Invoker.inv
[jboss-user] [JBoss Seam] - Re: File upload to application folder
I set it up so that I use an XMBean to store (persist) configuration data, external to the application. I was facing exactly this problem. It's a bit complicated but all the code for it is here: http://chiralsoftware.com/master-sauce/ Storing files in an exploded ear... not a good idea. The EAR file should be thought of as an immutable application file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076451#4076451 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076451 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - 2 ejb3s exposed as web services. Can't have same methods wit
Hello, I've 2 ejb3s exposed as 2 separate web services. They are packaged in the same ear file. I use the WebContext annotation to keep the context root same for 2 services. I've a method, authenticate(String userName) in one ejb and authenticate(String userName, String password) in the other ejb. When I deploy the ear file, I get the error as follows: Looks like there is a name collision. It is complaining about the first ejb not having password as a parameter. Any one seen this issue? by: org.jboss.ws.WSException: password is not a valid property on class com.xxx.services.MyService1.v2.jaxws.Authenticate at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getElementPropertyAccessor(JAXBContextImpl.java:816) at org.jboss.ws.metadata.acessor.JAXBAccessor$1$1.create(JAXBAccessor.java:84) at org.jboss.ws.metadata.umdm.ParameterMetaData.eagerInitialize(ParameterMetaData.java:472) at org.jboss.ws.metadata.umdm.OperationMetaData.eagerInitialize(OperationMetaData.java:466) at org.jboss.ws.metadata.umdm.EndpointMetaData.eagerInitializeOperations(EndpointMetaData.java:516) at org.jboss.ws.metadata.umdm.EndpointMetaData.initializeInternal(EndpointMetaData.java:502) at org.jboss.ws.metadata.umdm.EndpointMetaData.eagerInitialize(EndpointMetaData.java:490) at org.jboss.ws.metadata.umdm.ServiceMetaData.eagerInitialize(ServiceMetaData.java:429) at org.jboss.ws.metadata.umdm.UnifiedMetaData.eagerInitialize(UnifiedMetaData.java:192) at org.jboss.ws.core.server.ServiceEndpoint.start(ServiceEndpoint.java:112) at org.jboss.ws.core.server.ServiceEndpointManager.startServiceEndpoint(ServiceEndpointManager.java:646) at org.jboss.ws.core.server.ServiceEndpointDeployer.start(ServiceEndpointDeployer.java:140) at org.jboss.ws.integration.jboss42.DeployerInterceptor.startServiceEndpoint(DeployerInterceptor.java:144) at org.jboss.ws.integration.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:96) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076450#4076450 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076450 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - EJB3 client error - java.io.EOF exception
hello all, i'm folllowing the samples in bill burke's ejb3 book, i''ve successfully deployed my ejb bean, and i've got an simple database i've made in oracle xe as my datasource i'm now at the stage where i'm tryng to access i through a client application - but whenever i run the client app, it hangs about 4/5 hours - after which i get these error messages: (reconfigured port to 1201 for my install) anonymous wrote : | C:\>java Client | javax.naming.CommunicationException: Could not obtain connection to any of these | urls: jnp://localhost:1201 and discovery failed with error: javax.naming.Commun | icationException: error setting options [Root exception is java.net.SocketExcept | ion: error setting options] [Root exception is javax.naming.CommunicationExcepti | on: Failed to retrieve stub from server localhost:1201 [Root exception is java.i | o.EOFException]] | at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1414) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:594) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) | at javax.naming.InitialContext.lookup(InitialContext.java:392) | at Client.main(Client.java:14) | Caused by: javax.naming.CommunicationException: Failed to retrieve stub from ser | ver localhost:1201 [Root exception is java.io.EOFException] | at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:263) | at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1385) | ... 4 more | Caused by: java.io.EOFException | at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream | .java:2279) | at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputS | tream.java:2748) | at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:780 | ) | at java.io.ObjectInputStream.(ObjectInputStream.java:280) | at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:250) | ... 5 more | in my searches it seems to be the jndicontext.lookup variable that could an issue, so i've been trying a variety of names including (AVman is the nname of my jar & the jndi name) "java:AVman/com/AVman/Audiorec/AVmanRemote", "java:com/AVman/Audiorec/AVmanRemote", "java:AVman/com/AVman/Audiorec/AVman/remote" but no joy my log gives me a series of these errors: anonymous wrote : | | 2007-08-21 17:44:33,453 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] run: IdleRemover notifying pools, interval: 45 and here is my client app: anonymous wrote : import com.AVman.Audiorec.AVmanRemote; | import com.AVman.domain.Audiorec; | | import javax.naming.InitialContext; | import javax.naming.Context; | import javax.naming.NamingException; | import java.util.Properties; | import javax.rmi.PortableRemoteObject; | | public class Client { | public static void main(String [] args) { | try { | Context jndiContext = getInitialContext( ); | Object ref = jndiContext.lookup("java:AVman/com/AVman/Audiorec/AVmanRemote"); | AVmanRemote dao = (AVmanRemote) | PortableRemoteObject.narrow(ref,AVmanRemote.class); | | Audiorec audiorec_1 = new Audiorec( ); | audiorec_1.setAudiorec_alias("Edirol red 1"); | audiorec_1.setBarcode_audiorec(117); | audiorec_1.setSerial_audiorec("abcdefg"); | audiorec_1.setMedia_audiorec("sd card, 1gb included"); | | dao.createAudiorec(audiorec_1); | | Audiorec audiorec_2 = dao.findAudiorec("Edirol red 1"); | System.out.println(audiorec_1.getAudiorec_alias( )); | System.out.println(audiorec_1.getBarcode_audiorec( )); | System.out.println(audiorec_1.getSerial_audiorec( )); | System.out.println(audiorec_1.getMedia_audiorec( )); | | } catch (javax.naming.NamingException ne){ne.printStackTrace( );} | } | | public static Context getInitialContext( ) | throws javax.naming.NamingException { | | Properties p = new Properties( ); | p.put(Context.INITIAL_CONTEXT_FACTORY, | "org.jnp.interfaces.NamingContextFactory"); | p.put(Context.URL_PKG_PREFIXES, | "org.jboss.naming:org.jnp.interfaces"); | p.put(Context.PROVIDER_URL, "jnp://localhost:1201"); | return new javax.naming.InitialContext(p); | } | } running: JBoss [Zion] 4.0.5.GA xp pro sp2 oracle 10g xe jdk 1.6.0 & all on same machine, no firewalll this post refers to jboss remoting - http://www.jboss.org/?module=bb&op=viewtopic&t=90965 -could this be my issue? i'm fairly neew to jboss so dont wanna conflate this by trying to get another framework in Yet, unle
[jboss-user] [JBoss Seam] - Re: The zen of seamgen'd Home/EntityHome
I faced the same questions and put up some comments: http://chiralsoftware.com/blog/Using-the-Seam-Framework-s-EntityHome-2867c139212cf3c3.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076448#4076448 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076448 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Deploying exception
First exception is solved now: I had to define the environment variable BONITA_HOME. now I still have the second exception... seems like a classloader issue? Anyway at least now I know that the two errors are not related. :P View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076446#4076446 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076446 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Why does jbossall-client.jar cause
if I replace the home lookup with a remote lookup, then a "java.lang.ClassCastException" occurs. why is it all fine with JBOSS4.0.4.GA. I don't know what's changed internally in JBOSS 4.2.1.GA. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076445#4076445 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076445 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Configuring JBoss Portlets by default
Did you also declare the instance in the appropriate portlet-instances.xml file? The *-object.xml file is not used to declare instances, only to reference them to define the portal and page contents. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076444#4076444 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076444 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: The zen of seamgen'd Home/EntityHome
I think we've worked some of this out. (correct me if I'm wrong!) The getDefinedInstance() functions on the homes will never be set unless the page is called with an corresponding to one of the 's in the FooEdit.page.xml -- those params will in turn call through EL to the various home objects, indirectly calling setId() which causes getDefinedInstance() to return a non-null object. Presumably, this is intended as a way to instantiate a new object with non-null values for these fields. (Gavin's post implies that its a way to pre-instantiate non-null foreign key fields so that they are not null at persist time). However, because wire() is called for both newly created and read-from-database (managed) objects, setting those params can overwrite field values read from the db - (that doesn't seem to be something one would want to do very often - perhaps its just a side effect of the implementation not intended to every really be used). Also, it's not clear why only xxx-to-one fields get this treatment - why not have support for setting String, int, etc. fields too? We have customized some of our Home class createInstance() functions to set various default values for certain fields. It would be instructive to know when Seam developers would instead advise initializing these variables in wire() instead? NOTE to Seam developers: it would be very helpful if you could add an example in a future seam release that uses and extends seam-gen generated EntityHomes and views as a way to document how they are intended to be used (in addition to adding some Javadoc to the Home and EntityHome classes :)). Currently, each of the examples uses a different approach to DAO/Home interface, and none of the examples use these seamgen home beans, so it's hard to see what the seamgen framework's intent is. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076441#4076441 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076441 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user