Hi I'm new to
Jboss And I have spent days trying to solve this. Please help me!
I would like to configure JBoss 4.0.2 on Redhat linux 9. And I need to call remote EJBs from another PC across the internet.
It works fine when I modify /etc/hosts so that my hostname can be resolved to a valid IP address.
i.e.
127.0.0.1 localhost.localdomain localhost
xxx.xxx.xxx.xxx myHost.localdomain
where xxx.xxx.xxx.xxx is my valid IP
However my ISP often changes my IP address.
First I started jboss under IP address xxx.xxx.xxx.xxx (/etc/hosts contains xxx.xxx.xxx.xxx)
Now if my ip changes from xxx.xxx.xxx.xxx to yyy.yyy.yyy.yyy,
Then I run my client to remotely invoke
EJB with the following settings:
I'll get
If I change /etc/hosts's ip to yyy.yyy.yyy.yyy now, I still get the same error.
Does anyone know how to modify the rmi address when jboss is running? Or is there any other ways to get around the problem?
Thank you very much
Joseph