[jboss-user] [Security JAAS/JBoss] - Re: Capturing client IP address

2007-12-10 Thread kanth_seenu
Still searching for a answer. Am I doing anything terribly wrong View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4111839#4111839 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4111839

[jboss-user] [Security JAAS/JBoss] - Capturing client IP address

2007-12-02 Thread kanth_seenu
How do I capture the IP of the client which is attempting to login? I browsed some resources on net and found JBAS 1486. But its not clear about how to do the configuration. I am using JAVA client to connect to my JBOSS server, during the login process I would like to print the client IP in

[jboss-user] [Clustering/JBoss] - Re: NameNotFound Exception on switching over

2007-10-11 Thread kanth_seenu
Setting the state transfer timeout helped to solve the issue. Thanks for your time. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4093866#4093866 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4093866

[jboss-user] [Clustering/JBoss] - Re: NameNotFound Exception on switching over

2007-10-09 Thread kanth_seenu
Forgot to mention my JBOSS version it is 4.0.5 GA View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4092844#4092844 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4092844 ___

[jboss-user] [Clustering/JBoss] - Re: NameNotFound Exception on switching over

2007-10-08 Thread kanth_seenu
Thanks for the in detail reply. I was able to understand that there is no specific need for me to deploy the MD beans in only one node in a cluster. So I have modified my jboss-service file to deploy the MDB's in all my nodes at startup itself. Though this solved the major problem I was

[jboss-user] [Clustering/JBoss] - Re: NameNotFound Exception on switching over

2007-10-06 Thread kanth_seenu
Thanks for the reply Brian. If I am defining my problem correctly As soon as the switchover happens my MDBeans are not ready, some other signal makes them to get deployed and make them available. Until then any request to publish a message fails with NameNotFoundException So now, how will

[jboss-user] [Clustering/JBoss] - NameNotFound Exception on switching over

2007-10-05 Thread kanth_seenu
I have setup two nodes in cluster 1. The first node starts the clustered service successfully 2. The second waits to start the service Everything works fine upto this. Once the first node goes down, the immediate task that has to happen is to publish a JMS message. But what I get is just

[jboss-user] [Clustering/JBoss] - Re: NameNotFound Exception on switching over

2007-10-05 Thread kanth_seenu
I can also visualise that later after throwing warnings, the topics get created in some sequence. But since it was not available at the time when I expected it to be there, how can I add intelligence to my client to wait until available or am I totally wrong on this | 20:37:48,198 WARN

[jboss-user] [JCA/JBoss] - Re: Listening Database Failover

2007-08-27 Thread kanth_seenu
As suggested by you I went with approach 2 and added my class in default-ds file But the switchover happened without giving control to my class. Am I missing anything? Even with a junk value like the one below the switchover happened without issues.

[jboss-user] [JNDI/Naming/Network] - Re: RMI server as localhost and remote lookup

2007-07-17 Thread kanth_seenu
May be useful for someone who was wondering why ? :) Spotted the issue. Shutdown.jar was there in my classpath, It had jndi.properties file in it. Which caused all the issue. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4065254#4065254 Reply to the

[jboss-user] [JNDI/Naming/Network] - Re: JNDI lookup problem from remote client present in Extern

2007-07-13 Thread kanth_seenu
use -Djava.rmi.server.hostname=220.225.ZZZ.XXX in your server startup script. That will solve the problem View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4063801#4063801 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063801

[jboss-user] [Beginners Corner] - Re: Lookup ejb by its COMP_NAME

2007-07-13 Thread kanth_seenu
ejb-jar.xml ![CDATA[LicenseVerifier]] ejb-nameLicenseVerifier/ejb-name com.dhyan.nms.server.common.license.interfaces.LicenseVerifierHome com.dhyan.nms.server.common.license.interfaces.LicenseVerifier

[jboss-user] [Beginners Corner] - Lookup ejb by its COMP_NAME

2007-07-13 Thread kanth_seenu
I have given the code that I used to lookup a bean by its COMP_NAME, after googling for several hours, posting this here to get some clues atleast. Code: Context initial = new InitialContext(); | Object objref = initial.lookup(java:comp/env/ejb/LicenseVerifier); | LicenseVerifierLocalHome

