Can someone decode this diagram of a shared server?
Hi.
This diagram
http://esupport.csci.unt.edu/oracle/server.901/a90117/manproc.htm
of the Oracle Shared Server setup is quite useful but I would like to ask anyone here to tell me what the numbers 1 and 7 , and 4 represent.
Im thinking that between 1 and 7 we have the user process.
And that for number 4 we have the server process.
Cheers.
DA
I believe these number is used to demonstrate the sequence of shared server flow.
1. User application called to dispatch process to request for connection
2. Dispatch place user request to Request Queue
3. User request is served by Shared Server Processes
4. Making necessary interaction with SGA, buffer cache, shared pool etc
5. After request processed, result place to Response Queue
6. Result was routed to Dispatch process
7. Served back to User Application
Similar Messages
-
Can someone decode this kernel panic?
Hello!
I was wondering if anyone out there could decode the kernel panic reports I am getting on my iMac every few hours.
I have upgraded to Mountain Lion from Lion a few days ago.
I used to use my external storage drive on firewire for timemachine, and I unplugged it, used USB adapter, and plugged it into usb 3.0 slot on my macbook, and then used the drive with USB adapter on my iMac, could this be why?
Anyhow ever since I am getting kernel panic every 3 hours or so.
This is the report I get,
panic(cpu 2 caller 0xffffff80286b7b95): Kernel trap at 0xffffff802863fbea, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0x0000000000000010, CR3: 0x000000000f733030, CR4: 0x00000000000606e0
RAX: 0xffffff8028c8eb04, RBX: 0x0000000000000000, RCX: 0xffffff8028c8eb00, RDX: 0x0000000000000000
RSP: 0xffffff80a8043d90, RBP: 0xffffff80a8043dc0, RSI: 0x000000005c631f80, RDI: 0xffffff80382887a8
R8: 0x000000000031efd0, R9: 0x0000000000000000, R10: 0xffffff809beef000, R11: 0x0000000000000201
R12: 0xffffff80382887a8, R13: 0xffffff80382887b0, R14: 0xffffff803515cea8, R15: 0x0000000000000001
RFL: 0x0000000000010082, RIP: 0xffffff802863fbea, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0x0000000000000010, Error code: 0x0000000000000000, Fault CPU: 0x2
Backtrace (CPU 2), Frame : Return Address
0xffffff80a8043a30 : 0xffffff802861d5f6
0xffffff80a8043aa0 : 0xffffff80286b7b95
0xffffff80a8043c70 : 0xffffff80286ce4ad
0xffffff80a8043c90 : 0xffffff802863fbea
0xffffff80a8043dc0 : 0xffffff802861a32a
0xffffff80a8043e50 : 0xffffff802864f990
0xffffff80a8043e80 : 0xffffff8028620abd
0xffffff80a8043eb0 : 0xffffff8028610448
0xffffff80a8043f00 : 0xffffff80286195fb
0xffffff80a8043f70 : 0xffffff80286a5ad6
0xffffff80a8043fb0 : 0xffffff80286ced13
BSD process name corresponding to current thread: ubd
Mac OS version:
12A269
Kernel version:
Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64
Kernel UUID: 8D5F8EF3-9D12-384B-8070-EF2A49C45D24
Kernel slide: 0x0000000028400000
Kernel text base: 0xffffff8028600000
System model name: iMac12,2 (Mac-942B59F58194171B)
System uptime in nanoseconds: 2700700836379
last loaded kext at 49263270416: com.apple.filesystems.ntfs 3.10 (addr 0xffffff7fa8de1000, size 368640)
last unloaded kext at 275250072454: com.apple.driver.AppleUSBUHCI 5.1.5 (addr 0xffffff7fa8fa7000, size 65536)
loaded kexts:
com.apple.filesystems.ntfs 3.10
com.apple.driver.AppleBluetoothMultitouch 75.15
com.apple.driver.IOBluetoothSCOAudioDriver 4.0.9f8
com.apple.driver.IOBluetoothA2DPAudioDriver 4.0.9f8
com.apple.iokit.IOBluetoothSerialManager 4.0.9f8
com.apple.driver.AppleHWSensor 1.9.5d0
com.apple.driver.AudioAUUC 1.60
com.apple.driver.AppleMikeyHIDDriver 122
com.apple.driver.AGPM 100.12.69
com.apple.driver.AppleHDA 2.3.0f2
com.apple.filesystems.autofs 3.0
com.apple.driver.AppleMikeyDriver 2.3.0f2
com.apple.driver.AppleUpstreamUserClient 3.5.10
com.apple.kext.AMDFramebuffer 8.0.0
com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0
com.apple.driver.AppleSMCPDRC 1.0.0
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.ApplePolicyControl 3.2.6
com.apple.driver.AppleLPC 1.6.0
com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport 4.0.9f8
com.apple.driver.AppleSMCLMU 2.0.2d0
com.apple.AMDRadeonAccelerator 1.0.0
com.apple.driver.AppleIntelHD3000Graphics 8.0.0
com.apple.driver.AppleIntelSNBGraphicsFB 8.0.0
com.apple.driver.AppleBacklight 170.2.3
com.apple.driver.AppleMCCSControl 1.0.33
com.apple.driver.AppleIRController 320.15
com.apple.iokit.SCSITaskUserClient 3.5.1
com.apple.driver.AppleUSBCardReader 3.1.0
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 34
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCIBlockStorage 2.2.0
com.apple.driver.AppleUSBHub 5.1.6
com.apple.iokit.AppleBCM5701Ethernet 3.2.5b3
com.apple.driver.AirPort.Atheros40 600.70.23
com.apple.driver.AppleFWOHCI 4.9.5
com.apple.driver.AppleAHCIPort 2.4.0
com.apple.driver.AppleUSBEHCI 5.1.5
com.apple.driver.AppleEFINVRAM 1.6.1
com.apple.driver.AppleACPIButtons 1.6
com.apple.driver.AppleRTC 1.5
com.apple.driver.AppleHPET 1.7
com.apple.driver.AppleSMBIOS 1.9
com.apple.driver.AppleACPIEC 1.6
com.apple.driver.AppleAPIC 1.6
com.apple.driver.AppleIntelCPUPowerManagementClient 196.0.0
com.apple.nke.applicationfirewall 4.0.39
com.apple.security.quarantine 2
com.apple.driver.AppleIntelCPUPowerManagement 196.0.0
com.apple.driver.AppleBluetoothHIDKeyboard 165.5
com.apple.driver.AppleHIDKeyboard 165.5
com.apple.driver.IOBluetoothHIDDriver 4.0.9f8
com.apple.driver.AppleMultitouchDriver 235.27
com.apple.iokit.IOSerialFamily 10.0.6
com.apple.driver.DspFuncLib 2.3.0f2
com.apple.iokit.IOAudioFamily 1.8.9fc9
com.apple.kext.OSvKernDSPLib 1.6
com.apple.kext.triggers 1.0
com.apple.driver.IOPlatformPluginLegacy 1.0.0
com.apple.iokit.IOSurface 86.0.2
com.apple.iokit.IOBluetoothFamily 4.0.9f8
com.apple.driver.AppleSMBusPCI 1.0.10d0
com.apple.iokit.IOFireWireIP 2.2.5
com.apple.driver.IOPlatformPluginFamily 5.2.0d16
com.apple.iokit.AppleBluetoothHCIControllerUSBTransport 4.0.9f8
com.apple.driver.AppleSMC 3.1.3d11
com.apple.iokit.IOAcceleratorFamily 19.0.26
com.apple.driver.AppleHDAController 2.3.0f2
com.apple.iokit.IOHDAFamily 2.3.0f2
com.apple.driver.AppleThunderboltEDMSink 1.1.8
com.apple.driver.AppleThunderboltEDMSource 1.1.8
com.apple.kext.AMD6000Controller 8.0.0
com.apple.kext.AMDSupport 8.0.0
com.apple.driver.AppleGraphicsControl 3.2.6
com.apple.driver.AppleBacklightExpert 1.0.4
com.apple.iokit.IONDRVSupport 2.3.4
com.apple.driver.AppleSMBusController 1.0.10d0
com.apple.iokit.IOGraphicsFamily 2.3.4
com.apple.driver.AppleThunderboltDPOutAdapter 1.8.5
com.apple.driver.AppleThunderboltDPInAdapter 1.8.5
com.apple.driver.AppleThunderboltDPAdapterFamily 1.8.5
com.apple.driver.AppleThunderboltPCIDownAdapter 1.2.5
com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.5.1
com.apple.iokit.IOBDStorageFamily 1.7
com.apple.iokit.IODVDStorageFamily 1.7.1
com.apple.iokit.IOCDStorageFamily 1.7.1
com.apple.iokit.IOAHCISerialATAPI 2.5.0
com.apple.iokit.IOUSBHIDDriver 5.0.0
com.apple.iokit.IOUSBMassStorageClass 3.5.0
com.apple.driver.AppleUSBMergeNub 5.1.5
com.apple.driver.AppleUSBComposite 5.0.0
com.apple.iokit.IOSCSIBlockCommandsDevice 3.5.1
com.apple.iokit.IOSCSIArchitectureModelFamily 3.5.1
com.apple.iokit.IOUSBUserClient 5.0.0
com.apple.driver.AppleThunderboltNHI 1.6.0
com.apple.iokit.IOThunderboltFamily 2.0.3
com.apple.iokit.IOEthernetAVBController 1.0.2b1
com.apple.iokit.IO80211Family 500.15
com.apple.iokit.IONetworkingFamily 3.0
com.apple.iokit.IOFireWireFamily 4.5.5
com.apple.iokit.IOAHCIFamily 2.2.0
com.apple.iokit.IOUSBFamily 5.1.6
com.apple.driver.AppleEFIRuntime 1.6.1
com.apple.iokit.IOHIDFamily 1.8.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 220
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.DiskImages 344
com.apple.iokit.IOStorageFamily 1.8
com.apple.driver.AppleKeyStore 28.18
com.apple.driver.AppleACPIPlatform 1.6
com.apple.iokit.IOPCIFamily 2.7
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.corecrypto 1.0
and this is another report,
panic(cpu 2 caller 0xffffff80302b7b95): Kernel trap at 0xffffff803023fbea, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0x0000000000000010, CR3: 0x0000000035fae07b, CR4: 0x00000000000606e0
RAX: 0xffffff803088eb04, RBX: 0x0000000000000000, RCX: 0xffffff803088eb00, RDX: 0x0000000000000000
RSP: 0xffffff80afb53d90, RBP: 0xffffff80afb53dc0, RSI: 0x000000005c631f80, RDI: 0xffffff80435b8178
R8: 0x00000000000851ec, R9: 0x0000000000000000, R10: 0xffffff80a2b8e000, R11: 0x0000000000000201
R12: 0xffffff80435b8178, R13: 0xffffff80435b8180, R14: 0xffffff8041faef30, R15: 0x0000000000000001
RFL: 0x0000000000010082, RIP: 0xffffff803023fbea, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0x0000000000000010, Error code: 0x0000000000000000, Fault CPU: 0x2
Backtrace (CPU 2), Frame : Return Address
0xffffff80afb53a30 : 0xffffff803021d5f6
0xffffff80afb53aa0 : 0xffffff80302b7b95
0xffffff80afb53c70 : 0xffffff80302ce4ad
0xffffff80afb53c90 : 0xffffff803023fbea
0xffffff80afb53dc0 : 0xffffff803021a32a
0xffffff80afb53e50 : 0xffffff803024f990
0xffffff80afb53e80 : 0xffffff8030220abd
0xffffff80afb53eb0 : 0xffffff8030210448
0xffffff80afb53f00 : 0xffffff80302195fb
0xffffff80afb53f70 : 0xffffff80302a5ad6
0xffffff80afb53fb0 : 0xffffff80302ced13
BSD process name corresponding to current thread: ubd
Mac OS version:
12A269
Kernel version:
Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64
Kernel UUID: 8D5F8EF3-9D12-384B-8070-EF2A49C45D24
Kernel slide: 0x0000000030000000
Kernel text base: 0xffffff8030200000
System model name: iMac12,2 (Mac-942B59F58194171B)
System uptime in nanoseconds: 3342315437822
last loaded kext at 2082319972668: com.seagate.driver.PowSecDriverCore 5.1.1 (addr 0xffffff7fb2282000, size 172032)
last unloaded kext at 2150663635759: com.apple.iokit.IOFireWireSBP2 4.2.0 (addr 0xffffff7fb2267000, size 110592)
loaded kexts:
com.apple.driver.AppleBluetoothMultitouch 75.15
com.apple.driver.AppleHWSensor 1.9.5d0
com.apple.driver.AudioAUUC 1.60
com.apple.driver.IOBluetoothSCOAudioDriver 4.0.9f8
com.apple.driver.IOBluetoothA2DPAudioDriver 4.0.9f8
com.apple.filesystems.ntfs 3.10
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.driver.AppleUpstreamUserClient 3.5.10
com.apple.driver.AGPM 100.12.69
com.apple.driver.AppleMikeyHIDDriver 122
com.apple.iokit.IOBluetoothSerialManager 4.0.9f8
com.apple.kext.AMDFramebuffer 8.0.0
com.apple.driver.AppleIntelHD3000Graphics 8.0.0
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AppleMikeyDriver 2.3.0f2
com.apple.driver.AppleHDA 2.3.0f2
com.apple.AMDRadeonAccelerator 1.0.0
com.apple.driver.AppleBacklight 170.2.3
com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport 4.0.9f8
com.apple.driver.AppleSMCPDRC 1.0.0
com.apple.iokit.AppleBCM5701Ethernet 3.2.5b3
com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0
com.apple.driver.AirPort.Atheros40 600.70.23
com.apple.driver.ApplePolicyControl 3.2.6
com.apple.driver.AppleSMCLMU 2.0.2d0
com.apple.driver.AppleLPC 1.6.0
com.apple.driver.AppleIntelSNBGraphicsFB 8.0.0
com.apple.driver.AppleMCCSControl 1.0.33
com.apple.filesystems.autofs 3.0
com.apple.iokit.SCSITaskUserClient 3.5.1
com.apple.driver.AppleUSBCardReader 3.1.0
com.apple.driver.AppleIRController 320.15
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 34
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCIBlockStorage 2.2.0
com.apple.driver.AppleUSBHub 5.1.6
com.apple.driver.AppleAHCIPort 2.4.0
com.apple.driver.AppleFWOHCI 4.9.5
com.apple.driver.AppleUSBEHCI 5.1.5
com.apple.driver.AppleEFINVRAM 1.6.1
com.apple.driver.AppleACPIButtons 1.6
com.apple.driver.AppleRTC 1.5
com.apple.driver.AppleHPET 1.7
com.apple.driver.AppleSMBIOS 1.9
com.apple.driver.AppleACPIEC 1.6
com.apple.driver.AppleAPIC 1.6
com.apple.driver.AppleIntelCPUPowerManagementClient 196.0.0
com.apple.nke.applicationfirewall 4.0.39
com.apple.security.quarantine 2
com.apple.driver.AppleIntelCPUPowerManagement 196.0.0
com.apple.driver.AppleBluetoothHIDKeyboard 165.5
com.apple.driver.AppleHIDKeyboard 165.5
com.apple.driver.IOBluetoothHIDDriver 4.0.9f8
com.apple.driver.AppleMultitouchDriver 235.27
com.apple.iokit.IOSurface 86.0.2
com.apple.iokit.IOSerialFamily 10.0.6
com.apple.iokit.IOBluetoothFamily 4.0.9f8
com.apple.driver.DspFuncLib 2.3.0f2
com.apple.iokit.IOAudioFamily 1.8.9fc9
com.apple.kext.OSvKernDSPLib 1.6
com.apple.iokit.IOAcceleratorFamily 19.0.26
com.apple.driver.AppleBacklightExpert 1.0.4
com.apple.iokit.AppleBluetoothHCIControllerUSBTransport 4.0.9f8
com.apple.iokit.IOEthernetAVBController 1.0.2b1
com.apple.iokit.IOFireWireIP 2.2.5
com.apple.driver.IOPlatformPluginLegacy 1.0.0
com.apple.iokit.IO80211Family 500.15
com.apple.iokit.IONetworkingFamily 3.0
com.apple.driver.AppleThunderboltEDMSink 1.1.8
com.apple.driver.AppleThunderboltEDMSource 1.1.8
com.apple.driver.AppleGraphicsControl 3.2.6
com.apple.iokit.IONDRVSupport 2.3.4
com.apple.driver.AppleSMBusPCI 1.0.10d0
com.apple.driver.AppleSMC 3.1.3d11
com.apple.driver.AppleHDAController 2.3.0f2
com.apple.iokit.IOHDAFamily 2.3.0f2
com.apple.driver.IOPlatformPluginFamily 5.2.0d16
com.apple.kext.AMD6000Controller 8.0.0
com.apple.kext.AMDSupport 8.0.0
com.apple.driver.AppleSMBusController 1.0.10d0
com.apple.iokit.IOGraphicsFamily 2.3.4
com.apple.kext.triggers 1.0
com.apple.driver.AppleThunderboltDPOutAdapter 1.8.5
com.apple.driver.AppleThunderboltDPInAdapter 1.8.5
com.apple.driver.AppleThunderboltDPAdapterFamily 1.8.5
com.apple.driver.AppleThunderboltPCIDownAdapter 1.2.5
com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.5.1
com.apple.iokit.IOBDStorageFamily 1.7
com.apple.iokit.IODVDStorageFamily 1.7.1
com.apple.iokit.IOCDStorageFamily 1.7.1
com.apple.iokit.IOUSBMassStorageClass 3.5.0
com.apple.iokit.IOAHCISerialATAPI 2.5.0
com.apple.iokit.IOUSBHIDDriver 5.0.0
com.apple.driver.AppleUSBMergeNub 5.1.5
com.apple.driver.AppleUSBComposite 5.0.0
com.apple.iokit.IOSCSIBlockCommandsDevice 3.5.1
com.apple.iokit.IOSCSIArchitectureModelFamily 3.5.1
com.apple.iokit.IOUSBUserClient 5.0.0
com.apple.driver.AppleThunderboltNHI 1.6.0
com.apple.iokit.IOThunderboltFamily 2.0.3
com.apple.iokit.IOAHCIFamily 2.2.0
com.apple.iokit.IOFireWireFamily 4.5.5
com.apple.iokit.IOUSBFamily 5.1.6
com.apple.driver.AppleEFIRuntime 1.6.1
com.apple.iokit.IOHIDFamily 1.8.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 220
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.DiskImages 344
com.apple.iokit.IOStorageFamily 1.8
com.apple.driver.AppleKeyStore 28.18
com.apple.driver.AppleACPIPlatform 1.6
com.apple.iokit.IOPCIFamily 2.7
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.corecrypto 1.0Uninstall the Seagate software according to the developer's instructions. Reboot and test.
-
I am updating iphoto 9.1 to 9.3 and every time when I clicked for update aps store asked to open it in the account where you purchased. I am using the same account and its available in the purchased item of this account. But in my purchased item library it indicates that you update iPhoto. I am not sure which account the aps store asking. Can someone resolve this problem.
Contact App Store support. They're the folks who can help with Account issues.
Regards
TD -
hi can someone keep this simple for me! my iPhone is due for a renewal. but my old laptop that it is backed up to no longer works! how do i go about saving all my songs pics etc to a new laptop without losing anything? please help!!!
Syncing to a "New" Computer or replacing a "crashed" Hard Drive
-
Can someone perform this speaker test for me please
Hi can someone perform this test for please, play some ipod music through your phone and and cover 1 speaker at a time with you finger, does 1 block out the music as if one speaker is much louder than the other ? just I have tried this on my new iphone 4 as thought it might be a problem but my 3GS is doing it to ??, is it fault or meant to be like that
There's only one speaker.
http://manuals.info.apple.com/enUS/iPhone_iOS4_UserGuide.pdf -
Multithreading - Can someone explain this ...
Hi Java Gurus:
Can someone explain this to me why my multithreading worked in once case and not in the other.
First a little background:
My application lets the user create multiple JInternalFrames. Each frame has an OK button. When the user presses the OK button, the frame goes about it's business in a new thread, thus returning control to the use, so he/she can press the OK button on the second frame .. and so on.
Following is the event handler for the OK button that creates the new thread:
case1 - doesn't work:
btnTranslate.addActionListener(
new ActionListener() {
public void actionPerformed( ActionEvent e ) {
txtOutput.setText("");
txtBadParts.setText("");
Translation trans = new Translation(inst);
trans.run();
);case2 - works:
btnTranslate.addActionListener(
new ActionListener() {
public void actionPerformed( ActionEvent e ) {
txtOutput.setText("");
txtBadParts.setText("");
new Translation(inst).start();
);Thanks,
KamranCalling the run method makes the run method run in the current thread. You need to call the start method to get the thread to start its own thread.
-
Can someone execute this program?
Can someone execute this program for me and tell me if it works correctly? My DOS is acting funny.
look for these things:
- accepts input from keyboard and places them into an array
- continues to accept names until a blank name is entered
- array can contain up to 15 names
- after all names are entered, it displays the contents of the array
and writes them to a file
- output should be in 2 columns
if you see a problem, please tell me how to fix it.
import java.io.*;
* the purpose of this program is to read data from the keyboard
* and put it into a sequential file for processing by ReadFile
* @author Maya Crawford
public class Lab0
* this function will prompt and receive data from the keyboard
* @return String containing the data read from the keyboard
* @param BufferedReader that is connected to System.in
*/ (keyboard)
public static String getData(BufferedReader infile)
throws IOException
System.out.println("enter a name");
return infile.readLine();
* this is the main program which will read from the keyboard and
* display the given input onto the screen and also write the data
* to a file
* @param Array of Strings (not used in this program)
public static void main(String[] args)
throws IOException
int i;
String[] outString = new String[16];
DataOutputStream output=null;
// this code assigns the standard input to a datastream
BufferedReader input= new BufferedReader(new InputStreamReader(System.in));
// this code opens the output file...
try
output= new DataOutputStream(new FileOutputStream("javaapp.dat"));
// handle any open errors
catch (IOException e)
System.err.println("Error in opening output file\n"
+ e.toString());
System.exit(1);
// priming read......
for(i=0;i<outString.length;i++)
outString=getData(input);
// this is the loop to continue while nnonblank data is entered
while (!outString.equals(""))
for(i=0;i<outString.length;i++)
outString[i]=getData(input);
outString[i] = input.readLine();
System.out.println("Name entered was:"+ outString[i]);
output.writeBytes(outString[i]+"\r\n");
int rcol=(outString.length+1)/2;
for(i=0;i<(outString.length)/2;i++)
System.out.println(outString[i]+"\t"+outString[rcol++]);
// flush buffers and close file...
try
output.flush();
output.close();
catch (IOException e)
System.err.println("Error in closing output file\n"
+ e.toString());
// say goodnight Gracie...
System.out.println("all done");Ok, here is what I came up with. I commented most of what I changed and gave a reason for changing it. My changes aren't perfect and it still needs to be tweeked. When you run the program you have to hit the enter key every time once before you type a name. When you are done typing names hit the enter key twice and it will output the names entered into the array. Like I said, it isn't perfect, and that part you will need to fix.
import java.io.*;
* the purpose of this program is to read data from the keyboard
* and put it into a sequential file for processing by ReadFile
* @author Maya Crawford
public class Lab0
* this function will prompt and receive data from the keyboard
* @return String containing the data read from the keyboard
* @param BufferedReader that is connected to System.in
*/ //(keyboard)
//On the above line where you have (keyboard), it wasn't commented out in your
//program and it was throwing a error.
public static String getData(BufferedReader infile)
throws IOException
System.out.println("enter a name");
return infile.readLine();
* this is the main program which will read from the keyboard and
* display the given input onto the screen and also write the data
* to a file
* @param Array of Strings (not used in this program)
public static void main(String[] args)
throws IOException
int i;
String testString; // Created to hold the string entered by the user, because your
// outString array wasn't working for that.
String[] outString = new String[16];
DataOutputStream output=null;
// this code assigns the standard input to a datastream
BufferedReader input= new BufferedReader(new InputStreamReader(System.in));
// this code opens the output file...
try
output= new DataOutputStream(new FileOutputStream("javaapp.dat"));
// handle any open errors
catch (IOException e)
System.err.println("Error in opening output file\n"
+ e.toString());
System.exit(1);
// priming read......
testString = " "; // Initialize testString
int placeMark = 0; // to input the String entered by the user into the outString
// array, it needs to know which position to enter it into.
while (!testString.equals(""))
testString=getData(input);
testString = input.readLine();
System.out.println("Name entered was:"+ testString);
// Put the testString into the outString[] array.
// A lot of the time when you used outString you forgot to use the [x] to indicate
// which position you wanted to access.
outString[placeMark] = testString;
output.writeBytes(testString+"\r\n");
placeMark++;
// Created a do/while loop to display the list of outString.
int nextEntry = 0;
do
System.out.println(outString[nextEntry]);
nextEntry++;
}while(!outString[nextEntry].equals(""));
// flush buffers and close file...
try
output.flush();
output.close();
catch (IOException e)
System.err.println("Error in closing output file\n"
+ e.toString());
// say goodnight Gracie...
System.out.println("all done");
} -
Can someone translate this vi to LV 5.0?
Can someone translate this vi to LV 5.0?
Thanks
Gorka
Attachments:
Write_Table_and_Chart_to_XL.llb 240 KBTry this one.
Hope it works!
Brian
Attachments:
Write_Table_and_Chart_to_XL50.llb 163 KB -
Can someone awnser this question please
'\ my sound card and my tv is digital but my stereo surround system is analogue but my question is.
how well to the analogue to digital converts work which i can buy for 40 quid.
will it give me the same quality digital to digital if im using analogue to digital.
any help will be much apreciated+Re: can someone awnser this question pleased
deebs986 wrote:
my sound card and my tv is digital but my stereo surround system is analogue but my question is.
how well to the analogue to digital converts work which i can buy for 40 quid.
will it give me the same quality digital to digital if im using analogue to digital.
any help will be much apreciated
Depends on
the analog part of A/D Converter and the converter as well ... there are cheap ones which (if you're audiophile)? may give weak results but normally, those are suitable even being that cheap ... you name ones you have in mind to get more exact answers<
the source ... D to D is : (lossless (theory))? , A to D (lossy (why, ... read above))<
jutapa
@9.56.77.37 -
Can someone tell me why the Yahoo mail server (IMAP) keeps requesting my Yahoo email password and says it's incorrect? Yahoo is my Mac mail server. This has happened before, but this time I can't get it to 'Cancel'.
You will have to contact Yahoo Support.
-
Trying to understand RSTP - Please can someone explain this?
Hi Group
I am still confused about how RSTP is implemented. From what i understand the major difference is that STP
used Timers for Loop prevention whereas RSTP coordinates between neighbors via messages (proposal/aggreement) to turn on links
more quickly after topology changes and is "timer free".
However, I have not noticed any difference in the configuration from the legacy STP
configurations and the RSTP configuration on cisco devices. Or are there any differences??
I have read in documentation that RSTP natively includes features like UplinkFast, BackboneFast and PortFast. So are these features now obsolete
and not needed to be configured if you are running RSTP. (Although i have seen Portfast still configured along with RSTP on many switches)
Also can someone explain the below Points from Cisco Documentation
1) should STP be disabled on edge ports all together as suggested below?
"STP edge ports are bridge ports that do not need STP enabled, where loop protection is not needed out
of that port or an STP neighbor does not exist out of that port. For RSTP, it is important to disable STP
on edge ports, which are typically front-side Ethernet ports, using the command bridge
bridge-group-number spanning-disabled on the appropriate interface. If RSTP is not disabled on edge
ports, convergence times will be excessive for packets traversing those ports."
2) It seems RSTP relies on duplex setting to determine inter-switch links. What is the configuration to explicitly
configure RSTP link types? (I couldnt find this in the documentation)
"RSTP can only achieve rapid transition to the forwarding state on edge ports and on point-to-point links.
The link type is automatically derived from the duplex mode of a port. A port that operates in fullduplex
is assumed to be point-to-point, while a half-duplex port is considered as a shared port by
default. This automatic link type setting can be overridden by explicit configuration. In switched
networks today, most links operate in full-duplex mode and are treated as point-to-point links by RSTP.
This makes them candidates for rapid transition to the forwarding state."
Also i am a bit rough on my RSTP knowledge even after skimming a few Cisco documents. Can someone please explain this in simple way.
Thanks in advanceto configure it on a device:-
spanning-tree mode rapid-pvst
PortFast/UplinkFast & BackboneFast were cisco "Enhancements" to 802.1d STP. RSTP just incorperates them. If you want to configure portfast, the command is still "spanning-tree portfast"
OK
1) That is your choice - I have bitter experiance of users/IT admins just plugging hubs/switches in when ever they can. Also cabling the switch back to itself creating a cabled loop. So my advice to you is to leave STP enabled on all switch ports, BUT enable BPDUGuard - this is a life saver, if you have configured portfast.
2) duplex auto! or duplex full (overiding)
I really suggest that you read the 802.1d standard, once you understand normal spanning-tree - RSTP will come to you.
http://www.cisco.com/en/US/tech/tk389/tk621/tsd_technology_support_protocol_home.html')">http://www.cisco.com/en/US/tech/tk389/tk621/tsd_technology_support_protocol_home.html')">http://www.cisco.com/en/US/tech/tk389/tk621/tsd_technology_support_protocol_home.html')">http://www.cisco.com/en/US/tech/tk389/tk621/tsd_technology_support_protocol_home.html
http://en.wikipedia.org/wiki/Spanning_tree_protocol')">http://en.wikipedia.org/wiki/Spanning_tree_protocol')">http://en.wikipedia.org/wiki/Spanning_tree_protocol')">http://en.wikipedia.org/wiki/Spanning_tree_protocol
HTH> -
Can someone confirm this for me?
Can someone try running ISOBuster 1.1? (http://www.isobuster.com) Without a BSOD of NO_MORE_IRP_STACK_LOCATIONS?
How about Windows Component Update? Without a BSOD of the same error?
It seems this stupid BSOD plagues me and keeps me from installing Visual Studio.
I've tried the Registry Tweak and it still happens.
I've tried different BIOS's with clean installs.
I've tried different drivers with those different BIOS's with clean installs.
I'm stumped and sad...Have you recently installed a new virus scanner?
Winntmag has this to say : http://www.winntmag.com/Articles/Index.cfm?ArticleID=3396
NO_MORE_IRP_STACK_LOCATIONS 0x35
With this code, if you've added a new virus scanner or someone has accessed a shared volume over the network for the first time on the machine, the Server device driver can be at fault. The Server device driver constructs I/O request packets with a slot for every device driver on the path to the disk. Sometimes the number of I/O request packets the Server device driver allocates is insufficient, resulting in this Stop Code. Try increasing the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ServicesLanmanServer\IrpStackSize setting to a number higher than 4 (or whatever it's set to) and see whether the problem goes away -
i have a ipad mini , ios version 8.3 .... i am not able to download any app currently on my ipad.... i am not able to figure out the problem , it shows the app is loading in app store , but its never getting downloaded....how do i fix this problem ??? can someone please figure it out ???
Welcome to the Apple Community.
When your account becomes disabled, Apple provides the following recommendation:
"This message means that someone tried and failed to sign in to your account multiple times. The Apple ID system disables the account to prevent unauthorized people from gaining access to your information. You need to reset your password, following the instructions at the Apple ID website".
Visit iForgot.com and follow the instructions there.
In order to change your Apple ID or password for your iCloud account on your iOS device, you need to delete the account from your iOS device first, then add it back using your updated details. (Settings > iCloud, scroll down and hit "Delete Account")
Providing you are simply updating your existing details and not changing to another account, when you delete your account, all the data that is synced with iCloud will also be deleted from the device (but not from iCloud), but will be synced back to your device when you login again.
In order to change your Apple ID or password for your iCloud account on your computer, you need to sign out of the account from your computer first, then sign back in using your updated details. (System Preferences > iCloud, click the sign out button)
In order to change your Apple ID or password for your iTunes account on your iOS device, you need to sign out from your iOS device first, then sign back in using your updated details. (Settings > store, scroll down and tap your ID)
If that doesn't help you might try contacting Apple through iTunes Store Support -
If the data is encode value how can I decode this value
Hi everybody;
I have one question about when the data is encode but I need decode this value,how can I use oracle function to decode this value.
Thanks, mikeHi everybody;
I have one question about when the data is encode but I need decode this value,how can I use oracle function to decode this value.
Thanks, mike -
Can someone explain this flashmo sample?
Hi,
I'm a newbie in flash and looking at this sample project.
http://www.flashmo.com/preview/flashmo_169_intro
I opened it with flash cs3, and can see actionscript on the actions layer, and can see symbols in the library. However, I cannot figure out what makes the symbols swoosh in/out in sequence. The actionscript on the actions layer does not have that, or so I figured.
Can someone explain where I need to look at?
Thanks.
BenThis is another good reason for never using scenes in Flash designs--they put things where they cannot be easily found. There is no actionscript for the animations, but there is a second scene that contains all of the animation. If you open the secnes panel you will find a second scene that includes all of what you are wondering about.
Ooops, sorry Rob. ....bad timing.
Maybe you are looking for
-
Mini-DVI to video adaptor tv connection issues
Could it possibly be with the new software upgrade? I just updated from 10.6.1 to 10.6.2 and all of a sudden my Mini-Dvi to Video stopped working. I'm using my Mini-DVI to VGA without problems at work with the same computer and a few minor adjustment
-
Hi All, We are working on BI 7.0. version In the varaible pop-up screen we have two info objects. 1. Fiscal year Period 2. JOA(Joint operating aggriment) If u press F4 for JOA, it is taking long time to execute and finally the application is getting
-
I currently have my Apple TV set up using my wireless network in my home. I plan to use the Apple TV while camping and thinking I should be able to use my Hot Spot on my iPad to display on my TV while camping. What I'm not finding is how to find my
-
Email attachment Microsoft vs Adobe Reader
I have a Dell Inspiron 2200 notebook and out of the blue when I open an attachment to an email Microsoft Word converts the attachment to unreadable info instead of opening it with Adobe Reader. Anyone have an idea what is going on? Thanks, Ilene
-
How can I explore / search for files on a Applets base URL. Is there a simple way to do this without using servlets or some kind of java security programing ?