DJ Gregor | 2 Aug 2004 07:06
Picon

[opennms-cvs] CVS: opennms/src/install/org/opennms/install Installer.java,1.6,1.6.2.1

Update of /cvsroot/opennms/opennms/src/install/org/opennms/install
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31669

Modified Files:
      Tag: personal-dj-branch
	Installer.java 
Log Message:
Fix for two problems in bug #890:
1. There was an error when catching an exception in changeTable if the
   new table hadn't been created, which was happening due to #2.  This
   would cause another exception to be thrown and the old table wasn't
   moved back.  Now, we catch and ignore SQLExceptions when trying to call
   "DROP TABLE ..." in the Exception handling code, in case the table
   we are trying to drop wasn't created.
2. Since the code in changeTable moved the table, the named indexes on that
   table, e.g. pk_dpname, were still left around, and creating the new
   table would fail because it would try to add indexes with the same name. 
   When this happened, it threw an exception which triggered #1 when the
   exception handling code tried to drop the table which hadn't been
   created.  The fix to the index problem, we now copy the data to a
   temporary table, drop the original table, and recreate it.

Index: Installer.java
===================================================================
RCS file: /cvsroot/opennms/opennms/src/install/org/opennms/install/Installer.java,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -u -r1.6 -r1.6.2.1
--- Installer.java	26 Jul 2004 18:58:53 -0000	1.6
+++ Installer.java	2 Aug 2004 05:06:53 -0000	1.6.2.1
(Continue reading)

DJ Gregor | 2 Aug 2004 07:34
Picon

[opennms-cvs] CVS: opennms/src/install/org/opennms/install Installer.java,1.6.2.1,1.6.2.2

Update of /cvsroot/opennms/opennms/src/install/org/opennms/install
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1872

Modified Files:
      Tag: personal-dj-branch
	Installer.java 
Log Message:
changeTable():
	- Use tableExists to intelligently determine if we should drop
	  a table instead of wrapping the DROP TABLE command in a try/catch
	  statement.
	- If we catch an exception and have to restore the old table, warn
	  the user that indexes and constraints were not re-added.  This
	  will cause a problem on most tables that have NOT NULL when you
	  go to re-run the installer again.  changeTable checks every column
	  in the new table schema to see if it has a NOT NULL constraint
	  and it will throw an exception an the old column did not have a
	  NOT NULL constraint and the installer doesn't have a null
	  replacement for that column (i.e.: if it doesn't call
	  columnChange.setNullReplace(Object)).  If users get here, they
	  are in trouble anyway, and will need additional help.

Index: Installer.java
===================================================================
RCS file: /cvsroot/opennms/opennms/src/install/org/opennms/install/Installer.java,v
retrieving revision 1.6.2.1
retrieving revision 1.6.2.2
diff -u -r1.6.2.1 -r1.6.2.2
--- Installer.java	2 Aug 2004 05:06:53 -0000	1.6.2.1
+++ Installer.java	2 Aug 2004 05:34:14 -0000	1.6.2.2
(Continue reading)

Tarus Balog | 2 Aug 2004 19:44
Picon

[opennms-cvs] CVS: opennms build.xml,1.38,1.39

Update of /cvsroot/opennms/opennms
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21882

Modified Files:
	build.xml 
Log Message:
Updates for 1.1.3-2

Index: build.xml
===================================================================
RCS file: /cvsroot/opennms/opennms/build.xml,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- build.xml	30 Jul 2004 15:02:38 -0000	1.38
+++ build.xml	2 Aug 2004 17:44:25 -0000	1.39
 <at>  <at>  -22,7 +22,7  <at>  <at> 
   <property file="build.properties"/>

   <!-- versioning options -->
-  <property name="product.version" value="1.1.4"/>
+  <property name="product.version" value="1.1.3"/>
   <property name="product.release" value="0"/>
   <property name="product.snapshot" value="true"/>
   <property name="product.fullversion"
 <at>  <at>  -36,7 +36,7  <at>  <at> 
   <property name="build.docs.dir" value="${build.dir}/docs"/>
   <property name="build.rpm.dir" value="${build.dir}/rpm"/>
   <property name="build.filter.docs.dir" value="${build.dir}/docs.filter"/>
-  <property name="build.api.dir" value="${build.dir}/javadoc"/>
(Continue reading)

Tarus Balog | 2 Aug 2004 19:44
Picon

