Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Connection Cache not found?

7 posts in Appeon (partner product) Last posting was on 2012-11-29 20:45:00.0Z
Jason Posted on 2006-04-02 06:44:34.0Z
From: "Jason" <jasonabaysATyahooDOTcom>
Newsgroups: sybase.public.appeon
Organization: 4.225.246.225
X-Newsreader: AspNNTP 1.50 (Takeshi Eto)
Subject: Connection Cache not found?
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: web110.discountasp.net
X-Original-NNTP-Posting-Host: web110.discountasp.net
Message-ID: <442f72d2$1@forums-1-dub>
Date: 1 Apr 2006 22:44:34 -0800
X-Trace: forums-1-dub 1143960274 64.79.161.40 (1 Apr 2006 22:44:34 -0800)
X-Original-Trace: 1 Apr 2006 22:44:34 -0800, web110.discountasp.net
Lines: 21
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:1390
Article PK: 21172

I have written a simple app in PB and I'm trying to deploy it using Appeon.
I've created the connection cache called 'htf' in EAServer and I can ping it ok
from EAServer. However, when I try to launch my app I get an error message
saying "The connection cache 'htf' was not found." Why? I'm not sure where to
look for errors.

Here's how I'm setting up the SQLCA properties:
SQLCA.DBParm = "CacheName='htf'"
SQLCA.DBMS = "odb-asa9"
SQLCA.AutoCommit = False
CONNECT USING SQLCA;

I had this working about a month ago, then I got busy on another project and
haven't looked at it since then. I'm not sure what changed or what I'm doing
wrong. Any help/suggestions/prayers would be appreciated.

Thanks,

Jason
---== Posted via the PFCGuide Web Newsreader ==---
http://www.pfcguide.com/_newsgroups/group_list.asp


Zhang JX Posted on 2006-04-03 05:46:13.0Z
From: "Zhang JX" <zhjx99@yahoo.com.sg>
Newsgroups: sybase.public.appeon
References: <442f72d2$1@forums-1-dub>
Subject: Re: Connection Cache not found?
Lines: 40
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 203.125.56.150
X-Original-NNTP-Posting-Host: 203.125.56.150
Message-ID: <4430a895@forums-1-dub>
Date: 2 Apr 2006 21:46:13 -0800
X-Trace: forums-1-dub 1144039573 203.125.56.150 (2 Apr 2006 21:46:13 -0800)
X-Original-Trace: 2 Apr 2006 21:46:13 -0800, 203.125.56.150
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:1392
Article PK: 21171

Jason,

FYI.

You need configure AEM to point connection cache to 'htf' for your Appeon
application.
Appeon application will ignore SQLCA setting when you deploy to server.

JX

"Jason" <jasonabaysATyahooDOTcom> wrote in message
news:442f72d2$1@forums-1-dub...
>I have written a simple app in PB and I'm trying to deploy it using Appeon.
> I've created the connection cache called 'htf' in EAServer and I can ping
> it ok
> from EAServer. However, when I try to launch my app I get an error
> message
> saying "The connection cache 'htf' was not found." Why? I'm not sure
> where to
> look for errors.
>
> Here's how I'm setting up the SQLCA properties:
> SQLCA.DBParm = "CacheName='htf'"
> SQLCA.DBMS = "odb-asa9"
> SQLCA.AutoCommit = False
> CONNECT USING SQLCA;
>
> I had this working about a month ago, then I got busy on another project
> and
> haven't looked at it since then. I'm not sure what changed or what I'm
> doing
> wrong. Any help/suggestions/prayers would be appreciated.
>
> Thanks,
>
> Jason
> ---== Posted via the PFCGuide Web Newsreader ==---
> http://www.pfcguide.com/_newsgroups/group_list.asp


Jason Posted on 2006-04-03 13:39:22.0Z
From: "Jason" <spam_me_not_jbays@wynalda.com>
Newsgroups: sybase.public.appeon
Organization: 68.76.26.212
References: <442f72d2$1@forums-1-dub> <4430a895@forums-1-dub>
X-Newsreader: AspNNTP 1.50 (Takeshi Eto)
Subject: Re: Connection Cache not found?
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: web110.discountasp.net
X-Original-NNTP-Posting-Host: web110.discountasp.net
Message-ID: <4431177a$1@forums-1-dub>
Date: 3 Apr 2006 05:39:22 -0800
X-Trace: forums-1-dub 1144067962 64.79.161.40 (3 Apr 2006 05:39:22 -0800)
X-Original-Trace: 3 Apr 2006 05:39:22 -0800, web110.discountasp.net
Lines: 7
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:1394
Article PK: 12978

I thought I had done that. This is on my PC at home so I'll double-check it
tonight.

Thanks for the input.

- Jason
Jason


Jason Posted on 2006-04-04 06:53:26.0Z
From: "Jason" <jasonabaysatyahoodotcom>
Newsgroups: sybase.public.appeon
Organization: 4.225.246.174
References: <442f72d2$1@forums-1-dub> <4430a895@forums-1-dub>
X-Newsreader: AspNNTP 1.50 (Takeshi Eto)
Subject: Re: Connection Cache not found?
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: web110.discountasp.net
X-Original-NNTP-Posting-Host: web110.discountasp.net
Message-ID: <443209d6@forums-1-dub>
Date: 3 Apr 2006 22:53:26 -0800
X-Trace: forums-1-dub 1144130006 64.79.161.40 (3 Apr 2006 22:53:26 -0800)
X-Original-Trace: 3 Apr 2006 22:53:26 -0800, web110.discountasp.net
Lines: 206
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:1396
Article PK: 12980

JX,

Yeah, it looks like it's set up. Let me know if I'm looking in the right place:

I go to AEM -> Application Properties -> Transaction Objects.
I see my application (htf) listed. When I click on it it says the transaction
object is SQLCA, the connection cache is htf and the database type is Sybase ASA
7/8/9.

Should I look for something else?

Also, I don't know why, but now I can't ping using the connection cache in
EAServer Manager. (Yesterday it was fine.) I've rebooted and everything. (I
don't recall changing anything since yesterday.) The error that is displayed
says this:

Ping of htf Connection Cache failed: Ping Failed
Main Exception: Error: Connection cache for server jdbc:odbc:htf does not
exist.

Here's my jaguar.log file if it helps. It does talk about a
"java.lang.NullPointerException", but I'm not sure what that means. Please see
below. Thanks.

Apr 04 00:33:48 2006: 180742-Jaguar CTS - Component Transaction Server/Version
5.2.0 (Build 52025)/P/PC Intel/Microsoft Windows/OPT/Nov 29 2004 16:40:29

Confidential property of Sybase, Inc.
(c) Copyright Sybase Inc. 1987,2005
All rights reserved.

