• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

weblogic.appc failed to compile your application

 
Amarnath Reddy Kanuganti
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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]


Can anyone please help on this ?

Regards,
Amar.
 
Ed Ward
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
files.

Sorry, can't be of more help.


 
vika mishra
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Edward,
I am also migrating from WL7 to WL10 and facing the error while migrating from ejbc to appc:-
jar-ejb-general:

[jar] Building jar: D:\nestportal\nestp\build\jars\nestportal-ejb-temp-brij.jar

[java] com/bea/xml/XmlException

[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




 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic