[jboss-user] [JBoss Tools (users)] - I can not use the Jboss Tools

2008-07-15 Thread srpantano
I'm trying to use it with the JBossTools and M2Eclipse for Maven. But even with 
1 GB of memory is very slow and gives error of OutOfMemory or PermGen several 
times. After I import a very small Maven project, I can not work with him.

I tried to improve my eclipse.ini and use 3.3 and 3.4 versions, but still did 
not work.

-startup plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar 
  | --launcher.library 
plugins\C:\Java\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.3.R33x_v20080118
 
  | -showsplash org.eclipse.platform -vm C:\Java\j2se\jdk1.6.0_10\bin\javaw.exe 
  | -vmargs -Xms512m -Xmx1024m 
  | -XX:+UseParallelGC -XX:PermSize=256M -XX:MaxPermSize=512M

Please, someone help me?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4164510
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - war inside war

2008-05-07 Thread srpantano
I have a web application (the security module) which has its screens of 
administration and would like to transform it into an optional module of other 
web applications. So can I have or not the security module in my new 
applications, how do this?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149153
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Sharing features

2008-03-27 Thread srpantano
I made a EAR application, inside a WAR, that has security features. Now I need 
this same features in a new WAR, then I ask:

a) I can put two WAR's in a EAR and share the session, then the user login in a 
page of first WAR and forwarded to index page of second?

b) It's better have two different application (EAR) and share the session, then 
the user logged in a page of the first and forwarded to index page of second?

thanks!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4139341
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Sharing features

2008-03-27 Thread srpantano
I made a EAR application, inside a WAR, that has security features. Now I need 
this same features in a new WAR, then I ask:

a) I can put two WAR's in a EAR and share the session, then the user login in a 
page of first WAR and forwarded to index page of second?

b) It's better have two different application (EAR) and share the session, then 
the user logged in a page of the first and forwarded to index page of second?

thanks!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4139344
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Hibernate Search with Seam works?

2007-12-06 Thread srpantano
I put in my persistence.xml: 

  | property name=hibernate.search.default.directory_provider 
  |   
value=org.hibernate.search.store.FSDirectoryProvider/
  | property name=hibernate.search.default.indexBase 
  |   value=C:\temp\indexes/  
  | 
  | property name=hibernate.ejb.event.post-insert 
value=org.hibernate.search.event.FullTextIndexEventListener/
  | property name=hibernate.ejb.event.post-update 
value=org.hibernate.search.event.FullTextIndexEventListener/
  | property name=hibernate.ejb.event.post-delete 
value=org.hibernate.search.event.FullTextIndexEventListener/
  | 

in my class:


  | @Entity
  | @Indexed
  | public class License {
  | 
  | @Id
  | @DocumentId
  | @GeneratedValue(strategy = GenerationType.AUTO)
  | @NotNull
  | private Long id;
  | 
  | @NotNull
  | @Length(min = 3, max = 30)
  | @Field(index=TOKENIZED, store=YES)
  | private String sufix;
  | 
  | ...
  | 
  | }
  | 

I put too the Hibernate-Search, Lucene-core and Hibernate-common-annotation 
that cames with Seam 2. 
I'm using Jboss 4.2.2 then when the project deploys it show that is using 
Hibernate EntityManager 3.2.1, Hibernate Annotations 3.2.1 and Hibernate 
3.2.4.sp1. 

but On updates or inserts the follow error appear:


  | Caused by: java.lang.NoSuchMethodError: 
org.apache.lucene.document.Document.add(Lorg/apache/lucene/document/Field;)V
  | at 
org.hibernate.search.engine.DocumentBuilder.getDocument(DocumentBuilder.java:234)
  | at 
org.hibernate.search.event.FullTextIndexEventListener.onPostUpdate(FullTextIndexEventListener.java:165)
  | at 
org.hibernate.action.EntityUpdateAction.postUpdate(EntityUpdateAction.java:180)
  | 

If I remove the:


  | property name=hibernate.ejb.event.post-insert 
value=org.hibernate.search.event.FullTextIndexEventListener/
  | property name=hibernate.ejb.event.post-update 
value=org.hibernate.search.event.FullTextIndexEventListener/
  | property name=hibernate.ejb.event.post-delete 
value=org.hibernate.search.event.FullTextIndexEventListener/
  | 

