tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nacho Esteban <jeste...@ebro.cps.unizar.es>
Subject Tomcat Mailing List
Date Tue, 28 Aug 2001 20:06:31 GMT
Hi everybody,
we were looking for a solurtion to this problem

    We want to get a Proxy to a corba object:

        CORBASCAG scag = (CORBASCAG)
Corba.narrow(Namespace.lookup("deriva/SCAG"), CORBASCAG.class);

    which is previously asociated in a namespace:

        Namespace.rebind("deriva/SCAG", new SCAG());

    and obviously the class SCAG implements a CORBA interface:

        public class SCAG implements CORBASCAG {

    but we get this exception:

     Internal Servlet Error:

     javax.servlet.ServletException: deriva.system.SCAG@296683 is
     not a proxy to a CORBA object
      at java.lang.Throwable.fillInStackTrace(Native Method)
      at java.lang.Throwable.fillInStackTrace(Compiled Code)
      at java.lang.Throwable.(Compiled Code)
      at java.lang.Exception.(Compiled Code)
      at javax.servlet.ServletException.(ServletException.java:161)

      at
     org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:455)

      at globalPrincipal_1._jspService(Compiled Code)
      at
     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)

      at
     javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at
     org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:500)

      at org.apache.tomcat.core.Handler.service(Compiled Code)
      at
     org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:448)

      at
     org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:252)

      at
     org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:172)

      at
     org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:418)

      at accesoVerify_1._jspService(accesoVerify_1.java:89)
      at
     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)

      at
     javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at
     org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:500)

      at org.apache.tomcat.core.Handler.service(Compiled Code)
      at
     org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:448)

      at
     org.apache.tomcat.core.ContextManager.internalService(Compiled
     Code)
      at org.apache.tomcat.core.ContextManager.service(Compiled
     Code)
      at
     org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:150)

      at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Compiled
     Code)
      at
     org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Compiled
     Code)
      at java.lang.Thread.run(Thread.java:485)
     Root cause:
     java.lang.IllegalArgumentException: deriva.system.SCAG@296683
     is not a proxy to a CORBA object
      at java.lang.Throwable.fillInStackTrace(Native Method)
      at java.lang.Throwable.fillInStackTrace(Compiled Code)
      at java.lang.Throwable.(Compiled Code)
      at java.lang.Exception.(Compiled Code)
      at java.lang.RuntimeException.(RuntimeException.java:47)
      at
     java.lang.IllegalArgumentException.(IllegalArgumentException.java:43)

      at com.objectspace.voyager.corba.Corba.narrow(Corba.java:162)

      at globalPrincipal_1._jspService(Compiled Code)
      at
     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)

      at
     javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at
     org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:500)

      at org.apache.tomcat.core.Handler.service(Compiled Code)
      at
     org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:448)

      at
     org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:252)

      at
     org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:172)

      at
     org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:418)

      at accesoVerify_1._jspService(accesoVerify_1.java:89)
      at
     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)

      at
     javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at
     org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:500)

      at org.apache.tomcat.core.Handler.service(Compiled Code)
      at
     org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:448)

      at
     org.apache.tomcat.core.ContextManager.internalService(Compiled
     Code)
      at org.apache.tomcat.core.ContextManager.service(Compiled
     Code)
      at
     org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:150)

      at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Compiled
     Code)
      at
     org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Compiled
     Code)
      at java.lang.Thread.run(Thread.java:485)


The technologies used by us are:

     JSP provided by Tomcat 3.3-m4
     our ORB is Voyager 3.1

it's indispensable to use Voyager (we implements movile agents), please,
donĀ“t suggest using another ORB

Bye, Nacho & Eva

PD: Thank you.


Mime
View raw message