Friday, 26 June 2020

OUAF C2M 2.7.0.3 installation on Windows64 - Part III - Deployment of C2M product in Weblogic using Native Installation

This blog is for anyone trying to install C2M or any similar OUAF product for evaluation purposes on Windows 64 OS. I have noted down the steps that I had taken for doing an installation of C2M 2.7.0.3 product on Windows 64bit OS. Have tried to highlight issues that came up. Also have mentioned the exact paths where the application has been installed. You can use the same OS paths wherever possible. This will help you in following the steps. Alternatively, if you wish to install the application in your desired location, make appropriate modifications in the paths while following the steps.

Since there are many steps for complete installation, I have divided it into three blogs instead of one single blog.
Part I - Download of Softwares and Installation of Prerequisites

This blog covers steps for Deployment of C2M product in Weblogic using Native Installation

(Kindly also refer my latest blog for using WLST to do native installation on weblogic. It helps to reduce the time taken as well as reduces any errors. Link to blog: Native installation using WLST)

I am assuming that you have already installed Weblogic software by following the instructions in Part I. These steps are subsequent to that.

Navigate to Oracle Weblogic Home

C:\c2m\Oracle\Middleware\Oracle_Home\oracle_common\common\bin
Run config.cmd with ‘Run as administrator’ option
Below configuration Wizard screen opens up.
Select Create a new domain
Update the domain location. Instead of base_domain, update it to c2m2703_domain

You can give any desired name for domain name.
Click on Next


In next step,
Basic Weblogic Server Domain would already be selected
Select Oracle Restricted JRF also [If this is not selected your application help screen (ohelp) won’t work]

Click on Next

In Administrator account screen
Enter username as 'weblogic'
Enter a password for your weblogic admin server
Click on next

Select Development
Select JDK that maps to your installed jdk earlier
Click on Next


On next screen,
Select Administration Server and Node Manager

Set Server name as AdminServer
You can name it as myserver also
Set listen port to 7001
Enable SSL
Set SSL port to 7002

Next on Node manager screen
Select per domain Default location
Enter same username and password as entered on administrator screen
Click on next


Next screen opens up
Click on Create button

Configuration process is visible. Once it is completed to 100%, click on Next.


As seen the new weblogic domain creation is completed.
The link for logging to admin server is visible.
Click on Finish and complete the configuration.


Next start the admin server. To do that open a command prompt with ‘Run as Administrator option’
Navigate to your domain location
C:\c2m\Oracle\Middleware\Oracle_Home\user_projects\domains\c2m2703_domain

Enter startWebLogic.cmd

Weblogic server should start up

Wait till you see the link Server state changed to RUNNING
Next open a browser window and enter you weblogic admin server link

http://localhost:7001/console

Enter username and password as defined in the administrator domain configuration earlier



Navigate to Machines link on the domain configuration




Click on New button.
Enter c2m2703mac in name field


Navigate to Servers and Click on New button

Click on Next

Click on Finish

c2m2703server is created and visible. Click on the server name link

Below configuration screen opens up
Select Machine as c2m703mac
Set Listen port as 6500
SSL port as 6501



Navigate to Server start tab



Set the following values in classpath. Put in single line. Don't use newline.

C:\c2m\ouaf\C2M2703\splapp\standalone\lib\xalan-mod-2.7.1.jar;C:\c2m\ouaf\C2M2703\splapp\standalone\lib\serializer-2.7.1.jar;C:\c2m\ouaf\C2M2703\splapp\standalone\lib\antlr-2.7.6.jar;C:\c2m\Oracle\Middleware\Oracle_Home\wlserver\server\lib\weblogic_sp.jar; C:\c2m\Oracle\Middleware\Oracle_Home\wlserver\server\lib\weblogic.jar

Set below value in arguments field. (We will see how to set this using setUserOverrides options later)
-Xms2048m -Xmx2048m -XX:PermSize=300m



Note*: For C2M 2.8.0.0 installation, set classpath to C:\c2m\ouaf\C2M2800\splapp\standalone\lib\antlr-2.7.7.jar;C:\c2m\weblogic\12.2.1.4.0\Oracle\Middleware\Oracle_Home\wlserver\server\lib\weblogic_sp.jar;C:\c2m\weblogic\12.2.1.4.0\Oracle\Middleware\Oracle_Home\wlserver\server\lib\weblogic.jar

Also set heap size to 3072 for C2M 2.8.0.0
-Xms3072m -Xmx3072m -XX:PermSize=512m


Navigate to XML Registries


Update the below parameters as defined below. Other values remain same.

Parameter

Setting

Document Builder Factory

com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl

SAX Parser Factory 

com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl

Transformer Factory

com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl


Set name as 'myxmlregistry'

Click on Next

Select the server as c2m2703server. And click on Finish button.

Xml registry is created

Next navigate to Security Realms and click on New button.

Create a new realm ‘myrealm’

Click on myrealm and open it

Navigate to Users and Group tab


Click on new button in Groups tab
Enter name 'cisusers'

Navigate to Configuration tab
Uncheck 'Combined Role Mapping enabled'


Navigate to myrealm-> Providers->Password Validation

Update minimum number of non-Alphabetic characters to 0


Navigate back to myrealm -> users and groups -> users

Click on new button

Enter 'system' in name
Password is 'ouafadmin'
Note* - This password has to be same as the one set during the application installation for 'WebLogic JNDI Password' parameter (Covered in Part 2 of blog series)


Click on 'system' user

Click on Groups tab

Update the group member ship as shown below. 'cisusers' should be added in Chosen

Click on Save button

Navigate back to myrealm -> Users and Groups -> Users
Click on New button


Enter 'SYSUSER' in name
And password as 'sysuser00'

Once user is created. Open the user and navigate to Groups tab
Add 'cisusers' in Chosen
Click on Save.

Now close the admin server. You can just close the command prompt window.

Set SPLBASE

Navigate to below location

C:\c2m\Oracle\Middleware\Oracle_Home\user_projects\domains\c2m2703_domain\bin

Open 'setDomainEnv.cmd' file

add the following line in the file

set SPLEBASE=C:\c2m\ouaf\C2M2703



Save the file and close it.


Next Go to C:\c2m\Oracle\Middleware\Oracle_Home\user_projects\domains\c2m2703_domain\bin

Open 'startWebLogic.cmd' file

Add below line in the file.

set MEM_ARGS=-Xms2048m -Xmx2048m

Save the file and close it.

This increases the assigned RAM memory of Weblogic Admin server to 2GB, this is needed as more memory is needed for deploying ear files of application. You can reset it after deployment has completed.


Next again start the admin server. Follow the steps to do the same

Open a command prompt with ‘Run as Administrator option’
Navigate to your domain location

C:\c2m\Oracle\Middleware\Oracle_Home\user_projects\domains\c2m2703_domain

Enter startWebLogic.cmd

Weblogic server should start up
Verify that the memory allocated on server startup is 2GB
Look for below arguments in the command prompt screen for verifying

***************************************************

*  To start WebLogic Server, use a username and   *

*  password assigned to an admin-level user.  For *

*  server administration, use the WebLogic Server *

*  console at http:\\hostname:port\console        *

***************************************************

Starting WLS with line:

C:\c2m\java\jdk\bin\java -server   -Xms2048m -Xmx2048m


Open the server from browser using the link http://localhost:7001/console

Navigate to the domain c2m2703_domain in domain structure on left side


Go to JTA tab

Set the timeout seconds to '86400'. This is needed because SPLWeb deployment takes a lot of time and we don’t want the deployment to timeout.

Next navigate to Deployments screen from domain structure



Click on Install button

Enter the following Path or navigate to following path in Path field

C:\c2m\ouaf\C2M2703\splapp\applications\SPLService.ear

Click on Next button

Select c2m2703server in targets and click on Next

Enter 'SPLService' in Name field

In Source Accessibility select Copy this application onto every target for me

Click on Next button


Select ‘Yes, take me to the deployment’s configuration screen’

Click on Finish button

Once deployment is complete

Enter ‘100’ in deployment order

This completes deployment of 'SPLService'

Deployment of SPLWeb

Again go to deployments and click on Install button
Put C:\c2m\ouaf\C2M2703\splapp\applications in Path field
Select 'SPLWeb.ear'
Click on Next button


This step will take a lot of time (around one hour)

On next screen select ‘Install this deployment as an application’


Select target as c2m2703server
Click on Next button

Enter name as 'SPLWeb'
In Source Accessibility select ‘Copy this application onto every target for me’
Click on Next button

