[jboss-user] [JBoss Seam] - Re: seam and rich faces 3.1.2

2007-11-04 Thread baz
We have migrated to RF 3.1.2 only with the help of the richfaces documentation 
and the richfaces forum.
RF 3.1.2 does work with seam 1.2.1 and 2.0.0CR2 for us.

Ciao,
carsten

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

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


[jboss-user] [JBoss Seam] - Re: Exception on timeout due to Hibernate Filter

2007-11-04 Thread mat
Hi Pete,
This is just the session timeout when the user is not using the application for 
a period of time and then trying to use the application; 
Apperciate your feedback;

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

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


[jboss-user] [Beginners Corner] - Re: A Beginner Problem: JAVA_HOME not set?

2007-11-04 Thread mesmer
Hi, thanks for the tips, it's very helpful, I can run my portal now :)

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

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


[jboss-user] [JBoss Seam] - Re: Batch Index using Hibernate Search and Seam

2007-11-04 Thread mat
Hi Pete,

When calling

  | EntityManager em = (EntityManager) Component.getInstance(entityManager);
  | 

I get the following Exception:


  | 07:55:26,593 ERROR [STDERR] org.hibernate.HibernateException: Filter 
[accessCompanyFilter] parameter [currentAccessCompany] value not set
  | at org.hibernate.impl.FilterImpl.validate(FilterImpl.java:145)
  | at 
org.jboss.seam.persistence.HibernatePersistenceProvider.enableFilter(HibernatePersistenceProvider.java:151)
  | at 
org.jboss.seam.persistence.ManagedPersistenceContext.initEntityManager(ManagedPersistenceContext.java:88)
  | at 
org.jboss.seam.persistence.ManagedPersistenceContext.getEntityManager(ManagedPersistenceContext.java:108)
  | at sun.reflect.GeneratedMethodAccessor288.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
  | at 
org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
  | at org.jboss.seam.Component.callComponentMethod(Component.java:2083)
  | at org.jboss.seam.Component.unwrap(Component.java:2109)
  | at org.jboss.seam.Component.getInstance(Component.java:1888)
  | at org.jboss.seam.Component.getInstance(Component.java:1841)
  | at org.jboss.seam.Component.getInstance(Component.java:1835)
  | at 
com.cheetah.seam.modules.admin.IndexManagerBean.buildIndex(IndexManagerBean.java:248)
  | 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 org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
  | at 
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
  | at 
org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
  | at 
org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
  | at 
org.jboss.seam.async.AsynchronousInterceptor.aroundInvoke(AsynchronousInterceptor.java:42)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
  | at 
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)
  | at 
org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:155)
  | at 
org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:91)
  | at 
com.cheetah.seam.modules.admin.IndexManagerBean_$$_javassist_7.buildIndex(IndexManagerBean_$$_javassist_7.jav
  | a)
  | 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 org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
  | at 
org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
  | at 
org.jboss.seam.async.AsynchronousInvocation.call(AsynchronousInvocation.java:52)
  | at 
org.jboss.seam.async.Asynchronous.executeInContexts(Asynchronous.java:76)
  | at org.jboss.seam.async.Asynchronous.execute(Asynchronous.java:45)
  | at 
org.jboss.seam.async.ThreadPoolDispatcher$RunnableAsynchronous.run(ThreadPoolDispatcher.java:114)
  | at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
  | at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
  | at java.util.concurrent.FutureTask.run(FutureTask.java:138)
  | at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.j
  | ava:98)
  | at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207
  | )
  | at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
  | at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
  | at java.lang.Thread.run(Thread.java:619)
  | 
  | 
  | 
  | 
  | The currentAccessCompany is set to int values corresponding to 

[jboss-user] [JBoss Tools (users)] - Creating Webservices

2007-11-04 Thread baz
 I got the task to introduce web services to people with only little experience 
with java EE.
What i need, is an easy procedure in the IDE to create web services and web 
service clients. (with JaxWS, Jboss tools seems to  only support axis, when i 
am right)
Config files, ant etc. are to complicated for the desired audience. So i do 
need a good gui for it.
At end of november i do need this easy procedure. The only possibility for me 
seems to use netbeans. This tool implements the understandable procedure for 
creating webservices.

I do not expect the answer that it will be implemeted in the next two weeks, or 
that it is already implemented and i have overlooked it.

But some guidance in this task, instead of using netbeans, will be very helpful.
Ciao,
Carsten
FYI: i am using eclipse and exadel for more than 2 years. And i will use the 
exadel based jboss tools suite, as well. And i do know how to create an web 
service based upon seam. Some useful information is in the seambay example.


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

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


[jboss-user] [JBossWS] - WebService with Basic Security Profile

2007-11-04 Thread kaprys
Hi, I'm trying to write a WebService  on EJB 3.0 that is using Basic Security 
Profile to communicate. Every send message i signed with x509 certificate.
I'm new in java WebServices and I really don't know how to do it. Can anybody 
help me??

WebService will be deployed on JBoss 4.2.1 GA with java jdk 1.6

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

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


[jboss-user] [JBoss Seam] - Another h:selectOneMenu and valueChangeListener problem...

2007-11-04 Thread ElNino
Hello,

 I am relatively new with JBoss technologies; I spent a lot of time reading 
books and posts but I spent several days on a very simple thing; others people 
have already explain the same problem on the forum but the proposed solutions 
are not working for me.

My post is quite long cause I prefer giving you a complete presentation of my 
problem.

I'am using

jBoss Seam 2.0.0.CR2
with jboss-4.2.1.GA

I will take a simple example :

I have:

- a continent entity
- a country entity

Of course, continent contains serveral countries and a country is attached to a 
continent :


  | @Entity
  | @Name(continent)
  | @Table(name = Continents)
  | public class Continent extends PersistentEntity implements Serializable {
  | 
  | private static final long serialVersionUID = 1L;
  | private long id;
  | private SetCountry countries;
  | private String name;
  | 
  | public Continent() {}
  | 
  | public Continent(String name) {
  | this.name = name;
  | }
  | 
  | @Id
  | @GeneratedValue
  | public long getId() {
  | return id;
  | }
  | 
  | public void setId(long id) {
  | this.id = id;
  | }
  | 
  | public String getName() {
  | return name;
  | }
  | 
  | public void setName(String name) {
  | this.name = name;
  | }
  | 
  | @OneToMany
  | public SetCountry getCountries() {
  | return countries;
  | }
  | 
  | public void setCountries(SetCountry countries) {
  | this.countries = countries;
  | }
  | 


  | @Entity
  | @Name(country)
  | @Table(name=Countries)
  | public class Country extends Location implements Serializable {
  | 
  | private static final long serialVersionUID = 1L;
  | private long id;
  | private Continent continent;
  | private SetRegion regions;
  | 
  | @Id
  | @GeneratedValue
  | public long getId() {
  | return id;
  | }
  | 
  | public void setId(long id) {
  | this.id = id;
  | }
  | 
  | @OneToMany
  | public SetRegion getRegions() {
  | return regions;
  | }
  | 
  | public void setRegions(SetRegion regions) {
  | this.regions = regions;
  | }
  | 
  | @ManyToOne
  | public Continent getContinent() {
  | return continent;
  | }
  | 
  | public void setContinent(Continent continent) {
  | this.continent = continent;
  | }
  | 

Now I have a XHTML page with h:selectOneMenu items.

The first list all the continents, and on the selection of a continent, I would 
like to enable the country select box and refreshing it with the countries 
located in the selected continent.

I read a lot of documents but I can't manage to get a response on value 
selection.

I have the xHTML form :

  | h:form id=creationForm
  | h:outputText value=Continent:  /
  | h:outputText value=No continent
  | 
rendered=#{creationAction.getNumberOfPossibleContinents()==0} /
  | 
  | h:selectOneMenu 
value=#{creationAction.selectedContinent}
  | 
valueChangeListener=#{creationAction.continentChangeEvent}
  | onchange=this.form.submit()
  | 
rendered=#{creationAction.getNumberOfPossibleContinents()0}
  | 
  | s:selectItems
  | 
value=#{creationAction.getPossibleContinentsList()}
  | var=selectedContinent 
noSelectionLabel=Please Select... /
  | s:convertEntity /
  | /h:selectOneMenu
  | /h:form
  | 

creationAction is defines like this


  | @Stateful
  | @Name(creationAction)
  | @Scope(ScopeType.SESSION)
  | public class creationAction implements ICreation {
  | 
  | private Continent selectedContinent;
  | private ListContinent possibleContinentsList;
  | 
  | @PersistenceContext(type = EXTENDED)
  | private EntityManager entityManager;
  | 
  | public void cancelCreation() {
  | }
  | 
  | @Remove
  | @End
  | public void confirmCreation() {
  | System.out.println(CONFIRM);
  | }
  | 
  | @SuppressWarnings(unchecked)
  | public ListContinent getPossibleContinentsList() {
  | possibleContinentsList = entityManager
  | .createQuery(from Continent 
row).getResultList();
  | 
  | return possibleContinentsList;
  | }
  | 
  | public void addContinent(Continent continent) {
  | }
  | 
  | public Continent getSelectedContinent() {

[jboss-user] [JBoss Seam] - Another h:selectOneMenu and valueChangeListener problem...

2007-11-04 Thread ElNino
Hello,

 I am relatively new with JBoss technologies; I spent a lot of time reading 
books and posts but I spent several days on a very simple thing; others people 
have already explain the same problem on the forum but the proposed solutions 
are not working for me.

My post is quite long cause I prefer giving you a complete presentation of my 
problem.

I'am using

jBoss Seam 2.0.0.CR2
with jboss-4.2.1.GA

I will take a simple example :

I have:

- a continent entity
- a country entity

Of course, continent contains serveral countries and a country is attached to a 
continent :


  | @Entity
  | @Name(continent)
  | @Table(name = Continents)
  | public class Continent extends PersistentEntity implements Serializable {
  | 
  | private static final long serialVersionUID = 1L;
  | private long id;
  | private SetCountry countries;
  | private String name;
  | 
  | public Continent() {}
  | 
  | public Continent(String name) {
  | this.name = name;
  | }
  | 
  | @Id
  | @GeneratedValue
  | public long getId() {
  | return id;
  | }
  | 
  | public void setId(long id) {
  | this.id = id;
  | }
  | 
  | public String getName() {
  | return name;
  | }
  | 
  | public void setName(String name) {
  | this.name = name;
  | }
  | 
  | @OneToMany
  | public SetCountry getCountries() {
  | return countries;
  | }
  | 
  | public void setCountries(SetCountry countries) {
  | this.countries = countries;
  | }
  | 


  | @Entity
  | @Name(country)
  | @Table(name=Countries)
  | public class Country extends Location implements Serializable {
  | 
  | private static final long serialVersionUID = 1L;
  | private long id;
  | private Continent continent;
  | private SetRegion regions;
  | 
  | @Id
  | @GeneratedValue
  | public long getId() {
  | return id;
  | }
  | 
  | public void setId(long id) {
  | this.id = id;
  | }
  | 
  | @OneToMany
  | public SetRegion getRegions() {
  | return regions;
  | }
  | 
  | public void setRegions(SetRegion regions) {
  | this.regions = regions;
  | }
  | 
  | @ManyToOne
  | public Continent getContinent() {
  | return continent;
  | }
  | 
  | public void setContinent(Continent continent) {
  | this.continent = continent;
  | }
  | 

Now I have a XHTML page with h:selectOneMenu items.

The first list all the continents, and on the selection of a continent, I would 
like to enable the country select box and refreshing it with the countries 
located in the selected continent.

I read a lot of documents but I can't manage to get a response on value 
selection.

I have the xHTML form :

  | h:form id=creationForm
  | h:outputText value=Continent:  /
  | h:outputText value=No continent
  | 
rendered=#{creationAction.getNumberOfPossibleContinents()==0} /
  | 
  | h:selectOneMenu 
value=#{creationAction.selectedContinent}
  | 
valueChangeListener=#{creationAction.continentChangeEvent}
  | onchange=this.form.submit()
  | 
rendered=#{creationAction.getNumberOfPossibleContinents()0}
  | 
  | s:selectItems
  | 
value=#{creationAction.getPossibleContinentsList()}
  | var=selectedContinent 
noSelectionLabel=Please Select... /
  | s:convertEntity /
  | /h:selectOneMenu
  | /h:form
  | 

creationAction is defines like this


  | @Stateful
  | @Name(creationAction)
  | @Scope(ScopeType.SESSION)
  | public class creationAction implements ICreation {
  | 
  | private Continent selectedContinent;
  | private ListContinent possibleContinentsList;
  | 
  | @PersistenceContext(type = EXTENDED)
  | private EntityManager entityManager;
  | 
  | public void cancelCreation() {
  | }
  | 
  | @Remove
  | @End
  | public void confirmCreation() {
  | System.out.println(CONFIRM);
  | }
  | 
  | @SuppressWarnings(unchecked)
  | public ListContinent getPossibleContinentsList() {
  | possibleContinentsList = entityManager
  | .createQuery(from Continent 
row).getResultList();
  | 
  | return possibleContinentsList;
  | }
  | 
  | public void addContinent(Continent continent) {
  | }
  | 
  | public Continent getSelectedContinent() {

[jboss-user] [JBoss Seam] - Another h:selectOneMenu and valueChangeListener problem...

2007-11-04 Thread ElNino
Hello,

 I am relatively new with JBoss technologies; I spent a lot of time reading 
books and posts but I spent several days on a very simple thing; others people 
have already explain the same problem on the forum but the proposed solutions 
are not working for me.

My post is quite long cause I prefer giving you a complete presentation of my 
problem.

I'am using

jBoss Seam 2.0.0.CR2
with jboss-4.2.1.GA

I will take a simple example :

I have:

- a continent entity
- a country entity

Of course, continent contains serveral countries and a country is attached to a 
continent :


  | @Entity
  | @Name(continent)
  | @Table(name = Continents)
  | public class Continent extends PersistentEntity implements Serializable {
  | 
  | private static final long serialVersionUID = 1L;
  | private long id;
  | private SetCountry countries;
  | private String name;
  | 
  | public Continent() {}
  | 
  | public Continent(String name) {
  | this.name = name;
  | }
  | 
  | @Id
  | @GeneratedValue
  | public long getId() {
  | return id;
  | }
  | 
  | public void setId(long id) {
  | this.id = id;
  | }
  | 
  | public String getName() {
  | return name;
  | }
  | 
  | public void setName(String name) {
  | this.name = name;
  | }
  | 
  | @OneToMany
  | public SetCountry getCountries() {
  | return countries;
  | }
  | 
  | public void setCountries(SetCountry countries) {
  | this.countries = countries;
  | }
  | 


  | @Entity
  | @Name(country)
  | @Table(name=Countries)
  | public class Country extends Location implements Serializable {
  | 
  | private static final long serialVersionUID = 1L;
  | private long id;
  | private Continent continent;
  | private SetRegion regions;
  | 
  | @Id
  | @GeneratedValue
  | public long getId() {
  | return id;
  | }
  | 
  | public void setId(long id) {
  | this.id = id;
  | }
  | 
  | @OneToMany
  | public SetRegion getRegions() {
  | return regions;
  | }
  | 
  | public void setRegions(SetRegion regions) {
  | this.regions = regions;
  | }
  | 
  | @ManyToOne
  | public Continent getContinent() {
  | return continent;
  | }
  | 
  | public void setContinent(Continent continent) {
  | this.continent = continent;
  | }
  | 

Now I have a XHTML page with h:selectOneMenu items.

The first list all the continents, and on the selection of a continent, I would 
like to enable the country select box and refreshing it with the countries 
located in the selected continent.

I read a lot of documents but I can't manage to get a response on value 
selection.

I have the xHTML form :

  | h:form id=creationForm
  | h:outputText value=Continent:  /
  | h:outputText value=No continent
  | 
rendered=#{creationAction.getNumberOfPossibleContinents()==0} /
  | 
  | h:selectOneMenu 
value=#{creationAction.selectedContinent}
  | 
valueChangeListener=#{creationAction.continentChangeEvent}
  | onchange=this.form.submit()
  | 
rendered=#{creationAction.getNumberOfPossibleContinents()0}
  | 
  | s:selectItems
  | 
value=#{creationAction.getPossibleContinentsList()}
  | var=selectedContinent 
noSelectionLabel=Please Select... /
  | s:convertEntity /
  | /h:selectOneMenu
  | /h:form
  | 

creationAction is defines like this


  | @Stateful
  | @Name(creationAction)
  | @Scope(ScopeType.SESSION)
  | public class creationAction implements ICreation {
  | 
  | private Continent selectedContinent;
  | private ListContinent possibleContinentsList;
  | 
  | @PersistenceContext(type = EXTENDED)
  | private EntityManager entityManager;
  | 
  | public void cancelCreation() {
  | }
  | 
  | @Remove
  | @End
  | public void confirmCreation() {
  | System.out.println(CONFIRM);
  | }
  | 
  | @SuppressWarnings(unchecked)
  | public ListContinent getPossibleContinentsList() {
  | possibleContinentsList = entityManager
  | .createQuery(from Continent 
row).getResultList();
  | 
  | return possibleContinentsList;
  | }
  | 
  | public void addContinent(Continent continent) {
  | }
  | 
  | public Continent getSelectedContinent() {

[jboss-user] [JBoss Seam] - Another h:selectOneMenu and valueChangeListener problem...

2007-11-04 Thread ElNino
Hello,

 I am relatively new with JBoss technologies; I spent a lot of time reading 
books and posts but I spent several days on a very simple thing; others people 
have already explain the same problem on the forum but the proposed solutions 
are not working for me.

My post is quite long cause I prefer giving you a complete presentation of my 
problem.

I'am using

jBoss Seam 2.0.0.CR2
with jboss-4.2.1.GA

I will take a simple example :

I have:

- a continent entity
- a country entity

Of course, continent contains serveral countries and a country is attached to a 
continent :


  | @Entity
  | @Name(continent)
  | @Table(name = Continents)
  | public class Continent extends PersistentEntity implements Serializable {
  | 
  | private static final long serialVersionUID = 1L;
  | private long id;
  | private SetCountry countries;
  | private String name;
  | 
  | public Continent() {}
  | 
  | public Continent(String name) {
  | this.name = name;
  | }
  | 
  | @Id
  | @GeneratedValue
  | public long getId() {
  | return id;
  | }
  | 
  | public void setId(long id) {
  | this.id = id;
  | }
  | 
  | public String getName() {
  | return name;
  | }
  | 
  | public void setName(String name) {
  | this.name = name;
  | }
  | 
  | @OneToMany
  | public SetCountry getCountries() {
  | return countries;
  | }
  | 
  | public void setCountries(SetCountry countries) {
  | this.countries = countries;
  | }
  | 


  | @Entity
  | @Name(country)
  | @Table(name=Countries)
  | public class Country extends Location implements Serializable {
  | 
  | private static final long serialVersionUID = 1L;
  | private long id;
  | private Continent continent;
  | private SetRegion regions;
  | 
  | @Id
  | @GeneratedValue
  | public long getId() {
  | return id;
  | }
  | 
  | public void setId(long id) {
  | this.id = id;
  | }
  | 
  | @OneToMany
  | public SetRegion getRegions() {
  | return regions;
  | }
  | 
  | public void setRegions(SetRegion regions) {
  | this.regions = regions;
  | }
  | 
  | @ManyToOne
  | public Continent getContinent() {
  | return continent;
  | }
  | 
  | public void setContinent(Continent continent) {
  | this.continent = continent;
  | }
  | 

Now I have a XHTML page with h:selectOneMenu items.

The first list all the continents, and on the selection of a continent, I would 
like to enable the country select box and refreshing it with the countries 
located in the selected continent.

I read a lot of documents but I can't manage to get a response on value 
selection.

I have the xHTML form :

  | h:form id=creationForm
  | h:outputText value=Continent:  /
  | h:outputText value=No continent
  | 
rendered=#{creationAction.getNumberOfPossibleContinents()==0} /
  | 
  | h:selectOneMenu 
value=#{creationAction.selectedContinent}
  | 
valueChangeListener=#{creationAction.continentChangeEvent}
  | onchange=this.form.submit()
  | 
rendered=#{creationAction.getNumberOfPossibleContinents()0}
  | 
  | s:selectItems
  | 
value=#{creationAction.getPossibleContinentsList()}
  | var=selectedContinent 
noSelectionLabel=Please Select... /
  | s:convertEntity /
  | /h:selectOneMenu
  | /h:form
  | 

creationAction is defines like this


  | @Stateful
  | @Name(creationAction)
  | @Scope(ScopeType.SESSION)
  | public class creationAction implements ICreation {
  | 
  | private Continent selectedContinent;
  | private ListContinent possibleContinentsList;
  | 
  | @PersistenceContext(type = EXTENDED)
  | private EntityManager entityManager;
  | 
  | public void cancelCreation() {
  | }
  | 
  | @Remove
  | @End
  | public void confirmCreation() {
  | System.out.println(CONFIRM);
  | }
  | 
  | @SuppressWarnings(unchecked)
  | public ListContinent getPossibleContinentsList() {
  | possibleContinentsList = entityManager
  | .createQuery(from Continent 
row).getResultList();
  | 
  | return possibleContinentsList;
  | }
  | 
  | public void addContinent(Continent continent) {
  | }
  | 
  | public Continent getSelectedContinent() {

[jboss-user] [JBoss Seam] - Re: Another h:selectOneMenu and valueChangeListener problem.

2007-11-04 Thread ElNino
Oups, My connection was bad. Sorry for spam.

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

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


[jboss-user] [JBoss Seam] - Re: Another h:selectOneMenu and valueChangeListener problem.

2007-11-04 Thread ElNino
Oups, My connection was bad. Sorry for spam.

PLEASE DO NOT ANSWER IN THIS TOPIC.
ADMINISTRATOR, SORRY FOR THAT..

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

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


[jboss-user] [JBoss Seam] - Re: Another h:selectOneMenu and valueChangeListener problem.

2007-11-04 Thread ElNino
Oups, My connection was bad. Sorry for spam.

PLEASE DO NOT ANSWER IN THIS TOPIC.
ADMINISTRATOR, SORRY FOR THAT..

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

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


[jboss-user] [JBoss Seam] - Re: Another h:selectOneMenu and valueChangeListener problem.

2007-11-04 Thread ElNino
Oups, My connection was bad. Sorry for spam.

PLEASE DO NOT ANSWER IN THIS TOPIC.
ADMINISTRATOR, SORRY FOR THAT..

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

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


[jboss-user] [JBoss Seam] - Test problem with EntityController, waiting online for answe

2007-11-04 Thread Seto
The register component injected a DAO. When the DAO extends EntityController, 
when only one test exists, it runs normal;when two tests or above the second 
test will throw exception that entityManager is closed.When the DAO injects the 
EntityManager directly, doesn't extend the EntityController which encapsulate a 
EntityManager, no matter how many tests exist, it runs normal. Why?


  | package com.kdccn.test;
  | 
  | import static org.testng.Assert.*;
  | 
  | import java.util.*;
  | 
  | import org.testng.annotations.*;
  | 
  | import org.jboss.seam.mock.*;
  | 
  | import com.kdccn.util.*;
  | 
  | public class UserTest extends SeamTest {
  | 
  | @Test
  | public void testLogin() throws Exception {
  | new FacesRequest(/user/login.xhtml) {
  | @Override
  | protected void updateModelValues() {
  | setValue(#{identity.username}, admin);
  | setValue(#{identity.password}, secret);
  | }
  | 
  | @Override
  | protected void invokeApplication() {
  | invokeAction(#{identity.login});
  | }
  | }.run();
  | }
  | 
  | @Test
  | public void testRegister() throws Exception {
  | new FacesRequest(/user/register.xhtml) {
  | @Override
  | protected void updateModelValues() {
  | setValue(#{newUser.email}, [EMAIL 
PROTECTED]);
  | setValue(#{newUser.qq}, 61304189L);
  | setValue(#{newUser.icq}, 259833852L);
  | setValue(#{newUser.kugoo}, 318921L);
  | setValue(#{newUser.msn}, [EMAIL PROTECTED]);
  | setValue(#{newUser.yahoo}, [EMAIL 
PROTECTED]);
  | setValue(#{newUser.google}, [EMAIL 
PROTECTED]);
  | setValue(#{newUser.alipay}, [EMAIL 
PROTECTED]);
  | setValue(#{newUser.wangwang}, setokaiba);
  | setValue(#{newUser.website}, www.kdccn.com);
  | setValue(#{newUser.question}, secret);
  | setValue(#{newUser.answer}, secret);
  | setValue(#{newUser.place}, China);
  | setValue(#{newUser.phone}, +8613763335987);
  | Calendar calendar = Calendar.getInstance();
  | calendar.set(1987, Calendar.DECEMBER, 30);
  | setValue(#{newUser.birthday}, 
calendar.getTime());
  | setValue(#{newUser.description}, Nothing);
  | setValue(#{newUser.firstname}, Seto);
  | setValue(#{newUser.lastname}, Kaiba);
  | setValue(#{newUser.nickname}, Seto);
  | setValue(#{newUser.username}, SetoKaiba);
  | setValue(#{register.password}, secret);
  | setValue(#{register.confirm}, secret);
  | setValue(#{register.gender}, Male);
  | }
  | 
  | @Override
  | protected void invokeApplication() {
  | invokeAction(#{register.register});
  | }
  | 
  | @Override
  | protected void renderResponse() {
  | assertNotNull(getValue(#{newUser.id}));
  | 
assertEquals(getValue(#{newUser.hashedPassword}), Hash
  | .instance().hash(secret));
  | assertTrue((Boolean) 
getValue(#{s:hasRole('user')}));
  | }
  | }.run();
  | }
  | }
  | 

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

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


[jboss-user] [Clustering/JBoss] - SSO between several JBoss instances

2007-11-04 Thread gmeroz
I have several applications, each deployed on a seperate Jboss server. all of 
them are deployed on the same machine, using a different virtual IP addresses.

i tried to configure jboss to enable SSO between them by:

  | 1. copy deploy/all directory for each instance.
  | 2. edit deploy\jbossweb-tomcat55.sar\server.xml  uncomment this line:
  | 
  |   | Valve className=org.jboss.web.tomcat.tc5.sso.ClusteredSingleSignOn
  |   | cookieDomain=192.168.10 debug=2/
  |   | 
  | 
  | 
  | It didn't work. i tried to do it on the jmx-console application as well.
  | 
  | what's missing?

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

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


[jboss-user] [JBoss Portal] - requestParameterMap

2007-11-04 Thread attodorov
Hi guys,

I have a portlet, which is displaying a JSF page, and on the client side on an 
event I submit some parameters in the HTTP request. They are not visible in the 
externalContext() - requestParameterMap , though. 

I imagine this could be normal (i.e. the PortletRequest not showing the 
HttpServletRequest parameters), but only the ones for the portlet ? What is the 
best way (in terms of design and best practices) to access these parameters ? 

Thanks very much. 

Regards,
Angel

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

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


[jboss-user] [Clustering/JBoss] - Re: SSO between several JBoss instances

2007-11-04 Thread [EMAIL PROTECTED]
Please be more descriptive beyond It didn't work.  What exactly did you try 
and what happened?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101589
___
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] [Clustering/JBoss] - Re: SSO between several JBoss instances

2007-11-04 Thread gmeroz
didn't mentioned i'm using version 4.0.5GA...

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

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


[jboss-user] [Clustering/JBoss] - Re: SSO between several JBoss instances

2007-11-04 Thread gmeroz
i created a file, test.html, under the jmx-console.war with the following 
code:


  | html
  | body
  | A href=http://192.168.10.106:8080/jmx-console/index.jsp;app 1/a
  | A href=http://192.168.10.222:8080/jmx-console/index.jsp;app 2/a
  | /body
  | /html
  | 

then i opened it from http://192.168.10.106:8080/jmx-console/test.html  when i 
clicked the app 2 link, the basic authentication popup opened  asked for 
user/password.

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

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


[jboss-user] [EJB/JBoss] - How EJB return virtual page content to JBoss without JSPs

2007-11-04 Thread mirko33
Hello,

I am German and I am not a Programmer.

I must find out, whether and how about an EJB can (after recieving an URL from 
the JBoss) transfer directly a complete virtual page content to an JBoss Server 
without using an JSP file.

The transfered page content might be a complete virtual JSP to be used during 
runtime or a complete virtual HTML-Page to be returned to the web user.

If these transfers are possible, how about and to where does the EJB or the 
container send the virtual page content to the JBoss Server? Does there exist 
an address, protocol or format.

I am stuck in a project without finding the answer. So I would be very happy to 
receive any answer.

Thanks

Mirko from Munich

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

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


[jboss-user] [EJB/JBoss] - Does PHP5 run in a JBoss Server and how does it correspond w

2007-11-04 Thread mirko33
Hello,

I am German and I am not a programmer.

Planing a project I was asked, whether and how about php5 can be executed in 
JBoss Server environment and how a php5 peripheral program can acces or 
correspond with the central EJB.

Any short answers would be very helpful to answer these questions in the 
planing phase of the project.

Thanks

Mirko from Munich

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

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


[jboss-user] [JBoss Seam] - Seam + RichFaces: NPE on SeamELResolver

2007-11-04 Thread odyssee
Hi,

I'm trying RichFaces documantion example on Tomcat (Simple Ajax Echo Project).

On run, i got NPE on SeamELResolver.

4 nov. 2007 16:33:17 com.sun.faces.lifecycle.LifecycleImpl phase
ATTENTION: executePhase(RESTORE_VIEW 1,[EMAIL PROTECTED]) threw exception
java.lang.NullPointerException
at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:166)
at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:53)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
at 
com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
at 
com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:72)
at 
org.ajax4jsf.context.AjaxContext.getCurrentInstance(AjaxContext.java:101)
at 
org.ajax4jsf.application.AjaxViewHandler.createView(AjaxViewHandler.java:83)
at 
com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:203)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)

On debug, I saw that it didn't find org.jboss.seam.core.Init.class from 
applicationContext.

Thanks for help.

(As you see, english is not my mother tongue ;)

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

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


[jboss-user] [JBoss Seam] - Re: s:link builds absolute path

2007-11-04 Thread emsa
I have added a comment to the issue above - this cannot be just a configuration 
issue, can it?

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

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


[jboss-user] [JBoss jBPM] - jBPM @ Novajug

2007-11-04 Thread [EMAIL PROTECTED]
Another shameless plug: http://koentsje.blogspot.com/2007/11/jbpm-novajug.html

Regards,
Koen

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

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


[jboss-user] [JBoss Portal] - deploy of 2.4.1 SP1 portal over 2.4.0 DB

2007-11-04 Thread tolstiy
hello,
in our current configuration we use JBoss AS 4.0.5 GA and Portal 2.4.0 GA. 
Portal DB is persisted inside Oracle 10g.
We tried to upgrade Portal up to 2.4.1 SP1 version. We pointed new installation 
with new Portal into same DB instance 2.4 used. And on Server start up we get 
following exception:
 
007-11-04 18:29:06,468 ERROR 
[org.jboss.portal.cms.hibernate.state.JBossCachePersistenceManager] failed to 
read node state from cache: deadbeef-face-babe-cafe-babecafebabe
java.io.UTFDataFormatException
at java.io.DataInputStream.readUTF(DataInputStream.java:674)
at java.io.DataInputStream.readUTF(DataInputStream.java:610)
at 
org.apache.jackrabbit.core.state.util.Serializer.deserialize(Serializer.java:123)
at 
org.jboss.portal.cms.hibernate.state.JBossCachePersistenceManager.load(JBossCachePersistenceManager.java:477)
at 
org.apache.jackrabbit.core.state.SharedItemStateManager.loadItemState(SharedItemStateManager.java:857)
at 
org.apache.jackrabbit.core.state.SharedItemStateManager.getNonVirtualItemState(SharedItemStateManager.java:784)
at 
org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedItemStateManager.java:207)
at 
org.apache.jackrabbit.core.state.LocalItemStateManager.getNodeState(LocalItemStateManager.java:86)
at 
org.apache.jackrabbit.core.state.LocalItemStateManager.getItemState(LocalItemStateManager.java:141)
at 
org.apache.jackrabbit.core.version.VersionManagerImpl.(VersionManagerImpl.java:160)
at 
org.apache.jackrabbit.core.RepositoryImpl.createVersionManager(RepositoryImpl.java:291)
at org.apache.jackrabbit.core.RepositoryImpl.(RepositoryImpl.java:234)
at 
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:483)
at 
org.jboss.portal.cms.impl.jcr.jackrabbit.JackrabbitJCRService.start(JackrabbitJCRService.java:103)
at org.jboss.portal.cms.impl.jcr.JCRCMS.startJCR(JCRCMS.java:206)
at org.jboss.portal.cms.impl.jcr.JCRCMS.startService(JCRCMS.java:176)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
at 
org.jboss.portal.common.system.AbstractJBossService.start(AbstractJBossService.java:73)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

If needed i can provide a full stack trace. it is very important for us to 
preserve the original portal DB from version 2.4 when running 2.4.1 SP1.
We do not experience problems when 2.4.1 SP1 pointed into empty DB schema.

Please advise.
Dmitry.

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

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


[jboss-user] [JBoss Portal] - Re: deploy of 2.4.1 SP1 portal over 2.4.0 DB

2007-11-04 Thread tolstiy
small addition to my previous post. 
as a result of the exceptions we get following errors by the end of the 
deployment :

--- MBeans waiting for other MBeans ---
ObjectName: portal:service=CMS
  State: FAILED
  Reason: javax.jcr.RepositoryException: failed to read node state from cache: 
deadbeef-face-babe-cafe-babecafebabe: failed to read node state from cache: 
deadbeef-face-babe-cafe-babecafebabe
  I Depend On:
jboss.jca:name=PortalDS,service=DataSourceBinding
portal:service=JAASLoginModule
portal:service=Hibernate,type=CMS
  Depends On Me:
portal:commandFactory=CMSObject
cms.pm.cache:service=TreeCache

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: portal:service=CMS
  State: FAILED
  Reason: javax.jcr.RepositoryException: failed to read node state from cache: 
deadbeef-face-babe-cafe-babecafebabe: failed to read node state from cache: 
deadbeef-face-babe-cafe-babecafebabe
  I Depend On:
jboss.jca:name=PortalDS,service=DataSourceBinding
portal:service=JAASLoginModule
portal:service=Hibernate,type=CMS
  Depends On Me:
portal:commandFactory=CMSObject
cms.pm.cache:service=TreeCache

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

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


[jboss-user] [JBoss Seam] - jboss-seam-1.2.1.GA + Hibernate search

2007-11-04 Thread LockDog
Versions (from jboss-4.0.5.GA log):
anonymous wrote : 2007-11-04 18:09:23,156 INFO  [org.hibernate.ejb.Version] 
Hibernate EntityManager 3.2.0.GA
  | 2007-11-04 18:09:23,671 INFO  [org.hibernate.cfg.annotations.Version] 
Hibernate Annotations 3.2.0.GA
  | 2007-11-04 18:09:23,734 INFO  [org.hibernate.cfg.Environment] Hibernate 
3.2.0.ga

Indexer class:

@Name(indexerService)
  | public class IndexerService {
  | 
  | @In
  | private FullTextEntityManager entityManager;
  | 
  | public void index() {
  | ListBook bookEntries = (ListBook) 
entityManager.createQuery(select b from Book b).getResultList();
  | for (Book b : bookEntries) {
  | entityManager.index(b);
  | }
  | }
  | }

Indexed Entity:


@Entity
  | @Indexed
  | public class Book implements Serializable {
  | 
  | @DocumentId
  | private Long id;
  | 
  | @Field(index = Index.TOKENIZED)
  | private String title;
  | 
  | @Field(index = Index.TOKENIZED)
  | private String authors;
  | ...
  | }


Persistence-dev.xml
?xml version=1.0 encoding=UTF-8?
  | persistence xmlns=http://java.sun.com/xml/ns/persistence;
  |  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |  xsi:schemaLocation=http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd;
  |  version=1.0
  | 
  | persistence-unit name=librarian
  | providerorg.hibernate.ejb.HibernatePersistence/provider
  | jta-data-sourcejava:/librarianDatasource/jta-data-source
  | properties
  | property name=hibernate.hbm2ddl.auto value=create-drop/
  | property name=hibernate.cache.use_query_cache value=true/
  | property name=hibernate.show_sql value=true/
  | property name=jboss.entity.manager.factory.jndi.name 
value=java:/librarianEntityManagerFactory/
  | 
  | !-- use a file system based index --
  | property name=hibernate.search.default.directory_provider
  |   
value=org.hibernate.search.store.FSDirectoryProvider/
  | !-- directory where the indexes will be stored --
  | property name=hibernate.search.default.indexBase
  |   value=/bookindexes2/
  | 
  | /properties
  | /persistence-unit
  | 
  | /persistence

application.xml
?xml version=1.0 encoding=UTF-8?
  | application xmlns=http://java.sun.com/xml/ns/javaee;
  |  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |  xsi:schemaLocation=http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/application_5.xsd;
  |  version=5
  | 
  | 
  | display-namelibrarian/display-name
  | 
  | module
  | web
  | web-urilibrarian.war/web-uri
  | context-root/librarian/context-root
  | /web
  | /module
  | 
  | module
  | ejblibrarian.jar/ejb
  | /module
  | 
  | !-- Seam and EL --
  | module
  | javajboss-seam.jar/java
  | /module
  | module
  | javalucene-core-2.2.0.jar/java
  | /module
  | module
  | javahibernate-commons-annotations.jar/java
  | /module
  | module
  | javahibernate-search.jar/java
  | /module
  | module
  | javael-api.jar/java
  | /module
  | module
  | javael-ri.jar/java
  | /module
  | 
  | !-- jBPM --
  | module
  | javajbpm-3.1.4.jar/java
  | /module
  | 
  | !-- Drools and dependencies --
  | module
  | javadrools-core-3.0.5.jar/java
  | /module
  | module
  | javadrools-compiler-3.0.5.jar/java
  | /module
  | module
  | javajanino-2.4.3.jar/java
  | /module
  | module
  | javaantlr-2.7.6.jar/java
  | /module
  | module
  | javaantlr-3.0ea8.jar/java
  | /module
  | module
  | javacommons-jci-core-1.0-406301.jar/java
  | /module
  | module
  | javacommons-jci-janino-2.4.3.jar/java
  | /module
  | module
  | javastringtemplate-2.3b6.jar/java
  | /module
  | 
  | /application

When i call indexerService.index(), i get exception:


anonymous wrote : 2007-11-04 18:44:47,078 ERROR 
[org.jboss.seam.web.ExceptionFilter] uncaught exception
  | javax.servlet.ServletException: Error calling action method of component 
with id adminForm:index
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
  | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
  | at 

[jboss-user] [Clustering/JBoss] - Re: SSO between several JBoss instances

2007-11-04 Thread [EMAIL PROTECTED]
ClusteredSSO is cookie-based, and by default the browser will only present the 
cookie to the same hostname that issued it. In your case, you are trying to use 
two different host names.

See Limitations discussion in 
http://wiki.jboss.org/wiki/Wiki.jsp?page=SingleSignOn and the bit following it 
about setting a cookie domain.

A workaround is to assign host names to 192.168.10.106 and 192.168.10.222, with 
both hostnames under the same domain.  Then set the cookie domain to that 
domain, and use the host names in your URLs.

If you're just experimenting, you can try setting the cookie domain to . 
(i.e. the whole internet) and  then still use IP addresses in your URLs.  Not 
sure if that would work or not.  Of course you wouldn't want to configure a 
real system that way.

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

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


[jboss-user] [Beginners Corner] - Re: build failed

2007-11-04 Thread gdwinslow
the problum appers to be in the CallableStatement implementation class.  Its 
changed.  I am having the same problum exept sun upgraded me mauchean 
automaticly.  I am in the proses of trying to reinstall java 5 now

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

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


[jboss-user] [JBoss Seam] - Re: Charts

2007-11-04 Thread aloleary
Trinidad unfortunately (or fortunately depending on your situation) is SVG 
based, therefore only supports newer browsers and IE through an Adobe plugin.

What I am looking for, related to this, is if anyone know of an existing open 
source project that takes JFreeChart and brings it into the Ajax/JSF world ?... 
I know there are commercial implementations (ILog JViews) but I would prefer to 
use an open source package that allows me to both have the ability to modify 
the code and contribute to the project.

Any information/pointers to an Ajax enabled charting solution for the JBoss 
'stack' : JBoss/Seam/RichFaces ...

I really like JFreeChart and have used it for many years... I would love to see 
a solution based around that software... I know the future is SVG but its not 
an option for me to enforce end users using a plugin

Thanks in advance

-A-

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

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


[jboss-user] [JBossWS] - Re: Retrieving alias for WS Secure client

2007-11-04 Thread kaprys
Hi,
I'm having very identical problem. I would like to authenticate the connecion 
with webservice using x509 certificate. Many clients will connect to 
webservice. Every client will have their own certificate. Webservice should 
recognize with client is connecting to him after getting the name from 
certificate. 
And here I have two problems. First problem is that I really don't know whether 
I configure the authentication to webservice in a good way.
And the second problem is that I don't know how to get then certificate from 
MessageContext.
I found such example:
@Resource
WebServiceContext ctx;

...

MessageContext msg = ctx.getMessageContext();
HttpServletRequest req = (HttpServletRequest) 
msg.get(MessageContext.SERVLET_REQUEST);
X509Certificate[] certificates = (X509Certificate[]) 
req.getAttribute(javax.servlet.request.X509Certificate);
if (certificates != null) {
X509Certificate cert = certificates[0];
Principal clientDN = cert.getSubjectDN();
String name = clientDN.getName()
}

And every time certificates is null.

Could anybody help me??
Maybe you know any tutorial where is shown how to configure the webservice to 
make a authentication via certificate because I don't have any idea what to do 
:(

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

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


[jboss-user] [JBoss Seam] - error en property/getter

2007-11-04 Thread fphilip
LoginForm.java

public String login(){
identity.login();
}


login.xhtml
...
ui:include src=/incl/command-panel.xhtml
ui:param name=actionId value=loginButton/
ui:param name=actionMessage value=Login/
ui:param name=actionCommand value=#{login.login}/
 /ui:include
...
command-panel.xhtml

h:commandButton id=#{actionId} action=#{actionCommand} 
value=#{actionMessage}/



and the error is :
Property 'login' not found on type packageLoginForm_$$_javassist_??


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

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


[jboss-user] [JBoss Seam] - Re: seam and rich faces 3.1.2

2007-11-04 Thread [EMAIL PROTECTED]
There are some notes in the seam2migration guide as well in Seam2 CR3

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

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


[jboss-user] [JBoss Seam] - Re: JBoss Tools 2.0.0 and Eclipse compatibility

2007-11-04 Thread [EMAIL PROTECTED]
Discuss this on the JBoss Tools forum.

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

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


[jboss-user] [JBoss Seam] - Re: Concurrent requests on SFSB

2007-11-04 Thread [EMAIL PROTECTED]
@Synchronized will do this.

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

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


[jboss-user] [JBoss Seam] - Re: Using EL in backend Java code?

2007-11-04 Thread [EMAIL PROTECTED]
wschwendt wrote : [EMAIL PROTECTED] wrote : soon we will have a lovely new 
forum :)
  | 
  | But please keep this old forum as an archive. It would be a pity if all   
booksmarks to valuable posts on this forum got lost.

Of course :)

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

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


[jboss-user] [JBoss Seam] - Re: Conversation Propogation on Redirect

2007-11-04 Thread [EMAIL PROTECTED]
Simply, no.

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

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


[jboss-user] [JBoss Seam] - Re: actionListener vs action and redirect

2007-11-04 Thread [EMAIL PROTECTED]
Post code to show your problem.  Both actionListeners should do the same thing, 
just the RichFaces one suffers from less good english ;) Or ask on the 
RichFaces forum.

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

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


[jboss-user] [JBoss Seam] - Re: problem with @Redirect

2007-11-04 Thread [EMAIL PROTECTED]
http://docs.jboss.org/seam/2.0.0.CR3/reference/en/html/events.html#d0e4417

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

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


[jboss-user] [JBoss Seam] - Re: Another conversation question ...

2007-11-04 Thread [EMAIL PROTECTED]
You've outjected a variable into conversation scope and as you are in the same 
conversation the original value is still there and not recreated.

Try using an afterTransactionSuccess event as documented here  
http://docs.jboss.org/seam/2.0.0.CR3/reference/en/html/framework.html#d0e6304

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

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


[jboss-user] [JBoss Seam] - Re: AbstractResource subclass gets ClientAbortException writ

2007-11-04 Thread [EMAIL PROTECTED]
Thats what I meant you should do. Not sure then, sorry...

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

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


[jboss-user] [JBoss Seam] - Re: HTTPS redirection

2007-11-04 Thread [EMAIL PROTECTED]
rjstanford wrote : Actually, what would be great (but not helpful for us at 
the moment) would be if the Pages.getRequestUrl() method was actually 
overridable.  That way, for those of us with offloaded SSL, we could simply 
check a header (or whatever) and report back, Yes, this was sent as SSL.  
That would allow the use of the scheme= attribute in pages.xml, which is 
really great.

Add a feature request for a way to customise SSL detection, this seems like a 
reasonable thing to want to do. I don't know how Shane will decide to implement 
it though ;)

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

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


[jboss-user] [JBoss Seam] - Re: Running SeamTest-based tests inside an applicatoin serve

2007-11-04 Thread [EMAIL PROTECTED]
Override the startJBossEmbededdedIfNecessary method with an empty body.

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

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


[jboss-user] [JBoss Seam] - Re: pages.xml action method fired on ajax requests - must be

2007-11-04 Thread [EMAIL PROTECTED]
I'm not really in love with the idea.

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

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


[jboss-user] [JBoss Seam] - Re: Exception on timeout due to Hibernate Filter

2007-11-04 Thread [EMAIL PROTECTED]
You are going to have to use your debugger to find out what that NPE in 
Facelets is trying to reference.

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

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


[jboss-user] [JBoss Seam] - commandButton and pageflow transition....

2007-11-04 Thread fphilip
how i do to makes that commandButton works without java code in pageflow


h:commandButton id=cancel value=#{messages.cancel} 
action=#{actionName.cancel}/

and in java
public String cancel(){
return cancel;
}

this works, but
h:commandButton id=cancel value=#{messages.cancel} action=cancel/

dosen't works.. any idea?

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

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


[jboss-user] [JBoss Seam] - Re: commandButton and pageflow transition....

2007-11-04 Thread [EMAIL PROTECTED]
Post the pageflow, 

h:commandButton id=cancel value=#{messages.cancel} action=cancel/  
should work.

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

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


[jboss-user] [JBoss Seam] - Re: Seam + RichFaces: NPE on SeamELResolver

2007-11-04 Thread [EMAIL PROTECTED]
Is this a Tomcat with JBoss Embedded installed and another Seam app in webapps? 
I would try on a clean tomcat install

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

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


[jboss-user] [JBoss Seam] - Re: error en property/getter

2007-11-04 Thread [EMAIL PROTECTED]
Use [ code ] tags, post the whole of LoginForm

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - JBoss 5 native library integration

2007-11-04 Thread johne
I am developing a library which allows access to an OO database (JADE, see 
www.jadeworld.com) from Java. It uses the EJB JPA interfaces 
(EntityManagerFactory etc) with an implementation of 
javax.persistence.spi.PersistenceProvider as the link to the EE app server. The 
application persistence.xml file has an entry 
com.jadeworld.jade.entitymanager.PersistenceProvider and the app server creates 
an instance of this which in turn creates an EntityManagerFactory. This links 
to a C++ DLL which does the actual access between Jade and Java. It works using 
Java SE and on the Sun app server by just copying the Java library to the 
appropriate server lib directory and having the DLL and associated binaries in 
the path.
Using JBoss 5 beta 2 and copying the library jar file to lib\endorsed, it 
creates the EMF OK but it gets an exception:
java.lang.UnsatisfiedLinkError: no javajom in java.library.path (javajom.dll 
is the C++ DLL) regardless of what I do including having this in the PATH and 
setting the JAVA_OPTS variable to -Djava.library.path=path to DLL.
Is there some additional configuration required to make this work?

Thanks
John Eyers

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

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


[jboss-user] [JBoss Seam] - Re: Seam with WAS 6.1 EJB3 feature pack

2007-11-04 Thread vietbird
By adding all the dependent jar filenames to the Class-Path inside the MANIFEST 
file of the example jar file (jboss-seam-jee5.jar), I can successfully deploy 
the JEE5 booking example on WAS.
But when I try to run the example, there is an error as following:

On the browser screen:
Error 500: 
org/jboss/seam/ui/component/UISeamCommandBase.getValueExpression(Ljava/lang/String;)Ljavax/el/ValueExpression;

And in the SystemOut.log:

[5/11/07 09:28:26:289 EST] 0020 compiler  I   Added Library from: 
wsjar:file:/C:/IBM/WebSphere/AppServer/profiles/LTRAN/installedApps/wsd25Node02Cell/Booking_EE5.ear/seam_jee5.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml
[5/11/07 09:28:26:648 EST] 0020 ServletWrappe E   SRVE0068E: Uncaught 
exception thrown in one of the service methods of the servlet: Faces Servlet. 
Exception thrown : java.lang.NoSuchMethodError: 
org/jboss/seam/ui/component/UISeamCommandBase.getValueExpression(Ljava/lang/String;)Ljavax/el/ValueExpression;
at 
org.jboss.seam.ui.component.UISeamCommandBase.getUrl(UISeamCommandBase.java:86)
at 
org.jboss.seam.ui.renderkit.LinkRendererBase.doEncodeBegin(LinkRendererBase.java:26)
at 
org.jboss.seam.ui.util.cdk.RendererBase.encodeBegin(RendererBase.java:79)
at 
javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:717)
at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242)
at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:594)
at 
org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
at 
org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
at 
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:220)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:995)
at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
at 
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:150)
at 
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
at 
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
at 
com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
at 
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:768)
at 
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:676)
at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
at 
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:486)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3276)
at 
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
at 
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
at 
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
at 
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
at 
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at 
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at 

[jboss-user] [JBoss jBPM] - too many mysql connections

2007-11-04 Thread rossputin
Hi,

I am hoping someone can give me a little advice and help with database 
performance (Mysql) with jbpm 3.2.1.  I have searched this forum but not found 
a large amount of data on the topic, although I did see one post about adding 
DBCP connection pooling to hibernate.  Specifically, in stress testing, we 
recently tested with around 100 users, incidentally mysql was configured for 
100 max connections, and I assumed that connection pooling was in place, is 
this the case?
  
We got the well known ?too many connections? error anyway, and I am looking for 
ways to close ?sleeping? connections.  When looking at the database ?mysql 5.x? 
with the gui tools, I see connections remain in sleep mode with the time field 
value increasing.  As I click around in different areas in our web app so I see 
more connections appearing.
We developed our webapp modelled closely on the jbpm-console sample in 3.2.1.

We have upped the max connections in mysql, but I would still like to know 
whether anyone has set up connection pooling with jbpm-3.2.1 and mysql, and if 
there is a way to periodically sweep for and close these sleeping connections?

I read the documentation, but could not get a big picture of how the database 
works from it.

Thanks for your help in advance,

regards

Ross

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

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


[jboss-user] [JBoss Seam] - Re: HTTPS redirection

2007-11-04 Thread [EMAIL PROTECTED]
I think I like Matt's idea of overriding HttpServletRequest.getScheme() in a 
filter.  In my opinion, that would be the preferred method.

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

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


[jboss-user] [JBoss Portal] - Refreshing user membership information without logoff

2007-11-04 Thread asyedin
Hi,
I faced the problem trying to change membership of currently logged in user.

I have a page Page_A, which has access limited only for users in role Role_A, 
and a User_A, which is not in this role. Then I perform following steps:

1. I login as User_A. I don't see Page_A in navigation area, where 
CatalogPortlet is displayed, and this is OK.
2. Then I add User_A to the Role_A (this is done from another browser instance 
where I'm logged in as admin).
3. As a User_A I hit Refresh in a browser, and I still do not see Page_A in 
navigation area, which seems to be wrong.
4. Attempt to access Page_A directly by constructing URL gives me the 403 
error, which means that problem is not only in CatalogPortlet caching user's 
privileges.
5. I'm logging of the User_A and logging in again as User_A. I can see the 
Page_A - this is OK
6. I remove user from ROLE_A - and i still have access to PAGE_A, till the next 
logoff/login.

So, my guess is that user's privileges/membership information is cached until 
next user's login.

I use out-of-the-box JBoss Portal 2.6.2 (using default Hibernate implementation 
of User/Role/Membership modules).

I've seen the issue http://jira.jboss.com/jira/browse/JBPORTAL-1708 - Identity 
APIs should invalidate cache on update/change of role membership, and tried 
proposed workaround, turning both query caching and second level cache, but had 
no luck.

Have I missed something? Is this a bug, or expected behavior?
If this is expected behavior, is there a way to get rid of such caching?
It really stops me from implementing flexible access control with assigning 
different roles to user on-the-fly programatically. 

Thanks in advance.

-- 
Alexander Syedin

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

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


[jboss-user] [JBoss Seam] - Re: Login Restriction servlets?

2007-11-04 Thread [EMAIL PROTECTED]
The login-required attribute in pages.xml is only for pages, not servlets.  If 
you want to restrict access to a servlet then you'll probably need to write a 
custom filter.

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

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


[jboss-user] [JBoss Seam] - Re: Remoting behaviour

2007-11-04 Thread [EMAIL PROTECTED]
What happens when you just make it a POJO?

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

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


[jboss-user] [JBoss Seam] - Re: HTTPS redirection

2007-11-04 Thread kukeltje
getScheme does not work on all appservers with a reverse proxy in front of it 
(afaik). So I tend to vote for pete's proposal to make it customizable, where 
the getScheme is the default impl.

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

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


[jboss-user] [JBoss Seam] - Trouble deploying Seam application in JBoss 4.2.2

2007-11-04 Thread tnabeel
I get the error below when I deploy the default Seam web project generated by 
Red Hat Studio Beta 2. I'm using JBoss 4.2.2. I couldn't get rid of the error 
by using latest ajax4jsf library (ajax4jsf-1.1.1). Any help would be 
appreciated. 

07-11-04 19:56:11,534 ERROR [STDERR] javax.faces.FacesException: 
org.ajax4jsf.framework.DebugLifecycleFactory 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:569) 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:448) 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
javax.faces.FactoryFinder.getFactory(FactoryFinder.java:249) 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:805) 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:486) 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:381)
 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69)
 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856)
 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4361) 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790) 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770) 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:585) 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296) 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
org.apache.catalina.core.StandardContext.init(StandardContext.java:5312) 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:585) 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296) 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
org.jboss.web.WebModule.startModule(WebModule.java:83) 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
org.jboss.web.WebModule.startService(WebModule.java:61) 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source) 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:585) 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
 
2007-11-04 19:56:11,534 ERROR [STDERR] at 
org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) 
2007-11-04 19:56:11,534 ERROR [STDERR] at 

[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B

2007-11-04 Thread juntao
modoc,

Persistence Quartz job store can be defined in seam.quartz.properties file in 
your classpath.

Please let me know if this does not work.

cheers
Michael

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

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


[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B

2007-11-04 Thread modoc
Michael,

thanks for your reply.

Yes, I have done that, however I get this error:

java.lang.ClassNotFoundException: No ClassLoaders found for: 
org.jboss.seam.async.AsynchronousInvocation 

My application is very simple, and I've only recently started building it.  
It's using a seam-gen created framework.

My seam.quartz.properties file looks like this:



  | 
#
  | # Configure Main Scheduler Properties  
  | 
#
  | 
  | org.quartz.scheduler.instanceName Sched1
  | org.quartz.scheduler.instanceId AUTO
  | org.quartz.scheduler.rmi.export false
  | org.quartz.scheduler.rmi.proxy false
  | 
  | 
#
  | # Configure ThreadPool  
  | 
#
  | 
  | org.quartz.threadPool.class org.quartz.simpl.SimpleThreadPool
  | org.quartz.threadPool.threadCount 100
  | 
  | 
#
  | # Configure JobStore  
  | 
#
  | 
  | org.quartz.jobStore.misfireThreshold 6
  | 
  | org.quartz.jobStore.class org.quartz.impl.jdbcjobstore.JobStoreTX
  | org.quartz.jobStore.driverDelegateClass 
org.quartz.impl.jdbcjobstore.PostgreSQLDelegate
  | org.quartz.jobStore.useProperties false
  | org.quartz.jobStore.dataSource sitemonitorDS
  | org.quartz.jobStore.tablePrefix qrtz_
  | 
  | 
#
  | # Configure Datasources  
  | 
#
  | 
  | org.quartz.dataSource.sitemonitorDS.jndiURL java:/sitemonitorDatasource
  | 
  | 

My scheduled method looks like this:



  | @Asynchronous
  | @Transactional
  | public QuartzTriggerHandle scheduleSiteCheck(@Expiration
  | Date pWhen, @IntervalDuration
  | Long pInterval, Long pSiteId) {
  | Site site = (Site) entityManager.createQuery(from Site where id = 
:id).setParameter(id, pSiteId)
  | .getSingleResult();
  | checkSite(site);
  | return null;
  | }
  | 
  | 

The only errors I see are related to the error I mentioned above.

Any ideas?

Thanks!

Devon

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

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


[jboss-user] [JBoss Seam] - Re: HTTPS redirection

2007-11-04 Thread modoc
You could also use RewriteCond and RewriteRule on the apache instances (if 
you're using apache with ssl after the BigIP, otherwise I think the F5 can be 
configured to do this as well) to enforce this.  Obviously it would be nice to 
have this handled with in the application, but if you need a quick fix that's 
easier than re-encrypting the connection to the JBoss server that might work.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Is there any API that can be used for configuration at runti

2007-11-04 Thread vola
Hi everyone,

I am trying to configure the JBoss AS 4.0.5 to see if it is possible to 
increase its capacity when the load is high.

I know that I can modify some xml files (e.g. service.xml, service-config.xml) 
to configure the JBoss AS. These can change the max thread numbers and max 
memory. I am building an autonomic application. So I was wondering if JBoss 
provides any API to configure these parameters?

In addition, will these modifications be effective immediately? Or, the JBoss 
AS has to restart to make the effecting happen? 

I read through the javadoc of 4.0.5. It seems like ServiceConfigurator class is 
used for this purpose. Am I correct? 

Thank you very much


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

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


[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B

2007-11-04 Thread juntao
Devon,

Hmm, the nasty classloader problem ... Are you running this inside JBoss AS? 
Are you using EAR or WAR deployment?

Also, can you try the examples/quartz example and see if it works in your 
setup? Thanks.

cheers
Michael

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

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


[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B

2007-11-04 Thread modoc
I'm using JBoss 4.2.2, and an ear deployment.

The quartz example I see only uses a Ram store.  

When I had my application using the Ram store it worked fine.  It's only when I 
changed over to persist the jobs that the error occurred.

Thanks!

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

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


[jboss-user] [JBossWS] - problem with calling ssl web service

2007-11-04 Thread hugo_th02
Hello all,
I've successfully deploy jboss web service using ssl. But when calling this ssl 
web service from standalone client, i got error at client side as follow:

Exception in thread main javax.xml.ws.WebServiceException: 
java.io.IOException: Could not transmit message
  | at 
org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:304)
  | at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:242)
  | at 
org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:164)
  | at 
org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
  | at $Proxy10.sslMethod(Unknown Source)
  | at jb.secure.ws.client.TestMain.main(TestMain.java:26)
  | Caused by: java.io.IOException: Could not transmit message
  | at 
org.jboss.ws.core.client.RemotingConnectionImpl.invoke(RemotingConnectionImpl.java:192)
  | at 
org.jboss.ws.core.client.SOAPRemotingConnection.invoke(SOAPRemotingConnection.java:77)
  | at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:322)
  | at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:230)
  | ... 4 more
  | Caused by: org.jboss.remoting.CannotConnectException: Can not connect http 
client invoker.
  | at 
org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:332)
  | at 
org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:135)
  | at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
  | at org.jboss.remoting.Client.invoke(Client.java:1550)
  | at org.jboss.remoting.Client.invoke(Client.java:530)
  | at 
org.jboss.ws.core.client.RemotingConnectionImpl.invoke(RemotingConnectionImpl.java:171)
  | ... 7 more
  | Caused by: org.jboss.ws.WSException: Invalid HTTP server response [401] - 
Unauthorized
  | at 
org.jboss.ws.core.soap.SOAPMessageUnMarshaller.read(SOAPMessageUnMarshaller.java:72)
  | at 
org.jboss.remoting.transport.http.HTTPClientInvoker.readResponse(HTTPClientInvoker.java:472)
  | at 
org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:304)
  | ... 12 more
  | 

what does it mean, and how to solve this? Please help me.
Thanks.

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

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


[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException on PortableRemoteObject.narrow(object

2007-11-04 Thread lavkul
I have already seen using System.out and it prints the correct details of EJB's.

I have deployed similar application GlassFish and it works, but I really wonder 
why does it not work on JBoss. I Guess JBoss needs some additional 
configuration.

Which JBoss version are you using? I am using 4.2.x

-Lave Kulshreshtha

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: migrating from 3.2.3 to 4.0.2

2007-11-04 Thread xps2nini2000
Hi All
   Its again me.Pls Help  me .The same code is working fine on other m/c but on 
my m/c which is having the same setup as the previus one Its giving exception 
illegal state execption.detail of exception Are:

04:27:58,018 INFO  [STDOUT] **Error found in TranslateDirect
..java**with Logina error java.sql.SQLException: Connect
ion handle has been closed and is unusable
04:27:58,018 INFO  [STDOUT] Exception in TranslateDirect.javajava.sql.SQLExcepti
on: Connection handle has been closed and is unusable
04:27:58,018 INFO  [STDOUT] Going to Translate.jsp from TranslateDirectServlets
04:27:58,018 ERROR [[TranslateDirect]] Servlet.service() for servlet TranslateDi
rect threw exception
java.lang.IllegalStateException
at org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFac
ade.java:423)
at TranslateDirect.doPost(TranslateDirect.java:1519)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)



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

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


[jboss-user] [JBoss Seam] - Autologin cookie extension to Identity component

2007-11-04 Thread jghayward
Has anyone tried to extend the Identity component to auto-login a user based on 
a cookie?  This would allow clients to login once and the cookie would let them 
in for some period of time longer than a session (often a day or a week for 
example).

I can see how I would extend Identity to do this, but I have not found how to 
tell Seam to instantiate my own custom Identity sub-class.

anyone, anyone... buhler?



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

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


[jboss-user] [JBoss Portal] - Re: Jboss Portal installation errors

2007-11-04 Thread sbarreros
Any ideas? I followed the installation guide to install the portal... I don't 
know why this is not working ???

I am looking into implementing a form of portal for my company I would really 
like this to work, so we don't have to change to another server.

THanks


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

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


[jboss-user] [JBoss Portal] - Re: Jboss Portal installation errors

2007-11-04 Thread sbarreros
One more thing I am using jdk 1.5.0 I think this should be fine, correct?
I have also read that the portal uses EJB3 Do I need to install something 
separate or should jboss be able to run EJB3??

Thanks again

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

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


[jboss-user] [JBoss Seam] - Re: Autologin cookie extension to Identity component

2007-11-04 Thread matt.drees
It's pretty simple.  You just need to @Name your subclass the same as Seam's 
built-in identity component (org.jboss.seam.security.identity).

