搭建TOMCAT+JPETSTORE出现的错误

ool.java:684)
        at java.lang.Thread.run(Thread.java:595)
2007-04-01 13:52:17,234 [http-8080-Processor20] DEBUG org.apache.struts.action.R
equestProcessor - processForwardConfig(ForwardConfig[name=null,path=/common/Erro
r.jsp,redirect=false,contextRelative=false,module=null])
2007-04-01 13:52:17,968 [http-8080-Processor20] DEBUG org.apache.struts.util.Mod
uleUtils - Get module name for path /shop/viewCategory.shtml
2007-04-01 13:52:17,968 [http-8080-Processor20] DEBUG org.apache.struts.util.Mod
uleUtils - Module name found: default
2007-04-01 13:52:17,968 [http-8080-Processor20] DEBUG org.apache.struts.action.R
equestProcessor - Processing a 'GET' for path '/shop/viewCategory'
2007-04-01 13:52:17,968 [http-8080-Processor20] DEBUG org.apache.struts.util.Req
uestUtils -  Looking for ActionForm bean instance in scope 'request' under attri
bute key 'productListForm'
2007-04-01 13:52:17,968 [http-8080-Processor20] DEBUG org.apache.struts.util.Req
uestUtils -  Creating new ActionForm instance of type 'com.jdon.strutsutil.Model
ListForm'
2007-04-01 13:52:17,968 [http-8080-Processor20] DEBUG org.apache.struts.util.Req
uestUtils -  --> com.jdon.strutsutil.ModelListForm@1ff2e1b
2007-04-01 13:52:17,968 [http-8080-Processor20] DEBUG org.apache.struts.action.R
equestProcessor -  Storing ActionForm bean instance in scope 'request' under att
ribute key 'productListForm'
2007-04-01 13:52:17,968 [http-8080-Processor20] DEBUG org.apache.struts.action.R
equestProcessor -  Populating bean properties from this request
2007-04-01 13:52:17,968 [http-8080-Processor20] DEBUG org.apache.struts.action.R
equestProcessor -  Looking for Action instance for class com.jdon.framework.samp
les.jpetstore.presentation.action.ProductListAction
2007-04-01 13:52:17,968 [http-8080-Processor20] DEBUG org.apache.struts.action.R
equestProcessor -   Returning existing Action instance
2007-04-01 13:52:17,984 [http-8080-Processor20] DEBUG com.jdon.bussinessproxy.co
nfig.TargetMetaDefXmlLoader - [JdonFramework]metaDefs size:12
2007-04-01 13:52:17,984 [http-8080-Processor20] DEBUG com.jdon.controller.servic
e.WebServiceFactory - [JdonFramework] getService was found in:productManager
2007-04-01 13:52:17,984 [http-8080-Processor20] DEBUG com.jdon.security.web.Http
RequestUserSetup - [JdonFramework] setArrtibute:REMOTE_ADDRESS=127.0.0.1
2007-04-01 13:52:17,984 [http-8080-Processor20] DEBUG com.jdon.container.access.
ServiceAccessorImp - [JdonFramework] enter getService: proxyInstanceFactoryVisit
able in action
2007-04-01 13:52:17,984 [http-8080-Processor20] DEBUG com.jdon.container.visitor
.HttpSessionProxyVisitor - [JdonFramework] get the optimized instance for the ke
y com.jdon.framework.samples.jpetstore.service.bo.ProductManagerImpproxyInstance
FactoryVisitable
2007-04-01 13:52:17,984 [http-8080-Processor20] DEBUG com.jdon.bussinessproxy.dy
ncproxy.DynamicProxyWeaving - [JdonFramework]call method:com.jdon.framework.samp
les.jpetstore.service.ProductManager.getProductIDsListByCategory
2007-04-01 13:52:17,984 [http-8080-Processor20] DEBUG com.jdon.aop.AopClient - [
JdonFramework] enter AOP invoker2 for:com.jdon.framework.samples.jpetstore.servi
ce.bo.ProductManagerImp method:getProductIDsListByCategory
2007-04-01 13:52:17,984 [http-8080-Processor20] DEBUG com.jdon.aop.joinpoint.Adv
isorChainFactory - [JdonFramework] enter  create PointcutAdvisor
2007-04-01 13:52:17,984 [http-8080-Processor20] DEBUG com.jdon.aop.joinpoint.Adv
isorChainFactory - [JdonFramework] find all service's interceptos size=1
2007-04-01 13:52:17,984 [http-8080-Processor20] DEBUG com.jdon.aop.joinpoint.Adv
isorChainFactory - [JdonFramework] find pojoService's interceptos size=4
2007-04-01 13:52:17,984 [http-8080-Processor20] DEBUG com.jdon.aop.reflection.Pr
oxyMethodInvocation - [JdonFramework] method.getName() :getProductIDsListByCateg
ory
2007-04-01 13:52:17,984 [http-8080-Processor20] DEBUG com.jdon.aop.AopClient - [
JdonFramework] MethodInvocation will proceed ...
2007-04-01 13:52:17,984 [http-8080-Processor20] DEBUG com.jdon.aop.interceptor.C
acheInterceptor - [JdonFramework]methodMatchsModelGET: returnClassName = com.jdo
n.controller.model.PageIterator
2007-04-01 13:52:17,984 [http-8080-Processor20] DEBUG com.jdon.aop.interceptor.P
oolInterceptor - [JdonFramework] enter PoolInterceptor
2007-04-01 13:52:17,984 [http-8080-Processor20] DEBUG com.jdon.aop.interceptor.P
oolInterceptor - [JdonFramework] borrow a object:com.jdon.framework.samples.jpet
store.service.bo.ProductManagerImp id:17427094 from pool
2007-04-01 13:52:17,984 [http-8080-Processor20] DEBUG com.jdon.aop.interceptor.P
oolInterceptor - [JdonFramework]pool state: active=1 free=0
2007-04-01 13:52:17,984 [http-8080-Processor20] DEBUG com.jdon.aop.reflection.Pr
oxyMethodInvocation - [JdonFramework] finish call all inteceptors
2007-04-01 13:52:17,984 [http-8080-Processor20] DEBUG com.jdon.aop.reflection.Pr
oxyMethodInvocation - [JdonFramework]enter method reflection
2007-04-01 13:52:17,984 [http-8080-Processor20] DEBUG com.jdon.aop.reflection.Pr
oxyMethodInvocation - [JdonFramework] target:com.jdon.framework.samples.jpetstor
e.service.bo.ProductManagerImp service's method:getProductIDsListByCategory runn
ing..
2007-04-01 13:52:17,984 [http-8080-Processor20] DEBUG com.jdon.aop.reflection.Pr
oxyMethodInvocation - [JdonFramework] it is pojo target service
2007-04-01 13:52:17,984 [http-8080-Processor20] DEBUG com.jdon.aop.reflection.Me
thodInvokerUtil - [JdonFramework] method invoke: com.jdon.framework.samples.jpet
store.service.bo.ProductManagerImp method=getProductIDsListByCategory
2007-04-01 13:52:17,984 [http-8080-Processor20] DEBUG com.jdon.framework.samples
.jpetstore.service.bo.ProductManagerImp -  getProductIDsListByCategory
2007-04-01 13:52:17,984 [http-8080-Processor20] ERROR com.jdon.framework.samples
.jpetstore.service.bo.ProductManagerImp -  Dao error : com.ibatis.dao.client.Dao
Exception: Error starting SQL Map transaction.  Cause: java.sql.SQLException: In
valid authorization specification,  message from server: "Access denied for user
 'banq'@'localhost' (using password: YES)"
