What is the fix for the error message in MKS 2009 for the "Cannot obtain registry lock" error when you check in/check out a member?
Cannot obtain registry lock
Integrity Webservice client - documentation
Hello,
I have a requirement of querying the mks integrity, based on certain filed and fetch the status of that item (Development task).
I am not understanding which webservice i can use, and big confusion in supplying the required inputs...
Can you please share the documentation or sample code to query the mks system thru web services.
Appreciate your response.
DevPath-Problem w. adding subprojects, which are existing in mainline
Hi @all,
situation is as follows: a subproject (DEF) in a toplevelproject (ABC) has its initial checkpoint 1.1. In this checkpoint it contains nothing, not any subproject and not any member. Later it was becoming a new subproject (named GHI), which is included in checkpoint 1.2, and even later this subproject gets some members. Now the users wanted to branch from checkpont 1.1 and they became a devpath 1.1.1.1, which contains (as expected) also nothing.
But now the users wanted to create a subproject with the same name "GHI" as the one in the mainline, but not a share from the mainline and also not an "add". They made a variant sandbox, and within these sandbox they tried "create subproject". It downst work. Integrity throws some weired exceptions:
mks.frame.app.commands.PreconditionFailedException: mks.frame.app.commands.PreconditionFailedException: The project #/ABC/DEF#b=1.1.1.1#GHI could not be located on the server <serverhostname>:7001: MKS125212: The project file /ABC/DEF/project.pj is not registered as a top level project with the current server.
[...]
Huh?
At the end it seems not to be possible to get a subproject in the devpath with the same name as in the mainline, but independent from the one in the mainline? are there any options to set at the server or the client to prevent Integrity from doing such courious things?
kind regards, Jens
Integrity Client out-of-memory
While working with the Integrity Client (Version 2009, SP7) I'm fairly often running out of memory with the error messages
"PermGen space" or
"Integrity Client out of memory" or
"MKS124804: Internal error detected: Error was: mks.frame.exception.OutOfMemoryApplicationError: Not enough memory: The application ran out of memory on the client or server."
on a Win7 64-bit machine with 4GB of RAM. As in those situations the Client often uses less than 500MB of memory and not much other tools running, there seems to be a client setting limiting the amount of memory.
I increased the maximum heap size to 1024MB, caching is set to 200MB.
Is it one of those settings or are there any others?
How to make FSA server work, if main server is down.
Hi,
We are using Integrity 10.3 with FSA. When main server down, all the proxy server (Integrity service) going to down state. We want all the FSA proxy server should be be in start state even though Main server is down.
Kindly guide us.
Regards
Sarath
PTC Integrity CM - Jenkins Plugin-Version: 1.16
Hi guys
Can you please help me I have been struggling with an issue with the PTC Integrity CM - Jenkins Plugin-Version: 1.16 and MKS 4.1
It is logging the belwo information when I run it
May 28, 2013 2:27:09 PM [INFO] IntegritySCM - API Exception caught...
May 28, 2013 2:27:09 PM [INFO] IntegritySCM - Failed to establish a session: Ses
sion not authenticated/authorized.
May 28, 2013 2:27:19 PM [INFO] IntegritySCM - API Exception caught...
May 28, 2013 2:27:19 PM [INFO] IntegritySCM - Failed to establish a session: Ses
sion not authenticated/authorized.
The login information is fine , the policy on the server is fine as well , I have enabled all users and all IP's to access everything on the server
Did anybody run into this in the past
Thanks
Isaac
Ignore add files with certain extension when adding a subproject ?
When adding a subproject that contains more folders and files within, it appears Integrity can be configured to ignore adding new files as member that have a certain file extension. For example any file with file extension with .bak will be ignored and these files will not be added.
Where in Integrity is this configured and where would I view the existing settings regarding the above point ?
PTC support for Integrity is seriously lacking
Is it me or does it seem like since the acquistion of MKS by PTC the support for MKS or quality of support has gone from 5 star to 1 star.
How to add multi-line "Work Description" using CLI?
I try to add multi-line "work description" using command line interface?
Similar to the follwong:
im editissue --field="Work Description"="Hello\nThank"?
It seems to me that \n does not create and line feed.
Also can we add file from content in a file?
Thank you
Configuration Path vs. Flat Path in Hyperlink
Hi all.
I do have a problem specifying the correct Hyperlink string for accessing the content of a member stored in SI.
We use Hyperlinks like
to add a read only reference to either a static ro floating revision in many occasions.
Imagine the path above /Playground/KM_Work/common/_global_1/project.pj . This project has two possible top level projects:
- /Playground/project.pj (with a OpenProject Permission only for Admin Users)
and
- /Playground/KM_Work/common/project.pj (with a OpenProject Permission for Developer Users as well)
In contrast to a Flat Path, the Configuration Path is able to tell the difference:
- #/Playground#KM_Work/common/_global_1/project.pj
and
- #/Playground/KM_Work/common#_global_1/project.pj
as the the part between the first two hashes ('#') defines the top level project.
Recently the situations added up, where this "Flat Path" definition of the project in the Hyperlink leads to "ambiguous project" problems, where the hyperlinks leads to a error MKS125212: The project file /Playground/project.pj is not registered as a top level project with the current server
when a Developer tries to open the Hyperlink.
This happens kind of randomly and has nothing to do with the ACL setup, as the Developer User can access the project and member via the Client GUI or the CLI without any problem.
This is a known and documented limitation of the Flat Path and I assume one of the reasons why it is deprecated and PTC encourages users to use the configuration path instead.
Knowing all this, I wanted to change my Hyperlinks so they use the configuration path instead.
Unfortunately this seams to be tricky.
In the CLI you can simply exchange the Flat Path and the configuration path but calling the web-client with
leads to MKS124808: This command requires operands: member
Any Help will be appreciated
BTW:
I'm using I10.2 but this applies for all Integrity Versions since at least 2007.
output from "si viewprojects...", how to sort subprojects?
Hi @all,
we have a quite complex structure in our projects in Source Integrity. And sometimes our users are doing checkpoints with label, and then they realise that the label is wrong. And as you know, deleting a projectlabel doesnt work recursive (hmpf!). So we wanted to do this with a script via commandline. For this we want to know which subprojects are child-projects from this point in our structure where the label was set and (important) which of them are shares. If we look at it like this:
si viewproject --project=<name of the subproject which was checkpointed> -Y
then we get a text, in which the structure is shown by the numbers of spaces in front of each line (this is a very special idea i have to say). But even worse: this isnt very reliable (we filed this already as a bug to PTC-support), because sometimes it doesnt count correctly (there are not the right numbers of space-chars).
If we use the parameter --xmlapi we get a xml-structur, but i didnt found any information how the subproject-structure is mapped into this xml? All subprojects are laying parallel? And if i wanted to look which subproject is a child of another, i have to parse the attribute-entries?
An example. This is the output of "si viewproject --project=/Spielwiese/Test_NX2/test2/project.pj -Y" :
test2_1/project.pj subproject
share_test1/project.pj shared-subproject
test1_1/project.pj subproject
index.html.dk archived 1.1
index.html.ee archived 1.1
index.html.el archived 1.1
test2_1_1/project.pj subproject
index.html archived 1.1
index.html.ca archived 1.1
I can see that "share_test1" is a share and "test1_1" is a child of it.
The output in xml with "si viewproject --project=/Spielwiese/Test_NX2/test2/project.pj -R --xmlapi" is attached to this posting.
In this xml-output i can see, in one workitem-element that share_test1 is a shared-subproject. The next element of type "Workitem" is test1_1, but it is shown as subproject. But this workitem-element is parallel to share_test1 and also to test2_1_1. How can i see which workitem is a childproject from another?
Thanks, Jens
Integrity - Windchill Integration
Hi All,
I have a requirement where I need to Integrate Integrity with Windchill. Has anyone done this before? I am aware of IIP (Integrity Integration Platform) but havn't tried it yet.
Related to its videos and documentation, there's not much information available.
Can anyone help me out to achieve this?
Regards
Nishant Kapoor
Continuous Integration - Jenkins
I was wondering if anyone had used Jenkins as a Continuous Integration server. And if anyone had some pointers on getting the workspace to populate with the files out of MKS.
Thanks,
Jim
MKS integrity: Addon MS Project or Excell or MS World
Hello,
i am asking if exists any addon with MS Excell, MS World or MS Project in order to automate the creation of the workIems in MKS or publish results.
Thank you in advance
Miled Attia
History as one of the columns in MKS Reports
Hi,
I need to show history as one of the columns in the Integrity Report..How can i achieve this? I am using MKS Integrity 2009, build 4.10.0.5467, service pack 002-01. Please help..
Thanks
Visual Studio 2012 Integration Expected Delivery Date?
Could you please confirm the expected availability date of an Integrity 10 VS 2012 Integration package.
Customized conditional reports
I'm currently trying to loop with a customized HTML report through my document and format the elements depending on their category.
I start with a query and loop through the hierarchy with relationshipsdetail (displayed only until Level 2 below). What I need is the red
part of the report, i.e. how to differentiate between the elements once I found one. If I put the field[Category] within the filter, sorting by
section does not properly work.
This is how it looks like:
<%beginrelationshipsdetail Query[ ( (item.segment) and ( (field[ID] = <%<%builtin ID%>%>) or (walk[<%builtin Contained By%>] <%<%builtin ID%>%>) ) ) ]%>
<!-- we are the top segment -->
<%beginrelationshipsdetailL2 <%builtin References%>.Always follow, <%builtin Contains%>%><%filter%>((item is segment) or (item is node))<%endfilter%>
if (field[Category] = "Comment")
//do something
if (field[Category] = "Architectural Element")
//do something
if (field[Category] = "Heading")
//do something
<%endrelationshipsdetailL2%>
<%endrelationshipsdetail%>
I'd appreciate if anyone would share an idea how to distinguish the different elements.
- Markus
Modular Client Side Triggers
I'm using client side triggers, and I'd like to modularize my js code, but I can't figure out how to include another js file from with in the js file called by the trigger. For example:
File : /Custom/library/ValueAdd.js
<code>
function ValueAdd (key)
{
var k = key;
var obj =
{
getKey : function ()
{
return k;
}
};
return obj;
}
</code>
File : /Custom/TriggerFile.js
<code>
load("/library/ValueAdd.js"); // Command used by Rhino to load external files, doesn't seem to work here
var va = new ValueAdd("something");
</code>
When the map a trigger to the TriggerFile.js and the trigger is executed, I get an error "load is not defined". It's possible that I have the path to the file wrong, but it doesn't even get that far. How do I "import" ValueAdd.js into TriggerFile.js?
Cannot obtain registry lock
What is the fix for the error message in MKS 2009 for the "Cannot obtain registry lock" error when you check in/check out a member?
Traceability between PTC Integrity and Enterprise Architect
Hi,
we want to create a connection between Integrity Items from PTC and packages/ elements from Enterprise Architect. Both tools have IDs with which they can be identified clearly. In the forum I read that there are several possibilities to get data out of PTC Integrity such as using command line scripting, running reports, using gateways, web services, API or trigger scripts.
My question is, which of these possibilities would you suggest when you want to connect one integrity item with one or more Enterprise Architect package/s or element/ s. Is there a way using a standard feature of PTC Integrity which helps the developer to get that task done with less changes in Integrity or do you suggest a self-made program which writes in each tool the specific ID/s from the opponent's tool to help the user for example to find the suitable UML diagram in the Enterprise Architect for an already open requirement integrity item of PTC Integrity faster?
Thanking you in anticipation.
Regards
Dan