如何调用jinitiator 1.1.8.2t

苹果/安卓/wp
积分 22, 距离下一级还需 2 积分
道具: 彩虹炫, 涂鸦板, 雷达卡, 热点灯, 金钱卡
购买后可立即获得
权限: 隐身
道具: 金钱卡, 彩虹炫, 雷达卡, 热点灯, 涂鸦板
悲催签到天数: 2 天连续签到: 1 天[LV.1]初来乍到
install.packages(&xlsxjars&)
& library(xlsxjars)
Error : loadNamespace()里算'xlsxjars'时.onLoad失败了,详细内容:
&&调用: .jinit()
&&错误: Cannot create Java virtual machine (-1)
错误: ‘xlsxjars’程辑包或名字空间载入失败,
请问以上问题该如何处理?
个人判断这个问题不是R引起的,而是java引起的,已经重新安装过JDK,重新配置过环境变量,都没解决问题,请大侠指教?谢谢
载入中......
两个问题——
第一,有没有装xlxs package;
第二,rjava装好木有,注意需要设置JAVA_HOME,JAVA_HOME变量必须包含JVM.DLL的正确地址
无限扩大经管职场人脉圈!每天抽选10位免费名额,现在就扫& 论坛VIP& 贵宾会员& 可免费加入
加入我们,立即就学扫码下载「就学」app& Join us!& JoinLearn&
&nbsp&nbsp|
&nbsp&nbsp|
&nbsp&nbsp|
&nbsp&nbsp|
&nbsp&nbsp|
&nbsp&nbsp|
如有投资本站或合作意向,请联系(010-);
邮箱:service@pinggu.org
投诉或不良信息处理:(010-)
京ICP证090565号
京公网安备号
论坛法律顾问:王进律师Application:
8.1 x86 &Environment: Windows+IE &Scenario:用LR调起IE &Tool:
&Truth: LoadRunner 调用起IE的过程是, vugen.exe(虚拟用户生成器)传递先前设置好的iexplore.exe路径(Program to record中设置)、要测试的URL网址(URL Address中设置),把字符串参数传递给CreateProcessA函数,打开URL网页,录制过程。 &Conclusion: LoadRunner启用系统的服务、进程,除了用CreateProcessA外,还用了ShellExecuteA。&&通过反汇编工具查看Vugen.exe可以看到它调用BOOL __stdcall CreateProcessA(LPCSTR lpApplicationName, LPSTR lpCommandLine, LPSECURITY_ATTRIBUTES lpProcessAttributes, LPSECURITY_ATTRIBUTES lpThreadAttributes, BOOL bInheritHandles, DWORD dwCreationFlags, LPVOID lpEnvironment, LPCSTR lpCurrentDirectory, LPSTARTUPINFO lpStartupInfo, LPPROCESS_INFORMATION lpProcessInformation)来启动应用程序,比如Internet Explorer。&注:Win下shell命令来启动系统资源,如HINSTANCE __stdcall ShellExecuteA(HWND hwnd, LPCSTR lpOperation, LPCSTR lpFile, LPCSTR lpParameters, LPCSTR lpDirectory, INT nShowCmd)有潜在的风险。实际上Win下Shell执行一个程序是调用CreateProcess激活程序产生进程。 &Case: 1.LoadRunner能支持Standalone的IE7脚本录制,在XPSP2+IE7上验证通过; 2.LoadRunner不兼容Windows Vista,vugen.exe(Mercury Virtual User Generator)启动失败,错误提示&Action&,跟UAC安全特性无关,初步分析跟当前用户的Temp路径改变有关; 3.Windows 2003 SP2上无法录制IE6/7,导致IE Crash,iedw.exe(IE Crash Detection)报告错误事件,错误代码0xc0000005,ie在地址00CD4548 push 1Ah段中断。初步分析原因是Windows Server默认对IE加载DEP(数据执行保护)特性,而Vugen.exe刚好又跟DEP冲突。 &原因是: & Windows 2003 & XP SP2 have a DEP (Data Execution Prevention) feature which prevents VuGen recording. 解决方案:& Control Panel-&System -& &Advanced& tab-&Performance section &Settings& button -&&Data Execution Prevention& tab-&add the client program(vugen.exe) in &Turn on DEP for all programs and services except those I select&&or choose &Turn on DEP for essential windows programs and services only.& and&a reboot is required. &Appendix: 1. &2.文件的长路径转换为短路径(dos格式) [C#]& using&& System.Runtime.InteropS&& & 定义:&& &&&&&&& [DllImport(&kernel32.dll&, CharSet = CharSet.Auto)]&&&&&&& public static extern int GetShortPathName(&&&&&&& [MarshalAs(UnmanagedType.LPTStr)] string path,&&&&&&& [MarshalAs(UnmanagedType.LPTStr)] StringBuilder shortPath, int shortPathLength); &引用:&& &&&&&&&&&&& StringBuilder shortPath = new StringBuilder(80);&&&&&&&&&&& int result = GetShortPathName(@&F:\Program Files\Internet Explorer\iexplore.exe&, shortPath, shortPath.Capacity);&&&&&&&&&&& string s = shortPath.ToString();&&&&&&&&&&& MessageBox.Show(s.ToString()); &&& 结果:&& F:\PROGRA~1\INTERN~1\iexplore.exe Batch File(仅对已存路径有效)set JAVA_HOME=C:\Program Files\Java\jdk1.5.0_12for %%x in (&%JAVA_HOME%&) do set JAVA_HOME=%%~sxecho %JAVA_HOME%&3.,必须先安装 Patch InstallationTo install this patch, run LR81FP4P125.exe, available from the Patches database.Limitations & Some versions of JInitiator may cause IE to crash when recording the Oracle NCA protocol on IE 7 platforms. & Cannot record the FTP protocol upload or download operations on IE 7 platforms. & Does not support tabbed browsing. If you record using VuGen on IE 7 platforms, then Internet Explorer will open with this feature disabled. & The current version of Mercury Diagnostics does not support IE 7. Diagnostics version 6.5 will support IE 7.& &4.Linux Shell基本工作原理 系统初启后,核心为每个终端用户建立一个进程去执行Shell解释程序。它的执行过程基本上按如下步骤: (1)读取用户由键盘输入的命令行。 (2)分析命令,以命令名作为文件名,并将其它参数改造为系统调用execve( )内部处理所要求的形式。 execve()函数将执行一个程序。execve()用来执行参数filename字符串所代表的文件路径,第二个参数系利用数组指针来传递给执行文件,最后一个参数则为传递给执行文件的新环境变量数组。 #include&unistd.h& int execve (const char *filename, const char *argv [], const char *envp[]); (3)终端进程调用fork( )建立一个当前进程的子进程。 #include&sys/types.h&&& /*包含了pid_t的定义*/ #include&unistd.h&&&&&& /*包含系统调用fork的说明*/ unisigned int pid_t fork(void); (4)终端进程本身用系统调用wait4( )来等待子进程完成(如果是后台命令,则不等待)。当子进程运行时调用execve( ),子进程根据文件名(即命令名)到目录中查找有关文件(这是命令解释程序构成的文件),将它调入内存,执行这个程序(解释这条命令)。 #include &sys/types.h& #include &sys/time.h& #include &sys/resource.h& #include &sys/wait.h& pid_t wait4(pid_t pid, int *status, int options,struct rusage *rusage); (5)如果命令末尾有&号(后台命令符号),则终端进程不用系统调用wait4( )等待,立即发提示符,让用户输入下一个命令,转⑴。如果命令末尾没有&号,则终端进程要一直等待,当子进程(即运行命令的进程)完成处理后终止,向父进程(终端进程)报告,此时终端进程醒来,在做必要的判别等工作后,终端进程发提示符,让用户输入新的命令,重复上述处理过程。
&5.&Responsibilities of the Shell The shell is ultimately responsible for making sure that any commands typed at the prompt get executed properly. Included in those responsibilities are: 1.Reading input and parsing the command line 2.Evaluating special characters, such as wildcards and the history character 3.Setting up pipes, redirection, and background processing 4.Handling signals 5.Setting up programs for execution
历史上的今天: 日 日
引用地址:
除非另有声明,本站作品采用授权。
maguschen::昆仑心然:戴小青:::::::Oracle Apps DBA工具:ADADMIN使用说明_数据库技术_Linux公社-Linux系统门户网站
你好,游客
Oracle Apps DBA工具:ADADMIN使用说明
来源:blog.csdn.net/pan_tian&
作者:pan_tian
ADADMIN用途
ADADMIN主要用于 Apps文件系统和数据库的维护工作,是Apps DBA常用的工具。
(ADADMIN执行文件位于$AD_TOP/bin下)
[oracle@ ~]$ adadmin
如果ADADMIN命令无法运行,很可能是环境变量没有设置,可以运行下". $APPL_TOP/instance.env"来设置环境变量。adadmin执行过程中,需要数据库system用户的密码和apps用户的密码
ADADMIN的菜单项介绍
ADADMIN有5个一级菜单,每个一级菜单下都有明细的功能项
AD Administration Main Menu
1.Generate Applications Files menu2.Maintain Applications Files menu<pile/Reload Applications Database Entities menu4.Maintain Applications Database Entities menu5.Change Maintenance Mode6.Exit AD Administration
每一个一级菜单下的明细功能项
Generate Applications Files
如果系统用户无法访问Message,Form或者Report,你可以尝试使用“Generate Applications Files” 下的菜单来解决问题。
1.Generate message files
This task generates message binary files in the $PROD_TOP/mesg directory from oracle application object library tables.We generally perform this task only when instructed to do so in a readme file of a patch.
2.Generate form files
把$AU_TOP/forms/&LANG&/下的fmb文件生成&PROD&_TOP/forms/&LANG&下的fmx文件
3.Generate report files
根据安装语言生成report文件(.rdf)
4.Generate graphics files
This task generates Oracle graphics files for all installed languages. Extension of the file name like (*.ogd),The serious of prompts and actions in this task are very similar to the prompts and actions in the Generate form files task.
5.Generate product JAR files
GenerateJava archive (JAR) files whenever you upgrade the Developer technology stack orwhen recommended by Oracle Support Services. It signs JAR files (if on the Webserver) and does the following:
■Generates product JAR files in JAVA_TOP and copies them to APPL_TOP.
■Generates other Java-related files under APPL_TOP and JAVA_TOP. ■Recreates Java libraries (appsborg.zip and appsborg2.zip) under APPL_TOP andJAVA_TOP.
6.Return to Main Menu
Maintain Applications Files
“Maintain Applications Files”主要是用于保持你的系统文件最新。比如,你需要拷贝文件从一个特定位置或者转换文件的字符集
1.Relink Applications programs
Relinks Oracle Applications executable programs with the Oracle server libraries so that they function with the Oracle database. For each product, choose whether to link all executables or only specific ones.Note:The default is to relink without debug information. Use the debug option only when requested to do so by Oracle Support Services.
2.Create Applications environment file
3.Copy files to destinations
Copies files from each product area to central locations where they can be easily referenced by non-Applications programs. This option uses revision-based copy logic to ensure that the destination file versions are the same as, or higher than, the source file versions.
Note:Were commend that you do not use the force option to overwrite existing files unless instructed by Oracle Support Services. Copying files with this option updates all JAR files. JInitiator then downloads required JAR files to each client again, causing runtime performance degradation.
The file types and their respective destinations are shown in the following table:
These files: &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&copied to (UNIX)
Java files&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& $JAVA_TOP
HTML files &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &$OAH_TOP
Media files &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& &$OAM_TOP
Note:When this option is used to copy reports or graphics files, the default destinationis under AU_TOP.
4.Convert character set
Preparesthe files in the APPL_TOP for conversion to another character set, and then performs the conversion.
When you choose this option, AD Administration presents another submenu, which contains options for scanning your files in preparation for the conversion. The scan searches for exceptions — files that will have incomplete (lossy)conversions — so that you can fix potential problems before you actually convert the character set. Choose one of the following scan options.
1.&&&&&& Scan the APPL_TOP for exceptions. Scans the APPL_TOP and creates three files in the admin\&SID&\out directory.
File&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& Contents
admanifest_excp.lst&&&&&&&&&&&&&& Lists files that will not be converted because of lossy conversion. admanifest.lst&&&&&&&&&&&&&&&&&&&&&&&&&&&& Lists files thatcan be converted.&&&&&&&&&
admanifest_lossy.lst&&&&&&&&&&&&&&&&&& Lists files with lossy conversions, including line by line detail.
Review the files listed in admanifest_excp.lst. Fix files that report lossy conversion before you convert the character set. Repeat this task until there are no entries in admanifest_excp.lst. If you need to see more detail, review admanifest_lossy.lst.
2.&&&&&& Scan a CUSTOM directory for exceptions. Collects the same information as the firsttask, but scans custom Applications directories rather than the APPL_TOPdirectory.
3.&&&&&& Convert character set. Run this task only if admanifest_excp.lst has no entries. Itprompts you for the manifest file (admanifest.lst) created when you ran the scan option(s).
The utility backs up the product source files and the APPL_TOP/admin source files.It saves product files in the &PROD&_TOP directories in the format&prod&_ s_&char_set&.zip. It saves admin source files in the APPL_TOP/admin directory in the format admin_s_&char_set&.zip
5.Maintain snapshot information
There are two types of snapshots: APPL_TOP snapshots and global snapshots. An APPL_TOP snapshot lists patches and versions of files in the APPL_TOP. A global snapshot lists patches and latest versions of files in the entire Applications system (that is, across all APPL_TOPs).Both APPL_TOP snapshots and global snapshots may be either current view snapshots or named view snapshots. A current view snapshot is created once and updated when appropriate to maintain a consistent view. A partial view snapshot allows you to synchronize only selected files from a current view. A named view snapshot is a copy of the current view snapshot at a particular time (not necessarily the latest current view snapshot) and is not updated.Patch Wizard uses the information contained in the global current view snapshot to determine which patches have already been applied. AutoPatch uses the APPL_TOP current view snapshot to determine if all prerequisite patches have been applied to that APPL_TOP. Snapshot information is stored in the AD_SNAPSHOTS, AD_ SNAPSHOT_FILES, and AD_SNAPSHOT_BUGFIXES tables.During a new installation, Rapid Install creates a current snapshot as a baseline. And, each time you run AutoPatch, it automatically creates a new (updated) snapshot so that the information is current as of the application of the patch.Maintain Snapshot Information menu options :■ List snapshots (stored in the system)■ Update current view snapshot (full or partial APPL_TOP and global)■ Create named snapshot (select a current view snapshot to copy and name)■ Export snapshot to file (select one to export to a text file)■ Import snapshot from (a text) file■ Delete named snapshot (select a snapshot for deletion)
6.Check for missing files
7.Return to Main Menu
相关资讯 & & &
& (08/30/:58)
& (08/14/:32)
& (08/14/:47)
& (08/16/:37)
& (08/14/:54)
& (08/01/:31)
   同意评论声明
   发表
尊重网上道德,遵守中华人民共和国的各项有关法律法规
承担一切因您的行为而直接或间接导致的民事或刑事法律责任
本站管理人员有权保留或删除其管辖留言中的任意内容
本站有权在网站内转载或引用您的评论
参与本评论即表明您已经阅读并接受上述条款如何替换exe程序中的某个文件?
来源:博客园
我们公司有套业务系统,需要使用oracle的一个插件(Jinit22.exe),但使用过程中发现IE经常报异常,导致系统不能正常使用,很难解决。后来,有同事发现,将Jinit22.exe安装后的jvm.dll给替换成一个新版的jvm.dll文件就可以避免错误。方法是找到了,但是要求用户自己去替换这个文件想必还是很麻烦。最好是从源头解决这个问题。 思来想去,要是能够将Jinit22.exe中的jvm.dll直接替换掉就能彻底解决问题,事实上这样做是可行的。 1 先将Jinit22.exe用压缩软件解压到jinit22下,会发现里边有data1.cab和data2.cab两个文件。 2 通过InstallShield自带的cab viewer打开data1.cab可以看到要替换的文件jvm.dll。通过iscab.exe命令来替换jvm.dll,不报错,但是改造后的setup.exe无法运行。原来,iscab只能对10.0的有效,对于5.0或6.0版本的cab不能修改。 3 用WinPack也可以修改cab文件,尤其是适合解决InstallShield5.0或6.0生成的cab文件,果然修改后的文件可以正常运行。 4 由于解压后生成了好几个文件,原来的Jinit22.exe是安装程序,要是能把这些文件打包成可执行exe安装文件就好了。原来方法也是有的,居然通过winrar的自解压功能就可以,太神奇了。 通过上述方法,不用编程就改造了exe安装程序,大大方便了工作。
免责声明:本站部分内容、图片、文字、视频等来自于互联网,仅供大家学习与交流。相关内容如涉嫌侵犯您的知识产权或其他合法权益,请向本站发送有效通知,我们会及时处理。反馈邮箱&&&&。
学生服务号
在线咨询,奖学金返现,名师点评,等你来互动FORM 开发(60)
前提:一张已经做好的表单,且应该是编译没有错误的。
问题一:打开Form. Builder,连接数据库,点击菜单“程序”-》“运行表单”,出现“FRM-10142:HTTP监听程序没有在******的端口8889上运行。请启动该监听程序或检查您的运行时首选项。”
解决办法:打开Form. Builder启动程序同目录下的“Start OC4J Instance”程序。地址:&%ORACLE_HOME\j2ee\DevSuite\startinst.bat
注意:不要关闭打开的“Start OC4J Instance”程序的控制台,停止时,建议选择相同的“Shutdown OC4J Instance”程序。
问题二:问题二是在问题一的基础上出现的,操作了问题一的解决办法后,再次运行表单,会出现浏览器崩溃的情况。
解决办法:
步骤一:找到Developer Suite安装目录下的jinit文件夹(如:C:\DevSuiteHome\jinit),安装其中的jinit.exe应用程序。
步骤二:在打开的Oracle Forms Builder中,点击菜单“编辑”-》“首选项”。在弹出框中,选择“运行时”选项卡,然后在“应用程序服务器URL”中,输入”http://127.0.0.1:8889/forms/frmservlet?config=jpi”,在“浏览器位置”中,选择你的浏览器。
到此,再运行表单,就会正常了,下面来一张运行成功的图。
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:26251次
排名:千里之外
原创:26篇
转载:217篇
(12)(5)(2)(29)(14)(2)(3)(6)(3)(1)(1)(5)(14)(2)(4)(12)(15)(29)(5)(39)(41)

我要回帖

更多关于 oracle jinitiator 的文章

 

随机推荐