Caused by: java.sql.SQLException: Invalid authorization specification,  message
from server: "Access denied for user 'banq'@'localhost' (using password: YES)"
2007-04-01 13:52:17,984 [http-8080-Processor20] DEBUG com.jdon.aop.reflection.Me
thodInvokerUtil - [JdonFramework] method invoke successfully
2007-04-01 13:52:17,984 [http-8080-Processor20] DEBUG com.jdon.aop.interceptor.P
oolInterceptor - [JdonFramework] realease a object:com.jdon.framework.samples.jp
etstore.service.bo.ProductManagerImp to pool
2007-04-01 13:52:17,984 [http-8080-Processor20] DEBUG com.jdon.bussinessproxy.dy
ncproxy.DynamicProxyWeaving - [JdonFramework]call method:getProductIDsListByCate
gory finish!
2007-04-01 13:52:17,984 [http-8080-Processor20] DEBUG org.apache.struts.action.E
xceptionHandler - ExceptionHandler caught this exception:
java.lang.Exception: getPageIterator's result is null, check your ModelListActio
n subclass
        at com.jdon.strutsutil.ModelListAction.execute(ModelListAction.java:67)
        at org.apache.struts.action.RequestProcessor.processActionPerform(Reques
tProcessor.java:421)
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:226)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:116
4)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
        at com.jdon.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodin
gFilter.java:92)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:214)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:825)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:738)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:526)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:80)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:684)
        at java.lang.Thread.run(Thread.java:595)
2007-04-01 13:52:17,984 [http-8080-Processor20] DEBUG org.apache.struts.action.R
equestProcessor - processForwardConfig(ForwardConfig[name=null,path=/common/Erro
r.jsp,redirect=false,contextRelative=false,module=null])
2007-04-01 13:52:18,531 [http-8080-Processor20] DEBUG org.apache.struts.util.Mod
uleUtils - Get module name for path /shop/viewCategory.shtml
2007-04-01 13:52:18,531 [http-8080-Processor20] DEBUG org.apache.struts.util.Mod
uleUtils - Module name found: default
2007-04-01 13:52:18,531 [http-8080-Processor20] DEBUG org.apache.struts.action.R
equestProcessor - Processing a 'GET' for path '/shop/viewCategory'
2007-04-01 13:52:18,531 [http-8080-Processor20] DEBUG org.apache.struts.util.Req
uestUtils -  Looking for ActionForm bean instance in scope 'request' under attri
bute key 'productListForm'
2007-04-01 13:52:18,531 [http-8080-Processor20] DEBUG org.apache.struts.util.Req
uestUtils -  Creating new ActionForm instance of type 'com.jdon.strutsutil.Model
ListForm'
2007-04-01 13:52:18,531 [http-8080-Processor20] DEBUG org.apache.struts.util.Req
uestUtils -  --> com.jdon.strutsutil.ModelListForm@2bfdff
2007-04-01 13:52:18,531 [http-8080-Processor20] DEBUG org.apache.struts.action.R
equestProcessor -  Storing ActionForm bean instance in scope 'request' under att
ribute key 'productListForm'
2007-04-01 13:52:18,531 [http-8080-Processor20] DEBUG org.apache.struts.action.R
equestProcessor -  Populating bean properties from this request
2007-04-01 13:52:18,531 [http-8080-Processor20] DEBUG org.apache.struts.action.R
equestProcessor -  Looking for Action instance for class com.jdon.framework.samp
les.jpetstore.presentation.action.ProductListAction
2007-04-01 13:52:18,531 [http-8080-Processor20] DEBUG org.apache.struts.action.R
equestProcessor -   Returning existing Action instance
2007-04-01 13:52:18,531 [http-8080-Processor20] DEBUG com.jdon.bussinessproxy.co
nfig.TargetMetaDefXmlLoader - [JdonFramework]metaDefs size:12
2007-04-01 13:52:18,531 [http-8080-Processor20] DEBUG com.jdon.controller.servic
e.WebServiceFactory - [JdonFramework] getService was found in:productManager
2007-04-01 13:52:18,531 [http-8080-Processor20] DEBUG com.jdon.security.web.Http
RequestUserSetup - [JdonFramework] setArrtibute:REMOTE_ADDRESS=127.0.0.1
2007-04-01 13:52:18,531 [http-8080-Processor20] DEBUG com.jdon.container.access.
ServiceAccessorImp - [JdonFramework] enter getService: proxyInstanceFactoryVisit
able in action
2007-04-01 13:52:18,531 [http-8080-Processor20] DEBUG com.jdon.container.visitor
.HttpSessionProxyVisitor - [JdonFramework] get the optimized instance for the ke
y com.jdon.framework.samples.jpetstore.service.bo.ProductManagerImpproxyInstance
FactoryVisitable
2007-04-01 13:52:18,531 [http-8080-Processor20] DEBUG com.jdon.bussinessproxy.dy
ncproxy.DynamicProxyWeaving - [JdonFramework]call method:com.jdon.framework.samp
les.jpetstore.service.ProductManager.getProductIDsListByCategory
2007-04-01 13:52:18,531 [http-8080-Processor20] DEBUG com.jdon.aop.AopClient - [
JdonFramework] enter AOP invoker2 for:com.jdon.framework.samples.jpetstore.servi
ce.bo.ProductManagerImp method:getProductIDsListByCategory
2007-04-01 13:52:18,531 [http-8080-Processor20] DEBUG com.jdon.aop.joinpoint.Adv
isorChainFactory - [JdonFramework] enter  create PointcutAdvisor
2007-04-01 13:52:18,531 [http-8080-Processor20] DEBUG com.jdon.aop.joinpoint.Adv
isorChainFactory - [JdonFramework] find all service's interceptos size=1
2007-04-01 13:52:18,531 [http-8080-Processor20] DEBUG com.jdon.aop.joinpoint.Adv
isorChainFactory - [JdonFramework] find pojoService's interceptos size=4
2007-04-01 13:52:18,531 [http-8080-Processor20] DEBUG com.jdon.aop.reflection.Pr
oxyMethodInvocation - [JdonFramework] method.getName() :getProductIDsListByCateg
ory
2007-04-01 13:52:18,531 [http-8080-Processor20] DEBUG com.jdon.aop.AopClient - [
JdonFramework] MethodInvocation will proceed ...
2007-04-01 13:52:18,531 [http-8080-Processor20] DEBUG com.jdon.aop.interceptor.C
acheInterceptor - [JdonFramework]methodMatchsModelGET: returnClassName = com.jdo
n.controller.model.PageIterator
2007-04-01 13:52:18,531 [http-8080-Processor20] DEBUG com.jdon.aop.interceptor.P
oolInterceptor - [JdonFramework] enter PoolInterceptor
2007-04-01 13:52:18,531 [http-8080-Processor20] DEBUG com.jdon.aop.interceptor.P
oolInterceptor - [JdonFramework] borrow a object:com.jdon.framework.samples.jpet
store.service.bo.ProductManagerImp id:17427094 from pool
2007-04-01 13:52:18,531 [http-8080-Processor20] DEBUG com.jdon.aop.interceptor.P
oolInterceptor - [JdonFramework]pool state: active=1 free=0
2007-04-01 13:52:18,531 [http-8080-Processor20] DEBUG com.jdon.aop.reflection.Pr
oxyMethodInvocation - [JdonFramework] finish call all inteceptors
2007-04-01 13:52:18,531 [http-8080-Processor20] DEBUG com.jdon.aop.reflection.Pr
oxyMethodInvocation - [JdonFramework]enter method reflection
2007-04-01 13:52:18,531 [http-8080-Processor20] DEBUG com.jdon.aop.reflection.Pr
oxyMethodInvocation - [JdonFramework] target:com.jdon.framework.samples.jpetstor
e.service.bo.ProductManagerImp service's method:getProductIDsListByCategory runn
ing..
2007-04-01 13:52:18,531 [http-8080-Processor20] DEBUG com.jdon.aop.reflection.Pr
oxyMethodInvocation - [JdonFramework] it is pojo target service
2007-04-01 13:52:18,531 [http-8080-Processor20] DEBUG com.jdon.aop.reflection.Me
thodInvokerUtil - [JdonFramework] method invoke: com.jdon.framework.samples.jpet
store.service.bo.ProductManagerImp method=getProductIDsListByCategory
2007-04-01 13:52:18,531 [http-8080-Processor20] DEBUG com.jdon.framework.samples
.jpetstore.service.bo.ProductManagerImp -  getProductIDsListByCategory
2007-04-01 13:52:18,546 [http-8080-Processor20] ERROR com.jdon.framework.samples
.jpetstore.service.bo.ProductManagerImp -  Dao error : com.ibatis.dao.client.Dao
Exception: Error starting SQL Map transaction.  Cause: java.sql.SQLException: In
valid authorization specification,  message from server: "Access denied for user
 'banq'@'localhost' (using password: YES)"
