Skip to main content

glassfish 3.1 fails to start after PC shutdown

8 replies [Last post]
eve2
Offline
Joined: 2007-01-05
Points: 0

Hi,
My PC frozen on me and I needed a restarted. Unfortunately, glassfish open source3.1 b43 was running and I was unable to shut it down before the restart. And nowthe server wont start. I checked in my default domain and my domain.xml is totallyempty.
Please, could I create another instance of a domain or do I have to install the serveragain?
Thanks
eve

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
tmueller
Offline
Joined: 2005-10-31
Points: 0

Check to see if there is a domain.xml.bak file. If so, rename that file
to domain.xml and then try starting the server.
When saving the domain.xml, the server renames the old one to
domain.xml.bak, just in case something bad happens while writing the new
one.

Tom

On 3/21/2011 8:59 PM, Eve Pokua wrote:
> Hi,
>
> My PC frozen on me and I needed a restarted. Unfortunately, glassfish
> open source
> 3.1 b43 was running and I was unable to shut it down before the
> restart. And now
> the server wont start. I checked in my default domain and my
> domain.xml is totally
> empty.
>
> Please, could I create another instance of a domain or do I have to
> install the server
> again?
>
> Thanks
>
> eve

eve2
Offline
Joined: 2007-01-05
Points: 0

Hello,
This is what I get when I open the domain.xml

The XML page cannot be displayed
Cannot view XML input using style sheet.
Please correct the error and then click the Refresh button, or try
again later.
Invalid at the top level of the document.
Error processing resource
'file:///C:/glassfish3.1final/glassfish/domains/domain1...
I open the domain.xml.bak file with notebook and it is blank. Both the files are blank.
Thanks
eve

Date: Tue, 22 Mar 2011 09:04:05 -0500
From: tom.mueller...
To: users@glassfish.java.net
CC: gorgeous65@msn.com
Subject: Re: glassfish 3.1 fails to start after PC shutdown

Check to see if there is a domain.xml.bak file. If so, rename that
file to domain.xml and then try starting the server.

When saving the domain.xml, the server renames the old one to
domain.xml.bak, just in case something bad happens while writing the
new one.

Tom

On 3/21/2011 8:59 PM, Eve Pokua wrote:

Hi,

My
PC frozen on me and I needed a restarted. Unfortunately,
glassfish open source
3.1 b43 was
running and I was unable to shut it down before the restart.
And now
the server wont
start. I checked in my default domain and my domain.xml is
totally
empty.

Please, could I
create another instance of a domain or do I have to install the
server
again?

Thanks

eve

alexismp
Offline
Joined: 2005-01-06
Points: 0

What is the error message?
You really shouldn't have to create a new domain, let alone reinstall.
-Alexis

On 22 mars 2011, at 02:59, Eve Pokua wrote:

> Hi,
>
> My PC frozen on me and I needed a restarted. Unfortunately, glassfish open source
> 3.1 b43 was running and I was unable to shut it down before the restart. And now
> the server wont start. I checked in my default domain and my domain.xml is totally
> empty.
>
> Please, could I create another instance of a domain or do I have to install the server
> again?
>
> Thanks
>
> eve

eve2
Offline
Joined: 2007-01-05
Points: 0

I will try reproducing the error again.

> Subject: Re: glassfish 3.1 fails to start after PC shutdown
> From: alexis.moussine-pouchkine...
> Date: Tue, 22 Mar 2011 10:03:02 +0100
> To: users@glassfish.java.net
>
> What is the error message?
> You really shouldn't have to create a new domain, let alone reinstall.
> -Alexis
>
> On 22 mars 2011, at 02:59, Eve Pokua wrote:
>
> > Hi,
> >
> > My PC frozen on me and I needed a restarted. Unfortunately, glassfish open source
> > 3.1 b43 was running and I was unable to shut it down before the restart. And now
> > the server wont start. I checked in my default domain and my domain.xml is totally
> > empty.
> >
> > Please, could I create another instance of a domain or do I have to install the server
> > again?
> >
> > Thanks
> >
> > eve
>

eve2
Offline
Joined: 2007-01-05
Points: 0

