Hi Cornelius,
seems, that the database is not correctly configured.
(net.ConnectException: Verbindungsaufbau abgelehnt')
Please check the config values in /etc/osiam-*.properties
org.osiam.auth-server.db.url=jdbc:postgresql://localhost:5432/<YOUR_DATABASE_NAME>
org.osiam.auth-server.db.username=<YOUR_DATABASE_USERNAME>
org.osiam.auth-server.db.password=<YOUR_DATABASE_PASSWORD>
and ensure, that postgres allows tcp connections
(/etc/postgresql/*/main/pg_hba.conf)
We are already working on debian packages for a smoother installation ;-)
Regards,
Sebastian
Am 22.05.2014 13:40, schrieb Cornelius:
> Hi Thomas,
>
> Now i get this error:
>
> {
>
> * "error_code": "CONFLICT",
> * "description": "Could not open JPA EntityManager for transaction;
> nested exception is javax.persistence.PersistenceException:
> org.hibernate.exception.JDBCConnectionException: Could not open
> connection"
>
> }
>
>
> I attached the catalina.log starting from the restart of tomcat.
>
> Kind regards
> Cornelius
>
> Am 21.05.2014 15:19, schrieb Thomas Krille:
>> Hello Cornelius,
>>
>> the issue is simple: You are using a wrong Java version. I assume that
>> you are using Java 6, but OSIAM only runs on Java 7 or newer. Please
>> try to install Java 7 and remove Java 6 from your System (as support
>> for Java 6 ran out some time ago anyway). This should solve your issue.
>>
>> Best Regards
>>
>> Thomas Krille
>> Softwareentwicklung
>> tarent solutions GmbH
>>
>> Telefon
+49 (0) 30 138803-128
>> Telefax
+49 (0) 228 54881-235
>>
t.kr...@tarent.de <mailto:
t.kr...@tarent.de>
>>
>> Rochusstraße 2-4, D-53123 Bonn •
http://www.tarent.de/
>> Tel: +49 228 54881-0 • Fax:
+49 228 54881-235
>> HRB AG Bonn 5168 • USt-ID (VAT): DE122264941
>> Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser,
>> Alexander Steeg
>>
>>
>> 2014-05-21 11:29 GMT+02:00 Cornelius <
goo...@cornelinux.de
>> <mailto:
goo...@cornelinux.de>>:
>>
>> Hello Thomas,
>>
>> sorry for my late answer.
>> I am not the java or tomcat guy, so I always need some time to get
>> started.
>> I just want to improve the SCIM resolver for my project privacyIDEA.
>>
>> To me it looks like there is an error during the tomcat daemon
>> startup.
>> When I try to call the resouce, there is not entry written to the
>> log file anymore.
>>
>> Kind regards
>> Cornelius
>>
>> Am 16.05.2014 17:30, schrieb Thomas Krille:
>>> Hi Cornelius,
>>>
>>> we are very happy that you give OSIAM a try. The issue you are
>>> encountering is really strange. Could you provide the
>>> catalina.out log file (located in /var/log/tomcat7/catalina.out)?
>>> It seems that the webapps have not been deployed correctly.
>>>
>>> Best Regards
>>>
>>> Thomas Krille
>>> Softwareentwicklung
>>> tarent solutions GmbH
>>>
>>> Telefon
+49 (0) 30 138803-128
>>> Telefax
+49 (0) 228 54881-235
>>>
t.kr...@tarent.de <mailto:
t.kr...@tarent.de>
>>>
>>> Rochusstraße 2-4, D-53123 Bonn •
http://www.tarent.de/
>>> Tel: +49 228 54881-0 • Fax:
+49 228 54881-235
>>> HRB AG Bonn 5168 • USt-ID (VAT): DE122264941
>>> Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser,
>>> Alexander Steeg
>>>
>>>
>>> 2014-05-15 9:37 GMT+02:00 <
goo...@cornelinux.de
>>> <mailto:
goo...@cornelinux.de>>:
>>>
>>> Hi,
>>> I tried to setup osiam 0.21 on an ubuntu 12.04.
>>>
>>> The postgres DB is setup,
>>>
>>> The .war's are in place:
>>>
>>> % ls /var/lib/tomcat7/webapps
>>> osiam-auth-server/ osiam-auth-server.war
>>> osiam-resource-server/ osiam-resource-server.war ROOT/
>>>
>>> The configuration is done:
>>>
>>> % ls /etc/osiam
>>> auth-server.properties resource-server.properties
>>>
>>> The /etc/tomcat7/catalina.properties is adapted.
>>> Tomcat is restarted.
>>>
>>> When I now do a call
>>>
>>> | $ curl
http://localhost:8080/osiam-resource-server/ServiceProviderConfigs
>>>
>>>
>>>
>>> I get a 404.
>>> What am I missing?
>>>
>>> I am absolutely now Java or even tomcat guy! ;-)
>>>
>>> Thanks a lot and Kind regards
>>> Cornelius
>>> |
>>>
>>> --
>>> You received this message because you are subscribed to the
>>> Google Groups "OSIAM" group.
>>> To unsubscribe from this group and stop receiving emails from
>>> it, send an email to
osiam+un...@googlegroups.com
>>> <mailto:
osiam+un...@googlegroups.com>.
> --
> You received this message because you are subscribed to the Google
> Groups "OSIAM" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
osiam+un...@googlegroups.com
> <mailto:
osiam+un...@googlegroups.com>.
--
Sebastian Mancke
head of technology
tarent solutions GmbH
Mobil
+49 171 7673249
Telefon
+49 228 54881-216
s.ma...@tarent.de
Tel: +49 228 54881-0 • Fax:
+49 228 54881-314