aspose file tools*
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "oracle blob with weblogic" Watch "oracle blob with weblogic" New topic
Author

oracle blob with weblogic

vinoth prabakaran
Greenhorn

Joined: Dec 28, 2001
Posts: 3
hi,
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
<field-map>
<cmp-field>file</cmp-field>
<dbms-column>fileColumn</dbms-column>
</field-map>
to
<field-map>
<cmp-field>file</cmp-field>
<dbms-column>fileColumn</dbms-column>
<dbms-column-type>OracleBlob</dbms-column-type>
</field-map>
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

CAN ANYBODY HELP ME OUT OF THIS?
Thanks
Vinoth
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: oracle blob with weblogic