所以我试图弄清楚 oracle 表单应用程序正在向服务器发送什么(可能将其用于负载测试)。 Fiddler 告诉我示例请求的 header 如下所示:
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.
如果有人能阐明为什么会这样,那就太好了。
最佳答案
可以通过将 HTTP 服务器指令 KeepAlive
设置为 Off
来解决该问题。这是表单的推荐设置。
Oracle 建议使用 Oracle Enterprise Manager 11g Fusion Middleware Control
[ http://localhost:7001/em
其中 7001
是默认端口] 修改配置文件。要修改此设置,请完成以下操作:
- 在导航器 Pane 中,单击
Web Tier
下的OHS
节点。 - 在此节点的右上角,单击
Oracle HTTP Server
->Administration
->Advanced Configuration
。 - 从下拉列表中选择
httpd.conf
。 - 将
KeepAlive
参数设置为Off
。 - 应用更改。
- 您需要重新启动
HTTP 服务器
才能使此更改生效。
Alternatively, edit the file directly
%DOMAIN_HOME%\config\config.xml
( On Unix :
$ORACLE_INSTANCE/config/config.xml
)by setting manually
KeepAlive
parameter fromOn
toOff
.
关于oracle - fiddler 和 oracle 融合中间件形式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9117964/