bypassing the site-wide error handler

2014-12-08 Thread Chris Norloff

Hi, when can an application bypass the CF v9 site-wide error handler?

We host an app, that uses cftry/catch, but that appears to not handle the 
errors correctly. The errors do not trigger the site-wide error handler, and 
the errors are displayed to the users.

The site-wide error handler works fine for other applications, and testing.

Thanks for any insight!

Chris

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359774
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: JVM auto-restart on Out of Memory error?

2008-07-10 Thread Chris Norloff
Sure! Makes sense. What we have is a once-every-two-months problem, and
while working on what the problem is, I'd like to reduce the impact on our
users. Once the Out of Memory error occurs, there's nothing to do but a
restart anyway.

Thanks,
Chris 

-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 09, 2008 8:16 PM
To: CF-Talk
Subject: Re: JVM auto-restart on Out of Memory error?

So umm... why are you running out of memory?  Perhaps you could resolve that
issue and not have to worry about restarting the JVM, which would cause
problems for your users.

I just went through hell trying to PREVENT coldfusion from restarting all
the time due to memory problems...

Rick


On Wed, Jul 9, 2008 at 12:00 PM, Chris Norloff [EMAIL PROTECTED] wrote:
 I'd like to set our JVMs to automatically restart when we get a Java 
 out of memory error. I believe I had this before at another job, but 
 now can't find the JVM options for this (CFMX 7.02, JVM 1.4.2_11, on
Windows 2003 Server).

 Sun describes some great options, but they're on later JVM versions. I 
 may be able to use -XX:OnError=cmd args;cmd args for running 
 user commands on fatal error, but I was wondering what other possibilities
there are.

 Thank you,
 Chris




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308853
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


JVM auto-restart on Out of Memory error?

2008-07-09 Thread Chris Norloff
I'd like to set our JVMs to automatically restart when we get a Java out of
memory error. I believe I had this before at another job, but now can't find
the JVM options for this (CFMX 7.02, JVM 1.4.2_11, on Windows 2003 Server).

Sun describes some great options, but they're on later JVM versions. I may
be able to use -XX:OnError=cmd args;cmd args for running user commands
on fatal error, but I was wondering what other possibilities there are.

Thank you,
Chris




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308814
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: JVM Tuning and cthreads... I'm Back

2008-06-13 Thread Chris Norloff
Well, in CF7, you control the thread life in jrun.xml (in
C:\JRun4\servers\cfusion\SERVER-INF for multi-server config on Windows).

There's two places to change the settings, in the SchedulerService and the
ProxyService (pick the right ProxyService for your web server). One is for
the web server to the web server connector, one is for ColdFusion to the web
server connector, I believe.


  service class=jrunx.scheduler.SchedulerService name=SchedulerService
...
attribute name=timeout300/attribute

  service class=jrun.servlet.jrpp.JRunProxyService name=ProxyService
...
attribute name=timeout300/attribute

Using basic jrun metrics logging, I've watched our threads timeout after 5
min. of inactivity, so it seems to be working for us (CFMX 7.02 multiserver
on WinServ 2003).

hth,
Chris

-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 13, 2008 1:25 PM
To: CF-Talk
Subject: Re: JVM Tuning and cthreads... I'm Back

Mark Kruger wrote:
 So... You are creating a total of 1300 threads with this code?
   
Yes, 10 at a time per the Administrator setting with the others queued up
awaiting their turn.

 This (untested) example makes the loop sleep for 2 seconds after the 
 spawning of every 10 threads. This would add 260 seconds to your 
 request but would likely create enough margin for threads to complete 
 so the thread queue doesn't build too high.

We have played with using a throttle such as this to slow processing.  
But my primary concern right now is that the threads do not go away even
when all the processing is done and the files exist, the server monitor show
all threads created still running.  I don't see how slowing this down is
going to help, until I find someway to make them somehow go away sooner or
later.  Even running the code to just create 10 files leaves 10 threads
hanging, run it again and there are 20 threads hanging with repeating thread
names.




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307427
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


busy taskmgr/explorer - JRun not start

2008-06-13 Thread Chris Norloff
We've got a recurring problem on Windows Server 2003 VMWare instances: 
taskmgr.exe and explorer.exe get busy (together using 25-35% CPU with the 
server idle, no users) and JRun is very slow starting, or won't start. The 
taskmgr/explorer busy-ness is not likely the problem itself, but we see it 
everytime we have these issues.

In this particular case, JRun/CFMX was running fine, then after stop/starting 
it prior to a load test it just wouldn't start. No errors in the logs. 
cfusion-out.log entries just stop, and they stop at different places on 
different attempted restarts.

It's popped up several times on different servers, but not on all our servers. 
It seems that something's running in the background, that we can't see, that 
uses up resources. Just throwing more CPU or RAM at it doesn't solve the 
problem, though.

We deal with Shared Services who provide the virtual machine, and there's many 
other groups that install the anti-virus, network monitoring, etc. It may just 
be these folks not coordinating with each other, but I thought I'd toss this 
out in case someone else has seen something like this ...

thanks,
Chris



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307463
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Access Denied trying to build coldfusion archive (CAR)

2008-04-30 Thread Chris Norloff
As long as CF has rights to write where you specify, you're okay. I usually
put the .car files in the logs directory.

I don't know why the archiving function would be throwing errors like you
got. It can be pretty tempermental; it works on some of my systems and
doesn't work on others. Internet Exploder works better than Firefox
sometimes, you can try that. 

If that doesn't work, I get the admin settings by copying all the neo*.xml
config files.

Chris 

-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 30, 2008 8:55 AM
To: CF-Talk
Subject: Re: Access Denied trying to build coldfusion archive (CAR)

Of course not, and why should it?

Shoot, I misspoke in my original email.

The path I gave for the archive was C:\temp\archive.car

And CF *DOES* have permission to write to C:\temp

What I don't understand is why it is trying to write to
E:\dsns_and_stuff.car and then C:\dsns_and_stuff.car since those aren't the
paths nor the file names I've requested it to use.

I suppose I could give CF permission to the C:\ drive in order to get this
to work but that's pretty retarded if that's what I *HAVE* to do.

Rick


