2009-10-29

TELDE – Installation eines Continuous Integration Servers (Teil 21)

Anforderung

Innerhalb der TELDE Entwicklungsumgebung wird ein Continuous Integration (CI) Server benötigt, um in regelmäßigen 1Intervallen ein Build der einzelnen Projekte zu erstellen und automatisierte Test durchführen zu können.

Lösung

  1. Installation Hudson

Komponenten

  Bereich Komponente
  TELDE OES, JDK
  Hudson Download

Umsetzung

Bereich Gegenstand
Putty Action: Start Putty
  Action: Open Save Session telde.local als root
   
Configure yum to install hudson

login as: root
root@192.168.234.140's password:
Last login: Wed Sep 16 18:40:10 2009 from 192.168.234.1
[root@telde ~]# sudo wget -O /etc/yum.repos.d/hudson.repo http://hudson-ci.org/redhat/hudson.repo
--19:29:52--  http://hudson-ci.org/redhat/hudson.repo
Resolving hudson-ci.org... 192.18.49.133
Connecting to hudson-ci.org|192.18.49.133|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 69 [text/plain]
Saving to: `/etc/yum.repos.d/hudson.repo'

100%[=======================================>] 69          --.-K/s   in 0s

19:29:54 (824 KB/s) - `/etc/yum.repos.d/hudson.repo' saved [69/69]

[root@telde /]# sudo rpm --import http://hudson-ci.org/redhat/hudson-ci.org.key

[root@telde /]#

   
Install hudson with yum

[root@telde ~]# yum install hudson
Loaded plugins: security
hudson                                                   |  951 B     00:00
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package hudson.noarch 0:1.329-1.1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package          Arch             Version               Repository        Size
================================================================================
Installing:
hudson           noarch           1.329-1.1             hudson            26 M

Transaction Summary
================================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 26 M
Is this ok [y/N]: y
Downloading Packages:
hudson-1.329-1.1.noarch.rpm                              |  26 MB     01:06

Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : hudson                                            [1/1]

Installed: hudson.noarch 0:1.329-1.1
Complete!
[root@telde /]#

Config Java Env

[root@telde ~]# vi /etc/sysconfig/hudson

## Type:        string
## Default:     ""
## ServiceRestart: hudson
#
# Java executable to run Hudson
# When left empty, we'll try to find the suitable Java.
#
HUDSON_JAVA_CMD="/usr/lib/jdk1.6.0_16/bin/java"

   
Start hudson

[root@telde ~]# service hudson start
Starting Hudson                                            [  OK  ]

   
Test

[root@telde ~]# shutdown -r now

  http://www.telde.local:8080

 

Anmerkung

Es ist unglaublich, wie einfach dies ist. Weitere Infos findet man auf dem entsprechenden Seiten von Hudson.

Oracle RDA – Remote Diagnostic Agent Nightly Run...

2_1 Gestern habe ich die neuste Version des RDA auf einer Linux System angewendet und habe entdeckt, dass der Weblogic Server jetzt auch Einzug in das Oracle RDA Tool gehalten hat.

Vorteilhaft ist es wenn man diesen Agent regelmäßig auf seinem Entwicklungssystem laufen lässt, um den aktuellen Status des Systems jederzeit zu Verfügung hat. Der folgende Mitschnitt dokumentiert kurz, wie man dies innerhalb der TELDE Umgebung durchführt.

 

 

Umsetzung

  Bereich Gegenstand  
  Download Metalink –RDA Getting Started  
       
  Putty Action: Start Putty  
    Action: Open Save Session telde.local als oracle  
       
   

login as: oracle
oracle@192.168.234.140's password:
Last login: Wed Sep 16 09:17:06 2009 from 192.168.234.1
[oracle@telde ~]$ cd /u01/app/oracle/product/
[oracle@telde product]$ mkdir –r 4.7.x
[oracle@telde product]$ cd 4.7.x/
[oracle@telde 4.7.x]$

[oracle@telde 4.7.x]$ unzip /u01/product/oracle/support/4.x/p8805952_417_LINUX.zip

:

[oracle@telde 4.7.x]$ cd rda

[oracle@telde rda]$ ./rda.sh -s $HOME/rda_cron_setup -vdSCRP
-------------------------------------------------------------------------------
S000INI: Initializes the Data Collection
-------------------------------------------------------------------------------

:

[always use the default]

:

Enter an Oracle User ID (userid only) to view DBA_ and V$ tables. If RDA will
be run under the Oracle software owner's ID, enter a '/' here, and select Y at
the SYSDBA prompt to avoid being prompted for the database password at
runtime.
Hit 'Return' to accept the default (system)
> /

Is '/' a SYSDBA user (will connect as SYSDBA) (Y/N)?
Hit 'Return' to accept the default (N)
> Y

:

[always use the default]

:

-------------------------------------------------------------------------------
RDA Data Collection Started 16-Sep-2009 10:26:15 PM
-------------------------------------------------------------------------------

Processing Initialization module ...
Enter the password for 'SYSTEM':
Please re-enter it to confirm:
Processing CFG module ...
Processing Sampling module ...
Processing OCM module ...
Processing OS module ...
Processing PROF module ...
Processing PERF module ...
Processing NET module ...
Processing Oracle installation module ...
Processing RDBMS module ...
Processing LOG module ...

  Access over Web Server

[root@carriev01 html]# ln -s /u01/app/oracle/product/4.x/rda/output rda
[root@carriev01 html]# usermod -G oracle apache
usermod: Ungültiges numerisches Argument »oracle«
[root@carriev01 html]# usermod -a -G apache oracle
[root@carriev01 html]# chgrp -R apache  /u01/app/oracle/product/4.x/rda/output

[root@carriev01 html]# cd /etc/httpd/conf.d
[root@carriev01 conf.d]# vi rda.conf

<location /rda>
   DirectoryIndex RDA__start.htm
   Order allow,deny
   Allow from all
</location>
~

[root@carriev01 conf.d]# service httpd restart
httpd beenden:                                             [  OK  ]
httpd starten:                                             [  OK  ]

  RDA Test /u01/app/oracle/product/4.x/rda/rda.pl -s $HOME/rda_cron_setup.cfg -vdfCRP > $HOME/rda.out
  Test

http://www.telde.local/rda

    2_2
  CRON Job

vi rda_cron.sh

/u01/app/oracle/product/4.x/rda/rda.pl -s $HOME/rda_cron_setup.cfg -vdfCRP > $HOME/rda.out
# Zugriff fuer den Web Server
chgrp -R apache /u01/app/oracle/product/4.x/rda/output

[oracle@telde]~% chmod +x rda_cron.sh


   

[oracle@telde]~% crontab -e

0 4 * * *  $HOME/rda_cron.sh

  Anmerkung Dieser CRON Job führt jede Tag um 4 Uhr RDA aus. Bearbeitet  wird die Datei in einem vi – Editor.

2009-10-28

ORACLE – SUN: What will happen to NetBeans, Glassfish..

Oracle hat sein FAQ Dokumente bzgl. des Sun Produktportfolio aktualisiert und macht nun auch einige Aussagen zu 1NetBeans und Glassfish.

Entscheidender Punkt aus Sicht von Oracle ADF und Oracle JDeveloper ist folgender Abschnitt:

“While Oracle JDeveloper remains Oracle’s strategic development tool for the broad portfolio of Oracle Fusion Middleware products and for Oracle’s next generation of enterprise applications, developers will be able to use whichever free tool they are most comfortable with for pure Java and Java EE development: JDeveloper, Enterprise Pack for Eclipse, or NetBeans.”

Damit wiederholt Oracle die Aussage, dass Oracle JDeveloper das strategische Entwicklungstool für Oracle Fusion Middleware und für Oracle Fusion Applications ist.

Das FAQ – Dokument kann man hier abrufen.

2009-10-27

TELDE – Patch Oracle 11g Database auf 11.1.0.7 (Teil 20)

Anforderung

