Login  Register

Re: Security Exception

Posted by Verus Open Source Support on Jul 13, 2012; 4:53am
URL: http://ngl.70.s1.nabble.com/Security-Exception-tp7572926p7572927.html

Hi,
Do the following checks

1. Go to Windows Control Panel -> Java
In this you will see an option for "Network Connections". Change proxy settings to "Direct Connection" instead of "Use Browser settings"

2. In C:/NewGenLibFiles/SystemFiles directory you will find a file name ENV_VAR.txt. Open it with Notepad or Wordpad. You will find a property called Port, see whether it is assigned to 8080

3. Also check if you have a firewall running, if yes, permit the port 8080 access

4. Restart the Apache Tomcat Server and Launch the application again

Regards
NewGenLib Open Source Team

On 07/12/2012 11:51 PM, sudhirmhrj [via NewGenLib] wrote:
Dear All
when i tried to run
 
http://localhost:8080/newgenlibctxt/LaunchApplication

following error
MalformedURLException: unknown protocol: socket

java.net.MalformedURLException: unknown protocol: socket
        at java.net.URL.<init>(Unknown Source)
        at java.net.URL.<init>(Unknown Source)
        at java.net.URL.<init>(Unknown Source)
        at java.net.URI.toURL(Unknown Source)
        at com.sun.deploy.net.proxy.DeployProxySelector.connectFailed(Unknown Source)
        at java.net.SocksSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at sun.net.NetworkClient.doConnect(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.<init>(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
        at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
        at com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(Unknown Source)
        at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
        at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
        at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
        at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
        at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
        at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
        at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
        at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
        at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
        at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
        at com.sun.javaws.Launcher.launch(Unknown Source)
        at com.sun.javaws.Main.launchApp(Unknown Source)
        at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
        at com.sun.javaws.Main$1.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)


how to solve this problem


If you reply to this email, your message will be added to the discussion below:
http://forums.newgenlib.org/Security-Exception-tp7572926.html
To start a new topic under NewGenLib, email [hidden email]
To unsubscribe from NewGenLib, click here.
NAML


-- 
Regards
NewGenLib Open Source Support Team
NewGenLib Open Source Support
Verus Solutions Private Limited
www.verussolutions.biz