Quantcast
Channel: Adobe Community : Popular Discussions - ColdFusion Server Administration
Viewing all 78799 articles
Browse latest View live

Bind ColdFusion instance to a single IP?

$
0
0

I'm working on migrating our servers to a new IP range (exists on a new network) so I added a 2nd virtual network line that I then added the new IPs to.  We run multiple websites on one CF9 install using multiple IPs on Windows 2008 R2 using IIS 7.5 as the web server. I'm currently working with our development server to test the process before moving to the various production ones.

 

Previous Behavior - ColdFusion would bind itself to the root IP of the system when there was only one network card even if it had multiple IPs.  This was useful because we could get a static IP mapping to that internal IP so any outbound calls off network to external resources (FTP, SQL, etc) could be permitted by that single IP.  This has worked for 5+ years of CFMX/CF7/CF8/CF9.

 

New Behavior - After adding the extra network line, adding IPs to it, and rebooting the machine ColdFusion now has chosen one of the various IPs on the new interface to bind to.  The IP it bound to was not even the root IP of that network card.  This resulted in all outbound calls now being blocked because they were no longer coming from the particular IP they were originally coming from.

 

Question - How can I bind ColdFusion 8/9 to a single specific IP when it starts up so that I can ensure it always communicates outbound on the same IP?  I've done a bunch of searching and looking into the various files of CF itself but I haven't found a good resource or answer on how to specifically do this.


CF10 Install Kaput

$
0
0

CF10 Standard Edition 64 bit, Windows 2012, IIS 8. Initially I installed the CF10 before moving the CF8 sites to the new server. I added the IIS and DNS records manually ahead of moving the site files to minimize downtime. Done this before. Lots of 404 Page not Found errors until we learned that every domain needed a virtual directory for CFIDE and jakarta. A few of the domains started to take shape, but eventually the CF Admin went blank. No error, no login - gone.

 

This morning I uninstalled and reinstalled CF10 and noted that all of the IIS entries had the virtual directory mapping included if they hadn't alreaday. But still no CFAdmin, which makes everything else kind of pointless. Instead of going forward, we punted and reactivated the old server where the CF8 chugging along which keeps my clients happy. Because I cannot login to the CFAdmin, I cannot tell you  the build version was but I did purchase it on April 3rd and downloaded it the same day so I'd hope the install exe was the latest and greatest.

 

I found very little posted online for troubleshooting CF10 & Windows 2012. An abundance of Windows 2008 and CF9, but not having much experience with either I couldn't know for sure what was relevant or not. The CGI and ASAPI had to be available on the new server or CF10 would not install and I spent lots of time checking those this morning as it seemed to be part of the solution to many past postings on various sites.

 

What to do? Get a refund on the CF10? Anyone out there that married CF10 and Windows 2012 experience and remedy anything similar? Anyone tried CF9 on Windows 2012?

 

As always, all help is appreciated.

 

Tim

CF10 with Java 8

$
0
0

Hello,

 

Has anyone else tried to use CF with Java 8 preview? If you have tried Java 8 preview have you noticed anything interesting?

 

Something to share. Java 8 uses memory differently to Java 7 or 6 (reminder Java 6 is EOL). The non heap memory Permanent generation has been done away with and is now consumed in a new memory space called Metaspace. I guess that will mean CF folks will not see the dreaded “java.lang.OutOfMemoryError: PermGen space” in coldfusion-out.log anymore.


For interested readers here is my CF10 Summary part:

 

Server Settings > Settings Summary

System Information  
 
Server Product  ColdFusion 
Version  ColdFusion 10,284825 
Operating System  Windows 7   
OS Version  6.1   
Update Level  /C:/ColdFusion10/cfusion/lib/updates/chf10000010.jar   
Adobe Driver Version  4.1 (Build 0001)   

JVM Details

 

Java Version  1.8.0-ea   
Java Vendor  Oracle Corporation   
Java Vendor URL  http://java.oracle.com/   
Java Home  C:\Program Files\Java\jdk1.8.0\jre   
Java File Encoding  Cp1252   
Java Default Locale  en_AU   
User Dir  C:\ColdFusion10\cfusion\bin   
Java VM Specification Version  1.8   
Java VM Specification Vendor  Oracle Corporation   
Java VM Specification Name  Java Virtual Machine Specification   
Java VM Version  25.0-b48   
Java VM Vendor  Oracle Corporation   
Java VM Name  Java HotSpot(TM) Server VM   
Java Specification Version  1.8   
Java Specification Vendor  Oracle Corporation   
Java Specification Name  Java Platform API Specification   
Java Class Version  52.0   

 

For those more curious about Java memory heap, non heap spaces and garbage collection here is a portion of CF10 verbose Java 8 log:


{Heap before GC invocations=25 (full 11):
PSYoungGen      total 116736K, used 58624K [0x25840000, 0x30300000, 0x30300000)
  eden space 58624K, 100% used [0x25840000,0x29180000,0x29180000)
  from space 58112K, 0% used [0x2ca40000,0x2ca40000,0x30300000)
  to   space 58112K, 0% used [0x29180000,0x29180000,0x2ca40000)
ParOldGen       total 349440K, used 349401K [0x10300000, 0x25840000, 0x25840000)
  object space 349440K, 99% used [0x10300000,0x258364e0,0x25840000)
Metaspace total 39432K, used 38121K, reserved 11104K
  data space     39432K, used 38121K, reserved 11104K
545.052: [Full GC (Ergonomics) [PSYoungGen: 58624K->0K(116736K)] [ParOldGen: 349401K->38999K(276992K)] 408025K->38999K(393728K), [Metaspace: 38121K->38111K(11104K)], 0.2856262 secs] [Times: user=0.45 sys=0.00, real=0.29 secs]
Heap after GC invocations=25 (full 11):
PSYoungGen      total 116736K, used 0K [0x25840000, 0x30300000, 0x30300000)
  eden space 58624K, 0% used [0x25840000,0x25840000,0x29180000)
  from space 58112K, 0% used [0x2ca40000,0x2ca40000,0x30300000)
  to   space 58112K, 0% used [0x29180000,0x29180000,0x2ca40000)
ParOldGen       total 276992K, used 38999K [0x10300000, 0x21180000, 0x25840000)
  object space 276992K, 14% used [0x10300000,0x12915c00,0x21180000)
Metaspace total 39418K, used 38111K, reserved 11104K
  data space     39418K, used 38111K, reserved 11104K
}

 

To have something to compare switching CF10 back to Java 7 with no other JVM alterations verbose log portion for similar usage says:

 

{Heap before GC invocations=24 (full 9):
PSYoungGen      total 116480K, used 65026K [0x1d360000, 0x27e00000, 0x27e00000)
  eden space 58240K, 100% used [0x1d360000,0x20c40000,0x20c40000)
  from space 58240K, 11% used [0x24520000,0x24bc09b8,0x27e00000)
  to   space 58240K, 0% used [0x20c40000,0x20c40000,0x24520000)
PSOldGen        total 205184K, used 35647K [0x07e00000, 0x14660000, 0x1d360000)
  object space 205184K, 17% used [0x07e00000,0x0a0cfc90,0x14660000)
PSPermGen       total 58880K, used 45819K [0x03e00000, 0x07780000, 0x07e00000)
  object space 58880K, 77% used [0x03e00000,0x06abec70,0x07780000)
530.568: [GC [PSYoungGen: 65026K->5223K(116480K)] 100673K->45573K(321664K), 0.0220773 secs] [Times: user=0.05 sys=0.00, real=0.02 secs]
Heap after GC invocations=24 (full 9):
PSYoungGen      total 116480K, used 5223K [0x1d360000, 0x27e00000, 0x27e00000)
  eden space 58240K, 0% used [0x1d360000,0x1d360000,0x20c40000)
  from space 58240K, 8% used [0x20c40000,0x21159d78,0x24520000)
  to   space 58240K, 0% used [0x24520000,0x24520000,0x27e00000)
PSOldGen        total 205184K, used 40350K [0x07e00000, 0x14660000, 0x1d360000)
  object space 205184K, 19% used [0x07e00000,0x0a567a60,0x14660000)
PSPermGen       total 58880K, used 45819K [0x03e00000, 0x07780000, 0x07e00000)
  object space 58880K, 77% used [0x03e00000,0x06abec70,0x07780000)
}

 

I should add Java 8 is preview and not officially support by Adobe CF so do not install it on your CF production or any environment that you rely on.

 

Java 8 release is expected March 2014. That might seem a long way off but like the previous Java 7 release can creep up on you rather quickly.

 

Regards, Carl.


Frustration: Cannot "edit" Solr collections?

$
0
0

Hello, everyone.

 

When Solr collections were first introduced in ColdFusion Server, the one thing that really irritated me was the fact that you cannot edit a Solr collection (ie, when you click on a collection in CFAdmin, you are given a default template with ".htm, .html, .cfm, .cfml" as the documents to index - you can't see what's currently there and add/remove anything.)

 

I thought I had heard (guess they were rumours) that CF10 was supposed to give you the ability to alter the index.  I'm running CF10, and it's the same as CF9 - clicking a collection gives default options, not the ability to add/remove document extensions.

 

Is there a fix for this??  We have collections that were originally created a long time ago that were not documented what they are supposed to be indexing, and we have no idea of what to do if we need to change something.

 

V/r,

 

^_^

