[jboss-user] [JBoss Seam] - Re: [testng] java.lang.IllegalStateException: Class not foun

2007-08-24 Thread ejbengine
I got around it by taking this route http://jira.jboss.org/jira/browse/JBAS-4491 HTH jeff mutonho View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077726#4077726 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=40777

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

2007-08-22 Thread ejbengine
"[EMAIL PROTECTED]" wrote : Post the code for registrationFinder (this is working for me in a simple situation) @Name("registrationFinder") | @Stateful | public class RegistrationFinderBean implements RegistrationFinder { | | @Logger | private Log log; | | @SuppressWa

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

2007-08-21 Thread ejbengine
Changed the code to : @Test | public void testFindUnregisteredClaims() throws Exception { | new FacesRequest() { | @Override | protected void invokeApplication() { | invokeMethod("#{registrationFi

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

2007-08-21 Thread ejbengine
:) Seam version : jboss-seam-2.0.0.BETA1 Java version : 1.6 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076258#4076258 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076258 ___

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

2007-08-21 Thread ejbengine
Hi Please don't get me wrong , this is not a demand for a response.I just wanna get an idea why my post failed to induce a response ,i.e its a case of a) my post being unclear and problem not well explained? b) I didn't RTFM ? If that's the case how can I improve on this? Thank you View

[jboss-user] [JBoss Seam] - Getting "Stack must not be null" error when running a test

2007-08-20 Thread ejbengine
The code for my test is : | public class FindClaimTest extends SeamTest { | | @Test | public void testFindUnregisteredClaims() throws Exception { | new ComponentTest() { | | protected void testComponents() throws Exceptio

[jboss-user] [JBoss Seam] - [testng] java.lang.IllegalStateException: Class not found: [

2007-08-19 Thread ejbengine
Hi I'm really desperate for help here.Google couldnt help :). I'm getting the following exception when trying to run some TestNG tests : [testng] java.lang.IllegalStateException: Class not found: [Ljava.lang.String; Java version : "1.6.0" Java(TM) SE Runtime Environment (build 1.6.0-b105) Java H

[jboss-user] [JBoss Seam] - Re: Where is seam-gen getting

2007-07-08 Thread ejbengine
Could this be a bug? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061772#4061772 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061772 ___ jboss-user mailing list jboss-user

[jboss-user] [JBoss Seam] - Re: java.lang.NoClassDefFoundError: javax/el/ELContext

2007-07-08 Thread ejbengine
"[EMAIL PROTECTED]" wrote : You've followed the guide for deploying Seam2 apps to JBoss 4.0.5.GA and copied the needed jars to the AS? About two months ago I built a prototype for an app using Seam1 and then didn't need to manually copy any jars to JBoss 4.0.5GA.I guess things have changed the

[jboss-user] [JBoss Seam] - Re: java.lang.NoClassDefFoundError: javax/el/ELContext

2007-07-08 Thread ejbengine
Seam version : jboss-seam-2.0.0.BETA1 JBoss version : jboss-4.0.5.GA The startup log for Seam (from when it says welcome to Seam): 16:35:53,724 INFO [ServletContextListener] Welcome to Seam 2.0.0.BETA1 | 16:35:53,740 INFO [Scanner] scanning: /C:/jboss-4.0.5.GA/server/default/./deploy/shoppi

[jboss-user] [JBoss Seam] - Where is seam-gen getting

2007-07-08 Thread ejbengine
I just setup a small project as shown below : anonymous wrote : C:\devenv\jboss-seam-2.0.0.BETA1>seam setup | Buildfile: C:\devenv\jboss-seam-2.0.0.BETA1\seam-gen\build.xml | | setup: | [echo] Welcome to seam-gen :-) | [input] Enter your Java project workspace (the directory th

[jboss-user] [JBoss Seam] - java.lang.NoClassDefFoundError: javax/el/ELContext

2007-07-08 Thread ejbengine
I'm getting a java.lang.NoClassDefFoundError: javax/el/ELContext error when JBoss is launching and trying to deploy a war file .Part of the stack trace is : anonymous wrote : | 14:50:55,615 ERROR [[/shoppingcart]] Exception sending context initialized event to listener instance of class org.

[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss failing to start with Wrong database file version erro

2007-07-08 Thread ejbengine
I'm running jboss-4.0.5.GA and when I try to start the server , I get the following error message : anonymous wrote : [ServiceController] Problem starting service jboss:service=Hypersonic,database=localDB | java.sql.SQLException: Wrong database file version | at org.hsqldb.jdbc.jdbcUtil

[jboss-user] [JBoss Seam] - Using JavaBeans and Hibernate3

2007-05-14 Thread ejbengine
In the example that uses only JavaBeans and Hibernate3 (and NOT EJB3) , the User.java , Booking.java , Hotel.java are all annotated with the @Entity annotation.Does'nt that make them EJB 3 entities? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045357#404535

[jboss-user] [JBoss Seam] - Re: Being redirected to the same page

2007-04-24 Thread ejbengine
Identity ? is suppose to be Identity Number.Apologies for the typo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040153#4040153 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040153

[jboss-user] [JBoss Seam] - Being redirected to the same page

2007-04-24 Thread ejbengine
Hi I have the following input fields in my my search.xhtml file : Birth date (-MM-DD) | | | | | Identity ? If I enter the Identity No and skip the Birth Date field , and try to submit the page , SEAM is redirecting me back to the same page(search.xh

[jboss-user] [JBoss Seam] - Single row selection using a radio button

2007-04-22 Thread ejbengine
Is this easily achievable with SEAM? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039596#4039596 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039596 ___ jboss-user mailing

[jboss-user] [JBoss Seam] - Date fields

2007-04-18 Thread ejbengine
I have a field that maps to a Date in my Entity class.The html looks as shown below : Date (-MM-DD) When I enter a date string such as 2007-01-01 , I'm getting redirected to the same page and my session bean never gets called.However if I skip the date field , all works fine.Do i need to s

[jboss-user] [JBoss Seam] - Re: @Scope(SESSION) SESSION cannot be resolved

2007-04-14 Thread ejbengine
"petemuir" wrote : import static org.jboss.seam.ScopeType.SESSION; Why then does the registration example work with just : import org.jboss.seam.annotations.Scope; | | @Entity | @Name("user") | @Scope(SESSION) | @Table(name="users") | public class User implements Serializable | {

[jboss-user] [JBoss Seam] - @Scope(SESSION) SESSION cannot be resolved

2007-04-14 Thread ejbengine
I'm using JBOSS IDE and am getting the error message "SESSION cannot be resolved" in my entity class even though I have the correct import import org.jboss.seam.ScopeType; However, when I specify the @Scope annotation with the fully qualified name of the attribute as org.jboss.seam.ScopeType.