Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-2197210.1
Update Date:2016-10-27
Keywords:

Solution Type  Problem Resolution Sure

Solution  2197210.1 :   ODA : "odacli create-appliance" and "odacli describe-appliance" Commands are Failing With "Exception in thread "main" javax.ws.rs.ProcessingException" in X6-2S and X6-2M if ODA Deployment is on 12.1.2.7  


Related Items
  • Oracle Database Appliance X6-2 HA Hardware
  •  
  • Oracle Database Appliance Software
  •  
Related Categories
  • PLA-Support>Eng Systems>Exadata/ODA/SSC>Oracle Database Appliance>DB: ODA_EST
  •  




In this Document
Symptoms
Cause
Solution
 Community Discussions ODA
References


Created from <SR 3-13470986921>

Applies to:

Oracle Database Appliance X6-2 Hardware - Version All Versions to All Versions [Release All Releases]
Oracle Database Appliance Software - Version 12.1.2.7 to 12.1.2.7 [Release 12.1]
Information in this document applies to any platform.

Symptoms

"odacli create-appliance" and "odacli describe-appliance" commands are failing with "Exception in thread "main" javax.ws.rs.ProcessingException" in X6-2S ODA and X6-2M ODA if Deployment is on 12.1.2.7 release as follows:

 

1) "odacli create-appliance -r asmcloud.json" command is failing with the next error:

[root@asmcloud1 bin]# ./odacli create-appliance -r asmcloud.json
{
"instance" : {
"name" : "asmcloud0",
"instanceBaseName" : "asmcloud0",
"dbEdition" : "EE",
"timeZone" : "CDT",
"ntpServers" : [ "##.##.#.###" ],
"dnsServers" : [ "##.##.#.###", "##.##.#.###" ],
"domainName" : "oracle.us",
"isRoleSeparated" : true,
"osUserGroup" : {
"groups" : [ {
"groupId" : 101,
"groupName" : "oinstall",
"groupRole" : "oinstall"
}, {
"groupId" : 1002,
"groupName" : "dbaoper",
"groupRole" : "dbaoper"
}, {
"groupId" : 100,
"groupName" : "dba",
"groupRole" : "dba"
}, {
"groupId" : 1006,
"groupName" : "asmadmin",
"groupRole" : "asmadmin"
}, {
"groupId" : 1005,
"groupName" : "asmoper",
"groupRole" : "asmoper"
}, {
"groupId" : 1004,
"groupName" : "asmdba",
"groupRole" : "asmdba"
} ],
"users" : [ {
"userId" : 100,
"userName" : "oracle",
"userRole" : "oracleUser"
}, {
"userId" : 1000,
"userName" : "grid",
"userRole" : "gridUser"
} ]
},
"objectStoreCredentials" : null
},
"nodes" : [ {
"nodeNumber" : "0",
"nodeName" : "asmcloud",
"network" : [ {
"nicName" : "btbond1",
"ipAddress" : "##.##.#.###",
"subNetMask" : "###.#.#.#",
"gateway" : "##.#.#.#",
"networkType" : [ "Public" ],
"isDefaultNetwork" : true
} ],
"ilom" : {
"ilomName" : "asmcloud-ilom",
"ipAddress" : "##.##.#.###",
"subNetMask" : "###.#.#.#",
"gateway" : "##.#.#.#"
}
} ],
"grid" : {
"diskGroup" : [ {
"diskGroupName" : "DATA",
"redundancy" : "NORMAL",
"diskPercentage" : 90
}, {
"diskGroupName" : "RECO",
"redundancy" : "NORMAL",
"diskPercentage" : 10
} ],
"scan" : null,
"vip" : null,
"language" : "en"
},
"database" : {
"dbName" : "oraoda",
"databaseUniqueName" : null,
"dbVersion" : "12.1.0.2",
"dbHomeId" : null,
"instanceOnly" : false,
"isCdb" : false,
"pdBName" : "null",
"pdbAdminuserName" : "null",
"enableTDE" : null,
"adminPassword" : "welcome1",
"dbType" : "SI",
"dbTargetNodeNumber" : "0",
"dbClass" : "OLTP",
"dbShape" : "odb1",
"dbStorage" : "ACFS",
"dbCharacterSet" : {
"characterSet" : "AL32UTF8",
"nlsCharacterset" : "AL16UTF16",
"dbTerritory" : "AMERICA",
"dbLanguage" : "AMERICAN"
},
"dbConsoleEnable" : false,
"backupDestination" : null,
"cloudStorageContainer" : null
},
"asr" : null
}
Exception in thread "main" javax.ws.rs.ProcessingException: Already connected
at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:264)
at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:684)
at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:681)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:228)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444)
at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:681)
at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:437)
at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:343)
at com.oracle.pic.commons.client.RestClient.post(RestClient.java:158)
at com.oracle.oda.dcs.agent.api.DCSAgentClient.launchInstance(DCSAgentClient.java:964)
at com.oracle.oda.dcscli.commands.ProvisionCommand$doProvisionJson.run(ProvisionCommand.java:74)
at com.oracle.oda.dcscli.DcsCli.runCmd(DcsCli.java:112)
at com.oracle.oda.dcscli.DcsCli.main(DcsCli.java:71)
Caused by: java.lang.Illegal

 

2) Also, "odacli describe-appliance" command is failing with the next error:

[root@asmcloud1 bin]# ./odacli describe-appliance
Exception in thread "main" javax.ws.rs.ProcessingException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: Certificate

signature validation failed
at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:287)
at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:255)
at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:684)
at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:681)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:228)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444)
at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:681)
at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:411)
at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:311)
at com.oracle.pic.commons.client.RestClient.get(RestClient.java:81)
at com.oracle.oda.dcs.agent.api.DCSAgentClient.getSystemModel(DCSAgentClient.java:987)
at com.oracle.oda.dcscli.commands.ProvisionCommand$describeAppliance.run(ProvisionCommand.java:92)
at com.oracle.oda.dcscli.DcsCli.runCmd(DcsCli.java:112)
at com.oracle.oda.dcscli.DcsCli.main(DcsCli.java:71)
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: Certificate signature validation failed
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1509)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:394)
at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:285)
... 15 more
Caused by: sun.security.validator.ValidatorException: Certificate signature validation failed
at sun.security.validator.SimpleValidator.engineValidate(SimpleValidator.java:212)
at sun.security.validator.Validator.validate(Validator.java:260)
at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
at sun.security.ssl.X509TrustManagerImpl.checkS

 

3) This is a new X6-2S ODA configuration.

 

4) Customer is reimaging and deploying on 12.1.2.7.0 ODA release on X6-2S ODA.

 

Cause


"ODA X6-2S and X6-2M (Doc ID 2144642.1)" document (ODA Development) states: 

The java SSL Certificate shipped with 12.1.2.7.0 ODA is expired as of Aug 17 2016. This can result in the odacli functionality to fail. The details of this issue are documented in Bug:24478876 and Bug:24914162. Any customers planning to deploy ODA X6-2 S/M should upgrade to 12.1.2.8 prior to deployment.

  

Solution

Perform the ODA X6-2 S/M deployment on 12.1.2.8.0 instead, otherwise "odacli" command will not work on 12.1.2.7.0 release.

 


 

Community Discussions ODA

Still have questions? Use the communities window below to search for similar discussions or start a new discussion on this subject. (Window is the live community not a screenshot)

Click here to open in main browser window

References

<BUG:24914162> - ODA X6-2S: ODACLI CREATE-APPLIANCE -R FAILS EXCEPTION IN THREAD "MAIN" JAVAX
<BUG:24478876> - ODALITE: UNABLE TO START THE DCS-AGENT DUE TO EXPIRED SSL CERTIFICATE
<NOTE:2144642.1> - Oracle Database Appliance X6-2S and X6-2M

Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback