my dog learned polymorphism*
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

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: oracle blob with weblogic
Similar Threads
Data Source and JNDI problem
error : Element type "persistence-type" must be declared ?
Original Data Verification before Update
EJB 2.1 CMP Automatic primary key issue with <unknown-primary-key-field>empId</unknown-primary-key-f
try to solve cmp exception over weblogic8.1