[rules-users] Unhappy (hoppy?) jackrabbit

Fernando Meyer fmcamargo at gmail.com
Thu Jul 26 15:20:26 EDT 2007


Have you tried to delete both repository and repository.xml ?
It always works with corrupted data.

BTW, get the latest BRMS build in http://labs.jboss.com/drools/ 
download/index.html

Fernando Meyer http://fmeyer.org
fmcamargo at gmail.com
PGP: 0xD804DDFB



On Jul 26, 2007, at 10:48 AM, Wagner Rick - rwagne wrote:

> 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.newSessi 
> on
> (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.
> ********************************************************************** 
> ***
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users




More information about the rules-users mailing list