NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The build.xml file included in the stock caArray Importer distribution does not wok work with caArray v2.4 and higher. You must either download this modified build.xml file or manually edit the stock build.xml according to the directions as described below:

In the property declarations towards the top of the file, add a new property called "client.libs.grid":

...

Wiki Markup
<path id="example.classpath">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <pathelement location="$\[example.classes.dir\]"/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <pathelement location="$\[updated.client.jar\]"/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <fileset dir="$\[client.dist.dir\]">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <include name="$\[client.libs\]"/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <include name="$\[client.libs.grid\]"/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </fileset>
&nbsp;&nbsp; </path>

For caArray Version 2.4.0.x ONLY

You must revise a single line of code in the server-side Enterprise Java Bean (EJB) source file 'CaArrayImporterServiceBean.java' as described below (this file is located at the following path within the caArray Importer distribution archive: \caarray-ejb\src\main\java\org\cruk\cri\caarray\services):

_Replace line 401 in the original source file:_

Project project = projectManagementService.getProject(projectId);

With the following line of code:

Project project = projectManagementService.getProjectByPublicId("EXP-"+projectId.toString());

For caArray Version 2.4.1 ONLY

You must revise three different lines of code in the server-side Enterprise Java Bean (EJB) source file 'CaArrayImporterServiceBean.java' as described below (this file is located at the following path within the caArray Importer distribution archive: \caarray-ejb\src\main\java\org\cruk\cri\caarray\services):

_First, replace the following line in the original source file:_

import gov.nih.nci.caarray.util.UsernameHolder;

with this one:

import gov.nih.nci.caarray.util.CaArrayUsernameHolder;

_Then, replace line 188 in the original source file:_

Person person = new Person(UsernameHolder.getCsmUser());

With this one:

Person person = new Person(CaArrayUsernameHolder.getCsmUser());

_Finally, replace line 401 in the original source file:_

Project project = projectManagementService.getProject(projectId);

With the following line of code:

Project project = projectManagementService.getProjectByPublicId("EXP-"+projectId.toString());

Repackaging and Redeploying the caArray Server

...