<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2777561300144382425</id><updated>2026-09-17T01:01:03.271-05:00</updated><category term="Java"/><category term="Windows"/><category term="Oracle"/><category term="Ubuntu Server"/><category term="Mule"/><category term="instalar"/><category term="Maven"/><category term="Ubuntu"/><category term="apt-get install"/><category term="Apache Axis"/><category term="Mac OS X"/><category term="Servicios Web"/><category term="Web Service"/><category term="mongoDB"/><category term="Apache ActiveMQ"/><category term="GNU/Linux"/><category term="JDK"/><category term="linux"/><category term="Adobe Flash Player"/><category term="Mac"/><category term="SQL"/><category term="XML"/><category term="configuración"/><category term="código"/><category term="instalación"/><category term="sudo"/><category term="windows 7"/><category term="Apache Tomcat"/><category term="ESB"/><category term="Flex"/><category term="JAR"/><category term="JAVA_HOME"/><category term="James Gosling"/><category term="Java Development Kit"/><category term="MySQL"/><category term="Oracle 10g"/><category term="Oracle 11g"/><category term="Shell"/><category term="Sun Microsystems"/><category term="cmd"/><category term="generar"/><category term="import"/><category term="mvn"/><category term="root"/><category term="unix"/><category term="-D"/><category term="64 bits"/><category term="API"/><category term="Adobe Flex"/><category term="Apache Commons"/><category term="Apache HTTP Server"/><category term="Archetype"/><category term="Beans"/><category term="Client Stub"/><category term="Commons Email"/><category term="Conexión"/><category term="Firefox"/><category term="Flash Builder"/><category term="Flexibilidad"/><category term="HTTPS"/><category term="JAXB"/><category term="JDBC"/><category term="JDK 7"/><category term="JMS"/><category term="Java Architecture for XML Binding"/><category term="Java Certification Path"/><category term="Java Web Frameworks"/><category term="LF"/><category term="Line Feed"/><category term="Mule 3.3.0"/><category term="Mule Studio"/><category term="Oracle SQL"/><category term="PATH"/><category term="POJO"/><category term="PostgreSQL"/><category term="Reemplazar salto de línea SQL"/><category term="Reusabilidad"/><category term="SCJA"/><category term="SCJP"/><category term="SOA"/><category term="SSH"/><category term="SVN"/><category term="SimpleEmail"/><category term="SoapUI"/><category term="Subversion"/><category term="TIOBE"/><category term="UTF-8"/><category term="Web Frameworks"/><category term="anotaciones"/><category term="arquetipo"/><category term="barcamp"/><category term="codificación"/><category term="comando"/><category term="configurar"/><category term="conocer"/><category term="contraseña"/><category term="crossdomain.xml"/><category term="encoding"/><category term="export"/><category term="framework"/><category term="impresión"/><category term="impresora"/><category term="imprimir"/><category term="install"/><category term="keytool"/><category term="mensajes"/><category term="postgres"/><category term="proyecto"/><category term="queue"/><category term="registrar"/><category term="reset root password"/><category term="servicio"/><category term="servicio web"/><category term="índices de popularidad"/><category term="--force-uuid"/><category term="--skip-grant-tables"/><category term="-alias"/><category term="-import"/><category term="-keystore"/><category term="-verbose"/><category term="-version"/><category term=".bash_profile"/><category term="/etc/inittab"/><category term="0xCAFEBABE"/><category term="10g"/><category term="12.04 LTS"/><category term="32 bits"/><category term="ALTER TABLE"/><category term="ANSI"/><category term="API 16"/><category term="AWS"/><category term="AbstractTableModel"/><category term="ActiveMQ"/><category term="ActiveMQConnectionFactory"/><category term="Agregación"/><category term="Amazon EC2"/><category term="Amazon Web Services"/><category term="Android"/><category term="Android 4.1"/><category term="Android SDK Manager"/><category term="Ant"/><category term="Ant Task Axis"/><category term="Apache 2"/><category term="Apache HTTP Server 2"/><category term="Apache Web Server"/><category term="Asociación"/><category term="Asociación Directa"/><category term="BPEL"/><category term="BPMs"/><category term="BlazeDS"/><category term="Bullzip"/><category term="BusinessObjects Data Integrator"/><category term="Bytes"/><category term="CA"/><category term="CYGWIN_HOME"/><category term="Capacidad"/><category term="CentOS"/><category term="Commons Proper"/><category term="Composición"/><category term="Confiabilidad"/><category term="Connection"/><category term="Contract-First"/><category term="Contract-Last"/><category term="Criterios de decisión para soluciones de integración"/><category term="Cygwin"/><category term="DMP"/><category term="DTO"/><category term="DZone"/><category term="Data Transfer Object"/><category term="Data Warehouse"/><category term="DefaultComboBoxModel"/><category term="Dependencia"/><category term="Disponibilidad"/><category term="Django"/><category term="Eclipse"/><category term="Enterprise Integration Patterns"/><category term="Escalabilidad"/><category term="Escritorio Remoto"/><category term="Extensibilidad"/><category term="Fedora"/><category term="FlashBuilder.ini"/><category term="Flex 3"/><category term="Flex Builder"/><category term="Formatter"/><category term="GNU GRUB"/><category term="GSON"/><category term="GWT"/><category term="Generalización"/><category term="Gigabytes"/><category term="Glassfish"/><category term="Gmail"/><category term="GregorianCalendar"/><category term="HTTP"/><category term="HashMap"/><category term="Hibernate"/><category term="IP"/><category term="IceFaces"/><category term="InputStream"/><category term="InstallService"/><category term="Internet Explorer"/><category term="JCP"/><category term="JDBC Connector"/><category term="JDBC OCI"/><category term="JDK version"/><category term="JFC"/><category term="JMX"/><category term="JNDI"/><category term="JRE"/><category term="JSF"/><category term="JSON"/><category term="JScrollPane"/><category term="JTable"/><category term="JUnit"/><category term="JVM"/><category term="Java 7"/><category term="Java Birthday"/><category term="Java Develpment Kit"/><category term="Java EE"/><category term="Java Object"/><category term="Java Server Faces"/><category term="Java Song"/><category term="Java Swing"/><category term="Java class version code snippet"/><category term="Keypar"/><category term="Kilobytes"/><category term="Lady Java"/><category term="LinkedHashMap"/><category term="Listener"/><category term="Loosely Coupled"/><category term="M2_HOME"/><category term="MAVEN_OPTS"/><category term="Manejabilidad"/><category term="Maven Eclipse Plugin"/><category term="Maverick"/><category term="Megabytes"/><category term="Mule 2.2.1"/><category term="Mule Configuration"/><category term="Mule GA"/><category term="MuleSoft"/><category term="MySQL GUI Tools"/><category term="NT"/><category term="Natty"/><category term="Netbeans 7"/><category term="NoSQL"/><category term="OCA"/><category term="OCM"/><category term="OCP"/><category term="OS"/><category term="Oracle JDBC OCI"/><category term="PDF"/><category term="PEM"/><category term="PHP"/><category term="Plugin"/><category term="Popularidad"/><category term="PrimeFaces"/><category term="Primitivo"/><category term="Properties"/><category term="Putty"/><category term="Putty Windows"/><category term="Python"/><category term="RDP"/><category term="REPLACE"/><category term="RIA"/><category term="Realización"/><category term="RedHat"/><category term="Referencia"/><category term="Rendimiento"/><category term="ResultSet"/><category term="RichFaces"/><category term="SDK"/><category term="SOAP"/><category term="SO_KEEPALIVE"/><category term="SPFILE"/><category term="SQLPlus"/><category term="SSL"/><category term="Sang Shing"/><category term="Security Sandbox"/><category term="Seguridad"/><category term="Seguros"/><category term="ShockWave Flash"/><category term="Sistema Empresarial"/><category term="Solución Asíncrona"/><category term="Spring Bean"/><category term="Statement"/><category term="StringBuilder"/><category term="System"/><category term="System.out.printf()"/><category term="TABLE"/><category term="Tablespace"/><category term="Test Case"/><category term="Timeline"/><category term="Tomcat 6"/><category term="Tomcat Manager"/><category term="UML"/><category term="UNICODE"/><category term="US"/><category term="Unsatisfied Link Error"/><category term="UnsatisfiedLinkError"/><category term="Vagrant"/><category term="Vagrantfile"/><category term="Validez"/><category term="Virtual Host"/><category term="VirtualBox"/><category term="WAR"/><category term="WSDL"/><category term="Web Service Client"/><category term="Web Services Development Styles"/><category term="WebDAV"/><category term="X"/><category term="XMLGregorianCalendar"/><category term="XmlRootElement"/><category term="XmlTransient"/><category term="XmlType"/><category term="_bashrc"/><category term="acceso"/><category term="activar"/><category term="addUser"/><category term="admin"/><category term="agile"/><category term="al_history"/><category term="al_statistics"/><category term="apache2"/><category term="apt-get"/><category term="artifactId"/><category term="asociar"/><category term="astah* community"/><category term="autenticación"/><category term="auth"/><category term="autorización"/><category term="avd"/><category term="axis"/><category term="banner"/><category term="barco"/><category term="browser"/><category term="build"/><category term="cambio"/><category term="caracter"/><category term="caricatura"/><category term="carrusel"/><category term="certificate chain"/><category term="class"/><category term="cliente"/><category term="cola"/><category term="comandos"/><category term="commons-email"/><category term="como"/><category term="comparación"/><category term="consulta"/><category term="context.xml"/><category term="correos"/><category term="couldn&#39;t connect to server"/><category term="cp"/><category term="crear"/><category term="create"/><category term="crossdomain"/><category term="curl"/><category term="cvf"/><category term="dataflow"/><category term="db"/><category term="dba_segments"/><category term="default"/><category term="desconferencia"/><category term="deshabilitar"/><category term="dirección"/><category term="dist"/><category term="do-release-upgrade"/><category term="dump"/><category term="ejecutar"/><category term="emulador"/><category term="emulator"/><category term="en"/><category term="encriptar"/><category term="encrypt"/><category term="envio"/><category term="equipos"/><category term="estructura"/><category term="estrés informático"/><category term="evitar"/><category term="existente"/><category term="expdp"/><category term="explorar"/><category term="exponer"/><category term="groupId"/><category term="gráfica"/><category term="gráfico"/><category term="gui"/><category term="herramienta"/><category term="impdp"/><category term="initdefault"/><category term="instancia"/><category term="integración de aplicaciones"/><category term="interface de red virtual"/><category term="intermediate"/><category term="invocación"/><category term="jasypt"/><category term="java.io"/><category term="java.library.path"/><category term="javap"/><category term="jconsole"/><category term="jdk1.6.0_22"/><category term="keepalives"/><category term="keystore"/><category term="killall"/><category term="latino"/><category term="lib"/><category term="libswt"/><category term="liferay"/><category term="load"/><category term="load SWT library"/><category term="local"/><category term="loopback"/><category term="lsnrctl"/><category term="línea de comandos"/><category term="magic numbers"/><category term="manualmente"/><category term="marshal"/><category term="metadatos"/><category term="modo"/><category term="mods"/><category term="mongo.js"/><category term="mongod.cfg"/><category term="mongodump"/><category term="mongorestore"/><category term="montaña rusa"/><category term="mysql-server"/><category term="mysqld"/><category term="mysqld_safe"/><category term="nano"/><category term="netbeans.conf"/><category term="netstat"/><category term="nombrada"/><category term="not created"/><category term="obtener"/><category term="orden"/><category term="ordenar"/><category term="package"/><category term="parámetros"/><category term="passwd"/><category term="password"/><category term="pip"/><category term="pip-requires.txt"/><category term="pom"/><category term="predeterminada"/><category term="preservar"/><category term="print"/><category term="printer"/><category term="printf"/><category term="private"/><category term="proceso"/><category term="procesos"/><category term="processes"/><category term="protected"/><category term="public"/><category term="publicar"/><category term="puerto"/><category term="purgar"/><category term="queuebrowser"/><category term="regexp_replace"/><category term="regional"/><category term="relaciones entre clases"/><category term="repositorio"/><category term="resolver"/><category term="scrum"/><category term="seguridades"/><category term="server.xml"/><category term="servidor"/><category term="sesiones"/><category term="sessions"/><category term="sh"/><category term="shutdown"/><category term="silenciosa"/><category term="sistema operativo"/><category term="source"/><category term="src"/><category term="startup"/><category term="svnadmin"/><category term="swf"/><category term="swt-gtk"/><category term="sysdba"/><category term="taskkill"/><category term="teams"/><category term="unmarshal"/><category term="update-manager-core"/><category term="usado"/><category term="usuario"/><category term="v$version"/><category term="version"/><category term="vi"/><category term="virtualenv"/><category term="void"/><category term="web.xml"/><category term="wrapper.exe"/><category term="Á"/><category term="É"/><category term="Í"/><category term="ñ"/><category term="ó"/><category term="ú"/><title type='text'>Mis Experiencias en el Desarrollo de Software</title><subtitle type='html'>Bienvenidos a mí blog, en éste espacio comparto mis experiencias y conocimientos relacionados con las tecnologías de integración de sistemas, lenguajes de programación, desarrollo de software, bases de datos y Agilismo. &#xa;&#xa;Sí tienes comentarios, inquietudes o sugerencias, no dudes en escribirlos...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ingmmurillo.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://ingmmurillo.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>103</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2777561300144382425.post-8302561084056793045</id><published>2015-05-22T12:44:00.000-05:00</published><updated>2015-05-22T12:44:38.219-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="comando"/><category scheme="http://www.blogger.com/atom/ns#" term="curl"/><category scheme="http://www.blogger.com/atom/ns#" term="GNU/Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="invocación"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="línea de comandos"/><category scheme="http://www.blogger.com/atom/ns#" term="Mac OS X"/><category scheme="http://www.blogger.com/atom/ns#" term="servicio web"/><category scheme="http://www.blogger.com/atom/ns#" term="Servicios Web"/><category scheme="http://www.blogger.com/atom/ns#" term="SOAP"/><category scheme="http://www.blogger.com/atom/ns#" term="unix"/><title type='text'>Cómo invocar a un servicio web SOAP usando curl</title><content type='html'>En ésta publicación explico el procedimiento para invocar un &lt;b&gt;Servicio Web SOAP &lt;/b&gt;usando la herramienta de línea de comandos &lt;a href=&quot;http://curl.haxx.se/&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;b&gt;curl&lt;/b&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Para probarlo voy a invocar un servicio web de &lt;a href=&quot;http://www.webservicex.net/&quot;&gt;WebserviceX.NET&lt;/a&gt;&amp;nbsp;para obtener la tasa de &lt;b&gt;conversión de monedas&lt;/b&gt; (&lt;a href=&quot;http://www.webservicex.net/CurrencyConvertor.asmx?WSDL&quot;&gt;CurrencyConvertor&lt;/a&gt;) entre &lt;b&gt;USD&lt;/b&gt; y &lt;b&gt;EUR&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1. &lt;/b&gt;Crear un &lt;b&gt;archivo XML&lt;/b&gt; con el contenido de la petición (&lt;b&gt;Request&lt;/b&gt;) que se hará al servicio web. En mi caso lo llamaré &lt;b&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;request.xml&lt;/span&gt;&lt;/b&gt; con el siguiente contenido:
&lt;br /&gt;
&lt;pre class=&quot;brush: xml;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;
&amp;lt;soapenv:Envelope xmlns:soapenv=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:web=&quot;http://www.webserviceX.NET/&quot;&amp;gt;
   &amp;lt;soapenv:Header/&amp;gt;
   &amp;lt;soapenv:Body&amp;gt;
      &amp;lt;web:ConversionRate&amp;gt;
         &amp;lt;web:FromCurrency&amp;gt;USD&amp;lt;/web:FromCurrency&amp;gt;
         &amp;lt;web:ToCurrency&amp;gt;EUR&amp;lt;/web:ToCurrency&amp;gt;
      &amp;lt;/web:ConversionRate&amp;gt;
   &amp;lt;/soapenv:Body&amp;gt;
