• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

weblogic.appc failed to compile your application

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.


 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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




 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic