logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

Sun J2EE server (default with J2EE package) + PostgreSQL jdbc support: msg#00306

db.postgresql.jdbc

Subject: Sun J2EE server (default with J2EE package) + PostgreSQL jdbc support

I have PostgreSQL 7.2.2 and (jdbc driver jdbc7.2dev-1.2.jar
is located in /usr/share/pgsql/ ). I'm writing a project where I use
technolgies like : Apache 1.3.27 + Tomcat 4.1.18 + Struts 1.x + ANT for
XML files + Sun (default) J2EE 1.3.1 server.

The problem is that I don't know how to set up PostgreSQL driver
to be used with J2EE server (is it possible ?). I downloaded from the Sun
site J2EETutorial, and bank example. To run this example I need
use J2EE server, which is default delivered and configured with
Cloudscape database. There is a file called
$J2EE_HOME/config/resource.properties
with settings for Cloudscape database. There is also a build.xml
file in the bank directory which builds classes,jars,ears etc. from
sources. Cloudscape setings are :

<property name="cloud-lib" value="${myenv.J2EE_HOME}/lib/cloudscape" />
<property name="system-lib" value="${myenv.J2EE_HOME}/lib/system" />
<property name="cloud-path"
value=".:${cloud-lib}/cloudclient.jar:${cloud-lib}/RmiJdbc.jar:
${system-lib}/cloudutil.jar:${system-lib}/cloudscape.jar"/>
<property name="cloud-jvmargs" value="-ms16m -mx32m
-Dij.connection.CloudscapeDB=jdbc:rmi://localhost:1099/jdbc:cloudscape:
CloudscapeDB;create=true
-Dcloudscape.system.home=${myenv.J2EE_HOME}\cloudscape" />

The whole thing is about how to change Cloudscape to PostgreSQL (ant
config + resource.properties + JNDI in source files) ?

I'll be very grsteful if anyone know the answer !

Greetings,
Patryk

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html






Only community members can participate in forum threads. You must Register or log in to contribute.

<Prev in Thread] Current Thread [Next in Thread>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo