users@glassfish.java.net

Re: Glassfish: 3.1 application deployment error

From: ballpen66 <ballpen66_at_hotmail.com>
Date: Mon, 29 Aug 2011 13:09:02 -0700 (PDT)

Hong Zhang-5 wrote:
>
> Any other information in the server.log? Do you have a reproducible test
> case for us to take a look?
>
> On 8/25/2011 1:46 PM, forums_at_java.net wrote:
>> hi guys,
>> when i tried to deploy my application in glassfish 3.1 i got "Exception
>> Occurred :Error occurred during deployment: Exception while shutting down
>> application container : java.lang.NullPointerException [1]. "
>> does anyone know why?
>> thank you
>>
>>
>> [1]
>> http://download.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html
>>
>>
>> --
>>
>> [Message sent by forum member 'xibrian']
>>
>> View Post: http://forums.java.net/node/837482
>>
>>
>
>

the followinsg messages are all i can get:


I'm migrating my app from GlassFish 3.0.1 to GlassFish 3.1.1. Deployment
fails, with the following error messages:

SEVERE: Exception while loading the app
SEVERE: Exception while shutting down application container
SEVERE: Exception while shutting down application container :
java.lang.NullPointerException
SEVERE: java.lang.RuntimeException: Error occurred during deployment:
Exception while shutting down application container :
java.lang.NullPointerException. Please see server.log for more details.

There is no stack trace. I turned on the root logging level to FINEST, and
the first SEVERE message occurs after a Weld message:

//...
FINE: WELD-000105 Enabled interceptor types for Manager
Enabled alternatives: [] []
Registered contexts: [interface javax.enterprise.context.SessionScoped,
interface javax.enterprise.context.RequestScoped, interface
javax.inject.Singleton, interface javax.enterprise.context.Dependent,
interface javax.enterprise.context.ApplicationScoped, interface
javax.enterprise.context.ConversationScoped]
Registered beans: 0
Specialized beans: 0
: []

And before several messages like these (for several different classes):

FINE: PWC4451: File cannot be read
/opt/sun/glassfish-3.1.1/glassfish/domains/domain1/applications/QmsWeb/WEB-INF/classes/org/jboss/seam/transaction/SeamTransaction.class
FINE: PWC4451: File cannot be read
/opt/sun/glassfish-3.1.1/glassfish/domains/domain1/applications/QmsWeb/WEB-INF/classes/org/jboss/seam/transaction/SeamTransaction.class
FINE: PWC4451: File cannot be read
/opt/sun/glassfish-3.1.1/glassfish/domains/domain1/applications/QmsWeb/WEB-INF/classes/net/sf/ehcache/config/TerracottaConfiguration$ValueMode.class
//...

What could be causing this error? Could these PWC4451 messages be indicating
that some libraries aren't being loaded?

-- 
View this message in context: http://old.nabble.com/Glassfish%3A-3.1-application-deployment-error-tp32336413p32359780.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.