geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Ivanov" <miva...@gmail.com>
Subject Re: Exception when using CORBA in 2.0 M5: "Invalid ORB class"
Date Mon, 21 May 2007 22:23:18 GMT
Thanks for the response.  I tried using the command you suggested, but
I still get the same result.  Here is the startup log, after which I
get the same stack trace as before:

C:\geronimo>java -Djava.endorsed.dirs=lib/endorsed -jar bin/server.jar --long
Booting Geronimo Kernel (in Java 1.5.0_11)...
Module  1/33 org.apache.geronimo.configs/rmi-naming/2.0-M5/car                 s
tarted in  1.844s
Module  2/33 org.apache.geronimo.configs/j2ee-server/2.0-M5/car                s
tarted in   .250s
Module  3/33 org.apache.geronimo.configs/transaction-jta11/2.0-M5/car          s
tarted in   .453s
Module  4/33 org.apache.geronimo.configs/j2ee-security/2.0-M5/car              s
tarted in   .875s
Module  5/33 org.apache.geronimo.configs/axis/2.0-M5/car                       s
tarted in   .687s
Module  6/33 org.apache.geronimo.configs/axis2/2.0-M5/car                      s
tarted in 11.750s
Module  7/33 org.apache.geronimo.configs/openejb/2.0-M5/car                    s
tarted in   .000s
Module  8/33 org.apache.geronimo.configs/system-database/2.0-M5/car            s
tarted in   .000s
Module  9/33 org.apache.geronimo.configs/activemq-broker/2.0-M5/car            s
tarted in   .000s
Module 10/33 org.apache.geronimo.configs/activemq-ra/2.0-M5/car                s
tarted in   .000s
Module 11/33 org.apache.geronimo.configs/jasper/2.0-M5/car                     s
tarted in   .000s
Module 12/33 org.apache.geronimo.configs/myfaces/2.0-M5/car                    s
tarted in   .016s
Module 13/33 org.apache.geronimo.configs/tomcat6/2.0-M5/car                   15
:12:15,187 ERROR [[/]] "Restricted listeners property file not found
 started in  4.047s
Module 14/33 org.apache.geronimo.configs/geronimo-gbean-deployer/2.0-M5/car    s
tarted in   .532s
Module 15/33 org.apache.geronimo.configs/j2ee-deployer/2.0-M5/car              s
tarted in   .390s
Module 16/33 org.apache.geronimo.configs/connector-deployer/2.0-M5/car         s
tarted in   .204s
Module 17/33 org.apache.geronimo.configs/persistence-jpa10-deployer/2.0-M5/car s
tarted in   .125s
Module 18/33 org.apache.geronimo.configs/openejb-deployer/2.0-M5/car           s
tarted in   .296s
Module 19/33 org.apache.geronimo.configs/client-deployer/2.0-M5/car            s
tarted in   .140s
Module 20/33 org.apache.geronimo.configs/axis2-deployer/2.0-M5/car             s
tarted in   .344s
Module 21/33 org.apache.geronimo.configs/axis-deployer/2.0-M5/car              s
tarted in  1.344s
Module 22/33 org.apache.geronimo.configs/javamail/2.0-M5/car                   s
tarted in   .079s
Module 23/33 org.apache.geronimo.configs/sharedlib/2.0-M5/car                  s
tarted in   .015s
Module 24/33 org.apache.geronimo.configs/tomcat6-deployer/2.0-M5/car           s
tarted in   .156s
Module 25/33 org.apache.geronimo.configs/jasper-deployer/2.0-M5/car            s
tarted in   .047s
Module 26/33 org.apache.geronimo.configs/myfaces-deployer/2.0-M5/car           s
tarted in   .047s
Module 27/33 org.apache.geronimo.configs/welcome-tomcat/2.0-M5/car             s
tarted in   .453s
Module 28/33 org.apache.geronimo.configs/dojo-tomcat/2.0-M5/car                s
tarted in   .125s
Module 29/33 org.apache.geronimo.configs/webconsole-tomcat/2.0-M5/car          s
tarted in  3.547s
Module 30/33 org.apache.geronimo.configs/remote-deploy-tomcat/2.0-M5/car       s
tarted in   .250s
Module 31/33 org.apache.geronimo.configs/hot-deployer/2.0-M5/car               s
tarted in   .500s
Module 32/33 org.apache.geronimo.configs/jsr88-rar-configurer/2.0-M5/car       s
tarted in   .031s
Module 33/33 company/myapp/2.0/war
  started in  1.843s
