EONISLaptopHP: Difference between revisions

From Wiki RB4
 
(7 intermediate revisions by one other user not shown)
Line 31: Line 31:
===Java JRE===
===Java JRE===
* installed to C:\Uwes\Programme\Java
* installed to C:\Uwes\Programme\Java
* allow uweheuer applet to allow clipboard by adding to C:\Program Files\Java\jre7\lib\security\'''java.policy'''. A copy with the changes recommended below is located C:\Uwes\java\'''Myjava.policy'''.
* allow uweheuer applet to allow clipboard by adding to C:\Program Files\Java\jre7\lib\security\'''java.policy'''. A copy with the changes recommended below is located C:\Uwes\java\'''Myjava.policy'''. Copy by WindowsMenu -> Zubehör -> CMD Shell -> Right Click -> Run as Administrator.
  permission java.awt.AWTPermission "accessClipboard";
  permission java.awt.AWTPermission "accessClipboard";
* allow uweheuer applet to decrypt comments by using sun libs (avoid accessClassInPackage.sun.misc exception)
* allow uweheuer applet to decrypt comments by using sun libs (avoid accessClassInPackage.sun.misc exception)
  permission java.security.AllPermission;
  permission java.security.AllPermission;
===JBoss===
see [[JBoss#HP_EBS_Laptop|here]]


===Magnolia===
===Magnolia===
Line 52: Line 55:
* create user 'uweswiki' with pwd 'uweswiki' and host 'localhost' with phpAdmin (see mediawiki LocalSettings.php)
* create user 'uweswiki' with pwd 'uweswiki' and host 'localhost' with phpAdmin (see mediawiki LocalSettings.php)


===JBoss===
===Nmap===
* download JBoss Enterprise Application Platform 6 EAP
* installation C:\Uwes\Programme\Nmap
* create admin user 'UweHeuer' and 'Halloo0@1' with batch script
  nmap -v 192.168.178.202 -p 5900
* 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="http" 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>
* see also [[EONISLaptopHP#Magnolia|magnolia]]
 
====Create Service====
* created by https://community.jboss.org/thread/230109
 
 
====Configure for debugging====
in C:\Uwes\Programme\Java\JBoss\jboss-eap-6.1.0\jboss-eap-6.1\modules\native\sbin
* copy service.conf.bat to 20150113_service.conf.bat to backup old configuration file
* decomment Sample JPDA settings
 
====Shutdown====
open the Windows Services dialogue and stop the services
or
  C:\Uwes\Programme\Java\JBoss\jboss-eap-6.1.0\jboss-eap-6.1\bin>jboss-cli.bat --connect command=:shutdown


===JBPM===
===JBPM===

Latest revision as of 07:04, 21 April 2015

Data[edit]

Hostname = HP10039146 Windows 7 32-bit

Installations[edit]

ant[edit]

  • installed to C:\Uwes\Programme\Java
  • set ANT_HOME=C:\Uwes\Programme\Java\apache-ant-1.9.2
  • extend environment variable PATH=%ANT_HOME%\bin

Axis2[edit]

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

Eclipse[edit]

  • install eclipse Kepler (Eclipse 4.3)
  • 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
  • add Android plugin (see above)

Java JDK[edit]

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

Java JRE[edit]

  • installed to C:\Uwes\Programme\Java
  • allow uweheuer applet to allow clipboard by adding to C:\Program Files\Java\jre7\lib\security\java.policy. A copy with the changes recommended below is located C:\Uwes\java\Myjava.policy. Copy by WindowsMenu -> Zubehör -> CMD Shell -> Right Click -> Run as Administrator.
permission java.awt.AWTPermission "accessClipboard";
  • allow uweheuer applet to decrypt comments by using sun libs (avoid accessClassInPackage.sun.misc exception)
permission java.security.AllPermission;

JBoss[edit]

see here

Magnolia[edit]

Maven[edit]

  • download and unzip C:\Uwes\Programme\Java\apache-maven-3.1.1
  • set environment variable M2_HOME=C:\Uwes\Programme\Java\apache-maven-3.1.1
  • extend environment variable PATH to %M2_HOME%\bin

Mediawiki[edit]

  • 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)

Nmap[edit]

  • installation C:\Uwes\Programme\Nmap
nmap -v 192.168.178.202 -p 5900

JBPM[edit]

  • Installation see jBPM

xampp (Apache, MySQL, PHP)[edit]

  • 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[edit]

  • 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