Use, duplication, or disclosure by the United States Government
is subject to restrictions as set forth in FAR subparagraphs
52.227-19 (a)-(d) for civilian agency contracts and DFARS 252.227-7013
(c)(1)(ii) for Department of Defense contracts. Sybase reserves all
unpublished rights under the copyright laws of the United States.
Sybase, Inc. One Sybase Drive, Dublin, CA 94568 USA.
Apr 04 00:33:48 2006: 180743-Sybase Enterprise Application Server (Developer
Edition)
Apr 04 00:33:48 2006: 180746-This version of Enterprise Application Server(TM)
is licensed solely for development purposes.
Any other use of software, including but not limited to production use or use on
a webserver is strictly prohibited. Deployment licenses may be obtained from
Sybase, Inc. for a fee.
Apr 04 00:33:48 2006: 180732-2 Phase Commit option is licensed
Apr 04 00:33:48 2006: 180732-Clustering option is licensed
Apr 04 00:33:48 2006: 180732-High Availability option is licensed
Apr 04 00:33:48 2006: 180734-Listener # 1: Jaguar_appeonserveriiop: Active: yes
Protocol: 'IIOP': 'localhost',9989 Security Profile: '*NONE*'.
Apr 04 00:33:48 2006: 180734-Listener # 2: Jaguar_appeonserverhttp: Active: yes
Protocol: 'HTTP': 'localhost',9988 Security Profile: '*NONE*'.
Apr 04 00:33:48 2006: 180723-Server is running in 2PC Transaction mode with
dynamic Java resource registration (JTS).
Apr 04 00:33:48 2006: 180900-Starting Jaguar CTS
Apr 04 00:33:48 2006: 180508-Server's native codeset is utf8
Apr 04 00:33:48 2006: 180287-Library: 'libjjdk12.dll' for component type 'java'
Apr 04 00:33:48 2006: 180387-Java JIT Compiler disabled
Apr 04 00:33:48 2006: 180388-Java component debugging disabled
Apr 04 00:33:48 2006: 180389-Java virtual machine initialized: java version
1.4.2_06
Apr 04 00:33:48 2006: 180389-Java virtual machine initialized: Java HotSpot(TM)
Client VM (version 1.4.2_06-b03, interpreted mode)
Apr 04 00:33:48 2006: 070000-Repository: C:\Program
Files\Sybase\EAServer\Repository
Apr 04 00:33:48 2006: 180724-Host IP: 127.0.0.1
Apr 04 00:33:48 2006: 180730-NameServiceURL: iiop://0:0
Apr 04 00:33:48 2006: 180488-Warning: failed to lookup properties for
WebApplication'sMgmt'(WebApplication sMgmt - C:\Program
Files\Sybase\EAServer\Repository\WebApplication\sMgmt.props (The s)
Apr 04 00:33:49 2006: 180511-Starting Services...
Apr 04 00:33:49 2006: 180510-Started: Jaguar/Repository
Apr 04 00:33:49 2006: 180510-Started: Jaguar/GarbageCollector
Apr 04 00:33:49 2006: 080005-Starting Jaguar Naming Services...
Apr 04 00:33:50 2006: 180510-Started: CosNaming/JNameService
Apr 04 00:33:50 2006: 010001-Error: Server {0} was not found in the repository.
Apr 04 00:33:50 2006: 010019-JNDI get connection flag for all connection caches
is: NOWAIT
Apr 04 00:33:50 2006: 020004-JaguarClassLoader: Server level class loader
initialized.
Apr 04 00:33:50 2006: 010004-JCM: Loading Connection Caches and/or XA Resources
..
Apr 04 00:33:50 2006: 010041-JCM: Loading connection cache: appeonsample
Apr 04 00:33:50 2006: 010066-Cache Name: appeonsample Driver Class:
sun.jdbc.odbc.JdbcOdbcDriver Version: 2.1
Apr 04 00:33:50 2006: 010041-JCM: Loading connection cache: JUDDIServerCache
Apr 04 00:33:50 2006: 010066-Cache Name: JUDDIServerCache Driver Class:
com.sybase.jdbc2.jdbc.SybDriver Version: 5.5
Apr 04 00:33:50 2006: 010041-JCM: Loading connection cache: appeonsample2
Apr 04 00:33:50 2006: 010066-Cache Name: appeonsample2 Driver Class:
sun.jdbc.odbc.JdbcOdbcDriver Version: 2.1
Apr 04 00:33:50 2006: 010041-JCM: Loading connection cache: appeondb
Apr 04 00:33:50 2006: 010066-Cache Name: appeondb Driver Class:
sun.jdbc.odbc.JdbcOdbcDriver Version: 2.1
Apr 04 00:33:50 2006: 010041-JCM: Loading connection cache: htf
Apr 04 00:33:50 2006: 010027-JCM: Caught Throwable:
com.sybase.jaguar.jcm.Utility.UnInitializedException: Cannot Initialize Pool
Manager
at
com.sybase.jaguar.jcm.ResourceManager.Jdbc10ResourceManager.<init>(Jdbc10Resourc
eManager.java:72)
at
com.sybase.jaguar.jcm.ResourceManager.ResourceManagerFactoryImpl.createJdbc10Rm(
ResourceManagerFactoryImpl.java:163)
at
com.sybase.jaguar.jcm.ResourceManager.ResourceManagerFactoryImpl.createResourceM
anager(ResourceManagerFactoryImpl.java:116)
at
com.sybase.jaguar.jcm.ResourceManager.ResourceManagerFactoryImpl.getOrCreateReso
urceManager(ResourceManagerFactoryImpl.java:74)
at com.sybase.jaguar.jcm.JCMCache.<init>(JCMCache.java:243)
at com.sybase.jaguar.jcm.JCM.loadCache(JCM.java:552)
at com.sybase.jaguar.jcm.JCM.init(JCM.java:294)
at com.sybase.jaguar.jcm.JCM.<clinit>(JCM.java:74)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at
com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarClassLoader.java:916)
at
com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarClassLoader.java:761)
at
com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarClassLoader.java:754)
at
com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarClassLoader.java:743)

Apr 04 00:33:50 2006: 010040-Connection Cache: htf not created due to the
following error: java.lang.NullPointerException
Apr 04 00:33:50 2006: 010027-JCM: Caught Throwable:
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:393)
at
com.sybase.jaguar.jcm.ResourceManager.ResourceManagerFactoryImpl.getOrCreateReso
urceManager(ResourceManagerFactoryImpl.java:81)
at com.sybase.jaguar.jcm.JCMCache.<init>(JCMCache.java:243)
at com.sybase.jaguar.jcm.JCM.loadCache(JCM.java:552)
at com.sybase.jaguar.jcm.JCM.init(JCM.java:294)
at com.sybase.jaguar.jcm.JCM.<clinit>(JCM.java:74)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at
com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarClassLoader.java:916)
at
com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarClassLoader.java:761)
at
com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarClassLoader.java:754)
at
com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarClassLoader.java:743)

