Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

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)
...

Comments

BluShadow

Moderator Note: @rranjith I've moved your post over to the Forms forum as it doesn't relate specifically to SQL and PL/SQL where you posted it.

Enable the Java Console and its tracing. Look closely at the output. Likely you should see why it is failing.
image.pngLook for entries like this:
basic: Loaded image: jar:http://<YOUR SERVER>/forms/java/my_icon.jar!<PATH TO IMAGE AND IMAGE FILE NAME>
If any part of that entry looks incorrect, correct it and retest.

RRanjith

@michael-ferrante-oracle I checked what you suggested. Still the issue is not resolved. Please help me to resolve it.

@rranjith I don't understand. What do you mean it didn't resolve the issue? Showing the console was not expected to resolve the problem. It is a diagnostic tool to help you find the problem. Copy the entire contents of the console to a text file then upload that text file to this thread.

RRanjith

@michael-ferrante-oracle Thanks for you reply Michael. Now Icons loaded in my application.

@rranjith In order to help others who may be experiencing a similar problem, please consider explaining what you did to identify them correct the issue.

User_Y6Y8Z

@rranjith please help ,, and share what u did i have same issue

@user-y6y8z

Read the thread and you will get your answer. You need to test like I described above to find the answer.

1 - 8

Post Details

Added on Oct 25 2021
9 comments
689 views