





Code: Select all
<role rolename="OpenNMS RTC Daemon"/>
<role rolename="OpenNMS Administrator"/>
<role rolename="OpenNMS User"/>
<user username="rtc" password="rtc" roles="OpenNMS RTC Daemon"/>
<user username="admin" password="admin" roles="OpenNMS Administrator,OpenNMS User"/>

Code: Select all
<Realm className="org.opennms.web.authenticate.OpenNMSTomcatRealm" homeDir="/opt/OpenNMS" />
Code: Select all
find ${D}/${INST_SHAREDIR} -type d | xargs chmod 750
Code: Select all
find ${D}/${INST_SHAREDIR} -type d -exec chmod 750 {} \;



Hi,ikkyu wrote:the updated http://portage.boxed.no/net-analyzer/opennms/
worked wonders for me going to 1.2.8 from 1.2.7 and using tomcat 5
Code: Select all
HTTP Status 404 - /opennms/
type Status report
message /opennms/
description The requested resource (/opennms/) is not available.
Apache Tomcat/5.0.27
solvedgiulianoz wrote:Hi,ikkyu wrote:the updated http://portage.boxed.no/net-analyzer/opennms/
worked wonders for me going to 1.2.8 from 1.2.7 and using tomcat 5
I use the opennms ebuild, but after starting pgsql, tomcat and opennms I get the following when I try to connecto to localhost:8080/opennms
I looked at the installation docs and the opennms.xml, server.xml and work directory are fine.Code: Select all
HTTP Status 404 - /opennms/ type Status report message /opennms/ description The requested resource (/opennms/) is not available. Apache Tomcat/5.0.27
do you have any idea on how to solve this ? tomcat test index.jsp page works fine
thanks
giuliano

hi,krejci_420 wrote:I have OpenNMS installed (thank you very much for the ebuild). My issue is that I can't log into the web interface. http://localhost:8181/opennms and it prompts for HTTP authentication. I tried
user: admin
pass: admin
I tried to do the same thing by putting "file:///opt/OpenNMS/webapps/opennms.xml" into the "XML Configuration file URL" box and "/opennms" in the "WAR or Directory URL" box.giulianoz wrote: solvedI deployed the file:/opt/tomcat5/webapps/opennms.xml using the tomcat management console
Code: Select all
FAIL - Encountered exception java.io.IOException: java.lang.ClassNotFoundException: org.opennms.web.log.Log4JLogger
Code: Select all
INFO: Removing web application at context path /opennms
INFO: Processing Context configuration file URL file:/etc/tomcat5/Catalina/localhost/opennms.xml
log4j:WARN No appenders could be found for logger (OpenNMS.WEB.AUTH).
log4j:ERROR Could not read configuration file [/opt/OpenNMS//etc/log4j.properties].
java.io.FileNotFoundException: /opt/OpenNMS/etc/log4j.properties (Permission denied)
at org.opennms.web.ServletInitializer.init(ServletInitializer.java:139)
at org.opennms.web.InitializerServletContextListener.contextInitialized(InitializerServletContextListener.java:75)
log4j:ERROR Ignoring configuration file [/opt/OpenNMS//etc/log4j.properties].
log4j:ERROR Could not read configuration file [/opt/OpenNMS//etc/log4j.properties].
java.io.FileNotFoundException: /opt/OpenNMS/etc/log4j.properties (Permission denied)
at org.opennms.web.ServletInitializer.init(ServletInitializer.java:139)
at org.opennms.web.InitializerServletContextListener.contextInitialized(InitializerServletContextListener.java:75)
log4j:ERROR Ignoring configuration file [/opt/OpenNMS//etc/log4j.properties].