Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Login Code Snippet not working Unable to login: Unexpected character "60": line 1, column 1

 Nope url is fine. When I tried the same URL from a REST client it works fine with me. for me the error is "Unable to login: Unexpected character "60": line 1, column 1". I am trying to use the code snippet 1 file shared along with java api. Not sure what I am missing but this whole login process is very painful with lack of clarity in documentation.

0 votes


Accepted answer

Permanent link

 Works like a charm for me.


Extract Plain Java API e.g. to C:\API
in ./snippets/snippet1.java 
- Fix default URI
- Fix user name/ID

Read README.TXT

open CMD 
cd to Plain Java API foler C:\API
"c:\Program Files\Java\jdk1.8.0_191\bin"\javac -extdirs . snippets/*.java
"c:\Program Files\Java\jdk1.8.0_191\bin"\java -Djava.ext.dirs="c:\Program Files\Java\jdk1.8.0_191\jre\lib\ext";snippets;. snippets.Snippet1
on Unix use : instead of ; as separator for the (?)

Ralph Schoon selected this answer as the correct answer

0 votes

Comments

PS: if you want answers, provide more information.


2 other answers

Permanent link

 I can only suggest to start here: https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/


That blog has various examples that you can also use, ideally within an RTC Eclipse enabled for debugging.

0 votes

Comments

 Also, check the Java Version is 1.8 and the classpath matches. Also check How should I ask a question in the Forum if I want to receive useful answers? to learn how you want to ask questions really.

 Tried to follow the blog and then configured eclipse with RTC Client development environment however still facing the same problem. 


Permanent link

Hi, did you solve this problem?

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 411

Question asked: Sep 10 '18, 11:22 a.m.

Question was seen: 2,854 times

Last updated: Sep 10 '19, 2:48 a.m.

Related questions
Confirmation Cancel Confirm