Re: Geronimo 2.1 and OS X

2008-03-19 Thread Kevan Miller


On Mar 19, 2008, at 3:43 PM, René Jansen wrote:


I wanted to confirm 1), same problem here.

Something funny is going on with Geronimo itself on MacOSX 5.2, Java  
1.5:


- on my Intel Macbook Pro, it runs without a hitch
- on my dual 2.5 Ghz PPC Powermac, it hangs during startup. Like it  
is waiting for a lock, but: when starting with either java -verbose  
switched on or debug on, it does finish loading.


Ya, there's a startup deadlock which can occur on the Leopard JSE. I  
get it intermittently on my MacBook Pro. Heard a report, last week,  
that it's been seen on a Linux box, also... Here's a Jira with a bit  
more info -- https://issues.apache.org/jira/browse/GERONIMO-3687


The real cause of the problem is -- 
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5088398

I'm able to avoid this by running with jpda (YMMV and it's a bit of a  
pain...). The following has never deadlocked for me:


./geronimo.sh jpda run

I'll start thinking about another work-around (hmm. or I wonder if the  
old work-around has been regressed)...


--kevan

Re: Geronimo 2.1 and OS X

2008-03-19 Thread René Jansen

I wanted to confirm 1), same problem here.

Something funny is going on with Geronimo itself on MacOSX 5.2, Java  
1.5:


- on my Intel Macbook Pro, it runs without a hitch
- on my dual 2.5 Ghz PPC Powermac, it hangs during startup. Like it is  
waiting for a lock, but: when starting with either java -verbose  
switched on or debug on, it does finish loading.


René.


On 19 mrt 2008, at 20:17, Mark Aufdencamp wrote:


Hey Guys,

I've been trying to get 2.1 running on my iBook.  Running into a  
couple

of problems and could use some help.

1. Safari doesn't like the binary download link.  I grabbed Firefox to
download the 2.1 binary, but would hate to see other Mac user
discouraged from using Geronimo as a result of a bad link to the
download.  I'm not sure why it doesnt like the .tar.gz link, but it
tries to add a .html extension to the file (.tar.gz.html).  I'm  
willing

to assist on this if I can be of help.

2. I extracted the binary and configured it in MyEclipse as a Geronimo
2.1 server.  When I start the server it dies on the remote-deploy- 
tomcat

GBean.  (stack trace below)

3. Utilizing the latest OS X 10.4.11 JVM - 1.5.0_13.  I think:) its
apples latest production release.

Thanks

Mark Aufdencamp
[EMAIL PROTECTED]





Re: Geronimo 2.1 and OS X

2008-03-19 Thread Kevan Miller


On Mar 19, 2008, at 3:17 PM, Mark Aufdencamp wrote:


Hey Guys,

I've been trying to get 2.1 running on my iBook.  Running into a  
couple

of problems and could use some help.

1. Safari doesn't like the binary download link.  I grabbed Firefox to
download the 2.1 binary, but would hate to see other Mac user
discouraged from using Geronimo as a result of a bad link to the
download.  I'm not sure why it doesnt like the .tar.gz link, but it
tries to add a .html extension to the file (.tar.gz.html).  I'm  
willing

to assist on this if I can be of help.


Hi Mark,
Heh. I've been living with that for a while. I normally download .zip  
images to avoid. There aren't any differences between our .zip and  
tar.gz images.


I have this same problem on other apache project downloads. If there's  
a way to fix, it would be great.





2. I extracted the binary and configured it in MyEclipse as a Geronimo
2.1 server.  When I start the server it dies on the remote-deploy- 
tomcat

GBean.  (stack trace below)

3. Utilizing the latest OS X 10.4.11 JVM - 1.5.0_13.  I think:) its
apples latest production release.




Caused by: java.lang.NullPointerException
at org.apache.geronimo.security.SubjectId.hashCode(SubjectId.java:79)
at java.util.HashMap.put(HashMap.java:418)
at java.util.Collections$SynchronizedMap.put(Collections.java:1983)
	at  
org 
.apache 
.geronimo 
.security.ContextManager.registerSubject(ContextManager.java:265)
	at  
org 
.apache 
.geronimo.security.ContextManager.(ContextManager.java:69)

... 38 more


I'm not sure how this applies to your MyEclipse environment, but this  
same error occurs when you try to run Geronimo with a bad JRE_HOME/ 
JAVA_HOME setting. On my Mac, I have the following JAVA_HOME:


export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/ 
CurrentJDK/Home


--kevan