The Energy Detective Forums
May 27, 2018, 08:25:46 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: New TED Support forum launched!!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: TED AggreData Beta
TedDev
TED Software Developent
Administrator
Full Member
*****
Posts: 158


« on: June 13, 2012, 06:54:25 PM »

We are pleased to announce a limited beta trial of AggreData. For the first beta, we will be accepting a limited number users to sign up via the "Join" link on the login page. After joining, users will be directed to an instructional page on how to add their TED5000's to the system.

http://aggredata.theenergydetective.com

We recommend upgrading to the latest beta of the TED5000 Firmware  to make use of the additional costing features. However, it is not required.

AggreData is an open source web application that allows TED5000 to use the built in Third Party Post feature to upload their usage stats to the web. In addition, for users with more than one TED5000, it allows the data to be aggregated together to provide a combined view of the data. Furthermore, it allows these TED5000's to be grouped together and optionally shared with other users signed into the system.

Please limit any replies to this thread to the AggreData Beta only. All other AggreData questions or comments can be posted to the main AggreData thread: http://www.theenergydetectiveforums.com/index.php/topic,411.0.html
« Last Edit: June 13, 2012, 06:57:15 PM by Support7 » Logged
cjutzi
Newbie
*
Posts: 4


« Reply #1 on: July 27, 2013, 04:06:44 AM »

guys. I've tried building and deploying this on a tomcat server.. I've got somewhere.. Ive built it and reading the README.txt I've created the DB.. .
I get a large # of errors and it just does not appear to work locally on my tomcat server, nor in Eclipse..


Is this the correct forum?..
Here is my console dump for what it's worth.. 3 issues I see..
1) can't find the log4j.xml file.. I've followed the readme and it does not appear to work.. I've placed it most everywhere i think it might find it but no joy
2) it cant find  aggredata.properties  which is probably a bigger deal..
3) it's blowing up with a null pointer when I submit for a new user..

See Below

Jul 26, 2013 5:06:07 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\MyProgramFiles\Java\jdk1.6.0_26\jre\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/MyProgramFiles/eclipse.juno/jre/bin/server;C:/MyProgramFiles/eclipse.juno/jre/bin;C:/MyProgramFiles/eclipse.juno/jre/lib/amd64;c:\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\MyProgramFiles\Maven\apache-maven-3.0.3\bin;C:\MyProgramFiles\cygwin\bin;c:\Program Files\Microsoft SQL Server\100\DTS\Binn;C:\Program Files\TortoiseSVN\bin;c:\users\cjutzi\aws\bin;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;c:\cygwin\bin;;C:\MyProgramFiles\eclipse.juno;;.
Jul 26, 2013 5:06:07 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:aggredata' did not find a matching property.
Jul 26, 2013 5:06:07 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jul 26, 2013 5:06:07 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 749 ms
Jul 26, 2013 5:06:07 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jul 26, 2013 5:06:07 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.32
Jul 26, 2013 5:06:08 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(C:\Users\cjutzi\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\aggredata\WEB-INF\lib\gwt-user-2.4.0.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
Jul 26, 2013 5:06:08 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(C:\Users\cjutzi\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\aggredata\WEB-INF\lib\servlet-api-2.5.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
Jul 26, 2013 5:06:08 PM org.apache.catalina.core.ApplicationContext log
INFO: Set web app root system property: 'webapp.root' = [C:\Users\cjutzi\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\aggredata\]
Jul 26, 2013 5:06:08 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing log4j from [file:aggredata.log4j.xml]
log4j:ERROR Could not parse url [file:aggredata.log4j.xml].
java.io.FileNotFoundException: aggredata.log4j.xml (The system cannot find the file specified)
   at java.io.FileInputStream.open(Native Method)
   at java.io.FileInputStream.<init>(FileInputStream.java:120)
   at java.io.FileInputStream.<init>(FileInputStream.java:79)
   at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
   at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
   at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:653)
   at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:186)
   at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:772)
   at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
   at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
   at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:235)
   at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
   at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:180)
   at org.apache.log4j.xml.DOMConfigurator$2.parse(DOMConfigurator.java:612)
   at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:711)
   at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:618)
   at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:743)
   at org.springframework.util.Log4jConfigurer.initLogging(Log4jConfigurer.java:69)
   at org.springframework.web.util.Log4jWebConfigurer.initLogging(Log4jWebConfigurer.java:151)
   at org.springframework.web.util.Log4jConfigListener.contextInitialized(Log4jConfigListener.java:45)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
   at org.apache.catalina.core.StandardService.start(StandardService.java:525)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Jul 26, 2013 5:06:08 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
WARN  PropertyPlaceholderConfigurer - Could not load properties from URL [file:aggredata.properties]: aggredata.properties (The system cannot find the file specified)
WARN  BoneCPConfig - Please use setIdleConnectionTestPeriodInMinutes in place of setIdleConnectionTestPeriod. This method has been deprecated.
WARN  BoneCPConfig - Please use setIdleMaxAgeInMinutes in place of setIdleMaxAge. This method has been deprecated.
Jul 26, 2013 5:06:10 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jul 26, 2013 5:06:10 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Jul 26, 2013 5:06:10 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/17  config=null
Jul 26, 2013 5:06:10 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 2748 ms
INFO  UserSessionServiceImpl - Looking up user session
INFO  UserSessionServiceImpl - Looking up user session
INFO  UserSessionServiceImpl - No user found in session
INFO  UserSessionServiceImpl - No user found in session
DEBUG UserServiceImpl - Looking up user with username curtXXXXXX@XXXhu.com
DEBUG UserServiceImpl - Looking up user with username curtXXXXXX@XXXhu.com
DEBUG UserDAO - looking up user object for username curtXXXXXX@XXXhu.com
DEBUG UserDAO - looking up user object for username curtXXXXXX@XXXhu.com
DEBUG UserServiceImpl - Checking user configuration for User{id:2, username:curtXXXXXX@XXXhu.com, defaultGroupId:0, role:ROLE_USER}
DEBUG UserServiceImpl - Checking user configuration for User{id:2, username:curtXXXXXX@XXXhu.com, defaultGroupId:0, role:ROLE_USER}
DEBUG GroupServiceImpl - Returning all groups for the user User{id:2, username:curtXXXXXX@XXXhu.com, defaultGroupId:0, role:ROLE_USER}
DEBUG GroupServiceImpl - Returning all groups for the user User{id:2, username:curtXXXXXX@XXXhu.com, defaultGroupId:0, role:ROLE_USER}
INFO  UserSessionServiceImpl - Creating new user User{id:null, username:curtXXXXXX@XXXhu.com, defaultGroupId:0, role:null}
INFO  UserSessionServiceImpl - Creating new user User{id:null, username:curtXXXXXX@XXXhu.com, defaultGroupId:0, role:null}
DEBUG UserServiceImpl - creating user User{id:null, username:curtXXXXXX@XXXhu.com, defaultGroupId:0, role:ROLE_USER}
DEBUG UserServiceImpl - creating user User{id:null, username:curtXXXXXX@XXXhu.com, defaultGroupId:0, role:ROLE_USER}
DEBUG UserDAO - User already exists. Skipping create. user=User{id:null, username:curtXXXXXX@XXXhu.com, defaultGroupId:0, role:ROLE_USER}
DEBUG UserDAO - User already exists. Skipping create. user=User{id:null, username:curtXXXXXX@XXXhu.com, defaultGroupId:0, role:ROLE_USER}
DEBUG UserDAO - looking up user object for username curXXXX@xxhu.com
DEBUG UserDAO - looking up user object for username curXXXX@xxhu.com
DEBUG UserServiceImpl - Checking user configuration for User{id:2, username:curXXXX@xxhu.com, defaultGroupId:0, role:ROLE_USER}
DEBUG UserServiceImpl - Checking user configuration for User{id:2, username:curXXXX@xxhu.com, defaultGroupId:0, role:ROLE_USER}
DEBUG GroupServiceImpl - Returning all groups for the user User{id:2, username:curXXXX@xxhu.com, defaultGroupId:0, role:ROLE_USER}
DEBUG GroupServiceImpl - Returning all groups for the user User{id:2, username:curXXXX@xxhu.com, defaultGroupId:0, role:ROLE_USER}
DEBUG UserServiceImpl - Changing user's password
DEBUG UserServiceImpl - Changing user's password
DEBUG UserDAO - Saving user User{id:2, curXXXX@xxhu.com, defaultGroupId:0, role:ROLE_USER}
DEBUG UserDAO - Saving user User{id:2, curXXXX@xxhu.com, defaultGroupId:0, role:ROLE_USER}
INFO  EmailServiceImpl - Send Activation email requested for User{id:2, username:curXXXX@xxhu.com, defaultGroupId:0, role:ROLE_USER}
INFO  EmailServiceImpl - Send Activation email requested for User{id:2, username:curXXXX@xxhu.com, defaultGroupId:0, role:ROLE_USER}
INFO  UserServiceImpl - Saving user information
INFO  UserServiceImpl - Saving user information
DEBUG UserDAO - Saving user User{id:2, username:curtXXXXXX@XXXhu.com, defaultGroupId:0, role:ROLE_USER}
DEBUG UserDAO - Saving user User{id:2, username:curtXXXXXX@XXXhu.com, defaultGroupId:0, role:ROLE_USER}
Jul 26, 2013 5:07:05 PM org.apache.catalina.core.ApplicationContext log
SEVERE: Exception while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract int com.ted.aggredata.client.guiService.UserSessionService.validateCaptcha(java.lang.String,java.lang.String,java.lang.String,com.ted.aggredata.model.User)' threw an unexpected exception: org.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;
  nested exception is:
   java.net.ConnectException: Connection refused: connect. Failed messages: javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;
  nested exception is:
   java.net.ConnectException: Connection refused: connect; message exceptions (1) are:
