GLASSFISH-20358 Fix some deadlocks and ensure that Globals is initialized prior to most other services

git-svn-id: https://svn.java.net/svn/glassfish~svn/trunk/main@61580 6f3ba3e3-413c-0410-a8aa-90bee3ab43b5
Fix GLASSFISH-20369 - The I/O streams should be closed before resuming since they might not be available after resume in upgrade.

Ran web, websocket tests.



git-svn-id: https://svn.java.net/svn/glassfish~svn/trunk/main@61581 6f3ba3e3-413c-0410-a8aa-90bee3ab43b5
GLASSFISH-20358 Fix this to use a common API contract which will fix some upstream Hudsons

git-svn-id: https://svn.java.net/svn/glassfish~svn/trunk/main@61582 6f3ba3e3-413c-0410-a8aa-90bee3ab43b5
GLASSFISH-20056 - restore the LDAPLoginmodule to original package com.sun.enterprise.security.auth.login

git-svn-id: https://svn.java.net/svn/glassfish~svn/trunk/main@61583 6f3ba3e3-413c-0410-a8aa-90bee3ab43b5
TRIVIAL CHANGE.
Ref:  JIRA 20110

I didn't realize that in asadmin a "FINE" level message is displayed by default.  I changed this debugging message to FINER level.
Approved by Tom Mueller.



git-svn-id: https://svn.java.net/svn/glassfish~svn/trunk/main@61585 6f3ba3e3-413c-0410-a8aa-90bee3ab43b5
Fix for GLASSFISH-20318. Do manual field serialization/deserialization when an EJB instance is created by CDI, and is not subclassed by our _Serializable code-gen.
Reviewed by Mahesh. EJB devtests passed. EJB devtets that fail because of the Weld bug passed with CR3 build of Weld.


git-svn-id: https://svn.java.net/svn/glassfish~svn/trunk/main@61586 6f3ba3e3-413c-0410-a8aa-90bee3ab43b5