|
楼主 |
发表于 2007-3-19 16:45:07
|
显示全部楼层
java:comp/env/jdbc/DefaultDS java: c o m p
java:comp是java: c o m p
Post by hiyachen
请教高手:
2007/03/19 16:31:10 com.opensymphony.user.provider.jdbc.BaseJDBCProvider init
致命的: Could not look up DataSource using JNDI location: java:comp/env/jdbc/DefaultDS
javax.naming.NameNotFoundException: 名前 java:comp はこのコンテキストにバインドされていません
at org.apache.naming.NamingContext.lookup(NamingContext.java:768)
at org.apache.naming.NamingContext.lookup(NamingContext.java:138)
at org.apache.naming.NamingContext.lookup(NamingContext.java:779)
at org.apache.naming.NamingContext.lookup(NamingContext.java:138)
at org.apache.naming.NamingContext.lookup(NamingContext.java:779)
at org.apache.naming.NamingContext.lookup(NamingContext.java:151)
at org.apache.naming.SelectorContext.lookup(SelectorContext.java:136)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.opensymphony.user.provider.jdbc.BaseJDBCProvider.lookup(BaseJDBCProvider.java:97)
at com.opensymphony.user.provider.jdbc.BaseJDBCProvider.init(BaseJDBCProvider.java:74)
at com.opensymphony.user.util.ConfigLoader.addProvider(ConfigLoader.java:113)
at com.opensymphony.user.util.ConfigLoader.access$100(ConfigLoader.java:39)
at com.opensymphony.user.util.ConfigLoader$ConfigHandler.endElement(ConfigLoader.java:144)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) |
|