Failed message 1: javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;
  nested exception is:
   java.net.ConnectException: Connection refused: connect
   at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:385)
   at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:588)
   at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
   at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
   at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
   at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
   at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
   at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
   at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:101)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
   at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
   at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
   at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
   at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
   at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
   at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
   at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Thread.java:662)
Caused by: org.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;
  nested exception is:
   java.net.ConnectException: Connection refused: connect. Failed messages: javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;
  nested exception is:
   java.net.ConnectException: Connection refused: connect; message exceptions (1) are:
Failed message 1: javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;
  nested exception is:
   java.net.ConnectException: Connection refused: connect
   at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:400)
   at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:340)
   at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:355)
   at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:344)
   at com.ted.aggredata.server.services.impl.EmailServiceImpl.sendActivationEmail(EmailServiceImpl.java:124)
   at com.ted.aggredata.server.guiServiceImpl.UserSessionServiceImpl.validateCaptcha(UserSessionServiceImpl.java:182)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
   ... 38 more
Caused by: javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;
  nested exception is:
   java.net.ConnectException: Connection refused: connect
   at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1934)
   at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:638)
   at javax.mail.Service.connect(Service.java:295)
   at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:389)
   ... 48 more
Caused by: java.net.ConnectException: Connection refused: connect
   at java.net.PlainSocketImpl.socketConnect(Native Method)
   at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
   at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
   at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
   at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
   at java.net.Socket.connect(Socket.java:529)
   at java.net.Socket.connect(Socket.java:478)
   at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:288)
   at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:231)
   at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1900)
   ... 51 more
« Last Edit: July 29, 2013, 08:31:16 PM by cjutzi » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!