I guess the JBPM_HOME substring stands for an absolute path in your file 
system, right? In that case the form of  parseEntitiesResource() that takes a 
String is not the right one to use, because the string identifies a resource in 
your classpath. Try this instead
InputStream entitiesStream = new BufferedInputStream(new 
FileInputStream("JBPM_HOME/jbpm/src/resources/hsqldb/identity.db.xml"));
  | Entity[] entities = IdentityXmlParser.parseEntitiesResource(entitiesStream);
  | entitiesStream.close();

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916371#3916371

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916371


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to