Hi All,

We're working on a web app that is using Castor that is ultimately going to
be deployed on Solaris. We have successfully been running on our local
machines during development that are Mac OS X and Windows 2000. We have also
been able to deploy it on out development box, which is also Windows 2000
running Tomcat 4.0.4 and JDK 1.4.0, without a hitch. Now we are trying to
get the running on our staging box which is identical to the production
Solaris box. The Stage box has the same configuration as out Windows 2000
server, JDK 1.4.0 and Tomcat 4.0.4 using MySQL Connector/J and Jakarta
Commons DBCP for connection pooling via JNDI. When ever we run a page or
servlet that interacts with Castor, we get an error stating that it can't
find any persistence factory classes and that " The persistence engine mysql
is not supported in this Castor configuration". The exception is that the
end of this message for those who might know what we're doing wrong, but any
help would be greatly appreciated.

Ryan-




 [Castor] The persistence factory class
org.exolab.castor.jdo.drivers.OracleFactory specified in the Castor
properties file does not exist in this configuration and will not be
supported
[Castor] The persistence factory class
org.exolab.castor.jdo.drivers.PostgreSQLFactory specified in the Castor
properties file does not exist in this configuration and will not be
supported
[Castor] The persistence factory class
org.exolab.castor.jdo.drivers.SybaseFactory specified in the Castor
properties file does not exist in this configuration and will not be
supported
[Castor] The persistence factory class
org.exolab.castor.jdo.drivers.SQLServerFactory specified in the Castor
properties file does not exist in this configuration and will not be
supported
[Castor] The persistence factory class
org.exolab.castor.jdo.drivers.DB2Factory specified in the Castor properties
file does not exist in this configuration and will not be supported
[Castor] The persistence factory class
org.exolab.castor.jdo.drivers.InformixFactory specified in the Castor
properties file does not exist in this configuration and will not be
supported
[Castor] The persistence factory class
org.exolab.castor.jdo.drivers.HsqlFactory specified in the Castor properties
file does not exist in this configuration and will not be supported
[Castor] The persistence factory class
org.exolab.castor.jdo.drivers.InstantDBFactory specified in the Castor
properties file does not exist in this configuration and will not be
supported
[Castor] The persistence factory class
org.exolab.castor.jdo.drivers.InterbaseFactory specified in the Castor
properties file does not exist in this configuration and will not be
supported
[Castor] The persistence factory class
org.exolab.castor.jdo.drivers.MySQLFactory specified in the Castor
properties file does not exist in this configuration and will not be
supported
[Castor] The persistence factory class
org.exolab.castor.jdo.drivers.SapDbFactory specified in the Castor
properties file does not exist in this configuration and will not be
supported
[Castor] The persistence factory class
org.exolab.castor.jdo.drivers.GenericFactory specified in the Castor
properties file does not exist in this configuration and will not be
supported
72766 [HttpProcessor[8080][4]] ERROR com.hnw.persistence.DataManagerImpl  -
org.exolab.castor.jdo.DatabaseNotFoundException in getDatabase: The
persistence engine mysql is not supported in this Castor configuration
 org.exolab.castor.mapping.MappingException: The persistence engine mysql is
not supported in this Castor configuration
        at 
org.exolab.castor.jdo.engine.DatabaseRegistry.loadDatabase(Unknown Source)
        at org.exolab.castor.jdo.JDO.getDatabase(Unknown Source)
        at 
com.hnw.persistence.DataManagerImpl.getDatabase(DataManagerImpl.java:50)
        at 
com.hnw.persistence.DataManagerImpl.findByPrimaryKey(DataManagerImpl.java:13
6)
        at 
com.hnw.persistence.user.UserManagerImpl.getUser(UserManagerImpl.java:98)
        at 
com.hnw.apps.marshall.action.IdentityFilter.doFilter(IdentityFilter.java:63)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:213)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
        at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190)
        at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
        at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
        at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
        at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
        at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
        at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
        at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
        at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
        at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
        at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
        at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at 
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1027)
        at 
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125
)
        at java.lang.Thread.run(Thread.java:536)

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to