[JBoss-user] [EJB/JBoss] - Re: How to know if a bean instance is accessed by a local or

2006-05-25 Thread upankar
Performace is definitely one thing. But more than that, i am just curious to know if there is a straightforward way to getting to know the access type (local or remote) in the bean instance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946610#3946610 Reply

[JBoss-user] [EJB/JBoss] - Re: Bind or deploy local interfaces in JBoss 4.0.2

2006-05-23 Thread upankar
I am not sure what the problem could be. I have been using local interfaces in 4.0.2 perfectly fine. Did you bind your local EJB with in jboss.xml file while deploying ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945873#3945873 Reply to the post : ht

[JBoss-user] [EJB/JBoss] - Re: Setting timeout for EJB call

2006-05-23 Thread upankar
All EJB by default use JRMP invoker where there is no timeout configuration that can be done. For that to happen, you need to use PooledInvoker and set the SocketTimeOut attribute of it. Below is how you need to do it ... 1] Firstly, edit the jboss-service.xml to set the SocketTimeout attribute

[JBoss-user] [EJB/JBoss] - Re: How to know if a bean instance is accessed by a local or

2006-05-22 Thread upankar
Well ! i am actually trying to simulate streaming behaviour in a session bean. As we know IO streams are not serilizable and hence can not be used in EJB method return types, I am trying to put together a generic framework which can simulate the streaming behaviour. I got pretty successful in it

[JBoss-user] [EJB/JBoss] - How to know if a bean instance is accessed by a local or rem

2006-05-18 Thread upankar
Hi, Is there a way in stateful bean instance to know if it is being accessed by a local or remote client at present ? Two ways to know are - one when u have different arguments create() methods in their local and remote home interface, and secondly if u declare methods of different names or args

[JBoss-user] [Installation, Configuration & Deployment] - Patch deployment for ear application

2005-12-21 Thread upankar
I have an ear file that consists of two jars and one war. Now if i need to patch out 2/3 class files of one of the constituent jars, what is the standard way of doing it ? In a standalone envioronment (outside of an app server), we generally put the class files in exploded package/directory form

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Queue Messages are not listed in QueueBrowser when in 'w

2005-12-11 Thread upankar
Thanks for your answer. I do appreciate. But i have some apprehensions modifying the source code - I think Jboss controlls all code changes , patch etc, and doing on our own probably might not be legal. Hence, we have implemented a work-around. When we need re-delivery, we add the message back

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Queue Messages are not listed in QueueBrowser when in 'w

2005-12-07 Thread upankar
Sorry.. but i still dont find the answer in the help link.. My specific question is Is there a way to view the scheduled messages ( i.e. scheduled for redelivery) ? Because i could see that anything that is not acked by the MDB in CLIENT_ACK mode increases the scheduledMessageCount by 1 w

[JBoss-user] [Messaging, JMS & JBossMQ] - Queue Messages are not listed in QueueBrowser when in 'wait-

2005-12-07 Thread upankar
We have a JMS Queue configured with a MDB listening to it in jboss-4.0.2 . In onMessage() of MDB, I am throwing a runtime exception at the end of the method which makes the msg to be redelivered. But during that time (before redelivering), if i use QueueBrowser , i dont get to see the item. In

[JBoss-user] [JBossWS] - Re: HA of jboss style web service

2005-11-28 Thread upankar
we want to make the web service highly available with a simple load-balancing . One way we explored is to use the apache modjk in the front-as suggested in jboss docs. But this leads to a single point of failure. What if apache goes down ?? View the original post : http://www.jboss.com/index.

[JBoss-user] [JBossWS] - HA of jboss style web service

2005-11-25 Thread upankar
Hi.. I have a webservice deployed in Jboss 4.0.2 and implememented with service end point. Service is packaged as ear. is there a way to make it highly available - clustering , HASigleton etc ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908985#3908985

[JBoss-user] [JBossWS] - Re: Modifying the ws4ee webservice port

2005-11-09 Thread upankar
Ya.. I guess two http ports in one jboss instance - one port for web apps, another for web service is what i need to have. Anyone .. any idea of accomplishing this ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3906233#3906233 Reply to the post : http://w

[JBoss-user] [JBossWS] - Modifying the ws4ee webservice port

2005-11-08 Thread upankar
Hi.. In Jboss4.0.2 , When I have the ws4ee WebServicePort and catalina http port both as same, the web service works fine. However, if i change the web service port to different from http port, web service calls result in connection refused exception. Deployment looks fine, and also the WSDL s

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Peristent Message not redelivered even though MDB didnt