&amp;lt;/soapenv:Envelope&amp;gt;
&lt;/pre&gt;
&lt;b&gt;2. &lt;/b&gt;Para invocar el servicio web usando la petición XML (&lt;b&gt;Request&lt;/b&gt;) guardada en el archivo, ejecutar el siguiente comando:
&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;curl -H &quot;Content-Type: text/xml; charset=utf-8&quot; -H &quot;SOAPAction:&quot; &amp;nbsp;-d @request.xml -X POST http://www.webservicex.net/CurrencyConvertor.asmx -o response.xml
&lt;/pre&gt;
Sí se desea almacenar la respuesta (&lt;b&gt;Response&lt;/b&gt;) del servicio web en un archivo usar el argumento&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;b&gt; -o&lt;/b&gt;&lt;/span&gt; seguido del nombre del archivo (&lt;b&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;response.xml&lt;/span&gt;&lt;/b&gt;)</content><link rel='replies' type='application/atom+xml' href='http://ingmmurillo.blogspot.com/feeds/8302561084056793045/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingmmurillo.blogspot.com/2015/05/como-invocar-un-servicio-web-soap.html#comment-form' title='5 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/8302561084056793045'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/8302561084056793045'/><link rel='alternate' type='text/html' href='http://ingmmurillo.blogspot.com/2015/05/como-invocar-un-servicio-web-soap.html' title='Cómo invocar a un servicio web SOAP usando curl'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2777561300144382425.post-3110336057869675209</id><published>2014-09-05T17:04:00.001-05:00</published><updated>2014-09-05T17:04:59.489-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="/etc/inittab"/><category scheme="http://www.blogger.com/atom/ns#" term="CentOS"/><category scheme="http://www.blogger.com/atom/ns#" term="deshabilitar"/><category scheme="http://www.blogger.com/atom/ns#" term="Fedora"/><category scheme="http://www.blogger.com/atom/ns#" term="GNU/Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="gráfico"/><category scheme="http://www.blogger.com/atom/ns#" term="initdefault"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="modo"/><category scheme="http://www.blogger.com/atom/ns#" term="RedHat"/><title type='text'>Cómo deshabilitar el modo gráfico en un servidor CentOS</title><content type='html'>En ésta publicación explico el procedimiento para deshabilitar el modo gráfico en una distribución de GNU/Linux: &lt;b&gt;RedHat&lt;/b&gt;, &lt;b&gt;CentOS&lt;/b&gt; o &lt;b&gt;Fedora&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1) &lt;/b&gt;Editar el archivo &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;b&gt;/etc/inittab&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;brush: plain;&quot;&gt;nano /etc/inittab
&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;2) &lt;/b&gt;Cambiar el valor del id 5 al valor de 3 como se muestra a continuación&lt;br /&gt;
&lt;pre class=&quot;brush: plain;&quot;&gt;id:3:initdefault:
&lt;/pre&gt;
&lt;br /&gt;
El archivo deberá tener un contenido similar al siguiente:&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;# inittab is only used by upstart for the default runlevel.
#
# ADDING OTHER CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
#
# System initialization is started by /etc/init/rcS.conf
#
# Individual runlevels are started by /etc/init/rc.conf
#
# Ctrl-Alt-Delete is handled by /etc/init/control-alt-delete.conf
#
# Terminal gettys are handled by /etc/init/tty.conf and /etc/init/serial.conf,
# with configuration in /etc/sysconfig/init.
#
# For information on how to write upstart event handlers, or how
# upstart works, see init(5), init(8), and initctl(8).
#
# Default runlevel. The runlevels used are:
# &amp;nbsp; 0 - halt (Do NOT set initdefault to this)
# &amp;nbsp; 1 - Single user mode
# &amp;nbsp; 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# &amp;nbsp; 3 - Full multiuser mode
# &amp;nbsp; 4 - unused
# &amp;nbsp; 5 - X11
# &amp;nbsp; 6 - reboot (Do NOT set initdefault to this)
#

id:3:initdefault:
&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ingmmurillo.blogspot.com/feeds/3110336057869675209/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingmmurillo.blogspot.com/2014/09/como-deshabilitar-el-modo-grafico-en-un.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/3110336057869675209'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/3110336057869675209'/><link rel='alternate' type='text/html' href='http://ingmmurillo.blogspot.com/2014/09/como-deshabilitar-el-modo-grafico-en-un.html' title='Cómo deshabilitar el modo gráfico en un servidor CentOS'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2777561300144382425.post-7510295120577672414</id><published>2014-08-26T18:21:00.000-05:00</published><updated>2014-08-26T18:21:29.551-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asociar"/><category scheme="http://www.blogger.com/atom/ns#" term="existente"/><category scheme="http://www.blogger.com/atom/ns#" term="instancia"/><category scheme="http://www.blogger.com/atom/ns#" term="Mac"/><category scheme="http://www.blogger.com/atom/ns#" term="Mac OS X"/><category scheme="http://www.blogger.com/atom/ns#" term="not created"/><category scheme="http://www.blogger.com/atom/ns#" term="Vagrant"/><category scheme="http://www.blogger.com/atom/ns#" term="Vagrantfile"/><category scheme="http://www.blogger.com/atom/ns#" term="VirtualBox"/><title type='text'>Cómo asociar una instancia de Vagrant pre-existente</title><content type='html'>En ésta publicación, explico el procedimiento para asociar una instancia de &lt;b&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;Vagrant&lt;/span&gt;&lt;/b&gt; preexistente nuevamente.&lt;br /&gt;
&lt;br /&gt;
Estuve realizando unas pruebas y sucedió que mi configuración de&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;Vagrant&lt;/span&gt;&lt;/b&gt;&amp;nbsp;fue eliminada y al correr&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;vagrant status&lt;/pre&gt;
&lt;br /&gt;
Obtenía el mensaje de que no tenía ninguna máquina de&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;Vagrant&lt;/span&gt;&lt;/b&gt;&amp;nbsp;configurada, a pesar de que había creado y&amp;nbsp;provisionado la instancia usando los comandos de&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;Vagrant&lt;/span&gt;&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;Current machine states:


