Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 85154 invoked by uid 500); 30 May 2002 05:16:57 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 85143 invoked from network); 30 May 2002 05:16:57 -0000 Message-ID: <20020530051708.33287.qmail@web21410.mail.yahoo.com> Date: Wed, 29 May 2002 22:17:08 -0700 (PDT) From: Kenny Chow Subject: Re: PostgreSQL won't work - any ideas appreciated To: cocoon-users@xml.apache.org, dan@drob.org In-Reply-To: <3CF56B9F.B5673137@dnai.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N If I understand it correctly, there should be two resources are configured to bind to the same address. So look for that. Just an idea. --- daniel robinson wrote: > Anyone, > > I would appreciate help on this from anyone - I've > tried all suggestions -- error > messages are below - Please note that I've already > tried: > > snip... > * Add a org.postgresql.Driver > element into your > config (under the element is good). > ...snip > > as suggested by Berin. > > Once I get this figured out I PROMISE TO CREATE > DOCUMENTATION :) > > Thanks, > > Dan > > Lajos Moczar wrote: > > > I don't know PostgreSQL, but you might try putting > the jar file in > > cocoon/WEB-INF/lib. I have found cases where > cocoon doesn't have access > > to the jars in $CATALINA_HOME/common/lib, even > though it is supposed to. > > > > If that doesn't fix the problem, you'll have to > post the error message. > > > > Lajos > > > > daniel robinson wrote: > > > > > Ok, > > > > > > I commented out the hsqldb stuff and this error > has gone away - but I can't > > > get PostgreSQL to work correctly. > > > > > > I've created the sample DB and modified > cocoon.xconf: > > > > > > > > > > > > > > > true > > > jdbc:postgresql:testdb > > > unknown > > > > > > > > > > > > > > > and Web.xml contains: > > > > > > > > > load-class > > > > > > org.postgresql.Driver > > > > > > > > > > > > and pgjdbc1.jar (containing > org.postresql.Driver) is in Tomcat/common/lib and > > > I have created the sample tables in testdb > within PostgreSQL. > > > > > > Help appreciated. > > > > > > Lajos Moczar wrote: > > > > > > > > >>Comment out the hsqldb stuff in cocoon.xconf, > unless you really need it. > > >> > > >>Lajos > > >> > > >>daniel robinson wrote: > > >> > > >> > > >>>List, > > >>> > > >>>Is there some comprehensive DB configure doc > for C2? I've looked > > >>>throught the listserv but its very piecemeal > (sp?). I keep getting this > > >>>error from tomcat: > > >>> > > >>>Loading catalog: > /localhost/cocoon/resources/entities/catalog > > >>>Server.run/init: java.net.BindException: > Address in use: JVM_Bind > > >>>java.net.BindException: Address in use: > JVM_Bind > > >>> at > java.net.PlainSocketImpl.socketBind(Native Method) > > >>> at > java.net.PlainSocketImpl.bind(PlainSocketImpl.java:405) > > >>> at > java.net.ServerSocket.(ServerSocket.java:170) > > >>> at > java.net.ServerSocket.(ServerSocket.java:82) > > >>> at > org.hsqldb.Server.run(Server.java:131) > > >>> at > org.hsqldb.Server.main(Server.java:78) > > >>> at > > > >>>org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:101) > > >>> at > java.lang.Thread.run(Thread.java:484) > > >>>Starting service Tomcat-Apache > > >>>Apache Tomcat/4.0.3 > > >>> > > >>>help appreciated. > > >>> > > >>>Dan > > >>> > > > --------------------------------------------------------------------- > Please check that your question has not already been > answered in the > FAQ before posting. > > > To unsubscribe, e-mail: > > For additional commands, e-mail: > > __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: