FAQ Database Discussion Community


Seam Quartz Dispatcher not firing on seconds and minutes field for a given cron expression

java,jboss,quartz-scheduler,seam,cronexpression
I have a Quartz job that is to fire for a certain time repeatedly. Unfortunately it does not fire for some unknown reasons. Here is my cron expression : 0/5 0 0 * * ? So basically the job should be fired every 5 seconds. This is the part which...

Add your own vocabulary [Nuxeo]

java,seam,ecm,nuxeo
I'm writing a layout contribution, I added a suggestOneDirectory widget named city but I don't know where can I change/add my own directoryName (instead of l10ncoverage) that contains the vocabulary of cities to be shown on the list. <widget name="city" type="suggestOneDirectory"> <labels> <label mode="any">City :</label> </labels> <translated>true</translated> <fields> <field>adr:city</field> </fields>...

Get both the current modified entity and the database entity snapshot with Hibernate

java,hibernate,jpa,orm,seam
We use seam as Java EE framework. I've controller which inherits from EntityHome. When user press 'Save' button, we have a modified entity instance, but not flushed this changes to database. How can I retrieve this entity in two states(1st - database state, 2-nd user modified state)? I've tried to...

java.lang.IllegalStateException: Already installed InitialContextProperties

unit-testing,java-ee,jboss,testng,seam
I am trying to run a unit test using TestNG with Eclipse (right-click in unit test-> run as TestNg Test). The test fails right away during init phase. I think this is related to testng is loading two different datasources but I have no idea how to fix that. This...

Init method is not filled in even with parameters

jsf,jboss,seam
I have lost a few hours trying to figure out why I can not retrieve the parameters of my link. Following this question, I did my link with passing parameters. My problem is relatively easy, if I can get the parameters in the popup that opens when the user clicks...

How to load config.properties file in a Seam Application using web.xml context-param

jboss,seam,web.xml
I have a seam web application in which I have to include a security module for integrated authentication. I can see that the module isn't based on seam application because it uses a spring-like notation. As the module works defining a listener and a properties file in the web.xml I...

Seam pageflow example NumberGuess Not landing on to the second page

seam,jboss-seam,page-flow,jpdl
I'm trying to run simple Seam PageFlow example NumberGuss. I have deployed it on Jboss Server. When I access the URL it lands on the first page but if I hit any of the button provided on that page it says "The page isn't redirecting properly".On server log I found...