[opennms-cvs] CVS: opennms/src/install/org/opennms/install Installer.java,1.6,1.7

Update of /cvsroot/opennms/opennms/src/install/org/opennms/install
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21882/src/install/org/opennms/install

Modified Files:
	Installer.java 
Log Message:
Updates for 1.1.3-2

Index: Installer.java
===================================================================
RCS file: /cvsroot/opennms/opennms/src/install/org/opennms/install/Installer.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- Installer.java	26 Jul 2004 18:58:53 -0000	1.6
+++ Installer.java	2 Aug 2004 17:44:26 -0000	1.7
 <at>  <at>  -1641,15 +1641,22  <at>  <at> 
 	return s.toString();
     }

-    public List getTableColumnsFromDB(String table) throws Exception {
+    public boolean tableExists(String table) throws SQLException {
 	Statement st = m_dbconnection.createStatement();
 	ResultSet rs;
-	LinkedList r = new LinkedList();

 	rs = st.executeQuery("SELECT DISTINCT tablename FROM pg_tables " +
 			     "WHERE lower(tablename) = '" +
 			     table.toLowerCase() + "'");
-	if (!rs.next()) {
(Continue reading)

Tarus Balog | 3 Aug 2004 23:27
Picon

[opennms-cvs] CVS: opennms/tools/packages/solaris simple-solaris-howto.txt,1.4,1.5

Update of /cvsroot/opennms/opennms/tools/packages/solaris
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16433/tools/packages/solaris

Modified Files:
	simple-solaris-howto.txt 
Log Message:
Updated some files to support Solaris under the new build system.

Index: simple-solaris-howto.txt
===================================================================
RCS file: /cvsroot/opennms/opennms/tools/packages/solaris/simple-solaris-howto.txt,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- simple-solaris-howto.txt	1 Dec 2003 20:15:31 -0000	1.4
+++ simple-solaris-howto.txt	3 Aug 2004 21:27:10 -0000	1.5
 <at>  <at>  -2,55 +2,56  <at>  <at> 

 1. install everything into a destroot somewhere
    (for example, with postgresql, I did "make install DESTDIR=/tmp/pgsql")
+   
+   I use the command:
+
+   ./build.sh -Dproduct.release=2 -Dproduct.snapshot=false -Dinstall.prefix=/tmp/opennms/
-Dinstall.dir=/usr/local/opennms -Dbuild.rrdtool.include.dir=/usr/local/rrdtool/include/
-Dbuild.postgresql.include.dir=/usr/local/pgsql/include/server
-Dbuild.rrdtool.lib.dir=/usr/local/rrdtool/lib/
-Dbuild.rrdtool.bin=/usr/local/rrdtool/bin/rrdtool install

 2. go into your directory and walk down to /usr/local (install things in
(Continue reading)

Tarus Balog | 3 Aug 2004 23:27
Picon

[opennms-cvs] CVS: opennms CHANGELOG,1.98,1.99

Update of /cvsroot/opennms/opennms
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16433

Modified Files:
	CHANGELOG 
Log Message:
Updated some files to support Solaris under the new build system.

Index: CHANGELOG
===================================================================
RCS file: /cvsroot/opennms/opennms/CHANGELOG,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -r1.98 -r1.99
--- CHANGELOG	30 Jul 2004 15:02:38 -0000	1.98
+++ CHANGELOG	3 Aug 2004 21:27:09 -0000	1.99
 <at>  <at>  -1,9 +1,10  <at>  <at> 
 1.1.3 to 1.1.4
 ----------------------------------------------------------------------
-- Fixed mistake with "ports" in HttpPlugin. Bug 889.
+

 1.1.2 to 1.1.3
 ----------------------------------------------------------------------
+- Fixed mistake with "ports" in HttpPlugin. Bug 889.
 - Fixed issue with custom notification rules being erased. Bug 754
 - Fixed Asset Import issues. Thx Jonathan. Bug 700
 - Added support for centos3 (RHES 3) for rpm builds. Bug 801

-------------------------------------------------------
(Continue reading)

Tarus Balog | 3 Aug 2004 23:27
Picon

[opennms-cvs] CVS: opennms/docs/install chapter3.xml,1.2,1.3

Update of /cvsroot/opennms/opennms/docs/install
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16433/docs/install

Modified Files:
	chapter3.xml 
Log Message:
Updated some files to support Solaris under the new build system.

Index: chapter3.xml
===================================================================
RCS file: /cvsroot/opennms/opennms/docs/install/chapter3.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- chapter3.xml	26 Jul 2004 18:16:44 -0000	1.2
+++ chapter3.xml	3 Aug 2004 21:27:10 -0000	1.3
 <at>  <at>  -80,7 +80,7  <at>  <at> 
       <para>Then, install OpenNMS:</para>

       <para><computeroutput>[root <at> host /root]# apt-get install
-      opennms</computeroutput> </para>
+      opennms</computeroutput></para>

       <para>Optionally install the documentation and/or contrib
       packages</para>
 <at>  <at>  -271,6 +271,94  <at>  <at> 
   </section>

   <section>
+    <title>Solaris</title>
(Continue reading)

Tarus Balog | 5 Aug 2004 22:00
Picon

[opennms-cvs] CVS: opennms build.xml,1.39,1.40

Update of /cvsroot/opennms/opennms
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11771

Modified Files:
	build.xml 
Log Message:
Removed SuSE 8 support from docs, and changed build.xml to 1.1.4

Index: build.xml
===================================================================
RCS file: /cvsroot/opennms/opennms/build.xml,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- build.xml	2 Aug 2004 17:44:25 -0000	1.39
+++ build.xml	5 Aug 2004 20:00:48 -0000	1.40
 <at>  <at>  -22,7 +22,7  <at>  <at> 
   <property file="build.properties"/>

   <!-- versioning options -->
-  <property name="product.version" value="1.1.3"/>
+  <property name="product.version" value="1.1.4"/>
   <property name="product.release" value="0"/>
   <property name="product.snapshot" value="true"/>
   <property name="product.fullversion"

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
(Continue reading)

Tarus Balog | 5 Aug 2004 22:00
Picon

[opennms-cvs] CVS: opennms/docs/install chapter3.xml,1.3,1.4

Update of /cvsroot/opennms/opennms/docs/install
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11771/docs/install

Modified Files:
	chapter3.xml 
Log Message:
Removed SuSE 8 support from docs, and changed build.xml to 1.1.4

Index: chapter3.xml
===================================================================
RCS file: /cvsroot/opennms/opennms/docs/install/chapter3.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- chapter3.xml	3 Aug 2004 21:27:10 -0000	1.3
+++ chapter3.xml	5 Aug 2004 20:00:50 -0000	1.4
 <at>  <at>  -364,14 +364,6  <at>  <at> 
     <para>OpenNMS is now supported on SuSE.</para>

     <section>
-      <title>SuSE Linux Enterprise Server 8</title>
-
-      <para>There are no special requirements for OpenNMS on this distribution
-      of Linux, except for those configuration issues mentioned in the
-      previous section.</para>
-    </section>
-
-    <section>
       <title>SuSE Linux Pro 9</title>

(Continue reading)

Tarus Balog | 5 Aug 2004 22:03
Picon

[opennms-cvs] CVS: opennms/etc snmp-graph.properties,1.14,1.15

Update of /cvsroot/opennms/opennms/etc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12354

Modified Files:
	snmp-graph.properties 
Log Message:
Added cpuRaw report. Thx Robert

Index: snmp-graph.properties
===================================================================
RCS file: /cvsroot/opennms/opennms/etc/snmp-graph.properties,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- snmp-graph.properties	13 Jul 2004 16:09:50 -0000	1.14
+++ snmp-graph.properties	5 Aug 2004 20:03:48 -0000	1.15
 <at>  <at>  -44,7 +44,7  <at>  <at> 
   apc.vac, apc.percent, apc.time, \
   ups.Freq, ups.Volt, ups.Amp, ups.Watt, \
   juniper.cpu, juniper.temp, juniper.bufferPoolUtil, \
-  hrMemory, hrNumUsers, hrSystemProcesses, hrSystemUptime
+  hrMemory, hrNumUsers, hrSystemProcesses, hrSystemUptime, cpuRaw

 # values available to prefab reports:
 # {rrd1}, {rrd2}, {rrd3}, ...  must match the datasources exactly
 <at>  <at>  -1261,6 +1261,24  <at>  <at> 
  GPRINT:days:MIN:"Min  \\: %8.1lf %s" \
  GPRINT:days:MAX:"Max  \\: %8.1lf %s\\n"

+report.cpuRaw.name=CPU Usage
(Continue reading)


Gmane