Monday, February 6, 2017

Not sure why you're getting "java.net.MalformedURLException: Unsupported protocol: t3s"?

Problem:

You might be trying to run a SOA Ant command in Oracle SOA Suite 12c and even though the host and port and authentication information are correct, you receive the following error:

[root@soa-training~]# $ANT_HOME/bin/ant -f $MW_HOME/soa/bin/ant-sca-mgmt.xml listDeployedComposites -Dhost=soahost1 -Dport=8001 -Duser=weblogic -Dpassword=welcome1


Buildfile: /u01/middleware/soa/bin/ant-sca-mgmt.xml
     [echo] oracle.home = /u01/middleware/soa/bin/..

listDeployedComposites:
    [input] skipping input as property host has already been set.
    [input] skipping input as property port has already been set.
    [input] skipping input as property user has already been set.
[secure-input] skipping secure-input as property password has already been set.
     [echo] oracle.home = /u01/middleware/soa/bin/..

compositeMgrTask:
     [java] Connecting to JMX Server at host: soahost1 port 8001
     [java] Connecting to JMX Server at host: soahost1 port 8001
     [java] java.net.MalformedURLException: Unsupported protocol: t3s
     [java]     at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:359)
     [java]     at oracle.fabric.management.deployedcomposites.CompositeManagerHelper.createJMXConnector(CompositeManagerHelper.java:212)
     [java]     at oracle.fabric.management.deployedcomposites.CompositeManagerHelper.createJMXConnector(CompositeManagerHelper.java:218)
     [java]     at oracle.fabric.management.deployedcomposites.CompositeManagerHelper.createJMXConnector(CompositeManagerHelper.java:154)
     [java]     at oracle.fabric.management.deployedcomposites.CompositeManagerHelper.<init>(CompositeManagerHelper.java:115)
     [java]     at oracle.fabric.management.deployedcomposites.CompositeManagerAntWrapper.execute(CompositeManagerAntWrapper.java:241)
     [java]     at oracle.fabric.management.deployedcomposites.CompositeManagerAntWrapper.main(CompositeManagerAntWrapper.java:301)

BUILD SUCCESSFUL
Total time: 1 second


Solution:

This error is specifically related to the JAR file wlthint3client.jar being missing from the $MW_HOME/wlserver/server/lib directory.

1. Restore the missing file $MW_HOME/wlserver/server/lib/wlthint3client.jar.





No comments:

Post a Comment