Ver Mensaje Individual
  #1 (permalink)  
Antiguo 28/12/2010, 14:05
tronco020
 
Fecha de Ingreso: noviembre-2010
Ubicación: Tandil
Mensajes: 79
Antigüedad: 14 años
Puntos: 3
Exclamación Correr aplicación remotamente con Web Start

Hola, amigos javeros.

Estoy desarrollando una aplicación de escritorio con NetBeans 6.9.1. Está montada en WAMP en una LAN diferente a la que estoy. Desde dentro de la misma LAN funciona a la perfección. Además, desde otra LAN (donde desarrollé la aplicación) e incluso desde mi casa, funciona perfectamente. Ahora bien. Le pedí a un amigo de Perú que probara acceder a la aplicación y no puede conectarse. Estoy usando Hibernate y Postgres. Acá les imprimo el StackTrace que le da a mi amigo:

Código Javascript:
Ver original
  1. ...
  2. 28/12/2010 11:36:19 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
  3. INFO: Mapping collection: Entidades.Localizaciones.bieneses -> bienes
  4. 28/12/2010 11:36:19 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
  5. INFO: Mapping collection: Entidades.Secciones.bieneses -> bienes
  6. 28/12/2010 11:36:19 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
  7. INFO: Mapping collection: Entidades.Rubros.bieneses -> bienes
  8. 28/12/2010 11:36:19 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
  9. INFO: Mapping collection: Entidades.Cuentas.rubrosesForCuentaaa -> rubros
  10. 28/12/2010 11:36:19 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
  11. INFO: Mapping collection: Entidades.Cuentas.rubrosesForCuenta -> rubros
  12. 28/12/2010 11:36:19 AM org.hibernate.cfg.HbmBinder bindCollectionSecondPass
  13. INFO: Mapping collection: Entidades.Cuentas.seccioneses -> secciones
  14. 28/12/2010 11:36:19 AM org.hibernate.connection.DriverManagerConnectionProvider configure
  15. INFO: Using Hibernate built-in connection pool (not for production use!)
  16. 28/12/2010 11:36:19 AM org.hibernate.connection.DriverManagerConnectionProvider configure
  17. INFO: Hibernate connection pool size: 20
  18. 28/12/2010 11:36:19 AM org.hibernate.connection.DriverManagerConnectionProvider configure
  19. INFO: autocommit mode: false
  20. 28/12/2010 11:36:19 AM org.hibernate.connection.DriverManagerConnectionProvider configure
  21. INFO: using driver: org.postgresql.Driver at URL: jdbc:postgresql://190.136.183.32:5432/bienes
  22. 28/12/2010 11:36:19 AM org.hibernate.connection.DriverManagerConnectionProvider configure
  23. INFO: connection properties: {user=postgres, password=****}
  24. 28/12/2010 11:41:19 AM org.hibernate.cfg.SettingsFactory buildSettings
  25. ADVERTENCIA: Could not obtain connection metadata java.net.SocketException: Malformed reply from SOCKS server
  26. org.postgresql.util.PSQLException: El intento de conexión falló.
  27.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:137)
  28.     at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
  29.     at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:124)
  30.     at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30)
  31.     at org.postgresql.jdbc3.Jdbc3Connection.<init>(Jdbc3Connection.java:24)
  32.     at org.postgresql.Driver.makeConnection(Driver.java:386)
  33.     at org.postgresql.Driver.connect(Driver.java:260)
  34.     at java.sql.DriverManager.getConnection(Unknown Source)
  35.     at java.sql.DriverManager.getConnection(Unknown Source)
  36.     at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:110)
  37.     at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:84)
  38.     at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009)
  39.     at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)
  40.     at Entidades.HibernateUtil.addConfigFile(HibernateUtil.java:63)
  41.     at Fuentes.Main.main(Main.java:44)
  42.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  43.     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  44.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  45.     at java.lang.reflect.Method.invoke(Unknown Source)
  46.     at com.sun.javaws.Launcher.executeApplication(Unknown Source)
  47.     at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
  48.     at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
  49.     at com.sun.javaws.Launcher.run(Unknown Source)
  50.     at java.lang.Thread.run(Unknown Source)
  51. Caused by: java.net.SocketException: Malformed reply from SOCKS server
  52.     at java.net.SocksSocketImpl.readSocksReply(Unknown Source)
  53.     at java.net.SocksSocketImpl.connect(Unknown Source)
  54.     at java.net.Socket.connect(Unknown Source)
  55.     at java.net.Socket.connect(Unknown Source)
  56.     at java.net.Socket.<init>(Unknown Source)
  57.     at java.net.Socket.<init>(Unknown Source)
  58.     at org.postgresql.core.PGStream.<init>(PGStream.java:62)
  59.     at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:77)
  60.     ... 23 more
  61. 28/12/2010 11:41:19 AM org.hibernate.dialect.Dialect <init>
  62. INFO: Using dialect: org.hibernate.dialect.PostgreSQLDialect
  63. 28/12/2010 11:41:19 AM org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
  64. INFO: Using default transaction strategy (direct JDBC transactions)
  65. 28/12/2010 11:41:19 AM org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
  66. INFO: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
  67. 28/12/2010 11:41:19 AM org.hibernate.cfg.SettingsFactory buildSettings
  68. INFO: Automatic flush during beforeCompletion(): disabled
  69. 28/12/2010 11:41:19 AM org.hibernate.cfg.SettingsFactory buildSettings
  70. INFO: Automatic session close at end of transaction: disabled
  71. 28/12/2010 11:41:19 AM org.hibernate.cfg.SettingsFactory buildSettings
  72. INFO: Scrollable result sets: disabled
  73. 28/12/2010 11:41:19 AM org.hibernate.cfg.SettingsFactory buildSettings
  74. INFO: JDBC3 getGeneratedKeys(): disabled
  75. 28/12/2010 11:41:19 AM org.hibernate.cfg.SettingsFactory buildSettings
  76. INFO: Connection release mode: auto
  77. 28/12/2010 11:41:19 AM org.hibernate.cfg.SettingsFactory buildSettings
  78. INFO: Default batch fetch size: 1
  79. 28/12/2010 11:41:19 AM org.hibernate.cfg.SettingsFactory buildSettings
  80. INFO: Generate SQL with comments: disabled
  81. 28/12/2010 11:41:19 AM org.hibernate.cfg.SettingsFactory buildSettings
  82. INFO: Order SQL updates by primary key: disabled
  83. 28/12/2010 11:41:19 AM org.hibernate.cfg.SettingsFactory buildSettings
  84. INFO: Order SQL inserts for batching: disabled
  85. 28/12/2010 11:41:19 AM org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
  86. INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
  87. 28/12/2010 11:41:19 AM org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
  88. INFO: Using ASTQueryTranslatorFactory
  89. 28/12/2010 11:41:19 AM org.hibernate.cfg.SettingsFactory buildSettings
  90. INFO: Query language substitutions: {}
  91. 28/12/2010 11:41:19 AM org.hibernate.cfg.SettingsFactory buildSettings
  92. INFO: JPA-QL strict compliance: disabled
  93. 28/12/2010 11:41:19 AM org.hibernate.cfg.SettingsFactory buildSettings
  94. INFO: Second-level cache: enabled
  95. 28/12/2010 11:41:19 AM org.hibernate.cfg.SettingsFactory buildSettings
  96. INFO: Query cache: disabled
  97. 28/12/2010 11:41:19 AM org.hibernate.cfg.SettingsFactory createCacheProvider
  98. INFO: Cache provider: org.hibernate.cache.NoCacheProvider
  99. 28/12/2010 11:41:19 AM org.hibernate.cfg.SettingsFactory buildSettings
  100. INFO: Optimize cache for minimal puts: disabled
  101. 28/12/2010 11:41:19 AM org.hibernate.cfg.SettingsFactory buildSettings
  102. INFO: Structured second-level cache entries: disabled
  103. 28/12/2010 11:41:19 AM org.hibernate.cfg.SettingsFactory buildSettings
  104. INFO: Statistics: disabled
  105. 28/12/2010 11:41:19 AM org.hibernate.cfg.SettingsFactory buildSettings
  106. INFO: Deleted entity synthetic identifier rollback: disabled
  107. 28/12/2010 11:41:19 AM org.hibernate.cfg.SettingsFactory buildSettings
  108. INFO: Default entity-mode: pojo
  109. 28/12/2010 11:41:19 AM org.hibernate.cfg.SettingsFactory buildSettings
  110. INFO: Named query checking : enabled
  111. 28/12/2010 11:41:19 AM org.hibernate.impl.SessionFactoryImpl <init>
  112. INFO: building session factory
  113. 28/12/2010 11:41:19 AM org.hibernate.impl.SessionFactoryObjectFactory addInstance
  114. INFO: Not binding factory to JNDI, no JNDI name configured

En el archivo pg_hba.conf de PgAdmin habilité todas las conexiones entrantes de la siguiente forma:

host all all 0.0.0.0/0 md5

El tema es que desde algunas PC puedo ingresar y desde otras no...
¿Será un problema de diferencias de versiones de Java? (mi amigo tiene la versión 1.5.0_06 y yo la 1.6.0_23)
¿Será alguna configuración de Java en la terminal?
¿Será que la terminal tiene algún puerto bloqueado?

Cualquier ayuda es bienvenida. Muchas gracias.