Resource Menu


posted by Sebastien Jourdain at Jul 30, 2009 5:25 PM
Quote
Thanks Martin,

I'm glad that you managed to make Libresource works on your computer.

Regards,

Seb

posted by MartinH at Jul 30, 2009 5:22 PM
Quote
Sebastien,

It looks like I closed the command prompt window after running the Start Libresource executable. When I did that, the service shut down and therefore I couldn't get to the localhost page. I now have that window running and have successfully connected to the wiki. Thanks for the help.

Martin

posted by Sebastien Jourdain at Jul 27, 2009 10:04 PM
Quote
Seems to me that the database is still not created

Could not get Connection on jdbc:postgresql://localhost:5432/libresource: org.postgresql.util.PSQLException: Backend start-up failed: FATAL: database "libresource" does not exist. at

You should go inside the pgadmin application (graphical application) and create a new database named libresource.

Look on the web, to get some help on postgres. And please read the beginning of your log.

posted by MartinH at Jul 27, 2009 8:04 PM
Quote
Sebastien, many thanks for the help. It looks like I'm getting closer. I created the database and it doesn't appear that I'm getting any errors, but I still can't connect to localsource:9000. Here's my latest log. Please be patient as I'm not highly skilled in databases and am running this on a Win2003 server. I don't have Unix experience.

2009-07-27 10:29:12,343 : INFO : main : Server.<init> : JVM used is 1.6.0_14 version of Sun Microsystems Inc. vendor on Windows 2003 5.2/x86 OS. 2009-07-27 10:29:12,343 : INFO : main : PolicyProvider.init : Using JOnAS PolicyConfigurationFactory provider and JOnAS Policy provider 2009-07-27 10:29:24,015 : INFO : main : NameServiceManager.startNonStartedNS : Name service for jeremie is started on port 2000 2009-07-27 10:29:24,078 : INFO : main : ServiceManager.startRegistry : registry service started 2009-07-27 10:29:24,859 : INFO : main : ServiceManager.startJmx : jmx service started 2009-07-27 10:29:25,421 : INFO : main : Current.<init> : JOTM 2.0.11 2009-07-27 10:29:25,453 : INFO : main : Current.setDefaultRecovery : Jotm Recovery= false 2009-07-27 10:29:25,484 : INFO : main : ServiceManager.startServices : jtm service started 2009-07-27 10:29:25,812 : SEVERE : main : ConnectionManager.getXAConnection : Could not get Connection on jdbc:postgresql://localhost:5432/libresource: org.postgresql.util.PSQLException: Backend start-up failed: FATAL: database "libresource" does not exist. at org.postgresql.core.v3.ConnectionFactoryImpl.readStartupMessages(ConnectionFactoryImpl.java:443) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:98) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:65) at org.postgresql.jdbc2.AbstractJdbc2Connection.<init> …

posted by Sebastien Jourdain at Jul 27, 2009 6:47 PM
Quote
Could not get Connection on jdbc:postgresql://localhost:5432/libresource: org.postgresql.util.PSQLException: Backend start-up failed: FATAL: database "libresource" does not exist.

You need to create a database named libresource within postgresql.

posted by MartinH at Jul 27, 2009 6:40 PM
Quote
Thanks. I no longer see that error message, but it still doesn't look like the service is running. Here's what I get now:

2009-07-27 10:29:12,343 : INFO : main : Server.<init> : JVM used is 1.6.0_14 version of Sun Microsystems Inc. vendor on Windows 2003 5.2/x86 OS. 2009-07-27 10:29:12,343 : INFO : main : PolicyProvider.init : Using JOnAS PolicyConfigurationFactory provider and JOnAS Policy provider 2009-07-27 10:29:24,015 : INFO : main : NameServiceManager.startNonStartedNS : Name service for jeremie is started on port 2000 2009-07-27 10:29:24,078 : INFO : main : ServiceManager.startRegistry : registry service started 2009-07-27 10:29:24,859 : INFO : main : ServiceManager.startJmx : jmx service started 2009-07-27 10:29:25,421 : INFO : main : Current.<init> : JOTM 2.0.11 2009-07-27 10:29:25,453 : INFO : main : Current.setDefaultRecovery : Jotm Recovery= false 2009-07-27 10:29:25,484 : INFO : main : ServiceManager.startServices : jtm service started 2009-07-27 10:29:25,812 : SEVERE : main : ConnectionManager.getXAConnection : Could not get Connection on jdbc:postgresql://localhost:5432/libresource: org.postgresql.util.PSQLException: Backend start-up failed: FATAL: database "libresource" does not exist. …

posted by Sebastien Jourdain at Jul 25, 2009 10:19 AM
Quote
Could not get Connection on jdbc:postgresql://localhost:5432/libresource: org.postgresql.util.PSQLException: Connection rejected: FATAL: password authentication failed for user "postgres".

This means that the informations used to access the database are not correct. You should edit the file JONAS_ROOT/conf/libresourceDS.properties and fix the database properties.

posted by MartinH at Jul 24, 2009 9:42 PM
Quote
Hello,

I followed the instructions on the Download page for a Windows Server 2003 install. When I tried to access the web server (localhost:9000), the page couldn't be found. It appears that no Libresource process is running on the server. It looks like the postgres database is running.

When I try to run the Libresource Start command, I see some errors. Below you'll find to Jonas log. I have TCPView and tried to find conflicting ports, but didn't find any.

Can someone help me figure out what happened? Many thanks.

Martin

2009-07-24 12:17:38,390 : INFO : main : Server.<init> : JVM used is 1.6.0_14 version of Sun Microsystems Inc. vendor on Windows 2003 5.2/x86 OS. 2009-07-24 12:17:38,390 : INFO : main : PolicyProvider.init : Using JOnAS PolicyConfigurationFactory provider and JOnAS Policy provider 2009-07-24 12:17:50,015 : INFO : main : NameServiceManager.startNonStartedNS : Name service for jeremie is started on port 2000 2009-07-24 12:17:50,062 : INFO : main : ServiceManager.startRegistry : registry service started 2009-07-24 12:17:50,312 : INFO : main : ServiceManager.startJmx : jmx service started 2009-07-24 12:17:50,796 : INFO : main : Current.<init> : JOTM 2.0.11 2009-07-24 12:17:50,828 : INFO : main : Current.setDefaultRecovery : Jotm Recovery= false 2009-07-24 12:17:50,843 : INFO : main : ServiceManager.startServices : jtm service started 2009-07-24 12:17:51,031 : SEVERE : main : ConnectionManager.getXAConnection : Could not get Connection on jdbc:postgresql://localhost:5432/libresource: org.postgresql.util.PSQLException: Connection rejected: FATAL: password authentication failed for user "postgres". …