Forum Stats

  • 3,768,568 Users
  • 2,252,811 Discussions
  • 7,874,624 Comments

Discussions

WLSTException: Error adding Template: when starting Weblogic

Running into an error "Error adding Template" when trying to run the integrated Weblogic in JDev12c. Wondering if anyone has insight into a resolution.

[Waiting for the domain to finish building...]
[08:28:04 AM] IntegratedWebLogicServer Domain is invalid.  Regenerating it...
[08:28:07 AM] Creating IntegratedWebLogicServer Domain...
[08:29:12 AM] Extending IntegratedWebLogicServer Domain...
[08:29:56 AM] Extending IntegratedWebLogicServer Domain...
[08:30:29 AM] Extending IntegratedWebLogicServer Domain...
[08:31:09 AM] Extending IntegratedWebLogicServer Domain...
[08:32:38 AM] Extending IntegratedWebLogicServer Domain...
[08:33:16 AM] Extending IntegratedWebLogicServer Domain...
[08:33:59 AM] ERROR:  An error occurred while building the default domain.
Please see this log file for more details:
The Server Instance cannot be started because the IntegratedWebLogicServer Domain was not built successfully.

following error appears in log:

wlst > Error: runCmd() failed. Do dumpStack() to see details.
wlst > com.oracle.cie.domain.script.jython.WLSTException: Error adding Template:
wlst > 
wlst > 64075: Template is configured.
wlst > 64075: The template was previously configured.
wlst > 64075: Selection is reverted. No further actions required.
wlst > 	at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:69)
wlst > 	at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:3123)
wlst > 	at com.oracle.cie.domain.script.jython.WLScriptContext.runCmd(WLScriptContext.java:747)
wlst > 	at sun.reflect.GeneratedMethodAccessor1300.invoke(Unknown Source)
wlst > 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
wlst > 	at java.lang.reflect.Method.invoke(Method.java:498)
wlst > 	at org.python.core.PyReflectedFunction.__call__(Unknown Source)
wlst > 	at org.python.core.PyMethod.__call__(Unknown Source)
...


Answers

  • Timo Hahn
    Timo Hahn Senior Principal Technical Consultant - Oracle ACE Director Member, Moderator Posts: 37,655 Red Diamond

    User, tell us your exact JDev version, please!

    You are trying to setup the embedded WLS inside JDev?

    The error message tells us that you have tried before. This other try did not work and can't be fixed. You have to remove the system12.x.x.x.xx.xx folder and start JDev again. Removing the system folder will more or less reinstall JDev. The system12.x.x.x.xxx.xxx folder will be recreated again.


    Timo

  • User713995-Oracle
    User713995-Oracle Member Posts: 2 Employee
    edited Oct 26, 2021 12:50PM

    Note that deleting the /system12** directory and retrying resulted in the same exact error occurring again. That did not resolve the problem. Stack below.

    JDev version info:

    Studio Edition Version 12.2.1.5.0

    Build JDEVADF_PT.12.2.1.5.0_GENERIC_210813.1517.S

    Yes, I am trying to start the weblogic inside JDev, via Run->Start Server Instance (IntegratedWebLogicServer)

    Yes, I have been attempting to start the server multiple times now, each time failing.

    ----------------------

    wlst > [progress] Adding domain extension template: Oracle SOA Worklist Shared Library

    wlst > Error: runCmd() failed. Do dumpStack() to see details.

    wlst > com.oracle.cie.domain.script.jython.WLSTException: Error adding Template:

    wlst >

    wlst > 64075: Template is configured.

    wlst > 64075: The template was previously configured.

    wlst > 64075: Selection is reverted. No further actions required.

    wlst >   at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:69)

    wlst >   at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:3123)

    wlst >   at com.oracle.cie.domain.script.jython.WLScriptContext.runCmd(WLScriptContext.java:747)

    wlst >   at sun.reflect.GeneratedMethodAccessor1292.invoke(Unknown Source)

    wlst >   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    wlst >   at java.lang.reflect.Method.invoke(Method.java:498)

    wlst >   at org.python.core.PyReflectedFunction.__call__(Unknown Source)

    wlst >   at org.python.core.PyMethod.__call__(Unknown Source)

    ...

  • Timo Hahn
    Timo Hahn Senior Principal Technical Consultant - Oracle ACE Director Member, Moderator Posts: 37,655 Red Diamond

    User, from your JDev version I see that you are not installing a simple JDev but an SOA Suit JDev.

    There is no official JDev version 12.2.1.5.

    Do you really want to install the SOA Suite JDev?

    Which OS do you use?

    Do you have any spaced in the path where you try to install?


    Timo

  • dvohra21
    dvohra21 Member Posts: 14,250 Gold Crown

    Adding domain extension template: Oracle SOA Worklist Shared Library

    The issue happens when adding a template, which may not be supported by the jdev Generic build. Please update to a platform specific 12c version build.

    Build JDEVADF_PT.12.2.1.5.0_GENERIC_210813.1517.S

    What is the OS? Windows, or Linux? Why OS specific build not used?


  • User_N913H
    User_N913H Posts: 1 Employee

    Hi

    I am also facing the similar issue like Adding domain extension template: Oracle SOA Worklist Shared Library. Below are the details and let me know if anything is required.

    What is the OS? Linux OS

    Oracle JDeveloper 12c 12.2.1.5.0

    Studio Edition Version 12.2.1.5.0

    Build JDEVADF_PT.12.2.1.5.0_GENERIC_211005.0633.S


    IDE Version: 12.2.1.5.42.211005.0633

    Product ID: oracle.jdeveloper

    Product Version: 12.2.1.5.42.211005.0633


    Component Version

    ========= =======

    Oracle IDE 12.2.1.5.42.211005.0633

    Java(TM) Platform 1.8.0_271

    Versioning Support 12.2.1.5.42.211005.0633

    SOA Composite Editor 12.2.1.5.0.43.79

    BPMN Editor 12.1.3.00.00


    Thanks

  • Timo Hahn
    Timo Hahn Senior Principal Technical Consultant - Oracle ACE Director Member, Moderator Posts: 37,655 Red Diamond

    User, you are an Oracle employee and use a not official or public JDev version. We can't help you as we can't access this version!

    Please use an internal channel to ask for help.


    Timo

  • dvohra21
    dvohra21 Member Posts: 14,250 Gold Crown

    Why OS specific build not used?