Milan Prica
unread,Oct 3, 2012, 12:33:22 PM10/3/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to icat-de...@googlegroups.com
From server.log of my installation...
#|2012-10-03T17:15:14.202+0200|WARNING|glassfish3.1.2|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=18;_ThreadName=Thread-2;|javax.ejb.EJBException: javax.ejb.EJBException: javax.ejb.CreateException: Could not create stateless EJB
at com.sun.ejb.containers.StatelessSessionContainer._getContext(StatelessSessionContainer.java:454)
at com.sun.ejb.containers.BaseContainer.getContext(BaseContainer.java:2547)
...
Caused by: javax.ejb.EJBException: javax.ejb.CreateException: Could not create stateless EJB
at com.sun.ejb.containers.StatelessSessionContainer$SessionContextFactory.create(StatelessSessionContainer.java:726)
at com.sun.ejb.containers.util.pool.NonBlockingPool.getObject(NonBlockingPool.java:247)
at com.sun.ejb.containers.StatelessSessionContainer._getContext(StatelessSessionContainer.java:449)
...
Caused by: javax.ejb.CreateException: Could not create stateless EJB
at com.sun.ejb.containers.StatelessSessionContainer.createStatelessEJB(StatelessSessionContainer.java:534)
at com.sun.ejb.containers.StatelessSessionContainer.access$000(StatelessSessionContainer.java:95)
at com.sun.ejb.containers.StatelessSessionContainer$SessionContextFactory.create(StatelessSessionContainer.java:724)
...
Caused by: java.lang.IllegalStateException: class javax.naming.NamingException Lookup failed for 'java:global/authn_db.ear-1.0.0/authn_db.ejb-1.0.0/DB_Authenticator ' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming}
at org.icatproject.core.PropertyHandler.<init>(PropertyHandler.java:85)
at org.icatproject.core.PropertyHandler.getInstance(PropertyHandler.java:25)
at org.icatproject.exposed.BeanManagerBean.init(BeanManagerBean.java:219)
Considering the last error, I did checked the deployment and the class is present:
In glassfish3/glassfish/domains/domain1/applications/authn_db.ear-1.0.0:
[glassfish3@icat4a authn_db.ear-1.0.0]$ jar -tf authn_db.ejb-1.0.0.jar | grep DB_
org/icatproject/authn_db/DB_Authenticator.class
Thanks,
Milan