【问题标题】:fiddler and oracle fusion middleware formsfiddler 和 oracle 融合中间件形式
【发布时间】:2012-02-02 18:37:29
【问题描述】:

所以我试图弄清楚什么 oracle 表单应用程序正在发送到服务器(可能将其用于负载测试)。 Fiddler 告诉我示例请求的标头如下所示:

POST http://server:9001/forms/lservlet;jsessionid=[long string] HTTP/1.1
Pragma: 81
Content-type: application/octet-stream
Cache-Control: no-cache
User-Agent: Mozilla/4.0 (Windows XP 5.1) Java/1.6.0_30
Host: server:9001
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 39

而且正文看起来像是加密/压缩的。问题是:正文发生了什么(压缩、解密)以及如何获得可读字符串?或者至少我可以通过编程方式发送的字节数?

编辑 好吧,如果我去 fiddler 的 HexView 那里,我有很好的十六进制表示已发送的内容。不过,仍然不清楚客户端对数据包主体做了什么。

编辑 2 似乎没有人喜欢破解 oracle 表单数据包。无论如何,为了结束这个,我得出了一个结论:如果你发送一个与之前相同的 http 数据包(比如在表单中模仿搜索) - 服务器会回答

ifError:0/FRM-93618: fatal error reading data from runtime process
Contact your system administrator.

然后应用程序本身会抛出

    FRM-92104: A network error or server failure has occurred. The request was sent to the
 wrong application server (not the one which created the session). The Forms client has
 attempted to migrate the session %s time(s) without success. You will need to restart your application.

如果有人能解释为什么会这样,那就太好了。

【问题讨论】:

  • 有什么进展吗?我有一个问题可能会从中受益。
  • @Jeff Burdges 不,很遗憾没有进展。
  • 我发现旧版本的 Oracle Forms 直接通过 SQL 进行交互。如果这仍然是真的,那么也许它只是打包了 Oracle SQL 查询。 stackoverflow.com/questions/11118851/…

标签: oracle http servlets oracleforms oracle-fusion-middleware


【解决方案1】:

可以通过将 HTTP 服务器指令 KeepAlive 设置为 Off 来解决此问题。这是表单的推荐设置。

Oracle 建议使用Oracle Enterprise Manager 11g Fusion Middleware Control[http://localhost:7001/em 其中7001 是默认端口] 来修改配置文件。要修改此设置,请完成以下操作:

  • 在导航窗格中,单击Web Tier 下的OHS 节点。
  • 在该节点的右上角,点击Oracle HTTP Server -> Administration -> Advanced Configuration
  • 从下拉列表中选择httpd.conf
  • KeepAlive参数设置为Off
  • 应用更改。
  • 您需要重新启动 HTTP Server 才能使此更改生效。

或者,直接编辑文件

%DOMAIN_HOME%\config\config.xml

开启 Unix: $ORACLE_INSTANCE/config/config.xml

通过手动将KeepAlive参数从On设置为Off

【讨论】:

    【解决方案2】:

    Oracle Forms 通过 HTTP 使用专有通信机制。 TestNext 软件已经破解了它。它们为 Oracle Forms 提供负载测试解决方案,允许用户记录和参数化 Oracle Forms 交互...

    http://www.testnext.com/

    【讨论】:

      【解决方案3】:

      将“forms.conf”或“mod_wl_ohs.conf”文件中的DynamicServerList设置为ON

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2011-06-20
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多