List Info

Thread: ClassNotFoundException with Custom Store




ClassNotFoundException with Custom Store
user name
2006-03-27 23:16:08
In case it matters, I am using Tomcat 5.0.18 and JDK 1.4.
 
THANKS for any help!
 
-Mike

>>> mwilledonerus.com 3/27/2006 6:08:06 PM
>>>

Hey All,

I'm in the process of integrating slide with our existing
application.

  I've hit a problem and can't find any help in the mail
archives.

Short story:

Can slide load custom store classes outside of its jar
files?  I would
think so, but the problem I have seems to say differently.

Long story:

I've added the slide jar's to our web application's class
path (ends
up
in TOMCAT/common/lib).  I've added the required slide
web.xml
attributes
to our existing web.xml.  I've dropped in a default
Domain.xml into
our
web root.  Everything is picked up and slide starts with our
web app.

The problem happens when I change the NodeStore and
ContentStore from
the values of

org.apache.slide.store.txfile.TxXMLFileDescriptorsStore
org.apache.slide.store.txfile.TxFileContentStore

to our custom store classes.  I receive the following error
in the
log:

27 Mar 2006 17:54:16 - org.apache.slide.common.Namespace -
ERROR -
java.lang.ClassNotFoundException:
com.doner.extranet.slide.TxXMLFileDescriptorsStore
java.lang.ClassNotFoundException:
com.doner.extranet.slide.TxXMLFileDescriptorsStore
at
org.apache.catalina.loader.StandardClassLoader.loadClass(Sta
ndardClassLoader.java:891)

This happens with either the single custom store I created,
or the
same
two files copied out of slide source into our project's
source.

Am I completely out of my mind here?

-Mike

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )