Now i m using hibernate .
we found this exception :
===============================================================================
.
JBoss Bootstrap Environment
.
JBOSS_HOME: C:\jboss-4.0.4RC1\bin\\..
.
JAVA: C:\Program Files\Java\jdk1.5.0_05\bin\java
.
JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
.
CLASSPATH: C:\Program Files\Java\jdk1.5.0_05\lib\tools.jar;C:\jboss-4.0.4RC1\bin\\run.jar;C:\jboss-4.0.4RC1\bin\\..\server\def
.
===============================================================================
.
11:17:35,873 INFO [Server] Starting JBoss (MX MicroKernel)...
11:17:35,873 INFO [Server] Release ID: JBoss [Zion] 4.0.4RC1 (build: CVSTag=JBoss_4_0_4_RC1 date=200602071519)
11:17:35,888 INFO [Server] Home Dir: C:\jboss-4.0.4RC1
11:17:35,888 INFO [Server] Home URL: file:/C:/jboss-4.0.4RC1/
11:17:35,888 INFO [Server] Patch URL: null
11:17:35,888 INFO [Server] Server Name: default
11:17:35,888 INFO [Server] Server Home Dir: C:\jboss-4.0.4RC1\server\default
11:17:35,888 INFO [Server] Server Home URL: file:/C:/jboss-4.0.4RC1/server/default/
11:17:35,888 INFO [Server] Server Temp Dir: C:\jboss-4.0.4RC1\server\default\tmp
11:17:35,888 INFO [Server] Root Deployment Filename: jboss-service.xml
11:17:36,513 INFO [ServerInfo] Java version: 1.5.0_05,Sun Microsystems Inc.
11:17:36,513 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_05-b05,Sun Microsystems Inc.
11:17:36,513 INFO [ServerInfo] OS-System: Windows 2000 5.0,x86
11:17:37,248 INFO [Server] Core system initialized
11:17:42,591 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
11:17:47,871 INFO [WebService] Using RMI server codebase:
http://dheerajdhiman:8083/
11:17:48,121 WARN [EJBTimerServiceImpl] Cannot obtain TransactionManager from JNDI, using TxManager.getInstance(): javax.naming
11:17:51,308 INFO [MailService] Mail Service bound to java:/Mail
11:17:51,746 INFO [NamingService] Started jndi bootstrap jnpPort=2099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client S
11:17:52,574 INFO [HibernateServiceMBean] starting service at JNDI name: HibernateFactory
11:17:52,574 INFO [HibernateServiceMBean] service properties: {hibernate.session_factory_name=HibernateFactory, hibernate.trans
11:17:52,652 INFO [Environment] Hibernate 3.1.2
11:17:52,668 INFO [Environment] hibernate.properties not found
11:17:52,683 INFO [Environment] using CGLIB reflection optimizer
11:17:52,683 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling
11:17:52,980 INFO [NamingHelper] JNDI InitialContext properties:{}
11:17:52,996 FATAL [DatasourceConnectionProvider] Could not find datasource: java:/jdbc/sqlserver
javax.naming.NameNotFoundException: jdbc not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:366)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1881)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1174)
at org.hibernate.jmx.HibernateService.buildSessionFactory(HibernateService.java:64)
at org.hibernate.jmx.HibernateService.start(HibernateService.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:991)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:334)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:522)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:207)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:280)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:974)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:477)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:357)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:464)
at java.lang.Thread.run(Thread.java:595)
11:17:53,230 INFO [HibernateServiceMBean] Could not build SessionFactory using the MBean classpath - will try again using clien
11:17:53,277 INFO [SessionFactoryObjectFactory] Factory name: HibernateFactory
11:17:53,277 INFO [NamingHelper] JNDI InitialContext properties:{}
11:17:53,277 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name: HibernateFactory
11:17:53,277 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext
11:17:54,246 INFO [Embedded] Catalina naming disabled
11:17:54,933 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-10000
11:17:54,933 INFO [Catalina] Initialization processed in 578 ms
11:17:54,933 INFO [StandardService] Starting service jboss.web
11:17:54,949 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.12
11:17:55,058 INFO [StandardHost] XML validation disabled
11:17:55,105 INFO [Catalina] Server startup in 172 ms
11:17:55,339 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
11:17:56,073 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
11:17:56,495 INFO [[/invoker]] JMXInvokerServlet: init
11:17:56,542 INFO [[/invoker]] default: init
11:17:56,542 INFO [[/invoker]] EJBInvokerServlet: init
11:17:56,558 INFO [[/invoker]] ReadOnlyJNDIFactory: init
11:17:56,558 INFO [[/invoker]] JNDIFactory: init
11:17:56,573 INFO [[/invoker]] jsp: init
11:17:56,964 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=.../tmp/deploy/tmp51926jboss-ws4ee-exp.war/
11:17:57,151 INFO [[/ws4ee]] default: init
11:17:57,151 INFO [[/ws4ee]] jsp: init
11:17:57,230 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
11:17:57,386 INFO [[/]] default: init
11:17:57,386 INFO [[/]] jsp: init
11:17:57,495 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war
11:17:57,667 INFO [[/jbossmq-httpil]] default: init
11:17:57,667 INFO [[/jbossmq-httpil]] jsp: init
11:17:57,761 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
11:17:57,964 INFO [[/web-console]] HTTP Invocation: init
11:17:57,964 INFO [[/web-console]] Clear Monitor Alerts: init
11:17:57,980 INFO [[/web-console]] MonitorsFolder: init
11:17:57,995 INFO [[/web-console]] UCLs: init
11:17:58,026 INFO [[/web-console]] Acknowledge Active Alarms: init
11:17:58,042 INFO [[/web-console]] Manage String Threshold Monitor: init
11:17:58,058 INFO [[/web-console]] Create String Threshold Monitor: init
11:17:58,058 INFO [[/web-console]] default: init
11:17:58,058 INFO [[/web-console]] JMS Message: init
11:17:58,089 INFO [[/web-console]] JSR77 WebModule: init
11:17:58,089 INFO [[/web-console]] J2EEFolder: init
11:17:58,495 INFO [[/web-console]] AOPFolder: init
11:17:58,511 INFO [[/web-console]] SystemFolder: init
11:17:58,604 INFO [[/web-console]] Create Threshold Monitor: init
11:17:58,604 INFO [[/web-console]] Manage Threshold Monitor: init
11:17:58,636 INFO [[/web-console]] Manage Snapshot: init
11:17:58,636 INFO [[/web-console]] MBeans: init
11:17:58,636 INFO [[/web-console]] JSR77 Domains and Servers: init
11:17:58,651 INFO [[/web-console]] JSR77 EJBModules and EJBs: init
11:17:58,667 INFO [[/web-console]] JSR77 J2EE Apps: init
11:17:58,698 INFO [[/web-console]] Create Snapshot: init
11:17:58,698 INFO [[/web-console]] jsp: init
11:17:59,714 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
11:17:59,807 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
11:17:59,870 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
11:17:59,979 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
11:18:00,073 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
11:18:01,448 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/kodo.rar
11:18:01,542 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
11:18:02,026 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name= jdbc/sql
11:18:03,244 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS
11:18:03,823 INFO [A] Bound to JNDI name: queue/A
11:18:03,823 INFO
Bound to JNDI name: queue/B
11:18:03,823 INFO [C] Bound to JNDI name: queue/C
11:18:03,838 INFO [D] Bound to JNDI name: queue/D
11:18:03,838 INFO [ex] Bound to JNDI name: queue/ex
11:18:03,869 INFO [testTopic] Bound to JNDI name: topic/testTopic
11:18:03,885 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
11:18:03,885 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
11:18:03,885 INFO [testQueue] Bound to JNDI name: queue/testQueue
11:18:03,994 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
11:18:04,104 INFO [DLQ] Bound to JNDI name: queue/DLQ
11:18:04,416 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=Jm
11:18:05,947 INFO [EjbModule] Deploying BlossomsCore
11:18:06,104 INFO [EjbModule] Deploying BlossomsLogistics
11:18:06,338 INFO [ProxyFactory] Bound EJB Home 'BlossomsCore' to jndi 'BlossomsCore'
11:18:06,385 INFO [ProxyFactory] Bound EJB Home 'BlossomsLogistics' to jndi 'BlossomsLogistics'
11:18:06,385 INFO [EJBDeployer] Deployed: file:/C:/jboss-4.0.4RC1/server/default/deploy/BlossomsTest.jar
11:18:07,260 INFO [EjbModule] Deploying RemoteDataBroker
11:18:07,275 INFO [EjbModule] Deploying SystemLogin
11:18:07,369 INFO [ProxyFactory] Bound EJB Home 'RemoteDataBroker' to jndi 'RemoteDataBroker'
11:18:07,385 INFO [ProxyFactory] Bound EJB Home 'SystemLogin' to jndi 'SystemLogin'
11:18:07,385 INFO [EJBDeployer] Deployed: file:/C:/jboss-4.0.4RC1/server/default/deploy/RemoteDataBroker.jar
11:18:07,463 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
11:18:07,650 INFO [[/jmx-console]] default: init
11:18:07,650 INFO [[/jmx-console]] jsp: init
11:18:07,650 INFO [[/jmx-console]] ClusterView: init
11:18:07,666 INFO [[/jmx-console]] DisplayOpResult: init
11:18:07,666 INFO [[/jmx-console]] InspectMBean: init
11:18:07,666 INFO [[/jmx-console]] DisplayMBeans: init
11:18:07,853 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-10000
11:18:08,103 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
11:18:08,119 INFO [JkMain] Jk running ID=0 time=0/94 config=null
11:18:08,135 INFO [Server] JBoss (MX MicroKernel) [4.0.4RC1 (build: CVSTag=JBoss_4_0_4_RC1 date=200602071519)] Started in 32s:2
11:19:01,175 INFO [STDOUT] Static block called
11:19:01,175 INFO [STDOUT] Debugger.D.init >> Path to get default file is C:\Documents and Settings\dheeraj.dhiman\De
11:19:04,050 INFO [STDOUT]
Thread - Thread[RMI TCP Connection(3)-169.254.182.26,5,RMI Runtime] Server Call 0> - No of Requests: 1
Req[0] - Module: BlossomsCore, method: deleteObjectById(java.lang.Object, java.lang.String, com_daffodil_blossoms.integr
11:19:04,409 ERROR [LogInterceptor] EJBException in method: public abstract com_daffodil_blossomscore.module.BlossomsCoreFacade
java.lang.RuntimeException: Exception while getting PersistenceManagerFactory.
at com_daffodil_blossoms.modules.ServiceLocator.getPersistenceManagerFactory(ServiceLocator.java:83)
at com_daffodil_blossoms.modules.DefaultModule.getPersistenceManagerFactory(DefaultModule.java:1417)
at com_daffodil_blossoms.modules.DefaultModule.registerObjectGroup(DefaultModule.java:189)
at com_daffodil_blossoms.modules.DefaultModule.registerObjectGroup(DefaultModule.java:185)
at com_daffodil_blossomscore.module.BlossomsCoreModule.populateDOHelperAndDOTypes(BlossomsCoreModule.java:37)
at com_daffodil_blossoms.modules.DefaultModule.<init>(DefaultModule.java:159)
at com_daffodil_blossomscore.module.BlossomsCoreModule.<init>(BlossomsCoreModule.java:33)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at org.jboss.ejb.Container.createBeanClassInstance(Container.java:599)
at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:183)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:95)
at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:105)
at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:56)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:125)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:161)
at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:145)
at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:135)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:632)
at org.jboss.ejb.Container.invoke(Container.java:938)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
at org.jboss.invocation.InvokerInterceptor.invokeLocalMarshalled(InvokerInterceptor.java:299)
at org.jboss.invocation.MarshallingInvokerInterceptor.invoke(MarshallingInvokerInterceptor.java:61)
at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:184)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
at $Proxy66.create(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com_daffodil_commons.BeansUtilities.invokeMethod(BeansUtilities.java:323)
at com_daffodil_commons.BeansUtilities.invokeMethod(BeansUtilities.java:301)
at com_daffodil_commons.BeansUtilities.invokeMethod(BeansUtilities.java:270)
at com_daffodil_blossoms.queuerequestprocessor.RemoteDataBrokerImpl.executeRequest(RemoteDataBrokerImpl.java:402)
at com_daffodil_blossoms.queuerequestprocessor.RemoteDataBrokerImpl.executeRequests(RemoteDataBrokerImpl.java:282)
at com_daffodil_blossoms.queuerequestprocessor.RemoteDataBrokerImpl.executeRequests(RemoteDataBrokerImpl.java:343)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:228)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:71)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:378)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:206)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:643)
at org.jboss.ejb.Container.invoke(Container.java:917)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:819)
at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:420)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.RuntimeException: javax.naming.NameNotFoundException: HibernateFactory not bound
at com_daffodil_blossoms.modules.ServiceLocator.lookUpPersistenceManagerFactory(ServiceLocator.java:60)
at com_daffodil_blossoms.modules.ServiceLocator.getPersistenceManagerFactory(ServiceLocator.java:79)
... 93 more
Caused by: javax.naming.NameNotFoundException: HibernateFactory not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
[b]My hibernate-service.xml file shown as :
<?xml version="1.0" encoding="UTF-8"?>
<server>
<mbean code="org.hibernate.jmx.HibernateService" name="jboss.jca:service=SessionFactoryObjectFactory,name=HibernateFactory">
<depends>jboss.jca:service=RARDeployer</depends>
<!--depends>jboss.jca:service=LocalTxCM,name=jdbc/sqlserver</depends-->
<attribute name="JndiName">HibernateFactory</attribute>
<attribute name="Datasource">java:/jdbc/sqlserver</attribute>
<attribute name="Dialect">org.hibernate.dialect.SQLServerDialect</attribute>
<attribute name="TransactionStrategy">org.hibernate.transaction.JTATransactionFactory</attribute>
<attribute name="TransactionManagerLookupStrategy">org.hibernate.transaction.JBossTransactionManagerLookup</attribute>
</mbean>
</server>
Pls give the solution of this problem .
& what i m doing wrong .
Thks.