LVISIT usage in Client Variables
I have a need to track the last visit of a user on my site.
After some searching it appears that the LVISIT column of the
CGLOBAL table in the client variables database should hold the data
that I need. Unfortunately this column is null on every record.
In CF Administrator the global client variable updates are
enabled.
Why is this not getting updated?
Version Info:
Server Product ColdFusion MX
Version 7,0,2,142559
Edition Standard
Operating System Windows 2003
OS Version 5.2
Hi,
If you are using DB user you have to connect to the disocverer using your connect window without checking the "oracle application user" at the bottom. for example apps/[email protected] out the TNS name for the DB user is correct or not.
If your using an application user then first you have to go to discoverer administartor and go to tools/options and go to connection and check connect to both standard and application EUL's and give the gateway user as APPLSYSPUB/PUB and foundation name as APPS.
If your connecting to application user,the TNS name should be set in oracle/BI tools home/network/admin and set the TNS name.
Hope this helps you.
Best Wishes,
Kranthi.
Similar Messages
-
Embeded derby as client variable store
I've spent considerable time trying to configure the built-in
derby embeded DB as a CF client variable store and have failed
utterly. It seems to be impossible.
I had a SQL Server client store which worked just find, but,
for various reasons that are irrelevant here, I would really prefer
not to do that and use derby instead.
I created the database, created the dsn, set the dsn as the
client store and it all looked okay. But it isn't. The CLOCAL and
CGLOBAL tables were not created as they should have been (and were
for SQL Server). So I created them by hand as described in the
help
files, but that failed as well. Changing various things yields
different errors, but there is a consisted 500 Server error. I can
only guess that the database writes are failing, but there is no
indication as to why.
I have looked all over adobe.com and all over the intertubes
and there is no further information of any kind. In fact, the
latest instructions for even creating the database date back to
May
2007 and have no resemblance to the administrators screens at
all. (I'm running CF 8,0,1,195765 standard). When I create an
embedded derby dsn, I get the generic "default"
Data & Services > Datasources > Other screen.
There's nothing "derby" about it.
So, frankly, it seems pretty pointless and useless to me. If
someone can point me DIRECTLY to relevant information, I'd
appreciate it. I cannot believe in the year plus this product has
been out that NO ONE has done this, especially when it's commented
all
over the place that this is one of the things you can do, yet
there's nothing. Even searching for just "derby" on these forums
yields only three hits, none of which are relevant.>> Well it does actually *tell you* it won't create
them automatically when
> > you go to set the DSN as the client store. I
suppose one has to read what
> > it says on the screen, which I have to say I don't
bother doing a lot of
> > the time in CFAdmin because I "know" what the text
says. This very screen
> > has caught me out with that before. Just the first
time, though.
>
> Actually, it does not tell you. The SQL Server screen
presents you with a box
> that says "create tables" but this one does not.
It doesn't say - underneath the "Description" text area "Your
data source
requires you to manually create the necessary database tables
to store your
client variables. See the Online Help for details. "?
It does for me.
You have a most curious CF install, and I would be very
hesitant continuing
with it given what you say.
What OS are you running on? Do you still have your install
logs, and do
they reveal anything relevant?
Is this an install that was fresh 8.0 (or 8.0.1), or has it
been upgraded
from an earlier release?
> The ones you expect. And the tables are there and
created correctly as per
> <cfdbinfo> which matches the <cfdbinfo>
created by CF in SQL Server. Things
> like:
> CREATE TABLE CDATA (cfid char (64), app char (64), data
clob,)
> CREATE TABLE CGLOBAL (cfid char (64), data clob, lvisit
datetime)
> CREATE UNIQUE INDEX id1 ON CDATA(cfid, app)
> CREATE INDEX id2 ON CGLOBAL(cfid)
> CREATE INDEX id3 ON CGLOBAL(lvisit)
OK, that sounds about right. The only thing I did different
was to use
timestamp rather than datetime. I'm not sure if that's worth
a try.
Can you insert / update / delete manually to/from those?
> > What are the error messages?
> As I said, the only consistent one is an Apache 500
Server error
The inconsistent ones would probably be helpful to know about
too.
What goes into the CF logs when these errors are being
raised? Do the 500
errors give an stack trace info? I think 500 errors usually
don't, but
don't exactly recall.
> > That sounds wrong. I get " Data & Services >
Datasources > Apache Derby
> > Embedded" on all three servers I have at my
disposal currently (a mix of
> > CF8 multiserver, CF8 stand-alone), and the rest of
the screen is
> > Derby-specific. It sounds to me like your install
is bung. Are you saying
> > when you select "Apache Derby Embedded" you just
get the same screen you
> > would have had you selected "other"? Odd.
>
> Also, as I said, I do not get any Derby anything.
I'm finding your tone a bit tedious to be honest.
I asked for clarification because you weren't completely
clear in your
post, and I just wanted to make sure you were sure what you
were seeing
because it's somewhat unusual to be getting completely the
wrong screens in
CFAdmin. In all the CF servers I have had responsibility for,
I've not
seen this, so I just wanted to *make sure* I was reading you
right.
> "other" jdbc data source creation screen, In fact, I
even copied the
> derby-specific URL from the create link and pasted it
into the browser, and CF
> Admin redirected it to the generic jdbc. This happens on
all three CF servers I
> have access to (all running 8.0.1 standard).
Weird. How did you create the Derby DBs themselves? It's
usually one of
the options on the create DSN screen. Did you create them
manually or
using some other client tool?
> > I think your problem here is your attitude that
because *you* can't make
> > something work then automatically nor can anyone
else. That is seldom
> > going to be the case, surely (or you lead a very
charmed life). I always
> > find that when something doesn't work for me in CF
it's almost always my
> > fault.
>
> Thank you for your opinion. It's most helpful
When trying to solve a problem that's a result of something
you've done, I
find it easy to take the mindset that *you've* done something
wrong, not
[something else] has done something wrong. Once one starts
looking more
analytically at one's own actions, sometimes a flag comes up,
and there's a
bit of a "slap forehead" moment. However if it's
predetermined that
something else is at fault and one is just the victim of
circumstance, it's
difficult to progress.
It's just better to dispense with the hand-wringing and roll
up the sleeves
and get on with fixing it.
> should have somehow psychically determined. If you read
for comprehension
> you'll see that I said I can't believe no one had done
it.
Have you not found anyone reporting to have used the Derby
DB? I have to
say that I'd never used it before y/day, because I've got the
luxury of
having Oracle or SQL Server DBs at my disposal. However I do
know of other
organisations using Derby for their demo DBs, and have read a
few things
about its usage.
I don't think you should expect to hear people reporting back
"hey I am
using Derby to store my client variables", because I don't
think it's
really that report-worthy. How many people to you see
reporting back "I'm
using my Oracle DB to store client variables"? As "storing
client
variables in a DB" is such a mundane thing, people are only
going to report
on it if they have had problems with it. Maybe no-one's done
it (except
for me, as of y/day). Maybe no-one's had a problem with it. A
case in
point: I had no problems setting it up, so I have no further
need to report
anything to anyone about it because it's "job done, move on".
> As I said the first time and again above, and will
repeat again here: I can't
> find anywhere where someone said they've actually done
it.
I've *actually done it*. I told you this y/day, as soon as
you asked.
There you go. Can we move on now please?
I'm not actually sure you want help, but if you do, follow up
with those
error message and anything from the logs that are helpful. I
think you
just want to have a moan as to how you've been so put upon,
and if that's
the case, I think we're done here. It's up to you as to how
to proceed.
Adam -
Client variable storage setting
Here is a little question hope someone can shine some light
on it.
Right now I am using the database as the client variable
storage in CF (with options of Purge data for 1 day and Disable
global client variable updates ). But it gives the database server
a really heavy load (50-90% CPU usage average) and I believe this
is the bottleneck of the time it takes CF serving the pages. I was
wondering that is this good idea to put the client variable storage
back to the Registry or cookie (for a quick fix until we upgrade
the servers in 4 weeks)? We have average of 46000 page view/day and
9000 visits/day.
CFMX 6.11 apply the Hot fix for client variables already
Win2003
P4 with 2gb ram
ThanksIt is a bottleneck. But on 46k pages views with that high of
a CPU load, you must really have a very undersized db server. We're
doing 3 million page views/day and about 65% of those use client
variables and it doesn't even phase our db server.
Putting them into a cookie shoudl work just fine. I wouldn't
use the registry setting. It'll make a mess of your registry.
You should consider session variables where possible. Those
stay in server memory. -
ColdFusion 8 - Client Variables don't work with PostgreSQL
RedHat Fedora Linux
PostgreSQL version 8.2
ColdFusion version 8 Developer
Steps to create problem:
Creating Client Variables in the "ColdFusion Administrator".
checked "Create Client Variables" pressed "submit"
Results:
The "ColdFusion Administrator" errors out.
Problem:
"ColdFusion Administrator" calls a the page "postgresql.cfm",
which creates the tables in the database.
Until "ColdFusion" executes the SQL "create table CGLOBAL
(cfid char(64), data text, lvisit datetime)".
According to PostgreSQL website and documentation, the data
type "datetime" doesn't exists."
Valid 'time/date data types' are timestamp,interval,date and
time.
Question:
Is there some way of getting "ColdFusion" to "create a
'Client Variables' database" in PostgreSQL DBMS,
using "ColdFusion Administrator?
What are the SQL statements to "create a 'Client Variables'
database" by hand?Have you viewed the Livedocs section at
Client
Variables page? It does explain the process for creating client
variable tables:
Use the following sample ColdFusion page as a model for creating
client variable database tables in your own database. However, keep
in mind that not all databases support the same column data type
names. For the proper data type, see your database
documentation.
This is where you can substitute the correct data types that
are appropriate for your flavor of DBMS.
Phil -
CF MX7, Client variables and an internal app
I work for a retail company that has over 500 stores. Some time ago, I wrote 4 applications that the stores use in CF. In the time since I developed them, we moved to CFMX7 and now are changing to a new point of sale, on a Windows XP platform with IE 7.0 as the client.
Nothing can change on the client so any suggestions in that area won't help me.
The applicaitons the stores use are store specific and I have to pass the store number in the URL. I store the store number in a Client variable and a Cookie (as backup). I was lazy back then and in each application, the store number variable is the same name.
So now I have a problem since we moveed to the new POS (which I do not believe has anything to do with it, but maybe).
When one store is in one app (call it App A) and another store is in App B, at some point, the store numbers get mixed up and some how when the first store submits, it ends up submitting with the other store number.
Are my client variables getting crossed up? I thought that the client variables were instance specific.
Thoughts?I had no problems with MySQL 5.1 on CF8.0.1. However, I found
there were quite a few corners to turn when changing the datasource
for the client store. I followed the following steps:
1) Create a new database (called
client_data)using the following SQL script:
CREATE DATABASE client_data;
USE client_data;
/*Table structure for table cdata */
DROP TABLE IF EXISTS cdata;
CREATE TABLE cdata (
cfid char(64) NOT NULL,
app char(64) NOT NULL,
data text,
UNIQUE KEY id1 (cfid,app)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Table structure for table cglobal */
DROP TABLE IF EXISTS cglobal;
CREATE TABLE cglobal (
cfid char(64) NOT NULL,
data text,
lvisit datetime NOT NULL,
KEY id2 (cfid),
KEY id3 (lvisit)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
2) Configure a datasource called
client_data in the datasources page in the Coldfusion
Adimistrator. Use the following settings:
Data Source Name:client_data
Driver:MySQL (4/5)
Database:client_data
Server:127.0.0.1
Port:3306
Username:root
Password:BKBK1432
3) In the Client Variables page in the Administrator, delete
any previous datasources used for client storage.
4) Restart Coldfusion.
5) In the Client Variables page in the Administrator, add
client_data as the store for client variables. Make sure its
radio-button is selected.
6) If necessary, change the value of the
clientStorage attribute in Application.cfm or the
this.clientStorage in Application.cfc to "client_data". -
Purging Client Variables - App Locks up
We have 5 CF7mx servers running - load balanced. We're using
SQL Server 2005 for our DB. We're using the DB for clientstorage.
One of the 5 CF boxes has this turned on --> Purge data for
clients that remain unvisited for 9 days. What we experience is
that every so often, all of our servers either get stuck on a
SELECT MAX @@Precision call, or a CDATA delete. When this occurs,
all we can do is end task jrun to bring them back to life. Any
suggestions? This problem followed us to our new data center, new
hardware, new infrastructure all around. A former coworker had seen
this at a previous job, and had noticed that the "purge every x
days" control seemed to be active on every server, even though it
was specified, "checked" only on one. We're seeing this as well. He
also recommended we set the "x days" to a longer period like 2
weeks, and do the cleanup on the DB side with a sql job for a
shorter timeframe. Thoughts?I had no problems with MySQL 5.1 on CF8.0.1. However, I found
there were quite a few corners to turn when changing the datasource
for the client store. I followed the following steps:
1) Create a new database (called
client_data)using the following SQL script:
CREATE DATABASE client_data;
USE client_data;
/*Table structure for table cdata */
DROP TABLE IF EXISTS cdata;
CREATE TABLE cdata (
cfid char(64) NOT NULL,
app char(64) NOT NULL,
data text,
UNIQUE KEY id1 (cfid,app)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Table structure for table cglobal */
DROP TABLE IF EXISTS cglobal;
CREATE TABLE cglobal (
cfid char(64) NOT NULL,
data text,
lvisit datetime NOT NULL,
KEY id2 (cfid),
KEY id3 (lvisit)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
2) Configure a datasource called
client_data in the datasources page in the Coldfusion
Adimistrator. Use the following settings:
Data Source Name:client_data
Driver:MySQL (4/5)
Database:client_data
Server:127.0.0.1
Port:3306
Username:root
Password:BKBK1432
3) In the Client Variables page in the Administrator, delete
any previous datasources used for client storage.
4) Restart Coldfusion.
5) In the Client Variables page in the Administrator, add
client_data as the store for client variables. Make sure its
radio-button is selected.
6) If necessary, change the value of the
clientStorage attribute in Application.cfm or the
this.clientStorage in Application.cfc to "client_data". -
High CPU Usage On client application when upgrade remote SQL database
Hi,
Is anyone here encountered very high CPU usage after upgraded the database from SQL 2005 to SQL 2012? Following describes my issue.
I have my client application running on Windows 7 that access to central database (SQL 2005) on Windows server 2003 using ODBC connection, this client application basically query data and perform data insert and update. There are a number of this similar
clients connected to the database.
Due to slowness of the database server, company decided to upgrade the database server to SQL 2012 and also new hardware runing Windows Server 2012. There is no change on the client application and client hardware and the client application still using the
same ODBC connection to query, insert or update the new database server.
The problem I am now experiencing now is that my client PC where my client application running the CPU usage is very high almost hitting 100% when accessing to the central database. I am also noticed this program lsass.exe that utilized almost 40-50% of
the CPU time when client application accessing the central database.
Is anyone here know, why client PC CPU usage 100% when access to upgraded SQL 2012 database? What is lsass.exe program doing, it only appear when accessing to database server. How to reduce the CPU usage on client?
Thanks.
Chee Wee.Hello,
After upgrading, please rebuild indexes and update statistics on the databases.
http://www.mssqltips.com/sqlservertip/1367/sql-server-script-to-rebuild-all-indexes-for-all-tables-and-all-databases/
http://www.mssqltips.com/sqlservertip/1606/execute-update-statistics-for-all-sql-server-databases/
Configure maxdop on the instance.
http://blogs.msdn.com/b/sqlsakthi/archive/2012/05/24/wow-we-have-maxdop-calculator-for-sql-server-it-makes-my-job-easier.aspx
If the above does not solve the issue, let us know.
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
URGENT : Problem in DataSource usage in Client applIcation
URGENT : Problem in DataSource usage in Client applIcation
Hi ALL
I have deployed a EJB(Session Bean) in Oracle-OC4J Container.I am using datasources, in my bean as well as in my client
application.Here Client is deployed along with bean in container.
I am using "ejb-location"JNDI Name inside Client to get connection.
(Which is mentioned in datasource element of datasources.xml)
For this i have configured datasources.xml also.
If i use "oracle.jdbc.pool.OracleDataSource" in datasources.xml then ClassNotFoundException is coming.
But i have included classes12.jar in home/lib directory
But if i use "com.evermind.sql.ConnectionDataSource" then i am getting connection.But if i do some operations(Even
setAutoCommit(false))its giving NULL PointerException.
Why this is happening?
Thanx in advance
VenkyHi Venkastesh,
There are two issues. If your entry is like this....
location="microDS"
xa-location="jdbc/xa/MicroXADS"
ejb-location="MicroPool"
...then use ejb-location for database calls through ejb and location when you try to get through normal java client.
This will help you.
regards,
Vijay
null -
Client variables - quick confirmation
Can someone confirm something with client variables...
1. <cfparam name=client.colour value="blue"> in
application.cfm
2. On a web page <cfset client.colour="red"> and the
same page confirms this when I cfoutput the value
3 If I check that value on yet another page, it should be
red, shouldn't it ? But, instead its blue
I'm having a major problem with cfclientstore=myDSN where it
points to an Access2007 database via an ODBC socket connection.sorry about that, my application.cfm does actually use the
correct format
<cfparam name="client.colour" default="blue">
I'm still getting the problem - does anyone else use MS
Access 2007 ? When I look at the database it's storing "blue" but
when I'm changing the value in another page with <cfset
client.colour="red"> its not storing this change in the access
database
I've tied upgrading CF from 8.0 to 8.01 with still no joy
I read Adobe's advice on a lack of Access 2007 driver, and
used the ODBC socket instead but still no joy
Is there anything in my cfapplication that could be messing
around ?
<cfapplication
name="Catalogue"
clientmanagement="Yes"
sessionmanagement="Yes"
setclientcookies="Yes"
sessiontimeout="#CreateTimeSpan(0, 0, 360, 0)#"
applicationtimeout="#CreateTimeSpan(0, 0, 360, 0)#"
clientstorage="cfclientstore"
loginstorage="session"> -
Hi
Can any one help me ineffectively usage of Bind Variables in 11 g. I have the requirement something like I have 10 input parameters. I have to frame a view object in such a way that If I receive either of the 10 input parameters from the User Interface I have to perform a query by setting the inputer parermeters in the where cluase.
I though tof using Bind Variable concept. but the problem is It is always not necessary that I get 10 paremeters from the inputs, I may get 1 or 2 or ...10. If I set the 10 Bind Variables for 10 Input parameters, My view object is not performing well when I pass one value for bind variable when there are no values for remaining bind variables.
What is the best approach in this case?
ThanksWhy not use dynamic runtime named bind variables?
Create a VO method, something like the following
public void search(String param1, String param2){
String sql_1 = " AND SOMETHING = :P_PARAM_1)";
String sql_2 = " AND SOMETHING_ELSE = :P_PARAM_2";
setWhereClause(null);
clearWhereState();
setWhereClause("1=1");
if (param1 != null && param1.length()>0){
addWhereClause(sql_1);
defineNamedWhereClauseParam("P_PARAM_1",null,null);
setNamedWhereClauseParam("P_PARAM_1",param1);
if (param2 != null && param2.length()>0){
addWhereClause(sql_2);
defineNamedWhereClauseParam("P_PARAM_2",null,null);
setNamedWhereClauseParam("P_PARAM_2",param2);
executeQuery();
protected void clearWhereState() {
ViewDefImpl viewDef = getViewDef();
Variable[] viewInstanceVars = null;
VariableManager viewInstanceVarMgr = ensureVariableManager();
if (viewInstanceVarMgr != null) {
viewInstanceVars = viewInstanceVarMgr.getVariablesOfKind(Variable.VAR_KIND_WHERE_CLAUSE_PARAM);
if (viewInstanceVars != null) {
for (Variable v: viewInstanceVars) {
// only remove the variable if its not on the view def.
if (!hasViewDefVariableNamed(v.getName())) {
removeNamedWhereClauseParam(v.getName());
getDefaultRowSet().setExecuteParameters(null, null, true);
setWhereClause(null);
getDefaultRowSet().setWhereClauseParams(null);
private boolean hasViewDefVariableNamed(String name) {
boolean ret = false;
VariableManager viewDefVarMgr = getViewDef().ensureVariableManager();
if (viewDefVarMgr != null) {
try {
ret = viewDefVarMgr.findVariable(name) != null;
catch (NoDefException ex) {
// ignore
return ret;
} -
Client variables not working in Apache and CF8
I have Apache and CF8 set up with multiple virtual hosts
locally for development(win xp pro, apache 2.2.4)
Client variables are not working. I can log into CF
administrator fine(not sure if authentication uses client variables
or not). Any site that I work on that uses client variables behaves
as if the variable is not defined after setting it then going to
another page that checks for its existence. I have verified that
client variables are set up in cf administrator.
Thanks for any helpThanks a lot. I understood the mistake. Pls do not spend time on this.
Thanks,
Swarna -
Client variables storage in production environment?
Right now we are using Registry to store client variables in production environment, will changing it to Database increase the performance? or what i heard from my colleague is that In production environment , using Database for client storage is not advisable! how true is his statement.
His statement is completely wrong. The docs talk about this here: http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec0c35c -7fd5.html
Specifically, read this paragraph from that reference:
Choosing a client variable storage method
By default, ColdFusion stores client variables in the Registry. In most cases, however, it is more appropriate to store the information as client cookies or in a SQL database.
The ColdFusion Administrator Client Variables page controls the default client variable location. You can override the default location by specifying a This.clientStorage value in Application.cfc or by setting the clientStorage attribute in thecfapplication tag.
You can specify the following values for the client storage method:
Registry (default). Client variables are stored under the key HKEY_LOCAL_MACHINE\ SOFTWARE\Macromedia\ColdFusion\CurrentVersion\Clients.
Name of a data source configured in ColdFusion Administrator
Cookie
Generally, it is most efficient to store client variables in a database. Although the Registry option is the default, the Registry has significant limitations for client data storage. The Registry cannot be used in clustered systems and its use for client variables on UNIX is not supported in ColdFusion. -
Coldfusion session/client variables?
We have multiple users using VPN to get to our intranet. When the second user gets on they get the first person's session/client variables?
I have tried looking for the session/client variables and where they are stored but I can't seem to find them. I have tried searching out the cookies.
I would appreciate any help.There are not too many people on this forum that have dabbled with ColdFusion. I used to, but that was more than one decade ago.
Your best bet on getting assistance with your problem, is to go to the ColdFusion forum. -
What is the usage of Request Variable ? and how we can use it ?
Hi All,
What is the usage of Request Variable ? and how we can use it ?
Thanks in advanceHi,
A Request variable is the same as a Session variable:
http://download.oracle.com/docs/cd/E12096_01/books/admintool/admintool_Variables4.html
Cheers,
Daan Bakboord
Scamander Solutions -
I am at my wits end trying to fix what I think is a client
variable problem. I am currently running CFMX 6.1 + updaters on a
Windows 2003 R2 SP1standard edition server with IIS 6.0. Since
implementing with this server (01/2007), we have installed all the
necessary Windows patches for security every month. I have
installed hot fixes for client variables (TN 19590) and a few
others for COM and cfforms issues. I have experienced CF 'hanging';
not allowing anyone into the application. I shut down the CF MX
Application service, the CF MX ADBC agent, and try to shut the CF
MX ODBC server, but it remains in a 'stopping' state, with a reboot
the only cure.
While trying to troubleshoot the problem, I have come across
the following error:
10/16 15:12:24 error Operation failed on the data source
named "Treasury".
coldfusion.runtime.ClientScopeDBException: Operation failed
on the data source named "Treasury".
at
coldfusion.runtime.JDBCHelper.Store(PersistenceFactory.java:261)
at
coldfusion.runtime.ClientScopeServiceImpl.PersistClientVariables(ClientScopeServiceImpl.j ava:282)
at
coldfusion.runtime.ClientScopeServiceImpl.PersistClientVariablesForRequest(ClientScopeSer viceImpl.java:264)
at
coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:3 2)
at
coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:35)
at
coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:43)
at
coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.CfmServlet.service(CfmServlet.java:105)
at
jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:249)
at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
at
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:192)
at
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
at
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
That's it - nothing else. I have searched high an low,
finding similar errors, but they all have an additional error
message like outOfBounds. This error appears up to 200 times per
day, some within seconds of each other. (I never really looked at
the logs, but it has been occurring since I brought up each server,
test and production). I mentioned the client variable fix above
because of the references in the error message like
'ClientScopeServiceImpl.PersistClientVariables'. I am using an
Access DB to store the client variables, with a purge date of 90
days. Within the Access DB there are the CDATA and CGLOBAL tables,
but with only 278 records in each. I inheritated the system in
version 4.5, and have upgrade to 5 and the to 6.1, so I have never
really looked at client variables before.
Any ideas? Could these errors be created every time someone
logs onto the application? Your time and suggestions are greatly
appreciated.
LibbyLibby, your wits should take you further. Your problem is
your choice of databases more than a client variable issue. It is
regularyly stated that ODBC and especially ODBC to a desktop
database (access, paradox, etc.) is not recommended for real
applications. More so, only use Access for low traffic,
departmental applications or not at all. Storing client variables
in access only compounds the bad choice. Client variables stored in
a database means there is a db read at the start of every request
and a write at the end of each request. That alone will over stress
access.
And then you have your explicit database queries on top of
that. With a datasource named "treasury", it seem likely you are
storing application data there too. So you have a multithreaded
application server going to a database that can only handle a
single connection at a time where you are making multiple database
queries for every page request.
Win2k3 was originally distributed
without any desktop ODBC drivers, the msjet, etc. Microsoft
indicated that an application server was not a place where desktop
databases should be used. Unfortunately, MS let up and eventually
put the destop ODBC drivers back in win2k3. But, their thinking is
correct. Desktop db's cannot keep pace with a high speed appserver,
including coldfusion and win2k3.
Path of a JDBC query to MS SQL
server:
CFMX (java) - JDBC SQL server driver - over wire as TDS
request straight to the database server. MSS DBMS engine does all
work on back end.
[Path of a ODBC query to MS Access:
CFMX (java) - JDBC sequellink driver - sequelink server -
sequelink client - windows ODBC - Access driver -msjet manipulates
access file.
I will make the main points in this thread only, since they
are all around these forums. ODBC is very indirect. File based
desktop databases are typically not thread safe, multi-user or just
capable enough for any appserver. Use a real DBMS, in short. Even
mssql developer, desktop or what ever their new low cost database.
Say good bye to Access for any real application's backend.
Maybe you are looking for
-
MM INVOICE created with different Payment Terms and 2 differents PO.
I will explain with an example to understand better the issue and why this could happen, (for the same Co.Code): On 05.09.2011, 5203795529 was posted with payment terms D030. At that time, PO #: 4501105395 was having payment terms D030 while PO #: 45
-
Regd Integration of Domino.doc with Oracle 9i AS Portal
I want to know whether the integration of domino.doc with oracle 9i as portal is possible or not. Can anyone guide me whether the integration is possible or not and if it is possible which document should i refer for the same. and i dont know much ab
-
New InDesign Sample, Blog Post
Fellow CS Developers, I've just posted a new sample panel for InDesign on the CS SDK team blog, at: http://blogs.adobe.com/cssdk/2010/08/makesideheads-a-complete-indesign-cs5-panel-2.html MakeSideHeads is a fairly complete InDesign CS5 panel--it's on
-
General Ledger veiw button is missing at the time doc. entry
Hi, i am facing a problem in ECC 5.0, that the general ledger view button is not displayed at the time of FI document entry, or in T. Code FB02 or FB03. Document Splitting is active in company code. Please suggest what could be the possible reason. T
-
Admin server looses managed servers
we hava 2 clusters of 2 wls 6.1 sp2 instances each on 2 hpux 11 boxes. The wls console shows all the instances when booted up. But suddenly, after a period( and this random without a pattern), the admin seems to loose some of the managed servers. The