Hello,
At the moment this' what I get when I try to start server default domain-
Use "exit" to exit and "help" for online help.asadmin> start-domain domain1com.sun.enterprise.universal.xml.MiniXmlParserException: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]Message: Content is not allowed in prolog.Command start-domain failed.asadmin>
I have also read a number of posts and they mentions the server freezing during deploymentof certain applications. This what happens when I try to deploy my application. It also happenedwith the new domain I created.
Thanks
eve

From: gorgeous65@msn.com
To: ; alexis.moussine-pouchkine...
Subject: RE: glassfish 3.1 fails to start after PC shutdown
Date: Tue, 22 Mar 2011 18:36:30 +0000

I will try reproducing the error again.

> Subject: Re: glassfish 3.1 fails to start after PC shutdown
> From: alexis.moussine-pouchkine...
> Date: Tue, 22 Mar 2011 10:03:02 +0100
> To: users@glassfish.java.net
>
> What is the error message?
> You really shouldn't have to create a new domain, let alone reinstall.
> -Alexis
>
> On 22 mars 2011, at 02:59, Eve Pokua wrote:
>
> > Hi,
> >
> > My PC frozen on me and I needed a restarted. Unfortunately, glassfish open source
> > 3.1 b43 was running and I was unable to shut it down before the restart. And now
> > the server wont start. I checked in my default domain and my domain.xml is totally
> > empty.
> >
> > Please, could I create another instance of a domain or do I have to install the server
> > again?
> >
> > Thanks
> >
> > eve
>

alexismp
Offline
Joined: 2005-01-06
Points: 0