(It needs to have a higher precedence, but the default precdence -- APPLICATION 
-- is higher than the built-in one, so you don't need to specify one)

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

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


[jboss-user] [JBoss Seam] - Queries with optional arguments

2007-11-04 Thread EricJava
I've got a Seam application, and now I'm writing the search page.  It has 
advanced search options.  For example, there is a drop-down where the user can 
select the customer, so it will only find records for that customer.  If the 
drop-down isn't used, it will find records from any customer.

An obvious way to do this is logic like:

if(selectedCustomer != null) 
  |   queryString += and invoice.customer = :customer ;
  |// note the space at the end 

followed by:

if(selectedCustomer != null)
  |   query.setParameter(customer, selectedCustomer);

This is clunky, run-time debugged, error-prone.  Leave off a space at the end, 
and it's a bug that might not show up until just the right parameters are set.  
This looks like the old days of hand-assembled SQL mess.

In Hibernate, there was an object-oriented query construction system, called 
Criteria queries, where you can add terms to the query by creating objects 
(sub-classes of Criteria).  That would be a natural way to do this type of 
advanced search thing, but I'm not seeing an EJB way to do it.

Does my question make sense?  And is there a good solution, other than the 
obvious one of having if statements for both putting together the query string, 
and then a second time for adding params?

(As an aside, it seems like Hibernate had a lot of nice features that didn't 
make it into EJB 3.  I realize that Hibernate is the underpinning of JBoss 
EJB3, but it's a shame some of these features didn't make it.)


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - 5.0beta3: When?

2007-11-04 Thread Juergen.Zimmermann
Is there an *approximate* date when 5.0beta3 will be available, e.g. beginning 
of Dec. or middle of Jan.?

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

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


[jboss-user] [JBoss Portal] - Re: Open URls required !!

2007-11-04 Thread pradeepherle
Hi,

Kindly can you send me the open urls in Jboss, so that I can check, how in my 
application it reflects. Do send it to my mail address.

Waiting for your early reply.

Mail id: [EMAIL PROTECTED]

Regards
Pradeep

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

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


[jboss-user] [JBoss jBPM] - Role based Group assignment API

2007-11-04 Thread jbpmIndia
Hi All,
I am using jbpm-3.1.3
Is there any API for role based Group assignment in jBPM ?

Thanks

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

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


[jboss-user] [JBoss Portal] - Re: order of portlets in page layout not maintained once the

2007-11-04 Thread relatedtowork
hi Thomas,

i did the following :
 if-existskeep/if-exists
  parent-refdefault.default/parent-ref

But the solution doesnt work for me.

Is there some other way?

Please help.

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

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


[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B

2007-11-04 Thread modoc
To be more specific (I only copied the exception from the thread earlier, what 
I get is:

org.quartz.JobPersistenceException: Couldn't recover jobs: Couldn't store 
trigger: No ClassLoaders found for: org.jboss.seam.async.AsynchronousInvocation


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

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


[jboss-user] [JBoss Seam] - @DataModelSelection help

2007-11-04 Thread Kragoth
Hi all,

I have a really simple question and I've tried and tried to find the answer and 
I'm sure it's on the forum already but all the examples and similar posts 
I've found have not fixed my problem so... Im sorry if this answered somewhere 
else but


Why!!! does my DataModelSelection automatically select the first item in the 
DataModel when I check if it is null?

for example I'm trying to set the rendered attribute on a component based on 
wether or not the DataModelSelection is null. But by doing this check it 
automatically selects the first item in the DataModel!

How can I stop this?

Currently I have a work around by using the DataModelSelectionIndex which does 
not have this behaviour.
But using this makes my code a lot messier and harder to read.


Thanks

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

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


[jboss-user] [JBossWS] - Re: problem with calling ssl web service

2007-11-04 Thread [EMAIL PROTECTED]
Hi,

   you have to setup stub properties:

MyService port = (MyService)service.getPort(portName, MyService.class);
  | Stub stub = (Stub)port;
  | stub._setProperty(Stub.USERNAME_PROPERTY, USERNAME);
  | stub._setProperty(Stub.PASSWORD_PROPERTY, PASSWORD);
  | port.myMethodCall();
  | 

Richard

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: JBoss 4.2.1 GA Remote Access

2007-11-04 Thread Veroland
The problem with the -b flag is server wide, we have 2 web apps running on one 
instance at the moment and want to allow only a certain ip range to access the 
one web app whereas the other one needs to allow all.

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

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


[jboss-user] [JBossWS] - Re: NoSuchMethodError exception on webservice invocation

2007-11-04 Thread [EMAIL PROTECTED]
Hi,

   the ClassLoader will be the difference.

Richard

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

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


[jboss-user] [JBossWS] - Initializing parameters in a webservice

2007-11-04 Thread alfred.rsa
Hi guys

I want to be able to add init-params or something similar to my deployment 
descriptor and access it from my webservice (through injection if possible)
If I add the following to my web.xml:
init-param
param-namedispatcherName/param-name

param-valueFNB.Commercial.BFLo:service=JMSDataDispatcherService/param-value
/init-param

How can I access them ein my web service? 
I use annotated webservices.

Regards
Alfred


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

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