Skip to content

Instantly share code, notes, and snippets.

View matzew's full-sized avatar
💩
hacking hacking hacking!

Matthias Wessendorf matzew

💩
hacking hacking hacking!
  • Red Hat
  • Emsdetten, Germany
View GitHub Profile
2014/04/22 19:07:06,359 INFO [org.jboss.aerogear.unifiedpush.service.sender.impl.SenderServiceImpl] (EJB default - 9) Processing send request with 'UnifiedPushMessage [criteria=[aliases=null, deviceTypes=null, categories=null, variants=null], simplePush=null, alert=Hello World!, sound=default, badge=1, data={ttl=3600}, time-to-live=-1, content-available=false]' payload
2014/04/22 19:07:06,425 WARNING [org.jboss.aerogear.unifiedpush.message.sender.GCMPushNotificationSender] (EJB default - 9) Error sending messages to GCM server
2014/04/22 19:07:06,426 ERROR [stderr] (EJB default - 9) javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
2014/04/22 19:07:06,429 ERROR [stderr] (EJB default - 9) at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
2014/04/22 19:07:06,430 ERROR [stderr] (EJB default - 9) at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1884)
2014/04/22 19:07:06,431
@matzew
matzew / cordova.md
Last active August 29, 2015 14:03
Cordova/JS Release Process

Requirements

  • Have gpg-agent installed, configured and running. One way to be sure to check if your gpg agent is running correctly is to encrypt and decrypt a file, using the gpg tool, don't forget to pass the --use-agent option, you should be prompted with a dialog (depending on your OS asking for your pass phrase). Now try to decrypt again, you hsould not be asked again for your pass phrase : your agent is working.

Release process

Preparation

Once the code is ready to be released, create a branch that indicates the version, e.g. 0.5.0-release and send a heads-up (or vote) email to the mailing list asking to test the bits before we do release.

@matzew
matzew / iOS.md
Created July 8, 2014 07:04
iOS release process

Requirements

  • Have gpg-agent installed, configured and running. One way to be sure to check if your gpg agent is running correctly is to encrypt and decrypt a file, using the gpg tool, don't forget to pass the --use-agent option, you should be prompted with a dialog (depending on your OS asking for your pass phrase). Now try to decrypt again, you hsould not be asked again for your pass phrase : your agent is working.

Release process

Preparation

Once the code is ready to be released, create a branch that indicates the version, e.g. 0.5.0-release and send a heads-up (or vote) email to the mailing list asking to test the bits before we do release.

The iOS-Cordova code snippet on the AdminUI looks like

var pushConfig = {
    pushServerURL: "http://192.168.178.20:8080/ag-push/",
    
    variantID: "ac0fb269-9ba3-4a70-ad28-eac80c0ab0a0",
    variantSecret: "c6dfd380-cf4e-465d-b095-a3b411e92de8"
};
@matzew
matzew / vivek.patch
Created July 11, 2014 14:33
Vivek's patch
Index: api/Installation.java
===================================================================
--- api/Installation.java (revision 619)
+++ api/Installation.java (working copy)
@@ -123,4 +123,8 @@
String getSimplePushEndpoint();
+ public String getVariantID();
+
{
"channelID":"d9b74644-4f97-46aa-b8fa-9393985cd6cd",
"messageType":"register",
"pushEndpoint":"https://updates.push.services.mozilla.com/update/nvz9eKUyT0_iSDToFk5sYWlFbC…ZQ1tZMwp7vxuAoargruSMNW2vE62T4NcoK9KxcQ8H-EcrowYDF-atPPFQWhZhPqCZ1F-u7Dg==",
"status":200,
"uaid":"389c21c8402dc505809d2cabacdccd7e"
}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile (default-testCompile) on project tomee-util: Compilation failure: Compilation failure:
[ERROR] /Users/matzew/TomEE/tomee/tomee/tomee-util/src/test/java/org/apache/tomee/util/SimpleTomEEFormatterTest.java:[21,17] package org.junit does not exist
[ERROR] /Users/matzew/TomEE/tomee/tomee/tomee-util/src/test/java/org/apache/tomee/util/SimpleTomEEFormatterTest.java:[27,24] package org.junit does not exist
[ERROR] /Users/matzew/TomEE/tomee/tomee/tomee-util/src/test/java/org/apache/tomee/util/SimpleTomEEFormatterTest.java:[27,1] static import only from classes and interfaces
[ERROR] /Users/matzew/TomEE/tomee/tomee/tomee-util/src/test/java/org/apache/tomee/util/SimpleTomEEFormatterTest.java:[31,6] cannot find symbol
[ERROR] symbol: class Test
[ERROR] location: class org.apache.tomee.util.SimpleTomEEFormatterTest
[ERROR] /Users/matzew/TomEE/tomee/tomee/tomee-util/src/test/java/org/apache/tomee/util/SimpleTomEEFormatterTest.j
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.jboss.quickstarts.wfk:jboss-contacts-mobile-picketlink-secured:1.0.0.Beta2-SNAPSHOT (/Users/matzew/TEMP/QUICKI/aerogear-push-quickstarts/server/contacts-mobile-picketlink-secured/pom.xml) has 27 errors
[ERROR] Non-resolvable import POM: Could not find artifact org.jboss.spec:jboss-javaee-6.0:pom:3.0.2.Final-redhat-11 in central (http://repo.maven.apache.org/maven2) @ org.jboss.bom.wfk:jboss-javaee-6.0-with-tools:[unknown-version], /Users/matzew/.m2/repository/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.6.0-redhat-1/jboss-javaee-6.0-with-tools-2.6.0-redhat-1.pom, line 42, column 25 -> [Help 2]
[ERROR] Non-resolvable import POM: Could not find artifact org.jboss.bom.wfk:jboss-javaee-6.0-with-deltaspike:pom:2.6.0-redhat-1 in central (http://repo.maven.apache.org/maven2) @ line 99, column 25 -> [Help 2]
[ERROR] Non-resolvable import POM: Could not find artifact org.jboss.bom.eap:jboss-javaee-6.0-with-hibernate
console.log(window.location.hostname)
upsbeta2-pushee.rhcloud.com
console.log(window.location.port)
8443
console.log(window.location.host)
upsbeta2-pushee.rhcloud.com:8443