[jboss-user] [JBoss jBPM] - Re: Unable to get the taskform with variables
6 .I see only empty screen in the jboss webconsole View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191970#4191970 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191970 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Unable to get the taskform with variables
I have created a task with variables and I deployed the application .But I don't see the task form with text boxes in jbosss webconsole [it shows simply empty screen] I did the following : 1.Created the start node . 2.Click the properties and assign the name for task 3.Click the assignment and select the swimlane and assign the name as user 4.Click the controller and select the default and added the variables 5 I couldn't see any text box in the task form[Empty] but the same I can view in the variables Below is the source code View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191969#4191969 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191969 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Running (jms) http invokers on 8080
"andrejt" wrote : My hint would be to put the "servlet transport request" higher up on the JBM priority list. It's already on the list for the next EAP CP, so it doesn't get much higher than that :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191968#4191968 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191968 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Getting error in Jbpm webconsole [jbpm -must refer to cl
Thanks for the help..! Actually this issue realted to port problem . My machine is already using the port 8080 .So I have changed the port number from 8080 to 8088 [server.xml].Now its works fine. How do react if you get the error : //jbpm - must refer to client 'guest Steps to resolve the issue Solution 1 : Dont try with jbpm in the URL ,instead try with jbpm-console[In the latest version console name has been changed ] Solution 2 : 1 .Download the jbpm suite 3.2.2 2. Go to Eclipse -Windows -Preference and select the Jboss Jbpm 3. And then click the runtimelocation and mention the location of jboss suite 3.2.2 4 And click the Server deployment and change the port number to 8088 5 .Now create a new project . 6 Go to jbpm-jpdl-3.2.2\server\server\jbpm\deploy\jbossweb-tomcat55.sar 7 Open the server.xml and change the port from 8080 to 8088 8 Now deploy the application and open the console http://localhost:8088/jbpm-console View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191967#4191967 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191967 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re:
Makes PERFECT SENSE !! I rearranged the EAR file as you recommended and that was exactly the issue. I've read more about JBoss classloading in trying to figure this out then I ever wanted to know, but glad you pointed me in the right direction regarding this issue. Works like a charm now !! Thanks greatly for your help. Until next time ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191963#4191963 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191963 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: How to set ping timeout of ConnectionValidator?
Hi Mark, The InvokerLocator you see on the server side is the one that matters, and it has the desired parameters. The one you see on the client side, | 13:11:58,759 DEBUG [Client] starting callback Connector: InvokerLocator [bisocket://10.101.110.64:1878752913/callback | ?callbackServerHost=10.101.110.64&callbackServerPort=1878752913&callbackServerProtocol=bisocket&clientMaxPoolSize=1&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&datatype=jms&guid=a2t321s-u0b7nn-fnqgzrc3-1-fnqgzr | xj-g&isCallbackServer=true&onewayThreadPool=org.jboss.jms.server.remoting.DirectThreadPool&serverSocketClass=org.jboss.jms.server.remoting] | is for the callback Connector to which the server pushes messages, which isn't related to the ConnectionValidator, and you can ignore it. What should happen in JBossMessaging is that it sends the InvokerLocator from the server to the client, where it is used to create the necessary instances of org.jboss.remoting.Client. See, for example, the JBM class org.jboss.jms.client.remoting.JMSRemotingConnection. When the Client creates a ConnectionValidator, the ConnectionValidator uses the Client's parameters, including those from the InvokerLocator, to configure itself. See org.jboss.remoting.ConnectionValidator.start(). I don't know why your parameters aren't making it into the ConnectionValidator. One thing to try, if you don't see anything interesting in the logs, is to attach a debugger to your client. Even if Bill Burke says "debuggers are for pussies". :) -Ron View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191955#4191955 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191955 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: JDBMCacheLoader location property
I found your, genman, JDBM CL v2. https://jira.jboss.org/jira/browse/JBCACHE-1440 I will try it. Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191956#4191956 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191956 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Using ServerInvokerServlet for Jboss Messaging
"garwind111" wrote : | I have some difficulties to find the InvokerLocator that is generated from your sslservlet Connector. | Start up the Application Server with the servlet Connector *-service.xml file in place and look in $JBOSS_HOME/server/$CONFIG/log/server.log. "garwind111" wrote : | My clients were connecting through jndi binding. How can they connect now ? | You mean getting a queue or topic? That shouldn't change. By the way, I was recently reminded of JBMESSAGING-1131 "Add configuration for Remoting servlet transport". You should find some useful configuration files attached to that JIRA issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191957#4191957 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191957 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: User: null is NOT authenticated
Hi I am changed the dsJndiName default value as my local datasource jndi-name in conf/login-config.xml file. Now it is working fine. Srinivas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191954#4191954 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191954 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - EJB3 JDNI lookup error 'communicationException'
javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: org.jboss.ejb3.JBossProxy (no security manager: RMI class loader disabled)] at my.com.infopro.icba10.kernel.util.jndi.ServiceLocator.getServiceStub(ServiceLocator.java:163) at my.com.infopro.icba10.kernel.util.jndi.ServiceLocator.locate(ServiceLocator.java:102) at my.com.infopro.icba10.kernel.security.auth.delegate.SecurityDelegate.getSecurityServiceRemote(SecurityDelegate.java:35) at my.com.infopro.icba10.kernel.security.auth.delegate.SecurityDelegate.performLogin(SecurityDelegate.java:49) at my.com.infopro.icba10.kernel.uiframework.login.LoginAction.doLogin(LoginAction.java:178) at my.com.infopro.icba10.kernel.uiframework.login.LoginAction.keyReleased(LoginAction.java:130) at java.awt.Component.processKeyEvent(Component.java:5449) at javax.swing.JComponent.processKeyEvent(JComponent.java:2713) at java.awt.Component.processEvent(Component.java:5265) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3955) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1810) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:672) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:920) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:798) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:636) at java.awt.Component.dispatchEventImpl(Component.java:3841) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Window.dispatchEventImpl(Window.java:1778) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153) at java.awt.Dialog$1.run(Dialog.java:517) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) Caused by: javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: org.jboss.ejb3.JBossProxy (no security manager: RMI class loader disabled)] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:728) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) at javax.naming.InitialContext.lookup(InitialContext.java:351) at my.com.infopro.icba10.kernel.util.jndi.ServiceLocator.getServiceStub(ServiceLocator.java:158) ... 33 more Caused by: java.lang.ClassNotFoundException: org.jboss.ejb3.JBossProxy (no security manager: RMI class loader disabled) at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:531) at java.rmi.server.RMIClassLoader$2.loadProxyClass(RMIClassLoader.java:628) at java.rmi.server.RMIClassLoader.loadProxyClass(RMIClassLoader.java:294) at sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:238) at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1500) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1463) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) at java.rmi.MarshalledObject.get(MarshalledObject.java:135) at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:652) ... 36 more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191953#4191953 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191953 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mail
[jboss-user] [JBoss Cache: Core Edition] - Re: JDBMCacheLoader location property
Indeed... and the fix is pretty easy too. But, I get another abnormality... removing all children nodes from root using the cahe instance result in a non-empty tree in JDBM (dump() shows nodes but the cache instance, no). Even using CacheLoader directly doesn't remove everything at first. Another "bad behavior" is the file size that stay big as the latest maximum size (even after entry size return 0). I am using List, List of Lists and List of Maps as values. If someone know why, it will help a lot (and should be reported in FAQ, I think). Anyway, I will try evaluate this soon or later. Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191952#4191952 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191952 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: remoting-https-service configuration
I see that the JBossMessaging group has now scheduled JBMESSAGING-1131 "Add configuration for Remoting servlet transport", which I created about a year ago. If you look at the issue, you'll see configuration files that should allow JBM to work with the Remoting servlet transport, which uses the tomcat port. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191949#4191949 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191949 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - HOWTO: create self signed certificate authority and server c
I created a HOWTO doc for creating a self signed certificate authority and server cert for JBoss. Here is the link to my blog, which describes this: http://codingathome.blogspot.com/ Here is the ROUGH content: Here is how I created my own CA (certificate authority) and used it to enable SSL connectivity in Jboss Tomcat with a WILDCARD server certificate. 0. Prerequisites: The package openssl and JDK1.5+ should be installed in the machine you will use to manage your certificates or create the certificate requests. 1. c:\OpenSSL> mkdir myCA 2. cd mkdir 3. mkdir private ( note: myCA/private is the directory where our private keys are placed. Be sure that you set restrictive permissions to all your private keys so that they can be read only by the CA owner. If anyone steals your private keys, then things get really bad. ) 4. mkdir certs 5. copy c:\OpenSSL\bin\openssl.cfg c:\OpenSSL\myCA\openssl.my.cfg . On line 35 or so of the new openssl.my.cfg, change the settings to the following: [ CA_default ]dir = .# <--CHANGE THIScerts = $dir/certscrl_dir = $dir/crldatabase= $dir/index.txt#unique_subject = nonew_certs_dir = $dir/newcertscertificate = $dir/certs/myCA.crt # <--CHANGE THISserial = $dir/serial#crlnumber = $dir/crlnumbercrl = $dir/crl.pemprivate_key = $dir/private/myCA.key# <--CHANGE THISRANDFILE = $dir/private/.randx509_extensions = usr_cert 6. cd c:\OpenSSL\myCA 7. C:\OpenSSL\myCA>openssl req -config openssl.my.cfg -new -x509 -extensions v3_ca -keyout private/myCA.key -out certs/myCA.crt -days 3650 . (note: on this one, for example, when it asks you for your name you can use "mysecretCA.org". the name you choose doesn't really matter because it will be imported into a web browser as a root cert and so it doesn't need to resolve since (in this case) it validates locally and internally.) 8. cd c:\OpenSSL\myCA\certs 9. c:\OpenSSL\myCA\certs> keytool -genkey -alias tomcat -keyalg RSA -keystore my.keystore -validity 365 -storepass changeit 10. c:\OpenSSL\myCA\certs> keytool -v -certreq -alias tomcat -keystore my.keystore -file myreq.csr 11. cd c:\OpenSSL\myCA 12 c:\OpenSSL\myCA> openssl ca -config openssl.my.cfg -policy policy_anything -out certs/wildcard.crt -infiles certs/myreq.csr 13. cd C:\OpenSSL\my_jungle\myCA\certs 14. C:\OpenSSL\my_jungle\myCA\certs> keytool -import -alias root -keystore my.keystore -trustcacerts -file myCA.crt -storepass changeit 15. C:\OpenSSL\my_jungle\myCA\certs> keytool -import -alias tomcat -keystore my.keystore -trustcacerts -file wildcard.crt -storepass changeit 16. C:\OpenSSL\my_jungle\myCA\certs> keytool -list -v -keystore my.keystore 17. Finally, to load the server certificate in JBoss 4.05. Edit the server.xml file in the jboss\server\default\deploy\jbossweb-tomcat55.sar directory. Connector port="443" address="${jboss.bind.address}" maxThreads="100" strategy="ms" maxHttpHeaderSize="8192" emptySessionPath="true" scheme="https" secure="true" clientAuth="false" compression="force" debug="0" keystoreFile="../../bin/my.keystore" keystorePass="changeit" sslProtocol = "TLS" View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191944#4191944 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191944 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: strace shows futex
I also see: 2008-11-24 17:08:34,990 DEBUG [jgroups.protocols.FD] - heartbeat missing from 10.10.81.92:34144 (number=0) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191943#4191943 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191943 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: strace shows futex
Threads waiting on an object are quite normal; it's the standard mechanism via which a thread that's completed it's work is unscheduled while waiting for more work. The threads in your stack trace other than "main" all look fine. The "main" thread wait is as I described above. As nodes start, each of your 10 HASingletonControllers on that node sends a message to the cluster telling it it's there. The "main" thread below shows that happening. Sounds like there is an issue with handling that mesage on one or more of your nodes. If you see a log message saying a node is being suspected, get a thread dump on the node that's being suspected. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191942#4191942 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191942 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: strace shows futex
I also see these messages 2008-11-24 17:01:08,547 WARN [protocols.pbcast.GMS] - failed to collect all ACKs (2) for view MergeView::[ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191941#4191941 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191941 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: strace shows futex
Do you think I should add VIEW_SYNC to help remerge the views? I am not sure why the startup is slow and Jboss gets stuck or sometimes it declares node dead View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191939#4191939 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191939 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: strace shows futex
I don't know why I see so many object waits in above thread dumps. Also, as we add node to the cluster, startup terribly becomes slow. It looks like it take a very long time inintializing 10 HA SingletonControllers we have. Sometimes it just declares one of the nodes as Dead member even though all the nodes are up and no packets have been dropped. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191936#4191936 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191936 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: [VFS] Better way to scan for modifications
"alesj" wrote : I'll check. http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191929#4191929 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191933#4191933 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191933 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: strace shows futex
| "main" prio=1 tid=0x0817a910 nid=0xaf5 in Object.wait() [0xa727..0xa72720b0] | at java.lang.Object.wait(Native Method) | - waiting on <0xe91e7988> (a java.util.HashMap) | at org.jgroups.blocks.GroupRequest.doExecute(GroupRequest.java:501) | - locked <0xe91e7988> (a java.util.HashMap) | at org.jgroups.blocks.GroupRequest.execute(GroupRequest.java:193) | at org.jgroups.blocks.MessageDispatcher.castMessage(MessageDispatcher.java:431) | at org.jgroups.blocks.RpcDispatcher.callRemoteMethods(RpcDispatcher.java:192) | at org.jgroups.blocks.RpcDispatcher.callRemoteMethods(RpcDispatcher.java:163) | at org.jboss.ha.framework.server.HAPartitionImpl.callMethodOnCluster(HAPartitionImpl.java:797) | at org.jboss.ha.framework.server.HAPartitionImpl.callMethodOnCluster(HAPartitionImpl.java:773) | at org.jboss.ha.framework.server.DistributedReplicantManagerImpl.add(DistributedReplicantManagerImpl.java:405) | at org.jboss.ha.jmx.HAServiceMBeanSupport.registerDRMListener(HAServiceMBeanSupport.java:255) | at org.jboss.ha.jmx.HAServiceMBeanSupport.startService(HAServiceMBeanSupport.java:177) Shows the thread doing a deployment blocking waiting for a response from a group RPC. That response should either come in or the thread will unblock w/in 60 secs. (The 60 secs is configured in cluster-service.xml via the MethodCallTimeout attribute). It's unlikely that you just got unlucky and did the stack trace while that thread was waiting a few ms for a normal response. So, most likely something on another node is delaying/preventing the response. You can take stack traces on other nodes to see if they tell you anything. In particular you want to look at the IncomingPacketHandler threads. All the other threads in what you posted seem ok. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191931#4191931 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191931 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: strace shows futex
Here is the thread dump from one of the nodes: "ClientConnectionHandler" daemon prio=1 tid=0x080810a8 nid=0xba7 runnable [0x9f813000..0x9f813f30] at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.net.SocketInputStream.read(SocketInputStream.java:182) at org.jgroups.protocols.FD_SOCK$ClientConnectionHandler.run(FD_SOCK.java:1146) "FD_SOCK Ping thread (channel=Tomcat-EfeItPerfBackEndPartition)" daemon prio=1 tid=0x0936c930 nid=0xba6 runnable [0x9e673000..0x9e673eb0] at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.net.SocketInputStream.read(SocketInputStream.java:182) at org.jgroups.protocols.FD_SOCK.run(FD_SOCK.java:463) at java.lang.Thread.run(Thread.java:595) "Timer-6" prio=1 tid=0xa4dc5460 nid=0xba1 in Object.wait() [0x9e6f5000..0x9e6f51b0] at java.lang.Object.wait(Native Method) - waiting on <0xb107cbb0> (a java.util.TaskQueue) at java.util.TimerThread.mainLoop(Timer.java:509) - locked <0xb107cbb0> (a java.util.TaskQueue) at java.util.TimerThread.run(Timer.java:462) "RMI LeaseChecker" daemon prio=1 tid=0x08a068d0 nid=0xba0 waiting on condition [0x9e776000..0x9e776130] at java.lang.Thread.sleep(Native Method) at sun.rmi.transport.DGCImpl$LeaseChecker.run(DGCImpl.java:310) at java.lang.Thread.run(Thread.java:595) "ClientConnectionHandler" daemon prio=1 tid=0x08eb1008 nid=0xb9e runnable [0x9e879000..0x9e87a030] at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.net.SocketInputStream.read(SocketInputStream.java:182) at org.jgroups.protocols.FD_SOCK$ClientConnectionHandler.run(FD_SOCK.java:1146) "FD_SOCK Ping thread (channel=EfeItPerfBackEndPartition)" daemon prio=1 tid=0x092b7180 nid=0xb9b runnable [0x9e8fa000..0x9e8faf30] at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.net.SocketInputStream.read(SocketInputStream.java:182) at org.jgroups.protocols.FD_SOCK.run(FD_SOCK.java:463) at java.lang.Thread.run(Thread.java:595) "ClientConnectionHandler" daemon prio=1 tid=0x092ec570 nid=0xb8a runnable [0x9ea7d000..0x9ea7de30] at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.net.SocketInputStream.read(SocketInputStream.java:182) at org.jgroups.protocols.FD_SOCK$ClientConnectionHandler.run(FD_SOCK.java:1146) "FD_SOCK Ping thread (channel=EfeItPerfPartition-EfeCache)" daemon prio=1 tid=0xa4e63230 nid=0xb89 runnable [0x9e9fc000..0x9e9fd1b0] at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.net.SocketInputStream.read(SocketInputStream.java:182) at org.jgroups.protocols.FD_SOCK.run(FD_SOCK.java:463) at java.lang.Thread.run(Thread.java:595) "ServerSocket acceptor thread (channel=EfeItPerfPartition-EfeCache)" daemon prio=1 tid=0xa4dc46f0 nid=0xb86 runnable [0x9eafe000..0x9eaff030] at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384) - locked <0xb11bae90> (a java.net.SocksSocketImpl) at java.net.ServerSocket.implAccept(ServerSocket.java:450) at java.net.ServerSocket.accept(ServerSocket.java:421) at org.jgroups.protocols.FD_SOCK$ServerSocketHandler.run(FD_SOCK.java:1082) at java.lang.Thread.run(Thread.java:595) "UDP mcast receiver (channel=EfeItPerfPartition-EfeCache)" daemon prio=1 tid=0xa60bcfc0 nid=0xb85 runnable [0x9eb7f000..0x9eb7ffb0] at java.net.PlainDatagramSocketImpl.receive0(Native Method) - locked <0xb1247400> (a java.net.PlainDatagramSocketImpl) at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136) - locked <0xb1247400> (a java.net.PlainDatagramSocketImpl) at java.net.DatagramSocket.receive(DatagramSocket.java:712) - locked <0xb127e940> (a java.net.DatagramPacket) - locked <0xb1246f10> (a java.net.MulticastSocket) at org.jgroups.protocols.UDP.run(UDP.java:246) at java.lang.Thread.run(Thread.java:595) "UDP.UcastReceiverThread (channel=EfeItPerfPartition-EfeCache)" daemon prio=1 tid=0xa64d8160 nid=0xb84 runnable [0x9ec0..0x9ec00f30] at java.net.PlainDatagramSocketImpl.receive0(Native Method) - locked <0xb1247070> (a java.net.PlainDatagramSocketImpl) at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136) - locked <0xb1247070> (a java.net.PlainDatagramSocketImpl) at java.net.Da
[jboss-user] [JBoss jBPM] - Re: sending emil in using JBPM
http://www.google.nl/search?q=smtp+server+jbpm+configure&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:nl:official&client=firefox-a 3 of the first 5 links lead you to an answer. Regarding the last question: I think that was already answered in my previous post but I'll repeat myself: No. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191920#4191920 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191920 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: sending emil in using JBPM
My question is - how do I configure the mail server when using JBPM. I've done this using mail-service.xml for JBossAS. That takes the user id and password. Will JBPM use that configured java:/Mail jndi ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191917#4191917 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191917 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: JDBMCacheLoader location property
My bad. But on the bright side at least having an extra directory around doesn't hurt. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191912#4191912 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191912 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: JDBM Performance with Jboss Cache
FileCacheLoader performance sucks for many small nodes. It works okay with big nodes. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191911#4191911 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191911 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: variable scope from a script
anonymous wrote : I assume more people do this. Don't. I personally think not a lot of people do this. I had a quick look at the ContextInstance code today and was a bit confused with some things in there. If I find the time (remember, I do not work for JBoss/RH and only do this in my free time) I'll try to make a unit test without scripting and see what happens then. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191909#4191909 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191909 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Running (jms) http invokers on 8080
"andrejt" wrote : My hint would be to put the "servlet transport request" higher up on the JBM priority list. Go and vote for it in JIRA. :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191908#4191908 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191908 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Running (jms) http invokers on 8080
"alesj" wrote : | Yeah, as soon as I wrote this and turned off laptop, I though of this. | But due to JBM-1131, I'll see what else can be done - apart from going back to JBMQ. :-( | But thanks anyway. Thanks Ales and Tim for the extremly helpful thread. In the meantime a downgrade from JBoss AS 4.2.3 + JBM 1.4 SP3 to JBoss AS 4.2.3 + JBMQ seems to be the only production ready solution for all highly secured network environments where HTTP proxies are used. My hint would be to put the "servlet transport request" higher up on the JBM priority list. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191907#4191907 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191907 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: ExceptionHandler / changes since 3.2GA
Hmm.. I'm completely a noob in using exceptionhandlers in jBPM. But at least the unavailability of an exceptionhandler should not occur and it should not throw an exception iteself. Otoh, an infinit loop should not occur either. Please file a jira issue and see what comes out of it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191906#4191906 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191906 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - JBPM and Managed Container Transactions
Hey, I am trying to make JBPM to work smoothly through EJB3 components with no success, After invoking very simple methods through a stateless EJB3 such as: | ProcessInstance pi = jbpmContext.loadProcessInstance(spmlTask.getWorkflowProcessId()); | I'm getting errors such as: | 23:13:38,858 ERROR [TimerImpl] Error invoking ejbTimeout: javax.ejb.EJBException: javax.persistence.TransactionRequiredException: Entity | Manager must be access within a transaction | I assumed this is due to the fact that somewhere JBPM commits the transaction so invocations after that causes the exception, I have followed section "7.1.3. Managed transactions" in the manual: anonymous wrote : | A stateless session facade in front of jBPM is a good practice. The easiest way on how to bind the jbpm transaction to the container transaction is to make sure that the hibernate configuration used by jbpm refers to an xa-datasource. So jbpm will have its own hibernate session, there will only be 1 jdbc connection and 1 transaction. | But setting it up is not clear enough, I tried to configure JBPM as follows: hibernate.cfg.xml | ... | | java:/veloDatasource | org.hibernate.transaction.JTATransactionFactory | org.hibernate.transaction.JBossTransactionManagerLookup | | ... | jbpm.cfg.xml | | | | | | | | | | | ... | where veloDataSource is defined in persistence.xml as follows | | veloDatasource | jdbc:mysql://localhost:3306/velo | com.mysql.jdbc.Driver | root | password | | Seems like JBPM is not using the MC transaction and if I understand correctly, JBPM commits the transaction and that what causes the persistence unit to fail later on., Can anyone give me a hand how to proceed from here? Man thanks, Asaf. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191905#4191905 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191905 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Configuration deployments
"alesj" wrote : Sure, this is nothing abnormal. | We do this all the time. | e.g. EJB metadata --> JBossMetaData | It eventually gets used by EJB container, helping create proper services/beans, | but never gets undeployed, since there is nothing to undeploy. | But we don't use this technique to configure/reconfigure the EJB Container itself do we? I thought that would be analogous to what David is trying to do? "[EMAIL PROTECTED]" wrote : This would allow me to reconfigure services at runtime without having to introduce any hard API dependencies on the MC. This sounds more like a configuration (i.e. metadata overrides, i.e. profile service issue) than a deployment shaped one. David, if you've got the time, have you got an example of the original service deployment descriptor and an example change you would expect to see. This might help clarify if the profile service would help here or not. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191893#4191893 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191893 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Configuration deployments
"[EMAIL PROTECTED]" wrote : | But we don't use this technique to configure/reconfigure the EJB Container itself do we? | No, I would expect EJB Container to be a bunch of MC beans, hence configurable via MC based ManagedObject. "[EMAIL PROTECTED]" wrote : | I thought that would be analogous to what David is trying to do? | Perhaps I didn't give the best example + missing some details. :-) It was more about just using metadata and not making it into beans + not undeploying it. But there is nothing preventing you to annotate your custom metadata with ManagedObject annotations and then exposing them. I guess some more MO impl details are needed, e.g. InstanceClassFactory or ManagedObjectBuilder View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191901#4191901 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191901 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: sending emil in using JBPM
1: post with the use of code tags (see preview) 2: userid/password is npt supported afaik when sending mail. No mail service is needed not supported (yet) 3: (docs) Not sure if I agree. Never heard anyone having a problem with this View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191900#4191900 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191900 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with GraphSession.deleteProcessInstance()
yes... .by writing your own HQL query View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191899#4191899 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191899 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Jboss Cache rollback
I am working on using two Jboss Caches for my Web application. The first one is used by Hibernate as second level cache. The other is multipurpose cache for other objects (bean PojoCache ) . I am having synchronization issues in case of exception. When I throw an exception the Hibernate transaction is being rollback, however the second cache contains invalid values that should be rollbacked. My question is how to configure my for cache for rollback ( PojoCache ). The application is bases on Spring 2.5 , Hibernate 3.3 , Jboss Cache 3.0 and Jboss AS 5.0. Spring config : | | | | | org.hibernate.dialect.PostgreSQLDialect | | update | true | false | org.hibernate.transaction.JTATransactionFactory | | | | org.hibernate.transaction.JBossTransactionManagerLookup | | | org.hibernate.cache.jbc2.SharedJBossCacheRegionFactory | | mvcc.xml | | | | | | | | | Obtaining Cache | MBeanServer server = MBeanServerLocator.locateJBoss(); | ObjectName on = new ObjectName("jboss.cache:service=Cache2"); | CacheJmxWrapperMBean cacheWrapper = (CacheJmxWrapperMBean) MBeanServerInvocationHandler | .newProxyInstance(server, on, CacheJmxWrapperMBean.class, false); | cache = cacheWrapper.getCache(); | | The database is rollbacked , but cache is updated with invalid values. My method that I would like to rollback changes to cache: | @Transactional(propagation = Propagation.REQUIRES_NEW) | @Override | public void add(Product p) { | getHibernateTemplate().save(p); | | PojoCache pc = new PojoCache(); | pc.setId(p.getId()); | pc.setCounter(p.getCounter()); | | cache.put(pc); | | PojoCache p2 = cache.get(-1); | if (p2 == null) { | | PojoCache pc2 = new PojoCache(); | pc2.setId(-1); | pc2.setCounter(1); | cache.put(pc2); | } else { | p2.setCounter(p2.getCounter() + 1); | cache.put(p2); | } | | Date date = new Date(); | if (date.getTime() % 10 == 0) { | throw new RuntimeException(); | } | Thanks, Marek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191891#4191891 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191891 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Wierd issue with clustered nodes
This sounds like some sort of network problem. In particular 2008-02-21 08:35:11,784 WARN [org.jgroups.protocols.pbcast.GMS] failed to collect all ACKs (3) for view [172.17.65.39:40883|5] [172.17.65.39:40883, 172.17.66.39:35267, 172.17.67.39:39896, 172.17.64.39:52927] after 5000ms, missing ACKs from [172.17.65.39:40883, 172.17.66.39:35267, 172.17.6 . sounds like 172.17.65.39:40883 is not able to get a response from itself to its own message. The OS should copy a multicast back to an in-machine listener making it go out on the wire, so not receiving your own message is a sign that either: 1) There's a problem with the network interface being used. 2) The thread that delivers messages has gotten stuck. Getting a stack trace can help show if that has occurred. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191890#4191890 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191890 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Farm Service in AS 5
I can't figure out how to deploy to an AS 5 cluster. Using 5.0.0.CR2. At the bottom of the Major Clustering Changes in JBoss AS 5 Wiki it states that the farm service is removed. It says it will "eventually be handled by the AS 5 Profile Service". It doesn't provide any links to any other documentation to show what replaces it, or any alternative ways. Does anyone have a link that shows hows to deploy to a cluster in AS 5? It seems as though all the documentation, even the one marked for AS 5, keeps referring to the farm service even though it's been removed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191886#4191886 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191886 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Configuration deployments
"[EMAIL PROTECTED]" wrote : | Is this possible to do? Maybe even using SchemaResolverDeployer to produce the custom metadata type, which is then handed to the program (perhaps with an install callback)? Sure, this is nothing abnormal. We do this all the time. e.g. EJB metadata --> JBossMetaData It eventually gets used by EJB container, helping create proper services/beans, but never gets undeployed, since there is nothing to undeploy. How you create your metadata is up to you. For parsing I would definitely use SRD, as it's probably the easiest+cleanest way. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191884#4191884 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191884 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Configuration deployments
"[EMAIL PROTECTED]" wrote : | Excellent! Where can I find more information about profileservice? | Here is I think the latest doco, it will give you a rough idea about what the profile service is about, but it definitely needs some updating to match the current impl. http://www.jboss.org/community/docs/DOC-11694 "[EMAIL PROTECTED]" wrote : Perhaps a little more in depth than that - the configuration data might be somewhat complex (plain objects but also e.g. lists/sets/maps etc. as well). >From that doco: anonymous wrote : | The general notion is that a deployment has a collection of ManagedObjects which are collections of detyped, self-defining properties ala the JDK6 Open MBeans notion. | "[EMAIL PROTECTED]" wrote : Annotations should be fine as long as the annotation classes are not a runtime dependency... The annotations have Runtime retention but that shouldn't prevent you loading your classes in another environment that doesn't have the annotation jar file in the classpath. You're just going to need them when you compile. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191883#4191883 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191883 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: BeanMetaData and management
"bob.mcwhirter" wrote : For what it's worth, it seems the instance-level annotation capability was the solution.: | Nice. Forgot you are 'inside' a deployer. :-) "bob.mcwhirter" wrote : | MC FTW! | FTW? - http://www.google.com/search?source=ig&hl=en&rlz=&=&q=define%3AFTW&btnG=Google+Search&aq=f View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191879#4191879 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191879 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: strace shows futex
Try getting a thread dump as discussed at http://www.jboss.org/community/docs/DOC-12300; what you posted doesn't show anything that means anything to me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191880#4191880 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191880 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: BeanMetaData and management
"alesj" wrote : "bob.mcwhirter" wrote : | | @JMXObjectName | | public String myFancyObjectNameGeneratorOnMyMBean() { | | return "cheese:name=" + simpleName; | | } | | | This makes sense and can be easily added. | I'll let you implement it. :-) Nah, just kiddin'. I'll try to add it before we go GA. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191877#4191877 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191877 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: BeanMetaData and management
"bob.mcwhirter" wrote : | @JMXObjectName | public String myFancyObjectNameGeneratorOnMyMBean() { | return "cheese:name=" + simpleName; | } | This makes sense and can be easily added. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191876#4191876 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191876 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - strace shows futex
jboss seems to be stuck during electing master node. when I run strace it shows me: strace -p 4668 Process 4668 attached - interrupt to quit futex(0xa79c2e04, FUTEX_WAIT, 1, NULL -- when I run jstack it gives me: Thread 4678: (state = BLOCKED) Error occurred during stack walking: sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal$LinuxDebuggerLocalWorkerThread.execute(LinuxDebuggerLocal.java:134) at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.getThreadIntegerRegisterSet(LinuxDebuggerLocal.java:437) at sun.jvm.hotspot.debugger.linux.LinuxThread.getContext(LinuxThread.java:48) at sun.jvm.hotspot.runtime.linux_x86.LinuxX86JavaThreadPDAccess.getCurrentFrameGuess(LinuxX86JavaThreadPDAccess.java:75) at sun.jvm.hotspot.runtime.JavaThread.getCurrentFrameGuess(JavaThread.java:252) -- But I don't know where it's being blocked. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191874#4191874 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191874 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Scheduled Messages not being cleared properly on a removeAll
JBoss 4.2.3 and JBM 1.4.0.SP3 If I have a number of messages scheduled in the future and then call removeAllMessages() from the JMX Console on that queue, the messages are correctly removed. Both MessageCount and ScheduledMessageCount are set to zero. The messages are not sent at their scheduled time (as expected) However, upon restarting the Application Server the scheduled messages that were deleted are requeued and processed. Looking through the code it appears that when removeAllMessages() is called only the in-memory scheduled messages are cleared. Upon startup those same messages are pulled out of the database and queued. Is this the expected behaviour? I'm assuming that on a removeAllMessages the scheduled messages should be removed from the database. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191870#4191870 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191870 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Problem with minimal server
Sounds like your bean (or client) relies on some service not present in "minimal". Some more specifics about the app (in the deployed jar file) and the client might help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191868#4191868 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191868 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Implement JBPM on WEBLogic and using DB2
did you change you DB DIALECT? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191865#4191865 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191865 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: task name
that is because you are setting the name in the task tag, and you must set it to the task-node tag. Because the task instances are generated from the task-node tags Hope it helps View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191864#4191864 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191864 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Strange invalidation
The trick to having the same info stored in multiple nodes while using invalidation is to have logic to differentiate two types of writes to the cache. Here I'll use terminology from Hibernate's Second Level Caching implementation, which faces this exact problem: 1) A "put". This is a write to JBC of data that's stored elsewhere in a "master" source (e.g. a database) and is unchanged from that master source. Storing this in JBC shouldn't invalidate other nodes, since other nodes will also have the same data from the same "master" source. To make this kind of write to JBC, use the JBC putForExternalRead() method. 2) An "insert/update". Here the application is changing the master data and needs to make the cache aware of the change. Since other nodes in the cluster may also have now out-of-date copies of the data cached, they need to be invalidated. To make this kind of write to JBC, use the JBC put() method. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191863#4191863 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191863 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Configuration deployments
"[EMAIL PROTECTED]" wrote : Bingo. This looks like a usecase for the profileservice. Excellent! Where can I find more information about profileservice? "[EMAIL PROTECTED]" wrote : So if the profileservice doesn't do what you need it to today, I think we should at least investigate what changes would be required. | | - Presumably you want those runtime changes to also persist across app restarts? Yes, that would seem to make sense. "[EMAIL PROTECTED]" wrote : - What sort of "reconfiguration" are you looking to do? Change property values? Perhaps a little more in depth than that - the configuration data might be somewhat complex (plain objects but also e.g. lists/sets/maps etc. as well). I'm thinking more of an object model that is mappable to an XML configuration format. I'm inclined to believe that the service itself would be in the best position to ascertain how the configuration should be merged into the running state of the service. "[EMAIL PROTECTED]" wrote : - Would it be acceptable to annotate properties you wanted to be able to change, so the profile service knows they needed managing? Or does that count as a "hard API dependency"? Annotations should be fine as long as the annotation classes are not a runtime dependency... Though I have a hard time envisioning an annotation-backed system that would be as flexible as simply plugging a metadata object into a service method when the config changes. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191858#4191858 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191858 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: how to customize the TM for my EJB3 app?
BTW: the reason why I want to customize this behavior is described here: http://management-platform.blogspot.com/2008/11/transaction-timeouts-and-ejb3jpa.html In short, I don't want my SLSB method to continue when the transaction timeout expires - I want the thread running that method to be interrupted so the SLSB method stops wasting time continuing processing the request when the transaction is just getting rolled back anyway. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191857#4191857 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191857 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Problems with GraphSession.deleteProcessInstance()
Greetings: We need to periodically purge process instances that have ended before a certain data. There may be hundreds or thousands of instances that need to be cleaned up. The performance is very poor ... about 8 - 10 seconds PER INSTANCE. Looking at the code (jBPM 3.1.2) I notice two things: 1 - task instances are not deleted (the delete query is not executed, which is just as well because the preceding query, findTaskInstanceIdsForProcessInstances, does not actually return a list of ids so it would fail anyway).: | if (includeTasks) { | query = session.getNamedQuery("GraphSession.findTaskInstanceIdsForProcessInstance"); | query.setEntity("processInstance", processInstance); | List taskInstanceIds = query.list(); | | query = session.getNamedQuery("GraphSession.deleteTaskInstancesById"); | query.setParameterList("taskInstanceIds", taskInstanceIds); | } | Fixing the findTaskInstanceIdsForProcessInstance query and inserting query.executeUpdate() results in constraint errors in the database. 2 - Deleting the process logs are done one log entry at a time | // delete the logs for all the process instance's tokens | if ( (tokens!=null) | && (!tokens.isEmpty()) | ) { | query = session.getNamedQuery("GraphSession.selectLogsForTokens"); | query.setParameterList("tokens", tokens); | List logs = query.list(); | iter = logs.iterator(); | while (iter.hasNext()) { | session.delete(iter.next()); | } | } | I'm guessing this is taking most of the execution time is there a way to batch delete these logs? Thanx. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191854#4191854 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191854 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - sending emil in using JBPM
Apologies if these have been answered before. I'm really pulling my hair out trying to figure out how to send an email via JBPM. I've read this file in the JBPM download : jbpm-jpdl-3.2.2/doc/userguide/html/mail.html My requirement is simple - send an email when a process transitions to another --> I want to send an email here - when JBPM transitions process to this node. Here are the problems : 1. How do I achieve the above ? I gather there are 3-4 ways, but I would appreciate it if someone can tell me the correct way. I've only worked on JBPM for 3 days. 2. Where do I specify the mail server, user id, password - this is where I've hit the roadblock. I know the file is jbpm.cfg.xml. But what are the variable I need to specify. Or do I need to use mail-service.xml of JBOSS AS ? The documentation is just not helpful. Thanks very much. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191852#4191852 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191852 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Problem with minimal server
Hi all! I'm using jboss-5.0.0.CR1, and with the "default" server everything works just fine. But when I'm trying to use the "minimal" server something goes wrong, (propobly because my lack of knowlage in jboss). In server.log I can see that my .jar file has been fully deployed, but it is not possible to connect to it. The message when I run the client is that the bean is not bound. Before I put my .jar file in the deploy-dir it is empty, is this correct or should there be some default files? Thanks in advance! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191849#4191849 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191849 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Configuration deployments
"[EMAIL PROTECTED]" wrote : This would allow me to reconfigure services at runtime without having to introduce any hard API dependencies on the MC. Bingo. This looks like a usecase for the profileservice. So if the profileservice doesn't do what you need it to today, I think we should at least investigate what changes would be required. - Presumably you want those runtime changes to also persist across app restarts? - What sort of "reconfiguration" are you looking to do? Change property values? - Would it be acceptable to annotate properties you wanted to be able to change, so the profile service knows they needed managing? Or does that count as a "hard API dependency"? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191847#4191847 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191847 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Custom AuthorizationManager(Factory)
hi, for different pruprose i'd like to implement a custom PortalAuthorizationManager, does anyone knows if it's possible and how to do this ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191843#4191843 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191843 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: HTTP/1.1 400 No client certificate chain in this request
We have solved the issue. I thought I would post the solution here for future reference. From: http://www.jboss.org/file-access/default/members/jbossweb/freezone/docs/2.1.0/config/printer/http.html maxSavePostSize: The maximum size in bytes of the POST which will be saved/buffered by the container during FORM or CLIENT-CERT authentication. For both types of authentication, the POST will be saved/buffered before the user is authenticated. For CLIENT-CERT authentication, the POST is buffered for the duration of the SSL handshake and the buffer emptied when the request is processed. For FORM authentication the POST is saved whilst the user is re-directed to the login form and is retained until the user successfully authenticates or the session associated with the authentication request expires. The limit can be disabled by setting this attribute to -1. Setting the attribute to zero will disable the saving of POST data during authentication . If not specified, this attribute is set to 4096 (4 kilobytes). We simply added this attribute to our JBoss connector in the server.xml file, set the value to â-1â and everything works fine now, no matter how many updates we send. I would just like to add that I was rather disappointed in these forums. I came here as a relative JBoss beginner hoping that the actual JBoss forums would provide me any answer if that answer turned out to be something simple with JBoss setup. That did turn out to be the case, but after 5 days of this post sitting here, I still have 0 responses. Does no one actually monitor these forums? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191841#4191841 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191841 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Configuration deployments
>From the end-user perspective, I'd like them to be able to put a >foo-config.xml file in the deploy/ directory and have the container map it to >a custom MetaData type for me, and then pass the resultant object into my >running service. This would allow me to reconfigure services at runtime without having to introduce any hard API dependencies on the MC. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191840#4191840 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191840 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: java.sql.SQLException: ORA-00001: unique constraint (CCC
The key/value is ID/collection Also, about REPEATABLE_READ anonymous wrote : This level prevents "non-repeatable read" but it does not prevent the so-called "phantom read" where new data can be inserted into the tree from the other transaction What happens if evictTask is trying to persist the collection Object, while an incoming message has been added to the collection ? I think by default the cache loader runs in async mode. i.e. | true If that is correct, maybe the solution would be: 1. set the cache loader to be synchronous | 2. set the isolation level to SERIALIZABLE | | does it make sense? | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191838#4191838 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191838 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: java.util.logging to Log4j mapping
I realize this is basically a JDK matter and not necessarily a Jboss issue, but still, what would be the easiest and most portable way to solve this in Jboss? I.e. I would like to deploy a .war to a client's JVM, without having to change either their Jboss installation or their JVM installation. How would I go about doing that? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191831#4191831 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191831 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: My project startup problem in JBoss-4.2.3.GA
Looks like some code is attempting to send a message but that code is not given the proper credentials. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191828#4191828 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191828 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Simple HTML portlet
Here are several possibilities that I have used: 1) Use the example Hello World portlet from http://www.jboss.org/portletswap/portlets_tutorial.html. All of your static text would appear in the portlet source. 2) Use the Hello World JSP portlet (available at the same location). Now you can place your HTML text in a JSP. 3) Use the JSP example portlet that comes with JBoss Portal. Then you can either edit the JSP file at jboss-portal.sar/samples/portal-jsp-samples.war/WEB-INF/jsp/view.jsp. 4) Place your HTML into CMS, and plagiarize (I mean "re-use") the CMS Portlet source code to create your own variation of the portlet and let it display the HTML text. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191827#4191827 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191827 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Configuration deployments
Hi David I'm afraid I can't help answer your question directly, but I'd be interested to know more about your use case here. This smells like something which the profile service could/should be helping with. Could you expand on what it is you would like to achieve from the end user perspective? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191825#4191825 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191825 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: java.sql.SQLException: ORA-00001: unique constraint (CCC
Isn't this related to eviction policy, as the EvictionTimerTask will be executed in a different thread? I thought Isolation Level REPEATABLE_READ will take care of dead-lock ! anonymous wrote : | at org.jboss.cache.TreeCache.evict(TreeCache.java:3716) | at org.jboss.cache.aop.PojoCache.evict(PojoCache.java:209) | at org.jboss.cache.eviction.BaseEvictionPolicy.evict(BaseEvictionPolicy.java:34) | at org.jboss.cache.eviction.BaseEvictionAlgorithm.evictCacheNode(BaseEvictionAlgorithm.java:210) | at org.jboss.cache.eviction.LRUAlgorithm.evict(LRUAlgorithm.java:90) | at org.jboss.cache.eviction.LRUAlgorithm.prune(LRUAlgorithm.java:121) | at org.jboss.cache.eviction.BaseEvictionAlgorithm.process(BaseEvictionAlgorithm.java:98) | at org.jboss.cache.eviction.EvictionTimerTask.run(EvictionTimerTask.java:80) | at java.util.TimerThread.mainLoop(Timer.java:512) | at java.util.TimerThread.run(Timer.java:462) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191823#4191823 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191823 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Transaction Demarcation and JBoss AOP 2.0
A more details description of the issue in the hope that someone will have an answer: If an class is specified through aop to have a transaction requirement (http://www.jboss.org/community/docs/DOC-9034) when aop alters the class it will change the constructor. This change to the constructor will cause the class to search for the constructor when its created, and will fail if the constructor is not found. If this class is an mbean and specified in SAR's jboss-service.xml, when the sar is being deployed it will create the class before even looking at any dependencies for the class. So adding jboss:service=TransactionManager doesn't do any good if the class requires the transaction manager when its constructed. In JBoss AS5, the transaction manger is no longer started at startup and gets deployed after SARs are deployed. So, if a SAR uses aop for transaction demarcation for an mbean specified in jboss-service.xml on JBoss AS5, it will fail since the constructor of the mbean requires the transaction manager to be already started. Should I start opening bugs for this? Open other forum topics in another more proper channel? I can provide stack traces and more information if needed. It works fine in versions of JBoss AS before 5 because of when the transaction manager starts. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191822#4191822 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191822 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Setting up JBOSS 5 Server on my local computer
Also, look into JBoss Tools, which is a plugin for Eclipse. It will keep the app in Eclipse synchronized with your development server so that changes appear almost as easily as what you are used to in Visual Studio. http://www.jboss.org/tools/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191820#4191820 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191820 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - java.sql.SQLException: ORA-00001: unique constraint (CCC_12.
We are experiencing exception in database layer (in production), upon increasing the load on JBoss Cache. The system is working fine in normal load (one message every half a second coming from 5 different thread). Here is the exception: The Isolation level is REPEATABLE_READ, however there is only thread looking at each node, i.e. each message with unique ID will be dealt with one thread only, and the ID is included in the FQN. I also came across this related post, but that didn't help :( http://www.jboss.com/index.html?module=bb&op=viewtopic&t=96450 Any idea? Thanks in advance! -mike anonymous wrote : 2008-11-17 07:43:00,907 ERROR (Timer-4) [org.jboss.cache.loader.JDBCCacheLoader:119] Failed to insert node: ORA-1: unique constraint (12.JBOSSCACHE_PK) violated | | java.sql.SQLException: ORA-1: unique constraint (CCC_12.JBOSSCACHE_PK) violated | at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112) | at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:676) | at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:602) | at oracle.jdbc.driver.T2CPreparedStatement.executeForDescribe(T2CPreparedStatement.java:571) | at oracle.jdbc.driver.T2CPreparedStatement.executeForRows(T2CPreparedStatement.java:764) | at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1170) | at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3339) | at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3423) | at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:251) | at org.jboss.cache.loader.JDBCCacheLoader.insertNode(JDBCCacheLoader.java:969) | at org.jboss.cache.loader.JDBCCacheLoader.put(JDBCCacheLoader.java:913) | at org.jboss.cache.loader.JDBCCacheLoader.put(JDBCCacheLoader.java:341) | at org.jboss.cache.interceptors.PassivationInterceptor.invoke(PassivationInterceptor.java:63) | at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) | at org.jboss.cache.interceptors.CacheLoaderInterceptor.invoke(CacheLoaderInterceptor.java:197) | at org.jboss.cache.interceptors.ActivationInterceptor.invoke(ActivationInterceptor.java:59) | at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) | at org.jboss.cache.interceptors.OptimisticReplicationInterceptor.invoke(OptimisticReplicationInterceptor.java:136) | at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) | at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:345) | at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:156) | at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) | at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:179) | at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5520) | at org.jboss.cache.TreeCache.evict(TreeCache.java:3716) | at org.jboss.cache.aop.PojoCache.evict(PojoCache.java:209) | at org.jboss.cache.eviction.BaseEvictionPolicy.evict(BaseEvictionPolicy.java:34) | at org.jboss.cache.eviction.BaseEvictionAlgorithm.evictCacheNode(BaseEvictionAlgorithm.java:210) | at org.jboss.cache.eviction.LRUAlgorithm.evict(LRUAlgorithm.java:90) | at org.jboss.cache.eviction.LRUAlgorithm.prune(LRUAlgorithm.java:121) | at org.jboss.cache.eviction.BaseEvictionAlgorithm.process(BaseEvictionAlgorithm.java:98) | at org.jboss.cache.eviction.EvictionTimerTask.run(EvictionTimerTask.java:80) | at java.util.TimerThread.mainLoop(Timer.java:512) | at java.util.TimerThread.run(Timer.java:462) and here is the cache configuration: | | | | | | | | | | | | | | | | jboss.jca:service=DataSourceBinding,name=OracleDS | jboss:service=Naming | jboss:service=TransactionManager | | jboss.aop:service=AspectDeployer | | | Tomcat-${jboss.partition.name:Cluster} | | | REPEATABLE_READ | | | OPTIMISTIC | REPL_ASYNC | false | | | false | | | org.jboss.cache.BatchModeTransactionManagerLookup | | | | | | | | | | | | | |
[jboss-user] [JBoss Getting Started Documentation] - Re: bind address for jboss services
Are you using the tool from http://javaservice.objectweb.org/? I ask because there are several tools called Java Service and each is configured differently. If you are, that tool stores service configuration information in the Windows registry. Check the settings at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\XXX\Parameters, where XXX is your service name. You should have some settings that look like this: | Start Param CountREG_DWORD0x0002 (2) | Start Param Number 0 Reg_SZ -b | Start Param Number 1 Reg_SZ 0.0.0.0 If that is not what you have, correct it using regedit. By the way, this tool is not recommended for use with JBossAS. See the "JavaService is no longer recommended" section of this wiki page for the reasons: http://www.jboss.org/community/docs/DOC-11932 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191818#4191818 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191818 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: BeanMetaData and management
For what it's worth, it seems the instance-level annotation capability was the solution. I added something like: | builder.addAnnotation("@org.jboss.aop.microcontainer.aspects.jmx.JMX(registerDirectly=true, exposedInterface=void.class, name=\"jboss.rails.web:app=" + unit.getSimpleName() + "\")"); | And now I get no installation errors, and it appears in jmx-console as I expect it to. MC FTW! -Bob View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191817#4191817 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191817 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Can not establish the connection with MSSQL [seam projec
There are two binary downloads for JBossAS 4.2.3 - one of for JDK 5 the other for JDK 6. So one possible solution for the problem is to get the JDK 5 version of JBossAS 4.2.3 and use it. The other possible solution is to change the JDBC driver because the one you have is not compatible with JDK 6. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191814#4191814 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191814 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Wierd issue with clustered nodes
I've posted the issue here: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138599#4138599 I am also pasting it here, in case other one is not being looked at: I am seeing some weird behavior. We are running into this serious issue where Nodes join the cluster and soon after they disappear from the cluster. So for eg: If I have 5 nodes then they initially join the cluster and then after some time we see any one of the following: 1. Dead member message for one of the nodes - even though the dead node is up and running. I can run Jgroup sender reciever test from dead node to other nodes with no problems. I would assume that dead member would try to communicate back after some time in case there was a temporary problem. But that doesn't seem to be happening. 2. As noted above in your discussion I get 2008-02-21 08:35:11,784 WARN [org.jgroups.protocols.pbcast.GMS] failed to collect all ACKs (3) for view [172.17.65.39:40883|5] [172.17.65.39:40883, 172.17.66.39:35267, 172.17.67.39:39896, 172.17.64.39:52927] after 5000ms, missing ACKs from [172.17.65.39:40883, 172.17.66.39:35267, 172.17.6 . I am not sure why that;s happening and what it really means. All I can guess is that it's not able to get the datagram. Also, I am assuming this is the coordinator. 3. In a cluster of 5, all 5 initially join cluster and after some time what we see is that node 1,2,3 become part of one cluster and 4,5 becomes another cluster. All of them have same udp group, name and port so I don't really understand how they can split and why they don't get merged back together if there was a temporary issue. Overall I am not able to understand this wierdness. I am planning to run some Jgroup load test. We've spoken to our network team and they don't see any issues on switch. I've looked at the NIC and don't see any problems. IGMP is enabled on all the routers. Also, how can I tell which node is now the coordinator? I also did tracroute to make sure ttl is not the problem. It would really be helpful if you could let me know how I can debug this issue. It's really weird. Below is the UDP jgroups config: 3 - View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191813#4191813 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191813 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Portal event and ViewExpiredException
Hello, I got following issue. Environment: jboss-portal-2.7.0.GA (bundled version) -> JSF RI 1.2_08 and Jboss portlet bridge 1.0.0.B4 I have PortletA and PortletB - both are JSF portlets. PortletA publishes Event and PortletB processes it. Sometimes when event is triggered from PortletA, ViewExpiredException is thrown during restoring view of PortletB | Caused by: javax.faces.application.ViewExpiredException: viewId:/scsearch/scsearchdetail.jsp - View /scsearch/scsearchdetail.jsp could not be restored. | at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:186) | at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) | at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:104) | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) | at org.jboss.portletbridge.AjaxPortletBridge.execute(AjaxPortletBridge.java:587) | at org.jboss.portletbridge.AjaxPortletBridge.renderResponse(AjaxPortletBridge.java:441) | at org.jboss.portletbridge.AjaxPortletBridge.doFacesRequest(AjaxPortletBridge.java:344) As workaround this partly works (at least stack trace is not displayed though event is not processed) - add it to web.xml of PortletB's war | | com.sun.faces.enableRestoreView11Compatibility | true | Still not satisfied with "solution" I debug JSF and came to strange conclusion: JSF adds hidden field into form (there is form in both PortletA and PortletB underlying jsp page) like | w | | This values stores version of view stored in session for particular view. Problem is that the same version is used for both portlets - in case that PortletB does have such a version (e.g. html would like like) | w | | than no view is found and ViewExpiredException is thrown. Any idea how to solve this properly? Thanks Jaro View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191811#4191811 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191811 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Advice Stack CNFE on *-aop.xml (AspectManager) Deployment
@see http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191798 One of our users is looking to add a client-side interceptor to the advice stack. As the class is not part of our distribution, it's not available on the server CP (only in the EAR, or on the client CP). Question: Why do we require that stack interceptors be available when loading XML into the AspectManager; can this be deferred until the stack is needed by: // Obtain interceptors by stack name via Aspect Manager | AspectManager manager = AspectManager.instance(); | AdviceStack stack = manager.getAdviceStack(stackName); | assert stack != null : "Could not find Advice Stack with name: " + stackName; | Advisor advisor = this.getAdvisor(); | Interceptor[] interceptors = stack.createInterceptors(advisor, null); ? S, ALR View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191805#4191805 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191805 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: client interceptor - ejb3-interceptors-aop.xml
Addressed on AOP User's Forum: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191805 S, ALR View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191806#4191806 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191806 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: webservice/client not functioning correctly after move f
Noone has seen this error before? :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191800#4191800 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191800 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - how to customize the TM for my EJB3 app?
I want to customize the default timeout behavior of the JBoss Transaction Manager in my EJB3 app (not the timeout value - but the actual behavior that occurs when the tx times out). The default is to abort transactions but let the threads active in that transaction continue to run. See my JBossTM forum question I posted related to this to see where this is defined in the documentation: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=146170 I want to change that behavior. The JBossTM docs tell me to add my own CheckedAction implementation to the transaction. In that previous post I linked above, Mark tells me that I have to do this: anonymous wrote : In order to change the CheckedAction that is used by a transaction you need to grab the underlying transaction instance (BasicAction). Can someone here tell me how I can do this from WITHIN my EJB3 app (hence why I am posting this in the EJB3 forum). In other words, if I have this EJB3 SLSB method: @TransactionTimeout(60) | public void mySLSBMethod() {... How do I inject my own CheckedAction implementation to the transaction this method is running in? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191797#4191797 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191797 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - ExceptionHandler / changes since 3.2GA
Hello, I used a global exception handler in my process definition, like the following: | | | | | Going to the first state! | | | | | | | | | | | | In the above example, the action handler com.sample.action.NoHandlerAvailable is not available (or maybe causes an exception). In case the exception handler class is not available (or causes an exception itself), 3.1.2 and 3.2GA stopped executing the process flow. After upgrading to 3.2.2 or above (have not tried 3.2.1), if the exception handler class is not available or causes an exception, that exception seems to be handled by the same exception handler - causing an (infinite ?) loop. Might this be a bug or is the new behaviour intended? Or am I missing something? Thanks for any help. Marko View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191799#4191799 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191799 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: client interceptor - ejb3-interceptors-aop.xml
There's not much we can do about Community AS 4.2.x. In current trunk I see your problem: 10:47:58,654 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): | | *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State} | | StatelessSessionClientInterceptors | -> StatelessSessionClientInterceptors$4{Configured:Instantiated} | | StatelessSessionClientInterceptors$4 | -> com.alrubinger.Test{Configured:** NOT FOUND Depends on 'com.alrubinger.Test' **} | | | *** CONTEXTS IN ERROR: Name -> Error | | com.alrubinger.Test -> ** NOT FOUND Depends on 'com.alrubinger.Test' ** Though this isn't really within the EJB3 domain; this file's processed by the AOP AspectManager and I'll have to ask AOP team why these classes declared on the stack must be available immediately. Please raise an EJBTHREE JIRA and I'll dig around. S, ALR View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191798#4191798 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191798 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Serialize/deserialize Stateful bean
No, it's not possible to load beans after a restart; ejb3 clears out everything when the bean deploys. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191796#4191796 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191796 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: variable scope from a script
"kukeltje" wrote : btw, the 3.2 docs online are in more ways different from the 3.2.x docs. The 3.2.3 docs are also online but the links to it not always correct Ok. In this case both the docs provided with the distribution as the online ones are in agreement. Plus, the method actually exists and also is executed without any exceptions thrown. So it seems the method really exists. Although it does seem the code is somewhat complex without a good reason: token.getProcessInstance().getContextInstance().setVariable("var","valueOfFork", token); IMHO should be written as: token.setVariable("var","valueOfFork"); But to reverse the question: how do people normally assign a value to a variable in the token scope form within a script? I assume more people do this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191795#4191795 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191795 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: client interceptor - ejb3-interceptors-aop.xml
In EJB2.1 and JBoss 4.0.x I put it on Client's CP and added the Interceptor in standardjboss.xml or jBoss.xml. But in EJB3 and JBoss4.2.x the ClientInterceptor must be availiable on Servers CP when I add the new ClientInterceptor-Class in ejb3-interceptors-aop.xml in delopy directory! Is there another way to define an new Client-Interceptor as in ejb3-interceptors-aop.xml? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191794#4191794 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191794 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JDK logger seems to be connected to stderr?
Thanks a lot!!! That's the answer I am looking for. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191793#4191793 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191793 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JDK logger seems to be connected to stderr?
There was similar discussion about this here http://www.jboss.com/index.html?module=bb&op=viewtopic&t=136020 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191791#4191791 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191791 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: variable scope from a script
btw, the 3.2 docs online are in more ways different from the 3.2.x docs. The 3.2.3 docs are also online but the links to it not always correct View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191790#4191790 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191790 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - JDK logger seems to be connected to stderr?
Hello forum, In my enterprise service deployed under JBoss 4.2.3 GA, all the loggings, including INFOs will start will " ERROR [STDERR] " , such as: 23:20:02,958 ERROR [STDERR] Nov 24, 2008...INFO: File: '/etc/settings.xml' not found This cause some confusion to the test team. I'm wondering whether JDK logger is connected to stderr instead of stdout in JBoss server by default? How can I configure JDK logger to connect to stdout pipe? Thanks a lot in advance! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191789#4191789 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191789 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Managed EJB
Please post the JBoss and Java version. Also please post the entire exception stacktrace and also you bean definition. What exactly is a managed bean? You mean @Service? While posting the logs or xml content or code, remember to wrap it in a code block using the Code button in the message editor window and please hit the Preview button to make sure your post is correctly formatted View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191788#4191788 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191788 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: client interceptor - ejb3-interceptors-aop.xml
JBossAS / EJB3 Version? Stack trace? Client interceptors, on invocation, must be available on the client's CP. S, ALR View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191782#4191782 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191782 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Configuration deployments
How can I make the MC support configuration file deployments? A configuration file deployment would differ from a bean deployment in a couple ways. First, there is no undeploy - a configuration is read upon deployment, and that's the end of it. Either the configuration is accepted and applied, or rejected and ignored. Second, a configuration deployer would not yield BeanMetaData; rather the custom MetaData type would be installed directly into the application where it could be accepted or rejected. Is this possible to do? Maybe even using SchemaResolverDeployer to produce the custom metadata type, which is then handed to the program (perhaps with an install callback)? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191780#4191780 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191780 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM 3.3.0GA and Oracle causing StaleObjectStateExceptio
Couldn't re-open the issu so reated a new one: https://jira.jboss.org/jira/browse/JBPM-1886 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191779#4191779 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191779 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Change
You can disable the caching of the security roles. See this for details http://www.jboss.org/community/docs/DOC-9246 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191778#4191778 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191778 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Can only send one message in XA transaction
"timfox" wrote : Yes please let's take Spring out of the equation. If you can demonstrate an issue using an MDB we can investigate further... Famous last words indeed. The root cause is some oddness with Spring's listener interacting with the tx manager. So the sending side was working but the listener was not getting all of the messages. As yet I have no idea why but if I stop populating the DefaultMessageListenerContainer's transactionManager property, all the messages are received. When I deployed the simple MDB (identical code to that SimpleListener I posted earlier), all the messages were received correctly. I noticed some very odd behaviour with this new conf though, whereby my original listener, which I still had deployed, occasionally saw more than one message delivered - but never got all 3 and usually only got the first one. Anyhoo - not a JBM issue! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191777#4191777 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191777 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: JBoss AS 5.0.0.CR2, EJB 3.0 (Failed to load users/passwo
The -ds.xml file looks fine to me. Do you have an secure beans in your application - annotated either through @SecurityDomain or < security-domain> in jboss.xml? Also in your -ds.xml file could try removing the following configuration and see if it works? true View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191776#4191776 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191776 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM 3.3.0GA and Oracle causing StaleObjectStateExceptio
I'll re-open the JIRA, thanks. I tried to put back in the flush() into thetrunk code but getting this exception: 14:57:10,318 ERROR [GraphElement] action threw exception: collection [org.jbpm.bytes.ByteArray.byteBlocks] was not processed by flush() | org.hibernate.AssertionFailure: collection [org.jbpm.bytes.ByteArray.byteBlocks] was not processed by flush() | at org.hibernate.engine.CollectionEntry.postFlush(CollectionEntry.java:205) | at org.hibernate.event.def.AbstractFlushingEventListener.postFlush(AbstractFlushingEventListener.java:333) | at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:28) | at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000) | at org.jbpm.graph.node.Join.execute(Join.java:121) | at org.jbpm.graph.def.Node.enter(Node.java:314) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173) | at org.jbpm.graph.def.Node_$$_javassist_179.enter(Node_$$_javassist_179.java) | at org.jbpm.graph.def.Transition.take(Transition.java:151) | at org.jbpm.graph.def.Node.leave(Node.java:389) | at org.jbpm.graph.exe.Token.signal(Token.java:192) | at org.jbpm.graph.exe.Token.signal(Token.java:140) | at uk.co.ondemand.portal.workflow.actions.AbstractNodeActionHandler.execute(AbstractNodeActionHandler.java:50) | at org.jbpm.graph.def.Action.execute(Action.java:129) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191775#4191775 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191775 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBM deadlock cause by socket write
Thanks a lot. I have read the Issue.I make sure my remoting-bisocket-service.xml have the line and the remoting version is 2.2.2sp7: | | 1 | I will try to set prefetchSize smaller to verify. Why the https://jira.jboss.org/jira/secure/attachment/12317850/stack_traces.zip can not download.I need stack trace to confirm there are the same problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191774#4191774 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191774 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: variable scope from a script
ja... was laat gisterenavond Ben zelfs nu nog niet helemaal 'wakker' (beetje hoofdpijn als je begrijpt wat ik bedoel) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191771#4191771 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191771 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: BeanMetaData and management
Excellent explanation, Ales, thanks! I'm happy to live for jboss.pojo for now. I like the @ManagementObjectID (assuming I'm understanding it correctly). Or some way to mark a method as "call this to figure out the JMX ObjectName string". ie. @JMXObjectName public String myFancyObjectNameGeneratorOnMyMBean() { return "cheese:name=" + simpleName; } Bob View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191769#4191769 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191769 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: BeanMetaData and management
"bob.mcwhirter" wrote : | My "already installed" error occurs when I get the @JMX annotation on the correct class, but give my object a bogus MC bean name (in this case "jboss.rails:name=oddthesis"). | This is the code that creates the name: - http://anonsvn.jboss.org/repos/jbossas/trunk/system-jmx/src/main/org/jboss/system/microcontainer/jmx/AbstractServiceControllerLifecycleCallback.java If your bean name contains ':' it's gonna be used. "bob.mcwhirter" wrote : | The error I was getting is here, in case you're interested. "Already installed" was somewhat confusing of an error to get. | | http://oddthesis.pastebin.com/f46537bdf | You have duplicated name. Your bean and mbean are named the same, hence MC Controller complained. Thinking about how we create the name, it's not very good. I'll raise an issue about this. "bob.mcwhirter" wrote : | I see I can set the 'name' parameter on @JMX, but is there another way to dynamically set the JMX object-name (to include some bit of unit.getSimpleName() perhaps) like I think the @ManagementObjectID annotation supports on that side of things? Ultimately, I think I'd like to end up with "jboss.rails:name=#{unit.getSimpleName()}" or similar. | The problem here is that when @JMX interceptor kicks in, you don't have access to DeploymentUnit, since you might even not have any DU. e.g. programmatic ControllerContext installation But I'll check what can be done, to make name creation as configurable as possible. e.g. pulling some info from CC's MetaData "bob.mcwhirter" wrote : | Or should I give up, admit JMX is dead, and move on? | It depends how much work is there. For now I would still use it. But as soon as you see some lively movement in jopr/embedded wrt PS, I would change to ManagedObject. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191766#4191766 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191766 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Change
Hi, I have an webapplication on my JBoss 4.2.3.GA where only special users with special roles should be able to access. The user roles are in an external mysql-database. Actually everything works but if I change the user role in my database it doesn't have any effect on the application until I restart JBoss. I think it has something to do with the credentials in JBoss. Is there any way to reset them? Thanks for any help! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191762#4191762 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191762 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM 3.3.0GA and Oracle causing StaleObjectStateExceptio
Yes, could very well be the case. jBPM 3.3 has no QA setup for Oracle (yet) so that might be why it was missed. Although Tom states in JBPM-1772 that he'll re-introduce the flush, it does not seem to be in the code. Please file a re-open https://jira.jboss.org/jira/browse/JBPM-1085 and refer top this forum post. If you could try from source and add a flush it would even be better. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191761#4191761 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191761 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: variable scope from a script
"kukeltje" wrote : sorry... I was probably half asleep when posting... can you check what actually happens in the sourcecode? and also check if the token is different each time. My printlns tell me I have three different tokens. I'll fetch the sources tomorrow or maybe tonight and see what is going on. Tom PS: Aan het slapen om 2 uur 's middags? T. ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191760#4191760 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191760 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user