Re: Creating Maven archetypes for UIMA components.
Hi Loren, You can find some JUnit setups for collection processing in the project uimaj-cpe; look in src/test/java. When I took a look at, for instance, the CollectionProcessingEngine_implTest, the setup didn't do much - it only gets a path to a file; each test actually does its own setup, initializing a collection processing engine dynamically. Another approach to try for finding useful code is to use Eclipse's search methods. Here's what I often do: (apologies if you already know all about this...) 1) select in the package-explorer, a node in the file hierarchy. For instance, looking for test case code for the collection processing stuff, select in the uimaj-cpe project, the folder src/test/java. 2) Use the eclipse search: from the top menu, Search - File... - File Search tab, and fill in in the Containing Text box: CollectionReader_ImplBase and in the File name patterns *.java and in the Scope click on Selected resources. This last couples the search to the selection you made in step 1, above. Then hit the search button, and you can find all the tests which somehow reference the CollectionReaderEngine_ImplBase, and go look at what they're doing (just double click on any line of interest, or use the Search results top menu bar's up down arrows). Hope this helps. If not, please ask your question again, with some more details :-). -Marshall Loren Cahlander wrote: Hello folks, I have been looking around for Maven archetypes for UIMA components. I have not found any and have seen that others are looking for the same thing. I will be creating these archetypes and will share them with the community. I do need the community's help in creating the first JUnit for each of the components. I am initially looking for the setUp() method for an implementation of the CollectionReader_ImplBase class. Thank you, Loren Cahlander http://www.linkedin.com/in/lorencahlander On Jan 22, 2009, at 11:49 AM, Loren Cahlander wrote: Hello, I am working with Dan McCreary at Syntatica. I am working on developing components for UIMA. I am developing an RSS/Atom Collection Reader that will send out RSS/Atom entries to the Analysis Engines. I am planning on creating a Maven project for each Collection Reader, Analysis Engine, etc. Does anyone have a recommendation of a Maven archetype for me to use? We are working on using UIMA and very much like the architecture. It is very well designed. Thank you, Loren Cahlander http://www.linkedin.com/in/lorencahlander
[jira] Created: (UIMA-1278) Add ability to report JMS reconnection status
Add ability to report JMS reconnection status - Key: UIMA-1278 URL: https://issues.apache.org/jira/browse/UIMA-1278 Project: UIMA Issue Type: Improvement Components: Async Scaleout Reporter: Bhavani Iyer The ControllerCallbackListener needs to be extended to provide APIs to report JMS reconnection status. At present this status is reported by C++ services via the UimacppServiceController bean, -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Assigned: (UIMA-1278) Add ability to report JMS reconnection status
[ https://issues.apache.org/jira/browse/UIMA-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bhavani Iyer reassigned UIMA-1278: -- Assignee: Bhavani Iyer Add ability to report JMS reconnection status - Key: UIMA-1278 URL: https://issues.apache.org/jira/browse/UIMA-1278 Project: UIMA Issue Type: Improvement Components: Async Scaleout Reporter: Bhavani Iyer Assignee: Bhavani Iyer The ControllerCallbackListener needs to be extended to provide APIs to report JMS reconnection status. At present this status is reported by C++ services via the UimacppServiceController bean, -- 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-1273) Pear runtime pulls in all jar files in pear lib directory, no matter if they're on the classpath or not
Thilo Goetz wrote: Marshall Schor wrote: I hope we can find a solution which will not break current usage. Maybe, a new XML element could be defined which explicitly defines the class path, and which, if present, would stop the lib directories from being scanned for jars to add to the classpath. I hope nobody is relying on this behavior. It's not documented, I think it may be: see section 7.1.2.2 - where it says: Required Environment variable settings. This is where you specify special CLASSPATH paths. You do not need to specify this for any Jar that is listed in the your eclipse project classpath settings; those are automatically put into the generated CLASSPATH. and I think it's just a bug. There is an xml element defining the classpath, which is always present. That's what makes this behavior so confusing! I could not find a simple XML element in the pear descriptor for setting the class path. The docs say to set this using an environment variable setting, for the environment variable CLASSPATH. The XML I think for this would look like: INSTALLATION PROCESS ACTIONset_env_variable/ACTION PARAMETERS VAR_VALUE$main_root/bin;/VAR_VALUE VAR_NAMECLASSPATH/VAR_NAME /PARAMETERS /PROCESS /INSTALLATION What I was suggesting is to avoid having an issue, by defining a new XML element, called CLASSPATH or something similarly simple and obvious; e.g.: CLASSPATH$main_root/bin;/CLASSPATH from the example above. -Marshall --Thilo -Marshall Thilo Goetz (JIRA) wrote: Pear runtime pulls in all jar files in pear lib directory, no matter if they're on the classpath or not --- Key: UIMA-1273 URL: https://issues.apache.org/jira/browse/UIMA-1273 Project: UIMA Issue Type: Bug Components: Core Java Framework Affects Versions: 2.2.2 Reporter: Thilo Goetz Fix For: 2.3 The pear runtime will not only use the classpath as defined in metadata/install.xml, it will also pick up any jar in the lib directory. It even recurses down into subdirectories. This is undocumented, and most unexpected. I chatted with Michael about this. He thinks it may be because the same code that creates the classpath in the pear packager is used in the runtime. The packager does collect all jar files it can find and puts them in the classpath, and the pear file. That's fine for the packager, but not the runtime. We should *either* have an explicit classpath, *or* use all jar files in the lib dir, but not both.
[jira] Closed: (UIMA-1275) Mistake in CAS Multiplier documentation
[ https://issues.apache.org/jira/browse/UIMA-1275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marshall Schor closed UIMA-1275. Resolution: Fixed Fix Version/s: 2.3 Assignee: Marshall Schor Right. Fixed. Mistake in CAS Multiplier documentation --- Key: UIMA-1275 URL: https://issues.apache.org/jira/browse/UIMA-1275 Project: UIMA Issue Type: Bug Components: Documentation Affects Versions: 2.2.2 Reporter: Jörn Kottmann Assignee: Marshall Schor Priority: Trivial Fix For: 2.3 The UIMA Tutorial and Developers' Guides says in 7.1.1.: If hasNext returned true, the framework will call the CAS Multiplier's next method. The CAS Multiplier creates a new CAS (we will see how in a moment), populates it, and returns it from the hasNext method. Should be ... and returns it from the next method, right ? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (UIMA-1279) UIMA AS Client Not Handling Errors When Deploying Synchronous Aggregate
UIMA AS Client Not Handling Errors When Deploying Synchronous Aggregate --- Key: UIMA-1279 URL: https://issues.apache.org/jira/browse/UIMA-1279 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Jerry Cwiklik Uima AS Client hangs while handling errors that occur during a deployment of synchronous aggregate. Need new testcases to test deployment of synchronous aggregate using jms service descriptor. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (UIMA-1279) UIMA AS Client Not Handling Errors When Deploying Synchronous Aggregate
[ https://issues.apache.org/jira/browse/UIMA-1279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jerry Cwiklik updated UIMA-1279: Attachment: uimaj-as-jms-UIMA-1279-patch.txt uimaj-as-core-UIMA-1279-patch.txt uimaj-as-activemq-UIMA-1279-patch.txt Added new test cases to test deployment of synchronous aggregate that uses jms service descriptor to connect to a remote service. Fixed error handling to handle deployment errors that might occur during a deployment of a synch aggregate that uses jms service descriptor. Modified jms service adapter to support additional GetMetaTimeout parameter. This is to allow an override of a default getMeta timeout in the Uima AS client which is currently set to 1 minute. UIMA AS Client Not Handling Errors When Deploying Synchronous Aggregate --- Key: UIMA-1279 URL: https://issues.apache.org/jira/browse/UIMA-1279 Project: UIMA Issue Type: Bug Components: Async Scaleout Reporter: Jerry Cwiklik Attachments: uimaj-as-activemq-UIMA-1279-patch.txt, uimaj-as-core-UIMA-1279-patch.txt, uimaj-as-jms-UIMA-1279-patch.txt Uima AS Client hangs while handling errors that occur during a deployment of synchronous aggregate. Need new testcases to test deployment of synchronous aggregate using jms service descriptor. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: Website update work
I've updated the re-do of the website, as follows: 1) moved the famous paragraph up to the top on the first page (this is actually several paragraphs...) 2) Made the new picture on the first page float to the right, with text on the left. 3) changed the left-side nav bar to follow Adam's suggestions, including adding back the home link (the other home links are still there). 4) added a quick link to the user-list-forum and dev-list-forum - so you get there in one click. I didn't update the privacy policy page - I know it talks about google analytics, but it says may - I put this in partially because it was in Jukka's version, and partially to cover ourselves if we, at some point in the future, decide to add this capability to the site. Site is in the same place on people.a.o/~schor/website-candidate Feedback appreciated :-). -Marshall
Re: Website update work
On Tue, Jan 27, 2009 at 3:32 PM, Marshall Schor m...@schor.com wrote: I've updated the re-do of the website, as follows: 1) moved the famous paragraph up to the top on the first page (this is actually several paragraphs...) 2) Made the new picture on the first page float to the right, with text on the left. 3) changed the left-side nav bar to follow Adam's suggestions, including adding back the home link (the other home links are still there). 4) added a quick link to the user-list-forum and dev-list-forum - so you get there in one click. I didn't update the privacy policy page - I know it talks about google analytics, but it says may - I put this in partially because it was in Jukka's version, and partially to cover ourselves if we, at some point in the future, decide to add this capability to the site. Site is in the same place on people.a.o/~schor/website-candidate Feedback appreciated :-). -Marshall I like it. Thanks! -Adam
[jira] Created: (UIMA-1280) Missing message key in CPM at FINEST logging
Missing message key in CPM at FINEST logging Key: UIMA-1280 URL: https://issues.apache.org/jira/browse/UIMA-1280 Project: UIMA Issue Type: Bug Components: Collection Processing Affects Versions: 2.2.2 Reporter: Burn Lewis Priority: Minor The message key UIMA_CPM_pipeline_exception__FINEST is used in org.apache.uima.collection.impl.cpm.engine.ProcessingUnit but is not in the properties file org.apache.uima.collection.impl.cpm.cpm_messages -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.