[rules-users] Unhappy (hoppy?) jackrabbit

Wagner Rick - rwagne Rick.Wagner at acxiom.com
Thu Jul 26 09:48:05 EDT 2007


Fernando,

Thanks for the tip about JSF dependencies-- I believe I've gotten past
that error with the BRMS.  (Downloaded JSF1.3 and copied jsf-api.jar and
jsf-impl.jar to Tomcat's lib directory.  I also threw in commons
beanutils, collections, and digester per a web posting I'd found that
advocated these actions.)

So now JSF and Tomcat are happy, I can run the sample JSF apps just
fine.  Back to the BRMS!

It seems JackRabbit is unhappy-- it's complaining about the empty
custom_nodetypes.xml file I've got in Tomcat's
bin/repository/repository/nodetypes directory.  Here's the stacktrace:

Jul 26, 2007 8:44:18 AM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Exception sending context initialized event to listener instance
of class org.jboss.seam.servlet.SeamListener
org.drools.repository.RulesRepositoryException:
javax.jcr.RepositoryException: internal error: failed to read custom
node type definitions stored in custom_nodetypes.xml: Premature end of
file.: Premature end of file.
	at
org.drools.brms.server.repository.BRMSRepositoryConfiguration.newSession
(BRMSRepositoryConfiguration.java:91)

I'm afraid I'm new to Jackrabbit, so I tried downloading and building
the given release (1.3) and supplying a valid custom_nodetypes.xml from
the build-- of course that didn't work.  Neither did removing the parts
of that file that seemed specific to the Jackrabbit build.

Can you please point me in the right direction?

Thanks much,

Rick
*************************************************************************
The information contained in this communication is confidential, is
intended only for the use of the recipient named above, and may be
legally privileged.

If the reader of this message is not the intended recipient, you are 
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited.

If you have received this communication in error, please resend this
communication to the sender and delete the original message or any copy
of it from your computer system.

Thank you.
*************************************************************************




More information about the rules-users mailing list