Jun 3rd, 2011, 07:41 PM
Running Spring Integration Samples in a corporate/firewalled environment
I am able to successfully run the spring integration samples on my machine at home but when I try to run the same samples in my office with firewalls/anti-viruses etc, I get the Applet Alert warning message for almost every unit test configured in the samples.
1. Why does an applet alert reported?
2. Do we need any special java policies to run spring integration in a corporate environment?
I get severals pop up like these:
The applet is attemting to connect to jar:file:C:/spring/target/spring-beans-3.0.5.RELEASE.jar!/META-INF/spring.schemas The applet is attemting to connect to jar:file:C:/spring/target/spring-conext-3.0.5.RELEASE.jar!/META-INF/spring.schemas The applet is attemting to connect to jar:file:C:/spring/target/spring-aop-3.0.5.RELEASE.jar!/META-INF/spring.schemas The applet is attemting to invoke the java/lang/System.getProperties() operation Each of them have three options: Allow, Disallow and Stop Applet
I am particularly interested in the file channel adapters but I get the applet alert pop-up when I run the test case in my office environment. The test runs successfully in my home pc.
Jun 6th, 2011, 02:11 AM
I managed to resolve the issue. My office proxy settings was adding the Trend Micro scanner to some of the jars requested by mvn install command.
Not sure why some of the jars were affected. I have been using maven for quite some years now behind a corporate firewall, but this is the first time something like this has happend.
I ran the mvn install command without the office proxy and now all is working perfectly. I then copied over all the jars to my office pc.