当我在Tomcat 6.0和Glassfish 3.0上部署相同的应用程序时它工作正常但在JBOSS服务器上我得到以下错误.请给出具体的解决方案.如何以编程方式删除jBoss的hibernate-validator.jar在xml文件中进行一些输入,因为我无法每次都从jBoss中删除该jar ....
堆栈跟踪 :
20:25:07,187 INFO [TomcatDeployment] deploy, ctxPath=/Taher
20:25:07,281 INFO [[/Taher]] Initializing Spring root WebApplicationContext
20:25:07,281 INFO [ContextLoader] Root WebApplicationContext: initialization started
20:25:07,328 INFO [XmlWebApplicationContext] Refreshing org.springframework.web.context.support.XmlWebApplicationContext@ed7df5: display name [Root WebApplicationContext]; startup date [Tue Nov 23 20:25:07 GMT+05:30 2010]; root of context hierarchy
20:25:07,390 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from ServletContext resource [/WEB-INF/ApplicationContext.xml]
20:25:07,734 INFO [XmlWebApplicationContext] Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@ed7df5]: org.springframework.beans.factory.support.DefaultListableBeanFactory@189ff76
20:25:07,781 INFO [DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@189ff76: defining beans [dataSource,sessionFactory,transactionManager,hibernateTemplate,hibernateInterceptor,TblActivityMasterDao]; root of factory …Run Code Online (Sandbox Code Playgroud) 可以在IOC容器中创建的对象可以被称为Singleton,如果是,为什么如果没有原因?
任何人都可以用简单的语言详细解释我IOC conatiner如何精确管理对象..