Hello all!
This might be a very stupid question. If so, please enlighten me... ;-)
I was wondering:
According to the specs, a stateful session bean has to be serializable so that
the container can passivate it.
Most stateful session beans will centain a @PersistenceContext declaring an
EntityMa
Hello again and thanks for your answer.
Unfortunately, I am still stuck...
I do not want to hand over the login info through the session, that's just ugly.
So I tried your second solution.
If I understand it correctly, the JBossIntegrationFilter basically just looks
up "java:comp/env/security/s
Hi!
I am trying to implement a file download function inside a portlet, i.e. a link
inside the portlet that will provide the user with a file.
I am using a Servlet to handle the download because I have to pull the file
from the database first.
Is there any way to access the portal's userPrinci
Hello all!
I am currently working on a project that has been dorment for a while. It uses
JBoss Seam with JBoss Portal through the MyFacesGenericPortlet.
A have updated Seam to 1.2.1 now and added a new component to test the
s:fileUpload functionality.
My problem is now that the action declare
Hi!
In an EJB3 application I have a EJB3-style timer that get's started by a
ServletContextListener at deployment time.
In the Listener I call getTimerService() on an injected EJBContext.
On the resulting TimerService I call getTimers() to check whether an instance
of that timer already exists
Of course... the interface! How could I forget?
It seems odd though, that the beans getter method gets called even though it's
interface does not even specify it...
Thanks a lot,
Phil
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980331#3980331
Reply to t
Hmm... why then do I get "detached object passed to persist" when I try to
persist a newly created entity with collection mapping?
I can persist anything just fine, but when I create an entity that holds a List
of other entities (even when the list is still empty), that fails.
I have already tri
Hi!
I am using ejb3-rc8 on JBoss-4.0.4.GA.
I am trying to get an EXTENDED EntityManager inside a servlet. Doing this in a
lervlet just seemed to be the simplest way to write some data to the DB while
migrating to a new, rewritten version of our application.
I look up the EntityManagerFactory an
Hi!
I am trying to understand how Portal manages the layout of maximized portlets.
The documentation does not seem to cover this topic.
In a freshly deployed Portal, a maximized portlet will cover both center and
left regions, but not navigation. How is this controlled?
Is the omission of the n
Hi!
I updated my JBoss 4.0.4.GA configuration to use the latest EJB3 (rc9) and
JBoss portal.
During server startup I see nothing wrong, but right after the server comes up,
it begins spamming the console with this:
| 16:19:54,968 WARN [UDP] discarded message from different group
(portal.h
Thanks, that was exactly what I was looking for :)
Regards,
Phil
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972916#3972916
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972916
Well, I found the answer, but that raises even further questions...
It turned out, I had different names for my Charge entity and the fields in my
session beans. So the field was not correctly outjected and thus overwritten
with null when being injected again on the next method call.
After namin
Hi!
I have a problem here which I have been unable to solve...
I have here two statufel Seam session beans. One uses the DataModel and
DataModelSelection mechanism to fetch some data rows. The other is used to edit
an item from that list.
What I have done is this: I added a getter for the DataMo
I solved my problem...
Strangely enough, the cause was that in my code some persistence annotations
were attached to fields while others (older code) were attached to
getter/setter methods.
Obviously hibernate checks one type first and complains without checking the
other.
So never, ever mix g
Hello all!
I have here a strange mapping problem on my hands (at least it seems strange to
me). Perhaps anyone here can enlighten me.
I have an entity model that contains (among other things) two entities (Cheque
and BonusCard) that work perfectly by themselves.
Cheque is an obstract class wit
Hi!
I am runnig a Seam application inside a portlet (using the
MyFacesGenericPortlet). I now need to access some of the user attributes stored
within the portal.
Usually I would do something like
| Map userInfo = (Map) request.getAttribute(PortletRequest.USER_INFO);
|
but it seems I have
Indeed...
Sometimes I just hate myself ;-)
You are, of course, correct. After changing the names, it works fine.
It's even in the Seam Reference Guide for crying out loud.
Well, thanks a lot for saving me from my own ignorance.
Regards,
Phil
View the original post :
http://www.jboss.com/index.
Hi!
I am totally confused...
I am working with an existing Seam application running inside JBoss Portal
(JBoss 4.0.4.GA, EJB3 rc8, Portal 2.4.0.CR3) with the MyFacesGenericPortlet.
All existing components work.
Now I tried to add a new component and get said error.
I have stripped it down in tryin
18 matches
Mail list logo