Hi all.

I downloaded AS and Portal separately.

so I'm tryong to use:
- JBoss AS 4.0.4.GA
- JBoss Portal 2.2.1SP1
- PostgreSQL JDBC connector (postgresql-8.2dev-503.jdbc3.jar)
- portal-postgresql-ds.xml


Precondition:
I've already created jbossportal database, user (in postgresql user is called 
login role !?) portal and password portalpassword

Steps:
- First I unzipped AS zip file.
- Then unzipped Portal 2.2.1 to 
C:\Programmi\jboss-4.0.4.GA\server\default\deploy
- Modified file portal-postgresql-ds.xml as shown:

  | <?xml version="1.0" encoding="UTF-8"?>
  | <datasources>
  |   <local-tx-datasource>
  |     <jndi-name>PortalDS</jndi-name>
  |     
<connection-url>jdbc:postgresql://localhost:5432/jbossportal</connection-url>
  |     <driver-class>org.postgresql.Driver</driver-class>
  |     <user-name>portal</user-name>
  |     <password>portalpassword</password>
  |   </local-tx-datasource>
  | </datasources>
  | 

- copied file /setup/portal-postgresql-ds.xml into ../deploy directory

- For the First boot i get some hibernate dialect problem. So I tried to force 
dialect as shown in the user guide
- In the dir server\default\deploy\jboss-portal.sar\conf\hibernate\[modules]\ 
I've only uncommented and modify this line as shown for all 4 modules:

  | ...
  | <property name="dialect">org.hibernate.dialect.ProgressDialect</property>
  | ...
  | 
- then i went to 
\server\default\deploy\jboss-portal.sar\portal-cms.sar\META-INF\ dir searching 
for jboss-service.xml
- I've uncommented and modify this line for all 5 blocks as shown:

  | ...
  | <param name="dialect" value="org.hibernate.dialect.ProgressDialect"/>
  | ...
  | 

Though modifies I get a lof of errors... It says it can't get connection to 
database.
here my log file (I zipped it avoiding topic confusion):
http://www.overmodding.org/files/2006-06-21.log.zip (150 kb)

Any suggestion will be appreciate.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952424#3952424

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952424


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to