Fatal Error: domain.xml

Can anybody help me about this error. I checked the domain.xml and it the file got corrupted.

I am in the middle of testing and i would appreciate your ideas.

asadmin> start-domain --user admin

[Fatal Error] domain.xml:248:80: XML document structures must start and end with in the same entity.

Starting Domain domain1, please wait.

Log redirected to /var/opt/SUNWappserver/domains/domain1/logs/server.log.

Please enter password>

Error refreshing ConfigContext:/var/opt/SUNWappserver/domains/domain1/config/domain.xml

cause: Failed to create the XML-DOM Document. Check your XML to make sure it is correct.

XML document structures must start and end within the same entity.

CLI156 Could not start the domain domain1.

THankyou.

G

[820 byte] By [G_identitya] at [2007-11-26 16:21:17]
# 1

You must have manually edited domain.xml file. What you can do is to create a new server instance(cluster) with similar options you used for your instance that wouldn't start and replace the corrupted domain.xml with the one from created instance.

You can even do some appserver temp install for that, but make sure you edit the unique parameters to match the instance/domain that wouldn't start.

Sultala at 2007-7-8 22:44:56 > top of Java-index,Application & Integration Servers,Application Servers...
# 2
Thanks for your reply.I tried it and had no luck. Instead uninstalled SUN App server and re-installed a fresh copy and created a new domain and deployed the same application. This worked.G
G_identitya at 2007-7-8 22:44:56 > top of Java-index,Application & Integration Servers,Application Servers...