aspose file tools*
The moose likes BEA/Weblogic and the fly likes weblogic.appc failed to compile your application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "weblogic.appc failed to compile your application" Watch "weblogic.appc failed to compile your application" New topic
Author

weblogic.appc failed to compile your application

Amarnath Reddy Kanuganti
Greenhorn

Joined: Sep 09, 2008
Posts: 1
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

Joined: Jan 30, 2006
Posts: 147
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

Joined: Feb 11, 2010
Posts: 12
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




 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: weblogic.appc failed to compile your application