[jboss-user] [JBoss Messaging] - sending JMS mesage to another cluster fails

2008-02-22 Thread mohali
Using JBoss 4.2.1 with JBoss Messaging 1.3.0.GA We have two clusters with two nodes each (each node of a cluster is on a separate machine). I am trying to send a JMS message (to a topic) from a node in one cluster to nodes in the other cluster. The jms message is sent from an ejb which creates

[jboss-user] [JBoss Messaging] - messages being picked up across nodes different clusters

2007-09-13 Thread mohali
I have two different clusters setup. There are 4 nodes in the clusters (2 per cluster) that are spread across two machines. So on each machine there are two nodes each in a different cluster. Each of the node in each cluster has a unique ServerPeerID. Also looking at the PostOffice JMX Bean on n

[jboss-user] [EJB 3.0] - Re: Update for entities with oneToMany relatinship not worki

2007-08-27 Thread mohali
And I am setting the user for the new permissions and it does persist the new permissions. The only issue is with permissions that were in the old set but not there in the new set of permissions. Do I have delete those explicitly or the container can be smart enough to replace the old set of per

[jboss-user] [EJB 3.0] - Re: Update for entities with oneToMany relatinship not worki

2007-08-27 Thread mohali
I am not using merge as I am doing a find on the user first and then setting the new set of permissions on the user. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078376#4078376 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=

[jboss-user] [JBossCache] - Re: JBossCache 2.0 with JBoss AS 4.2.1 problems

2007-08-23 Thread mohali
| | [java] 13:19:35,691 INFO [ServiceConfigurator] Problem configuring service | jboss.cache:service=TestTreeCache | [java] org.jboss.deployment.DeploymentException: Exception setting attribut | e [EMAIL PROTECTED] on mbean jboss.cache:service=TestTreeCache; | - nested

[jboss-user] [JBossCache] - Re: JBossCache 2.0 with JBoss AS 4.2.1 problems

2007-08-23 Thread mohali
Now I am using local-eviction-cacheloader-service.xml from etc/META-INF but getting the same error. | | | | | | | | | | | | | | | | jboss:service=Naming | jboss:service=TransactionManager | | | org.jbo

[jboss-user] [JBossCache] - JBossCache 2.0 with JBoss AS 4.2.1 problems

2007-08-23 Thread mohali
Is it possible to use JBossCache with JBoss AS 4.2.1? As per JBoss Cache 2.0.0 docs somethings may not work as quoted below: anonymous wrote : It is possible to deploy a JBoss Cache 2.0 instance in JBoss AS 4.x (at least in 4.2.0.GA; other AS releases are completely untested). However, the sig

[jboss-user] [EJB 3.0] - Update for entities with oneToMany relatinship not working p

2007-08-22 Thread mohali
I have two entites User and Permissions with one to many relationship as below. In UserEntity ejb I have this code: @OneToMany(mappedBy = "user", cascade = {CascadeType.PERSIST, CascadeType.MERGE}) | public List getPermissions() { | return this.permissions; | } | And on

[jboss-user] [Management, JMX/JBoss] - Re: startup class hangs

2007-07-23 Thread mohali
Thanks. I should have first looked there before posting. Anyhow I got this working by adding the dependency (shown below) on the ejb module that has the EJB called by the startup class. | | | | jboss.j2ee:module=systemEJB.jar,service=EJB3 | |

[jboss-user] [Management, JMX/JBoss] - startup class hangs

2007-07-20 Thread mohali
I have written a startup class that needs to execute only after the server has completely started. I am currently invoking this from startService() method and this class needs to get a handle to the EJB. But looks this call is made before the server has completely started and it just hangs ther

[jboss-user] [EJB 3.0] - "initialising interceptors" error deploying ejb3 MDB

2007-07-17 Thread mohali
I have a MDB with ejb3 annotations that gives the following error during JBoss startup. anonymous wrote : | Reason: java.lang.RuntimeException: An exception occurred initialising interceptors for class com.acme.ActionEventMessageEJB.onMessage | This is the case when the MDB exten

[jboss-user] [JBoss Messaging] - Exception deploying EJB3 MDB

2007-07-17 Thread mohali
I have a MDB with ejb3 annotations that gives the following error during JBoss startup. Reason: java.lang.RuntimeException: An exception occurred initialising interceptors for class com.acme.ActionEventMessageEJB.onMessage This is the case when the MDB extends from an abstract base class that

[jboss-user] [Clustering/JBoss] - Re: setting up cluster on JBoss 4.2.0 GA (messaging conflict

2007-06-06 Thread mohali
Some more information on the error. I am not sure if it is service name conflict issue as I mentioned in my previous message. The whole error is: | 09:47:56,908 ERROR [URLDeploymentScanner] Incomplete Deployment listing: | | --- MBeans waiting for other MBeans --- | ObjectName: jboss.mes

[jboss-user] [Clustering/JBoss] - setting up cluster on JBoss 4.2.0 GA (messaging conflict)

2007-06-06 Thread mohali
I am setting up the cluster of two nodes on windows XP but having problems starting up even a single node. I have taken the base server/all configuration as the starting point and adding on my application specific configuration to it. I have also added JBoss messaging (1.2.0 GA) to it (instead

[jboss-user] [Clustering/JBoss] - issues with setting up cluster on JBoss 4.2.0 GA

2007-06-04 Thread mohali
I am trying to setup JBoss cluster with two nodes on a single windows XP machine. I have two configurations node1 and node2. I am following the document at http://docs.jboss.com/jbossas/guides/clusteringguide/r2/en/html_single/ to set up the cluster. This document (section 1.5.4) refers to updat

[jboss-user] [Management, JMX/JBoss] - Re: Fixed

2007-05-24 Thread mohali
I have fixed this problem. The problem was that I was not following the naming convention for MBeans. If the service class name is TaskTimersStartupService then the Mbean interface must be named TaskTimersStartupServiceMBean. This information does not seem to be well documented. I hope this hel

[jboss-user] [Management, JMX/JBoss] - " No ClassLoaders found " error when deploying a startup cla

2007-05-23 Thread mohali
I am trying to deploy a simple start up class at JBoss startup time and it keeps giving the following error: [java] Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: com.acme.common.business.taskmanagement.TaskTimerStartup | [java] at org.jboss.mx.loading.

[jboss-user] [EJB 3.0] - Re: migration path from ejb2 to ejb3

2007-02-28 Thread mohali
You are right, we just upgrade to Intellij 6 and it does have that feature. I did give it a run (in preview mode) and it seems to keep the old ejbjen tags around which should hopefully be not a problem. I am planning to apply this on a simple session bean and deploy it in Jboss. Has anybody

[jboss-user] [EJB 3.0] - migration path from ejb2 to ejb3

2007-02-28 Thread mohali
We are planning to port our web app currently deployed on weblogic 8.x to jboss and we have quite a lot session and entity beans to be ported to ejb3 spec. Does the jboss app server (4.x or upcoming 5.0) provide utilities/scripts (or ide plugins) to migrate ejb2 based session and entity beans (