Saturday, April 24, 2010

OFM in a cluster with Http Server

I had set up a SOA cluster using Enterprise Deployment Guide http://download.oracle.com/docs/cd/E15523_01/core.1111/e12036/toc.htm.      

As advised in the guide, we also have an http server proxying the request to one of the 2 SOA Servers in the domain.

Then went up and made appropriate changes in mod_wl_ohs.conf file.

So far so good.Everything now is accessible from the same url. 

But when i went on to create an application server connection in jdeveloper either with Admin server port or http port, all it said was.
Testing JSR-160 Runtime ... failed.
Cannot establish connection.
Testing JSR-160 DomainRuntime ... skipped.
Testing JSR-88 ... skipped.
Testing JSR-88-LOCAL ... skipped.
Testing JNDI ... skipped.
Testing JSR-160 Edit ... skipped.
Testing HTTP ... success.
Testing Server MBeans Model ... skipped.

Searched on internet. There was no solution. Every where it said, to remove any proxy in Jdeveloper, or have the same proxy as in browser.Since i was able to connect to admin server using browser.

The resolution is to have the proxy in the browser. Proxy is the http server that you have setup before. After that while creating the connection, create it on Admin Server.

and then
Testing JSR-160 Runtime                ... success.
Testing JSR-160 DomainRuntime          ... success.
Testing JSR-88                         ... success.
Testing JSR-88-LOCAL                   ... success.
Testing JNDI                           ... success.
Testing JSR-160 Edit                   ... success.
Testing HTTP                           ... success.
Testing Server MBeans Model            ... success.

8 of 8 tests successful. 

36 comments:

  1. 您的部落格文章真棒!!有空我一定會常來逛!! .........................................

    ReplyDelete
  2. 愛情是一種發明,需要不斷改良。只是,這種發明和其他發明不一樣,它沒有專利權,隨時會被人搶走。..................................................

    ReplyDelete
  3. 感謝您寫下您的生活,也是把珍寶來和諸君分享的心意。.................................................................

    ReplyDelete
  4. 向著星球長驅直進的人,反比踟躕在峽路上的人,更容易達到目的。............................................................

    ReplyDelete
  5. 河水永遠是相同的,可是每一剎那又都是新的。..................................................

    ReplyDelete
  6. 優質的好部落格,當然要留言支持鼓勵鼓勵!............................................................

    ReplyDelete
  7. If you lend someone $20 and never see that person again, it was probably worth it.............................................................

    ReplyDelete
  8. 生存乃是不斷地在內心與靈魂交戰;寫作是坐著審判自己。. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    ReplyDelete
  9. 人不能像動物一樣活著,而應該追求知識和美德............................................................

    ReplyDelete
  10. 生存乃是不斷地在內心與靈魂交戰;寫作是坐著審判自己。..................................................

    ReplyDelete
  11. 卡爾.桑得柏:「除非先有夢,否則一切皆不成。」共勉!.. ...............................................................

    ReplyDelete
  12. This was a huge help. Thank you. I was not able to run ADF apps locally in JDev because of my proxy settings. It wasn't until I expanded my app server connections and tested the IntegratedWebLogicServer that I noticed the "fail" which was keeping my apps from deploying in JDev. I changed my proxy settings and I was good to go.

    ReplyDelete
  13. I have no proxy. I am getting the "fail". What do I need to change????

    ReplyDelete
  14. What is meant by your statement "The resolution is to have the proxy in the browser"? Please help.

    ReplyDelete
  15. I've figured out that using "localhost" or "127.0.0.1" leads to 2 of 9 tests passed, but providing correct server name or ip results in 9 of 9 passed.

    ReplyDelete