It's all about the answers!

Ask a question

Xmi file not found problem


pan tianming (4765344) | asked Aug 18 '10, 10:03 p.m.
When I run the unit test, it reports the following exception:
- Faild to load server category schema http://vscrt2071vm08.bto.ibm.com:9080/com.ibm.ram.repository.web/classif/developerassets.xmi
- Faild to load server category schema http://vscrt2071vm08.bto.ibm.com:9080/com.ibm.ram.repository.web/classif/comibmcloudryo_rollyourown.xmi
- Faild to load server category schema http://vscrt2071vm08.bto.ibm.com:9080/com.ibm.ram.repository.web/classif/developercloud.xmi
- Faild to load server category schema http://vscrt2071vm08.bto.ibm.com:9080/com.ibm.ram.repository.web/classif/assetTypesSchema.xmi
- The category schema http://vscrt2071vm08.bto.ibm.com:9080/com.ibm.ram.repository.web/classif/developerassets.xmi#/ did not load.
java.io.FileNotFoundException: http://vscrt2071vm08.bto.ibm.com:9080/com.ibm.ram.repository.web/classif/developerassets.xmi#/
- The category schema http://vscrt2071vm08.bto.ibm.com:9080/com.ibm.ram.repository.web/classif/comibmcloudryo_rollyourown.xmi#/ did not load.
java.io.FileNotFoundException: http://vscrt2071vm08.bto.ibm.com:9080/com.ibm.ram.repository.web/classif/comibmcloudryo_rollyourown.xmi#/
- The category schema http://vscrt2071vm08.bto.ibm.com:9080/com.ibm.ram.repository.web/classif/developercloud.xmi#/ did not load.
java.io.FileNotFoundException: http://vscrt2071vm08.bto.ibm.com:9080/com.ibm.ram.repository.web/classif/developercloud.xmi#/


But actually I never config any security tool like webseal, also I looked into RAM db, the classif schema, these xmi files are already there,
is anybody know this issue?

My RAM version is 7.2.0.2

5 answers



permanent link
pan tianming (4765344) | answered Aug 19 '10, 5:24 a.m.
I want to call the RAM API to implement the goal: change the community of the asset .

My code like this:
RAMAsset asset = this.getAsset(assetID);

RAMCommunity community = session.getCommunity(communityname);

asset.setCommunity(community);
RAMSession session = new
RAMSession("URL",
"username", "password");
session.put(asset, new RAMStatusMonitor());

But after the above code run successfully, the asset never change its community, is anybody knows what I miss in my code? Thanks.

permanent link
Rich Kulp (3.6k38) | answered Aug 19 '10, 9:59 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Hi,

Try doing it from the browser line instead and see if you get the same
error.

Look in the ramdebug.log on the server and see if it has any more info.

If your server is behind a BSO firewall make sure your client machine
has been authorized to get through it.

Rich

permanent link
pan tianming (4765344) | answered Aug 19 '10, 10:54 p.m.
richkulp, thank you. I do like you mean, it will throw the following exception:
00000214 SystemOut O CRRAM0001E 50712946 ERROR com.ibm.ram.repository.web.ws.was.quartz.RAMThreadPool - RAMWork error completing work:
java.lang.NoClassDefFoundError: com.rational.clearquest.cqjni.CQException
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:69)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:131)
at com.ibm.ram.repository.web.ws.quartz.jobs.CQSynchJob.executeJob(CQSynchJob.java:37)
at com.ibm.ram.repository.web.ws.quartz.jobs.AbstractRAMJob.execute(AbstractRAMJob.java:78)
at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
at com.ibm.ram.repository.web.ws.was.quartz.RAMThreadPool$RAMWork.run(RAMThreadPool.java:166)
at com.ibm.ws.asynchbeans.J2EEContext$RunProxy.run(J2EEContext.java:261)
at java.security.AccessController.doPrivileged(AccessController.java:219)
at javax.security.auth.Subject.doAs(Subject.java:495)
at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:118)
at com.ibm.ws.asynchbeans.J2EEContext$DoAsProxy.run(J2EEContext.java:328)
at java.security.AccessController.doPrivileged(AccessController.java:246)
at com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java:757)
at com.ibm.ws.asynchbeans.WorkWithExecutionContextImpl.go(WorkWithExecutionContextImpl.java:218)
at com.ibm.ws.asynchbeans.ABWorkItemImpl.run(ABWorkItemImpl.java:158)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)
Caused by:
java.lang.ClassNotFoundException: com.rational.clearquest.cqjni.CQException
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java:487)
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:388)
at java.lang.ClassLoader.loadClass(ClassLoader.java:597)

Do you have any idea about this? Thanks.

My version is RAM 7.2.0.2

Hi,

Try doing it from the browser line instead and see if you get the same
error.

Look in the ramdebug.log on the server and see if it has any more info.

If your server is behind a BSO firewall make sure your client machine
has been authorized to get through it.

Rich

permanent link
Rich Kulp (3.6k38) | answered Aug 20 '10, 9:26 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Hi,

That error, about CQ, would not be the result of doing the request. That
error simply means you have ClearQuest synchronization turned on but you
don't have the CQ client installed in your WAS. If you are not doing CQ
synchronization I would turn that off.

Try this:

a) shutdown WAS
b) delete the SystemOut.log and ramdebug.log
c) Bring WAS back up.
d) From the browser type in the
http://vscrt2071vm08.bto.ibm.com:9080/com.ibm.ram.repository.web/classif/developerassets.xmi


e) shutdown WAS.
f) Look at the logs and see what showed up at the same time that you did
the request.

The assetTypesSchema.xmi is a required file. RAM forces it to be there.
So this sounds like you do have something between the server and your
browser.

Try logging directly on to the actual server vscrt2071vm08.bto.ibm.com,
and use a browser there. That will bypass any firewall or proxy server
since you will be local. See if it works then.

Rich

permanent link
pan tianming (4765344) | answered Aug 22 '10, 10:24 p.m.
richkulp,
Thank you for your explain, now I got it.

Hi,

That error, about CQ, would not be the result of doing the request. That
error simply means you have ClearQuest synchronization turned on but you
don't have the CQ client installed in your WAS. If you are not doing CQ
synchronization I would turn that off.

Try this:

a) shutdown WAS
b) delete the SystemOut.log and ramdebug.log
c) Bring WAS back up.
d) From the browser type in the
http://vscrt2071vm08.bto.ibm.com:9080/com.ibm.ram.repository.web/classif/developerassets.xmi


e) shutdown WAS.
f) Look at the logs and see what showed up at the same time that you did
the request.

The assetTypesSchema.xmi is a required file. RAM forces it to be there.
So this sounds like you do have something between the server and your
browser.

Try logging directly on to the actual server vscrt2071vm08.bto.ibm.com,
and use a browser there. That will bypass any firewall or proxy server
since you will be local. See if it works then.

Rich

Your answer


Register or to post your answer.