Re: Question about ProcessTrace

2008-03-28 Thread Thilo Goetz

Adam Lally wrote:

On Thu, Mar 27, 2008 at 11:35 AM, Thilo Goetz [EMAIL PROTECTED] wrote:

I was just testing CVD for the next release, and tried
 out the new performance report feature.  Internally, this
 uses the ProcessTrace feature of AnalysisEngine.process().
 It seems that if the process() call returns very quickly,
 i.e., in 0ms according to the Java timer, no ProcessTrace
 sub-events are recorded.  For example, I'm running the
 tagger, and here's some output I get:

snip/

 Looking at this in the debugger, there are no subevents
 there, so it's not a problem with the printing.

 Is this expected, or is it a bug?  Seems to me it is a bug,
 but I'm not sure from the documentation.



I'd say it is a bug.  Not sure if it's worth holding up the release for though.


Certainly not worth holding up the release, it's just
something I noticed during testing.  Will open a Jira
ticket.  Thanks.



  -Adam




[jira] Created: (UIMA-941) No ProcessTrace events for process calls that take 0ms

2008-03-28 Thread Thilo Goetz (JIRA)
No ProcessTrace events for process calls that take 0ms
--

 Key: UIMA-941
 URL: https://issues.apache.org/jira/browse/UIMA-941
 Project: UIMA
  Issue Type: Bug
  Components: Core Java Framework
Affects Versions: 2.2.2
 Environment: Windows XP, Java 1.5
Reporter: Thilo Goetz
Priority: Minor


Found when testing release candidate 4 of 2.2.2.  Here's the text of an email I 
wrote.  Adam responded that it's probably a bug.

http://www.mail-archive.com/uima-dev%40incubator.apache.org/msg06565.html

I was just testing CVD for the next release, and tried
out the new performance report feature.  Internally, this
uses the ProcessTrace feature of AnalysisEngine.process().
It seems that if the process() call returns very quickly,
i.e., in 0ms according to the Java timer, no ProcessTrace
sub-events are recorded.  For example, I'm running the
tagger, and here's some output I get:

This one looks fine, as expected:

3/27/08 4:29:52 PM - 10: 
org.apache.uima.tools.cvd.MainFrame.internalRunAE(1570): INFO: Process trace of 
AE run:
Component Name: HmmTaggerTAE
Event Type: Analysis
Duration: 2078ms (100%)
Sub-events:
Component Name: WhitespaceTokenizer
Event Type: Analysis
Duration: 265ms (12.75%)

Component Name: Hidden Markov Model - Part of Speech Tagger
Event Type: Analysis
Duration: 1813ms (87.25%)

Component Name: Fixed Flow Controller
Event Type: Analysis
Duration: 0ms (0%)

Next one seems to have lost the tagger:

3/27/08 4:30:08 PM - 10: 
org.apache.uima.tools.cvd.MainFrame.internalRunAE(1570): INFO: Process trace of 
AE run:
Component Name: HmmTaggerTAE
Event Type: Analysis
Duration: 16ms (100%)
Sub-events:
Component Name: WhitespaceTokenizer
Event Type: Analysis
Duration: 16ms (100%)

Component Name: Fixed Flow Controller
Event Type: Analysis
Duration: 0ms (0%)

Finally, this one only has the flow controller:

3/27/08 4:30:19 PM - 10: 
org.apache.uima.tools.cvd.MainFrame.internalRunAE(1570): INFO: Process trace of 
AE run:
Component Name: HmmTaggerTAE
Event Type: Analysis
Duration: 0ms
Sub-events:
Component Name: Fixed Flow Controller
Event Type: Analysis
Duration: 0ms

Looking at this in the debugger, there are no subevents
there, so it's not a problem with the printing.

Is this expected, or is it a bug?  Seems to me it is a bug,
but I'm not sure from the documentation.

--Thilo



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



Re: [jira] Commented: (UIMA-939) PEAR packaging eclipse plugin not visible after installation

2008-03-28 Thread Thilo Goetz

Tong Fin (JIRA) wrote:
[ https://issues.apache.org/jira/browse/UIMA-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12582808#action_12582808 ] 


Tong Fin commented on UIMA-939:
---

Hi Michael,
I tested the PEAR plugin with:
 - Redhat 5 Enterprise Linux
 - Eclipse 3.3.2


Works for me on Ubuntu 8.04 Beta, Eclipse 3.3.2.

--Thilo


Re: [jira] Commented: (UIMA-939) PEAR packaging eclipse plugin not visible after installation

2008-03-28 Thread Michael Baessler
Tong Fin (JIRA) wrote:
 [ 
 https://issues.apache.org/jira/browse/UIMA-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12582727#action_12582727
  ] 
 
 Tong Fin commented on UIMA-939:
 ---
 
 Since you are using Eclipse 3.3.2, please try the following to see what is 
 wrong:
  - Open Window-Show View-Other...- PDE-Plug-in Dependencies
  - In Plug-in Dependencies view, click on Show State Status icon at 
 top-right. You will see a long list of plug-ins.
  - Find o.a.uima.pear PEAR plugin and try to see if there is any red dot 
 which means that there is some errors.
  - If PEAR plugin has a red dot, expand the node to see the reason of the 
 error.
 
 - Tong
 
 PEAR packaging eclipse plugin not visible after installation
 

 Key: UIMA-939
 URL: https://issues.apache.org/jira/browse/UIMA-939
 Project: UIMA
  Issue Type: Bug
  Components: Eclipse plugins
 Environment: Linux only 
 Eclipse 3.3.2
Reporter: Michael Baessler
 Fix For: 2.2.2


 After installing the plugin, it is not available. The log file does not 
 contain any entries.
 The error occurs only on Linux in eclipse 3.3.2. When using eclipse 3.2.2 
 all works fine
 Is there anything I can check to see what's wrong?
 
After fixing some EMF dependencies after updates the plugin dependencies
look good. But when trying to call generatePearPackage I got the
following NoClassDefFoundError:

 java.lang.NoClassDefFoundError:
org/eclipse/ui/model/WorkbenchContentProvider
 at
org.apache.uima.pear.generate.PearFileResourceExportPage.createTreeViewer(PearFileResourceExportPage.java:368)
 at
org.apache.uima.pear.generate.PearFileResourceExportPage.createSourceControl(PearFileResourceExportPage.java:274)
 at
org.apache.uima.pear.generate.PearFileResourceExportPage.createControl(PearFileResourceExportPage.java:235)
 at
org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:170)
 at
org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:669)
 at
org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:543)
 at org.eclipse.jface.window.Window.create(Window.java:426)
 at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1083)
 at org.eclipse.jface.window.Window.open(Window.java:785)
 at
org.apache.uima.pear.actions.GeneratePearFileAction.run(GeneratePearFileAction.java:89)
 at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:256)
 at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
 at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
 at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
 at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319)
 at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
 at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
 at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
 at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
 at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
 at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
 at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
 at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
 at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
 at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
 at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
 at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
 at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
 at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
 at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
 at 

Re: building UIMA-AS

2008-03-28 Thread Michael Baessler
 (I may have missed something...  but this is a good start...)
 (There's a Jira issue (not being done yet, probably not for this
 release) to fixup this process to be less dependent on base uima projects.)
 Within the UIMA annotator package we have the same, to build the package
 we need the uima-docbook-tools project from UIMA core. When creating the
  tag for the Sandbox release I also tag the uima-docbook-tools project
 to the Sandbox tag location. This guarantees that we can reproduces the
 build at any time.
   
 Good idea.  How do you do this tagging?  Do you just do some sequential
 tagging-copying into the .../tag/... place?

Yes, I just tag the necessary projects to the current sandbox tag. For
example the uima-docbook-tools project to
incubator/uima/sandbox/tags/sandbox-2.2.2/sandbox-2.2.2-04/uima-docbook-tool/

When extracting the sandbox-2.2.2-04 tag all required project are extracted.

-- Michael



CasEditor-2.2.2-04 is ready

2008-03-28 Thread Jörn Kottmann

I uploaded the release candidate to my home directory on
people.apache.org.

There are still all test for windows open in the test plan. All tests  
for

linux did pass.

I will finish this tomorrow when I have access to a windows machine.

Thanks,
Jörn

[jira] Created: (UIMA-942) Regex performance test doesn't run on Linux

2008-03-28 Thread Michael Baessler (JIRA)
Regex performance test doesn't run on Linux
---

 Key: UIMA-942
 URL: https://issues.apache.org/jira/browse/UIMA-942
 Project: UIMA
  Issue Type: Bug
  Components: Sandbox-RegexAnnotator
