[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - How to use the COUNT keyword in JBoss-QL

2006-06-26 Thread hsaha
Hi, The Jboss documentation says it supports COUNT keyword in JBoss-QL. But when i put a count method in the home interface which returns int , the app server throws a spec violation saying it needs the remote instance. How do i use the COUNT feature effectively. Right now i an doing a 'select *

[JBoss-user] [Management, JMX/JBoss] - Re: J2EEApplication=null when EJB redeployed using JMX

2006-06-21 Thread hsaha
Yes, this is related to an embedded EJB in an EAR. Redeploying my EAR solves the problem, but that is not the intention at all. Since the EAR consists of tens of EJBs, we dont want to loose the other EJB services for that period. Is there any workaround for this? Regards Himadri View the

[JBoss-user] [Management, JMX/JBoss] - J2EEApplication=null when EJB redeployed using JMX

2006-06-16 Thread hsaha
Hi, I have written a EJB monitoring MBean service for handling Database failover scenarios. Basically this would redeploy the failed beans after the DB is up. I am trying to redeploy a failed EJB using the jboss.system:service=MainDeployer MBean by the redeploy(String url) method invocation.

[JBoss-user] [Management, JMX/JBoss] - Re: J2EEApplication=null when EJB redeployed using JMX

2006-06-16 Thread hsaha
Hi Dimitris, Thanks for ur reply. The failed EJB is a part of an EAR. That is why i am expecting J2EEApplication=xxxearnamexxx In fact before the EJB is redeployed, the Object name reads: jboss.management.local: EJBModule=,J2EEApplication=xx.ear,J2EEServer=Local, j2eeType=EntityBean,name=abcEJB

[JBoss-user] [Management, JMX/JBoss] - How to start a service when the Server is started

2006-05-23 Thread hsaha
Hi, Is there any way to start a service only after jboss is fully initialized. One way i know is to keep polling for jboss.system:type=Server Object's 'Started' attribute. Is there any other way so that i can mention that particular MBean as a 'depends' attribute for the new service i am

[JBoss-user] [JCA/JBoss] - Significance of MaxConnectionsInUseCount

2006-04-06 Thread hsaha
Hi, What is the significance of the MaxConnectionsInUseCount attribute in the ManagedConnectionPool. I am using jboss-4.0.2. Regards Himadri View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3935342#3935342 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - How to add a MBean method description and Param description

2006-04-04 Thread hsaha
Hi, How do we add a description of a method for an MBean in Jboss 4.0.2. Also how to add the param description. I want to achieve this without making the MBean an XmBean. Thanks in advance. Himadri View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3934723#3934723

[JBoss-user] [Security JAAS/JBoss] - Cache timeout for the Jboss security contexts

2006-03-29 Thread hsaha
Hi, My application demands that the cache for the cached principals should be less. Following are the settings for my container for jboss security credentials caching: DefaultCacheTimeout - 15 DefaultCacheResolution - 0 When i am continously accessing my web application, authentication requests

[JBoss-user] [Security JAAS/JBoss] - How to prevent multiple authentications in same thread

2006-03-21 Thread hsaha
Hi, I have a scenario where i have protected my web application and the EJBs. I have used the same security domain to protect them. It works fine, but the problem is that when the Servlets invokes one EJB/multiple EJBs, results in multiple authentication request due to each layer. Is there

[JBoss-user] [Security JAAS/JBoss] - How to remove the Authentication cache from JBoss Domain cac

2006-03-10 Thread hsaha
I would like to invalidate the Authentication cache on logout of a subject. Pls let me know how i can do that. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3929285#3929285 Reply to the post :

[JBoss-user] [Security JAAS/JBoss] - getUserPrincipal returns null in web application

2006-02-20 Thread hsaha
I am using a custom LoginModule whose commit() method looks like this: Set ssoUserPrincipals = subject.getPrincipals(SSOUser.class); Group callerPrincipal = new SimpleGroup(CallerPrincipal); Iterator j = ssoUserPrincipals.iterator(); if (j.hasNext()) {

[JBoss-user] [Security JAAS/JBoss] - Re: getUserPrincipal returns null in web application

2006-02-20 Thread hsaha
Just to add ... i am using JBoss 4.0.2. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3925226#3925226 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925226 ---

[JBoss-user] [Beginners Corner] - Using log4j with embedded tomcat-jboss

2005-06-29 Thread hsaha
Hi , Can anybody point to how log4j can be used with embedded tomcat. I am using jboss4.0.1. The server.xml in the embedded tomcat specifies org.jboss.web.tomcat.Log4jLogger as the logger. How can log4j be actually used. Checked out the wiki -- it says the categories for tomcat would be

[JBoss-user] [Installation Configuration] - How to disable jboss service during startup ..

2005-05-16 Thread hsaha
Hi , Is it possible to disable/not load jboss service(s) while startup without removing/removing the .sar directory. Any clues for that would be of great help. Regards Himadri View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3877798#3877798 Reply to the post :

[JBoss-user] [Advanced Documentation] - Need JBoss 3.0.2 documentation

2005-05-02 Thread hsaha
Hi , Can anybody provide me the link to JBoss 3.0.2 documentation. I have 3.0.7 doc but i want the earlier version. I need this to support for old customer issues. Regards Himadri View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3876095#3876095 Reply to the

[JBoss-user] [Clustering/JBoss] - Re: 60 seconds delay now and then

2005-04-21 Thread hsaha
Can you check whether the servers you are using for the cluster are connected to the same switch? There may be some multicasting issues. We had a similar problem which got solved when we put the servers in the same switch. Sounds weird.. but it solved our problem. Himadri View the original

[JBoss-user] [Management, JMX/JBoss] - How to specify a manager for an SNMP trap

2005-04-20 Thread hsaha
Hi , The SNMP manager and the config can be specified in managers.xml inside snmp-adaptor.sar. We can specify a list of managers. Can anybody let me know how to select a manager from the manager list for any particular trap. Thanks Himadri View the original post :

[JBoss-user] [Management, JMX/JBoss] - Re: How to specify a manager for an SNMP trap

2005-04-20 Thread hsaha
Hi Dimitris, Thanks for the reply. But won't it be good if the traps could have been sent only to the chosen manager, i.e one or more of them specified in managers.xml? Does this qualify for a feature request ? Himadri View the original post :

[JBoss-user] [Clustering/JBoss] - HA deployment takes a long time

2005-04-20 Thread hsaha
Hi , We are trying to setup HA in 2 nodes. We are deploying the application EARs in both. But while starting up JBoss, the deployment works fine for the node which is started first and takes some 5-7 mins which is ok . But for the second node (the one which is started later), it takes as long

[JBoss-user] [Management, JMX/JBoss] - Re: How to specify a manager for an SNMP trap

2005-04-20 Thread hsaha
My requirement is exactly what you understood. We have numerous SNMP managers which are capable in handling different SNMP traps. We should send only the relevant ones to the specific SNMP manager. Is there is any other way we can implement this ? Himadri View the original post :