Weblogic integration

I'm using IDEA 4.0 with Weblogic integration to work in project which began much earlier than IDEA 4.0 has appeared, so all deployment descriptors are already written and using in our work process.

When I'm creating EJB module I have to point the IDEA to weblogic-ejb-jar.xml, so it can be used by it. Unfortunately, every time IDEA tries to synchronize files it parses weblogic-ejb-jar.xml and by some unknown reason assumes that my descriptor is bad and tries to rewrite it, removing some jndi-name entries and so on. After this our application cannot be deployed (and I'm not surpised!). How can I disable such "intelligent" feature? Marking descriptor read-only doesn't help (IDEA asks 10 times to Check-out file), exluding META-INF directory doesn't help too.

Thanks in advance.

4 comments
Comment actions Permalink

I am also fighting with this problem.

I've found this defect http://www.intellij.net/tracker/idea/viewSCR?publicId=30110 (that havn't been fixed yet)

0
Comment actions Permalink

Click on "Project", then on "J2EE" tab, then doubleclick on your EJB. On the right side you see "General", "Assembly Descriptor" and "WebLogic Server".
Klick on the "WebLogic Server" tab. You have to put your JNDI Name in this field.
This should be the solution for your Problem

0
Comment actions Permalink

Thanks for you advice.

Yes, this will be the solution if you are just creating new project. IDEA does NOT extract JNDI name information from the file, it just writes new data to it, so if you have your own descriptor written by hands and it contains about 100 enterprise beans entries then it's hard to edit JNDI name property for all of them within IDEA.

If JNDI name field in EJB properties tab will be filled correctly using data in descriptor we using, then this will be the desired solution.

0
Comment actions Permalink

Hello
I have an existing application that deploys and runs fine in WLS8.1 and I'm experienceing the same behavior. Also, when I try to edit the existing DDs Intellij only recognizes the last 3 CMR entries.Is there a way to get Intellij to read, and accept, what is in an existing set of DDs?

Thanks
Tom

0

Please sign in to leave a comment.