2 Replies Latest reply on Jun 28, 2010 7:30 AM by harikumarmpl

    Java Concurrent Program Errors out

    759390
      Hi All,

      Request you to help me in this issue as this is on high priority.

      we have registered a Java Concurrent Program Named Genus Merge Two P45 Pdf's which gives the output in pdf format.
      The concurrent program errors out showing the log as follows :

      ---------------------------------------------------------------------------
      GENUS Custom: Version : UNKNOWN

      Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.

      GEN_MERGE_TWO_PDFS module: Genus Merge Two P45 Pdf's
      ---------------------------------------------------------------------------

      Current system time is 10-MAR-2010 07:10:43

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

      Exception in static block of jtf.cache.appsimpl.AppsCacheLogger. Stack trace is: oracle.apps.fnd.common.AppsException: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object.
           at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1509)
           at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:362)
           at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:210)
           at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:169)
           at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148)
           at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1201)
           at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1044)
           at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:1013)
           at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:980)
           at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:967)
           at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570)
           at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:593)
           at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:570)
           at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:524)
           at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:292)
           at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:1002)
           at oracle.apps.jtf.cache.ArchitectureWrapper.createAppsContextWithDBCFile(ArchitectureWrapper.java:143)
           at oracle.apps.jtf.cache.ArchitectureWrapper.createDefaultAppsContext(ArchitectureWrapper.java:107)
           at oracle.apps.jtf.cache.ArchitectureWrapper.createAppsContext(ArchitectureWrapper.java:96)
           at oracle.apps.jtf.cache.appsimpl.AppsCacheLogger.<clinit>(AppsCacheLogger.java:43)
           at oracle.apps.jtf.cache.appsimpl.AppsCacheEnvironment.getCacheLogger(AppsCacheEnvironment.java:67)
           at oracle.apps.jtf.cache.CacheManager.initCache(CacheManager.java:711)
           at oracle.apps.jtf.cache.CacheManager.<clinit>(CacheManager.java:378)
           at oracle.apps.fnd.cache.Cache.setCacheFullName(Cache.java:228)
           at oracle.apps.fnd.cache.Cache.initCache(Cache.java:114)
           at oracle.apps.fnd.cache.Cache.<init>(Cache.java:89)
           at oracle.apps.fnd.cache.AppsCache.<init>(AppsCache.java:86)
           at oracle.apps.fnd.cache.AolCaches.getCache(AolCaches.java:155)
           at oracle.apps.fnd.profiles.Profiles.<clinit>(Profiles.java:241)
           at oracle.apps.fnd.profiles.ExtendedProfileStore.init(ExtendedProfileStore.java:498)
           at oracle.apps.fnd.profiles.ExtendedProfileStore.<init>(ExtendedProfileStore.java:119)
           at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
           at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
           at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
           at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
           at oracle.apps.fnd.common.AppsContext.instantiateProfileStore(AppsContext.java:3959)
           at oracle.apps.fnd.common.AppsContext.makeProfileStore(AppsContext.java:780)
           at oracle.apps.fnd.common.Context.setProfileStore(Context.java:767)
           at oracle.apps.fnd.common.Context.setProfileStore(Context.java:749)
           at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:564)
           at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:524)
           at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:292)
           at oracle.apps.fnd.cp.request.CpContext.<init>(CpContext.java:141)
           at oracle.apps.fnd.cp.request.CpContext.<init>(CpContext.java:124)
           at oracle.apps.fnd.cp.request.Run.main(Run.java:127)
      Caused by: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object.
           at oracle.apps.fnd.common.Pool.createObject(Pool.java:1321)
           at oracle.apps.fnd.common.Pool.borrowObject(Pool.java:1062)
           at oracle.apps.fnd.security.DBConnObjPool.borrowObject(DBConnObjPool.java:752)
           at oracle.apps.fnd.security.AppsConnectionManager.borrowConnection(AppsConnectionManager.java:297)
           at oracle.apps.fnd.common.Context.borrowConnection(Context.java:1720)
           at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2306)
           at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2243)
           at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2101)
           at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1910)
           at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1754)
           at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1767)
           at oracle.apps.fnd.common.Context.getJDBCConnection(Context.java:1453)
           at oracle.apps.fnd.cache.GenericCacheLoader.load(GenericCacheLoader.java:168)
           at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1500)
           ... 44 more
      Caused by: java.lang.AbstractMethodError: oracle.sql.LnxLibThin.lnxnuc([BILjava/lang/String;)Ljava/lang/String;
           at oracle.sql.NUMBER.toInt(NUMBER.java:414)
           at oracle.jdbc.dbaccess.DBConversion.NumberBytesToInt(DBConversion.java:2959)
           at oracle.jdbc.driver.OracleStatement.getIntValue(OracleStatement.java:4596)
           at oracle.jdbc.driver.OracleResultSetImpl.getInt(OracleResultSetImpl.java:536)
           at oracle.apps.fnd.security.ConnectionManager.setClientData(ConnectionManager.java:1497)
           at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1446)
           at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1325)
           at oracle.apps.fnd.security.AppsConnectionManager.makeGwyuidConn(AppsConnectionManager.java:884)
           at oracle.apps.fnd.security.AppsConnectionManager.getGwyuidConn(AppsConnectionManager.java:962)
           at oracle.apps.fnd.security.AppsConnectionManager.makeGuestConnection(AppsConnectionManager.java:780)
           at oracle.apps.fnd.security.DBConnObj.<init>(DBConnObj.java:246)
           at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
           at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
           at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
           at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
           at oracle.apps.fnd.common.Pool.createObject(Pool.java:1308)
           ... 57 more

      Exception in static block of jtf.cache.CacheManager. Stack trace is: oracle.apps.jtf.base.resources.FrameworkException: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object.
           at oracle.apps.jtf.cache.CacheManager.initCache(CacheManager.java:718)
           at oracle.apps.jtf.cache.CacheManager.<clinit>(CacheManager.java:378)
           at oracle.apps.fnd.cache.Cache.setCacheFullName(Cache.java:228)
           at oracle.apps.fnd.cache.Cache.initCache(Cache.java:114)
           at oracle.apps.fnd.cache.Cache.<init>(Cache.java:89)
           at oracle.apps.fnd.cache.AppsCache.<init>(AppsCache.java:86)
           at oracle.apps.fnd.cache.AolCaches.getCache(AolCaches.java:155)
           at oracle.apps.fnd.profiles.Profiles.<clinit>(Profiles.java:241)
           at oracle.apps.fnd.profiles.ExtendedProfileStore.init(ExtendedProfileStore.java:498)
           at oracle.apps.fnd.profiles.ExtendedProfileStore.<init>(ExtendedProfileStore.java:119)
           at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
           at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
           at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
           at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
           at oracle.apps.fnd.common.AppsContext.instantiateProfileStore(AppsContext.java:3959)
           at oracle.apps.fnd.common.AppsContext.makeProfileStore(AppsContext.java:780)
           at oracle.apps.fnd.common.Context.setProfileStore(Context.java:767)
           at oracle.apps.fnd.common.Context.setProfileStore(Context.java:749)
           at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:564)
           at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:524)
           at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:292)
           at oracle.apps.fnd.cp.request.CpContext.<init>(CpContext.java:141)
           at oracle.apps.fnd.cp.request.CpContext.<init>(CpContext.java:124)
           at oracle.apps.fnd.cp.request.Run.main(Run.java:127)
      Caused by: oracle.apps.jtf.base.resources.FrameworkException: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object.
           at oracle.apps.jtf.base.resources.FrameworkException.convertException(FrameworkException.java:607)
           at oracle.apps.jtf.base.resources.FrameworkException.addException(FrameworkException.java:585)
           at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:66)
           at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:88)
           at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:202)
           at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:218)
           at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:249)
           ... 24 more

      Exception in thread "main" oracle.apps.fnd.common.PoolException: Exception creating new Poolable object.
           at oracle.apps.fnd.common.Pool.createObject(Pool.java:1321)
           at oracle.apps.fnd.common.Pool.borrowObject(Pool.java:1062)
           at oracle.apps.fnd.security.DBConnObjPool.borrowObject(DBConnObjPool.java:752)
           at oracle.apps.fnd.security.AppsConnectionManager.borrowConnection(AppsConnectionManager.java:297)
           at oracle.apps.fnd.common.Context.borrowConnection(Context.java:1720)
           at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2306)
           at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2243)
           at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2101)
           at oracle.apps.fnd.common.AppsContext.getLocalJDBCConnection(AppsContext.java:2481)
           at oracle.apps.fnd.common.AppsContext.getLocalJDBCConnection(AppsContext.java:2416)
           at oracle.apps.fnd.common.AppsContext.getLocalJDBCConnection(AppsContext.java:2397)
           at oracle.apps.fnd.common.ProfileCache.getProfileObject(ProfileCache.java:110)
           at oracle.apps.fnd.common.NativeProfileStore.getSpecificProfileFromDB(NativeProfileStore.java:375)
           at oracle.apps.fnd.common.NativeProfileStore.getProfile(NativeProfileStore.java:314)
           at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1201)
           at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1044)
           at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:1013)
           at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:980)
           at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:967)
           at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570)
           at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:593)
           at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:570)
           at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:524)
           at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:292)
           at oracle.apps.fnd.cp.request.CpContext.<init>(CpContext.java:141)
           at oracle.apps.fnd.cp.request.CpContext.<init>(CpContext.java:124)
           at oracle.apps.fnd.cp.request.Run.main(Run.java:127)
      Caused by: java.lang.AbstractMethodError: oracle.sql.LnxLibThin.lnxnuc([BILjava/lang/String;)Ljava/lang/String;
           at oracle.sql.NUMBER.toInt(NUMBER.java:414)
           at oracle.jdbc.dbaccess.DBConversion.NumberBytesToInt(DBConversion.java:2959)
           at oracle.jdbc.driver.OracleStatement.getIntValue(OracleStatement.java:4596)
           at oracle.jdbc.driver.OracleResultSetImpl.getInt(OracleResultSetImpl.java:536)
           at oracle.apps.fnd.security.ConnectionManager.setClientData(ConnectionManager.java:1497)
           at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1446)
           at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1325)
           at oracle.apps.fnd.security.AppsConnectionManager.makeGwyuidConn(AppsConnectionManager.java:884)
           at oracle.apps.fnd.security.AppsConnectionManager.getGwyuidConn(AppsConnectionManager.java:962)
           at oracle.apps.fnd.security.AppsConnectionManager.makeGuestConnection(AppsConnectionManager.java:780)
           at oracle.apps.fnd.security.DBConnObj.<init>(DBConnObj.java:246)
           at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
           at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
           at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
           at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
           at oracle.apps.fnd.common.Pool.createObject(Pool.java:1308)
           ... 26 more
      ---------------------------------------------------------------------------
      Start of log messages from FND_FILE
      ---------------------------------------------------------------------------
      ---------------------------------------------------------------------------
      End of log messages from FND_FILE
      ---------------------------------------------------------------------------

      oracle.apps.genus.utils.MergePdfs
      Program exited with status 1


      ---------------------------------------------------------------------------
      Executing request completion options...


      Finished executing request completion options.

      ---------------------------------------------------------------------------
      Concurrent request completed
      Current system time is 10-MAR-2010 07:10:47

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