NoClassDefFoundError: org/netbeans/modules/achema2beans\BaseBean

I use sun application server version 8 to build my MDB but after I face the buttom error. I try to implement simple message sender and receiver again I get this error:
Oct 6, 2005 2:51:35 PM com.sun.corba.ee.spi.logging.LogWrapperBase doLog
INFO: "IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/1519"
Exception in thread "main" java.lang.NoClassDefFoundError: org/netbeans/modules/schema2beans/BaseBean
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        at com.sun.enterprise.connectors.ConnectorAdminServicesFactory.getService(ConnectorAdminServicesFactory.java:35)
        at com.sun.enterprise.connectors.ConnectorRuntime.createServices(ConnectorRuntime.java:109)
        at com.sun.enterprise.connectors.ConnectorRuntime.getRuntime(ConnectorRuntime.java:71)
        at com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:55)
        at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)
        at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:304)
        at javax.naming.InitialContext.lookup(Unknown Source)
        at myMessages.QueueSender.main(QueueSender.java:36)I set my Destination resource and Connection factory and also I add jms.jar,imq.jar and j2ee.jar in my classpath but I don't know why I get this error please help me
thanx

I RUN it, the problem is that I forgot to deploy them after I create 2 lovly App client jar I deployed them.
:)

Similar Messages

  • Exception in thread "main" java.lang.NoClassDefFoundError: org/netbeans/lib

    I am trying to add jdbc to my project and find that jdbc components seem to be missing
    compiles and runs fine in IDE
    but when I try to run outside IDE I get this error
    Exception in thread "main" java.lang.NoClassDefFoundError: org/netbeans/lib/sql/
    DataNavigator

    here is my log file
    Log Session: Sunday, May 22, 2005 10:17:39 PM EDT
    System Info: Product Version = Sun(tm) Java(tm) Studio Enterprise 7 2004Q4 (Build 041123)
    IDE Versioning = IDE/1 spec=4.26.1 impl=041123
    Operating System = Windows XP version 5.1 running on x86
    Java; VM; Vendor = 1.4.2_05; Java HotSpot(TM) Client VM 1.4.2_05-b04; Sun Microsystems Inc.
    Java Home = C:\j2sdk1.4.2_05\jre
    System Locale; Encod. = en_US (f4j_ee); Cp1252
    Home Dir; Current Dir = C:\Documents and Settings\dale; C:\Sun\jstudio_04Q4\Ent_04Q4\bin
    IDE Install; User Dir = C:\Sun\jstudio_04Q4\Ent_04Q4; C:\Documents and Settings\dale\.jstudio\Ent04Q4
    CLASSPATH = C:\Sun\jstudio_04Q4\Ent_04Q4\lib\ext\boot.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\ext\Describe.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\ext\DescribeIDE.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\ext\jaxen.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\ext\logger.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\ext\msv.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\ext\parser.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\ext\saxpath.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\ext\Tidy.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\ext\tsgdtj55.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\ext\tsgetj55.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\ext\tsglt55.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\ext\tsgltc55.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\ext\tsgltjava55.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\ext\tsgmtj55.jar;C:\j2sdk1.4.2_05\lib\dt.jar;C:\j2sdk1.4.2_05\lib\tools.jar;C:\Sun\jstudio_04Q4\AppServer7\pointbase\client_tools\lib\pbclient42RE.jar
    Boot & ext classpath = C:\j2sdk1.4.2_05\jre\lib\rt.jar;C:\j2sdk1.4.2_05\jre\lib\i18n.jar;C:\j2sdk1.4.2_05\jre\lib\sunrsasign.jar;C:\j2sdk1.4.2_05\jre\lib\jsse.jar;C:\j2sdk1.4.2_05\jre\lib\jce.jar;C:\j2sdk1.4.2_05\jre\lib\charsets.jar;C:\j2sdk1.4.2_05\jre\classes;C:\j2sdk1.4.2_05\jre\lib\ext\dnsns.jar;C:\j2sdk1.4.2_05\jre\lib\ext\jai_codec.jar;C:\j2sdk1.4.2_05\jre\lib\ext\jai_core.jar;C:\j2sdk1.4.2_05\jre\lib\ext\ldapsec.jar;C:\j2sdk1.4.2_05\jre\lib\ext\localedata.jar;C:\j2sdk1.4.2_05\jre\lib\ext\mlibwrapper_jai.jar;C:\j2sdk1.4.2_05\jre\lib\ext\sunjce_provider.jar
    Dynamic classpath = C:\Sun\jstudio_04Q4\Ent_04Q4\lib\patches\TopLogging.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\core.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\openfile-cli.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\openide-loaders.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\openide.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\locale\core_f4j.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\locale\core_f4j_ee.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\locale\openide_f4j.jar
    Patched TopLogging from crash-reporter.nbm
    [org.netbeans.core.modules #4] Warning - had to upgrade dependencies for module com.sun.xml.registry1_0_01: added = [module org.netbeans.libs.xerces/1 > 1.2] removed = [package org.apache.xerces.parsers[SAXParser], package org.apache.xml.serialize[XMLSerializer]]; details: [Xerces is now available only as an autoload module, not in classpath: http://libs.netbeans.org/#xerces]
    [org.netbeans.core.modules #4] Warning: the extension C:\Sun\jstudio_04Q4\Ent_04Q4\modules\autoload\ext\namespace1_3.jar may be multiply loaded by modules: [C:\Sun\jstudio_04Q4\Ent_04Q4\modules\autoload\jaxr-module-1-3.jar, C:\Sun\jstudio_04Q4\Ent_04Q4\modules\autoload\jax-qname-module.jar]; see: http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/classpath.html#class-path
    Module patch or custom extension: C:\Sun\jstudio_04Q4\Ent_04Q4\modules\patches\org-netbeans-modules-editor\codetemplatesPatches.jar
    [org.netbeans.core.modules #4] Warning - had to upgrade dependencies for module org.netbeans.modules.jarpackager: added = [module org.netbeans.libs.regexp > 1.2] removed = [package org.apache.regexp > 1.2]; details: [Regexp is now available only as an autoload module, not on classpath: http://libs.netbeans.org/#regexp]
    [org.netbeans.core.modules #4] Warning - had to upgrade dependencies for module org.netbeans.modules.refactoring: added = [module org.openide.debugger > 1.0, token org.openide.compiler.CompilationEngine, module org.openide.compiler > 1.0, token org.openide.TopManager, module org.openide.execution > 1.0, token org.openide.windows.IOProvider, module org.openide.deprecated > 1.0, token org.openide.execution.ExecutionEngine] removed = []; details: [API separation phase I (#19443): http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.5i-sep-I, API separation phase II (#19443): http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.5i-sep-II, Debugger API separation (#29914): http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.5i-sep-III]
    [org.netbeans.core.modules #4] Warning - had to upgrade dependencies for module org.netbeans.modules.web.tomcat.tomcat40: added = [module org.netbeans.libs.xerces/1 > 1.2] removed = [package [org.apache.xml.serialize.EncodingInfo]]; details: [Xerces is now available only as an autoload module, not in classpath: http://libs.netbeans.org/#xerces]
    [org.netbeans.core.modules #4] Warning - had to add recursive class loader dependencies for module org.netbeans.modules.refactoring on [org.netbeans.modules.classfile]; see http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.5i-indirect-dep-cp
    [org.netbeans.core.modules #4] Warning - had to add recursive class loader dependencies for module com.sun.forte4j.j2ee.debugger on [org.openidex.util, org.netbeans.modules.web.core, org.netbeans.modules.schema2beans, org.netbeans.api.xml, org.netbeans.modules.jarpackager, javax.activation, org.netbeans.modules.vcscore, org.netbeans.libs.jaxp, org.netbeans.libs.xerces, org.netbeans.modules.projects, org.netbeans.modules.logger, org.netbeans.modules.html, com.sun.forte4j.j2ee.lib, org.netbeans.modules.clazz, javax.mail, org.netbeans.modules.image, com.sun.forte4j.modules.depclass, org.netbeans.libs.regexp]; see http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.5i-indirect-dep-cp
    [org.netbeans.core.modules #6] Warning: the module org.netbeans.modules.jarpackager uses org.netbeans.libs.regexp which is deprecated: JDK 1.4 includes regular expression support which should be used instead: http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.6-jre-regexp
    [org.netbeans.core.modules #6] Warning: the module org.netbeans.modules.projects uses org.openide.deprecated which is deprecated: Clients of obsoleted Open APIs are encouraged to remove this dependency. See http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.5i-sep-I
    [org.netbeans.core.modules #6] Warning: the module org.netbeans.modules.refactoring uses org.openide.deprecated which is deprecated: Clients of obsoleted Open APIs are encouraged to remove this dependency. See http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.5i-sep-I
    [org.netbeans.core.modules #6] Warning: the module com.embarcadero.netbeans uses org.openide.deprecated which is deprecated: Clients of obsoleted Open APIs are encouraged to remove this dependency. See http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.5i-sep-I
    [org.netbeans.core.modules #6] Warning: the module com.sun.forte4j.j2ee.debugger uses org.openide.deprecated which is deprecated: Clients of obsoleted Open APIs are encouraged to remove this dependency. See http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.5i-sep-I
    Type Groups Level Module Name
    err * 255 * (Default)
    Type Groups Level Module Name
    err * 255 * (Default)
    cfg 9 255 com.sun.forte4j.webdesigner
    Last execution suffered an abnormal exit at Sunday, May 22, 2005 10:15:18 PM EDT
    Log file not specified
    Turning on modules:
         org.openide/1 [4.26.1 041123]
         org.openide.loaders [4.11.1 041123]
         org.netbeans.core/1 [1.21.1 041123]
         org.openide.io [1.1.1 041123]
         org.netbeans.lib.terminalemulator [1.1.1 041123]
         org.netbeans.core.output/1 [1.1.1 041123]
         com.sun.tools.ide.collab/1 [7.0.0 041123]
         com.sun.im [7.0.0 041123]
         org.openide.src [1.1.1 041123]
         org.openide.execution [1.1.1 041123]
         org.openide.compiler [1.2.1 041123]
         org.netbeans.core.compiler/1 [1.4.1 041123]
         org.openide.debugger [1.1.1 041123]
         org.netbeans.modules.editor/1 [1.14.1 041123]
         org.netbeans.libs.xalan/1 [1.4.1 2.5.2]
         org.netbeans.libs.jaxp/1 [1.2.1 1.1.2]
         org.netbeans.api.xml/1 [1.3.1.3.6.0 3.6.0 041123]
         org.netbeans.modules.xml.core/2 [1.1.1.3.6.0 3.6.0 041123]
         org.netbeans.modules.xml.text/2 [1.1.1.3.6.0 3.6.0 041123]
         org.netbeans.modules.classfile/1 [1.8 041123]
         org.netbeans.core.execution/1 [1.3.1 041123]
         org.netbeans.modules.clazz/1 [1.13.1 041123]
         org.netbeans.modules.javahelp/1 [2.1.1 041123]
         org.netbeans.modules.db/1 [1.8.2 041123]
         com.sun.forte4j.modules.dbmodel.jdbcimpl/1 [7.0.0 041123]
         org.openide.deprecated [1.3.1 041123]
         org.netbeans.core.deprecated [1.3.1 041123]
         org.netbeans.modules.debugger.core/3 [2.10.1 041123]
         org.netbeans.modules.debugger.jpda/1 [1.17.1 041123]
         org.netbeans.modules.j2eeserver/2 [1.7.3 041123]
         org.apache.xalan [2.2.2 Xalan 2.2.0 release]
         org.netbeans.modules.image/1 [1.11.1 041123]
         javax.activation/1 [1.0.2 1.0.2]
         javax.mail/1 [1.1.4 1.1.4]
         org.netbeans.modules.logger/1 [1.5 041123]
         com.sun.forte4j.modules.depclass/1 [2.4 041123]
         org.openidex.util/2 [2.7.1 041123]
         org.netbeans.modules.vcscore/1 [1.9.1 041123]
         org.netbeans.libs.regexp [1.2.1 1.2]
         org.netbeans.modules.jarpackager/2 [1.13.3 041123]
         org.netbeans.modules.schema2beans/1 [1.4.3 041123]
         org.netbeans.api.java/1 [1.3.1 041123]
         org.netbeans.libs.xerces/1 [1.4.1 2.6.0]
         org.netbeans.modules.java/1 [1.16.1 041123]
         com.sun.ffj.modules.licensemgr/1 [7.0.0 041123]
         com.sun.forte4j.j2ee.lib/1 [7.0.0 041123]
         com.sun.forte4j.j2ee.ejb/1 [7.0.0 041123]
         com.sun.forte4j.j2ee.ejbmodule/1 [7.0.0 041123]
         org.netbeans.modules.projects/1 [1.14.1 041123]
         org.netbeans.modules.html/1 [1.12.1 041123]
         org.netbeans.modules.web.core/1 [1.16.3 041123]
         com.sun.forte4j.j2ee.appasm/1 [7.0.0 041123]
         com.sun.forte4j.j2ee.appclient/1 [7.0.0 041123]
         com.sun.forte4j.j2ee.j2eeconn/1 [7.0.0 041123]
         com.sun.forte4j.j2ee.importear/1 [7.0.0 041123]
         org.netbeans.modules.diff/1 [1.7.1 041123]
         org.netbeans.modules.vcs.advanced/1 [1.9.1 041123]
         org.netbeans.modules.vcs.profiles.clearcase/1 [1.2 041123]
         org.netbeans.modules.xml.catalog/2 [1.1.1.3.6.0 3.6.0 041123]
         org.netbeans.modules.properties/1 [1.11.1 041123]
         org.netbeans.modules.i18n/1 [1.14.1 041123]
         org.netbeans.modules.javadoc/1 [1.11.1 041123]
         javax.xml.namespace/1 [1.0 1.0]
         com.sun.xml.messaging1_3/1 [1.0 1.0]
         com.sun.xml.registry1_3/1 [1.0 1.0]
         com.sun.tools.jaxrpc_cmn/1 [1.1 1.1]
         com.sun.xml.rpc1_3/1 [1.0 1.0]
         com.sun.forte4j.j2ee.wsdl/1 [7.0.0 041123]
         org.netbeans.modules.servletapi23/1 [1.3.2 041123]
         org.netbeans.modules.web.jspparser/1 [1.5.2 041123]
         org.netbeans.modules.web.tomcat.tomcat40/1 [1.8.3 041123]
         com.sun.forte4j.genericgenerator4/1 [1.1.1 020327]
         org.netbeans.modules.web.ie/1 [1.15.3 041123]
         com.sun.forte4j.webdesigner.xmlservice/1 [7.0.0 041123]
         com.sun.tools.ide.j2eeant/1 [7.0.0 041123]
         org.netbeans.modules.xml.schema/1 [1.1.1.3.6.0 3.6.0 041123]
         org.netbeans.modules.filecopy/1 [1.11 041123]
         org.netbeans.modules.group/1 [1.0.1 041123]
         org.netbeans.modules.settings/1 [1.4.1 041123]
         org.netbeans.tasklistapi/1 [1.7.1.2 2 041123]
         org.netbeans.modules.tasklist.core/2 [1.22.1.26 6 041123]
         org.netbeans.modules.suggestions_framework/2 [1.2.1.265 5 041123]
         org.netbeans.modules.tasklist.docscan/2 [1.13.1.2653 3 041123]
         com.sun.forte4j.codetemplates/1 [7.0.0 @BUILD_NUMBER_SUBST@]
         com.sun.tools.vcsscc/1 [7.0.0 041123]
         com.sun.tools.vcsscc.profiles.vss/1 [7.0.0 041123]
         com.sun.forte4j.modules.pointbase/1 [7.0.0 041123]
         org.netbeans.core.windows/2 [2.0.1 041123]
         org.netbeans.core.ui/1 [1.3.1 041123]
         org.netbeans.modules.utilities/1 [1.15.1 041123]
         org.netbeans.modules.autoupdate/1 [2.8.1 041123]
         org.netbeans.modules.welcome/1 [1.5.1 041123]
         org.apache.soap [2.2.1 SOAP 2.2 release]
         org.netbeans.lib.cvsclient/1 [1.8.1 041123]
         org.netbeans.modules.vcs.profiles.cvsprofiles/1 [1.3.1 041123]
         org.netbeans.modules.applet/1 [1.14.1 041123]
         org.netbeans.modules.web.debug/1 [1.8.2 041123]
         org.netbeans.modules.web.core.syntax/1 [1.12.3 041123]
         com.sun.jato.tools.sunone.ee/1 [2.1.4 20041123.213634]
         org.netbeans.modules.usersguide/1 [1.13.1 041123]
         com.sun.forte4j.ee_examples/1 [7.0.0 041123]
         org.netbeans.modules.css/2 [1.1.1.3.6.0 3.6.0 041123]
         com.sun.tools.j2mews/1 [7.0.0 041123]
         org.ksoap/1 [1.0.1 kSOAP release 1.0]
         org.netbeans.modules.vcs.cmdline.compat/1 [1.3.1 041123]
         org.netbeans.modules.form/2 [1.13.1 041123]
         com.sun.tools.ide.collab.channel.mdc/1 [7.0.0 041123]
         org.netbeans.modules.servletapi/1 [1.3.1 041123]
         org.netbeans.modules.web.taglibed/1 [1.11.3 041123]
         com.sun.tools.dbdrivers/1 [7.0.0 041123]
         org.netbeans.modules.refactoring/1 [7.0.0 041123]
         org.netbeans.modules.web.assemblee/1 [1.2.1 041123]
         com.sun.tools.ide.portal.portlet/1 [1.0 041123]
         com.sun.tools.crashreporter [7.0.0 041123]
         org.netbeans.modules.text/1 [1.12.1 041123]
         com.embarcadero.netbeans/2 [1.0 041123]
         com.sun.tools.modules.cvsdisabler/1 [7.0.0 041123]
         com.sun.tools.vcsscc.profiles.pvcs/1 [7.0.0 041123]
         com.sun.tools.ide.collab.channel.chat/1 [7.0.0 041123]
         org.netbeans.modules.i18n.form/2 [1.12 041123]
         org.netbeans.modules.properties.syntax/1 [1.11 041123]
         org.netbeans.modules.cvsclient/1 [2.0.1 041123]
         com.sun.tools.ide.collab.channel.filesharing/1 [7.0.0 041123]
         com.sun.forte4j.j2ee.ejbtest/1 [7.0.0 041123]
         org.netbeans.modules.httpserver/1 [1.13.1 041123]
         org.netbeans.modules.jdbc/1 [7.0.0 041123]
         com.sun.jdo.modules.persistence.mapping.core/1 [7.0.0 041123]
         com.sun.jdo.modules.persistence.mapping.ejb/1 [7.0.0 041123]
         org.netbeans.modules.web.tomcat.tomcat40.autocompile/1 [7.0.0 041123]
         org.netbeans.modules.junit/2 [2.11.1 041123]
         com.sun.ffj.modules.registration/1 [7.0.0 041123]
         org.netbeans.modules.xsl/1 [1.1.1.3.6.0 3.6.0 041123]
         com.sun.forte4j.webdesigner.jwsdp/1 [7.0.0 041123]
         org.netbeans.modules.extbrowser/1 [1.3.1 041123]
         com.sun.forte4j.j2ee.debugger/1 [7.0.0 041123]
         com.sun.xml.messaging1_0_01/1 [1.0 1.0]
         com.sun.xml.rpc1_0_01/1 [1.0 1.0]
         org.netbeans.modules.web.monitor/1 [1.8.3 041123]
         org.netbeans.core.ide/1 [1.3.1 041123]
         org.apache.tools.ant.module/3 [3.6.1 041123]
         javax.portlet/1 [1.0 041123]
         org.netbeans.modules.autoupdateffj/1 [7.0.0 041123 ]
         com.sun.tools.profiler.monitor [7.2.4 041123]
         org.netbeans.modules.beans/1 [1.11.1 041123]
         com.sun.enterprise.webserver.tools/1 [7.0.0 PLUGINVERSION]
         com.sun.portal.devtool/1 [1.0 041123]
         com.sun.tools.ide.collab.ui/1 [7.0.0 041123]
         org.netbeans.modules.xml.tax/2 [1.1.1.3.6.0 3.6.0 041123]
         org.netbeans.modules.xml.tools/2 [1.1.1.3.6.0 3.6.0 041123]
         com.sun.appserv.tools.forte/1 [7.0.0 041123]
         org.netbeans.modules.web.dd.editors/1 [1.1.2 041123]
    QuantumAutoupdateModule 1116814706515 starting check
    Warning - org.netbeans.modules.projects.SetMainClassCookieAction should override CallableSystemAction.asynchronous() to return false
    Warning - org.netbeans.modules.debugger.delegator.DefaultDebuggerType should have overridden startDebugger(DataObject,boolean); falling back on deprecated ExecInfo usage; see: http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.5i-sep-II-ExecInfo

  • JSP error java.lang.NoClassDefFoundError: org/apache/commons/fileupload/Fil

    I'm rather new to jsp. I'm using myeclipse and I'm deploying my site on tomcat. I've been slowly working away on the errors in my log files. Most of the problems that I've run into have been missing jar files. The log error that I'm stuck on follows:
    10:14:40,359 ERROR [Faces Servlet]:253 - Servlet.service() for servlet Faces Servlet threw exception
    java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileUpload
         at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:115)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at com.wolverinecrane.view.util.SecurityFilter.doFilter(SecurityFilter.java:77)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
    In my buildpath I have commons-fileupload-1.0.jar which includes org.apache.commons.fileupload which has the class FileUpload.class in it.
    Any help on what may be going wrong here would be appreciated.
    Dan

    Solved:
    http://javalive.com/modules/newbb/viewtopic.php?topic_id=355&post_id=1013&order=0&viewmode=flat&pid=0&forum=4#forumpost1013

  • Web Service java.lang.NoClassDefFoundError: org/hibernate/cfg/Configuration

    I have built a EAR file (using ANT build.xml from eclipse) and deploy it to WebLogic server, when I test the web service with a Test Client, I will receive the exception:
    java.lang.NoClassDefFoundError: org/hibernate/cfg/Configuration
    Anything wrong with my build.xml file below? Why I get this exception?
    <?xml version="1.0" encoding="UTF-8"?>
    <project name="MyWebServices" default="all">  
         <!-- set global properties for this build -->   
         <property name="wls.username" value="weblogic" />   
         <property name="wls.password" value="abcd1234" />   
         <property name="wls.hostname" value="localhost" />   
         <property name="wls.port" value="7001" />   
         <property name="wls.server.name" value="AdminServer" />   
         <property name="ear.deployed.name" value="MyWebServicesEar" />
         <property name="example-output" value="output" />   
         <property name="ear-dir" value="${example-output}/MyWebServicesEar" />   
         <property name="clientclass-dir" value="${example-output}/clientclasses" />   
         <path id="client.class.path">       
              <pathelement path="${clientclass-dir}" />       
              <pathelement path="${java.class.path}" />   
         </path>
         <taskdef name="jwsc" classname="weblogic.wsee.tools.anttasks.JwscTask" />   
         <taskdef name="clientgen" classname="weblogic.wsee.tools.anttasks.ClientGenTask" />   
         <taskdef name="wldeploy" classname="weblogic.ant.taskdefs.management.WLDeploy" />
         <target name="build-service">       
              <jwsc srcdir="src" destdir="${ear-dir}">
                   <classpath>      
                        <pathelement path="${java.class.path}" />
                        <pathelement path="WebContent/WEB-INF/lib"/>
                   </classpath>
                   <module contextPath="MyWebServices" name="MyWebServicesModule">
                        <jws file="/hk/com/my/webservices/servicefacade/CustomerWS.java" type="JAXWS" />                 
                        <jws file="/hk/com/my/webservices/servicefacade/LoginWS.java" type="JAXWS" />               
                        <jws file="/hk/com/my/webservices/servicefacade/PaymentWS.java" type="JAXWS" />
                        <!-- <jws file="/hk/com/my/webservices/servicefacade/RedemptionWS.java" type="JAXWS" /> -->
                   </module>
              </jwsc>
         </target>   
         <target name="deploy">
              <wldeploy action="deploy" name="${ear.deployed.name}" source="${ear-dir}" user="${wls.username}" password="${wls.password}" verbose="true" adminurl="t3://${wls.hostname}:${wls.port}" targets="${wls.server.name}" />   
         </target>   
         <target name="undeploy">       
              <wldeploy action="undeploy" name="${ear.deployed.name}" failonerror="false" user="${wls.username}" password="${wls.password}" verbose="true" adminurl="t3://${wls.hostname}:${wls.port}" targets="${wls.server.name}" />   
         </target>         
         <target name="all" depends="clean,build-service,deploy" />
         <target name="clean" depends="undeploy">       
              <delete dir="${example-output}" />   
         </target> 
         <target name="run">       
              <java classname="hk.com.my.webservices.servicefacade.client.Main" fork="true" failonerror="true">
                   <classpath refid="client.class.path" />                           
                   <arg line="http://${wls.hostname}:${wls.port}/MyServices" />
              </java>   
         </target>
    </project>

    The problem was because I did not include my web-inf into the ear in my build.xml, i added it using the zipfileset tag and it worked like a charm:
    <target name="build-service">          
              <jwsc srcdir="src" destdir="${ear-dir}" debug="on">
                   <!-- "contextPath" is like a folder to contain the Web Services, "name" is the name of the WAR file -->
                   <module contextPath="MyWebServices" name="MyWebServicesModule">
                        <jws file="/my/webservices/servicefacade/CustomerWS.java" type="JAXWS" />          
                        <jws file="/my/webservices/servicefacade/LoginWS.java" type="JAXWS" />                                                                 
                        <!-- include and copy the required files to the ear directory -->
                        <zipfileset dir="WebContent/WEB-INF/lib" prefix="WEB-INF/lib">
                             <include name="*.jar"/>
                        </zipfileset>                              
                   </module>
              </jwsc>
    </target>

  • Java.lang.NoClassDefFoundError: org/apache/log4j/Logger when creating ABCS

    Hi,
    I am trying to create a AIA Service Component Project using 11.1.1.5 jdev.
    The following error occured while executing this line: C:\XXX\Developement\AIA\build.xml:78: Could not create type evaluateFTL due to java.lang.NoClassDefFoundError:org/apache/log4j/Logger.
    do I have to put some jar files anywhere in jdeveloper ? Please advice.
    Thanks
    Sai

    Hi,
    The jar to be added is com.bea.core.apache.log4j_1.2.13.jar located in $MIDDLEWARE_HOME/modules
    Cheers,
    Vlad

  • JNDI subsystem is not ready to use and java.lang.NoClassDefFoundError: org

    Hi,
    I am installing Access point management system on WebLogic Server 9.2 MP3.In the Admin server logs i am facing the following error:
    Sep 25, 2011 6:29:33 AM com.alcatel.hdm.providers.authentication.JDBCHelper initializeDS
    WARNING: Could not initialize datasource: /motive/jdbc/MotiveTxDataSource: JNDI subsystem is not ready for use
    Sep 25, 2011 6:29:33 AM com.alcatel.hdm.providers.authentication.JDBCHelper initializeDS
    WARNING: Could not initialize datasource: /motive/jdbc/MotiveTxDataSource: JNDI subsystem is not ready for use
    Sep 25, 2011 6:30:03 AM com.alcatel.hdm.providers.authentication.JDBCHelper initializeDS
    WARNING: Could not initialize datasource: /motive/jdbc/MotiveTxDataSource: JNDI subsystem is not ready for use
    Sep 25, 2011 6:30:03 AM com.alcatel.hdm.providers.authentication.JDBCHelper initializeDS
    WARNING: Could not initialize datasource: /motive/jdbc/MotiveTxDataSource: JNDI subsystem is not ready for use
    Sep 25, 2011 6:30:03 AM com.alcatel.hdm.providers.authentication.JDBCHelper initializeDS
    WARNING: Could not initialize datasource: /motive/jdbc/MotiveTxDataSource: JNDI subsystem is not ready for use
    Sep 25, 2011 6:30:03 AM com.alcatel.hdm.providers.authentication.JDBCHelper initializeDS
    WARNING: Could not initialize datasource: /motive/jdbc/MotiveTxDataSource: JNDI subsystem is not ready for use
    Sep 25, 2011 6:31:20 AM net.sf.ehcache.config.ConfigurationFactory parseConfiguration
    WARNING: No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: zip:/opt/hdmres_HAserver1/domains/HDMDomain/servers/necapms01-s0
    9_7204/tmp/_WL_user/nec-res-femto-1_3_0/r4j89a/APP-INF/lib/ehcache-1.6.0.jar!/ehcache-failsafe.xml
    My access point is not able to communicate with the Application.I am not sure due to above error or nor but this is the error i am getting.
    Another error is related to log4j due to which trace logs are not generating
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Error> <JMSClientExceptions> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Defa
    ult (self-tuning)'> <<anonymous>> <> <> <1316911802433> <BEA-055165> <The following exception has occurred:
    java.lang.NoClassDefFoundError: org/apache/log4j/spi/ThrowableInformation
    java.lang.NoClassDefFoundError: org/apache/log4j/spi/ThrowableInformation
    at org.apache.log4j.spi.LoggingEvent.<init>(LoggingEvent.java:145)
    at org.apache.log4j.Category.forcedLog(Category.java:379)
    at org.apache.log4j.Category.error(Category.java:310)
    at motive.serversupport.jms.SubscriberConnection.onException(SubscriberConnection.java:280)
    at weblogic.jms.client.JMSExceptionContext$1.run(JMSExceptionContext.java:54)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.jms.client.JMSExceptionContext.invokeListener(JMSExceptionContext.java:50)
    at weblogic.jms.client.JMSSession.onException(JMSSession.java:2610)
    at weblogic.jms.client.JMSConsumer.pushException(JMSConsumer.java:736)
    at weblogic.jms.client.JMSConsumer.invoke(JMSConsumer.java:753)
    at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:759)
    at weblogic.messaging.dispatcher.DispatcherImpl.dispatchAsyncInternal(DispatcherImpl.java:129)
    at weblogic.messaging.dispatcher.DispatcherImpl.dispatchNoReply(DispatcherImpl.java:160)
    at weblogic.jms.dispatcher.DispatcherAdapter.dispatchNoReply(DispatcherAdapter.java:27)
    at weblogic.jms.frontend.FESession.pushException(FESession.java:3072)
    at weblogic.jms.frontend.FEConsumer.pushException(FEConsumer.java:361)
    at weblogic.jms.frontend.FEConsumer.invoke(FEConsumer.java:824)
    at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:759)
    at weblogic.messaging.dispatcher.DispatcherImpl.dispatchAsyncInternal(DispatcherImpl.java:129)
    at weblogic.messaging.dispatcher.DispatcherImpl.dispatchNoReply(DispatcherImpl.java:160)
    at weblogic.jms.dispatcher.DispatcherAdapter.dispatchNoReply(DispatcherAdapter.java:27)
    at weblogic.jms.backend.BESessionImpl.removeConsumerWithError(BESessionImpl.java:1453)
    at weblogic.jms.backend.BEConsumerImpl.closeWithError(BEConsumerImpl.java:662)
    at weblogic.jms.backend.BEDestinationImpl.closeAllConsumers(BEDestinationImpl.java:1048)
    at weblogic.jms.backend.BETopicImpl.closeAllConsumers(BETopicImpl.java:757)
    at weblogic.jms.backend.BEDestinationImpl.shutdownInternal(BEDestinationImpl.java:851)
    at weblogic.jms.backend.BEDestinationImpl.shutdown(BEDestinationImpl.java:824)
    at weblogic.jms.backend.BackEnd.removeDestination(BackEnd.java:1476)
    at weblogic.jms.backend.BEDestinationRuntimeDelegate.unprepare(BEDestinationRuntimeDelegate.java:269)
    at weblogic.jms.backend.udd.UDDEntity.unprepare(UDDEntity.java:466)
    at weblogic.jms.module.JMSModule$EntityState.setState(JMSModule.java:1695)
    at weblogic.jms.module.JMSModule$EntityState.setState(JMSModule.java:1667)
    at weblogic.jms.module.JMSModule$EntityState.access$100(JMSModule.java:1608)
    at weblogic.jms.module.JMSModule.unprepare(JMSModule.java:462)
    at weblogic.jms.module.ModuleCoordinator.unprepare(ModuleCoordinator.java:313)
    at weblogic.application.internal.flow.ModuleListenerInvoker.unprepare(ModuleListenerInvoker.java:136)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.previous(DeploymentCallbackFlow.java:366)
    at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:52)
    at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:42)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.unprepare(DeploymentCallbackFlow.java:107)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.unprepare(DeploymentCallbackFlow.java:98)
    at weblogic.application.internal.BaseDeployment$1.previous(BaseDeployment.java:621)
    at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:52)
    at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:42)
    at weblogic.application.internal.BaseDeployment.unprepare(BaseDeployment.java:255)
    at weblogic.application.internal.DeploymentStateChecker.unprepare(DeploymentStateChecker.java:196)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.unprepare(AppContainerInvoker.java:118)
    at weblogic.deploy.internal.targetserver.BasicDeployment.unprepare(BasicDeployment.java:284)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doUnprepare(DeploymentAdapter.java:84)
    at weblogic.management.deploy.internal.DeploymentAdapter.unprepare(DeploymentAdapter.java:210)
    at weblogic.management.deploy.internal.AppTransition$7.transitionApp(AppTransition.java:75)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
    at weblogic.management.deploy.internal.ConfiguredDeployments.unprepare(ConfiguredDeployments.java:204)
    at weblogic.management.deploy.internal.ConfiguredDeployments.undeploy(ConfiguredDeployments.java:192)
    at weblogic.management.deploy.internal.DeploymentServerService.shutdownApps(DeploymentServerService.java:188)
    at weblogic.management.deploy.internal.DeploymentServerService.shutdownHelper(DeploymentServerService.java:120)
    at weblogic.application.ApplicationService.halt(ApplicationService.java:142)
    at weblogic.t3.srvr.ServerServicesManager.haltInternal(ServerServicesManager.java:417)
    at weblogic.t3.srvr.ServerServicesManager.halt(ServerServicesManager.java:264)
    at weblogic.t3.srvr.T3Srvr.shutdown(T3Srvr.java:865)
    at weblogic.t3.srvr.T3Srvr.forceShutdown(T3Srvr.java:773)
    at weblogic.t3.srvr.ServerRuntime.forceShutdown(ServerRuntime.java:330)
    at weblogic.server.RemoteLifeCycleOperationsImpl.forceShutdown(RemoteLifeCycleOperationsImpl.java:57)
    at weblogic.server.RemoteLifeCycleOperationsImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:553)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:443)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:439)
    at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:61)
    at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:983)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    >
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JMS> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)
    '> <hdm_admin> <> <> <1316911802443> <BEA-040324> <JMSServer "necapms01-s09_7204_jms" is suspending.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JMS> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)
    '> <hdm_admin> <> <> <1316911802456> <BEA-040325> <JMSServer "necapms01-s09_7204_jms" is suspended.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802467> <BEA-001514> <Destroying Data Source HDMJDBCPool.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802471> <BEA-001515> <Data Source HDMJDBCPool has been successfully destroyed.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802471> <BEA-001508> <Destroying Connection Pool HDMJDBCPool.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802478> <BEA-001128> <Connection for pool "HDMJDBCPool" closed.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802480> <BEA-001128> <Connection for pool "HDMJDBCPool" closed.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Warning> <Common> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-t
    uning)'> <hdm_admin> <> <> <1316911802480> <BEA-000632> <Resource Pool "HDMJDBCPool" shutting down, ignoring 1 resources still in use by applications..>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802483> <BEA-001126> <Destroyed Connection Pool named HDMJDBCPool.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802489> <BEA-001514> <Destroying Data Source DashboardJDBCDataSource4HDMJDBCDataSource.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802489> <BEA-001515> <Data Source DashboardJDBCDataSource4HDMJDBCDataSource has been successfully destroyed.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802490> <BEA-001508> <Destroying Connection Pool DashboardJDBCDataSource4HDMJDBCDataSource.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802492> <BEA-001128> <Connection for pool "DashboardJDBCDataSource4HDMJDBCDataSource" closed.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802492> <BEA-001126> <Destroyed Connection Pool named DashboardJDBCDataSource4HDMJDBCDataSource.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802498> <BEA-001514> <Destroying Data Source CPEAuthDataSource.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802498> <BEA-001515> <Data Source CPEAuthDataSource has been successfully destroyed.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802498> <BEA-001508> <Destroying Connection Pool CPEAuthDataSource.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802500> <BEA-001128> <Connection for pool "CPEAuthDataSource" closed.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802501> <BEA-001126> <Destroyed Connection Pool named CPEAuthDataSource.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <MessagingBridge> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (
    self-tuning)'> <hdm_admin> <> <> <1316911802594> <BEA-200001> <The messaging bridge service has successfully shut down.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JMS> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)
    '> <hdm_admin> <> <> <1316911802596> <BEA-040308> <JMS service is suspending.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JMS> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)
    '> <hdm_admin> <> <> <1316911802599> <BEA-040107> <Undeployed 8 default connection factories.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JMS> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)
    '> <hdm_admin> <> <> <1316911802600> <BEA-040015> <JMS shutdown is complete.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802601> <BEA-001144> <Force Suspending the JDBC service.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802601> <BEA-001146> <Force suspend of the JDBC service completed.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802601> <BEA-001147> <Shutting down the JDBC service.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <JDBC> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning
    )'> <hdm_admin> <> <> <1316911802602> <BEA-001149> <Shutdown of the JDBC service completed.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <Cluster> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
    ing)'> <hdm_admin> <> <> <1316911802604> <BEA-000103> <Disconnecting from cluster HDMCluster>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Notice> <Server> <necapms01-s09> <necapms01-s09_7204> <DynamicSSLListenThread[DefaultAdministration]> <<WLS Kernel>> <> <> <131
    6911802605> <BEA-002607> <Channel "DefaultAdministration" listening on 10.66.12.212:9203 was shutdown.>
    ####<Sep 25, 2011 6:20:02 AM GMT+05:30> <Info> <WebLogicServer> <necapms01-s09> <necapms01-s09_7204> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (s
    elf-tuning)'> <hdm_admin> <> <> <1316911802605> <BEA-000236> <Stopping execute threads.>
    ####<Sep 25, 2011 6:25:52 AM GMT+05:30> <Notice> <WebLogicServer> <> <> <main> <> <> <> <1316912152282> <BEA-000395> <Following extensions directory contents added to t
    he end of the classpath:
    /opt/hdmres_HAserver1/weblogic92/platform/lib/p13n/p13n-schemas.jar:/opt/hdmres_HAserver1/weblogic92/platform/lib/p13n/p13n_common.jar:/opt/hdmres_HAserver1/weblogic92/
    platform/lib/p13n/p13n_system.jar:/opt/hdmres_HAserver1/weblogic92/platform/lib/wlp/netuix_common.jar:/opt/hdmres_HAserver1/weblogic92/platform/lib/wlp/netuix_schemas.j
    ar:/opt/hdmres_HAserver1/weblogic92/platform/lib/wlp/netuix_system.jar:/opt/hdmres_HAserver1/weblogic92/platform/lib/wlp/wsrp-common.jar>
    ####<Sep 25, 2011 6:25:52 AM GMT+05:30> <Info> <WebLogicServer> <> <> <main> <> <> <> <1316912152587> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Serve
    r VM Version 1.5.0_15-b04 from Sun Microsystems Inc.>
    ####<Sep 25, 2011 6:27:38 AM GMT+05:30> <Notice> <Security> <> <> <main> <> <> <> <1316912258744> <BEA-090169> <Loading trusted certificates from the jks keystore file
    /opt/hdmres_HAserver1/weblogic92/server/lib/DemoTrust.jks.>
    ####<Sep 25, 2011 6:27:38 AM GMT+05:30> <Notice> <Security> <> <> <main> <> <> <> <1316912258775> <BEA-090169> <Loading trusted certificates from the jks keystore file
    /opt/hdmres_HAserver1/jdk150_15/jre/lib/security/cacerts.>
    ####<Sep 25, 2011 6:29:28 AM GMT+05:30> <Info> <Management> <> <> <main> <> <> <> <1316912368207> <BEA-141107> <Version: WebLogic Server Temporary Patch for CR370311 Tu
    e Jun 03 14:20:55 IST 2008
    Please suggest your valuable opinion to resolve these issues.
    Thanks,
    Harish Chowdhary
    >

    Hello,
    I recommend not the xmlpull jar file, but the xpp3-*.jar file found with your Enterprise installation.  It's in the "external" subfolder where you got your other Enterprise jar files.
    You'll have to remove the xmlpull jar, since they'd version conflict.
    Sincerely,
    Ted Ueda

  • GlassFish: java.lang.NoClassDefFoundError: org/jdesktop/layout/GroupLayout$

    Hi,
    I am new to java, liked the tool nebeans and want to shift to it.
    I created a desktop swing application containing one blank form only, set its property to run on JWS. It works fine, then I created a project for deploying the app on GlassFish. Verified it, it gave no error. But on launching the app from GlassFish V2 b58g, I get following error;
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at com.sun.enterprise.appclient.jws.boot.JWSACCMain.run(JWSACCMain.java:218)
         at com.sun.enterprise.appclient.jws.boot.JWSACCMain.main(JWSACCMain.java:177)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sun.javaws.Launcher.executeApplication(Unknown Source)
         at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
         at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/jdesktop/layout/GroupLayout$Group
         at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:454)
         ... 15 more
    Caused by: java.lang.NoClassDefFoundError: org/jdesktop/layout/GroupLayout$Group
         at java.lang.Class.getDeclaredMethods0(Native Method)
         at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
         at java.lang.Class.getMethod0(Unknown Source)
         at java.lang.Class.getMethod(Unknown Source)
         at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:236)
         at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:417)
         ... 15 more
    Please help me out.
    Thanks
    Krishnan

    krishnan wrote: I am new to java, liked the tool nebeans and want to shift to it.
    Since, at one post, it seems you are not just new to Netbeans, Java and JWS, but also the Sun forums, I will take this moment to point out that adding Dukes to a question encourages replies, and can be done at any point in a thread.
    krishnan wrote: Caused by: java.lang.NoClassDefFoundError: org/jdesktop/layout/GroupLayout$Group ..
    This is usually caused by the lack of the Jar containing the named class, in the application classpath. The application classpath is specified in the JNLP file.
    GroupLayout is also a Netbeans specific class. I recommend coding most GUIs in core J2SE layouts, to avoid you having to supply the Jar, and the user to download it.
    If you try to add the jar without success, it would be helpful to know the basic 'layout' of the server (e.g. describe where all the resources, including the JNLP file(s) and jar(s) are located) and the content of the JNLP file.
    Note also that Netbeans makes horrid JNLP files. You are better off writing your own and ensuring Netbeans never gets the idea it is expected to edit it. You can do this by abandoning some of the 'click a button' ease that you apparently quite like, and using Ant to build and deploy the project.
    Ant adds a bit more learning, but is well worth the effort, as projects that can be worked on in Netbeans, can also be worked on using Eclipse (and every other IDE that supports Ant), or can be built from the command line.

  • MYSQL JDBC NoClassDefFoundError: org/aspectj/lang/Signature

    i am trying to connect to a database via java using JDBC i have installed:
    jdk1.5.0_01
    mysql-connector-java-3.1.8-bin-g.jar
    MySQL Server 4.1
    Java works fine, MYSQL works fine from the command prompt but when it comes to testing using this simple java program
    public class JdbcExample1 {
    public static void main(String args[]) {
    Connection con = null;
    try {
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    con = DriverManager.getConnection("localhost", "username", "password");
    if(!con.isClosed())
    System.out.println("Successfully connected to MySQL server...");
    } catch(Exception e) {
    System.err.println("Exception: " + e.getMessage());
    } finally {
    try {
    if(con != null)
    con.close();
    } catch(SQLException e) {}
    this compiles fine but when run i get the following error message
    Exception in thread "main" java.lang.NoClassDefFoundError: org/aspectj/lang/Signature
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at JdbcExample1.main(JdbcExample1.java:10)
    class path is set as .;C:\Program Files\Java\jdk1.5.0_01\jre\lib\ext\mysql-connector-java-3.1.8-bin.java
    any help or input on this error would be appreciated
    thanks in advanced Neil

    Hi, All:
    I just read this thread of discussion and got valueable info to solve my problem in a similar fashion. I'd suggest the last poster, Anil, to re-read the whole thread to correct the possible problems stated.
    I would just like to add my problem/solution scenario to this thread to share my experience. I assume that readers already went through the previous notes in this thread.
    #1. Space in Path:
    I installed
    MySQL DB server in: "C:\Program Files\MySQL\MySQL Server 4.1"
    MySQL JDBC Driver: D:\mysql\mysql-connector-java-3.1.8
    It seems to me that the DB server installed directory is not affected by whether there is a space in path name. The JDBC Driver path, on the other hand, does have the side effect of the space in path name when accessing by the Java client.
    #2. -g in JDBC Driver:
    I have been using the driver mysql-connector-java-3.1.8-bin.jar. However, right before I needed to create my ant build.xml configuration file (more details later), I thought the instruction asked me to use the mysql-connector-java-3.1.8-bin-g.jar (the debug version as kpreiser indicated), and therefore I got the now-well-known "org/aspectj/lang/Signature" error. After I removed that "-g" from the JDBC driver extression in my build.xml file, it then works well. (Great tip, kpreiser.)
    #3. Middlegen with Hibernate:
    My situation is a bit more complicated, but the issue of "org/aspectj/lang/Signature" error was the same (finally resolved in #2). I was trying to use Middlegen to re-generate my Hibernate map files from the data schema. (Hibernate is an open source tool that lets you create JavaBean source file from a Hibernate map file to map to a database table (see http://www.hibernate.org/ for more details.) Since I re-factored my data schema in the database, I needed to re-generate the Hibernate map files (from data schema) so that I can in turn use the map files to re-generate the JavaBean code. I wanted to use the Middlegen tool (see http://www.hibernate.org/98.html for more details) to re-generate the map files from database schema. However, in order to use Middlegen properly, you need to create the ant build.xml file to do that job. So I had to resort to MiddlegenIDE (see http://ultimania.org/middlegenide/ for more details) to help generate that build.xml file. (This is where I had the -g specified for the JDBC driver in the build.xml file that caused the problem.) Once that build.xml file is generated, the use of ant (a Java make tool) with the build.xml file can generate the hibernate map files. From these map files, JavaBean source files can be generated using Hibernate CodeGenerator.hbm2java tool. (There are several other useful tools in Hibernate too to convert the database ddl schema and the JavaBean source file.)
    Obviously, there are other approaches and tools that you can use (XDoclet for instance) for different situations, but I am only providing a high level overview on what you can do to be more productive if you are involved in a large and complicated project with Java/JDBC and ORM (Object/Relational Mapping).
    Item #3 may sound complicated at first, but it's worth the time to learn the tools and concept. Once you are familiar with these tools (Eclipse, Hibernate, Middlegen, Ant, etc.), you will become more productive in responding to the dynamic nature of the high-tech world where changing requirements are the only constant. I hope that these separate tools will become more integrated and easier to use in the future, but for now they do the job well.
    Thanks for the great tips and hope that this helps too.
    - Shuh

  • Exception in thread "main" java.lang.NoClassDefFoundError org/xml/sax/SAXEx

    I want to run an jar file so on command prompt i am giving the command
    " java -jar jSimpleX_3.0.jar "
    I am getting the following error:
    "exception in thread "main" java.lang.NoClassDefFoundError: org/xml/sax/SAXException "
    Can any body explain the reason of this exception
    Thanks in advance.

    Hi
    I am getting an exception while running code of "
    Reading an XML file in Java"
    The error is " Exception in thread "main"
    java.lang.NoClassDefFoundError:
    org/xml/sax/SAXException "
    I am using j2sdk1.4.0 and j2sdk1.4.2_13 and both are
    containing rt.jar file. But still i am receiving the
    same Error Exception.
    Can anybody there help me out.
    Thanks in Advance. !!!!Please help me out. Its urgent !!!!!!!!!!!!!!!!!!!!!!!

  • Java.lang.NoClassDefFoundError: org/apache/commons/fileupload/DiskFileUploa

    i have a servlet for the upload of the files...I compile and it's ok, but in esecution i've this error:
    java.lang.NoClassDefFoundError: org/apache/commons/fileupload/DiskFileUpload
    Why? Any idea?
    The classpath it's ok...
    Thanx !

    Ah...I use package commons-fileupload-1.0.jar
    I hope in your answer...Thanx!

  • Hibernate Error while deploying : java.lang.NoClassDefFoundError: org/hibernate/MappingException.

    Hi,
    We are migrating to weblogic server. While deploying the EAR in Production WebLogic server I am getting the following - "Class Not found Exception" .  I have local version of weblogic server which is coupled with eclipse is not giving me any error when I deploy the same EAR, but only production weblogic server is giving error. In the production environment we are using clusters. and we have staging environment also.
    It would be great if someone let me know how to get rid of this error. Thanks in advance
    Environment:
    Java - 1.6
    Hibernate - 3
    Spring - 2
    Web Logic - 10.3.5
    WebLogic-Application.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-application xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-application" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd http://xmlns.oracle.com/weblogic/weblogic-application http://xmlns.oracle.com/weblogic/weblogic-application/1.2/weblogic-application.xsd">
        <!--weblogic-version:10.3.5-->
        <wls:application-param>
            <wls:param-name>webapp.encoding.default</wls:param-name>
            <wls:param-value>UTF-8</wls:param-value>
        </wls:application-param>
        <wls:prefer-application-packages>
            <wls:package-name>antlr.*</wls:package-name>
        </wls:prefer-application-packages>
    </wls:weblogic-application>
    Stack trace from the server:
    <<WLS Kernel>> <> <0000K1E1LgQ5e_5_rPt1iY1HwEvb000009> <1375698508586> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/jboss-spring.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/hibernate/MappingException.
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/jboss-spring.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/hibernate/MappingException
    ####<05.08.2013 12:28 Uhr MESZ> <Error> <Deployer> <FE0APP216> <WLS_FORMS> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000K1E1LgQ5e_5_rPt1iY1HwEvb000009> <1375698508601> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1375698508071' for task '6'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
           at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
           at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
           at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
           at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
           at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
           at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
           at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
           at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:637)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
           at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
           at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
           at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
           at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
           at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
           at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
           at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:140)
           at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
           at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
           at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
           at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
           at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:164)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:69)
           at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused By: java.lang.NoClassDefFoundError: org/hibernate/MappingException
           at java.lang.Class.getDeclaredConstructors0(Native Method)
           at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
           at java.lang.Class.getConstructor0(Class.java:2699)
           at java.lang.Class.getDeclaredConstructor(Class.java:1985)
           at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:54)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
           at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
           at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
           at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
           at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
           at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
           at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
           at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
           at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
           at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
           at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
           at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
           at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
           at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
           at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
           at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
           at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
           at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
           at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
           at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
           at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
           at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
           at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
           at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
           at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
           at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
           at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
           at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
           at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
           at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
           at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
           at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
           at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:140)
           at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
           at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
           at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
           at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
           at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
           at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    Hello,
    I recommend not the xmlpull jar file, but the xpp3-*.jar file found with your Enterprise installation.  It's in the "external" subfolder where you got your other Enterprise jar files.
    You'll have to remove the xmlpull jar, since they'd version conflict.
    Sincerely,
    Ted Ueda

  • Exception in JPA (NoClassDefFoundError: org/hibernate/AnnotationException)

    Hi,
    I´m having a serious problem when using JPA. I´m using Weblogic Server 10 and developing in Weblogic Workshop Studio. When I start the WLS in Workshop, all works fine, but when I use the "publish" over my WLS Server in Workshop because I change any class in the project (and I need to republish the project to send the changed class to WLS), the following error is reported when I try to use the JPA:
    Caused by: javax.ejb.EJBTransactionRolledbackException: EJB Exception: : java.lang.NoClassDefFoundError: org/hibernate/AnnotationException
    at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:353)
    at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1115)
    at org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:1265)
    at org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:150)
    at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:884)
    at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:186)
    Why the AnnotationException class is no more found after a publish in a started Weblogic Server ?
    Thanks in advance,
    Sergio Stateri Jr.
    [email protected]

    Sergio,
    there are at least three implementation for JPA available: OpenJPA, TopLink, and Hibernate. The first two are or can easily installed in WLS. If you intend to use Hibernate as the persistence provider you should ensure that all libraries are in the class path of your application.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Exception in thread "main" java.lang.NoClassDefFoundError: org/hsqldb/Serve

    hi,
    I'm new in hibernate.I am studying hibernate tutorial from http://www.hibernate.org/hib_docs/v3/reference/en/html/tutorial.html
    After few steps When I've to start data base.It doesn't.
    I post whatever at command prompt. Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\shobhitsingh>cd\
    C:\>cd hibernate*
    C:\hibernateTutorial>java -classpath ../lib/hsqldb.jar org.hsqldb.Server
    Exception in thread "main" java.lang.NoClassDefFoundError: org/hsqldb/Server
    C:\hibernateTutorial>I thing I should copy paste third party libraries in lib folder.
    but still i am confused.
    pl guide for this.
    Regards
    S.Singh

    Put the hsqldb JAR file into your classpath. I suspect Mr Singh was using ".." when he should have been using "." in the classpath string, but even if he wasn't his classpath issue's not that likely to be identical to yours.
    [http://java.sun.com/j2se/1.3/docs/tooldocs/win32/classpath.html|http://java.sun.com/j2se/1.3/docs/tooldocs/win32/classpath.html]

  • Java.lang.NoClassDefFoundError: org/w3c/dom/xpath/XPathEvaluator

    here is the tiresome problem, which has puzzled me for 5 days.
    2008-7-11 15:58:03 org.apache.catalina.core.StandardWrapperValve invoke
    ����: Servlet.service() for servlet MapRequest threw exception
    java.lang.NoClassDefFoundError: org/w3c/dom/xpath/XPathEvaluator
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1812)
         at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:866)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1319)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1812)
         at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:866)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1319)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1812)
         at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:866)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1319)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at org.apache.batik.dom.svg.SVGDOMImplementation.createDocument(Unknown Source)
         at org.apache.batik.dom.util.SAXDocumentFactory.startElement(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:434)
         at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java:832)
         at org.apache.xerces.impl.XMLNamespaceBinder.startElement(XMLNamespaceBinder.java:568)
         at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:796)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:752)
         at org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(XMLDocumentScannerImpl.java:927)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1519)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
         at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:529)
         at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:585)
         at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1148)
         at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source)
         at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source)
         at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown Source)
         at cn.edu.tongji.hpcc.tigcn.webgis.SVGMapGenerator.<clinit>(SVGMapGenerator.java:51)
         at cn.edu.tongji.hpcc.tigcn.webgis.servlet.MapRequestServlet.doGet(MapRequestServlet.java:70)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Unknown Source)
    2008-7-11 15:58:03 org.apache.catalina.core.StandardWrapperValve invoke
    ����: Servlet.service() for servlet MapRequest threw exception
    java.lang.NoClassDefFoundError
         at cn.edu.tongji.hpcc.tigcn.webgis.servlet.MapRequestServlet.doGet(MapRequestServlet.java:70)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Unknown Source)
    help me! thank you very much :)

    First,download xalan-j_2_7_0-bin.zip, unpack it.
    Then, place the xalan.jar, serializer.jar, xercesImpl.jar and xml-apis.jar in the
    <catalina-home>\common\endorsed directory.
    At last, reboot your TOMCAT.

  • NoClassDefFoundError: org/jetel/connection/jdbc/ConnectionAction

    Hi, When I am running my graphs in integrator server I am getting below error:
    java.lang.NoClassDefFoundError: org/jetel/connection/jdbc/ConnectionAction
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
    I can see that the class file is available in jar "<apache-tomcat>/webapps/clover/WEB-INF/plugins/org.jetel.connection"
    Please let me know how to solve this issue.

    Hi, When I am running my graphs in integrator server I am getting below error:
    java.lang.NoClassDefFoundError: org/jetel/connection/jdbc/ConnectionAction
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
    I can see that the class file is available in jar "<apache-tomcat>/webapps/clover/WEB-INF/plugins/org.jetel.connection"
    Please let me know how to solve this issue.

Maybe you are looking for