EJB lookup via JNDI results in java.lang.NoClassDefFoundError

Hello,
I have created and deployed an EJB to the WebAS (ver 6.40).  There is no problem looking up the bean via JNDI and calling its methods from a J2EE application - I successfully did this via a servlet.
However, a JNDI lookup from a Web Dynpro application - on the same server - results in a java.lang.NoClassDefFoundError error.
The code for the JNDI lookup is identical in either case.
Any thoughts?

Hello,
I am calling ejb from .jsp use following code
Properties props = new Properties();
InitialContext ctx = new InitialContext();
Object ob = ctx.lookup("java:comp/env/ejb/CalculatorBean");
CalculatorHome home = (CalculatorHome) PortableRemoteObject.narrow(ob, CalculatorHome.class);
calc = home.create();
I have a error:
java.lang.ClassNotFoundException: class com.sap.examples.calculator.beans.CalcProxy : com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at calculator, the whole lookup name is java:comp/env/ejb/CalculatorBean
My ejb-jar.xml is:
<display-name>
     CalculatorEjb</display-name>
     <enterprise-beans>
          <session>
               <icon/>
               <ejb-name>Calculator</ejb-name>
               <home>com.sap.examples.calculator.CalculatorHome</home>
               <remote>com.sap.examples.calculator.CalculatorRemote</remote>
               <local-home>com.sap.examples.calculator.CalculatorLocalHome</local-home>
               <local>com.sap.examples.calculator.CalculatorLocal</local>
               <service-endpoint>com.sap.examples.calculator.CalculatorServiceEndpoint</service-endpoint>
               <ejb-class>com.sap.examples.calculator.CalculatorBean</ejb-class>
               <session-type>Stateless</session-type>
               <transaction-type>Container</transaction-type>
               <ejb-ref>
                    <ejb-ref-name>ejb/CalculatorBean</ejb-ref-name>
                    <ejb-ref-type>Session</ejb-ref-type>
                    <home>com.sap.examples.calculator.CalculatorHome</home>
                    <remote>com.sap.examples.calculator.CalculatorRemote</remote>
                    <ejb-link>Calculator</ejb-link>
               </ejb-ref>
               <ejb-local-ref>
                    <description/>
                    <ejb-ref-name>ejb/CalculatorBean</ejb-ref-name>
                    <ejb-ref-type>Session</ejb-ref-type>
                    <local-home>com.sap.examples.calculator.CalculatorLocalHome</local-home>
                    <local>com.sap.examples.calculator.CalculatorLocal</local>
                    <ejb-link>Calculator</ejb-link>
               </ejb-local-ref>
          </session>
     </enterprise-beans>
my ejb-j2ee-engine.xml is:
<?xml version="1.0" encoding="UTF-8"?>
<ejb-j2ee-engine
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:noNamespaceSchemaLocation="ejb-j2ee-engine.xsd">
     <enterprise-beans>
          <enterprise-bean>
               <ejb-name>Calculator</ejb-name>
               <ejb-ref>
                    <ejb-ref-name>ejb/CalculatorBean</ejb-ref-name>
                    <jndi-name>ejb/CalculatorBean</jndi-name>
               </ejb-ref>
               <ejb-local-ref>
                    <ejb-ref-name>ejb/CalculatorBean</ejb-ref-name>
                    <jndi-name>ejb/CalculatorBean</jndi-name>
               </ejb-local-ref>
          </enterprise-bean>
     </enterprise-beans>
</ejb-j2ee-engine>

