Re: Re: [Newbies] basicPortal V0.9 installation
Vic Cekvenich <[email protected]> Tue, 22 Apr 2003 19:21:16 -0400
| Newsgroups | gmane.comp.java.mvc.devel |
|---|---|
| Organization | baseBeans Engineering |
| Message-ID | <[email protected]> |
Is there pg sql JDBC drive in resin (or tomcat) lib? can you test connecting to your basicportal db using something like a java sqlclinet? As if the passwords are correct, etc. .V Chris Oberle wrote: > Hi Albert, > > I had the exact same experience using Vic's > instructions. I modified the db connection part of > resin.conf to be the following, but I'm still getting > the error below. Did you get this issue resolved? If > so, would you mind sharing how you did it? > > <resource-ref> > <res-ref-name>bppool</res-ref-name> > <res-type>javax.sql.DataSource</res-type> > <init-param driver-name="org.postgresql.Driver"/> > <init-param > url="jdbc:postgresql://127.0.0.1/basicportal?autoReconnect=true"/> > <init-param user="bpuser"/> > <init-param password="bpus3r"/> > <init-param max-connections="3"/> > <init-param max-idle-time="30"/> > </resource-ref> > > Error... > java.lang.NullPointerException at > org.apache.scaffoldingXPress.base.BaseBean.getValue(BaseBean.java:103) > at > org.apache.basicPortal.coreBeans.CmntsBean.getTitle(CmntsBean.java:88) > at > org.apache.basicPortal.coreBeans.CmntsBean.testIt(CmntsBean.java:28) > at > org.apache.basicPortal.coreBeans.TestServlet.doPost(TestServlet.java:61) > at > org.apache.basicPortal.coreBeans.TestServlet.doGet(TestServlet.java:83) > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:126) > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:103) > at > com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96) > at > com.caucho.server.http.Invocation.service(Invocation.java:315) > at > com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135) > at > com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246) > at > com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163) > at > com.caucho.server.TcpConnection.run(TcpConnection.java:139) > at java.lang.Thread.run(Thread.java:536) > java.lang.NullPointerException > > Thanks! > > > --- Aymeric Alibert <[email protected]> > wrote: > >>Vic, >> >>I just downloaded the basicportal application. It >>looks like a great >>starting point for web portal. >> >>I really liked the quick installation guide. Very >>simple and >>straightforward. >>Just one comment on the 'starting the application >>server' section, >>there should be a paragraph on the settings of the >>database pooling >>configuration in the resin.conf file. It needs to be >>changed to point to >>your local postgresql database >> <init-param driver-name="org.postgresql.Driver"/> >> <init-param >> > > url="jdbc:postgresql://192.168.0.150:5432/basicportal?autoReconnect=true"/> > >> <init-param user="bpuser"/> >> <init-param password="changeme"/> >> <init-param max-connections="3"/> >> <init-param max-idle-time="30"/> >> >>Also, when I try to access the http://localhost/test >>page I got the >>following error. Any Idea? >> >>java.lang.NullPointerException at >> > > org.apache.scaffoldingXPress.base.BaseBean.getValue(BaseBean.java:103) > >>at >> > > org.apache.basicPortal.coreBeans.CmntsBean.getTitle(CmntsBean.java:88) > >>at >> > > org.apache.basicPortal.coreBeans.CmntsBean.testIt(CmntsBean.java:28) > >>at >> > > org.apache.basicPortal.coreBeans.TestServlet.doPost(TestServlet.java:61) > >>at >> > > org.apache.basicPortal.coreBeans.TestServlet.doGet(TestServlet.java:83) > >>at >> > > javax.servlet.http.HttpServlet.service(HttpServlet.java:126) > >>at >> > > javax.servlet.http.HttpServlet.service(HttpServlet.java:103) > >>at >> > > com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96) > >>at >> > > com.caucho.server.http.Invocation.service(Invocation.java:315) > >>at >> > > com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135) > >>at >> > > com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246) > >>at >> > > com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163) > >>at >> > > com.caucho.server.TcpConnection.run(TcpConnection.java:139) > >>at java.lang.Thread.run(Thread.java:534) >>java.lang.NullPointerException >> >> >>Thanks, >> >>Aymeric. >> >> >> >>>>>[email protected] 04/21/03 07:58PM >>> >> >>Are you looking for a fast Blogger written in >>Struts? >> >>In prior version, "bp" had a KISS Content Management >>System, retrieved >> >>like this: >><Item name="about_contacts" title="About/Contacts" >>page="/do/cmsPg?content=ABOUT"/> >></Menu> >> >>So how it does a do content=ABOUT? Easy to display >>"about us" page. >>So it was easy to add Blogg, it's just content.. You >>can see blog >>working (not much content) and comment on blogg on >>baseBeans.com blog >>page. (J2EE will force you to join and login via >>container >>authentication). >>It' just a bare bone Blogger for now. >> >>This version also adds better install instructions, >>even Anna Nichole >>Smith can install it I hope.It uses >>ScaffoldingXPress v.1.1 >>(supported/release Struts v1.1). >> >> >>Vic Cekvenich >><a href ="baseBeans.com">Struts Training</a> and >>project recovery in >>North East. >> >>_______________________________________________ >>MVC-Programmers mailing list >>[email protected] >> > > http://www.basebeans.net:8080/mailman/listinfo/mvc-programmers > >> >> > > > > __________________________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo > http://search.yahoo.com