[jboss-user] [JBoss Messaging] - MDB Security Vs JBM Security

2008-03-11 Thread mskonda
Hello Team I have a situation - I got an MDB that needs by passing the secured JMS Server. That is, I have a secured JBM using DatabaseLoginModule. The login-config.xml's messaging domain reflects use of this module. The messaging-service.xml is updated to add the DefaultSecurityConfig. Now,

[jboss-user] [JBoss Messaging] - Re: Secure Queue implementation in JBoss 4.0.2.GA

2008-01-22 Thread mskonda
You can secure your destinations (topics/queues) either individually or on a global basis. Individual security: Add the 'SecurityConfig' attribute with appropriate role access as shown below to the individual destination configuration: | mbean

[jboss-user] [JBoss Messaging] - Re: SecurityException - Wrong credentials

2008-01-17 Thread mskonda
Sorry for delaying in reply. Well, checkout your application-policy configuration in conf/login-config.xml. There should be a JmsXARealm policy defined - however this MCF is being created with guest credentials by default. However, this is not the actual solution, you could change these

[jboss-user] [JBoss Messaging] - Re: SecurityException - Wrong credentials

2008-01-16 Thread mskonda
To me it seems you are accessing the JBM without appropriate credentials (obviously!). That is, as you haven't mentioned about the store where you are reading the credentials, I am assuming you are going with default setup that comes with JBM installation. If this is the case, then the

[jboss-user] [JBoss Messaging] - Re: how to create new user fro durable topic in jms

2007-11-22 Thread mskonda
Vikas, it depends on where your login module is looking the authentication details. If you are working on the JBM defaults, it reads the users and roles from two files: messaging-roles.properties and messaging-users.properties. These files should be available under deploy/jboss-messaging.sar

[jboss-user] [JBoss Messaging] - Re: Running JBoss Messaging on JBoss AS 4.0.4 ?

2007-11-19 Thread mskonda
As far as I can tell, JBM can run on 4.0.x series without any major issues. I am running JBM 1.2.GA on 4.0.5.GA in Production! Although this is not advisable, due to many restrictions in the project, we have no option except running JBM on 4.0.5.GA. All seems well (except few minor quirks) so

[jboss-user] [JBoss Messaging] - Re: Does JBossMessaging imposes Message Order?

2007-10-25 Thread mskonda
Here we go: My requirement is to fetch the messages from a topic in the same order they have been published. If Messages M1, M2, M3 are published in that order, my consumers should receive them in the same order -- M1, M2 and M3. Is this possible with JBM 1.2? View the original post :

[jboss-user] [JBoss Messaging] - Re: Does JBossMessaging imposes Message Order?

2007-10-25 Thread mskonda
Tim, could you explain me why this isn't possible for Topic?AFAIK, if there's only one subscriber, the order is preserved. However, why is it different if I have multiple subscribers? Could you give me details technically? View the original post :

[jboss-user] [JBoss Messaging] - Does JBossMessaging imposes Message Order?

2007-10-24 Thread mskonda
Tim/Team I have a business requirement to preserve the order of messages posted on a topic. AFAIK, JMS doesn't define the message ordering. However, few providers went a mile ahead and implemented message ordering above the spec. How about JBM? If I use 1.2.0, can I get the Message order by

[jboss-user] [JBoss Messaging] - Re: Removing a single message

2007-10-12 Thread mskonda
http://jira.jboss.com/jira/browse/JBMESSAGING-1106 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094582#4094582 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094582 ___

[jboss-user] [JBoss Messaging] - Re: RedeliveryDelay is not honoured

2007-10-10 Thread mskonda
Tim, I am looking for *RedeliveryDelay* to introduce a time gap before redelivery of the failed delivery - usually after a rollback set in MDB due to an exception. My messaging-service.xml has this attribute set as attribute name=DefaultRedeliveryDelay1/attribute I tried to set the

[jboss-user] [JBoss Messaging] - Removing a single message

2007-10-10 Thread mskonda
Tim/Team Is there a way we could add new feature to remove a single message from the Destination, perhaps based on a message id? Currently, we can only remove *all* messages, but this feature would be helpful so I can pick and delete a message individually. Thansks Madhu View the original

[jboss-user] [JBoss Messaging] - RedeliveryDelay is not honoured

2007-10-09 Thread mskonda
JBM 1.2_SP2 JBoss 4.0.5.GA I have set up RedeliveryDelay attribute to 50 to test a simple scenario - however, the messages are delivered to MDB instantly inspite of this delay. I have the DefaultRedelveryDelay set to 10 too. Any pointers as to what happening here? View the original

[jboss-user] [JBoss Messaging] - Publishing a message in 'NotSupported' EJB

2007-09-19 Thread mskonda
I have a situation that I need to publish a message in a NotSupported method of an EJB. However, when I do the publication, the message doesn't appear. To give you more background, read the below: Once the publication is completed, the NotSupported method returns to the caller and the flow

[jboss-user] [JBoss Messaging] - Re: Publishing a message in 'NotSupported' EJB

2007-09-19 Thread mskonda
Why would you recommend not to use JmsXA, tim? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4085975#4085975 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4085975 ___ jboss-user

[jboss-user] [JBoss Messaging] - Re: Publishing a message in 'NotSupported' EJB

2007-09-19 Thread mskonda
Would you remember the bug link, Genman? Thanks Madhu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4086242#4086242 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4086242 ___

[jboss-user] [JBoss Messaging] - Re: Problem with destination's name using slash

2007-08-29 Thread mskonda
I don't think (I may be wrong) that JBM supports subcontext creation during destination deployment (useful feature though). That is, in your case, for creating /var/spool/test, it first has to create a context called var followed by another subContext call spool and then another subContext

[jboss-user] [JBoss Messaging] - Re: Missing 1.2.0 downloads from JBM downloads page

2007-08-10 Thread mskonda
Nope, sourceforge has got only until 1.2.0.GA (I am after 1.2.0.SP1) - I can download from SVN, but am looking for a pre-built binary. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4072905#4072905 Reply to the post :

[jboss-user] [JBoss Messaging] - Missing 1.2.0 downloads from JBM downloads page

2007-08-10 Thread mskonda
I am not sure if this is deliberate, I can't see 1.2.0.GA/SP1 versions of JBM on downloads page: http://labs.jboss.com/jbossmessaging/downloads I am planning to upgrade to SP1 but couldn't see SP1 (or SP2) added to the downloads list. I am stuck with JBoss 4.0.5.GA and hence won't be able to

[jboss-user] [JBoss Messaging] - Re: Missing 1.2.0 downloads from JBM downloads page

2007-08-10 Thread mskonda
Also, could you please confirm me that the SP_patch_00017255 succeds 1_2_0_SP1 (I am sure it must have, but want to double check). Thanks Madhu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4072893#4072893 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Missing 1.2.0 downloads from JBM downloads page

2007-08-10 Thread mskonda
Okay Tim, understandable. I'll do the way it's been asked. Thanks Madhu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4072919#4072919 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4072919

[jboss-user] [JBoss Messaging] - Issue with default clientId on ConnectionFactory

2007-07-25 Thread mskonda
I have setup a connectionfactory with a default client id as shown below: | ?xml version=1.0 encoding=UTF-8? | server | loader-repositoryjboss.messaging:loader=ScopedLoaderRepository | loader-repository-configjava2ParentDelegation=false/loader-repository-config

[jboss-user] [Security JAAS/JBoss] - Wierd seucrity login module questions!!

2007-07-06 Thread mskonda
My goal is to encrypt datasouce passwords in our current production system. I followed the wiki and wrote a class (module) of my own. I've created (almost copied) the SecurityIdentityLoginModule to have properties such as pbePass, algo, salt and iterationCount configured. I did the following:

[jboss-user] [JCA/JBoss] - Encypted Passwords in datasources: Custom Login Module?

2007-07-04 Thread mskonda
I'm planning to use SecureIdentityLoginModule and PBEIdentityLoginModule for encrypting these passwords as it was mentioned on Wiki. However, I have a particular requirement that in PBEIdentityLoginModule, the pbepass, salt and prefereably iteration count to be provided by secured config

[jboss-user] [JBoss Messaging] - subscription client id: does not allow dots

2007-07-02 Thread mskonda
I'm not sure if it's a restriction placed by JBM, but it seems that if have a dot in the client or subscription id, I get an IllegalArgumentException: Invalid message queue name: testDurableSub.x.y.x [I can see that identifying the sub id and client id from above pattern is not possible and

[jboss-user] [JBoss Messaging] - Lookup for JmsXA returning null

2007-06-21 Thread mskonda
Probably a silly question, but couldn't figure out why - I've configured JmsXA to be enlisted in Global Name Space and deployed (see below) 20070621 09:00:32.333 INFO [main] ConnectionFactoryBindingService.Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI

[jboss-user] [JBoss Messaging] - Re: Lookup for JmsXA returning null

2007-06-21 Thread mskonda
And this is my tx-connection-factory definition: !-- JMS XA Resource adapter, use this to get transacted JMS in beans -- |tx-connection-factory | jndi-nameJmsXA/jndi-name | use-java-contextfalse/use-java-context | xa-transaction/ | rar-namejms-ra.rar/rar-name

[jboss-user] [JBoss Messaging] - Re: Lookup for JmsXA returning null

2007-06-21 Thread mskonda
BTW, I am accessing the CF from a Stanalone client (and hence JmsXA bound to Global NS) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4056320#4056320 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4056320

[jboss-user] [JBoss Messaging] - Re: Lookup for JmsXA returning null

2007-06-21 Thread mskonda
Does't say anything here thuogh: http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigConnectionFactory What I'm trying to achieve is like this: In a standalone client, I need to use UserTransaction to scope JMS and DB work. That is, I need to send a message and update the DB, all in one

[jboss-user] [JBoss Messaging] - Re: Lookup for JmsXA returning null

2007-06-21 Thread mskonda
Hello Tim, this is what I did and it works!! | /** | * Method that receives the messages on the specific destination and persist | * them into a database table all in one transaction. | * | * If the transction is committed, the message is consumed from the |

[jboss-user] [JBoss Messaging] - Re: Lookup for JmsXA returning null

2007-06-21 Thread mskonda
Tim, I've changed this to XAConnectionFactory (somewhere I read that XAConnectionFactory is used internal:( - wrong iterpretation, I guess). I do understand the concerns raised, I'm putting forward them. Thanks Madhu View the original post :

[jboss-user] [JBoss Messaging] - Re: Listing JMS Messages using JMX doesn't give full message

2007-05-30 Thread mskonda
Lovely! Tim, could you tell me what the fix is (probably I'll build into my local copy)? I can't wait.. :) Thanks Madhu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4049672#4049672 Reply to the post :

[jboss-user] [Management, JMX/JBoss] - Restricting secure access to JMX Console

2007-05-30 Thread mskonda
All, I have followed the wiki documentation to set up jmx and web console security. All is good till this point. Is it possible to have a bit more granular level security? That is, user depending upon the role, can browse, invoke or no access the MBeans? With the current setup, once if user

[jboss-user] [JBoss Messaging] - Listing JMS Messages using JMX doesn't give full message

2007-05-29 Thread mskonda
I have developed set of tools to browse messages on destinations for Kabutar. The approach I've taken is to use JBoss JMS MBeans rather than clumsy JMS QueueBrowser. I am able to create/fetch the MBean responsible for the destination of my interest, however, when I try to have a peek at the

[jboss-user] [JBoss Messaging] - Re: Queue MessageCount - JMX Help

2007-05-25 Thread mskonda
You can locate/create a Queue/TopicMBean by following method (from Kabutar): | private void initDestinationInfo(String destName, String type) | { | | try | { | | mBeanServer = JMXUtil.getMBeanServer(ContextUtil.getContext()); | |

[jboss-user] [JBoss Messaging] - Passing encrypted password to connectionfactory.createConnec

2007-05-25 Thread mskonda
I'm wondering if I can pass a encrypted password to create a connection from connection factory: | connection = connectionFactory.createConnection(username,encrypted_password); | My application-policy has been set up to use custom database login module which reads/writes

[jboss-user] [EJB/JBoss] - Re: EJB2.1:UserTransaction with CMT- possible bug?

2007-05-22 Thread mskonda
anonymous wrote : The execution of a method of an enterprise bean with container-managed transaction demarcation | for which the value of the transaction attribute is NOT_SUPPORTED, NEVER, or SUPPORTS. However Wayne, I am able to use UT from a REQUIRED method too, which I think the above

[jboss-user] [JBoss Messaging] - Re: Queue attributes not being implemented

2007-05-22 Thread mskonda
Tim, i think this thread is related: http://www.jboss.com/index.html?module=bbop=viewtopicp=4031979#4031979 Some of the attributes are ommitted and a JIRA case(JBOSSMESSAGING-938) has been raised. I am not sure of the status of the JIRA case though. Thanks Madhu View the original post :

[jboss-user] [EJB/JBoss] - EJB2.1:UserTransaction with CMT- possible bug?

2007-05-21 Thread mskonda
I have a CMT bean with a method set to Never as tx attribute. - If I get the UserTransction from SessionContext(), I do get an IllegalStateException (java.lang.IllegalStateException: CMT beans are not allowed to get a UserTransaction) which is expected - However, I am able to get the same UT

[jboss-user] [EJB/JBoss] - Re: EJB2.1:UserTransaction with CMT- possible bug?

2007-05-21 Thread mskonda
Thanks for your answer Wayne. Irrespective of the attrubute type, the use of UT is prohibited. So my point is - the use of UT in CMT is not allowed according to EJB Spec but looks like we have a way to get around this restriction (if I am not missing something obvious :) ) Whenever my method

[jboss-user] [JBoss Messaging] - Kabutar - GUI platform for Enteprise Messaging

2007-05-11 Thread mskonda
Hello All, Screen shots of Kabutar(Browze): http://www.euroindian.com/images/stories/kabutar_screenshot1.jpg http://www.euroindian.com/images/stories/kabutar_screenshot3.jpg http://www.euroindian.com/images/stories/kabutar_screenshot3.jpg I've been working on a personal project since few

[jboss-user] [JBoss Messaging] - Re: Kabutar - GUI platform for Enteprise Messaging

2007-05-11 Thread mskonda
The GNU General Public License (GPL). (Don't quiz me more about these licenses - I'm in a process of reading them :) ). Throw any suggestions if you have regarding licensing, Ovidiu. Thanks Madhu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4045076#4045076

[jboss-user] [JBoss Messaging] - Re: Kabutar - GUI platform for Enteprise Messaging

2007-05-11 Thread mskonda
Ovidiu and Tim, I have changed the license to LGPL. Thanks for the pointers. Madhu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4045143#4045143 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4045143

[jboss-user] [JBoss Messaging] - Re: Security config in 1.2.0.sp1

2007-05-02 Thread mskonda
I am not entirely sure if this helps, but in your datasource configuration, you may have to add the security-domain bit instead of username and password: security-domainmessaging/security-domain Thanks Madhu View the original post :

[jboss-user] [JBoss Messaging] - Re: Security config in 1.2.0.sp1

2007-05-02 Thread mskonda
ofcourse 'messaging' being your application policy defined in yoru login-config.xml (I see you have defined as messaging) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4042516#4042516 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Cannot create timer table

2007-05-01 Thread mskonda
The ejb is accessing the timerservice for which it requires (if you turn it on) to persit the timers in database. Did you have DefaultDS configured properly so it can create the table-if-not-exists? I would first check the DefaultDS datasoruce config, then check the user if he has permission

[jboss-user] [JBoss Messaging] - Re: Cannot create timer table

2007-05-01 Thread mskonda
u know how to turn it off, dont' u? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4042086#4042086 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042086 ___ jboss-user mailing list

[jboss-user] [JBoss Messaging] - Re: Cannot create timer table

2007-05-01 Thread mskonda
Check the deploy/ejb-deployer.xml. You may have to comment org.jboss.ejb.txtimer.DatabasePersistencePolicy mbean block and enable org.jboss.ejb.txtimer.NoopPersistencePolicy block (which is curretnly closed). Thant should do the trick View the original post :

[jboss-user] [JBoss Messaging] - Re: ServiceBindingManager config is not honoured

2007-04-30 Thread mskonda
Tim/Team? Any feedback on this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041808#4041808 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041808 ___ jboss-user mailing list

[jboss-user] [JBoss Messaging] - Re: ServiceBindingManager config is not honoured

2007-04-30 Thread mskonda
Tim, what about other attribtes, such as: callbackStore clientSocketClass serverSocketClass NumberOfCallRetries etc.. Do you suggest we should supply these attributes same way as that long string? Thanks Madhu View the original post :

[jboss-user] [JBoss Messaging] - Re: ServiceBindingManager config is not honoured

2007-04-30 Thread mskonda
I tried applying your fix Tim, but the conenctor is still startign on the port specified in remoting-service.xml (at 4457 port instead of my defined one in bindings file) Also, the after ever poperty=value in the above string must be read as (else will get a SAX exception) View the original

[jboss-user] [JBoss Messaging] - Re: ServiceBindingManager config is not honoured

2007-04-27 Thread mskonda
Tim, here's my service-config def in bindings file: | config | invoker transport=bisocket | attribute name=marshaller isParam=trueorg.jboss.jms.server.remoting.JMSWireFormat/attribute | attribute name=unmarshaller

[jboss-user] [JBoss Messaging] - Re: Number of topic subscriptors

2007-04-11 Thread mskonda
You mean subscriptions, right? Go to the JNDIView of the relevant Topic and invoke listAllSubscriptions() to get the list of all subscriptions. Thanks Madhu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4036438#4036438 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Number of topic subscriptors

2007-04-11 Thread mskonda
Here's the method that would do what you need. | private void testSubscriptionsList(String destName, String type) throws Exception { | | QueueMBean queueMBean = null; | TopicMBean topicMBean = null; | | try { |

[jboss-user] [JBoss Messaging] - Re: How to configure MDB to listen to a queue from a remote

2007-04-10 Thread mskonda
Read this link - shout if you have any questions: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMessagingUser_Enabling_access_to_remote_JBoss_Messaging_instance Madhu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035901#4035901 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Problem sending message from container using Managed con

2007-04-10 Thread mskonda
By any chance do you have JBM installed on the local server (A) too? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035928#4035928 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035928

[jboss-user] [JBoss Messaging] - Re: Problem sending message from container using Managed con

2007-04-10 Thread mskonda
Also, the JmsXA will return a XAConnectionFactory. Are you starting a Tx but not committing? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035929#4035929 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035929

[jboss-user] [Security JAAS/JBoss] - Using encrypted passwords in datasource config files directl

2007-04-04 Thread mskonda
I am wondeirng if there's any alternative to encrypt datasource passwords? I have followed http://wiki.jboss.org/wiki/Wiki.jsp?page=EncryptingDataSourcePasswords the link. However, my requirement is slightly variant. My requirement is to create the *-ds.xml with encrypted password quoted in

[jboss-user] [JBoss Messaging] - Re: ServiceBindingManager config is not honoured

2007-04-03 Thread mskonda
Thanks Clebert. Any idea when is gonna go for implementation? Would please raise a JIRA request on this issue? Thanks Madhu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4033913#4033913 Reply to the post :

[jboss-user] [JBoss Messaging] - Where is JBossMessaging Team :)

2007-04-02 Thread mskonda
Holidaying? Burried in code writing? Guys, where are you hiding? We miss you here..he he Thanks Madhu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4033613#4033613 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4033613

[jboss-user] [JBoss Messaging] - Re: Where is JBossMessaging Team :)

2007-04-02 Thread mskonda
That's sad news Ovidiu. We must have bored you here at Messaging :) You have been quite patient and understanding. I must commend you in bringing JBM to this great stage, ofcourse with your Team. Where are you surfacing, I mean which team? /Thanks Madhu View the original post :

[jboss-user] [JBoss Messaging] - Re: ServiceBindingManager config is not honoured

2007-04-02 Thread mskonda
Sorry clebert, I posted the wrong code (yes older version) by mistake by in actual I am usign this one Clebert (which is the new one): !-- * JBoss Messaging -- | | service-config name=jboss.messaging:service=Connector,transport=socket |

[jboss-user] [JBoss Messaging] - Re: Set up JBOSS AS 4.0.5 with JBOSS MQ(Confiurations)

2007-03-30 Thread mskonda
I think you are posting this in the wrong forum - post it back in JBossMQ forum. JBossMQ is default JMS provider with JBoss-4.0.5. Thanks Madhu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4033047#4033047 Reply to the post :

[jboss-user] [JBoss Messaging] - ServiceBindingManager config is not honoured

2007-03-30 Thread mskonda
JBM-1.2.0.GA JBoss 4.0.5.GA I have updated my binginds file to reflect the service-config for ServiceBindingManager (shown below): service-config name=jboss.messaging:service=Connector,transport=socket | delegateClass=org.jboss.services.binding.AttributeMappingDelegate

[jboss-user] [JBoss Messaging] - Re: Failed to get a server session

2007-03-30 Thread mskonda
Good analysis. How did you resolve? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4033217#4033217 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4033217 ___ jboss-user mailing

[jboss-user] [JBoss Messaging] - Re: Set MaxDeliveryAttempts parameter

2007-03-27 Thread mskonda
JBM UserGuide says: anonymous wrote : The maximum number of delivery attempts can be specified using the attribute DefaultMaxDeliveryAttempts for a global default or individually on a per destination basis. So, this should work for a individual destination(I have not tried): |mbean

[jboss-user] [JBoss Messaging] - Re: Set MaxDeliveryAttempts parameter

2007-03-27 Thread mskonda
Looking at the code, I don't think that's been implemented although mentioned in the doc: Here's DestinationMBean's definition@ | public interface DestinationMBean | { |// JMX attributes | |String getName(); | |String getJNDIName(); | |void

[jboss-user] [JBoss Messaging] - Re: Expired messages remain on queue

2007-03-27 Thread mskonda
You may be true - I tried posting to a Queue with expiration, but seems persisted with value 0 (no expiration). Possible bug? Thanks /Madhu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4032072#4032072 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: JMS Exceptions / Mismatch of JBossSerialization version

2007-03-23 Thread mskonda
imaeses, that was a good post. I can't deny your conclusions about Solaris, but only I can add my observations: I have had no problems with Solaris/Linux machines but Windows. So, I am not sure whether this problem is related with machines/OSs at all. However, as it was hitting our

[jboss-user] [JBoss Messaging] - Re: JMS Exceptions / Mismatch of JBossSerialization version

2007-03-23 Thread mskonda
Also, as Ovidiu suggested, as you are still having the issues with SP4, re-open the bug: http://jira.jboss.org/jira/browse/JBMESSAGING-749 Thanks Madhu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4031010#4031010 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Queue configuration for application or for JBoss?

2007-03-21 Thread mskonda
1.create a *-destination-service.xml file and deploy it under deploy directory with the followign example contents: | server | loader-repository | jboss.messaging:loader=ScopedLoaderRepository | loader-repository-configjava2ParentDelegation=false/loader-repository-config |

[jboss-user] [JBoss Messaging] - Re: Running jboss-messaging client in the JBoss AppServer

2007-03-20 Thread mskonda
As you have not deployed your MBean in a scoped env (unfortunately you should have them scoped - there's a work around, see below), your JMS client is failing.. So, the best and official way is - to scope your client! Unofficial way - replace the JBoss's jboss-remoting.jar with those bundled

[jboss-user] [JBoss Messaging] - Re: Scoped classloaders question

2007-03-20 Thread mskonda
Probably this link may answer your question: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMessagingUser_Deploying_a_scoped_MDB_container Although it's for deploying scoped MDB, principal should be same, I suppose. Thanks Madhu View the original post :

[jboss-user] [JBoss Messaging] - Re: Running jboss-messaging client in the JBoss AppServer

2007-03-19 Thread mskonda
you have (AFAIK) two choices: 1. create an EJB that can publish messages using standard JMS API (and ofcourse using MDB to subscribe/consume) 2. Create a service (MBean) that can instantiate your test client (if you expose a method on the MBean, it can be invoked via JMX console. Thanks Madhu

[jboss-user] [JBoss Messaging] - Re: Running jboss-messaging client in the JBoss AppServer

2007-03-19 Thread mskonda
have you had a chance to look at this: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMessagingUser_Enabling_access_to_remote_JBoss_Messaging_instance Hope this helps. Shout if not. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4029421#4029421 Reply to the

[jboss-user] [JCA/JBoss] - Hibernate+JBossTS+SybaseXA=XAException

2007-03-15 Thread mskonda
Have a look at the initial discussion about the ssue: http://www.jboss.com/index.html?module=bbop=viewtopicp=4028316#4028316 Weston, here's the stack trace: | 2007-03-15 13:47:12,563 INFO [test.com.cmi2.hib.HibernateMDB] --- setMDBContext | 2007-03-15 13:47:12,568 INFO

[jboss-user] [JCA/JBoss] - Re: Hibernate+JBossTS+SybaseXA=XAException

2007-03-15 Thread mskonda
Interestigly, if I chage the *ds file to reflect Loal XA DS, everythings woks fine! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4028402#4028402 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4028402

[jboss-user] [JCA/JBoss] - Re: Hibernate+JBossTS+SybaseXA=XAException

2007-03-15 Thread mskonda
Eurekha! it wored..!!C an you give me a brief explanation Weston? Thanks for your help. Thanks Madhu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4028425#4028425 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4028425

[jboss-user] [JBoss Messaging] - Re: XARecovery: setting the provider name

2007-03-15 Thread mskonda
I couldn't find appropriate proeprty to delay the intiial RM startup Tim. properties depends=arjuna name=recoverymanager | !-- | Properties used only by the RecoveryManager. | -- | !-- | Periodic recovery settings. | Time values in this

[jboss-user] [JBoss Messaging] - mising topic info from JBM_POSTOFFICE table

2007-03-14 Thread mskonda
I tried to figure out the topic info from the JBM_POSTOFFICE table (1.2.0.GA), but it seems I can only see queue.* stuff. I don't think this is intended. (check your database explorer or hypersonic to see the table details). Out of curiosity, does this table replace the older CHANNEL_MAPPING

[jboss-user] [JBoss Messaging] - sybase-persistence file has a key word

2007-03-14 Thread mskonda
The sybase-persistence-service.xml has a column called CLUSTERED in table JBM_POSTOFFICE. Unfortunately this is a keyword in sybase and hence needs to be changed appropriately (I''ve changed to JBM_CLUSTERED) My Sybase version: ASE:12.5 Thanks MAdhu View the original post :

[jboss-user] [JBoss Messaging] - Re: mising topic info from JBM_POSTOFFICE table

2007-03-14 Thread mskonda
BTW, the info is correctly shown in JNDIView View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4027908#4027908 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4027908 ___ jboss-user

[jboss-user] [JBoss Messaging] - XARecovery: setting the provider name

2007-03-14 Thread mskonda
In the earlier versions of JBM, I used to provide the providerName using the format shown below | property name=com.arjuna.ats.jta.recovery.XAResourceRecoveryMessaging value=org.jboss.jms.recovery.JMSProviderXAResourceRecovery;ProviderName=DefaultJMSProvider/ | (Ofcourse the class

[jboss-user] [JBoss Messaging] - Re: XARecovery: setting the provider name

2007-03-14 Thread mskonda
Sorry Tim, I didn't get you there. How do you provide the proivder name? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4027989#4027989 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4027989

[jboss-user] [JBoss Messaging] - Re: XARecovery: setting the provider name

2007-03-14 Thread mskonda
As RecoveryManager starts before the DefaultJMSPrvider is hooked up, we may receive name not found exceptions something like this: | 2007-03-14 16:14:26,542 INFO [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.recovery.info.loading] Local XARecoveryModule loading

[jboss-user] [JBoss Messaging] - VeifyError when talking to remote JMS server

2007-03-08 Thread mskonda
Hello all, I have a local JBossAS (with co-existing JMS but unsed!) and a remote JMS (purley JMS stuff) servers running parallel. I've upgraded JBM to 1.2.0GA (JBoss4.0.3SP1)on both the servers (infact, I've built new instances to make sure nothing hangs from the previous installations)

[jboss-user] [JBoss Messaging] - Re: VeifyError when talking to remote JMS server

2007-03-08 Thread mskonda
I had to go with another version of AOP+Remoting then! But, in the current state, I have got all the latest stuff (BTW, currently I downloaded JBoss 4.0.5GA - So,I've moved to Jboss.4.05GA + JTS 4.2 +JBM 1.2.0GA) Are you not in UK tim? View the original post :

[jboss-user] [JBoss Messaging] - Re: VeifyError when talking to remote JMS server

2007-03-08 Thread mskonda
This is the exception by upgrading to all new stuff: 17:49:13,881 ERROR [JMSContainerInvoker] Reconnect failed: JMS provider failure detected for testMDB | java.lang.IllegalAccessError: tried to access class org.jboss.aop.ClassAdvisor$1 from class org.jboss.aop.ClassAdvisor | at

[jboss-user] [JBoss Messaging] - Re: VeifyError when talking to remote JMS server

2007-03-08 Thread mskonda
I've completely started from a clean state tim. Thre's no chance that there's any old jar lying around. When I drop in a MDB (I've got the DefaultJMSProvider setup correctly) in the EAI app sefver, I get the IllegalAccessError! View the original post :

[jboss-user] [JBoss Messaging] - Re: VeifyError when talking to remote JMS server

2007-03-08 Thread mskonda
It is set to false Tim: false No, the servers are running under no security. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4026384#4026384 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026384

[jboss-user] [JBoss Messaging] - Re: VeifyError when talking to remote JMS server

2007-03-08 Thread mskonda
It was clebert, the earlier message was posted to (too much used to type Tim :)). The first stack trace was with jboss-4.0.3SP1+1.0.1GA (+inhouse XA) Second one was wtih JBoss-4.0.5GA+JBM1.2.0GA Currently I'm working on second setup (almost ditching the first one in favour of second *if*

[jboss-user] [JBoss Messaging] - JBM-LDAP Security

2007-02-23 Thread mskonda
Guys, excuse me if answered earlier - but wondering the procedure to secure JBM based on LDAP? Any pointers are much appreciated! Thanks Madhu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4021038#4021038 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: JMS Exceptions / Mismatch of JBossSerialization version

2007-01-12 Thread mskonda
Tim, I don't have those properties in my remoting-service.xml or bindings.xml files. So, I have added and changed the serializatingtype to jms and deployed. I get this NCFE: | 14:31:22,168 ERROR [SocketServerInvoker] Failed to accept socket connection | java.lang.ClassNotFoundException: No

[jboss-user] [JBoss Messaging] - Re: JMS Exceptions / Mismatch of JBossSerialization version

2007-01-12 Thread mskonda
Ohh IC..I missed the boat.. However, in my remoting-service.xml, I have serializationtype attribute set to jboss instead of jms as mentioned in the posted example file. Does this attribute really matters? View the original post :

[jboss-user] [JBoss Messaging] - Re: JMS Exceptions / Mismatch of JBossSerialization version

2007-01-12 Thread mskonda
He he he.. This comment in the xml file is quite serious - made me think if this could be of any priority..hence the post tim..he he.. !-- Serialization type must be jms - do not change! -- View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4000996#4000996 Reply

[jboss-user] [JBoss Messaging] - controlling Redelivery

2007-01-11 Thread mskonda
Is there a way I can control the redelivery timing? That is, I want to pause the redelviery for few secs before asking the MDB to retry the failed message. Probably some flag similar to redelivery atempts (MaxTimeRedelivered)? Thanks Madhu View the original post :

[jboss-user] [JBoss Messaging] - Re: controlling Redelivery

2007-01-11 Thread mskonda
Thanks for quick answer Tim. Unfortunately I am still on 1.0. Any quick workaround? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4000368#4000368 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4000368

[jboss-user] [JBoss Messaging] - MDB Redelivery bizarre behaviour

2007-01-11 Thread mskonda
I created a simple durable MDB. In my onMessage(), I create an Exception and throw it so that during try-catch, I'll rollback the Tx by calling mdbContext.setRollbackOnly(). I pump in messages to the destination where this MDB is listening to. First message is redelivered as expected. The

[jboss-user] [JBoss Messaging] - Mismatch version of JBossSerialization signature

2006-12-27 Thread mskonda
Server A is purely an applicaiton server (call it as EAI server) without JMS (JBossMessaging) capabilities. Server B is purely JMS server (with JBossMessage 1.0.1GA) call it as JMS Server. The EAI server has been started on Dec 21 at 11pm. It connected to JMS server and all is happy. On 23rd

[jboss-user] [JBoss AOP] - Re: How can we pointcut JBoss classes?

2006-11-15 Thread mskonda
Hello Kabir Followed your instructions: - I unjar'd jnpserver.jar - I ran aopc on the unjar'd classes - I deployed the new aop'd jar (jnpserver-aop.jar) to the server (removed the existing jnpserver.jar) - I changed the base-aop.xml to include my bind poincut expression (mentioned earlier) I

  1   2   >