I insert and update records, nothing happens and I try this:


  | @In FullTextEntityManager entityManager;
  | 
  | ...
  | 
  | ListLicense ls = licenses.getResultList();
  | 
  | for (License license : ls) {
  | 
  | entityManager.index(license);
  | 
  | }
  | 

the exception appears:

  | Caused by: org.hibernate.HibernateException: Lucene event listener not 
initialized
  | 

I ask, Is it Hibernate-search with Seam works?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4110821
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - hibernate-entitymanager hibernate-annotations

2007-12-06 Thread srpantano
When I deploy my EAR always starts the hibernate-annotations and 
hibernate-entitymanager embedded in server ( /default/lib ).
I want use another version (newest). 
I put the jars in my EAR and declared then in application.xml, but continues 
using the embedded. How I do to use the EAR jars?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4110901
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - hibernate-entitymanager hibernate-annotations

2007-12-06 Thread srpantano
When I deploy my EAR always starts the hibernate-annotations and 
hibernate-entitymanager embedded in server (/Jboss/server/default/lib).
I want use another version (newest). 
I put the jars in my EAR and declared then in application.xml, but continues 
using the embedded. How I do to use the EAR jars?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4110907
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Facelets 1.2

2007-11-28 Thread srpantano
Works Facelest 1.2-DEV with Seam 2.0?

If yes, how???

Thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108683
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Error after updated CR2!

2007-11-04 Thread srpantano
I resolved the problem!

I Javaassist that is depended by Seam-IOC (using Maven), has conflict with 
JavaAssist in the Jboss Server.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101588
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - authenticate-method called twice

2007-10-29 Thread srpantano
Why authenticate-method is called twice when I entry a wrong password???


  | security:identity authenticate-method=#{authenticator.authenticate}/
  | 

PS.: I´m using 2.0.0.CR3

thanks.

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

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

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Error after updated CR2!

2007-10-08 Thread srpantano
After I updated to Seam 2.0CR2 the following error appears:

ERROR [BasicLazyInitializer] Javassist Enhancement failed: 
com.bcsinfo.security.model.Profile
  | java.lang.RuntimeException: java.lang.IllegalArgumentException: Can not set 
static javassist.util.proxy.MethodFilter field 
com.bcsinfo.security.model.Profile_$$_javassist_0._method_filter to 
org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer$1
  | at javassist.util.proxy.ProxyFactory.setField(ProxyFactory.java:356)
  | at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:339)
  | at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:312)
  | at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:271)
  | at 
org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxyFactory(JavassistLazyInitializer.java:138)
  | at 
org.hibernate.proxy.pojo.javassist.JavassistProxyFactory.postInstantiate(JavassistProxyFactory.java:42)
  | at 
org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:162)
...
at org.jboss.Main$1.run(Main.java:508)
  | at java.lang.Thread.run(Thread.java:619)
  | Caused by: java.lang.IllegalArgumentException: Can not set static 
javassist.util.proxy.MethodFilter field 
com.bcsinfo.security.model.Profile_$$_javassist_0._method_filter to 
org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer$1
  | at 
sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:146)
  | at 
sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:150)
  | at 
sun.reflect.UnsafeStaticObjectFieldAccessorImpl.set(UnsafeStaticObjectFieldAccessorImpl.java:61)
  | at java.lang.reflect.Field.set(Field.java:657)
  | at javassist.util.proxy.ProxyFactory.setField(ProxyFactory.java:352)
  | ... 170 more
  | 13:24:33,647 INFO  [STDOUT] 13:24:33,616 WARN  [PojoEntityTuplizer] could 
not create proxy factory for:com.bcsinfo.security.model.Profile
  | org.hibernate.HibernateException: Javassist Enhancement failed: 
com.bcsinfo.security.model.Profile
  | at 
org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxyFactory(JavassistLazyInitializer.java:145)
  | at 
org.hibernate.proxy.pojo.javassist.JavassistProxyFactory.postInstantiate(JavassistProxyFactory.java:42)
  | at 
org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:162)

and the Profile.class is:

@Entity
  | @Table(name = BAS_ROLE, schema = UTIL)
  | public class Profile extends Pojo implements Serializable {
  | 
  | @Column(name = ID_ROLE)
  | @Id
  | @GeneratedValue(strategy = GenerationType.AUTO)
  | @NotNull
  | private long id;
  | 
  | @NotNull
  | private String profile;
  | 
  | private String description;
  | 
  | @ManyToOne
  | @JoinColumn(name = ID_LICENCA)
  | private License license;
  | 
  | private boolean screenProfile;
  | 
  | @ManyToMany
  | @JoinTable(name = CONF_ROLESYSTEM, schema = UTIL, 
  |joinColumns = [EMAIL PROTECTED](name = ID_ROLE)}, 
  |inverseJoinColumns = [EMAIL PROTECTED](name = ID_SYSTEM)})
  | private ListSistem sistems;
  | 
  | @ManyToMany(mappedBy = profiles)
  | private ListUser users = new ArrayListUser();
  | 
  |   //GETTERS and SETTERS
  | 

why it´s happing

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

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

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Logout problem

2007-10-04 Thread srpantano
Again, please, please, please. Can anyone help?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4091540
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Logout problem

2007-10-02 Thread srpantano
Please anyone??

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4090566
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Logout problem

2007-10-01 Thread srpantano
I am using Seam 2.0Beta1 + Acegi + Spring + Hibernate.
When I try to logout, and I used:

  | Session.instance().invalidate()
  |  ;

  | HttpSession session = 
(HttpSession)FacesContext.getCurrentInstance().getExternalContext().getSession(false);
  | session.removeAttribute(ACEGI_SECURITY_CONTEXT);
  | session.removeAttribute(ACEGI_SECURITY_LAST_USERNAME);
  | 
Everything goes berserk, and my EntityManager is killed:

  | 16:37:32,369 ERROR [ExceptionFilter] handling uncaught exception
  | java.lang.IllegalStateException: EntityManager is closed
  | at 
org.hibernate.ejb.EntityManagerImpl.getSession(EntityManagerImpl.java:42)
  | at 
org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:92)
  | at 
org.hibernate.search.jpa.impl.FullTextEntityManagerImpl.createQuery(FullTextEntityManagerImpl.java:130)
  | at 
org.jboss.seam.persistence.EntityManagerProxy.createQuery(EntityManagerProxy.java:79)
  | at 
com.bcsinfo.security.view.web.user.UserList.findUserByUsername(UserList.java:48)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:589)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
  | at org.jboss.se
  | 

Please Help.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4090398
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - components.properties

2007-09-19 Thread srpantano
Is possible put components.properties outside the EAR? I want put it in deloy 
folder, works?


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4086127
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Search and framework

2007-09-18 Thread srpantano
I have Lucene 2.2.0, just the jar of Seam dist.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4085565
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Search and framework

2007-09-17 Thread srpantano
Is it possible work Hibernate Search and Seam Framework?

When I try: 

15:49:25,102 INFO  [STDOUT] Hibernate: select nextval ('hibernate_sequence')
  | 15:49:25,150 INFO  [STDOUT] Hibernate: insert into SYSTEM (SYSTEM_NAME, 
ID_SYSTEM) values (?, ?)
  | 15:49:25,166 ERROR [SeamPhaseListener] uncaught exception
  | javax.el.ELException: java.lang.reflect.InvocationTargetException
  | at 
org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329)
  | at 
org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:338)
  | at 
org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
  | at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
  | at 
org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
  | at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:174)
  | at org.jboss.seam.navigation.Pages.callAction(Pages.java:636)
  | at org.jboss.seam.navigation.Pages.preRender(Pages.java:289)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.preRenderPage(SeamPhaseListener.java:544)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.beforeRenderResponse(SeamPhaseListener.java:455)

...

at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
  | at java.lang.Thread.run(Thread.java:619)
  | Caused by: java.lang.reflect.InvocationTargetException
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)

...

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:325)
  | ... 66 more
  | Caused by: java.lang.NoSuchMethodError: 
org.apache.lucene.document.Document.add(Lorg/apache/lucene/document/Field;)V
  | at 
org.hibernate.search.engine.DocumentBuilder.getDocument(DocumentBuilder.java:234)
  | at 
org.hibernate.search.event.FullTextIndexEventListener.onPostInsert(FullTextIndexEventListener.java:154)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4085220
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - s:selectItems

2007-09-13 Thread srpantano
I'm using s:selectItems in a rich:dataTable, but the h:selectOneMenu is the 
same for the all rows and I change one, it makes refresh in all.

Why?

h:column
  | f:facet name=header
  | #{messages['Profile']}
  | /f:facet
  | 
  | h:selectOneMenu id=profile_selectManyListbox 
  |   rendered=#{not empty record.profiles}
  |   valueChangeListener=#{sistemHome.putSistemIdListener}  

  | s:selectItems value=#{record.profiles} var=profs 
  |   label=#{profs.profile} 
  |   noSelectionLabel=- - -
  |   hideNoSelectionLabel=true /
  | s:convertEntity /
  | /h:selectOneMenu
  | /h:column

Ps.: I'm using Seam 2.0

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4084237
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: s:selectItems (Resolved)

2007-09-13 Thread srpantano
I think I found the problem: http://jira.jboss.com/jira/browse/JBSEAM-1528 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4084243
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam 2.0 BETA

2007-09-12 Thread srpantano
do you using s:decorate?

when I try this:

ui:define name=title
  | #{messages['User']} (#{messages['toadd']})
  | /ui:define
  | 
  | ui:define name=content
  | h:form
  | 
  | rich:panel
  | 
  | s:decorate id=usernameDecorate 
template=../layout/input.xhtml
  | ui:define 
name=outrox#{messages['User']}:/ui:define
  | h:inputText size=30 value=#{user.username} 
required=true
  | a4j:support event=onblur 
reRender=usernameDecorate/
  | /h:inputText
  | /s:decorate
  | 
  | /rich:panel
  | 
  | /h:form
  | 
  | /ui:define

with:


  | ui:composition xmlns=http://www.w3.org/1999/xhtml;
  | xmlns:ui=http://java.sun.com/jsf/facelets;
  | xmlns:h=http://java.sun.com/jsf/html;
  | xmlns:f=http://java.sun.com/jsf/core;
  | xmlns:s=http://jboss.com/products/seam/taglib;
  |  
  | div
  | s:label
  | ui:insert name=label/
  | s:span rendered=#{required}*/s:span
  | /s:label
  | span
  | s:validateAll
  | ui:insert/
  | /s:validateAll
  | /span
  | s:message/
  | /div
  | 
  | /ui:composition

the result is messy. The content of title appears in decorate and duplicate the 
lines, etc.

thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083647
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam 2.0 BETA

2007-09-12 Thread srpantano
Facelets 1.1.12


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083672
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam 2.0 BETA

2007-09-12 Thread srpantano
but the s:decorate doesn´t a seam tag not a facelet tag?

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

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

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Updating data with cancelled button

2007-09-11 Thread srpantano
I tried to use flush manual, but didn´t works.

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

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

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - ConversationStack

2007-09-11 Thread srpantano
How I get the object of component ConversationStack in a bean?



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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083126
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Updating data with cancelled button

2007-09-10 Thread srpantano
When I click in this button:


  | p class=botao_cancelar
  | s:link action=#{userHome.cancel}
  | h:outputText style=vertical-align:middle; 
value=#{messages['Cancel']}/
  | /s:link 
  | /p
  | 

that calls the method:


  | @End
  | public String cancel(){ 
  | return ;
  | }
  | 

and in pages.xml has:


  | navigation from-action=#{userHome.cancel}
  | end-conversation/
  | redirect view-id=/user/view.xhtml/
  | /navigation
  | 

but before redirect the data is always updated, why?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082632
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Updating data with cancelled button

2007-09-10 Thread srpantano
I don't understand!

Why the update is calling, I think that in all application the data only should 
persist/update when I call the action.

Ps.: I'm using EntityHome of Seam.

thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082651
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - renew the @Factory

2007-09-05 Thread srpantano
I´m trying to make a page to insert data and when submitted it returns to the 
same page insert other one. But when return the object has the data of previous 
object. 
The object was created by @Factory:

  | @Factory(license)
  | public License work() {
  | return getInstance();
  | }

When submit the action method do:

  | public String persistAndContinue(){
  | super.persist();
  | setInstance(new License());
  | }

The getInstance has a new License object but the license still has the 
previous data.

How to do this correct?


Ps.: I´m using Jboss Framework
   The code of pages.xml is 

  | navigation from-action=#{licenseHome.persistAndContinue}
  | end-conversation/
  | redirect view-id=/license/add.xhtml/
  | /navigation

thanks for help.

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

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

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: renew the @Factory

2007-09-05 Thread srpantano
It didn´t works!

When submit the value in fields are in screen and when I press the submit 
button again give error.

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

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

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: renew the @Factory

2007-09-05 Thread srpantano
the interesting is: after submit the conversation are changed but the fields 
still there.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4081441
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: renew the @Factory

2007-09-05 Thread srpantano
ok, here go!

in my add.xhtml page I put: 


  | #{messages['Name']}:
  | h:inputText id=name size=30 value=#{license.name}
  | s:validate /
  | a4j:support event=onblur reRender=outMessageLicensee /
  | /h:inputText
  | 
  | s:link action=#{licenseHome.persistAndContinue}
  | h:outputText value=#{messages['Tosavecont']}/
  | /s:link
  | 

the add.page.xml:


  | page no-conversation-view-id=list.xhtml   
  | 
  | begin-conversation join=true/   
  |
  |navigation from-action=#{licenseHome.persistAndContinue}
  |end-conversation/
  |redirect view-id=add.xhtml/
  |/navigation
  |   
  | /page
  | 

and the class:


  | @Name(value = licenseHome)
  | public class LicenseHome extends EntityHomeLicense {
  | 
  | @Override
  | protected License createInstance() {
  | license = new License();
  | return license;
  | }
  | 
  | @Override
  | @Factory(value = license)
  | public License work() {
  | return getInstance();
  | }
  | 
  | public String persistAndContinue() {
  | super.persist();
  | Contexts.getSessionContext().remove(license) ;
  | setInstance(new License());
  | 
  | return ;
  | }
  | 
  | public void setLicenseId(Long id) {
  | setId(id);
  | }
  | 
  | public Long getLicenseId() {
  | return (Long) getId();
  | }
  | }

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4081456
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: please help me out of this problem

2007-09-05 Thread srpantano
Thank you!

Work well!


  | @Factory(value = license, scope=ScopeType.STATELESS)


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4081467
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Hibernate Search

2007-09-04 Thread srpantano
Where is the error in the code? Because doesn´t work. I´m using JPA + Seam 2.0.




  | List result = null;
  | 
  | try {   
  | 
  | org.apache.lucene.queryParser.QueryParser parser = 
  | new org.apache.lucene.queryParser.QueryParser(sistem, 
  | new 
org.apache.lucene.analysis.standard.StandardAnalyzer(BrazilianAnalyzer.BRAZILIAN_STOP_WORDS));
  | 
  | org.apache.lucene.search.Query query = parser.parse(sistema);
  | org.hibernate.search.FullTextQuery hibQuery = 
  | getFullTextSession().createFullTextQuery(query, 
Sistem.class);
  | 
  | result = hibQuery.list();
  | 
  | return result;
  | 
  | } catch (ParseException ex) {
  | Logger.getLogger(global).log(Level.SEVERE, null, ex);
  | }
  | 

but when I run: 


  | 14:15:54,671 FATAL [application] java.lang.reflect.InvocationTargetException
  | javax.faces.el.EvaluationException: 
java.lang.reflect.InvocationTargetException
  | at 
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91)
  | at 
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
  | at javax.faces.component.UICommand.broadcast(UICommand.java:383)
  | 
  | ...
  | 
  | 
  | Caused by: java.lang.NoSuchMethodError: 
org.hibernate.search.FullTextSession.createFullTextQuery(Lorg/apache/lucene/search/Query;[Ljava/lang/Class;)Lorg/hibernate/search/FullTextQuery;
  | at 
com.bcsinfo.security.view.web.util.FullTextSearch.search(FullTextSearch.java:77)
  | at 
com.bcsinfo.security.view.web.util.FullTextSearch.toSearch(FullTextSearch.java:125)
  | ... 87 more
  | 

thanks for help!

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

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

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: NoSuchMethodFound createFullTextQuery()

2007-09-04 Thread srpantano
Please momochone11, you resolved the createFullTextQuery() problem, because I 
am with the same problem and I can´t fix it.

thanks.

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

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

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Seam 2.0 migration

2007-08-31 Thread srpantano
After I migrate to 2.0Beta1 from 1.2.1, when I call the page, the follow error 
show:



  | 12:33:44,334 ERROR [STDERR] 31/08/2007 12:33:44 
com.sun.facelets.FaceletViewHandler handleRenderException
  | SEVERE: Error Rendering View[/profile/list.xhtml]
  | java.lang.RuntimeException: org.dom4j.DocumentException: Connection 
refused: connect Nested exception: Connection refused: connect
  | at org.jboss.seam.navigation.Pages.getDocumentRoot(Pages.java:943)
  | at org.jboss.seam.navigation.Pages.parse(Pages.java:929)
  | 

Someone know why?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080059
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Seam-gen and Hibernate Search

2007-08-30 Thread srpantano
I created classes with Seam-Gen (Seam 1.2.1) and I try use Hibernate Search the 
follow errors appears:



  | 14:41:05,194 INFO  [STDOUT] Hibernate: insert into RCR.CONF_SYSTEM 
(SYSTEM_NAME, ID_SYSTEM) values (?, ?)
  | 14:41:05,209 FATAL [application] java.lang.reflect.InvocationTargetException
  | javax.faces.el.EvaluationException: 
java.lang.reflect.InvocationTargetException
  | at 
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91)
  | at 
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
  | at javax.faces.component.UICommand.broadcast(UICommand.java:383)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewRoot.processEvents(AjaxViewRoot.java:180)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:158)
  | 
...

  | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
  | at java.lang.Thread.run(Thread.java:619)
  | Caused by: java.lang.reflect.InvocationTargetException
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 
...

  | at 
com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
  | at 
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
  | ... 61 more
  | Caused by: java.lang.NoSuchMethodError: 
org.apache.lucene.document.Document.add(Lorg/apache/lucene/document/Field;)V
  | at 
org.hibernate.search.engine.DocumentBuilder.getDocument(DocumentBuilder.java:234)
  | at 
org.hibernate.search.event.FullTextIndexEventListener.onPostInsert(FullTextIndexEventListener.java:154)
  | at 
org.hibernate.action.EntityInsertAction.postInsert(EntityInsertAction.java:127)
  | at 
org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:106)
  | at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:250)
  | 
...

  | at 
org.jboss.seam.persistence.EntityManagerProxy.flush(EntityManagerProxy.java:83)
  | at org.jboss.seam.framework.EntityHome.persist(EntityHome.java:49)
  | at 
com.bcsinfo.security.view.web.util.AuditLogHome.persist(AuditLogHome.java:79)
  | ... 92 more
  | 14:41:05,209 WARN  [lifecycle] #{sistemHome.persist}: 
java.lang.reflect.InvocationTargetException
  | javax.faces.FacesException: #{sistemHome.persist}: 
java.lang.reflect.InvocationTargetException
  | at 
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:107)
  | at javax.faces.component.UICommand.broadcast(UICommand.java:383)
  | 
...

  | at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
  | at 
com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
  | at 
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
  | ... 61 more
  | Caused by: java.lang.NoSuchMethodError: 
org.apache.lucene.document.Document.add(Lorg/apache/lucene/document/Field;)V
  | at 
org.hibernate.search.engine.DocumentBuilder.getDocument(DocumentBuilder.java:234)
  | at 
org.hibernate.search.event.FullTextIndexEventListener.onPostInsert(FullTextIndexEventListener.java:154)
  | at 
org.hibernate.action.EntityInsertAction.postInsert(EntityInsertAction.java:127)
  | at 
org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:106)
  | 

the Seam-gem (1.2.1) and Hibernate Search works togheter?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079714
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Error in update to 1.3.0

2007-06-18 Thread srpantano
When I try to run my application with 1.3 Seam version the follow error appear, 
what I can do to fix?


  | 14:53:47,430 ERROR [STDERR] java.lang.UnsupportedOperationException
  | 14:53:47,430 ERROR [STDERR] at 
com.sun.faces.config.ConfigureListener$InitFacesContext.getViewRoot(ConfigureListener.java:1690)
  | 14:53:47,430 ERROR [STDERR] at 
com.sun.faces.util.MessageFactory.getMessage(MessageFactory.java:113)
  | 14:53:47,430 ERROR [STDERR] at 
com.sun.faces.util.MessageUtils.getExceptionMessageString(MessageUtils.java:277)
  | 14:53:47,430 ERROR [STDERR] at 
com.sun.faces.util.Util.createInstance(Util.java:477)
  | 14:53:47,430 ERROR [STDERR] at 
