标题:EJB用jboss连接mysql启动出错
只看楼主
sjcawn
Rank: 2
等 级:论坛游民
帖 子:22
专家分:25
注 册:2010-5-23
结帖率:75%
 问题点数:0 回复次数:1 
EJB用jboss连接mysql启动出错
EJB用jboss连接mysql启动出错
09:41:16,438 DEBUG [BeanMetaDataICF] Failed to get property value for bean: org.jboss.beans.metadata.plugins.AbstractBeanMetaData, property: properties
java.lang.IllegalArgumentException: Property is not readable: propertyReplace for org.jboss.beans.metadata.plugins.AbstractPropertyMetaData
    at org.jboss.beans.info.plugins.DefaultPropertyInfo.get(DefaultPropertyInfo.java:131)
    at org.jboss.beans.info.plugins.BeanInfoUtil.getNestedTarget(BeanInfoUtil.java:78)
    at org.jboss.beans.info.plugins.BeanInfoUtil.get(BeanInfoUtil.java:142)
    at org.jboss.beans.info.plugins.AbstractBeanInfo.getProperty(AbstractBeanInfo.java:284)
    at org.jboss.metatype.plugins.values.DefaultMetaValueFactory.createCompositeValue(DefaultMetaValueFactory.java:471)
    at org.jboss.metatype.plugins.values.DefaultMetaValueFactory.internalCreate(DefaultMetaValueFactory.java:1023)
    at org.jboss.metatype.plugins.values.DefaultMetaValueFactory.createCollectionValue(DefaultMetaValueFactory.java:247)
    at org.jboss.metatype.plugins.values.DefaultMetaValueFactory.internalCreate(DefaultMetaValueFactory.java:1029)
    at org.jboss.metatype.plugins.values.DefaultMetaValueFactory.create(DefaultMetaValueFactory.java:542)
    at org.jboss.deployers.plugins.managed.BeanMetaDataICF.getValue(BeanMetaDataICF.java:165)
    at org.jboss.deployers.plugins.managed.BeanMetaDataICF.getValue(BeanMetaDataICF.java:48)
    at org.jboss.managed.plugins.factory.AbstractManagedObjectPopulator.populateValues(AbstractManagedObjectPopulator.java:201)
    at org.jboss.managed.plugins.factory.AbstractManagedObjectPopulator.populateManagedObject(AbstractManagedObjectPopulator.java:130)
    at org.jboss.managed.plugins.factory.AbstractManagedObjectFactory.initManagedObject(AbstractManagedObjectFactory.java:364)
    at org.jboss.managed.api.factory.ManagedObjectFactory.initManagedObject(ManagedObjectFactory.java:77)
    at org.jboss.system.server.profileservice.ProfileServiceBootstrap.initBootstrapMDs(ProfileServiceBootstrap.java:466)
    at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:199)
    at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
    at org.jboss.Main.boot(Main.java:209)
    at org.jboss.Main$1.run(Main.java:547)
    at java.lang.Thread.run(Thread.java:722)
mysql数据库是5.5版本的,驱动是mysql-connector-java-5.1.14-bin;
连接时mysql-ds.xml的配置没错,而且也放到jboss的deploy文件夹内,驱动放到上级目录的lib文件夹内,而且persistence.xml文件配置也没错,但是连接不上数据库,不懂错在哪
搜索更多相关主题的帖子: property Failed mysql 
2011-08-31 14:43
sjcawn
Rank: 2
等 级:论坛游民
帖 子:22
专家分:25
注 册:2010-5-23
得分:0 
哦,这个错误是那个配置文件里面的那个数据库的url出错了
2012-01-02 21:22



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-348790-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.016121 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved