Ronny Trommer | 3 Mar 2009 00:42

[opennms-devel] Problem in opennms-webapp interface detail page

Hi at all,

i would like do an upgrade from 1.6.1 to 1.6.2. I checked out from

   https://opennms.svn.sourceforge.net/svnroot/opennms/opennms/tags/opennms-1.6.2

Compiling source was fine. After taking a look to a interface-page i  
get the following error:

<!--snip -->

   org.apache.jasper.JasperException: PWC6033: Unable to compile class  
for JSP

PWC6197: An error occurred at line: 166 in the jsp file: /element/ 
interface.jsp
PWC6199: Generated servlet error:
Incompatible conditional operand types String and int

	at  
org 
.apache 
.jasper 
.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:107)
	at  
org 
.apache 
.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:280)
	at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:350)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:411)
(Continue reading)

ayresw | 7 Mar 2009 18:51
Picon

[opennms-devel] trunk install problem on mac

Recently I downloaded trunk source and built it on mac os 10.5.6 with no
problem, but the installer can't find libjicmp.jnilib. Thinking I might
be having a problem with an old version of jicmp I ran fink install
jicmp and got a fresh copy of 1.0.8-1.

ls -l /sw/lib/libjicmp.jnilib
-rwxr-xr-x  1 root  admin  17936 Mar  6 21:02 /sw/lib/libjicmp.jnilib

mac-2:bin ayres$ ./install -dis -l /sw/lib

======================================================================
OpenNMS Installer Version $Id: Installer.java 12471 2009-03-03 13:42:57Z
rangerrick $ 
======================================================================

Configures PostgreSQL tables, users, and other miscellaneous settings.

- searching for jicmp:
  - trying to load /sw/lib/libjicmp.jnilib: NO
  - trying to load /usr/local/lib/libjicmp.jnilib: NO
  - trying to load /libjicmp.jnilib: NO
  - trying to load /opt/opennms/trunk/dist/lib/libjicmp.jnilib: NO
  - trying to load ./libjicmp.jnilib: NO
  - trying to load /Library/Java/Extensions/libjicmp.jnilib: NO
  - trying to load /System/Library/Java/Extensions/libjicmp.jnilib: NO
  - trying to load /usr/lib/java/libjicmp.jnilib: NO
  - trying to load /usr/lib/jni/libjicmp.jnilib: NO
  - trying to load /usr/lib/libjicmp.jnilib: NO
  - trying to load /usr/local/lib/libjicmp.jnilib: NO
  - trying to load /opt/NMSjicmp/lib/32/libjicmp.jnilib: NO
(Continue reading)

Jeff Gehlbach | 9 Mar 2009 14:57
Favicon

Re: [opennms-devel] Problem in opennms-webapp interface detail page

On Mar 2, 2009, at 6:42 PM, Ronny Trommer wrote:

> I take a look to element/interface.jsp line 166 which shows the  
> following:
>
>   <input type="hidden" name="ifindex" value="<%=(ifIndex != -1 ?  
> "" : ifIndex)%>"/>
>
> I played a little bit and changed the empty string in the condition  
> to 0 (int zero) and voila it the page is diplayed correctly.
>
> Is there a workaround to fix this behavior?

I think you've identified the workaround :)  This is a bug.  Have you  
created a bug report for it in http://bugzilla.opennms.org/ ?

-jeff

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

(Continue reading)

Jeff Gehlbach | 9 Mar 2009 15:00
Favicon

Re: [opennms-devel] trunk install problem on mac

On Mar 7, 2009, at 12:51 PM, ayresw wrote:

> ls -l /sw/lib/libjicmp.jnilib
> -rwxr-xr-x  1 root  admin  17936 Mar  6 21:02 /sw/lib/libjicmp.jnilib

What does "file" report about that library?

-jeff

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

ayresw | 9 Mar 2009 15:20
Picon

Re: [opennms-devel] trunk install problem on mac

On Mon, 2009-03-09 at 10:00 -0400, Jeff Gehlbach wrote:
> On Mar 7, 2009, at 12:51 PM, ayresw wrote:
> 
> > ls -l /sw/lib/libjicmp.jnilib
> > -rwxr-xr-x  1 root  admin  17936 Mar  6 21:02 /sw/lib/libjicmp.jnilib
> 
> What does "file" report about that library?

Mach-O bundle i386

--Bill--

> 
> -jeff

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

(Continue reading)

Jeff Gehlbach | 9 Mar 2009 15:29
Favicon

Re: [opennms-devel] trunk install problem on mac

On Mar 9, 2009, at 10:20 AM, ayresw wrote:

>>> ls -l /sw/lib/libjicmp.jnilib
>>> -rwxr-xr-x  1 root  admin  17936 Mar  6 21:02 /sw/lib/ 
>>> libjicmp.jnilib
>>
>> What does "file" report about that library?
>
> Mach-O bundle i386

