Troubleshooting Enterprise Beas, Netbeans 5.0 and Creator 2
Hi Gurus. I am using Netbeans 5.0 to develop Enterprise Beans and Creator 2 to consume the beans, as a database I use Oracle 10g xe and Sun Application Server 8.2 as a App. Server (Not the one embedded in creator). I successfully created an enterprise bean with methods that create and get data in Netbeans 5.0 and also I am able to test them with a servlet without troubles. I consume the enterprise bean in creator, then I use it in a web page, after that I deployed into a remote server (8.2) all the application, but when I try to insert or get the data I get this Exception:
com.sun.rave.web.ui.appbase.ApplicationException: #{Ventas$Clientes.buttonNuevo_action}: javax.faces.el.EvaluationException: java.lang.RuntimeException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException
com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java: 601)
com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.ja va:302)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87 )
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
java.security.AccessController.doPrivileged(Native Method)
com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
Am I doing something wrong in creator? did I miss a step configuring the bean? I followed the instructions in all the tutorials available to add and use Enterprise Beans. if I am able to use a enterprise bean in Netbeans 5.0 to insert and obtain data, Why I am not able to use it in Creator? I believe that I am so close to get the things working but that last step is killing me. I will appreciate any help. Thanks. (Sorry about grammar!!!!)

