tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aku1234 <augus...@cs.stanford.edu>
Subject Re: Tomcat 5.5.25 -> 6.0.14 upgrade problem
Date Mon, 08 Oct 2007 22:17:11 GMT

I added:

org.apache.naming.level=FINE
org.apache.tomcat.dbcp.level=FINE

to the bottom of my TC_HOME/conf/logging.properties, but the logging output
didn't change.  Is there something else that needs to be changed to enable
logging?
Here's the complete log file below:

Oct 8, 2007 2:58:03 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in
production environments was not found on the java.library.path: C
:\Program
Files\Java\jdk1.5.0_12\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Fil
es\Apache Software Foundation\apache-ant-1.6.5\bin;C:\Program
Files\Putty\;C:\Program Files\QuickTime\QTSystem\;C:\Program
Files\Java\jdk1.5
.0_12\bin;C:\Program Files\jEdit
Oct 8, 2007 2:58:03 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Oct 8, 2007 2:58:03 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 494 ms
Oct 8, 2007 2:58:03 PM org.apache.catalina.realm.JAASRealm setContainer
INFO: Set JAAS app name Catalina
Oct 8, 2007 2:58:03 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Oct 8, 2007 2:58:03 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
Oct 8, 2007 2:58:03 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive oms.war
WARN  Digester - [ConverterRule]{faces-config/converter}
Merge(null,java.math.BigDecimal)
WARN  Digester - [ConverterRule]{faces-config/converter}
Merge(null,java.math.BigInteger)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule}
Merge(/signUp1to3.jsp)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule}
Merge(/registerSite.jsp)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule}
Merge(/registerClinician.jsp)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule}
Merge(/registerPrimary.jsp)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule}
Merge(/home.jsp)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule}
Merge(/home.jsp)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule}
Merge(/home.jsp)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule}
Merge(/home.jsp)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule}
Merge(/registerService.jsp)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule}
Merge(/instruction.jsp)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule}
Merge(/providerRegistration.jsp)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule}
Merge(/training.jsp)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule}
Merge(/providerRegistration.jsp)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule}
Merge(/instruction.jsp)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule}
Merge(/changeMemberIdAndPassword.jsp)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule}
Merge(/changeMemberIdAndPassword.jsp)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule}
Merge(/store/shoppingCart.jsp)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule}
Merge(/store/shoppingCart.jsp)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule}
Merge(/store/shoppingCart.jsp)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule}
Merge(/store/orderManager.jsp)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule}
Merge(/store/orderDetail.jsp)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule}
Merge(/store/orderDetail.jsp)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule}
Merge(/store/shipping.jsp)
WARN  Digester - [NavigationRuleRule]{faces-config/navigation-rule}
Merge(/store/creditCard.jsp)
INFO  ContextLoader - Root WebApplicationContext: initialization started
INFO  CollectionFactory - JDK 1.4+ collections available
INFO  XmlBeanDefinitionReader - Loading XML bean definitions from
ServletContext resource [/WEB-INF/applicationContext-acegi-security.xml]
INFO  XmlWebApplicationContext - Bean factory for application context [Root
WebApplicationContext]: org.springframework.beans.factory.suppor
t.DefaultListableBeanFactory defining beans
[filterChainProxy,httpSessionContextIntegrationFilter,logoutFilter,authenticationProcessingFilte
r,securityContextHolderAwareRequestFilter,rememberMeProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilter,filterInvocationIn
terceptor,rememberMeServices,authenticationManager,passwordEncoder,saltSource,daoAuthenticationProvider,dataSource,userDetailsService,logger
Listener]; root of BeanFactory hierarchy
INFO  XmlWebApplicationContext - 17 beans defined in application context
[Root WebApplicationContext]
INFO  XmlWebApplicationContext - Unable to locate MessageSource with name
'messageSource': using default [org.springframework.context.suppor
t.DelegatingMessageSource@e35bb7]
INFO  XmlWebApplicationContext - Unable to locate
ApplicationEventMulticaster with name 'applicationEventMulticaster': using
default [org.sp
ringframework.context.event.SimpleApplicationEventMulticaster@183e7de]
INFO  UiApplicationContextUtils - Unable to locate ThemeSource with name
'themeSource': using default [org.springframework.ui.context.suppor
t.ResourceBundleThemeSource@61a907]
INFO  DefaultListableBeanFactory - Pre-instantiating singletons in factory
[org.springframework.beans.factory.support.DefaultListableBeanFac
tory defining beans
[filterChainProxy,httpSessionContextIntegrationFilter,logoutFilter,authenticationProcessingFilter,securityContextHolderA
wareRequestFilter,rememberMeProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilter,filterInvocationInterceptor,rememberMeServ
ices,authenticationManager,passwordEncoder,saltSource,daoAuthenticationProvider,dataSource,userDetailsService,loggerListener];
root of BeanF
actory hierarchy]
INFO  AbstractSecurityInterceptor - Validated configuration attributes
INFO  ContextLoader - Using context class
[org.springframework.web.context.support.XmlWebApplicationContext] for root
WebApplicationContext
INFO  ContextLoader - Root WebApplicationContext: initialization completed
in 672 ms
DEBUG BHLLogger - Initializing filter...
DEBUG BHLLogger - Obtaining SessionFactory from static HibernateUtil
singleton
INFO  Version - Hibernate Annotations 3.3.0.GA
INFO  Environment - Hibernate 3.2.5
INFO  Environment - hibernate.properties not found
INFO  Environment - Bytecode provider name : cglib
INFO  Environment - using JDK 1.4 java.sql.Timestamp handling
INFO  Configuration - configuring from resource: /hibernate.cfg.xml
INFO  Configuration - Configuration resource: /hibernate.cfg.xml
INFO  Configuration - Configured SessionFactory: null
INFO  Configuration - configuring from resource: /hibernate.cfg.xml
INFO  Configuration - Configuration resource: /hibernate.cfg.xml
INFO  Configuration - Configured SessionFactory: null
INFO  AnnotationBinder - Binding entity from annotated class:
com.bhl.store.db.Address
INFO  EntityBinder - Bind entity com.bhl.store.db.Address on table ADDRESSES
INFO  AnnotationBinder - Binding entity from annotated class:
com.bhl.store.db.CreditCard
INFO  EntityBinder - Bind entity com.bhl.store.db.CreditCard on table
CREDIT_CARDS
INFO  AnnotationBinder - Binding entity from annotated class:
com.bhl.store.db.CreditCardType
INFO  EntityBinder - Bind entity com.bhl.store.db.CreditCardType on table
CREDIT_CARD_TYPES
INFO  AnnotationBinder - Binding entity from annotated class:
com.bhl.store.db.Inventory
INFO  EntityBinder - Bind entity com.bhl.store.db.Inventory on table
INVENTORIES
INFO  AnnotationBinder - Binding entity from annotated class:
com.bhl.store.db.Order
INFO  EntityBinder - Bind entity com.bhl.store.db.Order on table ORDERS
INFO  AnnotationBinder - Binding entity from annotated class:
com.bhl.store.db.OrderItem
INFO  EntityBinder - Bind entity com.bhl.store.db.OrderItem on table
ORDER_ITEMS
INFO  AnnotationBinder - Binding entity from annotated class:
com.bhl.store.db.OrderFormCode
INFO  EntityBinder - Bind entity com.bhl.store.db.OrderFormCode on table
ORDER_FORM_CODES
INFO  AnnotationBinder - Binding entity from annotated class:
com.bhl.store.db.Organization
INFO  EntityBinder - Bind entity com.bhl.store.db.Organization on table
ORGANIZATIONS
INFO  AnnotationBinder - Binding entity from annotated class:
com.bhl.store.db.PaymentType
INFO  EntityBinder - Bind entity com.bhl.store.db.PaymentType on table
PAYMENT_TYPES
INFO  AnnotationBinder - Binding entity from annotated class:
com.bhl.store.db.StoreItem
INFO  EntityBinder - Bind entity com.bhl.store.db.StoreItem on table
STORE_ITEMS
INFO  Version - Hibernate Validator 3.0.0.GA
INFO  NamingHelper - JNDI InitialContext properties:{}
INFO  DatasourceConnectionProvider - Using datasource:
java:comp/env/jdbc/OracleWellness
WARN  SettingsFactory - Could not obtain connection metadata
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of
class '' for connect URL 'null'
        at