2005-10-04 Thread upankar
Thanks. It works.. But could you please explain why it is needed to call setRollBackOnly() ? My application didnt start any transaction, so a roll-back was not necessary. Or, is it that JMS provider always invokes MDB onMessage() on a transactional context implicitely ? Anyway.. Thanks again. A

[JBoss-user] [Messaging, JMS & JBossMQ] - Peristent Message not redelivered even though MDB didnt ackn

2005-10-03 Thread upankar
I am using jboss-4.0.2. We have a queue configured (with default org.jboss.mq.pm.jdbc2.PersistenceManager) and send persistent TextMessage to it from a client app. There is a MDB configured to consume in Client_acknowledgement mode from this queue. When there is a problem in processing the mess

[JBoss-user] [Messaging, JMS & JBossMQ] - how to configure file-based persistence manager for a queue

2005-09-26 Thread upankar
Hi, I couldnt configure file based persistence manager. The deployment fails with ClassNotFoundException for rollinglogged persistence manager. When i searched in jbossmq.jar, i couldnt find this class. Is file based persistence no longer supported from jboss4.0 onwards? The version I am using

[JBoss-user] [EJB/JBoss] - Re: Able to access EJB when the JBOSS instance is down - cac

2005-07-27 Thread upankar
And also if i undeploy the EJB from A, it behaves correctly and i am not able to aceess it from instance B's war app. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886770#3886770 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode

[JBoss-user] [EJB/JBoss] - Able to access EJB when the JBOSS instance is down - cache ?

2005-07-26 Thread upankar
I have two JBOSS instances, A and B, running under default partition. I have one ejb app running on A and one war app in B. Surprsingly, even if i make server A down, i am able to access the EJB on A from B. Is it cached view on B ? But if I have both of them up, and just undeploy the EJB from A

[JBoss-user] [EJB/JBoss] - Re: EJBException:Invalid invokation Exception while accessin

2005-06-25 Thread upankar
, and set Java2ClassLoadingCompilance and UseJbossWebLoader attributes as false Thanks Guys.. - Upankar View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882728#3882728 Reply to the post : http://www.jboss.org/index.html?module=bb&op=postin

[JBoss-user] [EJB/JBoss] - Re: JBoss 4.0.2 CreateException

2005-06-25 Thread upankar
ervice.xml , and set Java2ClassLoadingCompilance and UseJbossWebLoader attributes as false See it it works now.. - Upankar View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882727#3882727 Reply to the post : http://www.jboss.org/index.html?module=

[JBoss-user] [EJB/JBoss] - Re: EJBException:Invalid invokation Exception while accessin

2005-06-24 Thread upankar
Following is the full trace : 04:03:33,714 INFO [STDOUT] java.rmi.ServerException: EJBException:; nested exception is: javax.ejb.EJBException: Invalid invocation, check your deployment packaging, method=public abstract test.ejb.TestEJBInterface test.ejb.TestEJBHome.create() throws jav

[JBoss-user] [EJB/JBoss] - EJBException:Invalid invokation Exception while accessing fr

2005-06-24 Thread upankar
Hi, I get the exception (pasted below), when I try to invoke the create on home from a war app. Also, this is happening only when both jar and war are in the same JBOSS instance. This doesnt happen if i deploy them into two separate JBOSS instances, and then access the EJB from the war. Also, i

[JBoss-user] [JBossWS] - Transactional web service clients and JBOSS WS

2005-06-16 Thread upankar
Hi , Would like to know if there is anyway i can have a transactional web service client with JBOSS WS ? Upankar View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3881825#3881825 Reply to the post : http://www.jboss.org/index.html?module=bb&op=

[JBoss-user] [JBossWS] - Re: Security exception for service endpoint

2005-06-16 Thread upankar
Thomas, Thanks for ur response. It is working now.. there was something wrong in setting. Anyway, would like to know does jboss end point WS support transactions ? How can I achieve that if my want my web service clients to be able to initiate a transaction ? Rgds, Upankar View the original

[JBoss-user] [JBossWS] - Security exception for service endpoint

2005-05-31 Thread upankar
Hi, I have deployed a JbossStyle web service using service end point. I want to secure this using JBossWS security context. Below is what i configured in login-config.xml. I have users.properties and roles.properties in config folder users.properties