com.sun.faces.util.Util.createInstance(Util.java:436)
  | 14:53:47,430 ERROR [STDERR] at 
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:617)
...

  | 14:53:47,461 ERROR [STDERR] at org.jboss.Main.boot(Main.java:200)
  | 14:53:47,461 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:508)
  | 14:53:47,461 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)
  | 14:53:47,492 INFO  [STDOUT] 14:53:47,492 ERROR [[/seg]] Exception sending 
context initialized event to listener instance of class 
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
  | javax.faces.FacesException: java.lang.UnsupportedOperationException
  | at 
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:408)
  | at 
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69)
  | at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
  | at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4359)
  | at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
  | at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
...

  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
  | at $Proxy0.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceC
  | 14:53:47,492 INFO  [STDOUT] ontroller.java:417)
  | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:589)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
...

  | at java.lang.Thread.run(Thread.java:619)
  | Caused by: java.lang.UnsupportedOperationException
  | at 
com.sun.faces.config.ConfigureListener$InitFacesContext.getViewRoot(ConfigureListener.java:1690)
  | at com.sun.faces.util.MessageFactory.getMessage(MessageFactory.java:113)
  | at 
com.sun.faces.util.MessageUtils.getExceptionMessageString(MessageUtils.java:277)
  | at com.sun.faces.util.Util.createInstance(Util.java:477)
  | at com.sun.faces.util.Util.createInstance(Util.java:436)
  | at 
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:617)
  | at 
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:503)
  | at 
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:402)
  | ... 137 more
  | 14:53:47,492 INFO  [ServletContextListener] Welcome to Seam 1.3.0.ALPHA

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055332
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Error in update to 1.3.0

2007-06-18 Thread srpantano
But this only happens when I run with 1.3, with the 1.2.1 it works fine!

What more information are need to you resolve for me?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055338
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Can I create a flag variable in a entity-home maded in a com

2007-06-05 Thread srpantano
I need to create a flag variable (parameter) for a entity-home object created 
by component.xml, is it possible?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4051489
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - how change reploy Jar in Ear

2007-05-31 Thread srpantano
How the best way to update the Jar (module inside) without stop the aplication?


tks.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4050189
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - how change reploy Jar in Ear

2007-05-31 Thread srpantano
How the best way to update the Jar (module inside) without stop the aplication?


tks. 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4050225
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - how change reploy Jar in Ear

2007-05-31 Thread srpantano
How the best way to update the Jar (module inside) without stop the aplication?


tks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4050226
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Cannot instantiate component

2007-05-25 Thread srpantano
I tried to put Icefaces, Woodstock (my favorite, I would like to use this 
first) and JBoss RichFaces, but when I run the app the follow errors appear: 



  | WARN  [application] JSF1004: Cannot instantiate component of type 
com.icesoft.faces.OutputChart
  | ERROR [[/web]] com.icesoft.faces.component.outputchart.OutputChart
  | javax.faces.FacesException: java.lang.UnsupportedOperationException
  | 
  | ...
  | 
  | Caused by: java.lang.UnsupportedOperationException
  | 
  | ...
  | 
  | WARN  [config] One or more configured application objects cannot be 
created.  See your web application logs for details.
  | 11:32:38,563 ERROR [[/web]] Exception sending context initialized event to 
listener instance of class 
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
  | javax.faces.FacesException: One or more configured application objects 
cannot be created.  See your web application logs for details.
  | 
  | 

PS: 1) This happens for Iceface´s, Richface´s and Woodstock´s component.
  2) I´m using Seam 1.2.1GA, Jboss 4.2.0GA, JSF 1.2 (Sun RI) and Facelets 
1.12.
 



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

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

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - EntityManager null

2007-05-23 Thread srpantano
I made: 


  | component name=em auto-create=true 
class=org.jboss.seam.core.ManagedPersistenceContext
  | property name=persistenceUnitJndiNamejava:/data/property
  | /component
  | 
  | component name=org.jboss.seam.ui.entityConverter
  | property name=entityManager#{em}/property
  | /component
  | 
  | component name=roles class=org.jboss.seam.framework.EntityQuery
  | property name=ejbqlselect r from Role r/property
  | /component
  | 

but when I run the facelet page with:

  | h:selectOneMenu value=#{list.roles} required=true
  | s:selectItems value=#{roles.resultList} var=role 
