JiveJdon Community Forums
在线200人   首页   主题总表   培训咨询   精华   查搜   注册    登陆
首页 » 论坛 » J2EE/JavaEE/JEE/EJB/JSF等技术讨论
???en_US.forumThreadPrev.name??? 上一主题
  Go back to the topic 返回本主题   Go back to the topic listing返回主题列表
???en_US.forumThreadNext.name??? 下一主题
Go 总共有 5 回复 / 1
 发表新帖子   回复该主题贴
thatway

悄悄话
发表文章: 22
注册时间: 2003年07月01日 11:58
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
thatway

悄悄话
发表文章: 22
注册时间: 2003年07月01日 11:58
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文件不完整,不能用。
thatway

悄悄话
发表文章: 22
注册时间: 2003年07月01日 11:58
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)
thatway

悄悄话
发表文章: 22
注册时间: 2003年07月01日 11:58
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)
thatway

悄悄话
发表文章: 22
注册时间: 2003年07月01日 11:58
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'
thatway

悄悄话
发表文章: 22
注册时间: 2003年07月01日 11:58
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
这个主题有 5 回复 / 1Go
???en_US.forumThreadPrev.name??? 上一主题
  Go back to the topic 返回本主题   Go back to the topic listing返回主题列表    返回页首返回页首
???en_US.forumThreadNext.name??? 下一主题
热点TAG: AOP cache 缓存 DDD EJB 集群 设计模式 Hibernate IOC JiveJdon OO RBAC Seam Spring Struts
正在读取,请等待...
google yahoo 新浪ViVi 365Key网摘 天极网摘 CSDN网摘 添加到百度搜藏 POCO网摘 博采网摘
查询本论坛内 回复超过的热门帖子
     回复该主题贴
标题
 
粗体 斜体 下划线 插入图片 插入代码 插入url链接 插入附件
内容
 

手机阅读 add to google add to yahoo
解惑之道在J道 ,打造中国最具影响力的的企业软件社区
OpenSource JIVEJDON v3.0 Powered by JdonFramework Code © 2002-08 jdon.com
anti spam