[jira] Updated: (UIMA-1531) Need a script to launch a UIMA-AS service via RunWithJarPath
[ https://issues.apache.org/jira/browse/UIMA-1531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jerry Cwiklik updated UIMA-1531: Component/s: Core Java Framework Affects Version/s: 2.3 Fix for this effects both, the core and uima as Need a script to launch a UIMA-AS service via RunWithJarPath Key: UIMA-1531 URL: https://issues.apache.org/jira/browse/UIMA-1531 Project: UIMA Issue Type: New Feature Components: Async Scaleout, Core Java Framework Affects Versions: 2.3, 2.3AS Reporter: Jerry Cwiklik Assignee: Jerry Cwiklik Fix For: 2.3AS Use existing RunWithJarPath.class from the core to enable loading jars dynamically when launching UIMA AS service. Currently setUimaClasspath is called to setup static classpath before deployment of UIMA_Service. For more flexibility it would be better to load all jar files from specified locations instead of depending on them to be statically defined in setUimaClasspath. One of the reasons for supporting dynamically loaded jars is the naming scheme used by ActiveMQ. Each version comes with a differently named jars like for example apache-activemq-4.1.1.jar, activemq-all-5.2.0.jar, etc. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (UIMA-1531) Need a script to launch a UIMA-AS service via RunWithJarPath
[ https://issues.apache.org/jira/browse/UIMA-1531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jerry Cwiklik updated UIMA-1531: Affects Version/s: 2.3AS Need a script to launch a UIMA-AS service via RunWithJarPath Key: UIMA-1531 URL: https://issues.apache.org/jira/browse/UIMA-1531 Project: UIMA Issue Type: New Feature Components: Async Scaleout Affects Versions: 2.3AS Reporter: Jerry Cwiklik Assignee: Jerry Cwiklik Fix For: 2.3AS Use existing RunWithJarPath.class from the core to enable loading jars dynamically when launching UIMA AS service. Currently setUimaClasspath is called to setup static classpath before deployment of UIMA_Service. For more flexibility it would be better to load all jar files from specified locations instead of depending on them to be statically defined in setUimaClasspath. One of the reasons for supporting dynamically loaded jars is the naming scheme used by ActiveMQ. Each version comes with a differently named jars like for example apache-activemq-4.1.1.jar, activemq-all-5.2.0.jar, etc. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (UIMA-1531) Need a script to launch a UIMA-AS service via RunWithJarPath
[ https://issues.apache.org/jira/browse/UIMA-1531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jerry Cwiklik updated UIMA-1531: Marshall created a new project: uimaj-bootstrap that contains UimaBootstrap.java. This class is a renamed version of RunWithJarPath that used to be in the uima-tools. It loads jars from specified locations at runtime. The deployAsyncService scripts in the bin directory have been modified to use new dynamic class loading instead using static classpath set up in setUimaClasspath script. The relevant part of the script (for unix) is below: if [ $ACTIVEMQ_HOME = ] then ACTIVEMQ_HOME=$UIMA_HOME/apache-activemq-4.1.1 fi $UIMA_JAVA_CALL -cp $UIMA_HOME/lib/uimaj-bootstrap.jar -Duima.datapath=$UIMA_DATAPATH -Djava.util.logging.config.file=$UIMA_LOGGER_CONFIG_FILE $UIMA_JVM_OPTS -Dorg.apache.uima.jarpath=$UIMA_HOME/lib:$ACTIVEMQ_HOME:$ACTIVEMQ_HOME/lib:$ACTIVEMQ_HOME/lib/optional:$USER_JAR_PATH org.apache.uima.bootstrap.UimaBootstrap org.apache.uima.adapter.jms.service.UIMA_Service -saxonURL file:$UIMA_HOME/saxon/saxon8.jar -xslt $UIMA_HOME/bin/dd2spring.xsl -dd $* By default ActiveMQ 4.1. jars will be used. If you want to use a different version of AMQ set ACTIVEMQ_HOME=activemq home. The script loads uima jars, amq jars and spring jar. If you want to load jars from different locations set USER_JAR_PATH. Before using this you need to check out then uimaj-bootstrap project from uima svn. Build it with maven and install uimaj-bootstrap.jar in the UIMA_HOME/lib directory. Let me know if you run into any problems Jerry Need a script to launch a UIMA-AS service via RunWithJarPath Key: UIMA-1531 URL: https://issues.apache.org/jira/browse/UIMA-1531 Project: UIMA Issue Type: New Feature Components: Async Scaleout Reporter: Jerry Cwiklik Fix For: 2.3AS Use existing RunWithJarPath.class from the core to enable loading jars dynamically when launching UIMA AS service. Currently setUimaClasspath is called to setup static classpath before deployment of UIMA_Service. For more flexibility it would be better to load all jar files from specified locations instead of depending on them to be statically defined in setUimaClasspath. One of the reasons for supporting dynamically loaded jars is the naming scheme used by ActiveMQ. Each version comes with a differently named jars like for example apache-activemq-4.1.1.jar, activemq-all-5.2.0.jar, etc. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.