geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevan Miller <kevan.mil...@gmail.com>
Subject Re: Standalone deployment <cross-context> doesn't work
Date Wed, 22 Jul 2009 16:55:14 GMT

On Jul 22, 2009, at 12:23 PM, David Jencks wrote:

> There are two possibilities I can think of right now:
>
> 1. Something is calling Environment.setApplicationProperties(null)  
> which produces a NullPointerException before the System.out can tell  
> you about it.  This seems unlikely but is easy to check with another  
> System.out. I guess there might be a clearApplicationProperties()  
> method also...
>
> 2. you have 2 classloaders loading the Environment class.  I don't  
> really see how this would be happening either but again is pretty  
> easy to check.

That was the only "idea" that I had...

You should be able to reproduce this under the Eclipse Debugger.  
Launch the server process remotely (i.e. 'bin/geronimo.sh jpda run'),  
attach the Eclipse process to this server process (e.g. localhost port  
8000), set breakpoint(s), and run a deploy.

--kevan

Mime
View raw message