IntelliJ Weblogic Integration Problem

Hi,

I have set up weblogic and intellij integration but i am having problems configuring and deploying entity ejb's.

After I define the ejb completely and create CMP fields i cannot define values for the entity bean datasource. If i attempt to define the datasource using local drivers i get a sucessful connection to the database but the tables do not get listed in the respective drop down list box for me to map the CMP fields with the database columns.

I also cannot get the datasource values from a running Weblogic server (even one i defined to run integrated within intellij). When i try to list the data sources none of the datasources I have defined are displayed.

Trying to deploy any entity EJB results in an error message saying

"While reading META-INF/weblogic-cmp-rdbms-jar.xml, the persistence layer of the Entity EJB failed to deploy. The error was:
Error in descriptor line 7: Error parsing file at line: 7 column: 21. The content of element type "table-map" is incomplete, it must match "(table-name,field-map*,verify-rows?,verify-columns?,optimistic-column?)"

Please if there is a step by step to sort this issue out someone help me with it. This is getting very fustrating!

Cheers.

2 comments
Comment actions Permalink

I had the same problem using WebLogic 7.x with Oracle 9.x.

What database are you using?

AFAIK, IntelliJ EJB CMP datasource references only work for the default
schema assigned to the user that you log in with. Since all my tables are
in a schema other than the default one, none of them get listed.
I posted a related question (news:c2i8o1$fcc$1@is.intellij.net ) in this
forum three weeks ago but there was no reply.

Since you are currently dealing with this, you should probably post an issue
in tracker. My efforts were just an asside, so I don't think that I could
easily recreate the project right now.

Tim

"donniebr2k" <no_mail@jetbrains.com> wrote in message
news:17933209.1080696884247.JavaMail.itn@is.intellij.net...

Hi,

>

I have set up weblogic and intellij integration but i am having problems

configuring and deploying entity ejb's.
>

After I define the ejb completely and create CMP fields i cannot define

values for the entity bean datasource. If i attempt to define the datasource
using local drivers i get a sucessful connection to the database but the
tables do not get listed in the respective drop down list box for me to map
the CMP fields with the database columns.
>

I also cannot get the datasource values from a running Weblogic server

(even one i defined to run integrated within intellij). When i try to list
the data sources none of the datasources I have defined are displayed.
>

Trying to deploy any entity EJB results in an error message saying

>

"While reading META-INF/weblogic-cmp-rdbms-jar.xml, the persistence layer

of the Entity EJB failed to deploy. The error was:

Error in descriptor line 7: Error parsing file at line: 7 column: 21.

The content of element type "table-map" is incomplete, it must match
"(table-name,field-map*,verify-rows?,verify-columns?,optimistic-column?)"
>

Please if there is a step by step to sort this issue out someone help me

with it. This is getting very fustrating!
>

Cheers.



0
Comment actions Permalink

I am using Weblogic with Microsoft SQL Server. I have tried retrieving the datasource from a running weblogic server and also manually specifying Microsoft SQL Server JDBC Driver.

When i specify the driver and fill in the connection details, I get a successful connection irregardless of a wrong username and password combination. But I do not see a listing for me to map the CMP fields to the columns in the database.

I hope this helps. Thanks for your help so far.

Sincerely

Ugo Enyioha

0

Please sign in to leave a comment.