You can subscribe to this list here.
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(13) |
Nov
(18) |
Dec
(5) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2008 |
Jan
(9) |
Feb
(5) |
Mar
(5) |
Apr
|
May
(1) |
Jun
(2) |
Jul
(2) |
Aug
|
Sep
(2) |
Oct
|
Nov
(3) |
Dec
(31) |
| 2009 |
Jan
(31) |
Feb
(58) |
Mar
(26) |
Apr
(16) |
May
(10) |
Jun
(13) |
Jul
(20) |
Aug
(30) |
Sep
(32) |
Oct
(48) |
Nov
(76) |
Dec
(16) |
| 2010 |
Jan
(11) |
Feb
(27) |
Mar
(14) |
Apr
(17) |
May
(6) |
Jun
(5) |
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Josh P. <jpa...@op...> - 2010-07-22 23:54:38
|
Hi, I've been meaning to post an overview of the changes I've been making to the Laika validator. These changes aren't in the master branch yet, but you can check them out in the generate-format-component-dsl branch of the opensourcery/laika repo on Github: http://github.com/opensourcery/laika/tree/generate-format-component-dsl Originally I believe the validator logic was scattered through the Laika Rails models themselves as a series of validate_c32() methods. At some point it was decided to begin separating that code into its own library. The validate_c32 methods were moved into a series of modules which were re-injected into the model classes at validation time and driven through a main lib/validation.rb library that provided an abstraction for a handle on a Validator object. So to validate a GenerateAndFormatPlan you might: test_plan = GenerateAndFormatPlan.find(1) patient = test_plan.patient document = test_plan.clinical_document.as_xml_document validator = Validation.get_validator(clinical_document.doc_type) errors = validator.validate(patient, document) Under the hood, the validator would run a series of registered validators for schema, schematron, content and umls validation. The content validator, which is the only one we're discussing atm, would call the patient#validate_c32() method, which would in turn walk all of its components (languages, medications, etc.) and call their validate_c32() methods. For an instance of Allergy this looks like (from lib/validators/c32/allergy_c32_validation.rb) def validate_c32(document) errors = [] begin section = XML::XPath.first(document,"//cda:section[cda:templateId[@root = .16.840.1.113883.10.20.1.2']]", MatchHelper::DEFAULT_NAMESPACES) ... adverse_event = REXML::XPath.first(section, xpath, tchHelper::DEFAULT_NAMESPACES, {"free_text_product" => lf.free_text_product}) if adverse_event errors << match_value(adverse_event, "cda:effectiveTime/cda:low/@value", 'start_event', self.start_event.try(:to_formatted_s, :brief) ) errors << match_value(adverse_event, "cda:effectiveTime/cda:high/@value", 'end_event', self.end_event.try(:to_formatted_s, :brief) ) ... else errors << ContentError.new(:section => 'allergies', :error_message => "Unable to find product #{free_text_product}", :location => section.try(:xpath) ) end rescue errors << ContentError.new(:section => 'Allergy', :error_message => 'Invalid, non-parsable XML for allergy data', :type=>'error', :location => document.xpath) end errors.compact end This uses REXML to find first the section, then the adverse_event element of the section. A helper method match_value() is then used to check each field. Each Laika model which validates has some variation of the above method, a block of similar but unique code that handles all of the xml identification, lookup, value comparison and ContentError generation. The main problem that this left us was that the validator code was still dependent on the model classes and vice versa. The laika models and the validation library were still pretty tightly intertwined. All of the validation methods assumed that they could walk deeply into a model to query dependent objects, and made direct use of the ContentError model to record issues, for example. This also had the potential to cause class reloading issues which we had a lot of trouble with in the beginning of the year. So when Ben began discussing upgrades to the Generate and Format test process, I started looking at ways to finish separating the validator library. One of the major requests Ben made had to do with error output for matching sections. When Laika failed to match a model section from a choice of repeating document sections, Ben and Amit wanted to be able to see the expected section values, and all of the provided sections and their values. To introduce this in the existing validator code would have required touching each validate_c32 method that matched sections and adding code to store the expected and provided values of the section on failure. Instead what I worked on was a new library which would have a general set of validation routines that could be applied to a set of descriptions mapping model elements to xml document sections. Since the hard work of studying the specifications for element requirements and xpath expressions to locate the various subsections had already been done for the most part, what I wanted to do was to extract that information in as concise a manner as possible into a declaration of component modules and their subsections and fields, which would provide the framework around which a validator could iterate. After a couple months and two main development passes, this is what I came up with. There are two new libraries: lib/component_descriptors.rb and lib/validator/c32_validator.rb The component_descriptors library does most of the work. It has a Mapping module which may be included in a specification module to provide a simple domain language for describing components, sections and fields of a particular document type. You can then request a component definition from your descriptor module (for C32 allergies say) and attach either a C32 xml document to it or a reference model with accessors or hash keys matching the fields, and the descriptor library will extract all of the described values. lib/validator/c32_descriptors.rb describes all of the currently mapped C83 components*. Here is the allergy descriptor: component :allergies, :template_id => '2.16.840.1.113883.10.20.1.2' do repeating_section :allergy => % q{cda:entry/cda:act[cda:templateId/@root='2.16.840.1.113883.10.20.1.27']/cda:entryRelationship[@typeCode='SUBJ']/cda:observation[cda:templateId/@root='2.16.840.1.113883.10.20.1.18']}, :matches_by => :free_text_product do field :free_text_product => % q{cda:participant[@typeCode='CSM']/cda:participantRole[@classCode='MANU']/cda:playingEntity[@classCode='MMAT']/cda:name/text()} field :start_event => %q{cda:effectiveTime/cda:low/@value} field :end_event => %q{cda:effectiveTime/cda:high/@value} field :product_code => % q{cda:participant[@typeCode='CSM']/cda:participantRole[@classCode='MANU']/cda:playingEntity[@classCode='MMAT']/cda:code[@codeSystem='2.16.840.1.113883.6.88']/@code} end end Each entry has a key value and an xpath expression. The key value is used to lookup a value in a reference model; the xpath expression is used to lookup an element or attribute in the xml document. So you can do things like: jpartlow@fook:~/dev/osourcery/elbe/laika$ script/console Loading development environment (Rails 2.3.5) >> descriptors = Validators::C32Descriptors.get_component(:allergies) >> allergy = Allergy.first => #<Allergy id: 1018745150, start_event: "2005-06-30", end_event: nil, adverse_event_type_id: 74884154, free_text_product: "iodine", product_code: "5933", severity_term_id: 125997487, patient_id: 353184192, allergy_status_code_id: 186579971, allergy_type_code_id: 113267946, code_system_id: 150121693> >> descriptors.model = [allergy] >> pp descriptors.to_field_hash {:free_text_product=>"iodine", :start_event=>Thu, 30 Jun 2005, :end_event=>nil, :product_code=>"5933"} You could get the same sort of field hash by attaching an xml document with a C83 Allergy component module. The c32_validator is a smaller library that handles the actual validation of a Laika Patient instance with a C32 document. For every component module of a Patient, it looks up a Descriptor from lib/validators/c32_descriptors.rb, and hands it off to a ComponentScope class with a reference to the Patient model and the C32 xml document. The ComponentScope validates the current section or field and then walks down the descriptors descendents, generating new ComponentScope wrappers for each repeating section, section or field. If any errors are found, a Laika::ValidationError is generated. This set of errors is then given back to Laika which translates them to ContentErrors and stores them in the database just as it did with the old validator. The main benefits I see are: * The new library is completely decoupled from the Rails application. All it requires is that it be given an object with accessors or a hash with keys that honor the contract of section/field keys set up in the descriptor mapping. * There is a single path through the validator for any section or field. If we need to fix something about how sections or fields are obtained or validated, the code is in one spot. * Use of an XML library like REXML is limited to a very few calls in lib/component_descriptors.rb making it very simple to upgrade to a better XML library like Nokogiri. * Additional decorators can be slipped more easily into the system. The new library, for example, has logging and can provide detailed logging output of how it is extracting data, what it is comparing and any problems it finds. * Error output is uniform. Each error condition flows through a single function producing a SectionNotFound, NoMatchingSection, ComparisonError or general ValidationError with uniform defaults and parameters. * The actual mapping between models and xml is concisely described in a descriptor mapping like c32_descriptors in what is hopefully a pretty human readable format. * We can describe other xml documents in addition to the C32; at it's heart the descriptors are just :section_key => "xpath/expression". :section_keys are the default accessor methods for a model, but may be overriden with an :accessor => :foo parameter. * Any component module can be output as a hash of {:field => 'value'}, whether from an attached model or xml document. * API docs The next step would be extending the library to handle export (for c32 this is currently a set of to_c32() methods embedded in the models) and import (provided by Shauni's importer). Then, with some work on the configuration process we can move the entire Laika/descriptor/validator/exporter/importer library into it's own repository, which Laika can simple depend on and use. This would provide an independent tool for operating on, validating and potentially transforming medical documents between any formats the library had descriptors for. It should also go a long way towards cleaning up the Laika application's loading process, helping us out with class loading and resource issues. A name for this library would be handy though; 'Laika medical document import/export/validator thingy' is a bit unwieldy. That's all I've got for now. Please let me know if you have any questions or thoughts about how to approach this. thanks, Josh * Note that not all the C32 was mapped in the original validator, and the new descriptors have translated most but not all of the old validator mappings. Support, information_source, advanced_directive and telephone numbers in general remain to be done to match the old validator. And then whatever additional mapping is desired to capture further data. |
|
From: Mrs. M. O. <aw...@on...> - 2010-07-08 01:00:08
|
Euro Millones s.l Oversea Subscriber Agent Madrid, Spain. Ref : EML/2010/799 Bat : 4/001/2301ESP You have won the Oversea Subscriber Agency(OSA) Bonanza Award of 2nd July 2010 of the Euro Millones Int. Your winning email attached to ticket 12-13-36-41-46, 5-8. won in the 2nd category. You are therefore approved to receive the sum of 1.417.999,54 Euro. Check result here: http://www.onlae.es/euroMillones/comprobar.aspx Contact your claims officer: Mr. Frank Dumbell Tel: 0034-672-528-600 Email: osa...@ao... Congratulations on your success. Regards, Mrs. Maria Ortega Coordinator |
|
From: Josh P. <jpa...@op...> - 2010-06-16 16:11:28
|
On Wed, 2010-06-16 at 09:10 -0700, Josh Partlow wrote:
> On Mon, 2010-06-14 at 15:44 -0500, Ben Uphoff wrote:
> > Hello Laika Devs,
> >
> > A vendor approached me with a problem: Laika is not finding the patient
> > address in their XML. They're getting a content inspection warning -
> > "Address Element is nil" (see attached .jpg). Here's the top part of
> > their document, through the patient address:
Hi Ben,
The address validation in the current build will only locate an address
element if the first street address line matches the first street
address line in the Laika model object being compared:
"cda:addr[cda:streetAddressLine[1]='#{self.address.street_address_line_one}']"
So either there isn't a street address line set or the spelling is
different. It may be better to do an address search for the first <addr
use="HP"> in the new validator.
-j
(Sorry for the dupe, Ben; meant to send this to the list...)
> > <?xml version="1.0" encoding="utf-8"?>
> > <?xml-stylesheet type="text/xsl" href="CCD.xsl"?>
> > <ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:hl7-org:v3">
> > <realmCode code="US" />
> > <typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040" />
> > <templateId root="2.16.840.1.113883.3.88.11.32.1" />
> > <templateId root="2.16.840.1.113883.10.20.1" />
> > <templateId root="2.16.840.1.113883.10.20.3" />
> > <templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.1" />
> > <id root="0d8789ea-6277-4e4c-89fb-c6482d3d5bbd" />
> > <code code="34133-9" codeSystem="2.16.840.1.113883.6.1"
> > displayName="Summarization of episode note" />
> > <title>Personal Physicians HealthCare Continuity of Care
> > Document</title>
> > <effectiveTime value="20100527101136-0700" />
> > <confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25" />
> > <languageCode code="en-US" />
> > <recordTarget>
> > <patientRole>
> > <id extension="GARJO001" root="2.16.840.1.113883.4.6.1982695276"
> > />
> > <addr use="HP">
> > <streetAddressLine>1600 Rockville Pike</streetAddressLine>
> > <city>Rockville</city>
> > <state>MD</state>
> > </addr>
> >
> > What would be really helpful is if someone could describe which fields
> > are sought when trying to locate an address, and what the criteria are.
> > Essentially, how does the logic work for the patient registration
> > content inspection.
> >
> > Thanks!
> >
> > Ben
> > ------------------------------------------------------------------------------
> > ThinkGeek and WIRED's GeekDad team up for the Ultimate
> > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> > lucky parental unit. See the prize list and enter to win:
> > http://p.sf.net/sfu/thinkgeek-promo
> > _______________________________________________ laika-developer mailing list lai...@li... https://lists.sourceforge.net/lists/listinfo/laika-developer
>
|
|
From: Ben U. <bu...@cc...> - 2010-06-14 20:45:23
|
Hello Laika Devs, A vendor approached me with a problem: Laika is not finding the patient address in their XML. They're getting a content inspection warning - "Address Element is nil" (see attached .jpg). Here's the top part of their document, through the patient address: <?xml version="1.0" encoding="utf-8"?> <?xml-stylesheet type="text/xsl" href="CCD.xsl"?> <ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:hl7-org:v3"> <realmCode code="US" /> <typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040" /> <templateId root="2.16.840.1.113883.3.88.11.32.1" /> <templateId root="2.16.840.1.113883.10.20.1" /> <templateId root="2.16.840.1.113883.10.20.3" /> <templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.1" /> <id root="0d8789ea-6277-4e4c-89fb-c6482d3d5bbd" /> <code code="34133-9" codeSystem="2.16.840.1.113883.6.1" displayName="Summarization of episode note" /> <title>Personal Physicians HealthCare Continuity of Care Document</title> <effectiveTime value="20100527101136-0700" /> <confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25" /> <languageCode code="en-US" /> <recordTarget> <patientRole> <id extension="GARJO001" root="2.16.840.1.113883.4.6.1982695276" /> <addr use="HP"> <streetAddressLine>1600 Rockville Pike</streetAddressLine> <city>Rockville</city> <state>MD</state> </addr> What would be really helpful is if someone could describe which fields are sought when trying to locate an address, and what the criteria are. Essentially, how does the logic work for the patient registration content inspection. Thanks! Ben |
|
From: Josh P. <jpa...@op...> - 2010-05-26 01:43:34
|
On Thu, 2010-05-20 at 17:27 -0500, Ben Uphoff wrote:
> Hello Devs,
>
> This is an interesting case: when I run this CCD through the online NIST
> validator, I get no errors, yet when I run it through Laika, Laika gives
> me an error. This is what I see in the production.log file:
>
> May 20, 2010 10:24:55 PM sun.reflect.GeneratedMethodAccessor15 invoke
> INFO:
>
> Processing TestPlansController#doc_validate (for 98.246.47.151 at
> 2010-05-20 22:24:53) [POST]
> Parameters:
> {"authenticity_token"=>"+kpeVn0WGLhvckLxiXDtcOXZKGFe+TAazwHnpoxg67A=",
> "clinical_document"=>{"doc_type"=>"C32 v2.5", "uploaded_da
> ta"=>#<File:/tmp/RackMultipart1623-24453>}, "commit"=>"Attach",
> "controller"=>"test_plans", "id"=>"20", "action"=>"doc_validate"}
> ERROR DURING VALIDATION: #<NativeException:
> net.sf.saxon.trans.XPathException: o
> rg.xml.sax.SAXParseException: Content is not allowed in prolog.>
Hi Ben,
It looks like the SAX parser is objecting the line of whitespace in the
prolog between the <?xml?> declaration and the root element.
<?xml version="1.0" encoding="utf-8"?>
<ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:hl7-org:v3">
Removing the empty line allows it be parsed. I think this is an
idiosyncrasy of the SAX parser; the prolog definition for XML seems to
allow white space.
-Josh
> net/sf/saxon/event/Sender.java:418:in `sendSAXSource'
> net/sf/saxon/event/Sender.java:214:in `send'
> net/sf/saxon/event/Sender.java:50:in `send'
> net/sf/saxon/Controller.java:1611:in `transform'
> /var/www/laika/lib/validators/schematron_validator.rb:169:in `process'
> /var/www/laika/lib/validators/schematron_validator.rb:34:in `validate'
> /var/www/laika/lib/validation.rb:56:in `validate'
> /var/www/laika/lib/validation.rb:55:in `each'
> /var/www/laika/lib/validation.rb:55:in `validate'
> /var/www/laika/app/models/generate_and_format_plan.rb:51:in
> `validate_clinical_document_content'
> /var/www/laika/app/models/generate_and_format_plan.rb:116:in
> `doc_validate'
> /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/ac
> tion_controller/base.rb:1331:in `perform_action'
> /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/ac
> tion_controller/filters.rb:617:in `call_filters'
> /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/ac
> tion_controller/filters.rb:610:in `perform_action_with_filters'
> /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/ac
> tion_controller/benchmarking.rb:68:in `perform_action_with_benchmark'
> /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib
> /active_support/core_ext/benchmark.rb:17:in `ms'
> /usr/local/jruby/lib/ruby/1.8/benchmark.rb:308:in `realtime'
> <truncated>
>
>
> Any thoughts as to what might be going on? Maybe see if you can
> replicate the error condition?
>
> Thanks,
>
> Ben
>
> -----Original Message-----
> From: Ravisanker [mailto:rav...@m2...]
> Sent: Tuesday, May 18, 2010 9:20 AM
> To: Ben Uphoff
> Subject: Laika - CheckList
>
> Hi Ben,
>
> I am using Lika for validating my CCD document, for me everything
> works great !.
> I have no warnings , no validation errors in my documents and my
> document status shows "PASS".
>
> But my issue is in the 'Checklist' , that shows me an error message ( i
> have attached the screen shot).
> I have also attached the CCD xml file that i have generated.
>
> awaiting your reply .
>
> Thanks and Regards
> Ravisanker K.M
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> laika-developer mailing list
> lai...@li...
> https://lists.sourceforge.net/lists/listinfo/laika-developer
|
|
From: Ben U. <bu...@cc...> - 2010-05-20 22:28:34
|
Hello Devs,
This is an interesting case: when I run this CCD through the online NIST
validator, I get no errors, yet when I run it through Laika, Laika gives
me an error. This is what I see in the production.log file:
May 20, 2010 10:24:55 PM sun.reflect.GeneratedMethodAccessor15 invoke
INFO:
Processing TestPlansController#doc_validate (for 98.246.47.151 at
2010-05-20 22:24:53) [POST]
Parameters:
{"authenticity_token"=>"+kpeVn0WGLhvckLxiXDtcOXZKGFe+TAazwHnpoxg67A=",
"clinical_document"=>{"doc_type"=>"C32 v2.5", "uploaded_da
ta"=>#<File:/tmp/RackMultipart1623-24453>}, "commit"=>"Attach",
"controller"=>"test_plans", "id"=>"20", "action"=>"doc_validate"}
ERROR DURING VALIDATION: #<NativeException:
net.sf.saxon.trans.XPathException: o
rg.xml.sax.SAXParseException: Content is not allowed in prolog.>
net/sf/saxon/event/Sender.java:418:in `sendSAXSource'
net/sf/saxon/event/Sender.java:214:in `send'
net/sf/saxon/event/Sender.java:50:in `send'
net/sf/saxon/Controller.java:1611:in `transform'
/var/www/laika/lib/validators/schematron_validator.rb:169:in `process'
/var/www/laika/lib/validators/schematron_validator.rb:34:in `validate'
/var/www/laika/lib/validation.rb:56:in `validate'
/var/www/laika/lib/validation.rb:55:in `each'
/var/www/laika/lib/validation.rb:55:in `validate'
/var/www/laika/app/models/generate_and_format_plan.rb:51:in
`validate_clinical_document_content'
/var/www/laika/app/models/generate_and_format_plan.rb:116:in
`doc_validate'
/usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/ac
tion_controller/base.rb:1331:in `perform_action'
/usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/ac
tion_controller/filters.rb:617:in `call_filters'
/usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/ac
tion_controller/filters.rb:610:in `perform_action_with_filters'
/usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/ac
tion_controller/benchmarking.rb:68:in `perform_action_with_benchmark'
/usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib
/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/local/jruby/lib/ruby/1.8/benchmark.rb:308:in `realtime'
<truncated>
Any thoughts as to what might be going on? Maybe see if you can
replicate the error condition?
Thanks,
Ben
-----Original Message-----
From: Ravisanker [mailto:rav...@m2...]
Sent: Tuesday, May 18, 2010 9:20 AM
To: Ben Uphoff
Subject: Laika - CheckList
Hi Ben,
I am using Lika for validating my CCD document, for me everything
works great !.
I have no warnings , no validation errors in my documents and my
document status shows "PASS".
But my issue is in the 'Checklist' , that shows me an error message ( i
have attached the screen shot).
I have also attached the CCD xml file that i have generated.
awaiting your reply .
Thanks and Regards
Ravisanker K.M
--
*With Regards,
* M-Squared Logo
M2 Software Developments & Exports (P) Ltd.
M-Squared Building, Techno park Campus
Thiruvananthapuram - 695 581
Mob:*+91-*
------------------------------------------------------------------------
This communication including any attachments, may contain confidential
information and is intended only for the individual or entity to whom it
is addressed. Any review, dissemination, or copying of this
communication by anyone other than the intended recipient is strictly
prohibited. If you are not the intended recipient, please contact the
sender via email, delete and destroy all copies of the original message.
|
|
From: Ben U. <bu...@cc...> - 2010-05-07 23:21:01
|
Hi Josh, Honestly, I haven't revisited the advanced interop components since we put those programs on hold. I understand your point about a more black/white failure situation should there have been a schema change - makes sense. Forgot to attach the logs - here they are. Thanks, and have a great weekend! Ben -----Original Message----- From: Josh Partlow [mailto:jpa...@op...] Sent: Friday, May 07, 2010 2:12 PM To: Laika-dev Subject: Re: [Laika-developer] [Laika-talk] Resource problem? Hi Ben, There could certainly be problems between Laika and PIX PDQ caused by development drift in Laika. I don't have a local setup of PIX/PDQ so I don't run any tests against it. Have you had any issues with PIX/PDQ in the full production instance that you roll? If it was the schema, this would probably result in a more direct error than too many connections. There's mention of log files attached, but they didn't seem to make it to the dev list - do you have those available somewhere? thanks, Josh On Thu, 2010-05-06 at 19:04 -0500, Ben Uphoff wrote: > Hi Elliott, > > > > Nice sleuth work - I suspect the overarching reason that the Laika > instance is becoming unstable has to do with ongoing revisions to > Laika getting out-of-sync with the PIX/PDQ adapter. The PIX/PDQ > adapter for Laika (http://github.com/citiustech/laika-pixpdq-adapter ) > was developed on top of the Open Health Tools project > (https://openpixpdq.projects.openhealthtools.org/), and, when > installed on the same instance as a Laika implementation, communicates > directly with the Laika database. There are two issues leading to a > "disconnect": > > > > 1. CCHIT has suspended work towards the Advanced Interoperability > add-on certification until there is further clarity from the Federal > government and other standards organizations around the requirements > for transport-level ("Advanced") interoperability. > > 2. The Laika PIX/PDQ adapter connects directly to Laika, thus changes > to Laika may break the adapter connection to the underlying schema. > > > > When we resume work towards the transport-level interoperability > components, we'll likely re-factor the various pieces to use a Laika > API, such that automated testing may be done at each step in the > development process to identify dependencies (we actually identified > this need a while back: > http://github.com/CCHIT/laika/issues/#issue/81). > > > > I'd like to get the developers to chime in here: Laika devs - does > what I've described above sound like a reasonable explanation for the > symptoms Elliott is experiencing? > > > > If this is the case, unless there's an easily identified problem and > quick fix, I'm afraid the resolution of this issue may get lower > priority compared to some of the more pressing issues around the > current certification programs. > > > > We really appreciate your bringing this to our attention, Elliott - > thanks for putting Laika through its paces! Let's see what the > developers have to say... > > > > Thanks, > > > > Ben > > > > From: Lavy, Elliott [mailto:EL...@Qu...] > Sent: Thursday, May 06, 2010 2:54 PM > To: Ben Uphoff; lai...@li... > Subject: RE: [Laika-talk] Resource problem? > > > > > More information… > > I examined the output from netstat, and I've got 75 loopback > connections to the "mysql" service in CLOSE_WAIT status + 12 in > ESTABLISHED status. Every time I run a PIX Query, I get one more > ESTABLISHED one. Some (but not all) seem to go away eventually. > Those that don't seem to convert to CLOSE_WAIT. Perhaps this is the > resource I exhausted. > > > > From: Lavy, Elliott > Sent: Wednesday, May 05, 2010 11:35 AM > To: 'Ben Uphoff'; 'lai...@li...' > Subject: RE: [Laika-talk] Resource problem? > > > > > Found the following in /var/logs/syslog.1.gz: > > May 3 17:36:11 app1-laika dhclient: DHCPREQUEST of 10.208.243.239 on > eth0 to 169.254.1.0 port 67 > > May 3 17:36:11 app1-laika dhclient: DHCPACK of 10.208.243.239 from > 10.208.240.180 > > May 3 17:36:11 app1-laika dhclient: bound to 10.208.243.239 -- > renewal in 33050 seconds. > > (The timing is good, but similar entries show up at other times, too, > so I’m guessing that’s not the problem.) > > > > I’m also attaching extracts from > /usr/local/apache2/logs/apache_err_laika.log and > /usr/local/laika/pixpdq_server/pixpdq.log. The reference in the > latter to “too many connections’ seems useful. > > > > Thanks. > > > > Elliott > > > > From: Lavy, Elliott > Sent: Wednesday, May 05, 2010 9:40 AM > To: 'Ben Uphoff'; lai...@li... > Subject: RE: [Laika-talk] Resource problem? > > > > > The log file is attached. We got a successful reply to a PIX query on > 5/3 at 17:36 UTC, and we first noticed problems on at 17:40. The AMI > was rebooted at 18:05. I see an error in the file at 18:05, but my > guess is that I was trying to reference things before the whole boot > process was completed. > > > > From: Ben Uphoff [mailto:bu...@cc...] > Sent: Tuesday, May 04, 2010 6:15 PM > To: Lavy, Elliott; lai...@li... > Subject: Re: [Laika-talk] Resource problem? > > > > > Hi Elliott, > > > > I think the most helpful thing would be the Laika log file, either > development.log or production.log (I'm guessing the latter if you're > just running the unaltered AMI). This will be > at /var/www/laika/log/production.log > > > > I've not seen that specific pattern of errors, yet, but we'd like to > get to the bottom of it. > > > > Thanks, and regards, > > > > > > Ben Uphoff > > Certification Technology Engineer, CCHIT > > Certification Commission for Health Information Technology > > 503.372.5514 office > > bu...@cc... > > > > Learn about Getting Certified > > > > From: Lavy, Elliott [mailto:EL...@Qu...] > Sent: Monday, May 03, 2010 12:50 PM > To: lai...@li... > Subject: [Laika-talk] Resource problem? > > > > > I’ve been running a Laika05 instance for a while now, and today I > started getting errors where none were appearing before. In > particular, I got back “Application Internal Error” messages from PIX > Queries, and attempts to access the Laika login page gave an > “unrecoverable error” screen. I rebooted the instance, and all is > well for now, but I suspect that this is going to come back. Is this > a known problem? If not, what can I look for the next time to help > diagnose the problem? > > Thanks. > > Elliott > > > ------------------------------------------------------------------------------ > > _______________________________________________ > laika-developer mailing list > lai...@li... > https://lists.sourceforge.net/lists/listinfo/laika-developer ------------------------------------------------------------------------------ _______________________________________________ laika-developer mailing list lai...@li... https://lists.sourceforge.net/lists/listinfo/laika-developer |
|
From: Josh P. <jpa...@op...> - 2010-05-07 21:12:41
|
Hi Ben, There could certainly be problems between Laika and PIX PDQ caused by development drift in Laika. I don't have a local setup of PIX/PDQ so I don't run any tests against it. Have you had any issues with PIX/PDQ in the full production instance that you roll? If it was the schema, this would probably result in a more direct error than too many connections. There's mention of log files attached, but they didn't seem to make it to the dev list - do you have those available somewhere? thanks, Josh On Thu, 2010-05-06 at 19:04 -0500, Ben Uphoff wrote: > Hi Elliott, > > > > Nice sleuth work - I suspect the overarching reason that the Laika > instance is becoming unstable has to do with ongoing revisions to > Laika getting out-of-sync with the PIX/PDQ adapter. The PIX/PDQ > adapter for Laika (http://github.com/citiustech/laika-pixpdq-adapter ) > was developed on top of the Open Health Tools project > (https://openpixpdq.projects.openhealthtools.org/), and, when > installed on the same instance as a Laika implementation, communicates > directly with the Laika database. There are two issues leading to a > "disconnect": > > > > 1. CCHIT has suspended work towards the Advanced Interoperability > add-on certification until there is further clarity from the Federal > government and other standards organizations around the requirements > for transport-level ("Advanced") interoperability. > > 2. The Laika PIX/PDQ adapter connects directly to Laika, thus changes > to Laika may break the adapter connection to the underlying schema. > > > > When we resume work towards the transport-level interoperability > components, we'll likely re-factor the various pieces to use a Laika > API, such that automated testing may be done at each step in the > development process to identify dependencies (we actually identified > this need a while back: > http://github.com/CCHIT/laika/issues/#issue/81). > > > > I'd like to get the developers to chime in here: Laika devs - does > what I've described above sound like a reasonable explanation for the > symptoms Elliott is experiencing? > > > > If this is the case, unless there's an easily identified problem and > quick fix, I'm afraid the resolution of this issue may get lower > priority compared to some of the more pressing issues around the > current certification programs. > > > > We really appreciate your bringing this to our attention, Elliott - > thanks for putting Laika through its paces! Let's see what the > developers have to say... > > > > Thanks, > > > > Ben > > > > From: Lavy, Elliott [mailto:EL...@Qu...] > Sent: Thursday, May 06, 2010 2:54 PM > To: Ben Uphoff; lai...@li... > Subject: RE: [Laika-talk] Resource problem? > > > > > More information… > > I examined the output from netstat, and I've got 75 loopback > connections to the "mysql" service in CLOSE_WAIT status + 12 in > ESTABLISHED status. Every time I run a PIX Query, I get one more > ESTABLISHED one. Some (but not all) seem to go away eventually. > Those that don't seem to convert to CLOSE_WAIT. Perhaps this is the > resource I exhausted. > > > > From: Lavy, Elliott > Sent: Wednesday, May 05, 2010 11:35 AM > To: 'Ben Uphoff'; 'lai...@li...' > Subject: RE: [Laika-talk] Resource problem? > > > > > Found the following in /var/logs/syslog.1.gz: > > May 3 17:36:11 app1-laika dhclient: DHCPREQUEST of 10.208.243.239 on > eth0 to 169.254.1.0 port 67 > > May 3 17:36:11 app1-laika dhclient: DHCPACK of 10.208.243.239 from > 10.208.240.180 > > May 3 17:36:11 app1-laika dhclient: bound to 10.208.243.239 -- > renewal in 33050 seconds. > > (The timing is good, but similar entries show up at other times, too, > so I’m guessing that’s not the problem.) > > > > I’m also attaching extracts from > /usr/local/apache2/logs/apache_err_laika.log and > /usr/local/laika/pixpdq_server/pixpdq.log. The reference in the > latter to “too many connections’ seems useful. > > > > Thanks. > > > > Elliott > > > > From: Lavy, Elliott > Sent: Wednesday, May 05, 2010 9:40 AM > To: 'Ben Uphoff'; lai...@li... > Subject: RE: [Laika-talk] Resource problem? > > > > > The log file is attached. We got a successful reply to a PIX query on > 5/3 at 17:36 UTC, and we first noticed problems on at 17:40. The AMI > was rebooted at 18:05. I see an error in the file at 18:05, but my > guess is that I was trying to reference things before the whole boot > process was completed. > > > > From: Ben Uphoff [mailto:bu...@cc...] > Sent: Tuesday, May 04, 2010 6:15 PM > To: Lavy, Elliott; lai...@li... > Subject: Re: [Laika-talk] Resource problem? > > > > > Hi Elliott, > > > > I think the most helpful thing would be the Laika log file, either > development.log or production.log (I'm guessing the latter if you're > just running the unaltered AMI). This will be > at /var/www/laika/log/production.log > > > > I've not seen that specific pattern of errors, yet, but we'd like to > get to the bottom of it. > > > > Thanks, and regards, > > > > > > Ben Uphoff > > Certification Technology Engineer, CCHIT > > Certification Commission for Health Information Technology > > 503.372.5514 office > > bu...@cc... > > > > Learn about Getting Certified > > > > From: Lavy, Elliott [mailto:EL...@Qu...] > Sent: Monday, May 03, 2010 12:50 PM > To: lai...@li... > Subject: [Laika-talk] Resource problem? > > > > > I’ve been running a Laika05 instance for a while now, and today I > started getting errors where none were appearing before. In > particular, I got back “Application Internal Error” messages from PIX > Queries, and attempts to access the Laika login page gave an > “unrecoverable error” screen. I rebooted the instance, and all is > well for now, but I suspect that this is going to come back. Is this > a known problem? If not, what can I look for the next time to help > diagnose the problem? > > Thanks. > > Elliott > > > ------------------------------------------------------------------------------ > > _______________________________________________ > laika-developer mailing list > lai...@li... > https://lists.sourceforge.net/lists/listinfo/laika-developer |
|
From: Ben U. <bu...@cc...> - 2010-05-07 00:04:28
|
Hi Elliott, Nice sleuth work - I suspect the overarching reason that the Laika instance is becoming unstable has to do with ongoing revisions to Laika getting out-of-sync with the PIX/PDQ adapter. The PIX/PDQ adapter for Laika (http://github.com/citiustech/laika-pixpdq-adapter ) was developed on top of the Open Health Tools project (https://openpixpdq.projects.openhealthtools.org/), and, when installed on the same instance as a Laika implementation, communicates directly with the Laika database. There are two issues leading to a "disconnect": 1. CCHIT has suspended work towards the Advanced Interoperability add-on certification until there is further clarity from the Federal government and other standards organizations around the requirements for transport-level ("Advanced") interoperability. 2. The Laika PIX/PDQ adapter connects directly to Laika, thus changes to Laika may break the adapter connection to the underlying schema. When we resume work towards the transport-level interoperability components, we'll likely re-factor the various pieces to use a Laika API, such that automated testing may be done at each step in the development process to identify dependencies (we actually identified this need a while back: http://github.com/CCHIT/laika/issues/#issue/81). I'd like to get the developers to chime in here: Laika devs - does what I've described above sound like a reasonable explanation for the symptoms Elliott is experiencing? If this is the case, unless there's an easily identified problem and quick fix, I'm afraid the resolution of this issue may get lower priority compared to some of the more pressing issues around the current certification programs. We really appreciate your bringing this to our attention, Elliott - thanks for putting Laika through its paces! Let's see what the developers have to say... Thanks, Ben From: Lavy, Elliott [mailto:EL...@Qu...] Sent: Thursday, May 06, 2010 2:54 PM To: Ben Uphoff; lai...@li... Subject: RE: [Laika-talk] Resource problem? More information... I examined the output from netstat, and I've got 75 loopback connections to the "mysql" service in CLOSE_WAIT status + 12 in ESTABLISHED status. Every time I run a PIX Query, I get one more ESTABLISHED one. Some (but not all) seem to go away eventually. Those that don't seem to convert to CLOSE_WAIT. Perhaps this is the resource I exhausted. From: Lavy, Elliott Sent: Wednesday, May 05, 2010 11:35 AM To: 'Ben Uphoff'; 'lai...@li...' Subject: RE: [Laika-talk] Resource problem? Found the following in /var/logs/syslog.1.gz: May 3 17:36:11 app1-laika dhclient: DHCPREQUEST of 10.208.243.239 on eth0 to 169.254.1.0 port 67 May 3 17:36:11 app1-laika dhclient: DHCPACK of 10.208.243.239 from 10.208.240.180 May 3 17:36:11 app1-laika dhclient: bound to 10.208.243.239 -- renewal in 33050 seconds. (The timing is good, but similar entries show up at other times, too, so I'm guessing that's not the problem.) I'm also attaching extracts from /usr/local/apache2/logs/apache_err_laika.log and /usr/local/laika/pixpdq_server/pixpdq.log. The reference in the latter to "too many connections' seems useful. Thanks. Elliott From: Lavy, Elliott Sent: Wednesday, May 05, 2010 9:40 AM To: 'Ben Uphoff'; lai...@li... Subject: RE: [Laika-talk] Resource problem? The log file is attached. We got a successful reply to a PIX query on 5/3 at 17:36 UTC, and we first noticed problems on at 17:40. The AMI was rebooted at 18:05. I see an error in the file at 18:05, but my guess is that I was trying to reference things before the whole boot process was completed. From: Ben Uphoff [mailto:bu...@cc...] Sent: Tuesday, May 04, 2010 6:15 PM To: Lavy, Elliott; lai...@li... Subject: Re: [Laika-talk] Resource problem? Hi Elliott, I think the most helpful thing would be the Laika log file, either development.log or production.log (I'm guessing the latter if you're just running the unaltered AMI). This will be at /var/www/laika/log/production.log I've not seen that specific pattern of errors, yet, but we'd like to get to the bottom of it. Thanks, and regards, Ben Uphoff Certification Technology Engineer, CCHIT Certification Commission for Health Information Technology 503.372.5514 office bu...@cc... <mailto:bu...@cc...> Learn about Getting Certified <http://www.cchit.org/about/education/shop> From: Lavy, Elliott [mailto:EL...@Qu...] Sent: Monday, May 03, 2010 12:50 PM To: lai...@li... Subject: [Laika-talk] Resource problem? I've been running a Laika05 instance for a while now, and today I started getting errors where none were appearing before. In particular, I got back "Application Internal Error" messages from PIX Queries, and attempts to access the Laika login page gave an "unrecoverable error" screen. I rebooted the instance, and all is well for now, but I suspect that this is going to come back. Is this a known problem? If not, what can I look for the next time to help diagnose the problem? Thanks. Elliott |
|
From: Ben U. <bu...@cc...> - 2010-04-29 00:14:00
|
And a *very* large portion of that work comes from Josh Partlow - thanks Josh! Ben -----Original Message----- From: Josh Partlow [mailto:jpa...@op...] Sent: Wednesday, April 28, 2010 5:08 PM To: Laika-dev Subject: [Laika-developer] Laika v1.4.2 released Laika v1.4.2 was released today. From the changelog: * Fixed: manual override pass/fail state for pending tests in dashboard. GH-157 * Marking the import feature as experimental. GH-164 * Beta inclusion of Stephen Waldren's Validator Service for CCR validation. * Beta CCR schema validation. * Beta C32 importer functionality. * Laika updated to Rails 2.3.5 * Fixed: Updated C32 medication section for v2.5 display and file and generate and format tests. GH-160, GH-161, GH-131 * Production seed fixutres allow override of test fixture data for new production dbs. * Many updates to INSTALL.rdoc * Removed validator initialization for C32 v2.4 and C62. GH-123 * Supports limited selenium testing. * Fixed: Out of memory issues related to validation. GH-130 * Fixed: Refactored Support, AbstructResult and the validation library to pull up MatchHelper out of the models. GH-105 * Fixed: Allows C32 validation to proceed with warnings if UMLS has not been configured or is inaccessible. GH-124, GH-125 * Fixed: Namespaces in the CCD Stylesheet so that it's reports will be handled properly. GH-129 * Fixed: Id reference in javascript used to reset the result/vital-signs divs after creation. GH-71 * Fixed: Nil checking for when condition xml does not exist. GH-119 * Fixed: Bundling breaks scriptaculous loading other files. GH-100 * Added person_name_fields to supports edit form. GH-117 * Exception notification. GH-43 * Bundling some of the javascript and css styles to help with initial load times. GH-88 thanks, Josh ------------------------------------------------------------------------ ------ _______________________________________________ laika-developer mailing list lai...@li... https://lists.sourceforge.net/lists/listinfo/laika-developer |
|
From: Josh P. <jpa...@op...> - 2010-04-29 00:08:00
|
Laika v1.4.2 was released today. From the changelog: * Fixed: manual override pass/fail state for pending tests in dashboard. GH-157 * Marking the import feature as experimental. GH-164 * Beta inclusion of Stephen Waldren's Validator Service for CCR validation. * Beta CCR schema validation. * Beta C32 importer functionality. * Laika updated to Rails 2.3.5 * Fixed: Updated C32 medication section for v2.5 display and file and generate and format tests. GH-160, GH-161, GH-131 * Production seed fixutres allow override of test fixture data for new production dbs. * Many updates to INSTALL.rdoc * Removed validator initialization for C32 v2.4 and C62. GH-123 * Supports limited selenium testing. * Fixed: Out of memory issues related to validation. GH-130 * Fixed: Refactored Support, AbstructResult and the validation library to pull up MatchHelper out of the models. GH-105 * Fixed: Allows C32 validation to proceed with warnings if UMLS has not been configured or is inaccessible. GH-124, GH-125 * Fixed: Namespaces in the CCD Stylesheet so that it's reports will be handled properly. GH-129 * Fixed: Id reference in javascript used to reset the result/vital-signs divs after creation. GH-71 * Fixed: Nil checking for when condition xml does not exist. GH-119 * Fixed: Bundling breaks scriptaculous loading other files. GH-100 * Added person_name_fields to supports edit form. GH-117 * Exception notification. GH-43 * Bundling some of the javascript and css styles to help with initial load times. GH-88 thanks, Josh |
|
From: Josh P. <jpa...@op...> - 2010-04-27 21:47:34
|
On Tue, 2010-04-27 at 16:22 -0500, Ben Uphoff wrote: > Hi Josh, > > That did it - oops. I'd not updated my call to deal with the classpaths > > Next issue: I'm getting the "Too many open files" error. I guess this is > my opportunity to switch over to Mongrel at last...I'll let you know how > that goes. Even using glassfish 0.9.5? I found that I was only getting 'Too many open files' from glassfish 1.0+ -j > Thanks! > > Ben > > -----Original Message----- > From: Josh Partlow [mailto:jpa...@op...] > Sent: Tuesday, April 27, 2010 12:20 PM > To: Ben Uphoff > Cc: Laika-dev > Subject: RE: CCHIT master updated for ccr > > On Mon, 2010-04-26 at 11:53 -0500, Ben Uphoff wrote: > > Hi Josh, > > > > I'm getting an error trying to run the seed task (db:migrate > succeeded, as I ran that prior to putting the CCR validator stuff in > place). Here's the --trace from the rake command: > > Hi Ben, > > Have you run > > source bin/laika_env.sh > > first? > > Your local classpath should show (with a different root path...): > > jpartlow@fook:~/dev/osourcery/elbe/laika$ export | grep CLASSPATH > declare -x > CLASSPATH="/home/jpartlow/dev/osourcery/elbe/laika/lib/saxon/saxon9.jar: > /home/jpartlow/dev/osourcery/elbe/laika/lib/saxon/saxon9-dom.jar:/home/j > partlow/dev/osourcery/elbe/laika/vendor/ccr-validation-service/WEB-INF/l > ib/*:/home/jpartlow/dev/osourcery/elbe/laika/vendor/ccr-validation-servi > ce/WEB-INF/classes" > > -j > > > root@domU-12-31-39-05-21-C4:/var/www/laika# jruby -S rake db:seed > --trace > > (in /var/www/laika) > > ** Invoke db:seed (first_time) > > ** Invoke environment (first_time) > > ** Execute environment > > rake aborted! > > cannot load Java class org.openhealthdata.validator.ValidationManager > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ac > tive_support/core_ext/module/introspection.rb:70:in > `get_proxy_or_package_under_package' > > > /usr/local/jruby/lib/ruby/site_ruby/shared/builtin/javasupport/java.rb:5 > 1:in `method_missing' > > /var/www/laika/lib/validators/ccr/waldren_rules_validator.rb:2 > > /var/www/laika/lib/validators/ccr/waldren_rules_validator.rb:31:in > `require' > > > /usr/local/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ac > tive_support/dependencies.rb:156:in `require' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ac > tive_support/dependencies.rb:521:in `new_constants_in' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ac > tive_support/dependencies.rb:156:in `require' > > /var/www/laika/config/initializers/laika_validation.rb:160 > > /var/www/laika/config/initializers/laika_validation.rb:145:in `load' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ac > tive_support/dependencies.rb:145:in `load_with_new_constant_marking' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ac > tive_support/dependencies.rb:521:in `new_constants_in' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ac > tive_support/dependencies.rb:145:in `load_with_new_constant_marking' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initialize > r.rb:622:in `load_application_initializers' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initialize > r.rb:621:in `each' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initialize > r.rb:621:in `load_application_initializers' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initialize > r.rb:176:in `process' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initialize > r.rb:113:in `run' > > /var/www/laika/config/environment.rb:25 > > /var/www/laika/config/environment.rb:31:in `require' > > > /usr/local/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ac > tive_support/dependencies.rb:156:in `require' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ac > tive_support/dependencies.rb:521:in `new_constants_in' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ac > tive_support/dependencies.rb:156:in `require' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/tasks/misc > .rake:4 > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636 > :in `call' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636 > :in `execute' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631 > :in `each' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631 > :in `execute' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597 > :in `invoke_with_call_chain' > > /usr/local/jruby/lib/ruby/1.8/monitor.rb:242:in `mon_synchronize' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590 > :in `invoke_with_call_chain' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607 > :in `invoke_prerequisites' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604 > :in `each' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604 > :in `invoke_prerequisites' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596 > :in `invoke_with_call_chain' > > /usr/local/jruby/lib/ruby/1.8/monitor.rb:242:in `mon_synchronize' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590 > :in `invoke_with_call_chain' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583 > :in `invoke' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:205 > 1:in `invoke_task' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:202 > 9:in `top_level' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:202 > 9:in `each' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:202 > 9:in `top_level' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:206 > 8:in `standard_exception_handling' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:202 > 3:in `top_level' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:200 > 1:in `run' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:206 > 8:in `standard_exception_handling' > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:199 > 8:in `run' > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 > > > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:19:in > `load' > > /usr/local/jruby/bin/rake:19 > > > > Here's where I have the CCR*.xsd files: > > > > root@domU-12-31-39-05-21-C4:/var/www/laika# find / -name CCR*.xsd > > /var/www/laika/resources/schemas/infrastructure/ccr/CCR.xsd > > > /var/www/laika/vendor/ccr-validation-service/WEB-INF/classes/org/openhea > lthdata/validation/CCRV1.xsd > > > /var/www/laika/vendor/ccr-validation-service/WEB-INF/classes/org/openhea > lthdata/validation/CCR.xsd > > > > (note - wasn't sure if CCR.xsd and CCRV1.xsd were required; in this > case, they're the same file) > > > > Any idea what might be wrong? > > > > Thanks, > > > > Ben > > > > -----Original Message----- > > From: Josh Partlow [mailto:jpa...@op...] > > Sent: Thursday, April 22, 2010 9:58 AM > > To: Ben Uphoff > > Cc: Alex Kroman > > Subject: CCHIT master updated for ccr > > > > Hi Ben, > > > > I've updated CCHIT/master with the latest from the opensourcery fork. > > This has the ccr-validator and a few additional fixes you'd requested. > > This is a release candidate for 1.4.2, so I would fire it up and test > it > > out. > > > > Setup for ccr-validator is fairly straight forward now. Instructions > > are in the INSTALL.rdoc. Let me know if you have any questions. > > > > thanks, > > Josh > > > |
|
From: Ben U. <bu...@cc...> - 2010-04-27 21:35:32
|
Hi Josh, That did it - oops. I'd not updated my call to deal with the classpaths Next issue: I'm getting the "Too many open files" error. I guess this is my opportunity to switch over to Mongrel at last...I'll let you know how that goes. Thanks! Ben -----Original Message----- From: Josh Partlow [mailto:jpa...@op...] Sent: Tuesday, April 27, 2010 12:20 PM To: Ben Uphoff Cc: Laika-dev Subject: RE: CCHIT master updated for ccr On Mon, 2010-04-26 at 11:53 -0500, Ben Uphoff wrote: > Hi Josh, > > I'm getting an error trying to run the seed task (db:migrate succeeded, as I ran that prior to putting the CCR validator stuff in place). Here's the --trace from the rake command: Hi Ben, Have you run source bin/laika_env.sh first? Your local classpath should show (with a different root path...): jpartlow@fook:~/dev/osourcery/elbe/laika$ export | grep CLASSPATH declare -x CLASSPATH="/home/jpartlow/dev/osourcery/elbe/laika/lib/saxon/saxon9.jar: /home/jpartlow/dev/osourcery/elbe/laika/lib/saxon/saxon9-dom.jar:/home/j partlow/dev/osourcery/elbe/laika/vendor/ccr-validation-service/WEB-INF/l ib/*:/home/jpartlow/dev/osourcery/elbe/laika/vendor/ccr-validation-servi ce/WEB-INF/classes" -j > root@domU-12-31-39-05-21-C4:/var/www/laika# jruby -S rake db:seed --trace > (in /var/www/laika) > ** Invoke db:seed (first_time) > ** Invoke environment (first_time) > ** Execute environment > rake aborted! > cannot load Java class org.openhealthdata.validator.ValidationManager > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ac tive_support/core_ext/module/introspection.rb:70:in `get_proxy_or_package_under_package' > /usr/local/jruby/lib/ruby/site_ruby/shared/builtin/javasupport/java.rb:5 1:in `method_missing' > /var/www/laika/lib/validators/ccr/waldren_rules_validator.rb:2 > /var/www/laika/lib/validators/ccr/waldren_rules_validator.rb:31:in `require' > /usr/local/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ac tive_support/dependencies.rb:156:in `require' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ac tive_support/dependencies.rb:521:in `new_constants_in' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ac tive_support/dependencies.rb:156:in `require' > /var/www/laika/config/initializers/laika_validation.rb:160 > /var/www/laika/config/initializers/laika_validation.rb:145:in `load' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ac tive_support/dependencies.rb:145:in `load_with_new_constant_marking' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ac tive_support/dependencies.rb:521:in `new_constants_in' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ac tive_support/dependencies.rb:145:in `load_with_new_constant_marking' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initialize r.rb:622:in `load_application_initializers' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initialize r.rb:621:in `each' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initialize r.rb:621:in `load_application_initializers' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initialize r.rb:176:in `process' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initialize r.rb:113:in `run' > /var/www/laika/config/environment.rb:25 > /var/www/laika/config/environment.rb:31:in `require' > /usr/local/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ac tive_support/dependencies.rb:156:in `require' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ac tive_support/dependencies.rb:521:in `new_constants_in' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ac tive_support/dependencies.rb:156:in `require' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/tasks/misc .rake:4 > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636 :in `call' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636 :in `execute' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631 :in `each' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631 :in `execute' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597 :in `invoke_with_call_chain' > /usr/local/jruby/lib/ruby/1.8/monitor.rb:242:in `mon_synchronize' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590 :in `invoke_with_call_chain' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607 :in `invoke_prerequisites' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604 :in `each' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604 :in `invoke_prerequisites' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596 :in `invoke_with_call_chain' > /usr/local/jruby/lib/ruby/1.8/monitor.rb:242:in `mon_synchronize' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590 :in `invoke_with_call_chain' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583 :in `invoke' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:205 1:in `invoke_task' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:202 9:in `top_level' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:202 9:in `each' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:202 9:in `top_level' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:206 8:in `standard_exception_handling' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:202 3:in `top_level' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:200 1:in `run' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:206 8:in `standard_exception_handling' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:199 8:in `run' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:19:in `load' > /usr/local/jruby/bin/rake:19 > > Here's where I have the CCR*.xsd files: > > root@domU-12-31-39-05-21-C4:/var/www/laika# find / -name CCR*.xsd > /var/www/laika/resources/schemas/infrastructure/ccr/CCR.xsd > /var/www/laika/vendor/ccr-validation-service/WEB-INF/classes/org/openhea lthdata/validation/CCRV1.xsd > /var/www/laika/vendor/ccr-validation-service/WEB-INF/classes/org/openhea lthdata/validation/CCR.xsd > > (note - wasn't sure if CCR.xsd and CCRV1.xsd were required; in this case, they're the same file) > > Any idea what might be wrong? > > Thanks, > > Ben > > -----Original Message----- > From: Josh Partlow [mailto:jpa...@op...] > Sent: Thursday, April 22, 2010 9:58 AM > To: Ben Uphoff > Cc: Alex Kroman > Subject: CCHIT master updated for ccr > > Hi Ben, > > I've updated CCHIT/master with the latest from the opensourcery fork. > This has the ccr-validator and a few additional fixes you'd requested. > This is a release candidate for 1.4.2, so I would fire it up and test it > out. > > Setup for ccr-validator is fairly straight forward now. Instructions > are in the INSTALL.rdoc. Let me know if you have any questions. > > thanks, > Josh > |
|
From: Josh P. <jpa...@op...> - 2010-04-27 19:20:44
|
On Mon, 2010-04-26 at 11:53 -0500, Ben Uphoff wrote: > Hi Josh, > > I'm getting an error trying to run the seed task (db:migrate succeeded, as I ran that prior to putting the CCR validator stuff in place). Here's the --trace from the rake command: Hi Ben, Have you run source bin/laika_env.sh first? Your local classpath should show (with a different root path...): jpartlow@fook:~/dev/osourcery/elbe/laika$ export | grep CLASSPATH declare -x CLASSPATH="/home/jpartlow/dev/osourcery/elbe/laika/lib/saxon/saxon9.jar:/home/jpartlow/dev/osourcery/elbe/laika/lib/saxon/saxon9-dom.jar:/home/jpartlow/dev/osourcery/elbe/laika/vendor/ccr-validation-service/WEB-INF/lib/*:/home/jpartlow/dev/osourcery/elbe/laika/vendor/ccr-validation-service/WEB-INF/classes" -j > root@domU-12-31-39-05-21-C4:/var/www/laika# jruby -S rake db:seed --trace > (in /var/www/laika) > ** Invoke db:seed (first_time) > ** Invoke environment (first_time) > ** Execute environment > rake aborted! > cannot load Java class org.openhealthdata.validator.ValidationManager > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/module/introspection.rb:70:in `get_proxy_or_package_under_package' > /usr/local/jruby/lib/ruby/site_ruby/shared/builtin/javasupport/java.rb:51:in `method_missing' > /var/www/laika/lib/validators/ccr/waldren_rules_validator.rb:2 > /var/www/laika/lib/validators/ccr/waldren_rules_validator.rb:31:in `require' > /usr/local/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require' > /var/www/laika/config/initializers/laika_validation.rb:160 > /var/www/laika/config/initializers/laika_validation.rb:145:in `load' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in `load_with_new_constant_marking' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in `load_with_new_constant_marking' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:622:in `load_application_initializers' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:621:in `each' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:621:in `load_application_initializers' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:176:in `process' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:113:in `run' > /var/www/laika/config/environment.rb:25 > /var/www/laika/config/environment.rb:31:in `require' > /usr/local/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/tasks/misc.rake:4 > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain' > /usr/local/jruby/lib/ruby/1.8/monitor.rb:242:in `mon_synchronize' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain' > /usr/local/jruby/lib/ruby/1.8/monitor.rb:242:in `mon_synchronize' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run' > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 > /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:19:in `load' > /usr/local/jruby/bin/rake:19 > > Here's where I have the CCR*.xsd files: > > root@domU-12-31-39-05-21-C4:/var/www/laika# find / -name CCR*.xsd > /var/www/laika/resources/schemas/infrastructure/ccr/CCR.xsd > /var/www/laika/vendor/ccr-validation-service/WEB-INF/classes/org/openhealthdata/validation/CCRV1.xsd > /var/www/laika/vendor/ccr-validation-service/WEB-INF/classes/org/openhealthdata/validation/CCR.xsd > > (note - wasn't sure if CCR.xsd and CCRV1.xsd were required; in this case, they're the same file) > > Any idea what might be wrong? > > Thanks, > > Ben > > -----Original Message----- > From: Josh Partlow [mailto:jpa...@op...] > Sent: Thursday, April 22, 2010 9:58 AM > To: Ben Uphoff > Cc: Alex Kroman > Subject: CCHIT master updated for ccr > > Hi Ben, > > I've updated CCHIT/master with the latest from the opensourcery fork. > This has the ccr-validator and a few additional fixes you'd requested. > This is a release candidate for 1.4.2, so I would fire it up and test it > out. > > Setup for ccr-validator is fairly straight forward now. Instructions > are in the INSTALL.rdoc. Let me know if you have any questions. > > thanks, > Josh > |
|
From: Ben U. <bu...@cc...> - 2010-04-26 16:54:09
|
Hi Josh, I'm getting an error trying to run the seed task (db:migrate succeeded, as I ran that prior to putting the CCR validator stuff in place). Here's the --trace from the rake command: root@domU-12-31-39-05-21-C4:/var/www/laika# jruby -S rake db:seed --trace (in /var/www/laika) ** Invoke db:seed (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! cannot load Java class org.openhealthdata.validator.ValidationManager /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/module/introspection.rb:70:in `get_proxy_or_package_under_package' /usr/local/jruby/lib/ruby/site_ruby/shared/builtin/javasupport/java.rb:51:in `method_missing' /var/www/laika/lib/validators/ccr/waldren_rules_validator.rb:2 /var/www/laika/lib/validators/ccr/waldren_rules_validator.rb:31:in `require' /usr/local/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require' /var/www/laika/config/initializers/laika_validation.rb:160 /var/www/laika/config/initializers/laika_validation.rb:145:in `load' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in `load_with_new_constant_marking' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in `load_with_new_constant_marking' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:622:in `load_application_initializers' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:621:in `each' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:621:in `load_application_initializers' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:176:in `process' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:113:in `run' /var/www/laika/config/environment.rb:25 /var/www/laika/config/environment.rb:31:in `require' /usr/local/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/tasks/misc.rake:4 /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain' /usr/local/jruby/lib/ruby/1.8/monitor.rb:242:in `mon_synchronize' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain' /usr/local/jruby/lib/ruby/1.8/monitor.rb:242:in `mon_synchronize' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run' /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:19:in `load' /usr/local/jruby/bin/rake:19 Here's where I have the CCR*.xsd files: root@domU-12-31-39-05-21-C4:/var/www/laika# find / -name CCR*.xsd /var/www/laika/resources/schemas/infrastructure/ccr/CCR.xsd /var/www/laika/vendor/ccr-validation-service/WEB-INF/classes/org/openhealthdata/validation/CCRV1.xsd /var/www/laika/vendor/ccr-validation-service/WEB-INF/classes/org/openhealthdata/validation/CCR.xsd (note - wasn't sure if CCR.xsd and CCRV1.xsd were required; in this case, they're the same file) Any idea what might be wrong? Thanks, Ben -----Original Message----- From: Josh Partlow [mailto:jpa...@op...] Sent: Thursday, April 22, 2010 9:58 AM To: Ben Uphoff Cc: Alex Kroman Subject: CCHIT master updated for ccr Hi Ben, I've updated CCHIT/master with the latest from the opensourcery fork. This has the ccr-validator and a few additional fixes you'd requested. This is a release candidate for 1.4.2, so I would fire it up and test it out. Setup for ccr-validator is fairly straight forward now. Instructions are in the INSTALL.rdoc. Let me know if you have any questions. thanks, Josh |
|
From: Josh P. <jpa...@op...> - 2010-04-16 19:33:41
|
Ran into an issue while working on moving the ccr-validation branch into master. I started running into java.io 'too many open files' errors being thrown attempting to validate a ccr in a generate and format test. Ubuntu Linux has a default hard limit on open file descriptors of 1024, and this was getting overrun. Looking at it with an lsof -p <glassfish pid> shows that it's hanging onto multiple instance of the org.astm.ccr.*Type.class files, the JAXB xml bindings that Steven's ccr validation service uses to work with ccr xml I believe. I don't know why this is happening, but the work around is to use glassfish 0.9.5. If you upgrade to 1.0.0+, you get too many open files in java 1.6 at least; I haven't tried java 1.5. Anybody have any insight as to why the JAXB classes would be getting stuck, or why later versions of glassfish would have this issue? thanks, Josh |
|
From: Josh P. <jpa...@op...> - 2010-04-08 23:22:28
|
On Thu, 2010-04-08 at 12:12 -0400, Craig Thompson wrote: > I’ve been trying to get Laika up and running on an Ubuntu machine and > am having an issue. I was trying to find a user forum, but didn’t > have any luck so I am starting with this email address. Please let me > know the appropriate place to post questions. > > The issue I am having is that when I try to start Laika in my browser, > I get an error that says: > > Apr 8, 2010 7:44:41 AM > com.sun.grizzly.jruby.rack.RackApplicationPoolFactory > getRackApplocationPool > > SEVERE: org.xml.sax.SAXParseException: schema_reference.4: Failed to > read schema document > 'file:/resources/schemas/infrastructure/cda/C32_CDA.xsd', because 1) > could not find the document; 2) the document could not be read; 3) the > root element of the document is not <xsd:schema>. Hi Craig, resources/schemas/infrastructure/cda/C32_CDA.xsd is a checked in file, so it should just be there. Is it present for you locally? If it is, would you attach a copy. What build of Laika are you using? Did you download a particular tag, or did you clone from git; if from git, what commit revision? How are you starting up Laika? Also, under what OS, what Java version, and what Jruby version? Go ahead and attach a copy of either your log/development.log or log/production.log depending on which mode you're running laika in. thanks, Josh > I’m not sure if there is a path I need to configure, or if it’s a > permissions problem. Any help would be greatly appreciated. > > > > Craig > > > > Craig B. Thompson > SMC Partners LLC > Hartford Square North > 10 Columbus Boulevard, 2nd Floor > Hartford, CT 06106 > 860.240.5618 > 860.278.2400 (fax) > cth...@go... > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ laika-developer mailing list lai...@li... https://lists.sourceforge.net/lists/listinfo/laika-developer |
|
From: Ben U. <bu...@cc...> - 2010-04-08 19:10:07
|
Hi Josh, Well, I've fiddled with the laika.yml quite a bit - to no avail, still getting the "Connection refused" error. Please see the attached log file, and here's the laika.yml: #<<<<start of laika.yml file>>>> # This file is a template of local configuration for the Laika application. # Make a copy of this as config/laika.yml and adjust any settings as necessary. # Do not check in your local config/laika.yml # These are configuration options for the exception_notifier plugin which # will send out emails when 500 errors occur in the application (see # vendors/plugins/exception_notification/README or # http://github.com/rails/exception_notification) exception_notifier: # Set this to a comma separated list of email addresses which you want to receive # email notifications when a 500 error is encounted by Laika exception_recipients: [bu...@cc...] sender_address: 'lai...@de...' email_prefix: '[Laika Error] ' # These are configuration options fore ActionMailer::Base # Set these only if you need to mail through an SMTP server that is # not localhost (or you need to customize some other ActionMailer setting) action_mailer: delivery_method: :smtp smtp_settings: address: "owa.mailseat.com" port: 2525 authentication: :plain # domain: "cchit.org" user_name: "mis...@cc..." password: "<a password>" #<<<<end of laika.yml file>>>> I'm not sure how to specify the "symbol" values in YAML format (but defined in http://api.rubyonrails.org/classes/ActionMailer/Base.html). Maybe that's it? Anyone have SMTP up and working using a remote mail server (which is what we'll need to do in order to keep the CCHIT domain 'clean' as far as SPF records, junk e-mail, etc)? I've ruled out network connectivity, as I'm able to telnet to our mail server's SMTP port OK (port 2525).... Thanks, Ben -----Original Message----- From: Josh Partlow [mailto:jpa...@op...] Sent: Tuesday, April 06, 2010 11:12 PM To: Laika Developers Subject: Re: [Laika-developer] Errors setup up SMTP On Tue, 2010-04-06 at 13:07 -0500, Ben Uphoff wrote: > Laika devs: > > > > I'm (finally) trying to get Laika set up to e-mail error notifications > and also do proper account password recovery via e-mail. I'm getting > errors starting up Laika. Please see the error snippet at bottom. > Here're the pertinent config lines of my laika.yml: > > > > exception_notifier: > > # Set this to a comma separated list of email addresses which you > want to receive > > # email notifications when a 500 error is encounted by Laika > > exception_recipients: 'bu...@cc...' > > sender_address: 'lai...@de...' > > email_prefix: '[Laika Error] ' > > > > # These are configuration options for ActionMailer::Base > > # Set these only if you need to mail through an SMTP server that is > > # not localhost (or you need to customize some other ActionMailer > setting) > > action_mailer: > > :address => "owa.mailseat.com" > > :port => 2525 > > :domain => "cchit.org" > > :user_name => "mis...@cc..." > > :password => "<some secure password>" Sorry Ben, that's my fault. The commented out examples in the laika.yml are in Ruby hash syntax rather than yaml syntax. It should look like the following: action_mailer: address: "owa.mailseat.com" port: 2525 domain: "cchit.org" user_name: "mis...@cc..." password: "<some secure password>" Try that and see if that helps. Josh > > And here's the log content: > > > > SEVERE: undefined method `each' for #<Symbol:0x147bc1> > > from /var/www/laika/config/initializers/notifications.rb:20 > > > from /var/www/laika/config/initializers/notifications.rb:145:in `load' > > > from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in `load_with_new_constant_marking' > > > from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in' > > > from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in `load_with_new_constant_marking' > > > from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:622:in `load_application_initializers' > > > from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:621:in `each' > > > from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:621:in `load_application_initializers' > > ... 7 levels... > > > from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/glassfish-1.0.2-universal-java/lib/jruby/rack/rails.rb:25:in `new' > > > from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/glassfish-1.0.2-universal-java/lib/jruby/rack/rails.rb:25:in `new' > > from <script>:1 > > > > /var/www/laika/config/initializers/notifications.rb:4:in > `configure_subsystem': undefined method `each' for #<Symbol:0x147bc1> > (NoMethodError) > > from /var/www/laika/config/initializers/notifications.rb:20 > > > from /var/www/laika/config/initializers/notifications.rb:145:in `load' > > > from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in `load_with_new_constant_marking' > > > from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in' > > > from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in `load_with_new_constant_marking' > > > from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:622:in `load_application_initializers' > > > from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:621:in `each' > > > from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:621:in `load_application_initializers' > > ... 7 levels... > > > from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/glassfish-1.0.2-universal-java/lib/jruby/rack/rails.rb:25:in `new' > > > from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/glassfish-1.0.2-universal-java/lib/jruby/rack/rails.rb:25:in `new' > > from <script>:1 > > ...internal jruby stack elided... > > from > Object.configure_subsystem(/var/www/laika/config/initializers/notifica > tions.rb:20) > > from > (unknown).(unknown)(/var/www/laika/config/initializers/notifications.r > b:145) > > from > Kernel.load(/usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/activesup > port-2.3.5/lib/active_support/dependencies.rb:145) > > from > ActiveSupport::Dependencies::Loadable.load_with_new_constant_marking(/ > usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/activesupport-2.3.5/li > b/active_support/dependencies.rb:521) > > from > ActiveSupport::Dependencies.new_constants_in(/usr/local/jruby-1.4.0RC1 > /lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/depende > ncies.rb:145) > > from > ActiveSupport::Dependencies::Loadable.load_with_new_constant_marking(/ > usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initia > lizer.rb:622) > > from > Rails::Initializer.load_application_initializers(/usr/local/jruby-1.4. > 0RC1/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:621) > > from > Array.each(/usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/rails-2.3. > 5/lib/initializer.rb:621) > > from > Rails::Initializer.load_application_initializers(/usr/local/jruby-1.4. > 0RC1/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:176) > > from > Rails::Initializer.process(/usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8 > /gems/rails-2.3.5/lib/initializer.rb:113) > > from > #<Class:01x11a59ce>.run(/var/www/laika/config/environment.rb:25) > > from > (unknown).(unknown)(/var/www/laika/config/environment.rb:31) > > from > Kernel.require(/usr/local/jruby/lib/ruby/site_ruby/1.8/rubygems/custom > _require.rb:31) > > from > Kernel.require(/usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/glassf > ish-1.0.2-universal-java/lib/rack/adapter/rails.rb:98) > > from > Rack::Adapter::Rails.load_application(/usr/local/jruby-1.4.0RC1/lib/ru > by/gems/1.8/gems/glassfish-1.0.2-universal-java/lib/rack/adapter/rails > .rb:75) > > from > Rack::Adapter::Rails.initialize(/usr/local/jruby-1.4.0RC1/lib/ruby/gem > s/1.8/gems/glassfish-1.0.2-universal-java/lib/jruby/rack/rails.rb:25) > > from > (unknown).new(/usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/glassfi > sh-1.0.2-universal-java/lib/jruby/rack/rails.rb:25) > > from #<Class:01x1263b07>.new(<script>:1) > > from (unknown).(unknown)(:1) > > Apr 6, 2010 5:52:44 PM com.sun.grizzly.jruby.RackGrizzlyAdapter > service > > SEVERE: Failed to create JRuby instance. > > Apr 6, 2010 5:52:47 PM com.sun.grizzly.jruby.RackGrizzlyAdapter > service > > SEVERE: Failed to create JRuby instance. > > Apr 6, 2010 5:52:50 PM com.sun.grizzly.jruby.RackGrizzlyAdapter > service > > SEVERE: Failed to create JRuby instance. > > Apr 6, 2010 5:52:53 PM com.sun.grizzly.jruby.RackGrizzlyAdapter > service > > SEVERE: Failed to create JRuby instance. > > Apr 6, 2010 5:52:56 PM com.sun.grizzly.jruby.RackGrizzlyAdapter > service > > SEVERE: Failed to create JRuby instance. > > Apr 6, 2010 5:52:59 PM com.sun.grizzly.jruby.RackGrizzlyAdapter > service > > SEVERE: Failed to create JRuby instance. > > Apr 6, 2010 5:53:02 PM com.sun.grizzly.jruby.RackGrizzlyAdapter > service > > SEVERE: Failed to create JRuby instance. > > Apr 6, 2010 5:53:05 PM com.sun.grizzly.jruby.RackGrizzlyAdapter > service > > <and more of these; truncated> > > > > > > Any thoughts? > > > > Thanks, Ben > > > ---------------------------------------------------------------------- > -------- Download Intel® Parallel Studio Eval Try the new > software tools for yourself. Speed compiling, find bugs proactively, > and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ laika-developer > mailing list lai...@li... > https://lists.sourceforge.net/lists/listinfo/laika-developer |
|
From: Ben U. <bu...@cc...> - 2010-04-08 18:01:12
|
Josh & Andy, Thanks for the thoughts. I have no specific partiality towards Glassfish other than being slightly more familiar with it. If Mongrel makes for a simpler implementation (and avoids the issues Josh identified), let's run with it. Josh, any pointers you have on instantiating Laika under Mongrel would be helpful to me. I'll hit the books, too, and will aim for Mongrel in any further implementations I do. Thanks, Ben -----Original Message----- From: Gregorowicz, Andrew J. [mailto:an...@mi...] Sent: Thursday, April 08, 2010 10:51 AM To: jpa...@op... Cc: Ben Uphoff; Dennis Wilson; Alex Kroman Subject: Re: May be delayed for dev call... On Apr 8, 2010, at 1:32 PM, Josh Partlow wrote: > On Thu, 2010-04-08 at 11:35 -0400, Gregorowicz, Andrew J. wrote: >> On Apr 8, 2010, at 11:10 AM, Josh Partlow wrote: >> >>> One question I have is if we require glassfish? There may be a lot of >>> good reasons why we're using it, but I believe glassfish is a full j2ee >>> application server, with a lot more functionality than we are using? >>> Unless there is a long range plan to integrate all the Laika components >>> into one application server? Or a threading issue? I looked for an >>> initial discussion of glassfish on the dev list, but didn't spot one. >> >> Since we're running JRuby, we needed to pick some java based >> environment to deploy stuff into. We chose Glassfish because it allows >> you to deploy a Rails application "exploded". Most of the other java >> application servers, like Tomcat, require you package up the >> application as a war file and then the server will unpack it upon >> deploy. This was causing some issues for Laika... for instance, the >> calendar_date_select plugin tries to figure out what RAILS_ROOT is and >> runs into issues when deployed packaged up as a war file. Also, it >> kinda sends you back to the old java development process of make a >> change, build your war, redeploy... as opposed to the nice Rails way >> of make a change, reload your browser window. >> >> The landscape may have changed since the last time I checked. I know >> that JBoss now has a set of Rails tools called Torque Box that may be >> better than what Glassfish has to offer... but JBoss is awfully >> heavyweight and it sounds like you want to move away from that. >> >> I suppose it would be possible to just deploy on WEBrick. You could >> just run script/server and set it to production mode... but I have >> never thought of WEBrick as a production web server. >> >> ~Andy > > Do you know if there was a specific reason not to use a small cluster of > mongrel instances? I know the application works for development qa off > of a single mongrel instance at least, and maybe we don't actually need > more than one instance. Anyway, thanks for the background. I agree > that we don't want to package everything in a war everytime :) > > Josh That sounds like a good solution. Since we have Apache in the mix now, this should work just fine with mod_proxy. ~Andy |
|
From: Craig T. <cth...@go...> - 2010-04-08 16:12:40
|
I've been trying to get Laika up and running on an Ubuntu machine and am having an issue. I was trying to find a user forum, but didn't have any luck so I am starting with this email address. Please let me know the appropriate place to post questions. The issue I am having is that when I try to start Laika in my browser, I get an error that says: Apr 8, 2010 7:44:41 AM com.sun.grizzly.jruby.rack.RackApplicationPoolFactory getRackApplocationPool SEVERE: org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'file:/resources/schemas/infrastructure/cda/C32_CDA.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>. I'm not sure if there is a path I need to configure, or if it's a permissions problem. Any help would be greatly appreciated. Craig Craig B. Thompson SMC Partners LLC Hartford Square North 10 Columbus Boulevard, 2nd Floor Hartford, CT 06106 860.240.5618 860.278.2400 (fax) cth...@go... <mailto:cth...@go...> |
|
From: Josh P. <jpa...@op...> - 2010-04-07 06:12:18
|
On Tue, 2010-04-06 at 13:07 -0500, Ben Uphoff wrote: > Laika devs: > > > > I'm (finally) trying to get Laika set up to e-mail error notifications > and also do proper account password recovery via e-mail. I'm getting > errors starting up Laika. Please see the error snippet at bottom. > Here're the pertinent config lines of my laika.yml: > > > > exception_notifier: > > # Set this to a comma separated list of email addresses which you > want to receive > > # email notifications when a 500 error is encounted by Laika > > exception_recipients: 'bu...@cc...' > > sender_address: 'lai...@de...' > > email_prefix: '[Laika Error] ' > > > > # These are configuration options for ActionMailer::Base > > # Set these only if you need to mail through an SMTP server that is > > # not localhost (or you need to customize some other ActionMailer > setting) > > action_mailer: > > :address => "owa.mailseat.com" > > :port => 2525 > > :domain => "cchit.org" > > :user_name => "mis...@cc..." > > :password => "<some secure password>" Sorry Ben, that's my fault. The commented out examples in the laika.yml are in Ruby hash syntax rather than yaml syntax. It should look like the following: action_mailer: address: "owa.mailseat.com" port: 2525 domain: "cchit.org" user_name: "mis...@cc..." password: "<some secure password>" Try that and see if that helps. Josh > > And here's the log content: > > > > SEVERE: undefined method `each' for #<Symbol:0x147bc1> > > from /var/www/laika/config/initializers/notifications.rb:20 > > > from /var/www/laika/config/initializers/notifications.rb:145:in `load' > > > from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in `load_with_new_constant_marking' > > > from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in' > > > from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in `load_with_new_constant_marking' > > > from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:622:in `load_application_initializers' > > > from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:621:in `each' > > > from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:621:in `load_application_initializers' > > ... 7 levels... > > > from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/glassfish-1.0.2-universal-java/lib/jruby/rack/rails.rb:25:in `new' > > > from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/glassfish-1.0.2-universal-java/lib/jruby/rack/rails.rb:25:in `new' > > from <script>:1 > > > > /var/www/laika/config/initializers/notifications.rb:4:in > `configure_subsystem': undefined method `each' for #<Symbol:0x147bc1> > (NoMethodError) > > from /var/www/laika/config/initializers/notifications.rb:20 > > > from /var/www/laika/config/initializers/notifications.rb:145:in `load' > > > from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in `load_with_new_constant_marking' > > > from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in' > > > from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in `load_with_new_constant_marking' > > > from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:622:in `load_application_initializers' > > > from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:621:in `each' > > > from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:621:in `load_application_initializers' > > ... 7 levels... > > > from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/glassfish-1.0.2-universal-java/lib/jruby/rack/rails.rb:25:in `new' > > > from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/glassfish-1.0.2-universal-java/lib/jruby/rack/rails.rb:25:in `new' > > from <script>:1 > > ...internal jruby stack elided... > > from > Object.configure_subsystem(/var/www/laika/config/initializers/notifications.rb:20) > > from > (unknown).(unknown)(/var/www/laika/config/initializers/notifications.rb:145) > > from > Kernel.load(/usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145) > > from > ActiveSupport::Dependencies::Loadable.load_with_new_constant_marking(/usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521) > > from > ActiveSupport::Dependencies.new_constants_in(/usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145) > > from > ActiveSupport::Dependencies::Loadable.load_with_new_constant_marking(/usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:622) > > from > Rails::Initializer.load_application_initializers(/usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:621) > > from > Array.each(/usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:621) > > from > Rails::Initializer.load_application_initializers(/usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:176) > > from > Rails::Initializer.process(/usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:113) > > from > #<Class:01x11a59ce>.run(/var/www/laika/config/environment.rb:25) > > from > (unknown).(unknown)(/var/www/laika/config/environment.rb:31) > > from > Kernel.require(/usr/local/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31) > > from > Kernel.require(/usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/glassfish-1.0.2-universal-java/lib/rack/adapter/rails.rb:98) > > from > Rack::Adapter::Rails.load_application(/usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/glassfish-1.0.2-universal-java/lib/rack/adapter/rails.rb:75) > > from > Rack::Adapter::Rails.initialize(/usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/glassfish-1.0.2-universal-java/lib/jruby/rack/rails.rb:25) > > from > (unknown).new(/usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/glassfish-1.0.2-universal-java/lib/jruby/rack/rails.rb:25) > > from #<Class:01x1263b07>.new(<script>:1) > > from (unknown).(unknown)(:1) > > Apr 6, 2010 5:52:44 PM com.sun.grizzly.jruby.RackGrizzlyAdapter > service > > SEVERE: Failed to create JRuby instance. > > Apr 6, 2010 5:52:47 PM com.sun.grizzly.jruby.RackGrizzlyAdapter > service > > SEVERE: Failed to create JRuby instance. > > Apr 6, 2010 5:52:50 PM com.sun.grizzly.jruby.RackGrizzlyAdapter > service > > SEVERE: Failed to create JRuby instance. > > Apr 6, 2010 5:52:53 PM com.sun.grizzly.jruby.RackGrizzlyAdapter > service > > SEVERE: Failed to create JRuby instance. > > Apr 6, 2010 5:52:56 PM com.sun.grizzly.jruby.RackGrizzlyAdapter > service > > SEVERE: Failed to create JRuby instance. > > Apr 6, 2010 5:52:59 PM com.sun.grizzly.jruby.RackGrizzlyAdapter > service > > SEVERE: Failed to create JRuby instance. > > Apr 6, 2010 5:53:02 PM com.sun.grizzly.jruby.RackGrizzlyAdapter > service > > SEVERE: Failed to create JRuby instance. > > Apr 6, 2010 5:53:05 PM com.sun.grizzly.jruby.RackGrizzlyAdapter > service > > <and more of these; truncated> > > > > > > Any thoughts? > > > > Thanks, Ben > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ laika-developer mailing list lai...@li... https://lists.sourceforge.net/lists/listinfo/laika-developer |
|
From: Ben U. <bu...@cc...> - 2010-04-06 18:07:37
|
Laika devs: I'm (finally) trying to get Laika set up to e-mail error notifications and also do proper account password recovery via e-mail. I'm getting errors starting up Laika. Please see the error snippet at bottom. Here're the pertinent config lines of my laika.yml: exception_notifier: # Set this to a comma separated list of email addresses which you want to receive # email notifications when a 500 error is encounted by Laika exception_recipients: 'bu...@cc...' sender_address: 'lai...@de...' email_prefix: '[Laika Error] ' # These are configuration options for ActionMailer::Base # Set these only if you need to mail through an SMTP server that is # not localhost (or you need to customize some other ActionMailer setting) action_mailer: :address => "owa.mailseat.com" :port => 2525 :domain => "cchit.org" :user_name => "mis...@cc..." :password => "<some secure password>" And here's the log content: SEVERE: undefined method `each' for #<Symbol:0x147bc1> from /var/www/laika/config/initializers/notifications.rb:20 from /var/www/laika/config/initializers/notifications.rb:145:in `load' from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib /active_support/dependencies.rb:145:in `load_with_new_constant_marking' from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib /active_support/dependencies.rb:521:in `new_constants_in' from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib /active_support/dependencies.rb:145:in `load_with_new_constant_marking' from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initial izer.rb:622:in `load_application_initializers' from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initial izer.rb:621:in `each' from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initial izer.rb:621:in `load_application_initializers' ... 7 levels... from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/glassfish-1.0.2-univers al-java/lib/jruby/rack/rails.rb:25:in `new' from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/glassfish-1.0.2-univers al-java/lib/jruby/rack/rails.rb:25:in `new' from <script>:1 /var/www/laika/config/initializers/notifications.rb:4:in `configure_subsystem': undefined method `each' for #<Symbol:0x147bc1> (NoMethodError) from /var/www/laika/config/initializers/notifications.rb:20 from /var/www/laika/config/initializers/notifications.rb:145:in `load' from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib /active_support/dependencies.rb:145:in `load_with_new_constant_marking' from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib /active_support/dependencies.rb:521:in `new_constants_in' from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib /active_support/dependencies.rb:145:in `load_with_new_constant_marking' from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initial izer.rb:622:in `load_application_initializers' from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initial izer.rb:621:in `each' from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initial izer.rb:621:in `load_application_initializers' ... 7 levels... from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/glassfish-1.0.2-univers al-java/lib/jruby/rack/rails.rb:25:in `new' from /usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/glassfish-1.0.2-univers al-java/lib/jruby/rack/rails.rb:25:in `new' from <script>:1 ...internal jruby stack elided... from Object.configure_subsystem(/var/www/laika/config/initializers/notificati ons.rb:20) from (unknown).(unknown)(/var/www/laika/config/initializers/notifications.rb: 145) from Kernel.load(/usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/activesuppo rt-2.3.5/lib/active_support/dependencies.rb:145) from ActiveSupport::Dependencies::Loadable.load_with_new_constant_marking(/us r/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ac tive_support/dependencies.rb:521) from ActiveSupport::Dependencies.new_constants_in(/usr/local/jruby-1.4.0RC1/l ib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencie s.rb:145) from ActiveSupport::Dependencies::Loadable.load_with_new_constant_marking(/us r/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initialize r.rb:622) from Rails::Initializer.load_application_initializers(/usr/local/jruby-1.4.0R C1/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:621) from Array.each(/usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/rails-2.3.5/ lib/initializer.rb:621) from Rails::Initializer.load_application_initializers(/usr/local/jruby-1.4.0R C1/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:176) from Rails::Initializer.process(/usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/g ems/rails-2.3.5/lib/initializer.rb:113) from #<Class:01x11a59ce>.run(/var/www/laika/config/environment.rb:25) from (unknown).(unknown)(/var/www/laika/config/environment.rb:31) from Kernel.require(/usr/local/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_r equire.rb:31) from Kernel.require(/usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/glassfis h-1.0.2-universal-java/lib/rack/adapter/rails.rb:98) from Rack::Adapter::Rails.load_application(/usr/local/jruby-1.4.0RC1/lib/ruby /gems/1.8/gems/glassfish-1.0.2-universal-java/lib/rack/adapter/rails.rb: 75) from Rack::Adapter::Rails.initialize(/usr/local/jruby-1.4.0RC1/lib/ruby/gems/ 1.8/gems/glassfish-1.0.2-universal-java/lib/jruby/rack/rails.rb:25) from (unknown).new(/usr/local/jruby-1.4.0RC1/lib/ruby/gems/1.8/gems/glassfish -1.0.2-universal-java/lib/jruby/rack/rails.rb:25) from #<Class:01x1263b07>.new(<script>:1) from (unknown).(unknown)(:1) Apr 6, 2010 5:52:44 PM com.sun.grizzly.jruby.RackGrizzlyAdapter service SEVERE: Failed to create JRuby instance. Apr 6, 2010 5:52:47 PM com.sun.grizzly.jruby.RackGrizzlyAdapter service SEVERE: Failed to create JRuby instance. Apr 6, 2010 5:52:50 PM com.sun.grizzly.jruby.RackGrizzlyAdapter service SEVERE: Failed to create JRuby instance. Apr 6, 2010 5:52:53 PM com.sun.grizzly.jruby.RackGrizzlyAdapter service SEVERE: Failed to create JRuby instance. Apr 6, 2010 5:52:56 PM com.sun.grizzly.jruby.RackGrizzlyAdapter service SEVERE: Failed to create JRuby instance. Apr 6, 2010 5:52:59 PM com.sun.grizzly.jruby.RackGrizzlyAdapter service SEVERE: Failed to create JRuby instance. Apr 6, 2010 5:53:02 PM com.sun.grizzly.jruby.RackGrizzlyAdapter service SEVERE: Failed to create JRuby instance. Apr 6, 2010 5:53:05 PM com.sun.grizzly.jruby.RackGrizzlyAdapter service <and more of these; truncated> Any thoughts? Thanks, Ben |
|
From: Ben U. <bu...@cc...> - 2010-04-02 18:25:11
|
Hello Laika Enthusiasts! A new Laika Amazon Machine Image (AMI) is now available: ami-11896778, "laika05" The CCHIT Laika demo site (http://demo.cchit.org) will also be updated later today, Friday April 2nd. Please note that user accounts and existing tests that have been set up will not be preserved as part of this update. Our apologies for any inconvenience this may cause. This release is intended to support testing for the CCHIT Certified(r) 2011 program. The built-in patient templates have been revised and are consistent with the certification program test scripts. In addition, each patient template will generate a valid C32 document. This version also has our first run at a C32 importer - check it out on the Library page and let us know what you think. Please note that, while the components are included, we're still working out what transport standards and technologies will be part of the CCHIT certification programs. As such, XDS, PIX/PDQ and ATNA logging are not complete within this AMI nor on the demo site. Going forward, watch for: * user interface enhancements to the Generate and Format tests * refined C32 importer * ASTM CCR document processing (a la the extant C32 functionality) * further refinements and fixes * updates to documentation We welcome your feedback - please write us at ta...@pr... Thanks again to the contributors to the Laika project! Ben Uphoff Certification Technology Engineer, CCHIT Certification Commission for Health Information Technology 503.372.5514 office bu...@cc... |
|
From: Ben U. <bu...@cc...> - 2010-04-01 22:34:02
|
Hi Josh, I just noticed that the new production fixtures setup does not seem to be loading the information_source.yml data. I'm not sure what the issue is, but it looks like there's probably some dependency on the person_names table. Any thoughts on why that load is failing, or where I could look (logging-wise) to figure it out? Thanks, Ben |
|
From: Gary I. <gar...@gm...> - 2010-04-01 20:11:20
|
Any idea what this error could be? "Apr 1, 2010 3:58:26 PM com.sun.grizzly.jruby.rack.RackApplicationPoolFactory getRackApplocationPool SEVERE: org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'file:/resources/schemas/infrastructure/cda/C32_CDA.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>." Full error from my development.log is pasted below. I installed laika on Ubuntu karmic koala. Follow the instructions from the install rdoc, using Postgresql. Glassfish starts up without error. Then I get the above error when launching http://localhost:3000/. The browser only displays: "Something went wrong on the server. Check the server log for details!" Would appreciate any help. Thanks, Gary. INFO: New instance of JRuby runtime created in 99 milliseconds Apr 1, 2010 3:58:26 PM com.sun.grizzly.jruby.rack.RackApplicationPoolFactory getRackApplocationPool SEVERE: org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'file:/resources/schemas/infrastructure/cda/C32_CDA.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>. from com/sun/org/apache/xerces/internal/util/ErrorHandlerWrapper.java:131:in `error' from com/sun/org/apache/xerces/internal/impl/XMLErrorReporter.java:384:in `reportError' from com/sun/org/apache/xerces/internal/impl/XMLErrorReporter.java:318:in `reportError' from com/sun/org/apache/xerces/internal/impl/xs/traversers/XSDHandler.java:2541:in `reportSchemaErr' from com/sun/org/apache/xerces/internal/impl/xs/traversers/XSDHandler.java:2528:in `reportSchemaError' from com/sun/org/apache/xerces/internal/impl/xs/traversers/XSDHandler.java:1825:in `getSchemaDocument' from com/sun/org/apache/xerces/internal/impl/xs/traversers/XSDHandler.java:531:in `parseSchema' from com/sun/org/apache/xerces/internal/impl/xs/XMLSchemaLoader.java:552:in `loadSchema' ... 22 levels... from /home/tampanugget/.gem/jruby/1.8/gems/glassfish-1.0.2-universal-java/lib/../lib/jruby/rack/rails.rb:25:in `new' from /home/tampanugget/.gem/jruby/1.8/gems/glassfish-1.0.2-universal-java/lib/../lib/jruby/rack/rails.rb:25:in `new' from <script>:1 com/sun/org/apache/xerces/internal/util/ErrorHandlerWrapper.java:195:in `createSAXParseException': org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'file:/resources/schemas/infrastructure/cda/C32_CDA.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>. (NativeException) from com/sun/org/apache/xerces/internal/util/ErrorHandlerWrapper.java:131:in `error' from com/sun/org/apache/xerces/internal/impl/XMLErrorReporter.java:384:in `reportError' from com/sun/org/apache/xerces/internal/impl/XMLErrorReporter.java:318:in `reportError' from com/sun/org/apache/xerces/internal/impl/xs/traversers/XSDHandler.java:2541:in `reportSchemaErr' from com/sun/org/apache/xerces/internal/impl/xs/traversers/XSDHandler.java:2528:in `reportSchemaError' from com/sun/org/apache/xerces/internal/impl/xs/traversers/XSDHandler.java:1825:in `getSchemaDocument' from com/sun/org/apache/xerces/internal/impl/xs/traversers/XSDHandler.java:531:in `parseSchema' from com/sun/org/apache/xerces/internal/impl/xs/XMLSchemaLoader.java:552:in `loadSchema' ... 22 levels... from /home/tampanugget/.gem/jruby/1.8/gems/glassfish-1.0.2-universal-java/lib/../lib/jruby/rack/rails.rb:25:in `new' from /home/tampanugget/.gem/jruby/1.8/gems/glassfish-1.0.2-universal-java/lib/../lib/jruby/rack/rails.rb:25:in `new' from <script>:1 ...internal jruby stack elided... from com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:131) from com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:384) from com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:318) from com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaErr(XSDHandler.java:2541) from com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaError(XSDHandler.java:2528) from com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSchemaDocument(XSDHandler.java:1825) from com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.parseSchema(XSDHandler.java:531) from com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:552) from com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadGrammar(XMLSchemaLoader.java:519) from com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadGrammar(XMLSchemaLoader.java:485) from com.sun.org.apache.xerces.internal.jaxp.validation.XMLSchemaFactory.newSchema(XMLSchemaFactory.java:210) from javax.xml.validation.SchemaFactory.newSchema(SchemaFactory.java:594) Apr 1, 2010 3:58:29 PM com.sun.grizzly.jruby.RackGrizzlyAdapter service SEVERE: Failed to create JRuby instance. Apr 1, 2010 3:58:29 PM com.sun.grizzly.jruby.RackGrizzlyAdapter service SEVERE: Failed to create JRuby instance. |