File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes oracle blob with weblogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "oracle blob with weblogic" Watch "oracle blob with weblogic" New topic

oracle blob with weblogic

vinoth prabakaran

Joined: Dec 28, 2001
Posts: 3
i am developing an ejb application using container managed bean in weblogic6.1 server.
one of my field is oracle blob object.
when i try to create ejb jar using the comand
C:\>java weblogic.ejbc doclib.jar ejbdoclib.jar
i got the following error
ERROR: Error from ejbc: Error while reading 'META-INF/weblogic-cmp-rdbms-jar.xml
'. The error was:
In EJB DocLibBean, cmp-field: file is declared to be of Class: oracle.sq
l.BLOB, which is not supported in WebLogic EJB CMP 1.1
ERROR: ejbc found errors
so i changed the deployment descriptor, weblogic-cmp-rdbms-jar.xml as said in the weblogic site
ie i added the element dbms-column-type in the descriptor
after then i again run the command
now i am getting an error
C:\>java weblogic.ejbc doclib.jar ejbdoclib.jar
ERROR: Error from ejbc: While reading META-INF/weblogic-cmp-rdbms-jar.xml, the E
ntity EJB's persistence layer failed to deploy. The error was:
Error in descriptor line 18: Element type "dbms-column-type" is not declared in
the dtd or schema.
ERROR: ejbc found errors

I agree. Here's the link:
subject: oracle blob with weblogic
It's not a secret anymore!