Announcement

Collapse
No announcement yet.

Java app doesnt work through TMG, how to fix?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Java app doesnt work through TMG, how to fix?

    Im unable to load a page that has java app because im getting errors. I have created a rule that allows the site to go out trough TMG but it wont work.
    See the java logs probably someone can help me:
    com.pearson.powerschool.sdk.common.SDKRemoteExcept ion:javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
    at com.pearson.powerschool.sdk.system.HttpInvokeInvoc ationHandler.invoke(HttpInvokeInvocationHandler.ja va:59)
    at $Proxy2.getSchools(Unknown Source)
    at com.pearson.powerschool.gradebook.Main.login(Main. java:730)
    at com.pearson.powerschool.gradebook.Main.initUserLog in(Main.java:212)
    at com.pearson.powerschool.gradebook.Main.startUI(Mai n.java:12
    at com.pearson.powerschool.gradebook.Main.main(Main.j ava:392)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.javaws.Launcher.executeApplication(Unknown Source)
    at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
    at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
    at com.sun.javaws.Launcher.handleApplicationDesc(Unkn own Source)
    at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
    at com.sun.javaws.Launcher.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused By:javax.net.ssl.SSLException:Unrecognized SSL message, plaintext connection?
    at com.sun.net.ssl.internal.ssl.InputRecord.handleUnk nownRecord(Unknown Source)
    at com.sun.net.ssl.internal.ssl.InputRecord.read(Unkn own Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRec ord(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.perform InitialHandshake(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRe cord(Unknown Source)
    at com.sun.net.ssl.internal.ssl.AppOutputStream.write (Unknown Source)
    at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
    at java.io.BufferedOutputStream.flush(Unknown Source)
    at org.apache.commons.httpclient.methods.EntityEnclos ingMethod.writeRequestBody(EntityEnclosingMethod.j ava:502)
    at org.apache.commons.httpclient.HttpMethodBase.write Request(HttpMethodBase.java:1973)
    at org.apache.commons.httpclient.HttpMethodBase.execu te(HttpMethodBase.java:993)
    at org.apache.commons.httpclient.HttpMethodDirector.e xecuteWithRetry(HttpMethodDirector.java:397)
    at org.apache.commons.httpclient.HttpMethodDirector.e xecuteMethod(HttpMethodDirector.java:170)
    at org.apache.commons.httpclient.HttpClient.executeMe thod(HttpClient.java:396)
    at org.apache.commons.httpclient.HttpClient.executeMe thod(HttpClient.java:324)
    at org.meno.remoting.httpinvoke.client.HTTPInvokeProx yFactory.invoke(HTTPInvokeProxyFactory.java:229)
    at org.meno.remoting.httpinvoke.client.HTTPInvokeProx yFactory.access$000(HTTPInvokeProxyFactory.java:42 )
    at org.meno.remoting.httpinvoke.client.HTTPInvokeProx yFactory$1.invoke(HTTPInvokeProxyFactory.java:151)
    at $Proxy2.getSchools(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.pearson.powerschool.sdk.system.HttpInvokeInvoc ationHandler.invoke(HttpInvokeInvocationHandler.ja va:4
    at $Proxy2.getSchools(Unknown Source)
    at com.pearson.powerschool.gradebook.Main.login(Main. java:730)
    at com.pearson.powerschool.gradebook.Main.initUserLog in(Main.java:212)
    at com.pearson.powerschool.gradebook.Main.startUI(Mai n.java:12
    at com.pearson.powerschool.gradebook.Main.main(Main.j ava:392)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.javaws.Launcher.executeApplication(Unknown Source)
    at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
    at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
    at com.sun.javaws.Launcher.handleApplicationDesc(Unkn own Source)
    at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
    at com.sun.javaws.Launcher.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Attached Files

  • #2
    Re: Java app doesnt work through TMG, how to fix?

    What do you see in the TMG logging?
    Did you configured Java to use TMG as proxy?
    Marcel
    Technical Consultant
    Netherlands
    http://www.phetios.com
    http://blog.nessus.nl

    MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE
    "No matter how secure, there is always the human factor."

    "Enjoy life today, tomorrow may never come."
    "If you're going through hell, keep going. ~Winston Churchill"

    Comment

    Working...
    X