Apr 04 00:33:50 2006: 010005-JCM: Loading Connectors/Resources Adapters ...
Apr 04 00:33:50 2006: 010042-JCM: Loading managed connection factory:
BlackBoxLocalTx/EASDemo
Apr 04 00:33:50 2006: 010059-Warning: Pool for MCF: BlackBoxLocalTx/EASDemo has
no timeout; connections will never be deallocated.
Apr 04 00:33:50 2006: 180510-Started: Jaguar/JCM
Apr 04 00:33:50 2006: 180524-Authentication timeout period is 3600 seconds.
Note: authentication timeout can be disabled.
Apr 04 00:33:50 2006: 180526-Authentication lockout period is 600 seconds.
Note: authentication lockout can be disabled.
Apr 04 00:33:50 2006: 180748-PermissionCache: Authorization cache timeout: 120
minutes
Apr 04 00:33:57 2006: 180510-Started: JaguarServlet/ServletService
Apr 04 00:33:57 2006: 180510-Started: Jaguar/HttpStatProvider
Apr 04 00:33:57 2006: 180510-Started: Jaguar/CConnCacheStatProvider
Apr 04 00:33:57 2006: 180510-Started:
Jaguar/NamedInstancePoolManagerStatProvider
Apr 04 00:33:57 2006: 180702-OTS Service Initialized.
Apr 04 00:33:57 2006: 180510-Started: JaguarOTS/OtsService
Apr 04 00:33:57 2006: 180510-Started: ASInterface/CorbaHousekeeperService
Apr 04 00:33:58 2006: 180510-Started: ASInterface/LogServer
Apr 04 00:33:58 2006: 180512-Running: services...
Apr 04 00:33:58 2006: 180512-Running: CosNaming/JNameService
Apr 04 00:33:58 2006: 080000-Done binding to all configured Name Servers.
Apr 04 00:33:58 2006: 180513-Stopped: CosNaming/JNameService
Apr 04 00:33:58 2006: 180512-Running: Jaguar/GarbageCollector
Apr 04 00:33:58 2006: 180512-Running: JaguarServlet/ServletService
Apr 04 00:33:58 2006: 180512-Running: Jaguar/HttpStatProvider
Apr 04 00:33:58 2006: 180512-Running: Jaguar/CConnCacheStatProvider
Apr 04 00:33:58 2006: 180512-Running:
Jaguar/NamedInstancePoolManagerStatProvider
Apr 04 00:33:58 2006: 180512-Running: Jaguar/JCM
Apr 04 00:33:58 2006: 180512-Running: JaguarOTS/OtsService
Apr 04 00:33:58 2006: 180512-Running: ASInterface/CorbaHousekeeperService
Apr 04 00:33:58 2006: 180512-Running: ASInterface/LogServer
Apr 04 00:33:58 2006: 180513-Stopped: JaguarOTS/OtsService
Apr 04 00:33:58 2006: 180513-Stopped: Jaguar/CConnCacheStatProvider
Apr 04 00:33:58 2006: Appeon Server started. Version 3.1.1476.00 on 2005-09-08
Apr 04 00:33:58 2006: 180513-Stopped: Jaguar/JCM
Apr 04 00:34:19 2006: 180513-Stopped: ASInterface/CorbaHousekeeperService
Apr 04 00:34:19 2006: 00001-
Appeon server (3.1.1476.00 edition) started.
Apr 04 00:34:19 2006: 00007-Edition: TRIAL
Apr 04 00:34:19 2006: JRouterImpl Check Session thread started...
Apr 04 00:34:36 2006: JCMPing Caught Exception:
com.sybase.jaguar.util.JException: Error: Connection cache for server
jdbc:odbc:htf does not exist.
at com.sybase.jaguar.jcm.JCM.getCache(JCM.java:945)
at com.sybase.jaguar.jcm.jcmPingImpl.getCache(jcmPingImpl.java:138)
at com.sybase.jaguar.jcm.jcmPingImpl.ping(jcmPingImpl.java:104)
at com.sybase.jaguar.jcm._sk_Jaguar_JCMPing.invoke(_sk_Jaguar_JCMPing.java:55)

Apr 04 00:34:53 2006: JCMPing Caught Exception:
com.sybase.jaguar.util.JException: Error: Connection cache for server
jdbc:odbc:htf does not exist.
at com.sybase.jaguar.jcm.JCM.getCache(JCM.java:945)
at com.sybase.jaguar.jcm.jcmPingImpl.getCache(jcmPingImpl.java:138)
at com.sybase.jaguar.jcm.jcmPingImpl.ping(jcmPingImpl.java:104)
at com.sybase.jaguar.jcm._sk_Jaguar_JCMPing.invoke(_sk_Jaguar_JCMPing.java:55)


Zhang JX Posted on 2006-04-04 11:36:57.0Z
From: "Zhang JX" <zhjx99@yahoo.com.sg>
Newsgroups: sybase.public.appeon
References: <442f72d2$1@forums-1-dub> <4430a895@forums-1-dub> <443209d6@forums-1-dub>
Subject: Re: Connection Cache not found?
Lines: 248
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 203.125.56.150
X-Original-NNTP-Posting-Host: 203.125.56.150
Message-ID: <44324c49@forums-1-dub>
Date: 4 Apr 2006 03:36:57 -0800
X-Trace: forums-1-dub 1144147017 203.125.56.150 (4 Apr 2006 03:36:57 -0800)
X-Original-Trace: 4 Apr 2006 03:36:57 -0800, 203.125.56.150
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:1397
Article PK: 12979

Jason,

I am using MSSQL DB, and not family with ASA.

Suggest that you delete connection cache 'htf' and re-setup it.

JX.

"Jason" <jasonabaysatyahoodotcom> wrote in message
news:443209d6@forums-1-dub...
> JX,
>
> Yeah, it looks like it's set up. Let me know if I'm looking in the right
> place:
>
> I go to AEM -> Application Properties -> Transaction Objects.
> I see my application (htf) listed. When I click on it it says the
> transaction
> object is SQLCA, the connection cache is htf and the database type is
> Sybase ASA
> 7/8/9.
>
> Should I look for something else?
>
> Also, I don't know why, but now I can't ping using the connection cache in
> EAServer Manager. (Yesterday it was fine.) I've rebooted and everything.
> (I
> don't recall changing anything since yesterday.) The error that is
> displayed
> says this:
>
> Ping of htf Connection Cache failed: Ping Failed
> Main Exception: Error: Connection cache for server jdbc:odbc:htf does not
> exist.
>
> Here's my jaguar.log file if it helps. It does talk about a
> "java.lang.NullPointerException", but I'm not sure what that means.
> Please see
> below. Thanks.
>
> Apr 04 00:33:48 2006: 180742-Jaguar CTS - Component Transaction
> Server/Version
> 5.2.0 (Build 52025)/P/PC Intel/Microsoft Windows/OPT/Nov 29 2004 16:40:29
>
> Confidential property of Sybase, Inc.
> (c) Copyright Sybase Inc. 1987,2005
> All rights reserved.
>
> Use, duplication, or disclosure by the United States Government
> is subject to restrictions as set forth in FAR subparagraphs
> 52.227-19 (a)-(d) for civilian agency contracts and DFARS 252.227-7013
> (c)(1)(ii) for Department of Defense contracts. Sybase reserves all
> unpublished rights under the copyright laws of the United States.
> Sybase, Inc. One Sybase Drive, Dublin, CA 94568 USA.
> Apr 04 00:33:48 2006: 180743-Sybase Enterprise Application Server
> (Developer
> Edition)
> Apr 04 00:33:48 2006: 180746-This version of Enterprise Application
> Server(TM)
> is licensed solely for development purposes.
> Any other use of software, including but not limited to production use or
> use on
> a webserver is strictly prohibited. Deployment licenses may be obtained
> from
> Sybase, Inc. for a fee.
> Apr 04 00:33:48 2006: 180732-2 Phase Commit option is licensed
> Apr 04 00:33:48 2006: 180732-Clustering option is licensed
> Apr 04 00:33:48 2006: 180732-High Availability option is licensed
> Apr 04 00:33:48 2006: 180734-Listener # 1: Jaguar_appeonserveriiop:
> Active: yes
> Protocol: 'IIOP': 'localhost',9989 Security Profile: '*NONE*'.
> Apr 04 00:33:48 2006: 180734-Listener # 2: Jaguar_appeonserverhttp:
> Active: yes
> Protocol: 'HTTP': 'localhost',9988 Security Profile: '*NONE*'.
> Apr 04 00:33:48 2006: 180723-Server is running in 2PC Transaction mode
> with
> dynamic Java resource registration (JTS).
> Apr 04 00:33:48 2006: 180900-Starting Jaguar CTS
> Apr 04 00:33:48 2006: 180508-Server's native codeset is utf8
> Apr 04 00:33:48 2006: 180287-Library: 'libjjdk12.dll' for component type
> 'java'
> Apr 04 00:33:48 2006: 180387-Java JIT Compiler disabled
> Apr 04 00:33:48 2006: 180388-Java component debugging disabled
> Apr 04 00:33:48 2006: 180389-Java virtual machine initialized: java
> version
> 1.4.2_06
> Apr 04 00:33:48 2006: 180389-Java virtual machine initialized: Java
> HotSpot(TM)
> Client VM (version 1.4.2_06-b03, interpreted mode)
> Apr 04 00:33:48 2006: 070000-Repository: C:\Program
> Files\Sybase\EAServer\Repository
> Apr 04 00:33:48 2006: 180724-Host IP: 127.0.0.1
> Apr 04 00:33:48 2006: 180730-NameServiceURL: iiop://0:0
> Apr 04 00:33:48 2006: 180488-Warning: failed to lookup properties for
> WebApplication'sMgmt'(WebApplication sMgmt - C:\Program
> Files\Sybase\EAServer\Repository\WebApplication\sMgmt.props (The s)
> Apr 04 00:33:49 2006: 180511-Starting Services...
> Apr 04 00:33:49 2006: 180510-Started: Jaguar/Repository
> Apr 04 00:33:49 2006: 180510-Started: Jaguar/GarbageCollector
> Apr 04 00:33:49 2006: 080005-Starting Jaguar Naming Services...
> Apr 04 00:33:50 2006: 180510-Started: CosNaming/JNameService
> Apr 04 00:33:50 2006: 010001-Error: Server {0} was not found in the
> repository.
> Apr 04 00:33:50 2006: 010019-JNDI get connection flag for all connection
> caches
> is: NOWAIT
> Apr 04 00:33:50 2006: 020004-JaguarClassLoader: Server level class loader
> initialized.
> Apr 04 00:33:50 2006: 010004-JCM: Loading Connection Caches and/or XA
> Resources
> ..
> Apr 04 00:33:50 2006: 010041-JCM: Loading connection cache: appeonsample
> Apr 04 00:33:50 2006: 010066-Cache Name: appeonsample Driver Class:
> sun.jdbc.odbc.JdbcOdbcDriver Version: 2.1
> Apr 04 00:33:50 2006: 010041-JCM: Loading connection cache:
> JUDDIServerCache
> Apr 04 00:33:50 2006: 010066-Cache Name: JUDDIServerCache Driver Class:
> com.sybase.jdbc2.jdbc.SybDriver Version: 5.5
> Apr 04 00:33:50 2006: 010041-JCM: Loading connection cache: appeonsample2
> Apr 04 00:33:50 2006: 010066-Cache Name: appeonsample2 Driver Class:
> sun.jdbc.odbc.JdbcOdbcDriver Version: 2.1
> Apr 04 00:33:50 2006: 010041-JCM: Loading connection cache: appeondb
> Apr 04 00:33:50 2006: 010066-Cache Name: appeondb Driver Class:
> sun.jdbc.odbc.JdbcOdbcDriver Version: 2.1
> Apr 04 00:33:50 2006: 010041-JCM: Loading connection cache: htf
> Apr 04 00:33:50 2006: 010027-JCM: Caught Throwable:
> com.sybase.jaguar.jcm.Utility.UnInitializedException: Cannot Initialize
> Pool
> Manager
> at
> com.sybase.jaguar.jcm.ResourceManager.Jdbc10ResourceManager.<init>(Jdbc10Resourc
> eManager.java:72)
> at
> com.sybase.jaguar.jcm.ResourceManager.ResourceManagerFactoryImpl.createJdbc10Rm(
> ResourceManagerFactoryImpl.java:163)
> at
> com.sybase.jaguar.jcm.ResourceManager.ResourceManagerFactoryImpl.createResourceM
> anager(ResourceManagerFactoryImpl.java:116)
> at
> com.sybase.jaguar.jcm.ResourceManager.ResourceManagerFactoryImpl.getOrCreateReso
> urceManager(ResourceManagerFactoryImpl.java:74)
> at com.sybase.jaguar.jcm.JCMCache.<init>(JCMCache.java:243)
> at com.sybase.jaguar.jcm.JCM.loadCache(JCM.java:552)
> at com.sybase.jaguar.jcm.JCM.init(JCM.java:294)
> at com.sybase.jaguar.jcm.JCM.<clinit>(JCM.java:74)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:141)
> at
> com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarClassLoader.java:916)
> at
> com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarClassLoader.java:761)
> at
> com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarClassLoader.java:754)
> at
> com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarClassLoader.java:743)
>
> Apr 04 00:33:50 2006: 010040-Connection Cache: htf not created due to the
> following error: java.lang.NullPointerException
> Apr 04 00:33:50 2006: 010027-JCM: Caught Throwable:
> java.lang.NullPointerException
> at java.util.Hashtable.put(Hashtable.java:393)
> at
> com.sybase.jaguar.jcm.ResourceManager.ResourceManagerFactoryImpl.getOrCreateReso
> urceManager(ResourceManagerFactoryImpl.java:81)
> at com.sybase.jaguar.jcm.JCMCache.<init>(JCMCache.java:243)
> at com.sybase.jaguar.jcm.JCM.loadCache(JCM.java:552)
> at com.sybase.jaguar.jcm.JCM.init(JCM.java:294)
> at com.sybase.jaguar.jcm.JCM.<clinit>(JCM.java:74)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:141)
> at
> com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarClassLoader.java:916)
> at
> com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarClassLoader.java:761)
> at
> com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarClassLoader.java:754)
> at
> com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarClassLoader.java:743)
>
> Apr 04 00:33:50 2006: 010005-JCM: Loading Connectors/Resources Adapters
> ...
> Apr 04 00:33:50 2006: 010042-JCM: Loading managed connection factory:
> BlackBoxLocalTx/EASDemo
> Apr 04 00:33:50 2006: 010059-Warning: Pool for MCF:
> BlackBoxLocalTx/EASDemo has
> no timeout; connections will never be deallocated.
> Apr 04 00:33:50 2006: 180510-Started: Jaguar/JCM
> Apr 04 00:33:50 2006: 180524-Authentication timeout period is 3600
> seconds.
> Note: authentication timeout can be disabled.
> Apr 04 00:33:50 2006: 180526-Authentication lockout period is 600 seconds.
> Note: authentication lockout can be disabled.
> Apr 04 00:33:50 2006: 180748-PermissionCache: Authorization cache timeout:
> 120
> minutes
> Apr 04 00:33:57 2006: 180510-Started: JaguarServlet/ServletService
> Apr 04 00:33:57 2006: 180510-Started: Jaguar/HttpStatProvider
> Apr 04 00:33:57 2006: 180510-Started: Jaguar/CConnCacheStatProvider
> Apr 04 00:33:57 2006: 180510-Started:
> Jaguar/NamedInstancePoolManagerStatProvider
> Apr 04 00:33:57 2006: 180702-OTS Service Initialized.
> Apr 04 00:33:57 2006: 180510-Started: JaguarOTS/OtsService
> Apr 04 00:33:57 2006: 180510-Started: ASInterface/CorbaHousekeeperService
> Apr 04 00:33:58 2006: 180510-Started: ASInterface/LogServer
> Apr 04 00:33:58 2006: 180512-Running: services...
> Apr 04 00:33:58 2006: 180512-Running: CosNaming/JNameService
> Apr 04 00:33:58 2006: 080000-Done binding to all configured Name Servers.
> Apr 04 00:33:58 2006: 180513-Stopped: CosNaming/JNameService
> Apr 04 00:33:58 2006: 180512-Running: Jaguar/GarbageCollector
> Apr 04 00:33:58 2006: 180512-Running: JaguarServlet/ServletService
> Apr 04 00:33:58 2006: 180512-Running: Jaguar/HttpStatProvider
> Apr 04 00:33:58 2006: 180512-Running: Jaguar/CConnCacheStatProvider
> Apr 04 00:33:58 2006: 180512-Running:
> Jaguar/NamedInstancePoolManagerStatProvider
> Apr 04 00:33:58 2006: 180512-Running: Jaguar/JCM
> Apr 04 00:33:58 2006: 180512-Running: JaguarOTS/OtsService
> Apr 04 00:33:58 2006: 180512-Running: ASInterface/CorbaHousekeeperService
> Apr 04 00:33:58 2006: 180512-Running: ASInterface/LogServer
> Apr 04 00:33:58 2006: 180513-Stopped: JaguarOTS/OtsService
> Apr 04 00:33:58 2006: 180513-Stopped: Jaguar/CConnCacheStatProvider
> Apr 04 00:33:58 2006: Appeon Server started. Version 3.1.1476.00 on
> 2005-09-08
> Apr 04 00:33:58 2006: 180513-Stopped: Jaguar/JCM
> Apr 04 00:34:19 2006: 180513-Stopped: ASInterface/CorbaHousekeeperService
> Apr 04 00:34:19 2006: 00001-
> Appeon server (3.1.1476.00 edition) started.
> Apr 04 00:34:19 2006: 00007-Edition: TRIAL
> Apr 04 00:34:19 2006: JRouterImpl Check Session thread started...
> Apr 04 00:34:36 2006: JCMPing Caught Exception:
> com.sybase.jaguar.util.JException: Error: Connection cache for server
> jdbc:odbc:htf does not exist.
> at com.sybase.jaguar.jcm.JCM.getCache(JCM.java:945)
> at com.sybase.jaguar.jcm.jcmPingImpl.getCache(jcmPingImpl.java:138)
> at com.sybase.jaguar.jcm.jcmPingImpl.ping(jcmPingImpl.java:104)
> at
> com.sybase.jaguar.jcm._sk_Jaguar_JCMPing.invoke(_sk_Jaguar_JCMPing.java:55)
>
> Apr 04 00:34:53 2006: JCMPing Caught Exception:
> com.sybase.jaguar.util.JException: Error: Connection cache for server
> jdbc:odbc:htf does not exist.
> at com.sybase.jaguar.jcm.JCM.getCache(JCM.java:945)
> at com.sybase.jaguar.jcm.jcmPingImpl.getCache(jcmPingImpl.java:138)
> at com.sybase.jaguar.jcm.jcmPingImpl.ping(jcmPingImpl.java:104)
> at
> com.sybase.jaguar.jcm._sk_Jaguar_JCMPing.invoke(_sk_Jaguar_JCMPing.java:55)


Zhang JX Posted on 2006-04-05 05:34:09.0Z
From: "Zhang JX" <zhjx99@yahoo.com.sg>
Newsgroups: sybase.public.appeon
References: <442f72d2$1@forums-1-dub> <4430a895@forums-1-dub> <443209d6@forums-1-dub>
Subject: Re: Connection Cache not found?
Lines: 247
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 203.125.56.150
X-Original-NNTP-Posting-Host: 203.125.56.150
Message-ID: <443348c1@forums-1-dub>
Date: 4 Apr 2006 21:34:09 -0800
X-Trace: forums-1-dub 1144211649 203.125.56.150 (4 Apr 2006 21:34:09 -0800)
X-Original-Trace: 4 Apr 2006 21:34:09 -0800, 203.125.56.150
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:1398
Article PK: 12984

Jason,

Regarding the connection cache ping failed, as you are using JDBC:ODBC
bridge, make sure ODBC configuration is correct and you are able to connect
to DB using ODBC.

JX

"Jason" <jasonabaysatyahoodotcom> wrote in message
news:443209d6@forums-1-dub...
> JX,
>
> Yeah, it looks like it's set up. Let me know if I'm looking in the right
> place:
>
> I go to AEM -> Application Properties -> Transaction Objects.
> I see my application (htf) listed. When I click on it it says the
> transaction
> object is SQLCA, the connection cache is htf and the database type is
> Sybase ASA
> 7/8/9.
>
> Should I look for something else?
>
> Also, I don't know why, but now I can't ping using the connection cache in
> EAServer Manager. (Yesterday it was fine.) I've rebooted and everything.
> (I
> don't recall changing anything since yesterday.) The error that is
> displayed
> says this:
>
> Ping of htf Connection Cache failed: Ping Failed
> Main Exception: Error: Connection cache for server jdbc:odbc:htf does not
> exist.
>
> Here's my jaguar.log file if it helps. It does talk about a
> "java.lang.NullPointerException", but I'm not sure what that means.
> Please see
> below. Thanks.
>
> Apr 04 00:33:48 2006: 180742-Jaguar CTS - Component Transaction
> Server/Version
> 5.2.0 (Build 52025)/P/PC Intel/Microsoft Windows/OPT/Nov 29 2004 16:40:29
>
> Confidential property of Sybase, Inc.
> (c) Copyright Sybase Inc. 1987,2005
> All rights reserved.
>
> Use, duplication, or disclosure by the United States Government
> is subject to restrictions as set forth in FAR subparagraphs
> 52.227-19 (a)-(d) for civilian agency contracts and DFARS 252.227-7013
> (c)(1)(ii) for Department of Defense contracts. Sybase reserves all
> unpublished rights under the copyright laws of the United States.
> Sybase, Inc. One Sybase Drive, Dublin, CA 94568 USA.
> Apr 04 00:33:48 2006: 180743-Sybase Enterprise Application Server
> (Developer
> Edition)
> Apr 04 00:33:48 2006: 180746-This version of Enterprise Application
> Server(TM)
> is licensed solely for development purposes.
> Any other use of software, including but not limited to production use or
> use on
> a webserver is strictly prohibited. Deployment licenses may be obtained
> from
> Sybase, Inc. for a fee.
> Apr 04 00:33:48 2006: 180732-2 Phase Commit option is licensed
> Apr 04 00:33:48 2006: 180732-Clustering option is licensed
> Apr 04 00:33:48 2006: 180732-High Availability option is licensed
> Apr 04 00:33:48 2006: 180734-Listener # 1: Jaguar_appeonserveriiop:
> Active: yes
> Protocol: 'IIOP': 'localhost',9989 Security Profile: '*NONE*'.
> Apr 04 00:33:48 2006: 180734-Listener # 2: Jaguar_appeonserverhttp:
> Active: yes
> Protocol: 'HTTP': 'localhost',9988 Security Profile: '*NONE*'.
> Apr 04 00:33:48 2006: 180723-Server is running in 2PC Transaction mode
> with
> dynamic Java resource registration (JTS).
> Apr 04 00:33:48 2006: 180900-Starting Jaguar CTS
> Apr 04 00:33:48 2006: 180508-Server's native codeset is utf8
> Apr 04 00:33:48 2006: 180287-Library: 'libjjdk12.dll' for component type
> 'java'
> Apr 04 00:33:48 2006: 180387-Java JIT Compiler disabled
> Apr 04 00:33:48 2006: 180388-Java component debugging disabled
> Apr 04 00:33:48 2006: 180389-Java virtual machine initialized: java
> version
> 1.4.2_06
> Apr 04 00:33:48 2006: 180389-Java virtual machine initialized: Java
> HotSpot(TM)
> Client VM (version 1.4.2_06-b03, interpreted mode)
> Apr 04 00:33:48 2006: 070000-Repository: C:\Program
> Files\Sybase\EAServer\Repository
> Apr 04 00:33:48 2006: 180724-Host IP: 127.0.0.1
> Apr 04 00:33:48 2006: 180730-NameServiceURL: iiop://0:0
> Apr 04 00:33:48 2006: 180488-Warning: failed to lookup properties for
> WebApplication'sMgmt'(WebApplication sMgmt - C:\Program
> Files\Sybase\EAServer\Repository\WebApplication\sMgmt.props (The s)
> Apr 04 00:33:49 2006: 180511-Starting Services...
> Apr 04 00:33:49 2006: 180510-Started: Jaguar/Repository
> Apr 04 00:33:49 2006: 180510-Started: Jaguar/GarbageCollector
> Apr 04 00:33:49 2006: 080005-Starting Jaguar Naming Services...
> Apr 04 00:33:50 2006: 180510-Started: CosNaming/JNameService
> Apr 04 00:33:50 2006: 010001-Error: Server {0} was not found in the
> repository.
> Apr 04 00:33:50 2006: 010019-JNDI get connection flag for all connection
> caches
> is: NOWAIT
> Apr 04 00:33:50 2006: 020004-JaguarClassLoader: Server level class loader
> initialized.
> Apr 04 00:33:50 2006: 010004-JCM: Loading Connection Caches and/or XA
> Resources
> ..
> Apr 04 00:33:50 2006: 010041-JCM: Loading connection cache: appeonsample
> Apr 04 00:33:50 2006: 010066-Cache Name: appeonsample Driver Class:
> sun.jdbc.odbc.JdbcOdbcDriver Version: 2.1
> Apr 04 00:33:50 2006: 010041-JCM: Loading connection cache:
> JUDDIServerCache
> Apr 04 00:33:50 2006: 010066-Cache Name: JUDDIServerCache Driver Class:
> com.sybase.jdbc2.jdbc.SybDriver Version: 5.5
> Apr 04 00:33:50 2006: 010041-JCM: Loading connection cache: appeonsample2
> Apr 04 00:33:50 2006: 010066-Cache Name: appeonsample2 Driver Class:
> sun.jdbc.odbc.JdbcOdbcDriver Version: 2.1
> Apr 04 00:33:50 2006: 010041-JCM: Loading connection cache: appeondb
> Apr 04 00:33:50 2006: 010066-Cache Name: appeondb Driver Class:
> sun.jdbc.odbc.JdbcOdbcDriver Version: 2.1
> Apr 04 00:33:50 2006: 010041-JCM: Loading connection cache: htf
> Apr 04 00:33:50 2006: 010027-JCM: Caught Throwable:
> com.sybase.jaguar.jcm.Utility.UnInitializedException: Cannot Initialize
> Pool
> Manager
> at
> com.sybase.jaguar.jcm.ResourceManager.Jdbc10ResourceManager.<init>(Jdbc10Resourc
> eManager.java:72)
> at
> com.sybase.jaguar.jcm.ResourceManager.ResourceManagerFactoryImpl.createJdbc10Rm(
> ResourceManagerFactoryImpl.java:163)
> at
> com.sybase.jaguar.jcm.ResourceManager.ResourceManagerFactoryImpl.createResourceM
> anager(ResourceManagerFactoryImpl.java:116)
> at
> com.sybase.jaguar.jcm.ResourceManager.ResourceManagerFactoryImpl.getOrCreateReso
> urceManager(ResourceManagerFactoryImpl.java:74)
> at com.sybase.jaguar.jcm.JCMCache.<init>(JCMCache.java:243)
> at com.sybase.jaguar.jcm.JCM.loadCache(JCM.java:552)
> at com.sybase.jaguar.jcm.JCM.init(JCM.java:294)
> at com.sybase.jaguar.jcm.JCM.<clinit>(JCM.java:74)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:141)
> at
> com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarClassLoader.java:916)
> at
> com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarClassLoader.java:761)
> at
> com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarClassLoader.java:754)
> at
> com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarClassLoader.java:743)
>
> Apr 04 00:33:50 2006: 010040-Connection Cache: htf not created due to the
> following error: java.lang.NullPointerException
> Apr 04 00:33:50 2006: 010027-JCM: Caught Throwable:
> java.lang.NullPointerException
> at java.util.Hashtable.put(Hashtable.java:393)
> at
> com.sybase.jaguar.jcm.ResourceManager.ResourceManagerFactoryImpl.getOrCreateReso
> urceManager(ResourceManagerFactoryImpl.java:81)
> at com.sybase.jaguar.jcm.JCMCache.<init>(JCMCache.java:243)
> at com.sybase.jaguar.jcm.JCM.loadCache(JCM.java:552)
> at com.sybase.jaguar.jcm.JCM.init(JCM.java:294)
> at com.sybase.jaguar.jcm.JCM.<clinit>(JCM.java:74)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:141)
> at
> com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarClassLoader.java:916)
> at
> com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarClassLoader.java:761)
> at
> com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarClassLoader.java:754)
> at
> com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarClassLoader.java:743)
>
> Apr 04 00:33:50 2006: 010005-JCM: Loading Connectors/Resources Adapters
> ...
> Apr 04 00:33:50 2006: 010042-JCM: Loading managed connection factory:
> BlackBoxLocalTx/EASDemo
> Apr 04 00:33:50 2006: 010059-Warning: Pool for MCF:
> BlackBoxLocalTx/EASDemo has
> no timeout; connections will never be deallocated.
> Apr 04 00:33:50 2006: 180510-Started: Jaguar/JCM
> Apr 04 00:33:50 2006: 180524-Authentication timeout period is 3600
> seconds.
> Note: authentication timeout can be disabled.
> Apr 04 00:33:50 2006: 180526-Authentication lockout period is 600 seconds.
> Note: authentication lockout can be disabled.
> Apr 04 00:33:50 2006: 180748-PermissionCache: Authorization cache timeout:
> 120
> minutes
> Apr 04 00:33:57 2006: 180510-Started: JaguarServlet/ServletService
> Apr 04 00:33:57 2006: 180510-Started: Jaguar/HttpStatProvider
> Apr 04 00:33:57 2006: 180510-Started: Jaguar/CConnCacheStatProvider
> Apr 04 00:33:57 2006: 180510-Started:
> Jaguar/NamedInstancePoolManagerStatProvider
> Apr 04 00:33:57 2006: 180702-OTS Service Initialized.
> Apr 04 00:33:57 2006: 180510-Started: JaguarOTS/OtsService
> Apr 04 00:33:57 2006: 180510-Started: ASInterface/CorbaHousekeeperService
> Apr 04 00:33:58 2006: 180510-Started: ASInterface/LogServer
> Apr 04 00:33:58 2006: 180512-Running: services...
> Apr 04 00:33:58 2006: 180512-Running: CosNaming/JNameService
> Apr 04 00:33:58 2006: 080000-Done binding to all configured Name Servers.
> Apr 04 00:33:58 2006: 180513-Stopped: CosNaming/JNameService
> Apr 04 00:33:58 2006: 180512-Running: Jaguar/GarbageCollector
> Apr 04 00:33:58 2006: 180512-Running: JaguarServlet/ServletService
> Apr 04 00:33:58 2006: 180512-Running: Jaguar/HttpStatProvider
> Apr 04 00:33:58 2006: 180512-Running: Jaguar/CConnCacheStatProvider
> Apr 04 00:33:58 2006: 180512-Running:
> Jaguar/NamedInstancePoolManagerStatProvider
> Apr 04 00:33:58 2006: 180512-Running: Jaguar/JCM
> Apr 04 00:33:58 2006: 180512-Running: JaguarOTS/OtsService
> Apr 04 00:33:58 2006: 180512-Running: ASInterface/CorbaHousekeeperService
> Apr 04 00:33:58 2006: 180512-Running: ASInterface/LogServer
> Apr 04 00:33:58 2006: 180513-Stopped: JaguarOTS/OtsService
> Apr 04 00:33:58 2006: 180513-Stopped: Jaguar/CConnCacheStatProvider
> Apr 04 00:33:58 2006: Appeon Server started. Version 3.1.1476.00 on
> 2005-09-08
> Apr 04 00:33:58 2006: 180513-Stopped: Jaguar/JCM
> Apr 04 00:34:19 2006: 180513-Stopped: ASInterface/CorbaHousekeeperService
> Apr 04 00:34:19 2006: 00001-
> Appeon server (3.1.1476.00 edition) started.
> Apr 04 00:34:19 2006: 00007-Edition: TRIAL
> Apr 04 00:34:19 2006: JRouterImpl Check Session thread started...
> Apr 04 00:34:36 2006: JCMPing Caught Exception:
> com.sybase.jaguar.util.JException: Error: Connection cache for server
> jdbc:odbc:htf does not exist.
> at com.sybase.jaguar.jcm.JCM.getCache(JCM.java:945)
> at com.sybase.jaguar.jcm.jcmPingImpl.getCache(jcmPingImpl.java:138)
> at com.sybase.jaguar.jcm.jcmPingImpl.ping(jcmPingImpl.java:104)
> at
> com.sybase.jaguar.jcm._sk_Jaguar_JCMPing.invoke(_sk_Jaguar_JCMPing.java:55)
>
> Apr 04 00:34:53 2006: JCMPing Caught Exception:
> com.sybase.jaguar.util.JException: Error: Connection cache for server
> jdbc:odbc:htf does not exist.
> at com.sybase.jaguar.jcm.JCM.getCache(JCM.java:945)
> at com.sybase.jaguar.jcm.jcmPingImpl.getCache(jcmPingImpl.java:138)
> at com.sybase.jaguar.jcm.jcmPingImpl.ping(jcmPingImpl.java:104)
> at
> com.sybase.jaguar.jcm._sk_Jaguar_JCMPing.invoke(_sk_Jaguar_JCMPing.java:55)


