- Este debate está vacío.
-
AutorEntradas
-
3 septiembre, 2010 a las 2:31 pm #31518Carranza CarlosParticipante
Me ha pasado algo muy raro.
Máquina virtual con Servidor Ubuntu 10.04.
Instalación con libertya como servicio (según documento para ubuntu 9.10 de foro).
Funcionando bien.
Cambié la dirección Ip del servidor (en este caso una máquina virtual).
Ejecuté nuevamente ./Configurar.sh. Validó correctamente los valores. Guardé.
Servidor levanta perfectamente, ya sea como servicio o desde /ServidorOXP/utils/IniciarServidor.sh.
Se puede acceder a puerto 80 y descargar cliente liviano o pesado.
Desde el cliente se accede perfectamente a la base de datos, pero no se puede conectar al servidor de aplicaciones.
Log de Configuracion :*** 2010-09-03 11:15:21.196 OpenXpertya Log (CLogFile) ***
11:15:21.106 CLogMgt.setLevel: CONFIG
11:15:21.106 Setup.: Libertya (r) Versión 10.03_15-03-2010 – Software Libre de Gestión- (c) 2009 DISYTEL; Implementación: Libertya 20100315-1136 – SERVICIOS_DIGITALES
11:15:21.106 AEnv.showCenterScreen: Aparicion de la ventana
11:15:21.106 ConfigurationData.load: /ServidorOXP/LibertyaEnv.properties
11:15:21.106 Config.init: /usr/lib/jvm/java-6-openjdk/jre
11:15:21.106 Config.init: /usr/lib/jvm/java-6-openjdk/jre
11:15:21.106 Config.test: OK: JavaHome=/usr/lib/jvm/java-6-openjdk [13]
11:15:21.106 Config.test: OK: Version=1.6.0_18 [13]
11:15:21.106 ConfigurationData.testOXP: OK: OXPHome = /ServidorOXP [13]
11:15:21.106 KeyStoreMgt.: /ServidorOXP/keystore/myKeystore [13]
11:15:21.106 KeyStoreMgt.getKeyStore: /ServidorOXP/keystore/myKeystore [13]
11:15:21.106 KeyStoreMgt.getKeyStore: Proveedor=SUN version 1.6 – Tipo=JKS [13]
11:15:21.106 KeyStoreMgt.getCertificate: Alias=libertya [13]
11:15:21.106 KeyStoreMgt.getCertificate: Creado=Tue Aug 17 20:17:35 ART 2010 [13]
11:15:21.106 KeyStoreMgt.getCertificate: RSA [13]
11:15:21.106 KeyStoreMgt.getCertificate: X.509 [13]
11:15:21.106 ConfigurationData.testOXP: OK: KeyStore = /ServidorOXP/keystore/myKeystore [13]
11:15:21.106 Config.test: OK: AppsServer = /192.168.56.101 [13]
11:15:21.106 Config.test: OK: Deploy Directory = /ServidorOXP/jboss/server/openXpertya/deploy [13]
11:15:21.106 ConfigurationData.testPort: ubuntuserver/192.168.56.101:1099 – Connection refused [13]
11:15:21.106 ConfigurationData.testServerPort: 0.0.0.0/0.0.0.0:1099 – created [13]
11:15:21.106 Config.test: OK: JNPPort = 1099 [13]
11:15:21.106 ConfigurationData.testPort: Not used=http://ubuntuserver:80/ [13]
11:15:21.106 ConfigurationData.testServerPort: 0.0.0.0/0.0.0.0:80 – created [13]
11:15:21.106 Config.test: OK: Web Port = 80 [13]
11:15:21.106 ConfigurationData.testPort: Not used=https://ubuntuserver:443/ [13]
11:15:21.106 ConfigurationData.testServerPort: 0.0.0.0/0.0.0.0:443 – created [13]
11:15:21.106 Config.test: OK: SSL Port = 443 [13]
11:15:21.106 Config.test: OK: Database Server = /192.168.56.101 [13]
11:15:21.106 ConfigurationData.testPort: ubuntuserver/192.168.56.101:5432 – Socket[addr=ubuntuserver/192.168.56.101,port=5432,localport=56678] [13]
11:15:21.106 Config.test: OK: Database Port = 5432 [13]
11:15:21.106 Config.test: OK: System Connection = jdbc:postgresql://ubuntuserver:5432/template1 [13]
11:15:21.106 Config.test: OK: Database User = libertya [13]
===========> ConfigurationData.testPort: Open Socket ubuntuserver/127.0.1.1:25 – Connection refused [13]
11:15:21.106 ConfigurationData.testMailServer: SMTP Server NOT available [13]
===========> ConfigurationData.testPort: Open Socket ubuntuserver/127.0.1.1:110 – Connection refused [13]
11:15:21.106 ConfigurationData.testMailServer: POP3 Server NOT available [13]
===========> ConfigurationData.testPort: Open Socket ubuntuserver/127.0.1.1:143 – Connection refused [13]
11:15:21.106 ConfigurationData.testMailServer: IMAP4 Server NOT available [13]
> ConfigurationData.testMailServer: No active Mail Server [13]
> ConfigurationData.testMail: Not verified EMail = carlos@ubuntuserver [13]
11:15:21.106 Config.test: OK: JavaHome=/usr/lib/jvm/java-6-openjdk [14]
11:15:21.106 Config.test: OK: Version=1.6.0_18 [14]
11:15:21.106 ConfigurationData.testOXP: OK: OXPHome = /ServidorOXP [14]
11:15:21.106 KeyStoreMgt.: /ServidorOXP/keystore/myKeystore [14]
11:15:21.106 KeyStoreMgt.getKeyStore: /ServidorOXP/keystore/myKeystore [14]
11:15:21.106 KeyStoreMgt.getKeyStore: Proveedor=SUN version 1.6 – Tipo=JKS [14]
11:15:21.106 KeyStoreMgt.getCertificate: Alias=libertya [14]
11:15:21.106 KeyStoreMgt.getCertificate: Creado=Tue Aug 17 20:17:35 ART 2010 [14]
11:15:21.106 KeyStoreMgt.getCertificate: RSA [14]
11:15:21.106 KeyStoreMgt.getCertificate: X.509 [14]
11:15:21.106 ConfigurationData.testOXP: OK: KeyStore = /ServidorOXP/keystore/myKeystore [14]
11:15:21.106 Config.test: OK: AppsServer = /192.168.56.101 [14]
11:15:21.106 Config.test: OK: Deploy Directory = /ServidorOXP/jboss/server/openXpertya/deploy [14]
11:15:21.106 ConfigurationData.testPort: ubuntuserver/192.168.56.101:1099 – Connection refused [14]
11:15:21.106 ConfigurationData.testServerPort: 0.0.0.0/0.0.0.0:1099 – created [14]
11:15:21.106 Config.test: OK: JNPPort = 1099 [14]
11:15:21.106 ConfigurationData.testPort: Not used=http://ubuntuserver:80/ [14]
11:15:21.106 ConfigurationData.testServerPort: 0.0.0.0/0.0.0.0:80 – created [14]
11:15:21.106 Config.test: OK: Web Port = 80 [14]
11:15:21.106 ConfigurationData.testPort: Not used=https://ubuntuserver:443/ [14]
11:15:21.106 ConfigurationData.testServerPort: 0.0.0.0/0.0.0.0:443 – created [14]
11:15:21.106 Config.test: OK: SSL Port = 443 [14]
11:15:21.106 Config.test: OK: Database Server = /192.168.56.101 [14]
11:15:21.106 ConfigurationData.testPort: ubuntuserver/192.168.56.101:5432 – Socket[addr=ubuntuserver/192.168.56.101,port=5432,localport=56687] [14]
11:15:21.106 Config.test: OK: Database Port = 5432 [14]
11:15:21.106 Config.test: OK: System Connection = jdbc:postgresql://ubuntuserver:5432/template1 [14]
11:15:21.106 Config.test: OK: Database User = libertya [14]
===========> ConfigurationData.testPort: Open Socket ubuntuserver/127.0.1.1:25 – Connection refused [14]
11:15:21.106 ConfigurationData.testMailServer: SMTP Server NOT available [14]
===========> ConfigurationData.testPort: Open Socket ubuntuserver/127.0.1.1:110 – Connection refused [14]
11:15:21.106 ConfigurationData.testMailServer: POP3 Server NOT available [14]
===========> ConfigurationData.testPort: Open Socket ubuntuserver/127.0.1.1:143 – Connection refused [14]
11:15:21.106 ConfigurationData.testMailServer: IMAP4 Server NOT available [14]
> ConfigurationData.testMailServer: No active Mail Server [14]
> ConfigurationData.testMail: Not verified EMail = carlos@ubuntuserver [14]
11:15:21.106 ConfigurationData.save: /ServidorOXP/LibertyaEnv.properties [12]
11:15:21.106 ConfigurationPanel.save: Arrancando Ant … [12]*** 2010-09-03 11:19:18.218 OpenXpertya Log (CLogFile) ***
log de arranque con /ServidorOXP/utils/IniciarServidor.sh (sólo problema de smtp)
*** 2010-09-03 11:31:21.512 OpenXpertya Log (CLogFile) ***
> EMail.isValid: No To [15]
> EMail.isValid: No To [15]
===========> EMail.send: send(ME): Unknown SMTP host: smtp.openxpertya.org;
nested exception is:
java.net.UnknownHostException: smtp.openxpertya.org: smtp.openxpertya.org [15]
> EMail.isValid: No To [15]
> EMail.isValid: No To [15]
> EMail.isValid: No To [15]
> EMail.isValid: No To [15]
===========> EMail.send: send(ME): Unknown SMTP host: smtp.openxpertya.org;
nested exception is:
java.net.UnknownHostException: smtp.openxpertya.org: smtp.openxpertya.org [15]
> EMail.isValid: No To [15]
> EMail.isValid: No To [15]Consola de arranque de IniciarServidor.sh :
Configurando el entorno ….
Iniciando Servidor Libertya – /ServidorOXP (libertya)
=========================================================================JBoss Bootstrap Environment
JBOSS_HOME: /ServidorOXP/jboss
JAVA: /usr/lib/jvm/java-6-openjdk/bin/java
JAVA_OPTS: -server -Xms64M -Xmx512M -DOXP_HOME=/ServidorOXP -Djava.rmi.server.useLocalHostname=false -Djava.rmi.server.hostname=ubuntuserver -Djava.awt.headless=true -Dprogram.name=run.sh
CLASSPATH: /ServidorOXP/jboss/bin/run.jar:/usr/lib/jvm/java-6-openjdk/lib/tools.jar
=========================================================================
11:28:39,169 INFO [Server] Starting JBoss (MX MicroKernel)…
11:28:39,174 INFO [Server] Release ID: JBoss [Zion] 4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)
11:28:39,175 INFO [Server] Home Dir: /ServidorOXP/jboss
11:28:39,175 INFO [Server] Home URL: file:/ServidorOXP/jboss/
11:28:39,175 INFO [Server] Library URL: file:/ServidorOXP/jboss/lib/
11:28:39,179 INFO [Server] Patch URL: null
11:28:39,179 INFO [Server] Server Name: openXpertya
11:28:39,179 INFO [Server] Server Home Dir: /ServidorOXP/jboss/server/openXpertya
11:28:39,180 INFO [Server] Server Home URL: file:/ServidorOXP/jboss/server/openXpertya/
11:28:39,180 INFO [Server] Server Data Dir: /ServidorOXP/jboss/server/openXpertya/data
11:28:39,180 INFO [Server] Server Temp Dir: /ServidorOXP/jboss/server/openXpertya/tmp
11:28:39,180 INFO [Server] Server Config URL: file:/ServidorOXP/jboss/server/openXpertya/conf/
11:28:39,181 INFO [Server] Server Library URL: file:/ServidorOXP/jboss/server/openXpertya/lib/
11:28:39,181 INFO [Server] Root Deployment Filename: jboss-service.xml
11:28:39,191 INFO [Server] Starting General Purpose Architecture (GPA)…
11:28:40,528 INFO [ServerInfo] Java version: 1.6.0_18,Sun Microsystems Inc.
11:28:40,528 INFO [ServerInfo] Java VM: OpenJDK Server VM 16.0-b13,Sun Microsystems Inc.
11:28:40,532 INFO [ServerInfo] OS-System: Linux 2.6.32-24-generic-pae,i386
11:28:41,599 INFO [Server] Core system initialized
11:28:45,437 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
11:28:50,989 INFO [WebService] Using RMI server codebase: http://ubuntuserver:8083/
11:28:51,531 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
11:28:59,428 INFO [Embedded] Catalina naming disabled
11:29:00,218 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-80
11:29:01,472 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-443
11:29:01,478 INFO [Catalina] Initialization processed in 1707 ms
11:29:01,480 INFO [StandardService] Starting service jboss.web
11:29:01,497 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.9
11:29:01,631 INFO [StandardHost] XML validation disabled
11:29:01,722 INFO [Catalina] Server startup in 244 ms
11:29:02,089 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/ServidorOXP/jboss/server/openXpertya/deploy/http-invoker.sar/invoker.war/
11:29:02,459 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
11:29:03,145 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=file:/ServidorOXP/jboss/server/openXpertya/tmp/deploy/tmp1565406234784460342jboss-ws4ee.war/
11:29:03,523 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/ServidorOXP/jboss/server/openXpertya/deploy/jbossweb-tomcat55.sar/ROOT.war/
11:29:03,902 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file:/ServidorOXP/jboss/server/openXpertya/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
11:29:07,292 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/ServidorOXP/jboss/server/openXpertya/deploy/management/console-mgr.sar/web-console.war/
11:29:08,147 INFO [MailService] Mail Service bound to java:/Mail
11:29:09,220 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/ServidorOXP/jboss/server/openXpertya/deploy/jboss-ha-local-jdbc.rar
11:29:09,787 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/ServidorOXP/jboss/server/openXpertya/deploy/jboss-ha-xa-jdbc.rar
11:29:10,230 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/ServidorOXP/jboss/server/openXpertya/deploy/jboss-local-jdbc.rar
11:29:10,598 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/ServidorOXP/jboss/server/openXpertya/deploy/jboss-xa-jdbc.rar
11:29:11,051 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/ServidorOXP/jboss/server/openXpertya/deploy/jms/jms-ra.rar
11:29:11,364 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/ServidorOXP/jboss/server/openXpertya/deploy/mail-ra.rar
11:29:15,343 INFO [WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager ‘jboss.jca:service=DataSourceBinding,name=DefaultDS to JNDI name ‘java:DefaultDS’
11:29:15,843 INFO [A] Bound to JNDI name: queue/A
11:29:15,847 INFO Bound to JNDI name: queue/B
11:29:15,851 INFO [C] Bound to JNDI name: queue/C
11:29:15,859 INFO [D] Bound to JNDI name: queue/D
11:29:15,863 INFO [ex] Bound to JNDI name: queue/ex
11:29:15,934 INFO [testTopic] Bound to JNDI name: topic/testTopic
11:29:15,941 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
11:29:15,943 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
11:29:15,953 INFO [testQueue] Bound to JNDI name: queue/testQueue
11:29:16,043 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
11:29:16,128 INFO [DLQ] Bound to JNDI name: queue/DLQ
11:29:16,731 INFO [ConnectionFactoryBindingService] Bound connection factory for resource adapter for ConnectionManager ‘jboss.jca:service=ConnectionFactoryBinding,name=JmsXA to JNDI name ‘java:JmsXA’
11:29:16,874 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/ServidorOXP/jboss/server/openXpertya/deploy/jmx-console.war/
11:29:17,790 INFO [EARDeployer] Init J2EE application: file:/ServidorOXP/jboss/server/openXpertya/deploy/OXPApps.ear
11:29:20,979 INFO [TomcatDeployer] deploy, ctxPath=/openXpertya, warUrl=file:/ServidorOXP/jboss/server/openXpertya/tmp/deploy/tmp8704145370498657888OXPApps.ear-contents/OXPApps.war/
11:29:22,246 INFO [STDOUT] CLogFile[/ServidorOXP/log/ServidorOXP_2010-09-03_7.log,Level=SEVERE]
11:29:26,068 INFO [EARDeployer] Started J2EE application: file:/ServidorOXP/jboss/server/openXpertya/deploy/OXPApps.ear
11:29:33,731 INFO [EARDeployer] Init J2EE application: file:/ServidorOXP/jboss/server/openXpertya/deploy/OXPRoot.ear
11:30:11,699 INFO [EjbModule] Deploying openXpertya/Server
11:30:12,776 INFO [EjbModule] Deploying openXpertya/Status
11:30:13,100 INFO [EJBDeployer] Deployed: file:/ServidorOXP/jboss/server/openXpertya/tmp/deploy/tmp2036209868083771900OXPRoot.ear-contents/OXPRoot.jar
11:30:14,015 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/ServidorOXP/jboss/server/openXpertya/tmp/deploy/tmp2036209868083771900OXPRoot.ear-contents/OXPRoot.war/
11:30:18,709 INFO [EARDeployer] Started J2EE application: file:/ServidorOXP/jboss/server/openXpertya/deploy/OXPRoot.ear
11:30:19,974 INFO [EARDeployer] Init J2EE application: file:/ServidorOXP/jboss/server/openXpertya/deploy/TiendaWebOXP.ear
11:30:33,031 INFO [TomcatDeployer] deploy, ctxPath=/wstore, warUrl=file:/ServidorOXP/jboss/server/openXpertya/tmp/deploy/tmp5494337343863239303TiendaWebOXP.ear-contents/TiendaWebOXP.war/
11:30:36,558 INFO [EARDeployer] Started J2EE application: file:/ServidorOXP/jboss/server/openXpertya/deploy/TiendaWebOXP.ear
11:30:37,403 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-80
11:30:38,157 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
11:30:38,190 INFO [JkMain] Jk running ID=0 time=0/108 config=null
11:30:38,242 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-443
11:30:38,275 INFO [Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)] Started in 1m:59s:84msLo único que veo es que no encuentra servidor smtp, pero no tiene sentido (creo) que sea eso.
Otro menor :
Al hacer funcionar el application server como servicio, se ocupa el puerto 1099 (jboss). Al bajar el servicio el puerto queda tomado y no se puede reconfigurar. Alguien sabe como cerrar un puerto en linux, el cual no tiene asignado un servicio, sin reiniciar el equipo?Alguien me podrá dar una mano. Tengo cierta urgencia, está operativo.
3 septiembre, 2010 a las 8:07 pm #34941Federico CristinaSuperadministradorBuenas,
Sobre el acceso al servidor, fijate si pueda llegar a ser que esté relacionado con este thread.
Respecto al puerto 1099, podes hacer:
Code:netstat -lapevn | grep 1099o
Code:fuser -n tcp 1099eso te devolverá el process Id que hay que matar mediante:
Code:kill -9 pidSaludos,
Federico3 septiembre, 2010 a las 10:17 pm #34942Carranza CarlosParticipanteGracias Federico.
Ahora me puedo conectar al servidor de aplicaciones.
Modifiqué el archivo host del cliente.
Lo raro es que me manejo con ip y no con los nombres.
Con respecto al otro tema (puerto usado) no lo probé aún. -
AutorEntradas
- Debes estar registrado para responder a este debate.