[jboss-user] [JBoss Seam] - DocumentStore usage

nickarls do-not-reply at jboss.com
Wed Sep 26 08:46:13 EDT 2007


Hi,

 I'm trying to serve a PDF from the database through the DocumentStore
but when I try to get an instance with


  |   String id = DocumentStore.instance().newId();
  | 

I just get a 

  | Caused by: java.lang.ClassCastException: org.jboss.seam.pdf.DocumentStore_$$_javassist_12
  | 

(also tried variation of DocumentStore ds = DocumentStore.instance() and Component.getInstance() but to no avail)

How should it be used?

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

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



More information about the jboss-user mailing list