[jboss-user] [EJB/JBoss] - java.lang.NoClassDefFoundError in AIX enviroment
winglfw
do-not-reply at jboss.com
Tue May 22 23:59:31 EDT 2007
Hi all,
I am trying to call a session bean with similar codes below:
synchronized (m_remoteHomeMutex) {
try {
InitialContext ic = new InitialContext();
Object o = ic.lookup("test/Tester");
TesterHome home = (TesterHome) javax.rmi.PortableRemoteObject
.narrow(o, TesterHome.class);
Tester test = home.create();
CODES RUN OK IN
jdk1.5.0_11
Jboss: 4.0.5
CODES RUN FAIL IN
Environment: AIX with VM IBM ibm_sdk50
Jboss: 4.0.5
Error Msg as follow:
2007-05-22 18:31:20,328 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException in method: public abstract java
.lang.String com.myserver.keyservice.appserver.admin.ejb.session.IPasswordFM.addPassword(java.lang.String,java
.lang.String,char[]) throws com.myserver.keyservice.exception.PasswordStoreException, causedBy:
javax.ejb.EJBException: Unexpected Error
java.lang.NoClassDefFoundError: $Proxy153
at sun.reflect.GeneratedSerializationConstructorAccessor97.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Constructor.java:521)
at java.io.ObjectStreamClass.newInstance(ObjectStreamClass.java:951)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1723)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1324)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:362)
at java.rmi.MarshalledObject.get(MarshalledObject.java:163)
at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:652)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(InitialContext.java:363)
at com.myserver.common.utils.ServiceLocator.getRemoteHome(ServiceLocator.java:264)
Anyone knows what is the problem?
Thanks
Wing
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047770#4047770
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047770
More information about the jboss-user
mailing list