Similar Messages

  • Java.lang.NoClassDefFoundError in EJB DC

    Hi all ,
                    I am working on Netweaver 7.1 sp5 with EJB 3.0 . I have some common java classes which are reused in othr DCs. i have java DC project for java classes. in EJB DC this java project DC is added as used DC. no error while building but in deploytime i am getting
    java.lang.NoClassDefFoundError: com/apl/erec/dto/MailContentDTO
    (MailContentDTO is java class written in JAVA  DC)
    I have followed follwing steps while creating JAVA DC .
    1. create java DC
    2. adding java clsses to SRC folder
    3. right click n add java classes to public parts as public as package => purpose compilation
    then added this public part to EJB DC while adding used DC.

    If it runs from command line, but not through script, then you need to compare your environment with the script. Or you could just export your environment to a script to call before the command.
    Why are you manually setting PATH etc ? Try using oraenv to set the environment.

  • EJB container caught java.lang.NoClassDefFoundError package/classname

    Hello,
    If i start the Websphere 5.1 Test Environment with my EAR deployed in it the following Error appears:
    EJB container caught java.lang.NoClassDefFoundError: package/class
         at java.lang.Class.getDeclaredMethods0(Native Method)
         at java.lang.Class.privateGetDeclaredMethods(Class.java(Compiled Code))
         at java.lang.Class.privateGetPublicMethods(Class.java:1911)
         at java.lang.Class.getMethods(Class.java:909)
         at com.ibm.ejs.container.util.DeploymentUtil.getMethods(DeploymentUtil.java:124)
         at com.ibm.ejs.container.BeanMetaData.initializeBeanMethods(BeanMetaData.java:1566)
         at com.ibm.ejs.container.BeanMetaData.completeInitialization(BeanMetaData.java:1403)
         at com.ibm.ws.runtime.component.EJBContainerImpl.createBeanMetaData(EJBContainerImpl.java:1039)
         at com.ibm.ws.runtime.component.EJBContainerImpl.createModuleMetaData(EJBContainerImpl.java:830)
         at com.ibm.ws.runtime.component.EJBContainerImpl.createMetaData(EJBContainerImpl.java:1575)
         at com.ibm.ws.runtime.component.MetaDataMgrImpl.createFactoryMetaData(MetaDataMgrImpl.java:115)
         at com.ibm.ws.runtime.component.MetaDataMgrImpl.createMetaData(MetaDataMgrImpl.java:159)
         at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:350)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:578)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:311)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:268)
         at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
         at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
         at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:152)
         at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
         at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
         at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:246)
         at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
         at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
         at java.lang.reflect.Method.invoke(Method.java:391)
         at com.ibm.ws.bootstrap.WSLauncher.run(WSLauncher.java:222)
         at java.lang.Thread.run(Thread.java:570)
    Does anyone know where the failure could lie?
    - Thanks and regards
    Fabian

    Hello again,
    What do you exactly mean by saying:
    Did you create the deployment code?
    I deployed the EJB on the Application Server is there anything else i have to do?
    -regards
    Fabian

  • Java.lang.NoClassDefFoundError when trying to create my first EJB

    Hi All,
    I am trying to learn EJB's on my own. I installed the WebLogic Server Trial version and then wrote the Home Interface, Component Interface and the Bean Class. Now I started the WebLogic server and tried and create the deployment descriptor.. I am getting the error below even after I set the classpath. Is there any other correct way to set the classpath?
    C:\bea\jdk150_04\bin\ejb\demo>set classpath=C:\bea\weblogic92\server\lib\weblogic.jar;
    C:\bea\jdk150_04\bin\ejb\demo>java weblogic.ejb.utils.DDCreator -dir dploymentDescriptor.txt
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/ejb/utils/DDCreator
    Please help me.
    Thanks.

    If you're just learning EJBs now I'd recommend you start with the EJB 3.0 API. It's much
    easier to use than past releases and otherwise much of what you learn (e.g. Home/Component
    interfaces) are not emphasized in EJB 3.0. You can start with the EJB chapters in the
    Java EE 5 Tutorial :
    http://java.sun.com/javaee/5/docs/tutorial/doc/
    We have some additional resources here :
    https://glassfish.dev.java.net/javaee5/ejb/
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • 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

  • JMS error- Exception in thread "Main Thread" java.lang.NoClassDefFoundError

    Hi guys,
    I am new to JMS programming and i'm have the following error...I have set up a simple weblogic server on my local machine and i am trying to send a message to a queue i've created on a JMS server. I am trying to manually run an example provided by BEA WebLogic... the code follows.
    //package examples.jms.queue;
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.util.Hashtable;
    import javax.jms.*;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    /** This example shows how to establish a connection
    * and send messages to the JMS queue. The classes in this
    * package operate on the same JMS queue. Run the classes together to
    * witness messages being sent and received, and to browse the queue
    * for messages. The class is used to send messages to the queue.
    * @author Copyright (c) 1999-2006 by BEA Systems, Inc. All Rights Reserved.
    public class QueueSend
      // Defines the JNDI context factory.
      public final static String JNDI_FACTORY="weblogic.jndi.WLInitialContextFactory";
      // Defines the JMS context factory.
      public final static String JMS_FACTORY="weblogic.examples.jms.QueueConnectionFactory";
      // Defines the queue.
      public final static String QUEUE="weblogic.examples.jms.exampleQueue";
      private QueueConnectionFactory qconFactory;
      private QueueConnection qcon;
      private QueueSession qsession;
      private QueueSender qsender;
      private Queue queue;
      private TextMessage msg;
       * Creates all the necessary objects for sending
       * messages to a JMS queue.
       * @param ctx JNDI initial context
       * @param queueName name of queue
       * @exception NamingException if operation cannot be performed
       * @exception JMSException if JMS fails to initialize due to internal error
      public void init(Context ctx, String queueName)
        throws NamingException, JMSException
        qconFactory = (QueueConnectionFactory) ctx.lookup(JMS_FACTORY);
        qcon = qconFactory.createQueueConnection();
        qsession = qcon.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
        queue = (Queue) ctx.lookup(queueName);
        qsender = qsession.createSender(queue);
        msg = qsession.createTextMessage();
        qcon.start();
       * Sends a message to a JMS queue.
       * @param message  message to be sent
       * @exception JMSException if JMS fails to send message due to internal error
      public void send(String message) throws JMSException {
        msg.setText(message);
        qsender.send(msg);
       * Closes JMS objects.
       * @exception JMSException if JMS fails to close objects due to internal error
      public void close() throws JMSException {
        qsender.close();
        qsession.close();
        qcon.close();
    /** main() method.
      * @param args WebLogic Server URL
      * @exception Exception if operation fails
      public static void main(String[] args) throws Exception {
        if (args.length != 1) {
          System.out.println("Usage: java examples.jms.queue.QueueSend WebLogicURL");
          return;
        System.out.println(args[0]);
        InitialContext ic = getInitialContext(args[0]);
        QueueSend qs = new QueueSend();
        qs.init(ic, QUEUE);
        readAndSend(qs);
        qs.close();
      private static void readAndSend(QueueSend qs)
        throws IOException, JMSException
        BufferedReader msgStream = new BufferedReader(new InputStreamReader(System.in));
        String line=null;
        boolean quitNow = false;
        do {
          System.out.print("Enter message (\"quit\" to quit): \n");
          line = msgStream.readLine();
          if (line != null && line.trim().length() != 0) {
            qs.send(line);
            System.out.println("JMS Message Sent: "+line+"\n");
            quitNow = line.equalsIgnoreCase("quit");
        } while (! quitNow);
      private static InitialContext getInitialContext(String url)
        throws NamingException
        Hashtable<String,String> env = new Hashtable<String,String>();
        env.put(Context.INITIAL_CONTEXT_FACTORY, JNDI_FACTORY);
        env.put(Context.PROVIDER_URL, url);
        return new InitialContext(env);
    }when i run the main method with args[0] = "t3://localhost:7001", i get the following errors:
    Exception in thread "Main Thread" java.lang.NoClassDefFoundError: weblogic/security/subject/AbstractSubject
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:197)
    at QueueSend.getInitialContext(QueueSend.java:122)
    at QueueSend.main(QueueSend.java:91)
    Could someone please help. thanks.

    when i run the main method with args[0] = "t3://localhost:7001", i get the following errors:
    Exception in thread "Main Thread" java.lang.NoClassDefFoundError: weblogic/security/subject/AbstractSubject
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:197)
    at QueueSend.getInitialContext(QueueSend.java:122)
    at QueueSend.main(QueueSend.java:91)
    Could someone please help. thanks.This is Java 101:
    http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/rtrb_classload_viewer.html
    You've got to have the WebLogic JAR that contains the necessary .class files in your CLASSPATH when you run.
    Don't use a CLASSPATH environment variable; use the -classpath option when you run.
    %

  • RMIConnectorServer Snafu - java.lang.NoClassDefFoundError:

    All,
    Your help debugging the following code snippet, which results in a "java.lang.NoClassDefFoundError: javax.security.auth.Subject" excpetion being thrown (argh!!!), would be greatly appreciated. Thanks in advance.
    Code snippet:
    ==================================================================================
    jmxUrl = new JMXServiceURL( "service:jmx:rmi:///jndi/rmi://localhost:9999/server");
    JMXConnectorServer connector = JMXConnectorServerFactory.newJMXConnectorServer( jmxUrl, null, getMBeanServer() );
    connector.start();
    The stack trace is as follows:
    ==================================================================================
    Exception breakpoint occurred at line 120 of Class.java.
    java.lang.NoClassDefFoundError: javax.security.auth.Subject
    Exception breakpoint occurred at line 120 of Class.java.
    java.lang.NoClassDefFoundError: javax.security.auth.Subject
    Exception breakpoint occurred at line 718 of RMIConnectorServer.java.
    java.lang.NoClassDefFoundError: javax.security.auth.Subject
    java.lang.NoClassDefFoundError: javax.security.auth.Subject
         java.lang.Class javax.management.remote.rmi.RMIConnectionImpl_Stub.class$(java.lang.String)
         void javax.management.remote.rmi.RMIConnectionImpl_Stub.<clinit>()
         java.lang.Class java.lang.Class.forName0(java.lang.String, boolean, java.lang.ClassLoader)
              native code
         java.lang.Class java.lang.Class.forName(java.lang.String)
              Class.java:120
         void javax.management.remote.rmi.RMIConnector.<clinit>()
              RMIConnector.java:1969
         javax.management.remote.rmi.RMIServer javax.management.remote.rmi.RMIConnectorServer.objectToBind(javax.management.remote.rmi.RMIServerImpl, java.util.Map)
              RMIConnectorServer.java:718
         void javax.management.remote.rmi.RMIConnectorServer.start()
              RMIConnectorServer.java:392
         void gov.nih.nci.iscs.infra.jmx.MBeanAgent.startRMIConnector(java.lang.String, java.lang.String, java.lang.String, java.lang.String, int)
              MBeanAgent.java:291
         void gov.nih.nci.iscs.infra.jmx.MBeanAgent.startRMIConnector(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
              MBeanAgent.java:265
         void gov.nih.nci.iscs.infra.jmx.MBeanAgent.startRMIConnectors(java.util.List)
              MBeanAgent.java:126
         void gov.nih.nci.iscs.infra.jmx.MBeanAgent.startConnectors()
              MBeanAgent.java:87
         void gov.nih.nci.iscs.infra.jmx.MBeanAgent.startServices()
              MBeanAgent.java:45

    Ah, you are most correct, Grasshopper!
    More to the point, I'm developing a JMX prototype which requires J2SE JDK 1.4. I was running v1.3 (blush).
    Thanks for the help!!!

  • Java.lang.NoClassDefFoundError: Lcom/adobe/service/ConnectionFactory;

    Hi,<br /><br />I am trying to run the livecycle assembler sample code.<br /><br />When I call invoke method on Assembler bean object,I get NoClassDefFoundError.I have added all the library jars in my classpath as listed in the documentation.<br /><br />assembler7EJBclient.jar<br />adobe-common.jar<br />AdobeCSAUtils.jar<br />datamanager-client.jar<br /><br />I would appreciate if someone can point me to missing jar file needed here.<br /><br />Here is the stack trace.<br /><br />java.lang.NoClassDefFoundError: Lcom/adobe/service/ConnectionFactory;<br />     at java.lang.Class.getDeclaredFields0(Native Method)<br />     at java.lang.Class.privateGetDeclaredFields(Unknown Source)<br />     at java.lang.Class.getDeclaredField(Unknown Source)<br />     at java.io.ObjectStreamClass.getDeclaredSUID(Unknown Source)<br />     at java.io.ObjectStreamClass.access$400(Unknown Source)<br />     at java.io.ObjectStreamClass$3.run(Unknown Source)<br />     at java.security.AccessController.doPrivileged(Native Method)<br />     at java.io.ObjectStreamClass.<init>(Unknown Source)<br />     at java.io.ObjectStreamClass.lookup(Unknown Source)<br />     at java.io.ObjectOutputStream.writeObject0(Unknown Source)<br />     at java.io.ObjectOutputStream.writeArray(Unknown Source)<br />     at java.io.ObjectOutputStream.writeObject0(Unknown Source)<br />     at java.io.ObjectOutputStream.writeObject(Unknown Source)<br />     at org.jboss.invocation.MarshalledValue.<init>(MarshalledValue.java:57)<br />     at org.jboss.invocation.MarshalledInvocation.writeExternal(MarshalledInvocation.java:477)<br />     at java.io.ObjectOutputStream.writeExternalData(Unknown Source)<br />     at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)<br />     at java.io.ObjectOutputStream.writeObject0(Unknown Source)<br />     at java.io.ObjectOutputStream.writeObject(Unknown Source)<br />     at sun.rmi.server.UnicastRef.marshalValue(Unknown Source)<br />     at sun.rmi.server.UnicastRef.invoke(Unknown Source)<br />     at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)<br />     at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:135)<b r />     at org.jboss.invocation.MarshallingInvokerInterceptor.invoke(MarshallingInvokerInterceptor.j ava:67)<br />     at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)<br />     at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:53)<br />     at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:1 00)<br />     at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)<br />     at $Proxy1.invoke(Unknown Source)

    am developing a sample class using netbeans.
    i have all the software windows 2003(adobe lifecycle assembler 7.2/ bea 8.1 sp4) installed on same box
    I was running into similar issue as described above but that got fixed when added DocumentServicesLibrary.jar to class path in netbeans
    when i try to debug my class . its throwing me a error
    after this statement
    ctx=asm.login(username,pasword)
    printstacktrace() is
    Assembler 7 is unreachable - failed to unmarshal class com.adobe.idp.Context; nested exception is: java.io.InvalidObjectException
    : inauthentic principal assertion
    Any thoughts - I am using the sample code provide in developer guide ..

  • Verify failed; continuing java.lang.NoClassDefFoundError: jms/server/MDB

    Hi friend iam trying to deploy my MDB on Jboss as but i get these errors
    Verify failed; continuing java.lang.NoClassDefFoundError: jms/server/MDB
    i cant find what is the problem
    in the jar file i hav directory jms/server under that directory MDB.class exhists. and in the ejb jar i mentioned like this
    <ejb-name>MDB</ejb-name>
    <ejb-class>jms.server.MDB</ejb-class>
    i really dont understand what is the problem.
    any help
    thanks

    Hi,
    You can check it out the JNDI name in the JMS. This name is same as the jndi name in the xml file.
    Are u going to use Queue or Topic API.
    If it is queue, you declare queue in xml file.
    I wish you all the best
    Maruthi.

  • Help me. - java.lang.NoClassDefFoundError

    Hello.
    Sombody help me.
    My TesterBean call to TraderBean.
    But TesterBean not found traderClient.jar.
    The traderClient.jar include TraderHome and Trader class.
    Is traderClient.jar set to classpath of WLS6.1?
    For example, Writing in a startSever.cmd file?
    startSever.cmd ----------------------------
    set CLASSPATH=.;.\lib\weblogic_sp.jar;. . . ;traderClient.jar
    Does traderClient.jar must setted at startServer.cmd?
    But I don't want to this setting.
    Thanks.
    Min
    My Program source.
    My TesterBean's ejb_MANIFEST.MF content is ............
    Manifest-Version: 1.0
    Class-Path: traderClient.jar
    public class TesterBean implements SessionBean {
    public void test() throws NamingException, Exception
    try {
    TraderHome home = (TraderHome)ctx.lookup("ejb20-statelessSession-TraderHome");
    Exception ..............
    java.rmi.RemoteException: EJB Exception: ; nested exception is:
    java.lang.NoClassDefFoundError: examples/ejb20/basic/statelessSession/TraderHome
    TesterBean's Build.xml contents..
    <target name="jar_ejb" depends="compile_ejb">
    <jar jarfile="${dist}/std_ejb20_basic_tester.jar" basedir="${build}" manifest="ejb_MANIFEST.MF">
    TraderBean's ejb-jar.xml contents ....
    <ejb-client-jar>traderClient.jar</ejb-client-jar>
    [att1.html]

    im having similar problems. i suspect it has something to do with the classpath...but as of yet im still stuck. i get this error when i attempt to start the tomcat that coems with jwsdp1.1

  • Help for java.lang.NoClassDefFoundError:

    hi all, i wrote a jws shows the following.
    import java.lang.*;
    import java.util.*;
    * * @author bow5003
    public class CalculatorWithDLL {
    private native float add(float num1, float num2);
    private native float sub(float num1, float num2);
    private native float mult(float num1, float num2);
    private native float divid(float num1, float num2);
    private native float square(float num1);
    private native float tripple(float num1);
    //private float result;
    /** Creates a new instance of CalculatorWithDLL */
    public static float getAdd(float num1, float num2) {
    CalculatorWithDLL calculator = new CalculatorWithDLL();
    float result = calculator.add(num1, num2);
    return result;
    public static float getSub(float num1, float num2){
    CalculatorWithDLL calculator = new CalculatorWithDLL();
    float result = calculator.sub(num1, num2);
    return result;
    public static float getMult(float num1, float num2) {
    CalculatorWithDLL calculator = new CalculatorWithDLL();
    float result = calculator.mult(num1, num2);
    return result;
    public static float getDivid(float num1, float num2) {
    CalculatorWithDLL calculator = new CalculatorWithDLL();
    float result = calculator.divid(num1, num2);
    return result;
    public static float getSquare(float num1) {
    CalculatorWithDLL calculator = new CalculatorWithDLL();
    float result = calculator.square(num1);
    return result;
    public static float getTriple(float num1) {
    CalculatorWithDLL calculator = new CalculatorWithDLL();
    float result = calculator.tripple(num1);
    return result;
    static {
    System.loadLibrary("Calculator");
    and when i try to access throw the web browser http://localhost:8080/axis/JWS_Files/CalculatorWithDLL.jws?wsdl it gives the error:
    java.lang.NoClassDefFoundError: Could not initialize class CalculatorWithDLL
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:168)
    at java.security.AccessController.doPrivileged(NativeMethod)
    at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
    at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:142)
    at org.apache.axis.utils.cache.ClassCache.lookup(ClassCache.java:85)
    at org.apache.axis.providers.java.JavaProvider.getServiceClass(JavaProvider.java:428)
    at org.apache.axis.providers.java.JavaProvider.initServiceDesc(JavaProvider.java:461)
    at org.apache.axis.handlers.soap.SOAPService.getInitializedServiceDesc(SOAPService.java:286)
    at org.apache.axis.handlers.JWSHandler.setupService(JWSHandler.java:273)
    at org.apache.axis.handlers.JWSHandler.generateWSDL(JWSHandler.java:294)
    at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java:33)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:104)
    at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:454)
    at org.apache.axis.transport.http.QSWSDLHandler.invoke(QSWSDLHandler.java:68)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.axis.transport.http.AxisServlet.processQuery(AxisServlet.java:1226)
    at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:249)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)
    anyone can help me?
    Message was edited by:
    BCW0928
    Message was edited by:
    BCW0928

    Where is the dll ?
    you need to include it in a jar, and ref that jar with
    <nativelib href=<url to the jar>/>
    and request all-permissions in you jnlp file (and sign both jars)
    /Andy

  • Deployment aborted : java.lang.NoClassDefFoundError:

    Hi All ,
           I am working with DCs. I am having 
    2 ejbs DCs
    1 ejb application DC
    1 Java DC having all helpers classes
    I want to use classes from helper java Dc into both EJB DCs. I have added  both DCs as required component in both ejb DCs. its building fine , ie. successfully but not getting deployed giving error as follows. Also i would like to mention that i am working on Netweaver 7.1. EJB Application got deployed successfully whn i added only one ejb into it but whn i added second ejb dc i got this error while deploying. why this second Dc is not getting path for classes from helper DC?????
    --- Deploying file(s):
         F:\NWDS\workspace.jdi\0\DCs\asianpaints.com\erecapp\_comp\gen\default\deploy\asianpaints.com~erecapp.ear
    --- Status:
         Deploy finished with warnings.
    --- Description:
                S U M M A R Y
    ~~~~~~~~~~~~~~~~~~~
    Successfully deployed:           0
    Deployed with warnings:           1
    Failed deployments:                0
    ~~~~~~~~~~~~~~~~~~~
    1. File:F:\NWDS\workspace.jdi\0\DCs\asianpaints.com\erecapp\_comp\gen\default\deploy\asianpaints.com~erecapp.ear
         Name:erecapp
         Vendor:asianpaints.com
         Location:J2N_ERECTT_D
         Version:20080523142902
         Deploy status:Warning
         Version:NEW
         Description:
              1. Exception has been returned while the 'asianpaints.com/erecapp' was starting. Warning/Exception :
    [ERROR CODE DPL.DS.6193] Error while ; nested exception is:
         com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5030] Clusterwide exception: server ID 6358450:com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5082] Exception while preparing start of application asianpaints.com/erecapp.
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepareCommon(StartTransaction.java:229)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:179)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:420)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:445)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.super_MakeAllPhases(ParallelAdapter.java:337)
         at com.sap.engine.services.deploy.server.application.StartTransaction.makeAllPhasesImpl(StartTransaction.java:550)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:251)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:392)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3389)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3375)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3278)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3251)
         at com.sap.engine.services.dc.lcm.impl.J2EELCMProcessor.doStart(J2EELCMProcessor.java:99)
         at com.sap.engine.services.dc.lcm.impl.LifeCycleManagerImpl.start(LifeCycleManagerImpl.java:62)
         at com.sap.engine.services.dc.cm.deploy.impl.LifeCycleManagerStartVisitor.visit(LifeCycleManagerStartVisitor.java:34)
         at com.sap.engine.services.dc.cm.deploy.impl.DeploymentItemImpl.accept(DeploymentItemImpl.java:83)
         at com.sap.engine.services.dc.cm.deploy.impl.DefaultDeployPostProcessor.postProcessLCMDeplItem(DefaultDeployPostProcessor.java:80)
         at com.sap.engine.services.dc.cm.deploy.impl.DefaultDeployPostProcessor.postProcess(DefaultDeployPostProcessor.java:56)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.doPostProcessing(DeployerImpl.java:741)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.performDeploy(DeployerImpl.java:732)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.doDeploy(DeployerImpl.java:576)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deploy(DeployerImpl.java:270)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deploy(DeployerImpl.java:192)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImplp4_Skel.dispatch(DeployerImplp4_Skel.java:875)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:351)
         at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:70)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:62)
         at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:37)
         at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:877)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:53)
         at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:58)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:108)
         at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:304)
    Caused by: java.lang.NoClassDefFoundError: com/apl/erec/dto/PositionFlatDTO
         at java.lang.Class.getDeclaredMethods0(Native Method)
         at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
         at java.lang.Class.getMethod0(Class.java:2642)
         at java.lang.Class.getMethod(Class.java:1579)
         at com.sap.engine.services.ejb3.model.utils.RFCUtils.isRFCEnabled(RFCUtils.java:131)
         at com.sap.engine.services.ejb3.model.utils.RFCUtils.getRFCInterface(RFCUtils.java:30)
         at com.sap.engine.services.ejb3.runtime.impl.Actions_StatelessBeanFactoriesInitialization.createRFCFactory(Actions_StatelessBeanFactoriesInitialization.java:147)
         at com.sap.engine.services.ejb3.runtime.impl.Actions_StatelessBeanFactoriesInitialization.perform(Actions_StatelessBeanFactoriesInitialization.java:39)
         at com.sap.engine.services.ejb3.container.CompositeAction.perform(CompositeAction.java:81)
         at com.sap.engine.services.ejb3.container.ApplicationStarter.perform(ApplicationStarter.java:59)
         at com.sap.engine.services.ejb3.container.ContainerInterfaceImpl$Actions.perform(ContainerInterfaceImpl.java:887)
         at com.sap.engine.services.ejb3.container.ContainerInterfaceImpl.prepareStart(ContainerInterfaceImpl.java:425)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepareCommon(StartTransaction.java:219)
         ... 32 more
    Caused by: java.lang.ClassNotFoundException: com.apl.erec.dto.PositionFlatDTO
    Loader Info -
    ClassLoader name: [asianpaints.com/erecapp]
    Living status: alive
    Direct parent loaders:
       [system:Frame]
       [service:servlet_jsp]
       [service:ejb]
    Resources:
       /usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/EJBContainer/applicationjars/asianpaints.com~ldapcomp.jar
       /usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/EJBContainer/applicationjars/asianpaints.com~autokey.jar
       /usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/EJBContainer/applicationjars/asianpaints.com~mastermg.jar
       /usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/EJBContainer/applicationjars/asianpaints.com~jobposmg.jar
       /usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/EJBContainer/jars/gen_asianpaints.com~mastermg.jar
       /usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/EJBContainer/jars/gen_asianpaints.com~jobposmg.jar
       /usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/EJBContainer/jars/gen_asianpaints.com~autokey.jar
       /usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/webservices_container/asianpaints.com~jobposmg_EJB/types/PositionRetrival/PositionRetrival.jar
       /usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/webservices_container/asianpaints.com~jobposmg_EJB/types/JobDetailsRetrival/JobDetailsRetrival.jar
       /usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/webservices_container/asianpaints.com~jobposmg_EJB/types/PositionHandler/PositionHandler.jar
       /usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/webservices_container/asianpaints.com~jobposmg_EJB/types/JobHandler/JobHandler.jar
       /usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/webservices_container/asianpaints.com~jobposmg_EJB/types/OrgTreeDetailsRetrival/OrgTreeDetailsRetrival.jar
       /usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/webservices_container/asianpaints.com~jobposmg_EJB/types/RequisitionRetrival/RequisitionRetrival.jar
       /usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/webservices_container/asianpaints.com~ldapcomp_EJB/types/LDAPSearchService/LDAPSearchService.jar
       /usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/servlet_jsp/JobHandler/JobHandlerConfig/root/WEB-INF/classes
       /usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/servlet_jsp/OrgTreeDetailsRetrival/OrgTreeDetailsRetrivalConfig/root/WEB-INF/classes
       /usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/servlet_jsp/JobDetailsRetrival/JobDetailsRetrivalConfig/root/WEB-INF/classes
       /usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/servlet_jsp/PositionHandler/PositionHandlerConfig/root/WEB-INF/classes
       /usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/servlet_jsp/RequisitionRetrival/RequisitionRetrivalConfig/root/WEB-INF/classes
       /usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/servlet_jsp/LDAPSearchService/LDAPSearchServiceConfig/root/WEB-INF/classes
       /usr/sap/J2D/J00/j2ee/cluster/apps/asianpaints.com/erecapp/servlet_jsp/PositionRetrival/PositionRetrivalConfig/root/WEB-INF/classes
         at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:259)
         at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:228)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:353)
         ... 45 more
    Result
    Status:Warning

    I would set "prefer-web-inf-classes" to "true" in your "weblogic.xml" file. Without this, you may be getting classloader confusion with some of the commons jars that are used within WebLogic.

  • MDB java.lang.NoClassDefFoundError

    Hello,
    I am receiving the following error when sending a message to a queue
    <MessageDrivenBean threw an Exception in onMessage(). The exception was: java.lang.NoClassDefFoundError: .....
    The class in question is in a jar inside my ear file.
    The MDB is in a jar in the same ear.
    When the exception occurs, WebLogic goes haywire...I think beacuse it continually tries to process the message
    I am using WebLogic 8.1.
    Is this a classloading problem?
    Any suggestions will be most appreciated.
    Thanks,
    Bob

    Hello,
    Here is a partial stacktrace (sorry I can't provide the full trace):
    ####<Jul 17, 2006 9:48:53 AM EDT> <Warning> <EJB> <WPUSD2014295> <myserver> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-010065> <MessageDrivenBean threw an Exception in onMessage(). The exception was:
    <b>java.lang.NoClassDefFoundError:</b>
    The MDB is in a jar with other ejb's and project classes inside of an ear. The class that is not found is in another jar inside the same ear.
    The class that is not found is actually not directly referenced by the MDB. The MDB has an association (in the onMessage() method) to a processing class. The processing class has an association to another class, and that class has an association to the class that is not being found.
    I believe the class in the jar file is in the expected package directory structure, because I can bypass the MDB and run a JUnit test through Eclipse.
    I'm not sure about APP-INF/lib. I don't know where to look for that. This app is running for now in my development environment, on the default myserver/mydomain. The ear is sitting on my local drive, not anywhere in the Bea folders.
    I checked the class and it is valid.
    By the way, the jar in question is part of a code generated web service client that I build locally and then just add the jar to the ear via the overall build process. I was thinking instead that I might add the Java files to my project instead and build them along with the rest of the app, instead of separately, so that they end up in the same jar as the MDB.
    Thanks very much,
    Bob

  • Java.lang.NoClassDefFoundError: Weblogic looks for wrong drivers

    Hi all,
    I have a strange problem with weblogic. I use weblogic7.0 with MS SQLServer database.
    All my jdbc related code from anywhere within my web application works without
    a problem.
    But when I try to access the database as a client using weblogic's datasource(obtained
    by JNDI lookup), I get the NoClassDefFoundError. Weblogic seems to be looking
    for some Oracle drivers strangely, where as I don't have any thing related to
    Oracle at all. It breaks on getConnection() call on data source. My connection
    pool and data source are defined properly and I have the JDBC drivers for SQLServer
    in weblogic's classpath and also in client's classpath(although not required).
    Again, all the database access code within my session beans using the same datasource
    works fine. Weblogic server and the client application are running on the same(local)
    machine.
    Any help would be appreciated.
    Thanks in advance.
    Vas
    Here's the stack trace.
    java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleStatement
         at java.lang.Class.getMethods0(Native Method)
         at java.lang.Class.getMethods(Class.java:737)
         at weblogic.rmi.utils.Utilities.getRemoteMethods(Utilities.java:382)
         at weblogic.rmi.internal.StubGenerator.<init>(StubGenerator.java:79)
         at weblogic.rmi.internal.StubGenerator.<init>(StubGenerator.java:60)
         at weblogic.rmi.internal.StubGenerator.getStubClass(StubGenerator.java:637)
         at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:656)
         at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:651)
         at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:59)
         at weblogic.common.internal.RemoteObjectReplacer.resolveObject(RemoteObjectReplacer.java:249)
         at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:134)
         at java.lang.reflect.Method.invoke(Native Method)
         at java.io.ObjectStreamClass.invokeMethod(ObjectStreamClass.java:1610)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:388)
         at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2258)
         at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:514)
         at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1407)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
         at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:140)
         at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:91)
         at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:161)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:128)
         at weblogic.jdbc.common.internal.RmiDataSource_WLStub.getConnection(Unknown Source)
         at com.actiontech.jmetro.server.core.DBSession.executeQuery(DBSession.java:109)
         at com.actiontech.jmetro.server.query.NamespaceMappings.loadMappings(NamespaceMappings.java:76)
         at com.actiontech.jmetro.server.query.NamespaceMappings.<init>(NamespaceMappings.java:56)
         at com.actiontech.jmetro.server.query.NamespaceMappings.getInstance(NamespaceMappings.java:50)
         at com.actiontech.jmetro.server.query.NamespaceMappingsTest.testSave(NamespaceMappingsTest.java:21)
         at java.lang.reflect.Method.invoke(Native Method)
         at junit.framework.TestCase.runTest(TestCase.java:154)
         at junit.framework.TestCase.runBare(TestCase.java:127)
         at junit.framework.TestResult$1.protect(TestResult.java:106)
         at junit.framework.TestResult.runProtected(TestResult.java:124)
         at junit.framework.TestResult.run(TestResult.java:109)
         at junit.framework.TestCase.run(TestCase.java:118)
         at junit.framework.TestSuite.runTest(TestSuite.java:208)
         at junit.framework.TestSuite.run(TestSuite.java:203)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:360)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:246)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:146)

    Hi all,
    I have a strange problem with weblogic. I use weblogic7.0 with MS SQLServer database.
    All my jdbc related code from anywhere within my web application works without
    a problem.
    But when I try to access the database as a client using weblogic's datasource(obtained
    by JNDI lookup), I get the NoClassDefFoundError. Weblogic seems to be looking
    for some Oracle drivers strangely, where as I don't have any thing related to
    Oracle at all. It breaks on getConnection() call on data source. My connection
    pool and data source are defined properly and I have the JDBC drivers for SQLServer
    in weblogic's classpath and also in client's classpath(although not required).
    Again, all the database access code within my session beans using the same datasource
    works fine. Weblogic server and the client application are running on the same(local)
    machine.
    Any help would be appreciated.
    Thanks in advance.
    Vas
    Here's the stack trace.
    java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleStatement
         at java.lang.Class.getMethods0(Native Method)
         at java.lang.Class.getMethods(Class.java:737)
         at weblogic.rmi.utils.Utilities.getRemoteMethods(Utilities.java:382)
         at weblogic.rmi.internal.StubGenerator.<init>(StubGenerator.java:79)
         at weblogic.rmi.internal.StubGenerator.<init>(StubGenerator.java:60)
         at weblogic.rmi.internal.StubGenerator.getStubClass(StubGenerator.java:637)
         at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:656)
         at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:651)
         at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:59)
         at weblogic.common.internal.RemoteObjectReplacer.resolveObject(RemoteObjectReplacer.java:249)
         at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:134)
         at java.lang.reflect.Method.invoke(Native Method)
         at java.io.ObjectStreamClass.invokeMethod(ObjectStreamClass.java:1610)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:388)
         at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2258)
         at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:514)
         at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1407)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
         at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:140)
         at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:91)
         at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:161)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:128)
         at weblogic.jdbc.common.internal.RmiDataSource_WLStub.getConnection(Unknown Source)
         at com.actiontech.jmetro.server.core.DBSession.executeQuery(DBSession.java:109)
         at com.actiontech.jmetro.server.query.NamespaceMappings.loadMappings(NamespaceMappings.java:76)
         at com.actiontech.jmetro.server.query.NamespaceMappings.<init>(NamespaceMappings.java:56)
         at com.actiontech.jmetro.server.query.NamespaceMappings.getInstance(NamespaceMappings.java:50)
         at com.actiontech.jmetro.server.query.NamespaceMappingsTest.testSave(NamespaceMappingsTest.java:21)
         at java.lang.reflect.Method.invoke(Native Method)
         at junit.framework.TestCase.runTest(TestCase.java:154)
         at junit.framework.TestCase.runBare(TestCase.java:127)
         at junit.framework.TestResult$1.protect(TestResult.java:106)
         at junit.framework.TestResult.runProtected(TestResult.java:124)
         at junit.framework.TestResult.run(TestResult.java:109)
         at junit.framework.TestCase.run(TestCase.java:118)
         at junit.framework.TestSuite.runTest(TestSuite.java:208)
         at junit.framework.TestSuite.run(TestSuite.java:203)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:360)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:246)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:146)

  • Error during generation of the WSDL:  BUILD FAILED java.lang.NoClassDefFoundError: com/sun/javadoc/Type

    When I create an EJB Transport Business Service, after selecting the jar that has the EJB 2.1 artefacts (Remote, Home, etc) the oepe plugin fails and can't continue.
    As I understand it seems that there is a problem with the classpath of ant build.xml  that oepe creates inside folder /tmp/alsbejbtransport/ to compile the bs and generate the wsdl. I checked if tools.jar is in the classpath (in eclipse) and is included, so I can't figure out wich is the problem.
    I found this in Oracle, but not helps solve the problem:
    BEA-398120
    Error: The WSDL for the typed transport endpoint could not be accessed.
    Description
    There was a problem retrieving the WSDL from the typed transport service endpoint at the time of service registration
    Action
    Contact technical support
    This is the the full stacktrace that shows eclipse.
    Generate : Error during generation of the WSDL:
    BUILD FAILED
    java.lang.NoClassDefFoundError: com/sun/javadoc/Type
            at com.bea.util.jam.provider.JamServiceFactoryImpl.createSourceBuilder(JamServiceFactoryImpl.java:205)
            at com.bea.util.jam.provider.JamServiceFactoryImpl.createBuilder(JamServiceFactoryImpl.java:158)
            at com.bea.util.jam.provider.JamServiceFactoryImpl.createClassLoader(JamServiceFactoryImpl.java:137)
            at com.bea.util.jam.provider.JamServiceFactoryImpl.createService(JamServiceFactoryImpl.java:78)
            at weblogic.wsee.util.JamUtil.parseSource(JamUtil.java:152)
            at weblogic.wsee.tools.anttasks.JwsLoader.loadJClasses(JwsLoader.java:186)
            at weblogic.wsee.tools.anttasks.JwsLoader.load(JwsLoader.java:75)
            at weblogic.wsee.tools.anttasks.JwsModule.loadWebServices(JwsModule.java:569)
            at weblogic.wsee.tools.anttasks.JwsModule.generate(JwsModule.java:369)
            at weblogic.wsee.tools.anttasks.JwsModule.build(JwsModule.java:256)
            at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:184)
            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
            at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:601)
            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
            at org.apache.tools.ant.Task.perform(Task.java:348)
            at org.apache.tools.ant.Target.execute(Target.java:357)
            at org.apache.tools.ant.Target.performTasks(Target.java:385)
            at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
            at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
            at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
            at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
            at org.apache.tools.ant.Main.runBuild(Main.java:758)
            at org.apache.tools.ant.Main.startAnt(Main.java:217)
            at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
            at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    Caused by: java.lang.ClassNotFoundException: com.sun.javadoc.Type
            at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1400)
            at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1341)
            at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1088)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
            ... 27 more
    Total time: 0 seconds
    Eclipse Installation details:
    *** System properties:
    eclipse.application=org.eclipse.ui.ide.workbench
    eclipse.buildId=M20110909-1335
    eclipse.commands=-os
    linux
    -ws
    gtk
    -arch
    x86_64
    -showsplash
    -launcher
    {home}/Development/oepe-indigo/eclipse
    -name
    Eclipse
    --launcher.library
    {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so
    -startup
    {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    --launcher.overrideVmargs
    -exitdata
    1e418010
    -vm
    /usr/bin/java
    eclipse.home.location=file:{home}/Development/oepe-indigo/
    eclipse.launcher={home}/Development/oepe-indigo/eclipse
    eclipse.launcher.name=Eclipse
    [email protected]/../p2/
    eclipse.p2.profile=PlatformProfile
    eclipse.product=org.eclipse.platform.ide
    eclipse.startTime=1374623921455
    eclipse.vm=/usr/bin/java
    eclipse.vmargs=-Xms256m
    -Xmx768m
    -XX:MaxPermSize=512m
    -Dsun.lang.ClassLoader.allowArraySyntax=true
    -Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3
    -Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester
    -Dosb.home={home}/Oracle/Middleware/Oracle_OSB1
    -Dosgi.bundlefile.limit=750
    -Dosgi.nl=en_US
    -Dmiddleware.home={home}/Oracle/Middleware
    -jar
    {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    equinox.use.ds=true
    file.encoding=UTF-8
    file.encoding.pkg=sun.io
    file.separator=/
    guice.disable.misplaced.annotation.check=true
    harvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester
    http.nonProxyHosts=localhost
    java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
    java.awt.printerjob=sun.print.PSPrinterJob
    java.class.path={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    java.class.version=50.0
    java.endorsed.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/endorsed
    java.ext.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/ext:/usr/java/packages/lib/ext
    java.home=/usr/lib/jvm/jdk1.6.0_45/jre
    java.io.tmpdir=/tmp
    java.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64/server:/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64:/usr/lib/jvm/jdk1.6.0_45/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
    java.protocol.handler.pkgs=null|com.bea.wli.sb.resources.url|com.bea.wli.sb.resources.jca.upgrade.url|weblogic.utils|weblogic.utils|weblogic.utils|weblogic.net|weblogic.net
    java.runtime.name=Java(TM) SE Runtime Environment
    java.runtime.version=1.6.0_45-b06
    java.specification.name=Java Platform API Specification
    java.specification.vendor=Sun Microsystems Inc.
    java.specification.version=1.6
    java.vendor=Sun Microsystems Inc.
    java.vendor.url=http://java.sun.com/
    java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
    java.version=1.6.0_45
    java.vm.info=mixed mode
    java.vm.name=Java HotSpot(TM) 64-Bit Server VM
    java.vm.specification.name=Java Virtual Machine Specification
    java.vm.specification.vendor=Sun Microsystems Inc.
    java.vm.specification.version=1.0
    java.vm.vendor=Sun Microsystems Inc.
    java.vm.version=20.45-b01
    javax.rmi.CORBA.PortableRemoteObjectClass=weblogic.iiop.PortableRemoteObjectDelegateImpl
    javax.rmi.CORBA.UtilClass=weblogic.iiop.UtilDelegateImpl
    jna.platform.library.path=/usr/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu:/lib64:/usr/lib:/lib
    line.separator=
    middleware.home={home}/Oracle/Middleware
    oracle.eclipse.tools.weblogic.ui.isWebLogicServer=true
    org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog
    org.eclipse.equinox.launcher.splash.location={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
    org.eclipse.equinox.simpleconfigurator.configUrl=file:org.eclipse.equinox.simpleconfigurator/bundles.info
    org.eclipse.m2e.log.dir={home}/workspace/pragma/.metadata/.plugins/org.eclipse.m2e.logback.configuration
    org.eclipse.update.reconcile=false
    org.omg.CORBA.ORBClass=weblogic.corba.orb.ORB
    org.omg.CORBA.ORBSingletonClass=weblogic.corba.orb.ORB
    org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,OSGi/Minimum-1.2,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5,JavaSE-1.6
    org.osgi.framework.language=en
    org.osgi.framework.os.name=Linux
    org.osgi.framework.os.version=3.8.0
    org.osgi.framework.processor=x86-64
    org.osgi.framework.system.capabilities=osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0, 1.1, 1.2",osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6"
    org.osgi.framework.system.packages=javax.accessibility,javax.activation,javax.activity,javax.annotation,javax.annotation.processing,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.jws,javax.jws.soap,javax.lang.model,javax.lang.model.element,javax.lang.model.type,javax.lang.model.util,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.script,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.tools,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.bind,javax.xml.bind.annotation,javax.xml.bind.annotation.adapters,javax.xml.bind.attachment,javax.xml.bind.helpers,javax.xml.bind.util,javax.xml.crypto,javax.xml.crypto.dom,javax.xml.crypto.dsig,javax.xml.crypto.dsig.dom,javax.xml.crypto.dsig.keyinfo,javax.xml.crypto.dsig.spec,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.soap,javax.xml.stream,javax.xml.stream.events,javax.xml.stream.util,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stax,javax.xml.transform.stream,javax.xml.validation,javax.xml.ws,javax.xml.ws.handler,javax.xml.ws.handler.soap,javax.xml.ws.http,javax.xml.ws.soap,javax.xml.ws.spi,javax.xml.ws.wsaddressing,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.css,org.w3c.dom.events,org.w3c.dom.html,org.w3c.dom.ls,org.w3c.dom.ranges,org.w3c.dom.stylesheets,org.w3c.dom.traversal,org.w3c.dom.views,org.w3c.dom.xpath,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
    org.osgi.framework.uuid=901615cd-f3f3-0012-11b6-a3bca4d97ac1
    org.osgi.framework.vendor=Eclipse
    org.osgi.framework.version=1.6.0
    org.osgi.supports.framework.extension=true
    org.osgi.supports.framework.fragment=true
    org.osgi.supports.framework.requirebundle=true
    os.arch=amd64
    os.name=Linux
    os.version=3.8.0-26-generic
    osb.home={home}/Oracle/Middleware/Oracle_OSB1
    osgi.arch=x86_64
    osgi.bundlefile.limit=750
    osgi.bundles=reference:file:javax.transaction_1.1.1.v201105210645.jar,reference:file:org.eclipse.equinox.simpleconfigurator_1.0.200.v20110502-1955.jar@1:start
    osgi.bundles.defaultStartLevel=4
    osgi.bundlestore={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/bundles
    osgi.configuration.area=file:{home}/Development/oepe-indigo/configuration/
    osgi.framework=file:{home}/Development/oepe-indigo/plugins/org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar
    osgi.framework.extensions=reference:file:javax.transaction_1.1.1.v201105210645.jar
    osgi.framework.shape=jar
    osgi.framework.version=3.7.1.R37x_v20110808-1106
    osgi.frameworkClassPath=., file:{home}/Development/oepe-indigo/plugins/javax.transaction_1.1.1.v201105210645.jar
    osgi.install.area=file:{home}/Development/oepe-indigo/
    osgi.instance.area=file:{home}/workspace/pragma/
    osgi.instance.area.default=file:{home}/workspace/
    osgi.logfile={home}/workspace/pragma/.metadata/.log
    osgi.manifest.cache={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/manifests
    osgi.nl=en_US
    osgi.nl.user=en_US
    osgi.os=linux
    osgi.splashLocation={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
    osgi.splashPath=platform:/base/plugins/org.eclipse.platform
    osgi.syspath={home}/Development/oepe-indigo/plugins
    osgi.tracefile={home}/workspace/pragma/.metadata/trace.log
    osgi.ws=gtk
    path.separator=:
    securerandom.source=file:/dev/./urandom
    socksNonProxyHost=localhost
    sun.arch.data.model=64
    sun.boot.class.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/resources.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/rt.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/sunrsasign.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jsse.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jce.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/charsets.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/jdk1.6.0_45/jre/classes
    sun.boot.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64
    sun.cpu.endian=little
    sun.cpu.isalist=
    sun.desktop=gnome
    sun.io.unicode.encoding=UnicodeLittle
    sun.java.command={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar -os linux -ws gtk -arch x86_64 -showsplash -launcher {home}/Development/oepe-indigo/eclipse -name Eclipse --launcher.library {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so -startup {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar --launcher.overrideVmargs -exitdata 1e418010 -vm /usr/bin/java -vmargs -Xms256m -Xmx768m -XX:MaxPermSize=512m -Dsun.lang.ClassLoader.allowArraySyntax=true -Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3 -Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester -Dosb.home={home}/Oracle/Middleware/Oracle_OSB1 -Dosgi.bundlefile.limit=750 -Dosgi.nl=en_US -Dmiddleware.home={home}/Oracle/Middleware -jar {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    sun.java.launcher=SUN_STANDARD
    sun.jnu.encoding=UTF-8
    sun.lang.ClassLoader.allowArraySyntax=true
    sun.management.compiler=HotSpot 64-Bit Tiered Compilers
    sun.os.patch.level=unknown
    svnkit.http.methods=Basic
    svnkit.library.gnome-keyring.enabled=false
    user.country=AR
    user.dir={home}/Development/oepe-indigo
    user.home={home}
    user.language=es
    user.name={username}
    user.timezone=America/Argentina/Buenos_Aires
    weblogic.home={home}/Oracle/Middleware/wlserver_10.3
    Thanks!!

    run this one in command prompt and then convert the applet using converter tool
    JC_HOME = C:\java_card_kit-2_2_2\bin\
    set CLASSES=%JCHOME%\lib\apduio.jar;%JC_HOME%\lib\apdutool.jar;%JC_HOME%\lib\jcwde.jar;%JC_HOME%\lib\converter.jar;%JC_HOME%\lib\scriptgen.jar;%JC_HOME%\lib\offcardverifier.jar;%JC_HOME%\lib\api.jar;%JC_HOME%\lib\installer.jar;%JC_HOME%\lib\capdump.jar;
    D:\NareshPalle\jcardRE\Smart\src>java -classpath %_CLASSES% com.sun.javacard.con
    verter.Converter -out EXP JCA CAP -exportpath .\exp -applet 0x0a:0x00:0x00:0x00:0x0e:0x01:0x02:
    0x03:0x04:0x05:0x06 PackageName appletName 0x01:0x02:0x03:0x04:0x05:0x0
    6:0x07:0x08 1.0
    or
    go to following directory and run the converter tool in command prompt
    step 1: cd C:\java_card_kit-2_2_2\bin\
    then run this command under the above directory
    step 2:converter -classdir E:\Pathof Your applet class file -out EXP JCA CAP -exportpath E:\path of exp files folder -applet AID PackageName AppletName PackAID major.minor no
    For more doubts mail me....
    *[removed by moderator]*
    Thanks and Regards
    NareshPalle
    Edited by: EJP on 31/03/2012 20:09: removed your email address. Unless you like spam and unless you think these forums are provided for your personal benefit only, posting an email address here serves no useful purpose whatsoever.

Maybe you are looking for