LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   HAPI - is there a reason why creating a GenericParser blocks execution? (http://www.linuxquestions.org/questions/programming-9/hapi-is-there-a-reason-why-creating-a-genericparser-blocks-execution-4175415098/)

eantoranz 07-05-2012 02:09 PM

HAPI - is there a reason why creating a GenericParser blocks execution?
 
Hi!

I'm coming back from vacations and my computer was formatted (these guys installed Win7 on it.... so lovely! I'm back into kubuntu precise).

I'm trying to set up the projects I'm working on and I'm facing a problem I didn't have before.

I'm creating a ca.uhn.hl7v2.parser.GenericParser.GenericParser and execution is blocking on the constructor. What is going on?

I can see this on catalina's output
Code:

826 [localhost-startStop-1] INFO ca.uhn.hl7v2.VersionLogger  - HAPI version is: 1.2
828 [localhost-startStop-1] DEBUG ca.uhn.hl7v2.parser.DefaultModelClassFactory  - No user-defined packages for version 2.1
828 [localhost-startStop-1] DEBUG ca.uhn.hl7v2.parser.DefaultModelClassFactory  - No user-defined packages for version 2.2
828 [localhost-startStop-1] DEBUG ca.uhn.hl7v2.parser.DefaultModelClassFactory  - No user-defined packages for version 2.3
828 [localhost-startStop-1] DEBUG ca.uhn.hl7v2.parser.DefaultModelClassFactory  - No user-defined packages for version 2.3.1
829 [localhost-startStop-1] DEBUG ca.uhn.hl7v2.parser.DefaultModelClassFactory  - No user-defined packages for version 2.4
829 [localhost-startStop-1] DEBUG ca.uhn.hl7v2.parser.DefaultModelClassFactory  - No user-defined packages for version 2.5
829 [localhost-startStop-1] DEBUG ca.uhn.hl7v2.parser.DefaultModelClassFactory  - No user-defined packages for version 2.5.1
829 [localhost-startStop-1] DEBUG ca.uhn.hl7v2.parser.DefaultModelClassFactory  - No user-defined packages for version 2.6

Is there a reason for that? Thanks in advance.

eantoranz 07-05-2012 02:29 PM

By the way, I checked with jconsole and there's no thread that appears to be there. What am I missing? There was some kind of completely-mute exception that wasn't caught and reported by tomcat that I missed? What can I try here?

eantoranz 07-05-2012 04:30 PM

Well, well... this was interesting. There was a java.lang.ClassNotFoundException being raised which wasn't being caught by try catch (Exception e), was able to catch it with Throwable though... I guess that's it.


All times are GMT -5. The time now is 08:43 AM.