Re: encuestame installation

216 views
Skip to first unread message

Juan Carlos Picado

unread,
Mar 29, 2012, 6:01:03 PM3/29/12
to Dario Novakovic, encue...@googlegroups.com
Hi Dario,

Thanks for your interest.

Sorry about the issues with the Installation, we are working every day to make a stable version as possible. Exist a forum on Google Groups, but is completely new:


We forgot link in the main site.

If you want follow the current issues, we created a RoadMap, for example, Installations issues:


We have additional information in our wiki about Installations:


About your issue, I encountered an bug, thanks very much.


I hope this resolve your troubles.

Feel free to post anything on our "new" forum or post a Issue on JIRA BugTracking.


Regards.

2012/3/29 Dario Novakovic <da...@inecco.net>
Hello,

I applogise for contacting you directly but I haven't found appropriate forum, mailing list or anything to look for help.

I 've been trying to install encuestame but I am really stuck. Application is deployed, there are no errors in the log file but when I try to access http://localhost:8080/encuestame I get

Encuestame's installation Wizard
You are about to install Encuestame 1.143


And that's all. Screen is blank and nothing happens.

From the log file

21:02:14,937  INFO EnMeSecurityInterceptor:105 - Session Expired
21:02:15,062 DEBUG SetupInterceptor:59 - Request URI /encuestame/
21:02:15,078 DEBUG SetupInterceptor:60 - Context Path URI /encuestame/setup
21:02:15,078 DEBUG SetupInterceptor:61 - Context Path URI false
21:02:15,078 DEBUG SetupInterceptor:62 - Context Path URI false
21:02:15,093 DEBUG SetupInterceptor:65 - EnMePlaceHolderConfigurer.getConfigurationManager() -> encuestame-config.xml
21:02:15,093 DEBUG SetupInterceptor:67 - intalled.uuid:->null
21:02:15,093 DEBUG SetupInterceptor:69 - system not installed ...
21:02:15,203 DEBUG SessionFilter:239 - Using SessionFactory 'sessionFactory' for OpenSessionInViewFilter
21:02:15,203 DEBUG SessionFilter:181 - Opening single Hibernate Session in OpenSessionInViewFilter
21:02:15,234 DEBUG SecurityUtils:186 - checkIsSessionIsExpired->true
21:02:15,234  INFO EnMeSecurityInterceptor:105 - Session Expired
21:02:16,390 DEBUG SetupService:155 - Check Version Status
21:02:16,390 DEBUG SetupService:158 - Current Version : 1.143
21:02:16,421 DEBUG SetupService:160 - Installed Version : 1.141
21:02:16,421 DEBUG SetupService:163 - Current Version : 1.143
21:02:16,421 DEBUG SetupService:165 - Installed Version : 1.141
21:02:17,578 DEBUG SessionFilter:207 - Closing single Hibernate Session in OpenSessionInViewFilter
21:02:17,593 DEBUG SessionFilter:239 - Using SessionFactory 'sessionFactory' for OpenSessionInViewFilter
21:02:17,593 DEBUG SessionFilter:181 - Opening single Hibernate Session in OpenSessionInViewFilter
21:02:17,593 DEBUG SecurityUtils:186 - checkIsSessionIsExpired->true
21:02:17,593  INFO EnMeSecurityInterceptor:105 - Session Expired
21:02:18,218 DEBUG ReloadableResourceBundleMessageSource:535 - Loading properties [messages_en_US.properties] with encoding 'UTF-8'
21:02:18,312 DEBUG SessionFilter:207 - Closing single Hibernate Session in OpenSessionInViewFilter


It says that session expired. I guess that it is something to do with configuration. Can you plese give me a hint to make encuastame working. I tried both pre-built war and I also built from source, but result is the same.


Thnak you very much,

Dario








--
Att,

Juan Carlos Picado Herrera
http://about.me/jotadeveloper


Dario Novakovic

unread,
Mar 30, 2012, 5:06:10 PM3/30/12
to encue...@googlegroups.com
Thanks, I finally installed encuestame. Installation wizard completed and I installed demo data.

But I am still not sure if everything is all right. Can you please check the screenshot i attached? 

I expected to see a login link, administration, links to create surveys etc but there is nothing but few links that lead to the same page.

Saludos cordiales

Dario
sc.gif

Juan Carlos Picado

unread,
Mar 30, 2012, 5:22:32 PM3/30/12
to encue...@googlegroups.com
Hi Dario, 

Which database are you using? Seems like dojo widgets are not rendering properly ... Can you check your firebug console?

I installed this morning and all render properly, try with the last pre-release build 1.144


We are fixing bugs frequently and maybe and maybe you have a old bug.

Regards. 

2012/3/30 Dario Novakovic <dari...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "encuestame" group.
To view this discussion on the web visit https://groups.google.com/d/msg/encuestame/-/oV0uLqiepxcJ.
To post to this group, send email to encue...@googlegroups.com.
To unsubscribe from this group, send email to encuestame+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/encuestame?hl=en.

Dario Novakovic

unread,
Apr 1, 2012, 10:48:57 AM4/1/12
to encue...@googlegroups.com
I built latest source from github so I have latest version 1.144 (version number printed on the web page). Database is MySQL 5.5.9 and it works OK, no DB errors in the log.

It has to be dojo problem, but I wasn't able to diagnose it using firebug.

I downloaded dojo-src and extracted it to encuestame-war/resources/js so directory layout looks like this

+--css
|  +--mobile
|  \--web
+--images
|  +--icons
|  +--logos
|  +--social
|  \--upload
\--js
   +--dijit
   +--dojo
   +--dojox
    +--encuestame
   |  \--org
   |     +--activity
   |     +--core
   |     +--main
   |     \--mobile
    \--req
 
I probably didn't install dojo properly. I tried to follow dojo installation instructions from your manual but I can't run dojo.sh on windows so I tried to replicate what script does. Script copies "org" folder but it doesn't exist in dojo-src1.6.1.

     [java] release:  Copying: ../../dojo/../../encuestame-war/src/main/webapp/resource/js/org to: D:/work/encuestame/src/encuestame-war/target/dojo-compiled/dojo/org
     [java] release:   ********** Not Copied: ../../dojo/../../encuestame-war/src/main/webapp/resource/js/org
     [java] release:  Copying: ../../dojo to: D:/work/encuestame/src/encuestame-war/target/dojo-compiled/dojo/dojo
     [java] release:  Building dojo.js and layer files
     [java] error loading uri: D:/work/encuestame/src/encuestame-war/target/dojo-compiled/dojo/encuestame/org/activity/Activity.js, exception: Error: Could not load 'dojox.cometd.reload'; last tried 'D:/work/encuestame/src/encuestame-war/target/dojo-compiled/dojo/dojox/cometd/reload.js'
------------------------------------------------------------------------
BUILD ERROR


Have you got any idea what may be wrong?

Thanks!

Dario Novakovic

unread,
Apr 1, 2012, 7:20:40 PM4/1/12
to encue...@googlegroups.com
I downloaded latest source from github and built it myself, when i go to encuesta home page, it says v 1.144.

Database is mysql 5.5.9 and it works OK, no errors in the log.

It must be something to do with dojo, but i didn't see any errors in the firebug. I tried installing dojo by manually extracting dojo distribution to resource/js but it didn't help. (I cant run dojo.sh on windows)

I also tried extracting  dojo-src to dojo folder and running build but i get this:

[java] clean:  Deleting: D:/work/encuestame/src/encuestame-war/target/dojo-compiled/dojo
[java] release:  Using profile: D:\work\encuestame\src\encuestame-war/src/main/webapp/resource/js/encuestame.profile.js
[java] release:  Using version number: 1.6.0 for the release.
[java] release:  Deleting: D:/work/encuestame/src/encuestame-war/target/dojo-compiled/dojo
[java] release:  Copying: ../../dojo/../../encuestame-war/src/main/webapp/resource/js/encuestame to: D:/work/encuestame/src/encuestame-war/target/dojo-compiled/dojo/encuestame
[java] release:  Copying: ../../dojo/../dijit to: D:/work/encuestame/src/encuestame-war/target/dojo-compiled/dojo/dijit
[java] release:  Copying: ../../dojo/../dojox to: D:/work/encuestame/src/encuestame-war/target/dojo-compiled/dojo/dojox

[java] release:  Copying: ../../dojo/../../encuestame-war/src/main/webapp/resource/js/org to: D:/work/encuestame/src/encuestame-war/target/dojo-compiled/dojo/org
[java] release:   ********** Not Copied: ../../dojo/../../encuestame-war/src/main/webapp/resource/js/org
[java] release:  Copying: ../../dojo to: D:/work/encuestame/src/encuestame-war/target/dojo-compiled/dojo/dojo
[java] release:  Building dojo.js and layer files
[java] error loading uri: D:/work/encuestame/src/encuestame-war/target/dojo-compiled/dojo/encuestame/org/activity/Activity.js, exception: Error: Could not load 'dojox.cometd.reload'; last tried 'D:/work/encuestame/src/encuestame-war/target/dojo-compiled/dojo/dojox/cometd/reload.js'

Why dojo isn't distributed with encuestame? Can you please let me know what needs to be in the resource/js directory? How do I "replace" comet?

 

Juan Carlos Picado

unread,
Apr 4, 2012, 6:59:36 AM4/4/12
to encue...@googlegroups.com
Hi Dario,

I tested last build on Windows XP and I made several changes.
  •  Integrated dojo 1.6.1 inside the build, we discard this options to avoid dirt the project, but on "no-linux" SO integrate dojo library with bash script is very difficult.
  •  I removed customized taglibs to inject dojo widgets in the context, not works properly on windows (mistery)
I attached a image and I installed from the start and works fine.

I hope this changes help you to run on Windows systems.

Please update the last changes on development branch.

Regards

2012/4/2 Dario Novakovic <dari...@gmail.com>


 

--
You received this message because you are subscribed to the Google Groups "encuestame" group.
To view this discussion on the web visit https://groups.google.com/d/msg/encuestame/-/nMsU5lGB15UJ.

To post to this group, send email to encue...@googlegroups.com.
To unsubscribe from this group, send email to encuestame+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/encuestame?hl=en.
Captura de pantalla 2012-04-04 a las 12.45.26.png
Reply all
Reply to author
Forward
0 new messages