Friday, December 30, 2016

ScenarioManager is not accepting new scenarios

I was creating new scenarios and those were not reflected on the ScenarioManager, I have listed all the OOTB scenearios, but not my custom ones.

I found this Warning on the Logs:

/atg/scenario/ScenarioManager   Unable to declare this instance as the default ProcessEditorServer. Another instance has already been run against this schema, and has declared itself as the default ProcessEditorServer. This instance will be started as an individual server. To declare this instance as the ProcessEditorServer, either configure the /atg/scenario/scenarioManager.xml file, or remove the applicable row from the dss_server_id table. The first option is the recommended one, since it will prohibit this problem from occurring in the future. Turn on debug logging for this component to see further details (server restart may be required).

So I turned on logging debug on Scneario Manager, and found that all my custom Scmearios were not considered at all.

The problem was that the table dss_server_id was having a record for another computer (an other VM) I just updated this to use the actual name for the processEditor Server and that fixed the problem.

This is a common problem that you could face if you get a database dump from other computer.

How To Remove an EAC application

While installing an endeca application I faced a problem where I needed to reinstall again, in order to do such thing you need to remove the EAC application first, otherwise Error saying that the application already exist.

In order to remove an EAC application just run the follwoing scripts:

Then you will be able to install the application again with not a problem.

CRS configuration guide has the stesp listed as well:

Thursday, December 29, 2016

How to disable basic http auth on WebLogic 12

WebLogic by defeault has enabled basic http authentication.

This can be a problem if you want to run some application that connect to your instances like Oracle Commerce ACC (Admin Control Center)

In order to disable this you just need to go to config.xml on your domin config.

<WEBLOGIC_HOME >/user_projects/domains/mydomain/config/config.xml

and add insdide node the  


With this configuration basic auth is disabled and ACC or other apps that does not have a way to provide basic http auth credentials will be able to connect to your application deployed on web logic.

Tuesday, December 27, 2016

How to install Endeca Silently on Linux

This will be a simple guide to install endeca on Linux.

First thing to know is that endeca is nos  a single product, is a set of products, those are related and need to be aware of each of them.

The order that you install them is important.

There are 4 installers, MDEX, Platform and Services, Tools and Frameworks, and CAS, this is the right order for the installation.

All the installers below are to do the installation with a configuration file that will be used for silent install.

This guide assume you will install this under your /home/ directory, so everything will end installed under /home//endeca.

You can install where it fits better for you i.e. /opt, /u01...

Thursday, December 1, 2016

How to fix ORA-01110

This problem happens when you delete a tablespace on the file system

Then when Oracle DB is not able to find it and return an exception as follows:

ORA-01110: data file 5: '/u01/app/oracle/oradata/XE/data'

This can be fixed by letting the oracle DB know that the file is deleted as follows: