We have migrated our application to weblogic 9.2 from weblogic 8.1 and changed the deployment descriptors (ejb-jar.xml & weblogic-ejb-jar.xml) versions to 2.1 from 2.0
After that, when we are trying to run the build.xml the following error is being thrown.
[java] <Jun 18, 2009 2:46:49 PM IST> <Error> <J2EE> <BEA-160187> <weblogic.appc failed to compile your application. Recompile with the -verbose option for more details. Please see the error message(s) below.>
[java] getLocalName() may only be called on a START_ELEMENT, END_ELEMENT or ENTITY_REFERENCE event, the current state is [END_DOCUMENT]
Did you try to recompile with the verbose option ?
What JDK is the build script using?
It's just a thought, but maybe check the JVM version which Ant is using compares to that of WL.
Also, I think (though am not certain) that with WL9 there were a number of JEE spec items which were tightened up.
I recently did a migration from WL7 directly to WL10 and found that I had to change a number of elements in various descriptor
I am also migrating from WL7 to WL10 and facing the error while migrating from ejbc to appc:-
[jar] Building jar: D:\nestportal\nestp\build\jars\nestportal-ejb-temp-brij.jar
[java] <Jan 17, 2011 10:14:02 AM IST> <Error> <J2EE> <BEA-160187> <weblogic.appc failed to compile your application. Recompile with the -verbose option for more details. Please see the error message(s) below.>
[java] Java Result: 1
Can you suggest me what changes are required in descriptor files.
ANy input from you will be of great help