Location of ColdFusion admin - coldfusion

We had an issue where the CF service went down, and a restart of the service did not come up, so we rebooted the machine. After the system reboot, the CF service came back up just fine, but we now have a nasty watermark on our PDF reports saying:
Adobe ColdFusion Developer/Trial Edition. Not for Production Use
We have the proper licenses, but cannot locate the CFIDE/Administrator anywhere on the webserver. Are we going about this incorrectly? Could the issue be something else?

Go to \ColdFusion11\cfusion\lib and locate license.properties. Open this file in notepad or wordpad and ensure that the ColdFusion 11 Serial number is there. If not, then please type in your license key (in front of sn= ) and Restart the ColdFusion services.

Enter the new license key on "System Information" page. It is on right side corner of cf admin page.

Related

Can't access oracle APEX page

I worked with Oracle apex and created some applications.
the access url was localhost:9090/apex/apex_admin
today I tried to change my book to work-group and changed the IP of my laptop and then restarted it, now I can't access the APEX environment any more although I restore my computer 3 day back but also no way.
note: when I enter this url: localhost in browser it opens IIS7 page.
Please who can help me I am in need to finish my work as soon as possible.
It seems like you should run some Oracle services.
Go to Windows + R (Run)
Write services.msc
Find OracleMTSRecoveryService and both services which are started by OracleOraDb11g.....
If it's disabled go to properties and change Startup Type to Automatic
Then run this services and refresh browser page.
Hope this will help. It worked for me

ColdFusion Site Keeps Crashing Every Day

I have a Windows Server 2008 with IIS 6. There are 5 ColdFusion 9 sites running on the server. There are 2 specific sites that keep crashing every day and I am not able to track down the cause of the crash. The site simply stops responding to any requests. At the time of crash the SQL server looks good (no deadlocks found).
In order to bring the site back online I just need to restart the ColdFusion server or IIS services. ColdFusion logs look good and there is no error found in the IIS logs of the site. There is enough space on the 'C' drive so that the logs can grow.
What else am I missing? Please help me to find the cause of crash.
If you are using apache server there might be location that was missing or wrongly declared. try to see the config or log files. if you are using IIS then there might be a connector problem. Try to create a new application pool

Connecting ColdFusion 8 to Oracle 11g with JDBC

I created a datasource from my ColdFusion 8 admin using JDBC/Oracle Thin Client. The datasource creation was successful.
When Oracle encryption is configured as "Requested" I can browse my ColdFusion app. and run many functionalities with no problem. But when the Oracle encryption is configured as "Required" the connection fails.
The way I tested and know that it was failed was when I log in to my web app. It won't log me in. But when the Oracle is switched back as "Requested" I can log in successfully and run my tasks.
I have ColdFusion 8 Enterprise version and the operating system is Unix.
From the network dept, I was told they have the correct JAR file in place but not sure what is the correct JAR file.
Currently my web apps are running with datasource created using Oracle Thin Clint but the Oracle encryption needs to be switched back to "Requested" otherwise my users are complaining that they can't log in.
Has anyone ever experienced this situation and found a solution?
What should I do so I can use Oracle encryption set to "Required"?
I believe you are looking for the ojdbc14.jar file in the ColdFusion8/wwwroot/WEB-INF/lib directory (this will work with 11g).
I would give Coldfusion a restart but it might not be unnecessary.
Navigate to your Coldfusion Administrator.
In the ColdFusion Administration under data sources. Add a new data source along with your credentials and choose Other from the Database driver options.
Then enter this: jdbc:oracle:thin:#10.10.10.11:1521:ORCL in the JDBC URL Textarea.
In the Driver Class textfield enter oracle.jdbc.OracleDriver.
If you need a different jar (not sure you will) but if you do you can down load it from here.
http://www.oracle.com/technetwork/indexes/downloads/index.html
Hope this is helpful or at least gets you further along.
Frank, Thank you for the answer but the java version running on my CF server is JAVA1.6 and the ojdbc.jar that's installed in there is ojdbc6.jar
Should the version of ojdbc.jar and java be the same? If I am already in the right track with my ojdbs.jar and java files then I'm back to square one
In addition, my further test using Oracle encryption as "Requested", I can run my apps. just fine except when my CF made a call to a str. procedure, it did not return a result. So I got CF error.
From me googling this issue, I found a blog that says this is a problem on CF standard version when using Oracle Thin Client. My CF is Enterprise edition.
I'm confused...is this related? how can I make this work?

Coldfusion 9 installation problem with IIS7

