[JBoss-user] [EJB 3.0] - NoSuchMethodException for org.hibernate.proxy.HibernateProxy

2006-06-14 Thread michael.c.small
I'm having an error occur randomly in an EJB3 application I've developed. Below is the stack trace of the error and the ValueObject class that the error indicates is causing the problem: The stack trace: | 03:24:06,000 ERROR [STDERR] javax.ejb.EJBException:

[JBoss-user] [EJB 3.0] - EntityManager.merge() throws SQL Exception : could not find

2006-02-01 Thread michael.c.small
I have a strange error occuring when I attempt to merge an EJB entity. Here's the overview, there is an embedded superclass named ValueObject that defines the primary key for all class inheriting from it. In this case, I have a entity named Relationship. A Relationship entity has a @OneToOne

[JBoss-user] [EJB 3.0] - Re: @OneToOne problem ...

2005-12-15 Thread michael.c.small
I found a solution ... although it's not the optimal solution. I'm simply switched the controlling entity (i.e. moved mappedBy to Relationship.java). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3912904#3912904 Reply to the post :

[JBoss-user] [EJB 3.0] - @OneToOne problem ...

2005-12-14 Thread michael.c.small
I have two entities that I'm trying to associate using one to one. Below is the code snippet for each: In Relationship.java (an Entity) | private TascForce tascForce; | | @OneToOne(cascade=Cascade.ALL, fetch=FetchType.EAGER) | @JoinColumn(name=fk_tasc_tascforce) | public TascForce

[JBoss-user] [EJB 3.0] - org.hibernate.PropertyAccessException: IllegalArgumentExcept

2005-12-09 Thread michael.c.small
I'm struggling to solve the error I've been receiving. In overview, I have two types of people in the system, Provider and Clients. A Provider can have many ProviderContacts and a Client can have many ClientContacts. When I attempt to load a Client (which has a mapped collection to

[JBoss-user] [Security JAAS/JBoss] - Re: 403 Access Denied instead of redirect to login page ...

2005-09-30 Thread michael.c.small
Thanks. I found the error eventually. I didn't include an 'auth-contraint' element in my 'security-contraint' element. I was under the impression that if I only needed authentication for a specified resource (i.e. all roles had access to the resource), I did not need an 'auth-contraint' ...

[JBoss-user] [Security JAAS/JBoss] - org.apache.catalina.authenticator.AuthenicatorBase Failed au

2005-09-30 Thread michael.c.small
Using JAAS container authentication and authorization, I'm getting very strange results. If I request a protected resource (as defined by security-constraints in my web.xml), I am correctly taken to my login page. After entering valid credentials, I pass a FormAuthenticator authentication but

[JBoss-user] [Security JAAS/JBoss] - Re: JAAS Security in JBOSS 4.0 ISSUES??

2005-09-30 Thread michael.c.small
I would start with the JBoss Security chapter in the JBoss documentation (available on the JBoss site). This provides a base understanding of the JBossSX and JAAS. If that doesn't get you going, look at the DVD Store Trail Blazer available on the JBoss site ... that gives a complete example.

[JBoss-user] [Installation, Configuration Deployment] - deploy mysql-ds.xml with ear ...

2005-09-29 Thread michael.c.small
I'd like to be able to deploy my mysql-ds.xml within my ear (versus having the mysql-ds.xml staticly placed in the server/[config]/deploy directory). I can successfully deploy the mysql-ds.xml in the ear, but the ejb3 deploys first and fails because the mysql-ds.xml that it depends on is not

[JBoss-user] [Security JAAS/JBoss] - Re: 403 Access Denied instead of redirect to login page ...

2005-09-28 Thread michael.c.small
I deployed the same EAR in JBoss 4.0.2 (using the all configuration) and still receive the same results. This is leading me to believe that the problem is my EAR ... I just don't know where. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3897703#3897703 Reply

[JBoss-user] [Security JAAS/JBoss] - 403 Access Denied instead of redirect to login page ...

2005-09-27 Thread michael.c.small
I'm testing out container managed authentication/authorization in JBoss (4.0.3RC2) and I have run into a problem. When I attempt to access a secured resource, instead of the container redirecting to the specified login page for authentication, it simply displays a 403 Access Denied error (I

[JBoss-user] [Security JAAS/JBoss] - Re: 403 Access Denied instead of redirect to login page ...

2005-09-27 Thread michael.c.small
Here's is what I'm finding the in server.log: | 2005-09-27 17:45:35,154 DEBUG [org.apache.catalina.authenticator.AuthenticatorBase] Security checking request GET /test-jaas/secure/secure1.jsp | 2005-09-27 17:45:35,155 DEBUG [org.apache.catalina.realm.RealmBase] Checking constraint