[jboss-dev-forums] [JBoss AS7 Development] - Exception while deploying to jbossweb-7.0.2.Final
Julian Prabhakar
do-not-reply at jboss.com
Wed Nov 9 02:54:07 EST 2011
Julian Prabhakar [http://community.jboss.org/people/julian.prabhakar] created the discussion
"Exception while deploying to jbossweb-7.0.2.Final"
To view the discussion, visit: http://community.jboss.org/message/635657#635657
--------------------------------------------------------------
We are getting this error during deployment -
FATAL [org.egov.infstr.utils.HibernateUtil] (http--127.0.0.1-8080-1) Error occurred in SessionFactory getSessionFactory: java.lang.UnsupportedOperationException: Naming context is read-only
at org.jboss.as.naming.NamingContext.createSubcontext(NamingContext.java:318) at org.hibernate.service.jndi.internal.JndiServiceImpl.bind(JndiServiceImpl.java:153) [hibernate-core-4.0.0.CR5.jar:] at org.hibernate.service.jndi.internal.JndiServiceImpl.bind(JndiServiceImpl.java:110) [hibernate-core-4.0.0.CR5.jar:] at org.hibernate.internal.SessionFactoryRegistry.addSessionFactory(SessionFactoryRegistry.java:79) [hibernate-core-4.0.0.CR5.jar:] at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:439) [hibernate-core-4.0.0.CR5.jar:] at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1726) [hibernate-core-4.0.0.CR5.jar:] at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1764) [hibernate-core-4.0.0.CR5.jar:]
Is this because of a JBoss issue? Pls help.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/635657#635657]
Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20111109/64ccd30c/attachment.html
More information about the jboss-dev-forums
mailing list