uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörn Kottmann (JIRA) <uima-...@incubator.apache.org>
Subject [jira] Commented: (UIMA-1647) Scripts fail to call runUimaClass.sh
Date Tue, 03 Nov 2009 14:33:59 GMT

    [ https://issues.apache.org/jira/browse/UIMA-1647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12773070#action_12773070

Jörn Kottmann commented on UIMA-1647:

Ok I updated and retried:

joern@karkand:~/uima test/apache-uima$ bin/cpeGui.sh 
Usage: specify -Dorg.apache.uima.jarpath=XXXX, where
  XXXX is a string of file paths to directories or jar files, separated using the proper path
separator character.
  For directories, all of the JARs found in these directories will be added to the classpath.
  If the directory has no Jars, then it is put in the class path directly.
  Normal "parent-first" delegation is done.
  The first argument is taken to be the name of the class whose "main" method will be called
and passed the rest of the arguments.
 Set -DUimaBootstrapSuppressClassPathDisplay to suppress the display of the resulting classpath

Somehow it fails to pass the parameter to runUimaClass.sh, but I have no idea why. It works
after removing the . or replacing it with sh. I did the test with Ubuntu 9.10.

> Scripts fail to call runUimaClass.sh 
> -------------------------------------
>                 Key: UIMA-1647
>                 URL: https://issues.apache.org/jira/browse/UIMA-1647
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>    Affects Versions: 2.3AS
>         Environment: Ubuntu Server 8.10, Java 1.6
>            Reporter: Jörn Kottmann
>            Assignee: Jörn Kottmann
>            Priority: Blocker
>             Fix For: 2.3, 2.3AS
> Executing deployAsyncService.sh fails with the following error message:
> .: 28: runUimaClass.sh: not found 
> deployAsyncService.sh calls runUimaClass.sh with ". runUimaClass.sh ...",
> in an older version this script called setUimaClassPath.sh, but that was 
> done with the absolute path:
> . "$UIMA_HOME/bin/setUimaClassPath.sh"
> I suggest that we change all our .sh scripts to use the absolute path like
> it was done before for at least the deployAsyncService.sh script.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message