Build failed in Jenkins: UIMA-v3-sdk #365

2018-02-01 Thread Apache Jenkins Server
See 


Changes:

[schor] [UIMA-5715] better way to get location of project, to make limited work.

--
[...truncated 2.88 MB...]
[INFO] Downloading: 
https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/platform/org.eclipse.ui.views.properties.tabbed/maven-metadata.xml
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/platform/org.eclipse.ui.views.properties.tabbed/maven-metadata.xml
 (427 B at 17.4 KB/sec)
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/com/ibm/icu/icu4j/maven-metadata.xml
[INFO] Downloading: 
https://oss.sonatype.org/content/repositories/snapshots/com/ibm/icu/icu4j/maven-metadata.xml
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/com/ibm/icu/icu4j/maven-metadata.xml (990 
B at 96.7 KB/sec)
[INFO] Downloaded: 
https://oss.sonatype.org/content/repositories/snapshots/com/ibm/icu/icu4j/maven-metadata.xml
 (392 B at 0.9 KB/sec)
[INFO] Downloading: 
http://repository.apache.org/snapshots/com/ibm/icu/icu4j/52-SNAPSHOT/maven-metadata.xml
[INFO] Downloading: 
http://repository.apache.org/snapshots/com/ibm/icu/icu4j/52-SNAPSHOT/maven-metadata.xml
[INFO] Downloading: 
https://oss.sonatype.org/content/repositories/snapshots/com/ibm/icu/icu4j/52-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: 
https://oss.sonatype.org/content/repositories/snapshots/com/ibm/icu/icu4j/52-SNAPSHOT/maven-metadata.xml
 (2 KB at 5.0 KB/sec)
[INFO] Downloading: 
http://repository.apache.org/snapshots/com/ibm/icu/icu4j/60.1-SNAPSHOT/maven-metadata.xml
[INFO] Downloading: 
https://oss.sonatype.org/content/repositories/snapshots/com/ibm/icu/icu4j/60.1-SNAPSHOT/maven-metadata.xml
[INFO] Downloading: 
http://repository.apache.org/snapshots/com/ibm/icu/icu4j/60.1-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded: 
https://oss.sonatype.org/content/repositories/snapshots/com/ibm/icu/icu4j/60.1-SNAPSHOT/maven-metadata.xml
 (2 KB at 5.2 KB/sec)
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/platform/org.eclipse.equinox.bidi/maven-metadata.xml
[INFO] Downloading: 
https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/platform/org.eclipse.equinox.bidi/maven-metadata.xml
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/platform/org.eclipse.equinox.bidi/maven-metadata.xml
 (382 B at 41.4 KB/sec)
[INFO] Downloading: 
https://oss.sonatype.org/content/repositories/snapshots/org/apache/xmlgraphics/batik-util/1.10.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading: 
https://oss.sonatype.org/content/repositories/snapshots/org/apache/xmlgraphics/batik-constants/1.10.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading: 
https://oss.sonatype.org/content/repositories/snapshots/org/apache/xmlgraphics/batik-i18n/1.10.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading: 
https://oss.sonatype.org/content/repositories/snapshots/org/apache/xmlgraphics/xmlgraphics-commons/2.2.0-SNAPSHOT/maven-metadata.xml
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/swt/org.eclipse.swt.win32.win32.x86/maven-metadata.xml
[INFO] Downloading: 
https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/swt/org.eclipse.swt.win32.win32.x86/maven-metadata.xml
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/swt/org.eclipse.swt.win32.win32.x86/maven-metadata.xml
 (347 B at 2.7 KB/sec)
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/core/runtime/maven-metadata.xml
[INFO] Downloading: 
https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/core/runtime/maven-metadata.xml
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/core/runtime/maven-metadata.xml
 (472 B at 35.5 KB/sec)
[INFO] Downloading: 
https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/osgi/maven-metadata.xml
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/osgi/maven-metadata.xml
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/osgi/maven-metadata.xml (462 B 
at 37.6 KB/sec)
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/equinox/common/maven-metadata.xml
[INFO] Downloading: 
https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/equinox/common/maven-metadata.xml
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/equinox/common/maven-metadata.xml
 (383 B at 34.0 KB/sec)
[INFO] Downloading: 
https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/core/jobs/maven-metadata.xml
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/core/jobs/maven-metadata.xml
[INFO] Downloaded: 
https://repo.maven.apache.org/maven2/org/eclipse/core/jobs/maven-metadata.xml 
(420 B at 31.6 KB/sec)
[INFO] Downloading: 
https://repo.maven.apache.org/maven2/org/eclipse/equinox/registry/maven-metadata.xml
[INFO] Downloading: 

