I'm trying to use the auto-update feature of install4j. The updater is configured as stand-alone and is launched by the user from a menu item with the code snippet from the installer configuration. The updates.xml URL is configured in the Auto-Update Options screen.
The updater is started correctly but then it fails with the error "The update information could not be downloaded from ". The URL is correct and the xml file can be viewed from a web browser on the same client computer. I tried disabling the firewall and antivirus, but nothing has changed.
I use install4j version 6.1.6 and the target platform is Windows (tested on Win7 and WinXP just in case).
Can anyone suggest a possible reason for this failure and/or a way to get more diagnostic information?
Thanks in advance
Sasha
I solved the problem by disabling browser integrity check in the CloudFlare settings. This means that install4j is sending malformed HTTP headers that are interpreted by the CloudFlare firewall as suspicious.
I do hope that this install4j bug will be fixed, since allowing access at the CloudFlare level means that the server is more exposed to actual threats.
Related
So far I managed to capture the traffic of local Java programs & Android browser successfully. However, I failed to capture traffic of my Android application (using HttpsUrlConnection).
While following the steps in this guide to configure the WiFi network on the device, in the step of downloading the certificate I faced an odd behavior as Chrome raised an error and Firefox installed it without opening the expected dialog:
But when I try to download it again, it says that the certificate is already installed.
Anyway, when running my app (on a real device, Karbonn S203 API 19), there are no requests nor tunnels logged in Fiddler. I tried a lot including inspecting this thread to no avail. In other articles I read about showing tunnels only but I don't have them either. Am I missing anything?
Thanks.
EDIT: I managed to install is "correctly" (with the above screen) from Settings -> Security -> Install Certificate after copying if from PC. Still I cannot see the requests in Fiddler.
Apparently the problem occurred due to using some uncommon devices (well, at least uncommon in Europe/North America). They've probably made some configuration changes in their AOSP version. When working the same way with Nexus 5 I managed to add the ceritifcate under 'WiFi' and then captured requests successfully.
Looks like your app does not use Fiddler as a proxy. When you call openConnection do you pass a Proxy object to it? If so, how do you initialize this proxy object?
You might want to try sending some HTTP traffic through first to make sure you are using the correct proxy settings and then try with HTTPS.
This post is about a problem from the Java cache. We have a jnlp file responsible of updating our app (so we cannot put it “offline”). The problem is that some of our users run the application behind a hotspot network through wireless. In this case, they have no access to Internet but the java webstart mechanism try to download the JNLP in despite of this. In this case, JWS downloads the HTML login page and put it in its cache without any check. In consequence, the next access through shortcut is impossible.
Is it a known issue and is there a workaround?
Thanks in advance for your replies
FYI
We have removed the tag href from jnlp file and it's now ok. The jnlp is never updating but it's ok for us.
I'm trying to get Samsung Remote Test Lab working on my Windows 8 machine, but I get an error whenever I try to run their JNPL file downloaded from the site:
"Application Blocked by Security Settings" : "Your security settings have blocked a self-signed application from running"
I've looked at adding an exception in the Java security settings, but don't know what address to specify in the exception.
Anyone come across this problem or suggestions on how to get around it?
I had the same issue on Mac.
I "solved" it by going to System Preferences -> Java -> Security and changing Security Level from High to Medium.
The other solution explained here would be adding the URL to the exception list.
The URL would be http://img-developer.samsung.com I think, I haven't tried that though.
I am having issues with RAD7.
My server will not start for me today. I am working from home and connected to the VPN. Everything works except my server in RAD. It worked fine yesterday in work and had previously worked when I was at home but that was a few weeks ago.
Are there any settings that I should look out for? I have disabled my proxy settings in RAD and turned off everything in my firewall. I can ping all the DBs that the server is connecting to.
I have even removed all the projects from the server and it will still not start. It keeps trying and then times out after 300s.
Any suggestions?
I got a similar error while Starting WebSphere Commerce server v7. This error in my case was caused by me increasing the Maximum Heap size to 2096. I reduced the heap size to 1536 and it worked. None of the errors/trace files indicated this problem.
I had this problem too. Double-click on the server to open the server 'OVERVIEW' tab/view. Scroll down to the section under 'Optimize server start for development:'; uncheck 'Start server with a generated script'. This worked for me. good luck.
I have had this problem once before. I wasn't able to figure out what went wrong, but deleting that server and creating a new one (under Window -> Preferences -> Server -> WebSphere Application Server) fixed the problem.
Re the file not found exception. Make sure the directory path in Windows is of the CoRRectCase, e.g., GALFTGA342130Node01Cell-> galftga342130Node01Cell. I've encountered this on various RAD installations.
With reference to your following comment -
I looked at startserver.log and I saw a file not found exception for this file C:\IBM\SDP70\runtimes\base_v61\profiles\AppSrv01\config\cells\GALFTGA342130Node01Cell\nodes\GALFTGA342130Node01\serverindex.xml. I checked and the file exists but when I try to open it, I get told access denied.
this link may help you in understanding the problem. it says -
This is a permissions issue caused by the automatic port detection routine. If any profiles already exist and were created as a different user, the port detection routine will try to open the serverindex.xml file in each profile and will fail.
You should set appropriate permissions for your user.
after working several hours in my case I found the solution I hope it works for you ; change my JDK to alternate JRE
I have installed Apache Tomcat 6 as a Service in a Windows XP computer (French)
My problem is that Tomcat itself and all webapps (Sonar and Hudson) now show french messages.
I want English messages of course so I went to the "Regional Settings" window in Control panel and changed everything to English (US)
Tomcat however is still in French. Nothing changed at all.
I suspect that because it runs as a service it does not pick the settings from control panel.
So is there any way to trick the Tomcat JVM so that it uses English instead of French?
I have sys admin access to the machine (XP PRO French)
Thank you
You need to set user.language and user.region appropriately,
e.g.
java -Duser.language=en -Duser.region=CA
in your Tomcat startup (probably catalina.bat). Check this link for more info, and for references to the sets of valid ISO codes for the above.
The Tomcat manager was showing up in French for me, despite the fact that I tried some of the suggestions above. The issue turned out to be browser specific. Chrome had "French" listed as one of my languages and as soon as I removed it from the list in preferences and refreshed the page, Tomcat showed up in English. I hope that will be helpful for anybody else in the future who is having this sort of problem.
Specify language option in service parameters.
$Tomcat/bin/javaw.exe move to Java tab and specify -Duser.language=en -Duser.region=CA at Java Options:
Regional Settings are per user and services are run as a different user (which one is used for each service can be checked in Control Panel / Administrative Tools / Services ).
So you changed the settings for the user account you used to log in, while the Tomcat service is run under a different account.
Unfortunately, catalina.bat (or catalina.sh) is not executed by Windows when running Tomcat service, so catalina.bat modification doesn't solve this problem.
The solution is to run the service manually (or re-install the service) adding these parameters to the execution of the service. Here it's the specification of how the service must be run or installed in order to do this:
https://tomcat.apache.org/tomcat-6.0-doc/windows-service-howto.html (Tomcat 6)
https://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html (Tomcat 7)
According to this specification, to run Tomcat6 service establishing en_US locale, you should execute:
> $PATH_TO_TOMCAT/bin/tomcat6.exe //TS//Tomcat6 ++JvmOptions -Duser.language=en;-Duser.region=US
In the link above, there are some examples of how to install and delete the service as well.
Hope this helps!