错误:
runqianReportLogger : [ERROR] - Name sem is not bound in this Context
javax.naming.NameNotFoundException: Name sem is not bound in this Context
原因:润乾数据源未配置
操作:
1>在tomcat的配置文件server.xml下<Context/>中配置
<Resource name="sem" auth="Container" type="javax.sql.DataSource"
maxActive="100" maxIdle="30" maxWait="10000"
username="dev_sem" password="dev_sem" driverClassName="oracle.jdbc.OracleDriver"
url="jdbc:oracle:thin:@192.168.100.30:1521:PCMDB"/>
2>清理tomcat缓存,重新构建工程