kevan wrote:
> 
> On Jun 1, 2009, at 3:33 AM, nx7000 wrote:
>>
>> 10:17:19,072 ERROR  
>> [org.apache.geronimo.gbean.runtime.GBeanInstanceState]
>> [WrapperSimpleAppMain] Error while starting; GBean is now in the  
>> FAILED
>> state:
>> abstractName="org.apache.geronimo.configs/webconsole-jetty6/2.0.1/ 
>> car?J2EEApplication=org.apache.geronimo.configs/webconsole- 
>> jetty6/2.0.1/car,j2eeType=JACCManager,name=JACCManager"
>> java.lang.ExceptionInInitializerError
>>      at
>> org 
>> .apache 
>> .geronimo 
>> .security 
>> .jacc 
>> .ApplicationPolicyConfigurationManager 
>> .<init>(ApplicationPolicyConfigurationManager.java:109)
>>      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native  
>> Method)
>>      at
>> sun 
>> .reflect 
>> .NativeConstructorAccessorImpl 
>> .newInstance(NativeConstructorAccessorImpl.java:39)
>>      at
>> sun 
>> .reflect 
>> .DelegatingConstructorAccessorImpl 
>> .newInstance(DelegatingConstructorAccessorImpl.java:27)
>>      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>> ...
>> Caused by: java.lang.NullPointerException
>>      at org.apache.geronimo.security.SubjectId.hashCode(SubjectId.java:79)
>>      at java.util.HashMap.put(HashMap.java:372)
>>      at java.util.Collections$SynchronizedMap.put(Collections.java:1979)
> 
> Pretty sure that one of the following lines from wrapper.conf is not  
> set correctly (I can't remember which one will cause the error):
> 
> wrapper.java.additional.2=-Djava.ext.dirs="<geronimo_home>/lib/ 
> ext;<java_home>/jre/lib/ext"
> wrapper.java.additional.3=-Djava.endorsed.dirs="<geronimo_home>/lib/ 
> endorsed;<java_home>/jre/lib/endorsed"
> 

You were right about this. Both those paths were wrong. 

In addition, I had to add some more lines:
wrapper.java.additional.6=-Dorg.intalio.tempo.configDirectory="<geronimo_home>/var/config"
wrapper.java.additional.7=-Dcom.intalio.bpms.configDirectory="<geronimo_home>/var/config"

Finally, I encountered one more problem:
java.lang.OutOfMemoryError:  PermGen  space

The problem was fixed by adding the following lines:
wrapper.java.additional.8=-XX:PermSize=64m
wrapper.java.additional.9=-XX:MaxPermSize=256m

And now, the configuration works! Thank you all!

In case someone else has the same problem, I attached my entire 
http://www.nabble.com/file/p23827726/wrapper.conf wrapper.conf .

Thanks,
Petri Kannisto
-- 
View this message in context: 
http://www.nabble.com/Intalio-and-Geronimo-1.1-as-a-Windows-Service-tp23778055s134p23827726.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.

Reply via email to