Can the linker resolve all the library's dependencies?

fruitbat:~ jeffg$ otool -L /sw/lib/libjicmp.jnilib
/sw/lib/libjicmp.jnilib:
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current  
version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current  
version 111.1.3)

-jeff

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ
(Continue reading)

ayresw | 9 Mar 2009 15:43
Picon

Re: [opennms-devel] trunk install problem on mac

On Mon, 2009-03-09 at 10:29 -0400, Jeff Gehlbach wrote:
> On Mar 9, 2009, at 10:20 AM, ayresw wrote:
> 
> >>> ls -l /sw/lib/libjicmp.jnilib
> >>> -rwxr-xr-x  1 root  admin  17936 Mar  6 21:02 /sw/lib/ 
> >>> libjicmp.jnilib
> >>
> >> What does "file" report about that library?
> >
> > Mach-O bundle i386
> 
> Can the linker resolve all the library's dependencies?
> 
> fruitbat:~ jeffg$ otool -L /sw/lib/libjicmp.jnilib
> /sw/lib/libjicmp.jnilib:
> 	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current  
> version 1.0.0)
> 	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current  
> version 111.1.3)

mac-2:lib ayres$ otool -L /sw/lib/libjicmp.jnilib
/sw/lib/libjicmp.jnilib:
        /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
version 1.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 111.1.3)

Looks the same as yours.

--Bill--
(Continue reading)

bill ayres | 9 Mar 2009 19:47
Picon

Re: [opennms-devel] trunk install problem on mac

This was a java version issue. I had changed JAVA_HOME in an attempt
to solve a build problem on an earlier revision of trunk, which it
appeared to do. Changing it back solved the jicmp library problem, and
today's checkout of trunk is building OK too. Sorry for the noise.

--Bill--

On Mon, Mar 9, 2009 at 7:29 AM, Jeff Gehlbach <jeffg <at> opennms.org> wrote:
> On Mar 9, 2009, at 10:20 AM, ayresw wrote:
>
>>>> ls -l /sw/lib/libjicmp.jnilib
>>>> -rwxr-xr-x  1 root  admin  17936 Mar  6 21:02 /sw/lib/
>>>> libjicmp.jnilib
>>>
>>> What does "file" report about that library?
>>
>> Mach-O bundle i386
>
> Can the linker resolve all the library's dependencies?
>
> fruitbat:~ jeffg$ otool -L /sw/lib/libjicmp.jnilib
> /sw/lib/libjicmp.jnilib:
>        /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
> version 1.0.0)
>        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
> version 111.1.3)
>
> -jeff
>
> ------------------------------------------------------------------------------
(Continue reading)

Tarus Balog | 10 Mar 2009 00:21
Favicon

Re: [opennms-devel] trunk install problem on mac


On Mar 9, 2009, at 2:47 PM, bill ayres wrote:

> Sorry for the noise.

No problem - happy to help since it gets us closer to Obama.

(grin)

-T

_______________________________________________________________________
Tarus Balog, OpenNMS Maintainer             Main:   +1 919 533 0160
The OpenNMS Group, Inc.                     Fax:    +1 919 533 4342
Email: tarus <at> opennms.org                    URL: http://www.opennms.org
PGP Key Fingerprint: 8945 8521 9771 FEC9 5481  512B FECA 11D2 FD82 B45C

------------------------------------------------------------------------------
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Massimiliano Dessì | 12 Mar 2009 17:05
Picon

Re: [opennms-devel] opennms-devel Digest, Vol 35, Issue 1

Hi Antonio, check your mail.

Regards
Max

Message: 5
Date: Fri, 27 Feb 2009 16:11:40 +0100
From: Antonio Russo <rssntn67 <at> yahoo.it>
Subject: Re: [opennms-devel] OpenNms Portlets
To: OpenNMS Code Development and Bugs
       <opennms-devel <at> lists.sourceforge.net>
Message-ID: <8FDAF13B-5A13-4A03-A390-6258A415EE51 <at> yahoo.it>
Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed

It is interesting.

But you need to send more details.

We need ACL's.

You can contact me off lines if you want.

You seem italian.

I'm italian too.

Regards

Antonio

Il giorno 27/feb/09, alle ore 15:23, Massimiliano Dess? ha scritto:

> Hi all,
>
> I've developed a Portlet that shows OpenNMS GWT dashboard,
> and an ACL portlet that assign nodes to a role, and roles to er in
> order to restrict the nodes view on
> the Dashboard according to user roles.
> I'd like to have some feedback for this portlets, and if OpenNMS is
> interested in including this
> work in the project.
>
> Thank you all
> Massimiliano

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Gmane