org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1150)
        at
org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
        at
org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:69)
        at
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:84)
        at
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009)
        at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)
        at
org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:915)
        at
com.bhl.store.persistence.HibernateUtil.init(HibernateUtil.java:22)
        at
com.bhl.store.persistence.HibernateUtil.getSessionFactory(HibernateUtil.java:44)
        at
com.bhl.store.persistence.HibernateSessionRequestFilter.init(HibernateSessionRequestFilter.java:73)
        at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
        at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
        at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
        at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3696)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4343)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
        at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
        at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
        at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:516)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
        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:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.sql.SQLException: No suitable driver
        at java.sql.DriverManager.getDriver(DriverManager.java:243)
        at
org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1143)
        ... 36 more
INFO  Dialect - Using dialect: org.hibernate.dialect.Oracle10gDialect
INFO  TransactionFactoryFactory - Using default transaction strategy (direct
JDBC transactions)
INFO  TransactionManagerLookupFactory - No TransactionManagerLookup
configured (in JTA environment, use of read-write or transactional secon
d-level cache is not recommended)
INFO  SettingsFactory - Automatic flush during beforeCompletion(): disabled
INFO  SettingsFactory - Automatic session close at end of transaction:
disabled
INFO  SettingsFactory - Scrollable result sets: disabled
INFO  SettingsFactory - JDBC3 getGeneratedKeys(): disabled
INFO  SettingsFactory - Connection release mode: auto
INFO  SettingsFactory - Default batch fetch size: 1
INFO  SettingsFactory - Generate SQL with comments: disabled
INFO  SettingsFactory - Order SQL updates by primary key: disabled
INFO  SettingsFactory - Order SQL inserts for batching: disabled
INFO  SettingsFactory - Query translator:
org.hibernate.hql.ast.ASTQueryTranslatorFactory
INFO  ASTQueryTranslatorFactory - Using ASTQueryTranslatorFactory
INFO  SettingsFactory - Query language substitutions: {}
INFO  SettingsFactory - JPA-QL strict compliance: disabled
INFO  SettingsFactory - Second-level cache: enabled
INFO  SettingsFactory - Query cache: disabled
INFO  SettingsFactory - Cache provider: org.hibernate.cache.NoCacheProvider
INFO  SettingsFactory - Optimize cache for minimal puts: disabled
INFO  SettingsFactory - Structured second-level cache entries: disabled
INFO  SettingsFactory - Echoing all SQL to stdout
INFO  SettingsFactory - Statistics: disabled
INFO  SettingsFactory - Deleted entity synthetic identifier rollback:
disabled
INFO  SettingsFactory - Default entity-mode: pojo
INFO  SettingsFactory - Named query checking : enabled
INFO  SessionFactoryImpl - building session factory
INFO  SessionFactoryObjectFactory - Not binding factory to JNDI, no JNDI
name configured
WARN  Digester - [ConverterRule]{faces-config/converter}
Merge(null,java.math.BigDecimal)
WARN  Digester - [ConverterRule]{faces-config/converter}
Merge(null,java.math.BigInteger)
WARN  Digester - [ConverterRule]{faces-config/converter}
Merge(null,java.math.BigDecimal)
WARN  Digester - [ConverterRule]{faces-config/converter}
Merge(null,java.math.BigInteger)
Oct 8, 2007 2:58:09 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Oct 8, 2007 2:58:09 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Oct 8, 2007 2:58:09 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/31  config=null
Oct 8, 2007 2:58:09 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 6535 ms


Filip Hanik - Dev Lists wrote:
> 
> got it,
> 
> you could turn on debugging for DBCP and JNDI, by adding
> 
> org.apache.naming.level=FINE
> org.apache.tomcat.dbcp.level=FINE
> 
> to the bottom of your TC_HOME/conf/logging.properties
> 
> that might give you a clue, somehow your entered JNDI names don't match 
> with what Tomcat think it has bound the datasource too.
> 
> Filip
> 
> 

-- 
View this message in context: http://www.nabble.com/Tomcat-5.5.25--%3E-6.0.14-upgrade-problem-tf4525323.html#a13105999
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message