No nested exceptions that tell you a bit more?
Not the cause of your problem, but just for your information:
if (list==null || (list!=null list.size()!=1))
The Java || is an Exclusive OR: if the first expression evaluates to true then
the second is not evaluated at all. So there's no need
this is not cause of this problem.
i'll tryed this :
| @Stateless
| @Name(authenticator)
| public class AuthenticatorAction implements Authenticator{
|
| @PersistenceContext
| EntityManager em;
|
| @Out(scope=SESSION,required=false)
|private Users user;
grdzeli_kaci wrote : this is not cause of this problem.
If this refers to explanation of the Java OR then: no, just like I wrote,
that was just for your information...
grdzeli_kaci wrote : public boolean authenticate() {
| return true;
| }
| but it does not work
...well, does this give
...and while stripping your code to pin down the problem: why not remove the
EntityManager, Identity and Actor as well? And if that helps: are you sure
you're using EJB3 in your components.xml, and if not sure: what if just using
@In
| private EntityManager entityManager;
to use a
i left this but it does not working yet :(
| @Stateless
| @Name(authenticator)
| public class AuthenticatorAction implements Authenticator{
|
|public boolean authenticate() {
| return true;
| }
| }
|
View the original post :
here is my complate component.xml file. is tehre anything wrong ?
| ?xml version=1.0 encoding=UTF-8?
| components xmlns=http://jboss.com/products/seam/components;
| xmlns:core=http://jboss.com/products/seam/core;
|
grdzeli_kaci wrote : it does not working yet :(
...errr, well, then I'd think it's about time you finally respond to
No nested exceptions that tell you a bit more?
or
again: aren't there some nested exceptions that tell you a bit more?
In other words: more details needed, for example
hi avbentem,
i con't find any nesten exception.
here is complate stack trace :
| 05:54:38,369 ERROR [[/MagticomBilling]] Exception sending context
initialized event to listener instance of class
org.jboss.seam.servlet.SeamListener
| java.lang.RuntimeException: Could not create Component:
grdzeli_kaci wrote : i con't find any nesten exception.
Well, it's surely there in the log you posted:
grdzeli_kaci wrote : Caused by: java.lang.IllegalArgumentException: You must
specify org.jboss.seam.core.init.jndiPattern or use @JndiName: authenticator
| at