Xmi file not found problem
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
- 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
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.
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.
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
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
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
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
richkulp,
Thank you for your explain, now I got it.
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