Integrated WebLogic Server running issue in JDeveloper

Skatz1990 picture Skatz1990 · Mar 22, 2014 · Viewed 8.3k times · Source

I've been trying to run a simple application using a tutorial in JDeveloper. I was asked to run the .jsf page I created, using a new username and a password. After a long time waiting (about 3 minutes) I get the same error again and again: An error occurred while building the default domain. Please see this log file for more details:

Log File:

C:\Users\skatz\AppData\Roaming\JDeveloper\system12.1.2.0.40.66.68\o.j2ee.adrs\BuildDefaultDomain.log
Label:         JDEVADF_12.1.2.0.0_GENERIC_130608.2330.6668
Product Home:  D:\JDeveloper\jdeveloper\jdev\
Domain:        C:\Users\skatz\AppData\Roaming\JDeveloper\system12.1.2.0.40.66.68\DefaultDomain

BuildDefaultDomain1.py      2014-03-22 18:37:04

cmd.exe /c ""D:\JDeveloper\oracle_common\common\bin\wlst.cmd" "C:\Users\skatz\AppData\Roaming\JDeveloper\system12.1.2.0.40.66.68\o.j2ee.adrs\BuildDefaultDomain1.py""
Process started
wlst > 
wlst > Initializing WebLogic Scripting Tool (WLST) ...
wlst > 
wlst > Welcome to WebLogic Server Administration Scripting Shell
wlst > 
wlst > Type help() for help on available commands
wlst > 
wlst > Creating Default Domain
wlst > [progress] Reading template: /D:/JDeveloper/wlserver/common/templates/wls/wls.jar
wlst > Setting Name to 'DefaultServer'
wlst > Setting ListenAddress to ''
wlst > Setting ListenPort to 7101
wlst > Enabling SSL using port 7102
wlst > Setting domain administrator to 'weblogic'
wlst > Setting domain password.
wlst > [progress] Writing domain: /C:/Users/skatz/AppData/Roaming/JDeveloper/system12.1.2.0.40.66.68/DefaultDomain/
wlst > [progress] Closing template.
wlst > [progress] Reading domain: /C:/Users/skatz/AppData/Roaming/JDeveloper/system12.1.2.0.40.66.68/DefaultDomain/
wlst > [progress] Adding domain extension template: /D:/JDeveloper/jdeveloper/common/templates/jdeveloper/adrs_template.jar
wlst > [progress] Updating domain.
wlst > [progress] Adding domain extension template: /D:/JDeveloper/jdeveloper/common/templates/domains/jsf_template_2.1.jar
wlst > [progress] Updating domain.
wlst > [progress] Adding domain extension template: /D:/JDeveloper/oracle_common/common/templates/wls/oracle.jrf_template_12.1.2.jar
wlst > [progress] Updating domain.
wlst > [progress] Adding domain extension template: /D:/JDeveloper/jdeveloper/common/templates/jdeveloper/adf.fine.logging_12.1.2.jar
wlst > [progress] Updating domain.
wlst > [progress] Adding domain extension template: /D:/JDeveloper/oracle_common/common/templates/wls/oracle.wsmpm_template_12.1.2.jar
wlst > [progress] Updating domain.
wlst > Error: updateDomain() failed. Do dumpStack() to see details.
wlst > Problem invoking WLST - Traceback (innermost last):
wlst >   File "C:\Users\skatz\AppData\Roaming\JDeveloper\system12.1.2.0.40.66.68\o.j2ee.adrs\BuildDefaultDomain1.py", line 112, in ?
wlst >   File "C:\Users\skatz\AppData\Local\Temp\WLSTOfflineIni2422634498251540366.py", line 103, in updateDomain
wlst > 
wlst > Domain Location: C:\Users\skatz\AppData\Roaming\JDeveloper\system12.1.2.0.40.66.68\DefaultDomain
wlst > 
wlst > Reason: Unable to create xml parser
wlst > 
wlst > Exception:
wlst > 
wlst > Unable to create xml parser
wlst > 
wlst > 
wlst >  at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:55)
wlst > 
wlst >  at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:1967)
wlst > 
wlst >  at com.oracle.cie.domain.script.jython.WLScriptContext.updateDomain(WLScriptContext.java:604)
wlst > 
wlst >  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
wlst > 
wlst >  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
wlst > 
wlst >  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
wlst > 
wlst >  at java.lang.reflect.Method.invoke(Method.java:601)
wlst > 
wlst > 
wlst > com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.ScriptException: Domain Extension Application Failed!
wlst > 
wlst > Domain Location: C:\Users\skatz\AppData\Roaming\JDeveloper\system12.1.2.0.40.66.68\DefaultDomain
wlst > 
wlst > Reason: Unable to create xml parser
wlst > 
wlst > Exception:
wlst > 
wlst > Unable to create xml parser
wlst > 
wlst > 
Elapsed time:  106738 ms

My first guess was this line- Unable to create xml parser, although almost no information is found about xml parser creation failure in the web. What am I missing?

Thanks in advance.

Answer

Shay Shmeltzer picture Shay Shmeltzer · Mar 26, 2014

Remove the directory - C:\Users\skatz\AppData\Roaming\JDeveloper\system12.1.2.0.40.66.68\DefaultDomain

Make sure your CLASSPATH environment variable is empty

And try again