default &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; not created (virtualbox)



The environment has not yet been created. Run `vagrant up` to

create the environment. If a machine is not created, only the

default provider will be shown. So if a provider is not listed,

then the machine is not created for that environment.&lt;/pre&gt;
&lt;br /&gt;
Para resolver éste error se tiene que realizar lo siguiente:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1)&lt;/b&gt;&amp;nbsp;Sí se está usando VirtualBox, ejecutar el siguiente comando para conocer el ID de la máquina Virtual que se desea asociar&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;VBoxManage list vms&lt;/pre&gt;
&lt;br /&gt;
Por ejemplo: se mostrará algo similar a lo siguiente:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;&quot;nombreMaquinaVirtual&quot; {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;2)&lt;/b&gt;&amp;nbsp;Dentro del directorio dónde se tiene el archivo &lt;b&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Vagrantfile&lt;/span&gt;&lt;/b&gt;, ir al directorio&amp;nbsp;&lt;b&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;.vagrant/machines/default/virtualbox&lt;/span&gt;&lt;/b&gt; y crear el archivo &lt;b&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;id&lt;/span&gt;&lt;/b&gt;. En el archivo colocar el ID de la máquina virtual&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;cd .vagrant/machines/default/virtualbox
nano id
&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;NOTA: &lt;/b&gt;el archivo &lt;b&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;id&lt;/span&gt;&lt;/b&gt; deberá tener como contenido&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;3) &lt;/b&gt;Ejecutar &lt;b&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;vagrant up &lt;/span&gt;&lt;/b&gt;para iniciar nuevamente la instancia y listo!!!</content><link rel='replies' type='application/atom+xml' href='http://ingmmurillo.blogspot.com/feeds/7510295120577672414/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingmmurillo.blogspot.com/2014/08/como-asociar-una-instancia-de-vagrant.html#comment-form' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/7510295120577672414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/7510295120577672414'/><link rel='alternate' type='text/html' href='http://ingmmurillo.blogspot.com/2014/08/como-asociar-una-instancia-de-vagrant.html' title='Cómo asociar una instancia de Vagrant pre-existente'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2777561300144382425.post-5713995018978060562</id><published>2014-08-22T16:53:00.000-05:00</published><updated>2014-08-22T16:54:14.833-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Django"/><category scheme="http://www.blogger.com/atom/ns#" term="instalar"/><category scheme="http://www.blogger.com/atom/ns#" term="Mac"/><category scheme="http://www.blogger.com/atom/ns#" term="Mac OS X"/><category scheme="http://www.blogger.com/atom/ns#" term="pip"/><category scheme="http://www.blogger.com/atom/ns#" term="pip-requires.txt"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><category scheme="http://www.blogger.com/atom/ns#" term="virtualenv"/><title type='text'>Cómo instalar pip y virtualenv para Python en Mac OS X</title><content type='html'>En ésta publicación explico el procedimiento para instalar &lt;b&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;pip&lt;/span&gt;&lt;/b&gt; en el sistema operativo &lt;b&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Mac OS X&lt;/span&gt;&lt;/b&gt; y &lt;b&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;virtualenv&lt;/span&gt;&lt;/b&gt; que permite crear ambientes aislados de &lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;Python&lt;/span&gt;&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Mac OS X&lt;/span&gt;&lt;/b&gt; trae instalado por defecto&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;Python&lt;/span&gt;&lt;/b&gt;, pero es importante instalar &lt;b&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;pip&lt;/span&gt;&lt;/b&gt; (&lt;b&gt;Python Package Index&lt;/b&gt;) que es&amp;nbsp;un gestor de paquetes de Python y&amp;nbsp;&lt;b&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;virtualenv&lt;/span&gt;&lt;/b&gt;&amp;nbsp;que permite tener ambientes de&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;Python&lt;/span&gt;&lt;/b&gt;&amp;nbsp;aislados con&amp;nbsp;diferentes versiones de paquetes.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;Instalación de pip.-&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;1. &lt;/b&gt;Abrir un consola de comandos (&lt;b&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Terminal&lt;/span&gt;&lt;/b&gt;)&lt;br /&gt;
&lt;b&gt;2.&amp;nbsp;&lt;/b&gt;Descargar el archivo &lt;b&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;get-pip.py&lt;/span&gt;&lt;/b&gt; del siguiente link&amp;nbsp;&lt;a href=&quot;https://bootstrap.pypa.io/get-pip.py&quot;&gt;https://bootstrap.pypa.io/get-pip.py&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: bash;&quot;&gt;wget&amp;nbsp;https://bootstrap.pypa.io/get-pip.py

&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;3. &lt;/b&gt;Ejecutar el siguiente comando:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: bash;&quot;&gt;python get-pip.py

&lt;/pre&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;Instalación de virtualenv.-&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1. &lt;/b&gt;Ir al directorio del proyecto dónde se desea crear el ambiente virtual (&lt;b&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;virtualenv&lt;/span&gt;&lt;/b&gt;) y&amp;nbsp;en la consola de comandos (&lt;b&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Terminal&lt;/span&gt;&lt;/b&gt;) ejecutar el siguiente comando:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: bash;&quot;&gt;pip install virtualenv
&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;2. &lt;/b&gt;Para activar el ambiente virtual&amp;nbsp;(&lt;b&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;virtualenv&lt;/span&gt;&lt;/b&gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: bash;&quot;&gt;source venv/bin/activate
&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;3. &lt;/b&gt;Para desactivar el ambiente virtual, ejecutar:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: bash;&quot;&gt;deactivate
&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;Instalación de dependencias.-&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;1. &lt;/b&gt;Crear el archivo&amp;nbsp;&lt;b&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;pip-requires.txt&lt;/span&gt;&lt;/b&gt; en la raíz del proyecto&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: python;&quot;&gt;Django==1.6
&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;2.&amp;nbsp;&lt;/b&gt;Con&amp;nbsp;&lt;b&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;virtualenv&lt;/span&gt;&lt;/b&gt;&amp;nbsp;activado, ejecutar el siguiente comando para instalar las dependencias&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: bash;&quot;&gt;pip install -r pip-requires.txt
&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ingmmurillo.blogspot.com/feeds/5713995018978060562/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingmmurillo.blogspot.com/2014/08/como-instalar-pip-y-virtualenv-para.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/5713995018978060562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/5713995018978060562'/><link rel='alternate' type='text/html' href='http://ingmmurillo.blogspot.com/2014/08/como-instalar-pip-y-virtualenv-para.html' title='Cómo instalar pip y virtualenv para Python en Mac OS X'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2777561300144382425.post-9059419388215800240</id><published>2014-04-11T00:26:00.000-05:00</published><updated>2014-04-11T00:26:17.350-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CA"/><category scheme="http://www.blogger.com/atom/ns#" term="certificate chain"/><category scheme="http://www.blogger.com/atom/ns#" term="gráfica"/><category scheme="http://www.blogger.com/atom/ns#" term="gui"/><category scheme="http://www.blogger.com/atom/ns#" term="herramienta"/><category scheme="http://www.blogger.com/atom/ns#" term="intermediate"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="keystore"/><category scheme="http://www.blogger.com/atom/ns#" term="keytool"/><category scheme="http://www.blogger.com/atom/ns#" term="registrar"/><category scheme="http://www.blogger.com/atom/ns#" term="resolver"/><category scheme="http://www.blogger.com/atom/ns#" term="SSL"/><title type='text'>Keystore Explorer Herramienta para Lidiar con Certificate Chain</title><content type='html'>Después de un montón de prueba y error intentando instalar el chain de certificados intermedios y raíz (root) para una autoridad de certificación (CA) y sin éxito, me encontré con ésta herramienta:&lt;br /&gt;
&lt;br /&gt;
Keystore Explorer&lt;br /&gt;
&lt;a href=&quot;http://keystore-explorer.sourceforge.net/&quot;&gt;http://keystore-explorer.sourceforge.net/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Me parece excelente y logró ayudarme a realizar lo que buscaba, la recomiendo al 100%</content><link rel='replies' type='application/atom+xml' href='http://ingmmurillo.blogspot.com/feeds/9059419388215800240/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingmmurillo.blogspot.com/2014/04/keystore-explorer-herramienta-para.html#comment-form' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/9059419388215800240'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/9059419388215800240'/><link rel='alternate' type='text/html' href='http://ingmmurillo.blogspot.com/2014/04/keystore-explorer-herramienta-para.html' title='Keystore Explorer Herramienta para Lidiar con Certificate Chain'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2777561300144382425.post-2620312420245215266</id><published>2014-01-23T01:21:00.002-05:00</published><updated>2014-01-23T01:21:29.128-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="java.library.path"/><category scheme="http://www.blogger.com/atom/ns#" term="JDK"/><category scheme="http://www.blogger.com/atom/ns#" term="libswt"/><category scheme="http://www.blogger.com/atom/ns#" term="load SWT library"/><category scheme="http://www.blogger.com/atom/ns#" term="swt-gtk"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="Unsatisfied Link Error"/><category scheme="http://www.blogger.com/atom/ns#" term="UnsatisfiedLinkError"/><title type='text'>Cómo corregir un Unsatisfied Link Error en Ubuntu al correr una aplicación Java</title><content type='html'>En Ubuntu, sí no se tienen instalados los paquetes de librerías gráficas (l&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ibswt&lt;/span&gt;) para una aplicación Java que posea GUI se suele tener el siguiente error:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;lang-java prettyprint prettyprinted&quot; style=&quot;background-color: #eeeeee; border: 0px; color: #333333; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 18.200000762939453px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;java&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;lang&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;UnsatisfiedLinkError&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Could&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; not load SWT library&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: transparent; border: 0px; color: #2b91af; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Reasons&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; 
    no swt&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;gtk&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;3740&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; in java&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;library&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;path
    no swt&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;gtk in java&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;library&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;path&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Para resolver esto es necesario instalar las librerías (l&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ibswt&lt;/span&gt;) usando el siguiente comando:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;lang-java prettyprint prettyprinted&quot; style=&quot;background-color: #eeeeee; border: 0px; color: #333333; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; font-size: 14px; line-height: 18.200000762939453px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;&quot;&gt;&lt;code style=&quot;border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;, &#39;Ubuntu Beta Mono A&#39;, Consolas, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, Courier, monospace; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;sudo apt&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;get install libswt&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;gtk&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;jni libswt&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;gtk&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;background-color: transparent; border: 0px; color: maroon; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: transparent; border: 0px; color: black; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;java&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ingmmurillo.blogspot.com/feeds/2620312420245215266/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingmmurillo.blogspot.com/2014/01/como-corregir-un-unsatisfied-link-error.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/2620312420245215266'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/2620312420245215266'/><link rel='alternate' type='text/html' href='http://ingmmurillo.blogspot.com/2014/01/como-corregir-un-unsatisfied-link-error.html' title='Cómo corregir un Unsatisfied Link Error en Ubuntu al correr una aplicación Java'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2777561300144382425.post-6964664488300939411</id><published>2014-01-04T15:16:00.001-05:00</published><updated>2020-03-18T06:07:23.987-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Amazon EC2"/><category scheme="http://www.blogger.com/atom/ns#" term="Amazon Web Services"/><category scheme="http://www.blogger.com/atom/ns#" term="AWS"/><category scheme="http://www.blogger.com/atom/ns#" term="Conexión"/><category scheme="http://www.blogger.com/atom/ns#" term="Keypar"/><category scheme="http://www.blogger.com/atom/ns#" term="Mac OS X"/><category scheme="http://www.blogger.com/atom/ns#" term="PEM"/><category scheme="http://www.blogger.com/atom/ns#" term="SSH"/><title type='text'>Cómo conectarse a AWS desde Mac OS X</title><content type='html'>En ésta publicación explico el procedimiento para conectarse a Amazon EC2 desde el sistema operativo Mac OS X.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1. &lt;/b&gt;Abrir una nueva Terminal y&amp;nbsp;copiar el archivo con la llave de seguridad en un directorio, por ejemplo: &lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;$HOME/.ssh/millave.pem&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2. &lt;/b&gt;Dar los siguientes permisos de seguridad tanto a la llave como al directorio en dónde se copió:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: bash&quot;&gt;chmod 600 $HOME/.ssh/millave.pem
chmod 700 $HOME/.ssh
&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;3. &lt;/b&gt;Usar el siguiente comando para establecer la conexión:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: bash&quot;&gt;ssh -i $HOME/.ssh/millave.pem usuario@nombrehost
&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ingmmurillo.blogspot.com/feeds/6964664488300939411/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingmmurillo.blogspot.com/2014/01/como-conectarse-aws-desde-mac-os-x.html#comment-form' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/6964664488300939411'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/6964664488300939411'/><link rel='alternate' type='text/html' href='http://ingmmurillo.blogspot.com/2014/01/como-conectarse-aws-desde-mac-os-x.html' title='Cómo conectarse a AWS desde Mac OS X'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2777561300144382425.post-8563985953588391172</id><published>2013-12-10T17:15:00.003-05:00</published><updated>2015-09-29T12:22:52.744-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="-version"/><category scheme="http://www.blogger.com/atom/ns#" term="configurar"/><category scheme="http://www.blogger.com/atom/ns#" term="instalar"/><category scheme="http://www.blogger.com/atom/ns#" term="M2_HOME"/><category scheme="http://www.blogger.com/atom/ns#" term="Mac"/><category scheme="http://www.blogger.com/atom/ns#" term="Mac OS X"/><category scheme="http://www.blogger.com/atom/ns#" term="Maven"/><category scheme="http://www.blogger.com/atom/ns#" term="MAVEN_OPTS"/><category scheme="http://www.blogger.com/atom/ns#" term="mvn"/><title type='text'>Cómo Instalar y Configurar Maven en Mac OS X</title><content type='html'>En ésta publicación explico el procedimiento para instalar &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;Maven&lt;/b&gt;&lt;/span&gt; sobre el sistema operativo &lt;span style=&quot;color: #0b5394;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Mac OS X v10.9&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
1) Descargar la útima versión de Maven del siguiente link: &lt;a href=&quot;http://mirrors.gigenet.com/apache/maven/maven-3/3.1.1/binaries/apache-maven-3.1.1-bin.tar.gz&quot;&gt;http://mirrors.gigenet.com/apache/maven/maven-3/3.1.1/binaries/apache-maven-3.1.1-bin.tar.gz&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
2) Copiar el archivo a la ruta en donde se desee copiar &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;Maven&lt;/b&gt;&lt;/span&gt;, en mi caso: &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;/Applications/Dev/&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
3) Descomprimir Maven, usando el siguiente comando:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell&quot;&gt;sudo tar -xf apache-maven-3.1.1-bin.tar.gz&lt;/pre&gt;
&lt;br /&gt;
4) Configurar las siguientes variables de entorno, editando el archivo &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;.bash_profile&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell&quot;&gt;nano .bash_profile&lt;/pre&gt;
&lt;br /&gt;
5) Colocar las siguientes variables de entorno:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell&quot;&gt;export M2_HOME=&quot;/Applications/Dev/apache-maven-3.1.1&quot;
export MAVEN_OPTS=&quot;-Xmx1024m -XX:MaxPermSize=512m&quot;
export PATH=${PATH}:${M2_HOME}/bin&lt;/pre&gt;
&lt;br /&gt;
7) Ejecutar el siguiente comando para probar que Maven esté instalado y configurado correctamente&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell&quot;&gt;
source .bash_profile
mvn - version
&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ingmmurillo.blogspot.com/feeds/8563985953588391172/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingmmurillo.blogspot.com/2013/12/como-instalar-maven-en-mac-os-x.html#comment-form' title='2 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/8563985953588391172'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/8563985953588391172'/><link rel='alternate' type='text/html' href='http://ingmmurillo.blogspot.com/2013/12/como-instalar-maven-en-mac-os-x.html' title='Cómo Instalar y Configurar Maven en Mac OS X'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2777561300144382425.post-647348753786589553</id><published>2013-12-10T16:09:00.000-05:00</published><updated>2014-09-03T14:54:35.958-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".bash_profile"/><category scheme="http://www.blogger.com/atom/ns#" term="configuración"/><category scheme="http://www.blogger.com/atom/ns#" term="configurar"/><category scheme="http://www.blogger.com/atom/ns#" term="instalar"/><category scheme="http://www.blogger.com/atom/ns#" term="Java Development Kit"/><category scheme="http://www.blogger.com/atom/ns#" term="JAVA_HOME"/><category scheme="http://www.blogger.com/atom/ns#" term="JDK"/><category scheme="http://www.blogger.com/atom/ns#" term="JDK 7"/><category scheme="http://www.blogger.com/atom/ns#" term="Mac"/><category scheme="http://www.blogger.com/atom/ns#" term="Mac OS X"/><category scheme="http://www.blogger.com/atom/ns#" term="OS"/><category scheme="http://www.blogger.com/atom/ns#" term="X"/><title type='text'>Cómo instalar y configurar el JDK v1.7 en Mac OS X</title><content type='html'>En ésta publicación explico el procedimiento para instalar y configurar el &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;JDK v1.7&lt;/b&gt;&lt;/span&gt; en el sistema operativo &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;b&gt;Mac OS X v10.9&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
1) Descargar el instalador&amp;nbsp; (Mac OS X x64) del siguiente link: &lt;a href=&quot;http://www.oracle.com/technetwork/java/javase/downloads/index.html&quot;&gt;http://www.oracle.com/technetwork/java/javase/downloads/index.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
2) Abrir una consola de comandos (&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;Terminal&lt;/b&gt;&lt;/span&gt;) &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;[cmd + space bar, teclear Terminal]&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
3) Editar el archivo &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;.bash_profile&lt;/span&gt; con un editor de texto&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell&quot;&gt;nano ~/.bash_profile

&lt;/pre&gt;
4) Definir la variable de entorno &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;JAVA_HOME&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;pre class=&quot;brush: shell&quot;&gt;export JAVA_HOME=&quot;/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home&quot;
export PATH=&quot;$HOME/bin:$PATH:$JAVA_HOME/bin&quot;&lt;/pre&gt;
&lt;br /&gt;
5) Grabar el archivo y ejecutar el siguiente comando para actualizar las variables de entorno&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell&quot;&gt;source ~/.bash_profile&lt;/pre&gt;
&lt;br /&gt;
6) Para verificar la variable de entorno ejecutar el siguiente comando:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell&quot;&gt;echo $JAVA_HOME&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ingmmurillo.blogspot.com/feeds/647348753786589553/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingmmurillo.blogspot.com/2013/12/como-instalar-y-configurar-el-jdk-en.html#comment-form' title='11 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/647348753786589553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/647348753786589553'/><link rel='alternate' type='text/html' href='http://ingmmurillo.blogspot.com/2013/12/como-instalar-y-configurar-el-jdk-en.html' title='Cómo instalar y configurar el JDK v1.7 en Mac OS X'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2777561300144382425.post-562132789320243060</id><published>2013-12-03T23:28:00.001-05:00</published><updated>2013-12-03T23:28:31.974-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="32 bits"/><category scheme="http://www.blogger.com/atom/ns#" term="64 bits"/><category scheme="http://www.blogger.com/atom/ns#" term="comandos"/><category scheme="http://www.blogger.com/atom/ns#" term="configuración"/><category scheme="http://www.blogger.com/atom/ns#" term="Cygwin"/><category scheme="http://www.blogger.com/atom/ns#" term="CYGWIN_HOME"/><category scheme="http://www.blogger.com/atom/ns#" term="ejecutar"/><category scheme="http://www.blogger.com/atom/ns#" term="instalación"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="PATH"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>Cómo instalar y configurar Cygwin</title><content type='html'>&lt;b&gt;&lt;span style=&quot;color: #741b47; font-family: Courier New, Courier, monospace;&quot;&gt;Cygwin&lt;/span&gt;&lt;/b&gt; es una colección de herramientas que son provistas por&lt;b&gt; Linux&lt;/b&gt; para que puedan ser ejecutadas en un sistema operativo &lt;b&gt;Windows&lt;/b&gt;. Con&amp;nbsp;
&lt;b&gt;&lt;span style=&quot;color: #741b47; font-family: Courier New, Courier, monospace;&quot;&gt;Cygwin&lt;/span&gt;&lt;/b&gt;&amp;nbsp;es posible ejecutar comandos de Linux en Windows.&lt;br /&gt;
&lt;br /&gt;
En ésta publicación explico el procedimiento para su instalación:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1)&lt;/b&gt; Descargar el instalador para 32 bits o 64 bits del siguiente link:&amp;nbsp;&lt;a href=&quot;http://cygwin.com/install.html&quot;&gt;http://cygwin.com/install.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2)&lt;/b&gt; Seguir los pasos de instalación y seleccionar las herramientas que se desea instalar. Por ejemplo: &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;svn&lt;/span&gt;, &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;wget&lt;/span&gt;, &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;curl&lt;/span&gt;, &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;nano&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;3) &lt;/b&gt;Finalizada la instalación es necesario configurar las siguientes variables de entorno&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;CYGWIN_HOME&lt;/span&gt;&lt;/b&gt; y &lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;PATH&lt;/span&gt;&lt;/b&gt;&amp;nbsp;para evitar los mensajes de &lt;b&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&quot;command not found&quot;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;b&gt;CYGWIN_HOME&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b&gt;=&lt;/b&gt;C:\cygwin&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;b&gt;PATH=&lt;/b&gt;...;%CYGWIN_HOME%\bin;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;4) &lt;/b&gt;Ejecutar&lt;b&gt; Cygwin Terminal&lt;/b&gt; y se tendrá una consola de comandos Linux&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingmmurillo.blogspot.com/feeds/562132789320243060/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingmmurillo.blogspot.com/2013/12/como-instalar-y-configurar-cygwin.html#comment-form' title='5 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/562132789320243060'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/562132789320243060'/><link rel='alternate' type='text/html' href='http://ingmmurillo.blogspot.com/2013/12/como-instalar-y-configurar-cygwin.html' title='Cómo instalar y configurar Cygwin'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2777561300144382425.post-2428363556007952882</id><published>2013-11-01T00:31:00.000-05:00</published><updated>2013-11-01T00:32:12.199-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="64 bits"/><category scheme="http://www.blogger.com/atom/ns#" term="instalar"/><category scheme="http://www.blogger.com/atom/ns#" term="JAVA_HOME"/><category scheme="http://www.blogger.com/atom/ns#" term="JDK 7"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu Server"/><title type='text'>Cómo Instalar Oracle JDK 7 en Ubuntu Server</title><content type='html'>En ésta publicación explico el procedimiento para instalar Oracle JDK v7 en un servidor Ubuntu.&lt;br /&gt;
&lt;br /&gt;
1. Abrir una consola de comandos (SHELL) y descargar la última versión del JDK como se muestra a continuación:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;sudo wget&amp;nbsp;http://www.reucon.com/cdn/java/jdk-7u45-linux-x64.tar.gz
&lt;/pre&gt;
&lt;br /&gt;
2. Crear el directorio de instalación usando el siguiente comando&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;sudo mkdir -p /usr/lib/jvm
&lt;/pre&gt;
&lt;br /&gt;
3. Mover el archivo del JDK al directorio&amp;nbsp;&lt;b&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;/usr/lib/jvm&lt;/span&gt;&lt;/b&gt;&amp;nbsp;como se muestra a continuación:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;sudo mv /home/ubuntu/downloads/jdk-7u45-linux-x64.tar.gz&amp;nbsp;/usr/lib/jvm
&lt;/pre&gt;
&lt;br /&gt;
4. Ir al directorio de instalación y descomprimir el archivo del JDK&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;cd /usr/lib/jvm
sudo tar xzvf jdk-7u45-linux-x64.tar.gz&lt;/pre&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
5. Indicar a Ubuntu dónde se encuentra el directorio de instalación de Java con los siguientes comandos:&lt;/div&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;sudo update-alternatives --install &quot;/usr/bin/javac&quot; &quot;javac&quot; &quot;/usr/lib/jvm/jdk1.7.0_45/bin/javac&quot; 1

sudo update-alternatives --install &quot;/usr/bin/java&quot; &quot;java&quot; &quot;/usr/lib/jvm/jdk1.7.0_45/bin/java&quot; 1
&lt;/pre&gt;
&lt;br /&gt;
6. Indicar a Ubuntu la instalación Java por defecto con los siguientes comandos:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;sudo update-alternatives --set &quot;javac&quot; &quot;/usr/lib/jvm/jdk1.7.0_45/bin/javac&quot;

sudo update-alternatives --set &quot;java&quot; &quot;/usr/lib/jvm/jdk1.7.0_45/bin/java&quot;

&lt;/pre&gt;
&lt;br /&gt;
7. Configurar la variable de entorno &lt;b&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;JAVA_HOME&lt;/span&gt;&lt;/b&gt; usando los siguientes comandos:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;sudo nano /etc/profile&lt;/pre&gt;
&lt;br /&gt;
Ir al final de la linea y colocar lo siguiente:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;JAVA_HOME=/usr/lib/jvm/jdk1.7.0_45
PATH=$PATH:$JAVA_HOME/bin
export JAVA_HOME
export PATH&lt;/pre&gt;

8. Recargar el &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;PATH &lt;/span&gt;del sistema operativo usando el siguiente comando:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;. /etc/profile&lt;/pre&gt;

9. Probar que la instalación fue correcta usando el siguiente comando:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;java -version&lt;/pre&gt;

Se deberá mostrar un mensaje similar al siguiente:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;Java(TM) SE Runtime Environment (build 1.7.0_45-b18)

Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingmmurillo.blogspot.com/feeds/2428363556007952882/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingmmurillo.blogspot.com/2013/11/como-instalar-oracle-jdk-7-en-ubuntu.html#comment-form' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/2428363556007952882'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/2428363556007952882'/><link rel='alternate' type='text/html' href='http://ingmmurillo.blogspot.com/2013/11/como-instalar-oracle-jdk-7-en-ubuntu.html' title='Cómo Instalar Oracle JDK 7 en Ubuntu Server'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2777561300144382425.post-5954112680560720012</id><published>2013-10-31T11:31:00.002-05:00</published><updated>2013-10-31T11:31:15.811-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="12.04 LTS"/><category scheme="http://www.blogger.com/atom/ns#" term="Conexión"/><category scheme="http://www.blogger.com/atom/ns#" term="Escritorio Remoto"/><category scheme="http://www.blogger.com/atom/ns#" term="RDP"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu Server"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>Cómo configurar Ubuntu Server para conectarse usando el Escritorio Remoto de Windows</title><content type='html'>El escritorio remoto de Windows usa el protocolo RDP, en ésta publicación explico el procedimiento para instalar un entorno gráfico liviano KDE y poder conectarse a un Ubuntu Server a través del escritorio remoto de Windows.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Ambiente.-&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Ubuntu Server 12.04 LTS&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Instalación del Entorno Gráfico KDE.-&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Abrir una consola de comandos (SHELL) y ejecutar lo siguiente:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;sudo apt-get update

sudo apt-get install kde-plasma-desktop

sudo apt-get install kubuntu-default-settings

&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;Instalación de Escritorio Remoto de Windows.-&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
Instalar el servicio XRDP &amp;nbsp;usando el siguiente comando:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;sudo apt-get install xrdp

&lt;/pre&gt;
&lt;br /&gt;
Asignar una contraseña al usuario con el cual vamos a conectarnos usando el siguiente comando:&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;sudo passwd ubuntu

&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;NOTA:&lt;/b&gt; en mi caso voy a conectarme con el usuario ubuntu&lt;br /&gt;
&lt;br /&gt;
Abrir una conexión a escritorio remoto de windows, colocar la IP, nombre de usuario, contraseña y LISTO!!!&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Referencias.-&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://help.ubuntu.com/community/InstallingKDE&quot;&gt;https://help.ubuntu.com/community/InstallingKDE&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingmmurillo.blogspot.com/feeds/5954112680560720012/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingmmurillo.blogspot.com/2013/10/como-configurar-ubuntu-server-para.html#comment-form' title='3 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/5954112680560720012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/5954112680560720012'/><link rel='alternate' type='text/html' href='http://ingmmurillo.blogspot.com/2013/10/como-configurar-ubuntu-server-para.html' title='Cómo configurar Ubuntu Server para conectarse usando el Escritorio Remoto de Windows'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2777561300144382425.post-2363089977876645496</id><published>2013-09-08T22:27:00.002-05:00</published><updated>2013-09-08T22:27:44.207-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="instalar"/><category scheme="http://www.blogger.com/atom/ns#" term="mongod.cfg"/><category scheme="http://www.blogger.com/atom/ns#" term="mongoDB"/><category scheme="http://www.blogger.com/atom/ns#" term="NT"/><category scheme="http://www.blogger.com/atom/ns#" term="servicio"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>Cómo instalar mongoDB como Servicio de Windows</title><content type='html'>En ésta publicación explico como instalar &lt;b&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;mongoDB&lt;/span&gt;&lt;/b&gt; como Servicio del Sistema Operativo Windows:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1)&lt;/b&gt; Descargar y ubicarse en el directorio donde se descargó mongoDB. Por ejemplo: &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;b&gt;c:\mongodb&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2)&lt;/b&gt; Crear el directorio &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;b&gt;log&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;3)&lt;/b&gt; Crear el directorio &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;b&gt;data&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;4)&lt;/b&gt; Crear el archivo &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;b&gt;mongod.cfg&lt;/b&gt;&lt;/span&gt; con el siguiente contenido:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;logpath=c:\mongodb\log\mongo.log

dbpath=c:\mongodb\data

&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;5)&lt;/b&gt; Ejecutar en la consola de comandos lo siguiente:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;c:\mongodb\bin\mongod.exe --config&amp;nbsp;&amp;nbsp;c:\mongodb\mongod.cfg --install

&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;6)&lt;/b&gt; Iniciar el servicio con el siguiente comando&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;
net start MongoDB
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingmmurillo.blogspot.com/feeds/2363089977876645496/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingmmurillo.blogspot.com/2013/09/como-instalar-mongodb-como-servicio-de.html#comment-form' title='7 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/2363089977876645496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/2363089977876645496'/><link rel='alternate' type='text/html' href='http://ingmmurillo.blogspot.com/2013/09/como-instalar-mongodb-como-servicio-de.html' title='Cómo instalar mongoDB como Servicio de Windows'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2777561300144382425.post-2728953270514317010</id><published>2013-08-02T11:02:00.001-05:00</published><updated>2013-08-02T11:02:28.938-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="LF"/><category scheme="http://www.blogger.com/atom/ns#" term="Line Feed"/><category scheme="http://www.blogger.com/atom/ns#" term="postgres"/><category scheme="http://www.blogger.com/atom/ns#" term="PostgreSQL"/><category scheme="http://www.blogger.com/atom/ns#" term="Reemplazar salto de línea SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="regexp_replace"/><title type='text'>Cómo eliminar un salto de línea LF(Line feed, &#39;\n&#39;, 0x0A, 10 en decimal) en los datos de una columna de PostgreSQL</title><content type='html'>Muchas veces nos encontramos con columnas de tipo de dato &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;VARCHAR &lt;/span&gt;con valores que poseen saltos de línea (LF - Line Feed). Por ejemplo, supongamos que se tiene la siguiente tabla de base de datos, creada con el siguiente script SQL: &lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: sql;&quot; name=&quot;code&quot;&gt;CREATE TABLE TABLA (COLUMNA VARCHAR(128));
INSERT INTO TABLA VALUES (&#39;MAURICIO MURILLO&#39; || CHR(10) || &#39;ingmmurillo&#39;);
COMMIT;
SELECT * FROM TABLA;
&lt;/pre&gt;
&lt;br /&gt;
Al consultar el registro de la tabla se obtendrá lo siguiente:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYwDGl4PU5RcwLX62j11VEtPmasFPw3o0sLhEAOdP_JhS64nNSdDgcExhpSyv0RbK8cJ2by10pxB4dYL9ytZbr2Y00xNY_X-wePApgcX4pPMEpIENZTJSbAdzR0TrGzsYLUhMcNigrCf0/s1600/table_1.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYwDGl4PU5RcwLX62j11VEtPmasFPw3o0sLhEAOdP_JhS64nNSdDgcExhpSyv0RbK8cJ2by10pxB4dYL9ytZbr2Y00xNY_X-wePApgcX4pPMEpIENZTJSbAdzR0TrGzsYLUhMcNigrCf0/s320/table_1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Como se puede observar, los datos de la columna &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;COLUMNA &lt;/span&gt;contienen un salto de línea representado por /n. Para reemplazar los saltos de línea que se encuentren en la cadena de texto por un espacio en blanco se usa la función&amp;nbsp;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;regexp_replace&amp;nbsp;&lt;/span&gt;como se muestra a continuación:&lt;/div&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: sql;&quot; name=&quot;code&quot;&gt;select columna, regexp_replace(columna, E&#39;[\\n\\r]+&#39;, &#39; &#39;, &#39;g&#39; ) as columna_nueva from tabla;
&lt;/pre&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
El script SQL anterior me permitirá reemplazar los saltos de línea por espacios en blanco.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_AqhbAmd9SS4okKHYE3IF3GlpPBmPREBJdLZhQTcjKGmdZEU_De8lEWtJJrGV_v2E048SO2FAcfutAg2GUkdfq6ghZIzGkuJgScKA6Zmu1niaT7X5CS30nTSYctiAih7aWAXmeWAnSS4/s1600/table_2.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;102&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_AqhbAmd9SS4okKHYE3IF3GlpPBmPREBJdLZhQTcjKGmdZEU_De8lEWtJJrGV_v2E048SO2FAcfutAg2GUkdfq6ghZIzGkuJgScKA6Zmu1niaT7X5CS30nTSYctiAih7aWAXmeWAnSS4/s400/table_2.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ingmmurillo.blogspot.com/feeds/2728953270514317010/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingmmurillo.blogspot.com/2013/08/como-eliminar-un-salto-de-linea-lfline.html#comment-form' title='2 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/2728953270514317010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/2728953270514317010'/><link rel='alternate' type='text/html' href='http://ingmmurillo.blogspot.com/2013/08/como-eliminar-un-salto-de-linea-lfline.html' title='Cómo eliminar un salto de línea LF(Line feed, &#39;\n&#39;, 0x0A, 10 en decimal) en los datos de una columna de PostgreSQL'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYwDGl4PU5RcwLX62j11VEtPmasFPw3o0sLhEAOdP_JhS64nNSdDgcExhpSyv0RbK8cJ2by10pxB4dYL9ytZbr2Y00xNY_X-wePApgcX4pPMEpIENZTJSbAdzR0TrGzsYLUhMcNigrCf0/s72-c/table_1.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2777561300144382425.post-1954098860810423775</id><published>2013-08-02T10:22:00.001-05:00</published><updated>2013-08-02T10:22:25.658-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="-D"/><category scheme="http://www.blogger.com/atom/ns#" term="en"/><category scheme="http://www.blogger.com/atom/ns#" term="ESB"/><category scheme="http://www.blogger.com/atom/ns#" term="JUnit"/><category scheme="http://www.blogger.com/atom/ns#" term="JVM"/><category scheme="http://www.blogger.com/atom/ns#" term="Maven"/><category scheme="http://www.blogger.com/atom/ns#" term="Mule"/><category scheme="http://www.blogger.com/atom/ns#" term="Mule 3.3.0"/><category scheme="http://www.blogger.com/atom/ns#" term="pom"/><category scheme="http://www.blogger.com/atom/ns#" term="Test Case"/><category scheme="http://www.blogger.com/atom/ns#" term="US"/><category scheme="http://www.blogger.com/atom/ns#" term="UTF-8"/><title type='text'>Cómo generar un TestCase de Mule</title><content type='html'>Para generar un Test Case de Mule para un proyecto creado a través de un arquetipo de Maven se tiene que realizar lo siguiente:&lt;br /&gt;
&lt;br /&gt;
1) Asegurarnos que en el &lt;b&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;pom.xml &lt;/span&gt;&lt;/b&gt;se encuentra la dependencia de &lt;b&gt;&lt;span style=&quot;color: orange; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;a href=&quot;http://junit.org/&quot; target=&quot;_blank&quot;&gt;JUnit&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: xml;&quot;&gt;&amp;lt;dependency&amp;gt;
 &amp;lt;groupId&amp;gt;junit&amp;lt;/groupId&amp;gt;
    &amp;lt;artifactId&amp;gt;junit&amp;lt;/artifactId&amp;gt;
    &amp;lt;version&amp;gt;4.9&amp;lt;/version&amp;gt;
    &amp;lt;scope&amp;gt;test&amp;lt;/scope&amp;gt;
&amp;lt;/dependency&amp;gt;
&lt;/pre&gt;
&lt;br /&gt;
2) Crear una clase en el directorio &lt;b&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;src/test/java&lt;/span&gt;&lt;/b&gt; como la siguiente:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: java;&quot;&gt;package com.blogspot.ingmmurillo.mule.test;

import org.junit.Test;
import org.mule.tck.junit4.FunctionalTestCase;

public class MuleAppFlowTest extends FunctionalTestCase {
    
    @Override
    protected String getConfigResources() {
        return &quot;src/main/app/mule-config.xml&quot;;
    }

