Unable To Connect To Java Cloud Service Through SDK (Doc ID 2210231.1)

Last updated on DECEMBER 05, 2016

Applies to:

Oracle Java Cloud Service - SaaS Extension - Version N/A and later
Information in this document applies to any platform.

Symptoms

Oracle-javacloud-sdk-16.3.1.0

Getting below error when running javacloud command

oracle-javacloud-sdk-16.3.1.0\javacloud.cmd -listjobs -datacenter em2 -identitydomain "edxt-test" -serviceinstance java -user oreste.cerracchio@soprasteria.com -debug true

DEBUG] - Avviato alle Wed Nov 30 16:28:32 CET 2016.
[DEBUG] - Executing:list-jobs -datacenter "em2" -user
  "xxxx.xxxx@xxxx.com" -password ******************
  -identitydomain "xxx-test" -debug "true" -serviceinstance "java"
[DEBUG] - No http proxy details are provided. Ignoring the option nohttpproxy
[DEBUG] - Setting up SSL context
[DEBUG] - Creating Service manager
[DEBUG] - IdentityDomain:xxxx-test, ServiceInstance=java
[DEBUG] - Service Manager:
  oracle.paas.jcssx.admin.impl.javacloud10.ServiceManagerJavaCloudImpl@4dd629db
[DEBUG] - JobQuery:{service=java, domain=edxt-test}
[DEBUG] - Finito alle Wed Nov 30 16:28:34 CET 2016 dopo 1 second and 658 ms.
[ERROR] - Unknown user name or password
oracle.cloud.paas.exception.AuthenticationException: Unknown user name or password
at oracle.cloud.paas.internal.AbstractManagerImpl.getAuthException(AbstractManagerImpl.java:137)
at oracle.cloud.paas.internal.AbstractManagerImpl.convertClientResponseToException(AbstractManagerImpl.java:246)
at oracle.cloud.paas.internal.JobManagerImpl.listJobs(JobManagerImpl.java:49)
at oracle.cloud.paas.internal.JobManagerImpl.listJobs(JobManagerImpl.java:55)
at oracle.paas.jcssx.admin.impl.javacloud10.ServiceManagerJavaCloudBaseImpl.listJobs(ServiceManagerJavaCloudBaseImpl.java:630)
at oracle.cloud.paas.client.cli.command.ListJobs.invoke(ListJobs.java:198)
at oracle.cloud.paas.client.cli.command.BaseExecutor.execute(BaseExecutor.java:144)
at oracle.paas.jcssx.common.clibase.CommandLine.perform(CommandLine.java:467)
at oracle.paas.jcssx.common.clibase.CommandLine.perform(CommandLine.java:438)
at oracle.paas.jcssx.common.clibase.MainBase.doCommand(MainBase.java:237)
at oracle.paas.jcssx.common.clibase.MainBase.mainReturn(MainBase.java:154)
at oracle.paas.jcssx.common.clibase.MainBase.main(MainBase.java:140)


 

Changes

 

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