MetaSolv Solution Application Server does not startup properly - ASRStartup.init() and GenericStartup.init() failed (Doc ID 958966.1)

Last updated on MAY 10, 2016

Applies to:

Oracle Communications MetaSolv Solution - Version 6.0.13 and later
Information in this document applies to any platform.
***Checked for relevance on 17-Jun-2014***
***Checked for relevance on 14-Aug-2012***

Symptoms

Cannot access the MetaSolv Solution AppServer Runtime Information page or the URLNamingServicePort (deifined in gateway.ini) after installing/deploying MetaSolv Solution version 6.0.16, ASR 38 and ASR 39 to the WebLogic server. 

http://[IPADDDRESS]:[PORT]/getRuntimeInfo.do
http://[IPADDRESS]:[URLNamingServicePort]/

The server does not startup properly and "ASRStartup.init()" and "GenericStartup.init() failed" messages are received in the {SERVER}.mss.log.  Also receive "java.lang.StringIndexOutOfBoundsException: String index out of range: -1" and "Could not connect to database java.sql.SQLException: ORA-01017: invalid username/password" errors in the appserverlog.xml.  The WebLogic Administration Console is accessible.

ASRStartup.init() and GenericStartup.init() failed errors in the the {SERVER}.mss.log file during startup:

JAVA_HOME=/opt/mssdev/BEA//jdk142_08
CLASSPATH=/opt/mssdev/mssdev/appserver/classes/CR258928_815.jar:/opt/mssdev/mssdev/appserver/classes/MetaSolvSolutionSchemas.jar:/opt/mssdev/mssdev/appserver/classes/integration.jar::/opt/mssdev/BEA/jdk142_08/jre/lib/rt.jar:/opt/mssdev/BEA/jdk142_08//lib/tools.jar:/opt/mssdev/BEA/weblogic81/server/lib/weblogic_sp.jar:/opt/mssdev/BEA/weblogic81/server/lib/weblogic.jar:/opt/mssdev/BEA/weblogic81/server/lib/webservices.jar:::/opt/mssdev/mssdev/appserver/classes/CR188543_813.jar:/opt/mssdev/mssdev/appserver/classes/CR188543_xquery.jar:/opt/mssdev/mssdev/appserver/classes/CR227514_813.jar:
CompilerOracle: exclude oracle/jdbc/driver/OraclePreparedStatement executeBatch
CompilerOracle: exclude weblogic/utils/classfile/expr/LocalVariableExpression codeAssign
CompilerOracle: exclude weblogic/utils/classfile/expr/AssignStatement <init>
<Oct 22, 2009 1:53:26 PM EDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Server VM Version 1.4.2_08-b03 from Sun Microsystems Inc.> 
<Oct 22, 2009 1:53:26 PM EDT> <Info> <Configuration Management> <BEA-150016> <This server is being started as the administration server.> 
<Oct 22, 2009 1:53:27 PM EDT> <Info> <Management> <BEA-141107> <Version: WebLogic Integration 8.1 SP5 2006-02-03 16:08:38 EST Patch for CR258928
WebLogic Server 8.1 SP5  Mon Sep 19 23:06:54 PDT 2005 641358 
WebLogic XMLX Module 8.1 SP5  Mon Sep 19 23:06:54 PDT 2005 641358 
WebLogic Integration 8.1 SP3 Mon Aug 30 14:53:00 PDT 2004 Patch for CR188543 & CR193406> 
<Oct 22, 2009 1:53:27 PM EDT> <Notice> <Management> <BEA-140005> <Loading domain configuration from configuration repository at /opt/mssdev/mssdevdomain/./config.xml.> 
<Oct 22, 2009 1:53:36 PM EDT> <Notice> <Log Management> <BEA-170019> <The server log file /opt/mssdev/mssdevdomain/mssdev/mssdev.log is opened. All server side log events will be written to this file.> 
<Oct 22, 2009 1:53:39 PM EDT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.> 
<Oct 22, 2009 1:53:40 PM EDT> <Notice> <WebLogicServer> <BEA-000327> <Starting WebLogic Admin Server "mssdev" for domain "mssdevdomain"> 
<Oct 22, 2009 1:53:42 PM EDT> <Error> <IIOP> <BEA-002015> <Using javax.rmi.CORBA.UtilClass com.sssw.jbroker.rmi.UtilDelegate; The IIOP subsystem requires a WebLogic Server-compatible UtilClass.> 
<Oct 22, 2009 1:53:42 PM EDT> <Error> <IIOP> <BEA-002016> <Using javax.rmi.CORBA.PortableRemoteObjectClass com.sssw.jbroker.rmi.PortableRemoteObjectDelegate, the IIOP subsystem requires a WebLogic Server-compatible PortableRemoteObjectClass.> 
### Excluding compile:  weblogic.utils.classfile.expr.AssignStatement::<init>
### Excluding compile:  weblogic.utils.classfile.expr.LocalVariableExpression::codeAssign
***  ASR38 API startup in progress ***
*************************************
ASRStartup.init() failed.
PLEASE CONSULT appserverlog.xml file in the /opt/mssdev//mssdev/appserver/logs directory for detailed message!
*************************************
<Oct 22, 2009 1:54:28 PM EDT> <Error> <HTTP> <BEA-101216> <Servlet: "Searcher" failed to preload on startup in Web application: "onlinehelp-asr38".
javax.servlet.ServletException: java.io.FileNotFoundException: /opt/mssdev/mssdev/appserver/help/asr38/en/index/document.index (No such file or directory)
at com.mslv.webapp.help.Searcher.init(Searcher.java:81)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1094)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:970)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:949)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:888)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3430)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3375)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3356)
at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:6208)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:864)
at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2134)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2175)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2122)
at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:3099)
at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1768)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:351)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360)
at weblogic.Server.main(Server.java:32)

***  ASR39 API startup in progress ***
*************************************
ASRStartup.init() failed.
PLEASE CONSULT appserverlog.xml file in the /opt/mssdev//mssdev/appserver/logs directory for detailed message!
*************************************
<Oct 22, 2009 1:54:38 PM EDT> <Notice> <WebLogicServer> <BEA-000329> <Started WebLogic Admin Server "mssdev" for domain "mssdevdomain" running in Production Mode> 
<Oct 22, 2009 1:54:38 PM EDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode> 
<Oct 22, 2009 1:54:38 PM EDT> <Notice> <WebLogicServer> <BEA-000355> <Thread "ListenThread.Default" listening on port 7001, ip address [IP_ADRESS]> 
*************************************
GenericStartup.init() failed.
PLEASE CONSULT appserverlog.xml file in the /opt/mssdev//mssdev/appserver/logs directory for detailed message!
*************************************
Initializing DesktopPlugin with Factory=com.mslv.core.api.internal.desktop.MSSDesktopManager and desktop=asap.
Initializing DesktopPlugin with Factory=com.mslv.core.api.internal.desktop.MSSDesktopManager and desktop=nrm.
tempfile=/opt/mssdev/mssdevdomain/./mssdev/.wlnotdelete/extract/mssdev_nur_onlinehelp/public/en.document.index
time=1647
tempfile=/opt/mssdev/mssdevdomain/./mssdev/.wlnotdelete/extract/mssdev_nur_onlinehelp-nrm/public/en.document.index
time=135

 

"java.lang.StringIndexOutOfBoundsException: String index out of range: -1" error in the appserverlog.xml file:

<log4j:event logger="cmm.System" timestamp="1256234067588" level="ERROR" thread="{SERVER}_gateway_Main">
<log4j:message><![CDATA[[userName :: root][appServerName :: DEF_APPSERVER][productName :: DEF_PRODUCT][machineName :: {SERVER}][moduleName :: cmm.System][messageID :: 10122][className :: DEF_CLASS][debugCode :: 0]::The server encountered the following Error: Error: Couldn't parse ini file: /opt/mssdev//mssdev/appserver/gateway/gateway.ini::The server encountered the following Error:::The server encountered the following Error:::]]></log4j:message>
<log4j:throwable><![CDATA[java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1444)
at com.metasolv.system.IniReader.processParameter(IniReader.java:104)
at com.metasolv.system.IniReader.processLine(IniReader.java:87)
at com.metasolv.system.IniReader.readFile(IniReader.java:59)
at com.metasolv.system.IniReader.readIniFile(IniReader.java:113)
at com.metasolv.system.SystemPropertyLoader.loadFromIniFile(SystemPropertyLoader.java:206)
at com.metasolv.system.SystemPropertyLoader.loadSystemProperties(SystemPropertyLoader.java:134)
at com.metasolv.system.SystemPropertyLoader.getSystemProperties(SystemPropertyLoader.java:233)
at com.metasolv.system.SystemManager.initialize(SystemManager.java:181)
at com.metasolv.system.SystemManager.startup(SystemManager.java:218)
at com.metasolv.system.SystemManager.startup(SystemManager.java:240)
at com.metasolv.system.TBSCORBAAPIServer.startSystemManager(TBSCORBAAPIServer.java:270)
at com.mslv.webapp.asr.context.listener.ASRCORBAAPIServer.init(ASRCORBAAPIServer.java:92)
at com.mslv.webapp.asr.context.listener.ASRStartup.init(ASRStartup.java:72)
at com.mslv.webapp.asr.context.listener.MSLVASRContextListener.contextInitialized(MSLVASRContextListener.java:49)
at weblogic.servlet.internal.WebAppServletContext$FireContextListenerAction.run(WebAppServletContext.java:7044)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.notifyCreated(WebAppServletContext.java:1753)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3352)
at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:6208)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:864)
at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2134)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2175)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2122)
at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:3099)
at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1768)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:351)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360)
at weblogic.Server.main(Server.java:32)
]]></log4j:throwable>
</log4j:event>