Reporter: Michael Baessler
Assignee: Michael Baessler
 Fix For: 2.2.2S




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



[jira] Closed: (UIMA-942) Regex performance test doesn't run on Linux

2008-03-28 Thread Michael Baessler (JIRA)

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

Michael Baessler closed UIMA-942.
-

Resolution: Fixed

 Regex performance test doesn't run on Linux
 ---

 Key: UIMA-942
 URL: https://issues.apache.org/jira/browse/UIMA-942
 Project: UIMA
  Issue Type: Bug
  Components: Sandbox-RegexAnnotator
Reporter: Michael Baessler
Assignee: Michael Baessler
 Fix For: 2.2.2S




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



[jira] Created: (UIMA-943) DictionaryAnnotator tests doesn't run on Linux

2008-03-28 Thread Michael Baessler (JIRA)
DictionaryAnnotator tests doesn't run on Linux
--

 Key: UIMA-943
 URL: https://issues.apache.org/jira/browse/UIMA-943
 Project: UIMA
  Issue Type: Bug
  Components: Sandbox-DictionaryAnnotator
Reporter: Michael Baessler
Assignee: Michael Baessler
 Fix For: 2.2.2S




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



[jira] Closed: (UIMA-944) simple server notice file contains redundant uima reference

2008-03-28 Thread Thilo Goetz (JIRA)

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

Thilo Goetz closed UIMA-944.


Resolution: Fixed

 simple server notice file contains redundant uima reference
 ---

 Key: UIMA-944
 URL: https://issues.apache.org/jira/browse/UIMA-944
 Project: UIMA
  Issue Type: Bug
  Components: Sandbox-SimpleServer
Reporter: Thilo Goetz
Assignee: Thilo Goetz
Priority: Minor
 Fix For: 2.2.2S




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



[jira] Closed: (UIMA-943) DictionaryAnnotator tests doesn't run on Linux

2008-03-28 Thread Michael Baessler (JIRA)

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

Michael Baessler closed UIMA-943.
-

Resolution: Fixed

 DictionaryAnnotator tests doesn't run on Linux
 --

 Key: UIMA-943
 URL: https://issues.apache.org/jira/browse/UIMA-943
 Project: UIMA
  Issue Type: Bug
  Components: Sandbox-DictionaryAnnotator
Reporter: Michael Baessler
Assignee: Michael Baessler
 Fix For: 2.2.2S




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



[jira] Created: (UIMA-944) simple server notice file contains redundant uima reference

2008-03-28 Thread Thilo Goetz (JIRA)
simple server notice file contains redundant uima reference
---

 Key: UIMA-944
 URL: https://issues.apache.org/jira/browse/UIMA-944
 Project: UIMA
  Issue Type: Bug
  Components: Sandbox-SimpleServer
Reporter: Thilo Goetz
Assignee: Thilo Goetz
Priority: Minor
 Fix For: 2.2.2S




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



[jira] Created: (UIMA-945) move LICENSE and NOTICE files to toplevel dir for annotator package

2008-03-28 Thread Michael Baessler (JIRA)
move LICENSE and NOTICE files to toplevel dir for annotator package
---

 Key: UIMA-945
 URL: https://issues.apache.org/jira/browse/UIMA-945
 Project: UIMA
  Issue Type: Bug
  Components: Sandbox-distr
Reporter: Michael Baessler
Assignee: Michael Baessler
 Fix For: 2.2.2S




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



[jira] Reopened: (UIMA-934) Some Linux scripts cannot execute as are in DOS format

2008-03-28 Thread Eddie Epstein (JIRA)

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

Eddie Epstein reopened UIMA-934:



More with DOS eol

 Some Linux scripts cannot execute as are in DOS format
 --

 Key: UIMA-934
 URL: https://issues.apache.org/jira/browse/UIMA-934
 Project: UIMA
  Issue Type: Bug
  Components: Async Scaleout
Affects Versions: 2.2.2S
Reporter: Burn Lewis
 Fix For: 2.2.2S


 startBroker.sh
 dd2spring.sh
 deployAsyncService.sh
 runRemoteAsyncAE.sh
 setUimaClassPath.sh

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



Re: [jira] Commented: (UIMA-939) PEAR packaging eclipse plugin not visible after installation

2008-03-28 Thread Marshall Schor

Marshall Schor wrote:

Michael Baessler wrote:

Tong Fin (JIRA) wrote:
 
[ 
https://issues.apache.org/jira/browse/UIMA-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12582727#action_12582727 
]

Tong Fin commented on UIMA-939:
---

Since you are using Eclipse 3.3.2, please try the following to see 
what is wrong:

 - Open Window-Show View-Other...- PDE-Plug-in Dependencies
 - In Plug-in Dependencies view, click on Show State Status icon 
at top-right. You will see a long list of plug-ins.
 - Find o.a.uima.pear PEAR plugin and try to see if there is any 
red dot which means that there is some errors.
 - If PEAR plugin has a red dot, expand the node to see the reason 
of the error.


- Tong

   

PEAR packaging eclipse plugin not visible after installation


Key: UIMA-939
URL: https://issues.apache.org/jira/browse/UIMA-939
Project: UIMA
 Issue Type: Bug
 Components: Eclipse plugins
Environment: Linux only Eclipse 3.3.2
   Reporter: Michael Baessler
Fix For: 2.2.2


After installing the plugin, it is not available. The log file does 
not contain any entries.
The error occurs only on Linux in eclipse 3.3.2. When using eclipse 
3.2.2 all works fine

Is there anything I can check to see what's wrong?
  

After fixing some EMF dependencies after updates the plugin dependencies
look good. But when trying to call generatePearPackage I got the
following NoClassDefFoundError:

 java.lang.NoClassDefFoundError:
org/eclipse/ui/model/WorkbenchContentProvider
  
This may be a Wiring issue.   I will look to see if the package 
org.eclipse.ui.model is available from more than one bundle in 
Eclipse 3.3.2.  If so, then I will put in a simple change to specify 
the right bundle it should come from (the right one being the one 
which has the class WorkbenchContentProvider).
It looks like in Eclipse 3.3.2 (and maybe others), the package 
org.eclipse.ui.model is available from bundle org.eclipse.ui.ide and 
org.eclipse.ui.workbench.  The WorkbenchContentProvider has to come from 
org.eclipse.ui.ide. 

Rather than pick these off one by one :-) I found a table in the Eclipse 
Help by searching with the key words:

map split packages
This table lists all the split packages.  For these cases, if there is 
an import for this, the best fix I think is to add a Require-Bundle for 
*all* the bundles that export this package.  This will cover the case 
where the CDE or other plugin might be actually using classes from more 
than one of the bundles where this package is split.


(Previously, we were fixing these by wiring the need for a package to 
just one of the bundles).  The OSGi spec says this is permitted:


A given package may be available from more than one of the required bundles.
Such packages are named split packages because they derive their contents
from different bundles. If these different bundles provide the same
classes unpredictable shadowing of classes can arise, see Issues With 
Requiring

Bundles on page 66. However, split packages without shadowing are
explicitly permitted.

Even better yet, reading the Notes to the table in this Help entry, 
it is possible (in some cases) to specify a particular bundle which 
will, in turn, import and then re-export the packages. 

There are 4 packages in org.eclipse.jface.* that are split between 
bundles org.eclipse.jface.text and org.eclipse.text.  For these, we'll 
require both bundles.


This is one package, org.eclipse.ui.texteditor that is split between 
org.eclipse.ui.editors and org.eclipse.ui.workbench.texteditor.  For 
this, we'll require both bundles.


There are 5 packages in org.eclipse.ui.*  that are split between 
org.eclipse.ui.ide and org.eclipse.ui.workbench.  The Notes say not to 
require org.eclipse.ui.workbench, but instead just export org.eclipse.ui 
(which imports and reexports org.eclipse.ui.workbench packages).


I'll make these changes for the plugins that currently import packages 
that are split.


-Marshall


Re: [jira] Created: (UIMA-946) Missing jars from distr and setUimaClassPath

2008-03-28 Thread Thilo Goetz

Eddie Epstein (JIRA) wrote:

Missing jars from distr and setUimaClassPath


 Key: UIMA-946
 URL: https://issues.apache.org/jira/browse/UIMA-946
 Project: UIMA
  Issue Type: Bug
  Components: Async Scaleout
Reporter: Eddie Epstein
Assignee: Eddie Epstein
 Fix For: 2.2.2S


xbean-spring-3.2-SNAPSHOT.jar is in the distribution, but missing from 
setUimaClassPath
commons-collections-3.1.jar is missing from both



Hi Eddie,

how do we know this snapshot jar will not change in the
maven repo?  Can we be sure that we will be able to
reproduce our distribution at a later date?  Or am I
missing something?

--Thilo


[jira] Closed: (UIMA-934) Some Linux scripts cannot execute as are in DOS format

2008-03-28 Thread Eddie Epstein (JIRA)

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

Eddie Epstein closed UIMA-934.
--

Resolution: Fixed

 Some Linux scripts cannot execute as are in DOS format
 --

 Key: UIMA-934
 URL: https://issues.apache.org/jira/browse/UIMA-934
 Project: UIMA
  Issue Type: Bug
  Components: Async Scaleout
Affects Versions: 2.2.2S
Reporter: Burn Lewis
 Fix For: 2.2.2S


 startBroker.sh
 dd2spring.sh
 deployAsyncService.sh
 runRemoteAsyncAE.sh
 setUimaClassPath.sh

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



Re: [jira] Created: (UIMA-946) Missing jars from distr and setUimaClassPath

2008-03-28 Thread Thilo Goetz

Marshall Schor wrote:

Thilo Goetz wrote:

Eddie Epstein (JIRA) wrote:

Missing jars from distr and setUimaClassPath


 Key: UIMA-946
 URL: https://issues.apache.org/jira/browse/UIMA-946
 Project: UIMA
  Issue Type: Bug
  Components: Async Scaleout
Reporter: Eddie Epstein
Assignee: Eddie Epstein
 Fix For: 2.2.2S


xbean-spring-3.2-SNAPSHOT.jar is in the distribution, but missing 
from setUimaClassPath

commons-collections-3.1.jar is missing from both



Hi Eddie,

how do we know this snapshot jar will not change in the
maven repo?  Can we be sure that we will be able to
reproduce our distribution at a later date?  Or am I
missing something?
Great question.  To prevent this from changing, this snapshot jar is 
copied into our SVN and lives in uima-as-distr in 
src/main/apache-activemq-5.0.0/lib/optional/


This spot has just 2 jars that we need stable and recorded:  One is 
this one, the other is the patched version of the activemq-optional jar 
that Eddie did to get a patch put in that is posted to the ActiveMQ Jira 
project, but which they've not acted on - it's for an area of the http 
connector, and fixes some length and encoding issues as I recall.


Thanks, Marshall.  So why are those jars not in the source
distribution then?

--Thilo




[jira] Closed: (UIMA-947) Documentation: resources path in web.xml incorrect

2008-03-28 Thread Thilo Goetz (JIRA)

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

Thilo Goetz closed UIMA-947.


Resolution: Fixed

 Documentation: resources path in web.xml incorrect
 --

 Key: UIMA-947
 URL: https://issues.apache.org/jira/browse/UIMA-947
 Project: UIMA
  Issue Type: Bug
  Components: Sandbox-SimpleServer
Reporter: Thilo Goetz
Assignee: Thilo Goetz
Priority: Minor
 Fix For: 2.2.2S




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



[jira] Created: (UIMA-948) cleanup warnings generated by deployCppService build

2008-03-28 Thread Bhavani Iyer (JIRA)
cleanup warnings generated by deployCppService build 
-

 Key: UIMA-948
 URL: https://issues.apache.org/jira/browse/UIMA-948
 Project: UIMA
  Issue Type: Bug
  Components: C++ Framework
Reporter: Bhavani Iyer


cleanup warnings generated by deployCppService build 

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




[jira] Created: (UIMA-949) Get exceptions when have 2 CAS multipliers

2008-03-28 Thread Burn Lewis (JIRA)
Get exceptions when have 2 CAS multipliers
--

 Key: UIMA-949
 URL: https://issues.apache.org/jira/browse/UIMA-949
 Project: UIMA
  Issue Type: Bug
  Components: Async Scaleout
Affects Versions: 2.2.2S
Reporter: Burn Lewis
 Fix For: 2.2.2S


Get either NPE or Cas Not Found In CasManager Cache exceptions when releasing 
CASes from 2nd CAS Multiplier.


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



[jira] Updated: (UIMA-949) Get exceptions when have 2 CAS multipliers

2008-03-28 Thread Burn Lewis (JIRA)

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

Burn Lewis updated UIMA-949:


Attachment: UIMA-949.patch

This patch adds a test case but the test works as the exceptions are not fatal.

 Get exceptions when have 2 CAS multipliers
 --

 Key: UIMA-949
 URL: https://issues.apache.org/jira/browse/UIMA-949
 Project: UIMA
  Issue Type: Bug
  Components: Async Scaleout
Affects Versions: 2.2.2S
Reporter: Burn Lewis
 Fix For: 2.2.2S

 Attachments: UIMA-949.patch


 Get either NPE or Cas Not Found In CasManager Cache exceptions when 
 releasing CASes from 2nd CAS Multiplier.

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



Re: [jira] Created: (UIMA-939) PEAR packaging eclipse plugin not visible after installation

2008-03-28 Thread Marshall Schor

Marshall Schor wrote:

Michael Baessler (JIRA) wrote:

PEAR packaging eclipse plugin not visible after installation


 Key: UIMA-939
 URL: https://issues.apache.org/jira/browse/UIMA-939
 Project: UIMA
  Issue Type: Bug
  Components: Eclipse plugins
 Environment: Linux only Eclipse 3.3.2
Reporter: Michael Baessler
 Fix For: 2.2.2
...
 
This problem is more complex.  Michael sent me a zip of his entire 
3.3.2 linux install, and with that, on my SUSE linux, I can reproduce 
the failure.  On this same Linux, I have also a 3.3.2 Eclipse + the 
plugins, which work.  So I should (with enough work) be able to figure 
out the difference :-)
Well, it turns out that once I started Michael's zip with a -clean 
option, the pear generator started to work.  This may not be 
significant, other than it means I can't reproduce this on my Linux.  Of 
course, if the problem for pear generation goes away for Michael once he 
tries using the -clean option, then that probably was the issue.


There was another issue Michael found running the CDE - this was because 
of a wiring problem, which was reported on elsewhere in the dev-list, 
and already fixed (but Michael didn't have the fix).


-Marshall


[jira] Created: (UIMA-950) Connection times out waiting for long running remote service and temp reply queues are lost ... cannot recover

2008-03-28 Thread Burn Lewis (JIRA)
Connection times out waiting for long running remote service and temp reply 
queues are lost ... cannot recover
--

 Key: UIMA-950
 URL: https://issues.apache.org/jira/browse/UIMA-950
 Project: UIMA
  Issue Type: Bug
  Components: Async Scaleout
Affects Versions: 2.2.2S
Reporter: Burn Lewis
 Fix For: 2.2.2S


Using an aggregate client with a remote tcp service with remote temp reply 
queue.  After 45 secs (in one case) get:

3/28/08 2:34:15 PM - 30: 
org.apache.activemq.ActiveMQConnection.onAsyncException: WARNING: Async 
exception with no exception listener: java.io.EOFException
java.io.EOFException
at java.io.DataInputStream.readFully(DataInputStream.java:204)
at java.io.DataInputStream.readInt(DataInputStream.java:380)
at 
org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:268)
at 
org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:192)
at 
org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:184)
at 
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:172)
at java.lang.Thread.run(Thread.java:803)

The connection is refreshed, but the temp queue is not recreated

3/28/08 2:35:36 PM - 34: 
org.apache.uima.adapter.jms.activemq.UimaDefaultMessageListenerContainer.handleListenerSetupFailure:
 WARNING: Jms Listener Failed. Endpoint: ID:telly-1196-1206729192229-2:5:1 
Managed By: tcp://ikmc09b02.watson.ibm.com:61616 Reason: 
javax.jms.InvalidDestinationException: Cannot use a Temporary destination from 
another Connection

Addiing ?wireFormat.maxInactivityDuration=0 to the broker URL when starting 
it avoids the problem.


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



[jira] Created: (UIMA-951) Eclipse split packages not handled well - causing plugin ClassNotFound failures

2008-03-28 Thread Marshall Schor (JIRA)
Eclipse split packages not handled well - causing plugin ClassNotFound failures
---

 Key: UIMA-951
 URL: https://issues.apache.org/jira/browse/UIMA-951
 Project: UIMA
  Issue Type: Bug
  Components: Eclipse plugins
Reporter: Marshall Schor
Assignee: Marshall Schor
 Fix For: 2.2.2S, 2.2.2


Some eclipse packages are split across multiple bundles.  The 
maven-bundle-plugin, by default, will put in a package import, which could get 
connected to only one of the bundles.  If that bundle doesn't have the class, 
you get a classnotfound exception.  Which bundle gets wired is arbitrary - 
often differing based on platform, build, etc.

The fix is to identify all the split packages in Eclipse (these can be found by 
opening the Eclipse HELP and searching using the keywords ( split packages map 
)).  Then for each split package, add a Require-Bundle for each bundle that has 
some of the classes for that package.

Add the Require-Package directive to the affected POMs to make these stable 
against possibly wrong wiring.

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



[jira] Commented: (UIMA-950) Connection times out waiting for long running remote service and temp reply queues are lost ... cannot recover

2008-03-28 Thread Eddie Epstein (JIRA)

[ 
https://issues.apache.org/jira/browse/UIMA-950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12583191#action_12583191
 ] 

Eddie Epstein commented on UIMA-950:


The API client does not have this problem, and does not show any inactivity 
messages in the log while waiting patiently :)

Adding ?wireFormat.maxInactivityDuration=0 to the transport connector 
definition in the broker did fix the problem for aggregate clients; after a 9 
minute wait the missing service was started and all ran ok. However, an ugly 
exception was logged in the aggregate client's logfile:

3/28/08 4:15:55 PM - 10: 
org.apache.uima.adapter.jms.activemq.SpringContainerDeployer.waitForServiceNotification:
 INFO: Uima EE Client Blocking - Awaiting Top Level Controller Initialization 
Notification
3/28/08 4:19:54 PM - 15: 
org.apache.activemq.ActiveMQConnection.onAsyncException: WARNING: Async 
exception with no exception listener: 
org.apache.activemq.transport.InactivityIOException: Channel was inactive for 
too long: localhost/127.0.0.1:61616
org.apache.activemq.transport.InactivityIOException: Channel was inactive for 
too long: localhost/127.0.0.1:61616
at 
org.apache.activemq.transport.InactivityMonitor$4.run(InactivityMonitor.java:108)
3/28/08 4:19:54 PM - 16: 
org.apache.activemq.ActiveMQConnection.onAsyncException: WARNING: Async 
exception with no exception listener: java.net.SocketException: socket closed
java.net.SocketException: socket closed
at java.net.SocketInputStream.read(SocketInputStream.java:155)
at 
org.apache.activemq.transport.tcp.TcpBufferedInputStream.fill(TcpBufferedInputStream.java:50)
at 
org.apache.activemq.transport.tcp.TcpBufferedInputStream.readStream(TcpBufferedInputStream.java:72)
at 
org.apache.activemq.transport.tcp.TcpBufferedInputStream.read(TcpBufferedInputStream.java:92)
at java.io.DataInputStream.readFully(DataInputStream.java:202)
at java.io.DataInputStream.readInt(DataInputStream.java:380)
at 
org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:268)
at 
org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:192)
at 
org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:184)
at 
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:172)
at java.lang.Thread.run(Thread.java:803)
3/28/08 4:19:54 PM - 17: 
org.springframework.jms.listener.DefaultMessageListenerContainer.refreshConnectionUntilSuccessful:
 INFO: Successfully refreshed JMS Connection
3/28/08 4:24:09 PM - 18: 
org.apache.uima.adapter.jms.activemq.JmsInputChannel.onMessage: FINE: Service: 
Received New Message

Hopefully there is some way to tell the spring listener not to do this.

Eddie

 Connection times out waiting for long running remote service and temp reply 
 queues are lost ... cannot recover
 --

 Key: UIMA-950
 URL: https://issues.apache.org/jira/browse/UIMA-950
 Project: UIMA
  Issue Type: Bug
  Components: Async Scaleout
Affects Versions: 2.2.2S
Reporter: Burn Lewis
 Fix For: 2.2.2S


 Using an aggregate client with a remote tcp service with remote temp reply 
 queue.  After 45 secs (in one case) get:
 3/28/08 2:34:15 PM - 30: 
 org.apache.activemq.ActiveMQConnection.onAsyncException: WARNING: Async 
 exception with no exception listener: java.io.EOFException
 java.io.EOFException
   at java.io.DataInputStream.readFully(DataInputStream.java:204)
   at java.io.DataInputStream.readInt(DataInputStream.java:380)
   at 
 org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:268)
   at 
 org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:192)
   at 
 org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:184)
   at 
 org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:172)
   at java.lang.Thread.run(Thread.java:803)
 The connection is refreshed, but the temp queue is not recreated
 3/28/08 2:35:36 PM - 34: 
 org.apache.uima.adapter.jms.activemq.UimaDefaultMessageListenerContainer.handleListenerSetupFailure:
  WARNING: Jms Listener Failed. Endpoint: ID:telly-1196-1206729192229-2:5:1 
 Managed By: tcp://ikmc09b02.watson.ibm.com:61616 Reason: 
 javax.jms.InvalidDestinationException: Cannot use a Temporary destination 
 from another Connection
 Addiing ?wireFormat.maxInactivityDuration=0 to the broker URL when starting 
 it avoids the problem.

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



[jira] Resolved: (UIMA-951) Eclipse split packages not handled well - causing plugin ClassNotFound failures

2008-03-28 Thread Marshall Schor (JIRA)

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

Marshall Schor resolved UIMA-951.
-

Resolution: Fixed

plugins need testing on linux/windows, and eclipse 3.3.2 and 3.2.x

 Eclipse split packages not handled well - causing plugin ClassNotFound 
 failures
 ---

 Key: UIMA-951
 URL: https://issues.apache.org/jira/browse/UIMA-951
 Project: UIMA
  Issue Type: Bug
  Components: Eclipse plugins
Reporter: Marshall Schor
Assignee: Marshall Schor
 Fix For: 2.2.2S, 2.2.2


 Some eclipse packages are split across multiple bundles.  The 
 maven-bundle-plugin, by default, will put in a package import, which could 
 get connected to only one of the bundles.  If that bundle doesn't have the 
 class, you get a classnotfound exception.  Which bundle gets wired is 
 arbitrary - often differing based on platform, build, etc.
 The fix is to identify all the split packages in Eclipse (these can be found 
 by opening the Eclipse HELP and searching using the keywords ( split packages 
 map )).  Then for each split package, add a Require-Bundle for each bundle 
 that has some of the classes for that package.
 Add the Require-Package directive to the affected POMs to make these stable 
 against possibly wrong wiring.

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



[jira] Updated: (UIMA-949) Get exceptions when have 2 CAS multipliers

2008-03-28 Thread Jerry Cwiklik (JIRA)

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

Jerry Cwiklik updated UIMA-949:
---

Attachment: uima-as-core-UIMA-949-patch.txt

Fixes the final step logic in the Aggregate to release CASes if multiple Cas 
Multipliers are used. 

 Get exceptions when have 2 CAS multipliers
 --

 Key: UIMA-949
 URL: https://issues.apache.org/jira/browse/UIMA-949
 Project: UIMA
  Issue Type: Bug
  Components: Async Scaleout
Affects Versions: 2.2.2S
Reporter: Burn Lewis
 Fix For: 2.2.2S

 Attachments: UIMA-949.patch, uima-as-core-UIMA-949-patch.txt


 Get either NPE or Cas Not Found In CasManager Cache exceptions when 
 releasing CASes from 2nd CAS Multiplier.

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



[jira] Created: (UIMA-952) source distribution build for uima-as not building the uima-as-distr project correctly

2008-03-28 Thread Marshall Schor (JIRA)
source distribution build for uima-as not building the uima-as-distr project 
correctly
--

 Key: UIMA-952
 URL: https://issues.apache.org/jira/browse/UIMA-952
 Project: UIMA
  Issue Type: Bug
  Components: Async Scaleout, Build, Packaging and Test
Reporter: Marshall Schor
Assignee: Marshall Schor
 Fix For: 2.2.2S


putting results into wrong places, among other things.  Needs review.  Should 
pull versioned POMs and JARs from maven repo, for non-uima-as parts.

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



[jira] Closed: (UIMA-952) source distribution build for uima-as not building the uima-as-distr project correctly

2008-03-28 Thread Marshall Schor (JIRA)

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

Marshall Schor closed UIMA-952.
---

Resolution: Fixed

 source distribution build for uima-as not building the uima-as-distr project 
 correctly
 --

 Key: UIMA-952
 URL: https://issues.apache.org/jira/browse/UIMA-952
 Project: UIMA
  Issue Type: Bug
  Components: Async Scaleout, Build, Packaging and Test
Reporter: Marshall Schor
Assignee: Marshall Schor
 Fix For: 2.2.2S


 putting results into wrong places, among other things.  Needs review.  Should 
 pull versioned POMs and JARs from maven repo, for non-uima-as parts.

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