It's all about the answers!

Ask a question

Problem with connect RSA 9.5 to DM app


Krzysztof Gemser (1036) | asked Jun 02 '16, 8:34 a.m.

Hi,

I have a problem with connect IBM Rational Software Architect Designer 9.5 to Design Management application. I have installed IBM Rational Software Architect Designer 9.5, next I installed IBM Rational Software Architect Design Manager Client Extension for RSA 9 6.0.2 to existing installation of RSA (screen no 1).

Screen no 1 - https://goo.gl/photos/toKQLFVYuyannaBGA

Next I’m try to create a new connection to DM app by click “Design Explorer > Create a new Connection”. I get a new window “Create a New Connection”, I’m entered server address (https://clm6.pl:9443/dm), name, user id, pass (user have admin rules in repository and all needed license) and I click finish. After I clicked finish button I get “problem occurred” window with error “An internal error occurred during: Logging into repository 'clm6.pl'.".org.apache.http.util.Args” (screen no 2).

Screen no 2 - https://goo.gl/photos/iPQSYSpuKmpSrbxN9

When I click Ok button, nothing happens, I get main windows of RSA and create new connection in folder “Server Connections” (with status “Status: Logging in...”).

Installation of CLM + DM on Tomcat with Derby database in 6.0.2 version on Windows Server 2012.

Log of RSA (from RSA workspace):

!SESSION 2016-06-02 13:53:04.558 -----------------------------------------------
eclipse.buildId=unknown
java.fullversion=JRE 1.8.0 IBM J9 2.8 Windows Server 2012 R2 amd64-64 Compressed References 20150630_255633 (JIT enabled, AOT enabled)
J9VM - R28_jvm.28_20150630_1742_B255633
JIT  - tr.r14.java_20150625_95081.01
GC   - R28_jvm.28_20150630_1742_B255633_CMPRSS
J9CL - 20150630_255633
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=pl_PL
Framework arguments:  -product com.ibm.rational.rsa.product.v95.ide
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product com.ibm.rational.rsa.product.v95.ide

!ENTRY com.ibm.xtools.rmpc.ui 4 0 2016-06-02 13:53:14.652
!MESSAGE Cannot properly instantiate provider extension with value:
null

Reason:
org.eclipse.core.runtime.CoreException: Plug-in "com.ibm.xtools.rmpc.rsa.ui" was unable to instantiate class "com.ibm.xtools.rmpc.rsa.ui.internal.rmps.modelexplorer.impl.RMPModelDomainImpl".

!ENTRY com.ibm.xtools.emf.ram.ui 4 0 2016-06-02 13:53:16.058
!MESSAGE RAM Client is not installed. Please install the RAM Client to enable the RAM integration functionality.

!ENTRY org.eclipse.core.jobs 4 2 2016-06-02 13:53:54.558
!MESSAGE An internal error occurred during: "Logging into repository 'clm6.pl'.".
!STACK 0
java.lang.NoClassDefFoundError: org.apache.http.util.Args
    at org.apache.http.conn.scheme.Scheme.<init>(Scheme.java:91)
    at com.ibm.xtools.rmpx.oauth.OAuthClientImpl.createHttpClient(OAuthClientImpl.java:119)
    at com.ibm.xtools.rmpx.oauth.OAuthClientImpl.<init>(OAuthClientImpl.java:173)
    at com.ibm.xtools.rmpx.oauth.OAuthClientImpl.<init>(OAuthClientImpl.java:156)
    at com.ibm.xtools.rmpx.oauth.OAuthClientImpl.<clinit>(OAuthClientImpl.java:75)
    at com.ibm.xtools.rmpc.core.internal.connection.OAuthConnectionImpl.createOAuthClient(OAuthConnectionImpl.java:238)
    at com.ibm.xtools.rmpc.core.internal.connection.OAuthConnectionImpl.createOAuthComm(OAuthConnectionImpl.java:245)
    at com.ibm.xtools.rmpc.core.internal.connection.OAuthConnectionImpl.doLogin(OAuthConnectionImpl.java:341)
    at com.ibm.xtools.rmpc.core.internal.connection.impl.RmpsConnectionImpl.doLogin(RmpsConnectionImpl.java:421)
    at com.ibm.xtools.rmpc.ui.internal.rmps.connection.impl.RmpsUIConnectionImpl.doLogin(RmpsUIConnectionImpl.java:59)
    at com.ibm.xtools.rmpc.ui.internal.rmps.connection.impl.RmpsUIConnectionImpl.internalLogin(RmpsUIConnectionImpl.java:275)
    at com.ibm.xtools.rmpc.core.internal.connection.OAuthConnectionImpl$1.run(OAuthConnectionImpl.java:115)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.ClassNotFoundException: org.apache.http.util.Args cannot be found by org.apache.http.client_4.5.0.v20160321_1859
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:432)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:345)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:337)
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:752)
    ... 13 more




Accepted answer


permanent link
Andrey Karaulov (1861) | answered Jun 02 '16, 9:20 a.m.
Hi Krzysztof,

Try to perform the following steps:
1. Stop RSA.
2. Open the console window. If you have RSA installed into "Program Files" you need to use Admin account.
3. Go to the RSA installation folder.
4. Start RSA by executing "eclipse.exe -cliean" option.

There are conflicting versions of org.apache.* plugins that cause this issue.
"Eclipse -cliean" clear cached plugins and a new version of required plugin will be cached instead of the old one.

Regards,
Andrey

Krzysztof Gemser selected this answer as the correct answer

Comments
Krzysztof Gemser commented Jun 02 '16, 10:16 a.m.
Hi Andrey,
Thank you for your answer. I supose that you mean "eclipse.exe -clean" ?. 
I run RSA in clean mode and it’s working great !. 
Thank you for your help. 

Your answer


Register or 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.