Select ‘Yes, take me to the deployment’s configuration screen’
Click on Finish button

Enter ‘200’ in the deployment order


Help deployment

Do similar steps as earlier ears for ohelp.ear


Put deployment order as 100 for this. Order doesn’t matter for this.
This completes the deployment of application ear files on weblogic.

Starting C2M managed server


Now to start the managed server, first start the nodemanager.

To do that open a command prompt with ‘Run as Administrator option’
Navigate to your domain location\bin
C:\c2m\Oracle\Middleware\Oracle_Home\user_projects\domains\c2m2703_domain\bin

Run startNodeManager.cmd

This starts the nodemanager
Verify that the port is set to 5556 for nodemanager


Next navigate to Environment -> Servers

Go to Control tab

Select c2m2703server and click on start


Server will get started up.

You can verify the status of server startup by viewing the log files at following location

C:\c2m\Oracle\Middleware\Oracle_Home\user_projects\domains\c2m2703_domain\servers\c2m2703server\logs
(ORACLE_HOME\user_projects\domains\c2m2703_domain\servers\c2m2703server\logs)

The files c2m2703server.log and c2m2703server.out can be used to check the status of server. This can be used to check if any errors came up in server startup
Alternatively you can also check the framework product logs at following location
C:\c2m\ouaf\C2M2703\logs\system
(SPLEBASE\logs\system)

Once server has started up the state of the server changes to running.


You can login to your OUAF application (C2M) by entering the following url in your brower

https://localhost:6501/ouaf/loginPage.jsp

Enter 'SYSUSER' in userid

And 'sysuser00' in password

If everything has been proper you application should open up


This completes the installation of C2M application

Try it out. Let me know in case of any queries.

