Stefan Köpke wrote:
> Baptiste MATHUS wrote:
>> Hi,
>>
>> Isn't there any logs??? There should at least be a more complete
>> stacktrace that would help you diagnose the problem.
>>
>> Cheers
>>
>> 2008/10/1 Stefan Köpke <s.koepke_at_ist-dresden.de
>> <mailto:s.koepke_at_ist-dresden.de>>
>>
>> have a JavaEE (EJB3.0) project deployed on glassfish2.1 as -.ear
>> (exported from eclipse3.4 to the autodeploy-folder) with
>> -.ejb.jar, -.webui.war, general-lib-base.jar
>> get the following error message:
>> ...nested exception is: javax.ejb.CreateException: Could not
>> create stateless EJB
>> as greenhorn not only in the JavaRanch but in the JavaEE-field as
>> well I'm looking for some help concerning the possible causes.
>> The session bean is invoked by a jsf-managed bean. Have a pure
>> annotation @ejb in managed bean (identifiing the ejb-interface
>> (remote) ...
>> thank's for any comment...
>>
>>
>> --
>> Baptiste <Batmat> MATHUS - http://batmat.net
>> Sauvez un arbre,
>> Mangez un castor !
> sure there are some logs, but not really helpful (for me) here an
> extract:
> -All ejb(s) of [controlling-time] loaded successfully!(details)
> <http://localhost:4848/logViewer/logViewer.jsf#> (well, better than
> nothing!)
> - naming.bind(details) <http://localhost:4848/logViewer/logViewer.jsf#>
> -
> \glassfish2.1\domains\domain1\applications\j2ee-apps\controlling-time\controlling-time-webui_war\WEB-INF\lib\servlet-api-2.3.jar)
> - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending
> class: javax/servlet/Servlet.class (could be the reason, but how to
> get this .jar in?)
> - Initializing Sun's JavaServer Faces implementation (1.2_04-b21-p04)
> for context '/controlling/time'
> - some sql-warnings (can not create tables cause already exist)
> - Exception creating stateless session bean : [{0}]
> java.lang.InstantiationException:....
> - An exception was thrown during an ejb invocation on
> [ContributorSessionBean] (indeed ;o))
> - nested exception is: javax.ejb.EJBException: nested exception is:
> javax.ejb.CreateException: Could not create stateless EJB
> javax.ejb.EJBException:...
> - Annotations processing failed for C:
> glassfish2.1\domains\domain1\applications\j2ee-apps\controlling-time\controlling-time-ejb_jar
>
> \
>
>
>
>
>
>
> ....
> thx for answering, merci pour votre aide!
>
have deleted the not loaded .jar from the .ear file, now the concerning
message fails (not very surprising), apart from that not very much changes:
logs:
+++ deployed with moduleid = controlling-time
+++property toplink.platform.class.name is deprecated, property
toplink.target-database should be used
+++ com.composum.controlling.time.session.ContributorSession;
remoteBusIntf: com.composum.controlling.time.session.ContributorSession
+++All ejb(s) of [controlling-time] loaded successfully
+++naming.bind
+++Initializing Sun's JavaServer Faces implementation (1.2_04-b21-p04)
for context '/controlling/time'
+++SQLexceptions...
+++Exception creating stateless session bean : [{0}]
java.lang.InstantiationException:
com.composum.controlling.time.session.ContributorSession at
java.lang.Class.newInstance0(Class.java:340) at
java.lang.Class.newInstance(Class.java:308) at
com.sun.ejb.containers.StatelessSessionContainer.createStatelessEJB(StatelessSessionContainer.java:509)
...
+++An exception was thrown during an ejb invocation on
[ContributorSessionBean]
+++
...any idea welcome