Hi,
there is bunch of jar files in your lib directory that are not needed and should be removed.
line by line:
WEB-INF/lib/acs-protocol-2.0.0.0-20120621.171242-43.jar
WEB-INF/lib/activation-1.1.jar <-- this is part of JDK & APP server, no need to include it
WEB-INF/lib/activeio-core-3.1.0.jar
WEB-INF/lib/activemq-camel-5.2.0.jar
WEB-INF/lib/activemq-core-5.2.0.jar
WEB-INF/lib/activemq-pool-5.2.0.jar
WEB-INF/lib/antlr-2.7.7.jar <-- is dependency of hibernate which is part of app server
WEB-INF/lib/antlr-runtime-3.4.jar <-- same as above
WEB-INF/lib/aopalliance-1.0.jar <-- same as above
WEB-INF/lib/asm-3.2.jar <-- same as above
WEB-INF/lib/asmp-6.1.4.0.jar
WEB-INF/lib/aspectjrt-1.5.3.jar <-- this is probably leftover
WEB-INF/lib/aspectjweaver-1.5.3.jar <-- lefover?
WEB-INF/lib/awp-6.1.4.0.jar
WEB-INF/lib/mydomain-licensing-1.0.6.jar
WEB-INF/lib/mydomain-module-common-0.0.41.jar
WEB-INF/lib/mydomain-protocol-common-6.1.4.0.jar
WEB-INF/lib/axis-1.4.jar <-- your app uses axis?, if not remove
WEB-INF/lib/axis-jaxrpc-1.4.jar <-- axis, if not in use, remove
WEB-INF/lib/backport-util-concurrent-2.1.jar <-- not needed, this is part of java6+,
WEB-INF/lib/bcprov-jdk15-140.jar <-- should probably be upgrade of jdk16 version
WEB-INF/lib/c3p0-0.9.1.jar <-- use internal datasource pooling instead of c3po, remove
WEB-INF/lib/camel-core-2.8.1.jar
WEB-INF/lib/camel-jms-2.8.1.jar
WEB-INF/lib/camel-spring-2.8.1.jar
WEB-INF/lib/castor-0.9.3.19.jar
WEB-INF/lib/cglib-nodep-2.1_3.jar <-- another hibernate dependancy, remove
WEB-INF/lib/cmdb-2.0.58.jar
WEB-INF/lib/cognos-axis-8.4.jar
WEB-INF/lib/cognos-client-8.4.jar
WEB-INF/lib/commons-beanutils-1.6.1.jar
WEB-INF/lib/commons-codec-1.4.jar
WEB-INF/lib/commons-collections-3.0.jar
WEB-INF/lib/commons-configuration-1.6.jar
WEB-INF/lib/commons-digester-1.8.jar
WEB-INF/lib/commons-discovery-0.2.jar
WEB-INF/lib/commons-el-1.0.jar <-- probably not neeed, remove
WEB-INF/lib/commons-fileupload-1.2.1.jar
WEB-INF/lib/commons-httpclient-3.0.1.jar
WEB-INF/lib/commons-io-1.4.jar
WEB-INF/lib/commons-jxpath-1.3.jar
WEB-INF/lib/commons-lang-2.6.jar <-- this is part of as, try to remove it if possible
WEB-INF/lib/commons-logging-1.0.jar <-- remove
WEB-INF/lib/commons-logging-api-1.1.jar <-- remove
WEB-INF/lib/commons-management-1.0.jar
WEB-INF/lib/commons-math-2.2.jar
WEB-INF/lib/commons-net-2.0.jar
WEB-INF/lib/commons-pool-1.4.jar
WEB-INF/lib/commons-validator-1.0.2.jar
WEB-INF/lib/concurrent-1.0.jar <-- remove
WEB-INF/lib/cxf-api-2.5.1.jar <-- cxf is part of AS7 and no need to include it in you app, if not imported by default you could add dependancy to org.apache.cxf module
WEB-INF/lib/cxf-common-utilities-2.5.1.jar <-- same as above
WEB-INF/lib/cxf-rt-bindings-soap-2.5.1.jar <-- same as above
WEB-INF/lib/cxf-rt-bindings-xml-2.5.1.jar <-- same as above
WEB-INF/lib/cxf-rt-core-2.5.1.jar <-- same as above
WEB-INF/lib/cxf-rt-databinding-jaxb-2.5.1.jar <-- same as above
WEB-INF/lib/cxf-rt-frontend-jaxws-2.5.1.jar <-- same as above
WEB-INF/lib/cxf-rt-frontend-simple-2.5.1.jar <-- same as above
WEB-INF/lib/cxf-rt-transports-common-2.5.1.jar <-- same as above
WEB-INF/lib/cxf-rt-transports-http-2.5.1.jar <-- same as above
WEB-INF/lib/cxf-rt-ws-addr-2.5.1.jar <-- same as above
WEB-INF/lib/cxf-rt-ws-security-2.5.1.jar <-- same as above
WEB-INF/lib/cxf-tools-common-2.5.1.jar <-- same as above
WEB-INF/lib/cxf-tools-validator-2.5.1.jar <-- same as above
WEB-INF/lib/cxf-tools-wsdlto-core-2.5.1.jar <-- same as above
WEB-INF/lib/cxf-tools-wsdlto-databinding-jaxb-2.5.1.jar <-- same as above
WEB-INF/lib/cxf-tools-wsdlto-frontend-jaxws-2.5.1.jar <-- same as above
WEB-INF/lib/data-accumulator-0.1.0.jar
WEB-INF/lib/dom4j-1.6.1.jar <-- remove
WEB-INF/lib/ehcache-core-2.0.0.jar <-- do you use ehcache in you app?
WEB-INF/lib/ehcache-jgroupsreplication-1.3.jar <-- you use ehchache with replication? if not remove
WEB-INF/lib/ehcache-jmsreplication-0.4.jar <-- same as above
WEB-INF/lib/ehcache-terracotta-2.0.0.jar <-- same as above
WEB-INF/lib/ezmorph-1.0.6.jar
WEB-INF/lib/fileupload-1.0.12.jar
WEB-INF/lib/fileupload-api-1.0.3.jar
WEB-INF/lib/geoapi-2.2-M1.jar
WEB-INF/lib/geronimo-javamail_1.4_spec-1.7.1.jar <-- remove this is part of EE spec and should not be included in user's app
WEB-INF/lib/geronimo-jms_1.1_spec-1.1.1.jar <-- same as above
WEB-INF/lib/geronimo-jta_1.0.1B_spec-1.0.1.jar <-- same as above
WEB-INF/lib/groovy-all-1.8.2.jar
WEB-INF/lib/gt-api-2.5.2.jar
WEB-INF/lib/gt-epsg-wkt-2.5.2.jar
WEB-INF/lib/gt-metadata-2.5.2.jar
WEB-INF/lib/gt-referencing-2.5.2.jar
WEB-INF/lib/harmony-asn1-6.0.1.jar
WEB-INF/lib/hibernate-c3p0-4.1.0.Final.jar <-- hiberenate is part of AS no need to bundle your own
WEB-INF/lib/hibernate-commons-annotations-4.0.1.Final.jar <-- same as above
WEB-INF/lib/hibernate-core-4.1.0.Final.jar <-- same as above
WEB-INF/lib/hibernate-ehcache-4.1.0.Final.jar <-- do you use ehcache for caching?
WEB-INF/lib/hibernate-jbosscache-3.3.2.GA.jar <-- or do you use jbosscache?
WEB-INF/lib/hibernate-jbosscache2-3.3.2.GA.jar <-- or do you use jbosscache2?
WEB-INF/lib/hibernate-jmx-3.3.2.GA.jar <-- remove
WEB-INF/lib/hibernate-oscache-3.3.2.GA.jar <-- remove
WEB-INF/lib/hibernate-proxool-4.1.0.Final.jar <-- remove
WEB-INF/lib/hibernate-spatial-1.0-M2-mydomain-1.0.jar
WEB-INF/lib/hibernate-spatial-oracle-1.0-M2-mydomain-1.0.jar
WEB-INF/lib/hibernate-swarmcache-3.3.2.GA.jar <-- do you use alos swarmcache in you app?
WEB-INF/lib/http-builder-0.5.0-RC2.jar
WEB-INF/lib/httpclient-4.0.1.jar <-- could be remove, and included via dependancy form AS
WEB-INF/lib/httpcore-4.0.1.jar <-- same as above
WEB-INF/lib/jai-core-1.1.3.jar
WEB-INF/lib/javassist-3.12.0.GA.jar <-- remove javaasist
WEB-INF/lib/javassist-3.15.0-GA.jar <-- especialy two versions of it
WEB-INF/lib/javatar-2.5.jar
WEB-INF/lib/jaxb-impl-2.2.5.jar <-- this is part of JDK/app server, remove
WEB-INF/lib/jaxb-xjc-2.2.5.jar <-- same as above
WEB-INF/lib/jaxrpc-api-1.1.jar <-- same as above
WEB-INF/lib/jboss-cache-1.4.1.GA.jar <-- this is 6th cache impl you have in you app?
WEB-INF/lib/jboss-common-4.0.2.jar <-- why do you bundle core libs from jboss 4?, remove
WEB-INF/lib/jboss-common-core-2.2.10.GA.jar <-- same as above
WEB-INF/lib/jboss-common-jdbc-wrapper-4.3.0.GA_CP06.jar <-- same as above
WEB-INF/lib/jboss-j2se-200504122039.jar <-- same as above
WEB-INF/lib/jboss-logging-3.1.0.CR2.jar <-- same as above
WEB-INF/lib/jboss-logging-spi-2.0.5.GA.jar <-- same as above
WEB-INF/lib/jboss-minimal-4.0.2.jar <-- same as above
WEB-INF/lib/jboss-system-4.0.2.jar <-- same as above
WEB-INF/lib/jboss-transaction-api_1.1_spec-1.0.0.Final.jar <-- part of EE spec / app server, remove
WEB-INF/lib/jbossall-client-3.2.3.jar <-- why do you need jbossclient 3.2.3? do you connect to jboss 3.2.3 from your app?
WEB-INF/lib/jbosscache-core-3.1.0.GA.jar <-- 7th cache impl?
WEB-INF/lib/jcert-1.0.jar
WEB-INF/lib/jdbc-stdext-2.0.jar
WEB-INF/lib/jdom-0.7.jar
WEB-INF/lib/jep-3.3.0.jar
WEB-INF/lib/jgroups-2.6.8.GA.jar <-- AS7 comes with jgroups already, no need to bundle it
WEB-INF/lib/jms-1.1.jar <-- part of EE spec / app server
WEB-INF/lib/jnet-1.0.jar
WEB-INF/lib/joda-time-1.6.2.jar
WEB-INF/lib/json-lib-2.3-jdk15.jar <-- probably time to update this?
WEB-INF/lib/jsr-275-1.0-beta-2.jar <-- this should probably be updated?
WEB-INF/lib/jsse-1.0.jar <-- tomcats ssl lib? probably some leftover, remove it
WEB-INF/lib/jstl-1.1.2.jar <-- part of EE spec/ app server, remove it
WEB-INF/lib/jta-1.1.jar <-- part of EE spec / app server, remove it
WEB-INF/lib/jts-1.10.jar <-- part of app server, remove it
WEB-INF/lib/junit-4.4.jar <-- junit on server? probably mistake
WEB-INF/lib/ldapcontr-1.0.jar
WEB-INF/lib/log4j-1.2.15.jar <-- you dont need to include that, app server does that for you, but you can leave it..
WEB-INF/lib/mail-1.4.4.jar <-- part of EE spec / app server, remove it
WEB-INF/lib/mina-core-2.0.4.jar
WEB-INF/lib/neethi-3.0.1.jar
WEB-INF/lib/nekohtml-1.9.9.jar
WEB-INF/lib/ojdbc6-11.2.0.2.0.jar <-- jdbc driver does not belong into app itself..
WEB-INF/lib/opensaml-2.5.1-1.jar
WEB-INF/lib/openws-1.4.2-1.jar
WEB-INF/lib/oracle.integration.proxy-1.0.jar
WEB-INF/lib/oro-2.0.6.jar
WEB-INF/lib/oscache-2.1.jar <-- another cache impl?
WEB-INF/lib/placeholder-6.6.0.0-SNAPSHOT.jar
WEB-INF/lib/proxool-0.8.3.jar
WEB-INF/lib/qdox-1.12.jar
WEB-INF/lib/quartz-1.6.5.jar <-- you need quartz directly or is this some transtive dependancy? you could probably remove it
WEB-INF/lib/scribe-1.3.0.jar
WEB-INF/lib/seam-spring-core-3.1.0.Final.jar
WEB-INF/lib/serializer-j_2.7.0.jar <-- xml parser, part of app server, remove
WEB-INF/lib/shiftone-arbor-1.0.jar
WEB-INF/lib/simple-1.0.jar
WEB-INF/lib/sl-common-api-6.6-SNAPSHOT.jar
WEB-INF/lib/sl-core-6.6-SNAPSHOT.jar
WEB-INF/lib/slf4j-api-1.5.6.jar <-- part of app server, you could remove it
WEB-INF/lib/slf4j-log4j12-1.5.6.jar <-- same as above
WEB-INF/lib/smppapi-1.0.jar
WEB-INF/lib/spring-aop-3.0.6.RELEASE.jar
WEB-INF/lib/spring-asm-3.0.6.RELEASE.jar
WEB-INF/lib/spring-beans-3.0.6.RELEASE.jar
WEB-INF/lib/spring-context-3.0.6.RELEASE.jar
WEB-INF/lib/spring-context-support-3.0.6.RELEASE.jar
WEB-INF/lib/spring-core-3.0.6.RELEASE.jar
WEB-INF/lib/spring-expression-3.0.6.RELEASE.jar
WEB-INF/lib/spring-jdbc-3.0.6.RELEASE.jar
WEB-INF/lib/spring-jms-3.0.6.RELEASE.jar
WEB-INF/lib/spring-orm-3.0.6.RELEASE.jar
WEB-INF/lib/spring-tx-3.0.6.RELEASE.jar
WEB-INF/lib/spring-web-3.0.6.RELEASE.jar
WEB-INF/lib/sshd-core-svn-rev-1167185.jar
WEB-INF/lib/standard-1.1.2.jar <-- part of EE spec / app server, remove it
WEB-INF/lib/stax2-api-3.1.1.jar <-- you could proably remove this
WEB-INF/lib/stringtemplate-3.2.1.jar
WEB-INF/lib/struts-1.1.jar
WEB-INF/lib/struts-legacy-1.1.jar
WEB-INF/lib/sunjce_provider-1.0.jar <-- jdk's jce provider in app? probably mistake
WEB-INF/lib/swarmcache-1.0RC2.jar <-- another cache??
WEB-INF/lib/vecmath-1.3.1.jar
WEB-INF/lib/velocity-1.7.jar
WEB-INF/lib/webdavlib-2.0.jar
WEB-INF/lib/woodstox-core-asl-4.1.1.jar
WEB-INF/lib/wsdl4j-1.6.2.jar <-- could proably remove it
WEB-INF/lib/wss4j-1.6.4.jar <-- same as above
WEB-INF/lib/xalan-1.0.jar <-- should proabably remove it, this is anicient...
WEB-INF/lib/xbean-spring-3.4.jar
WEB-INF/lib/xercesImpl-2.9.0.jar <-- no need to bundle, remove
WEB-INF/lib/xml-apis-1.3.04.jar <-- remove
WEB-INF/lib/xml-resolver-1.2.jar <-- remove
WEB-INF/lib/xmlschema-core-2.0.1.jar <-- remove
WEB-INF/lib/xmlsec-1.4.6.jar <-- probable safe to remove
WEB-INF/lib/xmltooling-1.3.2-1.jar
WEB-INF/lib/xpp3_min-1.1.4c.jar <-- praobly save to remove
WEB-INF/lib/xsltc-1.0.jar
WEB-INF/lib/xstream-1.3.1.jar <-- probably save to remove
It looks like you have bunch of duplicated and unneeded jar bundled in your app.
First thing to remove are all ee spec provided jars as they might give you problems.
Hibernate 4 is part of app server so no need to bundle it also all the caches and its dependancies.
check what cache provider you are actualy using and keep just that one.
also configure datasource directly in app server and don't use jdbc directly, you might need to fix few configruation files.
probably you have just few bugs in you maven project, where you should define all dependancies that are part of app server as <scope>provided</scope>
i would also recomend you to use
mvn dependency:tree
to show you from where dependancies are coming into your resulting build.
hope this helps
--
tomaz