Caused by: java.sql.SQLException: Invalid authorization specification,  message
from server: "Access denied for user 'banq'@'localhost' (using password: YES)"
2007-04-01 13:52:18,546 [http-8080-Processor20] DEBUG com.jdon.aop.reflection.Me
thodInvokerUtil - [JdonFramework] method invoke successfully
2007-04-01 13:52:18,546 [http-8080-Processor20] DEBUG com.jdon.aop.interceptor.P
oolInterceptor - [JdonFramework] realease a object:com.jdon.framework.samples.jp
etstore.service.bo.ProductManagerImp to pool
2007-04-01 13:52:18,546 [http-8080-Processor20] DEBUG com.jdon.bussinessproxy.dy
ncproxy.DynamicProxyWeaving - [JdonFramework]call method:getProductIDsListByCate
gory finish!
2007-04-01 13:52:18,546 [http-8080-Processor20] DEBUG org.apache.struts.action.E
xceptionHandler - ExceptionHandler caught this exception:
java.lang.Exception: getPageIterator's result is null, check your ModelListActio
n subclass
        at com.jdon.strutsutil.ModelListAction.execute(ModelListAction.java:67)
        at org.apache.struts.action.RequestProcessor.processActionPerform(Reques
tProcessor.java:421)
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:226)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:116
4)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
        at com.jdon.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodin
gFilter.java:92)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:214)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:825)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:738)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:526)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:80)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:684)
        at java.lang.Thread.run(Thread.java:595)
2007-04-01 13:52:18,546 [http-8080-Processor20] DEBUG org.apache.struts.action.R
equestProcessor - processForwardConfig(ForwardConfig[name=null,path=/common/Erro
r.jsp,redirect=false,contextRelative=false,module=null])
2007-04-01 14:02:02,593 [ContainerBackgroundProcessor[StandardEngine[Catalina]]]
 DEBUG com.jdon.container.visitor.HttpSessionProxyVisitor - [JdonFramework] unva
lueBound active, sessionId :3523A004637D3D889596DC8076494139
2007-04-01 14:02:02,593 [ContainerBackgroundProcessor[StandardEngine[Catalina]]]
 DEBUG com.jdon.container.visitor.HttpSessionProxyVisitor - [JdonFramework] unva
lueUnbound active, componentsboxs size2

posted on 2007-04-01 14:15 金家寶 阅读(1013) 评论(1)  编辑  收藏 所属分类: 其他辅助基础

评论

# re: 搭建TOMCAT+JPETSTORE出现的错误[未登录] 2007-04-01 15:36 金家寶

修改:(路径以你的机器为准)
D:\Program Files\jakarta-tomcat-5.5.7\webapps\jpetstore\WEB-INF\classes\properties\database.properties

内容如下:(修改成和你机器匹配的MYSQL用户名和密码,当然还有JDBC驱动)

####################################



# Database Connectivity Properties



####################################







driver=org.gjt.mm.mysql.Driver



url=jdbc:mysql://localhost:3306/jpetstore



username=jpetstore



password=ibatis9977
  回复  更多评论   


只有注册用户登录后才能发表评论。


网站导航: