Accessing an application WebWorks built the database via a Java application
Hi all
My Java application needs to access a database that was created by a WebWorks built application. I see WebWorks encryption applications their databases using the code keys automatically signing. When I first tried to read the database, he said that it was encrypted as IOException: headers are encrypted. Since then, I installed the same key code in my Eclipse IDE to signature and have signed the java application with the same keys used by the WebWorks app. I always seem to get an IOException error, but this time it does not specify the exact error.
Quite simply, I need to use the same database created in the WebWorks app in my Java application. Is it possible if I use the same code key for both signature requests? Or WebWorks uses a completely different algorithm to encrypt data in the database from Eclipse and so cannot use the same database?
Thank you for all your help.
Rob
Yes, the DB is encrypted by default by using the identity of the application (code signing key and I believe in association with the name of the application)
Thus, the type of DB of SQLite that is created from a WebWorks app is different from one created from a Java application, which can be a conflict at stake here.
If you believe that it is a Google Gears database!
https://github.com/BlackBerry/WebWorks/BLOB/master/framework/src/js/html5_init.js#L586
Well Yes, to subsidize bequests to devices BBOS 5.0, which had no WebKit as web rendering engine, Gears is the 'wedge' up here.
For the above reasons, I do not think that its going to be possible for you to achieve what you're trying with SQLite DB. To share data between applications on BBOS, you would need to use a different channel (encrypt the data and save it in the file system, or use your own remote web service + DB)
Tags: BlackBerry Developers
Similar Questions
-
Solaris - Oracle10g - could not connect to the database via the application...
Dear people...
I am facing a problem trying to connect to the database via the application...
This was not the case previously, that something was wrong after the installation of the application.
During the installation of the Application, I had specified the database/SID as "wind".
The application works well up to 10 days, when there is power failure.
Resumption of food, I started the server Solaris (Sparx).
Then started to oracle and listener.
And when tried to start the application could not succeed.
An error in the application log file:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
SVR4 error: 2: no such file or directory
Then follows things:
-------------------------------------------------------------------------------------------
$ su - pdmorcl1
Password:
Sun Microsystems Inc. SunOS 5.10 generic January 2005
bash $
bash-3. $00 sqlplus "virtue sysdba".
SQL * more: Release 10.2.0.1.0 - Production on Thu Oct 21 10:57:16 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connect to an instance is idle.
SQL > startup
ORACLE instance started.
Total System Global Area 1258291200 bytes
Size bytes 1978336 fixed
218107936 variable size bytes
1023410176 of database buffers bytes
Redo buffers 14794752 bytes
Mounted database.
Open database.
SQL > exit
Disconnected from the database to Oracle 10 g Enterprise Edition Release 10.2.0.1.0 - 64 bit Production
With partitioning, OLAP and Data Mining options
departure from lsnrctl bash-3. $ 00
LSNRCTL for Solaris: Version 10.2.0.1.0 - Production on October 21, 2010 10:59:02
Copyright (c) 1991, 2005, Oracle. All rights reserved.
From /d32/pdmorcl1/product/10.2.0/Db_1/bin/tnslsnr: Please wait...
TNSLSNR for Solaris: Version 10.2.0.1.0 - Production
System settings file is /d32/pdmorcl1/product/10.2.0/Db_1/network/admin/listener.ora
Log messages written to /d32/pdmorcl1/product/10.2.0/Db_1/network/log/listener.log
Listen on: (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1)))
Listen on: (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=ffnew.ffpl.com) (PORT = 1521)))
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1)))
STATUS of the LISTENER
------------------------
Alias LISTENER
For Solaris TNSLSNR version: Version 10.2.0.1.0 - Production
Start date October 21, 2010 10:59:02
Uptime 0 days 0 h 0 min 0 sec
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Parameter Listener of the /d32/pdmorcl1/product/10.2.0/Db_1/network/admin/listener.ora file
The listener log file /D32/pdmorcl1/product/10.2.0/Db_1/network/log/listener.log
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=ffnew.ffpl.com) (PORT = 1521)))
Summary of services...
Service 'PLSExtProc' has 1 instance (s).
Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...
"Wind" service has 1 instance (s).
Instance of "wind", status UNKNOWN, has 1 operation for this service...
The command completed successfully
bash-3. $00 pdm90/pdm90@wind
bash: pdm90/pdm90@wind: no such file or directory
bash-3. $00 sqlplus pdm90/pdm90@wind
SQL * more: Release 10.2.0.1.0 - Production on Thu Oct 21 10:59:51 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
SVR4 error: 2: no such file or directory
Enter the user name: pdm90
Enter the password: pdm90
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64 bit Production
With partitioning, OLAP and Data Mining options
SQL >
--------------------------------------------------------------------------------
Now, I'm very new to the world of the Oracle...
I'm stuck here in the last 10 days...
Does someone can give solution to this problem...
Thanks in advance...
Kind regards
ManishHello
ORCL:/D32/orawc/product/10.2.0/Db_1:N
Oracl:/D32/orawind/product/10.2.0/Db_1:N
testwind:/D32/tstuser1/product/10.2.0/Db_1:N
pdmorcl1:/D32/pdmorcl1/product/10.2.0/Db_1:N
Wind:/D32/pdmorcl1/product/10.2.0/Db_1:NSo now, I think that problem is some hand if environment variable at startup of the database. oratab files sows that you have multiple homes of oracle on your server
1 /d32/orawc/product/10.2.0/Db_1
2 /d32/orawind/product/10.2.0/Db_1
3 /d32/tstuser1/product/10.2.0/Db_1
4 /d32/pdmorcl1/product/10.2.0/Db_1Your environment variable must be set correctly when you start the database so that it starts from the good House. Listener could run from any head of mission and your database can register automatically. For your particular case, you should and environment flow as follows and it should work for you
export ORACLE_HOME=/d32/pdmorcl1/product/10.2.0/Db_1 export ORACLE_SID=wind export PATH=$ORACLE_HOME/bin:$PATH
After setting your environment like that, now you conect 'as sysdba' and startup of the database (I think you know how to start the database. If it is already started, stopped and then start early). Now your database said the correct House
Now you pasted above your tnsnames.ora file. Should the tnsnames.ora file $$be to the following Director (in the current home you above)
/D32/pdmorcl1/product/10.2.0/Db_1/network/admin
Now you try to connect you wanted. To make sure everything, also stick out now in the course of execution of the command line
which tnsping which sqlplus which lsnrctl
Salman
-
GNAT's access to any user in the database
Hi all
I need to create a user account that can grant a privilege object on any schema object to a required user. I know that a DBA can do that. But without the DBA role, y at - it another way to do it in Oracle 11 g 2 (worm: 11.2.0.3). Please share your ideas
Thank you
Thanks, Justin. Your answer is useful
-
Client can not access adobe to editing in the browser via an external server
Hello
I have completed the customer site of Muse and have downloaded on its external host without problem.
In the site properties, enable editing in the browser is on.
When I use the same external ftp site you want to connect, I get this:
As my clients technician COMPUTER hosts many sites, I asked him to create a unique login for my client.
If I try to upload the Web site by using this single connection, it is said that the 'folder does not appear to connect to site' & is not that recent changes are not displayed.
Technician COMPUTER does not know what else to do...
I'm a designer using Muse, as I have almost no idea re.code. Please can you help me?
See you soon
Could you describe a little more how you or your customer download site?
With most FTP servers, in order to download your Web site correctly, you must set the name of the subfolder on your server, as the root of your FTP space is probably not the root of your site. On most of the servers, it is a folder named "www" or "htdocs" or another mysterious name.
-
short of space locks roll FORWARD the database
Hi all
My database RAC 11 GR 2 running on both nodes RH5.7 got locked. I tell the cause the disk space RECOVERY satiety than the execution of what the ASMCA shows that the entire roll FORWARD is used (40 GB!)
Furthermore, I try to access the database via sqlplus, I get ORA-00257 (http://ora-00257.ora-code.com/) that mentions
"The most likely cause of this message, it is that the destination device is out of space to store the redo log file.
Now is it possible that an Oracle RAC is unrecoverable, simply because he can't write newspapers? And as we cannot access, we cannot remove these logs?
Help, please920550 wrote:
Now is it possible that an Oracle RAC is unrecoverable, simply because he can't write newspapers?No, it is the opposite: Oracle instance blocked any new database entry to be recoverable.
And as we cannot access, we cannot remove these logs?
Even if archive destination is stored in ASM you can access (for example with the utility asmcmd command line interface).
What you need to do is:
1 backup archived redo logs
2. Remove archived redo logs that have been saved.For example if you use RMAN, you can try
backup archivelog all delete input;
-
problem when the database is started with OEM
Hello
I started the database instance in through OEM. But when I try to connect to the database via command prompt then shows me connected to an instance inactive.
We have the Linux system and I put the SID and ORACLE_HOME environment before you start the command prompt.
Can you grace to enlighten, why this happens?
I did steps below.
Step 1 - set the new database using dbca.
Step 2 - checking the condition of database using OEM.
Step 3 - Open terminal unix and after setting the environment (Oracle home & SID) started the sqlplus it shows below the output...
[oracle@xyzt ~] $ sqlplus "virtue sysdba".
SQL * more: out of 11.2.0.1.0 sea Nov 11 18:25:57 2009
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connect to an instance is idle.
SQL >
Please advice. Thanks in advance.
Kind regards
ShreeMake sure that you have not added a trailing slash to $ORACLE_HOME:
$ echo $ORACLE_HOME /oracle/app/oracle/product/10.2.0/dbhome_1 $ sqlplus / as sysdba SQL*Plus: Release 10.2.0.4.0 - Production on Thu Nov 12 09:06:16 2009 Copyright (c) 1982, 2007, Oracle. All Rights Reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> exit Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production With the Partitioning, OLAP, Data Mining and Real Application Testing options $ export ORACLE_HOME=$ORACLE_HOME/ $ echo $ORACLE_HOME /oracle/app/oracle/product/10.2.0/dbhome_1/ $ sqlplus / as sysdba SQL*Plus: Release 10.2.0.4.0 - Production on Thu Nov 12 09:06:43 2009 Copyright (c) 1982, 2007, Oracle. All Rights Reserved. Connected to an idle instance. SQL> exit Disconnected
-
Hide the username / password when connecting to the database
I need to find a way to hide the user name / password when connecting to the database (via a script), or by encryption or any other method that hides this information when I connect to the database.
I use Oracle 11 g.
I tried with the portfolio method, but could not connect to the database of the error below, even the user name and password:
ERROR:
ORA-01017: invalid username / password; connection refused
I plugged this way (after the cover configuration):
sqlplus /@DB
Please help me.
Concerning
Luiza
Hi Luiza,
Try to find out why the portfolio method does not work, check the implementation using ref 340559.1 Note
Check also for example client and server versions / compatibility, evolves sec_case_sensitive_logon relevant parameter (as a test, because it must be true) etc.
Greetings,
Damage ten Monkshood
-
Cannot access a shared folder on the network of the virtual machine
I don't know if this has been posted before, but I'll provide my contact information and appreciate the help.
I have Windows 7 (32 bit) on the desktop connected to Windows Vista Home Premium (64) on laptop via the cable network. On laptop, I am running XP Pro SP3 on a virtual machine. While I can access a shared folder on the desktop via the laptop, in the virtual when I go to the computers in the workgroup, and even if I see the same files and printers shared on the laptop, when I click on one of them, I get a message that
Desktop\Documents is not accessible. In the virtual, I have connected network bridged with replication verified physical network connection status. On the desktop and portable (host), I can access folders in the virtual (name-letters and numbers). The shared folder on the desktop is shared to everyone. What Miss me?Thank you
Hello
Check out the options to simple file sharing in windows 7
http://www.home-network-help.com/simple-file-sharing.html
response still not accessible
Prakash
-
Connect to the database using oracle forms
Hello experts,
I have installed on my computer, Oracle Developer Suite 10 g (10.1.2.0.2) (including the forms and Designer) and after that I installed Oracle Database 11 g Express Edition (11.2) Beta.
both facilities are on the same (local) computer.
When I chose to connect to the database, he wonder about the data connection to the database:
username, password and database.
I'm sure that the user name and password are correct, because I have no problem to connect directly to the database (via sql * more).
could you please tell me what I should write in the field database? I trid XE but it dose not help.
Can I need to make some changes manully so that it works?
Please note that the operating system is Windows XP service pack 3.
Thank you for your help.
Published by: user1818173 on 28/08/2011 01:43Hello
Have you changed the TNSNAMES file. File of the ORA for DS? You must add the TNS for DS TNSNAMES. ORA file.
Go to $DB_Default_Home$ \netword\admin and open the TNSNAMES file. ORA file in Notepad. Copy the entry tns where you connect from SQL * more.
Go to $DS_Default_Home$ \netword\admin and open the TNSNAMES file. ORA file in Notepad. Paste the tns entry that you copied.
Now try to connect generator of form.
Kind regards
Qasim Jules -
inserting a new record in the database of a form
Hi friends,
I'm trying to insert a record into the database via a form I created in Oracle 10 g.
Using the default menu (DEFAULT & bar SMARTBAR), I should be able to save the record, shouldn't I?
Is someone can you please help me solve this problem?
Thank you, sheetal :)Check if your code sequence and make like this code example (focused only on the "BOLD" letters, because I think that your specific sequence will not be in order i.e. ALL), you must make your sequence in order with no cycle.
CREATE the SEQUENCE "YOUR_SEQUENCE_NAME" MINVALUE 1 MAXVALUE 99999 INCREMENT OF 1 START WITH 1 CACHE 20 ORDER NOCYCLE .
Hope this will help.
Abbas
-
How to integrate Oracle policy Automation (OPA) to the database
Hi all
We are implementing the OPA to one of our customer, we would like to know, how the OPA can be integrated with the database.
Now, we are able to frame the rules based on the requirements, but we're missing, how to bind the OPA to any database.
So, pointers, links or specific documents are welcome.
Can you give me a mail to my id: [email protected] or you call me on my cell phone: + 91 99897 18865.
Concerning
ChandraChandra,
We do not provide direct tools for integration with databases, but there are two approaches to integration. I guess that we are talking about get data of a database and registration of the results of assays to the database.
Write a program to use the API engine server or decisions provide for rules.
With this approach, your program is responsible to get and set the data to the database (via JDBC or Hibernate in Java, for example). OPA provides an API for performs regulation operations and results, that your program needs to save in the database.
An alternative is to use the server of determinations that provides a SOAP/XML interface to perform operations of regulation and retrieve results, but you will still need to persist/retrieve the answers yourself.
DataSource connector
We have a connector of the data source, but it is a bit misnamed. It reads in the CSV (likely exported from a database) files and provides results as CSV files.
The connector of the data source as part of a solution to integrate with the database, but you must still provide data base real connectibity yourself.
-
Insertion of multiple values in the report (not in the database)
Hello!
I have a procedure that shows example of 50 people and for each text element three different person I access values and submit to the database. There is a check box for each line. I have a selection list of Pentecost that you choose the column and a text element where you enter the value to insert. What I want to do is insert this value just in the lines that have a selected check box. I would like to insert this value just in the report (not in the database) when I click on a button.
What do I have to use javascript? I really have no idea how to do that.
Thanks for any help!This will give you an idea on how to handle the selected lines:
http://Apex.Oracle.com/pls/OTN/f?p=31517:95
Other examples show how to use tabular forms.
Denes Kubicek
------------------------------------------------------------------------------
http://deneskubicek.blogspot.com/
http://www.Opal-consulting.de/training
http://Apex.Oracle.com/pls/OTN/f?p=31517:1
------------------------------------------------------------------------------ -
Control of the database on Windows - gives error cannot find server or DNS error
Hi all
After the installation of 10g on Windows services necessary for my new db are running, earpiece is in place.
But when I try to set up the database via http://pnclultraprd.corporate.mem.5500/em/console/logon/logon control
I get "cannot display the page. Can not find the server.
I did have this before on new facilities and I'm stuck.
Any tips? Thank you, JohnI just noticed that you have un.5500 instead of: 5500 in your URL
-
Restrict access to the database for the upgrade of the application
Hi all
We're performing an upgrade of the application that requires us to perform a lot of scripts on our server Oracle EE 11.2.0.4.
This specific database has around a website based end and a front end based client, but it is also accessible on the network through TNS SQLPLUS/Toad, ODBC, JDBC etc.
For obvious reasons, the upgrade, I want to make sure that no one else that the DBA can access the database. Usually change us the listening port of 1521 to let say 1544. This prevents all access.
But now we run in a physical Data Guard with two Standby configuration so I don't really want to play with the listener ports. The upgrade must propagate changes from primary to Standby. I could interrupt them temporarily, but I would like to avoid that if possible.
Another way I thought would work was to stop the database and open it in restricted mode. But before that, I would need to grant the privilege of the Session to RESTRICT all users upgrade scripts using (around 5 users).
This approach using the restricted mode seems reasonable?
Other opinions would be much appreciated.
Thank you
This is exactly what restricted session is for. You can do online and then kill a session is currently connected. No need to stop:
orclz > alter system enable restricted session;
Modified system.
orclz > change system disable restricted session;
Modified system.
orclz >
-
Access to the library via another application
I am putting together a photo book with a 3rd party software and am unable to access my photo library on the mac book. This seems to have become a problem since the migration of iPhotos to photos. When I try to send pictures of this library, it is grayed out and is not accessible. Also seems to be the case if trying to attach a photo in gmail. Any ideas anyone?
What software do you use? Done is to have an option to import file ➙
and, if so, is there an option of media browser in the next window? It might resemble the following Preview:
If you can access the library of Photos in this way with your software, you need to export the photos you want to use a folder on the desktop and access them with your software.
With Gmail, you must set up E-mail as a client for your Gmail account
and then you can use the Share button to get the pictures selected in a Gmail email:
Maybe you are looking for
-
How air screensaver are available?
In another post, I noted that I see only a limited number of screensavers aerial Aerial screensavers not cycles Since then, I'm came across this list, created October 15, http://benjaminmayo.co.uk/watch-all-the-apple-tv-aerial-video-screensavers it w
-
Satellite A60: Overheating during running game
Hello My beginning of A60 to overheating since yesterday. I read on this forum that this problem can occur when the fan is not working properly. However, the fan never stops and today I worked all day with Excel, IE, Outlook and a financial and accou
-
How can I get the USB-Quad08 with Dasylab encoder channel data
Hello I'm reading the pulse signal of USB-Quad08 with Dasylab V10, but every time I got the error message "this Committee has no meter 9513. I have configured the jury with Instacal and the test hardware is ok. I used the module 'Entry meter' (Module
-
Error 200279 and slow program running
I read a lot of posts about this error but still cannot fix mine. During the execution of the program realizing measures of error 200279 turns suddenly upward. In addition, the program is very slow; I'm trying to read data from a QD and a PSD (two di
-
Cannot display the homegroup password
Original title: "the homegroup password. I'm trying to connect our computers in the same residential group, but on the main computer, I can't see the password when I go to the right page to view and print password it says windows can not let me chang