On Tue, Apr 29, 2008 at 4:11 PM, Chris Norloff [EMAIL PROTECTED] wrote:

 I don't know about the name itself, but does CF have rights to write 
 in the root of C:\ ?

 Chris

 -Original Message-
 From: Rick Root [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 29, 2008 3:45 PM
 To: CF-Talk
 Subject: Access Denied trying to build coldfusion archive (CAR)

 so I'm stumped.  My server will not build a CAR archive.

 I've created an archive definition called dsns_and_stuff

 to it, I've added DSNs (duh) and mappings.

 When I try to build it, I give a path like C:\archive.car

 The build process errors, giving access denied errors on the following:

 E:\dsns_and_stuff.car
 C:\dsns_and_stuff.car

 Why is it doing that?  I didn't tell it to save it as that, I said 
 C:\archive.car

 Anyone know what's going on here?

 coldfusion 8, Windows.  CF8 is running as a local user account
 (coldfusion) rather than SYSTEM.

 --
 Rick Root
 New Brian Vander Ark Album, songs in the music player and cool behind 
 the scenes video at www.myspace.com/brianvanderark




 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304490
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Access Denied trying to build coldfusion archive (CAR)

2008-04-29 Thread Chris Norloff
I don't know about the name itself, but does CF have rights to write in the
root of C:\ ?

Chris 

-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 29, 2008 3:45 PM
To: CF-Talk
Subject: Access Denied trying to build coldfusion archive (CAR)

so I'm stumped.  My server will not build a CAR archive.

I've created an archive definition called dsns_and_stuff

to it, I've added DSNs (duh) and mappings.

When I try to build it, I give a path like C:\archive.car

The build process errors, giving access denied errors on the following:

E:\dsns_and_stuff.car
C:\dsns_and_stuff.car

Why is it doing that?  I didn't tell it to save it as that, I said
C:\archive.car

Anyone know what's going on here?

coldfusion 8, Windows.  CF8 is running as a local user account
(coldfusion) rather than SYSTEM.

--
Rick Root
New Brian Vander Ark Album, songs in the music player and cool behind the
scenes video at www.myspace.com/brianvanderark




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304425
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: JRun 4 updates for ColdFusion Servers

2008-04-03 Thread Chris Norloff
We have JRun Updater 7 (CFMX Ent 7.0.2) on 2 Dev and 2 Test servers. No
issues that we've seen. We've had some other issues, but they don't appear
related to Updater 7. We're due to put it on Production in a few days.

Chris 

-Original Message-
From: AJ Mercer [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 03, 2008 8:42 AM
To: CF-Talk
Subject: Re: JRun 4 updates for ColdFusion Servers

I sure a lot of cluster fixes in updater 5 that got me thinking about this.

I dropped updater 7 on my dev box and it seems ok :-) But this is not in a
cluster.

Has anyone applied jRun4 Updater 7 onto CF Ent 702?
Any horror stories??

Is there anything you need to do for each CF instance, or just applying the
updater to the jRun4 home directory enough?

We also have a separate web server (IIS) so I will copy the wsconfig.jar and
associated files to that machine.
And then rebuild the cluster, and reconnect IIS to the cluster.



On Thu, Apr 3, 2008 at 8:16 PM, Matthew Williams [EMAIL PROTECTED]
wrote:

 Depends.  I went to JRun updater 6 about a year ago to address errors 
 that I was seeing for our clustered instances.  I'll be moving to JRun 
 Updater 7 in production within the next few weeks as it has added 
 better overhead control of clustered session replication information.  
 This is under CF 7.02.  I've seen no issues in more than a year with 
 running under the more recent updaters.


 Matthew Williams
 Geodesic GraFX
 www.geodesicgrafx.com/blog

 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302595
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Installing CF7 Multiserver configuration

2008-03-27 Thread Chris Norloff
Sounds like the connector to the web server isn't configured correctly. CFMX
handles IIS easily, Apache may require some manual intervention.

To run the connector config: 
java -jar wsconfig.jar

By default, wsconfig.jar is in \JRun4\lib. The connector itself is the .dll
file in \JRun4\lib\wsconfig\1  (When you make a new connector that 1 will
increment, to 2, to 3, etc.)

hth
Chris

-Original Message-
From: Peter Tanswell [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 26, 2008 11:19 PM
To: CF-Talk
Subject: Installing CF7 Multiserver configuration

Hi there

I have been rebuilding a server and decided as I had the opportunity and the
resources this time that I would set up the server with the following
configuration:

Apache 2.2
ColdFusion v7 (Multiserver) - I do have v8 but only standard.

I have installed Apache and I have also installed CF7.

But I am unable to browse to the administrator page.

I believe everything installed correctly - basically I have the following:

c:/jrun4 with various subfolders

c:/program files/apache/htdocs/cfide/administrator

Everytime I try to browse to
http://127.0.0.1/cfide/administrator/index.cfmI get a message File Download
- Do you want to open or save this file?

This is getting frustrating - I must just be missing something somewhere but
I cant see what it is?
Regards  thanks in advance.

(Sorry if this gets posted twice)

Appreciate any tips I receive




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302170
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: CFC protect from SQL Injection?

2008-02-22 Thread Chris Norloff
Great info, thanks Paul.

Here's a good link describing a SQL Injection attack during a penetration test. 
 Good for those who say I can't do it therefore no attacker could do it.
http://www.unixwiz.net/techtips/sql-injection.html

Our problem is existing code with lots of Form and URL variables used in 
cfquerys - retrofitting is a hard sell, so we're looking at how much exposure 
we have, and how to mitigate the problem.

thanks,
Chris

-- Original Message --
From: Paul Vernon [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Fri, 22 Feb 2008 14:47:24 -

I know it's a bit late to join in on the conversation but, here goes...





~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299708
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Unknown connection error problem w/ ColdFusion 4.5

2008-02-22 Thread Chris Norloff
I don't have any solutions, though I'd try different versions of drivers,
and ask the DB folks to run a trace on it to see if you can get some data.
You might try different datasource connection settings (maintain
connections, or not ... etc.). It might take a bit of trial and error to
find something workable.  Also, try the web server logs to see if a
particular page is being called when you get the error.

good luck,
Chris 

-Original Message-
From: Meghan Belanger [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 22, 2008 12:17 PM
To: CF-Talk
Subject: Unknown connection error problem w/ ColdFusion 4.5



-
Error Occurred While Processing Request
Error Diagnostic Information
ODBC Error Code = ()

Unknown connection error for the data source, 'CPAS_VASC.'

The error occurred while processing an element with a general identifier of
(CFQUERY), occupying document position (51:2) to (51:76).

-



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299751
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: CFC protect from SQL Injection?

2008-02-22 Thread Chris Norloff
Good point, that's not a good example for ColdFusion, is it. But I figure
there's more to a SQL Injection attack than just the single-quote attack?

Thanks,
Chris 

-Original Message-
From: Russ [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 22, 2008 11:31 AM
To: CF-Talk
Subject: RE: CFC protect from SQL Injection?

My point is that this won't work in CF, because CF auto escapes single
quotes in variables... 

Russ

 -Original Message-
 From: Chris Norloff [mailto:[EMAIL PROTECTED]
 Sent: Friday, February 22, 2008 11:15 AM
 To: CF-Talk
 Subject: RE: CFC protect from SQL Injection?
 
 Great info, thanks Paul.
 
 Here's a good link describing a SQL Injection attack during a 
 penetration test.  Good for those who say I can't do it therefore no 
 attacker could do it.
 http://www.unixwiz.net/techtips/sql-injection.html
 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299752
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CFC protect from SQL Injection?

2008-02-21 Thread Chris Norloff
Does the parameter typing in a CF Component protect you from a SQL Injection 
attack?

Below, both variables cfcStage_From and cfcID have their type set. It seems 
cfcStage_From would be protected as it's typed as numeric. 

However, cfcID is typed as string, and it seems it could contain a single-quote 
that would allow a malicious user to terminate the data entry and add on a 
second SQL statement, all inside the string cfcID.

Would cfcID be better inside double quotes (if they work)?

Thoughts? References? Links?

Thanks,
Chris


cfcomponent  displayname=test
 
cfargument name=cfcStage_From type=numeric /
cfargument name=cfcID type=string /

cfquery name=qry_test1 datasource=test
INSERT INTO  table
( STAGE_FROM_ID )
Values (#cfcStage_From#)
/cfquery

cfquery name=qry_test2 datasource=test
Update table
set 
From_stage =#cfcStage_From#
Where ID = '#cfcID#'
/cfquery

/cfcomponent




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299600
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: memory issues

2007-12-20 Thread Chris Norloff
CFFILE reads the entire file into memory before acting on it. Even appending to 
the file requires it be read into memory first. That's where your memory usage 
is likely coming from -- though not sure why it's not being freed in a timely 
manner.

Chris


On Dec 17, 2007, at 7:58 PM, Jonathon Stierman [EMAIL PROTECTED]  
wrote:

 An application of mine has recently been acting up -- memory has been
 shooting up at a fairly rapid pace this past week, and I'm at my  
 wits end!
 Can't seem to find any way to fix it.  Here's the symptoms:

 After rebooting the CF service, memory starts out at about 60mb for  
 the
 jrun.exe process.  After that all hell breaks loose ;)  It continues  
 to
 consume about 4 megs a minute until it plateau's at about 590mb.  At  
 that
 point, the server starts delivering 500 null errors, and my
 application/exception.log files fill up with  
 java.lang.OutOfMemoryError
 messages.
...each one has to read a text file that is between  
 200k and
 5 megs, and that seems to correlate with the memory jumps -- but why
 wouldn't that memory be released after the request is complete?  It  
 just
 keeps piling up.

 Is this to be expected from high volumes of file-reading/parsing  
 requests?


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295184
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


XSS patch Global Script Protect

2007-06-07 Thread Chris Norloff
This fix is needed if Global Script Protection is not enabled.  I wonder if 
it's a vulnerability if Global Script Protection is ON and a specific 
application disables the script protection using the scriptProtect parameter of 
the cfapplication tag.

Anybody know?

Patch for XSS when Global Script Protection is not enabled
http://www.adobe.com/support/security/bulletins/apsb07-03.html


cfapplication info:
http://download.macromedia.com/pub/documentation/en/coldfusion/mx7/cfmx7_cfml_ref.pdf

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280376
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: defeating offline form posts

2007-05-09 Thread Chris Norloff
What if the HTTP POST didn't get as far as ColdFusion? We have an ongoing case 
where the web server throws a 500 error, and we don't know why the page doesn't 
get to CF.

thx
Chris

-- Original Message --
From: Ken Wexel [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Tue, 8 May 2007 23:26:01 -0400

When I ran into this problem previously, I'd set a value into the user
session and set the same value as a hidden form field.  On post, if
the two didn't match, I knew the posting was invalid.  Can be
something as simple as a long numeric value..

On 5/8/07, Eric J. Hoffman [EMAIL PROTECTED] wrote:
 That's where I startedbut the thing is, I think they can spoof that
 variable?  Or not?



 


 Eric J. Hoffman
 Managing Partner
 2081 Industrial Blvd
 StillwaterMN55082
 mail: [EMAIL PROTECTED]
 www: http://www.ejhassociates.com
 tel: 651.717.4105
 fax: 651.717.4101
 mob: 651.245.2717
 Adobe Solutions Partner
 Microsoft Certified Partner

 

 This message contains confidential information and is intended only for 
 [EMAIL PROTECTED] If you are not cf-talk@houseoffusion.com you should not 
 disseminate, distribute or copy this e-mail. Please notify [EMAIL PROTECTED] 
 immediately by e-mail if you have received this e-mail by mistake and delete 
 this e-mail from your system. E-mail transmission cannot be guaranteed to be 
 secure or error-free as information could be intercepted, corrupted, lost, 
 destroyed, arrive late or incomplete, or contain viruses. Eric J. Hoffman 
 therefore does not accept liability for any errors or omissions in the 
 contents of this message, which arise as a result of e-mail transmission. If 
 verification is required please request a hard-copy version.
 

 -Original Message-

 From: AJ Mercer [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, May 08, 2007 9:53 PM
 To: CF-Talk
 Subject: Re: defeating offline form posts

 Have a look at the CGI variables
 in particular CGI.HTTP_REFERER
 This is the page before the current one - it should have your server
 details
 in there, other wise discard.


 On 5/9/07, Eric J. Hoffman [EMAIL PROTECTED] wrote:
 
  Curious question here.   If I think about this, if someone takes a
 form
  of ours for login, for example, and makes a local copy on their
  machineand they set the post action to be the live server
  authenticate filewhat is the best way to detect this and defeat
 it?
  Noone has ever gained access this way as of yet, but we are studying
  possibilities, and this seems to me to be an attack vector.
 
 
 
  Any thoughts?A check to see if the referrer was the domain
  name/login file name?   Or can that be spoofed as well then?
 
 
 
  Thanks~!
 
  
 
 
  Eric J. Hoffman
  Managing Partner
  2081 Industrial Blvd
  StillwaterMN55082
  mail: [EMAIL PROTECTED]
  www: http://www.ejhassociates.com
  tel: 651.717.4105
  fax: 651.717.4101
  mob: 651.245.2717
  Adobe Solutions Partner
  Microsoft Certified Partner
 
  
 
  This message contains confidential information and is intended only
 for
  [EMAIL PROTECTED] If you are not cf-talk@houseoffusion.com
 you
  should not disseminate, distribute or copy this e-mail. Please notify
  [EMAIL PROTECTED] immediately by e-mail if you have received
 this
  e-mail by mistake and delete this e-mail from your system. E-mail
  transmission cannot be guaranteed to be secure or error-free as
 information
  could be intercepted, corrupted, lost, destroyed, arrive late or
 incomplete,
  or contain viruses. Eric J. Hoffman therefore does not accept
 liability for
  any errors or omissions in the contents of this message, which arise
 as a
  result of e-mail transmission. If verification is required please
 request a
  hard-copy version.
  
 
 
 



 



~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277394
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: defeating offline form posts

2007-05-09 Thread Chris Norloff
What if the HTTP POST didn't get as far as ColdFusion? We have an ongoing case 
where the web server throws a 500 error, and we don't know why the page doesn't 
get to CF.

thx
Chris

-- Original Message --
From: Ken Wexel [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Tue, 8 May 2007 23:26:01 -0400

When I ran into this problem previously, I'd set a value into the user
session and set the same value as a hidden form field.  On post, if
the two didn't match, I knew the posting was invalid.  Can be
something as simple as a long numeric value..

On 5/8/07, Eric J. Hoffman [EMAIL PROTECTED] wrote:
 That's where I startedbut the thing is, I think they can spoof that
 variable?  Or not?

 -Original Message-

 From: AJ Mercer [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, May 08, 2007 9:53 PM
 To: CF-Talk
 Subject: Re: defeating offline form posts

 Have a look at the CGI variables
 in particular CGI.HTTP_REFERER
 This is the page before the current one - it should have your server
 details
 in there, other wise discard.


 On 5/9/07, Eric J. Hoffman [EMAIL PROTECTED] wrote:
 
  Curious question here.   If I think about this, if someone takes a
 form
  of ours for login, for example, and makes a local copy on their
  machineand they set the post action to be the live server
  authenticate filewhat is the best way to detect this and defeat
 it?


~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277396
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: scheduled jobs run twice

2007-04-30 Thread Chris Norloff
Thanks. I recall finding something like that when Googling for info. 
Unfortunately, this is a weekly job and the execute every X hours mode goes 
up only to 99 hours.

but thanks anyway!
Chris

-- Original Message --
From: Dana Kowalski [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Fri, 27 Apr 2007 20:11:17 -0400

bah flip that (SORRY!) use every x hours vs daily at and see if it still 
happens. When we changed that we never ran into this trouble again =\


 We were getting this on 6.x and they posted a hotfix at one point 
 early on in 7 or late 6 to correct it. We still saw it sometimes where 
 the task would run multiple times over night, and there was a post on 
 the adobe forums pointing to use the daily at option instead of every 
 x hours.



~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276546
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


scheduled jobs run twice

2007-04-27 Thread Chris Norloff
Has anybody seen scheduled jobs run twice? (CFMX 7.0.2 on Solaris 9)Here's the 
scheduler.log entry showing the job running then rescheduling for the current 
time instead of the next time. This has happened on several jobs, but not on 
all jobs.

I found a reference to not starting jobs at regular times (like the top of the 
hour) to not interfere with other jobs. I thought I had it fixed by starting 
jobs at a minute-past a regular time, but it's happening again now.

I've also wondered if the scheduled job runs so fast that the rescheduler 
doesn't realize it's the *next* time now.

thanks,
Chris

Information,scheduler-1,04/25/07,22:01:00,,[oie_email_feedback] 
Executing at Wed Apr 25 22:01:00 EDT 2007

Information,scheduler-1,04/25/07,22:01:00,,[oie_email_feedback] 
Rescheduling for :Wed Apr 25 22:01:00 EDT 2007 Now: Wed Apr 25 22:01:00 EDT 
2007

Information,scheduler-1,04/25/07,22:01:00,,[oie_email_feedback] 
Executing at Wed Apr 25 22:01:00 EDT 2007

Information,scheduler-1,04/25/07,22:01:00,,[oie_email_feedback] 
Rescheduling for :Wed May 02 22:01:00 EDT 2007 Now: Wed Apr 25 22:01:00 EDT 
2007

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276389
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


500 errors -- 'form spammers'

2007-04-05 Thread Chris Norloff
We're getting more and more HTTP 500 errors from 'form spammers'. They are 
evidently trying to HTTP POST their spam to our form action pages. The 
Apache/IHS web server is logging it as a 500 error. CFMX 7.0.2 isn't logging 
any errors. 

The error seems to appear before CFMX processes the page, as no CF command are 
executed before the 500 error is thrown.

We've been unable to duplicate the error using CFHTTP and method=post. Our 
Security guys are trying to grab the POST content so we can see what the 
spammers are sending.

Has anybody else dealt with this? We'd like to trap these errors, rather than 
just block the spammers IP addresses.

thanks,
Chris



~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274562
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Changes to Daylight Savings Time in 2007 may affect your data bases (DB2, Oracle and others)

2007-01-26 Thread Chris Norloff
That doesn't sound very likely! 

With the vulnerability classified as Remotely exploitable and allowing a 
denial of service without authentication it sounded like something a user could 
do.

thanks for the read,
Chris

-- Original Message --
From: Dave Watts [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Thu, 25 Jan 2007 12:59:51 -0500

 Yes ... and 1.4.2_11 has a low-rated security vulnerability. 
 
 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2003-1301
 
 http://sunsolve.sun.com/search/document.do?assetkey=1-26-102732-1

It appears that the vulnerability only applies to running remote code, which
is quite unlikely in the case of a CF server, unless you also browse sites
from the server console, and those sites use Java applets, and your browser
uses the same JVM as CF uses.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!




~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267706
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Changes to Daylight Savings Time in 2007 may affect your data bases (DB2, Oracle and others)

2007-01-25 Thread Chris Norloff
Yes ... and 1.4.2_11 has a low-rated security vulnerability. 

http://nvd.nist.gov/nvd.cfm?cvename=CVE-2003-1301

http://sunsolve.sun.com/search/document.do?assetkey=1-26-102732-1



-- Original Message --
From: Everett, Al \(NIH/NIGMS\) [C] [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Thu, 25 Jan 2007 08:07:54 -0500

 Is 1.4.2_11 officially approved for use by Adobe for CFMX 6.1 and
7.02?

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=d2ab4470


~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267588
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: vulnerability: source code disclosure (apsb07-02)

2007-01-11 Thread Chris Norloff
JRun is always installed, but in a single-server mode it doesn't have a root 
directory in the regular sense of the word. One of our single-server machines 
has JRun in \\servername\c$\CFusionMX7\runtime\bin

It just struck me that the instructions seemed to be lacking, and didn't agree 
with what I observed. I want to know if the fix went in correctly.

thanks,
Chris

-- Original Message --
From: Teddy Payne [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Wed, 10 Jan 2007 16:53:04 -0500

Chris,
I am not sure I understand.

In the bulletin, it offers three different configuration installations.

One for single server, multi-server JRun updater 5 and JRun Updater 6.

It has been a while since I did a single server installation as I tend to
use multi-server as my defacto, but I remember that there still was a JRun
instance installed in single server mode.

I will have to reinstall CFMX 7 on a staging machine to confirm this.

Teddy

On 1/10/07, Chris Norloff [EMAIL PROTECTED] wrote:

 my email to Adobe (anybody experience similar?):

 Your instructions for ColdFusion MX 7.01 and 7.02 server in
 http://www.adobe.com/support/security/bulletins/apsb07-02.html
 don't appear to be correct.

 It specifies looking for a file in {jrun_root}, but there wouldn't be a
 jrun_root on a single server installation.

 Also, the instructions specify getting a version number of 10840 for
 wsconfig.jar to confirm the update is completed successfully.

 However, the same jar file is specified to be version 108409 when
 installed on a multi-server machine.

 We installed on a single-server machine, do not have a jrun_root, and
 recorded a final wsconfig.jar version of 108409, not 108400.

 Just wanted to confirm your instructions.

 thanks,
 Chris



 



~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:266227
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


vulnerability: source code disclosure (apsb07-02)

2007-01-10 Thread Chris Norloff
my email to Adobe (anybody experience similar?):

Your instructions for ColdFusion MX 7.01 and 7.02 server in  
http://www.adobe.com/support/security/bulletins/apsb07-02.html
don't appear to be correct.

It specifies looking for a file in {jrun_root}, but there wouldn't be a 
jrun_root on a single server installation.

Also, the instructions specify getting a version number of 10840 for 
wsconfig.jar to confirm the update is completed successfully. 

However, the same jar file is specified to be version 108409 when installed on 
a multi-server machine.

We installed on a single-server machine, do not have a jrun_root, and recorded 
a final wsconfig.jar version of 108409, not 108400.

Just wanted to confirm your instructions.

thanks,
Chris 



~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:266169
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: How to tell what hot fixes have been applied (CFMX 7.02)

2006-11-13 Thread Chris Norloff
You can see the hot fix .jar files in the java class path, in the system 
information display.

best,
chris

-- Original Message --
From: DURETTE, STEVEN J \(ASI-AIT\) [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Mon, 13 Nov 2006 10:02:26 -0500

Hi all,
 
This may be a stupid question, but is there a way to tell which hot
fixes have been applied to a CFMX 7.02 server?  Using the CFAdmin only
seems to list the last hot fix that was applied.
 
Though they should be applied in order, I was asked to look at a server
that may have had them applied out of order, or even some that have not
been applied at all. 
 
Thanks,
Steve
 




~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260221
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: CF Wiki

2006-11-01 Thread Chris Norloff
We tried CFWiki (v1.3) but decided against it. I was seeking something to 
collect processes  lessons-learned from our SysAdmin team - the sort of thing 
you'd email to teammates to say 'I just learned this way of making things 
easier'.

I found the editing and user tracking to be about the same effort as putting up 
a web page. Not hard, but not something to open to everyone. 

What I'd really like is something that tracks who's making changes, what 
changes are made, and the text input is 'just type it in and that's where it 
goes'.

thanks,
Chris

-- Original Message --
From: Jason Manaigre [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Fri, 27 Oct 2006 16:00:16 -0500

Has anyone here installed and used it? Wouldn't mind some first hand
info. 


Jason E.J. Manaigre 
Web Site Development Coordinator | Web God 
 
International Institute for Sustainable Development 
Winnipeg, Manitoba, Canada 
Main Web site: http://www.iisd.org
Email: mailto:[EMAIL PROTECTED] | Phone: 1.204.958.7744 

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: October 27, 2006 2:06 PM
To: CF-Talk
Subject: RE: CF Wiki

Ray Camden has a CF Wiki called Canvas:
http://ray.camdenfamily.com/projects/canvas/

!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Russ [mailto:[EMAIL PROTECTED]
Sent: Friday, October 27, 2006 1:42 PM
To: CF-Talk
Subject: RE: CF Wiki


Also depends on what you need the wiki for.  You can install trac, which
has
SVN integration, bugtacking/ticketing system and wiki all in one.  It's
no
written in CF (python), but I've been able to do small changes to the
code
with no problems and it's fairly customizable without doing any code
changes.

Russ
 -Original Message-
 From: Rob Wilkerson [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 27, 2006 2:36 PM
 To: CF-Talk
 Subject: Re: CF Wiki

 On 10/27/06, Jason Manaigre [EMAIL PROTECTED] wrote:
  Hi everyone, I'm not being lazy, searching for wiki brings up tones
of
  actual wikis, what I want to know is there a good wiki software
package
  for CF freeware or commercial?
 
  At work here, we're all MS so far, but the boss wants to explore
open
  source. I'd rather explore CF.

 There's no reason you can't do both.  There are a lot of CF open
 source projects - including at least one wiki
 (http://canvas.riaforge.org/).









~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258674
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: CFMX stopped logging

2006-10-20 Thread Chris Norloff
No, ownership  permissions are okay. But thanks for the idea!

Chris

-- Original Message --
From: Munson, Jacob [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Thu, 19 Oct 2006 12:58:59 -0600

Maybe the CF user's permissions changed?  Or the permissions for the log
directories changed? 

 -Original Message-
 From: Chris Norloff [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, October 19, 2006 12:18 PM
 
 Our CFMX stopped logging to application.log, mail.log, and 
 exception.log. I can't correlate it with anything we did, and 
 the other logs are fine. 
 
 I deleted the old logs and restarted CFMX - but it didn't 
 start new log files. I tried cflog and it initialized and 
 wrote to application.log, but there's been no logging after that.
 
 I compared the *log*.jar and *log*.xml files to another 
 server that's fine, and the files are identical.


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:257625
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


CFMX stopped logging

2006-10-19 Thread Chris Norloff
Our CFMX stopped logging to application.log, mail.log, and exception.log. I 
can't correlate it with anything we did, and the other logs are fine. 

I deleted the old logs and restarted CFMX - but it didn't start new log files. 
I tried cflog and it initialized and wrote to application.log, but there's 
been no logging after that.

I compared the *log*.jar and *log*.xml files to another server that's fine, and 
the files are identical.

Any ideas out there?

thank you,
Chris

We use CFMX v7.0.2 with hot fixes  security fixes, on Solaris Unix.




~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:257425
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: java.lang.OutOfMemoryError: unable to create new native thread

2006-04-14 Thread Chris Norloff
We had out-of-memory problems with CFMX 6.1 udpater, and using metrics 
determined it wasn't growing the heap as it was supposed to. (We've stuck with 
the same settings on CFMX 7).  

I'd try starting the heap at the same size as the maximum, and also experiment 
with starting the Permanent Generation at 256, ... and get those metrics going. 


Here's a simple thing you can use in the interim:

cfset runtime = CreateObject(java,java.lang.Runtime).getRuntime()

!--- change amount from bytes to MB ---
cfset freeMemory = runtime.freeMemory() / 1024 / 1024
cfset totalMemory = runtime.totalMemory() / 1024 / 1024
cfset maxMemory = runtime.maxMemory() / 1024 / 1024 


cfoutput
Free Allocated Memory: #Round(freeMemory)# MBbr
Total Memory Allocated: #Round(totalMemory)# MBbr
Max Memory Available to JVM: #Round(maxMemory)# MBbr
/cfoutput

br

!--- From these numbers we can also determine the percent of free allocated 
memory available, and also the percent of avalaible memory allocated ---

cfset percentFreeAllocated = Round((freeMemory / totalMemory) * 100)
cfset percentAllocated = Round((totalMemory / maxMemory ) * 100)
cfoutput
% of Free Allocated Memory: #percentFreeAllocated#%br
% of Available Memory Allocated: #percentAllocated#%br
/cfoutput



-- Original Message --
From: Russ [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Tue, 11 Apr 2006 12:16:02 -0400

I have already played with those settings, but it still crashed yesterday.
Here are the settings I'm using:

java.args=-server -DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS -Xms256m
-Xmx512m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=512m
-XX:+UseParallelGC -XX:+AggressiveHeap

You would think 512mb is enough for the heap?   Am I giving it too much
possibly?  

This server has 1gb of ram. 

Russ

 -Original Message-
 From: Oleg Gunkin [mailto:[EMAIL PROTECTED]
 Sent: Monday, April 10, 2006 7:48 PM
 To: CF-Talk
 Subject: RE: java.lang.OutOfMemoryError: unable to create new native
 thread
 
 Coldfusion 7 needs more heap space than your JVM allows it to use. You
 need to increase maximum heap size.
 
 The following is for JSP, but solution is the same.
 
 http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_17470
 
 --
 Oleg Gunkin
 Email: [EMAIL PROTECTED]
 Phone: (604) 666-9392
 Emerging Technologies / Pacific Web Services
 Information Technology Services
 Public Works and Government Services Canada (Pacific)
 
 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237786
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


cfx tag in CFMX 7

2006-04-03 Thread Chris Norloff
We had trouble getting a cfx tag from CFMX 6 to work in CFMX 7 (the tag is 
CFX_JSpellCheck).

What we needed was /opt/coldfusionmx7/wwwroot/WEB-INF/lib in the Java Class 
Path (JVM classpath section in jvm.config. Edit jvm.config by hand, don't use 
the Admin GUI! It can corrupt the file).

The error we were getting was 
java.lang.NoClassDefFoundError: com/allaire/cfx/CustomTag
and that was due to not finding cfx.jar

best,
Chris Norloff



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236805
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


jvm.config corrupted by CFMX Admin

2006-03-30 Thread Chris Norloff
We've now observed CFMX Admin corrupt jvm.config in two different ways, 
preventing CFMX from running. (CFMX 7 and higher, on Solaris 9)

1) Editing JVM min. and max. sizes in CFMX Admin can corrupt jvm.config, 
preventing the required restart. We've also seen the jvm.bak backup get 
corrupted. Manually editing jvm.config works fine.

2) Entering a path in ColdFusion Class Path in the Java and JVM section of 
CFMX Admin. When we pressed Submit, CFMX said it would have to be restarted to 
accept the change. We postponed the restart to a less busy time. However, 
within 1.5 hr. CFMX apparently read the change, attempted to write it to 
jvm.config, corrupted jvm.config, saved a corrupted version in jvm.bak, and 
crashed.

Thoughts: 
- manually backup jvm.config before making any changes to the Java and JVM 
section of CFMX Admin.
- don't pre-position any changes. If CFMX needs a restart, do it then to 
confirm it'll be accepted.
- edit jvm.config by hand to keep CFMX Admin from touching it!

Chris Norloff



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236535
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


read CFMX bugs at Adobe?

2006-03-30 Thread Chris Norloff
Can we read what bugs have been submitted to Adobe about CFMX?

I'd like to see if what we experienced has been reported before, and to see how 
the bug I submitted is treated. Our upper-level managers would like to know too 
:-(

thanks,
Chris Norloff

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236554
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: read CFMX bugs at Adobe?

2006-03-30 Thread Chris Norloff
Thanks, that helps. I see it's just known/confirmed issues with existing fixes 
or workarounds - but that's better than nothing.

Makes forums like these even more important! :-)

Chris Norloff

-- Original Message --
From: Dave Carabetta [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Thu, 30 Mar 2006 11:28:59 -0500

On 3/30/06, Chris Norloff [EMAIL PROTECTED] wrote:
 Can we read what bugs have been submitted to Adobe about CFMX?

 I'd like to see if what we experienced has been reported before, and to see 
 how the bug I submitted is treated. Our upper-level managers would like to 
 know too :-(


No, and that's pretty standard practice for non-open source companies
too. However, they do periodically update a list of known issues and
publish that for you. It's not necessarily comprehensive, but it still
is a pretty good list:

http://www.macromedia.com/support/coldfusion/issues.html

Regards,
Dave.


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236571
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: overflow attack return-to-libc when starting CFMX 7

2006-03-10 Thread Chris Norloff
Just to followup (and for the archives). This was fully an Entercept issue - in 
one of the reports it said it throws this error when starting virtual machines 
(kinda like a JVM, maybe!).

thanks for the responses,
Chris Norloff

-- Original Message --
From: Chris Norloff [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Fri, 27 Jan 2006 15:06:02 -0500

According to Entercept, when we try to start CFMX 7 there's a buffer overflow. 
Entercept stops CFMX from starting, saying this is a hack attempt.

We aren't having this issue on another seemingly identical machine.

Anybody have an ideas on this?

thanks,
Chris Norloff

CFMX 7.0.1 (with CHF1, on Solaris 9, Apache) running as userid=cfmxuser, which 
is what it was installed to run as.

Event Description
An attempt to invoke system call [value not available] through a buffer 
overflow in cfmx7 (/opt/coldfusionmx7/runtime/bin/cfmx7) running with the 
privileges of user cfmxuser on the system with Agent [machinename]was 
detected. This attack utilizes the return-to-libc technique.
This operation was successful. It would have been prevented if the Agent IPS 
module were set to Protect Mode.

General Signature Description:
This event indicates that an unspecified buffer overflow attack was attempted 
against a component of the operating system or an application using the 
return-to-libc technique.





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235021
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


overflow attack return-to-libc when starting CFMX 7

2006-01-27 Thread Chris Norloff
According to Entercept, when we try to start CFMX 7 there's a buffer overflow. 
Entercept stops CFMX from starting, saying this is a hack attempt.

We aren't having this issue on another seemingly identical machine.

Anybody have an ideas on this?

thanks,
Chris Norloff

CFMX 7.0.1 (with CHF1, on Solaris 9, Apache) running as userid=cfmxuser, which 
is what it was installed to run as.

Event Description
An attempt to invoke system call [value not available] through a buffer 
overflow in cfmx7 (/opt/coldfusionmx7/runtime/bin/cfmx7) running with the 
privileges of user cfmxuser on the system with Agent [machinename]was detected. 
This attack utilizes the return-to-libc technique.
This operation was successful. It would have been prevented if the Agent IPS 
module were set to Protect Mode.

General Signature Description:
This event indicates that an unspecified buffer overflow attack was attempted 
against a component of the operating system or an application using the 
return-to-libc technique.



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230618
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFMX7 Integration with J2EE - How complete is the integration?

2005-07-11 Thread Chris Norloff
CFMX *is* Java

In fact, it's Sun-certified J2EE compliant. That's pretty pure.


Chris Norloff


-- Original Message --
From: Mosh Teitelbaum [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Thu, 30 Jun 2005 14:17:36 -0400

All:

I have a client that, for reasons that much matter, wants to move one of
their CF apps to a J2EE server (running BEA WebLogic).  The server's
administrator is adamant that only pure J2EE applications may be deployed
on this server.

My understanding of CFMX7's capabilities with this respect is that the
EAR/WAR files it creates are pure.  However, the admin says that CF still
doesn't natively integrate with BEA's management console.

So, what's the deal?  Does CFMX7 offer true integration or just better
integration that its predecessor?

TIA

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 942-5378
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/





~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211524
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFMX7 Integration with J2EE - How complete is the integration?

2005-07-11 Thread Chris Norloff
One possibility for using CFMX Admin is to not use the CFMX Admin GUI. You 
can edit the neo*.xml files then deploy them to configure CFMX, without using 
the CFMX Admin GUI. 

We did this on a WebSphere cluster because the CFMX Admin settings won't 
progagate across the cluster. However, a script can push the neo*.xml files out 
quite easily.

Chris Norloff


-- Original Message --
From: Mosh Teitelbaum [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Thu, 30 Jun 2005 16:43:51 -0400

All:

Thanks for the replies.

I don't think the admin is a CFMX hater, just someone who has enough on
his hands managing their WebLogic boxes without having to learn another
management interface (the CF Admin).  And, as someone who wishes he had more
free time on his hands, I can't find fault with that.

While I get the distinction between pure Java and an appserver-specific
extension, I think I had been expecting a bit more in terms of deploying
CFMX7 apps on J2EE servers.  I think it was back in February that BF wrote a
CFDJ article basically saying that J2EE server admins would no longer have
to jump through hoops to deploy CFMX7 apps.  Having read the document at the
URL that Robert provided, I'm not sure that's entirely accurate.

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 942-5378
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/


 -Original Message-
 From: Robert Munn [mailto:[EMAIL PROTECTED]
 Sent: Thursday, June 30, 2005 2:42 PM
 To: CF-Talk
 Subject: CFMX7 Integration with J2EE - How complete is the integration?


 Technically, I believe your client's admin is correct. Take a
 look at this page on installing CFMX 7 in J2EE mode with WebLogic.

 http://www.macromedia.com/support/coldfusion/j2ee/cfmx7j2ee_weblog
 ic_deploy.html

 One component of ColdFusion is a J2EE servlet application that
 compiles CFML into JSP files and executes them. That part of
 ColdFusion could be called pure Java. ColdFusion also contains
 other components- the ODBC services and the Search service, for
 instance, which are not pure Java- they aren't even Java at all.

 My re-collection from a conversation a couple of years ago at MAX
 was that Macromedia was thinking about putting out a pure J2EE
 implementation of ColdFusion without the non-Java components- an
 edition that would deploy and run on any J2EE server on any
 platform. I don't know if that plan ever came to fruition; I
 don't see it listed as a product edition on the Macromedia site.

 Rob

 All:
 
 I have a client that, for reasons that much matter, wants to move one of
 their CF apps to a J2EE server (running BEA WebLogic).  The server's
 administrator is adamant that only pure J2EE applications may
 be deployed
 on this server.
 
 My understanding of CFMX7's capabilities with this respect is that the
 EAR/WAR files it creates are pure.  However, the admin says
 that CF still
 doesn't natively integrate with BEA's management console.
 
 So, what's the deal?  Does CFMX7 offer true integration or just better
 integration that its predecessor?
 
 TIA
 
 --
 Mosh Teitelbaum
 evoch, LLC
 Tel: (301) 942-5378
 Fax: (301) 933-3651
 Email: [EMAIL PROTECTED]
 WWW: http://www.evoch.com/

 



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211525
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Dump CFCATCH

2005-06-28 Thread Chris Norloff
The HotFix fixes the [unknown type] error if you've applied the Updater to v6.1.

[empty string] sounds like there's nothing in the cfcatch scope - it's a 
transient scope that exists only right after a cfcatch is called

Chris Norloff


-- Original Message --
From: Aaron Rouse [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Tue, 28 Jun 2005 14:01:01 -0500

Yeah, I just saw that, but also noticed ours says [empty string] and the 
hotfix is to fix [unknown type] wonder if it fixes both.

On 6/28/05, Nathan Strutz [EMAIL PROTECTED] wrote: 
 
 There is a hotfix out to patch 6.1+updater for cfcatch to display what
 it's supposed to in a cfdump.
 
 -nathan strutz
 
 
 Charlie Griefer wrote:
  yeah, for some reason on 6.1 (i believe after the updater), you can no
  longer dump the cfcatch scope. you do still have all of the values
  (cfcatch.error, cfcatch.message, etc) available tho. just don't have
  the convenience of dumping 'em all out in one swell foop.
 
 
  On 6/28/05, Aaron Rouse [EMAIL PROTECTED] wrote:
 
 What version of CF are you using? I have some code that pretty certain 
 did
 this on CF5 and worked fine but now on our 6.1 server it does the same
 thing, does not on our 7 server. Was told it is a known bug but I did 
 not
 look to verify that word of mouth information.
 
 On 6/28/05, Trevor Orr [EMAIL PROTECTED] wrote:
 
 When I try to do CFDUMP VAR=#CFCATCH#
 
 I get the following [Unknown Type] when I used to get the entire 
 CFCatch
 structure dumped, anyone have any ideas why I am now getting this.
 
 
 
 Trevor Orr
 Summit Projects
 [EMAIL PROTECTED]
 541.387.8883 x213
 
 
 
 
 
 
 
 
 
 
 



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:210808
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Dump CFCATCH

2005-06-28 Thread Chris Norloff
ColdFusion MX 6.1 Updater: Hot fix for cfdump throwing unknown type error for 
cfcatch structure
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=1a9c83c

-- Original Message --
From: Trevor Orr [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Tue, 28 Jun 2005 10:56:19 -0700

When I try to do CFDUMP VAR=#CFCATCH#
 
I get the following [Unknown Type] when I used to get the entire CFCatch
structure dumped, anyone have any ideas why I am now getting this. 
 
 
 
Trevor Orr
Summit Projects
[EMAIL PROTECTED]
541.387.8883 x213
 
 




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:210807
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Neo-query.xml curruption on 6.1 updater

2005-06-07 Thread Chris Norloff
Not us. We just kept a backup of neo-query.xml in the same directory.  For 
Production we made changes to neo-query.xml itself then copied it out to the 
servers, rather than risk using CFMX Admin on a Production system.

neo-query.xml is written to every time you access the datasources menu in the 
CFMX Admin - even if you make no changes. 

Chris Norloff

-- Original Message --
From: James Holmes [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Tue, 7 Jun 2005 12:40:49 +0800

Even with 6.1 updater (on CF Enterprise standalone, Solaris 8 on SPARC,
Oracle datasources only), we still get regular corruption of
neo-query.xml and we need to restore from backups to get the datasource
service working. Has anyone made any progress in fixing this?

James Holmes
Divisional Web Interface Development Coordinator
Engineering, Science and Computing
x4864






~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208780
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Robot.txt question... security issue?

2005-05-27 Thread Chris Norloff
I think the distinction needs to be make between what's sensitive and what you 
don't want to be indexed by a spider.

If the information is sensitive, it shouldn't be where a spider can get to it 
at all - and robots.txt is no protection. 

If the information just shouldn't be indexed, then robots.txt will work ... at 
least for well-behaved spiders.

Chris Norloff


-- Original Message --
From: Che Vilnonis [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Fri, 27 May 2005 10:30:08 -0400

A client of ours recently had a security audit on their web site. The audit
recommended that we remove all 'disallow: /xyz/' entries since a potential
hacker could read the robots.txt file and surmise which folders may be
sensitive.

Here's my question, if I remove all of the [disallow: /xyz/] lines from the
robots.txt file, how do I stop the search engines from indexing those
directories?

Thanks, Che




~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207863
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: RESOLVED CFMX GC every 60 sec.?

2005-05-24 Thread Chris Norloff
Thanks, Sean. Yes, I've wondered why JVM's seem to be installed by default with 
the ability for any programmer to call a Garbage Collection. I've never heard 
anyone say it was good to do (though I don't doubt there could be cases where 
it would be good).

And I agree about protecting the servers from well-meaning programmers ...

:-)
Chris Norloff

-- Original Message --
From: Sean Corfield [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Fri, 20 May 2005 07:48:18 -0700

On 5/20/05, Chris Norloff [EMAIL PROTECTED] wrote:
 It turns out it was probably an explicit garbage collection call from one of 
 the applications.  As soon as I disabled the ability to explicitly call a GC 
 (just let the JVM manage its own memory) the GC dropped to once an hour on 
 an idle server.

I'm sure you're aware that explicitly calling GC is a Bad Thing(tm)
since it interferes with the JVM's ability to plan and manage GC on
its own schedule.

I'd probably go as far as recommending that folks disable explicit GC
in general to prevent misguided programmers from tanking your systems!
(and even some third party Java code might do this so it doesn't even
have to be your own code)
-- 
Sean A Corfield -- http://corfield.org/
Team Fusebox -- http://fusebox.org/
Got Gmail? -- I have 50, yes 50, invites to give away!

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207544
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RESOLVED CFMX GC every 60 sec.?

2005-05-20 Thread Chris Norloff
It turns out it was probably an explicit garbage collection call from one of 
the applications.  As soon as I disabled the ability to explicitly call a GC 
(just let the JVM manage its own memory) the GC dropped to once an hour on an 
idle server.

Much better.

thanks,
Chris Norloff

-- Original Message --
From: Robertson-Ravo, Neil (RX) [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Wed, 18 May 2005 14:50:34 +0100

When was the last time you patched? There were lots ones recently.

Only other thing I could suggest at present is check the DB for unusual
activitytable locks etc.

-Original Message-
From: Chris Norloff [mailto:[EMAIL PROTECTED] 
Sent: 18 May 2005 14:52
To: CF-Talk
Subject: RE: CFMX GC every 60 sec.?

CFMX 6.1 with updater, in server mode, on Solaris 8. Have added a couple hot
fixes that apply to us. Using Apache(IBM HTTPD Server) and Oracle database.

thanks,
Chris

-- Original Message --
From: Robertson-Ravo, Neil (RX) [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Wed, 18 May 2005 14:13:57 +0100

Is this MX 6.1?  Are you on SQL Server? IIS? 

Is the CF Server fully patched?

N




-Original Message-
From: Chris Norloff [mailto:[EMAIL PROTECTED] 
Sent: 18 May 2005 14:11
To: CF-Talk
Subject: RE: CFMX GC every 60 sec.?

Thanks. This server has 1.5GB of memory, so I can set the heap larger as
needed. The funny thing is that tools keep showing plenty of memory
available ( % of Free Allocated Memory: 80-98%), but the Full Garbage
Collection happens so often it just seems wrong. 

And the JVM allocates more memory where it's not needed (PSOldGen) and
allocates less memory where it is needed (PSYoungGen).

I'm going through a number of articles and blogs looking for info, and was
hoping someone here could put their finger on the answer.

The ( -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC
-XX:+PrintGCDetails -Xms256m ) are indeed just for debugging. This is a
test
server and we're trying to tune it for the applications. We had some hangs
and crashes on the Production server with OutOfMemory errors.

many thanks,
Chris

-- Original Message --
From: Robertson-Ravo, Neil (RX) [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Wed, 18 May 2005 13:50:45 +0100

Well from what you state - it would seem the case that your app is using
more than you have allocated it hence purge via GC to clear the queue.

What are your server specs?  

I would also remove XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC
-XX:+PrintGCDetails -Xms256m. I know they are probably for debugging but
they will have a detrimental effect on performance.




-Original Message-
From: Chris Norloff [mailto:[EMAIL PROTECTED] 
Sent: 18 May 2005 13:27
To: CF-Talk
Subject: CFMX GC every 60 sec.?

Is it right for Garbage Collection to run every 60 sec., as regular as
clockwork? 

(CFMX 6.1 server, with updater, Solaris 8. JVM settings: -server
-Dsun.io.useCanonCaches=false -XX:MaxPermSize=256m -XX:+UseParallelGC
-Djavax.xml.parsers.SAXParserFactory=com.macromedia.crimson.jaxp.SAXParser
F
a
ctoryImpl
-Djavax.xml.parsers.DocumentBuilderFactory=com.macromedia.crimson.jaxp.Doc
u
m
entBuilderFactoryImpl -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC
-XX:+PrintGCDetails -Xms256m -Xmx768m)

I'm trying to decide if what I'm seeing is right:

- first unloaded classes after running for 13 min.
- PSPermGen getting to 98% but not increasing size to what's available
(MaxPermSize=256m)
- 'from space' in PSYoungGen regularly filling, appears to be causing the
GC.
- GC runs every 60 sec.
- PSOldGen gets the most space of the heap, but 'from space' in PSYoungGen
is what *needs* the space.
- NOTE: this is with the server idle. Now I need to see it under load.

thanks,
Chris Norloff

--
Heap
 PSYoungGen  total 87168K, used 84000K [0xb900, 0xbe55,
0xc900)
  eden space 3008K, 0% used [0xb900,0xb900,0xb92f)
  from space 84160K, 99% used [0xb92f,0xbe4f8000,0xbe52)
  to   space 192K, 0% used [0xbe52,0xbe52,0xbe55)
 PSOldGentotal 174784K, used 6449K [0xc900, 0xd3ab,
0xe900)
  object space 174784K, 3% used [0xc900,0xc964c5a8,0xd3ab)
 PSPermGen   total 16640K, used 16453K [0xe900, 0xea04,
0xf900)
  object space 16640K, 98% used [0xe900,0xea011630,0xea04)
15399.411: [Full GC 90449K-6460K(261952K), 0.6580179 secs]
 Heap after GC invocations=510:

- just like clockwork. this is obviously the established pattern.

 PSYoungGen  total 87232K, used 84136K [0xb900, 0xbe55,
0xc900)
  eden space 3008K, 0% used [0xb900,0xb900,0xb92f)
  from space 84224K, 99% used [0xb92f,0xbe51a010,0xbe53)
  to   space 128K, 0% used [0xbe53,0xbe53,0xbe55)
 PSOldGentotal

CFMX GC every 60 sec.?

2005-05-18 Thread Chris Norloff
Is it right for Garbage Collection to run every 60 sec., as regular as 
clockwork? 

(CFMX 6.1 server, with updater, Solaris 8. JVM settings: -server 
-Dsun.io.useCanonCaches=false -XX:MaxPermSize=256m -XX:+UseParallelGC 
-Djavax.xml.parsers.SAXParserFactory=com.macromedia.crimson.jaxp.SAXParserFactoryImpl
 
-Djavax.xml.parsers.DocumentBuilderFactory=com.macromedia.crimson.jaxp.DocumentBuilderFactoryImpl
 -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC -XX:+PrintGCDetails -Xms256m 
-Xmx768m)

I'm trying to decide if what I'm seeing is right:

- first unloaded classes after running for 13 min.
- PSPermGen getting to 98% but not increasing size to what's available 
(MaxPermSize=256m)
- 'from space' in PSYoungGen regularly filling, appears to be causing the GC.
- GC runs every 60 sec.
- PSOldGen gets the most space of the heap, but 'from space' in PSYoungGen is 
what *needs* the space.
- NOTE: this is with the server idle. Now I need to see it under load.

thanks,
Chris Norloff

--
Heap
 PSYoungGen  total 87168K, used 84000K [0xb900, 0xbe55, 0xc900)
  eden space 3008K, 0% used [0xb900,0xb900,0xb92f)
  from space 84160K, 99% used [0xb92f,0xbe4f8000,0xbe52)
  to   space 192K, 0% used [0xbe52,0xbe52,0xbe55)
 PSOldGentotal 174784K, used 6449K [0xc900, 0xd3ab, 0xe900)
  object space 174784K, 3% used [0xc900,0xc964c5a8,0xd3ab)
 PSPermGen   total 16640K, used 16453K [0xe900, 0xea04, 0xf900)
  object space 16640K, 98% used [0xe900,0xea011630,0xea04)
15399.411: [Full GC 90449K-6460K(261952K), 0.6580179 secs]
 Heap after GC invocations=510:

- just like clockwork. this is obviously the established pattern.

 PSYoungGen  total 87232K, used 84136K [0xb900, 0xbe55, 0xc900)
  eden space 3008K, 0% used [0xb900,0xb900,0xb92f)
  from space 84224K, 99% used [0xb92f,0xbe51a010,0xbe53)
  to   space 128K, 0% used [0xbe53,0xbe53,0xbe55)
 PSOldGentotal 174784K, used 6136K [0xc900, 0xd3ab, 0xe900)
  object space 174784K, 3% used [0xc900,0xc95fe3a8,0xd3ab)
 PSPermGen   total 16640K, used 16465K [0xe900, 0xea04, 0xf900)
  object space 16640K, 98% used [0xe900,0xea014600,0xea04)
64676.110: [Full GC 90272K-6157K(262016K), 0.6643557 secs]
 Heap after GC invocations=2134:
 

 PSYoungGen  total 86976K, used 83817K [0xb900, 0xbe55, 0xc900)
  eden space 3008K, 0% used [0xb900,0xb900,0xb92f)
  from space 83968K, 99% used [0xb92f,0xbe4ca6c8,0xbe4f)
  to   space 384K, 0% used [0xbe4f,0xbe4f,0xbe55)
 PSOldGentotal 174784K, used 6955K [0xc900, 0xd3ab, 0xe900)
  object space 174784K, 3% used [0xc900,0xc96caea8,0xd3ab)
 PSPermGen   total 17664K, used 17337K [0xe900, 0xea14, 0xf900)
  object space 17664K, 98% used [0xe900,0xea0ee670,0xea14)
71170.151: [Full GC 90773K-7168K(261760K), 1.0508560 secs]
 Heap after GC invocations=2348:



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207015
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: JRun closed connection Error on CFMX

2005-05-18 Thread Chris Norloff
There's a Macromedia TechNote that deals with this. Search for closed 
connection

Chris

-- Original Message --
From: Daniel Kang [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Mon, 16 May 2005 22:03:17 -0400

I am getting these errors from CFMX and cannot get into any apps and
cfmx admin as well.

Server Error
The server encountered an internal error and was unable to complete
your request.
JRun closed connection.

What is wrong and how to fix?

tia



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207016
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFMX GC every 60 sec.?

2005-05-18 Thread Chris Norloff
Thanks. This server has 1.5GB of memory, so I can set the heap larger as 
needed. The funny thing is that tools keep showing plenty of memory available ( 
% of Free Allocated Memory: 80-98%), but the Full Garbage Collection happens so 
often it just seems wrong. 

And the JVM allocates more memory where it's not needed (PSOldGen) and 
allocates less memory where it is needed (PSYoungGen).

I'm going through a number of articles and blogs looking for info, and was 
hoping someone here could put their finger on the answer.

The ( -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC
-XX:+PrintGCDetails -Xms256m ) are indeed just for debugging. This is a test 
server and we're trying to tune it for the applications. We had some hangs and 
crashes on the Production server with OutOfMemory errors.

many thanks,
Chris

-- Original Message --
From: Robertson-Ravo, Neil (RX) [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Wed, 18 May 2005 13:50:45 +0100

Well from what you state - it would seem the case that your app is using
more than you have allocated it hence purge via GC to clear the queue.

What are your server specs?  

I would also remove XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC
-XX:+PrintGCDetails -Xms256m. I know they are probably for debugging but
they will have a detrimental effect on performance.




-Original Message-
From: Chris Norloff [mailto:[EMAIL PROTECTED] 
Sent: 18 May 2005 13:27
To: CF-Talk
Subject: CFMX GC every 60 sec.?

Is it right for Garbage Collection to run every 60 sec., as regular as
clockwork? 

(CFMX 6.1 server, with updater, Solaris 8. JVM settings: -server
-Dsun.io.useCanonCaches=false -XX:MaxPermSize=256m -XX:+UseParallelGC
-Djavax.xml.parsers.SAXParserFactory=com.macromedia.crimson.jaxp.SAXParserFa
ctoryImpl
-Djavax.xml.parsers.DocumentBuilderFactory=com.macromedia.crimson.jaxp.Docum
entBuilderFactoryImpl -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC
-XX:+PrintGCDetails -Xms256m -Xmx768m)

I'm trying to decide if what I'm seeing is right:

- first unloaded classes after running for 13 min.
- PSPermGen getting to 98% but not increasing size to what's available
(MaxPermSize=256m)
- 'from space' in PSYoungGen regularly filling, appears to be causing the
GC.
- GC runs every 60 sec.
- PSOldGen gets the most space of the heap, but 'from space' in PSYoungGen
is what *needs* the space.
- NOTE: this is with the server idle. Now I need to see it under load.

thanks,
Chris Norloff

--
Heap
 PSYoungGen  total 87168K, used 84000K [0xb900, 0xbe55,
0xc900)
  eden space 3008K, 0% used [0xb900,0xb900,0xb92f)
  from space 84160K, 99% used [0xb92f,0xbe4f8000,0xbe52)
  to   space 192K, 0% used [0xbe52,0xbe52,0xbe55)
 PSOldGentotal 174784K, used 6449K [0xc900, 0xd3ab,
0xe900)
  object space 174784K, 3% used [0xc900,0xc964c5a8,0xd3ab)
 PSPermGen   total 16640K, used 16453K [0xe900, 0xea04,
0xf900)
  object space 16640K, 98% used [0xe900,0xea011630,0xea04)
15399.411: [Full GC 90449K-6460K(261952K), 0.6580179 secs]
 Heap after GC invocations=510:

- just like clockwork. this is obviously the established pattern.

 PSYoungGen  total 87232K, used 84136K [0xb900, 0xbe55,
0xc900)
  eden space 3008K, 0% used [0xb900,0xb900,0xb92f)
  from space 84224K, 99% used [0xb92f,0xbe51a010,0xbe53)
  to   space 128K, 0% used [0xbe53,0xbe53,0xbe55)
 PSOldGentotal 174784K, used 6136K [0xc900, 0xd3ab,
0xe900)
  object space 174784K, 3% used [0xc900,0xc95fe3a8,0xd3ab)
 PSPermGen   total 16640K, used 16465K [0xe900, 0xea04,
0xf900)
  object space 16640K, 98% used [0xe900,0xea014600,0xea04)
64676.110: [Full GC 90272K-6157K(262016K), 0.6643557 secs]
 Heap after GC invocations=2134:
 

 PSYoungGen  total 86976K, used 83817K [0xb900, 0xbe55,
0xc900)
  eden space 3008K, 0% used [0xb900,0xb900,0xb92f)
  from space 83968K, 99% used [0xb92f,0xbe4ca6c8,0xbe4f)
  to   space 384K, 0% used [0xbe4f,0xbe4f,0xbe55)
 PSOldGentotal 174784K, used 6955K [0xc900, 0xd3ab,
0xe900)
  object space 174784K, 3% used [0xc900,0xc96caea8,0xd3ab)
 PSPermGen   total 17664K, used 17337K [0xe900, 0xea14,
0xf900)
  object space 17664K, 98% used [0xe900,0xea0ee670,0xea14)
71170.151: [Full GC 90773K-7168K(261760K), 1.0508560 secs]
 Heap after GC invocations=2348:







~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207022
Archives

RE: CFMX GC every 60 sec.?

2005-05-18 Thread Chris Norloff
CFMX 6.1 with updater, in server mode, on Solaris 8. Have added a couple hot 
fixes that apply to us. Using Apache(IBM HTTPD Server) and Oracle database.

thanks,
Chris

-- Original Message --
From: Robertson-Ravo, Neil (RX) [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Wed, 18 May 2005 14:13:57 +0100

Is this MX 6.1?  Are you on SQL Server? IIS? 

Is the CF Server fully patched?

N




-Original Message-
From: Chris Norloff [mailto:[EMAIL PROTECTED] 
Sent: 18 May 2005 14:11
To: CF-Talk
Subject: RE: CFMX GC every 60 sec.?

Thanks. This server has 1.5GB of memory, so I can set the heap larger as
needed. The funny thing is that tools keep showing plenty of memory
available ( % of Free Allocated Memory: 80-98%), but the Full Garbage
Collection happens so often it just seems wrong. 

And the JVM allocates more memory where it's not needed (PSOldGen) and
allocates less memory where it is needed (PSYoungGen).

I'm going through a number of articles and blogs looking for info, and was
hoping someone here could put their finger on the answer.

The ( -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC
-XX:+PrintGCDetails -Xms256m ) are indeed just for debugging. This is a test
server and we're trying to tune it for the applications. We had some hangs
and crashes on the Production server with OutOfMemory errors.

many thanks,
Chris

-- Original Message --
From: Robertson-Ravo, Neil (RX) [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Wed, 18 May 2005 13:50:45 +0100

Well from what you state - it would seem the case that your app is using
more than you have allocated it hence purge via GC to clear the queue.

What are your server specs?  

I would also remove XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC
-XX:+PrintGCDetails -Xms256m. I know they are probably for debugging but
they will have a detrimental effect on performance.




-Original Message-
From: Chris Norloff [mailto:[EMAIL PROTECTED] 
Sent: 18 May 2005 13:27
To: CF-Talk
Subject: CFMX GC every 60 sec.?

Is it right for Garbage Collection to run every 60 sec., as regular as
clockwork? 

(CFMX 6.1 server, with updater, Solaris 8. JVM settings: -server
-Dsun.io.useCanonCaches=false -XX:MaxPermSize=256m -XX:+UseParallelGC
-Djavax.xml.parsers.SAXParserFactory=com.macromedia.crimson.jaxp.SAXParserF
a
ctoryImpl
-Djavax.xml.parsers.DocumentBuilderFactory=com.macromedia.crimson.jaxp.Docu
m
entBuilderFactoryImpl -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC
-XX:+PrintGCDetails -Xms256m -Xmx768m)

I'm trying to decide if what I'm seeing is right:

- first unloaded classes after running for 13 min.
- PSPermGen getting to 98% but not increasing size to what's available
(MaxPermSize=256m)
- 'from space' in PSYoungGen regularly filling, appears to be causing the
GC.
- GC runs every 60 sec.
- PSOldGen gets the most space of the heap, but 'from space' in PSYoungGen
is what *needs* the space.
- NOTE: this is with the server idle. Now I need to see it under load.

thanks,
Chris Norloff

--
Heap
 PSYoungGen  total 87168K, used 84000K [0xb900, 0xbe55,
0xc900)
  eden space 3008K, 0% used [0xb900,0xb900,0xb92f)
  from space 84160K, 99% used [0xb92f,0xbe4f8000,0xbe52)
  to   space 192K, 0% used [0xbe52,0xbe52,0xbe55)
 PSOldGentotal 174784K, used 6449K [0xc900, 0xd3ab,
0xe900)
  object space 174784K, 3% used [0xc900,0xc964c5a8,0xd3ab)
 PSPermGen   total 16640K, used 16453K [0xe900, 0xea04,
0xf900)
  object space 16640K, 98% used [0xe900,0xea011630,0xea04)
15399.411: [Full GC 90449K-6460K(261952K), 0.6580179 secs]
 Heap after GC invocations=510:

- just like clockwork. this is obviously the established pattern.

 PSYoungGen  total 87232K, used 84136K [0xb900, 0xbe55,
0xc900)
  eden space 3008K, 0% used [0xb900,0xb900,0xb92f)
  from space 84224K, 99% used [0xb92f,0xbe51a010,0xbe53)
  to   space 128K, 0% used [0xbe53,0xbe53,0xbe55)
 PSOldGentotal 174784K, used 6136K [0xc900, 0xd3ab,
0xe900)
  object space 174784K, 3% used [0xc900,0xc95fe3a8,0xd3ab)
 PSPermGen   total 16640K, used 16465K [0xe900, 0xea04,
0xf900)
  object space 16640K, 98% used [0xe900,0xea014600,0xea04)
64676.110: [Full GC 90272K-6157K(262016K), 0.6643557 secs]
 Heap after GC invocations=2134:
 

 PSYoungGen  total 86976K, used 83817K [0xb900, 0xbe55,
0xc900)
  eden space 3008K, 0% used [0xb900,0xb900,0xb92f)
  from space 83968K, 99% used [0xb92f,0xbe4ca6c8,0xbe4f)
  to   space 384K, 0% used [0xbe4f,0xbe4f,0xbe55)
 PSOldGentotal 174784K, used 6955K [0xc900, 0xd3ab,
0xe900)
  object space

RE: CF 7 on WebSphere - what's the beef with Clustering?

2005-04-28 Thread Chris Norloff
I've dealt with that. The problem is that CFMX Admin doesn't propagate changes 
across the WebSphere cluster. Other than that, it's robust.

What we did was make all the changes in CFMX's neo-*.xml files, and just used a 
script to copy those across the cluster. Much better than opening CFMX admin on 
all nodes!

This worked with 30 to 90 instances of CFMX in our cluster (WAS v5.0 ND and 
v5.1 ND).

Chris Norloff

-- Original Message --
From: Calvin Ward [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Thu, 28 Apr 2005 13:59:35 -0400

Are you using Session variables?

-Original Message-
From: Jim Davis [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 28, 2005 1:22 PM
To: CF-Talk
Subject: CF 7 on WebSphere - what's the beef with Clustering?

We're (finally!) considering upgrading our largeish collection of CF 4.5 apps 
to CF 7.

The enterprise architecture is WebSphere on AIX.  Our current CF apps would 
cost too much to convert to pure JSP/Java but are all hosted on NT 4 which 
we've only been able to bribe MS to support through the end of the year.

So, an option is to deploy our CF apps to WebSphere.  However (there's always 
a but even if it's a however) I'm getting challenged on it's scalability 
and deployment options because of the following CF requirement/limitation 
(from Macromedia):

IBM WebSphere Application Server ââ?¬â?? Network Deployment, Version 5.0, 
5.0.2, 5.1 Non-Clustered, Single Server Only (Vertical and horizontal 
clustering not supported. Use of the Network Deployment console for deployment 
of ColdFusion applications is also not supported.)

Anybody have any insight into this?  I know that CF will scale vertically (via 
multiple instances) and horizontally across machines - what exactly are they 
talking about here?

Is there any way around this issue?

Thanks,

Jim Davis






~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204993
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


SOLVED: CFMX7: No JRun JMC?

2005-04-15 Thread Chris Norloff
Thanks for the help. I finally got CFMX7 installed and got a good JRun/JMC 
installation. 

One definite problem was not restarting the machine a second time after 
manually deleting the remaining JRun files (this is after running uninstall and 
restarting the machine).

Contributory factors may have been the license number I was using (which 
*should* have worked) and the CFMX7 version from DevNet. I pulled out the CD 
version and the volume license number we have and used those.

thanks,
Chris Norloff



-- Original Message --
From: Dave Watts [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Wed, 13 Apr 2005 11:50:52 -0400

 We installed CFMX 7 (Enterprise (DevNet), with an 
 Enterprise license number). But we can't get into the JRun JMC admin. 
 
 Either
 1) the admin/password doesn't work (confirmed it's right in 
 the .xml file) or
 2) we get the error: the page cannot be displayed and the 
 URL line has 
 http://[servername]:8000/j_security_check;jsessionid=[x]
 
 Anybody else run into this?  I thought with CFMX 7 Enterprise 
 you get a full, licensed version of JRun - is this correct?

Yes, if you install the multiserver version, you should have a working JRun
admin server instance running the JMC application. It should just work. You
might want to try running that server instance as an application rather than
as a service - this will let you see startup errors at a command prompt. You
can do this using the JRun Launcher.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:203017
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


CFMX7: No JRun JMC?

2005-04-13 Thread Chris Norloff
We installed CFMX 7 (Enterprise (DevNet), with an Enterprise license number). 
But we can't get into the JRun JMC admin. 

Either 
1) the admin/password doesn't work (confirmed it's right in the .xml file) or 
2) we get the error: the page cannot be displayed and the URL line has 
http://[servername]:8000/j_security_check;jsessionid=[x]

Anybody else run into this?  I thought with CFMX 7 Enterprise you get a full, 
licensed version of JRun - is this correct?

many thanks,
Chris Norloff



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202543
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFMX7: No JRun JMC?

2005-04-13 Thread Chris Norloff
Clarification: we installed CFMX7 in the 'multiple instances' mode.

-- Original Message --
From: Chris Norloff [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Wed, 13 Apr 2005 09:55:58 -0400

We installed CFMX 7 (Enterprise (DevNet), with an Enterprise license 
number). But we can't get into the JRun JMC admin. 

Either 
1) the admin/password doesn't work (confirmed it's right in the .xml file) or 
2) we get the error: the page cannot be displayed and the URL line has 
http://[servername]:8000/j_security_check;jsessionid=[x]

Anybody else run into this?  I thought with CFMX 7 Enterprise you get a full, 
licensed version of JRun - is this correct?

many thanks,
Chris Norloff





~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202544
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: cferror question

2005-03-31 Thread Chris Norloff
You can use the Missing Template Handler in CFMX Admin.

Chris

-- Original Message --
From: Will Tomlinson [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Wed, 30 Mar 2005 20:40:29 -0400

cferror DEFINITELY will not catch missing file errors. I just had that one 
happen on my site, still trying to figure out a way around it.  :)

Will



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200955
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: cferror question

2005-03-31 Thread Chris Norloff
Darn. You can use cftry/catch, with a catch type of missinginclude, but this 
requires cftry/catch on the page, and can't be implemented globally (it's 
intended for fine-grain exception handling)

Chris Norloff

-- Original Message --
From: Will Tomlinson [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Wed, 30 Mar 2005 21:33:13 -0400

Did you set the missing template handler within the CF Administrator?


I'm using Shared Hosting - No access. 

Thanks,
Will



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200956
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: JSESSIONID - Help

2005-03-31 Thread Chris Norloff
The JSESSIONID cookie is set by the J2EE app server; it's not a CFMX function.

Use J2EE session variables just tells CFMX not to set it's own CFID/CFToken 
cookies, and to rely instead on the JSESSIONID cookie.

Chris Norloff 


-- Original Message --
From: Thomas Chiverton [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Thu, 31 Mar 2005 10:17:43 +0100

On Friday 18 Mar 2005 14:47 pm, Ryan Duckworth wrote:
 In CF (6.1 - updater) we have Use J2EE session variables unchecked in
 the CF Admin, but we are getting users who are getting JSESSIONID in
 their cookies.

Are you using the bundled JRun or some other container ?

-- 
Tom Chiverton 
Advanced ColdFusion Programmer



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200957
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Set the Log level in CF5

2005-03-31 Thread Chris Norloff
True, but you can do a lot with 
- cftry/catch, 
- the different types for cfcatch, 
- the error and cfcatch scopes, and 
- using cffile to write errors to a file.

(We also made the error info available in 'View Source' by enclosing them in 
HTML comments. Not visible to the user, but can be seen with 'View Source'.  
Though you may not want this on Production! )

Chris Norloff

-- Original Message --
From: Thomas Chiverton [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Thu, 31 Mar 2005 14:15:51 +0100

On Wednesday 30 Mar 2005 17:57 pm, David Manriquez wrote:
  i need to know if is possible to set the log level in CF5.

CF doesn't have a native log framework.

-- 
Tom Chiverton 
Advanced ColdFusion Programmer



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200958
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Set the Log level in CF5

2005-03-31 Thread Chris Norloff
You can log things in the same directory as application.log if you want. 

Whether it's part of 'Custom Logs' or 'native logging' doesn't affect your 
ability to get error/exception information into logs to review.

Chris Norloff


-- Original Message --
From: David Manriquez [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Thu, 31 Mar 2005 10:30:25 -0400

Yeah Right but that's only for My Custom Logs ... not for Coldfusion native
Log files.
Like  application.log


David Manriquez
Desarrollador de Sistemas
[EMAIL PROTECTED] 
(+56-2) 43 00 155

   

-Mensaje original-
De: Chris Norloff [mailto:[EMAIL PROTECTED] 
Enviado el: Jueves, 31 de Marzo de 2005 10:00
Para: CF-Talk
Asunto: Re: Set the Log level in CF5

True, but you can do a lot with 
- cftry/catch, 
- the different types for cfcatch, 
- the error and cfcatch scopes, and 
- using cffile to write errors to a file.

(We also made the error info available in 'View Source' by enclosing them in
HTML comments. Not visible to the user, but can be seen with 'View Source'.
Though you may not want this on Production! )

Chris Norloff

-- Original Message --
From: Thomas Chiverton [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Thu, 31 Mar 2005 14:15:51 +0100

On Wednesday 30 Mar 2005 17:57 pm, David Manriquez wrote:
  i need to know if is possible to set the log level in CF5.

CF doesn't have a native log framework.

-- 
Tom Chiverton 
Advanced ColdFusion Programmer







~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201032
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: J2EE Sessions

2005-01-28 Thread Chris Norloff
I don't know about CFMX Pro - we use CFMX for J2EE on WebSphere with J2EE 
sessions. The J2EE session setting makes the CFMX session the same as the J2EE 
session object. The browser gets a non-persistent cookie with the jsessionid. 
The session can then be replicated across all the Application Servers.

Search the Macromedia ColdFusion knowledge base for J2EE and you'll find a lot 
of info.

Chris Norloff


-- Original Message --
From: Brook Davies [EMAIL PROTECTED]
Reply-To: cf-talk@houseoffusion.com
Date:  Thu, 27 Jan 2005 18:47:25 -0800

I'm trying to cluster 2 CFMX Pro servers using J2EE session vars. I'm told 
its possible.

Does this require, that when I installed CFMX I selected the J2EE 
configuration (Coldfusion MX with Jrun4) as opposed to the standard 
Server Configuration option? I've been reaidng up on J2EE sessions vars, 
but have not found how to cluster them.  Can someone point me to an article 
or some more info?

Brook Davies
logiforms.com





~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192080
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Session vs. Client Variables

2004-12-30 Thread Chris Norloff
We just switched away from client variables, and now use only session 
variables. We got an enormous increase in performance. The database guys were 
complaining about the performance impace from all the reads -- let alone the 
writes -- due to storing variables in the database.

Recall that CFMX (like CF before it) reads all the user's client variables at 
the beginning of any HTTP Request that uses even one client variable. All the 
user's client variables are then written back to the database at the end of 
that HTTP Request. 

We definitely experienced some issues with scaling. (CFMX for J2EE, WebSphere, 
Oracle 10g, 3,000 to 4,000 concurrent users, database-intensive application)

Chris Norloff

-- Original Message --
From: [EMAIL PROTECTED]
... 
But as a test, I tried switching to client variables (using database)
and we took a serious performance hit (probably 50%) with the current
application. I'll do my best to streamline it during the rewrite, but
does anyone have any suggestions on the best route to take here?
 
Thanks,
Jonathan
...

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189007
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: REPOST: CFHEADER/CFCONTENT over SSL on IIS with IE

2004-12-13 Thread Chris Norloff
ieHTTPheaders
http://www.blunck.info/iehttpheaders.html

I haven't tried it myself, but it's supposed to do what you want.

Here's one for Mozilla, in case you're interested:
http://livehttpheaders.mozdev.org/
I had to re-install Mozilla after using it.

Chris Norloff

-- Original Message --
From: Cliff Meyers [EMAIL PROTECTED]

Can anyone recommend a good tool (either standalone or plugin for IE) that
will allow me to see the HTTP response headers for a particular request? 
That way I could at least compare the headers generated for a regular
file download and then tweak my CFHEADER statement(s) to match.  Thanks a
bunch.


-Cliff



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187344
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Using a J2EE Application Server

2004-12-13 Thread Chris Norloff
Using CFMX on J2EE lets you move into existing J2EE environments. It lets you 
use both CFMX and Java developers to build your application(s). 

It can allow you to use CFMX for rapid-prototyping, then build in Java as you 
need.  

With the use of J2EE Session Management, you can fully integrate CFMX and Java 
apps as CFMX  Java share one session and identifier (jsessionid, and the HTTP 
session object).

J2EE is just middle-tier, you still need a web server. Apache (modified) is 
used as the web server with WebSphere and Oracle Application Server.

See:
http://www.macromedia.com/software/coldfusion/j2ee/index.html#100
http://www.macromedia.com/devnet/mx/coldfusion/java_j2ee.html

best,
Chris Norloff

-- Original Message --
From: Andrew Dixon [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:  Mon, 13 Dec 2004 14:56:30 +

Hi All.

I'm looking for a little bit of information. In what case would you
use CFMX on a J2EE platform? We current have a server using CFMX 
Apache on RedHat. What does using the J2EE platform give me and do the
J2EE replace Apache as the webserver or do you still need that?

Thanks for any information anyone can provide.

Best Regards

Andrew.



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187376
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFMX 6.1 - java.lang.NullPointerException

2004-12-09 Thread Chris Norloff
That sounds a lot like a cache is holding the older version of your 
Application.cfm. Are there caching proxies between you and your server?

We use:
  !--- disable proxy cache, allow browser cache ---
  cfheader name=cache-control value=private

If client variables are reported as not enabled, that definitely is the 
cfapplication tag in Application.cfm

Chris Norloff

-- Original Message --
From: Umer Farooq [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:  Wed, 08 Dec 2004 11:29:17 -0500

Errr..

this is still driving me crazy. It has gotten worse..
now I don't even get the full error message.. just.. the following

Error
java.lang.NullPointerException

And now seeing.. messages.. saying client variables need to be enabled.. 
on each request.. but they are enabled.. to fix it.. I have to refresh 
the modification time on Application.cfm and the problem goes away..


any suggestions..



Martin Parry wrote:
 Based on the stack trace I would certainly start with disabling global
 updates in the client variables settings.
 
 This has caused me quite a few problems with SQL server before as it
 chomps up disk space by filling the log file at an alarming rate.
 
 Hope it works.
 
 Martin Parry
 Macromedia Certified Developer
 http://www.BeetrootStreet.co.uk
 
 -Original Message-
 From: Umer Farooq [mailto:[EMAIL PROTECTED] 
 Sent: 29 November 2004 20:32
 To: CF-Talk
 Subject: CFMX 6.1 - java.lang.NullPointerException
 
 Hi,
 
 If any one could help on this.. it is much appreciated..
 
 We are seeing this error happen.. about every four hours.. and then 
 we have to restart CFMX.
 
 Redhat AS 2.1
 Apache 2.0.50
 CFMX 6.1 (83762)
 
 
 java.lang.NullPointerException
  at coldfusion.runtime.Cast._double(Cast.java:510)
  at coldfusion.runtime.Cast._int(Cast.java:322)
  at 
 coldfusion.runtime.ClientScope.UpdateGlobals(ClientScope.java:112)
 
 
 



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186801
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: cferror question

2004-12-09 Thread Chris Norloff
Looks okay to me. The next thing I'd do is put cfdump var=#cferror# in the 
exception handling template to see the cferror scope variables - maybe 
something's not exactly as you expect (and you might check the cfcatch scope, 
too).

Chris Norloff


-- Original Message --
From: David Collie [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:  Thu, 9 Dec 2004 13:18:52 +

Hi all

I can't get this to work and I've tried livedocs but I don't see
anything that says that I shouldn't be able to do this

!--- cferrror ---
cferror type=exception exception=com.whatever
template=error_comwhatever.cfm
cferror type=exception exception=com.whatever.validation
template=error_comwhatever.cfm


!--- try 1: goes to error_comehatevervalidation.cfm ---
cfthrow type=com.whatever message=this is the 'com.whatever' error 
calling

!--- try 2: goes to error_comehatevervalidation.cfm ---
cfthrow type=com.whatever.validation message=this is the
'com.whatever.validation' error calling


When I change the order of the cferror's and cfthrow's, it just seems
to default to the last cferror tag regardless.
I can get the CF exceptions  (database, missinginclude, etc) to work
no bother just throwing them in the template but not the custom
ones...

Note that I can get the custom exceptions to work when wrapped in
cftry/cfcatch but can you not use a custom cfthrow outwith the
cftry/cfcatch and trap it with cferror?

Any pointers appreciated.  Am I totally on the wrong track?

-- 
dc



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186814
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Datasource service not available

2004-12-07 Thread Chris Norloff
We have the same problem. neo-query.xml just gets corrupt. This is particularly 
frustrating for us because we use J2EE datasources, not CFMX datasources (CFMX 
6.1 on Websphere 5.1, Solaris 8).

We even tried write-protecting neo-query.xml, but when CFMX restarts it strips 
off the write protection. Then anytime you access the datasources area in CFMX 
Admin, it writes to neo-query.xml.  I hope whoever programmed that feature 
has long since been fired.

Chris Norloff

-- Original Message --
From: James Holmes [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:  Mon, 6 Dec 2004 11:01:21 +0800

The DataSource service is not available.

This error still occurs to us every now and then, even with CF 6.1 with the
updater. Does anyone know why MM has not bothered to fix the error?

I'm going through neo-query.xml now to attempt to find the corruption (if
that's where the problem lies this time) but if anyone know of other causes,
I'd be happy to hear from you.

Our platform is Solaris 8, Apache 2, CFMX 6.1 Updater, Oracle 9i.






~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186435
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Datasource service not available

2004-12-07 Thread Chris Norloff
If I recall correctly, fixing a corrupt file that disables CFMX is considered 
an enhancement by Macromedia.

[sigh]

Chris Norloff

-- Original Message --
From: Douglas Knudsen [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:  Tue, 7 Dec 2004 08:57:05 -0500

yeah, its on my maintenance list to back that file up from server to
desktop because of this issue.  I thought it was a bug listed though
that would have been fixed in the updater, but nope.

DK


On Tue,  7 Dec 2004 08:45:14 -0500, Chris Norloff [EMAIL PROTECTED] wrote:
 We have the same problem. neo-query.xml just gets corrupt. This is 
 particularly frustrating for us because we use J2EE datasources, not CFMX 
 datasources (CFMX 6.1 on Websphere 5.1, Solaris 8).
 
 We even tried write-protecting neo-query.xml, but when CFMX restarts it 
 strips off the write protection. Then anytime you access the datasources 
 area in CFMX Admin, it writes to neo-query.xml.  I hope whoever programmed 
 that feature has long since been fired.
 
 Chris Norloff
 
 
 
 -- Original Message --
 From: James Holmes [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 Date:  Mon, 6 Dec 2004 11:01:21 +0800
 
 The DataSource service is not available.
 
 This error still occurs to us every now and then, even with CF 6.1 with the
 updater. Does anyone know why MM has not bothered to fix the error?
 
 I'm going through neo-query.xml now to attempt to find the corruption (if
 that's where the problem lies this time) but if anyone know of other causes,
 I'd be happy to hear from you.
 
 Our platform is Solaris 8, Apache 2, CFMX 6.1 Updater, Oracle 9i.
 
 
 
 
 
 
 



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186437
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Datasource service not available

2004-12-07 Thread Chris Norloff
That's what we do, too. Any working neo-query.xml file, even one from another 
server with different datasources will work - all it has to be is non-corrupt.

We put a readonly copy of neo-query.xml, renamed neo-query.xmlSAVE in the same 
directory with neo-query.xml so it's always ready to be used. (Just specifying 
neo-query.xml as readonly doesn't work as CFMX strips the readonly protection 
off)

Chris Norloff


-- Original Message --
From: Dave Watts [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:  Tue, 7 Dec 2004 14:33:11 -0500

 Does replacing the corrupt neo-query.xml file with a recently 
 backed up version fix the problem (till MM provides a more 
 permanent solution)? We are about to migrate to CFMX. Maybe I 
 should I get familiar with this process .

Yes, that has worked for me every time so far. This has been a pretty rare
problem for me.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444




~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186546
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


CFMX reading javascript comments (!?)

2004-12-03 Thread Chris Norloff
We've got a weird thing happening - CFMX is reading javascript code that we've 
commented out, and throwing an error because of it. (CFMX for J2EE, v6.1 (no 
updater), on WebSphere 5.1.0.3)

The javascript code is inside cfoutput tags.  Part of the javascript is 
commented out with the standard // at the beginning of the line. Twice in the 
last two days CFMX has thrown errors when it reads variables in the 
commented-out lines.

I wonder if CFMX is reading the code on compilation and throwing the error 
before it actually executes the code.

We deleted the lines, but how weird!  Anybody else experience this? I couldn't 
find any info at Macromedia, the Macromedia CF discussion area, or 
FusionAuthority archives.

thanks,
Chris Norloff



~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186092
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFMX reading javascript comments (!?)

2004-12-03 Thread Chris Norloff
Ah!  Of course. I was getting server-side processing and client-side processing 
confused. 

many thanks, 
Chris 

-- Original Message --
From: Barney Boisvert [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:  Fri, 3 Dec 2004 09:58:31 -0800

CFMX will read anything in the .CFM files.  It has no idea that what
it's generating is JavaScript (or HTML, or XML, or SVG, or whatever),
so it can't abide by it's commenting rules.  If you don't want CF to
process something, you have to use CFML comments (!--- ---) around
it.

cheers,
barneyb

On Fri,  3 Dec 2004 11:28:19 -0500, Chris Norloff [EMAIL PROTECTED] wrote:
 We've got a weird thing happening - CFMX is reading javascript code that 
 we've commented out, and throwing an error because of it. (CFMX for J2EE, 
 v6.1 (no updater), on WebSphere 5.1.0.3)
 
 The javascript code is inside cfoutput tags.  Part of the javascript is 
 commented out with the standard // at the beginning of the line. Twice in 
 the last two days CFMX has thrown errors when it reads variables in the 
 commented-out lines.
 
 I wonder if CFMX is reading the code on compilation and throwing the error 
 before it actually executes the code.
 
 We deleted the lines, but how weird!  Anybody else experience this? I 
 couldn't find any info at Macromedia, the Macromedia CF discussion area, or 
 FusionAuthority archives.
 
 thanks,
 Chris Norloff
 
 



~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186127
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Creating a client variable timeout.

2004-12-03 Thread Chris Norloff
Many ways to do that. Personally, I'd use a session variable as a flag for a 
logged-in user, then timeout session variables in 20 min. (if that meets your 
objective). 

You can put a javascript timer in the browser to alert the user when he's 
getting near his 20 min. timeout.

Chris Norloff

-- Original Message --
From: Stuart Kidd [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:  Fri,  3 Dec 2004 08:42:30 -0500

Hi guys,

I remember a long time ago i created a line of code which sat in my 
Application.cfm which checked to see whether a logged in user hadn't had any 
activity for 20 mins.

Can anyone please remind me how to do this?

Thanks,

Saturday 



~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186131
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: jsessionid cookies

2004-12-01 Thread Chris Norloff
If it's CFMX for J2EE, it could be running on any one of several different J2EE 
app servers (JRun, WebSphere, WebLogic, SunONE, etc.).

The only reason a J2EE app server would set the jsessionid cookie again is if 
it didn't see the first cookie. Check your http headers and see if you can see 
what's happening. 

We had a case of running a CFMX app on WebSphere and a Java app on Oracle's 
9iAS app server - each app server wanted to set its own jsessionid cookie, so 
the browser ended up losing the session everytime it went from one to the 
other.  We ended up setting a flag in the database to tell if there was an 
active session for that user, so he could go to the one app on WebSphere or the 
other app on Oracle.

Chris Norloff



-- Original Message --
From: Nick Cabell [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:  Wed, 01 Dec 2004 10:45:22 -0400

Thank you so much for the helpful answer (finally!).

If it is JRUN that is setting the jsessionid (regardless of whether you have 
told CF to store session variables in the j2ee object) then what
explains why there is no jsessionid coming from the hosted site - does this 
suggest they are not running CFMX on top of JRUN?

Also, any idea why there the jsessionid cookie is set and then immediately 
reset when I first access the dev site that is running on top of JRUN? From 
what you say, that cannot be anything I am doing since it is done by the j2ee 
software.


 CFMX doesn't set the jsessionid cookie itself, it's set by the J2EE 
 application server. Setting CMFX to use J2EE session management means 
 CFMX session variables are stored in the J2EE HTTP session object (and 
 can thus be accessed through Java calls).
 
 Setting CFMX for J2EE session management on a shared host would 
 require some coordination, but seems feasible.
 
 best,
 Chris Norloff
 
 http://www.macromedia.com/support/coldfusion/ts/documents/tn18232.htm



~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185865
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: jsessionid cookies

2004-11-30 Thread Chris Norloff
CFMX doesn't set the jsessionid cookie itself, it's set by the J2EE application 
server. Setting CMFX to use J2EE session management means CFMX session 
variables are stored in the J2EE HTTP session object (and can thus be accessed 
through Java calls).

Setting CFMX for J2EE session management on a shared host would require some 
coordination, but seems feasible.

best,
Chris Norloff

http://www.macromedia.com/support/coldfusion/ts/documents/tn18232.htm



-- Original Message --
From: Nick Cabell [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:  Tue, 30 Nov 2004 11:26:20 -0800

I am running CFMX on my development XP machine and have turned OFF Use j2ee
session variables i.e. it is NOT checked
but a session cookie called jsessionid is still written (twice!) everytime I
enter the site from my browser. I have cleared out
all cookies and can see it being written as I enter the site.

I have 3 basic questions:

1. Is this possibly being used by CF to track the sessions (instead of the
CFID/CFTOKEN pair) even though I have said not to?
2. How can I turn it off?
3. My hosting company says they cannot use j2ee session variables on a
shared host since it would mess up those users
relying on CF session variables. Is this true?

If you know a place that clarifies this issue, please point me there.

Nick






~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185735
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: J2EE Sessions / session.urlToken

2004-10-13 Thread Chris Norloff
CFID/CFTOKEN are still used to identify client variables stored in the database.

Check the help on urlSessionFormat, I think there's a switch to turn off the token append.

best,
Chris Norloff

-- Original Message --
From: Jamie Jackson [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:Tue, 12 Oct 2004 17:10:33 -0400

I've got a couple questions about session.urlToken under J2EE
sessions:

When J2EE sessions are enabled, why does session.urlToken bother with
CFID/CFTOKEN anymore. The fact that both are there confuses me. I
wonder which takes precedence? Do I lose the extra security that the
uniqueness of jsessionID affords (i.e. can someone still hack the
CFID/CFTOKEN and hijack a session)?

Also, I'm using urlSessionFormat, and am getting the urltoken
appended, even with cookies turned on. Any suggestions as to how to
troubleshoot this?

Thanks,
Jamie


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CF4.5 to CFMX

2004-09-02 Thread Chris Norloff
We moved from CF 4.5 to CFMX for J2EE on WebSphere. The ColdFusion part was quite straight forward. The built-in code analyzer caught almost all of the changes between CF 4.5 and CFMX that affected our code (100 issues in 3,500 .cfm files).

There was only one other issue - a Developer put two of the same variable on a URL line. CF 4.5 reads just the second one. CFMX figures you meant what you said and you end up with a value whose value is value,value

Chris Norloff

-- Original Message --
From: Russ [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:Thu, 2 Sep 2004 01:31:05 -0400

My company's thinking about upgrading from CF 4.5 to CFMX.How much stuff
is likely to break, and is there a book/tutorial somewhere I can get?

 

Russ




 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CFMX 6.1 and cisco load balance

2004-08-31 Thread Chris Norloff
We use Cisco load balancing to our web servers, then WebSphere clustering to load balance across our application servers (CFMX running on WebSphere).

The Cisco is really invisible to our application - it handles everything in its own hardware/software.

I don't have any experience specifically with Cluster Cats.

Chris Norloff

-- Original Message --
From: Douglas Knudsen [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:Mon, 30 Aug 2004 15:43:02 -0400

Ok, anyone got some pointers for setting this up?I've been googling
around and looking at macr for abit.So much is about CF5 and
clustercats.ClusterCats still around?Should it be used?Have 2
webservers going to sit them behind one of those fance cisco load
balancers.

-- 
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Unresponsive threads

2004-01-19 Thread Chris Norloff
That's the Timeout requests after (seconds) [blank] setting in CF Admin

Chris Norloff

-- Original Message --
From: Marlon Moyer [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:Fri, 16 Jan 2004 12:28:32 -0600

I've been researching my logs and I'm finding a lot of lines like such:

 

A request exceeded the timeout. The unresponsive thread count is up to 1

 

My question is how long is the timeout for a thread to be considered
unresponsive?

 

--

marlon

 

And Bobby you are right, I am being selfish, but the last time I checked,
we don't have a whole lot of songs that feature the cowbell!

 

 




 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




J2EE datasources hidden from client var storage

2003-12-18 Thread Chris Norloff
I learned that J2EE datasources can be hidden if you try to designate them for client variable storage. (Bug no. 52639). Due to be fixed in the next upgrade to CFMX.

They're there; they verify in CFMX Admin  Data Sources, but they're not visible in CFMX Admin  Client Variables.

Workarounds:

1) manually edit the WEB-INF/cfusion/lib/neo-clientstore.xml file to designate a datasource for client variable storage. Keep a backup of that file!

2) create a separate CFMX-configured datasource for only client variables, and use the J2EE datasource for regular use.

Chris Norloff
CFMX v6.1 on WebSphere Application Server v5.0.2.1, Solaris 8, Oracle 91
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




rogue line prevented compilation; no error reported

2003-12-11 Thread Chris Norloff
Here's an interesting error we got that took a while to figure out. A file was being updated but was not displaying on the DEV server.

The problem was a rogue line, outside of the cfif statement - 
	cfelseif client.clt_permit_type EQ BR (see below)

That kept the file from being successfully compiled. CFMX used the previously existing .class file if one is there. If a .class file wasn't there, CFMX reported that it couldn't find the .cfm file.

'nother lesson learned,
Chris Norloff
CFMX 6.1 on WebSphere App Server v5.0.2.1, Solaris 8, Oracle 9i

	cfif NOT variables.isPeriodical
		!--- Get annual fees, plus BR monthly and quarterly ---
		cfset request.queryname = get_permitlist
		cfquery name=get_permitlist datasource=#request.DSN#
			SELECT 		p.permit_type as permit_type,
		p.fee_category as fee_category,
		p.fee_type_code as fee_type_code,
		c.code_desc as fee_description,
	 p.fee_amt as fee_amt,
	 p.fee_level as fee_level,
	 p.aic as aic
			FROMp_permit_fee_ref p, p_code_ref c
		 WHERE 		p.permit_type = '#client.clt_permit_type#'
			AND p.end_date IS NULL
			AND p.fee_type_code = c.code_name
			cfif client.clt_permit_type EQ PI
			AND p.fee_type_code  'IA'
			cfelseif client.clt_permit_type EQ BR
#PreserveSingleQuotes(variables.brtype)#
			/cfif
			AND c.code_grp = 'FC'
cfelseif client.clt_permit_type EQ BR
		ORDER BY 	c.code_order,p.fee_level, p.fee_type_code
		/cfquery
	/cfif
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: CFMX61 and Oracle 8.1.7

2003-11-12 Thread Chris Norloff
Should work fine. You do need to be sure you have updated drivers - I think 8.1.7.2 or newer. There's a TechNote on it.

Chris Norloff

-- Original Message --
From: Stacy Young [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:Wed, 12 Nov 2003 13:26:45 -0500

Anyone have any problems? We're on 8.1.6 with zero issues but DBAs are
upgrading us to 8.1.7 in the near future...and I know how sensitive
these jdbc drivers can be across versions.

Appreciate any input!

Stace



AVIS IMPORTANT:
--- 
Les informations contenues dans le present document et ses pieces jointes sont strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, distribution, copie, ou autre utilisation de ces informations est strictement prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait communiquer immediatement avec l'expediteur et detruire ce document sans en faire de copie sous quelque forme.

WARNING:
---
The information contained in this document and attachments is confidential and intended only for the person(s) named above. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution, or any other use of the information is strictly prohibited. If you have received this document by mistake, please notify the sender immediately and destroy this document and attachments without making any copy of any kind.


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




debugging turning itself off

2003-10-21 Thread Chris Norloff
Anybody experience debugging turning itself off when restarting CFMX or its Application Server?

The Enable Debugging checkbox just becomes unchecked.

Anybody? ... Bueller? ... Bueller?

thanks,
Chris Norloff
CFMX v6.1 for J2EE, WebSphere v5, Solaris 8, Oracle 9i


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: CFMX 6.1 and Oracle 9i

2003-10-10 Thread Chris Norloff
The open cursors error can be fixed by the cursors setting in the Oracle DB itself. Not sure how to do it myself, I just ask our DBA's. 
:-)

Chris Norloff

-- Original Message --
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:Tue, 7 Oct 2003 11:58:54 -0500

Error Executing Database Query.[Macromedia][Oracle JDBC Driver][Oracle]ORA-01000: maximum open cursors exceeded The specific sequence of files included or processed is

Wea re seeing the above in the CF error logs.We have only one app with about 50 users so far on this new box.The app is a simple online survey basically with a couple reports, nothing heavy at all.The box is Win2K with CFMX on JRun using the stock JDBC drivers.Anyone seeing this error???I did see this http://www.macromedia.com/support/coldfusion/ts/documents/tn17660.htm about some Oracle setting changes, but that doc is a little old it seems and was wondering if this is a new animal all together.

dugOUT¿ 
When I was kidnapped, my parents snapped into action.They rented out my room. -- Woody Allen


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




CFMX on WAS - datasources

2003-10-07 Thread Chris Norloff
For those dealing with CFMX on WebSphere - we learned that we needed to set up the datasource(s) as version 4 so CFMX would see them (they come through as J2EE datasources).

However, the Oracle 9i ROWID comes through differently depending if you use a CFMX datasource or a WAS datasource:

With CFMX datasource, we select rowid we get the following results, which we should get.
ROW_ID=AACcv7AANAAAY4DAAv
		
With WAS (v4) datasource we get the following result.
[EMAIL PROTECTED]

Quite a difference!

Chris Norloff
CFMX v6.1 on WebSphere AppServer 5.0.2.1, Oracle 9i, on Solaris 8


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




CFMX on 2nd instance of WebSphere?

2003-10-06 Thread Chris Norloff
Has anybody dealt with putting CFMX on a 2nd instance (on one machine) of WebSphere Application Server?

We're having some issues with CFMX admin mappings on the 2nd instance, and I'm wondering if WAS might be part of the problem.

The 2nd instance is strange to work with - to start and stop the server you go to its bin directory and run setCmdLine.sh then go to the bin directory of the first instance and run startServer. Not intuituvely obvious, shall we say ...

thanks,
Chris Norloff
CFMX v6.1 on WAS 5.0.2.1, Oracle 9i, Solaris 8


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Load testing CFMX6.1

2003-09-29 Thread Chris Norloff
Thanks, Stacy.

What drivers are you using, and to what database?

I ask because we're running CFMX on WebSphere with Oracle drivers and have been running into some slowness issues, and lately some problems connecting to the database.

thanks,
Chris Norloff

-- Original Message --
From: Stacy Young [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:Sun, 28 Sep 2003 22:30:16 -0400

We're prepping a cfmx cluster (cfmx on jrun4) of 2 severs to go live in
the near future. I'm currently load testing break and destroy scripts
on a single server to see our max capacity in the event one server goes
down.

I'm happy to report that @ 30 virtual users with an aggressive wait time
(meaning low)...cfmx just smiles and keeps on coming. :)

The application is very data intensive (reporting) so there's plenty of
file i/o (outputting csv files)...loads of database work etc. The
machine is also less powerful than our production boxes...and has 512
RAM. (Solaris 8)

I have to say I'm very relieved. This same app used to explode on CF5.
In fact, I can still browse the site with a very acceptable response
time!

Cheers,

Stace



AVIS IMPORTANT:
--- 
Les informations contenues dans le present document et ses pieces jointes sont strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, distribution, copie, ou autre utilisation de ces informations est strictement prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait communiquer immediatement avec l'expediteur et detruire ce document sans en faire de copie sous quelque forme.

WARNING:
---
The information contained in this document and attachments is confidential and intended only for the person(s) named above. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution, or any other use of the information is strictly prohibited. If you have received this document by mistake, please notify the sender immediately and destroy this document and attachments without making any copy of any kind.


 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



Re: JSESSIONID Bug??

2003-09-27 Thread Chris Norloff
Well, the jsessionid cookie should be there on the SECOND request from the browser, because it'll be put there when the server responds to the first browser request.And it's based on browser session - if any browser windows are open, thenon-persistent jsessionid cookie will still be there.hope this helps,Chris NorloffCFMX 6.1 (J2EE) on WebSphere, on Solaris, with Oracle-- Original Message --From: Tim Do [EMAIL PROTECTED]Reply-To: [EMAIL PROTECTED]Date:Thu, 25 Sep 2003 11:12:48 -0700Has anybody figured out why cf craps out when the I do a check for thejsessionid?From what I understand... this cookie is always there when anew browser is launched.I'm getting jsessionid is undefined error onoccassion (cookies are enabled).How is this possible? Thanks,Tim   
 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]



Re: ColdFusion MX 6.1 Caching

2003-09-24 Thread Chris Norloff
Could it be a proxy caching issue?  We had terrible troubles like this until we added 
this-

!--- disable proxy cache, allow browser cache ---
cfheader name=cache-control value=private

Chris Norloff


-- Original Message --
From: Jeff Houser [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:  Tue, 23 Sep 2003 15:52:18 -0400

Hi all,

 I upgraded a client machine to CFMX 6.1 this morning (from CFMX).  Now I'm having 
 some horrendous caching issues as described so eloquantly by someone else:

http://www.houseoffusion.com/cf_lists/index.cfm?method=messagesthreadid=26535forumid=4#133584
 

 I've cleared out the .class files manually.  I've restarted the CF Server.  I've 
 restarted IIS.  I've rebooted the machine.  I've renamed the file in question.  CF 
 still thinks it is there.  

 Anyone?  J e f f

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:138278
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


Re: Missing template handler (CFMX patch)

2003-09-24 Thread Chris Norloff
Have you tried entering different paths for the missing template handler in the 
CFadmin page?

I ask because the missing template handler path is based off the context root, but 
mappings are specified from the system root. I'm always forgetting which is which.

Doesn't make much sense, but that's the way our system works (CFMX 6.1 on WebSphere AS 
on Solaris)

Chris Norloff

-- Original Message --
From: Thomas Chiverton [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:  Wed, 24 Sep 2003 12:37:27 +0100

Following the recent MX patch for the referer cross site scripting problem, I 
thought it was about time I added a 'missing template handler' to one of our 
MX 6.1 j2EE installs.

But CF appears to be ignoring the setting and displaying the default error 
page.

Does anyone know what this might be releated to ? I have restarted the J2EE 
instance, and removed the normal cferror tags from our Application.cfm to 
no avail :-(

-- 
Tom Chiverton (sorry 'bout sig.)
Advanced ColdFusion Programmer

Tel: +44(0)1749 834997
email: [EMAIL PROTECTED]
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS. BA5 1AF
Tel: +44 (0)1749 834900
Fax: +44 (0)1749 834901
web: www.bluefinger.com
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple
Quay, BRISTOL. BS1 6EG.
*** This E-mail contains confidential information for the addressee
only. If you are not the intended recipient, please notify us
immediately. You should not use, disclose, distribute or copy this
communication if received in error. No binding contract will result from
this e-mail until such time as a written document is signed on behalf of
the company. BlueFinger Limited cannot accept responsibility for the
completeness or accuracy of this message as it has been transmitted over
public networks.***


~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:138279
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


pkg CFMX with other Java apps?

2003-08-14 Thread Chris Norloff
We need to package CFMX, the .cfm files of our application, and other Java 
applications all together. We're using CFMX v6.1 for J2EE, on Solaris 8, with 
WebSphere App Server v5.

MM tells us to just physically copy all parts of the other applications into the CFMX 
directory tree, but our folks would rather keep the design more modular. And not have 
to re-create all the dependencies of the existing applications.

Ideally, we could deploy the .war files of the various application parts, then package 
the entire business as one large .ear file.

Anybody know how to do that?
Or point me where to look?

thanks,
Chris Norloff


~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


Re: iPlanet CF Page Caching Problem

2003-07-15 Thread Chris Norloff
We ran into problems like that with iPlanet v4.1 SP5, but it was proxy caching that 
was causing the problem, not iPlanet caching.

Adding this cfheader in Application.cfm solved the problem:

!--- disable proxy cache, allow browser cache ---
cfheader name=cache-control value=private

Chris Norloff

-- Original Message --
From: Tim Haak [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:  Tue, 15 Jul 2003 10:44:03 -0400

Hello All,

We recently ran into a problem with ColdFusion loading the wrong CFM pages for 
different virtual servers hosted from the same machine.

The virtual servers are running on the same iPlanet 6.0 SP4 server.  All are using 
ColdFusion MX Enterprise (version 6,0,0,52311) on UNIX (Solaris 8).  We developed a 
web application which will be hosted from multiple virtual servers on the same box.  
All CFM page filenames are the same within the virtual severs and the code is 
identical (except a few changes in the Application.cfm for each).  Site #1 is located 
in:  /local/web/site1/ and site #2 is located in:  /local/web/site2/.

The index.cfm page for site #1 appears fine in the browser however when index.cfm 
for site #2 is loaded, the CF debugging information shows that all the CF pages (and 
those included from within index.cfm) were loaded from site #1's web root directory 
(instead of site #2's directory).  If I restart ColdFusion and bring up index.cfm 
for site #2, it loads fine.  Then, index.cfm on site #1 displays the CF pages for 
site #2 instead.

I think the problem is with CF's page caching but haven't been able to remedy it.  
Any ideas you can provide would be greatly appreciated.

Thanks,


Tim Haak

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: CF5 pegging at 100%

2003-06-20 Thread Chris Norloff
Here's things I like to check for hi cpu usage:

cpu usage at about 50%
- check for bad mail stuck in spool directory
- zero-byte mail
- mail with weird characters
- check if disk is full


-- Original Message --
From: Critz [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:  Wed, 18 Jun 2003 12:09:27 -0400

oi CF-Talk,!!

  are there anyways, I can debug what might be causing CF to peg at 100% ?

  (be easy on the shitty code comments :) )


  Crit


---
[This E-mail scanned for viruses by Declude Virus]


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Host with the leader in ColdFusion hosting. 
Voted #1 ColdFusion host by CF Developers. 
Offering shared and dedicated hosting options. 
www.cfxhosting.com/default.cfm?redirect=10481

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Duplicate URL parameters?

2003-06-07 Thread Chris Norloff
If you know which parameter you want, you can use ListFirst or ListLast. If you want 
both parameters, then they're already in a comma separated list for you (in CFMX)

Chris Norloff


-- Original Message --
From: Tony Schreiber [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:  Fri, 6 Jun 2003 16:36:01 -0400 (EDT)

That's cool, but doesn't work for the duplicate variable issues that I end
up with:

page.cfm?id=5value=5sort=4id=6 for example...

 Thanks, that's a neat idea!

 Chris Norloff

 -- Original Message --
 From: Ezine [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 Date:  Fri, 6 Jun 2003 14:23:55 -0400

 You can do a listfirst(formfield) to get the first one of the duplicated
 parameters.
 so if you have
 index.cfm?id=6id=5id=4
 
 Coldfusion MX will treat it like,Id=6,5,4
 
 and, listfirst will get the first item in the list, (6)
 
 Listfirst takes two parameters,   listfirst(list,Delimiters).  Delimiters
 is optional(if delimiters is not included, CFMX assumes a comma).
 
 -Zine
 
 -Original Message-
 From: Chris Norloff [mailto:[EMAIL PROTECTED]
 Sent: Friday, June 06, 2003 2:13 PM
 To: CF-Talk
 Subject: Duplicate URL parameters?
 
 
 We're moving from CF4.5 to CFMX (yay!).
 
 Unfortunately, our Developers have coded duplicate URL parameters, and CFMX
 treats them differently that CF 4.5 does.
 
 It would be nice to just filter out the dupes with a routine called from
 Application.cfm (at least until the Developers can catch up).
 
 Has anybody done this?  If I remove dupes from cgi.query_string and save
 cgi.query_string will CF read the query string correctly and get the URL
 parameters out of it?
 
 thanks,
 Chris Norloff
 
 
 
 
 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Trusted cache?

2003-06-06 Thread Chris Norloff
I tried an undocumented function to reload cached files but it didn't work for me (CF 
4.5 SP2, Solaris 8)

I *have* sneaked files into the Trusted Cache when we needed to on Production. Turn 
off the Trusted Cache in the CFadmin, then make a browser request to the new .cfm 
file. Then turn the Trusted Cache back on.

However, we deal with a lot of .cfm files (6,000+ in the application), a number of 
sites (4, in geographical separate areas), and support personnel who don't always 
follow our instructions.

Stop/start the CFserver after deploying files is almost always understood.

Chris Norloff



-- Original Message --
From: Philip Arnold [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:  Thu, 5 Jun 2003 13:07:38 +0100

 The docs are pretty thin on the Trusted cache option in CF5
 Admin but I found a Tech Note in MM saying it should be
 anabled on Production Servers.  Is this standard practice out
 there and, other than remembering to refresh when updating
 templates, are there any gotchas to be aware of?

You don't have to stop the whole server to refresh a page in Trusted
Cache

There are routines which allow you to tell the server to just refresh
one or more files

All you need to know is their exact location on the server's hard disk
and you can refresh

The code is available, but takes a little digging to find...





~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Duplicate URL parameters?

2003-06-06 Thread Chris Norloff
We're moving from CF4.5 to CFMX (yay!).

Unfortunately, our Developers have coded duplicate URL parameters, and CFMX treats 
them differently that CF 4.5 does.

It would be nice to just filter out the dupes with a routine called from 
Application.cfm (at least until the Developers can catch up).

Has anybody done this?  If I remove dupes from cgi.query_string and save 
cgi.query_string will CF read the query string correctly and get the URL parameters 
out of it?

thanks,
Chris Norloff


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Duplicate URL parameters?

2003-06-06 Thread Chris Norloff
Thanks, that's a neat idea!

Chris Norloff

-- Original Message --
From: Ezine [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:  Fri, 6 Jun 2003 14:23:55 -0400

You can do a listfirst(formfield) to get the first one of the duplicated
parameters.
so if you have
index.cfm?id=6id=5id=4

Coldfusion MX will treat it like,Id=6,5,4

and, listfirst will get the first item in the list, (6)

Listfirst takes two parameters,   listfirst(list,Delimiters).  Delimiters
is optional(if delimiters is not included, CFMX assumes a comma).

-Zine

-Original Message-
From: Chris Norloff [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2003 2:13 PM
To: CF-Talk
Subject: Duplicate URL parameters?


We're moving from CF4.5 to CFMX (yay!).

Unfortunately, our Developers have coded duplicate URL parameters, and CFMX
treats them differently that CF 4.5 does.

It would be nice to just filter out the dupes with a routine called from
Application.cfm (at least until the Developers can catch up).

Has anybody done this?  If I remove dupes from cgi.query_string and save
cgi.query_string will CF read the query string correctly and get the URL
parameters out of it?

thanks,
Chris Norloff




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: Trusted cache?

2003-06-05 Thread Chris Norloff
Be sure to stop/start the CFserver when you change any .cfm file, and make the Trusted 
Cache big - like 5 or 10 times the total size of your .cfm files.

It definitely helps response time on a Production server. 

Chris Norloff


-- Original Message --
From: Lofback, Chris [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:  Wed, 4 Jun 2003 13:14:02 -0400

The docs are pretty thin on the Trusted cache option in CF5 Admin but I found a 
Tech Note in MM saying it should be anabled on Production Servers.  Is this standard 
practice out there and, other than remembering to refresh when updating templates, 
are there any gotchas to be aware of?

Thanks,
Chris

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



multiple instances of CFMX [was: CF Server Mappings]

2003-04-04 Thread Chris Norloff
Strange.  Any idea why?  CFMX for J2EE is just an app in a container, so I'm surprised 
it isn't pretty straight forward to have two CFMX's on one machine.

Of course, I might be even MORE surprised if I can't do it when we get it ourselves.

thanks,
Chris Norloff


-- Original Message --
From: Thomas Chiverton [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
date: Fri, 4 Apr 2003 16:00:20 +0100

On Thursday 03 Apr 2003 16:00 pm, Chris Norloff wrote:
 Looking forward to our transition to CFMX for J2EE and multiple instances
 of CF!

Depends - we haven't be able to achive this with j2EE on WebLogic.

-- 
Tom C
Land of the free, home of the brave... you have to be brave to live there and 
enjoy the freedoms

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: multiple instances of CFMX [was: CF Server Mappings]

2003-04-04 Thread Chris Norloff
Thanks, that makes sense.  Though in our case we WANT to have two copies of the 
cfserver - so we can have two completely independent environments on one physical 
machine.

Chris Norloff

-- Original Message --
From: Barney Boisvert [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
date: Fri, 4 Apr 2003 08:55:04 -0800

You can put multiple CFMX's on one machine.  You can also put multiple
CFMX's on one J2EE server instance, as long as you use different context
paths.  However, unless you need the security that provides, I'd recommend
just using one, and have a two-part context path (to the CFMX server, and
then to the app's directory).  That way you don't need to have two copies of
the CF Server loaded in memory all the time.  In other words, rather than
this:

www.mydomain.com/cfapp1/
www.mydomain.com/cfapp2/

do this:

www.mydomain.com/cfmx/app1/
www.mydomain.com/cfmx/app2/



---
Barney Boisvert, Senior Development Engineer
AudienceCentral (formerly PIER System, Inc.)
[EMAIL PROTECTED]
voice : 360.756.8080 x12
fax   : 360.647.5351

www.audiencecentral.com

 -Original Message-
 From: Chris Norloff [mailto:[EMAIL PROTECTED]
 Sent: Friday, April 04, 2003 8:04 AM
 To: CF-Talk
 Subject: multiple instances of CFMX [was: CF Server Mappings]


 Strange.  Any idea why?  CFMX for J2EE is just an app in a
 container, so I'm surprised it isn't pretty straight forward to
 have two CFMX's on one machine.

 Of course, I might be even MORE surprised if I can't do it when
 we get it ourselves.

 thanks,
 Chris Norloff


 -- Original Message --
 From: Thomas Chiverton [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 date: Fri, 4 Apr 2003 16:00:20 +0100

 On Thursday 03 Apr 2003 16:00 pm, Chris Norloff wrote:
  Looking forward to our transition to CFMX for J2EE and
 multiple instances
  of CF!
 
 Depends - we haven't be able to achive this with j2EE on WebLogic.
 
 --
 Tom C
 Land of the free, home of the brave... you have to be brave to
 live there and
 enjoy the freedoms
 
 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: Run CF Studio 4 and 4.5 on same machine?

2003-04-04 Thread Chris Norloff
No, I don't think you can run both copies of CFserver on one physical machine. 

CFMX for J2EE is the first version of CF that can have more than one copy of the 
CFserver running on one physical machine.

Chris Norloff

-- Original Message --
From: Jim McAtee [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
date: Fri, 4 Apr 2003 11:42:22 -0700

I've been running CF Studio 4 for just about forever.  I recall trying 4.5 quite
a while ago and not particularly liking it, but I'd like to try it out again.

Can I run both on the same machine, so that I could uninstall one or the other
if I choose?  It would be easier than installing, uninstalling, reinstalling, if
I want to go back to 4.

Thanks,
Jim


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: Missing Template Handler in CFMX not working

2003-04-03 Thread Chris Norloff
My Missing Template Handler works okay (CFMX for J2EE (Update 3), JRun 4, Solaris 8).

I notice that there MUST be a mapping for the Missing Template Handler entry to take. 
The mapping points to an absolute address (complete path name). The Missing Template 
Handler entry begins with the mapping and includes the complete path name, including 
the filename.

HTH,
Chris Norloff

-- Original Message --
From: Cameron Childress [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
date: Thu, 3 Apr 2003 08:20:22 -0500

CFMX Linux UP2

I defined a missing template handler in the cfadmin, using a cfmapping for
the path - IE: /mysite/404.cfm.  I then deleted all the class files and
restarted cfusion (just for good measure).  Problem is, the missing temaplte
handler doesn't seem to be taking hold at all.  Has anyone else seen this
behavior?  anyone have the missing template handler functioning on their
CFMX server?

Seems to be a pretty basic functionality, and have seen a high number of
posts in the forums about it not working, but none seem to explain why
people are having problems with it.

-Cameron

-
Cameron Childress
Sumo Consulting Inc.
---
cell:  678-637-5072
aim:   cameroncf
email: [EMAIL PROTECTED]



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: CF Server Mappings

2003-04-03 Thread Chris Norloff
No answer that I know of - sure would like one!

We have multiple versions of our application on one machine, and CF 4.5 (like v5) can 
have only one instance of CF on one machine. So all our mappings, which are absolute, 
point only to one application version or the other.

We left the mappings for our error handling, which hardly changes. We use relative 
addresses for everything else.

Looking forward to our transition to CFMX for J2EE and multiple instances of CF!

Chris Norloff



-- Original Message --
From: Matt Kornguth [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
date: 03 Apr 2003 09:25:31 -0500

Think the answer to this is No, but worth a try:

We recently moved our development and staging sites onto the same physical server 
running CF 5.0. We are running into the situation where our CF server mappings are 
pointing to specific directories on EITHER dev or staging. So, when working on dev, 
we may have to change a file in a mapped directory on staging ... or vice versa. 

Anyone know of a way (without conditional coding) to have the same server mapping 
point to the correct mapped directory (i.e. dev when on dev, staging when on 
staging)? I know multiple instances of CF are not possible with 5.0, so any thoughts? 

Hope I conveyed the problem OK. Thanks for your help,
Matt Kornguth
BLR.com


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: Oracle CF5

2003-04-01 Thread Chris Norloff
I don't have any great ideas, but one thing I'd do is put the connectstring into the 
CFQUERY itself to see what happens.  If things go faster then the problem is in 
accessing the tnsnames.ora file. 

We had some problems during load testing CF4.5,SP2 and Oracle 8.1.7 where the problem 
was trying to access tnsnames.ora too often. Putting the connectstring info into the 
CFQUERY fixed that.

Also, I've heard of using sql trace/TKPROF to debug slow Oracle queries. I haven't 
used it myself, but info about it should be in the Oracle docs.

Chris Norloff


-- Original Message --
From: Simon Whittaker [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
date: Tue, 1 Apr 2003 10:54:49 +0100


Hi all,



I have a bit of a problem I wouldn't mind some help with - We are using CF5 and 
Oracle 8i(8.1.7.0.0) (using Native drivers) and our application is running REALLY 
slowly. We have tuned the queries as much as we see possible and cached wherever 
possible although the neature of the beast makes caching a bit of a pipe-dream. I 
have been doing some debugging and found that the first query of the page is taking a 
very long time:



getnews (Records=3, Time=2359ms)

SQL = 

SELECT news_id, headline

   FROMnews

   WHERE show = 1

   ORDER BY newsdate desc



These are not big records and the query is very fast if I perform it through SQLPLUS 
or TOAD (Oracle gui devlopment tool) - the rest of the queries on the page are then 
performed in regular time. 

A tnsping of the box produces:



Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=*REMOVEDHOSTNAME*)(PORT=1521))

OK (40 msec)



so the connection to the oracle instance itself seems to be a reasonable time.



Does anyone have any ideas that could help us out as it is starting to cause problems



Many Thanks



Simon










~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: CF 5 Oracle Best Pactices

2003-03-25 Thread Chris Norloff
We've used Oracle with CF 4.5 SP2 for a while - I'd recommend going with Oracle 8i 
(8.1.7) and native drivers. BTW, one of the 8.1.6 Oracle drivers (8.1.6.2 ?) has a 
memory leak.

Chris Norloff

-- Original Message --
From: Robert Shaw [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
date: Mon, 24 Mar 2003 16:25:39 -0500

I'm about to configure a CF 5 machine and was wondering if anyone knows the 
best version of Oracle to use with CF 5 - 8.0 vs 8.1.6 or 7 and if I should 
use native or ODBC. Any insight into best practices or experiences is 
appreciated - TIA!

Rob







~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



  1   2   3   4   >