[jboss-user] [JBoss Portal] - JBoss Portal basic question

2008-03-25 Thread hubaghdadi
Hi.
We have HEE application deployed on BEA WebLogic 10 application server and we 
are going to employ JBoss Portal.
Can we deploy JBoss Portal on WebLogic?
Is it possible to call an EJB deployed on WebLogic from portlets?
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138640#4138640

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138640
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: setParameter() and setPageParameter()

2008-02-12 Thread hubaghdadi
I have something like:

  | 
  |   
  |   
  |   
  |   
  | 
  | 
In this case, firstName and lastName are page parameters or request parameters? 
and why?
Sorry, but I didn't get what is the difference.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128612#4128612

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128612
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - When to pass view id to FacesRequest/NonFacesRequest ?

2008-02-11 Thread hubaghdadi
Hi.
FacesRequest and NonFacesRequest classes have two constructors, one that 
accepts no parameters and one that accepts view id (well, a third constructor 
exits).
For writing integration tests, when I have to pass the view id to FacesRequest 
and NonFacesRequest? any rule?
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128264#4128264

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128264
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - setParameter() and setPageParameter()

2008-02-11 Thread hubaghdadi
Hi.
What is the difference between setParameter() and setPageParameter()?
I was writing an integration test for a page that accepts a page parameter and 
page action method.
To set the parameter, I used setParameter(), it works but when swapped it for 
setPageParameter() it doesn't.
When to use each method?
Thanks.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128263#4128263

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128263
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Schema generated via Hibernate, sequence issue?

2008-02-09 Thread hubaghdadi
Hi.
I got my database schema generated for PostgreSQL database via Hibernate 
annotations.
The schema generated tables definitions and one sequence definition called: 
hibernate_sequence
I wrote a couple of SQL text files to populate the database, I run those files 
via Apache Ant.

  | insert into books values (1, '...', '...', '...');
  | insert into books values (2, '...', '...', '...');
  | insert into categories values (1, '...', '...', '...');
  | insert into categories values (2, '...', '...', '...');
  | 
I start to smell some kind of disaster...
I shouldn't hard code IDs by hand as I did, I have to use hibernate_sequence to 
populate all IDs in all tables, right?
If it is so, any ideas how to do it with my SQL files and Ant?
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128151#4128151

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128151
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Error while testing using external database

2008-02-09 Thread hubaghdadi
Hi
It works now!!
In hibernate.cfg.xml, I changed:

  | ArmadaSeamProjectDatasource
  | 
to:

  | java:/ArmadaSeamProjectDatasource
  | 
And for injected Seam-managed hibernate sessions, names should be the same in 
components.xml and Java code, for example:

  | 
  | 
  | @In
  | private Session hibernateSession;
  | 
Thank you all and special thanks for Mr. Pete.Muir, you showed an exceptional 
patience. :)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128150#4128150

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128150
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Error while testing using external database

2008-02-06 Thread hubaghdadi
Since I'm trying to run integration test, no JBoss AS is evolved, just JBoss 
Embedded container, right?
So, which file to adjust in my case?
Thank you.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126899#4126899

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126899
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Error while testing using external database

2008-02-05 Thread hubaghdadi
Hey Sir,
Would you please telling me in which file should I turn the logging up to info?
Appreciate your time and your kind help.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126879#4126879

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126879
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Error while testing using external database

2008-02-04 Thread hubaghdadi

  | test:
  |[testng] 
  | [Parser] Running:
  |
  | [testng]   /media/sda4/Projects/ArmadaSeamProject/test-build/NGTest.xml
  |[testng] 
  |[testng] WARN  04-02 17:12:10,995 
(UnifiedLoaderRepository3.java:addClassLoader:713)  -Tried to add 
non-URLClassLoader.  Ignored
  |[testng] WARN  04-02 17:12:12,935 (TxControl.java::302)  
-[com.arjuna.ats.arjuna.coordinator.TxControl_1] - Name of XA node not defined. 
Using 7f000101:ed97:47a79bcc:0
  |[testng] WARN  04-02 17:12:15,051 
(AspectManagerService.java:baseAop:228)  -Could not find base-aspects.xml file 
in the resources of [EMAIL PROTECTED]
  |[testng] WARN  04-02 17:12:17,722 
(SecurityMetadataStore.java:checkDefaultSuckerPassword:311)  -WARNING! 
POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component 
which sucks messages from one node to another has not had its password changed 
from the installation default. Please see the JBoss Messaging user guide for 
instructions on how to do this.
  |[testng] WARN  04-02 17:12:17,977 
(ConnectionFactoryJNDIMapper.java:registerConnectionFactory:155)  
-supportsFailover attribute is true on connection factory: 
jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post 
office is non clustered. So connection factory will *not* support failover
  |[testng] WARN  04-02 17:12:17,978 
(ConnectionFactoryJNDIMapper.java:registerConnectionFactory:161)  
-supportsLoadBalancing attribute is true on connection factory: 
jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post 
office is non clustered. So connection factory will *not* support load balancing
  |[testng] FAILED CONFIGURATION: @BeforeClass init
  |[testng] org.hibernate.HibernateException: Could not find datasource
  |[testng] at 
org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:56)
  |[testng] at 
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
  |[testng] at 
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
  |[testng] at 
org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:414)
  |[testng] at 
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:62)
  |[testng] at 
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009)
  |[testng] at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)
  |[testng] at 
org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:918)
  |[testng] at 
org.jboss.seam.persistence.HibernateSessionFactory.createSessionFactory(HibernateSessionFactory.java:165)
  |[testng] at 