    @Test
    public void test() {
        try {
            Thread.sleep(4800000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}

&lt;/pre&gt;
&lt;br /&gt;
3) Ejecutar o hacer debug sobre la clase. Con ésta clase se ejecutará el flujo de mensajería definido en el archivo &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;b&gt;mule-config.xml&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;NOTA: &lt;/b&gt;Colocar los siguientes parámetros a la JVM para que el TestCase no termine inmediatamente, darle más memoria, ejecutarlo con &amp;nbsp;la codificación UTF-8 y la configuración regional de en/US.&lt;br /&gt;
&lt;pre class=&quot;brush: java;&quot;&gt;-Xmx1024m -XX:MaxPermSize=512m -Dmule.test.timeoutSecs=4800000 -Dmule.verbose.exceptions=true  -Duser.country=US -Duser.language=en -Dsun.jnu.encoding=UTF-8 -Dfile.encoding=UTF-8
&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ingmmurillo.blogspot.com/feeds/1954098860810423775/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingmmurillo.blogspot.com/2013/08/como-generar-un-testcase-de-mule.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/1954098860810423775'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/1954098860810423775'/><link rel='alternate' type='text/html' href='http://ingmmurillo.blogspot.com/2013/08/como-generar-un-testcase-de-mule.html' title='Cómo generar un TestCase de Mule'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2777561300144382425.post-6587406375399988833</id><published>2013-07-23T14:14:00.000-05:00</published><updated>2013-07-23T14:14:19.753-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Apache ActiveMQ"/><category scheme="http://www.blogger.com/atom/ns#" term="browser"/><category scheme="http://www.blogger.com/atom/ns#" term="explorar"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="JMS"/><category scheme="http://www.blogger.com/atom/ns#" term="mensajes"/><category scheme="http://www.blogger.com/atom/ns#" term="queue"/><category scheme="http://www.blogger.com/atom/ns#" term="queuebrowser"/><title type='text'>Cómo crear un explorador de colas (QueueBrowser) para JMS</title><content type='html'>En ésta publicación, comparto el código &lt;b&gt;Java &lt;/b&gt;para crear un explorador de colas &lt;b&gt;JMS&lt;/b&gt;:&lt;br /&gt;

&lt;pre class=&quot;brush: java;&quot;&gt;
package com.blogspot.ingmmurillo.jms;

import org.apache.activemq.ActiveMQConnectionFactory;
import org.apache.activemq.command.ActiveMQTextMessage;
import org.junit.Test;
import javax.jms.*;
import java.util.Enumeration;

public class JMSQueueBrowser {

    @Test
    public void test() throws JMSException {
        System.out.println(&quot;Explorador de Colas JMS (QueueBrowser)&quot;);
        String url = &quot;tcp://localhost:61717&quot;;                
        String queueName = &quot;test&quot;;

        ConnectionFactory connectionFactory =
                new ActiveMQConnectionFactory(url);
        Connection connection = connectionFactory.createConnection();

        connection.start();

        System.out.println(connection.getMetaData().getJMSProviderName() + &quot; JMS &quot; +
                connection.getMetaData().getJMSVersion());

        QueueSession session = (QueueSession) connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
        Queue queue = session.createQueue(queueName);
        QueueBrowser browser = session.createBrowser(queue);

        Enumeration e = browser.getEnumeration();

        if (e != null) {

            int i = 0;
            while (e.hasMoreElements()) {
                Object msg = e.nextElement();
                ActiveMQTextMessage m = (ActiveMQTextMessage) msg;
                System.out.println(m.getText());
                i++;

            }
            System.out.println(&quot;Nro. Mensajes: &quot; + (i));
        }

        browser.close();
        session.close();
        connection.close();
    }

}

&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingmmurillo.blogspot.com/feeds/6587406375399988833/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingmmurillo.blogspot.com/2013/07/como-crear-un-explorador-de-colas.html#comment-form' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/6587406375399988833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/6587406375399988833'/><link rel='alternate' type='text/html' href='http://ingmmurillo.blogspot.com/2013/07/como-crear-un-explorador-de-colas.html' title='Cómo crear un explorador de colas (QueueBrowser) para JMS'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2777561300144382425.post-5809765453131885228</id><published>2013-07-23T11:11:00.000-05:00</published><updated>2013-07-23T11:41:03.076-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="-D"/><category scheme="http://www.blogger.com/atom/ns#" term="codificación"/><category scheme="http://www.blogger.com/atom/ns#" term="configuración"/><category scheme="http://www.blogger.com/atom/ns#" term="encoding"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="parámetros"/><category scheme="http://www.blogger.com/atom/ns#" term="regional"/><title type='text'>Cómo cambiar la configuración regional y la codificación en Java</title><content type='html'>Para cambiar la configuración regional y la codificación a UTF-8 en un programa Java se tiene que colocar los siguientes parámetros de la máquina virtual:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: java;&quot;&gt;-Duser.country=US -Duser.language=en -Dsun.jnu.encoding=UTF-8 -Dfile.encoding=UTF-8
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingmmurillo.blogspot.com/feeds/5809765453131885228/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingmmurillo.blogspot.com/2013/07/como-cambiar-la-configuracion-regional.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/5809765453131885228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/5809765453131885228'/><link rel='alternate' type='text/html' href='http://ingmmurillo.blogspot.com/2013/07/como-cambiar-la-configuracion-regional.html' title='Cómo cambiar la configuración regional y la codificación en Java'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2777561300144382425.post-136870714261354177</id><published>2013-06-14T16:37:00.000-05:00</published><updated>2013-07-23T12:10:18.227-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="conocer"/><category scheme="http://www.blogger.com/atom/ns#" term="netstat"/><category scheme="http://www.blogger.com/atom/ns#" term="proceso"/><category scheme="http://www.blogger.com/atom/ns#" term="puerto"/><category scheme="http://www.blogger.com/atom/ns#" term="usado"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>Cómo conocer qué puerto es usado por un proceso en Windows</title><content type='html'>En ésta publicación comparta cómo saber qué proceso del sistema operativo está usando un puerto.&lt;br /&gt;
&lt;br /&gt;
Para listar los procesos y los puertos usados del sistema operativo Windows se usa el siguiente comando:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;netstat -n -a -o

&lt;/pre&gt;
&lt;br /&gt;
Una vez identificado el proceso (&lt;b&gt;PID&lt;/b&gt;) a través del siguiente comando se puede conocer a detalle cuál es:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;tasklist /svc /FI &quot;PID eq 2660&quot;

&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;NOTA: &lt;/b&gt;2660 reemplazar por el identificado del proceso (PID)&lt;br /&gt;
&lt;br /&gt;
Para matar un proceso en Windows a través del PID se usa el siguiente comando:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;taskkill /PID 2660 /F
&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ingmmurillo.blogspot.com/feeds/136870714261354177/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingmmurillo.blogspot.com/2013/06/como-conocer-que-puerto-es-usado-por-un.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/136870714261354177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/136870714261354177'/><link rel='alternate' type='text/html' href='http://ingmmurillo.blogspot.com/2013/06/como-conocer-que-puerto-es-usado-por-un.html' title='Cómo conocer qué puerto es usado por un proceso en Windows'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2777561300144382425.post-2242910003669641366</id><published>2013-05-15T23:13:00.000-05:00</published><updated>2013-05-15T23:13:57.946-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Adobe Flash Player"/><category scheme="http://www.blogger.com/atom/ns#" term="apt-get install"/><category scheme="http://www.blogger.com/atom/ns#" term="Firefox"/><category scheme="http://www.blogger.com/atom/ns#" term="instalar"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu Server"/><title type='text'>Cómo instalar Firefox y FlashPlayer en Ubuntu</title><content type='html'>&lt;br /&gt;
En ésta publicación explico el procedimiento para instalar &lt;b&gt;Firefox &lt;/b&gt;y &lt;b&gt;FlashPlayer&lt;/b&gt; en Ubuntu.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;Instalación de Firefox&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
Para instalar &lt;b&gt;Firefox&lt;/b&gt;, abrir una consola de comandos y ejecutar:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;sudo apt-get update

sudo apt-get install firefox

&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;Instalación de Flash Player en Firefox&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
Para instalar &lt;b&gt;FlashPlayer &lt;/b&gt;en &lt;b&gt;Firefox&lt;/b&gt;, se tiene que realizar lo siguiente:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1.&amp;nbsp;&lt;/b&gt;Descargar el archivo comprimido (&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;tar&lt;/span&gt;) para la versión de Linux de 32 o 64bits del siguiente link: &amp;nbsp;&lt;a href=&quot;http://get2.adobe.com/flashplayer/otherversions/&quot;&gt;http://get2.adobe.com/flashplayer/otherversions/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2.&amp;nbsp;&lt;/b&gt;Descomprimir el archivo usando el siguiente comando:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;tar xvzf&amp;nbsp;install_flash_player_11_linux.x86_64.tar.gz

&lt;/pre&gt;
&lt;b&gt;3. &lt;/b&gt;Al descomprimir se creará un directorio &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;/usr&lt;/span&gt; y el archivo&amp;nbsp;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;libflashplayer.so&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;4. &lt;/b&gt;Copiar el contenido del directorio &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;/usr&lt;/span&gt; al directorio &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;/usr&lt;/span&gt; del sistema operativo usando el siguiente comando&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;sudo cp -r usr/* /usr&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;5.&amp;nbsp;&lt;/b&gt;Copiar el archivo &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;libflashplayer.so&lt;/span&gt; al directorio de &lt;b&gt;addons&lt;/b&gt; de &lt;b&gt;Firefox &lt;/b&gt;usando el siguiente comando:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;sudo cp libflashplayer.so \/usr/lib/firefox-addons/plugins

&lt;/pre&gt;
&lt;b&gt;6. &lt;/b&gt;No olvidar cerrar cualquier Firefox abierto, y volverlo abrir para verificar ésta configuración</content><link rel='replies' type='application/atom+xml' href='http://ingmmurillo.blogspot.com/feeds/2242910003669641366/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingmmurillo.blogspot.com/2013/05/como-instalar-firefox-y-flashplayer-en.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/2242910003669641366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/2242910003669641366'/><link rel='alternate' type='text/html' href='http://ingmmurillo.blogspot.com/2013/05/como-instalar-firefox-y-flashplayer-en.html' title='Cómo instalar Firefox y FlashPlayer en Ubuntu'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2777561300144382425.post-840805308081907718</id><published>2013-04-08T16:10:00.000-05:00</published><updated>2013-04-09T07:57:26.359-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ANSI"/><category scheme="http://www.blogger.com/atom/ns#" term="cambio"/><category scheme="http://www.blogger.com/atom/ns#" term="codificación"/><category scheme="http://www.blogger.com/atom/ns#" term="encoding"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="source"/><category scheme="http://www.blogger.com/atom/ns#" term="UTF-8"/><title type='text'>Código Java para convertir un archivo en codificación ANSI a UTF-8</title><content type='html'>En ésta publicación explico el procedimiento para convertir un archivo de texto en codificación ANSI a la codificación UTF-8. A continuación comparto el código:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush:java;&quot;&gt;    String srcAnsiEncoded = new String(srcEncoded, &quot;ISO-8859-15&quot;);
    byte[] srcUTF8 = srcAnsiEncoded.getBytes(&quot;UTF-8&quot;);
&lt;/pre&gt;
&lt;br /&gt;
En dónde la variable&amp;nbsp;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;srcEncoded&lt;/span&gt;&amp;nbsp;corresponde a un arreglo de bytes con el contenido del archivo de texto.</content><link rel='replies' type='application/atom+xml' href='http://ingmmurillo.blogspot.com/feeds/840805308081907718/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingmmurillo.blogspot.com/2013/04/codigo-java-para-convertir-un-archivo.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/840805308081907718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/840805308081907718'/><link rel='alternate' type='text/html' href='http://ingmmurillo.blogspot.com/2013/04/codigo-java-para-convertir-un-archivo.html' title='Código Java para convertir un archivo en codificación ANSI a UTF-8'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2777561300144382425.post-8080114117849813396</id><published>2013-03-08T10:59:00.002-05:00</published><updated>2013-03-08T10:59:30.811-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="código"/><category scheme="http://www.blogger.com/atom/ns#" term="impresión"/><category scheme="http://www.blogger.com/atom/ns#" term="impresora"/><category scheme="http://www.blogger.com/atom/ns#" term="imprimir"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="nombrada"/><title type='text'>Código Java para imprimir en una impresora nombrada</title><content type='html'>En ésta publicación comparto el código Java para imprimir en una impresora nombrada.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: java;&quot;&gt;    public static void main(String args[]) throws FileNotFoundException, IOException, PrintException {

        //Archivo que se desea imprimir
        FileInputStream inputStream = new FileInputStream(&quot;c:/archivo.pdf&quot;);

        //Formato de Documento
        DocFlavor docFormat = DocFlavor.INPUT_STREAM.AUTOSENSE;
        //Lectura de Documento
        Doc document = new SimpleDoc(inputStream, docFormat, null);

        //Nombre de la impresora
        String printerName = &quot;HP3015&quot;;

        //Inclusion del nombre de impresora y sus atributos
        AttributeSet attributeSet = new HashAttributeSet();
        attributeSet.add(new PrinterName(printerName, null));
        attributeSet = new HashAttributeSet();
        //Soporte de color o no
        attributeSet.add(ColorSupported.NOT_SUPPORTED);

        //Busqueda de la impresora por el nombre asignado en attributeSet
        PrintService[] services = PrintServiceLookup.lookupPrintServices(docFormat, attributeSet);

        System.out.println(&quot;Imprimiendo en : &quot; + services[0].getName());

        DocPrintJob printJob = services[0].createPrintJob();
        //Envio a la impresora
        printJob.print(document, new HashPrintRequestAttributeSet());

        inputStream.close();

    }

&lt;/pre&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingmmurillo.blogspot.com/feeds/8080114117849813396/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingmmurillo.blogspot.com/2013/03/codigo-java-para-imprimir-en-una.html#comment-form' title='23 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/8080114117849813396'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/8080114117849813396'/><link rel='alternate' type='text/html' href='http://ingmmurillo.blogspot.com/2013/03/codigo-java-para-imprimir-en-una.html' title='Código Java para imprimir en una impresora nombrada'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>23</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2777561300144382425.post-3272311039261405445</id><published>2013-01-29T17:05:00.000-05:00</published><updated>2013-01-29T17:05:46.271-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Apache ActiveMQ"/><category scheme="http://www.blogger.com/atom/ns#" term="API"/><category scheme="http://www.blogger.com/atom/ns#" term="cola"/><category scheme="http://www.blogger.com/atom/ns#" term="código"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="JMS"/><category scheme="http://www.blogger.com/atom/ns#" term="mensajes"/><category scheme="http://www.blogger.com/atom/ns#" term="purgar"/><category scheme="http://www.blogger.com/atom/ns#" term="queue"/><title type='text'>Cómo purgar una cola de ActiveMQ usando el API de JMX</title><content type='html'>En ésta publicación explico el procedimiento para purgar (&lt;b&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;purge&lt;/span&gt;&lt;/b&gt;) una cola de &lt;b&gt;Apache &lt;span style=&quot;color: purple;&quot;&gt;Active&lt;/span&gt;MQ&lt;/b&gt; usando el &lt;b&gt;API &lt;/b&gt;de &lt;b&gt;JMX&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1. &lt;/b&gt;Tener habilitado el soporte para &lt;b&gt;JMX &lt;/b&gt;en&amp;nbsp;
&lt;b&gt;&lt;span style=&quot;color: purple;&quot;&gt;Active&lt;/span&gt;MQ&lt;/b&gt;, en la &lt;a href=&quot;http://ingmmurillo.blogspot.com/2012/03/como-activar-jmx-en-activemq.html&quot; target=&quot;_blank&quot;&gt;siguiente publicación&lt;/a&gt; se explica cómo hacerlo&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;2. &lt;/b&gt;Incluir las siguientes líneas de código Java que usan el API de JMX:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: java;&quot;&gt;
public void purgeQueue() throws NamingException, IOException, MalformedObjectNameException, InstanceNotFoundException, ReflectionException, MBeanException {
    String activeMQBrokerHost = &quot;localhost&quot;; //Dirección IP o nombre del servidor de ActiveMQ
    String queueToPurge = &quot;test.queue&quot;; //Nombre de la Cola

    JMXServiceURL jmxURL = new JMXServiceURL(&quot;service:jmx:rmi:///jndi/rmi://&quot; + activeMQBrokerHost + &quot;:1099/jmxrmi&quot;);
    ObjectName queue = new ObjectName(&quot;org.apache.activemq:BrokerName=&quot; + activeMQBrokerHost + &quot;,Type=Queue,Destination=&quot; + queueToPurge);
    JMXConnector jmxConnection = JMXConnectorFactory.connect(jmxURL);
    MBeanServerConnection mBeanConnection = jmxConnection.getMBeanServerConnection();
    mBeanConnection.invoke(queue, &quot;purge&quot;, null, null);
    jmxConnection.close();
}
&lt;/pre&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingmmurillo.blogspot.com/feeds/3272311039261405445/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingmmurillo.blogspot.com/2013/01/como-purgar-una-cola-de-activemq-usando.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/3272311039261405445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/3272311039261405445'/><link rel='alternate' type='text/html' href='http://ingmmurillo.blogspot.com/2013/01/como-purgar-una-cola-de-activemq-usando.html' title='Cómo purgar una cola de ActiveMQ usando el API de JMX'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2777561300144382425.post-6193866241605116458</id><published>2013-01-14T16:24:00.001-05:00</published><updated>2013-01-14T16:24:22.541-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Archetype"/><category scheme="http://www.blogger.com/atom/ns#" term="arquetipo"/><category scheme="http://www.blogger.com/atom/ns#" term="generar"/><category scheme="http://www.blogger.com/atom/ns#" term="GWT"/><category scheme="http://www.blogger.com/atom/ns#" term="Maven"/><category scheme="http://www.blogger.com/atom/ns#" term="proyecto"/><title type='text'>Cómo crear un proyecto de GWT usando el arquetipo de Maven</title><content type='html'>Para crear un proyecto de &lt;b&gt;GWT v2.5.0&lt;/b&gt; usando el arquetipo de &lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Maven&lt;/span&gt;&lt;/b&gt;, se tiene que ejecutar lo siguiente:

&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: bash;&quot;&gt;mvn archetype:generate -DarchetypeGroupId=org.codehaus.mojo -DarchetypeArtifactId=gwt-maven-plugin -DarchetypeVersion=2.5.0
&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ingmmurillo.blogspot.com/feeds/6193866241605116458/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingmmurillo.blogspot.com/2013/01/como-crear-un-proyecto-de-gwt-usando-el.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/6193866241605116458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/6193866241605116458'/><link rel='alternate' type='text/html' href='http://ingmmurillo.blogspot.com/2013/01/como-crear-un-proyecto-de-gwt-usando-el.html' title='Cómo crear un proyecto de GWT usando el arquetipo de Maven'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2777561300144382425.post-37706206016194935</id><published>2012-12-11T11:33:00.000-05:00</published><updated>2012-12-11T11:33:12.033-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="banner"/><category scheme="http://www.blogger.com/atom/ns#" term="conocer"/><category scheme="http://www.blogger.com/atom/ns#" term="consulta"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="v$version"/><category scheme="http://www.blogger.com/atom/ns#" term="version"/><title type='text'>Consulta SQL para conocer la versión de Oracle</title><content type='html'>En ésta publicación comparto una consulta &lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;SQL &lt;/span&gt;&lt;/b&gt;para conocer la versión instalada de &lt;span style=&quot;color: red; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;b&gt;Oracle&lt;/b&gt;&lt;/span&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: sql;&quot;&gt;select * from v$version where banner like &#39;Oracle%&#39;;
&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ingmmurillo.blogspot.com/feeds/37706206016194935/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingmmurillo.blogspot.com/2012/12/consulta-sql-para-conocer-la-version-de.html#comment-form' title='2 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/37706206016194935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/37706206016194935'/><link rel='alternate' type='text/html' href='http://ingmmurillo.blogspot.com/2012/12/consulta-sql-para-conocer-la-version-de.html' title='Consulta SQL para conocer la versión de Oracle'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2777561300144382425.post-2644189169804521410</id><published>2012-11-22T12:54:00.001-05:00</published><updated>2012-11-22T12:54:58.162-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DMP"/><category scheme="http://www.blogger.com/atom/ns#" term="expdp"/><category scheme="http://www.blogger.com/atom/ns#" term="export"/><category scheme="http://www.blogger.com/atom/ns#" term="impdp"/><category scheme="http://www.blogger.com/atom/ns#" term="import"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle 10g"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle 11g"/><title type='text'>Cómo exportar un DMP de Oracle 11g a 10g</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
En ésta publicación explico el procedimiento para exportar un &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;b&gt;DMP &lt;/b&gt;&lt;/span&gt;de &lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Oracle 11g&lt;/span&gt;&lt;/b&gt; a &lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Oracle 10g&lt;/span&gt;&lt;/b&gt;. Para esto tenemos que usar las aplicaciones &lt;b&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;expdp &lt;/span&gt;&lt;/b&gt;e &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;b&gt;impdp&lt;/b&gt;&lt;/span&gt;.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3beTtoft-TSbiIQaDxepNU1tHvzsrylEQMgqcFuaqkBtMa4TodcPeUt6MwggZ-l8V65cQNaEwlXdOXsGqaLND9su4chUezCUPuetnf_ahTWlufsWfcipVeHF6BNwS5KHOY5HlRz3yeZw/s1600/logo-oracle.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;31&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3beTtoft-TSbiIQaDxepNU1tHvzsrylEQMgqcFuaqkBtMa4TodcPeUt6MwggZ-l8V65cQNaEwlXdOXsGqaLND9su4chUezCUPuetnf_ahTWlufsWfcipVeHF6BNwS5KHOY5HlRz3yeZw/s200/logo-oracle.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;Para exportar&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
Usar el siguiente comando para realizar una exportación &lt;b&gt;FULL &lt;/b&gt;usando el usuario &lt;b&gt;&lt;span style=&quot;color: red; font-family: Courier New, Courier, monospace;&quot;&gt;system&lt;/span&gt;&lt;/b&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: bash;&quot;&gt;expdp system/password@BDD dumpfile=&quot;respaldoDDMMYYYY.dmp&quot; logfile=&quot;
respaldoDDMMYYYY.dmp&quot; version=10.2.0.1 schemas=esquema1,esquema2,esquemaN
&lt;/pre&gt;
&lt;br /&gt;
En dónde&amp;nbsp;&lt;b&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;version&lt;/span&gt;&amp;nbsp;&lt;/b&gt;deberá corresponder con la versión de&amp;nbsp;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Oracle 10g&lt;/span&gt;&lt;/b&gt;&amp;nbsp;dónde se importará la base de datos y &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;b&gt;schemas&lt;/b&gt;&lt;/span&gt; los nombres de los esquemas que se quiere exportar.&lt;br /&gt;
&lt;br /&gt;
Las versiones posibles son:&lt;br /&gt;
&lt;ul style=&quot;background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px; list-style-image: url(data:image/png; list-style-type: square; margin: 0.3em 0px 0px 1.6em; padding: 0px;&quot;&gt;
&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;Para Oracle Database 10&lt;i&gt;g&lt;/i&gt;&amp;nbsp;Release 1: &lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;10.1.0.2 – 10.1.0.5&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;Para Oracle Database 10&lt;i&gt;g&lt;/i&gt;&amp;nbsp;Release 2: &lt;b&gt;&lt;span style=&quot;color: orange;&quot;&gt;10.2.0.1 – 10.2.0.5&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;b&gt;NOTA: &lt;/b&gt;el archivo &lt;b&gt;DMP &lt;/b&gt;por defecto&amp;nbsp;se creará en el directorio de Instalación de &lt;b&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Oracle&lt;/span&gt;&lt;/b&gt;, en mi caso: &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;c:\oracle\product\11.1.0\db_1\RDBMS\log&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;Para importar&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
Usar el siguiente comando:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: bash;&quot;&gt;impdp system/password@BDD dumpfile=&quot;respaldoDDMMYYYY.dmp&quot; logfile=&quot;
respaldoDDMMYYYY.dmp&quot;&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ingmmurillo.blogspot.com/feeds/2644189169804521410/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://ingmmurillo.blogspot.com/2012/11/como-exportar-un-dmp-de-oracle-11g-10g.html#comment-form' title='6 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/2644189169804521410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2777561300144382425/posts/default/2644189169804521410'/><link rel='alternate' type='text/html' href='http://ingmmurillo.blogspot.com/2012/11/como-exportar-un-dmp-de-oracle-11g-10g.html' title='Cómo exportar un DMP de Oracle 11g a 10g'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3beTtoft-TSbiIQaDxepNU1tHvzsrylEQMgqcFuaqkBtMa4TodcPeUt6MwggZ-l8V65cQNaEwlXdOXsGqaLND9su4chUezCUPuetnf_ahTWlufsWfcipVeHF6BNwS5KHOY5HlRz3yeZw/s72-c/logo-oracle.png" height="72" width="72"/><thr:total>6</thr:total></entry></feed>