ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chen, Tim" <Tim.C...@NielsenMedia.com>
Subject RE: Deploying on Sun Application Server
Date Tue, 10 Jan 2006 14:59:52 GMT
Yikes. That's a lot.
But if you look at the exceptions most are missing apache classes from
the commons library and log4j.
Not looking at the rest lets clear those up first.
Tomcat already includes most of these in its lib therefore nothing needs
to be done.
But for you you should go to:

http://jakarta.apache.org/ and go to the commons project and download
 collections jar
 logging jar
http://logging.apache.org/ and download log4j

And install them to the war or to your server.
Try that for now and see if that clears your errors.

-Tim


-----Original Message-----
From: Simon Johnson [mailto:simon.johnson@mnetcorporation.com] 
Sent: Monday, January 09, 2006 10:37 PM
To: user-java@ibatis.apache.org
Subject: Deploying on Sun Application Server

Hi,

I am new to iBATIS and I am having trouble deploying it on "Sun Java
System Application Server Platform Edition 8.1"

I successfully deployed the JPetStore and another good tut I found here:
http://www.reumann.net/struts/ibatisLesson1.do on Tomcat and Resin but I
can't get it working on the Sun platform, which I have to use to meet
the project spec.

Configuring the data source is not a problem because the server has a
web GUI to handle all of that. The problem is that when I go to deploy
the war file, the verifier coughs up class not found errors. (Please see
below)

All of these classes are packaged in the war file, which executes
perfectly on Tomcat and Resin.

Any help or suggestions on Sun App Server would be greatly appreciated.

Cheers
Simon


-------------------------------


Assertion:All classes in this Web Archive are loadable. Please refer to
J2EE 1.4 Specification Section #8.1.2 for further information.
For [ jpetstore.war ]


classes [ org.apache.log4j.Category org.apache.log4j.Level ] referenced
by [ org.apache.commons.logging.impl.Log4JCategoryLog] are not found

classes [ org.apache.ojb.broker.query.QueryByCriteria
org.apache.ojb.broker.PersistenceBroker org.apache.ojb.broker.Identity ]
referenced by [ com.ibatis.dao.client.template.OjbBrokerDaoTemplate] are
not found

classes [
org.apache.commons.collections.comparators.ComparableComparator ]
referenced by [ org.apache.commons.beanutils.BeanComparator] are not
found

classes [ org.apache.commons.collections.Transformer ] referenced by [
org.apache.commons.beanutils.BeanMap$6] are not found

classes [ oracle.toplink.threetier.Server
oracle.toplink.sessions.UnitOfWork
oracle.toplink.exceptions.TopLinkException
oracle.toplink.sessions.Session ] referenced by [
com.ibatis.dao.client.template.ToplinkDaoTemplate\com.ibatis.dao.engine.
transaction.toplink.ToplinkDaoTransaction] are not found

classes [ net.sf.hibernate.Transaction
net.sf.hibernate.HibernateException net.sf.hibernate.SessionFactory
net.sf.hibernate.Session ] referenced by [
com.ibatis.dao.client.template.HibernateDaoTemplate\com.ibatis.dao.engin
e.transaction.hibernate.HibernateDaoTransaction] are not found

classes [ org.apache.commons.collections.Transformer ] referenced by [
org.apache.commons.beanutils.BeanMap$3] are not found

classes [ org.hsqldb.util.Transfer ] referenced by [
org.hsqldb.util.DatabaseManagerSwing$1\org.hsqldb.util.DatabaseManagerSw
ing] are not found

classes [ oracle.toplink.expressions.Expression
oracle.toplink.sessions.UnitOfWork
oracle.toplink.queryframework.ReportQuery
oracle.toplink.expressions.ExpressionBuilder
oracle.toplink.sessions.Session ] referenced by [
com.ibatis.dao.client.template.ToplinkDaoTemplate] are not found

classes [ org.apache.commons.collections.keyvalue.AbstractMapEntry ]
referenced by [
org.apache.commons.beanutils.BeanMap$9\org.apache.commons.beanutils.Bean
Map\org.apache.commons.beanutils.BeanMap$11\org.apache.commons.beanutils
.BeanMap$Entry] are not found

classes [ org.apache.commons.collections.Transformer ] referenced by [
org.apache.commons.beanutils.BeanMap$8] are not found

classes [ org.apache.avalon.framework.logger.Logger ] referenced by [
org.apache.commons.logging.impl.AvalonLogger] are not found

classes [ org.apache.log.Hierarchy org.apache.log.Logger ] referenced by
[ org.apache.commons.logging.impl.LogKitLogger] are not found

classes [ com.opensymphony.oscache.base.NeedsRefreshException
com.opensymphony.oscache.general.GeneralCacheAdministrator ] referenced
by [ com.ibatis.sqlmap.engine.cache.oscache.OSCacheController] are not
found

classes [ net.sf.cglib.beans.BulkBean ] referenced by [
com.ibatis.dao.engine.transaction.sqlmap.SqlMapDaoTransactionManager\com
.ibatis.sqlmap.client.SqlMapClientBuilder\com.ibatis.sqlmap.engine.build
er.xml.SqlMapConfigParser\com.ibatis.sqlmap.engine.builder.xml.SqlMapCon
figParser$8\com.ibatis.sqlmap.engine.builder.xml.BaseParser$Variables\co
m.ibatis.sqlmap.engine.mapping.parameter.BasicParameterMap\com.ibatis.sq
lmap.engine.mapping.parameter.ParameterMap\com.ibatis.sqlmap.engine.scop
e.RequestScope\com.ibatis.sqlmap.engine.mapping.sql.Sql\com.ibatis.sqlma
p.engine.mapping.result.ResultMap\com.ibatis.sqlmap.engine.mapping.resul
t.Discriminator\com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate\com
.ibatis.sqlmap.engine.exchange.DataExchangeFactory\com.ibatis.sqlmap.eng
ine.exchange.JavaBeanDataExchange\com.ibatis.sqlmap.engine.accessplan.Ac
cessPlanFactory\com.ibatis.sqlmap.engine.accessplan.EnhancedPropertyAcce
ssPlan] are not found

classes [ net.sf.hibernate.SessionFactory
net.sf.hibernate.cfg.Configuration ] referenced by [
com.ibatis.dao.engine.transaction.hibernate.HibernateDaoTransactionManag
er] are not found

classes [ net.sf.hibernate.ReplicationMode net.sf.hibernate.LockMode
net.sf.hibernate.Transaction net.sf.hibernate.HibernateException
net.sf.hibernate.SessionFactory net.sf.hibernate.Session
net.sf.hibernate.type.Type net.sf.hibernate.Query
net.sf.hibernate.Criteria net.sf.hibernate.FlushMode ] referenced by [
com.ibatis.dao.client.template.HibernateDaoTemplate] are not found

classes [ org.apache.commons.collections.Predicate ] referenced by [
org.apache.commons.beanutils.BeanPredicate] are not found

classes [ org.apache.commons.collections.Transformer ] referenced by [
org.apache.commons.beanutils.BeanMap$1] are not found

classes [ org.apache.commons.collections.list.UnmodifiableList
org.apache.commons.collections.set.UnmodifiableSet
org.apache.commons.collections.Transformer ] referenced by [
org.apache.commons.beanutils.BeanMap$9\org.apache.commons.beanutils.Bean
Map] are not found

classes [ org.apache.log4j.Logger ] referenced by [
com.ibatis.common.logging.log4j.Log4jImpl] are not found

classes [ org.apache.commons.collections.Closure ] referenced by [
org.apache.commons.beanutils.BeanPropertyValueChangeClosure] are not
found