Für Oracle SOA 11g und WebCenter 11g wird mindestens eine 11.1.0.7 oder 10.2.04 Oracle Datenbank vorausgesetzt. Da wir bereits 11.1.0.6 installiert haben, liegt es nahe, diese auf Version 11.1.0.7 zu patchen

Lösung

  1. Installation Patchset 11.1.0.7 für Oracle Database 11g

Komponenten

  Bereich
Komponente
  TELDE
Installation Oracle 11g Database
  Oracle Database 11g
Oracle® Database Patchset 6890831 Download

Umsetzung

Bereich
Komponente
Download
Oracle® Database Patchset 6890831 Download
WinSCP
Kopieren des Downloads nach /u01/app/oracle/software/database/11.1/software/
Xming
Action: Xming starten
Putty
Action: Start Putty
Action: Open Save Session telde.local als oracle
Putty
(Datenbankprozesse stoppen)

[oracle@telde ~]$ . ./setDb1Env.sh
Aktuelle Oracle Umgebung:
Oracle-Home: /u01/app/oracle/product/11.1.0/db_1
Oracle-SID: orcl
[oracle@telde ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.1.0.6.0 - Production on Mon Oct 5 19:37:42 2009
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@telde ~]$ emctl stop dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
https://telde.local:1158/em/console/aboutApplication
Stopping Oracle Enterprise Manager 11g Database Control ...
... Stopped.
$ lsnrctl stop [listener_name]
Putty
(Unzip, Start Patch)

[oracle@telde ~]$ cd /u01/app/oracle/software/
database/ middleware/
[oracle@telde ~]$ cd /u01/app/oracle/software/database/11.1/software/
[oracle@telde software]$ pwd
/u01/app/oracle/software/database/11.1/software
[oracle@telde software]$ ll
total 1518548
-rw-r--r-- 1 oracle oinstall 1553468403 Oct 14 2009 p6890831_111070_Linux-x86.zip
[oracle@telde software]$ unzip p6890831_111070_Linux-x86.zip
Archive: p6890831_111070_Linux-x86.zip
creating: Disk1/
...
...
[oracle@telde software]$ cd Disk1/
[oracle@telde Disk1]$ ./runInstaller
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 80 MB. Actual 2738 MB Passed
Checking swap space: must be greater than 150 MB. Actual 1894 MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-10-05_06-58-28PM. Please wait ...
Oracle Universal Installer (OUI)
 1
Choose: Next
   2Choose: Next
   3
Deactivate: I wish to receive security updates via MetaLink
Choose: Next
OUI Warning
 4
Choose: Yes
OUI
 5
Choose: Next
   6
Choose: Install
   7
Putty
Action: Start Putty
Action: Open Save Session telde.local als root
 
[root@telde ~]# cd /u01/app/oracle/product/11.1.0/db_1/
[root@telde db_1]# ./root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/11.1.0/db_1
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:y
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:y
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
Finished product-specific root actions.
[root@telde db_1]#
OUI
 8
Choose: Exit
Putty
Action: Verify Logged in as oracle or open a new session as oracle
Putty
(Upgrade Database)

[oracle@telde ~]$ . ./setDb1Env.sh
Aktuelle Oracle Umgebung:
Oracle-Home: /u01/app/oracle/product/11.1.0/db_1
Oracle-SID: orcl
[oracle@telde ~]$ sqlplus /nolog
SQL*Plus: Release 11.1.0.7.0 - Production on Tue Oct 6 07:53:44 2009
Copyright (c) 1982, 2008, Oracle. All rights reserved.
SQL> connect sys as sysdba
Enter password:welcome1
Connected to an idle instance.
SQL> startup upgrade
ORACLE instance started.
Total System Global Area 422670336 bytes
Fixed Size 1313820 bytes
Variable Size 339739620 bytes
Database Buffers 75497472 bytes
Redo Buffers 6119424 bytes
Database mounted.
Database opened.
SQL> spool patch.log
SQL> @?/rdbms/admin/catupgrd.sql
....(for about 30 minutes)
SQL> spool off
*** Restart database
SQL> startup
ORACLE instance started.
Total System Global Area 422670336 bytes
Fixed Size 1313820 bytes
Variable Size 377488356 bytes
Database Buffers 37748736 bytes
Redo Buffers 6119424 bytes
Database mounted.
Database opened.
SQL> @?/rdbms/admin/utlrp.sql
..
SQL> SELECT COMP_NAME, VERSION, STATUS FROM SYS.DBA_REGISTRY;
COMP_NAME
--------------------------------------------------------------------------------
VERSION STATUS
------------------------------ --------------------------------------------
OWB
11.1.0.6.0 VALID
Oracle Application Express
3.0.1.00.12 VALID
Oracle Enterprise Manager
11.1.0.7.0 VALID
Oracle Ultra Search
11.1.0.7.0 VALID
OLAP Catalog
11.1.0.7.0 VALID
Spatial
11.1.0.7.0 VALID
Oracle Multimedia
11.1.0.7.0 VALID
Oracle XML Database
11.1.0.7.0 VALID
Oracle Text
11.1.0.7.0 VALID
Oracle Expression Filter
11.1.0.7.0 VALID
Oracle Rules Manager
11.1.0.7.0 VALID
Oracle Workspace Manager
11.1.0.7.0 VALID
Oracle Database Catalog Views
11.1.0.7.0 VALID
Oracle Database Packages and Types
11.1.0.7.0 VALID
JServer JAVA Virtual Machine
11.1.0.7.0 VALID
Oracle XDK
11.1.0.7.0 VALID
Oracle Database Java Packages
11.1.0.7.0 VALID
OLAP Analytic Workspace
11.1.0.7.0 VALID
Oracle OLAP API
11.1.0.7.0 VALID
19 rows selected.
SQL>exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@telde ~]$ lsnrctl start
Putty
(Upgrade EM)

[oracle@telde ~]$ emca -upgrade db
STARTED EMCA at Oct 6, 2009 8:49:41 AM
EM Configuration Assistant, Version 11.1.0.7.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
ORACLE_HOME for the database to be upgraded: /u01/app/oracle/product/11.1.0/db_1
Database SID: orcl
Listener port number: 1521
Password for SYS user:
Password for SYS user:
Do you wish to continue? [yes(Y)/no(N)]:
Do you wish to continue? [yes(Y)/no(N)]: y
Oct 6, 2009 8:50:02 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/oracle/cfgtoollogs/emca/orcl/emca_2009_10_06_08_49_41.log.
Oct 6, 2009 8:50:03 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Oct 6, 2009 8:50:08 AM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
INFO: Uploading configuration data to EM repository (this may take a while) ...
Oct 6, 2009 8:52:16 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
Oct 6, 2009 8:52:34 AM oracle.sysman.emcp.util.DBControlUtil configureSoftwareLib
INFO: Software library is already configured.
Oct 6, 2009 8:52:34 AM oracle.sysman.emcp.util.DBControlUtil configureSoftwareLib
INFO: EM_SWLIB_STAGE_LOC (value) will be ignored.
Oct 6, 2009 8:52:34 AM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
INFO: Deploying Provisioning archives ...
Oct 6, 2009 8:52:43 AM oracle.sysman.emcp.EMDBPostConfig configureSoftwareLibrary
INFO: Provisioning archives deployed successfully.
Oct 6, 2009 8:52:43 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Securing Database Control (this may take a while) ...
Oct 6, 2009 8:52:58 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
INFO: Database Control secured successfully.
Oct 6, 2009 8:52:58 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Oct 6, 2009 8:54:07 AM oracle.sysman.emcp.EMDBPostConfig performUpgrade
INFO: Database Control started successfully
Oct 6, 2009 8:54:21 AM oracle.sysman.emcp.EMDBPostConfig performUpgrade
INFO: >>>>>>>>>>> The Database Control URL is https://telde.local:1158/em <<<<<<<<<<<
Oct 6, 2009 8:54:21 AM oracle.sysman.emcp.EMDBPostConfig invoke
WARNING:
************************ WARNING ************************
Management Repository has been placed in secure mode wherein Enterprise Manager data will be encrypted. The encryption key has been placed in the file: /u01/app/oracle/product/11.1.0/db_1/telde.local_orcl/sysman/config/emkey.ora. Please ensure this file is backed up as the encrypted data will become unusable if this file is lost.
***********************************************************
Enterprise Manager configuration completed successfully
FINISHED EMCA at Oct 6, 2009 8:54:21 AM
[oracle@telde ~]$
   

Fertig

Nun haben wir die Voraussetzungen für die Erstellung der Metadata Repositories mittels Repository Creation Utility für die Oracle SOA 11g und WebCenter Komponenten geschaffen.

2009-10-17

OOW09: ADF Application Show Case

Im Weblog von Shay Shmeltzer gibt es ein paar Fotos von ADF Applikationen zu sehen, die im Rahmen des Oracle ADF Enterprise Methodology group - Treffen auf der OOW09 vorgestellt worden sind.

OOW09: Bilder von Fusion Applications

Vorhin bei durchlesen meines RSS-News-Streams fand ich folgenden Link, der Screen Shots von Oracle Fusion Applications von der Open World 2009 zeigt. In einem aktuellen Projekt verwenden wir den gleichen Technologie Stack - Oracle ADF und was soll ich sagen unsere Screen Shots sehen ein wenig aus wie Fusion Applications :).

2009-10-15

TELDE – Installation Oracle JDeveloper (Teil 19)

Anforderung

Auf dem TELDE – Server wird das gleiche Build – Environment mit den entsprechenden Bibliotheken und Tools benötigt wie auf den einzelnen Entwicklungsrechner. Dies vereinfacht die Verwendung von Scripten und Umgebungen. Insbesondere wenn die gleiche Verzeichnisstrukturen verwendet werden. Zu dem kann TELDE auch als Entwicklungsrechner verwendet werden.1

Lösung

  1. Installation Oracle JDeveloper

Komponenten

  Bereich Komponente
  TELDE OES, WebLogic Server
  Oracle JDeveloper Download

Umsetzung

Bereich Gegenstand
Xming Action: Xming starten
   
Putty Action: Start Putty
  Action: Open Save Session telde.local als oracle
   
Install JDeveloper

login as: oracle
oracle@192.168.234.140's password:
Last login: Mon Aug  3 21:47:45 2009 from 192.168.234.1

[oracle@telde ~]$ cd /u01/product/oracle/middleware/11.1.1/jdev/software/
[oracle@telde software]$ chmod +x jdevstudio11111install.bin
[oracle@telde software]$ ./jdevstudio11111install.bin
Extracting 0%....................................................................................................100%

  2 
Choose: Next
  3

Select: Use an existing Middleware Home

Choose: Next

  4
  Choose: Next
  5
  Choose: Next
  6
  Choose: Next
  7
  Choose: Next
8
  Deselect: Run Quickstart
  Choose: Done
   
JDeveloper Linux Configuration

[oracle@telde ~]$ . ./setFusionDomainEnv.sh

