Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Cant Access CFadmin with Apache2.2

Participant ,
Oct 14, 2007 Oct 14, 2007
CAN SOMEONE PLEASE HELP ME OUT HERE?

Please can someone tell me what to do in order for me to access the CFMX7 admin. this is what i can tel you so far:

My conf file is located here:
C:\Program Files\Apache Software Foundation\Apache2.2\conf

the CFIDE file is located here:
C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\CFIDE

my CF server files are located here:
C:\JRun4

my CF install details are:
CFMX7 (enterprice edition) installed with multi server support.

I admit i'm a novice so please explain any suggestions very simply. I could really do with some help here 😞 Ive read all kinds of conflicting instructions online, and most of which have confused me.

one thing i am concerned/confused about is that most of what i have read mentions a file called:
JRunConfig Serverstore "C:/JRun4/lib/wsconfig/1/ jrunserver.store"

the jrunserver.store file simply does not exist on my system!???
TOPICS
Getting started
2.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Participant , Oct 16, 2007 Oct 16, 2007
.RIGHT THATS IT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

I HAVE GIVEN UP

or have i?........

to finish this very long thread off - i uninstalled CF and Apache 2.2 and removed all evidence of them being on my system.

then...

i reinstalled CF (single server version) then i installed apache 1.3.39 and guess what - it all works.

i don’t know why it works, i don’t know why i even thought to try it and i don’t care why either. it work...
Translate
LEGEND ,
Oct 16, 2007 Oct 16, 2007
Yes I saw your reply about the servername and network, but can't help there.

See this post:

http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=2&threadid=1191527&CFID=10989581

Particularly this one:

Ok, here is the solution that worked for me. In italics I'll put the notes version, and In bold I'll put the actual commands that I
ran with the output generated.

NOTE: {cf_root} = C:\YourColdFusionLocation\
(Mine was D:\ColdFusionMX7 (as I used to use this on linux and I like this format)

Also NOTE: {apache_path} = C:\Apache Software Foundation
(Mine was D:\Apache Software Foundation [I use C:\ for Windows and D:\ for data etc])

cd {cf_root}\runtime\jre\bin
(I have ran the coldfusion installer and the wsconfig was generated with a Jrun config of the "bad" non-working version of
wsconfig.jar, note: get the new version of wsconfig.jar before moving forward with this procedure!)

EDIT: ColdfusionMX must be running for this procedure to work.

java -jar {cf_root}\runtime\lib\wsconfig.jar -remove -ws Apache -dir "{apache_path}\Apache2.2\conf" -v
(this removes the Jrun config from Apache config files etc)

java -Dtrace.ci=1 -jar {cf_root}\runtime\lib\wsconfig.jar -server coldfusion -ws apache -dir "{apache_path}\Apache2.2\conf" -bin
"{apache_path}\Apache2.2\bin\httpd.exe" -coldfusion -v
(this creates the new Jrun connector and configures your httpd.conf again)


OK Here is my "REAL" commands and the output generated.


D:\ColdFusionMX7\runtime\jre\bin>java -jar D:\ColdFusionMX7\runtime\lib\wsconfig
.jar -remove -ws Apache -dir "d:\Apache Software Foundation\Apache2.2\conf" -v

The output was as follows:


Created file D:\ColdFusionMX7\runtime\lib\wsconfig\jrunwin32.dll
Could not find file D:\Apache Software Foundation\Apache2.2\apache.exe
Could not find file D:\Apache Software Foundation\Apache2.2\bin\apache.exe
Using Apache binary D:\Apache Software Foundation\Apache2.2\bin\httpd.exe
Parsing Apache configuration file D:\Apache Software Foundation\Apache2.2\conf\h
ttpd.conf
Wrote file D:\Apache Software Foundation\Apache2.2\conf\httpd.conf
Removed JRun configuration from Apache configuration file D:\Apache Software Fou
ndation\Apache2.2\conf\httpd.conf
Stopped Apache2.2 service
Deleted directory D:\ColdFusionMX7\runtime\lib\wsconfig\1
Wrote file D:\ColdFusionMX7\runtime\lib\wsconfig\wsconfig.properties
Started Apache2.2 service
The Apache connector was removed from "D:\Apache Software Foundation\Apache2.2\c
onf"

Now we re-create the Jrun connector by running this:

D:\ColdFusionMX7\runtime\jre\bin>java -Dtrace.ci=1 -jar D:\ColdFusionMX7\runtime\lib\wsconfig.jar -server coldfusion -ws apache -dir
"D:\Apache Software Foundation\Apache2.2\conf" -bin "D:\Apache Software Foundation\Apache2.2\bin\httpd.exe" -coldfusion -v

And the output was as follows:


Macromedia JRun 4.0 (Build 107948)
os.name: Windows 2003
os.version: 5.2
os.arch: x86
platform: intel-win
Extracting resource connectors/installers/intel-win/prebuilt/jrunwin32.dll
file defaulted
last modification date: Thu Apr 06 13:07:04 PDT 2006
size/compressed size: 73728/26315
to D:\ColdFusionMX7\runtime\lib\wsconfig\jrunwin32.dll
Created file D:\ColdFusionMX7\runtime\lib\wsconfig\jrunwin32.dll
findServers(): found server coldfusion at 127.0.0.1:2920
Found JRun server coldfusion at 127.0.0.1:2920
this host is safehaven:192.168.20.7
web server: Apache
web server directory: D:/Apache Software Foundation/Apache2.2/conf
verbose connector logging: false
apialloc: false
force resource extract from jar: true
CFMX: true
mappings: .jsp,.jws,.cfm,.cfml,.cfc,.cfr,.cfswf
filter mapping prefix: false
Using Apache binary "D:\Apache Software Foundation\Apache2.2\bin\httpd.exe"
Server version: Apache/2.2.3
Apache 2.2.3 is recognized
isValidVersion(): Apache is 2.2.3
Compiled in modules:
core.c
mod_win32.c
mpm_winnt.c
http_core.c
mod_so.c
Parsing Apache configuration file D:\Apache Software Foundation\Apache2.2\conf\h
ttpd.conf
Extracting resource connectors/apache/intel-win/prebuilt/mod_jrun22.so
file defaulted
last modification date: Thu Apr 06 13:07:04 PDT 2006
size/compressed size: 65536/25836
to D:\ColdFusionMX7\runtime\lib\wsconfig\1\mod_jrun22.so
Created file D:\ColdFusionMX7\runtime\lib\wsconfig\1\mod_jrun22.so
getProxyServerUrl(): 127.0.0.1:51011
Wrote file D:\Apache Software Foundation\Apache2.2\conf\httpd.conf
Added JRun configuration to Apache configuration file D:\Apache Software Foundat
ion\Apache2.2\conf\httpd.conf
Created file D:\ColdFusionMX7\runtime\lib\wsconfig\1\README.txt
Wrote file D:\ColdFusionMX7\runtime\lib\wsconfig\wsconfig.properties
Error stopping service. The web server must be restarted to complete this oper
ation.

IMPORTANT FINAL NOTES:

In the command I excluded the "- service SERVICENAME" (for use with windows) because it didnt work at all. So at this point you have
to MANUALLY restart Apache Service (through your Service panel, or start menu, whatever you feel like".

You should now be able to go to your IE and configure Coldfusion.

http://localhost/CFIDE/administrator/



ANOTHER IMPORTANT NOTE:

IN THE INSTRUCTIONS PROVIDED BY ADOBE IT STATES

cd {cf_root}/runtime/lib
java -Dtrace.ci=1 -jar wsconfig.jar -server coldfusion -ws apache
-dir /opt/apache22/conf
-bin /opt/apache22/bin/httpd
-script /opt/apache22/bin/apachectl
-coldfusion -v
[-apxs]

First of all [-axps] is meant to be -axps without the brackets.. but it doesnt work anyhow, so just ignore it.

Secondly, the -script is SPECIFICALLY UNIX / LINUX. The proper command would be -service SERVICENAME, but I tried this also
using -service Apache2.2 (that was the service name in my Windows SERVICES console) but that didnt work either. So just ignore that
crap, and run the commands like I did and hopefully it will work for you.

Thanks, and good luck.



--
Ken Ford
Adobe Community Expert - Dreamweaver
Fordwebs, LLC
http://www.fordwebs.com


"zac1234" <webforumsuser@macromedia.com> wrote in message news:ff1nf1$8jq$1@forums.macromedia.com...
> thanks ken, have read through that but he doesnt offer anything different to
> what ive already done.
>
> did you see my earlier question about servername & network domain? what about
> that - could that be the problem?
>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 16, 2007 Oct 16, 2007
Zac1234 wrote:
However if i type http://127.0.0.1:8300 the result is "it works"

So it should. 8300 is the default port for a multiserver installation.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 16, 2007 Oct 16, 2007
LATEST
.RIGHT THATS IT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

I HAVE GIVEN UP

or have i?........

to finish this very long thread off - i uninstalled CF and Apache 2.2 and removed all evidence of them being on my system.

then...

i reinstalled CF (single server version) then i installed apache 1.3.39 and guess what - it all works.

i don’t know why it works, i don’t know why i even thought to try it and i don’t care why either. it works and that all that matters.

what’s worrying me is that all this was just a test on my local PC before the real thing takes place at my office on a 2003 server.

if only i could just keep it to CF on IIS, life would be so much simpler.

THANK YOU ALL VERY MUCH FOR YOUR HELP. I HAVE LEARNT ALLOT FROM THE INFO YOU HAVE POSTED

zac1234 is signing off.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources