Hi i am recieving so many exceptions in startup of
tomcat 5. after approx. 1 minutes the server starts up.
I have set the JAVA_HOME as well as CATALINA_HOME variable properly. can anybody tell how to remove these exceptions and thus have a speedy TOMCAT startup.
ager
[INFO] CompositeCacheConfigurator - setting defaults to
[INFO] CompositeCacheConfigurator - setting defaultCompositeCacheAttributes to [ useLateral = true, useRemote
= true, useDisk = true, maxObjs = 1000 ]
[WARN] OptionConverter - Could not find value for key jcs.default.elementattributes
[WARN] CompositeCacheConfigurator - Could not instantiate eAttr named 'jcs.default.elementattributes', using d
efaults.
[INFO] CompositeCacheConfigurator - setting defaultElementAttributes to [ IS_LATERAL = false, IS_SPOOL = false
, IS_REMOTE = false, IS_ETERNAL = true, MaxLifeSeconds = -1, IdleTime = -1, CreateTime = 1108049364437, LastAc
cessTime = 1108049364437, getTimeToLiveSeconds() = -1000, createTime = 1108049364437 ]
[WARN] OptionConverter - Could not find value for key jcs.system.groupIdCache.elementattributes
[WARN] CompositeCacheConfigurator - Could not instantiate eAttr named 'jcs.system.groupIdCache.elementattribut
es', using defaults.
[INFO] LRUMemoryCache - initialized LRUMemoryCache for groupIdCache
[INFO] CompositeCache - Constructed cache with name: groupIdCache
[WARN] OptionConverter - Could not find value for key jcs.region.org_tigris_scarab_om_Module.elementattributes
[WARN] CompositeCacheConfigurator - Could not instantiate eAttr named 'jcs.region.org_tigris_scarab_om_Module.
elementattributes', using defaults.
[INFO] LRUMemoryCache - initialized LRUMemoryCache for org_tigris_scarab_om_Module
[INFO] CompositeCache - Constructed cache with name: org_tigris_scarab_om_Module
[WARN] OptionConverter - Could not find value for key jcs.region.org_tigris_scarab_om_AttributeClass.elementat
tributes
[WARN] CompositeCacheConfigurator - Could not instantiate eAttr named 'jcs.region.org_tigris_scarab_om_Attribu
teClass.elementattributes', using defaults.
[INFO] LRUMemoryCache - initialized LRUMemoryCache for org_tigris_scarab_om_AttributeClass
[INFO] CompositeCache - Constructed cache with name: org_tigris_scarab_om_AttributeClass
[WARN] OptionConverter - Could not find value for key jcs.region.org_tigris_scarab_om_AttributeOption.elementa
ttributes
[WARN] CompositeCacheConfigurator - Could not instantiate eAttr named 'jcs.region.org_tigris_scarab_om_Attribu
teOption.elementattributes', using defaults.
[INFO] LRUMemoryCache - initialized LRUMemoryCache for org_tigris_scarab_om_AttributeOption
[INFO] CompositeCache - Constructed cache with name: org_tigris_scarab_om_AttributeOption
[WARN] OptionConverter - Could not find value for key jcs.region.org_tigris_scarab_om_AttributeGroup.elementat
tributes
[WARN] CompositeCacheConfigurator - Could not instantiate eAttr named 'jcs.region.org_tigris_scarab_om_Attribu
teGroup.elementattributes', using defaults.
[INFO] LRUMemoryCache - initialized LRUMemoryCache for org_tigris_scarab_om_AttributeGroup
[INFO] CompositeCache - Constructed cache with name: org_tigris_scarab_om_AttributeGroup
[WARN] OptionConverter - Could not find value for key jcs.region.org_tigris_scarab_om_Issue.elementattributes
[WARN] CompositeCacheConfigurator - Could not instantiate eAttr named 'jcs.region.org_tigris_scarab_om_Issue.e
lementattributes', using defaults.
[INFO] LRUMemoryCache - initialized LRUMemoryCache for org_tigris_scarab_om_Issue
[INFO] CompositeCache - Constructed cache with name: org_tigris_scarab_om_Issue
[WARN] OptionConverter - Could not find value for key jcs.region.org_tigris_scarab_om_Query.elementattributes
[WARN] CompositeCacheConfigurator - Could not instantiate eAttr named 'jcs.region.org_tigris_scarab_om_Query.e
lementattributes', using defaults.
[INFO] LRUMemoryCache - initialized LRUMemoryCache for org_tigris_scarab_om_Query
[INFO] CompositeCache - Constructed cache with name: org_tigris_scarab_om_Query
[WARN] OptionConverter - Could not find value for key jcs.region.org_tigris_scarab_om_UserPreference.elementat
tributes
[WARN] CompositeCacheConfigurator - Could not instantiate eAttr named 'jcs.region.org_tigris_scarab_om_UserPre
ference.elementattributes', using defaults.
[INFO] LRUMemoryCache - initialized LRUMemoryCache for org_tigris_scarab_om_UserPreference
[INFO] CompositeCache - Constructed cache with name: org_tigris_scarab_om_UserPreference
[WARN] OptionConverter - Could not find value for key jcs.region.org_tigris_scarab_om_ScarabUser.elementattrib
utes
[WARN] CompositeCacheConfigurator - Could not instantiate eAttr named 'jcs.region.org_tigris_scarab_om_ScarabU
ser.elementattributes', using defaults.
[INFO] LRUMemoryCache - initialized LRUMemoryCache for org_tigris_scarab_om_ScarabUser
[INFO] CompositeCache - Constructed cache with name: org_tigris_scarab_om_ScarabUser
[WARN] OptionConverter - Could not find value for key jcs.region.org_tigris_scarab_om_RModuleIssueType.element
attributes
[WARN] CompositeCacheConfigurator - Could not instantiate eAttr named 'jcs.region.org_tigris_scarab_om_RModule
IssueType.elementattributes', using defaults.
[INFO] LRUMemoryCache - initialized LRUMemoryCache for org_tigris_scarab_om_RModuleIssueType
[INFO] CompositeCache - Constructed cache with name: org_tigris_scarab_om_RModuleIssueType
[WARN] OptionConverter - Could not find value for key jcs.region.org_tigris_scarab_om_AttributeType.elementatt
ributes
[WARN] CompositeCacheConfigurator - Could not instantiate eAttr named 'jcs.region.org_tigris_scarab_om_Attribu
teType.elementattributes', using defaults.
[INFO] LRUMemoryCache - initialized LRUMemoryCache for org_tigris_scarab_om_AttributeType
[INFO] CompositeCache - Constructed cache with name: org_tigris_scarab_om_AttributeType
[WARN] OptionConverter - Could not find value for key jcs.region.org_tigris_scarab_om_AttributeValue.elementat
tributes
[WARN] CompositeCacheConfigurator - Could not instantiate eAttr named 'jcs.region.org_tigris_scarab_om_Attribu
teValue.elementattributes', using defaults.
[INFO] LRUMemoryCache - initialized LRUMemoryCache for org_tigris_scarab_om_AttributeValue
[INFO] CompositeCache - Constructed cache with name: org_tigris_scarab_om_AttributeValue
[WARN] OptionConverter - Could not find value for key jcs.region.org_tigris_scarab_om_Attribute.elementattribu
tes
[WARN] CompositeCacheConfigurator - Could not instantiate eAttr named 'jcs.region.org_tigris_scarab_om_Attribu
te.elementattributes', using defaults.
[INFO] LRUMemoryCache - initialized LRUMemoryCache for org_tigris_scarab_om_Attribute
[INFO] CompositeCache - Constructed cache with name: org_tigris_scarab_om_Attribute
[WARN] OptionConverter - Could not find value for key jcs.region.org_tigris_scarab_om_IssueType.elementattribu
tes
[WARN] CompositeCacheConfigurator - Could not instantiate eAttr named 'jcs.region.org_tigris_scarab_om_IssueTy
pe.elementattributes', using defaults.
[INFO] LRUMemoryCache - initialized LRUMemoryCache for org_tigris_scarab_om_IssueType
[INFO] CompositeCache - Constructed cache with name: org_tigris_scarab_om_IssueType
[INFO] TorqueInstance - Added Manager for Class: org.tigris.scarab.om.ScarabUser -> org.tigris.scarab.om.Scara
bUserManager
[WARN] IDBroker - IDBroker is being used with db 'scarab', which does not support transactions. IDBroker attem
pts to use transactions to limit the possibility of duplicate key generation. Without transactions, duplicate
key generation is possible if multiple JVMs are used or other means are used to write to the database.
[WARN] OptionConverter - Could not find value for key jcs.region.org_tigris_scarab_om_DependType.elementattrib
utes
[WARN] CompositeCacheConfigurator - Could not instantiate eAttr named 'jcs.region.org_tigris_scarab_om_DependT
ype.elementattributes', using defaults.
[INFO] LRUMemoryCache - initialized LRUMemoryCache for org_tigris_scarab_om_DependType
[INFO] CompositeCache - Constructed cache with name: org_tigris_scarab_om_DependType
[WARN] OptionConverter - Could not find value for key jcs.region.org_tigris_scarab_om_GlobalParameter.elementa
ttributes
[WARN] CompositeCacheConfigurator - Could not instantiate eAttr named 'jcs.region.org_tigris_scarab_om_GlobalP
arameter.elementattributes', using defaults.
[INFO] LRUMemoryCache - initialized LRUMemoryCache for org_tigris_scarab_om_GlobalParameter
[INFO] CompositeCache - Constructed cache with name: org_tigris_scarab_om_GlobalParameter
org.apache.torque.TorqueException: java.sql.SQLException: Cannot connect to MySQL server on localhost:3306. Is
there a MySQL server running on the machine/port you are trying to connect to? (java.net.ConnectException)
at org.apache.torque.TorqueInstance.getConnection(TorqueInstance.java:755)
at org.apache.torque.Torque.getConnection(Torque.java:306)
at org.apache.torque.util.Transaction.beginOptional(Transaction.java:118)
at org.apache.torque.util.BasePeer.doSelect(BasePeer.java:1365)
at org.tigris.scarab.om.BaseGlobalParameterPeer.doSelectVillageRecords(BaseGlobalParameterPeer.java:36
8)
at org.tigris.scarab.om.BaseGlobalParameterPeer.doSelectVillageRecords(BaseGlobalParameterPeer.java:33
6)
at org.tigris.scarab.om.BaseGlobalParameterPeer.doSelect(BaseGlobalParameterPeer.java:305)
at org.tigris.scarab.om.GlobalParameterManager.getInstance(GlobalParameterManager.java:151)
at org.tigris.scarab.om.GlobalParameterManager.getInstance(GlobalParameterManager.java:127)
at org.tigris.scarab.om.GlobalParameterManager.getString(GlobalParameterManager.java:171)
at org.tigris.scarab.services.DatabaseInitializer.init(DatabaseInitializer.java:116)
at org.apache.fulcrum.BaseServiceBroker.initService(BaseServiceBroker.java:398)
at org.apache.fulcrum.BaseServiceBroker.doInitService(BaseServiceBroker.java:477)
at org.apache.fulcrum.BaseServiceBroker.initServices(BaseServiceBroker.java:449)
at org.apache.fulcrum.BaseServiceBroker.init(BaseServiceBroker.java:262)
at org.apache.turbine.Turbine.configure(Turbine.java:700)
at org.apache.turbine.Turbine.init(Turbine.java:186)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:701)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
at org.apache.catalina.core.StandardService.start(StandardService.java:480)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
Caused by: java.sql.SQLException: Cannot connect to MySQL server on localhost:3306. Is there a MySQL server ru
nning on the machine/port you are trying to connect to? (java.net.ConnectException)
at org.gjt.mm.mysql.Connection.connectionInit(Unknown Source)
at org.gjt.mm.mysql.jdbc2.Connection.connectionInit(Unknown Source)
at org.gjt.mm.mysql.Driver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS.getPooledConnection(DriverAdapterCPDS.java:20
5)
at org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS.getPooledConnection(DriverAdapterCPDS.java:17
5)
at org.apache.commons.dbcp.datasources.InstanceKeyDataSource.testCPDS(InstanceKeyDataSource.java:748)
at org.apache.commons.dbcp.datasources.SharedPoolDataSource.registerPool(SharedPoolDataSource.java:236
)
at org.apache.commons.dbcp.datasources.SharedPoolDataSource.getPooledConnectionAndInfo(SharedPoolDataS
ource.java:205)
at org.apache.commons.dbcp.datasources.InstanceKeyDataSource.getConnection(InstanceKeyDataSource.java:
676)
at org.apache.commons.dbcp.datasources.InstanceKeyDataSource.getConnection(InstanceKeyDataSource.java:
660)
at org.apache.torque.TorqueInstance.getConnection(TorqueInstance.java:743)
... 43 more
[INFO] Turbine - init complete, Ready to Rumble!
Feb 10, 2005 5:29:46 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /yazd from URL file:C:\tomcat5\webapps\yazd
Feb 10, 2005 5:29:48 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-80
Feb 10, 2005 5:29:49 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Feb 10, 2005 5:29:49 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=31/406 config=c:\tomcat5\conf\jk2.properties
Feb 10, 2005 5:29:49 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 40344 ms