OpenEMPI-WebServices-Issue with system.sB96777C4495A76B8788F8D7E0FEDDCED.TypeSystemHolder

  4 posts   Feedicon  
Replies: 3 - Last Post: January 01, 2012 18:41
by: Csaba Toth
showing 1 - 4 of 4
 
Posted: December 05, 2011 19:08 by murphyric

Environment:
OpenEMPI2.1.3,Axis2, Tomcat 6, SQLserver2008.

Task
I am exposing the PersonManager.AddPerson() method as a Webservice to add persons with basic blocking and deterministic matching configurations.

Observations:
I get the following error:

Caused by: java.lang.RuntimeException: Cannot load SchemaTypeSystem. Unable to load class with name schemaorg_apache_xmlbeans.system.sB96777C4495A76B8788F8D7E0FEDDCED.TypeSystemHolder. Make sure the generated binary files are on the classpath.
at org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java:783)
at org.openhie.openempi.configuration.xml.MpiConfigDocument.<clinit>(MpiConfigDocument.java:20)
... 31 more
Caused by: java.lang.ClassNotFoundException: schemaorg_apache_xmlbeans.system.sB96777C4495A76B8788F8D7E0FEDDCED.TypeSystemHolder
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
at org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java:769)
... 32 more


I placed the "schemaorg_apache_xmlbeans" directory in the "WEB-INF\classes" directory of the axis2 webapp and still I get the same error as above. Looks like it did not find it, probably looking somewhere else.
I need help on this.

Thanks in Advance
 
Posted: December 05, 2011 19:10 by murphyric
This worked for me while running the Junit test case of mine to Add a Person. When I wrap and deploy as a webservice, I get that error.
 
Posted: December 21, 2011 23:27 by Csaba Toth
With WebServices you have to define the data type you expose. How do you expose Person as a datatype? What is your WSDL?
I guess you use some technology which generates you the proxies and the type stubs. It seems that this auto generated code is mentioned in the error logs. But what is the full error message? What was the first error? Please include more verbose and compete logs.
 
Posted: January 01, 2012 18:41 by Csaba Toth
Another thought: I see that you are trying to deploy directly to Tomcat instead of JBoss. So you deploy the war. I always deployed ear and to JBoss. I wonder if you try to deploy the war to JBoss, would you get any errors.
Replies: 3 - Last Post: January 01, 2012 18:41
by: Csaba Toth
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close