91 comments:

  1. Thanks Sreeneeth for the detailed installation steps. I have tried to install C2M earilier and retried the installation through steps shared by you, but everytime getting error on server start:
    java.io.FileNotFoundException:Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\servers\C2MServer\logs\C2MServer.out(The process cannot access the file because it is being used by another process)

    ReplyDelete
  2. This generally happens if your C2M server has not been shutdown properly. In this case the server is still running in background and is accessing this file. So when you start a new instance of the server, it gives an file access error. Use taskmanager and close any background java processes you see running.

    ReplyDelete
  3. Hi,

    Nice documentation. I was able to install the system.

    What is the recommended method to copy the production system data to the test system (P2T). Is it possible like other applications?

    ReplyDelete
    Replies
    1. Not sure if it is the recommended method. But generally use CMA for admin data migration. Use Database backend export for transaction data.

      Delete
  4. Hi Sreeneeth, need your help for %SPLEBASE%/bin. Where can I find this..I checked all the folder however it's not available.

    Pls help.

    ReplyDelete
    Replies
    1. SPLEBASE is the folder where you install the application. When u install the application it will ask for name of folder for SPLEBASE. It will created folder with same name.

      Refer part 2 of my blog for this
      https://myouafworld.blogspot.com/2020/06/ouaf-c2m-2703-installation-on-windows64_26.html

      You will find the SPLEBASE being set at the following point during the installation

      50. Environment Installation Options

      Environment Mount Point: C:/c2m/ouaf
      Environment Name: C2M2703

      Above configuration in installation sets the SPLEBASE as C:/c2m/ouaf/C2M2703

      Delete
  5. As per your guidelines, after setting %SPLEBASE only we should run install.cmd.without this Environment Name coming as Blank and if we update manually the folder..it's not working..

    ReplyDelete
    Replies
    1. Got it. The instruction was incorrect. Sorry about that. Have corrected it in the blog. You don't need to set it the first time when installing the framework. You need to do on subsequent installation. Have put the updated instructions below for reference.

      Copy the file V983334-01.zip/FW-V4.4.0.2.0-MultiPlatform.jar
      To a temporary folder C:/temp
      Open a command prompt with ‘Run as Administrator’ option

      Navigate to the temporary folder
      cd C:/temp
      jar -xvf FW-V4.4.0.2.0-MultiPlatform.jar

      A sub-directory named “FW-V4.4.0.2.0” is created

      Navigate to this directory

      cd FW-V4.4.0.2.0
      run install.cmd

      Delete
  6. >>> Calculating additional variables ... done.
    >>> Backup C:\temp\FW-V4.4.0.2.0-SP2\tmp\2020-11-07-1516\ENVIRON.INI to C:\temp\FW-V4.4.0.2.0-SP2\tmp\2020-11-07-1516\ENVIRON.INI_20201107_1547 ... done.
    >>> Writing variables to C:\temp\FW-V4.4.0.2.0-SP2\tmp\2020-11-07-1516\ENVIRON.INI ... done.

    201107:154751 Create directory C:\c2m\ouaf\sploutput\C2M2703
    201107:154751 Environment C2M2703 already exists in C:\spl\etc\cistab and resides in another directory. Exiting."ERROR - Detected while running install.plx."

    ReplyDelete
    Replies
    1. Seems like installation has been done earlier also on same machine. Go to the location 'C:\spl\etc\cistab'. Verify the details of the file if another instance was installed on the machine. If not, you can go ahead and delete the file and try again.

      If another instance is present and you want to keep it, change the name of new instance.

      Delete
  7. Sreeneeth, thanks for doc. Did the config but not ableto access C2M:- https://localhost:6501/ouaf/loginpage.jsp

    Getting Error 404

    Please suggest. Thanks in advance.

    ReplyDelete
  8. Check the logs at $weblogichome\Middleware\Oracle_Home\user_projects\domains\c2m2703_domain\servers\c2m2703server

    See if you see any error in log files.

    ReplyDelete
  9. Issue is with the file path for keystore folder. As seen in log it is searching it as 'C:ouafJP270DMO/ks/.ouaf_keystore' . If you observe the / is missing in the path. This is because '\' is used instead of '/' in file path. correct the file paths in environ.ini file and rerun initial setup.cmd. The run command for keystore. It should work.

    ReplyDelete
  10. I have the same issue about the / vs \ but dont see the related path in environ.ini .... so i applied patch 30289605 and now get a different error than keystore

    #### <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <946df0c9-efa1-40f5-8944-c5e4e33e4cb8-00000009> <1608264336413> <[severity-value: 8] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <Unable to set the activation state to true for the application "SPLWeb".
    weblogic.application.ModuleException: javax.security.auth.login.FailedLoginException: [Security:090938]Authentication failure: The specified user failed to log in. javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User specified user denied
    at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:233)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:228)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:78)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:52)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:750)

    ReplyDelete
  11. Please ignore my last comment about bad password, i did not realize the guide changed the password for system/ouafjndi to system/ouafadmin XD

    It is up and running :D

    ReplyDelete
  12. Thank you for the guide. I have the app installed and everything works except getting IWS services to deploy. Going to the IWS Deployment screen in C2M shows
    The server has encountered a problem. Please contact your system administrator.

    IWSdeploy log shows
    java.sql.SQLSyntaxErrorException: ORA-00904: "USER_LOCK"."REQUEST": invalid identifier

    at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:494) ~[ojdbc8-12.2.0.1.jar:12.2.0.1.0]
    at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:446) ~[ojdbc8-12.2.0.1.jar:12.2.0.1.0]
    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1054) ~[ojdbc8-12.2.0.1.jar:12.2.0.1.0]
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:623) ~
    oracle.ucp.jdbc.proxy.PreparedStatementProxyFactory.invoke(PreparedStatementProxyFactory.java:185) ~[ucp-12.2.0.1.jar:12.2.0.1.0 with patch 29357261]
    at com.sun.proxy.$Proxy22.executeQuery(Unknown Source) ~[?:?]
    at com.splwg.base.support.sql.PreparedStatementImpl.createSQLIterator(PreparedStatementImpl.java:773) [spl-base-4.4.0.2.0.jar:?]
    at com.splwg.base.support.sql.PreparedStatementImpl.iterate(PreparedStatementImpl.java:760) [spl-base-4.4.0.2.0.jar:?]
    at com.splwg.base.support.sql.PreparedStatementImpl.iterate(PreparedStatementImpl.java:747) [spl-base-4.4.0.2.0.jar:?]
    at com.splwg.base.support.sql.PreparedStatementImpl.firstRow(PreparedStatementImpl.java:811) [spl-base-4.4.0.2.0.jar:?]
    at com.splwg.base.support.sql.PreparedStatementImpl.firstRow(PreparedStatementImpl.java:80) [spl-base-4.4.0.2.0.jar:?]
    at com.splwg.base.domain.webservices.inbound.IwsDeploySemaphore.lock(IwsDeploySemaphore.java:81) [spl-base-4.4.0.2.0.jar:?]
    at com.splwg.base.domain.webservices.inbound.IwsDeploySemaphore.lockX(IwsDeploySemaphore.java:64) [spl-base-4.4.0.2.0.jar:?]
    at com.oracle.ouaf.ws.IwsDeploy$1.execute(IwsDeploy.java:114) [spl-iws-4.4.0.2.0.jar:?]
    at com.oracle.ouaf.ws.IwsDeploy$1.execute(IwsDeploy.java:109) [spl-iws-4.4.0.2.0.jar:?]
    at com.splwg.base.support.context.SessionExecutable.doInNewSession(SessionExecutable.java:65) [spl-base-4.4.0.2.0.jar:?]
    at com.oracle.ouaf.ws.IwsDeploy.run(IwsDeploy.java:132) [spl-iws-4.4.0.2.0.jar:?]
    at com.oracle.ouaf.ws.IwsDeploy.main(IwsDeploy.java:41) [spl-iws-4.4.0.2.0.jar:?]
    Caused by: oracle.jdbc.OracleDatabaseException: ORA-00904: "USER_LOCK"."REQUEST": invalid identifier

    at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:498) ~[ojdbc8-12.2.0.1.jar:12.2.0.1.0]
    ... 31 more
    - 2020-12-20 21:27:55,053 [main] ERROR (support.sql.PreparedStatementImpl) Error executing iterate for rawSQL:
    select user_lock.release(?) as STATUS from F1_INSTALLATION /* releasing IwsDeploy */
    with 'integer' parameter named 'id' to : '11010540' to indices: 1

    ReplyDelete
    Replies
    1. Hey, I will add the steps for IWS deployment also on the blog, going ahead. Meantime please check if you completed below step before everything else for IWS.

      Login as SYS user.
      2. On the SQL prompt, run:
      @?/rdbms/admin/userlock.sql
      3. Grant permission.
      grant execute on USER_LOCK to public;

      Delete
    2. Thank you! I made progress. Clicking deploy in GUI or running iwsdeplpoy.cmd now produces this:Thank you! I made progress. Clicking deploy in GUI or running iwsdeplpoy.cmd now produces this:
      - 2021-01-06 20:58:57,735 [Thread-5] INFO (ouaf.iwsbuild.java) 20:58:57.626 [main] ERROR com.oracle.ouaf.ws.tools.artifactgen.InboundWebserviceGenerator - Caught exception
      - 2021-01-06 20:58:57,735 [Thread-5] INFO (ouaf.iwsbuild.java) com.oracle.ouaf.ws.ConfigurationError: Could not initialize 'Java System Compiler', please verify your installation.
      - 2021-01-06 20:58:57,735 [Thread-5] INFO (ouaf.iwsbuild.java) at com.oracle.ouaf.ws.tools.artifactgen.InboundWebserviceGenerator.compileStubClass(InboundWebserviceGenerator.java:770) ~[spl-iws-4.4.0.2.0.jar:?]
      - 2021-01-06 20:58:57,735 [Thread-5] INFO (ouaf.iwsbuild.java) at com.oracle.ouaf.ws.tools.artifactgen.InboundWebserviceGenerator.generateStandardServices(InboundWebserviceGenerator.java:502) ~[spl-iws-4.4.0.2.0.jar:?]
      - 2021-01-06 20:58:57,735 [Thread-5] INFO (ouaf.iwsbuild.java) at com.oracle.ouaf.ws.tools.artifactgen.InboundWebserviceGenerator$1.execute(InboundWebserviceGenerator.java:294) ~[spl-iws-4.4.0.2.0.jar:?]
      - 2021-01-06 20:58:57,735 [Thread-5] INFO (ouaf.iwsbuild.java) at com.oracle.ouaf.ws.tools.artifactgen.InboundWebserviceGenerator$1.execute(InboundWebserviceGenerator.java:287) ~[spl-iws-4.4.0.2.0.jar:?]
      - 2021-01-06 20:58:57,735 [Thread-5] INFO (ouaf.iwsbuild.java) at com.splwg.base.support.context.SessionExecutable.doInNewSession(SessionExecutable.java:65) ~[spl-base-4.4.0.2.0.jar:?]
      - 2021-01-06 20:58:57,735 [Thread-5] INFO (ouaf.iwsbuild.java) at com.splwg.base.support.context.SessionExecutable.doInNewSession(SessionExecutable.java:39) ~[spl-base-4.4.0.2.0.jar:?]
      - 2021-01-06 20:58:57,735 [Thread-5] INFO (ouaf.iwsbuild.java) at com.oracle.ouaf.ws.tools.artifactgen.InboundWebserviceGenerator.main(InboundWebserviceGenerator.java:310) [spl-iws-4.4.0.2.0.jar:?]
      - 2021-01-06 20:58:57,813 [main] ERROR (webservices.inbound.AntRunner) Error executing build script C:\c2m\ouaf\C2M2703\splapp\iws\iws-build-WLS.xml
      org.apache.tools.ant.ExitStatusException: The following error occurred while executing this line:
      C:\c2m\ouaf\C2M2703\splapp\iws\iws-build-common.xml:30: Java returned: -1
      at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:566) ~[ant-1.10.5.jar:1.10.5]
      at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:440) ~[ant-1.10.5.jar:?]
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) ~[ant-1.10.5.jar:1.10.5]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_271]
      at org.apache.tools.ant.Project.executeTarget(Project.java:1361) ~[ant-1.10.5.jar:1.10.5]
      at com.splwg.base.domain.webservices.inbound.AntRunner.execute(AntRunner.java:64) [spl-base-4.4.0.2.0.jar:?]
      at com.splwg.base.domain.webservices.inbound.AntRunner.execute(AntRunner.java:17) [spl-base-4.4.0.2.0.jar:?]
      at com.splwg.base.support.context.SessionExecutable.doInCurrentSession(SessionExecutable.java:174) [spl-base-4.4.0.2.0.jar:?]
      at com.oracle.ouaf.ws.IwsDeploy$1.execute(IwsDeploy.java:120) [spl-iws-4.4.0.2.0.jar:?]
      at com.oracle.ouaf.ws.IwsDeploy$1.execute(IwsDeploy.java:109) [spl-iws-4.4.0.2.0.jar:?]
      at com.splwg.base.support.context.SessionExecutable.doInNewSession(SessionExecutable.java:65) [spl-base-4.4.0.2.0.jar:?]
      at com.oracle.ouaf.ws.IwsDeploy.run(IwsDeploy.java:132) [spl-iws-4.4.0.2.0.jar:?]
      at com.oracle.ouaf.ws.IwsDeploy.main(IwsDeploy.java:41) [spl-iws-4.4.0.2.0.jar:?]
      - 2021-01-06 20:58:57,813 [main] INFO (ouaf.iwsbuild.echo) BUILD FAILED
      - 2021-01-06 20:58:57,813 [main] INFO (ouaf.iwsbuild.echo) Total time: 223 seconds

      Delete
    3. Issue is with the url of server.
      Navigate to the C:\c2m\ouaf\C2M2703\splapp\iws\iws-build-WLS.xml file and update below property. Change the url from 't3s' to 't3'.

      Old value
      property name="web.admin.url" value="t3s://localhost:6501"
      New value
      property name="web.admin.url" value="t3://localhost:6501"

      Alternatively you can also correct the port in the url to point to https port.

      Delete
    4. Hi Sreeneeth..
      I am also getting the same issue and tried the changes but still same error
      Error executing build script C:\c2m\ouaf\C2M2703\splapp\iws\iws-build-WLS.xml
      org.apache.tools.ant.ExitStatusException: The following error occurred while executing this line:
      C:\c2m\ouaf\C2M2703\splapp\iws\iws-build-common.xml:30: Java returned: -1

      Delete
    5. Hi sreenath,

      Please add steps for deploying IWS services as we are not able to do it from installation guide.


      Regards,
      Rushikesh

      Delete
    6. Hi, check my blog for installation of c2m 2.8. Have added the steps for deployment of IWS in it. The steps are same.

      Blog Link:
      https://myouafworld.blogspot.com/2021/08/ouaf-c2m-2800-installation-on-windows64.html

      Delete
    7. For this issue "com.oracle.ouaf.ws.ConfigurationError: Could not initialize 'Java System Compiler'". Verify that 'PATH' variable in system environment variables. Ensure that it has only one path to java.exe and that should be the one we are using in JAVA_HOME

      Delete
  13. Hey, yeah I was just about reply for that. Sorry for wrong password earlier. Good you were able to figure it out.. :-)

    ReplyDelete
  14. can someone please help me with 30289605 patch.

    ReplyDelete
  15. Hi Sreeneeth,
    I need your help.

    SPLService is in warning state, Application is not coming up.

    Below is the logs :

    - 2021-05-15 02:05:08,281 [[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR (web.dynamicui.MetaDataHolder) Unable to find UI xml file '/c1/ci/cti/automatedDialerTabMenu.xml' for program 'automatedDialerTabMenu'
    - 2021-05-15 02:05:08,281 [[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR (web.dynamicui.TransformServletHelper) Unable to find UI xml file for navigation key automatedDialerTabMenu expected at location /c1/ci/cti/automatedDialerTabMenu.xml
    com.splwg.shared.common.LoggedException: Unable to find UI xml file for navigation key automatedDialerTabMenu expected at location /c1/ci/cti/automatedDialerTabMenu.xml
    at com.splwg.shared.common.LoggedException.raised(LoggedException.java:67) [spl-shared-4.4.0.2.0.jar:?]
    at com.splwg.base.web.dynamicui.TransformServletHelper.transformMDToLanguageIndependentXSL(TransformServletHelper.java:326) [spl-web-4.4.0.2.0.jar:?]
    at com.splwg.base.web.dynamicui.TransformServletHelper.doLanguageIndependentTransform(TransformServletHelper.java:170) [spl-web-4.4.0.2.0.jar:?]
    at com.splwg.base.web.dynamicui.TransformServletHelper.preloadLanguageIndependentXSLPage(TransformServletHelper.java:124) [spl-web-4.4.0.2.0.jar:?]
    at com.splwg.base.web.startup.PreloadLoginInfo.privatePreloadPages(PreloadLoginInfo.java:179) [spl-web-4.4.0.2.0.jar:?]
    at com.splwg.base.web.startup.PreloadLoginInfo.privatePreloadXSLPages(PreloadLoginInfo.java:204) [spl-web-4.4.0.2.0.jar:?]
    at com.splwg.base.web.startup.PreloadLoginInfo.run(PreloadLoginInfo.java:139) [spl-web-4.4.0.2.0.jar:?]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_231]
    at com.splwg.base.web.startup.PreloadLoginInfo.conditionallyPreloadXSLPages(PreloadLoginInfo.java:128) [spl-web-4.4.0.2.0.jar:?]
    at com.splwg.base.web.startup.PreloadLoginInfo.privateExecute(PreloadLoginInfo.java:76) [spl-web-4.4.0.2.0.jar:?]

    ReplyDelete
    Replies
    1. Hey, this s just a warning error. This can be ignored. Check if there are any other errors in the log that is causing application to fail.

      Delete
    2. ouaf server logs
      Starting WLS with line:
      C:\CCB\java\jdk\bin\java -server -Xms2048m -Xmx2048m -Dweblogic.Name=ouafserver -Djava.security.policy=C:\CCB\weblogic\Oracle\MIDDLE~1\ORACLE~1\wlserver\server\lib\weblogic.policy -Dweblogic.system.BootIdentityFile=C:\CCB\weblogic\Oracle\Middleware\Oracle_Home\user_projects\domains\ccb27_domain\servers\ouafserver\data\nodemanager\boot.properties -Dweblogic.nodemanager.ServiceEnabled=true -Dweblogic.nmservice.RotationEnabled=true -Xms2048m -Xmx2048m -XX:PermSize=300m -Dfile.encoding=ISO8859_1 - Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0 -Djavax.xml.soap.MessageFactory=com.sun.xml.internal.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl - Djavax.xml.soap.SOAPConnectionFactory=weblogic.wsee.saaj.SOAPConnectionFactoryImpl - Dcom.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace=false -Djava.system.class.loader=com.oracle.classloader.weblogic.LaunchClassLoader -Djava.protocol.handler.pkgs="oracle.mds.net.protocol" -Dopss.version=12.2.1.2 -Digf.arisidbeans.carmlloc=C:\CCB\weblogic\Oracle\MIDDLE~1\ORACLE~1\USER_P~1\domains\CCB27_~1\config\fmwconfig\carml -Digf.arisidstack.home=C:\CCB\weblogic\Oracle\MIDDLE~1\ORACLE~1\USER_P~1\domains\CCB27_~1\config\fmwconfig\arisidprovider -Doracle.security.jps.config=C:\CCB\weblogic\Oracle\MIDDLE~1\ORACLE~1\USER_P~1\domains\CCB27_~1\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\CCB\weblogic\Oracle\MIDDLE~1\ORACLE~1\USER_P~1\domains\CCB27_~1\servers\ouafserver\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=C:\CCB\weblogic\Oracle\Middleware\Oracle_Home\oracle_common\modules\oracle.ossoiap,C:\CCB\weblogic\Oracle\Middleware\Oracle_Home\oracle_common\modules\oracle.oamprovider,C:\CCB\weblogic\Oracle\Middleware\Oracle_Home\oracle_common\modules\oracle.jps -Doracle.mds.filestore.preferred=true -Dadf.version=12.2.1.1.0 -Dweblogic.jdbc.remoteEnabled=true -Dcommon.components.home=C:\CCB\weblogic\Oracle\Middleware\Oracle_Home\oracle_common -Djrf.version=12.2.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=C:\CCB\weblogic\Oracle\MIDDLE~1\ORACLE~1\USER_P~1\domains\CCB27_~1 -Doracle.server.config.dir=C:\CCB\weblogic\Oracle\MIDDLE~1\ORACLE~1\USER_P~1\domains\CCB27_~1\config\fmwconfig\servers\ouafserver -Doracle.domain.config.dir=C:\CCB\weblogic\Oracle\MIDDLE~1\ORACLE~1\USER_P~1\domains\CCB27_~1\config\fmwconfig -Doracle.jrf.restrictedMode=true -javaagent:C:\CCB\weblogic\Oracle\MIDDLE~1\ORACLE~1\wlserver\server\lib\debugpatch-agent.jar -da -Dwls.home=C:\CCB\weblogic\Oracle\MIDDLE~1\ORACLE~1\wlserver\server -Dweblogic.home=C:\CCB\weblogic\Oracle\MIDDLE~1\ORACLE~1\wlserver\server -Djavax.management.builder.initial=weblogic.management.jmx.mbeanserver.WLSMBeanServerBuilder -Dweblogic.management.server=http://192.168.43.21:7001 -Djava.util.logging.manager=oracle.core.ojdl.logging.ODLLogManager weblogic.Server
      Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=300m; support was removed in 8.0
      Unrecognized option: -
      Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.
      Stopping Derby server...
      Derby server stopped.




      Delete
    3. I see this error in the log "Unrecognized option: -". Go through the options appended to the java command in the log and see if there is an extra "-" present somewhere in the command.

      Delete
  16. Please post IWS deployment steps

    ReplyDelete
  17. Hi sreeneeth,

    can you help me on below issue:

    A MultiException has 6 exceptions. They are:
    1. weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid. The user name or password or both from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.
    2. java.lang.IllegalStateException: Unable to perform operation: post construct on weblogic.security.SecurityService
    3. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.jndi.internal.RemoteNamingService errors were found
    4. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.jndi.internal.RemoteNamingService
    5. java.lang.IllegalArgumentException: While attempting to resolve the dependencies of weblogic.connector.common.ConnectorServiceActivator errors were found
    6. java.lang.IllegalStateException: Unable to perform operation: resolve on weblogic.connector.common.ConnectorServiceActivator

    at org.jvnet.hk2.internal.Collector.throwIfErrors(Collector.java:89)
    at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:249)
    at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:357)
    at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:471)
    at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:232)
    Truncated. see log file for complete stacktrace
    Caused By: weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid. The user name or password or both from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:1101)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.postInitialize(CommonSecurityServiceManagerDelegateImpl.java:1220)
    at weblogic.security.service.SecurityServiceManager.postInitialize(SecurityServiceManager.java:586)
    at weblogic.security.SecurityService.start(SecurityService.java:130)
    at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:76)
    Truncated. see log file for complete stacktrace
    Caused By: javax.security.auth.login.FailedLoginException: [Security:090938]Authentication failure: The specified user failed to log in. weblogic.security.providers.authentication.LDAPAtnDelegateException: [Security:090295]caught unexpected exception, No such object
    at com.bea.common.security.utils.ExceptionHandler.throwFailedLoginException(ExceptionHandler.java:62)
    at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:368)
    at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:117)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:114)
    Truncated. see log file for complete stacktrace

    ReplyDelete
    Replies
    1. When is this error coming up. Is it coming when you are trying to log in.

      Delete
  18. Hi Sree

    Thanks you very much for this detailed documentation. I have followed the steps and able to install C2M in my local PC.

    However, I am stuck at last step. My SPLWEB deployment wont start. It is failing.

    I have enabled the Appviewer, for that reason the EAR filesize is large.

    I am getting below error.

    ####<9 Jun, 2021 7:00:36,128 PM IST> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <1623245436128> <[severity-value: 16] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] >

    ####<9 Jun, 2021 7:00:36,160 PM IST> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <1623245436160> <[severity-value: 8] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <Failed to initialize the application "SPLWeb" due to error weblogic.management.DeploymentException: Exception occured while downloading files
    weblogic.management.DeploymentException: Exception occured while downloading files
    at weblogic.deploy.internal.targetserver.datamanagement.AppDataUpdate.doDownload(AppDataUpdate.java:50)
    at weblogic.deploy.internal.targetserver.datamanagement.DataUpdate.download(DataUpdate.java:59)
    at weblogic.deploy.internal.targetserver.datamanagement.Data.prepareDataUpdate(Data.java:126)
    at weblogic.deploy.internal.targetserver.BasicDeployment.prepareDataUpdate(BasicDeployment.java:907)
    at weblogic.deploy.internal.targetserver.BasicDeployment.stageFilesForStatic(BasicDeployment.java:960)

    I have checked all config in WEBLOGIC I can not find anything related to that.

    Appreciate if you could help me with this. TIA.

    Regards
    Tapa

    ReplyDelete
    Replies
    1. Hey, the failure is when trying to deploy then set the following parameter in
      startWebLogic.cmd file. This will solve the issue of deployment file size.

      set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.deploy.MaxPostSize="2000000000"

      If there is any memory error on server startup after deployment, then update the java memory parameters for the c2m server

      set USER_MEM_ARGS=-Xms3072m -Xmx3072m -XX:PermSize=512m

      Delete
  19. Hi Sreeneeth, thanks for this, it has been very helpful.

    ReplyDelete
  20. Hello Shrinath,

    Thanks for 2.7 blog

    Please include IWS Deployment steps for 2.7 as well because 2.8 IWS steps are not working for 2.7

    Please Help.

    Thanks!!!!!1

    ReplyDelete
    Replies
    1. Hey, the steps are same. Let me know what error you are getting when doing IWS deployment

      Sreeneeth

      Delete
  21. Hello ,

    I am facing below issue , SPLweb not getting deployed , please help .
    Logs as below :

    at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHandler.invoke(Delegator.java:64) ~[com.oracle.weblogic.security.service.cssimpl.jar:12.2.1.3]
    at com.sun.proxy.$Proxy94.authenticate(Unknown Source) ~[?:?]
    at weblogic.security.service.WLSJAASAuthenticationServiceWrapper.authenticate(WLSJAASAuthenticationServiceWrapper.java:40) ~[com.oracle.weblogic.security.service.ffimpl.jar:12.2.1.3]
    at weblogic.security.service.PrincipalAuthenticatorImpl.authenticate(PrincipalAuthenticatorImpl.java:373) ~[com.oracle.weblogic.security.service.ffimpl.jar:12.2.1.3]
    at weblogic.security.service.PrincipalAuthenticatorImpl.authenticate(PrincipalAuthenticatorImpl.java:380) ~[com.oracle.weblogic.security.service.ffimpl.jar:12.2.1.3]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_291]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_291]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_291]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_291]
    at weblogic.security.service.ServiceHandler.invoke(ServiceHandler.java:55) ~[com.oracle.weblogic.security.service.ffimpl.jar:12.2.1.3]
    at com.sun.proxy.$Proxy105.authenticate(Unknown Source) ~[?:?]
    at weblogic.jndi.WLInitialContextFactoryDelegate.authenticateLocally(WLInitialContextFactoryDelegate.java:890) ~[com.oracle.weblogic.jndi.jar:12.2.1.3]
    at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialContextFactoryDelegate.java:849) ~[com.oracle.weblogic.jndi.jar:12.2.1.3]
    ... 92 more
    <User defined listener com.splwg.base.web.startup.SPLWebStartup failed: com.splwg.shared.common.LoggedException: Unexpected NamingException while resolving Initial Context.
    com.splwg.shared.common.LoggedException: Unexpected NamingException while resolving Initial Context
    at com.splwg.shared.common.LoggedException.wrap(LoggedException.java:199)
    at com.splwg.shared.common.LoggedException.wrap(LoggedException.java:87)
    at com.splwg.serviceclient.ServiceClientHelper.createContext(ServiceClientHelper.java:55)
    at com.splwg.serviceclient.ServiceClientHelper.getServiceBean(ServiceClientHelper.java:38)
    at com.splwg.serviceclient.RemotePageServiceDispatcherHelper.doIt(RemotePageServiceDispatcherHelper.java:17)

    ReplyDelete
    Replies
    1. Is it coming during server startup or deployment of SPLWeb.ear

      Delete
    2. Verify that JNDI password you had set on application installation is same as the password for system user in weblogic.

      Delete
  22. Hello ,

    I am facing below issue , SPLweb not getting deployed , please help .
    Logs as below :

    at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHandler.invoke(Delegator.java:64) ~[com.oracle.weblogic.security.service.cssimpl.jar:12.2.1.3]
    at com.sun.proxy.$Proxy94.authenticate(Unknown Source) ~[?:?]
    at weblogic.security.service.WLSJAASAuthenticationServiceWrapper.authenticate(WLSJAASAuthenticationServiceWrapper.java:40) ~[com.oracle.weblogic.security.service.ffimpl.jar:12.2.1.3]
    at weblogic.security.service.PrincipalAuthenticatorImpl.authenticate(PrincipalAuthenticatorImpl.java:373) ~[com.oracle.weblogic.security.service.ffimpl.jar:12.2.1.3]
    at weblogic.security.service.PrincipalAuthenticatorImpl.authenticate(PrincipalAuthenticatorImpl.java:380) ~[com.oracle.weblogic.security.service.ffimpl.jar:12.2.1.3]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_291]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_291]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_291]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_291]
    at weblogic.security.service.ServiceHandler.invoke(ServiceHandler.java:55) ~[com.oracle.weblogic.security.service.ffimpl.jar:12.2.1.3]
    at com.sun.proxy.$Proxy105.authenticate(Unknown Source) ~[?:?]
    at weblogic.jndi.WLInitialContextFactoryDelegate.authenticateLocally(WLInitialContextFactoryDelegate.java:890) ~[com.oracle.weblogic.jndi.jar:12.2.1.3]
    at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialContextFactoryDelegate.java:849) ~[com.oracle.weblogic.jndi.jar:12.2.1.3]
    ... 92 more
    <User defined listener com.splwg.base.web.startup.SPLWebStartup failed: com.splwg.shared.common.LoggedException: Unexpected NamingException while resolving Initial Context.
    com.splwg.shared.common.LoggedException: Unexpected NamingException while resolving Initial Context
    at com.splwg.shared.common.LoggedException.wrap(LoggedException.java:199)
    at com.splwg.shared.common.LoggedException.wrap(LoggedException.java:87)
    at com.splwg.serviceclient.ServiceClientHelper.createContext(ServiceClientHelper.java:55)
    at com.splwg.serviceclient.ServiceClientHelper.getServiceBean(ServiceClientHelper.java:38)
    at com.splwg.serviceclient.RemotePageServiceDispatcherHelper.doIt(RemotePageServiceDispatcherHelper.java:17)

    ReplyDelete
    Replies
    1. Verify the steps for user and groups creation for native installation again. Seems to be an authentication issue for weblogic.

      Delete
  23. Hiii Sreeneeth...Please start charging everyone ;)

    -Your Admirer :)

    ReplyDelete
  24. Hi Sreenath,
    getting below issue while deploying SPLweb. Deployment is getting failed.

    <9 Sep, 2021, 9:18:25,975 PM IST>
    <9 Sep, 2021, 9:18:26,11 PM IST>
    weblogic.application.AnnotationProcessingException: weblogic.application.metadatacache.MetadataCacheException: weblogic.application.AnnotationProcessingException: weblogic.utils.ErrorCollectionException:


    ReplyDelete
    Replies
    1. Hi, are there any other errors on the log. If possible put the entire error trace here.

      Delete
    2. <9 Sep, 2021, 9:15:24,886 PM IST>
      - 2021-09-09 21:15:24,908 [[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (web.startup.SPLWebStartup) Shutting Down the JMX Connectors...
      - 2021-09-09 21:15:24,908 [[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (web.startup.SPLWebStartup) JMX Connectors shutdown successfully
      - 2021-09-09 21:15:24,908 [[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO (web.startup.SPLWebStartup) Shutting Down the Application Context...
      <9 Sep, 2021, 9:18:25,975 PM IST>
      <9 Sep, 2021, 9:18:26,11 PM IST>
      weblogic.application.AnnotationProcessingException: weblogic.application.metadatacache.MetadataCacheException: weblogic.application.AnnotationProcessingException: weblogic.utils.ErrorCollectionException:

      <Unable to set the activation state to true for the application "SPLWeb".
      weblogic.application.ModuleException: java.lang.NullPointerException
      at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
      at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:233)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:228)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)

      Delete
    3. Are there any other errors before this in log.

      Delete
    4. I am putting complete log trace but its getting trimmed and only few last lines are getting published. Here i am again sending complete logs :

      javax.ejb.EJBException: EJB Exception: ; nested exception is:
      com.oracle.pitchfork.interfaces.LifecycleCallbackException: Failure to invoke public java.lang.Object org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(javax.interceptor.InvocationContext) throws java.lang.Exception on bean class class org.jboss.weld.ejb.SessionBeanInterceptor with args: [LifecycleEventCallbackInvocationContext(1396052790)]
      at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.unwrapRemoteException(RemoteBusinessIntfProxy.java:127) ~[com.oracle.weblogic.ejb.jar:12.2.1.2]
      at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:94) ~[com.oracle.weblogic.ejb.jar:12.2.1.2]
      at com.sun.proxy.$Proxy224.readSystem(Unknown Source) ~[?:?]
      at com.splwg.serviceclient.RemoteServiceDispatcher$1.executeService(RemoteServiceDispatcher.java:45) ~[spl-serviceclient-4.4.0.2.0.jar:?]
      at com.splwg.serviceclient.RemoteServiceDispatcher$1.executeService(RemoteServiceDispatcher.java:42) ~[spl-serviceclient-4.4.0.2.0.jar:?]
      at com.splwg.serviceclient.RemotePageServiceDispatcherHelper.doIt(RemotePageServiceDispatcherHelper.java:19) [spl-serviceclient-4.4.0.2.0.jar:?]
      at com.splwg.serviceclient.RemoteServiceDispatcher.readSystem(RemoteServiceDispatcher.java:47) [spl-serviceclient-4.4.0.2.0.jar:?]
      at com.splwg.base.web.startup.PreloadLoginInfo.getMostPrevalentUserLanguage(PreloadLoginInfo.java:269) [spl-web-4.4.0.2.0.jar:?]
      at com.splwg.base.web.startup.PreloadLoginInfo.initializeRequestContext(PreloadLoginInfo.java:220) [spl-web-4.4.0.2.0.jar:?]
      at com.splwg.base.web.startup.PreloadLoginInfo.privateExecute(PreloadLoginInfo.java:70) [spl-web-4.4.0.2.0.jar:?]
      at com.splwg.base.web.startup.PreloadLoginInfo.execute(PreloadLoginInfo.java:58) [spl-web-4.4.0.2.0.jar:?]
      at com.splwg.base.web.startup.SPLWebStartup.contextInitialized(SPLWebStartup.java:70) [spl-web-4.4.0.2.0.jar:?]
      at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:705) [com.oracle.weblogic.servlet.jar:12.2.1.2]
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326) [com.oracle.weblogic.security.subject.jar:12.2.1.2]
      at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197) [com.oracle.weblogic.security.subject.jar:12.2.1.2]
      at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203) [com.oracle.weblogic.servlet.jar:12.2.1.2]
      at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71) [com.oracle.weblogic.servlet.jar:12.2.1.2]
      at weblogic.servlet.internal.EventsManager.executeContextListener(EventsManager.java:251) [com.oracle.weblogic.servlet.jar:12.2.1.2]
      at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:204) [com.oracle.weblogic.servlet.jar:12.2.1.2]

      Delete
    5. You can mail me the logs at sreeneeth@gmail.com if it is getting trimmed here.

      Delete
    6. email sent with required log files..

      Delete
    7. hello, I have the same snippet of logs here. could you share the resolution as it might be the same issue as mine? thank you!

      Delete
    8. I think this was an issue in the user configuration on the weblogic side. Just verify the user configuration steps again.

      Delete
  25. This comment has been removed by the author.

    ReplyDelete
  26. Hi Sreeneeth,
    The article is very helpful for installation Oracle CCB on local machine. I could follow all the step as you have motioned in he blog, however, when I was trying to access the URL of CCB application I got Server not found 404 error.

    From the earlier troubleshooting comments: The issue is file path for keystore folder. As seen in log it is searching it as 'C:ouafJP270DMO/ks/.ouaf_keystore'

    As you have suggested to check in the environ.ini file to correct the "\" with "/" . I checked the INI file and could not identify which paths need to be corrected ? ..the INI file has many paths mentioned.

    Could you please shed light and help me in troubleshooting the issue.

    Thanks in advance.

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
    2. You need to correct for following:
      KS_KEYSTORE_FILE
      KS_STOREPASS_FILE
      SPLDIR
      SPLDIROUT
      SPLEBASE
      SPLOUTPUT

      Additionally you need to correct the path in C:\spl\etc\cistab file. Else splenviron command won't work.

      Delete
  27. Hello Dear,

    i am facing following issue while bringing up splweb services after deployment.

    #### <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <1647092402441> <[severity-value: 16] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <User defined listener com.splwg.base.web.startup.SPLWebStartup failed: com.splwg.shared.common.LoggedException: Unexpected NamingException while resolving service EJB.
    com.splwg.shared.common.LoggedException: Unexpected NamingException while resolving service EJB
    at com.splwg.shared.common.LoggedException.wrap(LoggedException.java:199)
    at com.splwg.shared.common.LoggedException.wrap(LoggedException.java:87)

    please suggest

    ReplyDelete
  28. Check if there are any other errors in log file.

    ReplyDelete
  29. I am facing the same issue, and this is the only logs.<03a64cba-7104-41eb-8bb2-c0b47a27c72b-00000009> <1656348122018> <[severity-value: 16] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <User defined listener com.splwg.base.web.startup.SPLWebStartup failed: com.splwg.shared.common.LoggedException: Unexpected NamingException while resolving service EJB.
    com.splwg.shared.common.LoggedException: Unexpected NamingException while resolving service EJB
    at com.splwg.shared.common.LoggedException.wrap(LoggedException.java:199)
    at com.splwg.shared.common.LoggedException.wrap(LoggedException.java:87)
    at com.splwg.serviceclient.ServiceClientHelper.getServiceBean(ServiceClientHelper.java:44)
    at com.splwg.serviceclient.RemotePageServiceDispatcherHelper.doIt(RemotePageServiceDispatcherHelper.java:17)
    at com.splwg.serviceclient.RemoteServiceDispatcher.readSystem(RemoteServiceDispatcher.java:51)
    at com.splwg.base.web.startup.PreloadLoginInfo.getMostPrevalentUserLanguage(PreloadLoginInfo.java:26

    ReplyDelete
    Replies
    1. Check if there are any other errors in log file.

      Delete
  30. Caused By: java.lang.RuntimeException: The keystore file 'C:c2mouafC2M2703DEV/ks/.ouaf_keystore' does not exist. This file is either provided by the property com.oracle.ouaf.system.keystore.file or expected to exist at the default file location C:\c2m\ouaf\C2M2703DEV/ks/.keystore
    at com.splwg.shared.common.cryptography.KeyStoreWrapperFactory.reportKeyStoreFileNotFound(KeyStoreWrapperFactory.java:145)
    at com.splwg.shared.common.cryptography.KeyStoreWrapperFactory.getKeyStoreRelatedFile(KeyStoreWrapperFactory.java:60)
    at com.splwg.shared.common.cryptography.KeyStoreWrapperFactory.getInstance(KeyStoreWrapperFactory.java:36)
    at com.splwg.shared.common.SystemKeyStoreWrapper.getInstance(SystemKeyStoreWrapper.java:15)
    at com.splwg.shared.common.Cryptography.getKeyStore(Cryptography.java:192)
    at com.splwg.shared.common.Cryptography.getDefaultInstance(Cryptography.java:88)
    at com.splwg.shared.common.Cryptography.decryptIfNeeded(Cryptography.java:102)
    at com.splwg.shared.environ.ApplicationProperties.buildEJBClientProperties(ApplicationProperties.java:735)
    at com.splwg.serviceclient.ServiceClientHelper.(ServiceClientHelper.java:22)
    at com.splwg.serviceclient.RemotePageServiceDispatcherHelper.doIt(RemotePageServiceDispatcherHelper.java:17)

    Hi I am getting this error on Starting the Server. I already did an initialSetup after updating environment.ini and splproperties. What else should I do? Should I Import SPLService and SPLWeb in the weblogic Deployments again?

    ReplyDelete
    Replies
    1. hey, this is a product bug.. because of the '/' instead of '\' in file path. There is a patch provided by Oracle to fix the issue. Alternatively as a workaround you can check the steps provided in part 2 blog. This issue is only present in version 2.7.0.3. If you are not tied to this version you can try installing version 2.8 or 2.9 instead. Issue is not present in them.

      Delete
  31. Hello, I am having an issue with some of the pages in CCB;
    (Like Person, Service Agreement, and etc.)

    Tried to apply the patches for AUG 2022;
    Error message: Unable to find UI XML file for navigation key personMaint expected for location /c1/ci/person/personTabMenu.xml

    ReplyDelete
  32. Hii Sreeneeth , I am having an issue with final step of c2m windows installation

    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found

    ReplyDelete
    Replies
    1. SEVERE: failure initializing ADR
      oracle.dfw.common.DiagnosticsException: failure loading adrci binary from the system path: null
      Cause: DFW-40112: There was an error executing adrci commands; the following errors have been found "null"
      Action: Ensure that command line tool "adrci" can be executed from the command line.
      at oracle.dfw.impl.incident.ADRHelper.(ADRHelper.java:263)
      at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.(DiagnosticsDataExtractorImpl.java:180)

      IT IS PRODUCING THIS ERROR IN SERVER CMD-PAGE

      Delete
  33. Hi Sreeneeth, I am unable to deploy splWeb so c2m app is not coming up. Pls check the error log:
    ERROR (support.context.ContextFactory) Error registering lookups
    java.lang.NoClassDefFoundError: com/splwg/w1/api/lookup/ParentOwnerLookup
    at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_211]
    2023-03-01 20:59:14,686 [[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR (splwg.serviceclient.RemotePageServiceDispatcherHelper) Failed READ due to EJBException
    javax.ejb.EJBException: EJB Exception: ; nested exception is:
    com.oracle.pitchfork.interfaces.LifecycleCallbackException: Failure to invoke public java.lang.Object org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(javax.interceptor.InvocationContext) throws java.lang.Exception on bean class class org.jboss.weld.ejb.SessionBeanInterceptor with args: [LifecycleEventCallbackInvocationContext(614651275)]

    ReplyDelete
    Replies
    1. Hi.. seems the WAM part of the installation was not proper or missed. Kindly follow the steps for installing the WAM part of the application.

      Delete
  34. May 27, 2023 10:08:34 PM oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl
    SEVERE: failure initializing ADR
    oracle.dfw.common.DiagnosticsException: failure loading adrci binary from the system path: null
    Cause: DFW-40112: There was an error executing adrci commands; the following errors have been found "null"
    Action: Ensure that command line tool "adrci" can be executed from the command line.
    at oracle.dfw.impl.incident.ADRHelper.(ADRHelper.java:263)
    at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.(DiagnosticsDataExtractorImpl.java:180)
    at oracle.dfw.spi.portable.PortableDiagnosticsFrameworkProvider.init(PortableDiagnosticsFrameworkProvider.java:400)
    at oracle.dfw.framework.DiagnosticsFramework.(DiagnosticsFramework.java:44)
    at oracle.dms.wls.DMSStartup.start(DMSStartup.java:97)
    at oracle.dms.cam.metrics.LocalDmsChannel.(LocalDmsChannel.java:86)
    at oracle.dms.cam.DiagnosticsPluginFactory.createPlugin(DiagnosticsPluginFactory.java:74)
    at weblogic.admin.plugin.PluginManager.createPlugin(PluginManager.java:251)
    at weblogic.nodemanager.server.NMPluginManager.createPlugin(NMPluginManager.java:141)
    at weblogic.nodemanager.server.NMPluginManager.getInvocationPlugin(NMPluginManager.java:90)
    at weblogic.nodemanager.server.Handler.getInvocationPlugin(Handler.java:1263)
    at weblogic.nodemanager.server.Handler.handleInvocation(Handler.java:1163)
    at weblogic.nodemanager.server.Handler.handleCommand(Handler.java:199)
    at weblogic.nodemanager.server.Handler.run(Handler.java:89)
    at java.lang.Thread.run(Thread.java:748)
    Caused by: oracle.dfw.common.DiagnosticsException: DFW-40112: failed to execute the adrci commands ""
    Cause: There was an error executing adrci commands; the following errors have been found "null"
    Action: Ensure that command line tool "adrci" can be executed from the command line.
    at oracle.dfw.impl.incident.ADRHelper.invoke(ADRHelper.java:1591)
    at oracle.dfw.impl.incident.ADRHelper.(ADRHelper.java:245)
    ... 14 more

    May 27, 2023 10:08:34 PM oracle.dms.cam.metrics.LocalDmsChannel oracle.dms.cam.metrics.LocalDmsChannel
    INFO: DMS startup class is not started. DMS runs with reduced functionality.
    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.

    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.

    /// How to resolve this sir, failure initializing ADR --- again and again. CCB pagae not opening

    ReplyDelete
    Replies
    1. Seems to be a weblogic installation issue. Seems some packages are missing. You can try reinstallating weblogic. This is the solution provided by oracle:


      Download Patch 24505009 STAGE13: SEVERE: FAILURE INITIALIZING ADR ERROR WHILE STARTING NODEMANAGER

      Delete
    2. Hi Sir, I have tried the reinstallation of weblogic multiple times. each time this error is comming.
      I don't have the access to the patch 24505009.

      can you please suggest; in weblogic- Where is the issue present?

      Delete
    3. Is Oracle c2m available on virtual machine for study/practice purpose, please help.

      Delete
  35. C:\ouaf\CCB2502\bin>configureEnv.cmd
    Can't locate SPL/splExternal.pm in @INC (@INC contains: C:/app/product/12.1.0/dbhome_1/perl/site/lib C:/app/product/12.1.0/dbhome_1/perl/lib .) at C:\ouaf\CCB2502\bin\configureEnv.plx line 39.
    BEGIN failed--compilation aborted at C:\ouaf\CCB2502\bin\configureEnv.plx line 39.
    C:\ouaf\CCB2502\bin>

    How can i resolve this Issue, I am stuck with this error, can you please help me out

    ReplyDelete
    Replies
    1. Thank you Sreeneeth sir Issue got resolved,

      But now i am facing issue with GC overhead limit exceeded while deploying the SPLweb.ear file.

      when i did this
      Open 'startWebLogic.cmd' file
      Add below line in the file.
      set MEM_ARGS=-Xms2048m -Xmx2048m

      unable to open weblogic console. after i have removed.

      and haven't created new machine, using AdminServer so then i haven't seen the start server option to add the class path there.
      i don't know where can i increase GC overhead limit.

      Delete
  36. Hi Sir,
    while trying to generate certificates i am getting this error. even i have entered correct passwords. folder can able to create but inside files not generating..

    C:\ouaf\CCB2600\bin>perl demo_gen_cert.plx -f

    Removing directory C:\ouaf\CCB2600\splapp\certs ...

    Type the Identify Keystore Password (same as the the one typed in the menu): ******
    Type the Trust Keystore Password (same as the the one typed in the menu): ******Error occured while running java -cp C:\ouaf\Java\jdk1.8.0_202\lib\tools.jar;C:\ouaf\Weblogic\Middleware\Oracle_Home\wlserver\server;C:\ouaf\Weblogic\Middleware\Oracle_Home\wlserver\server\lib\weblogic.jar utils.CertGen -certfile ServerCACert -keyusage digitalSignature,keyAgreement,keyCertSign,keyEncipherment,dataEncipherment -keyusagecritical false -keyfile ServerCAKey -keyfilepass ServerCAKey -strength 2048 -selfsigned -e demo@mycorp.com -ou FOR-DEVELOPMENT-ONLY -o DemoOrganization -l DemoTown -s DemoState -c DemoCountry -cn ouaf_demo_cert:
    Output is Generating a self signed certificate with common name ouaf_demo_cert and key strength 2048
    Failed to generate the certificate:
    java.security.InvalidKeyException: exponent is larger than modulus

    End of output
    demo_gen_cert.plx NOT successful

    ReplyDelete
  37. Hello sir,
    when i can add set MEM_ARGS=-Xms2048m -Xmx2048m in startWebLogic.cmd file i am unable to open the console i am getting below error. once i removed MEM_ARGS i can able to access weblogic console. but deployeing splweb.ear file getting GC overhead limit exceeded error. how to resolve this.
    <14 Jul, 2023 5:25:55 AM IST>
    Exception in thread "Timer-2"
    Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Timer-2"
    Exception in thread "[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception in thread "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'"

    ReplyDelete
    Replies
    1. Try setting memory to 3072. 2048 was only for this version. Newer versions of the product need 3072 memory. All ensure the memory is set to 3072 for both AdminServer and C2M server

      Delete
    2. Still Getting Same error sir.

      C:\ouaf\Java\JDK17~1.0_8\bin\java -server -Xms3072m -Xmx3072m -Dweblogic.Name=myserver -Djava.security.policy=C:\ouaf\weblogic\MIDDLE~1\ORACLE~1\wlserver\server\lib\weblogic.policy -Xverify:none -Djava.endorsed.dirs=C:\ouaf\Java\JDK17~1.0_8\jre\lib\endorsed;C:\ouaf\weblogic\MIDDLE~1\ORACLE~1\oracle_common\modules\endorsed -da -Dwls.home=C:\ouaf\weblogic\MIDDLE~1\ORACLE~1\wlserver\server -Dweblogic.home=C:\ouaf\weblogic\MIDDLE~1\ORACLE~1\wlserver\server weblogic.Server
      <14 Jul, 2023 6:10:28 AM IST>


      <14 Jul, 2023 6:11:12 AM IST>
      Exception in thread "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'"
      Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'"
      Exception in thread "[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'"

      Delete
    3. i am increased to 3072 still getting same issue. any alternative way to be resolved this.
      <14 Jul, 2023 6:11:12 AM IST>
      Exception in thread "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'"
      Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'"
      Exception in thread "[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'"


      C:\ouaf\Java\JDK17~1.0_8\bin\java -server -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=256m -Dweblogic.Name=myserver -Djava.security.policy=C:\ouaf\weblogic\MIDDLE~1\ORACLE~1\wlserver\server\lib\weblogic.policy -Xverify:none -Djava.endorsed.dirs=C:\ouaf\Java\JDK17~1.0_8\jre\lib\endorsed;C:\ouaf\weblogic\MIDDLE~1\ORACLE~1\oracle_common\modules\endorsed -da -Dwls.home=C:\ouaf\weblogic\MIDDLE~1\ORACLE~1\wlserver\server -Dweblogic.home=C:\ouaf\weblogic\MIDDLE~1\ORACLE~1\wlserver\server weblogic.Server

      Delete
  38. Hello Sir, During installation of CCB 2.8 i have chosen Oracle Database 19c, in that import dump dba i have faced below error: how can i resolve this issue, datatype size to be changed,
    CREATE TABLE "CISADM"."CI_ZONE_PRM" ("ZONE_CD" CHAR(12 BYTE) NOT NULL ENABLE, "ZONE_HDL_CD" CHAR(12 BYTE) NOT NULL ENABLE, "ZONE_HDL_PRM_NAME" CHAR(20 BYTE) NOT NULL ENABLE, "ZONE_PARM_VAL" VARCHAR2(32767 BYTE) DEFAULT ' ' NOT NULL ENABLE, "VERSION" NUMBER(5,0) DEFAULT 1 NOT NULL ENABLE, "OWNER_FLG" CHAR(4 BYTE) DEFAULT ' ' NOT NULL ENABLE, "ZONE_PARM_VAL_OVRD" VARCHAR2(4000 BYTE) DEFAULT ' ' NOT NULL ENABLE) SEGMENT CREATION IMMEDIATE PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE(INITIAL 524288 NEXT 262144 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT) TABLESPACE "CISTS_01"
    ORA-39083: Object type TABLE:"CISADM"."CI_ALG_PARM" failed to create with error:
    ORA-00910: specified length too long for its datatype

    ReplyDelete
  39. Refer my blog for C2M version 2.8. You need to extend the database for character length before doing the import.

    ReplyDelete
  40. Hi Sreeneeth,

    Im getting error in SPLWeb while starting server.

    <Unable to set the activation state to true for the application "SPLWeb".
    weblogic.application.ModuleException: com.splwg.shared.common.LoggedException:
    The following stacked messages were reported as the LoggedException was rethrown:
    com.splwg.base.web.startup.PreloadLoginInfo.conditionallyPreloadXSLPages(PreloadLoginInfo.java:128): Unable to preload navigation keys and web pages

    The root LoggedException was: Aborting page preload process due to too many errors (50)
    at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:233)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:228)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
    Truncated. see log file for complete stacktrace
    Caused By: com.splwg.shared.common.LoggedException:
    The following stacked messages were reported as the LoggedException was rethrown:
    com.splwg.base.web.startup.PreloadLoginInfo.conditionallyPreloadXSLPages(PreloadLoginInfo.java:128): Unable to preload navigation keys and web pages

    The root LoggedException was: Aborting page preload process due to too many errors (50)
    at com.splwg.shared.common.LoggedException.raised(LoggedException.java:67)
    at com.splwg.base.web.startup.PreloadLoginInfo.privatePreloadPages(PreloadLoginInfo.java:188)
    at com.splwg.base.web.startup.PreloadLoginInfo.privatePreloadXSLPages(PreloadLoginInfo.java:204)
    at com.splwg.base.web.startup.PreloadLoginInfo.run(PreloadLoginInfo.java:139)
    at java.lang.Thread.run(Thread.java:750)
    Truncated. see log file for complete stacktrace

    ReplyDelete
  41. Hi Sreeneeth,I am facing this issue when SPLWeb is deployed
    <User defined listener com.splwg.base.web.startup.SPLWebStartup failed: com.splwg.shared.common.LoggedException: Failed READ due to EJBException.
    com.splwg.shared.common.LoggedException: Failed READ due to EJBException
    at com.splwg.shared.common.LoggedException.wrap(LoggedException.java:199)
    at com.splwg.shared.common.LoggedException.wrap(LoggedException.java:87)
    at com.splwg.serviceclient.ServiceClientHelper.wrapRemoteException(ServiceClientHelper.java:60)
    at com.splwg.serviceclient.RemotePageServiceDispatcherHelper.doIt(RemotePageServiceDispatcherHelper.java:23)
    at com.splwg.serviceclient.RemoteServiceDispatcher.readSystem(RemoteServiceDispatcher.java:49)
    Truncated. see log file for complete stacktrace
    Caused By: javax.ejb.EJBException: EJB Exception: ; nested exception is:
    com.oracle.pitchfork.interfaces.LifecycleCallbackException: Failure to invoke public java.lang.Object org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(javax.interceptor.InvocationContext) throws java.lang.Exception on bean class class org.jboss.weld.ejb.SessionBeanInterceptor with args: [LifecycleEventCallbackInvocationContext(2057660169)]
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.unwrapRemoteException(RemoteBusinessIntfProxy.java:130)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:97)
    at com.sun.proxy.$Proxy286.readSystem(Unknown Source)
    at com.splwg.serviceclient.RemoteServiceDispatcher$1.executeService(RemoteServiceDispatcher.java:47)
    at com.splwg.serviceclient.RemoteServiceDispatcher$1.executeService(RemoteServiceDispatcher.java:44)
    Truncated. see log file for complete stacktrace

    ReplyDelete
    Replies
    1. Check if there are any other errors on log file. Alternatively you can email me the log file on sreeneeth@gmail.com

      Delete
  42. Sreeneeth,
    I am installing WAM v2.4 on Linux OS. I am able to launch the WAM v2.4 application. I am able to get to Framework objects (Business Object, Maintenance Obj, Color) within the app. However, when I try to get to WAM objects (i,e. Work Order, Asset) I get following error "SYSUSER - 189793-44-1 2024-03-18 03:39:22,012 [[ACTIVE] ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR (IdHelper) Unable to find registered entity data for entityName = 'workRequest'".

    On some portals, I get the result but no "info string". I am able to access the database with CISADM account and access all WAM objects. What am I missing?

    ReplyDelete
  43. Check if there are any other errors in the application log

    ReplyDelete

OUAF Oracle Utilities WAM / ODM 2.4.0.0 installation on Windows

  This blog is for anyone looking to install Oracle Utilities WAM or ODM 2.4.0.0 (Oracle Utilities Workflow and Asset Management) or (Orac...