• Este debate está vacío.
Viendo 6 entradas - de la 1 a la 6 (de un total de 6)
  • Autor
    Entradas
  • #32517

    Hola! ¿Cómo están? Espero que todo bien!

    Estoy haciendo unas pruebas de conexión desde una estación de trabajo con Debian a un host también con Debian en el que instalé el servidor de aplicaciones y estoy teniendo algunas dificultades al usar tanto el cliente liviano como el pesado. Para tratar los temas por separado, por una cuestión de orden, comentaré en este hilo lo que sucede con el cliente liviano.

    Copio el trazado con el error al ejecutarlo:

    Code:
    net.sourceforge.jnlp.LaunchException: Fatal: Read Error: Could not read or parse the JNLP file. You can try to download this file manually and send it as bug report to IcedTea-Web team.
    at net.sourceforge.jnlp.Launcher.fromUrl(Launcher.java:472)
    at net.sourceforge.jnlp.Launcher.launch(Launcher.java:278)
    at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:211)
    at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:53)
    at java.security.AccessController.doPrivileged(Native Method)
    at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:177)
    Caused by: net.sourceforge.jnlp.ParseException: Invalid XML document syntax.
    at net.sourceforge.jnlp.Parser.getRootNode(Parser.java:1312)
    at net.sourceforge.jnlp.JNLPFile.(JNLPFile.java:206)
    at net.sourceforge.jnlp.JNLPFile.
    (JNLPFile.java:190)
    at net.sourceforge.jnlp.JNLPFile.
    (JNLPFile.java:175)
    at net.sourceforge.jnlp.JNLPFile.
    (JNLPFile.java:161)
    at net.sourceforge.jnlp.Launcher.fromUrl(Launcher.java:452)
    … 5 more
    Caused by: net.sourceforge.nanoxml.XMLParseException: XML Parse Exception during parsing of the XML definition at line 1: Expected: ‘<' but got: '' at net.sourceforge.nanoxml.XMLElement.expectedInput(XMLElement.java:1143) at net.sourceforge.nanoxml.XMLElement.parseFromReader(XMLElement.java:503) at net.sourceforge.nanoxml.XMLElement.parseFromReader(XMLElement.java:464) at net.sourceforge.jnlp.Parser.getRootNode(Parser.java:1308) ... 10 more

    Aparentemente, parece ser un problema en la estructura del archivo XML. Se los copio a continuación tal cual me lo bajé del servidor (está así, todo seguido en una sola línea, por lo que puede ser interesante agregar en futuras versiones los saltos de línea correspondientes para ayudar a interpretarlo más facilmente desde lo visual):

    Code:
    cliente libertya v12.04 DISYTEL Libertya, Software Libre de Gestion Libertya Libertya, Software Libre de Gestion Libertya Software Libre de Gestion

    Componentes instalados en el equipo cliente:

    Code:
    # aptitude search openjdk | grep ^i
    i A openjdk-6-jre – OpenJDK Java runtime, using Hotspot JIT
    i A openjdk-6-jre-headless – OpenJDK Java runtime, using Hotspot JIT (h
    i A openjdk-6-jre-lib – OpenJDK Java runtime (architecture indepen
    i openjdk-7-jre – OpenJDK Java runtime, using Hotspot JIT
    i A openjdk-7-jre-headless – OpenJDK Java runtime, using Hotspot JIT (h
    i A openjdk-7-jre-lib – OpenJDK Java runtime (architecture indepen
    Code:
    # aptitude search icedtea | grep ^i
    i A icedtea-6-jre-cacao – Alternative JVM for OpenJDK, using Cacao
    i A icedtea-6-jre-jamvm – Alternative JVM for OpenJDK, using JamVM
    i A icedtea-7-jre-jamvm – Alternative JVM for OpenJDK, using JamVM
    i A icedtea-netx – NetX – implementation of the Java Network
    i A icedtea-netx-common – NetX – implementation of the Java Network

    Gracias anticipadas por responder.

    Saludos,
    Daniel

    #37905

    Acabo de darle formato al código XML agregándole sangría al archivo original, para facilitar su revisión. Lo copio a continuación:

    Code:



    cliente libertya v12.04
    DISYTEL


    Libertya, Software Libre de Gestion
    Libertya
    Libertya, Software Libre de Gestion
    Libertya Software Libre de Gestion












    #37906
    Saulo Gil
    Miembro

    El contenido XML que posteaste [url=http://www.validome.org/xml/validate/?lang=en&viewSourceCode=1&url=http://pastebin.com/raw.
    php%3fi=K7ypsypY&onlyWellFormed=1]es válido[/url]. Seguramente hay problemas al leer el archivo, ver el siguiente error:

    Caused by: net.sourceforge.nanoxml.XMLParseException: XML Parse Exception during parsing of the XML definition at line 1: Expected: ‘<' but got: ''

    #37911

    Hola, Mand1nga.

    Sí, justamente en esa línea que comentabas se basaba mi hipótesis de un posible problema en la estructuración del archivo XML, pero, por lo que veo, pasó la prueba del validador.

    Me gustaría saber si alguien tuvo el mismo problema en el escenario que planteaba o bien puede reproducirlo.

    Gracias por responder.

    Saludos,
    Daniel

    #37912
    Saulo Gil
    Miembro

    Te dejo una referencia extraida de los foros de Ubuntu

    Quote:
    OpenJDK is a future replacement for Java. Currently, Ubuntu and Mac OS X use this instead of the official Oracle Java. Some things do not work entirely yet and may cause problems, but it does get closer with every release. If this is the case for you, simply replace OpenJDK with Java.

    On Ubuntu, you will likely want to use Oracle Java instead of OpenJDK. You can do this by enabling the Partner Repository in the Ubuntu Software Centre’s Software Sources menu. Do a search for Java and install sun-java6-jre and all should be well.

    Once you download and save a .jnlp file, right-click on it and select Preferences and then the Open With tab. Select Java instead of OpenJDK. All should be well.

    **Note that you do not need to totally remove OpenJDK. You can have both installed at once with no problems. Some people report having better performance on Minecraft using OpenJDK instead of Java, for example. So if you don’t mind taking up some extra space, there’s no problem if you do not remove it.

    #37921

    Hola, mand1nga.

    No lo llegué a probar todavía con la máquina virtual de Oracle. Pensé que al ser Libertya software libre, desde su génesis había sido desarrollado bajo la idea de evitar la dependencia de algún software privativo.

    Gracias por responder.

    Saludos,
    Daniel

Viendo 6 entradas - de la 1 a la 6 (de un total de 6)
  • Debes estar registrado para responder a este debate.