[jboss-user] [EJB 3.0] - 4.2.2: Referencing a PersistenceContext from within another

2008-03-31 Thread cfthomas
Does not work: | @PersistenceContext(unitName=my-persistence.jar#puName) | EntityManager em; | Works: | // Put 3 random characters in front of your jar name!! | @PersistenceContext(unitName=xxxmy-persistence.jar#puName) | I searched hours for this lil bug!! How can you release

[jboss-user] [EJB 3.0] - Re: 4.2.2: Referencing a PersistenceContext from within anot

2008-03-31 Thread cfthomas
Oh and your topic subjects do not work: originally was: 4.2.2: Referencing a PersistenceContext from within another ejb-jar View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4140230#4140230 Reply to the post :

[jboss-user] [EJB 3.0] - Re: 4.2.2: Referencing a PersistenceContext from within anot

2008-03-31 Thread cfthomas
Yes. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4140235#4140235 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4140235 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] [JBoss Seam] - Remoting behaviour

2007-11-03 Thread cfthomas
Hi! I'm developing a SEAM remoting app, so all things on the client side are done in JS and SEAM just handles remoting calls. I'm using SLSB on the server that look like this: | @Stateless | public class MySLSB { | private String prop1; | .. | @WebRemote | public String

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - NPE when creating query

2007-10-18 Thread cfthomas
Hi! I'm using JBoss-4-1.2.1.GA with SEAM 2.0.0.CR2. I get the following exception when creating a query | Caused by: java.lang.NullPointerException | at org.hibernate.hql.ast.tree.FromClause.findIntendedAliasedFromElementBasedOnCrazyJPARequirements(FromClause.java:120) |

[jboss-user] [JBoss Seam] - Configured SLSB

2007-10-18 Thread cfthomas
Hi! Maybe this sounds like a dumb question, but I'm confused. When I configure a component using components.xml: | component name=xxx class=acme.MyClass | property name=propaValue/property | /component | and this is a SLSB: | @Stateless | public class MyClass | { | private

[jboss-user] [JBoss Seam] - Configure Java Bean properties

2007-10-17 Thread cfthomas
Hi! Is it somehow possible to use JavaBeans as properties and configure them via components.xml. Like this: | public class MyClass | { | private MyJavaBean bean; | ... | public void setBean(MyJavaBean bean) {..} | } | and this: | component name=xxx class=MyClass |

[jboss-user] [JBoss Seam] - Re: How to decode hash password?

2007-10-17 Thread cfthomas
Hi LockDock! It's okay that it doesn't work. Hashing is a one-way procedure. No Hash can be 'decoded' to the original value. What you are doing in your unHash method is hashing the hash again! If you want to scramble passwords and unscramble them at a later time you need to look for

[jboss-user] [JBoss Seam] - Remoting: Exception during loadResourceProviders

2007-10-15 Thread cfthomas
Hi! I got my information from here http://docs.jboss.com/seam/2.0.0.CR2/reference/en/html/remoting.html please tell me what I did wrong. My setup is like this: | app.ear | ejb.jar | com/acme/.. | META-INF | components.xml | ejb-jar.xml |

[jboss-user] [JBoss Seam] - Re: Remoting: Exception during loadResourceProviders

2007-10-15 Thread cfthomas
I 'solved' it: I forgot to include | listener | listener-classorg.jboss.seam.servlet.SeamListener/listener-class | /listener | into my web.xml So the complete web.xml is now: | ?xml version=1.0 encoding=UTF-8? | web-app version=2.4 |

[jboss-user] [JBoss Seam] - Initial Request to SeamResourceServlet fails

2007-10-15 Thread cfthomas
What am I doing wrong: | 18:05:06,602 ERROR [Remoting] Error | java.lang.IllegalStateException: Cannot create a session after the response has been committed | at org.apache.catalina.connector.Request.doGetSession(Request.java:2284) | at

[jboss-user] [JBoss Seam] - Creating components

2007-10-12 Thread cfthomas
Hi there! I'm new to SEAM so maybe you can give me some hints: I want to create a generic component (not a component as in SEAM but a component as in reusable building block) I have a nice JavaScript Table that features all nice things you can imagine. It's written completely in Javascript

[jboss-user] [JBoss Seam] - Registration example not working with SEAM-2.0.0.BETA1 and A

2007-08-20 Thread cfthomas
Hi! I just downloaded and extracted: JBoss Application Server 4.2.1.GA and JBoss SEAM 2.0.0.BETA1 then I tried running the test for example/registration: cd examples/registration ant testexample I get the following error: [testng] [Parser] Running: |[testng]