Friday 14 December 2012

JDev Startup Issue



Many times, we may encounter JDev doesnt startup in our linux environment after installation.
The JDev studio when started may throw the below exception as,


oracle.ide.marshal.xml.Object2DomException: Error parsing XML --
/home/user/.jdeveloper/system11.1.1.7.40.64.11/o.jdeveloper/applications.xml
at
oracle.ide.marshal.xml.Object2Dom.newO2DException(Object2Dom.java:1229)
at
oracle.ide.marshal.xml.Object2Dom.getDocument(Object2Dom.java:1189)
at
oracle.ide.marshal.xml.Object2Dom.getDocument(Object2Dom.java:1134)
at oracle.ide.marshal.xml.Object2Dom.open(Object2Dom.java:544)
at oracle.ide.model.DataContainer.loadImpl(DataContainer.java:552)
at oracle.ide.model.Node.load(Node.java:2220)
at oracle.ide.model.Node.open(Node.java:959)
at oracle.ide.model.Node.open(Node.java:922)
Caused by: oracle.xml.parser.v2.XMLParseException: Start of root element
expected.
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:323)


Its because of an existence of a system directory inside ' /home/user/.jdeveloper' i.e
' /home/user/.jdeveloper/system11.1.1.7.40.64.11'


Resolution: Remove the system directory in /home/user/.jdeveloper and Start the JDev Studio.


Note: the directory ".jdeveloper"is a hidden directory, do
la -latr /home/user
to view the hidden directory

No comments:

Post a Comment

Linux : Create a new user for the machine

Creating a new user in linux is sometimes needed, when you want to share the user access with anyone. SSH to the machine over the newly cre...