Questions tagged [seam2]
220 questions
53
votes
3 answers
Unique Constraint Over Multiple Columns
I am using SEAM 2/Hibernate along with PostgreSQL 9 database. I have the following table
Active Band
===========
active_band_id serial
active_band_user text
active_band_date timestamp
active_band_process integer
I would like to add a constraint…

DaveB
- 2,953
- 7
- 38
- 60
6
votes
3 answers
Migrating JSF-Application to Weblogic 12
We developed a Seam 2 based Java EE 5 application and it runs on Weblogic 11g.
Now I tried to deploy the same WAR file to the new Weblogic 12c (12.1.1.0 on my local Windows 7 machine) by following the same steps as on the previous WLS, including the…

Alexander Rühl
- 6,769
- 9
- 53
- 96
6
votes
1 answer
Impossible tech stack? Jboss/Seam/Resteasy/Hibernate/Maven
Hello good people of StackOverflow!
I've tried many tutorials on using JBoss Seam and looked at the "Restbay" example in the Seam distro. But I cannot get a working REST web service with the following tech stack:
JBoss 4.2.3
Seam 2.2.*
Resteasy…

Reuben Peter-Paul
- 1,550
- 3
- 15
- 25
5
votes
2 answers
maven ear plugin not picking up application.xml
I am using jbosscc-seam-archtype 1.2 and I am putting the application.xml in EAR project, under /src/main/application/META-INF/ but the maven-ear-plugin is not picking it up. any suggestion?
Here is the snippet of my maven EAR plugin:
…

Ikthiander
- 3,917
- 8
- 37
- 54
5
votes
2 answers
What will probably be the biggest changes (losses) switching from Seam 2 to plain JavaEE 6?
Question pretty much says it all, though explicitly I'm looking for the things I will probably miss about Seam 2 in a Java EE 6 environment ("losses").
For my latest (small) project JavaEE 6 or more specifically JSF 2 was a fix requirement, so using…

Kawu
- 13,647
- 34
- 123
- 195
5
votes
1 answer
Seam 2, how to get the servletcontext?
I'm in seam 2. How can I get the servlet context?
I can do this:
ServletContexts servletContexts = ServletContexts.getInstance();
But this is not the ServletContext.

Phil
- 46,436
- 33
- 110
- 175
4
votes
1 answer
Is it OK to use JobStoreTX instead of JobStoreCMT for Quartz jobs in Seam?
Examples of using Quartz within Seam 2 are shown with both JobStoreTX, JobStoreCMT and RAMJobStore.
Our project needs to persist jobs so we can do clustering, but I can't get JobStoreCMT to execute jobs. What is the difference between JobStoreCMT…

spikeheap
- 3,827
- 1
- 32
- 47
4
votes
1 answer
IllegalName: org/hibernate/validator/ValidationMessages
I am receiving the following error message in the JBOSS EAP 6.3 server. I am using seam 2.3 and hibernate 4. I am not sure about this issue. com.google.gwt module is giving this error message.
07:59:56,146 WARN [org.jboss.modules]…

Sudha
- 220
- 2
- 16
4
votes
3 answers
Help me to understand SEAM and Hibernate?
I want to use SEAM Framework with Hibernate but do not want to use EJB. I cannot use EJB.
First question is, can I use EntityManager? or is EntityManager a part of EJB?
How can I get access to use Hibernate in my SEAM component?
Thanks, Philip

Phil
- 46,436
- 33
- 110
- 175
4
votes
1 answer
Wildfly 8 SEAM2 redirect - javax.faces.context.PartialViewContextFactory
I'm migrating an application running on legacy AS (with plenty of legacy stuff inside). The starting state was Java 1.7, JBoss 5.1GA, Hibernate 3, SEAM 2.2.2, jBPM 3.9 and some legacy richfaces.
I managed to deploy it on Java 1.8, Wildfly 8.2 with…

Fiisch
- 192
- 9
4
votes
1 answer
Seam2.2 migration to 2.3 produce org.jboss.seam.core.init.jndiPattern or use @JndiName error
I'm currently working on migrating from Seam 2.2 to 2.3.
I'm following the guide from here: http://docs.jboss.org/seam/latest/reference/en-US/html/migration23.html and is now testing the migrated app.
Unfortunately, I'm stuck with this error:…

czetsuya
- 4,773
- 13
- 53
- 99
4
votes
2 answers
Object references an unsaved transient instance - save the transient instance before flushing Hibernate
I'm using Seam Framework. I have 2 Entity:
Request.java
@Entity
@Table(name = "SRV_REQUEST")
public class Request {
private Long id;
@Id
@Column(name = "ID_")
public Long getId() {
return id;
}
and RequestEvent.java
@Entity
@Table(name =…

Eazy
- 3,212
- 5
- 24
- 40
4
votes
1 answer
SEAM2-Application with JBoss 7.1 - ClassNotFoundException
i have a "big" SEAM2-Project which should be migrated from JBOss 5.1 to 7.1.
Now i have big problems. One of them is a ClassNotFoundException:
Caused by: java.lang.ClassNotFoundException: org.jboss.seam.persistence.HibernateSessionProxy from [Module…
user1633440
4
votes
3 answers
Java EE 6 + CDI on JBoss 7 - hot deployment possible like in Seam?
I did several projects using Seam 2 on JBoss5/6 and liked the feature that certain java classes (usually GUI handlers and util classes) could be put in a special src folder and be hot replaced through a special class loader after saving the file and…

Alexander Rühl
- 6,769
- 9
- 53
- 96
3
votes
0 answers
TDS error's occuring constantly (50mb log files in the space of 20secs)
We are having an issue with a Seam application deployed to a Glassfish server, connecting to a MS SQL Server 2008 R1.
The glassfish server suddenly started logging the following…

dann.dev
- 2,406
- 3
- 20
- 32