Send your questions to appsdbauniverse@gmail.com

Wednesday, November 30, 2016

adstrtal.sh failing with Exception in thread "main" java.lang.NullPointerException


You are running adstrtal.sh version 120.24.12020000.11
Enter the WebLogic Server password:
The logfile for this session is located at /u01/applmgr/fs1/inst/apps/vis1_server1/logs/appl/admin/log/adstrtal.log
Exception in thread "main" java.lang.NullPointerException
        at oracle.apps.ad.autoconfig.ServiceControl$ServiceGroup.administerServiceGroup(ServiceControl.java:2616)
        at oracle.apps.ad.autoconfig.ServiceControl$ServiceGroup.access$000(ServiceControl.java:2264)
        at oracle.apps.ad.autoconfig.ServiceControl.<init>(ServiceControl.java:686)
        at oracle.apps.ad.autoconfig.ServiceControl.main(ServiceControl.java:2161)
adstrtal.sh: Exiting with status 1


** Fixing s_oaeaname, s_oaea_managed_servers with value oaea_server1 and run autoconfig fixes the issue


Before change:
            <oa_service_name oa_var="s_oaeaname" type="managed_server"/>
            <oa_service_status oa_var="s_oaeastatus">enabled</oa_service_status>
            <oa_managed_server_name oa_var="s_oaea_managed_servers"/>


After change:
            <oa_service_name oa_var="s_oaeaname" type="managed_server">oaea_server1</oa_service_name>
            <oa_service_status oa_var="s_oaeastatus">enabled</oa_service_status>
            <oa_managed_server_name oa_var="s_oaea_managed_servers">oaea_server1</oa_managed_server_name>

4 comments:

Adarsh Reddy said...

Thx.. We encountered the same issue and this blogpost helped.

Unknown said...

This is awesome, i had the same issue and struggled for 2 hours. In my case i had to update s_oaeastatus to disabled on node 2 and it worked

Thank You so much

Prem Kumar said...

Thanks so much... Your blog helped alot..

Anonymous said...

Wow it worked

Post a Comment