Windows web server 2008 R2 64 bit, CF9 64 bit, IIS7, ISAPI extensions and filters and II6 metabase compatability installed. OS is on C default, and trying to install CF to D:
Testing IIS and it shows index.html correctly from c:\inetpub\wwwroot at http://localhost/index.html
Then I install CF to D:\ , single standard server licence, select run with all IIS sites, select C:\inetpub\wwwroot as the web root for administrator, and when it gets to the bit where it is supposed to open up administrator to complete the installation it opens up the browser with a 500 error.
Now when I go back to http://localhost/index.html I also get a 500 error, if i uninstall CF I can again reach the html page.
CFIDE has been installed in C:\inetpub\wwwroot presumably correctly. Can anyone tell me where I'm going wrong please.
Update
The exact IIS error is
HTTP Error 500.0 - Internal Server Error
The page cannot be displayed because an internal server error has occurred.
Module IsapiModule
Notification ExecuteRequestHandler
Handler AboMapperCustom-28262
Error Code 0x800700c1
Requested URL http://127.0.0.1:80/test.htm
Physical Path C:\inetpub\wwwroot\test.htm
Logon Method Anonymous
Logon User Anonymous
Resolves as below
There is a setting Enable 32-Bit Applications under Application Pool>Advanced settings. Set this to True and you will gain access to your CFIDE>Administrator page.
I would suggest first trying a restart. It is one of those things that after the fact sounds so obvious, but you never think of it. I know I have had problems with installing CF under IIS and had to restart the server to get it running.
I'm humiliated to admit it, but the problem was that what I thought was the cf9 64 bit installer, was the 32 bit one.
# Dave and # CfSimplicity many thanks for your help and in particular the IIS user account stuff was new learning for me.
Try checking the file system permissions for this folder:
D:\ColdFusion9\runtime\lib\wsconfig
The account that IIS uses needs Read, Execute and Modify permissions on this folder and below.
It might be because of two problems.
1) you haven't installed CGI, ISAPI extensions and ISAPI filters aren't installed yet in Web Server (IIS) of Server manager.
Window 2008 R2 with Coldfusion
2) you need to enable 32 bit application at IIS7.
Internal 500 error CF9 on Window 2008
I tried a different approach with my Windows 7 Home Premium - See http://coldfusioner.blogspot.com/2011/12/fix-number-1-installing-64-bit.html
It seems that I was successful by using the IIS Connector batch scripts manually and then to create a second default web site after installing the handlers. My article link above shows the steps I took - a very raw article and will likely be refined as I hear from others how they adapted my approach. The important thing is that this worked ;>) I hope it helps others...
The problem could be that your Application Pool that is part of your default website. It is possible to set it to run 32 bit applications. Try setting the Enable32bit to false in the defaultapppool of your IIS server, restart the app pool and your www service itself. Then try to use the ColdFusion wsconfig tool to add the IIS mapping. It should work even without the cf 9 updater 1 being installed on the server.
​To avoid a 500 error when accessing the Administration console for the first time when installaing ColdFusion 9 on a Windows 2008 server with IIS 7.5 installed, include the "IIS_IUSRS" user group with "Full Control" to the \Lib\wsconfig folder in Enterprise server or \runtime\lib\wsconfig folder in Standard server. Before starting the ColdFusion install, make sure the "IIS 6 Management Compatibility" functions are installed, especially the "IIS 6 Metabase Compatibility" function.
Assuming that you use the default installation paths (C:\JRun4 for Enterprise or C:\ColdFusion9 for Standard), here is a step-by-step approach:
Begin the ColdFusion installer as an Administrator. At the completion of the initial installation process, but before accessing the online Administration console, do the following:
1.) At the Start Menu, select "Computer"
2.) In the Enterprise install, go to C:\JRun4\lib. For the Standard install, go to C:\ColdFusion9\runtime\lib.
3.) Right-click "wsconfig" and select "Properties" to open the wsconfig properties dialog box.
4.) Click the "Security" tab.
5.) Click "Edit" to change permissions for that folder.
6.) Click "Add..." to add a new user/group.
7.) Enter "IIS_IUSRS" in the Object name field and click OK to return to the Permissions dialog box.
8.) In the permissions dialog box, ensure that the "IIS_IUSRS" group is highlighted and click "Full Control" in the "Allow" column, then click "OK" to close the dialog box. Ensure that the permissions change will affect all files and folders under wsconfig.
9.) Click "OK" to close the wsconfig properties box.
Return to the ColdFusion installer wizard and continue the installation by clicking the open ColdFusion Administrator link. If the settings are correct, after a minute or two, a web browser with the ColdFusion Administrator Console should appear so you can complete the installation.

Accessing scripts inside IIS virtual directory

I have an IIS 6 server with a virtual directory pointing to a network share on another machine. That web server also serves ColdFusion scripts. When I access regular HTML pages that reside in the virtual directory, they are served properly. Anytime I try to get to a ColdFusion script, however, ColdFusion throws a "File not Found" error.
Am I missing a step? Is there something else that I have to do in ColdFusion to tell it where the files in that virtual directory actually exist?
This sounds like you may need to alter the permissions that ColdFusion runs under and that right now it does not have sufficient permissions to access the network share.
To change the permissions or user CF runs under:
Open Services
Find the CF Service (depending on your version it might start with Macromedia...)
Right Click, Open Properties
Click on Log On
Then either change the account it logs on as or change the permissions for the current user.
Click OK, Apply, etc...
I'm pretty sure you will have to bounce the CF Service.