[jboss-user] [JBoss Tools (users)] - migration to 2.0.1 GA

2008-04-03 Thread laksu
Hi, How do we upgrade to JBoss Tools 2.0.1.GA from JBoss Tools 2.0.0.GA on an existing Eclipse installation without breaking anything in the Eclipse workspace with existing Seam project(s)? I am afraid to break something. I feel like it is either too obvious or I am incapable of finding any

[jboss-user] [JBoss Seam] - Re: how to set parameters in user integration tests

2008-01-14 Thread laksu
Hi, I am from the same team with berkay. We followed the suggested solution ot that thread. There, in the code from Seam 2.0.1.CR1 for invodeApplication is: return application.getExpressionFactory().createMethodExpression( facesContext.getELContext(), methodExpression,

[jboss-user] [JBoss Seam] - IllegalArgumentException: Stack must not be null

2008-01-03 Thread laksu
Hello, I am trying to cook my first component test: public class CategoryInteraction extends SeamTest { | | @Test | public void testMest() throws Exception { | | new ComponentTest(){ | | @Override | protected void

[jboss-user] [JBoss Seam] - Re: IllegalArgumentException: Stack must not be null

2008-01-03 Thread laksu
/* | * CategoryActionBean.java | * | * Created on July 11, 2007, 3:45 PM | * | * To change this template, choose Tools | Template Manager | * and open the template in the editor. | */ | | package datassist.payroll.action; | | | import

[jboss-user] [JBoss Tools (users)] - Re: problem configuring testing with Seam project

2008-01-02 Thread laksu
I already was using 2.0.1.CR1. I just had thought Seam did not get initialized properly and so the Entity Manager. And I thought that was because i had something missing with the embedded JBoss. I discovered the thegenerated log4j configuration was at ERROR level so i did not see what actually

[jboss-user] [JBoss Tools (users)] - Re: problem configuring testing with Seam project

2007-12-29 Thread laksu
hi max, it is an ear project View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4116029#4116029 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4116029 ___ jboss-user mailing list

[jboss-user] [JBoss Tools (users)] - problem configuring testing with Seam project

2007-12-28 Thread laksu
Hi, We have a project that we had been developing since a year or so with Seam on Netbeans. With the introduction of Seam 2.0.0 we had so many problems migrating it. I am fed up with all and decided to convert to Eclipse based environment as it seems to me JBoss people prefer Eclipse and its

[jboss-user] [JBoss Seam] - test configuring joss embedded

2007-12-12 Thread laksu
Hi, I am trying to convert a seam-gen generated project to use hibernate instead of jpa. I am almost done except getting testing work. In the reference documentation it is stated that jboss-beans.xml file is generated by seam-gen, but I cannot seem to find it. And creating one like the

[jboss-user] [JBoss Seam] - Re: configuration question

2007-12-10 Thread laksu
I have added the following to bootstrap-beans.xml bean name=payrollDSBootstrap class=org.jboss.resource.adapter.jdbc.local.LocalTxDataSource | property name=driverClassvalueorg.postgresql.Driver/value/property | property

[jboss-user] [JBoss Seam] - configuration question

2007-12-07 Thread laksu
Hi, I have a 1.2.1 working project that I am trying to migrate to 2.0.0 GA. To avoid issues with testng configuration I have started with a fresh seam-gen generated template.seam setup, seam new project, seam explode I copied my classes and pages into it. I left Glassfish aside for the time

[jboss-user] [JBoss Seam] - Re: No converter for type: org.jboss.seam.core.Expressions$V

2007-11-29 Thread laksu
I had not touched to seam-gen for a long time and gave it another spin. It seems like it has improvements as generated projects are more firendly to Netbeans. I have a project started as a NetBeans Enterprise application and it has a complex set of build.xml files generated and maintained by

[jboss-user] [JBoss Seam] - No converter for type: org.jboss.seam.core.Expressions$Value

2007-11-27 Thread laksu
Still cannot run the dumbest test on my own. Here is my test: | import org.jboss.seam.mock.SeamTest; | import org.testng.annotations.Test; | | public class TestIntact extends SeamTest { | @Test | public void testIntact(){ | assert true; | } | } | I use

[jboss-user] [JBoss Seam] - Re: NPE while trying to new a FacesRequest

2007-11-26 Thread laksu
I have set-up the debugging and it took me some time to figure out putting debugging, testng and netbeans together. I now start the testng session in command-line style (as opposed to testng ant task) and attach the netbeans debugger on to it. Here is where I lose track: BaseSeamTest.java:

[jboss-user] [JBoss Seam] - Re: NPE while trying to new a FacesRequest

2007-11-26 Thread laksu
I guess testng jar from testng site is causing all the trouble. trying with the jar from seam 2 dist View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4107874#4107874 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4107874

[jboss-user] [JBoss Seam] - NPE while trying to new a FacesRequest

2007-11-23 Thread laksu
Hi, I have my test build as close to the hibernate2 example as possible. I have a test of test environment like the following: import org.jboss.seam.mock.BaseSeamTest.ComponentTest; | import org.jboss.seam.mock.SeamTest; | import org.jboss.seam.mock.SeamTest.FacesRequest; | import

[jboss-user] [JBoss Seam] - cannot run example tests

2007-11-16 Thread laksu
Hi, I am getting this strange error with almost any (booking, jpa, hibernate2, dvdstore) project from the examples when I try ant test I get |[testng] ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Instantiated: name=DeploymentFilter

[jboss-user] [JBoss Seam] - Re: 2.0.0 GA migration: Not an entity class

2007-11-07 Thread laksu
Thanks, here is the link to the issue: http://jira.jboss.org/jira/browse/JBSEAM-2220 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102622#4102622 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102622

[jboss-user] [JBoss Seam] - 2.0.0 GA migration: Not an entity class

2007-11-06 Thread laksu
Hi, First, thank you for the great product and congratulations for the new release. Great job! ... and the problem: I have spent a few hours now for migrating my app from 1.2.1. I had to deal with a number of things and resolved but stuck with that one. My app starts and works nicely till it

[jboss-user] [JBoss Seam] - Re: subclassing Variable Resolver

2007-09-17 Thread laksu
Thanks a lot. I will check the readings and see if it works for my case. I don't think it is that dirty to get my hands in. Perhaps, this is an illusion yet but anyways I will try as I have yet already soaked my fingertips. I will be sharing the experience. View the original post :

[jboss-user] [JBoss Seam] - subclassing Variable Resolver

2007-09-13 Thread laksu
Hi, I am trying to build some sort of framework with dynamic forms variables. In this context, I suppose, I need to go and build a variable resolver of my own. I read in the forum that Seam plugs its own variable resolver in to resolve components. I kind of need to intercept it and introduce my

[jboss-user] [JBoss Seam] - Re: inject into a non-component?

2007-08-16 Thread laksu
Great, thank you. I knew it would have a lean solution. So, would you say this is not a workaround but what it should have been? In other words, one cannot inject a Seam component into an ordinary class which is not a Seam component. And that would clarify for me the phenomena that I cannot use

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - annotations

2007-08-06 Thread laksu
some dumb questions: i am using Seam with JPA (with Hibernate implementation) and considering to dump it in favor of plain good old Hibernate. I am basing my decision on the fact that I cannot map interfaces to tables with JPA. 1- am I on the correct track ? Now the dumbest part: I am not

[jboss-user] [JBoss Seam] - Re: problem configuring SMPC with Glassfish

2007-07-09 Thread laksu
that was working before trying to switch to SMPC. ok, I have gone through the jpa example and changed a few things here and there, i still get the same thing. I cannot understand why it tries to get it to toplink. i have never used it and i had almost forgotten such a thing even existed. here

[jboss-user] [JBoss Seam] - Re: problem configuring SMPC with Glassfish

2007-07-09 Thread laksu
This is the root project: gop.ear -rwx--+ 1 levent PROJE 433 Jul 9 12:35 J2EE.dpf | drwx--+ 3 levent PROJE 0 Jul 9 10:05 META-INF | -rwx--+ 1 levent PROJE 1214410 Jul 9 10:05 ajax4jsf-1.1.1-SNAPSHOT.jar | -rwx--+ 1 levent PROJE 207723 Jul 9 10:05

[jboss-user] [JBoss Seam] - problem configuring SMPC with Glassfish

2007-07-06 Thread laksu
Hi, I have followed some topics from the forum and tried to convert my application to use SMPC. I use Glassfish and Seam 1.2.1 Here is my components.xml: | | ?xml version=1.0 encoding=UTF-8? | | components xmlns=http://jboss.com/products/seam/components; |

[jboss-user] [JBoss Seam] - Re: IDE support for Seam

2007-06-28 Thread laksu
facelets support for NetBeans is still immature (0.5) and there seems to be no new action since March. If you look for Netbeans-Seam integration, there is only Seam-Gen module written for Netbeans. Both of them are developed by the same person and on the same page:

[jboss-user] [JBoss Seam] - problem with 1.3.0 alpha

2007-06-27 Thread laksu
Hi, To avoid another bug I have switched to 1.3.0alpha and my working application does not even deploy with the following stacktrace. Note that, I use Glassfish. WebModule[/payroll-war]Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener

[jboss-user] [JBoss Seam] - Re: problem with 1.3.0 alpha

2007-06-27 Thread laksu
Yes it is working well with 1.2.1 GA Here is my components.xml: ?xml version=1.0 encoding=UTF-8? | | components xmlns=http://jboss.com/products/seam/components; | xmlns:core=http://jboss.com/products/seam/core; |

[jboss-user] [JBoss Seam] - Re: problem with 1.3.0 alpha

2007-06-27 Thread laksu
ok, upon removing conversation-is-long-running-parameter=clr line, it no longer throws that exception. Now hitting something else, I will look into. Thank you very much. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4058091#4058091 Reply to the post :

[jboss-user] [JBoss Seam] - No application context active

2007-06-27 Thread laksu
Hi, I have followed these migration recommendations: http://www.jboss.com/index.html?module=bbop=viewtopict=112038 and http://www.jboss.com/index.html?module=bbop=viewtopict=112040 but still get the following stacktrace upon deployment: WebModule[/gop-war]Exception sending context initialized

[jboss-user] [JBoss Seam] - @DataModel does not create a component

2007-04-01 Thread laksu
Hi, I have a SFSB: | /* | package datassist.gop.action; | | import datassist.gop.domain.Istek; | import datassist.gop.domain.Uzman; | import java.io.Serializable; | import java.util.List; | import javax.ejb.Remove; | import javax.ejb.Stateful; | import