Solved

Why do I get the error JSEScriptException when creating an additional HttpServer in my horizontal cluster?

  • 17 March 2022
  • 1 reply
  • 259 views

Userlevel 5
Badge +14

Dear Community!

We are creating an IFS Applications 10 horizontal cluster consisting of 4 servers.

ifsapp01, ifsapp02, ifsapp03 and ifsapp04

We are able to create the cluster.zip on the master node, transferring it to the other nodes and install it there properly.

 

The next step is to add HttpServer, MainServer and IntServer on the Admin console.

All works, except for the HttpServer for server ifsapp03.

 

We get this error

com.ifsworld.adminconsole.util.JythonScriptExecutor$JSEScriptException

Creation of HttpServer3 part 1
 
Creation of HttpServer3 part 2
Creation of HttpServer3 part 3
Creation of HttpServer3 part 4

After this, the configuration of the weblogic server is locked for edit and we have to login to the weblogic console to solve this by reverting (or applying) changes.

Weblogic console​​​

Then, we can work on the admin console without issues again.

 

The only thing we could find is the following

Translated the messages as they are in german by default

/ifs/extIPROD10/wls_domain/IPROD10/servers/AdminServer/logs/ohs_admin.log.1:2636:<2022-03-17 10:08:51> <SEVERE> <OHS-0> <JPS-06501: Keystore HttpServer3_default is in Stripe OHS already existing>
/ifs/extIPROD10/wls_domain/IPROD10/servers/AdminServer/logs/ohs_admin.log.1:2637:<2022-03-17 10:17:22> <SEVERE> <OHS-3841> <error when creating Keystore "HttpServer3_default".>

 

Trying to delete the cluster on ifsapp03 is resulting in following errors

Mär 17, 2022 10:52:33 AM ifs.application.installer.util.ant.AntRunner$MwsAntLogger messageLogged

INFORMATION: 17.03.22 10:52:33 <ERROR  > Action failed ConfigException - Message : Failed loading WLS config (ServerConfig.java:73)

Mär 17, 2022 10:52:33 AM ifs.application.installer.util.ant.AntRunner$MwsAntLogger messageLogged

INFORMATION: 17.03.22 10:52:33 <ERROR  >  ..caused by: FileNotFoundException - Message : /ifs/extIPROD10/wls_domain/IPROD10/config/config.xml (File or directory not found) (FileInputStream.java:-2)

Mär 17, 2022 10:52:33 AM ifs.application.installer.util.ant.AntRunner$MwsAntLogger messageLogged

INFORMATION:

Mär 17, 2022 10:52:33 AM ifs.application.installer.util.ant.AntRunner$MwsAntLogger messageLogged

INFORMATION: Failed loading WLS config

Mär 17, 2022 10:52:33 AM ifs.application.installer.util.ant.AntRunner$MwsAntLogger messageLogged

 

But this file is not existing on any cluster slave nodes.

 

So now, we are not able to create the third HttpServer and I wonder why.

 

Any ideas on that?

 

Regards

Tobias

icon

Best answer by Technical Toby 18 March 2022, 12:48

View original

This topic has been closed for comments

1 reply

Userlevel 5
Badge +14

Searching the server for httpserver 3 resulted in following files containing httpserver3 even after removing it via the cluster.sh skript on the server

 

/ifs/extIPROD10/wls_domain/IPROD10/config/fmwconfig/keystores.xml:696:                  <fks:name>HttpServer3_default</fks:name>

/ifs/extIPROD10/wls_domain/IPROD10/config/fmwconfig/keystores.xml:697:                  <fks:value hsm="false" modifiedTimestamp="2021-10-01T13:43:54.614+02:00" name="HttpServer3_default"

permissionProtected="true">
 

so in the /ifs/extIPROD10/wls_domain/IPROD10/config/fmwconfig/keystores.xml file there had still been a reference to the HttpServer3 even after removal.

 

So I removed this part manually
 

/ifs/extIPROD10/wls_domain/IPROD10/config/fmwconfig/keystores.xml

And recreated the slave node via cluster.sh skript

 

After this I was finally able again to create the HttpServer3 without issues.
Removed it again for check and recreated it again without issues.

Freshly created HttpServers 3 and 4


The solution was to check for all remaining artifacts on the system and remove them.

Not sure why this had been there at the first place, but it might happen.

 

Regards
Toby