[JBoss-user] [JBoss Seam] - Re: ArrayStoreException on EJB3 deployment

2006-02-24 Thread destefano
I got this error when jboss-seam.jar was not in the class path in the manifests 
for the EJB jar and the war (a typo in my ant script was the culprit).  It 
could not find the SeamInterceptor class.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3926197#3926197

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3926197


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: ArrayStoreException on EJB3 deployment

2006-02-03 Thread [EMAIL PROTECTED]
Ask in the EJB3 forum, see if Bill has any idea...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3921537#3921537

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3921537


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: ArrayStoreException on EJB3 deployment

2006-02-03 Thread [EMAIL PROTECTED]
anonymous wrote : Bill Burke: i think it is that an annotation is not in your 
classpath that you've annotated the class with

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3921539#3921539

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3921539


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: ArrayStoreException on EJB3 deployment

2006-02-02 Thread [EMAIL PROTECTED]
It feels more like an EJB3-related issue than Seam, but I cannot be sure w/o 
more info. I don't actually know what that exception means, never seen it 
before...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3921284#3921284

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3921284


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: ArrayStoreException on EJB3 deployment

2006-02-02 Thread mutpup
This is off the 0201 Nigthly of seam and off 4.0.4RC1 off todays CVS

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3921330#3921330

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3921330


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: ArrayStoreException on EJB3 deployment

2006-02-02 Thread mutpup
Yeah I can't find anything on it. I backed down from head to the 4.0.4RC1 and 
I'm still getting the exact same error.

What info do you need to see more. If I strip out all my my other beans I still 
get it with my base 2 beans (User and UserAction)



  | 14:35:59,085 INFO  [EARDeployer] Undeploying J2EE application, destroy 
step: file:/C:/jboss-4.0.4RC1/server/default/deploy/phone-log.ear
  | 14:35:59,100 INFO  [EARDeployer] Undeployed J2EE application: 
file:/C:/jboss-4.0.4RC1/server/default/deploy/phone-log.ear
  | 14:36:09,194 INFO  [EARDeployer] Init J2EE application: 
file:/C:/jboss-4.0.4RC1/server/default/deploy/phone-log.ear
  | 14:36:09,866 INFO  [Ejb3AnnotationHandler] found EJB3: 
ejbName=UserUtilsAction, class=org.transaria.apps.phonelog.UserUtilsAction, 
type=STATELESS
  | 14:36:09,882 WARN  [ServiceController] Problem creating service 
jboss.j2ee:service=EJB3,module=phone-log.ejb3
  | java.lang.ArrayStoreException: 
sun.reflect.annotation.TypeNotPresentExceptionProxy
  | at 
sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:653)
  | at 
sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:460)
  | at 
sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:286)
  | at 
sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:222)
  | at 
sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:69)
  | at 
sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:52)
  | at java.lang.Class.initAnnotationsIfNecessary(Class.java:2998)
  | at java.lang.Class.getAnnotation(Class.java:2958)
  | 
  | 


  | 
  | package org.transaria.apps.phonelog;
  | 
  | import java.io.Serializable;
  | import java.util.Date;
  | import javax.persistence.Entity;
  | import javax.persistence.GeneratedValue;
  | import javax.persistence.Id;
  | import javax.persistence.Table;
  | import org.hibernate.validator.NotNull;
  | import org.jboss.seam.annotations.*;
  | 
  | @Entity
  | @Name(user)
  | @Table(name=users)
  | public class User implements Serializable {
  | 
  | private static final long serialVersionUID = 5139654161684162176L;
  | private long id;
  | private String first;
  | private String last;
  | private String username;
  | private String password;
  | private Date createdate;
  | 
  | public User () {
  | 
  |  Date now = new Date();
  |  createdate = now;
  | }
  | @NotNull
  | public Date getCreatedate() {
  | return createdate;
  | }
  | public void setCreatedate(Date createdate) {
  | this.createdate = createdate;
  | }
  | @NotNull
  | public String getFirst() {
  | return first;
  | }
  | public void setFirst(String first) {
  | this.first = first;
  | }
  | @Id @GeneratedValue @NotNull
  | public long getId() {
  | return id;
  | }
  | public void setId(long id) {
  | this.id = id;
  | }
  | @NotNull
  | public String getLast() {
  | return last;
  | }
  | public void setLast(String last) {
  | this.last = last;
  | }
  | @NotNull
  | public String getPassword() {
  | return password;
  | }
  | public void setPassword(String password) {
  | this.password = password;
  | }
  | @NotNull
  | public String getUsername() {
  | return username;
  | }
  | public void setUsername(String username) {
  | this.username = username;
  | }
  | 
  | 
  | 
  | }
  | 


  | package org.transaria.apps.phonelog;
  | 
  | import java.util.List;
  | import javax.ejb.Interceptors;
  | import javax.ejb.Stateless;
  | import javax.persistence.EntityManager;
  | import javax.persistence.PersistenceContext;
  | import org.hibernate.validator.Valid;
  | import org.jboss.seam.annotations.IfInvalid;
  | import org.jboss.seam.annotations.In;
  | import org.jboss.seam.annotations.Name;
  | import org.jboss.seam.annotations.Outcome;
  | import javax.faces.application.FacesMessage;
  | import javax.faces.context.FacesContext;
  | import org.jboss.seam.ejb.SeamInterceptor;
  | 
  | @Stateless
  | @Name(userutils)
  | @Interceptors(SeamInterceptor.class) 
  | //@LoggedIn
  | public class UserUtilsAction implements UserUtils {
  | 
  | @In @Valid
  | private User user;
  | 
  | @PersistenceContext
  | private EntityManager em;
  | 
  | @In
  | private FacesContext facesContext;
  | 
  | @IfInvalid(outcome=Outcome.REDISPLAY) 
  | public String createUser() {
  | List existing = em.createQuery(select username from User where 
username=:username)
  | .setParameter(username, user.getUsername())
  | .getResultList();
  |