Displaying #apache-syncope/2016-03-14.log:

Mon Mar 14 00:12:30 2016  jbonofre:Joined the channel
Mon Mar 14 07:16:12 2016  ilgrosso:Joined the channel
Mon Mar 14 07:45:37 2016  fmartelli:Joined the channel
Mon Mar 14 07:54:23 2016  jbonofre:Joined the channel
Mon Mar 14 07:59:01 2016  svizzero81:Joined the channel
Mon Mar 14 08:03:15 2016  _massi_:Joined the channel
Mon Mar 14 08:08:13 2016  giacomolm:Joined the channel
Mon Mar 14 08:18:23 2016  Dheeraj:Joined the channel
Mon Mar 14 08:18:32 2016  Dheeraj:anyone there?
Mon Mar 14 08:22:20 2016  _massi_:ehi Dheeraj good morning
Mon Mar 14 09:39:53 2016  sberyozkin:Joined the channel
Mon Mar 14 09:56:16 2016  fmartelli1:Joined the channel
Mon Mar 14 10:01:39 2016  coheigea:Joined the channel
Mon Mar 14 10:19:14 2016  Dheeraj:Hi I am trying to configure tomcat from syncope distribution package
Mon Mar 14 10:19:19 2016  Dheeraj:but i get some memory error
Mon Mar 14 10:20:02 2016  Dheeraj:there is insufficient memory for java runtime environment to continue
Mon Mar 14 10:20:06 2016  Dheeraj:any idea???
Mon Mar 14 10:20:17 2016  Dheeraj:I am facing this since a week now
Mon Mar 14 10:28:57 2016  Dheeraj:???
Mon Mar 14 10:30:28 2016  Dheeraj:Using CLASSPATH: /opt/tomcat//bin/bootstrap.jar:/opt/tomcat//bin/tomcat-juli.jar Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=256m; support was removed in 8.0 Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000090000000, 1879048192, 0) failed; error='Cannot allocate memor
Mon Mar 14 10:46:33 2016  _massi_:usually my way to configure the JVM parameters in Tomcat is the creation of setenv.sh file under ./bin directory
Mon Mar 14 10:47:00 2016  _massi_:the content of setenv.sh file (remember +x permission) is
Mon Mar 14 10:47:02 2016  _massi_:JAVA_OPTS="-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms1536m -Xmx1536m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m -XX:MaxPermSize=256m -XX:+DisableExplicitGC"
Mon Mar 14 11:11:14 2016  Dheeraj:I have done this already as suggested in doc
Mon Mar 14 11:11:31 2016  Dheeraj:I am installing syncope on a virtual machine
Mon Mar 14 11:11:40 2016  Dheeraj:with 1gb RAM and 20gb HDD
Mon Mar 14 11:11:57 2016  Dheeraj:is this error has to do smthn with RAM?
Mon Mar 14 11:12:44 2016  ilgrosso:Dheeraj: 1GB is way too little
Mon Mar 14 11:12:50 2016  ilgrosso:go with at least 2GB
Mon Mar 14 11:12:52 2016  Dheeraj:Oh
Mon Mar 14 11:12:59 2016  Dheeraj:okay i will try with that
Mon Mar 14 11:14:04 2016  ilgrosso:2GB is minimum requirement: http://syncope.apache.org/docs/getting-started.html#hardware
Mon Mar 14 11:14:15 2016  ilgrosso:this doc is for 2.0 (which version are you using?)
Mon Mar 14 11:14:15 2016  giacomolm1:Joined the channel
Mon Mar 14 11:15:46 2016  Dheeraj:allocating 4GB now
Mon Mar 14 11:26:29 2016  ilgrosso:Dheeraj: wow :-)
Mon Mar 14 11:33:23 2016  _massi_1:Joined the channel
Mon Mar 14 12:57:32 2016  fmartelli:Joined the channel
Mon Mar 14 14:31:28 2016  Dheeraj:Joined the channel
Mon Mar 14 14:31:35 2016  Dheeraj:I allocated 4GB of RAM
Mon Mar 14 14:31:40 2016  Dheeraj:Still having same issue
Mon Mar 14 14:31:43 2016  Dheeraj:create new VM
Mon Mar 14 14:31:45 2016  Dheeraj:still
Mon Mar 14 14:31:47 2016  Dheeraj:(
Mon Mar 14 14:31:49 2016  Dheeraj::(
Mon Mar 14 14:34:57 2016  Dheeraj:anyone??
Mon Mar 14 14:37:45 2016  ilgrosso:Dheeraj: you must ensure you are actually allocating enough memory to Tomcat
Mon Mar 14 14:37:56 2016  ilgrosso:and the way to go is the one pointed out by _massi_
Mon Mar 14 14:38:19 2016  ilgrosso:bin/setenv.sh if you are using standalone (things are different with .deb packages)
Mon Mar 14 14:38:46 2016  Dheeraj:I did that
Mon Mar 14 14:38:49 2016  Dheeraj:in setenv file
Mon Mar 14 14:38:56 2016  Dheeraj:but everytime i shutdown tomcat
Mon Mar 14 14:38:59 2016  Dheeraj:it keeps increasing
Mon Mar 14 14:39:13 2016  Dheeraj:so i set maxnewsize to 3500
Mon Mar 14 14:39:24 2016  Dheeraj:still it keep increasing and throw error
Mon Mar 14 14:39:32 2016  Dheeraj:that unable to locate memory
Mon Mar 14 14:39:38 2016  Dheeraj:now I cant go beyond 4096
Mon Mar 14 14:39:52 2016  Dheeraj:why it keeps increasing the memory requirement
Mon Mar 14 14:41:00 2016  Dheeraj:and when memory issue resolves, I get port error
Mon Mar 14 14:41:06 2016  Dheeraj:connection refused
Mon Mar 14 14:41:08 2016  Dheeraj::(
Mon Mar 14 14:41:26 2016  Dheeraj:JAVA_OPTS="-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms1536m -Xmx1536m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m -XX:MaxPermSize=256m -XX:+DisableExplicitGC"
Mon Mar 14 14:41:36 2016  Dheeraj:oops.. ignore that
Mon Mar 14 14:42:21 2016  Dheeraj:could not connect to port:8005 , tomcat not may not be running
Mon Mar 14 14:43:41 2016  ilgrosso:something really odd is happening inside your VM: with bare 2GB everything should run fine
Mon Mar 14 14:43:46 2016  ilgrosso:which version are you using?
Mon Mar 14 14:44:08 2016  Dheeraj:memory ssue resolved..
Mon Mar 14 14:44:11 2016  Dheeraj:issue
Mon Mar 14 14:44:18 2016  Dheeraj:not this port issue I am getting
Mon Mar 14 14:44:23 2016  Dheeraj:could not connect to port:8005 , tomcat not may not be running
Mon Mar 14 14:44:28 2016  Dheeraj:while shutting down
Mon Mar 14 15:02:38 2016  Dheeraj:tomcat server is not starting.
Mon Mar 14 15:06:04 2016  ilgrosso:Dheeraj: may I ask for the 3rd time which version are you running?
Mon Mar 14 15:08:25 2016  Dheeraj:m so sorry
Mon Mar 14 15:08:35 2016  Dheeraj:Tomcat 8.0.32 I am trying to configure
Mon Mar 14 15:09:01 2016  ilgrosso:and which Syncope version are you trying to run?
Mon Mar 14 15:09:11 2016  ilgrosso:2.0.0-M1? which package? standalone?
Mon Mar 14 15:10:26 2016  Dheeraj:2.0.0-M1
Mon Mar 14 15:10:28 2016  Dheeraj:yes standalone
Mon Mar 14 15:10:41 2016  Dheeraj:syncope-standalone-2.0.0-M1-distribution.zip
Mon Mar 14 15:11:37 2016  ilgrosso:lemme download it from syncope.apache.org and see if I run into troubles
Mon Mar 14 15:11:46 2016  ilgrosso:are you attempting to run it on Linux?
Mon Mar 14 15:11:48 2016  Dheeraj:sure. thanks a lot
Mon Mar 14 15:11:49 2016  ilgrosso:Oracle JDK?
Mon Mar 14 15:12:13 2016  Dheeraj:yeah. 1.7.0_95
Mon Mar 14 15:14:44 2016  ilgrosso:So it's GNU / Linux VM with Oracle JDK 1.7.0_95; which Linux distribution?
Mon Mar 14 15:15:29 2016  Dheeraj:Ubuntu 15.02
Mon Mar 14 15:19:09 2016  _massi_:Joined the channel
Mon Mar 14 15:28:27 2016  ilgrosso:Dheeraj: ok, found the problem
Mon Mar 14 15:28:53 2016  ilgrosso:it seems there is an issue with 2.0.0-M1 standalone: I am going to fill in an issue on JIRA, where I also provide a workaround
Mon Mar 14 15:29:22 2016  ilgrosso:anyway, bin/setenv.sh is already available and properly set, you don't need to change anything
Mon Mar 14 15:30:16 2016  jbonofre:Joined the channel
Mon Mar 14 15:30:27 2016  Dheeraj:Oh.
Mon Mar 14 15:30:36 2016  Dheeraj:So when should I try again?
Mon Mar 14 15:32:41 2016  ilgrosso:I am writing down the issue with workaround right now
Mon Mar 14 15:33:02 2016  ilgrosso:you can apply the workaround straight away, and watch the issue for being notified about when the fix is available
Mon Mar 14 15:34:41 2016  Dheeraj:Do I have to look on JIRA for notification on fix??
Mon Mar 14 15:36:01 2016  ilgrosso:as far as the JIRA issue is ready I will paste its link here
Mon Mar 14 15:36:13 2016  ilgrosso:and you'll be able to watch it in order to get notified
Mon Mar 14 15:38:09 2016  Dheeraj:http://mail-archives.apache.org/mod_mbox/syncope-commits/201603.mbox/browser
Mon Mar 14 15:38:18 2016  Dheeraj:i beleive this is the url where I can see
Mon Mar 14 15:38:21 2016  Dheeraj:okay sure
Mon Mar 14 15:38:24 2016  Dheeraj:thanks a lot :)
Mon Mar 14 15:38:27 2016  Dheeraj:appreciate it
Mon Mar 14 15:39:52 2016  ilgrosso:https://issues.apache.org/jira/browse/SYNCOPE-776
Mon Mar 14 15:40:19 2016  ilgrosso:The workaround is in the first comment
Mon Mar 14 15:40:44 2016  Dheeraj:got it
Mon Mar 14 15:41:32 2016  Dheeraj:I hope tomcat issue will be resolved after this
Mon Mar 14 15:41:34 2016  Dheeraj:thanks
Mon Mar 14 15:41:41 2016  ilgrosso:you're welcome
Mon Mar 14 15:41:51 2016  ilgrosso:I have tried myself the workaround
Mon Mar 14 15:42:50 2016  Dheeraj:hmm
Mon Mar 14 15:42:58 2016  ilgrosso:anyway, since you're on Ubuntu, you might also use the deb packages
Mon Mar 14 15:43:05 2016  Dheeraj:yes
Mon Mar 14 15:43:14 2016  Dheeraj:after this is resolved.. i will
Mon Mar 14 15:43:17 2016  Dheeraj:install deb
Mon Mar 14 15:43:24 2016  Dheeraj:and then gui installer
Mon Mar 14 15:43:32 2016  Dheeraj:but gui instaler requires tomcat to run
Mon Mar 14 15:43:36 2016  Dheeraj:so I am stuck
Mon Mar 14 15:43:47 2016  Dheeraj:debian i was able to install
Mon Mar 14 15:44:14 2016  ilgrosso:SYNCOPE-776 only affects the standalone distribution
Mon Mar 14 15:44:27 2016  ilgrosso:other distributions (GUI installer / deb / ...) are not affected by this
Mon Mar 14 15:45:00 2016  Dheeraj:GUI installer needs tomcat running
Mon Mar 14 15:45:04 2016  Dheeraj::O
Mon Mar 14 15:45:05 2016  ilgrosso:of course
Mon Mar 14 15:45:09 2016  ilgrosso:but an empty Tomcat
Mon Mar 14 15:45:20 2016  ilgrosso:not the one from standalone distrbution!
Mon Mar 14 15:45:24 2016  ilgrosso:standalone / GUI installer / deb packages / Maven project are all *alternative* ways of getting Syncope
Mon Mar 14 15:45:28 2016  Dheeraj:okay u mean without syncope packages i can try
Mon Mar 14 15:45:33 2016  ilgrosso:ouch
Mon Mar 14 15:45:51 2016  Dheeraj:OOOOOOO
Mon Mar 14 15:45:55 2016  Dheeraj:I didnt know that
Mon Mar 14 15:46:10 2016  ilgrosso:With standalone + workaround for SYNCOPE.776 you are all set
Mon Mar 14 15:46:11 2016  Dheeraj:So with an empty tomcat, I can try gui instaler and that's it????
Mon Mar 14 15:46:30 2016  ilgrosso:http://syncope.apache.org/docs/getting-started.html#prerequisites
Mon Mar 14 15:47:02 2016  Dheeraj:tomcat+gui??
Mon Mar 14 15:47:07 2016  Dheeraj:would this combo work?
Mon Mar 14 15:47:35 2016  ilgrosso:only if both run on the same machine, for which you have access to the GUI
Mon Mar 14 15:47:53 2016  Dheeraj:yeah.. on same ubuntu vm
Mon Mar 14 15:47:54 2016  ilgrosso:anyway, let me repeat: With standalone + workaround for SYNCOPE.776 you are all set
Mon Mar 14 15:47:55 2016  Dheeraj:i will run
Mon Mar 14 15:48:03 2016  Dheeraj:right. I got that
Mon Mar 14 15:48:09 2016  ilgrosso:you don't need anything more
Mon Mar 14 15:48:11 2016  ilgrosso:ok
Mon Mar 14 15:48:25 2016  Dheeraj:but while I am waiting for workaround to get resolved, I can try with installer..!
Mon Mar 14 15:48:34 2016  ilgrosso:the workaround IS effective
Mon Mar 14 15:48:38 2016  ilgrosso:you can apply it right now
Mon Mar 14 15:48:43 2016  ilgrosso:and you will have things working
Mon Mar 14 15:48:49 2016  Dheeraj:no. I dint get you
Mon Mar 14 15:49:03 2016  Dheeraj:you are working on that issue right now..!
Mon Mar 14 15:49:20 2016  ilgrosso:yes, and it will be fixed properly on next Syncope 2.0 version
Mon Mar 14 15:49:23 2016  ilgrosso:but
Mon Mar 14 15:49:26 2016  ilgrosso:for the moment
Mon Mar 14 15:49:41 2016  ilgrosso:there is a workaround you can apply directly to your downloaded 2.0.0-M1 standalone distribution
Mon Mar 14 15:49:42 2016  Dheeraj:okay.. right
Mon Mar 14 15:49:46 2016  ilgrosso:to have things working RIGHT NOW
Mon Mar 14 15:49:50 2016  Dheeraj:so i just need to replcae everything u have mentioned there
Mon Mar 14 15:49:58 2016  ilgrosso:exactly
Mon Mar 14 15:49:59 2016  Dheeraj:right
Mon Mar 14 15:50:01 2016  Dheeraj:okay
Mon Mar 14 15:50:02 2016  Dheeraj:grt
Mon Mar 14 15:50:04 2016  Dheeraj:I will try
Mon Mar 14 15:50:09 2016  Dheeraj:its EOD here..
Mon Mar 14 15:50:15 2016  Dheeraj:I will try tommorw
Mon Mar 14 15:50:30 2016  Dheeraj:and thanks a lot for your help and kindness :)
Mon Mar 14 15:50:37 2016  Dheeraj:you people are very kind
Mon Mar 14 15:50:39 2016  Dheeraj:thanks :)
Mon Mar 14 15:51:00 2016  ilgrosso:you're welcome
Mon Mar 14 15:58:01 2016  sberyozkin:Joined the channel
Mon Mar 14 16:07:42 2016  fmartelli:Joined the channel
Mon Mar 14 16:51:34 2016  matteo_:Joined the channel
Mon Mar 14 17:36:50 2016  coheigea:Left the channel
Mon Mar 14 17:48:54 2016  fmartelli:Joined the channel
Mon Mar 14 20:20:32 2016  _massi_:Joined the channel
Mon Mar 14 20:41:46 2016  fmartelli:Joined the channel
Mon Mar 14 21:17:29 2016  _massi_:Joined the channel
Mon Mar 14 21:47:03 2016  _massi_:Joined the channel
Mon Mar 14 23:00:09 2016  _massi_:Joined the channel

Comments