[jboss-user] [JBoss Seam] - Problem with cache config in unit tests

2007-10-31 Thread endremr
Hi! I have a Seam application (v1.2.1) where I have started to use JBoss Cache as an entity cache. The application is deployed within JBoss 4.0.4, and things seems to work. I use the following config in persistence.xml: | persistence-unit name=NewsAdminSesamNoDatabase |

[jboss-user] [JBoss Seam] - Re: Problem with cache config in unit tests

2007-10-31 Thread endremr
Sorry for that missing info... I use both unit tests where I create my components myself, but I also use FacesRequest tests where the EM's is injected automatically. My embedded EM's are configured in embedded-jboss-beans.xml: |bean name=NewsAdminSesamNoDSBootstrap

[jboss-user] [JBoss Seam] - SelectDate - classpath issue

2007-09-03 Thread endremr
Hi! I'm using Seam 1.2.1 in couple of applications, both deployed as portlets inside JBoss 4.0.4 / JBoss Portal 2.4.1. Both of these applications now uses the SelectDate component, and this causes classpath issues when accessing the second application. Both my applications uses scoped class

[jboss-user] [JBoss Seam] - Problem with

2007-06-07 Thread endremr
Hello! We have a Seam 1.2.1 application that runs as a portlet under JBoss Portal. We use a really simple subclass of MyFacesGenericPortlet called SmsPortlet just to do some checking on url parameters, nothing else, just calling super methods. Our application is pinged every 5 minute to check

[jboss-user] [JBoss Seam] - Problem with @Asynchronous in tests

2007-05-08 Thread endremr
Hello! I have just tried to use @Asynchronous for scheduled jobs, and it seems to work just as it should. Really easy to get things going :) But I have some problems running my tests since the dispatcher fails to initialize when running in embedded server. I boot the embedded server myself,

[jboss-user] [JBoss Seam] - Invalidating Seam sessions when logging out of JBoss Portal

2007-02-09 Thread endremr
Hi! We use Seam as framework when writing portlets deployed in JBoss Portal. This works pretty good, but we have problems finding out how we should take care of cleaning up our ejb's when the user logs out of the portal using the standard UserLogin-portlet. I have seen this post, but there's

[jboss-user] [JBoss Seam] - Tests on EJB3 that uses JAAS

2006-11-02 Thread endremr
Hello! I'm trying to write tests for my EJB3's that uses Java security roles and JAAS. When I run my tests, I get exceptions with jaas not bound since the embedded-ejb hasn't set up the JAAS stuff. I found this wiki page:

[jboss-user] [JBoss Seam] - Converter breaks conversation

2006-10-16 Thread endremr
Hello! I have a conversation to approve some corrections done in the database. Everything is done within the same Seam component annotated with @Conversational. The component is initialized with a method beginApprovement() annotated with @Begin(join = true). This method fetches the needed

[jboss-user] [JBoss Portal] - Re: Too many errors cant get JBoss Portal to work

2006-09-07 Thread endremr
I have now restored the folder portal-wsrp.sar and restarted JBoss. This gives me the following stacktrace: 12:22:22,321 ERROR [MainDeployer] Could not start deployment: file:/opt/java/jboss-4.0.4.GA/server/portal/deploy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp-client.jar

[jboss-user] [JBoss Portal] - Re: Too many errors cant get JBoss Portal to work

2006-09-04 Thread endremr
I have tried to upgrade to both jbossws-1.0.2.GA and jbossws-1.0.3.GA without no luck to remove the received timed out exceptions. I'm using JBoss 4.0.4.GA and JBoss Portal 2.4. It worked to remove the $JBOSS_HOME/server/portal/deploy/jboss-portal.sar/portal-wsrp.sar. That's OK since I don't