Get data over network
Hello,
I want to know how could i get data over network. I mean i have a video server and i want to get the data flow (so i don't need a MediaLocator which runs with URL file.. not an http address or else..) and store it in a buffer (bytebuffer?) or in a datasource...
If you have an idea to do this.
Thanks
Im trying ot transfer webcam lifestream over the internet to a specific user.
It works in my home network but does not over the internet
What Im doing is:
create the processor using ContentDescriptor.RAW_RTP
create the transmitter using the user IP
localAddr = new SessionAddress( InetAddress.getLocalHost(),
portNumber ) ;
destAddr = new SessionAddress( ipAddr, portNumber );
rtpManagers.initialize( localAddr );
rtpManagers[i].addTarget( destAddr );
Thx for any help
Similar Messages
-
Import Data over network link in oracle 11g
We want to take export of the OND schema in production database and
import it to the OND schema in UAT database over a network
link by using data pump,in Oracle 11g.Kindly share the steps.Scenario:
Directly importing the TEST01 schema in the production database (oraodrmu) to test database oraodrmt, over
a network by using database link and data pump in Oracle 11g.
Note: When you perform an import over a database link, the import source is a database, not a dump file set, and the data is imported to the connected database instance.
Because the link can identify a remotely networked database, the terms database link and network link are used interchangeably.
=================================================================
STEP-1 (IN PRODUCTION DATABASE - oraodrmu)
=================================================================
[root@szoddb01]>su - oraodrmu
Enter user-name: /as sysdba
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> grant resource to test01;
Grant succeeded.
SQL> grant imp_full_database to test01;
Grant succeeded.
SQL> select owner,object_type,status,count(*) from dba_objects where owner='TEST01' group by owner,object_type,status;
OWNER OBJECT_TYPE STATUS COUNT(*)
TEST01 PROCEDURE VALID 2
TEST01 TABLE VALID 419
TEST01 SEQUENCE VALID 3
TEST01 FUNCTION VALID 8
TEST01 TRIGGER VALID 3
TEST01 INDEX VALID 545
TEST01 LOB VALID 18
7 rows selected.
SQL>
SQL> set pages 999
SQL> col "size MB" format 999,999,999
SQL> col "Objects" format 999,999,999
SQL> select obj.owner "Owner"
2 , obj_cnt "Objects"
3 , decode(seg_size, NULL, 0, seg_size) "size MB"
4 from (select owner, count(*) obj_cnt from dba_objects group by owner) obj
5 , (select owner, ceil(sum(bytes)/1024/1024) seg_size
6 from dba_segments group by owner) seg
7 where obj.owner = seg.owner(+)
8 order by 3 desc ,2 desc, 1
9 /
Owner Objects size MB
OND 8,097 284,011
SYS 9,601 1,912
TEST01 998 1,164
3 rows selected.
SQL> exit
=================================================================
STEP-2 (IN TEST DATABASE - oraodrmt)
=================================================================
[root@szoddb01]>su - oraodrmt
[oraodrmt@szoddb01]>sqlplus
SQL*Plus: Release 11.2.0.2.0 Production on Mon Dec 3 18:40:16 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Enter user-name: /as sysdba
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select name,open_mode from v$database;
NAME OPEN_MODE
ODRMT READ WRITE
SQL> create tablespace test_test datafile '/trn_u04/oradata/odrmt/test01.dbf' size 2048m;
Tablespace created.
SQL> create user test01 identified by test123 default tablespace test_test;
User created.
SQL> grant resource, create session to test01;
Grant succeeded.
SQL> grant EXP_FULL_DATABASE to test01;
Grant succeeded.
SQL> grant imp_FULL_DATABASE to test01;
Grant succeeded.
Note: ODRMU is the DNS hoste name.We can test the connect with: [oraodrmt@szoddb01]>sqlplus test01/test01@odrmu
SQL> create directory test_network_dump as '/dbdump/test_exp';
Directory created.
SQL> grant read,write on directory test_network_dump to test01;
Grant succeeded.
SQL> conn test01/test123
Connected.
SQL> create DATABASE LINK remote_test CONNECT TO test01 identified by test01 USING 'ODRMU';
Database link created.
For testing the database link we can try the below sql:
SQL> select count(*) from OA_APVARIABLENAME@remote_test;
COUNT(*)
59
SQL> exit
[oraodrmt@szoddb01]>impdp test01/test123 network_link=remote_test directory=test_network_dump remap_schema=test01:test01 logfile=impdp__networklink_grms.log;
[oraodrmt@szoddb01]>
Import: Release 11.2.0.2.0 - Production on Mon Dec 3 19:42:47 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Starting "TEST01"."SYS_IMPORT_SCHEMA_01": test01/******** network_link=remote_test directory=test_network_dump remap_schema=test01:test01 logfile=impdp_grms_networklink.log
Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 318.5 MB
Processing object type SCHEMA_EXPORT/USER
ORA-31684: Object type USER:"TEST01" already exists
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
Processing object type SCHEMA_EXPORT/TABLE/TABLE
. . imported "TEST01"."SY_TASK_HISTORY" 779914 rows
. . imported "TEST01"."JCR_JNL_JOURNAL" 603 rows
. . imported "TEST01"."GX_GROUP_SHELL" 1229 rows
Job "TEST01"."SYS_IMPORT_SCHEMA_01" completed with 1 error(s) at 19:45:19
[oraodrmt@szoddb01]>sqlplus
SQL*Plus: Release 11.2.0.2.0 Production on Mon Dec 3 19:46:04 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Enter user-name: /as sysdba
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select owner,object_type,status,count(*) from dba_objects where owner='TEST01' group by owner,object_type,status;
OWNER OBJECT_TYPE STATUS COUNT(*)
TEST01 PROCEDURE VALID 2
TEST01 TABLE VALID 419
TEST01 SEQUENCE VALID 3
TEST01 FUNCTION VALID 8
TEST01 TRIGGER VALID 3
TEST01 INDEX VALID 545
TEST01 LOB VALID 18
TEST01 DATABASE LINK VALID 1
8 rows selected.
SQL>
SQL> set pages 999
SQL> col "size MB" format 999,999,999
SQL> col "Objects" format 999,999,999
SQL> select obj.owner "Owner"
2 , obj_cnt "Objects"
3 , decode(seg_size, NULL, 0, seg_size) "size MB"
4 from (select owner, count(*) obj_cnt from dba_objects group by owner) obj
5 , (select owner, ceil(sum(bytes)/1024/1024) seg_size
6 from dba_segments group by owner) seg
7 where obj.owner = seg.owner(+)
8 order by 3 desc ,2 desc, 1
9 /
Owner Objects size MB
OND 8,065 247,529
SYS 9,554 6,507
TEST01 999 1,164
13 rows selected.
=================================================================
STEP-3 FOR REMOVING THE DATABASE LINK
=================================================================
[oraodrmt@szoddb01]>sqlplus
SQL*Plus: Release 11.2.0.2.0 Production on Mon Dec 3 19:16:01 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Enter user-name: /as sysdba
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> drop database link remote_test;
Database link dropped. -
High pitch screech when LAN is transfering data over network
I found this strange. But whenever data (large amounts) is sent through my puter over the network, the LAN chip or whatever makes a high pitch sound. What is with this?
Firewall enabled and for example opening a torrent with more than 100 peers made the northbridge screech and crashed the network after five minutes. Disabling the firewall helped a bit, removed the screeching atleast, but it's still lagging behind my old AT7-MAX2(VIA KT400) onboard LAN in 'performance'.
-
Regarding getting data through network...
Hi All,
The program code I have given below is hanging and not even raising any exception, not even timeout, why I could not understand. Please Help...
Example URL: http://www.mymortgagepros.com
Please try this code on this URL, I am getting problem on this URL, Some Urls whereas are working perfect...
public String getBufferedData(String str) {
URL url = null;
String line = null, body = null;
InputStreamReader in = null;
BufferedReader buffer = null;
URLConnection myConn = null;
StringBuffer sb1 = new StringBuffer("");
try {
url = new URL(str);
myConn = (HttpURLConnection)url.openConnection();
myConn.setRequestProperty("User-agent","");
buffer = new BufferedReader(new InputStreamReader(myConn.getInputStream()));//*****
while ((line = buffer.readLine()) != null) {
System.out.println("We are here3 in loop...");
sb1.append(line);
buffer.close();
body = new String(sb1);
}catch(MalformedURLException mx) {
System.out.println("MalformedURLException ");
System.out.println(mx.getMessage());
}catch(IOException ix) {
System.out.println("IOException ");
System.out.println(ix.getMessage());
}catch(Exception ex) {
System.out.println("Exception ");
System.out.println(ex.getMessage());
}finally {
try {
if(myConn != null) myConn = null;
}catch(Exception e) {
System.out.println("Exception in Finally");
System.out.println(e.getMessage());}
return body;
Thanks in advance...
Srinivas P.Hi
You Must have a listener for your comm port e.g
private class CommListener implements SerialPortEventListener{
case SerialPortEvent.DATA_AVAILABLE:{
while(true){
try{
ch = is.read();
if(ch==-1)
break;
buf.append((char)ch);
}catch(IOException ioe){
System.out.println(buf.toString());
} -
Slow performance of fetching BLOB data over network is very slow
Dear Experts,
We are deploying a GIS application which handles with BLOB datatypes. Database Server is in RHEL and in 11gR2. The application is using asp.net 3.5 and using ODP.NET to connect with Oracle. But here is a performance chart which shows that performance is very slow when application and database server lie on different subnetwork.
Case Login Time
Same Server(Both in 192.168.9.23) 20-25 sec
Same Subnet (DB:192.168.9.25) (App: 192.168.9.23) 60-80 sec
Different Subnet (DB:192.168.11.153) (App:192.168.9.23) More then 5 minutes
So what is the reason behind this and how can I improve performance if I want to keep application and database in diff machine?
Thanks in advance.Also, look into the various lob settings in ODP.NET.
I believe that by default in ODP.NET the LOB will be fetched in separate roundtrips but you can change this my messing with certain properties or using certain methods - apologies, a bit imprecise.
If you have a network issue then doing more roundtrips than you need to is just going to exacerbate the situation.
Trace the session - if it's networking or roundtrips you should see symptoms of it in a 10046 trace. -
Expdp over network fails.
I have a test1 and test2 db's on two different servers. I want to run expdp from test2 db and get the export of a table from test1. I have created a db link and used network_link in expdp command. Granted read,write on directory to user with which i am connecting to db.
Using expdp over a network_link fails with this error. For the same user I have tried it locally on test2 db and it works fine.
Is there any other step to be done ?
ORA-39002: invalid operation
ORA-39070: Unable to open the log file.
ORA-39087: directory name DUMPS is invalidexpdp un/pwd*@test1db* job_name=EXP_test1 directory=dumps network_link=test1.dummy.COM dumpfile=dp.dmp log
file=dp.LOG tables=a.tableThis is the problem. When running export using NETWORK_LINK to test1, you need to connect to test2 not test1.
The idea is your connect to test2 first , test2 then connect to test1 using database link and bring the data over network and dump to local directory.
In your command it's actually running export against test1, then in that case, test1 need to have directory called dumps defined. -
My calendar on my iPhone 4 erases all data over a month old except for recurring events. How Do I get it to keep the info and not erase calendar events?
Settings>Mail, Contacts, Calendars>Calendars>Sync>All Events.
Note: If you're using a work Exchange account, the administrator my have restricted your options for this setting. -
We just bought apple tv for our home in Canada, we also want to use it at our Cabin in Montana. We have internet and can get netflix etc on the Macbook, but don't seem to be able to hook up the Apple TV, it just keeps asking for the Time and Date over and over. Anyone know what we are doing wrong?
Hi There,
Find this here:
https://discussions.apple.com/message/20125520#20125520
Problem lies with IOS 6.0
Restore back to IOS 5.1.1 and set the Location to US you will be ok. -
I just put a solid state hard drive in my mac book pro and used super duper to copy the hard drive and move the data over to thew new ssd, but most of my music isn't in iTunes when I turned it on? How do I get my music to show up in my new drive?
Many thanks lllaass,
The Touch Copy third party software for PC's is the way to go it seems and although the demo is free, if you have over 100 songs then it costs £15 to buy the software which seems not a lot to pay for peace of mind. and restoring your iTunes library back to how it was.
Cheers
http://www.wideanglesoftware.com/touchcopy/index.php?gclid=CODH8dK46bsCFUbKtAod8 VcAQg -
I keep getting pop-overs saying my Java is out of date.
I keep getting pop-overs saying my Java is out of date. I already have updated Java and removed any previous versions to prevent a false reading. How do I block this from happening. This occurs on all of my computers when using Firefox. It is getting out of control.
What does the Mozilla Plugin Check page say about Java?
http://www.mozilla.com/en-US/plugincheck/
Overall, you may have some Malware installed that is generating that message in an attempt to entice you into installing something that is even more malicious.
Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
You can try these free programs to scan for malware, which work with your existing antivirus software:
* [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
* [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
* [http://support.kaspersky.com/viruses/disinfection/5350 Anti-Rootkit Utility - TDSSKiller]
* [http://general-changelog-team.fr/en/downloads/viewdownload/20-outils-de-xplode/2-adwcleaner AdwCleaner] (for more info, see this [http://www.bleepingcomputer.com/download/adwcleaner/ alternate AdwCleaner download page])
* [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
* [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
[http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
Did this fix your problems? Please report back to us! -
I have a 13" MBP Mid-2009 model, upgrading to a 15" MBP Late-2011 model. Both are on Lion OS 10.7.3. I use Time Machine to back up the old machine. If I use Migration Assistant, is a recovery from the Time Machine Backup taken on the 13" MBP over to the 15" MBP the best way to bring over all of the Apps and Data? I know that the 13" has different HW drivers, so am unsure if the recovery will overwrite these drivers on the new 15" MBP. Just trying to make sure that I do not mess up the new system, but have not been able to find out if Time Machine will preserve the critical OS files during the recovery.
Thanks all!Some suggest you use Setup Assistant when you first turn the new MBP on.
I have never used it to transfer any data from one computer to another, from Mac or PC to new Mac.
I simply don't trust it, never had on any platform.
I find it easier for me to just network computers together and copy data over. That way only the data I want is copied to the new computer. I can make all the interface changes myself.
Oh as eww says do NOT use a TM backup from the older Mac to move data over to the new one. You could possibly be looking at reinstalling the OS on the new unit. -
I have just swapped from Galaxy 3 to the iPhone 4 but once I swap the chip card over I do not get Data Connection?
Most carriers diferentiate between regular data plans and iPhone data plans. Also, if you go into Settings, is celluar data turned on? Check with your carrier.
-
I have an iphone 4, need to get to cellular network data, it will only go as far as cellular on the phone, I have straight talk service. Please help! I cannot send or receive pics!
Is there any chance that you must have it in the package of your provider as an option?
-
How check data transmission over network?
Suspect large chunks of data are being sent from iPhone over network late at night (saw it when iPhone was off-net).
How can I check network activity?Internet access basically. Any time you open a browser, Facebook, check your email, send an iMessage, anything that requires the internet uses data over a cell network when Wifi is not available, unless specified otherwise in Settings->Cellular->Use Cellular Data For.
GPS is not used with cellular data. however Apps may need to download Maps to show you the GPS data being received.
Text Messages are not cellular data. That is a separate service from the carrier.
Searching for Wifi does not use cellular data. Wifi searching is local, it only looks for routers near you, using the wifi antenna, nothing to look for over cellular. -
320N Freezes when trying to transfer data over wifi
I have the 320N and I am very frusterated. I would just take it back, but I bought it brand new on Amazon.com, meaning I will have to pay shipping because I threw out the box and the return shipping form for RMA's! I don't even know if Amazon will take it back without that paperwork, but anyway here's the issue...
I don't have any N cards yet, but I upgraded to this router because my home internet service is faster than what my older WRT-54g could route. This new router does route and I can now achieve the rated speeds of my ISP (50/10 mbps).
I can transfer large files 6+ GB WIRED between any of the LAN ports on this device. However if I try to transfer much data over wifi, the router will simply stop working. The lights on the front work fine, they blink like there is activity, and the power LED is solid, but it won't pass traffic and the wifi SSID dissapears. I run a constant ping to the router (ping -t 192.168.1.1) and I get <1ms replies. On my laptop I initiate a download of a 1GB file which is shared in my windows 7 homegroup. Within a minute or two the constant ping to the router starts timing out. Internet access to anything (wired or wireless) instantly ceases. New introduced devices will not grab a DHCP address. Existing PC's whom already have their DHCP address can talk to each other only if wired. The wireless transmitter stops broadcasting the network and devices no longer see it on the airwaves. The only way to fix it is to power cycle it.
It doesn't even have to be a large file over wifi to transfer. Just now as I'm typing this post I noticed the constant ping on my other monitor started timing out. I power cycled the router in time for me to submit this post. In fact I had to do it three times in the time it took me to write this post. This is the most frustrating experience I've had with any wifi ap/router, and I play with Cisco gear at work that run real IOS.
Here's what I tried so far.
Reset factory defaults by holding in the rear reset button for over 30 seconds.
I can confirm this resets the defaults as the password and all other settings are back to default.
I tried WPA2 Personal. I tried WPA. Router still freezes.
I tried it with just the default settings. Router still freezes.
I've reset the router numerous times. Still freezes.
Power cycle it for more than a minute. Still freezes.
Reflash it with Linksys's latest firmware. Still freezes.
What do I do next? I have a feeling it's the same problem as in a lot of the HP Printer firmware boards. That problem is poor solder joints on the BGA processor connection. To fix that you put the formatter board in an oven at 400 degrees for 5 to 8 minutes. After that time you just let it cool to room temperature. The oven heats the poor solder joints enough so that it reseats and gets a better connection. There are hundreds of posts of success on this. I also hear that the solder connection problem exists for many of the older revision Xbox 360 game consoles causing the infamous "Red Ring of Death".
So do I try to fight with Amazon to take this back and eat the shipping?
Do I void my warranty, open the device up and put the board in the oven?
Do I buy another router from a closer store, but then put this one in the box and take it back?
Do I just cut my losses?
Do I just use this as a wired router (disable Wifi) and hook up my WRT-54g and make that act as just an access point?
Thanks for the advice.
Solved!
Go to Solution.Ok I've had my replacement 320N for almost 1 full week now, and while at first it was fine, come Sunday it appears to freeze during heavy transfers. I was streaming an HD movie to the laptop connected to the TV. 3/4ths of the way through the movie it started skipping. What do you know, the whole network was down. No internet or anything. Power cycle the router and everything was back up. Needless to say, I finished the movie through the wired connection. The next day I tried copying 8GB of data wirelessly. The SSID vanished 1/3rd of the way in during the transfer.
What is wrong with this stuff? Linksys doesn't make things like they used to. This 320N is so cheaply made I don't think I could recommend it to anyone. I might see if I can send this back to Amazon and get a Netgear.
Maybe you are looking for
-
I want to use the screen on my touchsmart as a monitor on a new PC.
I just bought a new gaming tower and i would like to know if i could hook it up to my touchsmart as a monitor.
-
IPod 3rd Gen Not Connecting to Windows AT ALL
i have an iPod 3rd Gen 10gb. I use firewire to connect it to my iPod. When i connect it, it shows that it is charging but that is all. my computer won't recognize it at all. i tried a new cable, a new firewire card, i bought a USB cable, reinstalling
-
The acrobat PDF viewer does not open when reading PDF files in Safari. The pdf file is opened with "preview" in safari instead. How do I get the PDF viewer to work with Safari. I have installed the acrobat reader and it detected that PDF viewer was n
-
Unsupported 'presence=hidden' value on subform object 'Area'
I received the "Unsupported 'presence=hidden' value on subform object 'Area'" warning/error report. It certainly seems like a error however the code appears to work. What's happening here?
-
Error "remote server is not responding in proper manner"
Hello, Please help me, Im getting the error while installing the CC,