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

Apache configuraiton with coldfusion 8 on unix (Solaris 5.10) issue

New Here ,
Dec 05, 2010 Dec 05, 2010

Hello,

Not able to run my application after configuration of apache with cf8. Below are the details:

Below is my apache connector file
apache_connector.sh
-------------------
../../runtime/bin/wsconfig \
        -server coldfusion \
        -ws Apache \
        -dir /etc/apache2 \
        -bin /usr/apache2/bin/httpd \
        -script /usr/apache2/bin/apachectl \
        -coldfusion
exit $#

I run the apache connector file and found following info.

./apache_connector.sh
Server version: Apache/2.0.63
Server version: Apache/2.0.63
Server version: Apache/2.0.63
Server version: Apache/2.0.63
Server version: Apache/2.0.63
Restarted Apache server
The Apache connector was installed to /etc/apache2

After that I have added the virtual host in httpd.conf file and restart the apache server. But my application is not running.

Thanks in advance.

Regards

Mahendra

1.2K
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
Guide ,
Dec 06, 2010 Dec 06, 2010

Solaris 5? Can't say I know anything about it, but the System Requirements list Solaris 9 or 10 required:

http://www.adobe.com/products/coldfusion/coldfusion8/systemreqs/

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
LEGEND ,
Dec 06, 2010 Dec 06, 2010

I suspect the OP means SunOS 5.10, not Solaris 5.10 (which - as far as I can tell - does not exist).  I do not understand ther elationship between the Solaris / SunOS version numbers, but from the chart on Wikipedia, SunOS 5.10 equates to Solaris 10.

http://en.wikipedia.org/wiki/Solaris_%28operating_system%29#Version_history

But that - and my complete ignorance of Solaris - aside, the OP also hasn't really given any useful information as to what's going on on the box.  What dot he logs (CF & JRun) say?  There must be an error message somewhere?  Simply saying "it doesn't work" is all lovely, but what is someone supposed to make of that?

--

Adam

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
New Here ,
Dec 06, 2010 Dec 06, 2010

I am using solaries 10 SPARC 64bit version.

I have not found any error message in CF logs.

After installing apache connector the following code has been added by installation process.

LoadModule jrun_module /ppd_app/coldfusion8/runtime/lib/wsconfig/1/mod_jrun20.so
<IfModule mod_jrun20.c>
    JRunConfig Verbose false
    JRunConfig Apialloc false
    JRunConfig Ignoresuffixmap false
    JRunConfig Serverstore /ppd_app/coldfusion8/runtime/lib/wsconfig/1/jrunserver.store
    JRunConfig Bootstrap 127.0.0.1:51011
    #JRunConfig Errorurl url <optionally redirect to this URL on errors>
    #JRunConfig ProxyRetryInterval 600 <number of seconds to wait before trying to reconnect to unreachable clustered server>
    #JRunConfig ConnectTimeout 15 <number of seconds to wait on a socket connect to a jrun server>
    #JRunConfig RecvTimeout 300 <number of seconds to wait on a socket receive to a jrun server>
    #JRunConfig SendTimeout 15 <number of seconds to wait on a socket send to a jrun server>
    #JRunConfig RecvTimeout 300 <number of seconds to wait on a socket receive to a jrun server>
    #JRunConfig SendTimeout 15 <number of seconds to wait on a socket send to a jrun server>
    AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf
</IfModule>


I have made changes in httpd.conf file for virtualhost as follows:

NameVirtualHost *:80

<VirtualHost *:80>
       ServerName ppddev.equant.com
       ServerAlias ppddev.equant.com ggndppda1.tb.ores.del.equant.com
       DocumentRoot /ppd_app/webapp
</VirtualHost>

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
Guide ,
Dec 06, 2010 Dec 06, 2010

Okay, we're getting somewhere now Adam spotted the little herring rouge.

So the config looks fine, so what doesn't work? What error do you get when you try and access the site? What happens?

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
New Here ,
Dec 06, 2010 Dec 06, 2010

When I run http://www.ppddev.equant.com in browser, the browser shows "Internet Explorer cannot display the webpage" message.

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 ,
Dec 06, 2010 Dec 06, 2010

That's not a useful error message. Try using a different browser, or disabling "friendly HTTP errors" in IE.

Check your web server logs. Do you see a 500 error in them?

Check your wsconfig logs - they should be in the same directory as the module itself, I think.

Dave Watts, CTO, Fig Leaf Software

http://www.figleaf.com/

http://training.figleaf.com/

Read this before you post:

http://forums.adobe.com/thread/607238

Dave Watts, Eidolon LLC
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
New Here ,
Dec 07, 2010 Dec 07, 2010

I have disabled "friendly HTTP errors" in IE and run the site and getting following error:

Forbidden

You don't have permission to access / on this server.

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
Guide ,
Dec 07, 2010 Dec 07, 2010

That generally just means you don't have a default page or a default document isn't set, do you get the same browsing directly to a .cfm page?

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 ,
Dec 07, 2010 Dec 07, 2010
LATEST

The Apache user and the ColdFusion user should both have read permission over the web root directory, and any other directory that contains web files.

Dave Watts, CTO, Fig Leaf Software

http://www.figleaf.com/

http://training.figleaf.com/

Read this before you post:

http://forums.adobe.com/thread/607238

Dave Watts, Eidolon LLC
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
New Here ,
Dec 06, 2010 Dec 06, 2010

Thanks for your prompt reply, but this can't resolved my issue, because I am facing some configuration issue.

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