dev@glassfish.java.net

Re: Server startup

From: Tim Quinn <Timothy.Quinn_at_sun.com>
Date: Thu, 25 Aug 2005 07:55:26 -0500

Hi, Daniel.

We've been seeing this as well and have the same basic idea for the
fix. The workspace has been locked for a short time after the code
freeze so we haven't been able to make the change there yet. It should
appear shortly.

- Tim

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
>
>
>