Class not found: org.springframework.beans.factory.BeanCreationException

I am deploying an .ear file to an Oracle Application Server 10.1.2.0.2. In one container, it deploys correctly. In another conatiner on the same server and configured identically (or at least I believe), I try to deploy the same .ear file but I get the error:
Deployment failed: Nested exception
Resolution:
Base Exception:
com.evermind.server.rmi.OrionRemoteException
Class not found: org.springframework.beans.factory.BeanCreationException; nested exception is:
java.lang.ClassNotFoundException: org.springframework.beans.factory.BeanCreationException. Class not found: org.springframework.beans.factory.BeanCreationException; nested exception is:
java.lang.ClassNotFoundException: org.springframework.beans.factory.BeanCreationException
Anyone would have an idea why? Thanks in advance.

Greetings,
Your error implies that the classpath for the second deployment might be wrong. This cannot be the package if you are deploying an identical ear file. Can you look at the setup for the second container from the admin to see if there is an RMI connection configured incorrectly? Check your opmn.xml file for port info:
<port id="rmi" range="12401-12500"/>and check the server using netstat -a to see if the configured port is open for use before starting the OAS.
-Michael

Similar Messages

  • Org.springframework.beans.factory.BeanCreationException

    In the perisistence.xml we are configured the subscription jndi, calling using this applicationContext.xml.
    But our problem is that subscription jndi should be configured in jboss locally.
    Where we have to configured that jndi in local server. I have given the applicationContext and persistence.xml file blow:
    Also we have subscription-ds file in deploy folder of my JBoss5.1.2.
    When ever we are going to run the testcases it throwing following Exception:
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: subscription not bound
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    at java.security.AccessController.doPrivileged(Native Method)
    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.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
    at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
    at com.hungama.subscription.test.LogUtilTest.<init>(LogUtilTest.java:20)
    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 org.junit.runners.BlockJUnit4ClassRunner.createTest(BlockJUnit4ClassRunner.java:209)
    at org.junit.runners.BlockJUnit4ClassRunner$1.runReflectiveCall(BlockJUnit4ClassRunner.java:258)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    at org.junit.runners.BlockJUnit4ClassRunner.methodBlock(BlockJUnit4ClassRunner.java:255)
    at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
    Caused by: javax.naming.NameNotFoundException: subscription not bound
    at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
    at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
    at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
    at org.jnp.server.NamingServer.lookup(NamingServer.java:443)
    at sun.reflect.GeneratedMethodAccessor266.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
    at sun.rmi.transport.Transport$1.run(Transport.java:159)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
    at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
    at sun.rmi.server.UnicastRef.invoke(Unknown Source)
    at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:750)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:710)
    at javax.naming.InitialContext.lookup(Unknown Source)
    at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:155)
    at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:88)
    at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:153)
    at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:178)
    at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:95)
    at org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:105)
    at org.springframework.jndi.JndiObjectFactoryBean.lookupWithFallback(JndiObjectFactoryBean.java:200)
    at org.springframework.jndi.Jndi
    Following is my persistence.xml file which i kept in META-INF/persistence.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
    version="1.0">
         <persistence-unit name="subscriptionUnitName" transaction-type="JTA">
              <provider>org.hibernate.ejb.HibernatePersistence</provider>
              <jta-data-source>java:/subscriptionDS</jta-data-source>
              <properties>
                   <property name="hibernate.dialect" value="org.hibernate.dialect.MySQL5InnoDBDialect"/>
                   <!-- <property name="hibernate.hbm2ddl.auto" value="update"/> -->
                   <property name="hibernate.show_sql" value="false"/>
                   <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup"/>
                   <property name="jboss.entity.manager.jndi.name" value="java:/subscription"/>
                   <property name="jboss.entity.manager.factory.jndi.name" value="java:/subscriptionFactory"/>
              </properties>
         </persistence-unit>
    </persistence>
    My applicationContext.sml file looks like:
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:context="http://www.springframework.org/schema/context"
    xmlns:jee="http://www.springframework.org/schema/jee"
    xmlns:aop="http://www.springframework.org/schema/aop"
    xmlns:util="http://www.springframework.org/schema/util"
    xmlns:tx="http://www.springframework.org/schema/tx"
         xsi:schemaLocation="
         http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
         http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd
         http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
         http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
         http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd
    http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd">
    <util:properties id="chrgingProperties" location="classpath:charging-jndi.properties"/>
    <util:properties id="msgingProperties" location="classpath:messaging-jndi.properties"/>
    <bean id="jndiPropeties" class="com.myCompany.subscription.services.config.model.JNDIProperties">
              <property name="msgingProperties" ref="msgingProperties"></property>
              <property name="chrgingProperties" ref="chrgingProperties"></property>
    </bean>
              <jee:jndi-lookup id="entityManagerFactory" jndi-name="java:/subscription"></jee:jndi-lookup>
              <jee:jndi-lookup id="dataSource" jndi-name="java:/subscriptionDS"></jee:jndi-lookup>
              <bean id="trasactionManager" class="org.springframework.transaction.jta.JtaTransactionManager">
                   <property name="transactionManagerName" value="java:/TransactionManager"/>
         <property name="userTransactionName" value="UserTransaction"/>          
              </bean>
              <aop:config>
              <aop:pointcut id="productServiceMethods" expression="execution(* com.myCompany.subscription.services.impl.*.*(..))"/>
              <aop:advisor advice-ref="txAdvice" pointcut-ref="productServiceMethods"/>
              </aop:config>
              <tx:advice id="txAdvice" transaction-manager="trasactionManager">
                   <tx:attributes>
                   <tx:method name="getError*" propagation="REQUIRES_NEW" read-only="true"/>
                   <tx:method name="save*" propagation="REQUIRED" rollback-for="com.myCompany.subscription.exception.SubscriptionServiceException"/>
                   <tx:method name="chargeAmount*" propagation="REQUIRED"/>
                   <tx:method name="insert*" propagation="REQUIRED"/>
                   <tx:method name="update*" propagation="REQUIRED"/>
                   <tx:method name="get*" propagation="SUPPORTS" read-only="true"/>
                   <tx:method name="*" propagation="SUPPORTS" read-only="true"/>
              </tx:attributes>
              </tx:advice>
              <!-- Services Started -->
              <bean id="generalDao" class="com.myCompany.subscription.services.dao.GeneralDao">
                   <property name="entityManagerFactory" ref="entityManagerFactory"></property>
              </bean>
              <bean id="logUtil" class="com.myCompany.subscription.services.util.LogUtil" init-method="initialize">
                   <property name="generalDao" ref="generalDao"/>
              </bean>
              <bean id="chargingMsgingClient" class="com.myCompany.subscription.services.client.SubscriptionJMSClient">
                   <property name="logUtil" ref="logUtil"></property>
                   <property name="properties" ref="chrgingProperties"></property>
                   <property name="connectionFactoryName" value="ConnectionFactory"></property>
                   <property name="topicName" value="topic/myCompanyChargingTopic"></property>
              </bean>
              <bean id="messagingJMSClient" class="com.myCompany.subscription.services.client.MessagingJMSClient">
                   <property name="logUtil" ref="logUtil"></property>
                   <property name="properties" ref="msgingProperties"></property>
                   <property name="connectionFactoryName" value="ConnectionFactory"></property>
                   <property name="topicName" value="topic/TempTopic"></property>
              </bean>
              <bean id="subscriptionParams" class="com.myCompany.subscription.services.config.model.SubscriptionServiceParams">
              </bean>
              <bean id="subscriptionConfigService" class="com.myCompany.subscription.services.config.SubscriptionConfigService" init-method="initialize" >
                   <property name="generalDao" ref="generalDao"></property>
                   <property name="paramType" value="MESG_GW"></property>
                   <property name="paramGroup" value="MESG_GW"></property>
                   <property name="msgUserName" value="MSG_USERNAME"></property>
                   <property name="msgUserPassword" value="MSG_PASSWORD"></property>
                   <property name="msgSourceMsisdn" value="MSG_SOURCE_MSISDN"></property>
                   <property name="messagingUrl" value="MESSAGING_URL"></property>
                   <property name="subscriptionParams" ref="subscriptionParams"></property>
                   <property name="msgAgencyId" value="MSG_AGENCYID"></property>
              </bean>
              <bean id="subServiceManager" class="com.myCompany.subscription.services.impl.SubscriptionServiceManager">
                   <property name="generalDao" ref="generalDao"/>
                   <property name="logUtil" ref="logUtil"></property>
                   <property name="ratingEngineService" ref="ratingEngineService"/>
                   <property name="callbackServiceManager" ref="callbackServiceManager"/>
                   <property name="subMsgingClient" ref="subMsgingClient"/>
                   <property name="chargingMsgingClient" ref="chargingMsgingClient"></property>
              </bean>
              <bean id="ratingEngineService" class="com.myCompany.rating.services.impl.RatingEngineService">
                   <property name="generalDao" ref="generalDao"/>
              </bean>
              <bean id="callbackServiceManager" class="com.myCompany.subscallback.services.impl.SubsCallbackServiceManager">
                   <property name="generalDao" ref="generalDao"/>
              </bean>
              <bean id="subscriptionService" class="com.myCompany.subscription.services.impl.SubscriptionService">
                   <property name="generalDao" ref="generalDao"/>
                   <property name="logUtil" ref="logUtil"></property>
                   <property name="subscriptionParamName" value="SUBSCRIPTION"></property>
                   <property name="subscriptionParamType" value="SUBSCRIPTION"></property>
                   <property name="subscriptionParamGroup" value="PLAN_MASTER_TYPE"></property>
              </bean>
              <bean id="subMsgingClient" class="com.myCompany.subscription.services.client.SubscriptionMessageClient">
                   <property name="logUtil" ref="logUtil"></property>
              </bean>
              <bean id="msgGwClient" class="com.myCompany.subscription.services.client.MessageGatewayClient">
                   <property name="subscriptionParams" ref="subscriptionParams"></property>
                   <property name="logUtil" ref="logUtil"></property>
              </bean>
              <bean id="schedulerService" class="com.myCompany.subscription.services.impl.SubscriptionSchedulerService">
                   <property name="generalDao" ref="generalDao"/>
                   <property name="msgClient" ref="subMsgingClient"></property>
                   <property name="logUtil" ref="logUtil"></property>
                   <property name="msgGwClient" ref="msgGwClient"></property>
                   <property name="subscriptionParams" ref="subscriptionParams"></property>
                   <property name="messagingJMSClient" ref="messagingJMSClient"></property>
                   <property name="subServiceManager" ref="subServiceManager"></property>
              </bean>
              <bean id="schedulerLock" class="com.myCompany.subscription.services.model.SchedulerLock">
              </bean>
    </beans>

    Greetings,
    Your error implies that the classpath for the second deployment might be wrong. This cannot be the package if you are deploying an identical ear file. Can you look at the setup for the second container from the admin to see if there is an RMI connection configured incorrectly? Check your opmn.xml file for port info:
    <port id="rmi" range="12401-12500"/>and check the server using netstat -a to see if the configured port is open for use before starting the OAS.
    -Michael

  • Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.gemstone.gemfire.cache.GemFireCache] is defined: expected single bean but found

    Hi!
    I'm trying to configure java gemfire template to query data in spring application.
    To create spring template I need to create client-region, to create client-region I need to create client-cache, to create client-cache I need to create pool.
    One of the pool parameters is server-goup. I need gemfire template(s) to query several of them.
    I didn't find pool to be configurable for several server goups, thus I've created two pools (with different server goups) two client caches two client regions and two templates and got an error.
    Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.gemstone.gemfire.cache.GemFireCache] is defined: expected single bean but found
    What I'm missing? How could I fix the error or manage to setup client region for several server groups?
    Thanks.

    Try posting this in the WLS EJB forum:
    WebLogic Server - EJB

  • Class not found error deploying  application in weblogic

    I am getting this error message deploying my application in weblogic.
    also my weblogic-application.xml has the following entries .Please tell me what am I missing ?
    <weblogic-application>
         <prefer-application-packages>
              <package-name>antlr.*</package-name>
              <package-name>org.objectweb.*</package-name>
              <package-name>org.apache.commons.*</package-name>
              <package-name>org.apache.log4j.*</package-name>
              <package-name>org.springframework.*</package-name>
         </prefer-application-packages>
    </weblogic-application>
    Caused by: java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
         at net.sf.cglib.core.ClassEmitter.begin_class(ClassEmitter.java:77)
         at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:173)
         at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
         at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
         at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
         at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
         at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
         at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
         at net.sf.cglib.proxy.Enhancer.<clinit>(Enhancer.java:69)
         at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:117)
         at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:43)
         at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:162)
         at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:135)
         at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
         at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(EntityEntityModeToTuplizerMapping.java:56)
         at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:302)
         at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:434)
         at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109)
         at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
         at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)
         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1300)
         at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:859)
         at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:806)
         at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:724)
         at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1363)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1329)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:476)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:412)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:383)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:271)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:268)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:170)
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:282)
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:103)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1238)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1006)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:475)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:412)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:383)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:271)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:268)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:170)
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:282)
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:103)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1238)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1006)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:475)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:412)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:383)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:271)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:268)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:174)
         at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:436)
         at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:410)
         at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:539)
         at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:180)
         at org.springframework.beans.factory.annotation.InjectionMetadata.injectFields(InjectionMetadata.java:105)
         at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessAfterInstantiation(CommonAnnotationBeanPostProcessor.java:290)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:956)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:475)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:412)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:383)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:271)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:268)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:174)
         at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:436)
         at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:410)
         at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:539)
         at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:180)
         at org.springframework.beans.factory.annotation.InjectionMetadata.injectFields(InjectionMetadata.java:105)
         at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessAfterInstantiation(CommonAnnotationBeanPostProcessor.java:290)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:956)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:475)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:412)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:383)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:271)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:268)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:170)
         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:469)
         at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:717)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:376)
         at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:254)
         at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:198)
         at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:465)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:175)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1784)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2999)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1371)

    This error line does hint that you do have the required JARs in the classpath but there may be version different. If jar is missing you would have NoClassDefFound Error. But it say method signature not found. May be the jar that you are using do not have this method. Try using other version of the jar. Incase if you have like any java decompiler, you can always open this .class file and see if this method signature exists in that class.
    Caused by: java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
    I do not know anything about asm, but just incase if this class happens to exist in any other package also but with different APIs (older versions) and you are referring them first. Usually this happens if we have same class with diff versions in diff jars and the order in which this class gets loaded. So if you have this same class but latest version put those JARs in the first before asm jars. You gave list of some packages, put the asm package in the end and see if that helps. Its just a hint as we do run into these kind of issues specially with diff version os Struts jars that we use everyday with weblogic.
    HTH
    Ravi Jegga

  • Class not Found when accessing Proxy class from backing bean in VC.

    Hi All,
    I'm attempting to access a class of a webservice(generated as a proxy) within my ADF application and invoke the method within a backing bean of the View Controller(bean scope : backing bean). The proxy has generated an ObjectFactory class among other classes. When I access this Object factory class from within the backing bean, the application throws a Class not found error.
    I don't know where the error lies since I've declared the View Controller of the ADF application dependent on the Proxy and I've imported the class and accessing it within a backing bean. How would you suggest I approach resolveing this.
    JDev : 1.1.1.4
    Thank you.
    Regards
    PP.

    Hello Arun,
    Thank you for suggesting a Data control, but my requirement isn't to drag and drop the method as a button. It's more of a behind the scnes updating data via a database adapter requirement.
    I've resolved the issue. turns out, my deployment archive didn't include the proxy.jpr. Once included it works likea charm.
    Thanks
    PP.

  • Bean class not found error...

    I am using Tomcat 4.0 on windows 98, when I try to use my bean class from jsp program, I get class not found error. I read/followed all the similar problems in the forum but still have not been able to solve the problem.
    The error I get is as follows:
    ==============================
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
    An error occurred at line: 1 in the jsp file: /handoff1.jsp
    Generated servlet error:
    D:\Apps\Apache\Tomcat4.0\work\Standalone\localhost\cartapp\handoff1$jsp.java:56: Class com.cartapp.user.User not found.
    com.cartapp.user.User handoff = null;
    ^
    An error occurred at line: 1 in the jsp file: /handoff1.jsp
    Generated servlet error:
    D:\Apps\Apache\Tomcat4.0\work\Standalone\localhost\cartapp\handoff1$jsp.java:59: Class com.cartapp.user.User not found.
    handoff= (com.cartapp.user.User)
    ^
    An error occurred at line: 1 in the jsp file: /handoff1.jsp
    Generated servlet error:
    D:\Apps\Apache\Tomcat4.0\work\Standalone\localhost\cartapp\handoff1$jsp.java:64: Class com.cartapp.user.User not found.
    handoff = (com.cartapp.user.User) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "com.cartapp.user.User");
    ^
    3 errors, 1 warning
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
    at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
    =============================================
    Location of files
    ==================
    My jsp file is located at:
    D:\Apps\Apache\Tomcat4.0\webapps\ROOT\cartapp
    my bean class - User - is at:
    D:\Apps\Apache\Tomcat4.0\webapps\ROOT\WEB-INF\classes\com\cartapp\user
    Contents of the jsp file
    =======================
    <jsp:useBean id="handoff" scope="session" class="com.cartapp.user.User" />
    <HTML>
    <BODY>
    This is the setting page!
    <%
    handoff.setFirstName("George");
    %>
    </BODY>
    </HTML>
    The first 2 lines of the class are:
    ==================================
    package com.cartapp.user;
    public class User {
    Environment settings
    ====================
    JAVA_HOME=D:\Apps\java\jdk
    CATALINA_HOME=D:\Apps\Apache\Tomcat4.0
    CLASSPATH=;.;F:\ola\progmn\JAVA\pkgs;D:\Apps\Apache\Tomcat4.0\common\lib\servlet.jar
    Can anyone please help. Thanks.
    Thanks.
    Ola Oke (SCJP 1.4)

    Not certain but try putting the classes folder in your classpath:
    D:\Apps\Apache\Tomcat4.0\webapps\ROOT\WEB-INF\classes\

  • Class Not Found: JDBC driver org.postgresql.Driver could not be loaded

    Hi
    I got the below message when i ran TORQUE
    Class Not Found: JDBC driver org.postgresql.Driver could not be loadedPlease let me know why this error arise.i have added the necessary postgresql.jar file in the classpath but still the error persist.
    Reply at the earliest.
    Thanks and Regards
    Gokul

    # The name of the project Torque will generate code for.
      torque.project = bookstore
      # The target database platform.
      torque.database = postgresql
      # The target package to put the generated classes in.
      torque.targetPackage = com.jp.bookstore
      # The JDBC URL that Torque can use to create and
      # drop databases if instructed to do so.
      torque.database.createUrl = jdbc:postgresql://192.168.0.10:5432/postgresql
      # The JDBC URL that will be used to create tables in your database.
      torque.database.buildUrl = jdbc:postgresql://192.168.0.10:5432/bookstore
      # The JDBC URL that will be used to access your database.
      torque.database.url = jdbc:postgresql://192.168.0.10:5432/bookstore
      # The JDBC database driver to use when connecting to your database.
      torque.database.driver = org.postgresql.Driver
      # The administrative username that has sufficient privileges to create
      # and drop databases and tables that Torque executes at generation time.
      torque.database.user = bjuser
      # The administrative password for the supplied username.
      torque.database.password = bjpass
      # The hostname or IP address of your database server.
      torque.database.host = 192.168.0.10

  • Tag handler class was not found "org.apache.struts.taglib.tiles.InsertTag"

    Hi All,
    I have a proble deploying my app with struts 1.3.10, when I run under tomcat 6 on my eclipse, it´s fine, but when I deploy on weblogic send next exception:
    ####<Apr 2, 2013 4:24:19 PM CDT> <Info> <ServletContext-/slagentes> <DSWLC01K> <svr-slisto> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1364937859494> <BEA-000000> <layout.jsp:142:14: The tag handler class was not found "org.apache.struts.taglib.tiles.InsertTag".
    <tiles:insert attribute="content"/>
    ^----------^
    layout.jsp:142:14: The tag handler class was not found "org.apache.struts.taglib.tiles.InsertTag".
    <tiles:insert attribute="content"/>
    ^----------^
    >
    ####<Apr 2, 2013 4:24:19 PM CDT> <Error> <HTTP> <DSWLC01K> <svr-slisto> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1364937859499> <BEA-101017> <[ServletContext@159254910[app:slagentes module:/slagentes path:null spec-version:3.0], request: weblogic.servlet.internal.ServletRequestImpl@5ebf5ebf[
    POST /slagentes/login.do HTTP/1.1
    Connection: keep-alive
    Content-Length: 37
    Cache-Control: max-age=0
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Origin: http://172.17.12.129:7004
    User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.43 Safari/537.31
    Content-Type: application/x-www-form-urlencoded
    Referer: http://172.17.12.129:7004/slagentes/
    Accept-Encoding: gzip,deflate,sdch
    Accept-Language: es-ES,es;q=0.8
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
    ]] Root cause of ServletException.
    weblogic.servlet.jsp.CompilationException: Failed to compile JSP /jsp/template/layout.jsp
    layout.jsp:142:14: The tag handler class was not found "org.apache.struts.taglib.tiles.InsertTag".
    <tiles:insert attribute="content"/>
    ^----------^
    layout.jsp:142:14: The tag handler class was not found "org.apache.struts.taglib.tiles.InsertTag".
    <tiles:insert attribute="content"/>
    ^----------^
    at weblogic.servlet.jsp.JavelinxJSPStub.reportCompilationErrorIfNeccessary(JavelinxJSPStub.java:225)
    at weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:161)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:237)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:190)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:281)
    at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:453)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:364)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:221)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:567)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:263)
    at org.apache.struts.tiles.commands.TilesPreProcessor.doForward(TilesPreProcessor.java:260)
    at org.apache.struts.tiles.commands.TilesPreProcessor.execute(TilesPreProcessor.java:217)
    at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
    at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
    at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
    at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:751)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:242)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:216)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:132)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:338)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:221)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3284)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3254)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2163)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2089)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2074)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1513)
    at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    >
    My weblogic.xml is
    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-web-app
         xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-web-app"
         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/web-app_2_5.xsd http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.4/weblogic-web-app.xsd">
         <wls:container-descriptor>
              <wls:prefer-web-inf-classes>true</wls:prefer-web-inf-classes>
         </wls:container-descriptor>     
    </wls:weblogic-web-app>     
    and my weblogic-application.xml is
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application http://www.bea.com/ns/weblogic/weblogic-application/1.0/weblogic-application.xsd"
         xmlns="http://www.bea.com/ns/weblogic/weblogic-application">
         <application-param>
              <param-name>webapp.encoding.default</param-name>
              <param-value>UTF-8</param-value>
         </application-param>
         <prefer-application-packages>
              <package-name>antlr.*</package-name>          
              <package-name>org.apache.*</package-name>          
              <package-name>javax.xml.rpc.*</package-name>
              <package-name>javax.xml.namespace.*</package-name>
              <package-name>javax.xml.messaging.*</package-name>
              <package-name>javax.xml.soap.*</package-name>
              <package-name>javax.servlet.jsp.jstl.*</package-name>
         </prefer-application-packages>
    </weblogic-application>
    please help me

    The struts-template tld has been deprecated in favour of the tiles taglib.
    If you are using anything above struts 1.0, then you should be using tiles.
    Most probably the support files for the struts-template taglib are not in your distribution.
    Cheers,
    evnafets

  • Class Not Found: com.bea.wlevs.adapters.jms.api.OutboundMessageConverter in Outbound JMS Converter

    OEP 12.1.3
    Following the instructions in 4 Adapters (12c Release 1 (12.1.3)) I have created a custom message converter bean for my Outbound JMS Adapter (I had to add the JAR file com.bea.wlevs.adapters.jms_12.1.3.0_0.jar from OEP_HOME\oep\modules to my project to make the code compile). However, upon deployment, I ran into a class not found exception:
    <Sep 15, 2014 7:17:19 PM CEST> <Error> <org.springframework.osgi.extender.internal.activator.ContextLoaderListener> <BEA-000000> <Application context refresh failed (OsgiBundleXmlApplicationContext(bundle=CreditCardTheftDetection.AirportCreditCardTransactionProcessing, config=osgibundle:/META-INF/spring/*.xml))
    java.lang.NoClassDefFoundError: saibot.airport.security.prevention.jms.SuspectedCreditCardEventConverter not found from bundle [CreditCardTheftDetection.AirportCreditCardTransactionProcessing (CreditCardTheftDetection.AirportCreditCardTransactionProcessing)]
        at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:112)
        at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:156)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:270)
    Caused By: java.lang.NoClassDefFoundError: com/bea/wlevs/adapters/jms/api/OutboundMessageConverter
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:188)
    Caused By: java.lang.ClassNotFoundException: com.bea.wlevs.adapters.jms.api.OutboundMessageConverter
        at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    I have tried adding the JAR file (com.bea.wlevs.adapters.jms_12.1.3.0_0.jar) to my deployment JAR. That did not make any difference.
    Does anyone know why this class OutboundMessageConverter is not found - and more importantly: what I can do to make it available in the run time?
    thanks.
    Lucas

    To make a package available to your application at runtime for OEP, you will need to add it to the application's MANIFEST.MF file to the Import Package section (since the OEP server is OSGi-based). There's no need to supply a version number, you can just enter the package name (e.g.)
    com.bea.wlevs.adapters.jms.api,

  • Class not found with jms cache sync

    hi. when i try to use the remote command manager in my live environment only i get a class not found exception for my initial context factory. using a debugger i discovered this is actually hiding a linkage error. so i confirmed that my resin and java versions and all my jars are the same between live and stage, where this works no problem. but still doesn't work in production. any ideas what else i should look at? here's a stack trace
    Exception [TOPLINK-22101] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.RemoteCommandManagerException
    Exception Description: Could not obtain JNDI context with properties {java.naming.provider.url=tcp://10.10.6.73:3035, java.naming.factory.initial=org.exolab.jms.jndi.InitialContextFactory , java.naming.security.principal=tcp://10.10.6.73:3035, dedicated.connection=true, java.naming.security.credentials=tcp://10.10.6.73:3035}
    Internal Exception: javax.naming.NoInitialContextException: Cannot instantiate class: org.exolab.jms.jndi.InitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.exolab.jms.jndi.InitialContextFactory ]
    at oracle.toplink.exceptions.RemoteCommandManagerException.errorObtainingContext(RemoteCommandManagerException.java:42)
    at oracle.toplink.remotecommand.TransportManager.getContext(TransportManager.java:194)
    at oracle.toplink.remotecommand.TransportManager.getRemoteHostContext(TransportManager.java:385)
    at oracle.toplink.remotecommand.jms.JMSTopicTransportManager.getRemoteHostContext(JMSTopicTransportManager.java:270)
    at oracle.toplink.remotecommand.jms.JMSTopicTransportManager.getTopicConnectionFactory(JMSTopicTransportManager.java:204)
    at oracle.toplink.remotecommand.jms.JMSTopicTransportManager.createJMSTopicRemoteConnection(JMSTopicTransportManager.java:84)
    at oracle.toplink.remotecommand.jms.JMSTopicTransportManager.createLocalConnection(JMSTopicTransportManager.java:106)
    at oracle.toplink.remotecommand.jms.JMSTopicDiscoveryManager.startDiscovery(JMSTopicDiscoveryManager.java:44)
    at oracle.toplink.remotecommand.RemoteCommandManager.initialize(RemoteCommandManager.java:132)
    at oracle.toplink.publicinterface.DatabaseSession.login(DatabaseSession.java:509)

    I would guess the problem is related to the application's class-loader visibility. Verify that your application can access the class org.exolab.jms.jndi.InitialContextFactory forio to launching the TopLink session. If it cannot then you may need to address the container's access to this library.
    Doug

  • Class not found - was channel definition question

    I am much closer.  Tomcat is putting some key messages in the console and I overlooked them.  It looks like I am closer than I thought.  The request looks like its getting received, but my service blows up on response due to I think two class not found issues.  But, I can't tell what classes are missing.
    [Flex]Deserializing AMF/RTMP request
    Version: 3  null
      2.0
      (Command method=null (0) trxId=2.0)
        null
        (Externalizable Object #0 'flex.data.messages.DataMessageExt')
          (Array #1)
            [0] = (Typed Object #2 'flex.data.messages.DataMessage')
              identity = (Object #3)
                partId = 81959
              operation = 11
              correlationId = "419F99AA-B649-9490-650D-88F3CAADBCB7"
              headers = (Object #4)
              messageId = "8AF6C660-9DE3-F155-6A91-88F3CAC5A4F0"
              timestamp = 0
              destination = "DocumentPart"
              timeToLive = 0
              body = (Typed Object #5 'com.hpdocs.ds.document.DocumentPart')
                documentId = 81960
                partId = 81959
                content = "Hello World"
              clientId = "05E549ED-455F-A9AF-EEDE-88F3CA7E4BF9"
    "DocumentPart"
    (Object #6)
            DSEndpoint = "hp_rtmp"
            DSId = "F65B351A-A60C-6F91-2932-44630DAED2B9"
    (Byte Array #7, Length 16) ""
    7
    [Flex]Received command: TCCommand [ Cmd: 0, MethodName: null, TrxID: 2.0]
    [Flex]Serializing AMF/RTMP response
    Version: 3
      (Command method=_error (0) trxId=2.0)
        (Typed Object #0 'flex.messaging.messages.ErrorMessage')
          headers = (Object #1)
          rootCause = (Typed Object #2 'java.lang.NoClassDefFoundError')
            message = "javax/transaction/SystemException"
            localizedMessage = "javax/transaction/SystemException"
            cause = (Typed Object #3 'java.lang.ClassNotFoundException')
              message = "javax.transaction.SystemException"
              localizedMessage = "javax.transaction.SystemException"
              cause = null
              exception = null
          body = null
          correlationId = "419F99AA-B649-9490-650D-88F3CAADBCB7"
          faultDetail = null
          faultString = "There was an unhandled failure on the server. javax/transaction/SystemException"
          clientId = "F65B3649-620E-C827-50C4-6A1C78BC3712"
          timeToLive = 0.0
          destination = "DocumentPart"
          timestamp = 1.273607998612E12
          extendedData = null
          faultCode = "Server.Processing"
          messageId = "F65B3675-5409-795E-747F-B2F459749415"

    it looks like your Tomcat is missing the JTA setting.
    Tomcat
    To use LiveCycle Data Services with Tomcat when not using the integrated Tomcat configuration, install support for the Java Transaction API (JTA). You might also have to install several other libraries depending on the features that you plan to use. Follow these steps after deploying the LiveCycle Data Services WAR files. These steps are not necessary for the integrated Tomcat installation.
    Stop Tomcat.
    To install support for JTA, a recommended implementation is the Java Open Transaction Manager (JOTM), which is a fully functional open source stand-alone transaction manager.
    Download JOTM from http://jotm.objectweb.org.
    Copy the JAR files from jotm-root/lib to [tomcat-root]/common/lib.
    Create a context file for your web application and register JOTM using the Transaction element. For example, for the samples WAR create a tomcat-root/conf/Catalina/localhost/lcds-samples.xml file and add the following lines:CONTEXT antijarlocking="false" antiresourcelocking="false"   docbase="${catalina.home}/webapps/lcds-samples" path="/lcds-samples"   privileged="true">  <TRANSACTION factory="org.objectweb.jotm.UserTransactionFactory"   jotm.timeout="60"></TRANSACTION></CONTEXT> 
    Note: If a context file exists for your web application, add the <TRANSACTION> element under the <CONTEXT> element.
    Increase the maximum memory to at least 512 MB by specifying the maximum heap size for the JVM in the JAVA_OPTS variable: -Xmx512m
    (Optional) To enable custom authentication, locate the Tomcat security resource libraries under install_root/resources/security/tomcat.
    Place the flex-tomcat-common.jar and flex-tomcat-server.jar files in the tomcat/lib folder.
    Add the following line to the context descriptor file for your web application:
    <VALVE classname="flex.messaging.security.TomcatValve"></VALVE>
    You can now perform authentication against the current Tomcat realm. Usually, the default configuration for authentication stores user information in conf/tomcat-users.xml. See the Tomcat documentation for more information on realms. See the LiveCycle Data Services documentation for more information on custom authentication.
    You might also have to update the active <LOGIN-COMMAND> in /WEB-INF/flex/services-config.xml in each deployment of a LiveCycle Data Services WAR file. For Tomcat, ensure that the TomcatLoginCommand is active in the <SECURITY>section:<SECURITY><LOGIN-COMMAND server="Tomcat"></LOGIN-COMMAND>...</SECURITY>
    (Optional) To use the JMSAdapter with the Message Service, install and configure a JMS provider (such as ActiveMQ or openJMS) for use with Tomcat.
    Restart Tomcat.
    original doc is located here
    Hopefully this will help.

  • Org.springframework.beans.FatalBeanException when trying to configure ocep

    Hi,
    I was trying to configure my custom jdbc driver to the oracle CEP and I see the below error. I did add weblogic.common.internal jar to my Test project. Still I get this below error.
    <Jan 28, 2013 10:39:03 AM CST> <Notice> <evs4j> <BEA-2049007> <The cluster protocol is disabled>
    <Jan 28, 2013 10:39:04 AM CST> <Notice> <BDBProvider> <BEA-2052004> <Created and registered BDBProvider default-provider>
    <Jan 28, 2013 10:39:05 AM CST> <Notice> <Spring> <BEA-2047000> <The application context for "com.oracle.cep.cartridge.jdbc" was started successfully>
    <Jan 28, 2013 10:39:06 AM CST> <Notice> <Spring> <BEA-2047000> <The application context for "com.bea.wlevs.dataservices" was started successfully>
    <Jan 28, 2013 10:39:07 AM CST> <Notice> <Deployment> <BEA-2045000> <The application bundle "Test" was deployed successfully to file:/E:/Oracle/Middleware/user_projects/domains/ocep_domain/defaultserver/applications/Test/Test.jar with version 1359390936917>
    <Jan 28, 2013 10:39:12 AM CST> <Error> <Deployment> <BEA-2045010> <The application context "Test" could not be started: org.springframework.beans.FatalBeanException: Error in context lifecycle initialization; nested exception is com.bea.wlevs.ede.api.StatementException: Could not start rule [myExampleQuery] due to error: weblogic/common/internal/InteropWriteReplaceable
    org.springframework.beans.FatalBeanException: Error in context lifecycle initialization; nested exception is com.bea.wlevs.ede.api.StatementException: Could not start rule [myExampleQuery] due to error: weblogic/common/internal/InteropWriteReplaceable
         at com.bea.wlevs.spring.ApplicationContextLifecycle.onApplicationEvent(ApplicationContextLifecycle.java:145)
         at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:79)
         at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:50)
         at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:76)
         at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:274)
         at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:737)
         at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)
         at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)
         at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
         at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
         at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:139)
         at org.springframework.scheduling.commonj.DelegatingWork.run(DelegatingWork.java:62)
         at weblogic.work.commonj.CommonjWorkManagerImpl$WorkWithListener.run(CommonjWorkManagerImpl.java:204)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused By: com.bea.wlevs.ede.api.StatementException: Could not start rule [myExampleQuery] due to error: weblogic/common/internal/InteropWriteReplaceable
         at com.oracle.cep.processor.cql.impl.CQLProcessorImpl.activateRules(CQLProcessorImpl.java:958)
         at com.oracle.cep.processor.cql.impl.CQLProcessorImpl.activate(CQLProcessorImpl.java:1005)
         at com.oracle.cep.processor.cql.impl.CQLProcessorImpl.afterConfigurationActive(CQLProcessorImpl.java:2689)
         at com.bea.wlevs.spring.ActivationBeanPostProcessor.postProcessAfterContextInitialization(ActivationBeanPostProcessor.java:20)
         at com.bea.wlevs.spring.DeferredBeanPostProcessor.afterConfigurationActive(DeferredBeanPostProcessor.java:27)
         at com.bea.wlevs.spring.ApplicationContextLifecycle.onApplicationEvent(ApplicationContextLifecycle.java:112)
         at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:79)
         at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:50)
         at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:76)
         at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:274)
         at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:737)
         at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)
         at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)
         at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
         at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
         at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:139)
         at org.springframework.scheduling.commonj.DelegatingWork.run(DelegatingWork.java:62)
         at weblogic.work.commonj.CommonjWorkManagerImpl$WorkWithListener.run(CommonjWorkManagerImpl.java:204)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused By: java.lang.NoClassDefFoundError: weblogic/common/internal/InteropWriteReplaceable
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:343)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:302)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:247)
         at weblogic.utils.classloaders.GenericClassLoader.defineCodeGenClass(GenericClassLoader.java:523)
         at weblogic.utils.classfile.utils.CodeGenerator.generateClass(CodeGenerator.java:73)
         at weblogic.utils.wrapper.WrapperFactory.generateWrapperClass(WrapperFactory.java:340)
         at weblogic.utils.wrapper.WrapperFactory.getWrapperClass(WrapperFactory.java:244)
         at weblogic.utils.wrapper.WrapperFactory.getWrapperClass(WrapperFactory.java:190)
         at weblogic.jdbc.wrapper.JDBCWrapperFactory$1.run(JDBCWrapperFactory.java:164)
         at weblogic.jdbc.wrapper.JDBCWrapperFactory.getWrapper(JDBCWrapperFactory.java:161)
         at weblogic.jdbc.common.internal.RmiDataSource.getPoolConnectionObj(RmiDataSource.java:614)
         at weblogic.jdbc.common.internal.RmiDataSource.getPoolConnection(RmiDataSource.java:458)
         at weblogic.jdbc.common.internal.RmiDataSource.getConnectionInternal(RmiDataSource.java:538)
         at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:498)
         at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:491)
         at oracle.cep.extensibility.datasource.JDBCExternalDataSource.getConnection(JDBCExternalDataSource.java:58)
         at oracle.cep.interfaces.input.ExtSource.start(ExtSource.java:121)
         at oracle.cep.execution.operators.RelSource.initialize(RelSource.java:448)
         at oracle.cep.planmgr.codegen.RelSourceFactory.setupExecOpt(RelSourceFactory.java:300)
         at oracle.cep.planmgr.codegen.ExecOptFactory.instantiate(ExecOptFactory.java:210)
         at oracle.cep.planmgr.codegen.RelSourceFactory.instantiate(RelSourceFactory.java:112)
         at oracle.cep.planmgr.codegen.OptInst.instOp(OptInst.java:136)
         at oracle.cep.planmgr.codegen.CodeGenHelper.instantiate(CodeGenHelper.java:98)
         at oracle.cep.planmgr.PlanManager.instantiate(PlanManager.java:1114)
         at oracle.cep.metadata.QueryManager.instantiate(QueryManager.java:868)
         at oracle.cep.metadata.QueryManager.startQuery(QueryManager.java:497)
         at oracle.cep.metadata.QueryManager.startNamedQuery(QueryManager.java:283)
         at oracle.cep.server.CommandDriver.QueryRefNodeDriver.execute(QueryRefNodeDriver.java:60)
         at oracle.cep.server.CommandInterpreter.execute(CommandInterpreter.java:274)
         at oracle.cep.server.CEPServer.executeDDL(CEPServer.java:188)
         at oracle.cep.jdbc.CEPStatement.evaluateAndSend(CEPStatement.java:319)
         at oracle.cep.jdbc.CEPStatement.executeUpdate(CEPStatement.java:301)
         at com.oracle.cep.processor.cql.impl.CEPServerInstance.executeDDL(CEPServerInstance.java:257)
         at com.oracle.cep.processor.cql.impl.CQLProcessorImpl.executeDDL(CQLProcessorImpl.java:3174)
         at com.oracle.cep.processor.cql.impl.CQLQuery.start(CQLQuery.java:48)
         at com.oracle.cep.processor.cql.impl.CQLProcessorImpl.activateRules(CQLProcessorImpl.java:941)
         at com.oracle.cep.processor.cql.impl.CQLProcessorImpl.activate(CQLProcessorImpl.java:1005)
         at com.oracle.cep.processor.cql.impl.CQLProcessorImpl.afterConfigurationActive(CQLProcessorImpl.java:2689)
         at com.bea.wlevs.spring.ActivationBeanPostProcessor.postProcessAfterContextInitialization(ActivationBeanPostProcessor.java:20)
         at com.bea.wlevs.spring.DeferredBeanPostProcessor.afterConfigurationActive(DeferredBeanPostProcessor.java:27)
         at com.bea.wlevs.spring.ApplicationContextLifecycle.onApplicationEvent(ApplicationContextLifecycle.java:112)
         at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:78)
         at org.sp<Jan 28, 2013 10:39:03 AM CST> <Notice> <evs4j> <BEA-2049007> <The cluster protocol is disabled>
    <Jan 28, 2013 10:39:04 AM CST> <Notice> <BDBProvider> <BEA-2052004> <Created and registered BDBProvider default-provider>
    <Jan 28, 2013 10:39:05 AM CST> <Notice> <Spring> <BEA-2047000> <The application context for "com.oracle.cep.cartridge.jdbc" was started successfully>
    <Jan 28, 2013 10:39:06 AM CST> <Notice> <Spring> <BEA-2047000> <The application context for "com.bea.wlevs.dataservices" was started successfully>
    <Jan 28, 2013 10:39:07 AM CST> <Notice> <Deployment> <BEA-2045000> <The application bundle "Test" was deployed successfully to file:/E:/Oracle/Middleware/user_projects/domains/ocep_domain/defaultserver/applications/Test/Test.jar with version 1359390936917>
    <Jan 28, 2013 10:39:12 AM CST> <Error> <Deployment> <BEA-2045010> <The application context "Test" could not be started: org.springframework.beans.FatalBeanException: Error in context lifecycle initialization; nested exception is com.bea.wlevs.ede.api.StatementException: Could not start rule [myExampleQuery] due to error: weblogic/common/internal/InteropWriteReplaceable
    org.springframework.beans.FatalBeanException: Error in context lifecycle initialization; nested exception is com.bea.wlevs.ede.api.StatementException: Could not start rule [myExampleQuery] due to error: weblogic/common/internal/InteropWriteReplaceable
         at com.bea.wlevs.spring.ApplicationContextLifecycle.onApplicationEvent(ApplicationContextLifecycle.java:145)
         at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:79)
         at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:50)
         at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:76)
         at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:274)
         at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:737)
         at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)
         at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)
         at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
         at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
         at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:139)
         at org.springframework.scheduling.commonj.DelegatingWork.run(DelegatingWork.java:62)
         at weblogic.work.commonj.CommonjWorkManagerImpl$WorkWithListener.run(CommonjWorkManagerImpl.java:204)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused By: com.bea.wlevs.ede.api.StatementException: Could not start rule [myExampleQuery] due to error: weblogic/common/internal/InteropWriteReplaceable
         at com.oracle.cep.processor.cql.impl.CQLProcessorImpl.activateRules(CQLProcessorImpl.java:958)
         at com.oracle.cep.processor.cql.impl.CQLProcessorImpl.activate(CQLProcessorImpl.java:1005)
         at com.oracle.cep.processor.cql.impl.CQLProcessorImpl.afterConfigurationActive(CQLProcessorImpl.java:2689)
         at com.bea.wlevs.spring.ActivationBeanPostProcessor.postProcessAfterContextInitialization(ActivationBeanPostProcessor.java:20)
         at com.bea.wlevs.spring.DeferredBeanPostProcessor.afterConfigurationActive(DeferredBeanPostProcessor.java:27)
         at com.bea.wlevs.spring.ApplicationContextLifecycle.onApplicationEvent(ApplicationContextLifecycle.java:112)
         at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:79)
         at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:50)
         at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:76)
         at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:274)
         at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:737)
         at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)
         at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)
         at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
         at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
         at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:139)
         at org.springframework.scheduling.commonj.DelegatingWork.run(DelegatingWork.java:62)
         at weblogic.work.commonj.CommonjWorkManagerImpl$WorkWithListener.run(CommonjWorkManagerImpl.java:204)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused By: java.lang.NoClassDefFoundError: weblogic/common/internal/InteropWriteReplaceable
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:343)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:302)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:247)
         at weblogic.utils.classloaders.GenericClassLoader.defineCodeGenClass(GenericClassLoader.java:523)
         at weblogic.utils.classfile.utils.CodeGenerator.generateClass(CodeGenerator.java:73)
         at weblogic.utils.wrapper.WrapperFactory.generateWrapperClass(WrapperFactory.java:340)
         at weblogic.utils.wrapper.WrapperFactory.getWrapperClass(WrapperFactory.java:244)
         at weblogic.utils.wrapper.WrapperFactory.getWrapperClass(WrapperFactory.java:190)
         at weblogic.jdbc.wrapper.JDBCWrapperFactory$1.run(JDBCWrapperFactory.java:164)
         at weblogic.jdbc.wrapper.JDBCWrapperFactory.getWrapper(JDBCWrapperFactory.java:161)
         at weblogic.jdbc.common.internal.RmiDataSource.getPoolConnectionObj(RmiDataSource.java:614)
         at weblogic.jdbc.common.internal.RmiDataSource.getPoolConnection(RmiDataSource.java:458)
         at weblogic.jdbc.common.internal.RmiDataSource.getConnectionInternal(RmiDataSource.java:538)
         at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:498)
         at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:491)
         at oracle.cep.extensibility.datasource.JDBCExternalDataSource.getConnection(JDBCExternalDataSource.java:58)
         at oracle.cep.interfaces.input.ExtSource.start(ExtSource.java:121)
         at oracle.cep.execution.operators.RelSource.initialize(RelSource.java:448)
         at oracle.cep.planmgr.codegen.RelSourceFactory.setupExecOpt(RelSourceFactory.java:300)
         at oracle.cep.planmgr.codegen.ExecOptFactory.instantiate(ExecOptFactory.java:210)
         at oracle.cep.planmgr.codegen.RelSourceFactory.instantiate(RelSourceFactory.java:112)
         at oracle.cep.planmgr.codegen.OptInst.instOp(OptInst.java:136)
         at oracle.cep.planmgr.codegen.CodeGenHelper.instantiate(CodeGenHelper.java:98)
         at oracle.cep.planmgr.PlanManager.instantiate(PlanManager.java:1114)
         at oracle.cep.metadata.QueryManager.instantiate(QueryManager.java:868)
         at oracle.cep.metadata.QueryManager.startQuery(QueryManager.java:497)
         at oracle.cep.metadata.QueryManager.startNamedQuery(QueryManager.java:283)
         at oracle.cep.server.CommandDriver.QueryRefNodeDriver.execute(QueryRefNodeDriver.java:60)
         at oracle.cep.server.CommandInterpreter.execute(CommandInterpreter.java:274)
         at oracle.cep.server.CEPServer.executeDDL(CEPServer.java:188)
         at oracle.cep.jdbc.CEPStatement.evaluateAndSend(CEPStatement.java:319)
         at oracle.cep.jdbc.CEPStatement.executeUpdate(CEPStatement.java:301)
         at com.oracle.cep.processor.cql.impl.CEPServerInstance.executeDDL(CEPServerInstance.java:257)
         at com.oracle.cep.processor.cql.impl.CQLProcessorImpl.executeDDL(CQLProcessorImpl.java:3174)
         at com.oracle.cep.processor.cql.impl.CQLQuery.start(CQLQuery.java:48)
         at com.oracle.cep.processor.cql.impl.CQLProcessorImpl.activateRules(CQLProcessorImpl.java:941)
         at com.oracle.cep.processor.cql.impl.CQLProcessorImpl.activate(CQLProcessorImpl.java:1005)
         at com.oracle.cep.processor.cql.impl.CQLProcessorImpl.afterConfigurationActive(CQLProcessorImpl.java:2689)
         at com.bea.wlevs.spring.ActivationBeanPostProcessor.postProcessAfterContextInitialization(ActivationBeanPostProcessor.java:20)
         at com.bea.wlevs.spring.DeferredBeanPostProcessor.afterConfigurationActive(DeferredBeanPostProcessor.java:27)
         at com.bea.wlevs.spring.ApplicationContextLifecycle.onApplicationEvent(ApplicationContextLifecycle.java:112)
         at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:78)
         at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
         at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:76)
         at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:274)
         at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:736)
         at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)
         at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)
         at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
         at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
         at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:136)
         at org.springframework.scheduling.commonj.DelegatingWork.run(DelegatingWork.java:61)
         at weblogic.work.commonj.CommonjWorkManagerImpl$WorkWithListener.run(CommonjWorkManagerImpl.java:204)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    >
    <Jan 28, 2013 10:39:12 AM CST> <Notice> <Server> <BEA-2046000> <Server STARTED>
    ringframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
         at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:76)
         at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:274)
         at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:736)
         at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)
         at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)
         at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
         at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
         at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:136)
         at org.springframework.scheduling.commonj.DelegatingWork.run(DelegatingWork.java:61)
         at weblogic.work.commonj.CommonjWorkManagerImpl$WorkWithListener.run(CommonjWorkManagerImpl.java:204)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    >
    <Jan 28, 2013 10:39:12 AM CST> <Notice> <Server> <BEA-2046000> <Server STARTED>

    just has to place the missing jar in the custom jars

  • Class not found error while accessing a Web Service

    Hi All,
    Im getting a Class not found error while doing method calls of a third party API.
    The required jars(axis.jar) are set in the weblogic 8.1 classpath and I tried putting those jars(axis.jar) in my application lib folder also, but dint help. Please help me with a solution.
    I'll paste the exception logs here by
    java.lang.NoClassDefFoundError: org/apache/axis/AxisFault
    at java.lang.ClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;(Unknown Source)
            at java.security.SecureClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/CodeSource;)Ljava/lang/Class;(SecureClassLoader.java:123)
            at java.net.URLClassLoader.defineClass(Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;(URLClassLoader.java:251)
            at java.net.URLClassLoader.access$100(Ljava/net/URLClassLoader;Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;(URLClassLoader.java:55)
            at java.net.URLClassLoader$1.run()Ljava/lang/Object;(URLClassLoader.java:194)
            at jrockit.vm.AccessController.do_privileged_exc(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;I)Ljava/lang/Object;(Unknown Source)
            at jrockit.vm.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;(Unknown Source)
    Thanks
    Noufal                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi,
    Verify the 3rd party class files names are correctly written in your program. Sometimes wrong case might be the reason.
    bye for now
    sat

  • Class not found exception XMLGregorianCalendarImpl* in PI 7.0

    Hello Experts,
    I have written java Class where  used the following package and Class in PI 7.1and it is working fine
    import com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImpl;
    //part of the Java Class code
    XMLGregorianCalendarImpl XMLGenTime = new XMLGregorianCalendarImpl(gentime);
    XMLGregorianCalendarImpl XMLExpTime = new XMLGregorianCalendarImpl(exptime);
    but when I am trying to use the same  Class XMLGregorianCalendarImpl in PI 7.0 I I am getting the runtime exception.
    <Trace level="1" type="T">Class not found:                                         
    com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImp           
    l</Trace>                                                                          
    if I write a seperate UDF for the below code and use the jar file jaxp-ri-1.4.1.jar in PI 7.0 ,
    long TicketTime=3600000;
              String LoginTicketRequest_xml=null;
                 Date GenTime = new Date();
              GregorianCalendar gentime = new GregorianCalendar();
              GregorianCalendar exptime = new GregorianCalendar();
              String UniqueId = new Long(GenTime.getTime() / 1000).toString();
              exptime.setTime(new Date(GenTime.getTime()+TicketTime));
              XMLGregorianCalendarImpl XMLGenTime = new XMLGregorianCalendarImpl(gentime);
              XMLGregorianCalendarImpl XMLExpTime = new XMLGregorianCalendarImpl(exptime);
    I am getting the following error
    /usr/sap/X7R/DVEBMGS41/j2ee/cluster/server0/./temp/classpath_resolver/Mapcedceb44283d11e0c032000018b99fca/source/com/sap/xi/tf/_MM_test_.java:81: cannot access javax.xml.datatype.XMLGregorianCalendar bad class file: /usr/sap/X7R/DVEBMGS41/j2ee/cluster/server0/./temp/classpath_resolver/Mapcedceb44283d11e0c032000018b99fca/classpath/IA_javax_2.jar(javax/xml/datatype/XMLGregorianCalendar.class) class file has wrong version 49.0, should be 48.0 Please remove or make sure it appears in the correct subdirectory of the classpath. XMLGregorianCalendarImpl XMLGenTime = new XMLGregorianCalendarImpl(gentime);
    Kindly help me to solve this problem.
    Thanks,
    Kubra

    I have found the solution.
    The problem is solved by adding jaxp_api_1.3 jar and jaxp-ri-1.4.1.jar.we have to have both these jar in PI 7.0 to use com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImpl package
    Thanks
    Kubra

  • Class not found error for applet.

    This is probally a really simple mistake but I've tried everything and can't find it.
    My applet works fine with applet viewer - I'm running it from JBuilder. But when I open my html file in the browser it gives me a 'Class not found' error. I've tried running other applets (my own and demos on this site) and they work fine.This is the applet tag code:
    <applet code = "Rotary.class" width = "650" height = "580" align = "top">
    <!-- coordinates of sectors -->
    <param name = "sector0" value ="234,215,244,207,154,43,125,63">
    </applet>
    The class file is in the same directory as the HTML file. Do I need to specify the codebase? I tried that too - giving it the full pathname of the class.
    In the Java console it said that it couldn't find "C:Project\Rotary\javax\swing\japplet"
    I don't think it could have anything to do with the fact that I'm using swing because the other applets I used used swing.
    Please help - I'm really running out of ideas here!

    You have a similar problem like I had.
    You seem to have a too old JAVA environment for the browser - I had a too new environment.
    For all who are experiencing the same problem!
    Problem:
    You're compiling your applets with a quiet modern compiler (i.e. Netbeans Version 3.5.1)
    You are able to compile your applets without any problems but if you try your applets in "real life", the browsers can't interpret your applets [class not found]. (I tested Internet Explorer 6.0 and Netscape Navigator 4.7)
    So you need a plugin for the new JAVA environment because the JAVA environment of the browser is older than that which the applet needs.
    Well, you have the choice to demand to every user of your applet to download the new Java Runtime Environment, but then don't wonder why nobody visits your site!
    But, don't worry: I figuered out another solution, that Netbeans (www.netbeans.org) allows to compile in different JAVA versions.
    Solution:
    What you have to do is:
    - Install a previous version of JDK (i.e. JDK 1.3 - I would suggest, lower versions don't work with Netbeans 3.5.1 and JDK 1.3 is enough for IE 6.0 and NN 4.7, which I tested)
    - Go into the "bin"-directory of Netbeans (i.e. c:/netbeans3.5.1/bin)
    - Open the file "ide.cfg" (with notepad or any other texteditor)
    - You see a line like: jdkhome "C:\java\j2sdk1.4.2" -J-Xmx96m -J-Xss1024k -J-Xms24m -J-Xverify:none
    - Change the path to your other JDK you wish, like: jdkhome "C:\java\jdk1.3" -J-Xmx96m -J-Xss1024k -J-Xms24m -J-Xverify:none
    - That's it, you can compile your applets in a previous version of JAVA so that "older" browser user don't have to install a plugin for the new JAVA environment.
    Have fun!
    If you have any questions I would be pleased to help you.
    If this tip helped you already I would be pleased if you would send me a quick email with your experience.
    My email: [email protected]

Maybe you are looking for

  • Can't get past white start up screen

    Last night my computer crashed, and displayed a blank white screen, so I held in the power on button to restart and after that I have been unable to get past the blank white screen after the apple logo appears. 10 minutes ago however after having the

  • Buy a New Macbook Pro?

    Hello all, This is not necessarily a support-related question, but I know that this is a community of mac aficionados so I figured I would ask anyway. I currently have a 15" Macbook Pro that I am on the fence about replacing. The machine is definitel

  • Tools not working in Photoshop Elements 8

    I just got PSE 8 and I've been playing around with it. I've noticed that occasionally, when I open a picture to edit and try toselect a tool from the left side, the tool graphic tself presses, but my cursor is just the little clenched hand and the to

  • How to count no. of tokens in a string?

    hello everybody? I am using StringToknizer to read a csv file line by line. My problem is: i want to know how many tokens are there in a particular row. How to count it at a streatch? i am using <% if (st.hasMoreTokens())      a3=st.nextToken().trim(

  • No Audio - "Ladrona que Roba a Ladron"

    My AppleTV is generally functioning normally, except for ONE movie that get NO AUDIO - "Ladrona que Roba a Ladron." I rented this several weeks and first experienced this problem - no audio. Apple refunded the rental fee, but gave no indication as to