EONISLaptopHP

From Wiki RB4
Revision as of 15:49, 13 January 2014 by ::1 (talk) (→‎Java JDK)

Data

Hostname = HP10039146 Windows 7 32-bit

Installations

ant

  • installed to C:\Uwes\Programme\Java
  • set ANT_HOME=C:\Uwes\Programme\Java\apache-ant-1.9.2

Axis2

  • installed to C:\Uwes\java\axis2-1.6.2
  • set AXIS2_HOME=C:\Uwes\java\axis2-1.6.2

Eclipse

  • install eclipse Kepler
  • Help -> Install New Software -> http://download.jboss.org/jbosstools/updates/stable/kepler/ for JBoss Tools
  • Right click your project folder of 'uweheuer_new', select Properties at the bottom of the context menu.
  • Select "Java Build Path"
  • Click Libraries" tab
  • Click "Add Library..." button on right (about halfway down)
  • Select "Server Runtime" click "Next"
  • Select JBoss 7.1

Java JRE

  • installed to C:\Uwes\Programme\Java
  • allow uweheuer applet to allow clipboard by adding to C:\Uwes\Programme\Java\jre7\lib\security\.java.policy
permission java.awt.AWTPermission "accessClipboard";
  • allow uweheuer applet to decrypt comments by using sun libs (avoid accessClassInPackage.sun.misc exception)
permission java.security.AllPermission;

Magnolia

Java JDK

  • installed as sub directory to C:\Uwes\Programme\Java\glassfish4
  • set JAVA_HOME=C:\Uwes\Programme\Java\glassfish4\jdk7

Mediawiki

  • create DB 'mediawiki' by phpAdmin
  • export old DB 'mediawiki' by phpAdmin as sql file
  • login by 'mysql' to new server
  • type 'use mediawiki'
  • type 'source <path2exportfile>
  • create user 'uweswiki' with pwd 'uweswiki' and host 'localhost' with phpAdmin (see mediawiki LocalSettings.php)

JBoss

  • download JBoss Enterprise Application Platform 6 EAP
  • create admin user 'UweHeuer' and 'Halloo0@1' with batch script
  • deploy mysql connector
  • create Data Sources with Web-Admin interface
  • deploy uweheuer.war and enable
  • add to standalone.xml for uweheuer application
<connector name="ajp" protocol="AJP/1.3" scheme="ajp" socket-binding="ajp" enabled="true"/>       
...
<pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] %C.%M %L: %s%E%n"/>
...
<logger category="uweheuer" use-parent-handlers="false">
  <level name="INFO"/>
  <handlers>
    <handler name="FILE"/>
  </handlers>
</logger>

Create Service

Shutdown

C:\Uwes\Programme\Java\JBoss\jboss-eap-6.1.0\jboss-eap-6.1\bin>jboss-cli.bat --connect command=:shutdown

xampp (Apache, MySQL, PHP)

  • 1.8.3 by installer version to C:\Uwes\Programme\xampp and installed mysql and apache services
  • add to C:\Uwes\Programme\xampp\apache\conf\extra\httpd-ajp.conf for uweheuer application
ProxyPass /uweheuer ajp://localhost:8009/uweheuer
ProxyPassReverse  /uweheuer  ajp://localhost:8009/uweheuer

Visual Paradigm

  • installed community edition C:\Uwes\Programme\Visual Paradigm for UML CE 10.2
  • started->Tools->IDE Integration->eclipse->select Kepler installation creates integration in eclipse