glassfish
  1. glassfish
  2. GLASSFISH-20896

No Pool Meta Data object associated with the pool

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1.2.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      CentOS

      Description

      At one point of time yesterday our application has been logging the series of the NullPointerException and at the end it rised java.sql.SQLException: No Pool Meta Data object associated with the pool....
      There is no evidence of any database or network connection problems at the same time.
      The failure forced us to restart the glassfish server to restore the application back to normal.
      It is not clear how to recreate the issue.
      Please see below both exceptions and let me know what might be the root cause of this issue.

      2013-11-12T13:51:34.877-0500|SEVERE|glassfish3.1.2|org.apache.catalina.connector.CoyoteAdapter|_ThreadID=80;_ThreadName=Thread-2;|PWC3989: An exception or error occurred in the container during the request processing
      java.lang.NullPointerException
      at java.lang.String.startsWith(String.java:1385)
      at java.lang.String.startsWith(String.java:1414)
      at org.apache.naming.resources.FileDirContext.file(FileDirContext.java:918)
      at org.apache.naming.resources.FileDirContext.file(FileDirContext.java:879)
      at org.apache.naming.resources.FileDirContext.getAttributes(FileDirContext.java:523)
      at org.apache.naming.resources.BaseDirContext.getAttributes(BaseDirContext.java:794)
      at org.apache.naming.resources.ProxyDirContext.revalidate(ProxyDirContext.java:1537)
      at org.apache.naming.resources.ProxyDirContext.cacheLookup(ProxyDirContext.java:1493)
      at org.apache.naming.resources.ProxyDirContext.lookup(ProxyDirContext.java:324)
      at com.sun.grizzly.util.http.mapper.Mapper.internalMapWrapper(Mapper.java:1214)
      at com.sun.grizzly.util.http.mapper.Mapper.internalMap(Mapper.java:961)
      at com.sun.grizzly.util.http.mapper.Mapper.map(Mapper.java:820)
      at org.apache.catalina.connector.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:512)
      at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:271)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
      at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
      at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
      at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
      at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
      at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
      at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
      at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      at java.lang.Thread.run(Thread.java:724)

      java.sql.SQLException: _portal: No Pool Meta Data object associated with the pool : _portal. Try redeploying the application.
      at com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:120)
      at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:111)
      at org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy$TransactionAwareInvocationHandler.invoke(TransactionAwareDataSourceProxy.java:214)
      at com.sun.proxy.$Proxy143.prepareStatement(Unknown Source)
      at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at com.ibatis.common.jdbc.logging.ConnectionLogProxy.invoke(ConnectionLogProxy.java:53)
      at com.sun.proxy.$Proxy144.prepareStatement(Unknown Source)
      at com.ibatis.sqlmap.engine.execution.SqlExecutor.prepareStatement(SqlExecutor.java:497)
      at com.ibatis.sqlmap.engine.execution.SqlExecutor.executeQuery(SqlExecutor.java:175)
      at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.sqlExecuteQuery(MappedStatement.java:221)
      at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryWithCallback(MappedStatement.java:189)
      at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryForList(MappedStatement.java:139)
      at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:567)
      at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:541)
      at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForList(SqlMapSessionImpl.java:118)
      at org.springframework.orm.ibatis.SqlMapClientTemplate$3.doInSqlMapClient(SqlMapClientTemplate.java:295)
      at org.springframework.orm.ibatis.SqlMapClientTemplate$3.doInSqlMapClient(SqlMapClientTemplate.java:1)
      at org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:200)
      at org.springframework.orm.ibatis.SqlMapClientTemplate.queryForList(SqlMapClientTemplate.java:293)

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            michael.y.chen
            Reporter:
            aspikin
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: