Problem Description:
My Java application is launched using a .cmd file from a network path. It gets launched without any issues. But if I open TestComplete tool and then try to open the application, I get an error as "Could not create the Java Virtual Machine" as a popup with ok button. Upon clicking ok, the application process gets closed. Infact there is only option to click Ok:).
Environment Info:
I use TestComplete to automate a Windows based java application. The Java application is developed using Java 1.6 and TestComplete version is 10.5. The system is of Windows 7 64 bit. JRE in the local machine is of version 1.7
Understandings by googling:
My application is needs a JVM (Java Virtual Machine) with a heap memory of 1GB. TestComplete is somehow not letting it happen.
Trials Attempted:
1.Tried editing the heap size in Java control panel located in control panel with -Xmx1024m.
Does something rings for someone?
Related
I have a Mainframe/HOST Application to automate using Tosca 11.0, I am unable to scan/steer elements in mainframe screen.
Solution found in Tricentis Support -
The Tosca Host Engine is installed by default as part of a complete Tricentis Tosca installation.
All information regarding software versions and hardware requirements for the engine can be found in the "System Requirements for Tricentis Tosca".
The file PCSHLL32.DLL needs to exist in the system and the operating system needs to know the path to this file (with the system variable PATH).
The 3270 terminal emulation needs to be initialized correctly, so that the connection to the HOST system to be tested can be established. Additional information is available from your system administrator.
I couldn't locate PCSHLL32.DLL in my PC.
Has anyone faced same issue? can someone help where to get PCSHLL32.DLL and get HOST engine working.
I had this problem for a while. I kept trying to figure out how to install the Host module because I couldn't find that PCSHLL32.DLL on my system...
Turns out HOST was already there... I just had to get Tosca Commander configured to find my terminal app (I'm using QWS3720 from Jolly Giant).
Try this - Go into Tosca Settings, and go to Settings > Special Engines > HostEngine> Emulation Environment and check the following settings:
1) Emulation Title: this should be the window title of your terminal emulator. * works as a wildcard. Since QWS3270 changes it's window name to match it's session, we just use * in this field.
2) Emulation Type: try to find your terminal emulator's maker listed here... Mine is set to Jolly Giant.
3) Session ID: this is the important one. This is the HLLAPI ID of the term window, basically the handle that automation needs to know to "see into" the terminal window. it seems to typically be set to "A" (same as with QuickTest Pro/UFT).
Once these settings are correct, then TRY to scan your terminal window. Launch your terminal emulator first, CONNECT with it (to start up the HLLAPI), then run Tosca's scanner - just don't expect it to scan like web pages, it will use the older scanner. Select Scan Application > Other... and it will start the older "Tosca Wizard". Click Scan, then point to your Terminal emulator. If you see the little box showing "Recognized Wizard >HOSTEngine
Good Luck!
I am developing a PHP web application with CakePHP 3.4 framework, and i am using wkhtmltopdf 0.12.4 to output dynamic content in a .pdf file. Currently i'm using three different environments where i develop and test my application:
In my local environment (XAMPP 32-bit for Windows), wkhtmltopdf works great. It takes ~1 second in rendering .pdf files
In a remote testing environment (CentOS 7 64-bit using apache2, 4GB memory), works great too.
In my third remote testing environment (Another CentOS 7 64-bit distro with similar CPU specs as the second one and 4GB memory), wkhtmltopdf takes up to 20 seconds in rendering the same .pdf file
What could be causing this behavior in the third environment? How can i monitor or debug wkhtmltopdf process to help me identify why .pdf rendering is so slow?
Remove rgba and set border-radius to 1px in your CSS files (or completely remove them if they are not needed). That should speed up the PDF generation process.
Similar issue
Another reson can be your current default printer on windows. See:
https://github.com/wkhtmltopdf/wkhtmltopdf/issues/4891
If you use a standard printer that is
a network printer
you use the windows default driver for that printer and have not installed the manufactors printer driver
-> wkhtmltopdf is really slow
No information found for this. Is there any way to start weblogic in profiling mode? Or, maybe, it's activated by default?
Profiling action can be initiated 2 ways
1) Pass the profiling action while you execute the startWeblogic.sh. Following parameters can be appended
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=8010
-Dcom.sun.management.jmxremote.local.only=false
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
2) The same parameters can be appended from startup tab in weblogic server
Here's what i got. Mainly focused on remote profiling using NetBeans
generated remote profiling package for target OS and JVM architecture (32 or 64 bit) (Netbeans -> Profile -> Attach Profiler -> Change link, select OS and Java platform -> click "Create a remote profiling package" link)
copy this package to target machine
execute calibration script (calibrate.bat / calibrate.sh (chmod +x))
add specific argument to java_otps with path to this package
-agentpath:PathToProfilerPackage\lib\deployed\jdk16\windows-amd64\profilerinterface.dll=PathToProfilerPackage\lib,5140
restart weblogic. Startup will be interrupted until remote profiler connected
connect to a server using NetBeans profiler. Weblogic startup will continue.
However, i still can't download heap dump (which is available when attaching to local java.exe Weblogic process) but that's something.
I am using CENTOS6 and REDHAWK2.0 (RH2.0). VM installed based on "VirtualBox 5.0.16 for Windows host" and "VirtualBox 5.0.17 r106140 Guest Additions installer image". The OS for the computer is Windows professional 7. However, whenever I export the machine profile (CENTOS6, RH2.0) from VM, all the projects listed in the REDHAWK "project explorer" window disappear (no projects show up in "project explorer" window if I reopen the REDHAWK IDE). I have tried this in different PCs, and it keeps happening. However, if I don't export the appliance, everything is OK, which means that project list in the "project explorer" window stay no matter how many times I close and open the REDHAWK IDE in the VM.
Another note:
When I close the VM, I get the following message:
Microsoft Visual C++ Runtime Library
Runtime Error!
program: C:Program Files\Oracle\VirtualBox\VBoxSVC.exe
R6025
-pure virtual function call
Then, after I close this dialogue box, I got another message:
VirtualBox Interface has stopped working
Details:
Problem signature:
Problem Event Name: APPCRASH
Application Name: VBoxSVC.exe
Application Version: 5.0.16.5871
Application Timestamp: 56d9b7f1
Fault Module Name: MSVCR100.dll
Fault Module Version: 10.0.40219.1
Fault Module Timestamp: 4d5f034a
Exception Code: 40000015
Exception Offset: 00000000000761c9
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional Information 1: 3b88
Additional Information 2: 3b88e6353d8105cc00c90d3a5da0074b
Additional Information 3: 5abc
Additional Information 4: 5abc42e81271271eab3d346a48f0ce0a
Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid= ... cid=0x0409
If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt
Any clues on how to fix this problem?
I have not seen any bugs that are related between VirtualBox itself on the host and the Redhawk project explorer in the guest, but the following are steps you can take to debug further. Because your order of operations isn't clear:
Do not export a VM while the VM is still running. Shut it down first, then export.
If you were already doing that, or still have issues, ensure there are no compatibility issues between your version of host OS (Windows 7 Professional) and the version of VirtualBox (VirtualBox 5.0.16). A quick search on your error turned up VirtualBox COM service crash at exit. Try re-installing the VirtualBox client and updating your Windows host - if there is something wrong/corrupted with VirtualBox itself then there's no telling what problems you'll have with a guest OS.
If you re-install VirtualBox and then re-import or add your existing VM and you still have issues inside the VM with Redhawk IDE project explorer view, you may have a corrupted IDE. Delete the eclipse folder with the IDE and re-download it.
I am using PHPStorm 9 and crashes all the time.
I checked for logs but it does not report anything.
What can I do to debug it?
Edit 1
The app is fresly installed, on freshly formated PC, with fresh installed and updated java.
Also I tried to increase the allocated RAM but each time the app starts returns my values to default.
Edit 2
I am using the 64bit version which demanded an external jdk since there wasn't provided by the app.
I installed the 8.60 X64 java and add to my user and system vars on windows 10.
Edit 3
I am using Eset's nod32.
This is a notice that shows when I load the app.