Aktuelle Oracle Umgebung:
WLS Domain: fusion_domain
[oracle@telde fusion_domain]$ cd $MV_HOME/jdk160_11/                            [oracle@telde jdk160_11]$ mv jre/lib/im
im/     images/
[oracle@telde jdk160_11]$ mv jre/lib/images/cursors jre/lib/images/jre_cursors
mv: cannot stat `jre/lib/images/cursors': No such file or directory
[oracle@telde jdk160_11]$ tar xvpf $MV_HOME/jdeveloper/jdev/bin/clear_cursors.tar
jre/
jre/lib/
jre/lib/images/
jre/lib/images/cursors/
jre/lib/images/cursors/clear_CopyDrop32x32.gif
jre/lib/images/cursors/clear_CopyNoDrop32x32.gif
jre/lib/images/cursors/clear_invalid32x32.gif
jre/lib/images/cursors/clear_LinkDrop32x32.gif
jre/lib/images/cursors/clear_LinkNoDrop32x32.gif
jre/lib/images/cursors/clear_MoveDrop32x32.gif
jre/lib/images/cursors/clear_MoveNoDrop32x32.gif
jre/lib/images/cursors/cursors.properties

Starting JDeveloper  

[oracle@telde jdk160_11]$ $MV_HOME/jdeveloper/jdev/bin/jdev

Oracle JDeveloper 11g 11.1.1.1.0
Copyright (c) 1997, 2009, Oracle and/or its affiliates.All rights reserved.

  9
  Deselect: Always prompt for role selection on startup
Choose: Ok

[Nach dem erfolgreichen Start kann der JDeveloper wieder beendet werden]
   
GNOME Laucher konfigurieren 10
  Action: Login als Benutzer oracle in der GNOME Oberfläche
  11
  Action: Rechte Maus-Taste / Create Laucher…
  12
  Input Name: JDev 11.1.1.1.0
  Choose Command: Browse
  13
  Select File: /u01/app/oracle/product/11.1.1/middleware/jdeveloper/jdev/bin/jdev
  Choose: Open
  Choose: No Icon
  14
  Input Location:  /u01/app/oracle/product/11.1.1/middleware/jdeveloper/jdev/bin/jdev
  15
  Select: coffee.png
  Choose: Ok
  Choose: Ok
   
Test Action: Doppel Click auf das Symbol JDev 11.1.1.1.0
   

 

Anmerkung

Keine…

2009-10-12

svn: Kann temporäres Verzeichnis nicht finden

Am Wochenende sind zwei meiner Nightly Builds mit einem Fehler abgebrochen, die mich ein wenig sprachlos gemacht haben.

Fehlfunktion

A timer trigger started this job

Updating svn://devbrain.team-pb.de/<costumer>/<customer>-<prjcode>

ERROR: Failed to update svn://devbrain.team-pb.de/<costumer>/<customer>-<prjcode>

org.tmatesoft.svn.core.SVNException: svn: Kann temporäres Verzeichnis nicht finden

at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)

Kontext / Fakten

  1. Hudson CI Server
  2. Subversion
  3. Keine Änderungen an Konfigurationen (build-Scripte) oder Netzwerk

Ursache

Die Erfahrung sagt wenn es keine Änderungen am Netzwerk gab, keine Konfiguration an Scripten / Programmcode, dann ist es ein Datenproblem.

In diesem Fall war die Platte des SVN Server mit 100% belegt. Also nicht der SVN Client hat den Fehler ausgelöst sondern der SVN Server.

Lösung

Festplatte des SVN Server aufräumen und vielleicht endlich mal Nagios einrichten. TELDE Artikel 523 :).

2009-10-06

TELDE – Service Overview

Wappen von TeldeNach 18 Artikel zu TELDE (TEam Linux Development Env) ist es an der Zeit einmal eine Übersicht der bisher installierten Services und Komponenten mit URL und Accounts aufzulisten.

 

 

 

 

 

 

 

Komponenten

  Bereich URL Account Anmerkung
  Linux ssh://telde.local:22 root / welcome1 Linux Superuser
      oracle / welcome1 Oracle Software Installation User
      jive  /welcome1 XMPP Service User
      telde /welcome1 Linux User
         
  LDAP ldap://ldap.telde.local:389 cn=Manager,dc=telde, dc=local / welcome1 LDAP Superuser
      uid=hsimpsons,ou=people, dc=telde,dc=local / welcome1 LDAP Developer Account
      uid=bsimpsons,ou=people, dc=telde,dc=local / welcome1 LDAP Developer Account
      uid=admin,ou=people, dc=telde,dc=local / welcome1 TELDE Administrator Account
         
  HTTP http://www.telde.local    
         
  phpLDAPAdmin http://www.telde.local/phpldapadmin cn=Manager,dc=telde, dc=local / welcome1 Web LDAP Administration Console
  SVN http://www.telde.local/svn Gültiger LDAP Account aus dem Verzeichnis SVN Repository
    http://www.telde.local/websvn Gültiger LDAP Account aus dem Verzeichnis SVN Web Client
         
  Oracle Database 11gR1 orcl.telde.local
jdbc://@database.telde.local
:1521:orcl
system / welcome1
sys / welcome1
 
    http://database.telde.local:1159/em system / welcome1 Oracle Database Enterprise Manager Console
         
  Fusion Middleware – fusion_domain http://www.telde.local:7001/
http://www.telde.local/em
weblogic / welcome1 Fusion Middleware Control
    http://www.telde.local/console   WebLogic Server Console
         
  XMPP Server http://xmpp.telde.local:9090 admin / welcome1
 
Chat Server
    jive@datasbase.telde.local:1521:orcl jive / welcome1 Database Schema for XMPP Server
      Gültiger LDAP Account aus dem Verzeichnis  
    http://www.telde.local/sparkweb/SparkWeb.html Gültiger LDAP Account aus dem Verzeichnis Chat Web Client
         
  Oracle Team Productivity Center http://www.telde.local:7001/otpc tpcadmin /
welcome1
 
    ora_alm@database.telde.local:1521:orcl ora_alm / welcome1 Database Schema for OTPC
         
  Oracle APEX http://www.telde.local:8090/apex/apex_admin admin /
welcom1
Hinzugefügt 
2009-11-27
    http://www.telde.local:8090/apex Workspace: telde
admin /
welcome1
 

2009-10-05

Productivity Tip 2: Launchy

1Wie hieß noch mal die Programmgruppe in dem der OWB Repository Assistent versteckt ist ?

Vor einiger Zeit habe ich das Buch The Productive Programmer gelesen und ganz vergessen, dass dort  der Hinweis auf eine einfache Unterstützung in der täglichen Arbeit beschrieben steht.

Das Starten und öffnen von Programmen oder Dokumenten anhand ihres Namens bzw. die ersten Anfangsbuchstaben.

Unter Microsoft Vista nennt man das Schnellstart-Funktion. Für Windows (XP) und Linux gibt es eine Open Source Tool: Lauchny – Open Source Keystroke Launcher.

 

Downloaden und installieren und nach einer Woche möchte man dieses Tool nicht mehr missen. Windows System ohne dieses Tool sind auf einmal so schwierig zu bedienen. ;)

 

Wie hieß noch mal die Programmgruppe in dem der OWB Repository Assistent versteckt ist ?

 

2

 

3

TELDE – Installation Oracle Team Productivity Center (Teil 18)

Anforderung

Um die Arbeit der einzelnen Entwickler zu vereinfachen, soll die Arbeitsliste des jeweiligen Entwicklers innerhalb der Entwicklungsumgebung Oracle JDeveloper verfügbar sein. Desweiteren sollen Informationen über die Teams, Aufgaben und Kommunikationswege abrufbar sein.

Lösung

  1. Installation Oracle Team Productivity Center

Komponenten

  Bereich Komponente
  TELDE OES, Database, WebLogic Server, fusion_domain
  Oracle Team Productifity Center Fusion Middleware Installation Guide for Oracle Team Productivity Center Server

Umsetzung

Bereich Gegenstand
Xming Action: Xming starten
   
Putty Action: Start Putty
  Action: Open Save Session telde.local als oracle
   
Database Schema

login as: oracle
oracle@192.168.234.140's password:
Last login: Mon Aug  3 21:47:45 2009 from 192.168.234.1

[oracle@telde ~]$ . ./setDb1Env.sh
Aktuelle Oracle Umgebung:
Oracle-Home: /u01/app/oracle/product/11.1.0/db_1
Oracle-SID:  orcl
[oracle@telde ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.1.0.6.0 - Production on Mon Sep 14 11:40:52 2009
Copyright (c) 1982, 2007, Oracle.  All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> drop user ora_alm cascade;
User dropped.
SQL> create user ora_alm identified by ora_alm;
User created.
SQL> grant connect to ora_alm;
Grant succeeded.
SQL> grant resource to ora_alm;
Grant succeeded.
SQL> connect ora_alm/ora_alm@orcl
Connected.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@telde ~]

   
Set Java Env

login as: oracle
oracle@192.168.234.140's password:
Last login: Mon Aug  3 21:47:45 2009 from 192.168.234.1
[oracle@telde ~]$ . ./setFusionDomainEnv.sh

Aktuelle Oracle Umgebung:
WLS Domain: fusion_domain
[oracle@telde fusion_domain]$ java -version
java version "1.6.0_11"
Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode)

   
Install
TPC

[oracle@telde ~]# java –jar tpcinstaller.jar

  2_1
  Choose: Next
   
  2_2
  Select : Server
  Choose: Next
   
  2_§
Input Username: tpcadmin
  Input Password: welcome1
  Input Confirm Password: welcome1
  Choose: Next
   
  2_4
  Input Location:
/u01/app/oracle/product/11.1.1/middleware/user_projects/domains/fusion_domain/autodeploy
  Choose: Next
   
 

2_5

  Input JDBC: jdbc:oracle:thin:@database.telde.local:1521:orcl
  Input Username: ora_alm
  Input Password: welcome1
Choose: Next
   
  2_6
 

Choose: Finish

   
  2_7
  2_8
  Choose: Close
   
Test http://www.telde.local:7001/otpc
  2_9

 

Anmerkung

Als nächstes müssen wir den Oracle JDeveloper installieren und Oracle Team Productivity Center konfigurieren.

Oracle Database – dbstart: listener.log - Message 1070 not found

Fehlfunktion

Nach Neustart des Datenbank Servers unter der Verwendung von $ORACLE_HOME/bin/dbstart  ist die Datenbank gestartet, aber der Listener nicht.

Kontext / Fakten

  1. Linux
  2. Verwendung von $ORACLE_HOME/bin/dbstart
  3. Es ist kann keine Verbindung über den Listener aufgebaut werden
  4. Fehlermeldungen in $ORACLE_HOME/listener.log

Message 1070 not found; No message file for product=network, facility=TNSTNS-125
45: Message 12545 not found; No message file for product=network, facility=TNS
TNS-12560: Message 12560 not found; No message file for product=network, facili
ty=TNS
  TNS-00515: Message 515 not found; No message file for product=network, facilit
y=TNS
   Linux Error: 2: No such file or directory

Ursache

Das dbstart - Script hat nicht die richtige Umgebung bzw. das entsprechende ORACLE_HOME für den Start des Listener wird nicht gesetzt.

D.h. die Verwendung des dbstart Scriptes ohne vorherige setzen der Umgebungsvariable ORACLE_HOME ist nicht erfolgreich und erzeugt diesen Fehler. Es ist nicht ausreichend $ORACLE_HOME als Parameter dem Script $ORACLE_HOME/bin/dbstart mitzugeben.

Lösung

Das “oracle” – Script unter /etc/init.d muß so angepasst werden, dass die gesetzte Umgebung beim Aufruf des Start-Scriptes mit su erhalten bleibt.

#!/bin/bash
#
# oracle Init file for starting and stopping
# Oracle Database. Script is valid for 10g and 11g versions.
#
# chkconfig: 35 80 30
# description: Oracle Database startup script

# Source function library.

. /etc/rc.d/init.d/functions

export ORACLE_OWNER="oracle"
export ORACLE_HOME="/u01/app/oracle/product/11.1.0/db_1"

case "$1" in
start)
echo -n $"Starting Oracle DB:"
su -m $ORACLE_OWNER -c "$ORACLE_HOME/bin/dbstart $ORACLE_HOME"
echo "OK"
;;
stop)
echo -n $"Stopping Oracle DB:"
su -m $ORACLE_OWNER -c "$ORACLE_HOME/bin/dbshut $ORACLE_HOME"
echo "OK"
;;
*)
echo $"Usage: $0 {start|stop}"
esac

Anmerkung

Dies ist der Grund warum innerhalb der TELDE Umgebung der XMPP Service nach dem Neustart des Servers nicht erreichbar ist. Ohne den Listener kann der Service keinen Connect zur Datenbank aufbauen.