You can Inject only to a seam component? And seam component is the one which
declares @Name annotation. I dont see that on your servlet.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121631#4121631
Reply to the post :
http://www.jboss.com/index.html?module=
About the NameNotFoundException you got.
Search for my posts on the forum and you will find the solution.
You`ll have to declare ejb-reference in ejb-jar.xml when injection EJB.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121626#4121626
Reply to the post :
It seems like a something basic. Doesn`t anyone have an idea?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116512#4116512
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116512
_
?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116384#4116384
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116384
___
jboss-user mailing list
jboss-user@lists.jboss.org
ht
Merging gave me following stacktrack:
| uncaught exception
| java.lang.IllegalStateException: Could not commit transaction
| at
org.jboss.seam.jsf.SeamPhaseListener.commitOrRollback(SeamPhaseListener.java:592)
| at
org.jboss.seam.jsf.SeamPhaseListener.handleTransactionsAf
We have non-seam component entity - Client.class
We outject it to session context while logging in:
| @In(required = false, value="client")
| @Out(value = "client", required = false, scope = ScopeType.SESSION)
| private Client user;
| @In
| private EntityManager em;
|
Any ideas on this issue?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113194#4113194
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113194
___
jboss-user mailing list
jboss-
Wouldnt I loose seam management when using @EJB?
References are there for glassfish, it requires them, doesnt it?
I got it finally working by adding this as first declaration in ejb-jar.xml:
|
|
| AddHouseAction
| ee.soov.add.AddHouseAction
|
It is backward compatible. So the answer is that you can.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111413#4111413
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111413
_
I got it working. It was hibernate bug afterall.
false was causing the triouble.
After we removed it everything worked out smoothly.
Thank you all.
Btw. about glassfish EAR deployment example, all you have to do are:
- create separate entites.jar with persistence.xml
- put persistence-unit-ref`s in
We are trying to inject Stateless ejb to a stateful ejb.
We are using ear deployment and have declared ejb-references in web.xml
web.xml
|
| soov/FacadeBean/local
| Session
| dummy.Facade
| FacadeBean
|
|
code:
import javax.ejb.Local;
That does not use seam managed persistence.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111068#4111068
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111068
___
jboss-user
No solution here as well? The examples ship with war deployment. Every EAR
deployment has been a failure and no answers anywhere. It`s easy to point to
JPA example, but I have a question then - why is JBoss an EAR deployment while
glassfish WAR deployment?
View the original post :
http://www.j
After some more testing I found out something wierd. Native queries are
working, they work for right database.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110805#4110805
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&
Isn`t the persistence unit available to web module from ejb module? Any
assistance would be great.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110784#4110784
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110784
___
persistence.xml inside ejb.jar
|
| http://java.sun.com/xml/ns/persistence";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd";>
|
| org.hibernate.ejb
I did some tests and found out that we we`re accidently using
@PersistenceContext to inject entitymanager at the time of testing. So
Injection entitymanager from EJB-s also give same results - no createQuery or
createNameDQuery functionaility work. So therefore seam is not setting up my
entitym
any ideas on this one?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109593#4109593
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109593
___
jboss-user mailing list
jboss-us
Yes they do, they are showed binded in startup log.
The named queries work fine from actions later on.
Just it wont find query in this resourceloader.
| Binding entity from annotated class: ee.soov.entity.Messages
| Binding Named query: keys => select m.messagekey from Messages m where
m.chan
We are trying to implement resourcebundle in database.
Everything works fine, but it seems that our entitymanager is not able to
resolve any namedqueries in resourceLoader.
Is it some kind of instancing issue with SMPC entitymanager? Or something else?
components.xml
|
| http://jboss.com/pro
Any progress on this part?
JBoss subprojects claim to be application server independent but somehow they
never work out-of-box:(
Unfortunately JBoss Cache is quite only cluster-supportive cache for hibernate.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=41075
We encountered problem with integrating seam 2.0.0.GA and ICEFaces Facelets. It
appears that ICEFaces relies on getVersion() method which on glassfish v2
platform returns null.
More information in according jira case:
http://jira.icefaces.org/browse/ICE-2405
How to overcome this problem and why i
My environment:
Glassfish V2
Netbeans 6 RC 1
JBoss 2.0.0.GA
When I try to Deploy my EAR application inside netbeans it throws exception:
| Exception occured in J2EEC Phasejava.lang.IllegalArgumentException: Invalid
ejb jar [jboss-seam.jar]: it contains zero ejb.
| Note:
| 1. A valid ejb
23 matches
Mail list logo