[jboss-user] [JNDI/Naming/Network] - RMI server as localhost and remote lookup

2007-07-12 Thread kanth_seenu
JBoss throws unreachable exception while doing ejb local home lookups, when the network connectivity is not there. Then, I have set my rmi server codebase to localhost to avoid the unreachable host exception. -Djava.rmi.server.hostname=localhost After this the exception got arrested but I am

[jboss-user] [EJB/JBoss] - NoRouteToHostException on local lookup

2007-07-11 Thread kanth_seenu
I have read and understood that if I specify kind=physical in my tag in build script, even my local lookup's will use JNDI. I found some exceptions in my server log, when it was trying to do some local lookups and when my server had actually lost its network connectivity(I unplugged the

[jboss-user] [JCA/JBoss] - Re: Listening Database Failover

2007-06-13 Thread kanth_seenu
Still searching. for an option to do it View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4054190#4054190 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4054190 ___

[jboss-user] [JCA/JBoss] - Listening Database Failover

2007-06-07 Thread kanth_seenu
I am using jboss-4.0.5.GA and MySQL 5.0 My default-ds.xml configuration is ... connection-urljdbc:mysql://test1,test2/TESTDB?zeroDateTimeBehavior=convertToNullfailOverReadOnly=false/connection-url I want to do some specifc operations whenever a database failover occurs. I would

[jboss-user] [JCA/JBoss] - Re: Listening Database Failover

2007-06-07 Thread kanth_seenu
Thanks for the reply vicky. Had this in the queue, but what is the assurance that switchover will occur when the exceptions happens. Listening to the place which takes care of the actual switchover must be more meaningful than this. Am I right? View the original post :

[jboss-user] [Clustering/JBoss] - Listening Failover

2007-06-04 Thread kanth_seenu
I am using jboss-4.0.5.GA and MySQL 5.0 My default-ds.xml configuration is ... connection-urljdbc:mysql://test1,test2/TESTDB?zeroDateTimeBehavior=convertToNullfailOverReadOnly=false/connection-url I want to do some specifc operations whenever a database failover occurs. I would

[jboss-user] [Security JAAS/JBoss] - Re: Security for remote but not for local EJB?

2007-05-22 Thread kanth_seenu
I am facing the same issue currently, I am using 4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339) version of JBOSS. Is there any configurable parameter to achieve this. I tried the solution given by Scott above and got the below exception java.lang.SecurityException: Insufficient method

[jboss-user] [EJB/JBoss] - Re: Jboss Mysql unknown primary key

2007-03-11 Thread kanth_seenu
may help http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topicf=63t=000532 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4027059#4027059 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4027059

[jboss-user] [EJB/JBoss] - read-ahead and optimization

2007-02-14 Thread kanth_seenu
4.0.1sp1 version of jboss. In order to optimize the execessive queries fired to database by getter methods, I tried using the read-ahead tag. I have given the details about my configuration * @jboss.load-group | * name=modules | * description=module fields used in query | *

[jboss-user] [EJB/JBoss] - Re: read-ahead and optimization

2007-02-14 Thread kanth_seenu
On further reading I understood that the finder method and the getter must be a part of the same transaction. Better approach would be to use the @ejb.value-object, and use the getData() method from the localobject, and ignore read-aheads View the original post :

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Value object use

2006-11-16 Thread kanth_seenu
Hi Homer / Anyone, I need your help in understanding I just forgot to include the entitycmp subtask in the ejbdoclet I am struck at the same place where you are at the begining of this post. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3986429#3986429

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Value object use

2006-11-16 Thread kanth_seenu
I found it I was missing in my build file Umakanth Srinivasan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3986752#3986752 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3986752

[jboss-user] [EJB/JBoss] - Finder method return type

2006-11-15 Thread kanth_seenu
In our project after getting the local objects by finder methods we are explicitly converting the local objects to Value objects. This accounts to performance degradation when the record count is high, converting every object in loop Is there any decent way of achieving this other