[jira] [Created] (UIMA-5714) UIMA-AS: JMX registration of MBean fails when name is invalid

2018-02-01 Thread Jerry Cwiklik (JIRA)
Jerry Cwiklik created UIMA-5714:
---

 Summary: UIMA-AS: JMX  registration of MBean fails when name is 
invalid
 Key: UIMA-5714
 URL: https://issues.apache.org/jira/browse/UIMA-5714
 Project: UIMA
  Issue Type: Bug
  Components: Async Scaleout
Reporter: Jerry Cwiklik
Assignee: Jerry Cwiklik
 Fix For: future-Uima-AS


When registering UIMA-AS MBean with JMX a unique name (ObjectName) is 
constructed at runtime. Part of this name comes from AE resource specifier and 
fetched via 

((ResourceCreationSpecifier) resourceSpecifier).getMetaData().getName();

Since users can type whatever they want for the name, this string has to be 
sanitized to remove chars that are not compatible with jmx ObjectName. 

In one concrete scenario, a user included comma in the name which is not a 
legal char for ObjectName. This caused an exception during initialization of a 
service:

 
|Caused by: org.springframework.beans.BeanInstantiationException: Failed to 
instantiate 
[org.apache.uima.aae.controller.PrimitiveAnalysisEngineController_impl]: 
Constructor threw exception; nested exception is 
javax.management.MalformedObjectNameException: Invalid character ',' in key 
part of property
 at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:154)
 at 
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122)
 at 
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:271)
 ... 17 more
Caused by: javax.management.MalformedObjectNameException: Invalid character ',' 
in key part of property
 at javax.management.ObjectName.construct(ObjectName.java:562)
 at javax.management.ObjectName.(ObjectName.java:1393)
 at 
org.apache.uima.aae.controller.BaseAnalysisEngineController.(BaseAnalysisEngineController.java:462)
 at 
org.apache.uima.aae.controller.PrimitiveAnalysisEngineController_impl.(PrimitiveAnalysisEngineController_impl.java:173)
 at 
org.apache.uima.aae.controller.PrimitiveAnalysisEngineController_impl.(PrimitiveAnalysisEngineController_impl.java:161)
 at 
org.apache.uima.aae.controller.PrimitiveAnalysisEngineController_impl.(PrimitiveAnalysisEngineController_impl.java:134)
 at 
org.apache.uima.aae.controller.PrimitiveAnalysisEngineController_impl.(PrimitiveAnalysisEngineController_impl.java:125)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:83)
 at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:57)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:437)
 at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142)
 ... 19 more|

 

In BaseAnalysisEngineController.setupName() make sure the name contains only 
valid chars for ObjectName. Code in question is this:

String serviceName = ((ResourceCreationSpecifier) 
resourceSpecifier).getMetaData().getName();



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (UIMA-5700) DUCC pull-service wrapper should not always kill the process when a work-item fails

2018-02-01 Thread Burn Lewis (JIRA)

 [ 
https://issues.apache.org/jira/browse/UIMA-5700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Burn Lewis resolved UIMA-5700.
--
Resolution: Fixed

Fix worked perfectly

> DUCC pull-service wrapper should not always kill the process when a work-item 
> fails
> ---
>
> Key: UIMA-5700
> URL: https://issues.apache.org/jira/browse/UIMA-5700
> Project: UIMA
>  Issue Type: Bug
>  Components: DUCC
>Reporter: Burn Lewis
>Assignee: Jerry Cwiklik
>Priority: Major
> Fix For: 2.2.2-Ducc
>
>
> Needed for an in-process pull service to prevent it from destroying 
> everything.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (UIMA-5700) DUCC pull-service wrapper should not always kill the process when a work-item fails

2018-02-01 Thread Burn Lewis (JIRA)

 [ 
https://issues.apache.org/jira/browse/UIMA-5700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Burn Lewis closed UIMA-5700.


> DUCC pull-service wrapper should not always kill the process when a work-item 
> fails
> ---
>
> Key: UIMA-5700
> URL: https://issues.apache.org/jira/browse/UIMA-5700
> Project: UIMA
>  Issue Type: Bug
>  Components: DUCC
>Reporter: Burn Lewis
>Assignee: Jerry Cwiklik
>Priority: Major
> Fix For: 2.2.2-Ducc
>
>
> Needed for an in-process pull service to prevent it from destroying 
> everything.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)