Sorry about the missing the code tags! My bad, here is my setup
Foo is not really a Seam component but I make it available through the Seam manager pattern. SeamComp1 is a typical JavaBean seam component with Name and Scope(EVENT) annotations.
|
| public abstract AbstractFoo {
| @In
| private SeamComp1 seamcomp1;
|
| init() {
| seamcomp1.getSomething();
| }
| }
|
| public Foo extends AbstractFoo {
| public Foo() {
| init();
| }
| }
|
| @Name("foo")
| @Scope(EVENT)
| public class FooMgr {
| @Unwrap
| public Foo getFoo() {
| return new Foo();
| }
| }
|
Hope my setup is clear.
Thanks in advance for all the help!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4014206#4014206
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4014206
As I see, UnicastRef2 parameter returned by RMI at 1099 port is an address to look for stubs?
The problem: since some moment in time I cannot connect remotely to my JBOSS-4.0.5.
telnet localhost 1099 returns now:
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
??srjava.rmi.MarshalledObject|???c?>IhashlocBytest[BobjBytesq~xp??ur[B???T?xp#??thttp://roman:8083/q~q~uq~???sr org.jnp.server.NamingServer_Stubxrjava.rmi.server.RemoteStub?????exrjava.rmi.server.RemoteObject?a??
a3xpw4
UnicastRef2 127.0.0.1J?|???K?7 ???^D?xConnection closed by foreign host.
On another computer after UnicastRef2 goes that computer's eth0 ip address.
I have tried -Djava.rmi.server.hostname=roman java option but it does not help.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4014195#4014195
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4014195