You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "anvk (Created) (JIRA)" <ji...@apache.org> on 2011/10/26 17:31:32 UTC
[jira] [Created] (CONFIGURATION-469)
org.apache.commons.configuration.ConfigurationRuntimeException: Bean class
is not specified!
org.apache.commons.configuration.ConfigurationRuntimeException: Bean class is not specified!
--------------------------------------------------------------------------------------------
Key: CONFIGURATION-469
URL: https://issues.apache.org/jira/browse/CONFIGURATION-469
Project: Commons Configuration
Issue Type: Bug
Reporter: anvk
I am getting the following error when I use commons configuration under jboss. Standalone application is working fne.
Caused by: org.apache.commons.configuration.ConfigurationRuntimeException: org.apache.commons.configuration.ConfigurationRuntimeException: org.apache.commons.configuration.ConfigurationRuntimeException: Bean class is not specified!
11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:250)
11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:267)
11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:281)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CONFIGURATION-469)
ConfigurationRuntimeException: Bean class is not specified!
Posted by "Emmanuel Bourg (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CONFIGURATION-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13136048#comment-13136048 ]
Emmanuel Bourg commented on CONFIGURATION-469:
----------------------------------------------
Could you tell us how the configuration is created? What version of Commons Configuration are you using?
> ConfigurationRuntimeException: Bean class is not specified!
> -----------------------------------------------------------
>
> Key: CONFIGURATION-469
> URL: https://issues.apache.org/jira/browse/CONFIGURATION-469
> Project: Commons Configuration
> Issue Type: Bug
> Reporter: anvk
>
> I am getting the following error when I use commons configuration under JBoss. Standalone application is working fine.
> {code}
> Caused by: org.apache.commons.configuration.ConfigurationRuntimeException: org.apache.commons.configuration.ConfigurationRuntimeException: org.apache.commons.configuration.ConfigurationRuntimeException: Bean class is not specified!
> 11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:250)
> 11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:267)
> 11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:281)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CONFIGURATION-469)
ConfigurationRuntimeException: Bean class is not specified!
Posted by "Oliver Heger (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CONFIGURATION-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143529#comment-13143529 ]
Oliver Heger commented on CONFIGURATION-469:
--------------------------------------------
Glad to hear that the problem seems to be solved. Can this ticket now be closed?
> ConfigurationRuntimeException: Bean class is not specified!
> -----------------------------------------------------------
>
> Key: CONFIGURATION-469
> URL: https://issues.apache.org/jira/browse/CONFIGURATION-469
> Project: Commons Configuration
> Issue Type: Bug
> Reporter: anvk
>
> I am getting the following error when I use commons configuration under JBoss. Standalone application is working fine.
> {code}
> Caused by: org.apache.commons.configuration.ConfigurationRuntimeException: org.apache.commons.configuration.ConfigurationRuntimeException: org.apache.commons.configuration.ConfigurationRuntimeException: Bean class is not specified!
> 11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:250)
> 11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:267)
> 11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:281)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CONFIGURATION-469)
ConfigurationRuntimeException: Bean class is not specified!
Posted by "anvk (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CONFIGURATION-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13140238#comment-13140238 ]
anvk commented on CONFIGURATION-469:
------------------------------------
This looks like jar files issue under jboss.. When I added the required libraries it started working.. Thanks!
> ConfigurationRuntimeException: Bean class is not specified!
> -----------------------------------------------------------
>
> Key: CONFIGURATION-469
> URL: https://issues.apache.org/jira/browse/CONFIGURATION-469
> Project: Commons Configuration
> Issue Type: Bug
> Reporter: anvk
>
> I am getting the following error when I use commons configuration under JBoss. Standalone application is working fine.
> {code}
> Caused by: org.apache.commons.configuration.ConfigurationRuntimeException: org.apache.commons.configuration.ConfigurationRuntimeException: org.apache.commons.configuration.ConfigurationRuntimeException: Bean class is not specified!
> 11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:250)
> 11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:267)
> 11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:281)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CONFIGURATION-469)
ConfigurationRuntimeException: Bean class is not specified!
Posted by "anvk (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CONFIGURATION-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13136064#comment-13136064 ]
anvk commented on CONFIGURATION-469:
------------------------------------
I am using commons-configuration-1.7. This is what I am doing in my code.
XMLConfiguration config = new XMLConfiguration(fileLocation);
BeanDeclaration beanDeclaration = new XMLBeanDeclaration(config, "name");
BeanHelper.createBean(beanDeclaration);
> ConfigurationRuntimeException: Bean class is not specified!
> -----------------------------------------------------------
>
> Key: CONFIGURATION-469
> URL: https://issues.apache.org/jira/browse/CONFIGURATION-469
> Project: Commons Configuration
> Issue Type: Bug
> Reporter: anvk
>
> I am getting the following error when I use commons configuration under JBoss. Standalone application is working fine.
> {code}
> Caused by: org.apache.commons.configuration.ConfigurationRuntimeException: org.apache.commons.configuration.ConfigurationRuntimeException: org.apache.commons.configuration.ConfigurationRuntimeException: Bean class is not specified!
> 11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:250)
> 11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:267)
> 11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:281)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CONFIGURATION-469)
ConfigurationRuntimeException: Bean class is not specified!
Posted by "Emmanuel Bourg (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CONFIGURATION-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13136903#comment-13136903 ]
Emmanuel Bourg commented on CONFIGURATION-469:
----------------------------------------------
And what's the content of the XML file?
> ConfigurationRuntimeException: Bean class is not specified!
> -----------------------------------------------------------
>
> Key: CONFIGURATION-469
> URL: https://issues.apache.org/jira/browse/CONFIGURATION-469
> Project: Commons Configuration
> Issue Type: Bug
> Reporter: anvk
>
> I am getting the following error when I use commons configuration under JBoss. Standalone application is working fine.
> {code}
> Caused by: org.apache.commons.configuration.ConfigurationRuntimeException: org.apache.commons.configuration.ConfigurationRuntimeException: org.apache.commons.configuration.ConfigurationRuntimeException: Bean class is not specified!
> 11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:250)
> 11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:267)
> 11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:281)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CONFIGURATION-469) ConfigurationRuntimeException:
Bean class is not specified!
Posted by "Emmanuel Bourg (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CONFIGURATION-469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Bourg updated CONFIGURATION-469:
-----------------------------------------
Description:
I am getting the following error when I use commons configuration under JBoss. Standalone application is working fine.
{code}
Caused by: org.apache.commons.configuration.ConfigurationRuntimeException: org.apache.commons.configuration.ConfigurationRuntimeException: org.apache.commons.configuration.ConfigurationRuntimeException: Bean class is not specified!
11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:250)
11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:267)
11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:281)
{code}
was:
I am getting the following error when I use commons configuration under jboss. Standalone application is working fne.
Caused by: org.apache.commons.configuration.ConfigurationRuntimeException: org.apache.commons.configuration.ConfigurationRuntimeException: org.apache.commons.configuration.ConfigurationRuntimeException: Bean class is not specified!
11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:250)
11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:267)
11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:281)
Summary: ConfigurationRuntimeException: Bean class is not specified! (was: org.apache.commons.configuration.ConfigurationRuntimeException: Bean class is not specified!)
> ConfigurationRuntimeException: Bean class is not specified!
> -----------------------------------------------------------
>
> Key: CONFIGURATION-469
> URL: https://issues.apache.org/jira/browse/CONFIGURATION-469
> Project: Commons Configuration
> Issue Type: Bug
> Reporter: anvk
>
> I am getting the following error when I use commons configuration under JBoss. Standalone application is working fine.
> {code}
> Caused by: org.apache.commons.configuration.ConfigurationRuntimeException: org.apache.commons.configuration.ConfigurationRuntimeException: org.apache.commons.configuration.ConfigurationRuntimeException: Bean class is not specified!
> 11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:250)
> 11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:267)
> 11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:281)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CONFIGURATION-469)
ConfigurationRuntimeException: Bean class is not specified!
Posted by "Oliver Heger (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CONFIGURATION-469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oliver Heger resolved CONFIGURATION-469.
----------------------------------------
Resolution: Not A Problem
Fix Version/s: 1.8
Got no more feedback, so assuming the problem is solved.
> ConfigurationRuntimeException: Bean class is not specified!
> -----------------------------------------------------------
>
> Key: CONFIGURATION-469
> URL: https://issues.apache.org/jira/browse/CONFIGURATION-469
> Project: Commons Configuration
> Issue Type: Bug
> Reporter: anvk
> Fix For: 1.8
>
>
> I am getting the following error when I use commons configuration under JBoss. Standalone application is working fine.
> {code}
> Caused by: org.apache.commons.configuration.ConfigurationRuntimeException: org.apache.commons.configuration.ConfigurationRuntimeException: org.apache.commons.configuration.ConfigurationRuntimeException: Bean class is not specified!
> 11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:250)
> 11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:267)
> 11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:281)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CONFIGURATION-469)
ConfigurationRuntimeException: Bean class is not specified!
Posted by "anvk (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CONFIGURATION-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13136979#comment-13136979 ]
anvk commented on CONFIGURATION-469:
------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<config>
<name config-class="com.example.Component" prop1="value1">
<components>
<component config-class="com.example.SubComponent" prop2="value2">
</component>
</components>
</name>
</config>
> ConfigurationRuntimeException: Bean class is not specified!
> -----------------------------------------------------------
>
> Key: CONFIGURATION-469
> URL: https://issues.apache.org/jira/browse/CONFIGURATION-469
> Project: Commons Configuration
> Issue Type: Bug
> Reporter: anvk
>
> I am getting the following error when I use commons configuration under JBoss. Standalone application is working fine.
> {code}
> Caused by: org.apache.commons.configuration.ConfigurationRuntimeException: org.apache.commons.configuration.ConfigurationRuntimeException: org.apache.commons.configuration.ConfigurationRuntimeException: Bean class is not specified!
> 11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:250)
> 11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:267)
> 11:18:51,642 ERROR [STDERR] at org.apache.commons.configuration.beanutils.BeanHelper.createBean(BeanHelper.java:281)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira