0 Replies Latest reply on Dec 20, 2006 2:07 PM by 666705

    Deployment descriptor "weblogic.xml" is malformed.

    666705
      Hi All,

      Appreciate if anyone can help.


      I have set up a cluster containing two nodes - one local and other
      remote machine on weblogic 8.1.4
      then i install my application this cluster setup its working fine.
      for my requirement i upgrade the the weblogic version from 8.1.4 to
      8.1.6 .
      i upgrade through the smart update from the bea site . i upgraded both
      the node.
      i started the admin server.it started with no issue.
      my problem comes when i start the my managed server on the cluster .it
      gives me this exception.


      <HTTP> <BEA-101296> <Unable to load the default compiler class
      "com.sun.tools.javac.Main". Using the default javac compiler to compile
      JSPs.>


      i checked the classpath it has the same jdk that i used for 8.1.4
      (jdk1.4.05 from sun.)


      should i used new jdk that comes with the upgrade package of 8.1.6 like
      (jdk1.4.11)
      my class path having the weblogic jar also.


      this is my class path.:
      E:\bea\weblogic81\server\lib\weblogic.jar and other my application
      jars.


      complete exception it is shown like :


      <Dec 19, 2006 12:44:58 PM GMT+05:30> <Warning> <HTTP> <BEA-101247>
      <Application:
      'E:\bea\user_projects\domains\wlupgdomain\XLApplications\WLNexaweb.ear',
      Module: 'Nexaweb': Public ID references the old version of the Servlet
      DTD. You must change the public ID in web.xml file to "-//Sun
      Microsystems, Inc.//DTD Web Application 2.3//EN".>
      <Dec 19, 2006 12:45:00 PM GMT+05:30> <Warning> <HTTP> <BEA-101248>
      <[Application:
      'E:\bea\user_projects\domains\wlupgdomain\XLApplications\WLXellerateFull.ea?br>Module: 'xlWebApp']: Deployment descriptor "weblogic.xml" is malformed.
      Check against the DTD: org.xml.sax.SAXParseException: The content of
      element type "weblogic-web-app" must match
      "(description?,weblogic-version?,security-role-assignment*,run-as-role-assi?t*,reference-descriptor?,session-descriptor?,jsp-descriptor?,auth-filt?ontainer-descriptor?,charset-params?,virtual-directory-mapping*,url-ma?ap?,preprocessor*,preprocessor-mapping*,security-permission?,context-r?wl-dispatch-policy?,servlet-descriptor*,init-as*,destroy-as*)".
      (line 26, column 20).>
      Compiler class: 'com.sun.tools.javac.Main', not found
      java.lang.ClassNotFoundException: com.sun.tools.javac.Main
      at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:141)
      at
      weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.ja?6)


      at
      weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)


      at
      weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)


      at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
      at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
      at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
      at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:498)
      at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:793)


      at
      weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:708?>

      at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1431)
      at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:496)
      at
      weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContain?va:3212)


      at
      weblogic.j2ee.J2EEApplicationContainer.tryPrepareModules(J2EEApplicationCon?r.java:1628)


      at
      weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContai?ava:1584)


      at
      weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?3)


      at
      weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?6)


      at
      weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?)


      at
      weblogic.management.deploy.slave.SlaveDeployer$Application.prepare(SlaveDep?.java:3058)


      at
      weblogic.management.deploy.slave.SlaveDeployer.prepareAllApplications(Slave?yer.java:985)


      at
      weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:34?r>

      at
      weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(Depl?tManagerServerLifeCycleImpl.java:229)


      at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136)
      at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965)
      at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360)
      at weblogic.Server.main(Server.java:32)
      <Dec 19, 2006 12:45:00 PM GMT+05:30> <Warning> <EJB> <BEA-010202>
      <Call-by-reference is not enabled for the EJB 'JMSBean'. The server
      will have better performance if it is enabled. To enable
      call-by-reference, set the enable-call-by-reference element to True in
      the weblogic-ejb-jar.xml deployment descriptor for this EJB.>
      <Dec 19, 2006 12:45:00 PM GMT+05:30> <Error> <Deployer> <BEA-149205>
      <Failed to initialize the application Xellerate due to error
      weblogic.management.ApplicationException: prepare failed for
      xlBackOfficeBeans.jar
      {
      Module Name: xlBackOfficeBeans.jar, Error: Exception preparing module:
      EJBModule(xlBackOfficeBeans.jar,status=NEW)


      Unable to deploy EJB: xlBackOfficeBeans.jar from xlBackOfficeBeans.jar:


      Compiler class: 'com.sun.tools.javac.Main', not found


      at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:274)
      at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
      at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
      at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:498)
      at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:793)


      at
      weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:708?>

      at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1431)
      at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:496)
      at
      weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContain?va:3212)


      at
      weblogic.j2ee.J2EEApplicationContainer.tryPrepareModules(J2EEApplicationCon?r.java:1628)


      at
      weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContai?ava:1584)


      at
      weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?3)


      at
      weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?6)


      at
      weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?)


      at
      weblogic.management.deploy.slave.SlaveDeployer$Application.prepare(SlaveDep?.java:3058)


      at
      weblogic.management.deploy.slave.SlaveDeployer.prepareAllApplications(Slave?yer.java:985)


      at
      weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:34?r>

      at
      weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(Depl?tManagerServerLifeCycleImpl.java:229)


      at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136)
      at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965)
      at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360)
      at weblogic.Server.main(Server.java:32)


      java.io.IOException: Compiler class: 'com.sun.tools.javac.Main', not
      found
      at
      weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.ja?1)


      at
      weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)


      at
      weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)


      at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
      at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
      at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
      at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:498)
      at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:793)


      at
      weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:708?>

      at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1431)
      at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:496)
      at
      weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContain?va:3212)


      at
      weblogic.j2ee.J2EEApplicationContainer.tryPrepareModules(J2EEApplicationCon?r.java:1628)


      at
      weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContai?ava:1584)


      at
      weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?3)


      at
      weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?6)


      at
      weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?)


      at
      weblogic.management.deploy.slave.SlaveDeployer$Application.prepare(SlaveDep?.java:3058)


      at
      weblogic.management.deploy.slave.SlaveDeployer.prepareAllApplications(Slave?yer.java:985)


      at
      weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:34?r>

      at
      weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(Depl?tManagerServerLifeCycleImpl.java:229)


      at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136)
      at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965)
      at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360)
      at weblogic.Server.main(Server.java:32)



      }.


      weblogic.management.ApplicationException: prepare failed for
      xlBackOfficeBeans.jar
      {
      Module Name: xlBackOfficeBeans.jar, Error: Exception preparing module:
      EJBModule(xlBackOfficeBeans.jar,status=NEW)

      Unable to deploy EJB: xlBackOfficeBeans.jar from xlBackOfficeBeans.jar:


      Compiler class: 'com.sun.tools.javac.Main', not found


      at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:274)
      at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
      at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
      at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:498)
      at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:793)


      at
      weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:708?>

      at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1431)
      at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:496)
      at
      weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContain?va:3212)


      at
      weblogic.j2ee.J2EEApplicationContainer.tryPrepareModules(J2EEApplicationCon?r.java:1628)


      at
      weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContai?ava:1584)


      at
      weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?3)


      at
      weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?6)


      at
      weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?)


      at
      weblogic.management.deploy.slave.SlaveDeployer$Application.prepare(SlaveDep?.java:3058)


      at
      weblogic.management.deploy.slave.SlaveDeployer.prepareAllApplications(Slave?yer.java:985)


      at
      weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:34?r>

      at
      weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(Depl?tManagerServerLifeCycleImpl.java:229)


      at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136)
      at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965)
      at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360)
      at weblogic.Server.main(Server.java:32)


      java.io.IOException: Compiler class: 'com.sun.tools.javac.Main', not
      found
      at
      weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.ja?1)


      at
      weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)


      at
      weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)


      at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
      at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
      at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
      at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:498)
      at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:793)


      at
      weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:708?>

      at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1431)
      at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:496)
      at
      weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContain?va:3212)


      at
      weblogic.j2ee.J2EEApplicationContainer.tryPrepareModules(J2EEApplicationCon?r.java:1628)


      at
      weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContai?ava:1584)


      at
      weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?3)


      at
      weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?6)


      at
      weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?)


      at
      weblogic.management.deploy.slave.SlaveDeployer$Application.prepare(SlaveDep?.java:3058)


      at
      weblogic.management.deploy.slave.SlaveDeployer.prepareAllApplications(Slave?yer.java:985)


      at
      weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:34?r>

      at
      weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(Depl?tManagerServerLifeCycleImpl.java:229)


      at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136)
      at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965)
      at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360)
      at weblogic.Server.main(Server.java:32)



      }


      at
      weblogic.j2ee.J2EEApplicationContainer.tryPrepareModules(J2EEApplicationCon?r.java:1658)

      at
      weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContai?ava:1584)


      at
      weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?3)


      at
      weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?6)


      at
      weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.jav?)


      at
      weblogic.management.deploy.slave.SlaveDeployer$Application.prepare(SlaveDep?.java:3058)


      at
      weblogic.management.deploy.slave.SlaveDeployer.prepareAllApplications(Slave?yer.java:985)


      at
      weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:34?r>

      at
      weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(Depl?tManagerServerLifeCycleImpl.java:229)


      at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136)
      at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965)
      at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360)
      at weblogic.Server.main(Server.java:32)



      <Dec 19, 2006 12:45:00 PM GMT+05:30> <Emergency> <Deployer>
      <BEA-149229> <Server xlManagedServer_1 in cluster xlCluster is unable
      to initialize due to failed deployments.>
      <Dec 19, 2006 12:45:00 PM GMT+05:30> <Error> <Deployer> <BEA-149601>
      <The deployment framework was unable to resume accepting requests.>
      <Dec 19, 2006 12:45:00 PM GMT+05:30> <Emergency> <WebLogicServer>
      <BEA-000342> <Unable to initialize the server: [Deployer:149601]The
      deployment framework was unable to resume accepting
      requests.[Deployer:149229]Server xlManagedServer_1 in cluster xlCluster
      is unable to initialize due to failed deployments.>

      hope the scope of the questions is not too broad. Kindly let me know
      if you need more information.


      Thanks a lot.