I got a doubt about the support to Drools 5 announced on Seam 2.2.0 release
notes (and posts on blogs all over the internet, like the In Relation
"We've also moved our Drools <http://www.jboss.org/drools/> support from
Drools 4 to Drools 5"
Maybe I'm misunderstanding exactly what Seam team intended to say, but I got
In SVN, there's another branch, called Seam_2_2_Drools5, and there's a lot
of commits trying to integrate Seam and the Drools 5 API. On the otherhand,
the branch Seam_2_2 really doesn't seems to support this API (KnowledgeBase
and other new stuff).
It looks like I still have to use the old drools 4 api to make Seam 2.2.0
work with Drools.
Am I wrong?
Graduando do Departamento de Ciência da Computação
Universidade Federal do Rio de Janeiro
I would like to implement REQUIRES_NEW as a transaction type for the
@Transactional annotation. My basic plan is:
- Create a TransactionManager component that can be installed into
components.xml, and give the option to configure the JNDI location of
the JTA TransactionManager.
- modify the Work.workInTransaction method to check if the existing
transaction need to be suspended, as if so use the TransactionManager
component to suspend and resume the transaction.
I can't help thinking that there is some problem with this approach,
otherwise someone else would have already done it.
I also know that TransactionManager is not supposed to be used by the
application, does anyone know if this will cause problems?
I would also like to implement the ability to control seam global
transactions based on a flag in pages.xml, so they can be disabled for
specific views. Would anyone have any objections to this?
I have tried to find Maven versions of Seam and required libraries in
order to fix https://jira.jboss.org/jira/browse/JBIDE-4813.
I have succeeded to find versions of the required libraries in
<SEAM_HOME>/build/root.pom.xml, but haven't succeeded to find the
version of Seam (root.pom.xml contains @seam.version@). I have also
tried to find the version of Seam within the jboss-seam.jar file. For
EAP 5.0, the jboss-seam.jar file contains the 2.2.0.EAP version that
isn't any Maven version.
Is it possible to find the Maven version of Seam within any Seam
That will be cool but when will this be in place?
I send a message this morning and it didnt' reach the mailing
list...Just received the usual "Your message is waiting moderator
approval..." so i put you, Pete and Dan, in CC
On Wed, Aug 26, 2009 at 8:05 AM, Pete Muir <pmuir at redhat.com> wrote:
> Yes, assuming that the person who moderates the post checks accept for both
> this message, and one of "clear this members moderate flag" or "add this
> sender to the accepts filter". And, of course, this is all based on the
> address you use to post.
I am using Dan Allens book ( Seam in Action) and have been following the
instructions to get seam-gen going. I have hit an error in 'seam
generate' related to Hibernate and I am unsure of how to troubleshoot
it. If anyone has any ideas I would appreciate it. Find below the output:
C:\Documents and Settings\paulmeehan\My
SEAM_HOME: C:\Documents and Settings\paulmeehan\My
Using seam-gen sources from: C:\Documents and Settings\paulmeehan\My
Buildfile: C:\Documents and Settings\paulmeehan\My
[echo] C:/Documents and Settings/paulmeehan/My
[echo] Reverse engineering database using JDBC driver C:Documents
and SettingspaulmeehanMy DocumentsDevelopmentseaminactionli
[echo] project=c:/Documents and Settings/paulmeehan/My
[hibernate] Executing Hibernate Tool with a JDBC Configuration (for
[hibernate] 1. task: hbm2java (Generates a set of .java files)
[hibernate] log4j:WARN No appenders could be found for logger
[hibernate] log4j:WARN Please initialize the log4j system properly.
[hibernate] An exception occurred while running exporter #2:hbm2java
(Generates a set of .java files)
[hibernate] To get the full stack trace run ant with -verbose
[hibernate] org.hibernate.HibernateException: JDBC Driver class not
[hibernate] java.lang.ClassNotFoundException: org.h2.Driver
[hibernate] A class were not found in the classpath of the Ant task.
[hibernate] Ensure that the classpath contains the classes needed for
Hibernate and your code are in the classpath.
C:\Documents and Settings\paulmeehan\My
tion: JDBC Driver class not found: org.h2.Driver
The makers of 'ZoeOS'
I have tried to import the photoalbum application from
There are a few issues related to m2eclipse and WTP.
In order to import the application to Eclipse and configure it to work
with m2eclipse and JBoss Tools, it is necessary to do the following:
1. ejb, ear, web modules
- change the names of the modules to:
2. ear module
- set the version to 5 in maven-ear-plugin
- set photoalbum-ear final-name to photoalbum-ear and add bundleFileName
to the web and ejb module of maven-ear-plugin - obliged because the WTP
deployer ignores deployName - see
- create application.xml and jboss-app.xml in
src/main/application/META-INF - see
- change context-root from photoalbum to photoalbum-web in pom.xml and
application.xml because m2eclipse ignores context-root - see
3. ejb module
- move component.properties from src/main/resources-filtered to
src/main/resources with the following contents:
#Mon Sep 15 14:29:32 EEST 2008
and remove src/main/resources-filtered
- remove the configuration of maven-resource-plugin
I haven't succeeded to configure Maven resource filtering within
m2eclipse. But, as it is, Maven resource filtering is unnecessary here
because I have had to change the EAR's final name.
4) There is a bug in org.jboss.tools.jsf/PostInstallJsfFacetDelegate -
this class calls IProject.refreshLocal within the facet install
procedure which, sometimes, throws an exception. Until the bug is fixed,
you can workaround it by calling Maven>Update Project Configuration on
the EAR project
In order to test importing the photoalbum application, you can do the
- install/update m2eclipse >= 0.9.9.20090820
- install the latest JBoss Tools trunk
- define Seam Runtime 2.1.1.GA and the DefaultDS connection profile
(they can be set after checking out Maven projects)
- call Import>Check out Maven Projects from SCM
- select svn for SCM URL and enter
- finish the Import wizard
You will get the photoalbum application containing the JBoss Tools settings.
I've added Pete as a watcher on https://jira.jboss.org/jira/browse/JBDS-828
but if someone else knows about what components-war-tokenized.xml is and why
components.xml is not targeting AS5 so JBoss Tools/JBDS breaks...then
please feel free to comment.
p.s. I assume the tokenized.xml is to add some flexibility and that is
great, but adding that flexibility to JBDS
this close to codefreeze is something I would like to avoid if possible.
Next version we should sync on what
flexibilities were added since I got a feeling that more than this were
added to seam-gen recently ;)
I don't know if moderators and the list manager(s) are aware of this,
but this is a nightmare to post a message to the mailing list.
Almost none of my message have reached the list on the first post, and
some never reach it after the third 3 tentative. For those I gave up (!)
I understand that this list has to be moderated and that moderators
receives tons of spam and it's hard to filter messages, that people are
busy doing more important things etc etc
You can not image the amount of frustration this generates for a newly
committer like me that need, from time to time, advises on how to act
regarding the code before committing and potentially break things, or
simply ask a questions that are obviously not of the domain of the
general forum (Like fixing the build or the WiKi).
I don't know if they are other means to ask dev-related questions, but
as-is, the seam-dev list is not an answer, at least for "external"
people like me as most of the message never reach the list.
I hope this message will reach people that can act on this. If not ill
re- post it 3 times, no more.
Thanks for your time.