classes [ org.apache.commons.collections.Transformer ] referenced by [
org.apache.commons.beanutils.BeanToPropertyValueTransformer] are not
found

classes [ antlr.actions.csharp.ActionLexer ] referenced by [
antlr.CSharpCodeGenerator] are not found

classes [ org.apache.commons.collections.Transformer ] referenced by [
org.apache.commons.beanutils.BeanMap$2] are not found

classes [ net.sf.cglib.proxy.Enhancer
net.sf.cglib.proxy.InvocationHandler ] referenced by [
com.ibatis.dao.engine.transaction.sqlmap.SqlMapDaoTransactionManager\com
.ibatis.sqlmap.client.SqlMapClientBuilder\com.ibatis.sqlmap.engine.build
er.xml.SqlMapConfigParser\com.ibatis.sqlmap.engine.builder.xml.SqlMapCon
figParser$8\com.ibatis.sqlmap.engine.builder.xml.BaseParser$Variables\co
m.ibatis.sqlmap.engine.mapping.parameter.BasicParameterMap\com.ibatis.sq
lmap.engine.mapping.parameter.ParameterMap\com.ibatis.sqlmap.engine.scop
e.RequestScope\com.ibatis.sqlmap.engine.mapping.sql.Sql\com.ibatis.sqlma
p.engine.mapping.result.ResultMap\com.ibatis.sqlmap.engine.mapping.resul
t.Discriminator\com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate\com
.ibatis.sqlmap.engine.exchange.DataExchangeFactory\com.ibatis.sqlmap.eng
ine.exchange.DomDataExchange\com.ibatis.sqlmap.engine.mapping.result.Bas
icResultMap\com.ibatis.sqlmap.engine.mapping.result.loader.ResultLoader\
com.ibatis.sqlmap.engine.mapping.result.loader.EnhancedLazyResultLoader\
com.ibatis.sqlmap.engine.mapping.result.loader.EnhancedLazyResultLoader$
EnhancedLazyResultLoaderImpl] are not found

classes [ org.apache.commons.collections.Predicate ] referenced by [
org.apache.commons.beanutils.BeanPropertyValueEqualsPredicate] are not
found

classes [ org.apache.commons.collections.Transformer ] referenced by [
org.apache.commons.beanutils.BeanMap$7] are not found

classes [ org.apache.log4j.Category org.apache.log4j.Logger
org.apache.log4j.Level org.apache.log4j.Priority ] referenced by [
org.apache.commons.logging.impl.Log4JLogger] are not found

classes [ org.apache.commons.collections.Transformer ] referenced by [
org.apache.commons.beanutils.BeanMap$4] are not found

classes [ org.apache.commons.dbcp.BasicDataSource ] referenced by [
com.ibatis.common.jdbc.DbcpConfiguration] are not found

classes [ org.apache.ojb.broker.PersistenceBrokerFactory ] referenced by
[ com.ibatis.dao.engine.transaction.ojb.OjbBrokerTransactionManager] are
not found

classes [ org.apache.ojb.broker.PersistenceBroker ] referenced by [
com.ibatis.dao.client.template.OjbBrokerDaoTemplate\com.ibatis.dao.engin
e.transaction.ojb.OjbBrokerDaoTransaction] are not found

classes [ org.apache.log4j.Logger ] referenced by [
org.apache.commons.logging.impl.Log4jFactory] are not found

classes [ org.apache.commons.collections.Transformer ] referenced by [
org.apache.commons.beanutils.BeanMap$5] are not found

classes [ org.hsqldb.util.Transfer ] referenced by [
org.hsqldb.util.DatabaseManager] are not found

classes [ oracle.toplink.publicinterface.UnitOfWork
oracle.toplink.tools.sessionmanagement.SessionManager
oracle.toplink.threetier.Server ] referenced by [
com.ibatis.dao.engine.transaction.toplink.ToplinkDaoTransactionManager]
are not found 


Mime
View raw message