Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > EJB
EJB Be sure to indicate the version you use.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the EJB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old August 13th, 2007, 11:20 AM
Registered User
Join Date: Aug 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Not binding factory to JNDI, no JNDI name configur

I am trying to create a simple J2EE application using stateless session beans, jsf, hibernate on JBoss server. Everything seems to be working fine, but the server output is not what I expect. In the output, there is a line indicating, "[SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured". I don't know as to why is the statement appearing. Here is the server output.
and it takes more than 3 minutes to load the login page itself.
c the server time details down.
that ".... no JNDI name configured" is printing after 2 minutes of its
previous line .
please suggest me y it takes so much time to print that .
how can i minimise the time .

20:50:57,296 INFO [NamingHelper] JNDI InitialContext properties:{}
20:50:57,312 INFO [DatasourceConnectionProvider] Using datasource: java:oraclePool
20:50:57,312 INFO [SettingsFactory] RDBMS: Oracle, version: Oracle Database 10g Enterprise Edition Release - 64bit Production
With the Partitioning, OLAP and Data Mining options
20:50:57,312 INFO [SettingsFactory] JDBC driver: Oracle JDBC driver, version:
20:50:57,421 INFO [Dialect] Using dialect: org.hibernate.dialect.OracleDialect
20:50:57,453 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.transaction.CMTTransactionFactory
20:50:57,468 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerL ookup
20:50:57,484 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
20:50:57,484 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
20:50:57,484 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
20:50:57,484 INFO [SettingsFactory] JDBC batch size: 15
20:50:57,484 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
20:50:57,484 INFO [SettingsFactory] Scrollable result sets: enabled
20:50:57,484 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
20:50:57,484 INFO [SettingsFactory] Connection release mode: auto
20:50:57,484 INFO [SettingsFactory] Default batch fetch size: 1
20:50:57,484 INFO [SettingsFactory] Generate SQL with comments: disabled
20:50:57,484 INFO [SettingsFactory] Order SQL updates by primary key: disabled
20:50:57,484 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
20:50:57,515 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
20:50:57,515 INFO [SettingsFactory] Query language substitutions: {}
20:50:57,515 INFO [SettingsFactory] Second-level cache: enabled
20:50:57,515 INFO [SettingsFactory] Query cache: disabled
20:50:57,515 INFO [SettingsFactory] Cache provider: org.hibernate.cache.EhCacheProvider
20:50:57,546 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
20:50:57,546 INFO [SettingsFactory] Structured second-level cache entries: disabled
20:50:57,578 INFO [SettingsFactory] Echoing all SQL to stdout
20:50:57,578 INFO [SettingsFactory] Statistics: disabled
20:50:57,578 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
20:50:57,578 INFO [SettingsFactory] Default entity-mode: pojo
20:50:57,687 INFO [SessionFactoryImpl] building session factory
20:50:57,718 WARN [Configurator] No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/C:/jboss-4.0.2/server/default/lib/ehcache-1.1.jar!/ehcache-failsafe.xml
20:52:44,968 INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured
20:52:44,968 INFO [NamingHelper] JNDI InitialContext properties:{}
20:52:45,000 INFO [STDOUT] sessionFactory::org.hibernate.impl.SessionFactoryI mpl@ddd794
20:52:45,000 INFO [STDOUT] session::null
20:52:46,500 INFO [STDOUT] Hibernate: select organizati0_.ID as col_0_0_ from ORGANIZATIONS organizati0_
20:52:46,531 INFO [STDOUT] AccessControlDAO.loadOrganizations()[-799, -8588, 78788, J2039173, J2039363]

Similar Threads
Thread Thread Starter Forum Replies Last Post
JBuilder/Tomcat/JNDI/JDBC DataSource cac07 BOOK: Professional Apache Tomcat 0 January 26th, 2006 12:28 PM
jndi tomcat anandp Apache Tomcat 1 July 13th, 2005 05:39 AM
JNDI problem nstickels BOOK: Expert One-on-One J2EE Design and Development 1 May 12th, 2004 01:03 PM
Tomcat JNDI DataSource issues mowoski Apache Tomcat 2 April 9th, 2004 12:10 PM
JNDI Error ofer_mizrahi J2EE 0 November 27th, 2003 08:37 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.