Custom ClassLoader - fails to load java/lang/Object

I have created a custom class loader based substantially on Jim Farley's code in "Java Distributed Computing" pp 39-44.
The code does get a URL connection, download the class file, but fails when it tries to load (re-load) java/lang/Object. My understanding is that the same (custom) class loader is also used to load dependent classes (needed by the class your are originally loading). I had assumed that this would be handled by the call to findSystemClass() I had assumed.
Any help or direction is appreciated,
Jeff.
Here is the output:
File=/tasks/Person.class
Host=n01
Trying to load:/tasks/Person
Check system :/tasks/Person
Not found in System:/tasks/Person
Check stream:/tasks/Person
Class file is 815 bytes.
Available = 815
RemoteClassLoader: Reading class from stream...
RemoteClassLoader: Defining class...
java.lang.ClassNotFoundException: Cannot find class definition:
java.lang.NoClassDefFoundError: java/lang/Object
     at java.lang.ClassLoader.defineClass0(Native Method)
     at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
     at java.lang.ClassLoader.defineClass(ClassLoader.java:426)
     at RemoteClassLoader.readClass(RemoteClassLoader.java:83)
     at RemoteClassLoader.loadClass(RemoteClassLoader.java:139)
     at TestRemoteClassLoader.main(TestRemoteClassLoader.java:18)
Class was not loaded.Here is the code:
import java.lang.*;
import java.net.*;
import java.io.*;
import java.util.Hashtable;
public class RemoteClassLoader extends ClassLoader {
   URL classURL = null;
   InputStream classStream = null;
   java.lang.Object o = null;
   Hashtable classCache = new Hashtable();
   InputStream source = null;
   // Constructor
   public RemoteClassLoader()
   // Parse a class name from a class locator (URL, filename, etc.)
   protected String parseClassName(String classLoc)
      throws ClassNotFoundException
         String className = null;
         try { classURL = new URL(classLoc); }
         catch (MalformedURLException malex) {
            throw new ClassNotFoundException("Bad URL \"" + classLoc + "\"given: " + malex);
         System.out.println("File=" + classURL.getFile());
         System.out.println("Host=" + classURL.getHost());
         String filename = classURL.getFile();
         // Make sure this is a class file
         if (!filename.endsWith(".class"))
            throw new ClassNotFoundException("Non-class URL given.");
         else
            className = filename.substring(0,filename.lastIndexOf(".class"));
         return className;
   // Initialize the input stream from a class locator
   protected void initStream(String classLoc)
      throws IOException
         classStream = classURL.openStream();
   // Read a class from the input stream
   protected Class readClass(String classLoc, String className)
      throws IOException, ClassNotFoundException
         //See how large the class file is.
         URLConnection conn = classURL.openConnection();
         int classSize = conn.getContentLength();
         System.out.println("Class file is " + classSize + " bytes.");
         // Read the class bytecodes from the stream
         DataInputStream dataIn = new DataInputStream(classStream);
         int avail = dataIn.available();
         System.out.println("Available = " + avail);
         System.out.println("RemoteClassLoader: Reading class from stream...");
         byte[] classData = new byte[classSize];
         dataIn.readFully(classData);
         // Parse the class definition from the bytecodes
         Class c = null;
         System.out.println("RemoteClassLoader: Defining class...");
         try{ c = defineClass(null, classData, 0, classData.length); }
         catch (ClassFormatError cfex) {
            throw new ClassNotFoundException("Format error found in class data.");
         catch (NoClassDefFoundError clsdeferr) {
            clsdeferr.printStackTrace();           
            throw new ClassNotFoundException("Cannot find class definition:\n" + clsdeferr);
         return c;
   // load the class
   public Class loadClass(String classLoc, boolean resolve)
      throws ClassNotFoundException
         String className = parseClassName(classLoc);
         Class c;
         System.out.println("Trying to load:" + className);
         //maybe already loaded
         c = findLoadedClass(className);
         if (c!=null) {
            System.out.println("Already loaded.");
            return c;
         c = (Class) classCache.get(className);
         if (c!=null) {
            System.out.println("Class was loaded from cache...");
            return c;
         System.out.println("Check system :" + className);
         // Not in cache, try the system class...
         try {
            c = findSystemClass(className);
            if (c!=null) {
               System.out.println("System class found...");
               classCache.put(className, c);
               return c;
         catch (ClassNotFoundException cnfex) {
            System.out.println("Not found in System:" + className);
            ; // keep looking
         System.out.println("Check stream:" + className);
         // Not in system either, so try to get from tthe stream
         try {initStream(classLoc); }
         catch (IOException ioe) {
            throw new ClassNotFoundException("Failed opening stream to URL.");
         // Read the class from the input stream
         try {c = readClass(classLoc, className); }
         catch (IOException ioe) {
               throw new ClassNotFoundException("Failed reading class from stream: " + ioe);
         // Add the new class to the cache for the next reference.
         classCache.put(className, c);
         // Resovle the class, if requested
         if (resolve)
            resolveClass(c);
         return c;

Never mind - I've figure it out.
The problem is that the ClassLoader calls RemoteClassLoader.loadClass() to load in java.lang.Object, which is fine. But, my code tries to first create a URL from this, which fails, eventually throwing a NoClassDefFoundError.
I have fixed it by delaying the call to parseName() until after checking loaded classes and system classes.

Similar Messages

  • Custom classloader fails when using Java Web Start

    Hope you can help me with a problem that is driving me nuts. I have implemented my own classloader to support plugins. This classloader works as follows:
    1. The classloader is configured to access a plugin components jar file downloaded by jws.
    2. The plugin components jar file contains other jar files which contains the actual plugin code to be loaded using my own classloader.
    3. Upon initialization - my classloader extracts all jar files contained in the plugin components jar file into temporary files.
    4. These temporary files are used by my classloader when defining plugin classes.
    The classloader works fine when not using java web start. Then I launch the application using java web start with security policy in .jnlp file set to:
    <security>
    <all-permissions/>
    </security>
    After a while (it was able to load some of the classes) it fails with the following stack-trace:
    Regards,
    Terje
    java.security.AccessControlException: access denied (java.io.FilePermission C:\DOCUME~1\TEOES\LOCALS~1\Temp\activity61102.jar read)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkRead(Unknown Source)
         at java.util.zip.ZipFile.<init>(Unknown Source)
         at java.util.jar.JarFile.<init>(Unknown Source)
         at java.util.jar.JarFile.<init>(Unknown Source)
         at my.plugin.ActivityClassLoader.getJarFileEntry(ActivityClassLoader.java:258)
         at my.plugin.ActivityClassLoader.search(ActivityClassLoader.java:244)
         at my.plugin.ActivityClassLoader.loadClass(ActivityClassLoader.java:99)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    Does anyone have source code for implementing a simple class loader that can be used with Java Web Start (preferrably with all jar files to be used by the classloader wrapped into a jar file)

    If you implement your own classloader, and then still run with a SecurityManager installed, then your ClossLoader is responsible for asigning the permissions to the code it loads.
    You need your ClassLoader to extend SecureClassLoader, and implement the method :
    SecureClassLoader.getPermissions(CodeSource cs) to return the PermissionCollection you want.
    /Andy

  • JBuilder: Failed to Load Super Class java.lang.Object

    Hi I am a beginner of JBuilder. When I tried to compile some samples from JBuilder, the compiling failed because "Failed to Load Super Class java.lang.Object." Any clue to fix the bug?
    Mark

    Hi
    Thanks for you guys' help. I found that when I create a project, the JBuilder's JDK homepath pointed by default to a JDK directory not existed. Therefore, I modified the JDK homepath through Tools/Configure JDKs. Then it worked.

  • Servlet failed with Exception java.lang.LinkageError: Class javax/servlet/ServletConfig

              Hi
              I registered a web app with Weblogic 5.1 in the weblogic.properties file. I try
              to run the web app from my browser typing http://localhost:7001/xxx(Webapp name)
              and a jsp page. Following is the error I get. It would be helpful if some one
              could point me to a fix for this problem
              Tue May 01 13:56:41 CDT 2001:<I> <ServletContext-omxclient> Generated java file:
              D:\weblogic\myserver\omxclient\_tmp_war\jsp_servlet\_omx\_login.java
              Tue May 01 13:56:43 CDT 2001:<E> <ServletContext-omxclient> Servlet failed with
              Exception
              java.lang.LinkageError: Class javax/servlet/ServletConfig violates loader constr
              aints
              at jsp_servlet._omx._login._jspService(_login.java:59)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:105)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:123)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              textImpl.java:742)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              textImpl.java:686)
              at weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
              ContextManager.java:247)
              at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
              a:361)
              at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              

              Sorry, I didn't look very closely - the exception is for
              javax.servlet.ServletConfig - should be in weblogicaux.jar.
              Is there anything wrong with it? What service pack are you
              using? Could be a problem with weblogic.policy.
              mike
              >>java.lang.LinkageError: Class javax/servlet/ServletConfig
              "KC" <[email protected]> wrote:
              >
              >Hi Mike
              >The login.jsp page just contains a javascript function and two text boxes
              >in it.
              >Will try making changing it. If that is not the issue could you let me
              >know of
              >any other issues.
              >
              >"mreiche" <[email protected]> wrote:
              >>
              >>I would guess that login.jsp is a very large JSP and that
              >>the generated service method is too large for the classloader's
              >>liking. Try making it smaller.
              >>
              >>Mike
              >>
              >>
              >>"KC" <[email protected]> wrote:
              >>>
              >>>Hi
              >>>I registered a web app with Weblogic 5.1 in the weblogic.properties
              >>file.
              >>>I try
              >>>to run the web app from my browser typing http://localhost:7001/xxx(Webapp
              >>>name)
              >>>and a jsp page. Following is the error I get. It would be helpful if
              >>>some one
              >>>could point me to a fix for this problem
              >>>
              >>>Tue May 01 13:56:41 CDT 2001:<I> <ServletContext-omxclient> Generated
              >>>java file:
              >>> D:\weblogic\myserver\omxclient\_tmp_war\jsp_servlet\_omx\_login.java
              >>>Tue May 01 13:56:43 CDT 2001:<E> <ServletContext-omxclient> Servlet
              >>failed
              >>>with
              >>>Exception
              >>>java.lang.LinkageError: Class javax/servlet/ServletConfig violates
              >loader
              >>>constr
              >>>aints
              >>> at jsp_servlet._omx._login._jspService(_login.java:59)
              >>> at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              >>> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              >>>pl.java:105)
              >>> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              >>>pl.java:123)
              >>> at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              >>>textImpl.java:742)
              >>> at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              >>>textImpl.java:686)
              >>> at weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
              >>>ContextManager.java:247)
              >>> at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
              >>>a:361)
              >>> at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
              >>>
              >>> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >>>
              >>>
              >>
              >
              

  • Servlet failed with Exception  java.lang.OutOfMemoryError: PermGen space

    Hello,
    I recently installed BI Apps 11.1.1.7.1 on Oracle Linux 64.
    while i am trying to run the full load i.e. SDE, SILOS and PLP and sometimes while trying to access BIA Configuration Manager..I get below error. while i tried to increase the heap size to 2gb in SetOBIDomain.sh for both bi_server1 and odi_sever1.sh, it is not really affected i.e. i dont see the updated arguments while trying to re start these managed servers. i tried to restart the box and it still did not work...Any idea on where exactly to change/update the parameters to increase the heap size and any other known issues cauing out of memory issues.
    <Sep 30, 2013 11:55:44 AM EDT> <Error> <HTTP> <BEA-101020> <[ServletContext@263264514[app:oracle.biacm module:biacm path:/biacm spec-version:2.5 version:11.1.1.7.1]] Servlet failed with Exception
    java.lang.OutOfMemoryError: PermGen space
    Thank You in advance
    Rakesh

    Hi Fabian,
    It seems that you have got out of memory due to PermGen space, hence increase the MaxPermGen space
    java.lang.OutOfMemoryError: PermGen space
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    Also you can go through the below posts to get more details about JVM architecture and more details about Out of memory
    Topic: Parts Of JVM And JVM Architecture Diagram?
    http://middlewaremagic.com/weblogic/?p=4456
    Topic: OutOfMemory Causes and First Aid Steps?
    http://middlewaremagic.com/weblogic/?p=4464
    Regards,
    Ravish Mody
    http://middlewaremagic.com/weblogic/
    Come, Join Us and Experience The Magic…

  • JDOQL queryfilter failure while retrieving field of "java.lang.Object" Type.

    PROBLEM DESCRIPTION --->
    JDOQL FILTER ON A FIELD OF "java.lang.Object" TYPE, NOT WORKING.
    HELP REQUESTED WITH SUGGESTIONS OR POINTERS TO THE CORRECT SOLUTION.
    Deatiled Problem :=
    Environment :=
    Kodo version 2.4.1 (on Windows 2000).
    J2SDK 1.3.1_06 (on Windows 2000).
    Database:= MySQL 3.23.55 (on Windows 2000).
    Java Class Hierarchy Example:=
    SuperPersistentObject
    |__ LevelOneDescendant
    |__ LevelTwoDescendant
    |__ LastDescendant
    Procedures Followed :=
    Java class named "LastDescendant" is enhanced and persisted in the
    database.
    The field "m_value" is of java type "java.lang.Object" and is
    represented as a "blob" in the database.
    Aadequate data is pumped in the field "m_value" (Data of Type
    String/Integer/Double/Boolean etc.). The class "LastDescendant" is
    retrieved using following JDO specific code :=
    SUCCESSFUL EXAMPLE :=
    Extent extent= PersistentManager.getExtent
    (com.name.project.LastDescendant.class, false);
    String m_queryFilter = "";
    Query query = PersistentManager.getQuery(extent, m_queryFilter);
    Collection m_resultset = (Collection)query.execute();
    The above code returns all the available "LastDescendant" objects
    persisted in the DB. Post Load, The value in the field "m_value" of
    all the retrieved "LastDescendant" objects, is testeded successfully
    and found to be matching to the expected values.
    FAILED EXAMPLE :=
    Extent extent= PersistentManager.getExtent
    (com.name.project.LastDescendant.class, false);
    //Retrieving only the objects whose "m_value" field contains Integer
    // values, between 10 and 9000. (110 objects with Integer value
    // between 10 and 9000 are pumped in the DB, for testing).
    String m_queryFilter = "(m_value >= 10 && m_value <= 9000)";
    Query query = PersistentManager.getQuery(extent, m_queryFilter);
    Collection m_resultset = (Collection)query.execute();
    NO "LastDescendant" OBJECTS RETRIEVED, the Collection "m_resultset" is
    Empty, (Actually Expecting 110 objects).
    Tried every other way, using "declareImports()"/ "declareParameters()"/
    "declareVariables()" etc. Tried TypeCasting the m_value field to Integer,
    but to no avail.
    Actual Classes :=
    public class SuperPersistentObject implements java.io.Serializable {
    protected String appKey;
    public class LevelOneDescendant extends SuperPersistentObject {
    protected SuperPersistentObject m_classRef;
    public class LevelTwoDescendant extends LevelOneDescendant {
    protected Object m_value;
    public class LastDescendant extends LevelTwoDescendant {
    "project.jdo" meta-data entry :=
    <class name="SuperPersistentObject"
    identity-type="application"
    objectid-class="com.name.project.AppKeyImpl">
    <field name="appKey" primary-key="true"/>
    </class>
    <class name="LevelOneDescendant" identity-type="application"
    persistence-capable-superclass =
    "com.name.project.SuperPersistentObject">
    </class>
    <class name="LevelTwoDescendant" identity-type="application"
    persistence-capable-superclass =
    "com.name.project.LevelOneDescendant">
    <field name="m_value">
    <extension vendor-name="kodo" key="data-column" value="VALUE"/>
    </field>
    </class>
    <class name="LastDescendant" identity-type="application"
    persistence-capable-superclass="com.name.project.LevelTwoDescendant">
    </class>
    JDO related properties :=
    javax.jdo.PersistenceManagerFactoryClass =
    com.solarmetric.kodo.impl.jdbc.JDBCPersistenceManagerFactory
    javax.jdo.option.ConnectionURL= jdbc:mysql://localhost/PRTestDB
    javax.jdo.option.ConnectionUserName= SuperUser
    javax.jdo.option.ConnectionPassword= <xxxxxx>
    javax.jdo.option.ConnectionDriverName= com.mysql.jdbc.Driver
    javax.jdo.option.Optimistic= true
    javax.jdo.option.RetainValues= true
    javax.jdo.option.NontransactionalRead= true
    javax.jdo.option.NontransactionalWrite= true
    javax.jdo.option.RestoreValues= true
    javax.jdo.option.Multithreaded= true
    javax.jdo.option.MsWait= 5000
    javax.jdo.option.IgnoreCache= false
    javax.jdo.option.MinPool= 1
    javax.jdo.option.MaxPool= 80
    com.solarmetric.kodo.impl.jdbc.WarnOnPersistentTypeFailure= true
    com.solarmetric.kodo.impl.jdbc.SequenceFactoryClass=
    com.solarmetric.kodo.impl.jdbc.schema.DBSequenceFactory
    com.solarmetric.kodo.impl.jdbc.FlatInheritanceMapping= true
    com.solarmetric.kodo.LicenseKey= <xxxx-yyyy-zzzz-2345-6789>
    com.solarmetric.kodo.EnableQueryExtensions= false
    com.solarmetric.kodo.DefaultFetchThreshold= 30
    com.solarmetric.kodo.DefaultFetchBatchSize= 10

    You can't query on a blob column.

  • Java/lang/NoClassDefFoundError: java/lang/Object

    Hi Experts,
    We are installing Java "1.6.0_31.We have updated the environment variables with the correct Java Path but which checking the java -version we are getting the following error.
    java -version
    Error occurred during initialization of VM
    java/lang/NoClassDefFoundError: java/lang/Object
    hence the DAC service is not starting giving the following error.
    startserver.h: startserver.h: cannot open
    OS detected: SunOS
    ld.so.1: java: fatal: libjli.so: open failed: No such file or directory
    Killed
    Following are the environment variable entries.
    PATH=/opt/SUNWspro/bin:/../oracle/product/10.2.0/client_1/bin:/.../Informatica/PowerCenter8.6.1/server/bin:/usr/sfw/bin:/...../JAVA631/jdk1.6.0_31/bin/sparcv9:/.../JAVA631/jdk1.6.0_31/lib:/..../JAVA631/jdk1.6.0_31/jre/lib/sparcv9/jli:/...../JAVA631/jdk1.6.0_31/jre/lib/sparcv9:$PATH
    export PATH
    Need ur support.
    Thanks

    Where do you run shell script?
    What's your Oracle's version?
    What's text of your shell script?
    By asking 100 questions and keeping 90 of them "unanswered" you throw yourself to the list of "blacklist users"
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]
    Edited by: Kamran Agayev A. on May 19, 2009 1:28 PM

  • Unmarshaller failed and com.bea.xml.XmlException: failed to load java type

    Hello guys!
    i use weblogic 9.2.3 and JDK 150_12 and JDeveloper 10
    i set up a connection from JDeveloper to WeblogicServer
    now i want to deploy an application with the JDeveloper using "Deploy to WeblogicServer" in Application field of the JDeveloper, but i get this error-message!
    Can somebody help me?
    Stack trace for message 149004
    weblogic.management.DeploymentException: Unmarshaller failed
    at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:189)
    at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
    at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
    at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
    at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:88)
    at weblogic.management.deploy.internal.MBeanConverter.createApplicationForAppDeployment(MBeanConverter.java:66)
    at weblogic.management.deploy.internal.MBeanConverter.setupNew81MBean(MBeanConverter.java:314)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.compatibilityProcessor(ActivateOperation.java:72)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.setupPrepare(AbstractOperation.java:295)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:86)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718)
    at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:247)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
    at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    com.bea.xml.XmlException: failed to load java type corresponding to e=application@http://java.sun.com/xml/ns/javaee
    at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:325)
    at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:292)
    at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:302)
    at com.bea.staxb.runtime.internal.UnmarshalResult.determineRootType(UnmarshalResult.java:283)
    at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:153)
    at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
    at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:136)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:280)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:749)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:378)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:720)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:729)
    at weblogic.application.ApplicationDescriptor.getApplicationDescriptor(ApplicationDescriptor.java:277)
    at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:174)
    at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
    at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
    at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
    at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:88)
    at weblogic.management.deploy.internal.MBeanConverter.createApplicationForAppDeployment(MBeanConverter.java:66)
    at weblogic.management.deploy.internal.MBeanConverter.setupNew81MBean(MBeanConverter.java:314)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.compatibilityProcessor(ActivateOperation.java:72)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.setupPrepare(AbstractOperation.java:295)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:86)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718)
    at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:247)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
    at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

    i opened the console and want to install the application with the EAR.file, but there appears new Errors:
    Error     Unable to access the selected application
    Error     Exception in AppMerge flows' progression
    and the log.file throws:
    <Error> <J2EE> <BEA-160197> <Unable to load descriptor /opt/oracle/bea/user_projects/domains/SOADomain/servers/AdminServer/tmp/.appmergegen_1234189517852_SOADEMO-CREDITSERVICE-CreditService-WS.ear/META-INF/application.xml of module SOADEMO-CREDITSERVICE-CreditService-WS.ear. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed
    at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:147)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:280)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:749)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:378)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:720)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:729)
    at weblogic.application.ApplicationDescriptor.getApplicationDescriptor(ApplicationDescriptor.java:277)
    at weblogic.application.compiler.CompilerCtx.setApplicationDescriptor(CompilerCtx.java:127)
    at weblogic.application.compiler.AppcUtils.setDDs(AppcUtils.java:139)
    at weblogic.application.compiler.flow.DescriptorParsingFlow.compile(DescriptorParsingFlow.java:64)
    at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96)
    at weblogic.application.compiler.ReadOnlyEarMerger.merge(ReadOnlyEarMerger.java:43)
    at weblogic.application.compiler.flow.AppMergerFlow.mergeInput(AppMergerFlow.java:94)
    at weblogic.application.compiler.flow.AppMergerFlow.compile(AppMergerFlow.java:47)
    at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96)
    at weblogic.application.compiler.AppMerge.runBody(AppMerge.java:133)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:115)
    at weblogic.application.compiler.AppMerge.merge(AppMerge.java:145)
    at weblogic.deploy.api.internal.utils.AppMerger.merge(AppMerger.java:70)
    at weblogic.deploy.api.internal.utils.AppMerger.getMergedApp(AppMerger.java:51)
    at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createDeployableObject(WebLogicDeployableObjectFactoryImpl.java:177)
    at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createLazyDeployableObject(WebLogicDeployableObjectFactoryImpl.java:150)
    at weblogic.deploy.api.tools.SessionHelper.inspect(SessionHelper.java:645)
    at com.bea.console.actions.app.install.Flow.appSelected(Flow.java:450)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:869)
    at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:808)
    at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:477)
    at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:305)
    at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:335)
    at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:51)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:95)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2042)
    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:63)
    at org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptor.wrapAction(ActionInterceptor.java:167)
    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.invoke(ActionInterceptors.java:49)
    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:57)
    at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:86)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2114)
    at com.bea.console.internal.ConsolePageFlowRequestProcessor.processActionPerform(ConsolePageFlowRequestProcessor.java:234)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:554)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:851)
    at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:630)
    at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:157)
    at com.bea.console.internal.ConsoleActionServlet.process(ConsoleActionServlet.java:241)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    at com.bea.console.internal.ConsoleActionServlet.doGet(ConsoleActionServlet.java:130)
    at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1169)
    at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:688)
    at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:144)
    at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.processAction(PageFlowStubImpl.java:107)
    at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:99)
    at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:180)
    at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:168)
    at com.bea.netuix.servlets.controls.content.NetuiContent.handlePostbackData(NetuiContent.java:222)
    at com.bea.netuix.nf.ControlLifecycle$2.visit(ControlLifecycle.java:178)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:351)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:128)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:339)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:330)
    at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:162)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:137)
    at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:419)
    at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:267)
    at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:197)
    at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:237)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:124)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3242)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2010)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    Caused by: com.bea.xml.XmlException: failed to load java type corresponding to e=application@http://java.sun.com/xml/ns/javaee
    at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:325)
    at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:292)
    at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:302)
    at com.bea.staxb.runtime.internal.UnmarshalResult.determineRootType(UnmarshalResult.java:283)
    at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:153)
    at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
    at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:136)
    ... 123 more

  • Com.bea.xml.XmlException: failed to load java type corresponding to e=ejb-j

    When I try to migrate my ejb application from weblogic 8.1 to 9.2 using Ant build script , I have received the following error stacks :
    [wlappc] com.bea.xml.XmlException: failed to load java type corresponding to e=ejb-jar
    [wlappc]      at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:325)
    [wlappc]      at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:292)
    [wlappc]      at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:302)
    [wlappc]      at com.bea.staxb.runtime.internal.UnmarshalResult.determineRootType(UnmarshalResult.java:283)
    [wlappc]      at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:153)
    [wlappc]      at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
    [wlappc]      at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:136)
    [wlappc]      at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:280)
    [wlappc]      at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
    [wlappc]      at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:309)
    [wlappc]      at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:344)
    [wlappc]      at weblogic.application.descriptor.CachingDescriptorLoader.createDescriptor(CachingDescriptorLoader.java:188)
    [wlappc]      at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:328)
    [wlappc]      at weblogic.application.descriptor.AbstractDescriptorLoader.getDescriptor(AbstractDescriptorLoader.java:237)
    [wlappc]      at weblogic.application.descriptor.AbstractDescriptorLoader.getRootDescriptorBean(AbstractDescriptorLoader.java:217)
    [wlappc]      at weblogic.ejb.spi.EjbJarDescriptor.getEjbJarBean(EjbJarDescriptor.java:141)
    [wlappc]      at weblogic.ejb.container.dd.xml.DDUtils.processEjbJarXMLWithSchema(DDUtils.java:517)
    [wlappc]      at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:182)
    [wlappc]      at weblogic.ejb.container.dd.xml.DDUtils.createReadOnlyDescriptorFromJarFile(DDUtils.java:141)
    [wlappc]      at weblogic.ejb.container.ejbc.EJBCompiler.parseDescriptors(EJBCompiler.java:1351)
    [wlappc]      at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:431)
    [wlappc]      at weblogic.application.compiler.AppcUtils.compileEJB(AppcUtils.java:297)
    [wlappc]      at weblogic.application.compiler.EJBCompiler.compile(EJBCompiler.java:96)
    [wlappc]      at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:118)
    [wlappc]      at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
    [wlappc]      at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    [wlappc]      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    [wlappc]      at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    [wlappc]      at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
    [wlappc]      at weblogic.application.compiler.Appc.runBody(Appc.java:163)
    [wlappc]      at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [wlappc]      at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [wlappc]      at weblogic.application.compiler.Appc.main(Appc.java:174)
    [wlappc]      at weblogic.appc.main(appc.java:14)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [wlappc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [wlappc]      at java.lang.reflect.Method.invoke(Unknown Source)
    [wlappc]      at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:290)
    [wlappc]      at weblogic.ant.taskdefs.j2ee.Appc.privateExecute(Appc.java:250)
    [wlappc]      at weblogic.ant.taskdefs.j2ee.Appc.execute(Appc.java:159)
    [wlappc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [wlappc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [wlappc]      at java.lang.reflect.Method.invoke(Unknown Source)
    [wlappc]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    [wlappc]      at org.apache.tools.ant.Task.perform(Task.java:348)
    [wlappc]      at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
    [wlappc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [wlappc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [wlappc]      at java.lang.reflect.Method.invoke(Unknown Source)
    [wlappc]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    [wlappc]      at org.apache.tools.ant.Task.perform(Task.java:348)
    [wlappc]      at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:391)
    [wlappc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [wlappc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [wlappc]      at java.lang.reflect.Method.invoke(Unknown Source)
    [wlappc]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    [wlappc]      at org.apache.tools.ant.Task.perform(Task.java:348)
    [wlappc]      at org.apache.tools.ant.Target.execute(Target.java:357)
    [wlappc]      at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [wlappc]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
    [wlappc]      at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
    [wlappc]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [wlappc]      at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
    [wlappc]      at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
    [wlappc]      at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
    [wlappc]      at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
    So. please help me to comeout from the above said problem.
    Thanks in advance This is very very urgent..
    -- Atanu
    Edited by atanud at 10/25/2007 5:19 AM
    Edited by atanud at 10/25/2007 5:20 AM

    When I try to migrate my ejb application from weblogic 8.1 to 9.2 using Ant build script , I have received the following error stacks :
    [wlappc] com.bea.xml.XmlException: failed to load java type corresponding to e=ejb-jar
    [wlappc]      at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:325)
    [wlappc]      at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:292)
    [wlappc]      at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:302)
    [wlappc]      at com.bea.staxb.runtime.internal.UnmarshalResult.determineRootType(UnmarshalResult.java:283)
    [wlappc]      at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:153)
    [wlappc]      at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
    [wlappc]      at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:136)
    [wlappc]      at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:280)
    [wlappc]      at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
    [wlappc]      at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:309)
    [wlappc]      at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:344)
    [wlappc]      at weblogic.application.descriptor.CachingDescriptorLoader.createDescriptor(CachingDescriptorLoader.java:188)
    [wlappc]      at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:328)
    [wlappc]      at weblogic.application.descriptor.AbstractDescriptorLoader.getDescriptor(AbstractDescriptorLoader.java:237)
    [wlappc]      at weblogic.application.descriptor.AbstractDescriptorLoader.getRootDescriptorBean(AbstractDescriptorLoader.java:217)
    [wlappc]      at weblogic.ejb.spi.EjbJarDescriptor.getEjbJarBean(EjbJarDescriptor.java:141)
    [wlappc]      at weblogic.ejb.container.dd.xml.DDUtils.processEjbJarXMLWithSchema(DDUtils.java:517)
    [wlappc]      at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:182)
    [wlappc]      at weblogic.ejb.container.dd.xml.DDUtils.createReadOnlyDescriptorFromJarFile(DDUtils.java:141)
    [wlappc]      at weblogic.ejb.container.ejbc.EJBCompiler.parseDescriptors(EJBCompiler.java:1351)
    [wlappc]      at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:431)
    [wlappc]      at weblogic.application.compiler.AppcUtils.compileEJB(AppcUtils.java:297)
    [wlappc]      at weblogic.application.compiler.EJBCompiler.compile(EJBCompiler.java:96)
    [wlappc]      at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:118)
    [wlappc]      at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
    [wlappc]      at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    [wlappc]      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    [wlappc]      at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    [wlappc]      at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
    [wlappc]      at weblogic.application.compiler.Appc.runBody(Appc.java:163)
    [wlappc]      at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [wlappc]      at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [wlappc]      at weblogic.application.compiler.Appc.main(Appc.java:174)
    [wlappc]      at weblogic.appc.main(appc.java:14)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [wlappc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [wlappc]      at java.lang.reflect.Method.invoke(Unknown Source)
    [wlappc]      at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:290)
    [wlappc]      at weblogic.ant.taskdefs.j2ee.Appc.privateExecute(Appc.java:250)
    [wlappc]      at weblogic.ant.taskdefs.j2ee.Appc.execute(Appc.java:159)
    [wlappc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [wlappc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [wlappc]      at java.lang.reflect.Method.invoke(Unknown Source)
    [wlappc]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    [wlappc]      at org.apache.tools.ant.Task.perform(Task.java:348)
    [wlappc]      at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
    [wlappc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [wlappc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [wlappc]      at java.lang.reflect.Method.invoke(Unknown Source)
    [wlappc]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    [wlappc]      at org.apache.tools.ant.Task.perform(Task.java:348)
    [wlappc]      at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:391)
    [wlappc]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wlappc]      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [wlappc]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [wlappc]      at java.lang.reflect.Method.invoke(Unknown Source)
    [wlappc]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    [wlappc]      at org.apache.tools.ant.Task.perform(Task.java:348)
    [wlappc]      at org.apache.tools.ant.Target.execute(Target.java:357)
    [wlappc]      at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [wlappc]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
    [wlappc]      at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
    [wlappc]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [wlappc]      at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
    [wlappc]      at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
    [wlappc]      at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
    [wlappc]      at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
    So. please help me to comeout from the above said problem.
    Thanks in advance This is very very urgent..
    -- Atanu
    Edited by atanud at 10/25/2007 5:19 AM
    Edited by atanud at 10/25/2007 5:20 AM

  • Can't convert int to java.lang.Object

    When I deploy my customer Bean, the following error occures, I think the main problem is Can't convert int to java.lang.Object, does anyone facing the same problem with me?
    <pre>C:\j2sdkee1.3\repository\home\gnrtrTMP\CustomerApp\CustomerBean_RemoteHomeImpl.j
    ava:27: Incompatible type for declaration. Can't convert int to java.lang.Object
    java.lang.Object primaryKey = ejb.ejbCreate(param0, param1, para
    m2);
    ^
    C:\j2sdkee1.3\repository\home\gnrtrTMP\CustomerApp\CustomerBean_RemoteHomeImpl.j
    ava:57: Incompatible type for =. Can't convert int to java.lang.Object.
    primaryKeys = ejb.ejbFindByPrimaryKey( param0);
    ^</pre>
    I really need your help!!!

    you can only convert one object type to another. Integer is an object int isnt. You might want to convert int to Integer and then go ahead.
    see if it works.

  • Urgent: FRM - 18108: Failed to load the following objects.... in R12

    Hi,
    I am unable to open forms,
    even it opens with this following error, as well all form fields are not coming.
    anyone give information.
    Please see this following error message:
    FRM - 18108: Failed to load the following objects.
    Source Module: APPSTAND
    Source Object: STANDARD_PC_AND_VA
    Source Module: APPSTAND
    Source Object: STANDARD_TOOLBAR
    Source Module: APPSTAND
    Source Object: STANDARD_CALENDAR
    Cheers from..
    M.K.Thamaraiselvan

    Hi,
    i used to get this following error also, while connecting from windows desktop
    FRM - 18108: Failed to load the following objects.
    Source Module: APPSTAND
    Source Object: STANDARD_PC_AND_VA
    Source Module: APPSTAND
    Source Object: STANDARD_TOOLBAR
    Source Module: APPSTAND
    Source Object: STANDARD_CALENDAR
    FRM-10102: Cannot attach PL/SQL library APPCORE.pll. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library GLOBE. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library JE. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library FNDSQF. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library JA. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library JL. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library VERT. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library CUSTOM. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library APPDAYPK.pll. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library GHR. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library PQH_GEN. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library PSAC. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library IGILUTIL. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library GMS. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library APPCORE2. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library FV. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library OPM. This library attachment will be lost if the module is saved.

  • Server subsys tem failed. Reason: java.lang.UnsupportedClassVersionError

    Hello!
    Is not possible to run WebLogic 10R3 with JAVA 5?
    <24/Nov/2009 10H14m GMT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic
    Server with Java HotSpot(TM) Client VM Version 1.5.0_22-b03 from Sun Microsyste
    ms Inc.>
    <24/Nov/2009 10H14m GMT> <Critical> <WebLogicServer> <BEA-000386> <Server subsys
    tem failed. Reason: java.lang.UnsupportedClassVersionError: Bad version number i
    n .class file
    java.lang.UnsupportedClassVersionError: Bad version number in .class file
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
    4)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at weblogic.kernel.FinalThreadLocalList.initialize(FinalThreadLocalList.
    java:44)
    at weblogic.t3.srvr.PreConfigBootService.start(PreConfigBootService.java
    :70)
    at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesMan
    ager.java:459)
    at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServ
    icesManager.java:164)
    at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:711)
    at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:482)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:440)
    at weblogic.Server.main(Server.java:67)
    >
    <24/Nov/2009 10H14m GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state ch
    anged to FAILED>
    <24/Nov/2009 10H14m GMT> <Error> <WebLogicServer> <BEA-000383> <A critical servi
    ce failed. The server will shut itself down>
    <24/Nov/2009 10H14m GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state ch
    anged to FORCE_SHUTTING_DOWN>
    Thanks
    A.

    Hi there,
    your concern is not without reason. But there is a way to configure NWDI to use both JDKs as required.
    In the CBS-Settings
    BUILD_TOOL_JDK_HOME - has to point to the JDK with the highest version. This should be the JDK 6 of your CE 7.2 I guess.
    JDK_HOME_PATHS - contains aliases for the JDKs and the PATH to them. This aliases will be used in the build variant.
    For example: JDK1.4_HOME=/usr/lib64/jvm/java;JDK1.5.0_HOME=/nwdi/sap_build_vm/sapjvm_5;default=/nwdi/sap_build_vm/sapjvm_5
    This example tells CBS that there are 2 JDKs 1.4 and 1.5 and that the 1.5 JDK will be used by default.
    When you create a track you have to set a build variant to use , in my case JDK 1.4, instead od the JDK1.5 by default.
    The build variant will be:
         com.sap.jdk.home_path_key = JDK1.4_HOME
    This tells CBS to use the JDK1.4 as defined in JDK_HOME_PATHS for building in this track. other tracks will use the default JDK as long as the build variant is not adjusted.
    So its not problem to build with different JDKs in NWD if required.
    Have a good time
    Jan

  • Cannot find java.lang.Object

    hi, all. i tried compiling my class using KToolbar but it cannot load some of my classes on the other package. so i tried compiling it using the command line. I am encountering a problem and the error message is that it cannot find the java.lang.Object. I already included tools. jar in my classpath but it didn't work. Do you know guys, what I am missing?
    Thanks,
    Pulat

    c:\j2mewtk\libs\midpapi.zip has to be in your classpath
    rob,

  • Error: initialization error: file java\lang\Object.class not found

    when the error listed my classpath's its not the same list that is in my Windows XP environment variable list?
    I am on 9.0.3
    I am assuming I have to set some varible to my new jdk\bin directory. I reinstalled it. I have set it to use jdk 1.4 using the ojvm tool a while back.

    Please help!!
    I did change the jdev.conf file setting:
    SetJavaHome /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home
    and I still get this error:
    initiallization erro: file java/lang/Object.class not found in classpath
    I am usgin Oracle JDeveloper 10g 10.1.2 on a Mac OS X Tiger
    Could someone please help?
    thanks a bunch!!!

  • Weblogic 10.0 Parsing Failure in config.xml: failed to load java type

    Hello,
    I've just installed a Weblogic 10.0 on a Linux server and when i try to start it, by :
    bash$ : sudo -u weblogic ./startWebLogic.sh
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:MaxPermSize=128m
    WLS Start Mode=Production
    CLASSPATH=:/opt/weblogic/10.0/patch_wls1002/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/weblogic/10.0/patch_cie640/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/weblogic/10.0/jdk150_15/lib/tools.jar:/opt/weblogic/10.0/weblogic10.0/server/lib/weblogic_sp.jar:/opt/weblogic/10.0/weblogic10.0/server/lib/weblogic.jar:/opt/weblogic/10.0/modules/features/weblogic.server.modules_10.0.2.0.jar:/opt/weblogic/10.0/modules/features/com.bea.cie.common-plugin.launch_2.1.2.0.jar:/opt/weblogic/10.0/weblogic10.0/server/lib/webservices.jar:/opt/weblogic/10.0/modules/org.apache.ant_1.6.5/lib/ant-all.jar:/opt/weblogic/10.0/modules/net.sf.antcontrib_1.0b2.0/lib/ant-contrib.jar::/opt/weblogic/10.0/weblogic10.0/common/eval/pointbase/lib/pbclient51.jar:/opt/weblogic/10.0/weblogic10.0/server/lib/xqrl.jar::
    PATH=/opt/weblogic/10.0/weblogic10.0/server/bin:/opt/weblogic/10.0/modules/org.apache.ant_1.6.5/bin:/opt/weblogic/10.0/jdk150_15/jre/bin:/opt/weblogic/10.0/jdk150_15/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http://hostname:port/console *
    starting weblogic with Java version:
    java version "1.5.0_15"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
    Java HotSpot(TM) Server VM (build 1.5.0_15-b04, mixed mode)
    Starting WLS with line:
    /opt/weblogic/10.0/jdk150_15/bin/java -server -Xms256m -Xmx512m -XX:MaxPermSize=128m -da -Dplatform.home=/opt/weblogic/10.0/weblogic10.0 -Dwls.home=/opt/weblogic/10.0/weblogic10.0/server -Dweblogic.home=/opt/weblogic/10.0/weblogic10.0/server -Dwli.home= -Dweblogic.management.discover=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/opt/weblogic/10.0/patch_wls1002/profiles/default/sysext_manifest_classpath:/opt/weblogic/10.0/patch_cie640/profiles/default/sysext_manifest_classpath -Dweblogic.security.providers.authentication.LDAPDelegatePoolSize=50 -Dweblogic.management.username=system -Dweblogic.management.password=admin9424 -Dweblogic.Name=AdminServer -Djava.security.policy=/opt/weblogic/10.0/weblogic10.0/server/lib/weblogic.policy weblogic.Server
    <Jun 7, 2010 9:49:12 AM CEST> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
    /opt/weblogic/10.0/weblogic10.0/platform/lib/p13n/p13n-schemas.jar:/opt/weblogic/10.0/weblogic10.0/platform/lib/p13n/p13n_common.jar:/opt/weblogic/10.0/weblogic10.0/platform/lib/p13n/p13n_system.jar:/opt/weblogic/10.0/weblogic10.0/platform/lib/p13n/wlp_services.jar:/opt/weblogic/10.0/weblogic10.0/platform/lib/wlp/netuix_common.jar:/opt/weblogic/10.0/weblogic10.0/platform/lib/wlp/netuix_schemas.jar:/opt/weblogic/10.0/weblogic10.0/platform/lib/wlp/netuix_system.jar:/opt/weblogic/10.0/weblogic10.0/platform/lib/wlp/wsrp-client.jar:/opt/weblogic/10.0/weblogic10.0/platform/lib/wlp/wsrp-common.jar>
    <Jun 7, 2010 9:49:13 AM CEST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Server VM Version 1.5.0_15-b04 from Sun Microsystems Inc.>
    <Jun 7, 2010 9:49:13 AM CEST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.0 MP2 Sat Apr 25 01:45:38 EDT 2009 1213942 >
    i got the following error messages :
    *<Jun 7, 2010 9:49:14 AM CEST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason: [Management:141266]Parsing Failure in config.xml: failed to load java type corresponding to e=domain@http://www.bea.com/ns/weblogic/920/domain>*
    <Jun 7, 2010 9:49:14 AM CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
    <Jun 7, 2010 9:49:14 AM CEST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
    <Jun 7, 2010 9:49:14 AM CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
    If i start the server as root, it boots but i cant deploy anything.
    Any idea about this behavior ?

    Hi,
    It is the problem in prasing the DTD of config.xml file
    It look like this
    <?xml version='1.0' encoding='UTF-8'?>
    <domain xmlns="http://www.bea.com/ns/weblogic/920/domain" xmlns:sec="http://www.bea.com/ns/weblogic/90/security" xmlns:xsi="http://www.w3.org/2001/XMLSchema-
    instance" xmlns:wls="http://www.bea.com/ns/weblogic/90/security/wls" xsi:schemaLocation="http://www.bea.com/ns/weblogic/90/security/xacml http://www.bea.com/
    ns/weblogic/90/security/xacml.xsd http://www.bea.com/ns/weblogic/90/security http://www.bea.com/ns/weblogic/90/security.xsd http://www.bea.com/ns/weblogic/92
    0/domain http://www.bea.com/ns/weblogic/920/domain.xsd http://www.bea.com/ns/weblogic/90/security/wls http://www.bea.com/ns/weblogic/90/security/wls.xsd">
    Please change your DTD to this lines and start the server.
    Regards
    Ravi D

Maybe you are looking for

  • Error while running JSP Page on Desktop Client PDA

    Hi Experts, I am trying to run MI Project on my local desktop. But it is not able to start. Browser gives the following error: java.lang.ExceptionInInitializerError      at com.model.CalibModel.getUomList(CalibModel.java:75)      at com.jspjava.Order

  • How to connect SAP R/3- System with SAP NetWeaver Portal (2004s)?

    Hello to all, sorry, can someone help me? How can I connect SAP R/3- System with SAP NetWeaver Portal (2004s)? Thanks and regards, Galyna

  • How do I install the Content DVD in CS4 Web Premium?

    I can't find anything about this on the forum. Sorry if it has been asked before (I know it's a very basic question), but can anyone tell me how I install the Content DVD in CS4 Web Premium, please? This is the DVD that contains the PDF manuals, Font

  • How can you reassign or remove a customer in the customer hierarchy?

    hi gurus, can you please tell me how to remove or reassign a customer in the customer hierarchy transaction thanks, paul

  • Undo Tablespace Reuse

    Hi, I am using 10.2.0.3.0 on Oracle Solaris 5.10. I have an undo tablespace 'UNDOTBS1' which has 5 data files of sizes 60GB. Here are my undo parameters: SQL> show parameter undo NAME                                 TYPE        VALUE undo_management