mit(AbstractOperation.java:320 )
at weblogic.deploy.internal.targetserver.DeploymentMa nager.handleDeploymentCommit(DeploymentManager.jav a:815)
at weblogic.deploy.internal.targetserver.DeploymentMa nager.activateDeploymentList(DeploymentManager.jav a:1222)
at weblogic.deploy.internal.targetserver.DeploymentMa nager.handleCommit(DeploymentManager.java:433)
at weblogic.deploy.internal.targetserver.DeploymentSe rviceDispatcher.commit(DeploymentServiceDispatcher .java:161)
at weblogic.deploy.service.internal.targetserver.Depl oymentReceiverCallbackDeliverer.doCommitCallback(D eploymentReceiverCallbackDeliverer.java:181)
at weblogic.deploy.service.internal.targetserver.Depl oymentReceiverCallbackDeliverer.access$100(Deploym entReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.Depl oymentReceiverCallbackDeliverer$2.run(DeploymentRe ceiverCallbackDeliverer.java:67)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImp l.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread. java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java :181)
java.lang.NoClassDefFoundError: org//dao/support/PersistenceExceptionTranslator
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java :620)
at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:124)
at weblogic.utils.classloaders.GenericClassLoader.def ineClass(GenericClassLoader.java:355)
at weblogic.utils.classloaders.GenericClassLoader.fin dLocalClass(GenericClassLoader.java:294)
at weblogic.utils.classloaders.GenericClassLoader.fin dClass(GenericClassLoader.java:262)
at weblogic.utils.classloaders.ChangeAwareClassLoader .findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 51)
at weblogic.utils.classloaders.GenericClassLoader.loa dClass(GenericClassLoader.java:161)
at weblogic.utils.classloaders.ChangeAwareClassLoader .loadClass(ChangeAwareClassLoader.java:35)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java :620)
at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:124)
at weblogic.utils.classloaders.GenericClassLoader.def ineClass(GenericClassLoader.java:355)
at weblogic.utils.classloaders.GenericClassLoader.fin dLocalClass(GenericClassLoader.java:294)
at weblogic.utils.classloaders.GenericClassLoader.fin dClass(GenericClassLoader.java:262)
at weblogic.utils.classloaders.ChangeAwareClassLoader .findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 51)
at weblogic.utils.classloaders.GenericClassLoader.loa dClass(GenericClassLoader.java:161)
at weblogic.utils.classloaders.ChangeAwareClassLoader .loadClass(ChangeAwareClassLoader.java:35)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at org..util.ClassUtils.forName(ClassU tils.java:86)
at org..beans.factory.support.BeanDefi nitionReaderUtils.createBeanDefinition(BeanDefinit ionReaderUtils.java:61)
at org..beans.factory.xml.DefaultXmlBe anDefinitionParser.parseBeanDefinitionElement(Defa ultXmlBeanDefinitionParser.java:332)
gt;
----------------------------
I have placed all the necessary jar files in web-inf/lib folder still encounteringb with this issue. Hope any one helps me in resolving this issue as it is pretty urgent.
Thanks in Advance.
Regards,
Asmath.
How does the question relate to spring? I see that it is all about weblogic deployment organization. I.e. all you need is to organize deployment in a way that all necessary classes are accessible to target application. Right place to go is weblogic documentation.
I am able to resolve this issue. The exception thrown is java.lang.NoClassDefFoundError: org//dao/support/PersistenceExceptionTranslator when deploying in weblogic server.
the above class is present in spring.jar amp; spring-tx.jar but i have missed to place spring-tx.jar. By adding spring-tx.jar in lib folder resolved this issue.
Now i am facing with new issue when deploying. The below is the error message obtained.
lt;BEA-290064gt; lt;Deployment service servlet encountered an Exception while handling the deployment service message for request id quot;1,258,003,511,564quot; from server quot;myportalserverquot;. Exception is: quot;java.lang.ClassNotFoundException: org..beans.NotWritablePropertyExcep tion: This error could indicate that a component was deployed on a cluster member but not other members of that cluster. Make sure that any component deployed on a server that is part of a cluster is also deployed on all other members of that clusterat weblogic.j2ee.ApplicationManager.loadClass(Applica tionManager.java:218)
at
I have placed all the jars required by spring application in folder web-inf/lib and I also know that org..beans.NotWritablePropertyExcep tion: is present in spring.jar but not able to resolve the issue.
Error also describes that the deployment should be deployed in all the members of cluster but there is only one cluster server where I am deploying this deployement.
Hope anyone helps me in resolving this issue. Thanks in advance.
/Asmath.
Hi,
I am now able to resolve the issue with org..beans.NotWritablePropertyExcep tion.
I have followed the wrong convention of bean for configuring my datasource.By searching this exception in spring forms in this link
(showth...r tyException) I was able to resolve the issue.
Apologies if i had troubled anyone with my stupid errors.
Regards,
Asmath. |