It's all about the answers!

Ask a question

need help installing/configuring External connector, fixed


sam detweiler (12.4k6177201) | asked Oct 05 '10, 6:53 p.m.
the page https://jazz.net/wiki/bin/view/Main/ItemConnectorCreation#External_Repository_Manager

says to modify plugin.xml

but I cannot find a plugin xml that contains the defined
Clearquest/clearcase managers.

the only one I found that 'seemed' right is
ibm\rtc\server\jazz\repotools\eclipse\plugins\com.ibm.team.repository.service_1.0.2.I201006021000

but adding my plugin class to that doesn't make it appear in the
Sync editor.

I created a connection pointing to that class as its name (guessing as there are no samples)

thanks..

inbound it working, need to get outbound working now

Sam

8 answers



permanent link
sam detweiler (12.4k6177201) | answered Oct 06 '10, 1:43 p.m.
the page https://jazz.net/wiki/bin/view/Main/ItemConnectorCreation#External_Repository_Manager

says to modify plugin.xml

but I cannot find a plugin xml that contains the defined
Clearquest/clearcase managers.

the only one I found that 'seemed' right is
ibm\rtc\server\jazz\repotools\eclipse\plugins\com.ibm.team.repository.service_1.0.2.I201006021000

but adding my plugin class to that doesn't make it appear in the
Sync editor.

I created a connection pointing to that class as its name (guessing as there are no samples)

thanks..

inbound it working, need to get outbound working now

Sam


Ok, I am learning all this as I go..

I exported the plugin, resolved the build problems, got its jar file.. but I still have no clue how to deploy it.

I also haven't been able to get a test server to work, some problems with an Activator class..

I looked thru all the posts here and in using, and altho there are users discussing run time problems with their connectors, there are no discussions on installing one..

this must be SO easy, that I can't see the forest for the trees..

someone point the way..

Sam

permanent link
sam detweiler (12.4k6177201) | answered Oct 07 '10, 1:44 p.m.
Ok, more stuff.. thanks to some youtube link

http://www.youtube.com/watch?v=0M3aVcf7rkA

menus hidden under menus,

steps: you must create a 'feature'
and an 'update-site'..
both from the eclipse new->other

and then you need to replicate the update-site folder
input by creating one of the ini files in

\jazz\server\conf\jazz\provision_profiles that will point to your update-site directory

Now I see my component in the web ui, but it is not active.. so more research

Sam

permanent link
sam detweiler (12.4k6177201) | answered Oct 07 '10, 2:08 p.m.
I can't edit the page, https://jazz.net/wiki/bin/view/Main/RTCSDK20_ProcessPreConditionExample

but a simple change that would help others is to add the text of the youtube titles to this page.. the youtube titles are great links..
but can't be seen by google.


can someone do that edit?

sam

permanent link
Sean G Wilbur (8722421) | answered Oct 07 '10, 2:33 p.m.
JAZZ DEVELOPER
Have you seen the workshop that was created as a follow on to that video, seems like it may be a bit late but it has the details you are looking for in a bit more consumable format.

http://jazz.net/library/article/477

-Sean

permanent link
sam detweiler (12.4k6177201) | answered Oct 07 '10, 10:06 p.m.
Have you seen the workshop that was created as a follow on to that video, seems like it may be a bit late but it has the details you are looking for in a bit more consumable format.

http://jazz.net/library/article/477

-Sean


no I hadn't.. thanks..

Sam

permanent link
sam detweiler (12.4k6177201) | answered Oct 08 '10, 1:11 p.m.
on the workshop, part 2,
I am getting errors on loading the workspace

com.ibm.team.repository.common.TeamRepositoryException: <Remote>

My assumption is that the code is checking for server release level.. I am running 2.0.0.2 enterprise.. NOT Express-C

Sam

permanent link
sam detweiler (12.4k6177201) | answered Oct 08 '10, 2:09 p.m.
Ok, I went thru all of part 1 of the workshop.. it allows me to start the tomcat env in debug and see what is going on..

I see that my plugin is failing cause it can't find the dependant classes..

the dependant classes were build with wsdl2java, and the jar file HAS been deployed to the work/catalina/

\jazz\server\tomcat\work\Catalina\localhost\jazz\
eclipse\configuration\org.eclipse.osgi\bundles\546\1\.cp\bin

directory as the plugin package describes..

but the tomcat instance is reporting classnotfound

java.lang.ClassNotFoundException: com.sforce.soap.enterprise.LoginResult

so, I've moved the jar file to every possible lib directory and it still fails..

all of the dependent jar files are in the folder as expected..

Sam

permanent link
sam detweiler (12.4k6177201) | answered Oct 08 '10, 8:56 p.m.
well.. I moved my dependant jar files into a 'lib' folder instead of 'jar' folder and it works..

and I can debug..

now on to next problem..

I setup a sync rule to manage the userids sent in from my external system.. but.. thats not what happens..

my external manager gets called for each of the users define in JAZZ.. not what I intended..

| I can differentiate with a custom user URI string

I want the external ID to be stored in the 'createdby' field of the work item. even tho this id doesn't map to any user on this system.

also interesting, is that the 'canCreate()' method gets called, but the idstring is null ""... I would have expected 'userid'.. or something..
maybe I have the sync rule messed again

| I solved this, see the itemname topic for the solution

any suggestions welcomed.

Your answer


Register or to post your answer.