dev@glassfish.java.net

Re: Server startup

From: Jerome Dochez <Jerome.Dochez_at_Sun.COM>
Date: Thu, 25 Aug 2005 11:36:57 -0700

I just fixed it...

jerome

Kedar Mhaswade wrote:

> Daniel,
> A bug-id (present in the internal bug tracking software) is filed
> for this.
> Maybe it needs to be reflected in GF issutracker. Carla?
>
> Thanks,
> Kedar
>
>
> Daniel Dumitrescu wrote:
>
>> Hi
>>
>> During the server startup (and having the default domain name,
>> domain1) a NullPointerException is thrown:
>>
>> [#|2005-08-25T10:30:12.985+0300|WARNING|sun-appserver-pe9.0|javax.enterprise.system.core|_ThreadID=10;|Exception
>>
>> occurred while satisfying optional package dependencies : {0}
>> java.lang.NullPointerException
>> at
>> com.sun.enterprise.deployment.backend.OptionalPkgDependency.satisfyOptionalPackageDependencies(OptionalPkgDependency.java:149)
>>
>> at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:260)
>> at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:396)
>> at
>> com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:258)
>>
>> at
>> com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:91)
>>
>> at com.sun.enterprise.server.PEMain.run(PEMain.java:302)
>> at com.sun.enterprise.server.PEMain.main(PEMain.java:246)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>
>> at java.lang.reflect.Method.invoke(Method.java:585)
>> at com.sun.enterprise.server.PELaunch.main(PELaunch.java:202)
>> |#]
>>
>>
>> because in the /publish/glassfish/derby/lib directory resides a WAR
>> file, derby.war which has no manifest file.
>>
>> I think that a possible solution to this error is to test the local
>> manifest variable (from the satisfyOptionalPackageDependencies()
>> method ) to see if is not null, then put the dependency's name in the
>> optionalPackageStore variable
>>
>> Daniel
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>