Startup completed in 33 seconds
  Listening on Ports:
    1099 0.0.0.0 RMI Naming
    1527 0.0.0.0 Derby Connector
    4201 0.0.0.0 org.apache.geronimo.openejb.EjbDaemonGBean
    4242 0.0.0.0 Remote Login Listener
    8009 0.0.0.0 Tomcat Connector AJP
    8080 0.0.0.0 Tomcat Connector HTTP
    8443 0.0.0.0 Tomcat Connector HTTPS
    9999 0.0.0.0 JMX Remoting Connector
   61613 0.0.0.0 ActiveMQ Transport Connector
   61616 0.0.0.0 ActiveMQ Transport Connector

  Started Application Modules:
    EAR: org.apache.geronimo.configs/webconsole-tomcat/2.0-M5/car
    RAR: org.apache.geronimo.configs/activemq-ra/2.0-M5/car
    RAR: org.apache.geronimo.configs/system-database/2.0-M5/car
    WAR: org.apache.geronimo.configs/dojo-tomcat/2.0-M5/car
    WAR: org.apache.geronimo.configs/remote-deploy-tomcat/2.0-M5/car
    WAR: org.apache.geronimo.configs/welcome-tomcat/2.0-M5/car
    WAR: company/myapp/2.0/war

  Web Applications:
    http://localhost:8080/
    http://localhost:8080/console
    http://localhost:8080/console-standard
    http://localhost:8080/dojo
    http://localhost:8080/myapp
    http://localhost:8080/remote-deploy

Geronimo Application Server started

Mike

On 5/21/07, David Jencks <david_jencks@yahoo.com> wrote:
> The java base corba classes from sun have some mistakes, so we use
> the yoko ones.  To use the (yoko) orb you need to start geronimo
> something like
>
> java -Djava.endorsed.dirs=lib/endorsed -jar bin/server.jar --long
>
> To also get on the fly jpa enhancement you need to include -
> javaagent:bin/jpa.jar before the -jar
>
> hope this helps
>
> david jencks
>
> On May 21, 2007, at 2:51 PM, Michael Ivanov wrote:
>
> > I am very new to using Geronimo, and recently switched from 1.1 to 2.0
> > M5.  I deployed my application fine, and most aspects seem to work
> > great except CORBA.  When my application initializes the ORB, by
> > calling
> >
> > org.omg.CORBA.ORB global_orb = org.omg.CORBA.ORB.init(no_args, null);
> >
> > it fails with the following stack trace:
> >
> > org.omg.CORBA.INITIALIZE: Invalid ORB class:
> > org.apache.yoko.orb.CORBA.ORB:  vmcid: 0x0 minor code: 0x0  completed:
> > No
> >        at org.omg.CORBA.ORB.init(ORB.java:191)
> >        at com.company.iman.ImanOrb.init(ImanOrb.java:272)
> >        at com.company.iman.ImanOrb.<init>(ImanOrb.java:83)
> >        at com.company.iman.ImanOrb.<init>(ImanOrb.java:76)
> >        at ControllerServlet.createDatabase(ControllerServlet.java:
> > 5309)
> >        at ControllerServlet.doGet(ControllerServlet.java:1494)
> >        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> >        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >        at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> > (ApplicationFilterChain.java:290)
> >        at org.apache.catalina.core.ApplicationFilterChain.doFilter
> > (ApplicationFilterChain.java:206)
> >        at org.apache.catalina.core.StandardWrapperValve.invoke
> > (StandardWrapperValve.java:231)
> >        at org.apache.catalina.core.StandardContextValve.invoke
> > (StandardContextValve.java:175)
> >        at
> > org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke
> > (DefaultSubjectValve.java:56)
> >        at org.apache.geronimo.tomcat.GeronimoStandardContext
> > $SystemMethodValve.invoke(GeronimoStandardContext.java:333)
> >        at
> > org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke
> > (GeronimoBeforeAfterValve.java:47)
> >        at org.apache.catalina.core.StandardHostValve.invoke
> > (StandardHostValve.java:128)
> >        at org.apache.catalina.valves.ErrorReportValve.invoke
> > (ErrorReportValve.java:104)
> >        at org.apache.catalina.core.StandardEngineValve.invoke
> > (StandardEngineValve.java:109)
> >        at org.apache.catalina.valves.AccessLogValve.invoke
> > (AccessLogValve.java:543)
> >        at org.apache.catalina.connector.CoyoteAdapter.service
> > (CoyoteAdapter.java:238)
> >        at org.apache.coyote.http11.Http11Processor.process
> > (Http11Processor.java:844)
> >        at org.apache.coyote.http11.Http11Protocol
> > $Http11ConnectionHandler.process(Http11Protocol.java:634)
> >        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run
> > (JIoEndpoint.java:445)
> >        at java.lang.Thread.run(Thread.java:595)
> >
> > Again, everything worked fine in geronimo 1.1 and previous versions.
> > Thanks for any hints.
> >
> > Mike
>
>

Mime
View raw message