|
|
|
xPetStore醒置过程中出现找不到users.properties文件
|
2003年08月05日 15:37
|
|
|
标签列表
|
|
xPetStore醒置过程中出现找不到users.properties文件,请各位指教。
JBOSS的信息如下: 15:38:26,187 INFO [DatasourceConnectionProvider] Using datasource: java:/xpetstoreDS 15:38:26,187 INFO [SessionFactoryImpl] Use outer join fetching: false 15:38:26,250 ERROR [UsersRolesLoginModule] Failed to load users/passwords/role files java.io.IOException: Properties file users.properties not found
|
|
|
|
|
|
Re: xPetStore醒置过程中出现找不到users.properties文件
|
2003年08月05日 15:57
|
|
|
3.1.1、3.1和3.0都出现找不到META-INF/taglib.tld的现象,是什么原因呢?
另,3.1的lib是不全的,要用3.1.1的lib。 3.1.2的zip文件不完整,不能用。
|
|
|
|
|
|
Re: xPetStore醒置过程中出现找不到users.properties文件
|
2003年08月06日 11:20
|
|
|
Hibernate拿不到Connection。看来是认证没通过,但数据库、帐号、密码我都配置正确。真费解,不知漏了什么东西。
11:27:27,656 ERROR [Engine] ----- Root Cause ----- java.lang.SecurityException: Invalid authentication attempt, principal=null at org.jboss.resource.connectionmanager.BaseConnectionManager2.getSubject(BaseConnectionManager2.java:660) at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:487) at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:798) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:122) at cirrus.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:53) at cirrus.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:149) at cirrus.hibernate.impl.DatastoreImpl.buildSessionFactory(DatastoreImpl.java:403) at cirrus.hibernate.impl.DatastoreImpl.buildSessionFactory(DatastoreImpl.java:392) at xpetstore.web.servlet.ActionServlet.init(Unknown Source)
|
|
|
|
|
|
Re: xPetStore醒置过程中出现找不到users.properties文件
|
2003年08月06日 11:57
|
|
|
刚才是没有配置好JBOSS的权限。现在又有新发展了。
12:06:21,484 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null 12:06:21,484 ERROR [JDBCExceptionReporter] Apparently wrong driver class specified for URL: class: org.gjt.mm.mysql.Driver, url: jdbc:mysql://localhost:3306/xpetstore; - nested throwable: (org.jboss.resource.JBossResourceException: Apparently wrong driver class specified for URL: class: org.gjt.mm.mysql.Driver, url: jdbc:mysql://localhost:3306/xpetstore)
|
|
|
|
|
|
Re: xPetStore醒置过程中出现找不到users.properties文件
|
2003年08月06日 13:04
|
|
|
说都没人相信,搞掂了刚才的JDBC,又有问题。
VelocityServlet : Error processing the template org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource '/index.vm'
|
|
|
|
|
|
Re: xPetStore醒置过程中出现找不到users.properties文件
|
2003年08月06日 14:44
|
|
|
unzip ear file,unzip war file. rename the dir,look like this 'xxx.war'. pass!
but that's not a good idea. -_-b
|
|
|
|
热点TAG:
AOP
cache
缓存
DDD
EJB
集群
设计模式
Hibernate
IOC
JiveJdon
OO
RBAC
Seam
Spring
Struts
anti spam
|