[jboss-user] [JBoss jBPM] - Superstate-enter event not fired

2007-06-05 Thread jeanbobby
Hi,

This is my first usage of super states, as phases in a process.

here's an extact:


start-state name=start
  | transition to=buildPhase/
  | /start-state
  | 
  | super-state name=buildPhase
  | 
  |event type=superstate-enter
  |   action class=com... /
  |/event
  | 
  | ...
  | 
  |state name=waitForValidation
  |   transition to=../deliveryPhase/
  |/state
  | 
  |event type=superstate-leave
  |   action class=com... /
  |/event

  
The super state leave event is fired, but enter is not.

From what I read I cant say the doc is precise about this specific behaviour.
Looking at the code this seems 'normal' :

- Transition.take:

if ( destination.getSuperState()!=null ) {
  | ... fire the event ... 

- SuperState.execute :

Node startNode = (Node) nodes.get(0);
  | startNode.enter(executionContext);

Going from a node to a super-state taking an explicit transition wont cause the 
event to be fired as dest.getSuperState == null.

Then the super state will be executed and the first node will be entered 
without any kind of 'transient' transition being taken.

What do you guys think about that ?

AFAIAC I would expect the super-enter event being fired whatever the enter 
context (thru an innder node, or referencing the super-state itself).

Thanks for your input.

Best regards

Olivier

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4051249#4051249

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4051249
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Superstate-enter event not fired

2007-06-05 Thread jeanbobby
from the doc : 
(http://docs.jboss.com/jbpm/v3/userguide/processmodelling.html#superstateevents)

9.6.2. Superstate events
  | ...
  | These events will be fired no matter over which transitions the node is 
entered or left respectively

I cant find anything more precise about the expected behaviour

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4051303#4051303

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4051303
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Superstate-enter event not fired

2007-06-05 Thread jeanbobby
Ok, thanks Ed.
Copy/paste from the post is detailed enough ?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4051324#4051324

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4051324
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Superstate-enter event not fired

2007-06-05 Thread jeanbobby
FYI : http://jira.jboss.com/jira/browse/JBPM-980

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4051345#4051345

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4051345
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Design, Business model and Jbpm integration

2007-05-24 Thread jeanbobby
Up.
Any realworld experience with modeling and exploiting a domain entity' status 
as token's current state ? (including search/agregation, joining to the model 
and performance issues...) any feedback would be apreciated.

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4048340#4048340

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048340
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Design, Business model and Jbpm integration

2007-05-22 Thread jeanbobby
Hi,

This is a simple general question regarding how to integrate external workflow 
and link it to the existing model of an application.

Let's say we have a Item entity.
A process describres the lifecycle and actions that need to be taken @ at 
different steps.
Hence the different states of the process define the status of the Item.
The first step is to had a foreign key from the entity to the token / process 
instance to be able to look up the corresponding jbpm resources.

Then what is the best practice for resolving an item (or list of items) status, 
or search items by status in an efficient / flexible way ? 

   - denormalize and keep the status on the item (updated to correct value at 
given process state)
   - ?

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4047502#4047502

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4047502
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Design, Business model and Jbpm integration

2007-05-22 Thread jeanbobby
Thanks Ronald,
I checked the code and saw the key you're refering to :

public ProcessInstance loadProcessInstance(ProcessDefinition processDefinition, 
String key);

So, if I remove the status from the domain, and use that business key attribute 
to materialize the link between domain and process instance, what would be the 
elegant way of searching all the ITEMs in 'toBeValidated' Status (ie Node) ? :

Call a custom query on Jbpm, get the matching nodes and use the associated 
business keys to load the corresponding domain entities ?

I see that the API is rather Task oriented so I wonder if that would be a hint 
to another way of thinking this workflow integration.

Thanks for you advices,
Olivier

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4047547#4047547

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4047547
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Limit MDB max instances cluster-wide ?

2007-04-10 Thread jeanbobby
Hi,
I'd like to know what would be your recommendations regarding the need of 
limiting the number of simultaneous mdbs instances across a cluster ?
Let's say I have some external resource, used thru JCA and more specifically 
MDBs.
Let's suppose that the IT architecture at a given moment allows for 50 
connections on that resource (that may be extended later on) and that each MDB 
execution is going to connect to that resource (agreed, it could be done 
directly thru JCA with specific adaptor).

I want that 50 connections limit to be respected and reached with any number of 
jboss instances on the cluster, transparently balancing the outbound 
connectivity across the nodes... and of course I want to be able update this 
limit 'dynamically' when the external resource hardware gets upgraded...

Any best practice with a standard-based approach on the subject ?

Thank you,
Best regards

Olivier

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4035933#4035933

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035933
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Limit MDB max instances cluster-wide ?

2007-04-10 Thread jeanbobby
I know that (maybe I should have put standard-based as an optional requirement) 
that's why Im asking you for advices, the question is : 

Can you think of a clever/simple way of dynamically updating a node's RAR 
attributes (pool sizing, endpoint activation/deactivation etc...) based on 
cluster aware metadatas ?

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4035952#4035952

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035952
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Limit MDB max instances cluster-wide ?

2007-04-10 Thread jeanbobby
anonymous wrote : What does this mean? I am not following. 
I did not mean to limit the solutions to strict JCA usage ; )

anonymous wrote : If you are referring to cluster metadata that you mantain 
(this is really your only option) then the easiest solution would be to update 
attributes via JMX.

We are not clustering our instances yet, hence not maintaining any kind of 
metadata thru the cluster or any straight distributed jboss-cache usage.

Im trying to challenge several architectures to deal with that kind of subject 
and applicative-oriented cluster management as a whole, and that's why I want 
to get your expert vision on it before getting into any exotic/unnecessary 
implementation.

Example scenario overview : 

We might have to drive a large/heterogenous transcoding-servers array in a near 
future. Composed by 3rd party (.Net Web services interface in general) and 
later proprietary (straight Jboss mdb / ejb) instances.

As of now the transcoding requests are enqueued and asynchronously processed 
through JMS queues, with to-be-ported spring consumers (on a single Jboss 
Messaging instance for now and soon 1.2GA cluster with distributed queues).

The requirements in term of processing power on the mdbs side would be low for 
3rd party transacoder scenarios where the mdb mostly implements a connection to 
a .net WS (90% of the work is done on the transcoder side). 

But we definitly need several nodes to be able to provide hot standby as a 
first step and then scale out if the number of transcoding servers explodes.

Another constraint is to try to optimize the computing capacity available while 
not exceeding it as the behaviour of these servers on load varies: some of them 
being able to queue /reject incoming requests, while others might crash/freeze, 
explaining my desire to be to try and control precisely the cluster-wide pools 
and/or activations.

I could open a jboss-network issue for design assistance on that subject if you 
want, as Id really like to get feedback from you guys, I think there is quite a 
few things to be said..

We're using 4.0.5 in production and Im going to contact our jboss 
respresentative for more insights regarding the AS roadmap (4.x and 5.0)

Best regards

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4035992#4035992

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035992
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Cluster-aware JCA pools management and more..

2007-04-10 Thread jeanbobby
Brian, bella if you have any time to check that :
https://network.jboss.com/jbossnetwork/restricted/caseDetail.html?caseId=50030034luhAAA

any insights/advices would be greatly appreciated.

Best regards.
Olivier

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4036010#4036010

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4036010
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Limit MDB max instances cluster-wide ?

2007-04-10 Thread jeanbobby
Done, FYI :

https://network.jboss.com/jbossnetwork/restricted/caseDetail.html?caseId=50030034luhAAA

I've also given that url to the clustering team on their forum.

Thanks.

Olivier

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4036012#4036012

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4036012
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - 1.2CR1 - AS 4.0.5 Install - ClassNotFoundException on Failov

2007-02-22 Thread jeanbobby
Hello,

Im trying to setup 1.2CR1 on a 4.0.5 default.
Im running a co-located test sar that's already running with a 1.0.1SP4 / 4.0.5 
install (to work with Tim on case 00014299).
It just requires a simple non clustered config and a test queue.

My 1.0.1SP4 / 4.0.5 install is the default patch with release-admin.xml.

I do the same with 1.2CR1 and when I deploy the test sar, I get :

16:50:38,986 WARN  [JBossManagedConnectionPool] Throwable while attempting to 
get a new connection:
  | null
  | java.lang.RuntimeException: java.lang.ClassNotFoundException: No 
ClassLoaders found for: org.jboss.j
  | ms.client.container.FailoverValveInterceptor
  | at 
org.jboss.aop.advice.GenericAspectFactory.getClazz(GenericAspectFactory.java:141)
  | at 
org.jboss.aop.advice.GenericAspectFactory.createPerInstance(GenericAspectFactory.java:182
  | )
  | at 
org.jboss.aop.InstanceAdvisorDelegate.initializeAspects(InstanceAdvisorDelegate.java:100)
  | 
  | at 
org.jboss.aop.InstanceAdvisorDelegate.initialize(InstanceAdvisorDelegate.java:72)
  | at 