<log4j:event logger="cmm.System" timestamp="1256234067926" level="ERROR" thread="{SERVER}_gateway_Main">
<log4j:message><![CDATA[[userName :: SystemManager][appServerName :: DEF_APPSERVER][productName :: DEF_PRODUCT][machineName :: {SERVER}][moduleName :: cmm.System][messageID :: 10119][className :: DEF_CLASS][debugCode :: 0]::The server encountered the following Exception: Could not connect to database java.sql.SQLException: ORA-01017: invalid username/password; logon denied

at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:305)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:272)
at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOsesskey(T4CTTIoauthenticate.java:243)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:304)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:348)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:563)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at com.metasolv.jdbc.MSVConnectionFactory.getConnection(MSVConnectionFactory.java:243)
at com.metasolv.jdbc.MSVConnectionFactory.getConnection(MSVConnectionFactory.java:237)
at com.metasolv.system.SystemManager.beginSession(SystemManager.java:311)
at com.metasolv.system.SystemManager.beginHeadless(SystemManager.java:495)
at com.metasolv.system.SystemManager.startup(SystemManager.java:223)
at com.metasolv.system.SystemManager.startup(SystemManager.java:240)
at com.metasolv.system.TBSCORBAAPIServer.startSystemManager(TBSCORBAAPIServer.java:270)
at com.mslv.webapp.asr.context.listener.ASRCORBAAPIServer.init(ASRCORBAAPIServer.java:92)
at com.mslv.webapp.asr.context.listener.ASRStartup.init(ASRStartup.java:72)
at com.mslv.webapp.asr.context.listener.MSLVASRContextListener.contextInitialized(MSLVASRContextListener.java:49)
at weblogic.servlet.internal.WebAppServletContext$FireContextListenerAction.run(WebAppServletContext.java:7044)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.notifyCreated(WebAppServletContext.java:1753)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3352)
at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:6208)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:864)
at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2134)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2175)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2122)
at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:3099)
at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1768)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:351)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360)
at weblogic.Server.main(Server.java:32)
.
at com.mslv.core.global.MSLVException.createMSLVException(MSLVException.java:169)
at com.mslv.core.global.MSLVException.throwException(MSLVException.java:91)
at com.metasolv.system.SystemManager.beginSession(SystemManager.java:432)
at com.metasolv.system.SystemManager.beginHeadless(SystemManager.java:495)
at com.metasolv.system.SystemManager.startup(SystemManager.java:223)
at com.metasolv.system.SystemManager.startup(SystemManager.java:240)
at com.metasolv.system.TBSCORBAAPIServer.startSystemManager(TBSCORBAAPIServer.java:270)
at com.mslv.webapp.asr.context.listener.ASRCORBAAPIServer.init(ASRCORBAAPIServer.java:92)
at com.mslv.webapp.asr.context.listener.ASRStartup.init(ASRStartup.java:72)
at com.mslv.webapp.asr.context.listener.MSLVASRContextListener.contextInitialized(MSLVASRContextListener.java:49)
at weblogic.servlet.internal.WebAppServletContext$FireContextListenerAction.run(WebAppServletContext.java:7044)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.notifyCreated(WebAppServletContext.java:1753)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3352)
at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:6208)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:864)
at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2134)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2175)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2122)
at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:3099)
at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1768)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:351)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360)
at weblogic.Server.main(Server.java:32)
::]]></log4j:message>
</log4j:event>

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms