Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-5723

derby system-database user authentication failure when shutdown server using sun jdk 1.6.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.7
    • 2.1.8, 2.2.2
    • databases
    • Security Level: public (Regular issues)
    • None
    • windows server 2003 x86-32 R2
      sun jdk 1.6.0 java<TM> SE environment(build pwi3260sr8fp1-20100624_01(SR8_FP1))

    Description

      1.Using sun jdk 1.6.0 and set java_home
      2.Use geronimo 2.1.7,startup geronimo server
      3.shutdown geronimo server.Then error shows:
      2010-12-02 10:10:44,819 WARN [DerbyUserAuthenticator] User authentication failure (userName userPassword databaseName): dbadmin manager null
      2010-12-02 10:10:44,850 ERROR [GBeanInstance] Problem in doStop of org.apache.geronimo.configs/system-database/2.1.7/car?J2EEApplication=null,ResourceAdapterModule=org.apache.geronimo.configs/system-database/2.1.7/car,j2eeType=GBean,name=DerbyNetwork
      java.sql.SQLException: Connection authentication failure occurred. Reason: Invalid authentication..
      at org.apache.derby.impl.drda.NetworkServerControlImpl.throwSQLException(Unknown Source)
      at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessageWork(Unknown Source)
      at org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessage(Unknown Source)
      at org.apache.derby.impl.drda.NetworkServerControlImpl.wrapSQLError(Unknown Source)
      at org.apache.derby.impl.drda.NetworkServerControlImpl.readResult(Unknown Source)
      at org.apache.derby.impl.drda.NetworkServerControlImpl.shutdown(Unknown Source)
      at org.apache.derby.drda.NetworkServerControl.shutdown(Unknown Source)
      at org.apache.geronimo.derby.DerbyNetworkGBean.doStop(DerbyNetworkGBean.java:98)
      at org.apache.geronimo.gbean.runtime.GBeanInstance.destroyInstance(GBeanInstance.java:1161)
      at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStop(GBeanInstanceState.java:339)
      at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:188)
      at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:563)
      at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:423)
      at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:180)
      at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:563)
      at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:423)
      at org.apache.geronimo.kernel.config.KernelConfigurationManager$ShutdownHook.run(KernelConfigurationManager.java:336)
      at org.apache.geronimo.kernel.basic.BasicKernel.notifyShutdownHooks(BasicKernel.java:668)
      at org.apache.geronimo.kernel.basic.BasicKernel.shutdown(BasicKernel.java:645)
      at org.apache.geronimo.kernel.KernelGBean.shutdown(KernelGBean.java:382)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
      at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
      at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
      at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
      at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
      at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427)
      at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
      at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1367)
      at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
      at sun.rmi.transport.Transport$1.run(Transport.java:159)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)
      4.The geronimo.log file is attached for detail.

      Attachments

        1. geronimo.log
          29 kB
          Tina Li
        2. G5723.patch
          0.6 kB
          viola.lu

        Issue Links

          Activity

            People

              viola.lu viola.lu
              lylyuchen Tina Li
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: