JBoss Community

jboss-4.2.0.GA jboss-commons-client.jar conflict

created by Usman Mir in Beginner's Corner - View the full discussion

Hello,

I have an application built in Spring, deployed on jboss. datasource is defined in a mssql file in jboss/seerver/default/deploy directory. It runs fine.

 

There is a web service deployed on jboss as well. When my application tries to access the web service, i encounter aClassNotFoundException for org/jboss/logging logger class. I tried to add the jboss-common-client.jar to my classpath. but when i did i got some jar conflict and at server startup, i started getting jndi exception as if there is no object bound with my datasource name.

 

I am using jboss-4.2.0.GA

 

 

The libs in my classpath are

<classpath>

<classpathentry kind="src" path="src"/>

<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.6.0_18"/>

<classpathentry kind="con" path="melibrary.com.genuitec.eclipse.j2eedt.core.MYECLIPSE_JAVAEE_5_CONTAINER"/>

<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>

<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/antlr-2.7.6.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/asm.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/cglib-2.2.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/commons-collections-2.1.1.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/commons-logging.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/dom4j-1.6.1.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/ejb3-persistence.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/fscontext.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/hibernate-annotations.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/hibernate-commons-annotations.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/hibernate-entitymanager.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/hibernate-validator.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/hibernate3.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/jstl-standard.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/jstl.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/jta.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/log4j-1.2.11.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/msbase.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/mssqlserver.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/msutil.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/persistence.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/spring-beans.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/spring-context.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/spring-core.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/spring-jdbc.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/spring-orm.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/spring-tx-2.5.5.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/spring-web.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/spring-webmvc.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/sqljdbc4.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/xerces-2.6.2.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/xml-apis.jar"/>

<classpathentry kind="lib" path="C:/Documents and Settings/usman.tahir/Desktop/libs/sso-client.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/xstream-1.3.1.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/spring-ws-core-1.5.4.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/spring-xml-1.5.4.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/spring-oxm-1.5.4.jar"/>

<classpathentry kind="lib" path="WebContent/WEB-INF/lib/saaj-impl-1.3.2.jar"/>

<classpathentry kind="output" path="WebContent/WEB-INF/classes"/>

</classpath>

 

 

Can any one help me to identify what is causing this conflict? I will be GREATFUL.

 

 

Regards,

Usman

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community