org.jboss.aop.ClassInstanceAdvisor.init(ClassInstanceAdvisor.java:75)
  | at 
org.jboss.jms.client.delegate.ClientConnectionDelegate._getInstanceAdvisor(ClientConnecti
  | onDelegate.java)
  | at 
org.jboss.jms.client.delegate.ClientConnectionDelegate.setExceptionListener(ClientConnect
  | ionDelegate.java)
  | at 
org.jboss.jms.client.JBossConnection.setExceptionListener(JBossConnection.java:117)
  | at 
org.jboss.resource.adapter.jms.JmsManagedConnection.setup(JmsManagedConnection.java:746)
  | at 
org.jboss.resource.adapter.jms.JmsManagedConnection.init(JmsManagedConnection.java:184)
  | 
  | at 
org.jboss.resource.adapter.jms.JmsManagedConnectionFactory.createManagedConnection(JmsMan
  | agedConnectionFactory.java:106)
  | at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventL
  | istener(InternalManagedConnectionPool.java:565)
  | at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(Internal
  | ManagedConnectionPool.java:250)
  | at 
org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JB
  | ossManagedConnectionPool.java:491)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConn
  | ectionManager2.java:341)
  | at 
org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectio
  | nManager.java:301)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnec
  | tionManager2.java:396)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.alloca
  | teConnection(BaseConnectionManager2.java:842)
  | at 
org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.allocateConnection(JmsSessionFactory
  | Impl.java:389)
  | at 
org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createSession(JmsSessionFactoryImpl.
  | java:369)
  | at 
com.digiplug.repository.transcoding.util.spring.JmsXAReceptionRunnable.doReceiveAndExecut
  | e(JmsXAReceptionRunnable.java:80)
  | at 
com.digiplug.repository.transcoding.util.spring.JmsXAReceptionRunnable.run(JmsXAReception
  | Runnable.java:29)
  | at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
  | at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
  | at java.lang.Thread.run(Thread.java:619)
  | Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: 
org.jboss.jms.client.contain
  | er.FailoverValveInterceptor
  | at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  | at 
org.jboss.aop.advice.AspectFactoryWithClassLoaderSupport.loadClass(AspectFactoryWithClass
  | LoaderSupport.java:80)
  | at 
org.jboss.aop.advice.GenericAspectFactory.getClazz(GenericAspectFactory.java:137)
  | ... 24 more
  | 
  | 


Any particularities in the setup on this new version when using a non clusted 
config ?

Best regards

Olivier

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4020642#4020642

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4020642
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: 1.2CR1 - AS 4.0.5 Install - ClassNotFoundException on Fa

2007-02-22 Thread jeanbobby
I re installed CR1 from scratch and it seems to work fine.
I dont see anything special in my previous install except cleaning all test 
queues/topics, Ill and try and reproduce the same step to see if how I get to 
the same error.

BTW the memory seems to be still present in CR1.

Regards,
Olivier

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4020678#4020678

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4020678
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Xa - Memory Leak ?

2007-02-20 Thread jeanbobby
We are using 1.0.1SP4 on JBoss405.
The queues are persisted on oracle 10g.
JBM has its own non-xa oracle datasource

The multithreaded consumers rely on the XA Connection Factory and are wrapped 
in XA transactions.
One set of connection/session/consumer is created for each sequence of polling, 
no caching whatsoever, and we proceed with the usual pattern : 

xaTx.begin

con = jmxXACf.createCon
ses = con.createSession
con.start
consumer = ses.createConsumer
consumer.receive()
consumer.close
session.close
con.close

xaTx.commit

they're all cleaned up after the receive call, and the XA transaction is always 
commited/rollbacked.

The jboss instance hosting both JBM and the consumers (bootstraped from a War 
using JBM loader) runs slowly but steadily to memory and cpu exhaustion, even 
when it's activity is limited to the constant jms 'polling' (8 consumer 
threads).

As the heap graphs were showing textbook linear memory consumption I ran 
jmap/jhat after a 2 hours run (with only the 30th first minutes of dense 
activity). It showed that the number of ServerConsumerEndpoint instances had 
made the top 5 with approx 20 :

num   #instances#bytes  class name
--
  1:21764042500368  [Ljava.util.HashMap$Entry;
  2:22395625354776  [Ljava.lang.Object;
  3:30625723970568  [C
  4:46893222508736  java.util.HashMap$Entry
  5:19965820764432  org.jboss.jms.server.endpoint.ServerConsumerEndpoint


Then I get all kind of stacks bound to the memory shortage like :

java.lang.OutOfMemoryError: Java heap space
  | 2007-02-09 10:50:39,420  ERROR 
[org.jboss.resource.adapter.jms.JmsSessionFactoryImpl] - could not create 
session
  | org.jboss.resource.JBossResourceException: Unchecked throwable in 
ManagedConnection.getConnection() [EMAIL PROTECTED] [EMAIL PROTECTED] handles=0 
lastUse=1171014618826 permit=false trackByTx=false [EMAIL PROTECTED] [EMAIL 
PROTECTED] xaResource=MessagingXAResource[-2147483607] txSync=null]; - nested 
throwable: (java.lang.reflect.UndeclaredThrowableException)
  | at 
org.jboss.resource.JBossResourceException.rethrowAsResourceException(JBossResourceException.java:61)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:410)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
  | at 
org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.allocateConnection(JmsSessionFactoryImpl.java:389)
  | at 
org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createSession(JmsSessionFactoryImpl.java:369)
  | at 
org.springframework.jms.listener.AbstractMessageListenerContainer.createSession(AbstractMessageListenerContainer.java:1002)
  | at 
com.digiplug.repository.transcoding.util.spring.DestinationBalancingMessageListenerContainer.doReceiveAndExecute(DestinationBalancingMessageListenerContainer.java:360)
  | at 
com.digiplug.repository.transcoding.util.spring.DestinationBalancingMessageListenerContainer.receiveAndExecute(DestinationBalancingMessageListenerContainer.java:326)
  | at 
com.digiplug.repository.transcoding.util.spring.DestinationBalancingMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DestinationBalancingMessageListenerContainer.java:716)
  | at 
com.digiplug.repository.transcoding.util.spring.DestinationBalancingMessageListenerContainer$AsyncMessageListenerInvoker.run(DestinationBalancingMessageListenerContainer.java:680)
  | at 
org.springframework.core.task.SimpleAsyncTaskExecutor$ConcurrencyThrottlingRunnable.run(SimpleAsyncTaskExecutor.java:203)
  | at java.lang.Thread.run(Thread.java:595)
  | Caused by: java.lang.reflect.UndeclaredThrowableException
  | at 
org.jboss.resource.JBossResourceException.process(JBossResourceException.java:204)
  | at 
org.jboss.resource.JBossResourceException.init(JBossResourceException.java:111)
  | ... 12 more
  | Caused by: java.lang.OutOfMemoryError: Java heap space
  | 2007-02-09 10:51:13,748  ERROR [STDERR] - Exception in thread Timer-1 
  | 2007-02-09 10:51:13,748  ERROR [STDERR] - Exception in thread 
TimeoutFactory-0 
  | 2007-02-09 10:51:13,748  ERROR [STDERR] - java.lang.OutOfMemoryError: Java 
heap space
  | 2007-02-09 10:51:13,748  ERROR [STDERR] - java.lang.OutOfMemoryError: Java 
heap space
  | 2007-02-09 10:51:24,326  ERROR [org.jboss.jms.util.ExceptionUtil] - 
ConnectionEndpoint[-2147483643] start [a1885-6t7h9a-exxk6yht-1-exyfwp7q-3s]
  | java.lang.OutOfMemoryError: Java heap space
  | 2007-02-09 10:51:38,514  ERROR [org.jboss.jms.util.ExceptionUtil] - 
SessionEndpoint[-2147483608] close [a1885-6t7h9a-exxk6yht-1-exyfx05u-3t]
  | java.lang.OutOfMemoryError: Java heap space
  | 2007-02-09 10:51:41,951  ERROR 
[org.jboss.jms.client.container.ExceptionInterceptor] - Caught Error: 
  | java.lang.OutOfMemoryError: Java heap space
  | 

[jboss-user] [JBoss Messaging] - Re: Xa - Memory Leak ?

2007-02-20 Thread jeanbobby
I just use the a spring JtaTransactionManager which acts as a TM wrapper that 
looks up JBoss UserTx and TM in jndi, and allow consistent syntax when 
switching to a spring-specific TM.

I dont know the spring code base by heart but it has to properly call commit on 
the jboss resources as I do have consitent distributed tx behaviour for my 
commits and rollbacks between JBM and Hibernate.

Anyway, I did setup a one class test bootstraped as a sar and using a thread 
pool executor for the multithreading and I can see the same ever groging 
ServerConsumerEndpoint count with JHat (with both TransactionManager and 
UserTransaction).

Would you have a few minutes to look into it ? 
I can send it to you if you're interested.

Thanks,
Best regards
Olivier

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4019473#4019473

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019473
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Xa - Memory Leak ?

