Hi,
I wonder what should be the location of @SqlResultSetMapping(
| name = "kladrRS",
| columns = {
| @ColumnResult(name = "name"),
| @ColumnResult(name = "socr"),
| @ColumnResult(name
Hi all,
There is an MDB. It calls a facade method on some SLSB and in case exception
happens it catches it and sends a JMS Message (we're using standalone ActiveMQ).
The pesky problem is that the message is not sent because the current
transaction is in the "rolling back" state. It seems I need
Thanks for sharing your insights on this issue!
"ALRubinger" wrote : Sure, but you've set up a maintenance "gotcha" that is
pretty easy to violate and will be difficult to debug. Also, you'll be less
likely to see the inconsistencies exhibited in development, meaning it's likely
that Peter's
Hi,
There is a transactional SLSB method that uses EntityManager.
It does some business logic, and on its finish all DB changes should be made
persistent or rolled back.
The problem is that along the way some DDL statements must also be executed.
And MySQL cannot execute those statements inside
"ALRubinger" wrote : SLSBs *do* have state, as the instance is returned to the
Pool after use. Therefore invocation-specific data should not be kept in
instance members of a SLSB.
Thanks, Andrew. This makes good sense. However, if I only run one single facade
method, and previous old state do
"PeterJ" wrote : With an SLSB multiple threads can be using it simultaneously
Huh???
What about SLSB pools then? I was sure that a thread takes SLSB instance from
the POOL, executes it and returns it back for later use. Never two threads
execute on the same SLSB instance.
View the original pos
Hi,
There is an SLSB.
It has a facade method.
Which calls private methods of the same SLSB.
How can I pass parameters to those private methods? Via method declaration?
Or can I use private fields? Like that:
public class SLSB {
|
| int v1;
|
| void facade(int var) {
| v1 = var;
anonymous wrote : Pure jBPM should work, or even in combination with Seam. Just
configure jBPM to not participate in an already running transaction
It is kind of confusing to distinguish jBPM transactions from Seam + EJB3-JPA.
I thought jBPM doesn't meddle with application level transactions, onl
anonymous wrote : You could try to use an in-memory configured version of
HSQLDB. That does not realy persist to file, but it does doe db stuff.
Good idea. But I'm not there yet, I still cannot make it going without
exception.
anonymous wrote : Regarding the issue, it manifests itself in Seam,
Here is what I've tried:
|
|
|
|
Not the best solution, but I thought I'd do the trick. Unfortunately there is
another problem, now in Seam:
https://jira.jboss.org/jira/browse/JBSEAM-2575
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=417004
Thanks for your advice, I won't :)
Let me not report any dumps so far, cause I don't quite get the picture of how
to save the process state to DB with minimum time expense.
>From what I can tell so far, I cannot use State node without some external
>signal that would wake it up.
Luckily I've
And one more thing.
I've introduced a State node to the process so that business process is
persisted. But how can I move past it, cause if I signal current node I get a
fair error
this token is locked by token
Will it help if I try to save the process into DB manually from one of my
Node's ac
Thanks, Ronald
I'm trying to implement an algorithm for building a chain of objects. I pick a
position in the chain, select the most suitable object, insert that object and
move on to next iteration. The whole process is a matter of several minutes,
and I'm interested in its fastest completion.
Hi,
I'm using jBPM process definition with Seam backed by EJB3 SLSBs as Action
Handlers. Each node in my process calls a method in SLSB.
How can I make transaction demarcation so that EJB3 Transaction span several
Nodes, i.e. last more than one EJB3 method? Currently, the transaction finishes
Hi,
Can anyone suggest if there is a workaround for StackOverflow exception that
happens in case of long decision loops without persisting process state into DB?
https://jira.jboss.org/jira/browse/JBSEAM-3250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
Thanks,
View the or
Thanks for you advice.
All my nodes in the process definitions are plain Nodes and Decisions.
It is still unclear, though, if one EJB3 transaction can span more than 1 node.
All my changes are made persistent as soon as jBPM node finishes, while the
next node starts another transaction.
View t
BTW, it turns out that in case Seam is used with jBPM it is Seam (not jBPM) who
deals with EL resolution.
http://seamframework.org/Community/UsingJBPMELInSeam
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169759#4169759
Reply to the post :
http://www.jboss
Hi,
I've we got the situation where the first node of my business process starts
EJB3 transaction and the last node either commits it or rolls back. The problem
I have now is that each action seems to be transactional, in other words all
JPA operations that reside in the SLSB actions turn out t
I'm a bit put down seeing lack of information on using EL in jBPM.
The maximum I could find is a chapter Expressions
http://docs.jboss.org/jbpm/v3/userguide/jpdl.html#expressions in the jbpm
reference guide.
There is not a single mentioning of how to use them among jBPM examples.
Sure, there are
Thanks, Ronald.
I'll try ask the same question on Seam forum.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169462#4169462
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169462
_
For the example's sake let's take this jPDL snippet from Seam dvd example
|
|
|
|
|
Don't be confused, expression here is jBPM Expression Language, nothing to do
with Seam EL (Or am I wrong?).
My question is, can I put a variable from business context in
Well, doesn't jBPM have its own scheduler? Although, AFAIK it can't be used for
scheduling processes, signals only.
I'll have a look at Quartz tho, thanks for your suggestion.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169340#4169340
Reply to the post :
Hi,
My business process is currently bound to one of Seam actions with
@CreateProcess (definition = "MyBusinessProcess").
Instead, I'd like to run it the on schedule, say once in a hour. How can do
that?
Thanks,
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&
Hi,
I'd like to use a business context variable in the EL block, like this:
| ...
|
This variable is declared in SLSB (via Seam) like this:
@Out(scope = ScopeType.BUSINESS_PROCESS, required = false)
| private String filteredBannersCount;
However, it seems EL should point to
BossAS, I'm not particularly concerned about porting the code on
any other AS.
Any advice is highly appreciated,
vanyatka
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138192#4138192
Reply to the post :
http://www.jboss.com/index.html?modul
Hi,
I have to admit I'm in a bit of a quandary. I need to clone a seam application
and place it under new virtual domain name. The business logic should remain
the same, while the presentation layer and the DB will change.
The easiest option would be to build an EAR for each of the hosts, wher
Shouldn't the used one belong to the form I'm sending? There are more than one
form on the page, you don't mean each form should have own set of objects for
binding its data, do you? =)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114706#4114706
Reply to
Here it is. Also, when more then one element in the list the suggestionBox
stops working.
|
|
| Id
| #{card.id}
|
|
That in the action method it's value is null.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114045#4114045
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114045
___
jboss-use
"[EMAIL PROTECTED]" wrote : What sort of persistence context are you using?
Standard out-of-the-box conversation-scoped SMPC injected with @In.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113037#4113037
Reply to the post :
http://www.jboss.com/index.html
Thanks, matt!
Your suggestion with "depend" annotation totally worked. And, also, it helped
me with another issue I was having:
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112686#4112686
I'll definitely give the observer a try, never used any observers before.
View the original p
Black magic, it works now, even without merge :)
matt.drees gave me a hint how to @Startup application scoped components
properly and it works now
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112676#4112676
The only change I made is that now the component starts up with @Startup
"JUnkie" wrote : I always managed to avoid entity updates after a persist in
the same method call...
May I ask why? By itself persist() doesn't necessarily triggers DB call, just
introduces the object to the persistence context. If I make an update later,
should be fine, the important thing is
I have to come back to this issue once again. There must be some easy
explanation.
The following code produces "Test Card" in the DB. Why the last change doesn't
get persisted? It is a part of the transaction, after all.
@Create
| @Transactional
| public void init() {
|
Can anyone confirm/deny that entityManager cannot be used in @Startup
components while hbm2ddl is being used?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112584#4112584
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=
Hi,
When I use the following form alone on the page everything is fine, but if put
it into some iteration element, like rich:dataTable then
#{tagHome.instance.name} varibale isn't initialised.
Can anyone suggest what could be the matter?
Any help is much appreciated,
Hi,
I've run into the following problem. I need to progammatically populate entity
tables whenever upon the startup of the application. I thought that an
application-scoped component, annotated with the @Startup would be the ideal
place for placing those em-related statements.
However, appare
Hi,
Is there any functional difference between these two snippets (note the order
of the last two statements)? When I look at the DB tables in the first case the
name of the Card is null. Why so? I was dead sure any changes made to
persistent object are flushed at the end of the transaction, so
"amitev" wrote : I don't think this is possible through eclipse. Possible
solution - download hibernate and in the zip file there is also the source code
and a build script. You could modify the build script to pack the .java files
besides the .class files.
|
Thanks for your reply, amitev, h
Hi,
I need to attach javadoc urls to the jar in the JBoss Runtime, however when I
click on a jar (inside Package Explorer tab) in the Javadoc section I see this
message anonymous wrote : The current class path entry belongs to container
'All JBoss Libraries [JBoss 4.2 Runtime]' which does not a
Just found out that is actually run within the comments.
IMHO it shouldn't be so, at least we need another pair of comment tags, cause
if I need to e.g. temporarily switch off the creation of some component
referenced in the page, simple commenting isn't enough, I need to remove that
piece of
"amitev" wrote : xhtml is html with strict xml syntax. Use the standard xml comment
Thanks, that's useful.
Manuall adding comments while automatically handling transactions and ORM and
all the rest of hi-tech, sounds brilliant.
View the original post :
http://www.jboss.com/index.html?module=b
I'm ashamed to ask this, but can anyone suggest how to comment/uncomment pieces
of .xhtml files in eclipse with JBossTools installed?
I'm new to Eclipse (switching from IDEA), there must be some plugin for this,
probably. I tried to use xmlbuddy in hope for finding this silly bit of
functional
Thanks, Pete, I will.
I would put it proudly along with the top 10 reasons of using Seam :)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107584#4107584
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107584
___
Thanks, Danno
I look forward to having a look at it whenever you complete the job.
I bet JBoss Seam team has a bunch of successful stories to present in
conferences.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107581#4107581
Reply to the post :
http://
Hi, Max
Good it's been taken care of to avoid confusion in the future, for now using
only resources/ds.xml is fine.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107579#4107579
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=
Hi,
The same thing with JBossTools-200711231607. There are two ds.xml files in
resources/ and src/model/META-INF/ folders.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107552#4107552
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posti
Will take me a bit of time to download, I'll post back tomorrow how goes.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107487#4107487
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107487
_
double ds.xml issue didn't go away after I deleted and recreated the project.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107477#4107477
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107477
___
Ok, thanks.
Cost me a bit of time to figure why my username became the default schema name.
At first I thought I just mixed them up by mistake.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107474#4107474
Reply to the post :
http://www.jboss.com/index.ht
What about a second datasource file? It is still present even without ticking
JPA facet.
By the way, I noticed that the project structure generated in Eclipse is
slightly different from that generated by seam-gen, particularly what concerns
production/development/testing configurations. I assum
"[EMAIL PROTECTED]" wrote : yes - the double persistence.xml is because of you
choosing to enable the Dali facet which randomly chooses a META-INF directory
to put its orm.xml and persistence.xml
|
| ...another reason why don't enable that by defaut ;)
I see now. If I don't enable JPA facet
"[EMAIL PROTECTED]" wrote : what version of Seam ? I'm not seeing these at all
in CR1.
|
jboss-seam-2.0.0.GA
anonymous wrote : Could you try with the latest nightly build please ?
Nightly build of Seam? Are you saying the project layout is generated by seam
and not by JBossTools?
View the
http://ibalashov.googlepages.com/multiple_persistence.PNG
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107467#4107467
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107467
_
Here is what I installed (Eclipse classic + WTP + JBossTools)
eclipse-SDK-3.3.1.1-win32.zip
dtp-sdk_1.5.1.zip
emf-sdo-xsd-SDK-2.3.1.zip
GEF-SDK-3.3.1.zip
wtp-R-2.0.1-20070926042742.zip
BossTools-2.0.0.CR1-ALL-win32.zip
Here is what it shows there is:
http://ibalashov.googlepages.com/eclipse_ver
Hi,
Is it necessary to set "default JPA implementation" setting in Eclipse
preferences when working on a Seam web project? Or safe to ignore?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107452#4107452
Reply to the post :
http://www.jboss.com/index.html?
Hi,
I've just generated a new Seam web project in Eclipse with the latest JBoss
Tools installed. In the layout of the project folders there are two versions of
perisistence.xml as well as datasource (MyProject-ds.xml) files.
1. persistence.xmllocated in src/model/META-INF and src/META-INF
Whe
Hi,
It would be very interesting to hear about existing projects developed with
Seam, particularly how long have they been developed for, what tools have been
used (Eclipse or IDEA, or whatever), what were major difficulties, how painful
is maintenance, etc.
Is such info available?
Thanks,
WinXP, JBoss-4.2.2, Seam-2.0.0
Let me acknowledge the same problem. After the app has been once "exploded"
into JBoss deploy dir it cannot be removed apparently because some jars are
locked up. This is especially annoying when the app hasn't deployed properly,
and needs re-deplyment, which in t
Hi,
I'm at the very beginning of adding integration testing to my Seam application,
and I have the following problem. The EntityManager and Log objects used inside
the action bean are nulls during invoking the tests, unless I set them manually
(which AFAIK I should not).
( To clarify, the test
Thanks, Jacob. I got the idea! Now gonna try it out :)
(I wish I could award you some duke dollars, or whatever is it called :)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088452#4088452
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=post
"jacob.orshalick" wrote : Ok, so did you begin a long-running conversation with
cid 1? By default, Seam is always going to create a conversation for the
processing of a request, but you must promote that conversation to long-running
if you want it to continue. join=true will start a long-runni
"jacob.orshalick" wrote : Also, have you checked the seam.debug page? Is
conversation with id 1 sticking around in memory?
Thanks for this tip, the debug page is vastly helpful!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088408#4088408
Reply to the post
I mean I simply have outputText element showing conversation.id.
After the page is loaded the first time the conversation ID shows 1 and the
link as I see it in the browser's status bar is
.../home.seam?cid=1&conversationPropagation=join
But when I click the link the conversation ID goes up to 2
Hi,
Must be something rather obvious, yet I'm not aware of it. I have a page with a
s:link element with propagation "join" and "conversation.id" output.
When I first load the page I see conversation as 1 which is fine. But when I
click the link the conversation ID increases to 2, regardless o
"[EMAIL PROTECTED]" wrote : Uncommitted changes will still be in the
persistence context, right?
Ah, that explains it! Knowing about ACID isn't enough to get the question
clear, there is another figure here - Persistent Context :)
Thanks, Norman
View the original post :
http://www.jboss.com/in
Hi,
Reading a book about Seam Apress.Beginning.JBoss.Seam.Feb.2007 in the section
about conversations I've come across the following paragraph:
anonymous wrote : So what happens if you want to price out another flight?
Well, you could create a
| complex session management tool to keep a map
Hi,
If we have a look at the BookingListAction class (listed below), its
transaction attribute suggests, that each method in that class will trigger a
new transaction. My question is about the cancel() method, which as you can see
removes the booking, and updates the list of bookings. What conf
"[EMAIL PROTECTED]" wrote : Yes, as few as possible is our aim (we are working
on reducing this e.g. the tree design mentioned above).
Thanks for your help, Pete.
It's all much clearer to me now. Is it too bad that I referenced RF libs in the
application.xml?
View the original post :
http://ww
"[EMAIL PROTECTED]" wrote : Well my definition of dependency is absolutely
required by - here it isn't a requirement, just the way you choose to structure
your app.
Well, it is necessary as long as I want to use the component :) If you say
don't use RichFaces (particularly trees, not sure about
"[EMAIL PROTECTED]" wrote : No, SessionBeans don't depend on JSF libraries.
Yes, you can bind to jsf components if you wish - but you probably shouldn't to
avoid separation of concerns. You should follow seam-gen packaging.
Are they not? I'm particularly interested in using the Tree component,
Hi,
I've just started using RichFaces in my Seam applications and apparently
SessionBeans cannot avoid referencing UI components. Is it supposed to be like
this? I mean in Spring people are worried about propagating business logic into
the presentation layer (Open Session in View), but here it
Hi,
I need to develop a web application which should be scalable. Is there any
reasons in using EJB if I need only a web interface to business logic layer?
What are the reasons motivating people choose to use EJB for developing web
applications?
View the original post :
http://www.jboss.co
73 matches
Mail list logo