Hi all,
i have faced the following exception
java.lang.ClassNotFoundException: org.jboss.ejb.plugins.local.EntityProxy (no
security manager: RMI class loader disabled)
could i know what is this exception ?
I am using CMP. I have an entity bean(User) and a session bean(UserFacade). A
client will access the finder method in entity bean(User) through UserFacade.
When i use a test client, the above exception has been throwed.
What the finder method do is it will return a list of user. The ejbQL is as
follow:
SELECT OBJECT(c) FROM User c
The following is the getUser method in sessionBean (User Facade)
| public ArrayList getUser() {
|
| ArrayList a = new ArrayList();
|
|
| //perform look up userhome interface
| this.getHome();
|
| try{
| a = (ArrayList)uh.findUser();
| } catch(Exception ex) {
| ex.printStackTrace();
| }
|
| System.out.println("getUSer(): arraysize is "+a.size());
| return a;
| }
|
|
I can get the array size within UserFacade; however, i can't print it within
the test client.
thx in advance
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858721#3858721
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858721
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user