label=#{role.descricao} noSelectionLabel=Please Select.../
  | s:convertEntity /
  | /h:selectOneMenu
  | 

but the result is:
java.lang.IllegalStateException: entityManager is null

please, I´m missing something?

PS.: I´m using Seam 1.2.1GA, Jboss 4.2.0ga and facelets 1.12

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

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

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: EntityManager null

2007-05-23 Thread srpantano
Works fine, thanks!


But, this is a bug, doesn´t it?

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

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

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Configuration files

2007-05-21 Thread srpantano
I´ve a project with 3 modules, two jar (JPA, EJB) and one war. Where I must put 
the components.xml, the seam.properties and ejb-jar.xml (with the 
interceptor-class tag)?

Tks.

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

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

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Seam, Maven e Facelets

2007-05-03 Thread srpantano
I´m trying to make an application with Seam (1.2.1GA), JSF RI (1.2_b04), 
facelets (1.1.12) build with Maven2. This application has one EAR module, one 
EJB and one WAR module.
Another import aspect is the version showed of Seam 1.2.0PATCH1, but the libs 
are of 1.2.1.GA

When start the Jboss this error show:


  | 15:55:29,185 ERROR [STDERR] 03/05/2007 15:55:29 
com.sun.faces.config.ConfigureListener contextInitialized
  | INFO: Initializing Sun's JavaServer Faces implementation (1.2_04-b07-FCS) 
for context 'null'
  | 15:55:29,419 ERROR [STDERR] javax.faces.FacesException: 
org.jboss.seam.jsf.SeamApplicationFactory
  | 15:55:29,419 ERROR [STDERR] at 
javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:569)
  | 15:55:29,419 ERROR [STDERR] at 
javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:448)
  | 15:55:29,419 ERROR [STDERR] at 
javax.faces.FactoryFinder.getFactory(FactoryFinder.java:249)
  | 15:55:29,419 ERROR [STDERR] at 
com.sun.faces.util.MessageFactory.getApplication(MessageFactory.java:257)
  | 15:55:29,419 ERROR [STDERR] at 
com.sun.faces.util.MessageFactory.getMessage(MessageFactory.java:144)
  | 15:55:29,419 ERROR [STDERR] at 
com.sun.faces.util.MessageFactory.getMessage(MessageFactory.java:122)
  | 15:55:29,419 ERROR [STDERR] at 
com.sun.faces.util.MessageUtils.getExceptionMessageString(MessageUtils.java:277)
  | 15:55:29,419 ERROR [STDERR] at 
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:888)
  | 15:55:29,419 ERROR [STDERR] at 
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:536)
  | 15:55:29,419 ERROR [STDERR] at 
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:436)
  | 15:55:29,419 ERROR [STDERR] at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
  | 15:55:29,419 ERROR [STDERR] at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
  | 15:55:29,419 ERROR [STDERR] at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
  | 15:55:29,419 ERROR [STDERR] at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
  | 15:55:29,419 ERROR [STDERR] at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
  | 15:55:29,419 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 15:55:29,419 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 15:55:29,419 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 15:55:29,419 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:597)
  | 15:55:29,419 ERROR [STDERR] at 
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
  | 15:55:29,419 ERROR [STDERR] at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
  | 15:55:29,419 ERROR [STDERR] at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 15:55:29,419 ERROR [STDERR] at 
org.apache.catalina.core.StandardContext.init(StandardContext.java:5052)
  | 15:55:29,419 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 15:55:29,419 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 15:55:29,419 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 15:55:29,435 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:597)
  | 15:55:29,435 ERROR [STDERR] at 
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
  | 15:55:29,435 ERROR [STDERR] at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
  | 15:55:29,435 ERROR [STDERR] at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 15:55:29,435 ERROR [STDERR] at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
  | 15:55:29,435 ERROR [STDERR] at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
  | 15:55:29,435 ERROR [STDERR] at 
org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
  | 15:55:29,435 ERROR [STDERR] at 
org.jboss.web.WebModule.startModule(WebModule.java:83)
  | 15:55:29,435 ERROR [STDERR] at 
org.jboss.web.WebModule.startService(WebModule.java:61)
  | 15:55:29,435 ERROR [STDERR] at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | 15:55:29,435 ERROR [STDERR] at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | 15:55:29,435 ERROR [STDERR] at