> Are you now getting a different exception from your
> original post where you
> said NPE??


Well, the exception I get is still NPE, and it is
reported in my EJB, as a result of the getLogger
failure:

2002-06-05 11:22:14,472 INFO  [STDOUT] equals()
com.ra.Log.LoggerManagedConnectionFactory@dfd90f
ERROR: invalid console appender config detected,
console stream is looping11:28:18,833 ERROR [STDERR]
java.lang.NullPointerException
11:28:18,839 ERROR [STDERR]     at
com.iqos.ejb.IQOSGenericSessionBean.ejbCreate(IQOSGenericSessionBean.java:92)
11:28:18,839 ERROR [STDERR]     at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
11:28:18,840 ERROR [STDERR]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
11:28:18,840 ERROR [STDERR]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
11:28:18,841 ERROR [STDERR]     at
java.lang.reflect.Method.invoke(Method.java:324)
11:28:18,841 ERROR [STDERR]     at
org.jboss.ejb.StatelessSessionEnterpriseContext.<init>(StatelessSessionEnterpriseContext.java:52)
11:28:18,852 ERROR [STDERR]     at
org.jboss.ejb.plugins.StatelessSessionInstancePool.create(StatelessSessionInstancePool.java:61)
11:28:18,853 ERROR [STDERR]     at
org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:208)
11:28:18,853 ERROR [STDERR]     at
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:63)
11:28:18,911 ERROR [STDERR]     at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:96)
11:28:18,912 ERROR [STDERR]     at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:219)
11:28:18,917 ERROR [STDERR]     at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:61)
11:28:18,917 ERROR [STDERR]     at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:129)
11:28:18,917 ERROR [STDERR]     at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:166)
11:28:18,918 ERROR [STDERR]     at
org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:313)
11:28:18,918 ERROR [STDERR]     at
org.jboss.ejb.Container.invoke(Container.java:705)
11:28:18,919 ERROR [STDERR]     at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
11:28:18,919 ERROR [STDERR]     at
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:362)
11:28:18,920 ERROR [STDERR]     at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
11:28:18,920 ERROR [STDERR]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
11:28:18,921 ERROR [STDERR]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
11:28:18,921 ERROR [STDERR]     at
java.lang.reflect.Method.invoke(Method.java:324)
11:28:18,922 ERROR [STDERR]     at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
11:28:18,922 ERROR [STDERR]     at
sun.rmi.transport.Transport$1.run(Transport.java:148)
11:28:18,923 ERROR [STDERR]     at
java.security.AccessController.doPrivileged(Native
Method)
11:28:18,923 ERROR [STDERR]     at
sun.rmi.transport.Transport.serviceCall(Transport.java:144)
11:28:18,924 ERROR [STDERR]     at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
11:28:18,924 ERROR [STDERR]     at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
11:28:18,924 ERROR [STDERR]     at
java.lang.Thread.run(Thread.java:536)
--------------------------------------------------

> 
> What are the implementations of hashcode and equals
> in your mcf?  The
> ConnectinManager was changed recently to use equals 
> on every
> allocateConnection call as required by the spec.

they do nothing except for calling the super()
public int hashCode() 
{
  System.out.println("hashCode");               
  return super.hashCode();
}
public boolean equals(Object other) 
{
  System.out.println("equals()");
  return (this.equals(other));            
}

> 
> What is producing the log output?
The Log RA creates a file and attempt to write
messages in it. Since the getLogger failes, the
physical log object is null
The JBOSS log displays the messages I presented in the
previous mail



__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to