runing launcher off line error
HI I not able to run the launcher if I'm not connected to the internet has any one else had this issue. This is the error , If I run this when connected to internet it runs no problem but at home Im on mobile wifi so I try to have internet off when my credit it low that is how I noticed this issue . Any advice ?? :) SLF4J: Failed to load class org.slf4j.impl.StaticLoggerBinder. SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. Aug 15, 2014 7:25:32 PM org.glassfish.grizzly.http.server.NetworkListener start INFO: Started listener bound to [0.0.0.0:8080] Aug 15, 2014 7:25:32 PM org.glassfish.grizzly.servlet.ServletContextImpl log INFO: Initializing Spring root WebApplicationContext Aug 15, 2014 7:25:33 PM org.glassfish.grizzly.servlet.ServletContextImpl initListeners WARNING: GRIZZLY0052: Exception invoking contextInitialized() on ServletContextListener: org.springframework.web.context.ContextLoaderListener. org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 24 in XML document from class path resource [usergrid-standalone-context.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 24; columnNumber: 119; cvc-elt.1: Cannot find the declaration of element 'beans'. at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:131) at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:527) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:441) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111) at org.glassfish.grizzly.servlet.ServletContextImpl.initListeners(ServletContextImpl.java:160) at org.glassfish.grizzly.servlet.ServletHandler.configureServletEnv(ServletHandler.java:490) at org.glassfish.grizzly.servlet.ServletHandler.start(ServletHandler.java:279) at org.glassfish.grizzly.http.server.HttpHandlerChain.start(HttpHandlerChain.java:149) at org.glassfish.grizzly.http.server.HttpServer.setupHttpHandler(HttpServer.java:296) at org.glassfish.grizzly.http.server.HttpServer.start(HttpServer.java:272) at org.apache.usergrid.launcher.Server.startServer(Server.java:167) at org.apache.usergrid.launcher.App$2.run(App.java:187) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)
[GitHub] incubator-usergrid pull request: Fixes to awscluster Tomcat and Ca...
Github user asfgit closed the pull request at: https://github.com/apache/incubator-usergrid/pull/50 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---
[jira] [Commented] (USERGRID-208) License headers for all XML files
[ https://issues.apache.org/jira/browse/USERGRID-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14098594#comment-14098594 ] ASF GitHub Bot commented on USERGRID-208: - Github user snoopdave commented on the pull request: https://github.com/apache/incubator-usergrid/pull/45#issuecomment-52314055 I see a lot of reformatting in this pull request and that makes it a little difficult to see exactly what changed. The changes seem to reformat from tabs to 2-space indent, which might be fine -- I'm not sure what our convention is for JS code. Any front-end guys want to weigh-in on this PR? License headers for all XML files - Key: USERGRID-208 URL: https://issues.apache.org/jira/browse/USERGRID-208 Project: Usergrid Issue Type: Improvement Affects Versions: 1.0 Reporter: Lewis John McGibbney Assignee: Lewis John McGibbney Priority: Blocker Fix For: 1.0 This issue should add license headers to the following XML files cloudbees.xml maven-metadata-local.xml usergrid-rest-deploy-context.xml -- This message was sent by Atlassian JIRA (v6.2#6252)
Re: push messaging
I forgot to add that it will work with a queue so user load won't be a issue. Sent from my iPhone On 16 Aug 2014, at 2:29 am, Todd Nine todd.n...@gmail.com wrote: Hey Jason, This looks good. Here are a few tips that might help from our current production usage. 1) Most people don't send directly to devices. They usually send to groups or users. The devices are registered to the user via the api, and then they're sent either to the user directly, or a group of users that have devices attached. 2) We had issues with the apns during heavy load. We filed an issue, and it appears someone has documented a workaround. This is why we migrated to the pushy library instead. https://github.com/notnoop/java-apns/issues/134 This sounds like a great contribution, Good Luck! Todd On Thu, Aug 14, 2014 at 8:39 PM, jas...@apps4u.com.au wrote: Hi I've come up with the design on how I'm adding push messaging so If any one how intrested is using this or having it added to main repo please comment on design any idea are welcome . 1- push message notifiers will be attached to groups and each application will get a default notifier that will message all devices for the application (no need to create two notifier just to message iOS or android). 2- will add a push messaging service to the services module. 3 - will add a messaging endpoint to the REST module. (for registering device for push and for trigger , etc) 4 - will add some tests to test service and rest code. 5 - will add to android and iOS sdks so device can handle push and register for push. Im also starting with HTTP access to Android push messaging if I have time or at a latter time I'll add CCS (XMPP) . One thing Ive not decided on is if we should add a Model File to the Core module any input on that would be helpful . Please fell free to look at my fork on bitbucket as the we work on this Im hoping this won't take more then a week Ive put two other guys on it with my self. all are welcome to comment, help ,etc Will use com.notnoop.apns and google.gcm.server August 14 2014 2:01 PM, jas...@apps4u.com.au wrote: that Ok Ive started mine yesterday and engaged 2 programmers yesterday to start so I know I'll be done within a week . So I'll leave to other to decide wether they take my pull request. I don't know your timeline is but with out push this is really not something that can be called turnkey as its the most requested feature of and mobile BaaS. Also I don't really like having two different notifiers for one application one for iOS and one for Android . It would be easy to integrate this with AWS message service as it has the same feature as APIGee push messaging. Which I thought was just AWS SNS. August 14 2014 1:01 AM, Todd Nine todd.n...@gmail.com wrote: Hey Jason, We've already build this at Apigee. We're in the process of contributing it back, but I'm not sure on the timeline of this. It's stable and been in production use for some time. Below is the documentation and the API overview. http://apigee.com/docs/app-services/content/push-notifications-overview We've found our api works well and it's easy for our users to understand and get set up. Internally, we're using our scheduler to perform large batch delivery, and the master/worker distribution semantics to increase the delivery throughput. For the push clients, we're using these libraries iOs https://github.com/relayrides/pushy/tree/master Android https://developer.android.com/google/gcm/client.html Let me know if you have any more question. Later, Todd On Wed, Aug 13, 2014 at 12:11 AM, Matthias Wessendorf mat...@apache.org wrote: On Wed, Aug 13, 2014 at 7:57 AM, jas...@apps4u.com.au wrote: I was thinking that I would use these two packages as Ive got existing code using these two libraries and Ive got client side code that would not take long to add the the ios and Android SDK's that was I get auth for free from the sdk's usergrid and the queue server can be a option either iron.io or beanstalk . com.google.android.gcm.server http://notnoop.github.com/java-apns yep - we, internally, use the same bits August 13 2014 3:44 PM, jas...@apps4u.com.au wrote: Im get one of my team members to download your code and have a look weather this would could be integrated into usergrid. August 13 2014 3:36 PM, Matthias Wessendorf mat...@apache.org wrote: Hello Jason, perhaps you can integrate our UnifiedPush Server (e.g. running on a different box, or on Openshift). It supports the concept of Application: http://staging.aerogear.org/docs/unifiedpush/ups_userguide/admin-ui/#_sending_a_push_notification You can even narrow down to specific platforms (we call them Variants), e.g. just ping all Android (or iOS) users of the Application -Matthias On Wed, Aug 13, 2014 at 7:30 AM, jas...@apps4u.com.au wrote: HI
Re: push messaging
Thanks Todd Ive now going to use the library you recommend , But I thought of another issue that might arise so I thought I asked for your input , Just to give you a bit of background Ive got around 400+ apps running on a php backend I built and Ive got a client that has around 1200 apps running on the same platform. And this is the reason Im using Usergrid I want to move to a platform that can handle schema-less models and can scale better. Any way one thing Ive noticed is that the app owners seems send push messages during the same period which we handled using a queue system which worked for a while then I ended up moving the push message system to its own server's as with Apples APNS it make a binary connection to a port so the limiting factor is the public IP address not the power of the server so we run 3 or more micro instances for push so the queue would just hand off the next message as one of the push servers that has became free (with android no problem just normal HTTP) . So if I run into those issue with only a small amount of apps that were for small businesses so each app only has 1000, 3000 users on average. So from your experience how well would this scale would it be better to have the push servers run on there own instances that way the UserGrid user can create a pool that can fit there needs as tying it to the User-grid instance limits you to the number of nodes (IP Addresses) your running ?? Any advice on how you handled this issue or is it a issue at all. Thanks agin :):) August 16 2014 11:39 AM, Jason Kristian jas...@apps4u.com.au wrote: Thanks. I am sending to groups of users not devices I was just saying that u won't need to have to create a notifier per device type . But when sending messages it to a group Sent from my iPhone On 16 Aug 2014, at 2:29 am, Todd Nine todd.n...@gmail.com wrote: Hey Jason, This looks good. Here are a few tips that might help from our current production usage. 1) Most people don't send directly to devices. They usually send to groups or users. The devices are registered to the user via the api, and then they're sent either to the user directly, or a group of users that have devices attached. 2) We had issues with the apns during heavy load. We filed an issue, and it appears someone has documented a workaround. This is why we migrated to the pushy library instead. https://github.com/notnoop/java-apns/issues/134 This sounds like a great contribution, Good Luck! Todd On Thu, Aug 14, 2014 at 8:39 PM, jas...@apps4u.com.au wrote: Hi I've come up with the design on how I'm adding push messaging so If any one how intrested is using this or having it added to main repo please comment on design any idea are welcome . 1- push message notifiers will be attached to groups and each application will get a default notifier that will message all devices for the application (no need to create two notifier just to message iOS or android). 2- will add a push messaging service to the services module. 3 - will add a messaging endpoint to the REST module. (for registering device for push and for trigger , etc) 4 - will add some tests to test service and rest code. 5 - will add to android and iOS sdks so device can handle push and register for push. Im also starting with HTTP access to Android push messaging if I have time or at a latter time I'll add CCS (XMPP) . One thing Ive not decided on is if we should add a Model File to the Core module any input on that would be helpful . Please fell free to look at my fork on bitbucket as the we work on this Im hoping this won't take more then a week Ive put two other guys on it with my self. all are welcome to comment, help ,etc Will use com.notnoop.apns and google.gcm.server August 14 2014 2:01 PM, jas...@apps4u.com.au wrote: that Ok Ive started mine yesterday and engaged 2 programmers yesterday to start so I know I'll be done within a week . So I'll leave to other to decide wether they take my pull request. I don't know your timeline is but with out push this is really not something that can be called turnkey as its the most requested feature of and mobile BaaS. Also I don't really like having two different notifiers for one application one for iOS and one for Android . It would be easy to integrate this with AWS message service as it has the same feature as APIGee push messaging. Which I thought was just AWS SNS. August 14 2014 1:01 AM, Todd Nine todd.n...@gmail.com wrote: Hey Jason, We've already build this at Apigee. We're in the process of contributing it back, but I'm not sure on the timeline of this. It's stable and been in production use for some time. Below is the documentation and the API overview. http://apigee.com/docs/app-services/content/push-notifications-overview We've found our api works well and it's easy for our users to understand and get set up. Internally, we're using our scheduler to perform large batch delivery,