Your domain.xml seems corrupted :(
for the record, there is a "asadmin verify-domain-xml" command as well as a "asadmin backup-domain".
-Alexis

On 23 mars 2011, at 01:48, Eve Pokua wrote:

> Hello,
>
> At the moment this' what I get when I try to start server default domain-
>
> Use "exit" to exit and "help" for online help.
> asadmin> start-domain domain1
> com.sun.enterprise.universal.xml.MiniXmlParserException: javax.xml.stream.XMLStr
> eamException: ParseError at [row,col]:[1,1]
> Message: Content is not allowed in prolog.
> Command start-domain failed.
> asadmin>
>
> I have also read a number of posts and they mentions the server freezing during deployment
> of certain applications. This what happens when I try to deploy my application. It also happened
> with the new domain I created.
>
> Thanks
>
> eve
>
>
>
> From: gorgeous65@msn.com
> To: ; alexis.moussine-pouchkine...
> Subject: RE: glassfish 3.1 fails to start after PC shutdown
> Date: Tue, 22 Mar 2011 18:36:30 +0000
>
> I will try reproducing the error again.
>
> > Subject: Re: glassfish 3.1 fails to start after PC shutdown
> > From: alexis.moussine-pouchkine...
> > Date: Tue, 22 Mar 2011 10:03:02 +0100
> > To: users@glassfish.java.net
> >
> > What is the error message?
> > You really shouldn't have to create a new domain, let alone reinstall.
> > -Alexis
> >
> > On 22 mars 2011, at 02:59, Eve Pokua wrote:
> >
> > > Hi,
> > >
> > > My PC frozen on me and I needed a restarted. Unfortunately, glassfish open source
> > > 3.1 b43 was running and I was unable to shut it down before the restart. And now
> > > the server wont start. I checked in my default domain and my domain.xml is totally
> > > empty.
> > >
> > > Please, could I create another instance of a domain or do I have to install the server
> > > again?
> > >
> > > Thanks
> > >
> > > eve
> >

eve2
Offline
Joined: 2007-01-05
Points: 0

Hi,
It will not verify anything cos the file domain.xml is empty and so is the domain.xml. back up one.
This' why I created another domain.
Result Error --
asadmin> verify-domain-xml domain1Failed to parse file:/C:/glassfish3.1final/glassfish/domains/domain1/config/domain.xmlCommand verify-domain-xml failed.asadmin>
Thanks
eve

> Subject: Re: glassfish 3.1 fails to start after PC shutdown
> From: alexis.moussine-pouchkine...
> Date: Wed, 23 Mar 2011 10:12:18 +0100
> CC: users@glassfish.java.net
> To: gorgeous65@msn.com
>
> Your domain.xml seems corrupted :(
> for the record, there is a "asadmin verify-domain-xml" command as well as a "asadmin backup-domain".
> -Alexis
>
> On 23 mars 2011, at 01:48, Eve Pokua wrote:
>
> > Hello,
> >
> > At the moment this' what I get when I try to start server default domain-
> >
> > Use "exit" to exit and "help" for online help.
> > asadmin> start-domain domain1
> > com.sun.enterprise.universal.xml.MiniXmlParserException: javax.xml.stream.XMLStr
> > eamException: ParseError at [row,col]:[1,1]
> > Message: Content is not allowed in prolog.
> > Command start-domain failed.
> > asadmin>
> >
> > I have also read a number of posts and they mentions the server freezing during deployment
> > of certain applications. This what happens when I try to deploy my application. It also happened
> > with the new domain I created.
> >
> > Thanks
> >
> > eve
> >
> >
> >
> > From: gorgeous65@msn.com
> > To: ; alexis.moussine-pouchkine...
> > Subject: RE: glassfish 3.1 fails to start after PC shutdown
> > Date: Tue, 22 Mar 2011 18:36:30 +0000
> >
> > I will try reproducing the error again.
> >
> > > Subject: Re: glassfish 3.1 fails to start after PC shutdown
> > > From: alexis.moussine-pouchkine...
> > > Date: Tue, 22 Mar 2011 10:03:02 +0100
> > > To: users@glassfish.java.net
> > >
> > > What is the error message?
> > > You really shouldn't have to create a new domain, let alone reinstall.
> > > -Alexis
> > >
> > > On 22 mars 2011, at 02:59, Eve Pokua wrote:
> > >
> > > > Hi,
> > > >
> > > > My PC frozen on me and I needed a restarted. Unfortunately, glassfish open source
> > > > 3.1 b43 was running and I was unable to shut it down before the restart. And now
> > > > the server wont start. I checked in my default domain and my domain.xml is totally
> > > > empty.
> > > >
> > > > Please, could I create another instance of a domain or do I have to install the server
> > > > again?
> > > >
> > > > Thanks
> > > >
> > > > eve
> > >
>

eve2
Offline
Joined: 2007-01-05
Points: 0

Hello,
I have a different error now.
Will post a new post.#

THanks

eve

From: gorgeous65@msn.com
To: ; alexis.moussine-pouchkine...
Subject: RE: glassfish 3.1 fails to start after PC shutdown
Date: Wed, 23 Mar 2011 00:48:54 +0000

Hello,
At the moment this' what I get when I try to start server default domain-
Use "exit" to exit and "help" for online help.asadmin> start-domain domain1com.sun.enterprise.universal.xml.MiniXmlParserException: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]Message: Content is not allowed in prolog.Command start-domain failed.asadmin>
I have also read a number of posts and they mentions the server freezing during deploymentof certain applications. This what happens when I try to deploy my application. It also happenedwith the new domain I created.
Thanks
eve

From: gorgeous65@msn.com
To: ; alexis.moussine-pouchkine...
Subject: RE: glassfish 3.1 fails to start after PC shutdown
Date: Tue, 22 Mar 2011 18:36:30 +0000

I will try reproducing the error again.

> Subject: Re: glassfish 3.1 fails to start after PC shutdown
> From: alexis.moussine-pouchkine...
> Date: Tue, 22 Mar 2011 10:03:02 +0100
> To: users@glassfish.java.net
>
> What is the error message?
> You really shouldn't have to create a new domain, let alone reinstall.
> -Alexis
>
> On 22 mars 2011, at 02:59, Eve Pokua wrote:
>
> > Hi,
> >
> > My PC frozen on me and I needed a restarted. Unfortunately, glassfish open source
> > 3.1 b43 was running and I was unable to shut it down before the restart. And now
> > the server wont start. I checked in my default domain and my domain.xml is totally
> > empty.
> >
> > Please, could I create another instance of a domain or do I have to install the server
> > again?
> >
> > Thanks
> >
> > eve
>