Import Exchange cert into JVM for CF10

$
0
0

Hello, everyone.

 

I'm trying to learn the CFEXCHANGECONNECTION and CFEXCHANGECONTACT tags, and I'm having a bit of an issue.

 

When I first started playing around with it, I was getting error messages that the connection couldn't be formed because the Exchange server only accepts https connections, so I set the protocol to https.

 

Then I was getting an error message regarding the "cert not installed in CF server", so I managed to get a copy of the SSL cert (DER format .cer file) and followed instructions on how to import it into the JVM that CF uses.

 

I'm still getting the error saying that the cert isn't installed in CF server.  Any suggestions?

 

V/r,

 

^_^

Cold Fusion Administrator CFX tag registration.

$
0
0

I am getting the below error message while registring the CFX tags. I am using Windows 2008 R2 datacenter With Service Pack1.  After clicking on REgister C++ tags button I am getting below error message.

 

"You must configure your application server to enable native CFX support. For instructions, see "Configuring ColdFusion" in the "Configuring and Administering ColdFusion" book for your application server. "

Java Heap Size Recommendation Request

$
0
0

Looking for suggestions on tuning. Running CF10 update 13 on a 64 bit server with 8 GB RAM, running into memory issues (I suspect). JVM is only set to 256 / 512 right now, so I'm going to increase it. CF and a handful of sites is pretty much all this server does.

Suggestions on what I should set this to now? We seem to be under 50% memory usage at the present time (right now 3.44GB), and CPU is 0-2%.

Hi All, i need ColdFusion MX 7 for Linux(coldfusion-701-lin.bin)

$
0
0

Well i know there are similar thread's opened in past but i felt they are pretty old to be opened again.

Guys feel free to inbox me in case you have some inputs, i would appreciate it.

Thanks in Advance


CF11 and ODBC socket DSN creation error

$
0
0

I recently installed CF11 (Enterprise in Trial mode) on a new Server 2012 R2 system. I have an ERP application that uses a Progress database. I installed the vendor specific 64bit ODBC driver (Progress OpenEdge 10.2B) and configured it in the 64bit ODBC Data Source Mgr on the server. I tested the connection from within the Data Source Mgr and it was successful. When I attempt to create a DSN in CF11 though the vendor specific driver does not appear in the dropdown list. I tried to create a DSN using "ODBC Socket" and filled in the same "Data Source Name" as that used in the OS's Data Source Mgr, but after a minute or so this error appears, "The ColdFusion ODBC Server service is not running or has not been installed." I confirmed that the CF11 ODBC Server and Agent services are running on this server so I am not sure why this error is claiming otherwise.

 

I would greatly appreciate any assistance on this. I was able to create a MS SQL DSN in CF11 with no problem, so at least some are working.

 

Thanks,

Kevin

CF 11, IIS 8 slowdowns

$
0
0

Hello all-

 

I've got a brand-new CF 11 install running on Windows Server 2012 R2 and IIS 8.

 

The server runs great...most of the time.  But there are many times when you hit a page and it sits...and sits...maybe for 10 seconds or so, then it spits the page out.  Then I'll hit 10 pages in a row that are delivered instantly, then we wait again.

 

Additionally, while using CF Builder 3, I have problems where the program won't accept any text input for a few seconds.  I'm typing along and everything is jim dandy, then it freezes for 5 seconds or so...then I can type again.

 

I feel like these problems are related- it's just like the server freezes up for a bit.

 

Last thing- when I go onto the site the first time in the morning, I *always* need to wait about 10 seconds for the first page to load.  That is the most consistent problem.

 

Any ideas on what can be causing this slowdown?

 

Thanks- Karl

Ideal Apache version for ColdFusion10

$
0
0

Hi,

 

I am going rebuild the fresh high performance server.

 

OS: Solaris 10 (64 Bit )

 

Can you suggest, which version of Apache is ideal for Coldfusion10 installation.

 

Thanks,

Paul.

After installing CF 11 and entering admin password, i get "Bad Request! - Your browser (or proxy) sent a request that this server could not understand. Jakarta/ISAPI/isapi_redirector/1.2.37"

$
0
0

Has anyone had this issue? How would I go about fixing it?

Does CF8 install Windows Server 2012

$
0
0

We are looking at an upgrade to am existing server that is running CF8 at the moment on Windows Server 2008 R2.

 

If we upgrade windows server 2012 will CF8 run/install?

Cannot access ColdFusion 9 Admin after domain admin password change

$
0
0

Hi,

 

We have a CF 9 multiserver setup that's been running quite nicely for the past year. Recently, a domain admin password changed cocked up our IIS, which we got working by changing the admin passwords for each app pool within IIS 7.

 

