toni wegner [http://community.jboss.org/people/toniw] replied to the discussion
Problem with nested Fork
To view the discussion, visit: http://community.jboss.org/message/550308#550308
--
For your information,
the solution in posting
toni wegner [http://community.jboss.org/people/toniw] replied to the discussion
Problem with nested Fork
To view the discussion, visit: http://community.jboss.org/message/550358#550358
--
Hi maciej,
the problem is fixed in version 4.4
toni wegner [http://community.jboss.org/people/toniw] replied to the discussion
nested forks
To view the discussion, visit: http://community.jboss.org/message/550359#550359
--
this problem is fixed in version 4.4. I tested
toni wegner [http://community.jboss.org/people/toniw] replied to the discussion
Problem with nested Fork
To view the discussion, visit: http://community.jboss.org/message/550111#550111
--
Hi Maciej,
thanks for fast answer. I use
toni wegner [http://community.jboss.org/people/toniw] created the discussion
Problem with nested Fork
To view the discussion, visit: http://community.jboss.org/message/550005#550005
--
Hi users,
i have problems with nested fork. If i
Toni Fernan [http://community.jboss.org/people/i02fesea] created the discussion
Error adding new field like ArrayListString
To view the discussion, visit: http://community.jboss.org/message/539222#539222
--
Hi everyone,
I am trying
Hi,
an action of mine is deleting several entities. The deletion fails due to a
foreign key constraint.
The log error message only shows the table names which cause the contraint
violation, but not the rows involved.
It would be very helpfull, if the primary keys of the objects involved would
Hi,
how do I access the value of a check box contained inside a jsf view from a
SFSB without creating explicitetly a Java Bean for the boolean value?
This does not seem to work
|
| simple page
|
| f:view
| h:form
|
| h:outputText value=List All/
|
Hi,
how can I grant unauthenticated users access to parts of my webapplication? I
have read that we have to use the tag unauthenticated-principal in order to
do this. Here is my configuration, maybe somebody can help me out?
|
| --- important part of web.cml
(myEntityBean) ???
Toni
PS: This guy seems to have the same problem
http://www.jboss.com/index.html?module=bbop=viewtopict=84125
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4087645#4087645
Reply to the post :
http://www.jboss.com/index.html?module=bbop
entityManager.persit(myEntityBean) ???
Toni
PS: This guy seems to have the same problem
http://www.jboss.com/index.html?module=bbop=viewtopict=84125
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4087091#4087091
Reply to the post :
http://www.jboss.com/index.html?module=bbop
entityManager.persit(myEntityBean) ???
Toni
PS: This guy seems to have the same problem
http://www.jboss.com/index.html?module=bbop=viewtopict=84125
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4085905#4085905
Reply to the post :
http://www.jboss.com/index.html?module=bbop
to be possible to recover from this error.
Trying to catch the exception still leaves the transaction invalid. How can I
make sure that I catch this kind of duplicate key exception without the current
transaction being rolled back, when I call entityManager.persit(myEntityBean)
???
Toni
View the original
to be possible to recover from this error.
Trying to catch the exception still leaves the transaction invalid. How can I
make sure that I catch this kind of duplicate key exception without the current
transaction being rolled back, when I call entityManager.persit(myEntityBean)
???
Toni
View the original
to be possible to recover from this error.
Trying to catch the exception still leaves the transaction invalid. How can I
make sure that I catch this kind of duplicate key exception without the current
transaction being rolled back, when I call entityManager.persit(myEntityBean)
???
Toni
View the original
Thanks Matt
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4084303#4084303
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4084303
___
jboss-user mailing list
Hi,
may we use the java keyword synchronized on a method of a SLSB to ensure that
several statements get executed all together or not at all?
I have a method in a SLSB, which updates a counter kept in an Entity bean, if
some condition is fulfilled.
Afterwards the counter is increased. I want
Hi,
using a single table inheritance strategy with postgres 7.3 always causes a
ConstraintViolationException when I try to merge the changes.
I first create a new enity bean, which works. Then I add it to a OneToMany
collection of another entity bean and try to merge the change. This is when I
Hi,
using a single table inheritance strategy with postgres 7.3 always causes a
ConstraintViolationException when I try to merge the changes.
I first create a new enity bean, which works. Then I add it to a OneToMany
collection of another entity bean and try to merge the change. This is when I
() or does not
enter anything at all into a text field, the instance variable is set to NULL
instead of to an empty string?
Toni
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4083988#4083988
Reply to the post :
http://www.jboss.com/index.html?module=bbop
Thanks for the advice. However, the problem is that those columns are out of
scope for any annotations I place on my columns.
That's because those columns are automatically generated by hibernate to keep
track of the OneToMany relationships. In other words I have no column on which
I could
I'm using a counter in an Entity Bean. It tracks the number of times a certain
condition occurs. I have marked the counter with @Transient, because I only
need it temporarily.
My questions is:
If several threads look up the same Entity Bean (with the same primary key),
does each entity bean
But I still keep getting this exception:
007-07-17 15:25:54,741 WARN [org.jboss.seam.contexts.Contexts] Could not
destroy component: messageSchedulerManager
| javax.ejb.EJBNoSuchObjectException: Could not find Stateful bean:
5x6n5t5h-ieb81j-f471zzrs-1-f48dvzar-az
| at
Here are the config files. What am I missing? I guess besides the web.xml
descriptor timeouts are meassured in ms (you should put this in the docs)?
web.xml
|!-- Default Session Configuration
= --
|!-- You can set the default session timeout
Hi,
have read about the problem with components vanishing before the http sessions
ends.
I have left the sfsb timeout at 30 min, set the http session timeout to 20 and
the conversation timeout to 60 min.
I still get the error Could not destroy component. Is this because of the
conversation
Hi,
I have a set of entity beans, which change onces in a while. For example, maybe
a new persitent field gets added to one of the entiy beans.
Because the system in going to be in production, I need a way to backup all the
user data and restore it after the database structure has changed
Hi,
I'm using Entity beans with seam in my webapplication. I would like to persist
an Array of Strings as follows:
@OneToMany(cascade = {CascadeType.ALL})
Collection descriptions = new ArrayList();
This is not working so. I get an error message. Of course I could introduce
another Entity
The copy and paste removed the important part in the code. Here it comes again:
| /* @OneToMany(cascade = {CascadeType.ALL})
| CollectionString descriptions = new ArrayListString();*/
|
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4059214#4059214
What is the best approach then for a task which might last for 1-6 hours, which
is the case with mine. I have increased the transaction timeout already to 2h,
but yesterday the task stopped after 2h, without raiging any exceptions.
I found the following message in the logs:
anonymous wrote :
But the outer transaction is always bound to the TransactionTimeout. In
essence I'm just looking for a way so that a method is allowed to run as long
as it needs to to get the job done. Is it possible in seam to run the whole
batch without a transaction?
View the original post :
Hi hbaraca,
if I place the @TransactionTiemout annotation on one of my action methods of my
SFSB's, which get called, when user clicks on an action link, then the timeout
is being ignored. So it does not work for me.
View the original post :
Hi,
in my seam application the user can start a batch process, by clicking on a
link in the web application.
When he clicks on that link the method of a SFSB is called, which in turn
direktly calls the method of a SLSB where the job actually gets done.
The processing runs for about 1h and 43
Hi,
I'm trying to use the SeamEntityConverter convertEntity tag in order to select
an entity from a selectOneMenu widget.
I downloaded the entityconverter-0.1.zip and unzipped it. The I discovered that
the tld is pointing to the wrong class and that reference to the taglib is
wrong too. After
sounds like a downgrade from the previous version
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4047249#4047249
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4047249
___
Hi,
I'm using @Create to initialize a collection upon the creation of my SFSB.
However, the method which I marked with the annotation is not being invoked.
Does the method signature have to follow any conventions?
View the original post :
Hi,
I have set up a security realm for my seam application. When trying to
authenticate the user I can see in the postgresql logifle the following error:
ERROR: relation systemuser does not exist
However, the table exists in the database. I have done this for mysql without
running into any
Hi,
I have a LEFT JOIN, which looks like this:
|
| entityManager.createQuery(SELECT t FROM Template t LEFT JOIN t.messages c
WHERE t.client.hostname=:ch GROUP BY t.id, t.subject, t.text, t.client ORDER BY
count(c)).setParameter(ch, client.getHostname()).getResultList();
|
The problem
Hi,
my users can browse customer data table and apply certain filter criteria to
it.
For that a SFSB stores a single Query object, which get's set in an action
method.
However, the execution of the query occurs just before the render response
phase through a page action in pages.xml.
This
It's probably because you did set the input field's required attribute to true.
You need required=true in your jsf view component too.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4043506#4043506
Reply to the post :
I meant: It's probably because you did NOT set the input field's required
attribute to true.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4043507#4043507
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4043507
Hi,
I'm using @Asynchronous on a SFSB and I get the expected behaviour. The current
thread is not being blocked until the method completes.
However, if I use a non HTTP client and a context lookup, then the active
thread is actually being blocked, until the method finishes.
So if use
Hi,
in our webapplication the user can trigger a batch insert, which will create
about 400 entities. This takes about 40 minutes.
In the beginning each entity gets created within a second. The more entities
are inserted and the further the process progreses, the slower it gets.
In the end it
Hi,
I'm still trying to figure out how to span several transactions within the
scope of one web request/response.
I guess using a TransactionalSeamPhaseListener is not an option, because it
always starts a transaction at the beginning and end of the request ie response
respectively.
So I
[EMAIL PROTECTED] wrote : By the way, you can always use the
TransactionalSeamPhaseListener and @TransactionAttribute(REQUIRES_NEW) to
suspend the existing transaction during a particular method call in INVOKE
APPLICATION. Your method then executes in a new transaction context - which is
Hi,
I have noticed for a while that the jboss-seam-1.2.1.GA/lib/ directory
contains many more jars besides those, which gets created during the build
process, which are:
jboss-seam-debug.jar
jboss-seam-gen.jar
jboss-seam-ioc.jar
jboss-seam.jar
jboss-seam-mail.jar
jboss-seam-pdf.jar
Hi,
I get the following exception, when I try to use the tag s:conversationId/
even though I reference the taglib!
| %@ taglib uri=http://jboss.com/products/seam/taglib; prefix=s %
|
| h:outputLink styleClass=navbar value=campaignMessages.seam
| s:conversationId/
|
So you are saying that @Transactional should only be used on Seam components,
which are missing the tags @Stateless or @Stateful?
And that seam components which are tagged with @Stateless or @Stateful should
refer/use @TransactionAttribute instead ?
View the original post :
Well thank you for clarifying this! I was already wondering why seam would
introduce an extra transaction annotation, which lacks some of the EJB3
transactional attributes.
anonymous wrote :
| By the way, you can always use the TransactionalSeamPhaseListener and
How and where ca I turn this on?
I noticed something very interesing so: I used
@TransactionAttribute(TransactionAttributeType.NEVER)
on the first call to the SLSB (stateless) and the transaction gets stopped! In
the logfile I see:
007-05-04 14:56:08,090 ERROR
Hi Christian,
thanks for you help. That seems to be the reason.
I introduced another session bean and now its working!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4043179#4043179
Reply to the post :
Well my last post actually refers not to your last post, but the one before.
What you assume in your last post I thought before and made all the session
beans stateful - but that did not help either.
It's seems to be that on reentrant calls the annotations are ignored. By
introducing another
Hi,
in our webapplication the user can trigger a batch insert, which will create
about 400 entities. This takes about 40 minutes.
In the beginning each entity gets created within a second. The more entities
are inserted and the further the process progreses, the slower it gets.
In the end it
Hi,
in my stateful session beans I use field declarations like:
| Preferences preferences = Preferences.userRoot();
| SecureRandom secureRandom = new SecureRandom();
|
Both are not serializable, which makes me wonder whether or not I should
declare them @Transient?
Will the
I'm asking, because some passivation exceptions show up in my logfile.
Unfortuantely they don't tell, which bean is causing them.
| 9:35:48,152 FATAL [RegularObjectPersister] error
| java.lang.reflect.InvocationTargetException
| at
I have tried this on my session bean, but I still run into a TransactionTimeout
exception. I used the following my stateful session bean:
| @org.jboss.annotation.ejb.TransactionTimeout(1000)
|
Changing the timeout in jta-service.xml on the other hand works. I'm using seam
1.1 - could
The timeout is set in another .xml file. Maybe this helps you:
http://www.jboss.com/index.html?module=bbop=viewtopict=101719
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4042984#4042984
Reply to the post :
Hi,
I have a webapplication, which imports data about customers from a text file.
Each row contains a record out of which several entity bean are being created
and assembled.
The function, which reads in a line an creates those entity beans and sets up
the relationships between them is called
to set on which function?
Any help is being appreciated...
toni
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4041122#4041122
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041122
Hi,
the seam docs explains how to setup properties in the components.xml file,
which later can be accessed by seam components.
However, I could not find which annotations or methods I have to use to
actually read them in.
Inside a custom seam component, how would I access them?
toni
View
Hi,
I have an entity bean, which references an exception. Persiting the entity bean
to the postgresql 7.4 works without problems.
However, I can't read/restore them, because I get the following exception:
org.hibernate.type.SerializationException: could not deserialize
Does anybody know how
Hi,
I'm using a SFSB, which calls upong another SLSB to start a task, which takes
about two minutes or so to finnish.
The problem I run into is that another requests gets trigger, starting another
task, which creates duplicate entries.
I have placed @Synchronized on the SFSB, hoping it would
Hi,
I have an entity bean, which references an exception. Persiting the entity bean
to the postgresql 7.4 works without problems.
However, I can't read/restore them, because I get the following exception:
org.hibernate.type.SerializationException: could not deserialize
Does anybody know how
I think it would be a nice feature if this woul work automatically. If I define
a component to be created upon injection, then why only the one which is marked
with a @Name(xxx) annotation?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4030620#4030620
Reply
Hi,
when using the c:forEach tag in my seam webapplication I get:
Exception during request processing: The absolute uri:
http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the
jar files deployed with this application
I'm using the following taglib:
%@ taglib
Hi,
I have the problem that I can't outject an instance of an Entity Bean from a
SFSB into a context variable.
The instance field of the SFSB from which I'm trying to outject the EntityBean
is an INTERFACE, which two of my Enity Beans implement.
I think this is causing problems. I can tell
Hi Norman,
I'm still having those problems. Now I added the scope CONVERSATION to all the
@Out tags, and I get other weired stuff.
Could you please comment on this?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4014095#4014095
Reply to the post :
I also completely installed JBoss 4.0.5 GA with Seam 1.1.6 from scratch,
because I did not use the BETA installer before. But it does not help.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4014097#4014097
Reply to the post :
Hi,
I'm having strange problems outjecting components into the only running
conversation.
This used to work before and since I upgraded to JBoss 4.0.5 GA I'm getting
this strange behaviours.
I double checked my application and I'm pretty sure ithat there is nothing
wrong with the code.
So I
To reproduce the error I wrote the following:
Bean
|
| @Name(test)
|
| public class Test implements Serializable
| {
| String text;
|
|
| public String getText()
| {
| return text;
| }
|
| public void setText(String text)
| {
| this.text
Thx!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4011965#4011965
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4011965
___
jboss-user mailing list
jboss-user@lists.jboss.org
, in the middle and at the bottom of
the page with other text and components inbetween them?
Toni
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4011224#4011224
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4011224
-client.jar:jboss-system-client.jar:jboss-transaction-client.jar:jbossws-client.jar:jboss-xml-binding.jar:jmx-client.jar:jmx-invoker-adaptor-client.jar:jnp-client.jar:juddisaaj.jar:log4j.jar:logkit.jar:mail.jar:scout.jar:trove.jar:wsdl4j.jar:xmlsec.jar
-jar ~toni/projects/di/bin/import.jar
Exception
Hi,
how do I obtain a reference to a stateless session bean from within a MBean?
Toni
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4008843#4008843
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4008843
Well, that's pretty obvious but I was wondering about the naming convention.
Here is the code and naming convention:
Properties p = new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY,
org.jnp.interfaces.NamingContextFactory);
p.put(Context.PROVIDER_URL, localhost:1099);
Does JSF provide any means of checking for the role the user is in?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4008160#4008160
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4008160
One final question:
How can I render parts of the page depending on the user role with this kind of
security setup?
I would like to hide or show menu items depending on whether or not the user
belongs to a certain rule.
View the original post :
I have now used the web.xml and it works fine for me. There is a good
JAASExample in the wiki. I can recommend it.
Just one last question. I noticed that the j_security_check is the URL to which
the request for a FORM login gets posted to.
Is that a constant or can we change it? And how could
Ok, thats a solution.
The thing is that I use the page several times and I don't want copy and paste
the code. That's why I made a second page.
But you actually got me on something. Maybe I could just inherit from that
class, which sets the special value?
View the original post :
Hi,
I'm trying to set the values of an enity bean of which one value has to be
chosen/set from a different page. The user gets to the page by clicking on a
link whose link text displays the current value. The link is contained inside
the same form, which contains the other input fields and the
I tried it, but it does not make to seem a difference. And why would it?
The fields which do not have any validation annotations aren't validated anyway.
And the once which do should be validated, but only after the user clicked on
the Save button.
However, validation occurs always when he
Hi,
I would like to setup security for my seam application. I have a database
(realm) with users and password which I would like to use.
I thought about using security contraints in the web.xml file in combination
with some database login module from JBoss, which I remember from the past.
Can
Hi,
what's @Valid used ie usefull for?
Toni
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4005998#4005998
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4005998
___
jboss-user
Actually I have another question relating to the one above. If I use
then will only the tables, for which I defined entity beans be dropped or all
tables?
I have tried this line
but unfortantely it does not create the missing tables.
View the original post :
Hi,
I noticed that HTML tags are automatically escaped, when I use for example:
FacesMessages.instance().add(The less and equal sign of this tag will be
escaped, and I don't know how to avoid this.);
So basically I can't use them?!
I know that h:outputText/ has an attribute called escape,
any workaround?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4005480#4005480
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4005480
___
jboss-user mailing list
Hi,
I'm trying to use an autocomplete textfield in my seam applicaiton. The latest
verison of ajax4jsf has a tag for that:
ajax:autocomplete
baseUrl=${pageContext.request.contextPath}/GetModel.view
source=make
target=model
parameters=model={model}
Hi,
I would like to use Ajax in my webapplication to enjance some of user widgets.
I have looked around but could not find any tutorials or good documentation.
Could somebody suggest a good tutorial on how to use ajax WITH seam?
Should I use Ajax4JSF or IceFaces for development?
Toni
View
Hi,
I have an EmailMessage Entity, which contains four collections, which all
reference the same type of entity bean, which in my case represents an
EmailAddress.
So I have an EmailMessage and inside 4 collections, all of which in turn store
EmailAddress Entities for the email fields to, cc,
Well, I manually removed the NOT NULL contstraints and then everything works as
expected.
So I guess my question boils down to why does JBoss or Hibernate create NOT
NULL constraints for those columns?
View the original post :
Hi,
I found somebody else, who has the same problem:
http://www.jboss.org/index.html?module=bbop=viewtopict=95514view=previous
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4002380#4002380
Reply to the post :
In there you can find the classes, but not the sources. Do you know where they
are?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4001835#4001835
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4001835
Hi,
is it possible to use the @Resource annotation to inject deploy time configured
properties into a field variable of a SLSB?
Trying to inject the value into a SLSB does not work. The field of the SLSB
remains NULL.
Here the ejb-jar.xml which I place in /ejb/META-INF/:
Do you know where I can get the source code from? Then I could implement this
by myself.
I searched through all the JBoss 4.0.5 GA jars but I could not find the classes
in the example of wiki.
Where are the sources located???
View the original post :
Thxs. I corrected the typo, but it's still not working. I also can't see it in
the JNDI Tree of the MX console so it seems to be a binding problem. It should
appear there, right?
Well, there is no real argument for using this over that. But I read the
oreilly books and follow standards. So, I
Thanks for the reply!
I looked into the documentation and found the following: Specifies that a
stateful component has multiple concurrent clients, and so access to the
component must be synchronized. This annotation is not required session scoped
components, which are synchronized by default.
Hi,
I have two entities: Email and Person. Each Email entity is referencing a
Person entity, but each Person entity is unaware of that.
I'm looking for an EJB QL statement, which will return for each Person how many
Email Entities reference it. Or how many emails a Person has written.
I have
I have looked at the wiki. But unfortunately the solution you pointed me to,
requires the POP3/IMAP accounts to be known at deploy time.
They have to be defined inside the ejb-jar.xml.
Is there any other solution, which enables JMS delivery for incoming emails for
which the pop3/imap accounts
Hi,
I noticed that my webapp stops working, when I change the
hibernate.hbm2ddl.auto property of my persitence.xml file from create-drop
to update.
This used to work before and now I get the following exceptions, when I try to
retrieve a set of entities to populate a DataModel for rendering a
Hi,
I have three Entity Beans: Client, Person and Cooperation of which the later
may connect/reference the first two using a @OneToOne Relationship.
I'm looking for a EJB QL Query, which will return all the Person's, which are
not referenced/contained in Cooperation's.
How would the Query
Hi,
I read the wiki on how to use the si:selectItems several times, looked at the
examples, but I still run into the following excepiton:
javax.faces.FacesException: value must be iteratable
But I'm returning a List, which is iteratable. I'm using JBoss 4.04GA, with
Seam 1.0.1 GA and
1 - 100 of 125 matches
Mail list logo