[JBoss-user] [Management, JMX/JBoss] - Re: custom deployment listener / classloader

2006-04-30 Thread poojac20
Thanks Dimitris, this has given me a good starting point. Subdeployers is the keyword I was missing and calling it a custom deployer. I am hoping my question about the classloading will be solved through sub deployers itself; will post results. View the original post : http://www.jboss.com/

[JBoss-user] [Management, JMX/JBoss] - custom deployment listener / classloader

2006-04-29 Thread poojac20
This question is two parts: 1. I want to write a custom deployment listner, for lets say.xdr files or -mydr.xml files. To achieve that, do I need to refer to the code for DeploymentManagementService in jboss and extend it to write my own MBean? How can I tell jboss deploymentservice to ignore m

[JBoss-user] [Clustering/JBoss] - Re: simple clustering - no J2ee

2005-03-29 Thread poojac20
Yes, my service is an MBean, Listening on a port. So, I cant cluster it. right? I'll still work on the load balancer. Thanx for the reply. Regards --- Pooja. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871991#3871991 Reply to the post : http://www.jb

[JBoss-user] [Clustering/JBoss] - simple clustering - no J2ee

2005-03-24 Thread poojac20
Hi I am running a service inside JBoss - the service listens on a port - the long term plan is to have a complete J2EE Application running within to which my service will make calls. But for now it is a simple service , which for the sake of argument lets say simply echoes the request back.

[JBoss-user] [Security & JAAS/JBoss] - Crossposting: Disable Automatic Redirection to Last Accessed

2005-01-23 Thread poojac20
Sorry for crossposting but I was not getting any answer and I thought this is a better topic under which to post this question. I need to find out how I can disable automatic redirection to the last accessed resource after session timeout? I am using jboss 3.2.3 with embedded Tomcat 4.1. For

[JBoss-user] [HTTPD, Servlets & JSP] - How to disable Automatic Redirection to last accessed resour

2005-01-22 Thread poojac20
Hi I need to find out how I can disable automatic redirection to the last accessed resource after session timeout? I am using jboss 3.2.3 with embedded Tomcat 4.1. For authentication, I am using j_securitycheck along with JAAS DatabaseServerLoginModule. If the user clicks on a link when sess

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Posting Again: Can Servlet automatically listen to user-

2004-10-27 Thread poojac20
Actually, I have most of the business logic already available as EJBs. Hence J2ee as back end is already there. I need to use these EJBs and am trying to avoid RMI calls through another home-made server. And then I also thought IF JBoss can manage multiple sockets/threads/clients on its own

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Posting Again: Can Servlet automatically listen to user-

2004-10-26 Thread poojac20
Thanx robisz. Understood this connector thing now. But about using HttpURLConnection, in my case, this will not be possible - my client is a pos terminal which dials on to a modem and which then passes on to some server's specific port. Including a URL is not possible in this scenario. I am

[JBoss-user] [HTTPD, Servlets & JSP] - Posting Again: Can Servlet automatically listen to user-spec

2004-10-25 Thread poojac20
Sorry for cluttering the forum. I've already asked this question but without an answer. Hence posting again with more clarity. Is it possible to configure my servlet in such a way that it listens to a particular port, Say 7001? I want my clients to access this servlet NOT thru HTTP request to

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Can Servlet listen to user-specified port?

2004-10-04 Thread poojac20
More Question - What if I extend GenericServlet and write a non-protocol-specific Servlet? Can that be an answer to my problem? Can I make the appserver divert all requests to a port to this servlet's service method without having to write socket level code? View the original post : http://

[JBoss-user] [HTTPD, Servlets & JSP] - Can Servlet listen to user-specified port?

2004-10-03 Thread poojac20
Hi Yes/No Question. Is it possible to configure my servlet in such a way that it listens to a prticular port, Say 7001. I want my clients to access this servlet NOT thru HTTP request to jboss port 8080 but by posting bytes directly on 7001. The client only knows ip address & port number of th

[JBoss-user] [Management, JMX/JBoss] - accessing ejb from mbean service

2004-09-01 Thread poojac20
Hi I have an mbean service packaged as sar. and an enterprise app as ear. I need to access ejb methods from within this service. I understand that with jboss+tomcat it is possible to invoke ejb locally from within the servlet, if both ejb and servlet war are part of same ear. Can the same be

[JBoss-user] [Management, JMX/JBoss] - Re: Port Listener integrated with JBoss

2004-08-31 Thread poojac20
Hello While searching for how to write a service in jboss, I have more questions. http://www.huihoo.com/jboss/online_manual/3.0/ch13s26.html This Page seems to give a lot of information but none for simple services. "MBeans that are independent of JBoss services are the trival case and can be wri

[JBoss-user] [Management, JMX/JBoss] - Re: Dynamically Register an MBean

2004-06-07 Thread poojac20
hey guys! sorry for the mess in the post, I never saw the code tag and hence typed it manually. didn't know they were invisible ;) hope nobody minds it so much. --- Pooja. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837747#3837747 Reply to the post : h

[JBoss-user] [Management, JMX/JBoss] - Dynamically Register an MBean

2004-06-07 Thread poojac20
Hi I looked at an example of MBean, which deploys an EJB and the main () function from the MBean class registers the MBean. Ofcourse hence u first need to run that program from command prompt. Then the MBean is available. Taking inspiration from the example, I copied the code to register the

[JBoss-user] [EJB/JBoss] - Invalidate a Bean's Cache?

2004-04-04 Thread poojac20
Hi I'd like to have a commit-option which is something like commit option A, meaning not fetching from db everytime, assuming its own copy to be current, unless I manually set the beans cache to be invalid. So, basically everything will work as commit option A with an extra check if the bean

[JBoss-user] [EJB/JBoss] - General Question about Commit Option A

2004-04-04 Thread poojac20
Hi A very general question about Commit Option A, it says that the entity bean will never be re-fetched from the database , kind of read-only beans. The simple question is, if I only update the database through this bean (calling sets & create) and make sure no other party from outside updates

[JBoss-user] [Clustering/JBoss] - Re: Behaviour of Singleton Classes while Clustering?

2004-03-23 Thread poojac20
Thanx for the answer Ivelin. I did some search on this, & it seems its a relatively new addition. Read your article available at http://www.onjava.com/pub/a/onjava/2003/08/20/jboss_clustering.html on o'reilly and that clears certain things. But I have more questions. The example in this arti

[JBoss-user] [Clustering/JBoss] - Behaviour of Singleton Classes while Clustering?

2004-03-22 Thread poojac20
Hi A simple question of Yes/No. In case my application targets clustering in future, is it O K to use writable singleton classes in the ear? There is a case here when a singleton's properties are modified at run time. Of course this modification dictates further bahaviour of the application.