Displaying #apache-syncope/2016-12-13.log:

Tue Dec 13 05:18:22 2016  jbonofre:Joined the channel
Tue Dec 13 07:15:12 2016  ilgrosso:Joined the channel
Tue Dec 13 07:53:50 2016  fmartelli:Joined the channel
Tue Dec 13 08:04:43 2016  svizzero81:Joined the channel
Tue Dec 13 08:09:12 2016  andreapatricelli:Joined the channel
Tue Dec 13 10:09:02 2016  sberyozkin:Joined the channel
Tue Dec 13 11:08:41 2016  coheigea:Joined the channel
Tue Dec 13 12:17:56 2016  fmartelli:Joined the channel
Tue Dec 13 12:22:14 2016  fmartelli1:Joined the channel
Tue Dec 13 13:09:05 2016  fmartelli:Joined the channel
Tue Dec 13 13:31:51 2016  ilgrosso:coheigea: thx for your findbugs cleanup
Tue Dec 13 13:32:05 2016  coheigea:ilgrosso: Sure. Mostly they are trivial but it uncovers the odd bug
Tue Dec 13 13:32:26 2016  ilgrosso:I have noticed several changes related to implicit boxing (for Boolean, Integer, ...)
Tue Dec 13 13:32:42 2016  ilgrosso:is it really needed? should we adopt it as best practice, for the future?
Tue Dec 13 13:32:58 2016  ilgrosso:I mean thinkgs like Integer.valueOf(0) instead of plain return 0;
Tue Dec 13 13:33:07 2016  ilgrosso:I mean thinkgs like Integer.valueOf(0) instead of simple 0;
Tue Dec 13 13:34:10 2016  jbonofre_:Joined the channel
Tue Dec 13 13:34:30 2016  coheigea:Well those are really trivial I think so probably not. However, in general calling parseX instead of valueOf removes a boxing/unboxing step
Tue Dec 13 13:34:43 2016  ilgrosso:ok, this I understand
Tue Dec 13 13:35:21 2016  ilgrosso:but why 'return true' is removed in favor or 'return Boolean.TRUE' (when the method returns Boolean, of course)?
Tue Dec 13 13:35:25 2016  jbonofre__:Joined the channel
Tue Dec 13 13:36:44 2016  coheigea:Well because you're just returning an object, instead of returning a primitive that has to be autoboxed to Boolean.TRUE anyway?
Tue Dec 13 13:39:34 2016  ilgrosso:coheigea: understand
Tue Dec 13 13:48:05 2016  jbonofre:Joined the channel
Tue Dec 13 14:22:46 2016  fmartelli:Joined the channel
Tue Dec 13 14:36:18 2016  fmartelli:Joined the channel
Tue Dec 13 14:45:30 2016  tinp:Joined the channel
Tue Dec 13 14:45:39 2016  tinp:hi everyone
Tue Dec 13 14:46:26 2016  tinp:I need some help with syncope-mysql
Tue Dec 13 14:46:28 2016  tinp::P
Tue Dec 13 14:47:15 2016  tinp:this is my conf... but doesn't work
Tue Dec 13 14:47:16 2016  tinp:Master.driverClassName=com.mysql.jdbc.Driver Master.url=jdbc:mysql://localhost:3306/syncope?characterEncoding=UTF-8 Master.schema= Master.username=root Master.password=xxxxxxxx Master.databasePlatform=org.apache.openjpa.jdbc.sql.MySQLDictionary(blobTypeName=LONGBLOB) Master.orm=META-INF/spring-orm.xml # note: other connection pool settings can also be configured here, see DataSource definition Master.pool.validationQuery=SELECT
Tue Dec 13 14:50:45 2016  ilgrosso:with 'my conf', do you mean that this is the full content of your Master.properties?
Tue Dec 13 14:55:12 2016  tinp:yes
Tue Dec 13 14:55:36 2016  tinp:look, for example I use " jpa.url=jdbc:h2:mem:syncopedb;DB_CLOSE_DELAY=-1"
Tue Dec 13 14:55:42 2016  tinp:it work OK
Tue Dec 13 14:55:57 2016  tinp:but if I use "jpa.url=jdbc:h2:~/syncopedb;DB_CLOSE_DELAY=-1"
Tue Dec 13 14:56:03 2016  tinp:it doesn't work
Tue Dec 13 14:56:15 2016  ilgrosso:what kind of error do you have? what kind of exceptions you can find in the logs?
Tue Dec 13 14:56:28 2016  tinp:syncope show me the same error that if I use Master,properties with mysql
Tue Dec 13 14:56:41 2016  ilgrosso:the logs
Tue Dec 13 14:56:44 2016  tinp:this is the error in my browser
Tue Dec 13 14:56:45 2016  tinp:HTTP Status 500 - Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
Tue Dec 13 14:57:10 2016  ilgrosso:this error message just says that something went wrong
Tue Dec 13 14:57:34 2016  ilgrosso:what kind of distribution are you using? standalone?
Tue Dec 13 14:58:45 2016  tinp:standalone
Tue Dec 13 14:58:48 2016  tinp:I just unzip
Tue Dec 13 14:58:57 2016  tinp:chmod 777 *.sh
Tue Dec 13 14:59:04 2016  tinp:and startup
Tue Dec 13 14:59:11 2016  tinp:changing Master.properties
Tue Dec 13 15:00:17 2016  ilgrosso:ok, let's start with persistent H2
Tue Dec 13 15:00:47 2016  ilgrosso:clear everything, unzip, chmod again
Tue Dec 13 15:01:07 2016  ilgrosso:then set jpa.url=jdbc:h2:~/syncopedb;DB_CLOSE_DELAY=-1
Tue Dec 13 15:01:10 2016  tinp:ok, starting
Tue Dec 13 15:01:13 2016  ilgrosso:wait
Tue Dec 13 15:01:28 2016  ilgrosso:before starting you need to tail -f logs/*
Tue Dec 13 15:01:32 2016  ilgrosso:to see the actual error coming
Tue Dec 13 15:01:42 2016  ilgrosso:before even attempting any access to the admin console
Tue Dec 13 15:01:49 2016  tinp:rm -rf syncope (full)
Tue Dec 13 15:01:54 2016  tinp:unzip syncope.zip
Tue Dec 13 15:02:04 2016  tinp:chmod 777 bin/*.sh
Tue Dec 13 15:02:10 2016  tinp:./start.sh
Tue Dec 13 15:02:22 2016  tinp:without changes
Tue Dec 13 15:02:41 2016  ilgrosso:ok, this should work
Tue Dec 13 15:02:44 2016  tinp:started and is ok
Tue Dec 13 15:02:54 2016  ilgrosso:ok, now stop
Tue Dec 13 15:02:54 2016  tinp:now I'm going to change
Tue Dec 13 15:02:58 2016  ilgrosso:./bin/shutdown.sh
Tue Dec 13 15:03:06 2016  tinp:ok
Tue Dec 13 15:03:34 2016  tinp:vi webapps/syncope/WEB-INF/classes/domains/Master.properties
Tue Dec 13 15:03:52 2016  tinp:Master.url=jdbc:h2:~/syncopedb;DB_CLOSE_DELAY=-1
Tue Dec 13 15:04:10 2016  tinp:./bin/startup.sh
Tue Dec 13 15:04:15 2016  ilgrosso:and tail -f?
Tue Dec 13 15:04:27 2016  ilgrosso:this is crucial
Tue Dec 13 15:04:59 2016  tinp:yes is running and everything is ok
Tue Dec 13 15:05:14 2016  tinp:org.apache.wicket.WicketRuntimeException: Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
Tue Dec 13 15:05:25 2016  ilgrosso:is this the very first error you get?
Tue Dec 13 15:05:27 2016  tinp:a0p5a0a8/syncope-standalone-2.0.1/apache-tomcat-8.5.6/webapps/ROOT has finished in 522 ms 13-Dec-2016 09:49:51.486 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [http-nio-9080] 13-Dec-2016 09:49:51.498 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [ajp-nio-8009] 13-Dec-2016 09:49:51.500 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 42516 m
Tue Dec 13 15:05:29 2016  ilgrosso:in the logs, I mean
Tue Dec 13 15:05:52 2016  tinp:this error is in the browser
Tue Dec 13 15:05:52 2016  tinp:org.apache.wicket.WicketRuntimeException: Unable to instantiate web session class org.apache.syncope.client.console.SyncopeConsoleSession
Tue Dec 13 15:06:02 2016  ilgrosso:so you have no errors at all in the logs?
Tue Dec 13 15:06:13 2016  tinp:no, just warnings
Tue Dec 13 15:06:14 2016  tinp:and info
Tue Dec 13 15:06:16 2016  tinp:no errors
Tue Dec 13 15:06:30 2016  tinp: 13-Dec-2016 09:49:41.479 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [/syncope] startup failed due to previous errors
Tue Dec 13 15:06:43 2016  tinp:13-Dec-2016 09:49:41.476 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
Tue Dec 13 15:06:45 2016  ilgrosso:ah here it is :-)
Tue Dec 13 15:06:51 2016  ilgrosso:you have fatal errors
Tue Dec 13 15:08:46 2016  tinp: 13-Dec-2016 09:49:19.338 WARNING [localhost-startStop-1] org.apache.catalina.webresources.Cache.enforceObjectMaxSizeLimit The value of [512]kB for objectMaxSize is larger than the limit of maxSize/20 so has been reduced to [0]kB
Tue Dec 13 15:09:58 2016  tinp:but if I change to :mem: it works
Tue Dec 13 15:10:08 2016  ilgrosso:this is not the fatal error
Tue Dec 13 15:10:15 2016  ilgrosso:the fatal error is in some other log file
Tue Dec 13 15:10:30 2016  ilgrosso:have you tail -f all lfiles under log/?
Tue Dec 13 15:10:36 2016  ilgrosso:not just catalina.out
Tue Dec 13 15:10:37 2016  ilgrosso:?
Tue Dec 13 15:10:48 2016  tinp:./logs/manager.2016-12-13.log ./logs/localhost.2016-12-13.log ./logs/catalina.2016-12-13.log ./logs/console.log ./logs/core-connid.log ./logs/enduser.log ./logs/host-manager.2016-12-13.log ./logs/core-rest.log ./logs/core.log ./logs/core-persistence.log
Tue Dec 13 15:12:38 2016  tinp:I'll be back in 2 hours
Tue Dec 13 15:14:48 2016  ilgrosso:oh, I'll be at home for that time :-)
Tue Dec 13 15:20:08 2016  fmartelli1:Joined the channel
Tue Dec 13 15:23:25 2016  ilgrosso:tinp: there is a typo in the getting started guide, just fixed
Tue Dec 13 15:23:34 2016  ilgrosso:syncope-bot: force build syncope-master-docs
Tue Dec 13 15:23:39 2016  syncope-bot:The build has been queued, I'll give a shout when it starts
Tue Dec 13 15:25:22 2016  ilgrosso:tinp: essentially, you should have
Tue Dec 13 15:25:22 2016  ilgrosso:Master.url=jdbc:h2:~/syncopedb;DB_CLOSE_DELAY=-1
Tue Dec 13 15:25:35 2016  ilgrosso:I have just tried, and it works properly
Tue Dec 13 15:25:36 2016  ilgrosso:HTH
Tue Dec 13 15:27:00 2016  fmartelli1:Joined the channel
Tue Dec 13 15:35:43 2016  sberyozkin:Joined the channel
Tue Dec 13 16:14:46 2016  fmartelli:Joined the channel
Tue Dec 13 16:23:34 2016  fmartelli1:Joined the channel
Tue Dec 13 18:03:55 2016  coheigea:Left the channel
Tue Dec 13 18:31:02 2016  syncope-bot:Joined the channel
Tue Dec 13 19:10:56 2016  tinp:Joined the channel
Tue Dec 13 20:29:44 2016  jbonofre:Joined the channel
Tue Dec 13 22:18:13 2016  tinp:Joined the channel
Tue Dec 13 22:18:20 2016  tinp:hi
Tue Dec 13 22:19:39 2016  tinp:I think I found my error
Tue Dec 13 22:20:27 2016  tinp:a couple days ago I run apache syncope with persistense in h2. Today I reconfigure with h2 persistence and not work.
Tue Dec 13 22:20:42 2016  tinp:so I change the database's name and it works
Tue Dec 13 22:41:04 2016  tinp:now I have this error
Tue Dec 13 22:41:05 2016  tinp:Caused by: java.sql.SQLException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
Tue Dec 13 23:03:21 2016  tinp:Could not resolve placeholder 'Master.audit.sql' in string value "
Tue Dec 13 23:07:31 2016  tinp:Master.databasePlatform
Tue Dec 13 23:07:35 2016  tinp:Master.orm
Tue Dec 13 23:07:46 2016  tinp:all this properties are missing
Tue Dec 13 23:09:09 2016  tinp:https://cwiki.apache.org/confluence/display/SYNCOPE/Run+Syncope+in+real+environments#RunSyncopeinrealenvironments-MySQL
Tue Dec 13 23:09:19 2016  tinp:that tutorial have some misstakes
Tue Dec 13 23:09:42 2016  tinp:for example, doesn't exists that parameteres and syncope dont run
Tue Dec 13 23:21:11 2016  tinp:audit.sql=audit_mysql_innodb.sql is wrong
Tue Dec 13 23:21:15 2016  tinp:Master.audit.sql=audit_mysql_innodb.sql is ok

Comments