Bugs item #564411, was opened at 2002-06-04 08:38
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=564411&group_id=22866

Category: JBossServer
Group: v3.1
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Philipp Meier (llucifer)
Assigned to: Nobody/Anonymous (nobody)
Summary: Error in TimedInstancePoolFeeder 

Initial Comment:
17:30:21,462 INFO  [Server] JBoss Release:
JBoss-3.1.0alpha CVSTag=HEAD
---
17:30:23,001 INFO  [ServerInfo] Java version:
1.3.1,Blackdown Java-Linux Team
17:30:23,026 INFO  [ServerInfo] Java VM: Classic VM
Blackdown-1.3.1-FCS,Blackdown Java-Linux Team
17:30:23,026 INFO  [ServerInfo] OS-System: Linux
2.4.17-686,i386
---
After calling a PortableRemoteObject.narrow(o, k) with
k beeing a wrong HomeInterface I first get (correctly)
the following Exception on the client side: 

 1)
testGetSchema(de.meisterbohne.cms.ejb.PropertySetManagerTest)
java.rmi.ServerException: RemoteException occurred in
server thread; nested exception is: 
        java.rmi.ServerException: null
Embedded Exception
null; nested exception is: 
        javax.ejb.EJBException: nested exception is:
java.lang.ClassCastException
java.rmi.ServerException: null
Embedded Exception
null; nested exception is: 
        javax.ejb.EJBException: nested exception is:
java.lang.ClassCastException
javax.ejb.EJBException: nested exception is:
java.lang.ClassCastException
java.lang.ClassCastException
javax.ejb.EJBException: nested exception is:
java.lang.ClassCastException
        at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
        at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
        at
org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown
Source)
        at
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:127)
        at
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:92)
        at
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
        at
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:48)
        at
org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:111)
        at
org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:83)
        at $Proxy1.createPropertySet(Unknown Source)
        at
de.meisterbohne.cms.ejb.PropertySetManagerTest.testGetSchema(PropertySetManagerTest.java:31)

---

But since then the server logs an error in 1 sec interval:
17:33:12,694 ERROR [TimedInstancePoolFeeder] Unexpcted
failure; ignoring
javax.ejb.EJBException: null
Embedded Exception
null
        at
org.jboss.ejb.StatelessSessionEnterpriseContext.<init>(StatelessSessionEnterpriseContext.java:59)
        at
org.jboss.ejb.plugins.StatelessSessionInstancePool.create(StatelessSessionInstancePool.java:46)
        at
org.jboss.ejb.plugins.AbstractInstancePool.add(AbstractInstancePool.java:148)
        at
org.jboss.ejb.plugins.TimedInstancePoolFeeder.run(TimedInstancePoolFeeder.java:61)
        at java.util.TimerThread.mainLoop(Timer.java:435)
        at java.util.TimerThread.run(Timer.java:385)
java.lang.ClassCastException
        at
com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:296)
        at
javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
        at
de.meisterbohne.cms.ejb.AbstractEnterpriseBean.lookup(AbstractEnterpriseBean.java:34)
        at
de.meisterbohne.cms.ejb.PropertySetManagerBean.lookupRefs(PropertySetManagerBean.java:262)
        at
de.meisterbohne.cms.ejb.PropertySetManagerBean.ejbCreate(PropertySetManagerBean.java:256)
        at java.lang.reflect.Method.invoke(Native Method)
        at
org.jboss.ejb.StatelessSessionEnterpriseContext.<init>(StatelessSessionEnterpriseContext.java:52)
        at
org.jboss.ejb.plugins.StatelessSessionInstancePool.create(StatelessSessionInstancePool.java:46)
        at
org.jboss.ejb.plugins.AbstractInstancePool.add(AbstractInstancePool.java:148)
        at
org.jboss.ejb.plugins.TimedInstancePoolFeeder.run(TimedInstancePoolFeeder.java:61)
        at java.util.TimerThread.mainLoop(Timer.java:435)
        at java.util.TimerThread.run(Timer.java:385)
17:33:13,121 ERROR [TimedInstancePoolFeeder] Unexpcted
failure; ignoring
javax.ejb.EJBException: null
Embedded Exception
null
        at
org.jboss.ejb.StatelessSessionEnterpriseContext.<init>(StatelessSessionEnterpriseContext.java:59)
        at
org.jboss.ejb.plugins.StatelessSessionInstancePool.create(StatelessSessionInstancePool.java:46)
        at
org.jboss.ejb.plugins.AbstractInstancePool.add(AbstractInstancePool.java:148)
        at
org.jboss.ejb.plugins.TimedInstancePoolFeeder.run(TimedInstancePoolFeeder.java:61)
        at java.util.TimerThread.mainLoop(Timer.java:435)
        at java.util.TimerThread.run(Timer.java:385)
java.lang.ClassCastException
        at
de.meisterbohne.cms.ejb.PropertySetManagerBean.lookupRefs(PropertySetManagerBean.java:262)
        at
de.meisterbohne.cms.ejb.PropertySetManagerBean.ejbCreate(PropertySetManagerBean.java:256)
        at java.lang.reflect.Method.invoke(Native Method)
        at
org.jboss.ejb.StatelessSessionEnterpriseContext.<init>(StatelessSessionEnterpriseContext.java:52)
        at
org.jboss.ejb.plugins.StatelessSessionInstancePool.create(StatelessSessionInstancePool.java:46)
        at
org.jboss.ejb.plugins.AbstractInstancePool.add(AbstractInstancePool.java:148)
        at
org.jboss.ejb.plugins.TimedInstancePoolFeeder.run(TimedInstancePoolFeeder.java:61)
        at java.util.TimerThread.mainLoop(Timer.java:435)
        at java.util.TimerThread.run(Timer.java:385)
17:33:13,627 ERROR [TimedInstancePoolFeeder] Unexpcted
failure; ignoring
javax.ejb.EJBException: null
Embedded Exception
null
        at
org.jboss.ejb.StatelessSessionEnterpriseContext.<init>(StatelessSessionEnterpriseContext.java:59)
        at
org.jboss.ejb.plugins.StatelessSessionInstancePool.create(StatelessSessionInstancePool.java:46)
        at
org.jboss.ejb.plugins.AbstractInstancePool.add(AbstractInstancePool.java:148)
        at
org.jboss.ejb.plugins.TimedInstancePoolFeeder.run(TimedInstancePoolFeeder.java:61)
        at java.util.TimerThread.mainLoop(Timer.java:435)
        at java.util.TimerThread.run(Timer.java:385)
java.lang.ClassCastException
        at
com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:296)
        at
javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
        at
de.meisterbohne.cms.ejb.AbstractEnterpriseBean.lookup(AbstractEnterpriseBean.java:34)
        at
de.meisterbohne.cms.ejb.PropertySetManagerBean.lookupRefs(PropertySetManagerBean.java:262)
        at
de.meisterbohne.cms.ejb.PropertySetManagerBean.ejbCreate(PropertySetManagerBean.java:256)
        at java.lang.reflect.Method.invoke(Native Method)
        at
org.jboss.ejb.StatelessSessionEnterpriseContext.<init>(StatelessSessionEnterpriseContext.java:52)
        at
org.jboss.ejb.plugins.StatelessSessionInstancePool.create(StatelessSessionInstancePool.java:46)
        at
org.jboss.ejb.plugins.AbstractInstancePool.add(AbstractInstancePool.java:148)
        at
org.jboss.ejb.plugins.TimedInstancePoolFeeder.run(TimedInstancePoolFeeder.java:61)
        at java.util.TimerThread.mainLoop(Timer.java:435)
        at java.util.TimerThread.run(Timer.java:385)




----------------------------------------------------------------------

Comment By: Philipp Meier (llucifer)
Date: 2002-06-04 09:07

Message:
Logged In: YES 
user_id=16003

The home interface I was looking up had declared a wrong
Remote Interface in the Home Interface class and in the
deployment descriptor. 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=564411&group_id=22866


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to