You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Vivian Steller <vi...@uni-ulm.de> on 2007/06/16 14:37:54 UTC

Cannot start Geronimo 2.0-M6 on Mac OS X

Hello,
I"ve installed unzipped geronimo-tomcat6-jee5-2.0-M6 on Mac OS X and  
tried starting the app server.

I get the following exception:

13:14:09,682 INFO  [OpenEJB] Auto-deploying ejb MEJB: EjbDeployment 
(deployment-id=MEJBGBean/MEJB, container-id=null)
13:14:10,639 INFO  [OpenEJB] Using directory /opt/geronimo-tomcat6- 
jee5-2.0-M6-rc1/var/temp for stateful session passivation
13:14:11,746 ERROR [[/]] "Restricted listeners property file not found
13:14:15,205 INFO  [MailGBean] JavaMail session bound to ger:/ 
MailSession
13:14:16,925 ERROR [SecurityInitializer] Error registering interceptor
java.lang.NullPointerException
         at org.apache.geronimo.security.SubjectId.hashCode 
(SubjectId.java:79)
         at java.util.Hashtable.put(Hashtable.java:401)
         at  
org.apache.geronimo.security.ContextManager.registerSubject 
(ContextManager.java:269)
         at  
org.apache.geronimo.corba.security.ServerSecurityInterceptor.<init> 
(ServerSecurityInterceptor.java:70)
         at  
org.apache.geronimo.corba.security.SecurityInitializer.post_init 
(SecurityInitializer.java:117)
         at org.apache.yoko.orb.OBCORBA.ORB_impl.initialize 
(ORB_impl.java:397)
         at org.apache.yoko.orb.OBCORBA.ORB_impl.setParameters 
(ORB_impl.java:1060)
         at org.apache.yoko.orb.OBCORBA.ORB_impl.set_parameters 
(ORB_impl.java:1463)
         at org.omg.CORBA.ORB.init(ORB.java:197)
...

(There are some more Exceptions..)

Anyone had the same error?
Btw I'm running JVM 1.5.0_07 on Mac OS X 10.4.9

Thanks for any suggestions.
Regards,

vivian

Re: Cannot start Geronimo 2.0-M6 on Mac OS X

Posted by Matt Hogstrom <ma...@hogstrom.org>.
Hi Vivian.

I'm running Mac OS X 10.4.9 as well.  Here is my startup sequence  
(just downloaded 2.0-M6 from the Downloads page).

Booting Geronimo Kernel (in Java 1.5.0_07)...
Starting Geronimo Application Server v2.0-M6
[**********>                    ] 34%  10s Starting org.apache.gero... 
13:29:41,244 ERROR [[/]] "Restricted listeners property file not found
[*******************************] 100%  18s Startup complete

This is a bit confusing.

I also noticed that it appears that you are using rc1 from  
people.apache.org/~hogstrom/2.0-M6-rc1/

I downloaded that build as well and here is the result:

Booting Geronimo Kernel (in Java 1.5.0_07)...
Starting Geronimo Application Server v2.0-M6-rc1
[**********>                    ] 34%   9s Starting org.apache.gero... 
13:38:18,592 ERROR [[/]] "Restricted listeners property file not found
[*******************************] 100%  16s Startup complete

Did you follow the same pattern (download, tar zxvf image; start up?)

Also, I did a ./geronimo.sh run from the command line in the ./bin dir.


On Jun 16, 2007, at 8:37 AM, Vivian Steller wrote:

