Still searching for a answer. Am I doing anything terribly wrong
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111839#4111839
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111839
__
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 lo
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=bb&op=viewtopic&p=4093866#4093866
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093866
__
Forgot to mention my JBOSS version it is 4.0.5 GA
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092844#4092844
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092844
___
jboss
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 facing.
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 I
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 [JMS
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 excep
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.
abcd
To remind again, I am using 4.0.5 G
"[EMAIL PROTECTED]" wrote : Interesting, there is a configuration property that
lets you decide how the
| URL is selected, i.e. how it fails over. But it is not properly configured
or documented.
| http://jira.jboss.com/jira/browse/JBAS-4490
|
Adrian/Vicky,
Sorry to take your time again
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=bb&op=viewtopic&p=4065254#4065254
Reply to the p
same exception even when I tried
InitialContext iniCtx = new InitialContext();
| Context ejbCtx = (Context) iniCtx.lookup("java:comp/env/ejb");
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063997#4063997
Reply to the post :
http://www.jboss.com/index.ht
ejb-jar.xml
LicenseVerifier
com.dhyan.nms.server.common.license.interfaces.LicenseVerifierHome
com.dhyan.nms.server.common.license.interfaces.LicenseVerifier
com.dhyan.nms.server.common.license.interfaces.LicenseVerifierLocalHome
com.dhya
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");
| LicenseVerifierLocalHom
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=bb&op=viewtopic&p=4063801#4063801
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=406
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
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 cab
Still searching. for an option to do it
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054190#4054190
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054190
___
jbo
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 :
http://www.jboss.com/ind
I am using jboss-4.0.5.GA and MySQL 5.0
My default-ds.xml configuration is
...
jdbc:mysql://test1,test2/TESTDB?zeroDateTimeBehavior=convertToNull&failOverReadOnly=false
I want to do some specifc operations whenever a database failover occurs.
I would like to know, how to impleme
I am using jboss-4.0.5.GA and MySQL 5.0
My default-ds.xml configuration is
...
jdbc:mysql://test1,test2/TESTDB?zeroDateTimeBehavior=convertToNull&failOverReadOnly=false
I want to do some specifc operations whenever a database failover occurs.
I would like to know, how to implemen
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 pe
may help
http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=63&t=000532
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027059#4027059
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027059
___
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 :
http://www.jboss.com/index.htm
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.
I found it I was missing in my build file
Umakanth Srinivasan
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986752#3986752
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986752
___
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=bb&op=viewtopic&p=3986429#3986429
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 th
28 matches
Mail list logo