javax.naming.InvalidNameException: tcp://localhost:1414 [Root exception is java.net.MalformedURLException: unknown protocol: tcp]

Stack Overflow | Jason | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Websphere MQ unable to create initial JNDI context

    Stack Overflow | 2 years ago | Jason
    javax.naming.InvalidNameException: tcp://localhost:1414 [Root exception is java.net.MalformedURLException: unknown protocol: tcp]
  2. 0

    IIOP

    Oracle Community | 1 decade ago | 843793
    javax.naming.InvalidNameException: iiop://localhost:3700 [Root exception is java.net.MalformedURLException: unknown protocol: iiop]
  3. 0

    Convert a vfs url string to url object

    Stack Overflow | 3 years ago | Anish Antony
    java.net.MalformedURLException: unknown protocol: vfs
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Trunk Build Failure

    Google Groups | 9 years ago | GWT Coder
    web.xml

  1. poroszd 1 times, last 2 weeks ago
  2. raytest 2 times, last 1 month ago
  3. treefolk 1 times, last 1 month ago
  4. andreeaa marin 1 times, last 1 month ago
  5. Andreas Häber 1 times, last 2 months ago
37 more registered users
47 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.MalformedURLException

    unknown protocol: tcp

    at java.net.URL.<init>()
  2. Java RT
    URL.<init>
    1. java.net.URL.<init>(URL.java:574)
    2. java.net.URL.<init>(URL.java:464)
    3. java.net.URL.<init>(URL.java:413)
    3 frames
  3. com.sun.jndi
    FSContextFactory.getInitialContext
    1. com.sun.jndi.fscontext.FSContextFactory.getFileNameFromURLString(FSContextFactory.java:117)
    2. com.sun.jndi.fscontext.RefFSContextFactory.createContext(RefFSContextFactory.java:41)
    3. com.sun.jndi.fscontext.RefFSContextFactory.createContextAux(RefFSContextFactory.java:47)
    4. com.sun.jndi.fscontext.FSContextFactory.getInitialContext(FSContextFactory.java:49)
    4 frames
  4. Java RT
    InitialDirContext.<init>
    1. javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    2. javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
    3. javax.naming.InitialContext.init(InitialContext.java:223)
    4. javax.naming.InitialContext.<init>(InitialContext.java:197)
    5. javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:82)
    5 frames
  5. com.hcsc.jms
    JMS_JNDI_Websphere_Sample.main
    1. com.hcsc.jms.websphere.jndi.JMS_JNDI_Websphere_Sample.main(JMS_JNDI_Websphere_Sample.java:32)
    1 frame