org.jboss.seam.persistence.HibernateSessionFactory.startup(HibernateSessionFactory.java:79)
  |[testng] at 
org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
  |[testng] at 
org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
  |[testng] at 
org.jboss.seam.Component.callComponentMethod(Component.java:2074)
  |[testng] at 
org.jboss.seam.Component.callCreateMethod(Component.java:1997)
  |[testng] at org.jboss.seam.Component.newInstance(Component.java:1968)
  |[testng] at 
org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
  |[testng] at 
org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
  |[testng] at 
org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:95)
  |[testng] at 
org.jboss.seam.init.Initialization.init(Initialization.java:555)
  |[testng] at 
org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:939)
  |[testng] at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
  |[testng] Caused by: javax.naming.NameNotFoundException: 
ArmadaSeamProjectDatasource not bound
  |[testng] at 
org.jnp.server.NamingServer.getBinding(NamingServer.java:542)
  |[testng] at 
org.jnp.server.NamingServer.getBinding(NamingServer.java:550)
  |[testng] at 
org.jnp.server.NamingServer.getObject(NamingServer.java:556)
  |[testng] at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
  |[testng] at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:669)
  |[testng] at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
  |[testng] at 
javax.naming.InitialContext.lookup(InitialContext.java:392)
  |[testng] at 
org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
  |[testng] ... 46 more
  |[testng] ... Removed 26 stack frames
  |[testng] SKIPPED CONFIGURATION: @BeforeMethod begin
  |
  | [testng] SKIPPED CONFIGURATION: @AfterMethod end
  |
  | [testng] SKIPPED CONFIGURATION: @AfterClass cle

[jboss-user] [JBoss Seam] - Re: Error while testing using external database

2008-02-04 Thread hubaghdadi
I'm writing integration tests with JBoss Embedded container, not JBoss AS is 
involved... 
I can't reach my laptop right now, I will post the whole log tomorrow...
Thanks you all.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126124#4126124

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126124
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Error while testing using external database

2008-02-03 Thread hubaghdadi

  | org.hibernate.HibernateException: Could not find datasource
  | at 
org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:56)
  | at 
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
  | at 
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
  | at 
org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:414)
  | at 
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:62)
  | at 
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009)
  | at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)
  | at 
org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:918)
  | at 
org.jboss.seam.persistence.HibernateSessionFactory.createSessionFactory(HibernateSessionFactory.java:165)
  | at 
org.jboss.seam.persistence.HibernateSessionFactory.startup(HibernateSessionFactory.java:79)
  | 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:2074)
  | at org.jboss.seam.Component.callCreateMethod(Component.java:1997)
  | at org.jboss.seam.Component.newInstance(Component.java:1968)
  | at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
  | at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
  | at 
org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:95)
  | at org.jboss.seam.init.Initialization.init(Initialization.java:555)
  | at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:939)
  | at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
  | Caused by: javax.naming.NameNotFoundException: ArmadaSeamProjectDatasource 
not bound
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:542)
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:550)
  | at org.jnp.server.NamingServer.getObject(NamingServer.java:556)
  | at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:669)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
  | at javax.naming.InitialContext.lookup(InitialContext.java:392)
  | at 
org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
  | ... 46 more
  | ... Removed 26 stack frames
  | Click to show all stack frames 
  | org.hibernate.HibernateException: Could not find datasource
  | at 
org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:56)
  | at 
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
  | at 
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
  | at 
org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:414)
  | at 
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:62)
  | at 
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009)
  | at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)
  | at 
org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:918)
  | at 
org.jboss.seam.persistence.HibernateSessionFactory.createSessionFactory(HibernateSessionFactory.java:165)
  | at 
org.jboss.seam.persistence.HibernateSessionFactory.startup(HibernateSessionFactory.java:79)
  | 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.Component.callComponentMethod(Component.java:2074)
  | at org.jboss.seam.Component.callCreateMethod(Component.java:1997)
  | at org.jboss.seam.Component.newInstance(Component.java:1968)
  | at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
  | at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
  | at 
org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:95)
  | at org.jboss.seam.init.Initialization.init(Initialization.java:555)
  | at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:939)
  | at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
  | at sun.reflect.NativeMeth

[jboss-user] [JBoss Seam] - How to test with external database?

2008-02-03 Thread hubaghdadi
Hi.
First let me start by saying: I'm really sorry for asking the same question 
again but this is the only place I can get help from.
I'm trying to write integration tests, I use PostgreSQL database.
Please check this thread:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=128867
Any ideas how to test with external databases?
I'm really sorry but I don't have any clues.
Appreciate your understanding.
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125854#4125854

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125854
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: How to test a page with page action method?

2008-01-30 Thread hubaghdadi
I'm not arguing you but I think it is possible to write unit tests (not 
integration tests) for Seam managed Hibernate sessions.
I read Michael Yuan's book "JBoss Seam", he wrote a unit test for an action 
that uses an entity manager, he initialize the entity manager by hand, inject 
it into the action class, running the test, voila.
Any way, I tried to write some integration tests:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=128867

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125004#4125004

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125004
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: How to test a page with page action method?

2008-01-30 Thread hubaghdadi
This is exactly put me back to my original problem:
How to unit test an action class that have a dependency on Seam managed 
Hibernate session?
How to bootstrap Hibernate Session in unit tests?
(I posted it as a question previously but I didn't get an answer).

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124734#4124734

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124734
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Error while testing using external database

2008-01-30 Thread hubaghdadi
Hi.
I'm trying to write tests for my Seam application.
This application uses PostgreSQL database not HSQL.
Here are my configurations:
ArmadaBookStore-ds.xml:

  | 
  |
  |   ArmadaSeamProjectDatasource
  |   jdbc:postgresql:ArmadaBookStore
  |   org.postgresql.Driver
  |   puser
  |   ppaswd
  |
  | 
  | 
and hibernate.cfg.xml:

  | 
  | 
  | jdbc:postgresql:ArmadaBookStore
  | puser
  | ppaswd
  | org.postgresql.Driver
  | true
  | ArmadaSeamProjectDatasource
  | org.hibernate.dialect.PostgreSQLDialect
  | org.hibernate.cache.HashtableCacheProvider
  | true
  | after_statement
  | org.hibernate.transaction.JBossTransactionManagerLookup
  | org.hibernate.transaction.JTATransactionFactory
  | 
  | 
  | 
  | 
Running  the integration test, I got:

  | Could not find datasource
  | 
  | 
org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:56)
 
  | at 
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
 
  | at 
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
 
  | at 
org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:414)
 
  | at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:62) 
  | at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009) 
  | at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292) 
  | at 
org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:918)
 
  | at 
org.jboss.seam.persistence.HibernateSessionFactory.createSessionFactory(HibernateSessionFactory.java:165)
 
  | at 
org.jboss.seam.persistence.HibernateSessionFactory.startup(HibernateSessionFactory.java:79)
 
  | 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.Component.callComponentMethod(Component.java:2074) 
  | at org.jboss.seam.Component.callCreateMethod(Component.java:1997) 
  | at org.jboss.seam.Component.newInstance(Component.java:1968) 
  | at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304) 
  | at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278) 
  | at 
org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:95)
 
  | at org.jboss.seam.init.Initialization.init(Initialization.java:555) 
  | at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:939) 
  | at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42) 
  | 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.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604) 
  | at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:394) 
  | at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142) 
  | at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:79) 
  | at 
org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:165)
 
  | at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:103) 
  | at org.testng.TestRunner.runWorkers(TestRunner.java:678) 
  | at org.testng.TestRunner.privateRun(TestRunner.java:624) 
  | at org.testng.TestRunner.run(TestRunner.java:495) 
  | at org.testng.SuiteRunner.runTest(SuiteRunner.java:300) 
  | at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295) 
  | at org.testng.SuiteRunner.privateRun(SuiteRunner.java:275) 
  | at org.testng.SuiteRunner.run(SuiteRunner.java:190) 
  | at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792) 
  | at org.testng.TestNG.runSuitesLocally(TestNG.java:765) 
  | at org.testng.TestNG.run(TestNG.java:699) 
  | at org.testng.TestNG.privateMain(TestNG.java:824) 
  | at org.testng.TestNG.main(TestNG.java:802) 
  | 1 lines not shown 
  | Caused by ArmadaSeamProjectDatasource not bound
  | 
I copied ArmadaBookStore-ds.xml to bootstrap/deploy dir, but I got the same 
exception.
Any ideas?
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124704#4124704

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124704
___
jboss-user maili

[jboss-user] [JBoss Seam] - How to test a page with page action method?

2008-01-30 Thread hubaghdadi
Hi.
How to write an integration test for a page that uses a page action method?
I mean I can't use (I think) new FacesRequest() instance as the page gets a GET 
request, not faces (post) request.
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124701#4124701

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124701
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Testing with Seam managed Hibernate sessions

2008-01-29 Thread hubaghdadi
Yes, I can do integration tests but I want to know too how to do unit tests.
It will be great if you guide me how to do it.
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124357#4124357

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124357
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Table-per-class mapping restrictions

2008-01-29 Thread hubaghdadi
Hi.
Table-per-class inheritance mapping with JPA doesn't allow the usage of AUTO 
and IDENTITY for ID generation.
Would you please shed more light on this restriction?
Why SEQUENCE is allowed?
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124294#4124294

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124294
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Testing with Seam managed Hibernate sessions

2008-01-28 Thread hubaghdadi
No help amigos?
:(

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124056#4124056

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124056
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to get a specific number of rows?

2008-01-27 Thread hubaghdadi
Thanks man!
Would you please tell me how to achieve the same thing with native query?
AFAIK, PostgreSQL has a special syntax to specify how many rows to retrieve.
Thanks again.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123817#4123817

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123817
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Would this work instead of Hibernate.initialize()?

2008-01-26 Thread hubaghdadi
Hi.
The relationship between Team and Player entities is one-to-many.
Inside a transaction, to fully initialize the player side we could use:
Hibernate.initialize(team.getPlayers());
Well, why not just use:
team.getPlayers();
?
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123812#4123812

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123812
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - How to get a specific number of rows?

2008-01-26 Thread hubaghdadi
Hi.
In my application's products table, how to get only the top 10 (for example) 
items?
I'm using PostgreSQL and Hibernate.
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123811#4123811

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123811
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Testing with Seam managed Hibernate sessions

2008-01-26 Thread hubaghdadi
Hi.
I'm trying to create a Seam POJO war application (JavaBeans and entities).
For persistence, I'm using Seam managed Hibernate sessions.
How to unit testing those classes that get Session object injected into them?
(I know how to inject an object in a unit test, but how to boot and get a Seam 
managed Session object in a unit test code)?
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123809#4123809

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123809
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Integerating Seam & Spring

2008-01-24 Thread hubaghdadi
What I don't understand is:
I inject Seam managed Hibernate session object via @In
What is happening when I configure Seam to use Spring managed transactions 
(PlatformTransactionManager)?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123050#4123050

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123050
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Deploying Seam application war to Glassfish

2008-01-24 Thread hubaghdadi
Hi.
Any special steps should be taken into account when trying to deploy a POJO war 
 Seam application (JavaBeans, Entity beans) to Glassfish?
(except for creating a datasource via Glassfish console)
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123024#4123024

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123024
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - What is wrong with this query?

2008-01-24 Thread hubaghdadi
Hi.
I'm using Hibernate as a persistence provider framework and JPA annotations to 
map domain classes to the database.
I have two classes: 
Author and Book and the relationship is many-to-many.
I defined this names query:
[EMAIL PROTECTED](name = "findAuthorsByBook",
query = "select auth from Author join auth.books book where book = 
:book order by auth.lastName")
[/CODE]
IntelliJ is telling me that there is something wrong with this query but I'm 
not convinced to run a SeamTest to try it.
I got a HibernateException (IntelliJ was right after all).
Whats wrong with HQL? 
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122960#4122960

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122960
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Accessing a web service

2008-01-23 Thread hubaghdadi
Hi.
How to access a web service from Seam component? (any web service)
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122630#4122630

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122630
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: FailedConfiguration while running test

2008-01-22 Thread hubaghdadi
I followed the instructions as your blog shows, this time I got this exception:

  |[testng] FAILED CONFIGURATION: @BeforeClass init
  |[testng] java.lang.RuntimeException: Unable to bootstrap: 
  |[testng] at 
org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:167)
  |[testng] at 
org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201)
  |[testng] at 
org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
  |[testng] at 
org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:11)
  |[testng] at 
org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:1006)
  |[testng] at 
org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:931)
  |[testng] at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
  |[testng] Caused by: org.jboss.xb.binding.JBossXBException: Failed to 
parse source: file:/media/sda4/Projects/ArmadaSeamProject/bootstrap/conf/[EMAIL 
PROTECTED],41
  |[testng] at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:173)
  |[testng] at 
org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:133)
  |[testng] at 
org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:86)
  |[testng] at 
org.jboss.embedded.Bootstrap.deployBaseBootstrapUrl(Bootstrap.java:150)
  |[testng] at 
org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:162)
  |[testng] ... 28 more
  |[testng] Caused by: org.jboss.xb.binding.JBossXBRuntimeException: 
{urn:jboss:bean-deployer:2.0}incallback not found as a child of 
{urn:jboss:bean-deployer:2.0}bean
  |[testng] at 
org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:283)
  |[testng] at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:381)
  |[testng] at 
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
  |[testng] at 
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
  |[testng] at 
org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown Source)
  |[testng] at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
  |[testng] at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
  |[testng] at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
  |[testng] at 
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  |[testng] at 
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  |[testng] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  |[testng] at 
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
  |[testng] at 
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
  |[testng] at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:169)
  |[testng] ... 32 more
  |[testng] ... Removed 22 stack frames
  |[testng] SKIPPED CONFIGURATION: @BeforeMethod begin
  |[testng] SKIPPED CONFIGURATION: @AfterMethod end
  |[testng] SKIPPED CONFIGURATION: @AfterClass cleanup
  |[testng] SKIPPED: siimulateBijection
  |[testng] 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122476#4122476

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122476
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: FailedConfiguration while running test

2008-01-22 Thread hubaghdadi
There is no "endorsed" directory under $JAVA_HOME/jre/lib
Is it ok to create it by hand?
Is it ok to put jaxb-api.jar under any directory in my system (as I'm passing 
its directory as a system property)?
Appreciate your patience.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122168#4122168

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122168
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Is anyone interested in using Seam 2.0 without JSF?

2008-01-21 Thread hubaghdadi
What I don't like about Wicket that I build my view within Java code, much more 
like Swing days.
Personally, I prefer to define views via markup (JSF and Tapestry).
If not JSF, my vote goes to GWT.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121866#4121866

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121866
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: FailedConfiguration while running test

2008-01-21 Thread hubaghdadi
I'm not arguing you but in your blog you say we have to use jaxb-api.jar (for 
JAXB 2.1)
But the JAXB RI 2.1.3 contains more jars: activation.jar, jaxb-xjc.jar, 
jaxb-impl.jar 
Should I copy them to "endorsed" dir too?
Thanks for help.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121734#4121734

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121734
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Balloon login model

2008-01-20 Thread hubaghdadi
Hi.
A very nice feature of login process of InfoQ.com and ICEfaces.org is the end 
users don't have to leave their current page in order to login, instead of 
that, a small balloon is shown and the user provides his credentials.
If the login is successful, parts of the page is shown.
I'm trying to do the same thing with Seam application.
RichFaces has modal dialog component which looks a perfect fit for this 
situation.
Do you think that I need extra things to take into account?
Thanks.
 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121720#4121720

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121720
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Integerating Seam & Spring

2008-01-20 Thread hubaghdadi
Hi.
I have been reading about Spring-Seam integeration.
anonymous wrote : To configure Seam to use Spring transactions enable the 
SpringTransaction component like so:
  | 
  | 
  | 
Supposed I configured component.xml to use Spring transactions as the document 
specified, does my Seam component code requires any modifications?
I mean do I have to use Spring's HibernateTemplate for example?
Thanks.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121613#4121613

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121613
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: FailedConfiguration while running test

2008-01-19 Thread hubaghdadi
I use Seam 2.0 GA, JDK6, JBoss4.2, Ubuntu 7.10
I dropped my Ant build file and used the one that is generated by seam-gen 
tool, but this time I got this exception:

  |[testng] ERROR 
[org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing 
to Instantiated: name=DeploymentFilter state=Described
  |[testng] java.lang.IllegalStateException: Class not found: 
[Ljava.lang.String;
  |[testng] at 
org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature.java:174)
  |[testng] at 
org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature.java:125)
  |[testng] at 
org.jboss.metadata.spi.signature.Signature.getParametersTypes(Signature.java:292)
  |[testng] at 
org.jboss.metadata.plugins.loader.reflection.AnnotatedElementMetaDataLoader.getComponentMetaDataRetrieval(AnnotatedElementMetaDataLoader.java:138)
  |[testng] at 
org.jboss.metadata.plugins.context.AbstractMetaDataContext.getComponentMetaDataRetrieval(AbstractMetaDataContext.java:280)
  |[testng] at 
org.jboss.metadata.spi.retrieval.MetaDataRetrievalToMetaDataBridge.getComponentMetaData(MetaDataRetrievalToMetaDataBridge.java:159)
  |[testng] at 
org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.methodHasAnnotations(AOPConstructorJoinpoint.java:202)
  |[testng] at 
org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.hasMethodMetaData(AOPConstructorJoinpoint.java:172)
  |[testng] at 
org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.hasInstanceOrJoinpointMetaData(AOPConstructorJoinpoint.java:152)
  |[testng] at 
org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.dispatch(AOPConstructorJoinpoint.java:99)
  |[testng] at 
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:103)
  |[testng] at 
org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:52)
  |[testng] at 
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:197)
  |[testng] at 
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:136)
  |[testng] at 
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
  |[testng] at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:233)
  |[testng] at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:724)
  |[testng] at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:445)
  |[testng] at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:555)
  |[testng] at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:489)
  |[testng] at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:289)
  |[testng] at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:192)
  |[testng] at 
org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:302)
  |[testng] at 
org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:272)
  |[testng] at 
org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:119)
  |[testng] at 
org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:96)
  |[testng] at 
org.jboss.embedded.Bootstrap.deployBaseBootstrapUrl(Bootstrap.java:150)
  |[testng] at 
org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:162)
  |[testng] at 
org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201)
  |[testng] at 
org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
  |[testng] at 
org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:11)
  |[testng] at 
org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:1006)
  |[testng] at 
org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:931)
  |[testng] at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
  |[testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
  |[testng] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |[testng] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |[testng] at java.lang.reflect.Method.invoke(Method.java:597)
  |[testng] at 
org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604)
  |[testng] at 
org.testng.internal.Invoker.i

[jboss-user] [JBoss Seam] - Re: Two login pages/methods

2008-01-18 Thread hubaghdadi
"david.spark" wrote : 
  | Incidentally are you saying that your general users require to enter 
password but that your admin users don't?!
  | 
  | ...or just do like Shane says :-)
What I'm saying that the public users have two fields to fill and the 
administrators have only one field (which it could be a secret code given by 
their manager).
Maybe my original question doesn't live in the real world, but I just liked to 
know how to solve such cases

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121356#4121356

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121356
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: FailedConfiguration while running test

2008-01-18 Thread hubaghdadi
BTW, my ant build file is the one that is listed in Michael Yuan's book "JBoss 
Seam"

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121347#4121347

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121347
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: FailedConfiguration while running test

2008-01-18 Thread hubaghdadi

  |   [testng] FAILED CONFIGURATION: @BeforeClass init
  |[testng] java.lang.NoClassDefFoundError: 
EDU/oswego/cs/dl/util/concurrent/ConcurrentReaderHashMap
  |[testng] at 
org.jboss.util.collection.CollectionsFactory.createConcurrentReaderMap(CollectionsFactory.java:73)
  |[testng] at 
org.jboss.kernel.plugins.event.AbstractEventEmitter.(AbstractEventEmitter.java:60)
  |[testng] at 
org.jboss.kernel.plugins.AbstractKernelObject.(AbstractKernelObject.java:47)
  |[testng] at 
org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.(AbstractBootstrap.java:51)
  |[testng] at 
org.jboss.kernel.plugins.bootstrap.basic.BasicBootstrap.(BasicBootstrap.java:58)
  |[testng] at 
org.jboss.embedded.Bootstrap.createKernel(Bootstrap.java:130)
  |[testng] at 
org.jboss.embedded.Bootstrap.getInstance(Bootstrap.java:76)
  |[testng] at 
org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:10)
  |[testng] at 
org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:1006)
  |[testng] at 
org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:931)
  |[testng] at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
  |[testng] ... Removed 22 stack frames
  |[testng] SKIPPED CONFIGURATION: @BeforeMethod begin
  |[testng] SKIPPED CONFIGURATION: @AfterMethod end
  |[testng] SKIPPED CONFIGURATION: @AfterClass cleanup
  |[testng] SKIPPED: siimulateBijection
  |[testng] 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121337#4121337

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121337
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Two login pages/methods

2008-01-17 Thread hubaghdadi
Well, I think you will kill me soon :)
Login page for the public contains: username and password fields.
Login page for the admin contains: EmployeeID only
Two different pages dude :D

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120940#4120940

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4120940
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Two login pages/methods

2008-01-17 Thread hubaghdadi
What if the public site requires username/password combination and admin site 
requires Employee ID (which means difference login page)?
Sorry, I'm not trying to annoying, I just like to know to handle those cases.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120889#4120889

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4120889
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: FailedConfiguration while running test

2008-01-17 Thread hubaghdadi
As a general rule:
Should I include bootstrap folder of Seam's package if I want to test my POJO 
application?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120846#4120846

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4120846
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Two login pages/methods

2008-01-17 Thread hubaghdadi
Isn't look overkill?
The admin has to provide his credentials twice?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120823#4120823

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4120823
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - FailedConfiguration while running test

2008-01-17 Thread hubaghdadi
Hi.
I got this exception upon trying to run my POJO Seam application:
EDU/oswego/cs/dl/util/concurrent/ConcurrentReaderHashMap
Failed configuration @BeforClass init
Any ideas?
Thanks for help.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120820#4120820

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4120820
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Two login pages/methods

2008-01-17 Thread hubaghdadi
Hi.
My application has two primary sub-sites:
The first is used by the public which it requires signin/login operations, the 
second is used by the application administrators.
Is it possible to configure Seam to employ two different login pages and login 
methods?
Thanks.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120804#4120804

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4120804
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - What am I using?

2008-01-15 Thread hubaghdadi
Hi.
I'm trying to create a Seam application (JavaBeans and Hibernate), I use Seam's 
hibernate2 sample application as my guide.
I annotated my domain objects with the usual annotations (@Entity, @OneToMany, 
@NotNull .)
I also use @NamedQueries annotations and inject Hibernate Session into my 
JavaBeans.
But after a while it seems to me that I use JPA, not Hibernate!
I'm now really confused, should I supply hibernate.cfg.xml or persistence.xml?
I also want to generate the database schema via those annotations.
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120102#4120102

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4120102
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Seam application on Glassfish v2

2008-01-14 Thread hubaghdadi
Hi.
A nice thing about deploying Seam application on JBoss AS is the ability to use 
 a JNDI pattern name for EJB3 beans, so we don't have to enlist every EJBs in 
our application.
Is it possible to employ the same thing on Glassfish v2?
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119528#4119528

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119528
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Running JBoss AS in debug mode

2008-01-14 Thread hubaghdadi
Hi.
How to run JBoss-4.2.2 under debug mode (I'm running Ubuntu)?
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119524#4119524

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119524
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Chaning RichFaces skin during development

2008-01-14 Thread hubaghdadi
Hi.
seam-gen tool asks us which theme to use for RichFaces suite.
What is happing under the hood when I select a skin (wine for example) beside 
of storing this value in seam-gen/build.properties file?
How to change this value later during application development?
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119523#4119523

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119523
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Database schema generation with Annotations

2008-01-13 Thread hubaghdadi
Hi.
Usually, I use Hibernate hbm files to generate my database schema.
Is it possible to generate database schema if I use Hibernate annotations 
instead of hbm files?
Thanks.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119521#4119521

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119521
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Would you please help me to visualize this?

2008-01-09 Thread hubaghdadi
Hi.
What is the difference between task node and state node?
When to use each one?
Would you please consider this scenario?
Suppose I have a Shipment system that I would like to employ jBPM.
This application have a web interface.
1) After the user has decided to order an item from our stores and clicked on 
"Order" button, here we started a jBPM process.
2) manager1 decided to approve this order, approval order is achieved via an 
EJB, if an exception is thrown, a transition should be made to another state.
For this stage, what we should we use, a task node or state node?
3) If the process reached this stage, it is out Timer task.
This timer is scheduled to run at specified intervals.
What should we use for this stage, task or state node?
If exception is thrown from the timer, a specified transition should be made.
Thank you for your patience.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4118275#4118275

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4118275
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: BindException on Ubuntu

2008-01-08 Thread hubaghdadi
I figured it out.
I remembered that the port 8009 is taken by Tomcat usually, so I created a 
simple Java class and sent HTTP request to it.
I got HTTP response.
It seems that Tomcat installed by Synaptic is set to run automatically upoun 
Ubuntu boot.
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4118142#4118142

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4118142
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam POJO application as EAR

2008-01-08 Thread hubaghdadi
If I want to package my POJO application as EAR, I have to annotate JavaBeans 
with @Stateless or other annotations (for example) just like EJB beans?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117943#4117943

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117943
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Seam POJO application as EAR

2008-01-08 Thread hubaghdadi
Hi.
Is it possible to create a Seam application that employs POJOs (no EJB3 session 
beans and entities) and packaged as EAR?
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117897#4117897

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117897
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Seam POJO application as EAR

2008-01-08 Thread hubaghdadi
Hi.
Is it possible to create a Seam application that employs POJOs (no EJB3 session 
beans and entities) and packaged as EAR?
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117896#4117896

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117896
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Calling an EJB from ActionHandler

2008-01-08 Thread hubaghdadi
Hi.
Is it possible to call an EJB in an ActionHandler?
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117822#4117822

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117822
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Why @Entity used in Hibernate2 sample application?

2008-01-07 Thread hubaghdadi
Hi.
I have been checking hibernate2 sample application in Seam2
This application is supposed to use POJO as domain models, but not EJB3 
entities as the readme file specifies.
If this is the case, why domain objects use @Entity which is AFAIK used to make 
EJB3 entities?
Thanks.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117799#4117799

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117799
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - jBPM and Rules

2008-01-07 Thread hubaghdadi
Hi.
I understand what jBPM is, but how it is differ from JBoss Rules?
How to know that my jBPM-base application needs JBoss Rules?
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117555#4117555

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117555
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: BindException on Ubuntu

2008-01-07 Thread hubaghdadi
Thanks,
But I still don't know how to fix this issue.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117508#4117508

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117508
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - BindException on Ubuntu

2008-01-05 Thread hubaghdadi
Hi.
I installed JBoss4.2.2 on Ubuntu 7.10
Upon starting the server, I got java.net.BindException
as the port 8009 is already in use.
Any ideas?
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117356#4117356

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117356
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: @Startup usage

2008-01-02 Thread hubaghdadi
By started you mean "created"?
Why would I use @Startup if I already have @Create?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116352#4116352

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116352
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Swapping JSF implementation in JEE5 AS

2008-01-02 Thread hubaghdadi
I don't know a lot about Trinidad but AFAIK Trinidad offers a complete 
replacement of JSF standard components.
So, in order to use Trinidad, my application has to use a JSF implementation 
(like Sun RI or Apache MyFaces)?
And if it is the case, it is impossible to deploy Trinidad & MyFaces on JEE5 AS 
according to JEE5 restriction...
Please correct my if I'm wrong.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116336#4116336

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116336
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - @Startup usage

2008-01-02 Thread hubaghdadi
Hi.
What is the typical usage of @Startup annotation?
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116326#4116326

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116326
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Swapping JSF implementation in JEE5 AS

2008-01-02 Thread hubaghdadi
Hi.
I have been reading an article at java.sun.com regarding what is new in JEE5.
According to the article, it is impossible to swap JSF implementation, we are 
forced to use the application server's JSF version.
If this is the case, how can we use Trinidad for example in a Seam application 
deployed in JEE5 AS?
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116310#4116310

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116310
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Using couple of Faces components together

2007-12-27 Thread hubaghdadi
Hi.
Is it ok in Seam application to use different Faces components together?
Like ICEfaces, RichFaces, Ajax4Jsf, Trinidad, woodstock
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115723#4115723

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115723
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Why to use Trinidad?

2007-12-27 Thread hubaghdadi
Hi.
Why Seam creators recommend Trinidad suite?
It doesn't seem it is under development, no on line documentation.
AFAIK, Trinidad is Oracle ADF which it is based on Ajax.
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115718#4115718

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115718
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Seam managed transactions and persistence contexts

2007-12-27 Thread hubaghdadi
Hi.
Please correct me if I'm wrong:
Seam managed transactions are transactions created by Seam that involves two 
transactions.
Seam managed persistence contexts are contexts created by Seam to allow the 
propagation of these contexts between Seam components.
Am I right?
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115686#4115686

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115686
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Why @Conversational is necessary?

2007-12-26 Thread hubaghdadi
Yes, I know but it doesn't look so critical

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115480#4115480

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115480
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Isn't this a bad thing?

2007-12-26 Thread hubaghdadi
I have been reading Michael Yuan's book "JBoss Seam" and he mentioned that we 
can't set break points in session bean code as Seam uses proxies.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115469#4115469

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115469
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Why @Conversational is necessary?

2007-12-26 Thread hubaghdadi
Hi.
Why @Conversational is necessary? is it some kind of second line of defense for 
a conversational component?
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115452#4115452

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115452
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Isn't this a bad thing?

2007-12-26 Thread hubaghdadi
Hi.
AFAIK, we can't debug session beans in Seam application as Seam employs proxies 
around session beans.
But isn't this seem a bad thing (inability to debug)?
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115451#4115451

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115451
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: How to inject a singleton?

2007-12-24 Thread hubaghdadi
I mean a simple POJO that it has to be a singleton...

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115369#4115369

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115369
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - How to inject a singleton?

2007-12-23 Thread hubaghdadi
Hi.
How to inject a singleton instance into a Seam component?
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115265#4115265

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115265
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How to pick a BPM product?

2007-12-12 Thread hubaghdadi
Where can I find an on line jBPM sample application that is ready to be 
deployed on WL8.1?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112458#4112458

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112458
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How to pick a BPM product?

2007-12-12 Thread hubaghdadi
Thank you.
Our infrastructure application server is WebLogic 8,1 which I think eliminates 
any chance for AquaLogic BPM and I'm not sure that we going to update to a 
newer version.
So, Does jBPM works on WebLogic 8.1?
 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112273#4112273

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112273
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - How to pick a BPM product?

2007-12-12 Thread hubaghdadi
Hi.
We are going to employ a BPM product in out Java EE application.
The manager assigned to me the task of picking a product.
My main two options are:
JBoss jBPM and BEA AquaLogic BPM
How should I make the comparison? what are the features I have to look for?
As our application server is BEA weblogic, AquaLogic has advantages but I want 
to make a subjective and fair comparison.
Which product to pick?
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112246#4112246

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112246
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - GZIP filter for Seam application

2007-12-04 Thread hubaghdadi
Hi.
Should I expect any issues or problems if I create a GZIP compression filter 
for my Seam application?
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110132#4110132

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110132
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Execute and wait utility

2007-12-03 Thread hubaghdadi
Can't we employ EJB3 Interceptors to mimic execAndWaitInterceptor?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109801#4109801

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109801
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Execute and wait utility

2007-12-03 Thread hubaghdadi
Hi.
WebWork has a very nice interceptor called execAndWaitInterceptor.
http://www.opensymphony.com/webwork/api/com/opensymphony/webwork/interceptor/ExecuteAndWaitInterceptor.html
You filled your search criteria filled, this search could take a lot of time to 
complete.
When you submit the form, a new page (customized by you) is shown to the end 
user.
This page could has some kind of image or text telling the user that the search 
is running.
The previous interceptor runs at specific period, if the search is end, result 
page is shown.
How to do the same thing in Seam?
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109721#4109721

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109721
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - RichFaces || ICEfaces ?

2007-11-11 Thread hubaghdadi
Hi.
Which is the preferred JSF-Ajax components for Seam, RichFaces or ICEfaces?
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103477#4103477

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103477
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Article on conversations and nested conversations with e

2007-11-06 Thread hubaghdadi
?Seriously, we need more articles like this.
anonymous wrote : That's a great article and highlights how nested 
conversations should be used. Seam needs more of these kinds of articles that 
illustrate how things should be used, rather than everyone (including myself) 
trying to shoehorn their ideas into Seam based on how they THINK it should 
work. 
+1
Can't say a better sentence.
Let's make the world see why we like Seam and why it roles.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102251#4102251

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102251
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - UISelectDate is deprecated, why?

2007-11-06 Thread hubaghdadi
Hi.
Why Seam deprecated UISelectDate? it is really cool.
What is our choice now?
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102237#4102237

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102237
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - JSP for Email and PDF templates

2007-11-06 Thread hubaghdadi
Hi.
Any plans to do JSP for Email and PDF templates?
You know, some architects and managers like to stick with standards.
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102134#4102134

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102134
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2007-11-05 Thread hubaghdadi
I'm still scared of it...

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101823#4101823

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101823
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2007-11-05 Thread hubaghdadi
Is it final?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101814#4101814

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101814
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2007-11-05 Thread hubaghdadi
I thought it is a spider.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101793#4101793

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101793
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2007-11-05 Thread hubaghdadi
Any on line version? I don't use JBoss Tools (yet).

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101774#4101774

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101774
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Seam Logo

2007-11-05 Thread hubaghdadi
Hi.
Any plans to create a logo for Seam?
GWT, Grails, WebWork, Stripes, Spring all have a logo.
We need one for our beloved Seam.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101755#4101755

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101755
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Claim: Seam is not for large Java EE applications

2007-10-23 Thread hubaghdadi
May I suggest a couple of things?
- Seam Design Patterns.
- Tips and Tricks.
- Articles.
- Comparing to other web frameworks.
- Crystal ball corner.
Of course, we all corporate to achieve this.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097838#4097838

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097838
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: @EJB instead of @In

2007-10-23 Thread hubaghdadi
Well, this is a stupid question, hold on.
For Seam application, we use @In mechanism, right?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097805#4097805

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097805
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - @EJB instead of @In

2007-10-23 Thread hubaghdadi
Hi.
Suppose I have two Seam stateful session beans.
To inject one of them into the another, it is enough to write:
@In
PaymentProcessor voodooProcessor;
If I used @EJB instead of @In, what is the difference?
Thanks.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097746#4097746

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097746
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Why not JAAS for security?

2007-10-23 Thread hubaghdadi
"[EMAIL PROTECTED]" wrote :  It works ok for the most basic role-based 
authorization, but it's too heavy and inflexible to be used directly for the 
type of authorization tasks we were targeting.  
  | 
What is the authorization type at JBoss Seam you are targeting?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097737#4097737

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097737
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Spring and Seam managed persistence contexts

2007-10-22 Thread hubaghdadi
Hi.
If my application use Spring for middleware logic (DAO, transaction management 
and facades), could I leverage it to use Seam managed persistence context?
Or Spring kills those managed context?
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097696#4097696

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097696
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Claim: Seam is not for large Java EE applications

2007-10-22 Thread hubaghdadi
I think it is the time to start "Seam Design Patterns" to clear any FUD about 
it. A wiki is a great place I think. 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097694#4097694

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097694
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Claim: Seam is not for large Java EE applications

2007-10-22 Thread hubaghdadi
"modoc" wrote : 
  | Can you be more specific about why Seam may not be for large apps?
Actually, I'm not saying Seam is not for large projects, I hear it.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097367#4097367

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097367
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Using Captcha

2007-10-22 Thread hubaghdadi
Suppose the application uses Ajax for validation.
If the user enters a wrong captcha value, how to get a new one with Ajax?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097365#4097365

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097365
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Why not JAAS for security?

2007-10-22 Thread hubaghdadi
Hi.
Why JBoss Seam decided to go with JBoss Drools to implement security?
Why not JAAS?
Wouldn't this give the illusion of JBoss products lock-in?
Some architects like to stick with standards and don't like to stray from them.
Thanks.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097364#4097364

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097364
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Claim: Seam is not for large Java EE applications

2007-10-21 Thread hubaghdadi
Hi.
Recently, I passed through this claim:
JBoss Seam is not for large Java EE applications.
What do you think?
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097319#4097319

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097319
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - How to serve feeds in Seam application?

2007-10-21 Thread hubaghdadi
Hi.
I have a Seam application and I want to add RSS feeds to it.
How to generate syndication feeds in Seam application (not in terms of how to 
generate the feed, but in terms of how to serve feeds at Seam code level).
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097317#4097317

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097317
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Using Captcha

2007-10-20 Thread hubaghdadi
Hi.
Have you tried to use Captcha with JBoss Seam?
Would you please provide us with a simple blueprint of how to use it?
Appreciate your kind help.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097237#4097237

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097237
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Manager component, Factory method and page action

2007-08-07 Thread hubaghdadi
Hi.
Can I use "Manager component" to attach an action listener to non JSF
requests (GET requests) ?
When to use "Factory" methods over Manager component?
Why to use page action if I already have two ways?
Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071723#4071723

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071723
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Embedded EJB3 container and Microkernel

2007-08-07 Thread hubaghdadi
Hi.
What is difference between the "Embedded EJB3 container" and the "Micro kernel"?
When to use each one?
Thanks for help.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071720#4071720

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071720
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   >