Re: [oscg-general] Simple installation and User Manual? RE: Authentication problem with Tomcat Manager Application & a possible solution
From Önder Örnek Mar 28, 2011 8:57 PM
Hi Sean, below is a brief description for Linux (here: Centos 5.3): 1. Download Tomcat 7.0.8 + PostgreSQL 9.0.3 (here: openscg-linux32-pg903-jdk621-tc708.zip) from http://openscg.org/se/tomcat/ into a folder, i.e. ~/downloads. 2. Open a terminal window 3. cd ~/downloads 4. unzip openscg-linux32-pg903-jdk621-tc708.zip 5. cd openscg-linux32 6. ./ctl-servers.sh start This will start the PostgreSQL and Tomcat 7. Call http://localhost:8180 on your browser. If you see the Tomcat site the installation succeeded. After that you will be able to install the PSNext. But, as far as I saw on the site, the PSNext isn't downloadable. I would like to test this software, too. Can you send me a download link? The Sciforma offers hosting services for PSNext. Perhaps it is better to purchase a SaaS than wasting time with administration on own server. Kind regards, Önder On 28 Mar 2011, at 8:55 AM, SeanHay@TechnologyProjectManagement.co.za 0827417800 wrote: > Hi, > > I am not a programmer, I want to install PSNext (www.sciforma.com, project management software) it runs on PostgresSQL and Tomcat. > > Is there a user manual (Simple Install and Setup for PostgresSQL and Tomcat for Idiots manual) so that I can then install PSNext onto it. > > Best Regards > Sean Hay “MComm(PM); N.Dip.Man;PMP” > Technology Project Management Expert @ Fractional Project Management Pty Ltd (2008/027157/07) > Maximising Business Value through Technology Project Management, Doing the Right Projects, @ the Right Time, Right the First Time > PSNext | Systems, Networks | Fire | CCTV | Access Control | Building Management Systems | Data centres |Control Rooms | PABX | Parking | UPS…… > Cell: 082 741 7800; Phone: 031 - 764 1346; Fax: 0866 777 550; Email: seanhay@technologyprojectmanagement.co.za > Windows Live Messenger: seangaryhay@hotmail.com Skype: seangaryhay; Website:www.fractionalprojectmanagement.co.za > > <image001.jpg> > > From: oscg-general@openscg.org [mailto:oscg-general@openscg.org] On Behalf Of Lussier, Denis > Sent: 27 March 2011 12:48 AM > To: oscg-general@openscg.org > Cc: Önder Örnek > Subject: Re: [oscg-general] Authentication problem with Tomcat Manager Application & a possible solution > > Good catch. I need someone to do a tutorial for configuring Tomcat 7.0 with PostgreSQL. After this has been flushed out and verified, I will alter the packaging to do this by default. > > 2011/3/26 Önder Örnek <onder@ornek.de> > Hi, > > I loaded the Tomcat 7.0.8 + PostgreSQL 9.0.3 (16-Feb-11) for Mac32. > > Because of the authentication problems it was impossible to access the manager application. The catalina log showed the following error with JAASRealm authentication: > > ---------------------------------- > Mar 26, 2011 3:31:20 PM org.apache.catalina.realm.JAASRealm authenticate > SEVERE: Unexpected error > javax.security.auth.login.LoginException: No LoginModules configured for Catalina > at javax.security.auth.login.LoginContext.init(LoginContext.java:273) > at javax.security.auth.login.LoginContext.<init>(LoginContext.java:418) > at org.apache.catalina.realm.JAASRealm.authenticate(JAASRealm.java:394) > at org.apache.catalina.realm.JAASRealm.authenticate(JAASRealm.java:334) > at org.apache.catalina.authenticator.BasicAuthenticator.authenticate(BasicAuthenticator.java:157) > at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:554) > at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) > at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) > at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) > at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:383) > at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243) > at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188) > at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:166) > at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:288) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > at java.lang.Thread.run(Thread.java:636) > ---------------------------------- > > After some search in the web and documentation I figured out the failure. The follwing line in the conf/server.xml was missing: > > <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase"/> > > Please refer to Tomcat 7 documentation if you will use other authentication methods. > > It was a little bit challenging. I hope that OpenSCG change the settings and re-assemble the package. > > Kind regards, > Önder > > > >
<html><head><base href="x-msg://11/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Sean,<div><br></div><div>below is a brief description for Linux (here: Centos 5.3):</div><div><br></div><div>1. Download Tomcat 7.0.8 + PostgreSQL 9.0.3 (here: openscg-linux32-pg903-jdk621-tc708.zip) from <a href="http://openscg.org/se/tomcat/">http://openscg.org/se/tomcat/</a> into a folder, i.e. ~/downloads.</div><div>2. Open a terminal window</div><div>3. cd ~/downloads</div><div>4. unzip openscg-linux32-pg903-jdk621-tc708.zip</div><div>5. cd openscg-linux32</div><div>6. ./ctl-servers.sh start</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>This will start the PostgreSQL and Tomcat</div><div>7. Call <a href="http://localhost:8180">http://localhost:8180</a> on your browser. If you see the Tomcat site the installation succeeded.</div><div><br></div><div>After that you will be able to install the PSNext. But, as far as I saw on the site, the PSNext isn't downloadable. I would like to test this software, too. Can you send me a download link?</div><div><br></div><div>The Sciforma offers hosting services for PSNext. Perhaps it is better to purchase a SaaS than wasting time with administration on own server.</div><div><br></div><div>Kind regards,</div><div>Önder</div><div><br></div><div><br><div><div>On 28 Mar 2011, at 8:55 AM, <a href="mailto:SeanHay@TechnologyProjectManagement.co.za">SeanHay@TechnologyProjectManagement.co.za</a> 0827417800 wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Verdana; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div lang="EN-ZA" link="blue" vlink="purple"><div class="WordSection1" style="page: WordSection1; "><div style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(74, 68, 42); ">Hi,<o:p></o:p></span></div><div style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(74, 68, 42); "><o:p> </o:p></span></div><div style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(74, 68, 42); ">I am not a programmer, I want to install PSNext (<a href="http://www.sciforma.com" style="color: blue; text-decoration: underline; ">www.sciforma.com</a>, project management software) it runs on PostgresSQL and Tomcat.<o:p></o:p></span></div><div style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(74, 68, 42); "><o:p> </o:p></span></div><div style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(74, 68, 42); ">Is there a user manual (Simple Install and Setup for PostgresSQL and Tomcat for Idiots manual) so that I can then install PSNext onto it.<o:p></o:p></span></div><div style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(74, 68, 42); "><o:p> </o:p></span></div><table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="937" style="width: 702.75pt; margin-left: 5.4pt; border-collapse: collapse; "><tbody><tr style="height: 96.05pt; "><td width="759" valign="top" style="width: 569.6pt; padding-top: 0cm; padding-right: 5.4pt; padding-bottom: 0cm; padding-left: 5.4pt; height: 96.05pt; "><div style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; "><b><span lang="EN-US" style="font-size: 10pt; font-family: Constantia, serif; color: rgb(74, 68, 42); ">Best Regards<o:p></o:p></span></b></div><div style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; "><b><span lang="EN-US" style="font-size: 14pt; font-family: Constantia, serif; color: rgb(74, 68, 42); ">Sean Hay<span class="Apple-converted-space"> </span></span></b><b><i><span lang="EN-US" style="font-size: 6pt; font-family: Constantia, serif; color: rgb(68, 68, 68); ">“MComm(PM); N.Dip.Man;PMP” </span></i></b><b><i><span lang="EN-US" style="font-size: 8pt; font-family: Constantia, serif; color: rgb(68, 68, 68); "><o:p></o:p></span></i></b></div><div style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; "><b><i><span lang="EN-US" style="font-size: 9pt; font-family: Constantia, serif; color: rgb(74, 68, 42); ">Technology Project Management Expert @ Fractional Project Management Pty Ltd (2008/027157/07)<o:p></o:p></span></i></b></div><div style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; "><b><i><span lang="EN-US" style="font-size: 8pt; font-family: Constantia, serif; color: green; ">Maximising Business Value through Technology Project Management, Doing the Right Projects, @ the Right Time, Right the First Time<o:p></o:p></span></i></b></div><div style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; "><span style="font-size: 8pt; font-family: Constantia, serif; color: rgb(74, 68, 42); ">PSNext | Systems, Networks | Fire | CCTV | Access Control | Building Management Systems | Data centres |Control Rooms | PABX | Parking | UPS……<o:p></o:p></span></div><div style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; "><span style="font-size: 9pt; font-family: Constantia, serif; color: rgb(74, 68, 42); ">Cell:<span class="Apple-converted-space"> </span></span><span style="font-size: 9pt; font-family: Constantia, serif; color: green; ">082 741 7800;</span><span style="font-size: 9pt; font-family: Constantia, serif; color: rgb(0, 176, 80); "><span class="Apple-converted-space"> </span></span><span style="font-size: 9pt; font-family: Constantia, serif; color: rgb(74, 68, 42); ">Phone:<span class="Apple-converted-space"> </span></span><span style="font-size: 9pt; font-family: Constantia, serif; color: green; ">031 - 764 1346;</span><span style="font-size: 9pt; font-family: Constantia, serif; color: rgb(51, 125, 58); "><span class="Apple-converted-space"> </span></span><span style="font-size: 9pt; font-family: Constantia, serif; color: rgb(74, 68, 42); ">Fax:<span class="Apple-converted-space"> </span></span><span style="font-size: 9pt; font-family: Constantia, serif; color: green; ">0866 777 550</span><span style="font-size: 9pt; font-family: Constantia, serif; color: rgb(51, 125, 58); ">;<span class="Apple-converted-space"> </span></span><span style="font-size: 9pt; font-family: Constantia, serif; color: rgb(74, 68, 42); ">Email:<span class="Apple-converted-space"> </span></span><span style="font-size: 9pt; font-family: Constantia, serif; color: green; "><a href="mailto:seanhay@technologyprojectmanagement.co.za" style="color: blue; text-decoration: underline; ">seanhay@technologyprojectmanagement.co.za</a><o:p></o:p></span></div><div style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: white; "><span style="font-size: 9pt; font-family: Constantia, serif; color: rgb(74, 68, 42); ">Windows Live Messenger:<span class="Apple-converted-space"> </span></span><span style="font-size: 9pt; font-family: Constantia, serif; color: green; "><a href="mailto:seangaryhay@hotmail.com" style="color: blue; text-decoration: underline; "><span style="color: green; text-decoration: none; ">seangaryhay@hotmail.com</span></a></span><span style="font-size: 9pt; font-family: Constantia, serif; color: rgb(68, 68, 68); "><span class="Apple-converted-space"> </span></span><span style="font-size: 9pt; font-family: Constantia, serif; color: rgb(74, 68, 42); ">Skype:<span class="Apple-converted-space"> </span></span><span style="font-size: 9pt; font-family: Constantia, serif; color: green; ">seangaryhay;</span><span style="font-size: 9pt; font-family: Constantia, serif; color: rgb(51, 125, 58); "><span class="Apple-converted-space"> </span></span><span style="font-size: 9pt; font-family: Constantia, serif; color: rgb(74, 68, 42); ">Website</span><span style="font-size: 9pt; font-family: Constantia, serif; color: rgb(31, 73, 125); ">:</span><span style="font-size: 9pt; font-family: Constantia, serif; color: rgb(68, 68, 68); "></span><span style="font-size: 9pt; font-family: Constantia, serif; color: green; "><a href="mailto:seangaryhay@hotmail.com" style="color: blue; text-decoration: underline; "><span style="color: green; text-decoration: none; ">www.fractionalprojectmanagement.co.za</span></a></span><b><span lang="EN-US" style="font-size: 8pt; font-family: Constantia, serif; color: rgb(31, 73, 125); "><o:p></o:p></span></b></div></td><td width="178" valign="top" style="width: 133.2pt; padding-top: 0cm; padding-right: 5.4pt; padding-bottom: 0cm; padding-left: 5.4pt; height: 96.05pt; "><div style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Constantia, serif; color: rgb(74, 68, 42); "><o:p> </o:p></span></div><div style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Constantia, serif; color: rgb(74, 68, 42); "><span><image001.jpg></span></span><span style="font-size: 11pt; font-family: Constantia, serif; color: rgb(74, 68, 42); "><o:p></o:p></span></div></td></tr></tbody></table><div style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(74, 68, 42); "><o:p> </o:p></span></div><div style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; "><b><span lang="EN-US" style="font-size: 10pt; font-family: Tahoma, sans-serif; ">From:</span></b><span lang="EN-US" style="font-size: 10pt; font-family: Tahoma, sans-serif; "><span class="Apple-converted-space"> </span><a href="mailto:oscg-general@openscg.org" style="color: blue; text-decoration: underline; ">oscg-general@openscg.org</a><span class="Apple-converted-space"> </span>[mailto:oscg-general@openscg.org]<span class="Apple-converted-space"> </span><b>On Behalf Of<span class="Apple-converted-space"> </span></b>Lussier, Denis<br><b>Sent:</b><span class="Apple-converted-space"> </span>27 March 2011 12:48 AM<br><b>To:</b><span class="Apple-converted-space"> </span><a href="mailto:oscg-general@openscg.org" style="color: blue; text-decoration: underline; ">oscg-general@openscg.org</a><br><b>Cc:</b><span class="Apple-converted-space"> </span>Önder Örnek<br><b>Subject:</b><span class="Apple-converted-space"> </span>Re: [oscg-general] Authentication problem with Tomcat Manager Application & a possible solution<o:p></o:p></span></div><div style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div><p class="MsoNormal" style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 12pt; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; ">Good catch. I need someone to do a tutorial for configuring Tomcat 7.0 with PostgreSQL. After this has been flushed out and verified, I will alter the packaging to do this by default. <o:p></o:p></p><div><div style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; ">2011/3/26 Önder Örnek <<a href="mailto:onder@ornek.de" style="color: blue; text-decoration: underline; ">onder@ornek.de</a>><o:p></o:p></div><p class="MsoNormal" style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 12pt; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; ">Hi,<br><br>I loaded the Tomcat 7.0.8 + PostgreSQL 9.0.3 (16-Feb-11) for Mac32.<br><br>Because of the authentication problems it was impossible to access the manager application. The catalina log showed the following error with JAASRealm authentication:<br><br>----------------------------------<br>Mar 26, 2011 3:31:20 PM org.apache.catalina.realm.JAASRealm authenticate<br>SEVERE: Unexpected error<br>javax.security.auth.login.LoginException: No LoginModules configured for Catalina<br> at javax.security.auth.login.LoginContext.init(LoginContext.java:273)<br> at javax.security.auth.login.LoginContext.<init>(LoginContext.java:418)<br> at org.apache.catalina.realm.JAASRealm.authenticate(JAASRealm.java:394)<br> at org.apache.catalina.realm.JAASRealm.authenticate(JAASRealm.java:334)<br> at org.apache.catalina.authenticator.BasicAuthenticator.authenticate(BasicAuthenticator.java:157)<br> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:554)<br> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)<br> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)<br> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)<br> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:383)<br> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243)<br> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188)<br> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:166)<br> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:288)<br> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)<br> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)<br> at java.lang.Thread.run(Thread.java:636)<br>----------------------------------<br><br>After some search in the web and documentation I figured out the failure. The follwing line in the conf/server.xml was missing:<br><br><Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase"/><br><br>Please refer to Tomcat 7 documentation if you will use other authentication methods.<br><br>It was a little bit challenging. I hope that OpenSCG change the settings and re-assemble the package.<br><br>Kind regards,<br><span style="color: rgb(136, 136, 136); ">Önder<br><br><br></span><o:p></o:p></p></div><div style="margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p> </o:p></div></div></div></span></blockquote></div><br></div></body></html>
© 2013 BigSQL & OpenSCG. All rights reserved.

