Application Blocked by Security Settings

When you try to access a website, containing a script Java, using Google Chrome appears the following error message:

Application Blocked by Security Settings

Solution:

  1. Go to Control Panel
  2. Java
  3. in the Security tab click the “Edit Site List…” button
  4. click Add button
  5. insert the URL of the website that you want access in (URL should begin with http:// or https://)
  6. click Add button
  7. click OK button
  8. click OK button

Note: you could find an icon Java (32-bit) rather than Java.

If you won’t find in Control Panel a Java icon but you are sure that Java is installed, open a text editor and create a file with name exception.sites containing the URL of the website that you want access in (URL should begin with http:// or https://) and save it in the following path:

C:\Users\<username>\AppData\LocalLow\Sun\Java\Deployment\security

where

<username>

is the name of the user.

Further information on How can I configure the Exception Site List?

Did my solution solve your problem? Leave a reply.

mendelson AS2 solution – “…Caused by: java.security.UnrecoverableKeyException: Password verification failed”

After mendelson AS2 solution upgrade when you lauch

java -jar start.jar etc/jetty.xml etc/jetty-ssl.xml

from Command Prompt Window (Start -> Run -> cmd) to unable SSL configuration for the Jetty Server show the following lines:


1906 [main] INFO org.mortbay.log – Started SelectChannelConnector@0.0.0.0:8080
1922 [main] WARN org.mortbay.log – failed SslSocketConnector@0.0.0.0:8443: java.
io.IOException: Keystore was tampered with, or password was incorrect
1922 [main] WARN org.mortbay.log – failed Server@16ef71: java.io.IOException: Ke
ystore was tampered with, or password was incorrect
1922 [main] WARN org.mortbay.log – EXCEPTION
java.io.IOException: Keystore was tampered with, or password was incorrect
at sun.security.provider.JavaKeyStore.engineLoad(Unknown Source)
at sun.security.provider.JavaKeyStore$JKS.engineLoad(Unknown Source)
at java.security.KeyStore.load(Unknown Source)
at org.mortbay.jetty.security.SslSocketConnector.createFactory(SslSocket
Connector.java:240)
at org.mortbay.jetty.security.SslSocketConnector.newServerSocket(SslSock
etConnector.java:448)
at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73)
at org.mortbay.jetty.AbstractConnector.doStart(AbstractConnector.java:28
3)
at org.mortbay.jetty.bio.SocketConnector.doStart(SocketConnector.java:14
7)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
50)
at org.mortbay.jetty.Server.doStart(Server.java:235)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
50)
at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mortbay.start.Main.invokeMain(Main.java:194)
at org.mortbay.start.Main.start(Main.java:534)
at org.mortbay.start.Main.start(Main.java:441)
at org.mortbay.start.Main.main(Main.java:119)
Caused by: java.security.UnrecoverableKeyException: Password verification failed

… 20 more

Cause:

The passwords stored in
..\mendelson\opensource\as2\jetty\etc\jetty-ssl.xml
are incorrect.

Solution:

Insert the correct passwords or replace the file jetty-ssl.xml from a backup.

Did my solution solve your problem?

mendelson AS2 solution – “[SSLPeerUnverifiedException]: peer not authenticated … Connection problem, failed to transmit data.”

When you send a file to your partner the trasmission fails with the following error message:

[SSLPeerUnverifiedException]: peer not authenticated
Connection problem, failed to transmit data.

If the software is configured properly and you have managed to send files then the problem is software related.

Solution 1:

Download and install the latest version

My experience: with (AS2 1.1 b33) I could send a maximum of 5 consecutive files, I received the error over the fifth file and had to wait 10 minutes until half an hour before I can resubmit the files.

Solution 2:

Update all Expired Certificates in
…\mendelson\opensource\as2\certificates.p12
and in
…\mendelson\opensource\as2\jetty\etc\keystore

I suggest you use
Portecle, a user friendly GUI application for creating, managing and examining keystores, keys, certificates, certificate requests, certificate revocation lists and more.
Portecle can be launched directly with Java Web Start (Java 1.6 or later with Web Start required) from http://portecle.sourceforge.net/
or downloaded from http://sourceforge.net/projects/portecle/
extract the folder, start Command Prompt Window (Start -> Run -> cmd) and execute the following command:

C:\portecle-1.7>java -jar portecle.jar

Did my solution solve your problem?

Eclipse – “Invalid file name: must contain only [a-z0-9_.]”

When you rename an image file on the res folder show following error message:

Invalid file name: must contain only [a-z0-9_.]

ie, file name must start with a lowercase letter, then it may contain lowercase/uppercase letters or numbers or underscores or dots.

Select file name on the Package Explorer then
click the right mouse button -> Refactor -> Rename
or

press Alt+Shift+R
and insert valid file name.

Did my solution solve your problem?

Eclipse – “Syntax error on token “…”, invalid VariableDeclaratorId”

When you import an image into your res folder show following error message of type Java Problem:

Syntax error on token “{filename}”, invalid VariableDeclaratorId

because file name is invalid: must contain only [a-z0-9_.]
ie, file name must start with a lowercase letter, then it may contain lowercase/uppercase letters or numbers or underscores or dots.

Select file name on the Package Explorer then
click the right mouse button -> Refactor -> Rename
or

press Alt+Shift+R
and insert valid file name.

Did my solution solve your problem?