[jboss-user] [JBoss Seam] - client call to stateless ejb3 in seam project => NPE

2007-02-27 Thread bengt_mansson
Hej.
I've made a stateless bean and a remote interface. When I try to call it from 
an external client I get NPE.
The JMX-Console shows the remote interface in the global jndi namespace, but it 
says " (no security manager: RMI class loader disabled)".
That is with seam; An ejb3 project without seam seems to work.
Any hint anyone?
/Bengt


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023221#4023221

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023221
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: seampay example broken?

2007-01-26 Thread bengt_mansson
OK, thanks.
Did a clean reinstall (instead of just on top of the old) and then it works.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006814#4006814

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006814
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - seampay example broken?

2007-01-23 Thread bengt_mansson
Hi.
I try to use asynchronicity but it won't work.
Now I have run the jems installer again, with ejb3 profile, and then tried to 
run the seampay exmple. Same problem again.

Is it really broken or is there any mistake from my side?

/Bengt

debug print:

Exception during INVOKE_APPLICATION(5): $Proxy130 cannot be cast to 
org.jboss.seam.core.LocalDispatcher
  | 
  | 
org.jboss.seam.core.LocalDispatcher$$FastClassByCGLIB$$dd969e92.invoke()
  | net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | 
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
  | 
org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:73)
  | 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
  | 
org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.java:38)
  | sun.reflect.GeneratedMethodAccessor105.invoke(Unknown Source)
  | 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | java.lang.reflect.Method.invoke(Method.java:597)
  | org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  | org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  | 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  | 
org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
  | 
org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
  | org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
  | 
org.jboss.seam.intercept.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.java:82)
  | 
org.jboss.seam.intercept.ClientSideInterceptor.intercept(ClientSideInterceptor.java:51)
  | 
org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$304a11e0.scheduleInvocation()
  | 
org.jboss.seam.interceptors.AsynchronousInterceptor.invokeAsynchronouslyIfNecessary(AsynchronousInterceptor.java:29)
  | sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | java.lang.reflect.Method.invoke(Method.java:597)
  | org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  | org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  | 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  | 
org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
  | 
org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
  | org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
  | 
org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:144)
  | 
org.jboss.seam.intercept.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:79)
  | 
org.jboss.seam.example.seampay.PaymentProcessor$$EnhancerByCGLIB$$2eaf8164.schedulePayment()
  | 
org.jboss.seam.example.seampay.PaymentController.saveAndSchedule(PaymentController.java:30)
  | 
org.jboss.seam.example.seampay.PaymentController$$FastClassByCGLIB$$4b873d6b.invoke()
  | net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | 
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
  | 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
  | 
org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:51)
  | sun.reflect.GeneratedMethodAccessor116.invoke(Unknown Source)
  | 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | java.lang.reflect.Method.invoke(Method.java:597)
  | org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  | org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  | 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  | 
org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:39)
  | sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source)
  | 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | java.lang.reflect.Method.invoke(Method.java:597)
  | org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  | org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  | 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  | 
org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:23)
  | sun.reflect.GeneratedMethodAccessor108.invoke(Unknown Source)
  | 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | java.lang.reflect.Method.invoke(Method.java:597)
  | org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  | org.jboss.s

[jboss-user] [JBoss Seam] - Re: actions on items from (framework) entity-query ?

2007-01-07 Thread bengt_mansson
1: The count of documents increase if I have to write a bean class and a local 
interface for every table where I need this feature.
This is not a big deal since these are almost trivial to write (and maybe the 
document count is not increased if I can do without some xml files).
2: I don't like to write trivial things.

I thought my need was common and I sort of expected that there already was a 
standard solution in the framework.
I can live with session beans, if that is the standard solution.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998691#3998691

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998691
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: actions on items from (framework) entity-query ?

2007-01-07 Thread bengt_mansson
OK,  I understand that is why it is not working.
I know I can make it work with a session bean, like the clickable list in the 
documentation.
Is there a better way (without the session bean) where I can utilize the 
framework instead?
(I have tried the home object .instance but the same thing happened.)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998640#3998640

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998640
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - actions on items from (framework) entity-query ?

2007-01-06 Thread bengt_mansson
Hi
I have an entity bean but I try to do without a session bean to manage it. 
Instead I use the framework to define an entity-query that I use in a table. 
Getting and displaying the members works fine, but I cannot call the methods.


  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | The link will get the correct text (show or hide) depending on the value of 
the member visible but the actions will not work.

I guess this is not the proper way to do this, but I'm sure you understand what 
I try to do.
Can anyone tell me a better approach?
/Bengt


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998566#3998566

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998566
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user