[jboss-user] [JBoss Seam] - Re: Legacy code: Integrating with existing servlet

2008-01-20 Thread mirko27
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=

[jboss-user] [JBoss Seam] - Re: Component Architecture instead of traditional Layers

2008-01-20 Thread mirko27
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 :

[jboss-user] [JBoss Seam] - Re: Database flush problem

2008-01-02 Thread mirko27
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 _

[jboss-user] [JBoss Seam] - Re: Database flush problem

2008-01-02 Thread mirko27
? 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

[jboss-user] [JBoss Seam] - Re: Database flush problem

2008-01-02 Thread mirko27
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

[jboss-user] [JBoss Seam] - Database flush problem

2008-01-01 Thread mirko27
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; |

[jboss-user] [JBoss Seam] - Re: breaks icefaces file uplo

2007-12-15 Thread mirko27
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-

[jboss-user] [JBoss Seam] - Re: NameNotFound Injecting EJB to EJB

2007-12-09 Thread mirko27
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 |

[jboss-user] [JBoss Seam] - Re: Can I run jboss SEAM 2 example on tomcat 6 on jdk 1.6

2007-12-08 Thread mirko27
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 _

[jboss-user] [JBoss Seam] - Re: NamedQuery not known in Component

2007-12-08 Thread mirko27
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

[jboss-user] [JBoss Seam] - NameNotFound Injecting EJB to EJB

2007-12-08 Thread mirko27
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;

[jboss-user] [JBoss Seam] - Re: Seam-managed persistence contexts and Glassfish

2007-12-06 Thread mirko27
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

[jboss-user] [JBoss Seam] - Re: Seam-managed persistence contexts and Glassfish

2007-12-06 Thread mirko27
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

[jboss-user] [JBoss Seam] - Re: NamedQuery not known in Component

2007-12-06 Thread mirko27
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&

[jboss-user] [JBoss Seam] - Re: NamedQuery not known in Component

2007-12-06 Thread mirko27
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 ___

[jboss-user] [JBoss Seam] - Re: NamedQuery not known in Component

2007-12-05 Thread mirko27
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

[jboss-user] [JBoss Seam] - Re: NamedQuery not known in Component

2007-12-05 Thread mirko27
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

[jboss-user] [JBoss Seam] - Re: NamedQuery not known in Component

2007-12-01 Thread mirko27
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

[jboss-user] [JBoss Seam] - Re: NamedQuery not known in Component

2007-11-30 Thread mirko27
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

[jboss-user] [JBoss Seam] - NamedQuery not known in Component

2007-11-29 Thread mirko27
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

[jboss-user] [JBossCache] - Re: JBossCache with Hibernate on Glassfish v2

2007-11-25 Thread mirko27
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

[jboss-user] [JBoss Seam] - getVersion() returns null on Glassfish V2

2007-11-20 Thread mirko27
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

[jboss-user] [JBoss Seam] - Directory deployment problem (glassfish & netbeans)

2007-11-17 Thread mirko27
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