2007-02-20 Thread jeanbobby
Tim,
I know you guys work like crazy, I follow very closely the user and developer 
forums, and I greatly appreciate your efforts as I expect to switch to 1.2GA 
soon after GA, to benefit from its distributed queues.
My test is now 100% spring free and I had already created a support entry: I 
just wanted to make sure it didnt sound like anything known before spending too 
much time on barebone-test creation, I have the same kind of schedule here. ; )

So Im going to post the test on the support site(case 00014299), please free to 
jump if you're just fed up with distribution and jms-agnostic db schemas.

Thanks
Olivier



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4019527#4019527

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019527
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Remote JMS server

2006-10-31 Thread jeanbobby
Hi guys,

Im trying to setup a remote-standalone JBossMessaging 1.1 Instance.
The 'hosting' standalone server is 4.0.4.GA.

The client(s) are 4.0.4.GAs, with the jms RAR and jms-ds defined as indicated 
in the remote-messaging wiki.

I want my applications to be able to send/receive msgs first 'programatically', 
 and maybe later with 3.0 MDBs.

My main application is a spring-based war, for my tests it intializes a simple 
bean injecting a jms template which is based on the JmsXA bound in the private 
internal namespace.

when sending the test message I first got classpath pbs, included 
messaging-client to server/myserver/lib,  and then got into :

java.lang.RuntimeException: Failed to config client side AOP
  | 
  | 15:43:39,643 ERROR [SocketClientInvoker] Got marshalling exception, exiting
  | java.io.EOFException
  | at java.io.DataInputStream.readByte(DataInputStream.java:243)
  | at 
org.jboss.serial.io.JBossObjectInputStream.readByte(JBossObjectInputStream.java:227)
  | at 
org.jboss.jms.server.remoting.JMSWireFormat.read(JMSWireFormat.java:411)
  | at 
org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.jav
  | a:279)
  | at 
org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143)
  | at org.jboss.remoting.Client.invoke(Client.java:525)
  | at org.jboss.remoting.Client.invoke(Client.java:488)
  | at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.invoke(ClientConnectionFact
  | oryDelegate.java:199)
  | at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$getClientAOPConfig_86975327
  | 
01842707646.invokeNext(ClientConnectionFactoryDelegate$getClientAOPConfig_8697532701842707646.java)
  | at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.getClientAOPConfig(ClientCo
  | nnectionFactoryDelegate.java)
  | at 
org.jboss.jms.client.JBossConnectionFactory.ensureAOPConfigLoaded(JBossConnectionFactory.
  | java:233)
  | at 
org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFacto
  | ry.java:196)
  | at 
org.jboss.jms.client.JBossConnectionFactory.createXAQueueConnection(JBossConnectionFactor
  | y.java:144)
  | at 
org.jboss.jms.ConnectionFactoryHelper.createQueueConnection(ConnectionFactoryHelper.java:
  | 147)
  | at 
org.jboss.resource.adapter.jms.JmsManagedConnection.setup(JmsManagedConnection.java:709)
  | at 
org.jboss.resource.adapter.jms.JmsManagedConnection.init(JmsManagedConnection.java:184)
  | 
  | at 
org.jboss.resource.adapter.jms.JmsManagedConnectionFactory.createManagedConnection(JmsMan
  | agedConnectionFactory.java:106)
  | at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventL
  | istener(InternalManagedConnectionPool.java:539)
  | at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(Internal
  | ManagedConnectionPool.java:228)
  | at 
org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JB
  | ossManagedConnectionPool.java:417)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConn
  | ectionManager2.java:324)
  | at 
org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectio
  | nManager.java:301)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnec
  | tionManager2.java:379)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.alloca
  | teConnection(BaseConnectionManager2.java:812)
  | at 
org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.allocateConnection(JmsSessionFactory
  | Impl.java:389)
  | at 
org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createQueueSession(JmsSessionFactory
  | Impl.java:144)
  | at 
org.springframework.jms.core.JmsTemplate102.createSession(JmsTemplate102.java:166)
  | at 
org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:424)
  | at 
org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:486)
  | at 
com.digiplug.repository.JmsTest.afterPropertiesSet(JmsTest.java:27)


On the client and on the messaging server :

15:58:00,611 ERROR [ServerThread] failed to process invocation.
  | java.io.IOException: Can not read data for version 6.  Supported versions: 
1,2
  | at 
org.jboss.remoting.transport.socket.ServerThread.versionedRead(ServerThread.java:394)
  | at 
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:446)
  | 
  | at 
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:527)
  | at 
org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:261)


which seems to show a conflict between