Angel Posted on 2012-11-29 20:45:00.0Z
Sender: 6dee.50b7c66e.1804289383@sybase.com
From: Angel
Newsgroups: sybase.public.appeon
Subject: Re: Connection Cache not found?
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <50b7c94c.6e70.1681692777@sybase.com>
References: <443209d6@forums-1-dub>
NNTP-Posting-Host: 172.20.134.41
X-Original-NNTP-Posting-Host: 172.20.134.41
Date: 29 Nov 2012 12:45:00 -0800
X-Trace: forums-1-dub 1354221900 172.20.134.41 (29 Nov 2012 12:45:00 -0800)
X-Original-Trace: 29 Nov 2012 12:45:00 -0800, 172.20.134.41
Lines: 255
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:3063
Article PK: 22023


> JX,
>
> Yeah, it looks like it's set up. Let me know if I'm
> looking in the right place:
>
> I go to AEM -> Application Properties -> Transaction
> Objects. I see my application (htf) listed. When I click
> on it it says the transaction object is SQLCA, the
> connection cache is htf and the database type is Sybase
> ASA 7/8/9.
>
> Should I look for something else?
>
> Also, I don't know why, but now I can't ping using the
> connection cache in EAServer Manager. (Yesterday it was
> fine.) I've rebooted and everything. (I don't recall
> changing anything since yesterday.) The error that is
> displayed says this:
>
> Ping of htf Connection Cache failed: Ping Failed
> Main Exception: Error: Connection cache for server
> jdbc:odbc:htf does not exist.
>
> Here's my jaguar.log file if it helps. It does talk about
> a "java.lang.NullPointerException", but I'm not sure what
> that means. Please see below. Thanks.
>
> Apr 04 00:33:48 2006: 180742-Jaguar CTS - Component
> Transaction Server/Version 5.2.0 (Build 52025)/P/PC
> Intel/Microsoft Windows/OPT/Nov 29 2004 16:40:29
>
> Confidential property of Sybase, Inc.
> (c) Copyright Sybase Inc. 1987,2005
> All rights reserved.
>
> Use, duplication, or disclosure by the United States
> Government is subject to restrictions as set forth in FAR
> subparagraphs 52.227-19 (a)-(d) for civilian agency
> contracts and DFARS 252.227-7013 (c)(1)(ii) for Department
> of Defense contracts. Sybase reserves all unpublished
> rights under the copyright laws of the United States.
> Sybase, Inc. One Sybase Drive, Dublin, CA 94568 USA. Apr
> 04 00:33:48 2006: 180743-Sybase Enterprise Application
> Server (Developer Edition)
> Apr 04 00:33:48 2006: 180746-This version of Enterprise
> Application Server(TM) is licensed solely for development
> purposes. Any other use of software, including but not
> limited to production use or use on a webserver is
> strictly prohibited. Deployment licenses may be obtained
> from Sybase, Inc. for a fee.
> Apr 04 00:33:48 2006: 180732-2 Phase Commit option is
> licensed Apr 04 00:33:48 2006: 180732-Clustering option is
> licensed Apr 04 00:33:48 2006: 180732-High Availability
> option is licensed Apr 04 00:33:48 2006: 180734-Listener #
> 1: Jaguar_appeonserveriiop: Active: yes Protocol: 'IIOP':
> 'localhost',9989 Security Profile: '*NONE*'. Apr 04
> 00:33:48 2006: 180734-Listener # 2:
> Jaguar_appeonserverhttp: Active: yes Protocol: 'HTTP':
> 'localhost',9988 Security Profile: '*NONE*'. Apr 04
> 00:33:48 2006: 180723-Server is running in 2PC Transaction
> mode with dynamic Java resource registration (JTS).
> Apr 04 00:33:48 2006: 180900-Starting Jaguar CTS
> Apr 04 00:33:48 2006: 180508-Server's native codeset is
> utf8 Apr 04 00:33:48 2006: 180287-Library: 'libjjdk12.dll'
> for component type 'java' Apr 04 00:33:48 2006:
> 180387-Java JIT Compiler disabled Apr 04 00:33:48 2006:
> 180388-Java component debugging disabled Apr 04 00:33:48
> 2006: 180389-Java virtual machine initialized: java
> version 1.4.2_06
> Apr 04 00:33:48 2006: 180389-Java virtual machine
> initialized: Java HotSpot(TM) Client VM (version
> 1.4.2_06-b03, interpreted mode) Apr 04 00:33:48 2006:
> 070000-Repository: C:\Program
> Files\Sybase\EAServer\Repository Apr 04 00:33:48 2006:
> 180724-Host IP: 127.0.0.1 Apr 04 00:33:48 2006:
> 180730-NameServiceURL: iiop://0:0 Apr 04 00:33:48 2006:
> 180488-Warning: failed to lookup properties for
> WebApplication'sMgmt'(WebApplication sMgmt - C:\Program
> Files\Sybase\EAServer\Repository\WebApplication\sMgmt.prop
> s (The s) Apr 04 00:33:49 2006: 180511-Starting
> Services... Apr 04 00:33:49 2006: 180510-Started:
> Jaguar/Repository Apr 04 00:33:49 2006: 180510-Started:
> Jaguar/GarbageCollector Apr 04 00:33:49 2006:
> 080005-Starting Jaguar Naming Services... Apr 04 00:33:50
> 2006: 180510-Started: CosNaming/JNameService Apr 04
> 00:33:50 2006: 010001-Error: Server {0} was not found in
> the repository. Apr 04 00:33:50 2006: 010019-JNDI get
> connection flag for all connection caches is: NOWAIT
> Apr 04 00:33:50 2006: 020004-JaguarClassLoader: Server
> level class loader initialized.
> Apr 04 00:33:50 2006: 010004-JCM: Loading Connection
> Caches and/or XA Resources ...
> Apr 04 00:33:50 2006: 010041-JCM: Loading connection
> cache: appeonsample Apr 04 00:33:50 2006: 010066-Cache
> Name: appeonsample Driver Class:
> sun.jdbc.odbc.JdbcOdbcDriver Version: 2.1 Apr 04 00:33:50
> 2006: 010041-JCM: Loading connection cache:
> JUDDIServerCache Apr 04 00:33:50 2006: 010066-Cache Name:
> JUDDIServerCache Driver Class:
> com.sybase.jdbc2.jdbc.SybDriver Version: 5.5 Apr 04
> 00:33:50 2006: 010041-JCM: Loading connection cache:
> appeonsample2 Apr 04 00:33:50 2006: 010066-Cache Name:
> appeonsample2 Driver Class: sun.jdbc.odbc.JdbcOdbcDriver
> Version: 2.1 Apr 04 00:33:50 2006: 010041-JCM: Loading
> connection cache: appeondb Apr 04 00:33:50 2006:
> 010066-Cache Name: appeondb Driver Class:
> sun.jdbc.odbc.JdbcOdbcDriver Version: 2.1 Apr 04 00:33:50
> 2006: 010041-JCM: Loading connection cache: htf Apr 04
> 00:33:50 2006: 010027-JCM: Caught Throwable:
> com.sybase.jaguar.jcm.Utility.UnInitializedException:
> Cannot Initialize Pool Manager
> at
> com.sybase.jaguar.jcm.ResourceManager.Jdbc10ResourceManage
> r.<init>(Jdbc10Resourc eManager.java:72)
> at
> com.sybase.jaguar.jcm.ResourceManager.ResourceManagerFacto
> ryImpl.createJdbc10Rm(
> ResourceManagerFactoryImpl.java:163)
> at
> com.sybase.jaguar.jcm.ResourceManager.ResourceManagerFacto
> ryImpl.createResourceM
> anager(ResourceManagerFactoryImpl.java:116)
> at
> com.sybase.jaguar.jcm.ResourceManager.ResourceManagerFacto
> ryImpl.getOrCreateReso
> urceManager(ResourceManagerFactoryImpl.java:74)
> at
> com.sybase.jaguar.jcm.JCMCache.<init>(JCMCache.java:243)
> at com.sybase.jaguar.jcm.JCM.loadCache(JCM.java:552)
> at com.sybase.jaguar.jcm.JCM.init(JCM.java:294)
> at com.sybase.jaguar.jcm.JCM.<clinit>(JCM.java:74)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:141)
> at
> com.sybase.jaguar.server.JaguarClassLoader.loadClass(Jagua
> rClassLoader.java:916)
> at
> com.sybase.jaguar.server.JaguarClassLoader.loadClass(Jagua
> rClassLoader.java:761)
> at
> com.sybase.jaguar.server.JaguarClassLoader.loadClass(Jagua
> rClassLoader.java:754)
> at
> com.sybase.jaguar.server.JaguarClassLoader.loadClass(Jagua
> rClassLoader.java:743)
>
> Apr 04 00:33:50 2006: 010040-Connection Cache: htf not
> created due to the following error:
> java.lang.NullPointerException Apr 04 00:33:50 2006:
> 010027-JCM: Caught Throwable:
> java.lang.NullPointerException
> at java.util.Hashtable.put(Hashtable.java:393)
> at
> com.sybase.jaguar.jcm.ResourceManager.ResourceManagerFacto
> ryImpl.getOrCreateReso
> urceManager(ResourceManagerFactoryImpl.java:81)
> at
> com.sybase.jaguar.jcm.JCMCache.<init>(JCMCache.java:243)
> at com.sybase.jaguar.jcm.JCM.loadCache(JCM.java:552)
> at com.sybase.jaguar.jcm.JCM.init(JCM.java:294)
> at com.sybase.jaguar.jcm.JCM.<clinit>(JCM.java:74)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:141)
> at
> com.sybase.jaguar.server.JaguarClassLoader.loadClass(Jagua
> rClassLoader.java:916)
> at
> com.sybase.jaguar.server.JaguarClassLoader.loadClass(Jagua
> rClassLoader.java:761)
> at
> com.sybase.jaguar.server.JaguarClassLoader.loadClass(Jagua
> rClassLoader.java:754)
> at
> com.sybase.jaguar.server.JaguarClassLoader.loadClass(Jagua
> rClassLoader.java:743)
>
> Apr 04 00:33:50 2006: 010005-JCM: Loading
> Connectors/Resources Adapters ... Apr 04 00:33:50 2006:
> 010042-JCM: Loading managed connection factory:
> BlackBoxLocalTx/EASDemo Apr 04 00:33:50 2006:
> 010059-Warning: Pool for MCF: BlackBoxLocalTx/EASDemo has
> no timeout; connections will never be deallocated. Apr 04
> 00:33:50 2006: 180510-Started: Jaguar/JCM Apr 04 00:33:50
> 2006: 180524-Authentication timeout period is 3600
> seconds.
> Note: authentication timeout can be disabled.
> Apr 04 00:33:50 2006: 180526-Authentication lockout period
> is 600 seconds.
> Note: authentication lockout can be disabled.
> Apr 04 00:33:50 2006: 180748-PermissionCache:
> Authorization cache timeout: 120 minutes
> Apr 04 00:33:57 2006: 180510-Started:
> JaguarServlet/ServletService Apr 04 00:33:57 2006:
> 180510-Started: Jaguar/HttpStatProvider Apr 04 00:33:57
> 2006: 180510-Started: Jaguar/CConnCacheStatProvider Apr 04
> 00:33:57 2006: 180510-Started:
> Jaguar/NamedInstancePoolManagerStatProvider Apr 04
> 00:33:57 2006: 180702-OTS Service Initialized. Apr 04
> 00:33:57 2006: 180510-Started: JaguarOTS/OtsService Apr 04
> 00:33:57 2006: 180510-Started:
> ASInterface/CorbaHousekeeperService Apr 04 00:33:58 2006:
> 180510-Started: ASInterface/LogServer Apr 04 00:33:58
> 2006: 180512-Running: services... Apr 04 00:33:58 2006:
> 180512-Running: CosNaming/JNameService Apr 04 00:33:58
> 2006: 080000-Done binding to all configured Name Servers.
> Apr 04 00:33:58 2006: 180513-Stopped:
> CosNaming/JNameService Apr 04 00:33:58 2006:
> 180512-Running: Jaguar/GarbageCollector Apr 04 00:33:58
> 2006: 180512-Running: JaguarServlet/ServletService Apr 04
> 00:33:58 2006: 180512-Running: Jaguar/HttpStatProvider Apr
> 04 00:33:58 2006: 180512-Running:
> Jaguar/CConnCacheStatProvider Apr 04 00:33:58 2006:
> 180512-Running:
> Jaguar/NamedInstancePoolManagerStatProvider Apr 04
> 00:33:58 2006: 180512-Running: Jaguar/JCM Apr 04 00:33:58
> 2006: 180512-Running: JaguarOTS/OtsService Apr 04 00:33:58
> 2006: 180512-Running: ASInterface/CorbaHousekeeperService
> Apr 04 00:33:58 2006: 180512-Running:
> ASInterface/LogServer Apr 04 00:33:58 2006:
> 180513-Stopped: JaguarOTS/OtsService Apr 04 00:33:58 2006:
> 180513-Stopped: Jaguar/CConnCacheStatProvider Apr 04
> 00:33:58 2006: Appeon Server started. Version 3.1.1476.00
> on 2005-09-08 Apr 04 00:33:58 2006: 180513-Stopped:
> Jaguar/JCM Apr 04 00:34:19 2006: 180513-Stopped:
> ASInterface/CorbaHousekeeperService Apr 04 00:34:19 2006:
> 00001- Appeon server (3.1.1476.00 edition) started.
> Apr 04 00:34:19 2006: 00007-Edition: TRIAL
> Apr 04 00:34:19 2006: JRouterImpl Check Session thread
> started... Apr 04 00:34:36 2006: JCMPing Caught Exception:
> com.sybase.jaguar.util.JException: Error: Connection cache
> for server jdbc:odbc:htf does not exist.
> at com.sybase.jaguar.jcm.JCM.getCache(JCM.java:945)
> at
> com.sybase.jaguar.jcm.jcmPingImpl.getCache(jcmPingImpl.jav
> a:138)
> at
> com.sybase.jaguar.jcm.jcmPingImpl.ping(jcmPingImpl.java:10
> 4)
> at
> com.sybase.jaguar.jcm._sk_Jaguar_JCMPing.invoke(_sk_Jaguar
> _JCMPing.java:55)
>
> Apr 04 00:34:53 2006: JCMPing Caught Exception:
> com.sybase.jaguar.util.JException: Error: Connection cache
> for server jdbc:odbc:htf does not exist.
> at com.sybase.jaguar.jcm.JCM.getCache(JCM.java:945)
> at
> com.sybase.jaguar.jcm.jcmPingImpl.getCache(jcmPingImpl.jav
> a:138)
> at
> com.sybase.jaguar.jcm.jcmPingImpl.ping(jcmPingImpl.java:10
> 4)
> at
> com.sybase.jaguar.jcm._sk_Jaguar_JCMPing.invoke(_sk_Jaguar
> _JCMPing.java:55)