BES push - URL of BPA in the sample applications
Hi all
I'm testing the applications provided with the Blackberry PushSDK. Under Configuration push, there is BPA URL: and its default value is set to http://pushapi.eval.blackberry.com
When I try to record a device, it fails with a return 403 because I never registered with rim. But I'm only interested in using the application with a BES. Should I provide here? You still need to register with the rim if you use it with a BES only?
Or should I use localhost: 8080 for the address? What to do. Impossible to find all the information in the docs in http://docs.blackberry.com/en/developers/subcategories/?userType=21&category=BlackBerry+Push+Service...
Any help is appreciated,
Thank you
Got, it works.
Necessary re - install.
The url of BPA can be ignored. Must configure the Base URL of PPG as your address of MDS Simulator, mine was localhost: 8080. Then, when installing SDK change port for the server part of use something other than 8080 and browse the code, needs some changes to avoid exceptions are thrown due to the recording of BPA part.
If there are any other questions let me know.
Tags: BlackBerry Developers
Similar Questions
-
Cannot install the sample applications manually
Hello
I'm having a time difficult installation SDK push sample applications on a remote computer. I try a manual install of Tomcat. The machine runs on Linux Red Hat.
The error I get is:
[org.springframework.web.context.ContextLoader.initWebApplicationContext()] - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'registerListeners' defined in class path resource [sample-push-initiator-context.xml]: Invocation of init method failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)
It looks like a problem with the JDBC connector, but I do not know how to solve. Among the things that I've done are:
- Generate the database manually.
- Fill the PushSDK.properties with the database and JDBC information. Copy this file in each directory WEB-INF/classes of applications examples of
- Copy the mysql connector jar file in the directory WEB-INF/lib of each application
- Edit the file app.properties with the information from my BB (app id, base url PGG etc.). Copied in the directory WEB-INF/classes of applications. I did the same thing with suspension - context.xml and app - context.xml
- Edit conf/server.xml of Tomcat to set the http and https ports and the UTF-8 encoding for the request URL query component. In fact, I have only port 8080 available in the machine and I have configured HTTPS to work.
- A self-signed certificate and shows its location in the conf/server.xml file. Indicates its location in conf/server.xml
- Edit bin/catalina.sh to set the JAVA_OPTS UTF-8 encoding
The initial Tomcat page seem to be working in https://machine_ip:8080.
But there are errors with the BB apps:
- https://machine_ip:8080 / sample-push-initiator returns 404
- https://machine_ip:8080 / pushsdk returns 404
- https://machine_ip:8080 / debug-Portal opens the Debug Portal, but displays the following message:
Internal Server Error: Sorry, we are unable to properly process your request at this time. Please contact a system administrator to investigate the problem by examining the logs.
Does anyone have an idea of what's going on? I would be very help appretiate
Best regards
Maria
Hi all!
Finally, I could solve this problem. MySQL was not allowing the JDBC connection. I have
delete the line:
skip-networking
in MySQL configuration file (/ etc/my.cnf) and now the sample applications seem to work ok.
I still cannot subscribe to the good customer, but that's another story...
Kind regards
Maria
-
Confusion in the sample application on the client side
Hello
I write a client side app to push BB. I found an example of code in Push_applications_for_the_BlackBerry_Enterprise_Server-Development_Guide--915141-1116110032-001-US.pdf. There is no mention of App ID, URL of the bps or initiator push URL of the application of this code. I also checked the sample application provided with the SDK of the Push Service. He got all these things.
I'm confused, that these things are necessary or not. Also, I read somewhere that the customer must register with the initiator of push, it's a mandatory step?
Code who should I implement, for client push, working with the infrastructure based BB server push?
If you use the BlackBerry Push infrastructure to push, then you will need to have the unit register / subscribe in order to receive the shoot.
-
Cannot compile the sample applications with the native SDK BB10
Hello
I downloaded the BB10 (10.0.4) native SDK and the sample application pack. However, some of the sample apps fail to compile (AudioControl and BelligerentBlocks, for example). The target isn't the playbook (Simulator).
I get an error do the following:
make [2]: * [C:/ndk-10.0.4-workspace/AudioControl/arm/o.le-v7/AudioControl] error 1
make [1]: * [all] error 2
make: * [all] error 2Looking at the newspapers of generation, I receive the following linker error:
'C:/ndk-10.0.4-workspace/AudioControl/arm/o.le-v7 '.
C:\bbndk-10.0.4-beta\host\win32\x86\usr\bin\ntoarm-ld: Notes: 'screen_get_window_property_pv' is defined in DSO C:/bbndk-10.0.4-beta/target/qnx6/armle-v7/usr/lib/libscreen.so.1 try so add to the linker command line
make [1]:Am I missing something obvious? I'm competely new to makefiles, so if anyone has a suggestion, it would be welcome.
Thank you.
The latest NDK for Playbook is available from: //developer.blackberry.com/native/download/
For waterfalls NDK 10.0.4, follow the instructions in Momentics content/getting started/Getting Started Guide Help/help / install and set up the Simulator
-
Build and deploy the sample application Rssnews
Hi all
I'm trying to build and deploy the sample application for my Dev Alpha a. Rssnews.
I use the 4 SDK beta
He seems to build ok, but when it tries to install it on the Dev Alpha I get the following error
Deployment Failed: Info: Sending request: Install and Launch Info: Action: Install and Launch Info: Debug native: on Info: File size: 238114 Info: Installing com.example.bb10samples.data.rssnews.testDev_ata_rssnewsc73a2b56... Info: Processing 238114 bytes actual_dname:: actual_id:: actual_version:: result::failure 821 Application-Requires-System: unrecognized system name 'BlackBerry 10'
I also have an appliance version mismatch error but I belive it can be ignored.
Thank you very much
Solved this problem by updating the software Dev Alpha at 10.0.9.1103.
-
Hello
I'm new to APEX and want to learn something related to the geolocation thing, APEX 5.0.2 running on XE, when I tried to install the sample application geolocation showcase, I got the following error:
Error on line 22: PLS-00201: identifier ' ORDIMAGE. PROCESSCOPY' must be declared
After some research, I found that the package eba_spatial_sample was not created correctly, and it gave me error when I try to compile the package:
Compilation failed, line 22 (01: 37:34)
PLS-00201: identifier ' ORDIMAGE. PROCESSCOPY' should be omitted declaredCompilation, line 22 (01: 37:34)
PL/SQL: statement ignoredCompilation failed, line 65 (01: 37:34)
PLS-00201: identifier ' ORDIMAGE. GETMETADATA' should be omitted declaredCompilation, line 65 (01: 37:34)
PL/SQL: Statement ignored
Seems to be something related to the ORDIMAGE object, everyone has an idea about that?
Thank you much in advance.
Dong
Jerry Dong wrote:
I'm new to APEX and want to learn something related to the geolocation thing, APEX 5.0.2 running on XE, when I tried to install the sample application geolocation showcase, I got the following error:
Error on line 22: PLS-00201: identifier ' ORDIMAGE. PROCESSCOPY' must be declared
After some research, I found that the package eba_spatial_sample was not created correctly, and it gave me error when I try to compile the package:
Compilation failure, line 22 (01: 37:34)
PLS-00201: identifier ' ORDIMAGE. PROCESSCOPY' must be declaredCompilation failed, line 22 (01: 37:34)
PL/SQL: Statement ignoredCompilation failed, 65 line (01: 37:34)
PLS-00201: identifier ' ORDIMAGE. GETMETADATA' must be declaredCompilation failed, line 65 (01: 37:34)
PL/SQL: Statement ignored
Seems to be something related to the ORDIMAGE object, everyone has an idea about that?
ORDImage is an Oracle's Multimedia component. Oracle multimedia is not included in 11 g Express Edition...
Upgrade to the Standard or Enterprise edition if you need multimedia features or features depend on.
The Oracle index , however, is available in all editions of the database. See the database Express Edition 2 day more Locator Developer Guide for a tutorial and examples.
-
where to find data to run the sample applications
Hello
I loaded the sample applications, but there is no data
where is it possible to find a script for LOAS in demonstration base data
FOR EXAMPLE: to use the sample application tree, we need data in EBA_DEMO_TREE_PROJECTS
concerning
user_fr_cg63 wrote:
I loaded the sample applications, but there is no data
where is it possible to find a script for LOAS in demonstration base data
FOR EXAMPLE: to use the sample application tree, we need data in EBA_DEMO_TREE_PROJECTS
Data should be created automatically on the installation of the application using the function to support objects .
If I install the application of tree-sample on apex.oracle.com then 9 lines are created in EBA_DEMO_TREE_PROJECTS.
Lack of data suggests that there was a problem during the installation. You can check this by clicking on the icon to support objects on the application home page, then install view summary in the taskbar on the right.
-
Cannot deploy the sample applications of the MAF
I try to install some of the sample applications on the MAF ( jdev_install/jdeveloper/jdev/extensions/oracle.maf/Samples Directory) on my Android (version 4.4.2) phone without success.
I use jDev build JDEVADF_12.1.3.0.0_GENERIC_140521.1008.S
If I have a deployment on an Android package using default deployment profiles, I get the following error:
"Impossible to deploy the profile because the project 'ViewController.jpr' is not a MAF ApplicationController or ViewController project. (oracle.adfmf.framework.dt.deploy.features.deployers.FeatureArchiveDeployer).
I searched this error in this forum and found this:
Then I updated the patch of the MAF, and I still get the same error.
I then fiddled around a bit dependencies of properties/deployment/Android1/Application Profile
Now I can deploy on my phone, but the application hangs on the splash screen. Can anyone advise on what things should be checked in the profile dependencies?
OK, I finally understood what is the question.
After installing the patch of the MAF, jDev so ask to restart your computer, but for some reason any on my computer this can last from a few minutes to a few days! The first time that I installed the patch, after a reboot, through the Assistant jDev update request I clicked on OK and jDev stop and waited so he could restart. 5 minutes later, it started so I thought I'd launch myself, so I did. But what I didn't know that in my list of system processes, jDev was still working (perhaps even install the patch). Here's a screenshot of my system process (that I took during my third attempt, since I suspect something):
Thus, while this process jDev was hanging out, I started jDev myself and ended up having two jDev processes running. One that I started manually didn't have the MAF Patch applied, but I thought he did it because I just went through the Update Wizard.
And so all the trouble, I have tried to deploy the sample applications of the MAF.
I didn't knew that this much later because a few days later, a splash jDev screen suddenly arisen WHILE I was USING jDev, I knew was because the first time, install the patch jDev prompted to restart the computer.
Only on the third time reinstall jDev and the patch of the MAF has waited more jDev to restart, and when he finally did restart on its own (3 minutes later) that I checked my installation of the fix for the MAF and found that it was installing successfully.
I then tried to deploy the sample applications of the MAF again and this time it worked.
So, in summary, because he took if jDev long reboot after installation of the patch of the CRG, I advanced and started jDev myself, but this instance of jDev, I started upward has not installed the fix of the MAF, and so the trouble I had to deploy the samples of the MAF.
I hope that something can be improved here so that other users the same tracks as I do not work in the same problems in the future. It can be as simple as a message before reboot in saying the user to wait jDev restart on its own, otherwise their patch will not install.
Thanks for your time.
-
How to initialize the sample application in Planning 11.1.2.2
Hello
After creating the sample application in Planning 11.1.2.2, how to initialize it.Connect to the application, the Administration > Application > manage applications
Select the application, click Action > initialization.See you soon
John
http://John-Goodwin.blogspot.com/ -
We just applied the fix 4.0.2.00.07 on our environment to TEST APEX4.0.
Now, I can not run the sample application. "When I run the application, log in using either the administrator or the user of demo with the #lower_case_workspace_name #", the browser generates the following error message:
ORA-06550: line 2, column 8: PLS-00201: identifier 'CUSTOM_AUTH' must be declared ORA-06550: line 2, column 1: PL/SQL: statement ignored
ERR-10460 error cannot perform the function of verification of the authentication credentials.
The sample application works very well on our DEV APEX 4.0.0.00.46 environment * without * the patch set 4.0.2.00.07.
Does anyone have an idea how to solve this problem
Thank youHello
Ensure that the CUSTOM_AUTH & CUSTOM_HASH functions exist in the scheme of the analysis of the sample application.
CITY
-
Can we push through the BES/MDS to a server outside the company application?
Hi, we are developing a cloud-based management platform web mobile device for businesses. If the push initiator server would be located on our enterprise network or data centers, and it will not be inside the company of any particular network. In this case, our server in the cloud could still push the unit to a company through their Server BES/MDS? I guess that the SDM cannot be accessed from outside the company, but somehow I could not a confirmation of research.
Could someone with experiments to confirm?
I don't think that this is possible. The BES is the internal network that secures the way BlackBerry.
-
The sample application BB10 NDK Gamepad of build error
Hi all
I got this error during sample application the build Gamepad:
/Users/MyMac/BB10/Gamepad/main.c:322:34: error: 'SCREEN_DPAD_UP_GAME_BUTTON' undeclared (first use in this function) /Users/MyMac/BB10/Gamepad/main.c:322:34: note: each undeclared identifier is reported only once for each function it appears in /Users/MyMac/BB10/Gamepad/main.c:331:34: error: 'SCREEN_DPAD_DOWN_GAME_BUTTON' undeclared (first use in this function) /Users/MyMac/BB10/Gamepad/main.c:340:34: error: 'SCREEN_DPAD_LEFT_GAME_BUTTON' undeclared (first use in this function) make[2]: Leaving directory `/Users/MyMac/BB10/Gamepad/arm/o.le-v7' make[1]: Leaving directory `/Users/MyMac/BB10/Gamepad/arm' /Users/MyMac/BB10/Gamepad/main.c:349:34: error: 'SCREEN_DPAD_RIGHT_GAME_BUTTON' undeclared (first use in this function) /Users/MyMac/BB10/Gamepad/main.c:355:34: error: 'SCREEN_A_GAME_BUTTON' undeclared (first use in this function) /Users/MyMac/BB10/Gamepad/main.c:360:34: error: 'SCREEN_B_GAME_BUTTON' undeclared (first use in this function) /Users/MyMac/BB10/Gamepad/main.c:365:34: error: 'SCREEN_X_GAME_BUTTON' undeclared (first use in this function) /Users/MyMac/BB10/Gamepad/main.c:370:34: error: 'SCREEN_Y_GAME_BUTTON' undeclared (first use in this function) /Users/MyMac/BB10/Gamepad/main.c:376:34: error: 'SCREEN_L1_GAME_BUTTON' undeclared (first use in this function) /Users/MyMac/BB10/Gamepad/main.c:381:34: error: 'SCREEN_R1_GAME_BUTTON' undeclared (first use in this function) /Users/MyMac/BB10/Gamepad/main.c:387:35: error: 'SCREEN_MENU1_GAME_BUTTON' undeclared (first use in this function) /Users/MyMac/BB10/Gamepad/main.c:392:35: error: 'SCREEN_MENU2_GAME_BUTTON' undeclared (first use in this function) cc: /Applications/bbndk/host_10_0_9_284/darwin/x86/usr/lib/gcc/arm-unknown-nto-qnx8.0.0eabi/4.6.3/cc1 error 1 make[2]: *** [main.o] Error 1 make[1]: *** [all] Error 2 make: *** [all] Error 2
Appreciate any help
Thank you.
Make sure that you use the latest NDK (10.0.9.1673). You will get these errors with previous versions of NDK.
-
Hello
today I'm trying to get strong () public static void blackberry.invoke.query working in my HTML5 application with the last frame bbUI. However, even in the example of community invoke query , it does not in my web Inspector. I always get this: "Eception TypeError: object [object Object] has no method 'query'". "
With blackberry.invoke.invoke () everything works fine, but I want a list of applications that can call my text, so I need blackberry.invoke.query (). Everyone knows about this problem?
Thanks in advance for your help.
Yes BB10, I just tested the sample on the device and it worked, the error just seems to be in the emulator to ripple. Sorry for that. I need to build my own page-selector based on a response to select a what application, or is there something out of the box as in the cascades?
-
How to change the data quotes.db of the sample applications
Hai guys,
I have a question, I want to learn more about the use of the database. I read the documentation and I still don't understand. I try to learn with the sample apps (quotes) and I don't know how to change data on the quotes.db database. I wish that I understand:
1. change the data of databases quotes.db
2. work with databases (sqlite)
Please help me, I have a lot of apps idea when I understand working with database. Thanks before
I'm sorry for my bad English
Databases can be difficult to understand, it is a three month course in my college days.
This is not something you can rush and the hurt means that your users data are at risk in order to take the time to go through one of the tutorials online and know well.
It's my favorite online resources (was used for many years) and it includes a section on SQL close enough of SQLite...
Or you can start with this...
http://www.tutorialspoint.com/SQLite/index.htm
If English is not your native language, I'm sure that a google search will find one that is in your own.
-
How do I add other users as "demo, admin" to the sample application?
Hello
I created a user "user287", when I tried with this user id, I can not connect to sample application, how can I do this sample application user access?Hi Nice1,
I think you are using Apex 4.0.2 or lower version, because admin demo of things and not available at the Apex 4.1 or higher
If this isn't the case, please provide details.How to change the authentication scheme
(1) application builder-> shared component-> under Security-> authentication schemes
(2) then you will get to CUSTOMIZE the GAME - running in the current regime
(3) you can change your schema in two ways, either create a new and make current or change the existing one.4) click on existing a PLAN CUSTOM - current
go to the Login processing
under the terms of the function of authentication you now return custom_auth
change now to - BUILTIN-Authentication Function = -BUILTIN-
in this way, you can now change your authentication scheme.
>
For more information on authentication and authorization to download the Documentation below
In the documentation, you can read about
Authentication and
Authorization
>Hope this helps you
Thank you
Jitendra
Maybe you are looking for
-
OS El Capitan on Macbook Air is blocked even on reboot
Hello, I have a Macbook Air El Capitan that hung, several open applications and is still clinging even to reboot. The mouse does not work, so I can't even close individual applications to try to identify the culprit. Open applications are email, Fire
-
Automatic maintenance starts automatically
HOW CAN I STOP MY COMPUTER TO DO MAINTENANCE AUTO THAT I DON'T KNOW WHAT IT IS? MICROSOFT AUTOMATICALLY DOING MAINTENANCE ON MY COMPUTER, EVEN IF I TRY TO NEVER DO WITHOUT CHECKING FIRST WITH ME! IS IT POSSIBLE TO COMPLETELY STOP MY COMPUTER STOP ANY
-
Hello, I have a laptop of Acer ASPIRE 5750 g, and I want to upgrade my RAM (I have 4 GB of RAM, and it supports up to 8 GB). Should what kind of RAM I buy? Thanks in advance. Edit: Care: I7-2630QM (2.0 GHz), GeForce GT 540 M, 4 GB DD3 memory installe
-
HY I have to update windows ' Advanced Micro Devices, Inc. - WDDM1.3 graphics card - AMD Radeon HD 7600 M "couple months there after installation it it stuck on the home screen and I have to fix... Is - this happen because a failed installation or up
-
Guest network never requires password
I set up and provided the password, but when you connect, it never prompt the password. It is completely open, when it is activated. Very weird.