Reading MS Access Database file with database adapter in soa
I have an .MDB file on another machine that i want to read from within SOA composite using database adapter. can i do that ? how ?
Have you checked out the jdbc-odbc bridge from Sun? I would think you should be able to create a jdbc connection to Microsoft Access. With that connection, you would then be able to create a jndi entry on the DB adapter from SOA. I haven't used this before, so I'm not sure how well, or even if it would work.
Similar Messages
-
Is it possible to read MS Access report file .snp with Bold 9000
HI
I would like to read MS Access Report file .SNP generated by an internal application.
This file is part of an e-mail as attached object.
Is it possible to do this with my BB 9000?
Thank you in advance,
NikHi and Welcome to the Forums!
Natively? No, I don't think so. Your choices are, I believe:
1) Seek out a 3rd party add-on app that will render that file type
2) Adjust the app that is generating the file and convert it to PDF before sending. Then, for as long as the item remains an email attachment, the email attachment service will be able to render the image on your BB. There are also add-ons (fee based) to enhance the quality of the rendering.
Cheers!
Occam's Razor nearly always applies when troubleshooting technology issues!
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
Join our BBM Channels
BSCF General Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
Issues occurred while creating DataBase Queue for AQ adapter in SOA
Hi All,
I am new to AQ adapters,I am trying to create database queue with in the custom user but I got ora-01031 insufficient privileges,actually I follow the below two links
http://askmesoa.blogspot.in/2012/09/working-with-aq-adapter-in-soa.html
http://jamessmith73.wordpress.com/oracle-fusion-middleware/oracle-soa-bpm-11g-blogs/soa-10g/soa-hands-on-4/
When I trying to execute the following code I got ora-01031 insufficient privileges.
BEGIN
DBMS_AQADM.CREATE_QUEUE_TABLE (
queue_table => 'aq_user.msg_qt'
, queue_payload_type => 'aq_user.message_type'
DBMS_AQADM.CREATE_QUEUE (
queue_name => 'msg_queue'
, queue_table => 'aq_user.msg_qt'
, queue_type => DBMS_AQADM.NORMAL_QUEUE
, max_retries => 0
, retry_delay => 0
, retention_time => 1209600
, dependency_tracking => FALSE
, comment => 'Test Object Type Queue'
, auto_commit => FALSE
DBMS_AQADM.START_QUEUE ('msg_queue');
END;
Can anybody help me out how to solve the issue
Regards
ManiHi Anuj,
While I execute I had given aq_user1 only still I am geeting the same isssue.
BEGIN
DBMS_AQADM.CREATE_QUEUE_TABLE (
queue_table => 'aq_user1.msg_qt'
, queue_payload_type => 'aq_user1.message_type1'
DBMS_AQADM.CREATE_QUEUE (
queue_name => 'msg_queue'
, queue_table => 'aq_user1.msg_qt'
, queue_type => DBMS_AQADM.NORMAL_QUEUE
, max_retries => 0
, retry_delay => 0
, retention_time => 1209600
, dependency_tracking => FALSE
, comment => 'Test Object Type Queue'
, auto_commit => FALSE
DBMS_AQADM.START_QUEUE('msg_queue');
END;
Regards
Mani -
How to read appended objects from file with ObjectInputStream?
Hi to everyone. I'm new to Java so my question may look really stupid to most of you but I couldn't fined a solution by myself... I wanted to make an application, something like address book that is storing information about different people. So I decided to make a class that will hold the information for each person (for example: nickname, name, e-mail, web address and so on), then using the ObjectOutputStream the information will be save to a file. If I want to add a new record for a new person I'll simply append it to the already existing file. So far so good but soon I discovered that I can not read the appended objects using ObjectInputStream.
What I mean is that if I create new file and then in one session save several objects to it using ObjectOutputStream they all will be read with no problem by ObjectInputStream. But after that if in a new session I append new objects they won't be read. The ObjectInputStream will read the objects from the first session after that IOException will be generated and the reading will stop just before the appended objects from the second session.
The following is just a simple test it's not actual code from the program I was talking about. Instead of objects containing different kind of information I'm using only strings here. To use the program use as arguments in the console "w" to create new file followed by the file name and the strings you want save to the file (as objects). Example: "+w TestFile.obj Thats Just A Test+". Then to read it use "r" (for reading), followed by the file name. Example "+r TestFile.obj+". As a result you'll see that all the strings that are saved in the file can be successfully read back. Then do the same: "+w TestFile.obj Thats Second Test+" and then read again "+r TestFile.obj+". What will happen is that the strings only from the first sessions will be read and the ones from the second session will not.
I am sorry for making this that long but I couldn't explain it more simple. If someone can give me a solution I'll be happy to hear it! ^.^ I'll also be glad if someone propose different approach of the problem! Here is the code:
import java.io.*;
class Fio
public static void main(String[] args)
try
if (args[0].equals("w"))
FileOutputStream fos = new FileOutputStream(args[1], true);
ObjectOutputStream oos = new ObjectOutputStream(fos);
for (int i = 2; i < args.length ; i++)
oos.writeObject(args);
fos.close();
else if (args[0].equals("r"))
FileInputStream fis = new FileInputStream(args[1]);
ObjectInputStream ois = new ObjectInputStream(fis);
for (int i = 0; i < fis.available(); i++)
System.out.println((String)ois.readObject());
fis.close();
else
System.out.println("Wrong args!");
catch (IndexOutOfBoundsException exc)
System.out.println("You must use \"w\" or \"r\" followed by the file name as args!");
catch (IOException exc)
System.out.println("I/O exception appeard!");
catch (ClassNotFoundException exc)
System.out.println("Can not find the needed class");How to read appended objects from file with ObjectInputStream? The short answer is you can't.
The long answer is you can if you put some work into it. The general outline would be to create a file with a format that will allow the storage of multiple streams within it. If you use a RandomAccessFile, you can create a header containing the length. If you use streams, you'll have to use a block protocol. The reason for this is that I don't think ObjectInputStream is guaranteed to read the same number of bytes ObjectOutputStream writes to it (e.g., it could skip ending padding or such).
Next, you'll need to create an object that can return more InputStream objects, one per stream written to the file.
Not trivial, but that's how you'd do it. -
Can i access swf files with your product?
can i access swf files with dreamweaver?
You will need Flash as well as Dreamweaver.
Follow these instructions http://help.adobe.com/en_US/dreamweaver/cs/using/WSc78c5058ca073340dcda9110b1f693f21-7ad0a .html -
I cannot read Nikon D600 raw files with CS5
I cannot read Nikon D600 raw files with CS5, I have tried Camera Raw 6.1 update but that has not worked.
Nikon D 600 will work with ACR 7.3 which needs minimum of PS CS 6 : http://helpx.adobe.com/creative-suite/kb/camera-raw-plug-supported-cameras.html
With PS CS 5, ACR 7.3 will not work.
So either you need to upgrade to CS 6 or use DNG converter to convert images to DNG format which you can open in CS 5 -
I just want to see my files with explorer. Then transfer all pics to my computer. With the new update I can't. How do I access my file with just explorer?
Let's bring back your file control, jpandwibble. What happens when you connect to your computer? Are you trying to use Explorer on the device or on computer? I am eager to continue troubleshooting!
Thank you,
YaleK_VZW
Follow us on Twitter @VZWsupport -
How to use an access database file with vb project
hi deve.
im wondering how can i use a database file (created with microsoft access) in a vb project
i want to assign a textbox content from the database file from a specific field according to its id can anyone explain that with a simple code example
thanx..thanx
pvdg42
this article is all i need -
Renaming datafiles in control files with database mounted but not open
Hi,
I moved a database (physical files) from one server to another. I need to modify the contents of the control files since the directory structure of the servers are not the same (and I can't change that).
I know I can use ALTER DATABASE BACKUP CONTROLFILE TO TRACE to produce a script that I can than modify and run with the instance started, database mounted but not open, and that will recreate the control files. I don't want to do that.
I was also told I can modify the datafile entries in the control files by starting the instance, mounting but not opening the database. Then I can issue the (this is the part I need help with) ALTER DATABASE RENAME FILE <file1> to <file2>. When I tried this it complains that <file1> is not found. Obviously the command I used is not the right one,,, what is the right command for what I want to do.
Thanks,
GabrielMove all datafiles from one directory to an other without recreate controlfile :
SYS@DEMO102> select file_name from dba_data_files
2 union
3 select member from v$logfile
4 union
5 select file_name from dba_temp_files
6 union
7 select name from v$controlfile;
FILE_NAME
E:\ORACLE\ORADATA\DEMO102C\CONTROL01.CTL
E:\ORACLE\ORADATA\DEMO102C\CONTROL02.CTL
E:\ORACLE\ORADATA\DEMO102C\CONTROL03.CTL
E:\ORACLE\ORADATA\DEMO102C\EXAMPLE01.DBF
E:\ORACLE\ORADATA\DEMO102C\REDO01.LOG
E:\ORACLE\ORADATA\DEMO102C\REDO02.LOG
E:\ORACLE\ORADATA\DEMO102C\REDO03.LOG
E:\ORACLE\ORADATA\DEMO102C\SYSAUX01.DBF
E:\ORACLE\ORADATA\DEMO102C\SYSTEM\SYSTEM01.DBF
E:\ORACLE\ORADATA\DEMO102C\TBS102_1.DBF
E:\ORACLE\ORADATA\DEMO102C\TBS102_2.DBF
E:\ORACLE\ORADATA\DEMO102C\TEMP01.DBF
E:\ORACLE\ORADATA\DEMO102C\UNDOTBS01.DBF
E:\ORACLE\ORADATA\DEMO102C\USERS01.DBF
14 rows selected.
SYS@DEMO102> create pfile='E:\oracle\admin\DEMO102\pfile\pfile102.ora' from spfile;
File created.
SYS@DEMO102> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.Here, I move all datafiles mentionned above, and modify my pfile for new controlfile directory. Then :
SYS@DEMO102> startup pfile=E:\oracle\admin\DEMO102\pfile\pfile102.ora
ORACLE instance started.
Total System Global Area 272629760 bytes
Fixed Size 1288940 bytes
Variable Size 163579156 bytes
Database Buffers 100663296 bytes
Redo Buffers 7098368 bytes
Database mounted. --Note that we are in mount state
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: 'E:\ORACLE\ORADATA\DEMO102C\SYSTEM\SYSTEM01.DBF'
SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\USERS01.DBF' to 'E:\ORACLE\ORADATA\demo102\USERS01.DBF';
Database altered.
SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\SYSAUX01.DBF' to 'E:\ORACLE\ORADATA\demo102\SYSAUX01.DBF';
Database altered.
SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\UNDOTBS01.DBF' to 'E:\ORACLE\ORADATA\demo102\UNDOTBS01.DBF';
Database altered.
SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\SYSTEM\SYSTEM01.DBF' to 'E:\ORACLE\ORADATA\demo102\SYSTEM\SYSTEM01.DBF';
Database altered.
SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\EXAMPLE01.DBF' to 'E:\ORACLE\ORADATA\demo102\EXAMPLE01.DBF';
Database altered.
SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\TBS102_1.DBF' to 'E:\ORACLE\ORADATA\demo102\TBS102_1.DBF';
Database altered.
SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\TBS102_2.DBF' to 'E:\ORACLE\ORADATA\demo102\TBS102_2.DBF';
Database altered.
SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\REDO01.LOG' to 'E:\ORACLE\ORADATA\demo102\REDO01.LOG';
Database altered.
SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\REDO02.LOG' to 'E:\ORACLE\ORADATA\demo102\REDO02.LOG';
Database altered.
SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\REDO03.LOG' to 'E:\ORACLE\ORADATA\demo102\REDO03.LOG';
Database altered.
SYS@DEMO102> alter database rename file 'E:\ORACLE\ORADATA\DEMO102C\TEMP01.DBF' to 'E:\ORACLE\ORADATA\demo102\TEMP01.DBF';
Database altered.
SYS@DEMO102> alter database open;
Database altered.
SYS@DEMO102> create spfile from pfile='E:\oracle\admin\DEMO102\pfile\pfile102.ora';
File created.
SYS@DEMO102> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SYS@DEMO102> startup
ORACLE instance started.
Total System Global Area 272629760 bytes
Fixed Size 1288940 bytes
Variable Size 163579156 bytes
Database Buffers 100663296 bytes
Redo Buffers 7098368 bytes
Database mounted.
Database opened.
SYS@DEMO102> select file_name from dba_data_files
2 union
3 select member from v$logfile
4 union
5 select file_name from dba_temp_files
6 union
7 select name from v$controlfile;
FILE_NAME
E:\ORACLE\ORADATA\DEMO102\CONTROL01.CTL
E:\ORACLE\ORADATA\DEMO102\CONTROL02.CTL
E:\ORACLE\ORADATA\DEMO102\CONTROL03.CTL
E:\ORACLE\ORADATA\DEMO102\EXAMPLE01.DBF
E:\ORACLE\ORADATA\DEMO102\REDO01.LOG
E:\ORACLE\ORADATA\DEMO102\REDO02.LOG
E:\ORACLE\ORADATA\DEMO102\REDO03.LOG
E:\ORACLE\ORADATA\DEMO102\SYSAUX01.DBF
E:\ORACLE\ORADATA\DEMO102\SYSTEM\SYSTEM01.DBF
E:\ORACLE\ORADATA\DEMO102\TBS102_1.DBF
E:\ORACLE\ORADATA\DEMO102\TBS102_2.DBF
E:\ORACLE\ORADATA\DEMO102\TEMP01.DBF
E:\ORACLE\ORADATA\DEMO102\UNDOTBS01.DBF
E:\ORACLE\ORADATA\DEMO102\USERS01.DBF
14 rows selected.
SYS@DEMO102> Nicolas. -
Export table access to oracle with Database ODBC()
Hi,
I export a table, access 2003, ent_tab whit 'DataBase ODBC()' to oracle.
I open Oracle SQL Developer and i can show table ent_tab, but i go worksheet and execute:
select * from ent_tab
and display error: ORA-00942...
Why??!!
Regards
JomarBecause ODBC created the table with "" which allowed lower case table name, but Oracle uses upper case table name by default. Suggest you recreate the table with upper-case name to avoid having to use "" in select statements.
Edited by: rgeier on Oct 27, 2009 5:34 PM -
Reading large file with JCA Adapter in OSB
Hello,
We are searching for a solution how to read large file (>50M) from network drive and deliver it to queue via OSB 11gR4 (10.3.4). The problem is when reading the file with JCA File Adapter. It seems that it cannot handle as large files as we have. The documentation provides a way to bypass file size limitation by using Chunk Read but it seems to require BPEL Process execution which is not possible in our environment. Does anyone know if there are ways to implement this without having BPEL Process?
Our usecase:
read file from network drive -> transfer with OSB -> deliver MQ
Other options than JCA File Adapter can be considered, if anyone can advice...If it's a plain routing use case and no message processing is required then you may simply use OSB's FILE transport instead of JCA adapter. Create a messaging type proxy service and select request message type as "binary". Also enable the content streaming (Disk buffer, compression).
From OSB Dev guide -
Oracle JCA Adapter for FTP and Files – Attachments (large payload support), pre- and post-processing of files, using a re-entrant valve for processing ZIP files, content streaming, and file chunked read are not supported with Oracle Service Bus.
http://download.oracle.com/docs/cd/E17904_01/doc.1111/e15866/jca.htm#BABBICIA
You may also refer -
Reading huge flat file in OSB 11gR1
Regards,
Anuj -
Can't create, view database files in database
I am having a problem with viewing, creating database files. I am using Oracle 9207 and when i use dbastudio, click on storage, tablespaces, then the tablespace name, then datafiles, the system hangs. I tried to view the datafiles via SQLPLUS in the view dba_data_files, and it also hangs, does anyone have an idea as to why this is happening? There are no messages in the alert.log. Any help will be appreciated.
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 9.2.0.7.0.
System parameters with non-default values:
processes = 400
timed_statistics = TRUE
shared_pool_size = 536870912
sga_max_size = 3407321120
large_pool_size = 16777216
java_pool_size = 33554432
control_files = /vector/oradata/vector/control01.ctl, /vector/oradata/vector/control02.ctl, /vector/oradata/vector/control03.ctl
db_block_size = 8192
db_cache_size = 1073741824
compatible = 9.2.0.0.0
db_file_multiblock_read_count= 16
fast_start_mttr_target = 300
undo_management = AUTO
undo_tablespace = UNDOTBS1
undo_retention = 10800
remote_login_passwordfile= EXCLUSIVE
db_domain =
instance_name = vector
job_queue_processes = 10
hash_join_enabled = TRUE
background_dump_dest = /oracle/app/920/admin/vector/bdump
user_dump_dest = /oracle/app/920/admin/vector/udump
core_dump_dest = /oracle/app/920/admin/vector/cdump
sort_area_size = 524288
db_name = vector
open_cursors = 300
star_transformation_enabled= FALSE
query_rewrite_enabled = FALSE
pga_aggregate_target = 419430400
aq_tm_processes = 1
PMON started with pid=2
DBW0 started with pid=3
LGWR started with pid=4
CKPT started with pid=5
SMON started with pid=6
RECO started with pid=7
CJQ0 started with pid=8
QMN0 started with pid=9
Thu Apr 16 14:20:24 2009
ALTER DATABASE MOUNT
Thu Apr 16 14:20:28 2009
Successful mount of redo thread 1, with mount id 1310284968
Thu Apr 16 14:20:28 2009
Database mounted in Exclusive Mode.
Completed: ALTER DATABASE MOUNT
Thu Apr 16 14:20:28 2009
ALTER DATABASE OPEN
Thu Apr 16 14:20:29 2009
Thread 1 opened at log sequence 9044
Current log# 4 seq# 9044 mem# 0: /vector/oradata/vector/log4.ora
Successful open of redo thread 1
Thu Apr 16 14:20:29 2009
SMON: enabling cache recovery
Thu Apr 16 14:20:30 2009
Successfully onlined Undo Tablespace 1.
Thu Apr 16 14:20:30 2009
SMON: enabling tx recovery
Thu Apr 16 14:20:30 2009
Database Characterset is WE8ISO8859P1
replication_dependency_tracking turned off (no async multimaster replication found)
Completed: ALTER DATABASE OPEN
Mon Apr 20 13:42:12 2009
Thread 1 advanced to log sequence 9045
Current log# 5 seq# 9045 mem# 0: /vector/oradata/vector/log5.ora
Tue Apr 21 08:35:29 2009
create tablespace samstest
datafile '/vector/oradata/vector/samstest01.dbf' size 100M
Tue Apr 21 09:14:18 2009
Deleted file /vector/oradata/vector/samstest01.dbf
Tue Apr 21 10:42:48 2009
[code] -
Find database files in database server
Hi friends,
which directory save database files in window 2003? oracle as Oracle9i
I could not fine in C:\OraHome1\rdbms or C:\OraHome1\oradata or C:\OraHome1\database or C:\OraHome1\dbs
data should be save some directory. I need to check total size
Thanks
JIm
Edited by: user589812 on Dec 10, 2008 1:46 PM
Edited by: user589812 on Dec 10, 2008 1:54 PMAsk your database where the datafiles are, like this:
select file_name from dba_data_files
union
select file_name from dba_temp_files
; -
Can't read PageMaker 6.5 files with InDesign CS3
I have a lot of old PageMaker 6.5 files that need to be upgraded to InDesign.
When I try to open them in InDesign CS3, I get an error that says:
Cannot open the file "XYZ". Adobe InDesign may not support the file format, a plug-in that supports the file format may be missing, or the file may be open in another application.
I get this error on a Mac Pro G5 (PowerPC), running OS X 10.5.8.
What's interesting is that when I try to open the same files on other computers on the network, it works just fine. The other machines are all Intel Macs, running OS X 10.6.8 or greater. The files are on a Mac Server.
Can this problem be fixed on the Mac G5, maybe by installing a plugin, or is there no hope?
Thanks!Interesting thought, but I suspect the file is actually a training manual and that's the real name of the file, with no extension at all. Pagemaker 6.5 files would have had a .p65 extension, I believe.
-
Trying to read/parse a JSON file with idocscript in 10gr4
Hello all,
I have checked a JSON file into Content Server and would like to parse the data in it and use it to define which wcmPlaceholder to use on my current page template.
I have tried a few things including ssIncludeXml (which returned "Failed to load XML file with Content ID..."). For business user reasons I cannot keep the data in a table or view. JSON was the best way to maintain and pass around the data and it is about 48 "rows" of data.
Any suggestions how to accomplish this?
Thank you,
AudreyThanks @Bex!!
Thanks to reading your blog I have become well versed with idocsript and json and AJAX on the client side. Much that I have already accomplished is because of what you wrote! However, that occurs too late to determine what placeholder to include in the page template.
Is there a way to make the AJAX call on the server side to populate a variable available to the page template and then pass into the wcmPlaceholder? Do the docLoadResourceIncludes occur (and complete) before the placeholders are placed?
I am not daunted by the XPath but I am not sure how to 'store those flags in Site Studio XML format'?
[BTW- I had been handling this issue by requiring a "division" variable in the referrer URL but the clients have come back and want legacy URLs supported without the variable since once in the page I have shown we can determine the "division" from the JSON. ]
Thanks,
Audrey
Maybe you are looking for
-
Photos and multiple iMac Accounts
In the new Photos application can I share a single Photo library among multiple users?
-
Pages 5.5.1: fit width view doesn't adjust
Other than the answer 'keep using Pages 09 until I absolutely have to switch to something else', is there any way to get the fit width view in latest Pages to adjust as you resize the window? In 09 the page is responsive, and if I change the window
-
"print here" goes to save document instead
I am in a site, I hit the print section, and I can see the preview pop up for a split second, then a screen comes up for me to name and save the document in documents. I save it, and it does not print what I was trying to print. Help.
-
Here's my dilemma: My boss wants a simple way to create his Web Photo Galleries and since he's not so tech savvy, he's recruited me. The company he bought his website from gave him this wonderful "zoom" feature if he uploads a "hires" folder, but the
-
Outbound HTTP - Connection fails
Hello, We are using Oracle 10.1.2 B2B Integration to test outbound XML messaging over HTTP 1.1. We get the following error when we try a outbound flow. Message Transmission Transport Exception Transport Error Code is OTA-HTTP-SEND-1005 Stack trace ==