Entering edit mode
Michael P Shipway
▴
60
@michael-p-shipway-3459
Last seen 10.4 years ago
Can anyone help me with this, I cannot recreate a web service on a 2nd
machine?
I've developed and tested an RWebservices based web service on CentOS
release 5.3 (Final) running in a VM on my windows XP box.
However, when I transferred the code to my production machine, CentOS
release 5.4 (Final), I cannot map the package (e.g. generate Java
code).
Other differences between the two setups:
Feature Dev Production
RWebServices Version 1.8.0 1.10.0
R version 2.8.1 2.10.0
I've confirmed that my R package is installed and functioning
correctly on
both machines.
When I run "ant -Dpkg=natreeV3 map-package" on the production machine,
I get
the error message:
"Error in dots[[1L]][[1L]] : subscript out of bounds"
Below is the full verbose output of the map-package
--------------------------------------------------------------------
Buildfile: build.xml
-user-tuning-properties-exist:
-unpack-tuning-properties:
map-package:
[exec] >
[exec] > library(RWebServices)
[exec] Loading required package: SJava
[exec] Loading required package: TypeInfo
[exec] Loading required package: tools
[exec] > createMap(pkgs="natreeV3",
[exec] + generateTests=TRUE,
[exec] + outputDirectory="/home/mshipwa1/natreeV3",
[exec] + typeMode="javalib",
[exec] + deployMode="jms",
[exec] + wsdlStyle="WRAPPED",
[exec] + wsdlUse="LITERAL",
[exec] + extraClasses="",
[exec] + pkgRoot="org.bioconductor",
[exec] + verbose=TRUE)
[exec] Loading required package: tree
[exec] ********************************************
[exec] *** resolve all data type mapping *****
[exec] ********************************************
[exec] >>>>>> Generate data map for extraClasses:
[exec] >>>>>> Generate data map for R function:
[exec] character test1(numeric depth) data map for:
character
[exec] data map for: numeric
[exec] >>>>>> Generate data map for R function:
[exec] list test2(numeric depth) data map for: list
[exec] data map for: numeric
[exec] >>>>>> Generate data map for R function:
[exec] character naTree5(character dataFileName, numeric ndays,
numeric
features, numeric treeDepth) data map for: character
[exec] data map for: character
[exec] data map for: numeric
[exec] data map for: numeric
[exec] data map for: numeric
[exec] >>>>>> Generate data map for R function:
[exec] list naTree(character dataFileName, numeric ndays, numeric
features, numeric treeDepth) data map for: list
[exec] data map for: character
[exec] data map for: numeric
[exec] data map for: numeric
[exec] data map for: numeric
[exec]
---------------------------------------------------------------
[exec] [R Type] => [Java Type] [Java Package] [R Package]
[TypeGroup] [R->Java] [Java->R]
[exec]
---------------------------------------------------------------
[exec]
---------------------------------------------------------------
[exec] ********************************************
[exec] **** resolve function mapping *****
[exec] ********************************************
[exec] >>>>>> Generate function map for R package: natreeV3
[exec] >> (1) java function signature:
[exec] [[1]]
[exec] String[] test1(double[] depth)
[exec] [[2]]
[exec] Object[] test2(double[] depth)
[exec] [[3]]
[exec] String[] naTree5(String[] dataFileName, double[] ndays,
double[]
features, double[] treeDepth)
[exec] [[4]]
[exec] Object[] naTree(String[] dataFileName, double[] ndays,
double[]
features, double[] treeDepth)
[exec] Error in dots[[1L]][[1L]] : subscript out of bounds
[exec] Calls: createMap ... .local -> getFunctionDoc -> mapply ->
.Call
-> <anonymous>
[exec] Execution halted
[exec] Result: 1
[delete] Deleting: /home/mshipwa1/natreeV3/null1969125778
BUILD SUCCESSFUL
Total time: 2 seconds
[[alternative HTML version deleted]]