Uweheuer: Difference between revisions

From Wiki RB4
No edit summary
Line 1: Line 1:
==Documentation==
* actual Eclipse project 'C:/Uwes/eclipse/workspace/uweheuer_new/' (old 'uweheuer')
* s. <PROJECT_DIR>/doc/uweheuer.vsd
* s. <PROJECT_DIR>/doc/uweheuer.uml
* s. in eclipse project 'uweheuer_new' sub folder vpproject (Visual Paradigm Plus)
==Installation==
==Installation==
Create and fill database mysql504 per mysql tools. Copy war-file or directory tree to the webapp directory of the application server. Adjust Apache or Tomcat for proxying to JBoss ([[HomePCNew#Apache]])
Create and fill database mysql504 per mysql tools. Copy war-file or directory tree to the webapp directory of the application server. Adjust Apache or Tomcat for proxying to JBoss ([[HomePCNew#Apache]])
Line 14: Line 20:


Logging on the '''client side''' is done via the printDebug() method, which goes at least to the java console.
Logging on the '''client side''' is done via the printDebug() method, which goes at least to the java console.
==Documentation==
* s. file://C:/Uwes/eclipse/workspace/uweheuer/doc/uweheuer.vsd
* s. file://C:/Uwes/eclipse/workspace/uweheuer/doc/uweheuer.uml
* s. in eclipse project 'uweheuer_new' sub folder vpproject (Visual Paradigm Plus)


==Generierung==
==Generierung==


===Shell===
===Shell===

Revision as of 09:28, 3 January 2013

Documentation

  • actual Eclipse project 'C:/Uwes/eclipse/workspace/uweheuer_new/' (old 'uweheuer')
  • s. <PROJECT_DIR>/doc/uweheuer.vsd
  • s. <PROJECT_DIR>/doc/uweheuer.uml
  • s. in eclipse project 'uweheuer_new' sub folder vpproject (Visual Paradigm Plus)

Installation

Create and fill database mysql504 per mysql tools. Copy war-file or directory tree to the webapp directory of the application server. Adjust Apache or Tomcat for proxying to JBoss (HomePCNew#Apache)


Releases

  • Migration from Axis 1 to Axis 2
  • Migration from Hibernate to JPA implemented by Hibernate
  • Migration from Runtime JBoss 4.2 to JBoss 7.1

Operation

Logging

Logging on the server side uses log4j. Configuration is done in the central JBoss log4j configuration jboss-log4j.xml and for JBoss 7 here. Application specific configuration with the war file is probably possible but still an open issue (s. Google lookup). The coding uses LogUtil.java an the static method. It creates a logger named uweheuer which is used through out the code. The output and level are defined in the Log4j configuration files.

Logging on the client side is done via the printDebug() method, which goes at least to the java console.

Generierung

Shell

Die Generierung erfolgt über Ant (s. file:///C:/Uwes/eclipse/workspace/uweheuer/build.xml).

ant [deploy_laptop_jboss|deploy_home_jboss]

target deploy_rootserver

Die manuell auszuführenden Tätigkeiten werden von Ant ausgegeben.

Eclipse

Project -> Build Project ruft das target deploy_laptop auf.

Crypt Data Handling

Die Generierung eines leeren Data-Files namens 'data.crypt' erfolgt über das Kommando:

C:\Uwes\eclipse\workspace\uweheuer\build\class>java server.CreateCryptDataFile.

Die Datei muss in das Verzeichnis <TOMCAT_HOME>/webapps/uweheuer/data kopiert werden z.B. mit

C:\Uwes\eclipse\workspace\uweheuer\build\class>copy data.crypt \Uwes\xampp\tomcat\webapps\uweheuer\data


Bookmarks

Tree Versioning

  1. bookmark tree version is set to latest update version

DB leeren

Laptop

  1. load applet
  2. clear tables urlx and menux
  3. PopUp on root and CreateBookmarkTree with empty server field

Home PC

  1. clear tables urlx and menux
  2. http://localhost/uweheuer/UpdateBookmarksOnRemoteHost?remotehost=http://192.168.178.202/uweheuer/Tunnel

Contacts

Aktualisieren

  1. Jscript Media:C:/Uwes/WinScripts/CreateCSVFileFromOutlook.js aufrufen
  2. Erzeugungsbestätigung abwarten
  3. mit [1] erzeugten File C:/Temp/OutlookContactExport.csv uploaden

Eclipse Debugging

Debug Configurations

  • uweheuer_applet_laptop
  • uweheuer_laptop