[Beginner's Corner] New message: "Re: MySQL 5.1 with JBoss ESB 5.0.0"
by Peter Johnson
User development,
A new message was posted in the thread "MySQL 5.1 with JBoss ESB 5.0.0":
http://community.jboss.org/message/532531#532531
Author : Peter Johnson
Profile : http://community.jboss.org/people/peterj
Message:
--------------------------------------------------------------
2010-03-16 08:55:48,519 WARN [org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext] (main) Unable to register deployment mbean jboss.messaging:service=PersistenceManager
javax.management.InstanceAlreadyExistsException: jboss.deployment:id="jboss.messaging:service=PersistenceManager",type=Component already registered.
I'm not sure if that is a probllem or not. Try grepping the config files for jboss.messaging:service=PersistenceManager to see if you have multiple of them declared.
2010-03-16 08:56:18,212 WARN [org.jboss.messaging.core.impl.JDBCSupport] (main) SQLException caught, SQLState 42000 code:1064- assuming deadlock detected, try:1
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CONDITION, SELECTOR, CHANNEL_ID, CLUSTERED, ALL_NODES FROM JBM_POSTOFFICE WHERE ' at line 1
This sounds like you did not replace the server/xxx/deploy/messaging/hsqldb-persistence-service.xml with the one for MySQL, which you can find at docs/examples/jms/mysql-persistence-service.xml. (Or do you have both files in .../deploy/messaging? That could explain the first warning - you should have only one of these files.)
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/532531#532531
16 years, 4 months
[JBoss Messaging] New message: "Problems with a client on a JBoss AS 4.2.3 with Messaging 1.4.5 consuming messages from a JBoss AS 5.1 with Messaging 1.4.6"
by Maurice Zeijen
User development,
A new message was posted in the thread "Problems with a client on a JBoss AS 4.2.3 with Messaging 1.4.5 consuming messages from a JBoss AS 5.1 with Messaging 1.4.6":
http://community.jboss.org/message/532522#532522
Author : Maurice Zeijen
Profile : http://community.jboss.org/people/mzeijen
Message:
--------------------------------------------------------------
Hey Guys,
Before I explain the problem here is an overview of my Server setup:
*Messaging consumer:*
JBoss AS 4.2.3.GA
JBoss Messaging 1.4.5.GA
JBoss Remoting 2.2.3.SP1
*Messaging server:*
JBoss AS 5.1
JBoss Messaging 1.4.6.GA
JBoss Remoting 2.5.2.SP2
The JBoss AS 4.2.3.GA doesn't have messaging installed as a server. The application on that server only acts as a client. It tries to consume messages from a topic on the JBoss AS 5.1 server.
I am noticing strange behaviour and I am wondering if this because of the JBoss Remoting version mismatch. I am getting the following exception:
ERROR [org.jboss.remoting.ServerInvoker] Error executing server oneway invocation request: InvocationRequest[2b3cfcf1, CALLBACK, InternalInvocation[31024864]]
org.jboss.remoting.callback.HandleCallbackException: Unknow callback type: InvocationRequest[4e993077, ClientDelivery[JBossMessage[905916808996585492]:PERSISTENT]]
at org.jboss.jms.client.remoting.CallbackManager.handleCallback(CallbackManager.java:125)
at org.jboss.remoting.ServerInvoker.handleInternalInvocation(ServerInvoker.java:1483)
at org.jboss.remoting.transport.bisocket.BisocketServerInvoker.handleInternalInvocation(BisocketServerInvoker.java:648)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:849)
at org.jboss.remoting.ServerInvoker$1.run(ServerInvoker.java:1901)
at org.jboss.jms.server.remoting.DirectThreadPool.run(DirectThreadPool.java:63)
at org.jboss.remoting.ServerInvoker.handleOnewayInvocation(ServerInvoker.java:1912)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:832)
at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:611)
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:409)
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:176)
Is it even possible to have this kind of client/server setup where a JBoss AS 4.2.3 uses the messaging from a JBoss AS 5.1?
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/532522#532522
16 years, 4 months
[jBPM] New message: "Re: New version of process with modification in java class : the change is not taken into account"
by Maciej Swiderski
User development,
A new message was posted in the thread "New version of process with modification in java class : the change is not taken into account":
http://community.jboss.org/message/532520#532520
Author : Maciej Swiderski
Profile : http://community.jboss.org/people/swiderski.maciej
Message:
--------------------------------------------------------------
hi,
in general, user code is cached for process definition. But since you deploy it you should get new version of the process definition:
- first deploy = test2-1
- second deploy = test2-2
.
.
.
So when you start new instance of a process test2-2 you should get correct results.
I have not experienced that behavior not even once, but did the same stuff many times. What I could suggest is to give it a try and look through data base and check if there are different classes for different deployments, you could use repositoryService as well to get it out.
And of cource to make sure you are executing correct version of your process definition, I am sure you have done that, just to double check the most obvious.
Cheersm
Maciej
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/532520#532520
16 years, 4 months
[JCA] New message: "Re: HornetQ RA integration"
by Vicky Kak
User development,
A new message was posted in the thread "HornetQ RA integration":
http://community.jboss.org/message/532518#532518
Author : Vicky Kak
Profile : http://community.jboss.org/people/vickyk
Message:
--------------------------------------------------------------
>
>
> I don't understand how I can find whether the managed connection factory will use XA or not when I effectively create the JMS resources in HornetQRAConnectionFactory class.
>
>
I don't understand why you need to do so, the ConnectionManager should identify if it is localtx or xatx and accordingly enlist the XAResource.
The client application will get the ConnectionFactory which will call the ConnectionManager::allocateConnection() and further invoke createManagedConnection Or matchManagedConnection.
The createManagedConnection will basically invoke the MCF::createConnection().
PS: If you could explain the details then I could take a deeper look at the specs and corresponding details, right now I am putting all what is there in top of my mind.
Regards,
Vicky
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/532518#532518
16 years, 4 months