> Hello,
> I"ve installed unzipped geronimo-tomcat6-jee5-2.0-M6 on Mac OS X  
> and tried starting the app server.
>
> I get the following exception:
>
> 13:14:09,682 INFO  [OpenEJB] Auto-deploying ejb MEJB: EjbDeployment 
> (deployment-id=MEJBGBean/MEJB, container-id=null)
> 13:14:10,639 INFO  [OpenEJB] Using directory /opt/geronimo-tomcat6- 
> jee5-2.0-M6-rc1/var/temp for stateful session passivation
> 13:14:11,746 ERROR [[/]] "Restricted listeners property file not found
> 13:14:15,205 INFO  [MailGBean] JavaMail session bound to ger:/ 
> MailSession
> 13:14:16,925 ERROR [SecurityInitializer] Error registering interceptor
> java.lang.NullPointerException
>         at org.apache.geronimo.security.SubjectId.hashCode 
> (SubjectId.java:79)
>         at java.util.Hashtable.put(Hashtable.java:401)
>         at  
> org.apache.geronimo.security.ContextManager.registerSubject 
> (ContextManager.java:269)
>         at  
> org.apache.geronimo.corba.security.ServerSecurityInterceptor.<init> 
> (ServerSecurityInterceptor.java:70)
>         at  
> org.apache.geronimo.corba.security.SecurityInitializer.post_init 
> (SecurityInitializer.java:117)
>         at org.apache.yoko.orb.OBCORBA.ORB_impl.initialize 
> (ORB_impl.java:397)
>         at org.apache.yoko.orb.OBCORBA.ORB_impl.setParameters 
> (ORB_impl.java:1060)
>         at org.apache.yoko.orb.OBCORBA.ORB_impl.set_parameters 
> (ORB_impl.java:1463)
>         at org.omg.CORBA.ORB.init(ORB.java:197)
> ...
>
> (There are some more Exceptions..)
>
> Anyone had the same error?
> Btw I'm running JVM 1.5.0_07 on Mac OS X 10.4.9
>
> Thanks for any suggestions.
> Regards,
>
> vivian


Re: Cannot start Geronimo 2.0-M6 on Mac OS X

Posted by Kevan Miller <ke...@gmail.com>.
On Jun 16, 2007, at 8:37 AM, Vivian Steller wrote:

> Hello,
> I"ve installed unzipped geronimo-tomcat6-jee5-2.0-M6 on Mac OS X  
> and tried starting the app server.
>
> I get the following exception:
>
> 13:14:09,682 INFO  [OpenEJB] Auto-deploying ejb MEJB: EjbDeployment 
> (deployment-id=MEJBGBean/MEJB, container-id=null)
> 13:14:10,639 INFO  [OpenEJB] Using directory /opt/geronimo-tomcat6- 
> jee5-2.0-M6-rc1/var/temp for stateful session passivation
> 13:14:11,746 ERROR [[/]] "Restricted listeners property file not found
> 13:14:15,205 INFO  [MailGBean] JavaMail session bound to ger:/ 
> MailSession
> 13:14:16,925 ERROR [SecurityInitializer] Error registering interceptor
> java.lang.NullPointerException
>         at org.apache.geronimo.security.SubjectId.hashCode 
> (SubjectId.java:79)
>         at java.util.Hashtable.put(Hashtable.java:401)
>         at  
> org.apache.geronimo.security.ContextManager.registerSubject 
> (ContextManager.java:269)
>         at  
> org.apache.geronimo.corba.security.ServerSecurityInterceptor.<init> 
> (ServerSecurityInterceptor.java:70)
>         at  
> org.apache.geronimo.corba.security.SecurityInitializer.post_init 
> (SecurityInitializer.java:117)
>         at org.apache.yoko.orb.OBCORBA.ORB_impl.initialize 
> (ORB_impl.java:397)
>         at org.apache.yoko.orb.OBCORBA.ORB_impl.setParameters 
> (ORB_impl.java:1060)
>         at org.apache.yoko.orb.OBCORBA.ORB_impl.set_parameters 
> (ORB_impl.java:1463)
>         at org.omg.CORBA.ORB.init(ORB.java:197)
> ...
>
> (There are some more Exceptions..)
>
> Anyone had the same error?
> Btw I'm running JVM 1.5.0_07 on Mac OS X 10.4.9

Hi Vivian,
There's a problem in your environment settings -- either your  
JRE_HOME or JAVA_HOME setting is incorrect. As a result, the java ext  
or endorsed dirs (I don't remember which) is not being configured  
properly before java is invoked. I'm assuming that you're using  
geronimo.sh (or startup.sh) to start geronimo (which I recommend).

$ export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/ 
Versions/CurrentJDK/Home
$ ./geronimo.sh run
Using GERONIMO_BASE:   /Users/kevan/geronimo/server/trunk/target/ 
geronimo-jetty6-jee5-2.0-SNAPSHOT
Using GERONIMO_HOME:   /Users/kevan/geronimo/server/trunk/target/ 
geronimo-jetty6-jee5-2.0-SNAPSHOT
Using GERONIMO_TMPDIR: var/temp
Using JRE_HOME:        /System/Library/Frameworks/JavaVM.framework/ 
Versions/CurrentJDK/Home
...

--kevan