[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOP Remoting

2004-05-05 Thread Bill Burke
Much apologies.  I haven't been able to give AOP Remoting much love since the original 
release both in code and in doco.  

But anyways, you have to specify a connector:



  |   mbean code=org.jboss.remoting.transport.Connector
  |  xmbean-dd=org/jboss/remoting/transport/Connector.xml
  |  name=jboss.remoting:type=Connector,transport=socket5150
  | attribute name=InvokerLocatorsocket://localhost:5150/attribute 
  | attribute name=Configuration 
  |handlers
  |   handler 
subsystem=AOPorg.jboss.aop.remoting.AOPRemotingInvocationHandler/handler
  |/handlers
  | /attribute
  |   /mbean
  | 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3833733#3833733

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3833733


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOP Remoting

2004-05-05 Thread kado0002
Now I get an other Exception:
anonymous wrote : 
  | class org.jboss.aop.proxy$code.HelloWorld
  | java.lang.NullPointerException
  | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:107)
  | at 
org.jboss.aop.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:75)
  | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:369)
  | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:282)
  | at 
org.jboss.remoting.transport.socket.SocketServerInvoker$Client.run(SocketServerInvoker.java:208)
  | 
Error happened !
It seems that the Hello World object isn't registered by the dispatcher
But as you can see, the register() method does this.
And I've executed the register method before executing the client!

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3833735#3833735

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3833735


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOP Remoting

2004-05-05 Thread Bill Burke
Do you see a message:

Dispatcher trying to find methodMap for: ...

What exactly does it say?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3833742#3833742

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3833742


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOP Remoting

2004-05-05 Thread Bill Burke
Ok, I know what is wrong(poor testing on my part)

I will fix this in the beta2 release, but you should do the following within the MBean:

   org.jboss.aop.proxy.ClassProxy.newInstance(code.HelloWorld.class);
  | 

The reason being is that the Dispatcher is looking for a hash to 
java.lang.reflect.Method map that is initialized by create proxy.  I didn't have the 
foresite to test the scenario of the user not creating a proxy on the server side.  
The underlying remoting framework is being used in production, but the AOP layer on 
top of this is quite raw as you can see.  I just haven't had the time to give it some 
love, nor has somebody stepped up to help.

Apologies.

Bill

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3833749#3833749

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3833749


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOP Remoting

2004-05-05 Thread kado0002
Here the output:
anonymous wrote : R3/server/default/conf/jboss-service.xml
  | 15:27:42,894 INFO  [Server] JBoss (MX MicroKernel) [4.0.0DR3 (build: CVSTag=
  |  date=200403161350)] Started in 23s:293ms
  | 15:28:44,333 INFO  [STDOUT] Dispatcher trying to find methodMap for: 
code.HelloWorld
  | 15:28:44,333 INFO  [STDOUT] java.lang.NullPointerException
  | 15:28:44,333 INFO  [STDOUT] at 
org.jboss.aop.Dispatcher.invoke(Dispatcher.java:107)
  | 15:28:44,333 INFO  [STDOUT] at org.jboss.aop.remoting.AOPRemotingInvocation
  | Handler.invoke(AOPRemotingInvocationHandler.java:75)
  | 15:28:44,333 INFO  [STDOUT] at org.jboss.remoting.ServerInvoker.invoke(Server
  | Invoker.java:369)
  | 15:28:44,333 INFO  [STDOUT] at org.jboss.remoting.ServerInvoker.invoke(Server
  | Invoker.java:282)
  | 15:28:44,333 INFO  [STDOUT] at org.jboss.remoting.transport.socket.Socket
  | ServerInvoker$Client.run(SocketServerInvoker.java:208)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3833750#3833750

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3833750


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOP Remoting

2004-05-05 Thread Bill Burke
Did you apply the code suggestion to your MBean?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3833785#3833785

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3833785


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOP Remoting

2004-05-05 Thread kado0002
Now it runs 
thank you
Karsten

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3833796#3833796

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3833796


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development