Since then, though, I can't access the main CF Admin page, which gives a 404. I can access the admin pages for the multiple sites by visiting the internal IP of the server and specifying a port (192.168.xxx.xxx:8301, 192.168.xxx.xxx:8302, etc), but if I try and do this for the main CF Admin site (port 8300) again, I get a 404.

 

The guy who set our server up is long gone, and although I know enough about CF to keep things running, this has got me stumped.

 

I'm convinced the problem lies with IIS, but I was wondering if anyone here has any experience of such a problem?

question on Coldfusion Administrator/instances

$
0
0

Hello I have setup CF10 Enterprise on several sandboxes , each of these sandboxes have been configured with several ColdFusion instances which are of course tied together with IIS using the tomcat java connector.  

My question is if I make a change on the main CF Administrator page (http://127.0.0.1/CFIDE/administrator/) with a specific setting does it propagate to all of the instances I have created?   

 

Do I have to go into each instances specific CF admin page( http://<instance>/CFIDE/administrator/) and make a setting change for it to show up when loading up that CF page?


lost /opt/jrun4/lib/wsconfig/1/jrunserver.store

$
0
0
We have 3 identical CF8 servers and only one is complaining:
[Mon Apr 7 15:44:22 2008] [notice] jrApache[15779:43727] could not open "/opt/jrun4/lib/wsconfig/1/jrunserver.store": Permission denied
[Mon Apr 7 15:48:30 2008] [notice] jrApache[15780:43749] JRun closed connection. [6] dropped while sending command
[Mon Apr 7 15:48:30 2008] [notice] jrApache[15780:43749] could not initialize proxy for 127.0.0.1:51020
[Mon Apr 7 15:48:30 2008] [notice] jrApache[15780:43749] could not open serverstore "/opt/jrun4/lib/wsconfig/1/jrunserver.store": No such file or directory
[Mon Apr 7 15:48:30 2008] [notice] jrApache[15780:43749] Couldn't initialize from remote server, JRun server(s) probably down.
[Mon Apr 7 15:48:30 2008] [notice] jrApache[15839:44245] JRun closed connection. [5] dropped while sending command

"No such file or directory" makes no sense since the directory exists on all 3 servers but jrunserver.store does not exists on any of them!

java update 1.7.0_21 deleted jrunsvc.exe. what replaces it?

$
0
0

I have CF 9.0.0.0 and tried to update from java 1.6.0_14 to java 1.7.0_21 at the request of my security department.  CF 9 Application Server used to run with "C:\ColdFusion9\runtime\bin\jrunsvc.exe" but now there's no jrunsvc.exe on the system.  What replaced jrunsvc.exe or was the error mine in trying to update java?

 

thanks,

Bob

Win7 x64 + IIS + CF9 - run a .cfm file from browser

$
0
0

Is it possible to have everything setup so, as the computer user can dbl-click on a .cfm file from windows eg. index.cfm and have it display correctly in the browser ?

 

At present, clicking on a .cfm file causes Dreamweaver to load and display it.

 

Dreamweaver can then go on to display the file in the configured browser.

CF10: Switched from Tomcat webserver to Apache2 - now cannot access ColdFusion Collections

$
0
0

Hello, everyone,

 

I've been pulling my hair out for a few days, over this.  Cannot understand what is going on.

 

With the help of our SA, I copied/pasted a working Apache Server onto my DEV harddrive, updated my system to JDK 7.55, and followed instructions on turning off the Tomcat server that comes with CF10.

 

The Apache server is working, serving up CFM pages as it should; CFAdmin is accessing ALMOST everything, as it should.

 

When I click on "ColdFusion Collections", instead of seeing my Solr collections, I get an error message:

Security: The requested template has been denied access to localhost:0

The following is the internal exception message: access denied

("java.net.SocketPermission" "localhost:0" "listen,resolve")

 

Our SA doesn't know what's happening, either, and I think I've wasted enough of his time.  Everything else works great!  Pages load SO much faster, under Apache.  But this issue with collections is going to be a problem.

 

Anyone have any ideas?

 

V/r,

 

^_^

cgi variable remote_user is blank with CF10

$
0
0

I have read a lot of posts about this but have not found a resolution. We have several CF apps that depend on knowing  who was authenticated.

With CF8 all we had to do was setup basic authentication in Apache and remote_user was populated.

 

Out setup is this,

Where running on RHEL 6.3, CF10 installed using the built in webserver and Tomcat.

We are using Apache 2.2 to simply proxy requests to CF/Tomcat and using LDAP to authenticate. The LDAP part seems to be working. I get asked for userid/password and the app runs, but when I dump the cgi structure remote_user (and auth_user) are empy. Other cgi variables are filled in.

 

Any clues?

As usual thanks for your help.

Mike

Viewing all 78799 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>