No Sound in Java Applets
I recently installed Arch, switching from Ubuntu,and so far pretty much everything is going as expected. The one issue I have at the moment is a lack of any sound whatsoever in Java applets. Sound works in all other contexts, including flash, perfectly. I am using the sun java implementation, and alsa as my sound server. Any suggestions as to fixes, or even simply where to look to find fixes, would be greatly appreciated. A decent bit of searching on my part revealed fixes for similar problems (ie, conflicting sound with other programs) and solutions that were specific to gnome, etc. Thanks to everyone in advance.
I should probably make a wiki article (or ad to the Java wiki article) about this, since it seems to come up quite often (especially on Ubuntu forums, actually). The only good solution I've found is to use Pulseaudio, and rename the java executable to java.bin, and make a script called java in the same folder, and put this in the script:
#!/bin/sh
padsp /opt/java/jre/bin/java.bin "$@"
By the way, the path to the java executable is /opt/java/jre/bin/ I've tried using the same method with plain ALSA by using aoss, and it works sorta, but it causes random crashes of Java, so that's a no go, have to use Pulse.
Similar Messages
-
No sound in java applets in 32bit firefox with bin32-jre plugin.
I got sound in flash, but not in java applets. Is this a known issue? Any workarounds?
I should probably make a wiki article (or ad to the Java wiki article) about this, since it seems to come up quite often (especially on Ubuntu forums, actually). The only good solution I've found is to use Pulseaudio, and rename the java executable to java.bin, and make a script called java in the same folder, and put this in the script:
#!/bin/sh
padsp /opt/java/jre/bin/java.bin "$@"
By the way, the path to the java executable is /opt/java/jre/bin/ I've tried using the same method with plain ALSA by using aoss, and it works sorta, but it causes random crashes of Java, so that's a no go, have to use Pulse. -
Hello,
I have a customer that is looking to set up SSO with an application that uses a Java Applet as its login screen to the app.
Any advice on how this can be set up. SSO via External Application doesn't seem to work since it doesn't use a GET or POST method.
Thank You!
PadminiAn applet (with normal security setup) can only open up socket connections to the host from whence the applet came. Sounds like your applet is trying to talk to port 5000 on the client's box. Can't do that, unless:
a) The client's box is the server (which is the case under your first scenario)
b) The applet is signed or otherwise set up to be "trusted" that it doesn't contain harmful code.
The security policy is there for a reason. I, for example, wouldn't want to stumble across some rogue applet out on the internet which then tries to open up socket connections to things on my corporate intranet or local machine -- unless I KNEW it was going to do that (I "trust" it). -
Crashes when running Java Applets and trying to open Security System Preferences
Browser crashes when trying to run Java Applets, I've tried 4 different browsers. This is the crash report.
Process: java [90472]
Path: /usr/bin/java
Identifier: com.apple.javajdk16.cmd
Version: 1.0 (1.0)
Code Type: X86-64 (Native)
Parent Process: Google Chrome Helper EH [90460]
Date/Time: 2012-02-17 15:04:44.693 -0500
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6
Interval Since Last Report: 9110 sec
Crashes Since Last Report: 8
Per-App Interval Since Last Report: 43908 sec
Per-App Crashes Since Last Report: 8
Anonymous UUID: DFA20D26-FD7E-4507-AAA9-EBF29199EC56
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Crashed Thread: 31 Java: Thread-11
Application Specific Information:
Java information:
Exception type: Bus Error (0xa) at pc=00000000
Java VM: Java HotSpot(TM) 64-Bit Server VM (20.4-b02-402 mixed mode macosx-amd64)
Current thread (102a13000): JavaThread "Thread-11" daemon [_thread_in_Java, id=607662080, stack(124283000,124383000)]
Stack: [124283000,124383000]
Java Threads: ( => current thread )
126525000 JavaThread "Thread-26" daemon [_thread_blocked, id=878407680, stack(1344b7000,1345b7000)]
126524000 JavaThread "Thread-25" daemon [_thread_in_native, id=877346816, stack(1343b4000,1344b4000)]
102f20800 JavaThread "Thread-21" daemon [_thread_blocked, id=636690432, stack(125e32000,125f32000)]
102b96000 JavaThread "Thread-20" daemon [_thread_in_native, id=550666240, stack(120ca8000,120d28000)]
102b95000 JavaThread "Thread-19" daemon [_thread_blocked, id=632483840, stack(125a2f000,125b2f000)]
1261e6000 JavaThread "Java Sound Event Dispatcher" daemon [_thread_blocked, id=591368192, stack(1232f9000,1233f9000)]
10191b800 JavaThread "Thread-15" daemon [_thread_blocked, id=611905536, stack(12468f000,12478f000)]
1029c7800 JavaThread "Thread-14" daemon [_thread_blocked, id=610844672, stack(12458c000,12468c000)]
102b11000 JavaThread "Thread-13" daemon [_thread_blocked, id=609783808, stack(124489000,124589000)]
101929000 JavaThread "Thread-12" daemon [_thread_blocked, id=608722944, stack(124386000,124486000)]
=>102a13000 JavaThread "Thread-11" daemon [_thread_in_Java, id=607662080, stack(124283000,124383000)]
1029d2000 JavaThread "Poller SunPKCS11-Darwin" daemon [_thread_blocked, id=541855744, stack(1203c1000,1204c1000)]
101a43800 JavaThread "thread applet-Rs2Applet.class-1" [_thread_blocked, id=534294528, stack(11fc8b000,11fd8b000)]
102a07800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=527765504, stack(11f651000,11f751000)]
102878000 JavaThread "JVM[id=0]-Heartbeat" daemon [_thread_blocked, id=490639360, stack(11d2e9000,11d3e9000)]
101943000 JavaThread "AWT-EventQueue-2" [_thread_blocked, id=494882816, stack(11d6f5000,11d7f5000)]
102933000 JavaThread "Applet 1 LiveConnect Worker Thread" [_thread_blocked, id=466014208, stack(11bb6d000,11bc6d000)]
101933800 JavaThread "Browser Side Object Cleanup Thread" [_thread_blocked, id=191471616, stack(10b59a000,10b69a000)]
101944000 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=493821952, stack(11d5f2000,11d6f2000)]
1029ae800 JavaThread "CacheCleanUpThread" daemon [_thread_blocked, id=492761088, stack(11d4ef000,11d5ef000)]
102a04800 JavaThread "CacheMemoryCleanUpThread" daemon [_thread_blocked, id=491700224, stack(11d3ec000,11d4ec000)]
102b2e000 JavaThread "SysExecutionTheadCreator" daemon [_thread_blocked, id=489578496, stack(11d1e6000,11d2e6000)]
1018e6800 JavaThread "Java Plug-In Pipe Worker Thread (Client-Side)" daemon [_thread_in_native, id=464945152, stack(11ba68000,11bb68000)]
101a46800 JavaThread "AWT-Shutdown" [_thread_blocked, id=463884288, stack(11b965000,11ba65000)]
101934800 JavaThread "AWT-AppKit" daemon [_thread_in_native, id=1896107200, stack(7fff5f400000,7fff5fc00000)]
101933000 JavaThread "Timer-0" [_thread_blocked, id=190410752, stack(10b497000,10b597000)]
1018cd000 JavaThread "traceMsgQueueThread" daemon [_thread_blocked, id=188145664, stack(10b26e000,10b36e000)]
102853000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=172019712, stack(10a30d000,10a40d000)]
102852800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=170958848, stack(10a20a000,10a30a000)]
102851800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=169897984, stack(10a107000,10a207000)]
102851000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=168837120, stack(10a004000,10a104000)]
102850000 JavaThread "Surrogate Locker Thread (Concurrent GC)" daemon [_thread_blocked, id=167776256, stack(109f01000,10a001000)]
102842800 JavaThread "Finalizer" daemon [_thread_blocked, id=162287616, stack(1099c5000,109ac5000)]
102841800 JavaThread "Reference Handler" daemon [_thread_blocked, id=161226752, stack(1098c2000,1099c2000)]
101801000 JavaThread "main" [_thread_blocked, id=5246976, stack(100401000,100501000)]
Other Threads:
10283d000 VMThread [stack: 1097bf000,1098bf000] [id=160165888]
10285d000 WatcherThread [stack: 10a410000,10a510000] [id=173080576]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
par new generation total 19136K, used 9943K [7eae00000, 7ec2c0000, 7ece00000)
eden space 17024K, 46% used [7eae00000, 7eb5a5ec8, 7ebea0000)
from space 2112K, 100% used [7ec0b0000, 7ec2c0000, 7ec2c0000)
to space 2112K, 0% used [7ebea0000, 7ebea0000, 7ec0b0000)
concurrent mark-sweep generation total 144152K, used 110056K [7ece00000, 7f5ac6000, 7fae00000)
concurrent-mark-sweep perm gen total 62268K, used 37524K [7fae00000, 7feacf000, 800000000)
Code Cache [103801000, 104192000, 106801000)
total_blobs=2217 nmethods=1445 adapters=734 free_code_cache=40529280 largest_free_block=47360
Virtual Machine Arguments:
JVM Args: -D__jvm_launched=1329508711033330 -Xbootclasspath/a:/System/Library/Frameworks/JavaVM.framework/Resources/Deploy. bundle/Contents/Resources/Java/deploy.jar:/System/Library/Frameworks/JavaVM.fram ework/Resources/Deploy.bundle/Contents/Resources/Java/javaws.jar:/System/Library /Frameworks/JavaVM.framework/Resources/Deploy.bundle/Contents/Resources/Java/plu gin.jar -Djava.applet.host=world8.runescape.com -Dapple.awt.UIElement=true -Dsun.awt.warmup=true -Xmx256m -Xss1m -Xincgc -XX:+UseConcMarkSweepGC -Dsun.java2d.noddraw=true
Java Command: sun.plugin2.main.client.PluginMain write_pipe_name=/var/folders/Aa/Aa4dzX7xHJmbzy55DpvyiE+++TI/-Tmp-/.java.deploy. 90460.994108354874315847
Launcher Type: SUN_STANDARD
Physical Memory: Page Size = 4k, Total = 3840M, Free = 774M
Thread 0: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x00007fff885cdd7a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff885ce3ed mach_msg + 59
2 com.apple.CoreFoundation 0x00007fff864f2902 __CFRunLoopRun + 1698
3 com.apple.CoreFoundation 0x00007fff864f1d8f CFRunLoopRunSpecific + 575
4 com.apple.HIToolbox 0x00007fff857827ee RunCurrentEventLoopInMode + 333
5 com.apple.HIToolbox 0x00007fff857825f3 ReceiveNextEventCommon + 310
6 com.apple.HIToolbox 0x00007fff857824ac BlockUntilNextEventMatchingListInMode + 59
7 com.apple.AppKit 0x00007fff85ae6eb2 _DPSNextEvent + 708
8 com.apple.AppKit 0x00007fff85ae6801 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
9 libawt.jnilib 0x000000010b6f1f0d -[NSApplicationAWT nextEventMatchingMask:untilDate:inMode:dequeue:] + 124
10 com.apple.AppKit 0x00007fff85aac68f -[NSApplication run] + 395
11 libawt.jnilib 0x000000010b69e19c +[AWTStarter startAWT:] + 1495
12 libawt.jnilib 0x000000010b69db16 -[CPerformer perform] + 93
13 com.apple.Foundation 0x00007fff8357745f __NSThreadPerformPerform + 219
14 com.apple.CoreFoundation 0x00007fff864f43d1 __CFRunLoopDoSources0 + 1361
15 com.apple.CoreFoundation 0x00007fff864f25c9 __CFRunLoopRun + 873
16 com.apple.CoreFoundation 0x00007fff864f1d8f CFRunLoopRunSpecific + 575
17 java 0x000000010000483f 0x100000000 + 18495
18 java 0x0000000100004296 0x100000000 + 17046
19 java 0x0000000100001a94 0x100000000 + 6804
Thread 1:
0 libSystem.B.dylib 0x00007fff885cdd7a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff885ce3ed mach_msg + 59
2 libclient64.dylib 0x000000010100d903 jio_snprintf + 37641
3 libclient64.dylib 0x000000010100d7c3 jio_snprintf + 37321
4 libclient64.dylib 0x00000001010b2597 JVM_MonitorWait + 4001
5 libclient64.dylib 0x00000001010b1a24 JVM_MonitorWait + 1070
6 libclient64.dylib 0x00000001010b1690 JVM_MonitorWait + 154
7 libjvmlinkage.dylib 0x0000000100093b9b JVM_MonitorWait + 59
8 ??? 0x0000000103811d6e 0 + 4353760622
9 ??? 0x000000010380685a 0 + 4353714266
10 ??? 0x00000001038069b3 0 + 4353714611
11 ??? 0x00000001038069b3 0 + 4353714611
12 ??? 0x000000010380685a 0 + 4353714266
13 ??? 0x000000010380685a 0 + 4353714266
14 ??? 0x0000000103801438 0 + 4353692728
15 libclient64.dylib 0x00000001010a5152 JVM_Lseek + 193185
16 libclient64.dylib 0x00000001010a4f16 JVM_Lseek + 192613
17 libclient64.dylib 0x00000001010c8e0e JVM_FindLoadedClass + 3186
18 libclient64.dylib 0x00000001010c8cb6 JVM_FindLoadedClass + 2842
19 java 0x0000000100002cef 0x100000000 + 11503
20 java 0x000000010000323c 0x100000000 + 12860
21 libSystem.B.dylib 0x00007fff88606fd6 _pthread_start + 331
22 libSystem.B.dylib 0x00007fff88606e89 thread_start + 13
Thread 2: Java: Exception Handler Thread
0 libSystem.B.dylib 0x00007fff885cdd7a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff885ce3ed mach_msg + 59
2 libSystem.B.dylib 0x00007fff8864aa17 mach_msg_server + 468
3 libclient64.dylib 0x000000010100e7cb jio_snprintf + 41425
4 libclient64.dylib 0x000000010100e683 jio_snprintf + 41097
5 libclient64.dylib 0x000000010100d264 jio_snprintf + 35946
6 libSystem.B.dylib 0x00007fff88606fd6 _pthread_start + 331
7 libSystem.B.dylib 0x00007fff88606e89 thread_start + 13
Thread 3: Java: Gang worker#0 (Parallel GC Threads)
0 libSystem.B.dylib 0x00007fff885cdd7a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff885ce3ed mach_msg + 59
2 libclient64.dylib 0x000000010100d903 jio_snprintf + 37641
3 libclient64.dylib 0x000000010100d7c3 jio_snprintf + 37321
4 libclient64.dylib 0x000000010100d722 jio_snprintf + 37160
5 libclient64.dylib 0x000000010100d2fd jio_snprintf + 36099
6 libclient64.dylib 0x000000010100d1a3 jio_snprintf + 35753
7 libclient64.dylib 0x0000000101025fa4 jio_vsnprintf + 312
8 libclient64.dylib 0x000000010100d264 jio_snprintf + 35946
9 libSystem.B.dylib 0x00007fff88606fd6 _pthread_start + 331
10 libSystem.B.dylib 0x00007fff88606e89 thread_start + 13
Thread 4: Java: Gang worker#1 (Parallel GC Threads)
0 libSystem.B.dylib 0x00007fff885cdd7a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff885ce3ed mach_msg + 59
2 libclient64.dylib 0x000000010100d903 jio_snprintf + 37641
3 libclient64.dylib 0x000000010100d7c3 jio_snprintf + 37321
4 libclient64.dylib 0x000000010100d722 jio_snprintf + 37160
5 libclient64.dylib 0x000000010100d2fd jio_snprintf + 36099
6 libclient64.dylib 0x000000010100d1a3 jio_snprintf + 35753
7 libclient64.dylib 0x0000000101025fa4 jio_vsnprintf + 312
8 libclient64.dylib 0x000000010100d264 jio_snprintf + 35946
9 libSystem.B.dylib 0x00007fff88606fd6 _pthread_start + 331
10 libSystem.B.dylib 0x00007fff88606e89 thread_start + 13
Thread 5: Java: Concurrent Mark-Sweep GC Thread
0 libSystem.B.dylib 0x00007fff885cdd7a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff885ce3ed mach_msg + 59
2 libclient64.dylib 0x000000010100d903 jio_snprintf + 37641
3 libclient64.dylib 0x000000010100d7c3 jio_snprintf + 37321
4 libclient64.dylib 0x000000010100d722 jio_snprintf + 37160
5 libclient64.dylib 0x000000010100d2fd jio_snprintf + 36099
6 libclient64.dylib 0x000000010100d1a3 jio_snprintf + 35753
7 libclient64.dylib 0x0000000101302097 JVM_Timeout + 883428
8 libclient64.dylib 0x000000010122803c JVM_Yield + 40397
9 libclient64.dylib 0x000000010122783d JVM_Yield + 38350
10 libclient64.dylib 0x00000001012277af JVM_Yield + 38208
11 libclient64.dylib 0x000000010122764e JVM_Yield + 37855
12 libclient64.dylib 0x00000001012273eb JVM_Yield + 37244
13 libclient64.dylib 0x000000010121edca JVM_Yield + 2907
14 libclient64.dylib 0x000000010102c3dc jio_vsnprintf + 25968
15 libclient64.dylib 0x000000010100d264 jio_snprintf + 35946
16 libSystem.B.dylib 0x00007fff88606fd6 _pthread_start + 331
17 libSystem.B.dylib 0x00007fff88606e89 thread_start + 13
Thread 6: Java: VM Thread
0 libSystem.B.dylib 0x00007fff885cdd7a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff885ce3ed mach_msg + 59
2 libclient64.dylib 0x000000010100d995 jio_snprintf + 37787
3 libclient64.dylib 0x000000010102c54a jio_vsnprintf + 26334
4 libclient64.dylib 0x000000010100d2fd jio_snprintf + 36099
5 libclient64.dylib 0x000000010100d1a3 jio_snprintf + 35753
6 libclient64.dylib 0x00000001010a3f8f JVM_Lseek + 188638
7 libclient64.dylib 0x00000001010a3cdf JVM_Lseek + 187950
8 libclient64.dylib 0x000000010100d264 jio_snprintf + 35946
9 libSystem.B.dylib 0x00007fff88606fd6 _pthread_start + 331
10 libSystem.B.dylib 0x00007fff88606e89 thread_start + 13
Thread 7: Java: Reference Handler
0 libSystem.B.dylib 0x00007fff885cdd7a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff885ce3ed mach_msg + 59
2 libclient64.dylib 0x000000010100d903 jio_snprintf + 37641
3 libclient64.dylib 0x000000010100d7c3 jio_snprintf + 37321
4 libclient64.dylib 0x00000001010b2597 JVM_MonitorWait + 4001
5 libclient64.dylib 0x00000001010b1a24 JVM_MonitorWait + 1070
6 libclient64.dylib 0x00000001010b1690 JVM_MonitorWait + 154
7 libjvmlinkage.dylib 0x0000000100093b9b JVM_MonitorWait + 59
8 ??? 0x0000000103a3d848 0 + 4356036680
9 ??? 0x00000001039622d4 0 + 4355138260
10 ??? 0x0000000103801438 0 + 4353692728
11 libclient64.dylib 0x00000001010a5152 JVM_Lseek + 193185
12 libclient64.dylib 0x00000001010b11dc JVM_StartThread + 2565
13 libclient64.dylib 0x00000001010b10d2 JVM_StartThread + 2299
14 libclient64.dylib 0x00000001010b1072 JVM_StartThread + 2203
15 libclient64.dylib 0x00000001010b0f14 JVM_StartThread + 1853
16 libclient64.dylib 0x00000001010b0d29 JVM_StartThread + 1362
17 libclient64.dylib 0x000000010100d264 jio_snprintf + 35946
18 libSystem.B.dylib 0x00007fff88606fd6 _pthread_start + 331
19 libSystem.B.dylib 0x00007fff88606e89 thread_start + 13
Thread 8: Java: Finalizer
0 libSystem.B.dylib 0x00007fff885cdd7a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff885ce3ed mach_msg + 59
2 libclient64.dylib 0x000000010100d903 jio_snprintf + 37641
3 libclient64.dylib 0x000000010100d7c3 jio_snprintf + 37321
4 libclient64.dylib 0x00000001010b2597 JVM_MonitorWait + 4001
5 libclient64.dylib 0x00000001010b1a24 JVM_MonitorWait + 1070
6 libclient64.dylib 0x00000001010b1690 JVM_MonitorWait + 154
7 libjvmlinkage.dylib 0x0000000100093b9b JVM_MonitorWait + 59
8 ??? 0x0000000103a3d848 0 + 4356036680
9 ??? 0x000000010380685a 0 + 4353714266
10 ??? 0x00000001038069b3 0 + 4353714611
11 ??? 0x00000001038069b3 0 + 4353714611
12 ??? 0x0000000103801438 0 + 4353692728
13 libclient64.dylib 0x00000001010a5152 JVM_Lseek + 193185
14 libclient64.dylib 0x00000001010b11dc JVM_StartThread + 2565
15 libclient64.dylib 0x00000001010b10d2 JVM_StartThread + 2299
16 libclient64.dylib 0x00000001010b1072 JVM_StartThread + 2203
17 libclient64.dylib 0x00000001010b0f14 JVM_StartThread + 1853
18 libclient64.dylib 0x00000001010b0d29 JVM_StartThread + 1362
19 libclient64.dylib 0x000000010100d264 jio_snprintf + 35946
20 libSystem.B.dylib 0x00007fff88606fd6 _pthread_start + 331
21 libSystem.B.dylib 0x00007fff88606e89 thread_start + 13
Thread 9: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib 0x00007fff885e6c0a kevent + 10
1 libSystem.B.dylib 0x00007fff885e8add _dispatch_mgr_invoke + 154
2 libSystem.B.dylib 0x00007fff885e87b4 _dispatch_queue_invoke + 185
3 libSystem.B.dylib 0x00007fff885e82de _dispatch_worker_thread2 + 252
4 libSystem.B.dylib 0x00007fff885e7c08 _pthread_wqthread + 353
5 libSystem.B.dylib 0x00007fff885e7aa5 start_wqthread + 13
Thread 10: Java: Surrogate Locker Thread (Concurrent GC)
0 libSystem.B.dylib 0x00007fff885cdd7a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff885ce3ed mach_msg + 59
2 libclient64.dylib 0x000000010100d903 jio_snprintf + 37641
3 libclient64.dylib 0x000000010100d7c3 jio_snprintf + 37321
4 libclient64.dylib 0x000000010100d722 jio_snprintf + 37160
5 libclient64.dylib 0x000000010100d2fd jio_snprintf + 36099
6 libclient64.dylib 0x000000010100d10a jio_snprintf + 35600
7 libclient64.dylib 0x00000001010c2261 JVM_IsPrimitiveClass + 6521
8 libclient64.dylib 0x00000001010b0f14 JVM_StartThread + 1853
9 libclient64.dylib 0x00000001010b0d29 JVM_StartThread + 1362
10 libclient64.dylib 0x000000010100d264 jio_snprintf + 35946
11 libSystem.B.dylib 0x00007fff88606fd6 _pthread_start + 331
12 libSystem.B.dylib 0x00007fff88606e89 thread_start + 13
Thread 11: Java: Signal Dispatcher
0 libSystem.B.dylib 0x00007fff885cddb6 semaphore_wait_trap + 10
1 libclient64.dylib 0x00000001010c2aa3 JVM_IsPrimitiveClass + 8635
2 libclient64.dylib 0x00000001010c252a JVM_IsPrimitiveClass + 7234
3 libclient64.dylib 0x00000001010b0f14 JVM_StartThread + 1853
4 libclient64.dylib 0x00000001010b0d29 JVM_StartThread + 1362
5 libclient64.dylib 0x000000010100d264 jio_snprintf + 35946
6 libSystem.B.dylib 0x00007fff88606fd6 _pthread_start + 331
7 libSystem.B.dylib 0x00007fff88606e89 thread_start + 13
Thread 12: Java: C2 CompilerThread0
0 libSystem.B.dylib 0x00007fff885cdd7a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff885ce3ed mach_msg + 59
2 libclient64.dylib 0x000000010100d903 jio_snprintf + 37641
3 libclient64.dylib 0x000000010100d7c3 jio_snprintf + 37321
4 libclient64.dylib 0x000000010100d722 jio_snprintf + 37160
5 libclient64.dylib 0x000000010100d2fd jio_snprintf + 36099
6 libclient64.dylib 0x000000010100d10a jio_snprintf + 35600
7 libclient64.dylib 0x00000001010c9319 JVM_Write + 346
8 libclient64.dylib 0x00000001010c3913 JVM_IsPrimitiveClass + 12331
9 libclient64.dylib 0x00000001010b0f14 JVM_StartThread + 1853
10 libclient64.dylib 0x00000001010b0d29 JVM_StartThread + 1362
11 libclient64.dylib 0x000000010100d264 jio_snprintf + 35946
12 libSystem.B.dylib 0x00007fff88606fd6 _pthread_start + 331
13 libSystem.B.dylib 0x00007fff88606e89 thread_start + 13
Thread 13: Java: C2 CompilerThread1
0 libSystem.B.dylib 0x00007fff885cdd7a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff885ce3ed mach_msg + 59
2 libclient64.dylib 0x000000010100d903 jio_snprintf + 37641
3 libclient64.dylib 0x000000010100d7c3 jio_snprintf + 37321
4 libclient64.dylib 0x000000010100d722 jio_snprintf + 37160
5 libclient64.dylib 0x000000010100d2fd jio_snprintf + 36099
6 libclient64.dylib 0x000000010100d10a jio_snprintf + 35600
7 libclient64.dylib 0x00000001010c9319 JVM_Write + 346
8 libclient64.dylib 0x00000001010c3913 JVM_IsPrimitiveClass + 12331
9 libclient64.dylib 0x00000001010b0f14 JVM_StartThread + 1853
10 libclient64.dylib 0x00000001010b0d29 JVM_StartThread + 1362
11 libclient64.dylib 0x000000010100d264 jio_snprintf + 35946
12 libSystem.B.dylib 0x00007fff88606fd6 _pthread_start + 331
13 libSystem.B.dylib 0x00007fff88606e89 thread_start + 13
Thread 14: Java: Low Memory Detector
0 libSystem.B.dylib 0x00007fff885cdd7a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff885ce3ed mach_msg + 59
2 libclient64.dylib 0x000000010100d903 jio_snprintf + 37641
3 libclient64.dylib 0x000000010100d7c3 jio_snprintf + 37321
4 libclient64.dylib 0x000000010100d722 jio_snprintf + 37160
5 libclient64.dylib 0x000000010100d2fd jio_snprintf + 36099
6 libclient64.dylib 0x000000010100d1a3 jio_snprintf + 35753
7 libclient64.dylib 0x00000001010c5318 JVM_IsPrimitiveClass + 18992
8 libclient64.dylib 0x00000001010b0f14 JVM_StartThread + 1853
9 libclient64.dylib 0x00000001010b0d29 JVM_StartThread + 1362
10 libclient64.dylib 0x000000010100d264 jio_snprintf + 35946
11 libSystem.B.dylib 0x00007fff88606fd6 _pthread_start + 331
12 libSystem.B.dylib 0x00007fff88606e89 thread_start + 13
Thread 15: Java: VM Periodic Task Thread
0 libSystem.B.dylib 0x00007fff885cdd7a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff885ce3ed mach_msg + 59
2 libclient64.dylib 0x000000010100d995 jio_snprintf + 37787
3 libclient64.dylib 0x00000001011afc26 JVM_GetClassInterfaces + 11348
4 libclient64.dylib 0x00000001010c73a7 JVM_IsPrimitiveClass + 27327
5 libclient64.dylib 0x000000010100d264 jio_snprintf + 35946
6 libSystem.B.dylib 0x00007fff88606fd6 _pthread_start + 331
7 libSystem.B.dylib 0x00007fff88606e89 thread_start + 13
Thread 16: Java: traceMsgQueueThread
0 libSystem.B.dylib 0x00007fff885cdd7a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff885ce3ed mach_msg + 59
2 libclient64.dylib 0x000000010100d903 jio_snprintf + 37641
3 libclient64.dylib 0x000000010100d7c3 jio_snprintf + 37321
4 libclient64.dylib 0x00000001010b2597 JVM_MonitorWait + 4001
5 libclient64.dylib 0x00000001010b1a24 JVM_MonitorWait + 1070
6 libclient64.dylib 0x00000001010b1690 JVM_MonitorWait + 154
7 libjvmlinkage.dylib 0x0000000100093b9b JVM_MonitorWait + 59
8 ??? 0x0000000103811d6e 0 + 4353760622
9 ??? 0x000000010380685a 0 + 4353714266
10 ??? 0x000000010380685a 0 + 4353714266
11 ??? 0x0000000103806d34 0 + 4353715508
12 ??? 0x0000000103801438 0 + 4353692728
13 libclient64.dylib 0x00000001010a5152 JVM_Lseek + 193185
14 libclient64.dylib 0x00000001010b11dc JVM_StartThread + 2565
15 libclient64.dylib 0x00000001010b10d2 JVM_StartThread + 2299
16 libclient64.dylib 0x00000001010b1072 JVM_StartThread + 2203
17 libclient64.dylib 0x00000001010b0f14 JVM_StartThread + 1853
18 libclient64.dylib 0x00000001010b0d29 JVM_StartThread + 1362
19 libclient64.dylib 0x000000010100d264 jio_snprintf + 35946
20 libSystem.B.dylib 0x00007fff88606fd6 _pthread_start + 331
21 libSystem.B.dylib 0x00007fff88606e89 thread_start + 13
Thread 17: Java: Timer-0
0 libSystem.B.dylib 0x00007fff885cdd7a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff885ce3ed mach_msg + 59
2 libclient64.dylib 0x000000010100d903 jio_snprintf + 37641
3 libclient64.dylib 0x000000010100d7c3 jio_snprintf + 37321
4 libclient64.dylib 0x00000001010b2597 JVM_MonitorWait + 4001
5 libclient64.dylib 0x00000001010b1a24 JVM_MonitorWait + 1070
6 libclient64.dylib 0x00000001010b1690 JVM_MonitorWait + 154
7 libjvmlinkage.dylib 0x0000000100093b9b JVM_MonitorWait + 59
8 ??? 0x0000000103811d6e 0 + 4353760622
9 ??? 0x000000010380685a 0 + 4353714266
10 ??? 0x000000010380685a 0 + 4353714266
11 ??? 0x000000010380685a 0 + 4353714266
12 ??? 0x0000000103801438 0 + 4353692728
13 libclient64.dylib 0x00000001010a5152 JVM_Lseek + 193185
14 libclient64.dylib 0x00000001010b11dc JVM_StartThread + 2565
15 libclient64.dylib 0x00000001010b10d2 JVM_StartThread + 2299
16 libclient64.dylib 0x00000001010b1072 JVM_StartThread + 2203
17 libclient64.dylib 0x00000001010b0f14 JVM_StartThread + 1853
18 libclient64.dylib 0x00000001010b0d29 JVM_StartThread + 1362
19 libclient64.dylib 0x000000010100d264 jio_snprintf + 35946
20 libSystem.B.dylib 0x00007fff88606fd6 _pthread_start + 331
21 libSystem.B.dylib 0x00007fff88606e89 thread_start + 13
Thread 18: Java: AWT-Shutdown
0 libSystem.B.dylib 0x00007fff885cdd7a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff885ce3ed mach_msg + 59
2 libclient64.dylib 0x000000010100d903 jio_snprintf + 37641
3 libclient64.dylib 0x000000010100d7c3 jio_snprintf + 37321
4 libclient64.dylib 0x00000001010b2597 JVM_MonitorWait + 4001
5 libclient64.dylib 0x00000001010b1a24 JVM_MonitorWait + 1070
6 libclient64.dylib 0x00000001010b1690 JVM_MonitorWait + 154
7 libjvmlinkage.dylib 0x0000000100093b9b JVM_MonitorWait + 59
8 ??? 0x0000000103811d6e 0 + 4353760622
9 ??? 0x000000010380685a 0 + 4353714266
10 ??? 0x000000010380685a 0 + 4353714266
11 ??? 0x0000000103806d34 0 + 4353715508
12 ??? 0x0000000103801438 0 + 4353692728
13 libclient64.dylib 0x00000001010a5152 JVM_Lseek + 193185
14 libclient64.dylib 0x00000001010b11dc JVM_StartThread + 2565
15 libclient64.dylib 0x00000001010b10d2 JVM_StartThread + 2299
16 libclient64.dylib 0x00000001010b1072 JVM_StartThread + 2203
17 libclient64.dylib 0x00000001010b0f14 JVM_StartThread + 1853
18 libclient64.dylib 0x00000001010b0d29 JVM_StartThread + 1362
19 libclient64.dylib 0x000000010100d264 jio_snprintf + 35946
20 libSystem.B.dylib 0x00007fff88606fd6 _pthread_start + 331
21 libSystem.B.dylib 0x00007fff88606e89 thread_start + 13
Thread 19: Java: Java Plug-In Pipe Worker Thread (Client-Side)
0 libSystem.B.dylib 0x00007fff885d8466 read + 10
1 libdeploy.jnilib 0x0000000109d4d5d9 Java_com_sun_deploy_net_socket_UnixSocketImpl_unStreamSocketRead + 140
2 ??? 0x0000000103811d6e 0 + 4353760622
3 ??? 0x000000010380696e 0 + 4353714542
4 ??? 0x000000010380696e 0 + 4353714542
5 ??? 0x000000010380696e 0 + 4353714542
6 ??? 0x000000010380696e 0 + 4353714542
7 ??? 0x000000010386d2b4 0 + 4354134708
8 ??? 0xfda21644ff67b8d7 0 + 18276194723421468887
Thread 20: Java: SysExecutionTheadCreator
0 libSystem.B.dylib 0x00007fff885cdd7a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff885ce3ed mach_msg + 59
2 libclient64.dylib 0x000000010100d903 jio_snprintf + 37641
3 libclient64.dylib 0x000000010100d7c3 jio_snprintf + 37321
4 libclient64.dylib 0x00000001010b2597 JVM_MonitorWait + 4001
5 libclient64.dylib 0x00000001010b1a24 JVM_MonitorWait + 1070
6 libclient64.dylib 0x00000001010b1690 JVM_MonitorWait + 154
7 libjvmlinkage.dylib 0x0000000100093b9b JVM_MonitorWait + 59
8 ??? 0x0000000103811d6e 0 + 4353760622
9 ??? 0x000000010380685a 0 + 4353714266
10 ??? 0x000000010380685a 0 + 4353714266
11 ??? 0x0000000103801438 0 + 4353692728
12 libclient64.dylib 0x00000001010a5152 JVM_Lseek + 193185
13 libclient64.dylib 0x00000001010b11dc JVM_StartThread + 2565
14 libclient64.dylib 0x00000001010b10d2 JVM_StartThread + 2299
15 libclient64.dylib 0x00000001010b1072 JVM_StartThread + 2203
16 libclient64.dylib 0x00000001010b0f14 JVM_StartThread + 1853
17 libclient64.dylib 0x00000001010b0d29 JVM_StartThread + 1362
18 libclient64.dylib 0x000000010100d264 jio_snprintf + 35946
19 libSystem.B.dylib 0x00007fff88606fd6 _pthread_start + 331
20 libSystem.B.dylib 0x00007fff88606e89 thread_start + 13
Thread 21: Java: CacheMemoryCleanUpThread
0 libSystem.B.dylib 0x00007fff885cdd7a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff885ce3ed mach_msg + 59
2 libclient64.dylib 0x000000010100d903 jio_snprintf + 37641
3 libclient64.dylib 0x000000010100d7c3 jio_snprintf + 37321
4 libclient64.dylib 0x00000001010b2597 JVM_MonitorWait + 4001
5 libclient64.dylib 0x00000001010b1a24 JVM_MonitorWait + 1070
6 libclient64.dylib 0x00000001010b1690 JVM_MonitorWait + 154
7 libjvmlinkage.dylib 0x0000000100093b9b JVM_MonitorWait + 59
8 ??? 0x0000000103811d6e 0 + 4353760622
9 ??? 0x000000010380685a 0 + 4353714266
10 ??? 0x00000001038069b3 0 + 4353714611
11 ??? 0x00000001038069b3 0 + 4353714611
12 ??? 0x0000000103801438 0 + 4353692728
13 libclient64.dylib 0x00000001010a5152 JVM_Lseek + 193185
14 libclient64.dylib 0x00000001010b11dc JVM_StartThread + 2565
15 libclient64.dylib 0x00000001010b10d2 JVM_StartThread + 2299
16 libclient64.dylib 0x00000001010b1072 JVM_StartThread + 2203
17 libclient64.dylib 0x00000001010b0f14 JVM_StartThread + 1853
18 libclient64.dylib 0x00000001010b0d29 JVM_StartThread + 1362
19 libclient64.dylib 0x000000010100d264 jio_snprintf + 35946
20 libSystem.B.dylib 0x00007fff88606fd6 _pthread_start + 331
21 libSystem.B.dylib 0x00007fff88606e89 thread_start + 13
Thread 22: Java: CacheCleanUpThread
0 libSystem.B.dylib 0x00007fff885cdd7a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff885ce3ed mach_msg + 59
2 libclient64.dylib 0x000000010100d903 jio_snprintf + 37641
3 libclient64.dylib 0x000000010100d7c3 jio_snprintf + 37321
4 libclient64.dylib 0x00000001010b2597 JVM_MonitorWait + 4001
5 libclient64.dylib 0x00000001010b1a24 JVM_MonitorWait + 1070
6 libclient64.dylib 0x00000001010b1690 JVM_MonitorWait + 154
7 libjvmlinkage.dylib 0x0000000100093b9b JVM_MonitorWait + 59
8 ??? 0x0000000103811d6e 0 + 4353760622
9 ??? 0x000000010380685a 0 + 4353714266
10 ??? 0x000000010380685a 0 + 4353714266
11 ??? 0x0000000103801438 0 + 4353692728
12 libclient64.dylib 0x00000001010a5152 JVM_Lseek + 193185
13 libclient64.dylib 0x00000001010b11dc JVM_StartThread + 2565
14 libclient64.dylib 0x00000001010b10d2 JVM_StartThread + 2299
15 libclient64.dylib 0x00000001010b1072 JVM_StartThread + 2203
16 libclient64.dylib 0x00000001010b0f14 JVM_StartThread + 1853
17 libclient64.dylib 0x00000001010b0d29 JVM_StartThread + 1362
18 libclient64.dylib 0x000000010100d264 jio_snprintf + 35946
19 libSystem.B.dylib 0x00007fff88606fd6 _pthread_start + 331
20 libSystem.B.dylib 0x00007fff88606e89 thread_start + 13
Thread 23: Java: AWT-EventQueue-0
0 libSystem.B.dylib 0x00007fff885cdd7a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff885ce3ed mach_msg + 59
2 libclient64.dylib 0x000000010100d903 jio_snprintf + 37641
3 libclient64.dylib 0x000000010100d7c3 jio_snprintf + 37321
4 libclient64.dylib 0x00000001010b2597 JVM_MonitorWait + 4001
5 libclient64.dylib 0x00000001010b1a24 JVM_MonitorWait + 1070
6 libclient64.dylib 0x00000001010b1690 JVM_MonitorWait + 154
7 libjvmlinkage.dylib 0x0000000100093b9b JVM_MonitorWait + 59
8 ??? 0x0000000103a3d848 0 + 4356036680
9 ??? 0x0000000103aaac60 0 + 4356484192
Thread 24: Java: Browser Side Object Cleanup Thread
0 libSystem.B.dylib 0x00007fff885cdd7a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff885ce3ed mach_msg + 59
2 libclient64.dylib 0x000000010100d903 jio_snprintf + 37641
3 libclient64.dylib 0x000000010100d7c3 jio_snprintf + 37321
4 libclient64.dylib 0x00000001010b2597 JVM_MonitorWait + 4001
5 libclient64.dylib 0x00000001010b1a24 JVM_MonitorWait + 1070
6 libclient64.dylib 0x00000001010b1690 JVM_MonitorWait + 154
7 libjvmlinkage.dylib 0x0000000100093b9b JVM_MonitorWait + 59
8 ??? 0x0000000103811d6e 0 + 4353760622
9 ??? 0x000000010380685a 0 + 4353714266
10 ??? 0x00000001038069b3 0 + 4353714611
11 ??? 0x00000001038069b3 0 + 4353714611
12 ??? 0x0000000103801438 0 + 4353692728
13 libclient64.dylib 0x00000001010a5152 JVM_Lseek + 193185
14 libclient64.dylib 0x00000001010b11dc JVM_StartThread + 2565
15 libclient64.dylib 0x00000001010b10d2 JVM_StartThread + 2299
16 libclient64.dylib 0x00000001010b1072 JVM_StartThread + 2203
17 libclient64.dylib 0x00000001010b0f14 JVM_StartThread + 1853
18 libclient64.dylib 0x00000001010b0d29 JVM_StartThread + 1362
19 libclient64.dylib 0x000000010100d264 jio_snprintf + 35946
20 libSystem.B.dylib 0x00007fff88606fd6 _pthread_start + 331
21 libSystem.B.dylib 0x00007fff88606e89 thread_start + 13
Thread 25: Java: Applet 1 LiveConnect Worker Thread
0 libSystem.B.dylib 0x00007fff885cdd7a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff885ce3ed mach_msg + 59
2 libclient64.dylib 0x000000010100d903 jio_snprintf + 37641
3 libclient64.dylib 0x000000010100d7c3 jio_snprintf + 37321
4 libclient64.dylib 0x00000001010b2597 JVM_MonitorWait + 4001
5 libclient64.dylib 0x00000001010b1a24 JVM_MonitorWait + 1070
6 libclient64.dylib 0x00000001010b1690 JVM_MonitorWait + 154
7 libjvmlinkage.dylib 0x0000000100093b9b JVM_MonitorWait + 59
8 ??? 0x0000000103811d6e 0 + 4353760622
9 ??? 0x000000010380685a 0 + 4353714266
10 ??? 0x000000010380685a 0 + 4353714266
11 ??? 0x0000000103806d34 0 + 4353715508
12 ??? 0x0000000103801438 0 + 4353692728
13 libclient64.dylib 0x00000001010a5152 JVM_Lseek + 193185
14 libclient64.dylib 0x00000001010b11dc JVM_StartThread + 2565
15 libclient64.dylib 0x00000001010b10d2 JVM_StartThread + 2299
16 libclient64.dylib 0x00000001010b1072 JVM_StartThread + 2203
17 libclient64.dylib 0x00000001010b0f14 JVM_StartThread + 1853
18 libclient64.dylib 0x00000001010b0d29 JVM_StartThread + 1362
19 libclient64.dylib 0x000000010100d264 jio_snprintf + 35946
20 libSystem.B.dylib 0x00007fff88606fd6 _pthread_start + 331
21 libSystem.B.dylib 0x00007fff88606e89 thread_start + 13
Thread 26: Java: AWT-EventQueue-2
0 libSystem.B.dylib 0x00007fff885cdd7a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff885ce3ed mach_msg + 59
2 libclient64.dylib 0x000000010100d903 jio_snprintf + 37641
3 libclient64.dylib 0x000000010100d7c3 jio_snprintf + 37321
4 libclient64.dylib 0x00000001010b2597 JVM_MonitorWait + 4001
5 libclient64.dylib 0x00000001010b1a24 JVM_MonitorWait + 1070
6 libclient64.dylib 0x00000001010b1690 JVM_MonitorWait + 154
7 libjvmlinkage.dylib 0x0000000100093b9b JVM_MonitorWait + 59
8 ??? 0x0000000103a3d848 0 + 4356036680
9 ??? 0x0000000103aaac60 0 + 4356484192
Thread 27: Java: JVM[id=0]-Heartbeat
0 libSystem.B.dylib 0x00007fff885cdd7a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff885ce3ed mach_msg + 59
2 libclient64.dylib 0x000000010100d995 jio_snprintf + 37787
3 libclient64.dylib 0x000000010102c54a jio_vsnprintf + 26334
4 libclient64.dylib 0x00000001010b25a1 JVM_MonitorWait + 4011
5 libclient64.dylib 0x00000001010b1a24 JVM_MonitorWait + 1070
6 libclient64.dylib 0x00000001010b1690 JVM_MonitorWait + 154
7 libjvmlinkage.dylib 0x0000000100093b9b JVM_MonitorWait + 59
8 ??? 0x0000000103a3d848 0 + 4356036680
9 ??? 0x000000010380685a 0 + 4353714266
10 ??? 0x00000001038069b3 0 + 4353714611
11 ??? 0x00000001038069b3 0 + 4353714611
12 ??? 0x0000000103801438 0 + 4353692728
13 libclient64.dylib 0x00000001010a5152 JVM_Lseek + 193185
14 libclient64.dylib 0x00000001010b11dc JVM_StartThread + 2565
15 libclient64.dylib 0x00000001010b10d2 JVM_StartThread + 2299
16 libclient64.dylib 0x00000001010b1072 JVM_StartThread + 2203
17 libclient64.dylib 0x00000001010b0f14 JVM_StartThread + 1853
18 libclient64.dylib 0x00000001010b0d29 JVM_StartThread + 1362
19 libclient64.dylib 0x000000010100d264 jio_snprintf + 35946
20 libSystem.B.dylib 0x00007fff88606fd6 _pthread_start + 331
21 libSystem.B.dylib 0x00007fff88606e89 thread_start + 13
Thread 28: Java: Java2D Disposer
0 libSystem.B.dylib 0x00007fff885cdd7a mach_msg_trap + 10
1 libSystem.B.dylib 0x00007fff885ce3ed mach_mDid you get this fixed? I have had this error everytime I try to access my bank, inventory, and ither things. Please help.
-
Socket communication failure between Java applet and C++ application
I have a java applet that connects to a C++ application via Java's ServerSocket and Socket objects. THe C++ application is using the Winsock 2 API. The applet and application are running on an NT workstation (SP 6) and using IE (5.5) For a very simple C++ test applications the communictions work fine. Once more code gets added to the C++ application the portion of the socket that C++ listens to seems to close. Upon performing a recv call the return value is a zero. Microsoft insists this is a sign the Java side has shut down the socket. The Java applet can still receive messages from the C++ app but C++ cannot receive responses from the Java side. Java throws no exceptions and an explicit check of the socket shows no errors. Again, what puzzles me is that it works for simple C++ applications. Are there any known conflicts between Java and C++ in this regard?
I have inlcuded the basic java code segments below.
/ run Method.
* This method is called by the Thread.start() method. This
* method is required for the implementation of the Runnable interface
* This method sets up the server side socket communication and
* contiuously loops looking for requests from a external
* socket.
* @author Chris Duke
public void run(){
// create socket connections
boolean success = false;
try {
cServerSocket = new ServerSocket(cPortID);
System.out.println("Waiting for client to connect...");
cClientSocket = cServerSocket.accept();
System.out.println("Client connected");
// Create a stream to read from the client
cInStream = new BufferedReader(new InputStreamReader(
cClientSocket.getInputStream()));
// Create a stream to write to the client
cOutStream = new PrintWriter(
cClientSocket.getOutputStream(), true);
success = true;
}catch (IOException e) {
System.out.println("CommSocket:Run - Socket Exception(1) " + e);
success = false;
// if the socket was successfully created, keep the thread running
while (success){
try{
// check socket to see if it is still available for reading
if (cInStream != null && cInStream.ready()){
// check for an incoming message
String message = ReceiveMessage();
// Send message to listeners
Event(message);
if (cInStream == null){
success = false;
System.out.println("CommSocket:Run - shutdown");
}catch (IOException e){
System.out.println("CommSocket:Run - Socket not ready exception");
break;
// SendMessage method -
* Sends a text message to a connected listener through port specified by portID
* @author Chris Duke
* @param String message - This will be the message sent out through the server
* socket's port specified by portID.
public void SendMessage(String message){
cOutStream.println(message);
if (cOutStream.checkError() == true)
System.out.println("SendMessage : Flush = Error");
else{
System.out.println("SendMessage : Flush - No Error");
}a very simple C++ test applications the communictions work fine. Once more code gets added to the C++ application the portion of the socket that C++ listens to seems to close.
This quite strongly implicates the extra code in the C++ App. The firstly thing I would try would be telnet. Try connecting to both versions of the C++ Application and manually reproducing a proper exchange.
a recv call the return value is a zero. Microsoft insists this is a sign the Java side has shut down the socket.
A correct implementation of recv should return the number of bytes received, or -1 for an error. A zero return indicates no bytes received not a socket closed/error. This sounds like FUD to me.
Are there any known conflicts between Java and C++ in this regard?
I can see no obvious faults, though the code is incomplete, I don't think it's an sockets implementation issue, at either end, it sounds more likely to be a protocol/handshaking bug in the C++ App. -
Add Files java applet does not trust our certificate
We have installed Novell Filr and it is working great except for one issue. The java applet that runs when the Add Files button is clicked does not trust our certificate authority. We purchased and installed a SSL certificate, and both IE and Firefox accept it (before installing, we got a certificate warning every time we went to Filr).
The certificate authority is Starfield Secure Certificate Authority, and we use certificates from them for our websites and mail servers, so I do not understand why this applet and/or Java do not.
Is there any way to stop the scary warning message our users get. FYI - this happens the first time the Add Files button is clicked in each session.
Paul RebmannOriginally Posted by jmarton
na paul wrote:
>
> We have installed Novell Filr and it is working great except for one
> issue. The java applet that runs when the Add Files button is clicked
> does not trust our certificate authority. We purchased and installed
> a SSL certificate, and both IE and Firefox accept it (before
> installing, we got a certificate warning every time we went to Filr).
>
> The certificate authority is Starfield Secure Certificate Authority,
> and we use certificates from them for our websites and mail servers,
> so I do not understand why this applet and/or Java do not.
>
> Is there any way to stop the scary warning message our users get.
> FYI - this happens the first time the Add Files button is clicked in
> each session.
That sounds a little different than what this was designed to fix, but
by any chance have you installed the updated Java applets on the Filr
appliance?
http://download.novell.com/Download?...d=zRrgEN6Kvxo~
Your world is on the move. http://www.novell.com/mobility/
BrainShare 2014 is coming. http://www.novell.com/brainshare/
Hi Paul
Whatever you do it will not work properly especially when some of the users try to use "edit in place". Save yourself the headache and install trusted certificate (primary and intermediate) then even Java will work ok. -
Hello, I'm having problems trying to run a java applet (a .jar) from the desktop to read info from a software I have on my Palm. I'm not finding an applet launcher anywhere that another post said could be found in the Java folder in the Utilities folder. It's not anywhere to be found. I have downloaded the latest JavaForMacOSX104.Release6.pkg and installed it. Any suggestions?
I did what you're describing. Sounded simple enough. You put the same logic in main() into the applets init() and you can run as app or applet. Worked well in my IDE. Then the troubles start.
Visit
http://www.martinrinehart.com
and read the Article, Launching Applets. That will get you started on launching a Swing application. (Try my Sample, DawnPainter, to give you an idea about how nice this can be when it works.) I promise but don't deliver (yet) an article on the javascript library I wrote that solves all the problems. For non-commercial use you can get your own copy:
http://www.martinrinehart.com/examples/launchApplet.js -
Here is the scenario:
I go to http://www.missionred.com/
I play some of the games there
After a few hundred clicks the java applet crashes
This is using any browser, I've tested it in IE, FireFox and Opera
I am using JDK 1.5.0_07
it creates logs on my desktop
here is how they all begin:
# An unexpected error has been detected by HotSpot Virtual Machine:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000002, pid=6648, tid=4900
# Java VM: Java HotSpot(TM) Client VM (1.5.0_07-b03 mixed mode)
# Problematic frame:
# C 0x00000002
but with different numbers every timeHere are the full logs:
Number 1
# An unexpected error has been detected by HotSpot Virtual Machine:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000002, pid=6648, tid=4900
# Java VM: Java HotSpot(TM) Client VM (1.5.0_07-b03 mixed mode)
# Problematic frame:
# C 0x00000002
--------------- T H R E A D ---------------
Current thread (0x0f3c2b20): JavaThread "AWT-EventQueue-1" [_thread_in_native, id=4900]
siginfo: ExceptionCode=0xc0000005, reading address 0x00000002
Registers:
EAX=0x02b751c0, EBX=0x0b111ec8, ECX=0x02b75970, EDX=0x7c90eb94
ESP=0x0fabf56c, EBP=0x0fabf58c, ESI=0x02b751c0, EDI=0x0f3c2b20
EIP=0x00000002, EFLAGS=0x00010206
Top of Stack: (sp=0x0fabf56c)
0x0fabf56c: 5ee01531 02b751c0 00000001 00000000
0x0fabf57c: 02b7487b 0461b910 100aa518 00000000
0x0fabf58c: 0fabf5a0 6d4a2aba 0461b910 0b111ec8
0x0fabf59c: 00000001 0fabf5e4 6d4a1bd3 100aa518
0x0fabf5ac: 00000001 04b5826f 0f3c2be0 0fabf5ec
0x0fabf5bc: 0f47afa0 00000000 00000001 0fabf5c8
0x0fabf5cc: 00000000 0fabf5fc 0b112d10 00000000
0x0fabf5dc: 0b111ec8 0fabf5f4 0fabf61c 04b52923
Instructions: (pc=0x00000002)
0xfffffff2:
Stack: [0x0f9c0000,0x0fac0000), sp=0x0fabf56c, free space=1021k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C 0x00000002
C [jsoundds.dll+0x2aba]
C [jsoundds.dll+0x1bd3]
j com.sun.media.sound.DirectAudioDevice.access$1600(JZ)V+2
j com.sun.media.sound.DirectAudioDevice$DirectDL.flush()V+86
j com.sun.media.sound.JavaSoundAudioClip.startImpl(Z)V+75
j com.sun.media.sound.JavaSoundAudioClip.play()V+2
j sun.applet.AppletAudioClip.play()V+11
j a.f.a.a(Ljava/lang/String;)V+24
j a.a.e.b.a(II)V+184
j a.a.e.a.a(Ljava/awt/event/MouseEvent;)V+48
j a.c.a.d(Ljava/awt/event/MouseEvent;)V+69
j a.c.d.mousePressed(Ljava/awt/event/MouseEvent;)V+18
j java.awt.Component.processMouseEvent(Ljava/awt/event/MouseEvent;)V+54
J java.awt.Component.processEvent(Ljava/awt/AWTEvent;)V
J java.awt.Container.processEvent(Ljava/awt/AWTEvent;)V
J java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V
J java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V
J java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V
J java.awt.EventDispatchThread.pumpOneEventForHierarchy(ILjava/awt/Component;)Z
v ~RuntimeStub::alignment_frame_return Runtime1 stub
j java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+26
j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
j java.awt.EventDispatchThread.run()V+9
v ~StubRoutines::call_stub
V [jvm.dll+0x86401]
V [jvm.dll+0xdb172]
V [jvm.dll+0x862d2]
V [jvm.dll+0x8602f]
V [jvm.dll+0xa0bcb]
V [jvm.dll+0x10bdad]
V [jvm.dll+0x10bd7b]
C [msvcrt.dll+0x2a3b0]
C [kernel32.dll+0xb50b]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.sun.media.sound.DirectAudioDevice.nFlush(JZ)V+0
j com.sun.media.sound.DirectAudioDevice.access$1600(JZ)V+2
j com.sun.media.sound.DirectAudioDevice$DirectDL.flush()V+86
j com.sun.media.sound.JavaSoundAudioClip.startImpl(Z)V+75
j com.sun.media.sound.JavaSoundAudioClip.play()V+2
j sun.applet.AppletAudioClip.play()V+11
j a.f.a.a(Ljava/lang/String;)V+24
j a.a.e.b.a(II)V+184
j a.a.e.a.a(Ljava/awt/event/MouseEvent;)V+48
j a.c.a.d(Ljava/awt/event/MouseEvent;)V+69
j a.c.d.mousePressed(Ljava/awt/event/MouseEvent;)V+18
j java.awt.Component.processMouseEvent(Ljava/awt/event/MouseEvent;)V+54
J java.awt.Component.processEvent(Ljava/awt/AWTEvent;)V
J java.awt.Container.processEvent(Ljava/awt/AWTEvent;)V
J java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V
J java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V
J java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V
J java.awt.EventDispatchThread.pumpOneEventForHierarchy(ILjava/awt/Component;)Z
v ~RuntimeStub::alignment_frame_return Runtime1 stub
j java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+26
j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
j java.awt.EventDispatchThread.run()V+9
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x0f3d2dc8 JavaThread "Direct Clip" daemon [_thread_blocked, id=7248]
0x0f431780 JavaThread "Java Sound Event Dispatcher" daemon [_thread_blocked, id=6448]
0x0f3ca830 JavaThread "Thread-4" [_thread_blocked, id=2212]
=>0x0f3c2b20 JavaThread "AWT-EventQueue-1" [_thread_in_native, id=4900]
0x0f3cb9f8 JavaThread "Thread-2" [_thread_blocked, id=6140]
0x0f3ba4c0 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=5560]
0x0f3b1a80 JavaThread "AWT-Windows" daemon [_thread_in_native, id=4920]
0x0f3b1648 JavaThread "AWT-Shutdown" [_thread_blocked, id=4596]
0x0f3abed0 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=2384]
0x04b1dbb0 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=5128]
0x04b1c780 JavaThread "CompilerThread0" daemon [_thread_blocked, id=4276]
0x04b1bb00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4544]
0x04b12510 JavaThread "Finalizer" daemon [_thread_blocked, id=6532]
0x04b11a58 JavaThread "Reference Handler" daemon [_thread_blocked, id=5144]
0x0054ec88 JavaThread "main" [_thread_in_native, id=6652]
Other Threads:
0x04b0d8b8 VMThread [id=4780]
0x04b1ed90 WatcherThread [id=5288]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 768K, used 442K [0x06bd0000, 0x06ca0000, 0x070b0000)
eden space 704K, 62% used [0x06bd0000, 0x06c3e5a0, 0x06c80000)
from space 64K, 1% used [0x06c90000, 0x06c90338, 0x06ca0000)
to space 64K, 0% used [0x06c80000, 0x06c80000, 0x06c90000)
tenured generation total 8904K, used 5563K [0x070b0000, 0x07962000, 0x0abd0000)
the space 8904K, 62% used [0x070b0000, 0x0761ed68, 0x0761ee00, 0x07962000)
compacting perm gen total 8192K, used 5519K [0x0abd0000, 0x0b3d0000, 0x0ebd0000)
the space 8192K, 67% used [0x0abd0000, 0x0b133f28, 0x0b134000, 0x0b3d0000)
No shared spaces configured.
Dynamic libraries:
0x00400000 - 0x00429000 C:\Program Files\Opera\Opera.exe
0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\user32.dll
0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.DLL
0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
0x629c0000 - 0x629c9000 C:\WINDOWS\system32\LPK.DLL
0x74d90000 - 0x74dfb000 C:\WINDOWS\system32\USP10.dll
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll
0x59800000 - 0x59817000 C:\Program Files\TuneUp Utilities 2006\WinStylerThemeHelper.dll
0x77120000 - 0x771ac000 C:\WINDOWS\system32\oleaut32.dll
0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
0x679e0000 - 0x67ff4000 C:\Program Files\Opera\Opera.dll
0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\winmm.dll
0x763b0000 - 0x763f9000 C:\WINDOWS\system32\comdlg32.dll
0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
0x773d0000 - 0x774d2000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\COMCTL32.dll
0x7c9c0000 - 0x7d1d5000 C:\WINDOWS\system32\SHELL32.dll
0x77c00000 - 0x77c08000 C:\WINDOWS\system32\version.dll
0x71ad0000 - 0x71ad9000 C:\WINDOWS\system32\wsock32.dll
0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
0x5ad70000 - 0x5ada8000 C:\WINDOWS\system32\uxtheme.dll
0x10000000 - 0x10006000 C:\DOCUME~1\Igor\LOCALS~1\Temp\IadHide5.dll
0x74720000 - 0x7476b000 C:\WINDOWS\system32\MSCTF.dll
0x00af0000 - 0x00af7000 C:\Program Files\Logitech\MouseWare\System\LgWndHk.dll
0x755c0000 - 0x755ee000 C:\WINDOWS\system32\msctfime.ime
0x77fe0000 - 0x77ff1000 C:\WINDOWS\system32\Secur32.dll
0x76fd0000 - 0x7704f000 C:\WINDOWS\system32\CLBCATQ.DLL
0x77050000 - 0x77115000 C:\WINDOWS\system32\COMRes.dll
0x76380000 - 0x76385000 C:\WINDOWS\system32\Msimg32.dll
0x77920000 - 0x77a13000 C:\WINDOWS\system32\SETUPAPI.dll
0x5ee00000 - 0x5ee1f000 C:\Program Files\AV Vcs 4.0 DIAMOND\Vcs4Hook.dll
0x33300000 - 0x33310000 C:\Program Files\AV Vcs 4.0 DIAMOND\Vcs4Conf.dll
0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PsApi.dll
0x02cd0000 - 0x02cdb000 C:\Program Files\Common Files\Logitech\Scrolling\LgMsgHk.dll
0x76080000 - 0x760e5000 C:\WINDOWS\system32\MSVCP60.dll
0x71a50000 - 0x71a8f000 C:\WINDOWS\System32\mswsock.dll
0x76f20000 - 0x76f47000 C:\WINDOWS\system32\DNSAPI.dll
0x76d60000 - 0x76d79000 C:\WINDOWS\system32\iphlpapi.dll
0x662b0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
0x71a90000 - 0x71a98000 C:\WINDOWS\System32\wshtcpip.dll
0x76fc0000 - 0x76fc6000 C:\WINDOWS\system32\rasadhlp.dll
0x77b40000 - 0x77b62000 C:\WINDOWS\system32\appHelp.dll
0x77a20000 - 0x77a74000 C:\WINDOWS\System32\cscui.dll
0x76600000 - 0x7661d000 C:\WINDOWS\System32\CSCDLL.dll
0x75f80000 - 0x7607d000 C:\WINDOWS\System32\browseui.dll
0x76990000 - 0x769b5000 C:\WINDOWS\system32\ntshrui.dll
0x76b20000 - 0x76b31000 C:\WINDOWS\system32\ATL.DLL
0x5b860000 - 0x5b8b4000 C:\WINDOWS\system32\NETAPI32.dll
0x769c0000 - 0x76a73000 C:\WINDOWS\system32\USERENV.dll
0x77760000 - 0x778cf000 C:\WINDOWS\System32\shdocvw.dll
0x77a80000 - 0x77b14000 C:\WINDOWS\system32\CRYPT32.dll
0x77b20000 - 0x77b32000 C:\WINDOWS\system32\MSASN1.dll
0x754d0000 - 0x75550000 C:\WINDOWS\system32\CRYPTUI.dll
0x76c30000 - 0x76c5e000 C:\WINDOWS\system32\WINTRUST.dll
0x76c90000 - 0x76cb8000 C:\WINDOWS\system32\IMAGEHLP.dll
0x771b0000 - 0x77256000 C:\WINDOWS\system32\WININET.dll
0x76f60000 - 0x76f8c000 C:\WINDOWS\system32\WLDAP32.dll
0x6d6c0000 - 0x6d857000 C:\Program Files\Java\jre1.5.0_07\bin\client\jvm.dll
0x6d280000 - 0x6d288000 C:\Program Files\Java\jre1.5.0_07\bin\hpi.dll
0x6d690000 - 0x6d69c000 C:\Program Files\Java\jre1.5.0_07\bin\verify.dll
0x6d300000 - 0x6d31d000 C:\Program Files\Java\jre1.5.0_07\bin\java.dll
0x6d6b0000 - 0x6d6bf000 C:\Program Files\Java\jre1.5.0_07\bin\zip.dll
0x6d000000 - 0x6d167000 C:\Program Files\Java\jre1.5.0_07\bin\awt.dll
0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x73760000 - 0x737a9000 C:\WINDOWS\system32\ddraw.dll
0x73bc0000 - 0x73bc6000 C:\WINDOWS\system32\DCIMAN32.dll
0x73940000 - 0x73a10000 C:\WINDOWS\system32\D3DIM700.DLL
0x6d240000 - 0x6d27f000 C:\Program Files\Java\jre1.5.0_07\bin\fontmanager.dll
0x74e30000 - 0x74e9c000 C:\WINDOWS\system32\RICHED20.DLL
0x6d4c0000 - 0x6d4d3000 C:\Program Files\Java\jre1.5.0_07\bin\net.dll
0x6d4e0000 - 0x6d4e9000 C:\Program Files\Java\jre1.5.0_07\bin\nio.dll
0x76fb0000 - 0x76fb8000 C:\WINDOWS\System32\winrnr.dll
0x6d470000 - 0x6d495000 C:\Program Files\Java\jre1.5.0_07\bin\jsound.dll
0x6d4a0000 - 0x6d4a7000 C:\Program Files\Java\jre1.5.0_07\bin\jsoundds.dll
0x73f10000 - 0x73f6c000 C:\WINDOWS\system32\DSOUND.dll
0x72d20000 - 0x72d29000 C:\WINDOWS\system32\wdmaud.drv
0x72d10000 - 0x72d18000 C:\WINDOWS\system32\msacm32.drv
0x77be0000 - 0x77bf5000 C:\WINDOWS\system32\MSACM32.dll
0x77bd0000 - 0x77bd7000 C:\WINDOWS\system32\midimap.dll
0x73ee0000 - 0x73ee4000 C:\WINDOWS\system32\KsUser.dll
VM Arguments:
jvm_args: abort exit -Xbootclasspath/p:C:\Program Files\Opera\Classes\Opera.jar;C:\Program Files\Opera\Plugins;C:\Program Files\Opera\Program\Plugins;;C:\Program Files\Opera\Program\Plugins\npdrmv2.zip;C:\Program Files\Opera\Program\Plugins\npds.zip;C:\Program Files\Java\jre1.5.0_07\lib\jaws.jar;C:\Program Files\Java\jre1.5.0_07\lib\plugin.jar -Djava.security.policy=C:\Program Files\Opera\Classes\Opera.policy -Dbrowser.opera.classpath=C:\Program Files\Opera\Classes\Opera.jar
java_command: <unknown>
Launcher Type: generic
Environment Variables:
CLASSPATH=C:\Program Files\Java\jre1.5.0_04\lib\ext\QTJava.zip
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Java\jdk1.5.0\bin;C:\Program Files\cvsnt;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\SSH Secure Shell
USERNAME=Igor
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 10 Stepping 0, AuthenticAMD
--------------- S Y S T E M ---------------
OS: Windows XP Build 2600 Service Pack 2
CPU:total 1 family 6, cmov, cx8, fxsr, mmx, sse
Memory: 4k page, physical 392688k(23312k free), swap 1043536k(593212k free)
vm_info: Java HotSpot(TM) Client VM (1.5.0_07-b03) for windows-x86, built on May 3 2006 01:04:38 by "java_re" with MS VC++ 6.0
Number 2
# An unexpected error has been detected by HotSpot Virtual Machine:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000002, pid=4156, tid=6180
# Java VM: Java HotSpot(TM) Client VM (1.5.0_07-b03 mixed mode)
# Problematic frame:
# C 0x00000002
--------------- T H R E A D ---------------
Current thread (0x0ead6748): JavaThread "AWT-EventQueue-1" [_thread_in_native, id=6180]
siginfo: ExceptionCode=0xc0000005, reading address 0x00000002
Registers:
EAX=0x1072f2f8, EBX=0x0a7e21e8, ECX=0x02b74c80, EDX=0x7c90eb94
ESP=0x0f3ef788, EBP=0x0f3ef7a8, ESI=0x1072f2f8, EDI=0x0ead6748
EIP=0x00000002, EFLAGS=0x00010202
Top of Stack: (sp=0x0f3ef788)
0x0f3ef788: 5ee01531 1072f2f8 00000001 00000000
0x0f3ef798: 02b74273 103315a8 0ec3ff70 00000000
0x0f3ef7a8: 0f3ef7bc 6d4a2aba 103315a8 0a7e21e8
0x0f3ef7b8: 00000001 0f3ef800 6d4a1bd3 0ec3ff70
0x0f3ef7c8: 00000001 0422826f 0ead6808 0f3ef808
0x0f3ef7d8: 0ea48e10 00000000 00000001 0f3ef7e4
0x0f3ef7e8: 00000000 0f3ef818 0a7e3030 00000000
0x0f3ef7f8: 0a7e21e8 0f3ef810 0f3ef838 04222923
Instructions: (pc=0x00000002)
0xfffffff2:
Stack: [0x0f2f0000,0x0f3f0000), sp=0x0f3ef788, free space=1021k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C 0x00000002
C [jsoundds.dll+0x2aba]
C [jsoundds.dll+0x1bd3]
j com.sun.media.sound.DirectAudioDevice.access$1600(JZ)V+2
j com.sun.media.sound.DirectAudioDevice$DirectDL.flush()V+86
j com.sun.media.sound.JavaSoundAudioClip.startImpl(Z)V+75
j com.sun.media.sound.JavaSoundAudioClip.play()V+2
j sun.applet.AppletAudioClip.play()V+11
j a.f.a.a(Ljava/lang/String;)V+24
j a.a.e.b.a(II)V+184
j a.a.e.a.a(Ljava/awt/event/MouseEvent;)V+48
j a.c.a.d(Ljava/awt/event/MouseEvent;)V+69
j a.c.d.mousePressed(Ljava/awt/event/MouseEvent;)V+18
j java.awt.Component.processMouseEvent(Ljava/awt/event/MouseEvent;)V+54
j java.awt.Component.processEvent(Ljava/awt/AWTEvent;)V+81
j java.awt.Container.processEvent(Ljava/awt/AWTEvent;)V+18
j java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+477
j java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+42
j java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
j java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+46
j java.awt.EventDispatchThread.pumpOneEventForHierarchy(ILjava/awt/Component;)Z+233
j java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+26
j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
j java.awt.EventDispatchThread.run()V+9
v ~StubRoutines::call_stub
V [jvm.dll+0x86401]
V [jvm.dll+0xdb172]
V [jvm.dll+0x862d2]
V [jvm.dll+0x8602f]
V [jvm.dll+0xa0bcb]
V [jvm.dll+0x10bdad]
V [jvm.dll+0x10bd7b]
C [msvcrt.dll+0x2a3b0]
C [kernel32.dll+0xb50b]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.sun.media.sound.DirectAudioDevice.nFlush(JZ)V+0
j com.sun.media.sound.DirectAudioDevice.access$1600(JZ)V+2
j com.sun.media.sound.DirectAudioDevice$DirectDL.flush()V+86
j com.sun.media.sound.JavaSoundAudioClip.startImpl(Z)V+75
j com.sun.media.sound.JavaSoundAudioClip.play()V+2
j sun.applet.AppletAudioClip.play()V+11
j a.f.a.a(Ljava/lang/String;)V+24
j a.a.e.b.a(II)V+184
j a.a.e.a.a(Ljava/awt/event/MouseEvent;)V+48
j a.c.a.d(Ljava/awt/event/MouseEvent;)V+69
j a.c.d.mousePressed(Ljava/awt/event/MouseEvent;)V+18
j java.awt.Component.processMouseEvent(Ljava/awt/event/MouseEvent;)V+54
j java.awt.Component.processEvent(Ljava/awt/AWTEvent;)V+81
j java.awt.Container.processEvent(Ljava/awt/AWTEvent;)V+18
j java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+477
j java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+42
j java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
j java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+46
j java.awt.EventDispatchThread.pumpOneEventForHierarchy(ILjava/awt/Component;)Z+233
j java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+26
j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
j java.awt.EventDispatchThread.run()V+9
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x0eaaadb0 JavaThread "Direct Clip" daemon [_thread_blocked, id=6996]
0x041b1d58 JavaThread "Direct Clip" daemon [_thread_blocked, id=6856]
0x0eae7c38 JavaThread "Java Sound Event Dispatcher" daemon [_thread_blocked, id=6632]
0x0ead69e0 JavaThread "Thread-4" [_thread_blocked, id=6248]
=>0x0ead6748 JavaThread "AWT-EventQueue-1" [_thread_in_native, id=6180]
0x0eaa4008 JavaThread "Thread-2" [_thread_blocked, id=6172]
0x0ea893d0 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=6148]
0x0ea80990 JavaThread "AWT-Windows" daemon [_thread_in_native, id=4104]
0x0ea80558 JavaThread "AWT-Shutdown" [_thread_blocked, id=324]
0x0ea7ade0 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=1624]
0x041ecbf8 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3928]
0x041eb7c8 JavaThread "CompilerThread0" daemon [_thread_blocked, id=6028]
0x041eab48 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3088]
0x041e1f98 JavaThread "Finalizer" daemon [_thread_blocked, id=2888]
0x041e0b00 JavaThread "Reference Handler" daemon [_thread_blocked, id=2300]
0x0054cc00 JavaThread "main" [_thread_in_native, id=1356]
Other Threads:
0x041dc960 VMThread [id=5156]
0x041eddd8 WatcherThread [id=6116]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 832K, used 299K [0x062a0000, 0x06380000, 0x06780000)
eden space 768K, 38% used [0x062a0000, 0x062ea218, 0x06360000)
from space 64K, 4% used [0x06360000, 0x06360a70, 0x06370000)
to space 64K, 0% used [0x06370000, 0x06370000, 0x06380000)
tenured generation total 9784K, used 6061K [0x06780000, 0x0710e000, 0x0a2a0000)
the space 9784K, 61% used [0x06780000, 0x06d6b588, 0x06d6b600, 0x0710e000)
compacting perm gen total 8192K, used 5518K [0x0a2a0000, 0x0aaa0000, 0x0e2a0000)
the space 8192K, 67% used [0x0a2a0000, 0x0a803838, 0x0a803a00, 0x0aaa0000)
No shared spaces configured.
Dynamic libraries:
0x00400000 - 0x00429000 C:\Program Files\Opera\Opera.exe
0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\user32.dll
0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.DLL
0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
0x629c0000 - 0x629c9000 C:\WINDOWS\system32\LPK.DLL
0x74d90000 - 0x74dfb000 C:\WINDOWS\system32\USP10.dll
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll
0x59800000 - 0x59817000 C:\Program Files\TuneUp Utilities 2006\WinStylerThemeHelper.dll
0x77120000 - 0x771ac000 C:\WINDOWS\system32\oleaut32.dll
0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
0x679e0000 - 0x67ff4000 C:\Program Files\Opera\Opera.dll
0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\winmm.dll
0x763b0000 - 0x763f9000 C:\WINDOWS\system32\comdlg32.dll
0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
0x773d0000 - 0x774d2000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\COMCTL32.dll
0x7c9c0000 - 0x7d1d5000 C:\WINDOWS\system32\SHELL32.dll
0x77c00000 - 0x77c08000 C:\WINDOWS\system32\version.dll
0x71ad0000 - 0x71ad9000 C:\WINDOWS\system32\wsock32.dll
0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
0x5ad70000 - 0x5ada8000 C:\WINDOWS\system32\uxtheme.dll
0x10000000 - 0x10006000 C:\DOCUME~1\Igor\LOCALS~1\Temp\IadHide5.dll
0x74720000 - 0x7476b000 C:\WINDOWS\system32\MSCTF.dll
0x00af0000 - 0x00af7000 C:\Program Files\Logitech\MouseWare\System\LgWndHk.dll
0x755c0000 - 0x755ee000 C:\WINDOWS\system32\msctfime.ime
0x77fe0000 - 0x77ff1000 C:\WINDOWS\system32\Secur32.dll
0x76fd0000 - 0x7704f000 C:\WINDOWS\system32\CLBCATQ.DLL
0x77050000 - 0x77115000 C:\WINDOWS\system32\COMRes.dll
0x76380000 - 0x76385000 C:\WINDOWS\system32\Msimg32.dll
0x77920000 - 0x77a13000 C:\WINDOWS\system32\SETUPAPI.dll
0x5ee00000 - 0x5ee1f000 C:\Program Files\AV Vcs 4.0 DIAMOND\Vcs4Hook.dll
0x33300000 - 0x33310000 C:\Program Files\AV Vcs 4.0 DIAMOND\Vcs4Conf.dll
0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PsApi.dll
0x02cd0000 - 0x02cdb000 C:\Program Files\Common Files\Logitech\Scrolling\LgMsgHk.dll
0x76080000 - 0x760e5000 C:\WINDOWS\system32\MSVCP60.dll
0x71a50000 - 0x71a8f000 C:\WINDOWS\System32\mswsock.dll
0x76f20000 - 0x76f47000 C:\WINDOWS\system32\DNSAPI.dll
0x76d60000 - 0x76d79000 C:\WINDOWS\system32\iphlpapi.dll
0x662b0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
0x71a90000 - 0x71a98000 C:\WINDOWS\System32\wshtcpip.dll
0x76fc0000 - 0x76fc6000 C:\WINDOWS\system32\rasadhlp.dll
0x6d6c0000 - 0x6d857000 C:\Program Files\Java\jre1.5.0_07\bin\client\jvm.dll
0x6d280000 - 0x6d288000 C:\Program Files\Java\jre1.5.0_07\bin\hpi.dll
0x6d690000 - 0x6d69c000 C:\Program Files\Java\jre1.5.0_07\bin\verify.dll
0x6d300000 - 0x6d31d000 C:\Program Files\Java\jre1.5.0_07\bin\java.dll
0x6d6b0000 - 0x6d6bf000 C:\Program Files\Java\jre1.5.0_07\bin\zip.dll
0x6d000000 - 0x6d167000 C:\Program Files\Java\jre1.5.0_07\bin\awt.dll
0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x73760000 - 0x737a9000 C:\WINDOWS\system32\ddraw.dll
0x73bc0000 - 0x73bc6000 C:\WINDOWS\system32\DCIMAN32.dll
0x73940000 - 0x73a10000 C:\WINDOWS\system32\D3DIM700.DLL
0x6d240000 - 0x6d27f000 C:\Program Files\Java\jre1.5.0_07\bin\fontmanager.dll
0x74e30000 - 0x74e9c000 C:\WINDOWS\system32\RICHED20.DLL
0x6d4c0000 - 0x6d4d3000 C:\Program Files\Java\jre1.5.0_07\bin\net.dll
0x6d4e0000 - 0x6d4e9000 C:\Program Files\Java\jre1.5.0_07\bin\nio.dll
0x76fb0000 - 0x76fb8000 C:\WINDOWS\System32\winrnr.dll
0x76f60000 - 0x76f8c000 C:\WINDOWS\system32\WLDAP32.dll
0x6d470000 - 0x6d495000 C:\Program Files\Java\jre1.5.0_07\bin\jsound.dll
0x6d4a0000 - 0x6d4a7000 C:\Program Files\Java\jre1.5.0_07\bin\jsoundds.dll
0x73f10000 - 0x73f6c000 C:\WINDOWS\system32\DSOUND.dll
0x72d20000 - 0x72d29000 C:\WINDOWS\system32\wdmaud.drv
0x76c30000 - 0x76c5e000 C:\WINDOWS\system32\WINTRUST.dll
0x77a80000 - 0x77b14000 C:\WINDOWS\system32\CRYPT32.dll
0x77b20000 - 0x77b32000 C:\WINDOWS\system32\MSASN1.dll
0x76c90000 - 0x76cb8000 C:\WINDOWS\system32\IMAGEHLP.dll
0x72d10000 - 0x72d18000 C:\WINDOWS\system32\msacm32.drv
0x77be0000 - 0x77bf5000 C:\WINDOWS\system32\MSACM32.dll
0x77bd0000 - 0x77bd7000 C:\WINDOWS\system32\midimap.dll
0x73ee0000 - 0x73ee4000 C:\WINDOWS\system32\KsUser.dll
VM Arguments:
jvm_args: abort exit -Xbootclasspath/p:C:\Program Files\Opera\Classes\Opera.jar;C:\Program Files\Opera\Plugins;C:\Program Files\Opera\Program\Plugins;;C:\Program Files\Opera\Program\Plugins\npdrmv2.zip;C:\Program Files\Opera\Program\Plugins\npds.zip;C:\Program Files\Java\jre1.5.0_07\lib\jaws.jar;C:\Program Files\Java\jre1.5.0_07\lib\plugin.jar -Djava.security.policy=C:\Program Files\Opera\Classes\Opera.policy -Dbrowser.opera.classpath=C:\Program Files\Opera\Classes\Opera.jar
java_command: <unknown>
Launcher Type: generic
Environment Variables:
CLASSPATH=C:\Program Files\Java\jre1.5.0_04\lib\ext\QTJava.zip
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Java\jdk1.5.0\bin;C:\Program Files\cvsnt;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\SSH Secure Shell
USERNAME=Igor
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 10 Stepping 0, AuthenticAMD
--------------- S Y S T E M ---------------
OS: Windows XP Build 2600 Service Pack 2
CPU:total 1 family 6, cmov, cx8, fxsr, mmx, sse
Memory: 4k page, physical 392688k(28360k free), swap 1043536k(597608k free)
vm_info: Java HotSpot(TM) Client VM (1.5.0_07-b03) for windows-x86, built on May 3 2006 01:04:38 by "java_re" with MS VC++ 6.0
Number 3
# An unexpected error has been detected by HotSpot Virtual Machine:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000001, pid=16764, tid=19728
# Java VM: Java HotSpot(TM) Client VM (1.5.0_07-b03 mixed mode)
# Problematic frame:
# C 0x00000001
--------------- T H R E A D ---------------
Current thread (0x100ace50): JavaThread "Direct Clip" daemon [_thread_in_native, id=19728]
siginfo: ExceptionCode=0xc0000005, reading address 0x00000001
Registers:
EAX=0x00000000, EBX=0x12db0954, ECX=0x7c802600, EDX=0x12db0a90
ESP=0x15d1f8a0, EBP=0x000000e0, ESI=0x10acf560, EDI=0x15373c14
EIP=0x00000001, EFLAGS=0x00010202
Top of Stack: (sp=0x15d1f8a0)
0x15d1f8a0: 3350139d 10acf560 40000001 10acf560
0x15d1f8b0: 12db0954 33509140 5ee0af0b 04611fc0
0x15d1f8c0: 10acf560 01a62128 10acf560 000000e0
0x15d1f8d0: 15373c14 00000000 00000002 5ee0d1ca
0x15d1f8e0: 000000e0 5ee0d6ab 00000070 00000070
0x15d1f8f0: 10acf560 10acf498 5ee013ea 10acf560
0x15d1f900: 15373c14 000000e0 00000000 1010fff0
0x15d1f910: 15d1f940 00000000 15d1f970 15d1f978
Instructions: (pc=0x00000001)
0xfffffff1:
Stack: [0x15c20000,0x15d20000), sp=0x15d1f8a0, free space=1022k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C 0x00000001
[error occurred during error reporting, step 120, id 0xc0000005]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J com.sun.media.sound.DirectAudioDevice.nIsStillDraining(JZ)Z
J com.sun.media.sound.DirectAudioDevice$DirectDL.drain()V
j com.sun.media.sound.DirectAudioDevice$DirectClip.run()V+261
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
=>0x100ace50 JavaThread "Direct Clip" daemon [_thread_in_native, id=19728]
0x10109620 JavaThread "Direct Clip" daemon [_thread_in_native, id=21624]
0x101ca710 JavaThread "Direct Clip" daemon [_thread_blocked, id=22164]
0x10109498 JavaThread "Direct Clip" daemon [_thread_blocked, id=21884]
0x10093310 JavaThread "Java Sound Event Dispatcher" daemon [_thread_blocked, id=22892]
0x10010138 JavaThread "Thread-28" [_thread_blocked, id=20452]
0x10119e10 JavaThread "Thread-10" [_thread_blocked, id=21684]
0x1006c410 JavaThread "Thread-8" [_thread_in_native, id=21000]
0x149c8440 JavaThread "Thread-7" [_thread_blocked, id=21392]
0x10116f58 JavaThread "Thread-6" [_thread_blocked, id=21680]
0x100f7dd0 JavaThread "Thread-5" [_thread_blocked, id=21628]
0x057efa70 JavaThread "Thread-4" [_thread_blocked, id=20956]
0x10064bb0 JavaThread "AWT-EventQueue-1" [_thread_blocked, id=19848]
0x10062f80 JavaThread "Thread-2" [_thread_blocked, id=21276]
0x10059c60 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=18708]
0x10051220 JavaThread "AWT-Windows" daemon [_thread_in_native, id=18700]
0x10050de8 JavaThread "AWT-Shutdown" [_thread_blocked, id=18672]
0x1004b670 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=18676]
0x057ed480 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=18648]
0x057ec048 JavaThread "CompilerThread0" daemon [_thread_blocked, id=18544]
0x057eb3c8 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=18624]
0x057e1e48 JavaThread "Finalizer" daemon [_thread_blocked, id=18616]
0x057e13a8 JavaThread "Reference Handler" daemon [_thread_blocked, id=18612]
0x0054de28 JavaThread "main" [_thread_in_native, id=16812]
Other Threads:
0x057a2150 VMThread [id=18600]
0x057ee668 WatcherThread [id=18652]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 1088K, used 322K [0x07820000, 0x07940000, 0x07d00000)
eden space 1024K, 28% used [0x07820000, 0x07869090, 0x07920000)
from space 64K, 48% used [0x07920000, 0x07927b18, 0x07930000)
to space 64K, 0% used [0x07930000, 0x07930000, 0x07940000)
tenured generation total 13000K, used 10737K [0x07d00000, 0x089b2000, 0x0b820000)
the space 13000K, 82% used [0x07d00000, 0x0877c780, 0x0877c800, 0x089b2000)
compacting perm gen total 8192K, used 7130K [0x0b820000, 0x0c020000, 0x0f820000)
the space 8192K, 87% used [0x0b820000, 0x0bf16aa0, 0x0bf16c00, 0x0c020000)
No shared spaces configured.
Dynamic libraries:
0x00400000 - 0x00429000 C:\Program Files\Opera\Opera.exe
0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\user32.dll
0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.DLL
0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
0x629c0000 - 0x629c9000 C:\WINDOWS\system32\LPK.DLL
0x74d90000 - 0x74dfb000 C:\WINDOWS\system32\USP10.dll
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll
0x59800000 - 0x59817000 C:\Program Files\TuneUp Utilities 2006\WinStylerTh -
hi all,
does anybody know how i can add a simple alarm sound in java...something like a beep.
i need to add a sound to a visual alarm that appears on the screen, but im not sure where
to start.
any help or references is greatly appreciated!
thanks evryoneHi
try applet's play() method with audio clip URL or try using Toolkit.beep() method but its very much system dependent i think.
hope this helps u
Shailesh -
Thanksgiving Challenge - ListenUp Java Applet integration
For those that like a Challenge... I came across this Java
Applet that appears to be quite powerful to add recording and
playing of voice audio files to a website:
http://www.javasonics.com/downloads/
I have not been successful in writing the coldfusion code yet
that will read the information that is passed from this Java Applet
with respect to sound file (wav), file name, and other fields that
are in the form when created.
This is the format of the use of the Applet that I would like
to get working on the site:
http://www.javasonics.com/listenup/examples/use_text_fields.html
I look forward to anyone that can get this code working and
how you did it with ColdFusion.
Thanks,
Tom
[email protected]When I run their PHP version that works on a Linux System and
the Java Applet debugger on this is the result from the time the
file is handed off from the Java Applet to the PHP Code.
Can anyone tell if the file is actually being written to the
server then PHP is reading it from the server or is it just being
written to memory and PHP is reading a variable or memory block for
this data?
ListenUp: 49.081, sendRecordedMessage(message_12345.wav)
ListenUp: 49.091, sendRecordedMessage: upload
message_12345.wav
ListenUp: 49.101, start upload, freeMem = 3535456, totalMem =
5640192
ListenUp: 49.431, got compressed image, freeMem = 3453040,
totalMem = 5640192
ListenUp: 49.671, got MIME data, freeMem = 3387064, totalMem
= 5640192
ListenUp: 49.902, MultipartFormDataUploader: POST size =
15733
ListenUp: 49.902, parseStatusLine: HTTP/1.1 100 Continue, len
21
HTTP/1.1 200 OK
Cache-Control: private
Connection: close
Date: Thu, 27 Nov 2008 18:38:07 GMT
Content-Type: text/plain
Server: Microsoft-IIS/6.0
X-Powered-By: PHP/4.4.1
X-Powered-By: ASP.NET
<param name=userfile>
raw_name = message_12345.wav
name = message_12345.wav
type = audio/wav
size = 15420
Upload dir = ../uploads
duration = 2.6006349206349206
SUCCESS - message_12345.wav uploaded.
ListenUp: 50.332, DynamicMemoryBuffer: deleting array.
ListenUp: 50.332, finished upload, freeMem = 3487480,
totalMem = 5640192 -
Java applet freeze completly browser
Hi there
Ive created a smalle board game in an ASP / Javascript page. The game is multiplayer and i connect everybody via an java applet to a java server.
Well, it look like this :
ASP / Javascript --> Applet --> JavaServer --> Applet --> ASP / javascript
The game is just fine and completly functionnal. The problem is : We just brought in some video for the players who have Webcams. And those video freeze when the applet is waiting a response from the server. Is there anyway that the applet does not freeze the whole browser so that the video continu playing even if the game is waiting?
the main window contain 2 sections, �video & chat� and the game. The game containt a few frames with one of them containing the applet. In the java applet, im using BufferedReader and PrintWriter with AppletSocket to communicate with the server.
Im not sure if i have made myself clear, if not, tell me, ill try to make it clearer.
Thanks in advance
Marc
P.S. sorry for my englishThere maybe some code will help most of you to understand better my problem.
Here's the function in my asp pages that wait for the applet response.
function AttendreReponse()
AppletConnect.Recevoir();
GererRecevoir();
}The javascript function 'GererRecevoir()' get the code that was sent by the server, analyse it and then, do run the proper function so the game can go on normally..
And here's the java function 'Recevoir()' in the applet
public void Recevoir()
// String received from the server
String fromServer = "";
this.paramTransaction = "";
this.codeTransaction ="";
try{
// Reads the string received
fromServer = this.in.readLine();
if(fromServer != null)
this.codeTransaction = fromServer.substring(0,2);
if(fromServer.length() > 2){
this.paramTransaction = fromServer.substring(2); //retrieve the 2 next ^^
// Applet dosent receive anything anymore from the server
catch (IOException e){
System.out.println("Le serveur n'est plus en fonction");
System.exit(1);
}So the main problem is that the applet freeze the whole window then ge gets to : fromServer = this.in.readLine();
He wait until he get a response or untill he timeout.
What I would like, is that the applet does not freeze the whole window while waiting since videoconference, chatting and sound arent very usefull if you can use them 3/4 of the time.
I hope this helped you to understand a little bit more.
Thanks again
Marc -
How to get IP address from java applet
is there anyway to find the IP address of a person who is on java applet on some chatting website (not me, but the other users)...... well, this question may sound stupid, but am actually new to this, so please help.
:)>
is there anyway to find the IP address of a person who is on java applet on some chatting website (not me, but the other users)...... >Sure. Ask whoever it is you are chatting to.. "wots ur ip?". Do not be surprised when they 'tell you where to go'. -
Can I save as pdf when printing from a Java applet on a webpage in Safari?
I am trying to use a webpage that is running a Java applet. A dialog comes up that asks me, "Do you want to run this application?" The dialog also says, "This application will run with limited access that is intended to protect your computer and personal information." I select "Run". The applet generates an image I want to print. There is a "Print" button on the applet. I select "Print". A Security Warning dialog comes up that says, "The applet has requested access to the printer. Do you want to allow this action?" I select "OK". The Print dialog comes up. I choose the PDF button in the lower left corner. I choose "Save as PDF...". A second Print dialog comes up. I input a title in the Save As box. I choose Desktop in the Where box. I do not change anything else and select the "Save" button. A dialog appears that says, "Print Error while printing." There is an icon with paper, a pencil, a ruler and a paintbrush on the dialog.
Is this an issue with Apple and Java security? Does "run with limited access" mean I can't print and save as PDF? Should I upgrade to Mavericks? It seems like others have not been happy with Mavericks and have had problems saving as PDF with Mavericks. How do I let Apple know about this error? The error dialog is useless.
I am on a Mac running OS X 10.8.5 and Safari 6.1.2. My Java version is 7 update 51.
What other information can I provide to help solve the problem (if it can be solved)?
Thank you for your help!Correction I would like to save as PDF/A-1b
for archiving.
http://www.adobe.com/enterprise/standards/pdfa/ -
Problem Launching Java Applet with Plug-in: Version 1.4.2_01
Hello out there:
I recently installed j2re-1.4.2_01 on my home computer but have been unable to access Web sites emmploying JAva applets. The following is an email exchange with Jeff Hall of Lowell Observatory, manager of an educational site hosted by Lowell, trying to resolve my problem. The messages are better understood if read in reverse order.
I'm hoping that someone will recognize the source of my problem and can recommmend a solution. I would appreciate any help offered.
Thanks,
Mike Coucke
Hi Jeff:
Well, I guess the problem lies with me somewhere. Here's my answer/status to your questions/suggestions:
1) I'm using MS Windows Me version 4.90.3000
2) I do have the directory C:\Windows\.jpi_cache\jar\, but the only thing in it is an empty folder labeled "1.0". The file LP.jar does not exist anywhere on my hard drive.
3) I tried several game sites that utilized Java applets and got the same results: the Java cup in the upper left corner followed a few seconds later by the red "X". So, evidently the problem is somewhere on my end.
I'm going to post our email exchanges in a Java Users Forum managed by Sun to see if anyone out there can solve my problem. However, if you have any more suggestions, I'll be glad to try them.
Thanks for the help.
Mike Coucke
[email protected]
----- Original Message -----
From: "Jeffrey Hall" <[email protected]>
To: "'Mike Coucke'" <[email protected]>
Sent: Friday, September 05, 2003 1:02 PM
Subject: RE: Registration with Lowell Education Online
Mike,
Rats! What version of Windows are you using? It's a little strange to
see the user directory set to C:\Windows; if you're using XP, I'd expect
it to be something like C:\Documents and Settings\Mike Coucke. In any
event, the output that is of concern is these two lines:
java.lang.ClassNotFoundException: LPRemote.class
Caused by: java.net.UnknownHostException: proxy
It looks like your browser is not finding our server's IP when it comes
time to download the necessary Java code.
LPRemote.class is the fundamental code that runs LOPARC, and your
browser should be downloading it automatically when you click connect.
LPRemote.class is stored along with a bunch of other classes in a file
called "LP.jar" that you download from our server. So, if you go to C:
in Windows Explorer and do a file search for LP.jar, you should find it.
On my machine, it's stored in a directory called ".jpi_cache\jar\" in my
user home directory. Let me know if you have this file, or the
jpi-cache directory.
One other thing you might try is going to a different site that you know
uses Java applets -- I think some of the online game rooms at Yahoo use
Java. See if other sites that use Java load correctly. Then we'll know
if it's our server specifically, or a more general problem on your end.
Jeff Hall
Lowell Observatory
Hello Jeff:
I still have the Java "blues". I followed your instructions, but am still unable to launch a LOPARC session. After an initial failure, I uninstalled all three Java versions I had (1.4.0, 1.4.1, 1.4.2), then reinstalled 1.4.2_01 from the Sun website.
Now, when I try to launch LOPARC, I initially get a blank window with the Java cup in the upper left corner. After about 20 seconds, the cup changes to a red "X". During those 20 seconds, the following appear in the IE message bar at the bottom of the window: "Applet LPRemote notinited" (their spelling) which changes to "Loading Java Applet Failed..." when the red "X" appears.
Following is a copy of the log from my Java Console during all of this:
Java(TM) Plug-in: Version 1.4.2_01
Using JRE version 1.4.2_01 Java HotSpot(TM) Client VM
User home directory = C:\WINDOWS
Proxy Configuration: Manual Configuration
Proxy: http=proxy,https=proxy,ftp=proxy,gopher=proxy
Proxy Overrides:
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
load: class LPRemote.class not found.
java.lang.ClassNotFoundException: LPRemote.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.UnknownHostException: proxy
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.plugin.net.protocol.http.HttpClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.http.HttpClient.privilegedOpenServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.plugin.net.protocol.http.HttpClient.<init>(Unknown Source)
at sun.plugin.net.protocol.http.HttpClient.New(Unknown Source)
at sun.plugin.net.protocol.http.HttpURLConnection.createConnection(Unknown Source)
at sun.plugin.net.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
I followed this up by executing the following three console commands:
"dump system properties"
"dump classholder list"
"dump thread list"
and obtained the following listings:
Dump system properties ...
acl.read = +
acl.read.default =
acl.write = +
acl.write.default =
application.home = C:\PROGRA~1\JAVA\J2RE14~1.2_0
awt.toolkit = sun.awt.windows.WToolkit
browser = sun.plugin
browser.vendor = Sun Microsystems, Inc.
browser.version = 1.1
deployment.javaws.cache.dir = C:\WINDOWS\.javaws\cache
deployment.javaws.jre.0.enabled = true
deployment.javaws.jre.0.location = http://java.sun.com/products/autodl/j2se
deployment.javaws.jre.0.osarch = x86
deployment.javaws.jre.0.osname = Windows
deployment.javaws.jre.0.path = C:\Program Files\Java\j2re1.4.2_01\bin\javaw.exe
deployment.javaws.jre.0.platform = 1.4
deployment.javaws.jre.0.product = 1.4.2_01
deployment.javaws.jre.0.registered = true
deployment.javaws.version = javaws-1.4.2_01
deployment.system.cacerts = C:\PROGRA~1\JAVA\J2RE14~1.2_0\lib\security\cacerts
deployment.system.home = C:\WINDOWS\Sun\Java\Deployment
deployment.system.jssecacerts = C:\PROGRA~1\JAVA\J2RE14~1.2_0\lib\security\cacerts
deployment.system.profile = C:\WINDOWS
deployment.system.security.policy = file:/C:/WINDOWS/Sun/Java/Deployment/security/java.policy
deployment.user.cachedir = C:\WINDOWS\Application Data\Sun\Java\Deployment\cache
deployment.user.certs = C:\WINDOWS\Application Data\Sun\Java\Deployment\security\deployment.certs
deployment.user.extdir = C:\WINDOWS\Application Data\Sun\Java\Deployment\ext
deployment.user.home = C:\WINDOWS\Application Data\Sun\Java\Deployment
deployment.user.jssecerts = C:\WINDOWS\Application Data\Sun\Java\Deployment\security\deployment.jssecerts
deployment.user.logdir = C:\WINDOWS\Application Data\Sun\Java\Deployment\log
deployment.user.profile = C:\WINDOWS\Application Data
deployment.user.security.policy = file:/C:/WINDOWS/Application%20Data/Sun/Java/Deployment/security/java.policy
deployment.user.tmpdir = C:\WINDOWS\Application Data\Sun\Java\Deployment\cache\tmp
file.encoding = Cp1252
file.encoding.pkg = sun.io
file.separator = \
file.separator.applet = true
http.agent = Mozilla/4.0 (Windows Me 4.90)
http.auth.serializeRequests = true
https.protocols = SSLv3,SSLv2Hello
java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
java.awt.printerjob = sun.awt.windows.WPrinterJob
java.class.path = C:\PROGRA~1\JAVA\J2RE14~1.2_0\classes
java.class.version = 48.0
java.class.version.applet = true
java.endorsed.dirs = C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\endorsed
java.ext.dirs = C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\ext
java.home = C:\PROGRA~1\JAVA\J2RE14~1.2_0
java.io.tmpdir = C:\WINDOWS\TEMP\
java.library.path = D:\PROGRAM FILES\INTERNET EXPLORER 6;.;C:\WINDOWS\SYSTEM;C:\WINDOWS;D:\PROGRA~1\INTERN~1;;C:\WINDOWS;C:\WINDOWS\COMMAND
java.protocol.handler.pkgs = sun.plugin.net.protocol|sun.plugin.net.protocol
java.runtime.name = Java(TM) 2 Runtime Environment, Standard Edition
java.runtime.version = 1.4.2_01-b06
java.specification.name = Java Platform API Specification
java.specification.vendor = Sun Microsystems Inc.
java.specification.version = 1.4
java.util.prefs.PreferencesFactory = java.util.prefs.WindowsPreferencesFactory
java.vendor = Sun Microsystems Inc.
java.vendor.applet = true
java.vendor.url = http://java.sun.com/
java.vendor.url.applet = true
java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport.cgi
java.version = 1.4.2_01
java.version.applet = true
java.vm.info = mixed mode
java.vm.name = Java HotSpot(TM) Client VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Sun Microsystems Inc.
java.vm.specification.version = 1.0
java.vm.vendor = Sun Microsystems Inc.
java.vm.version = 1.4.2_01-b06
javaplugin.maxHeapSize = 96m
javaplugin.nodotversion = 142_01
javaplugin.proxy.config.list = http=proxy,https=proxy,ftp=proxy,gopher=proxy
javaplugin.proxy.config.type = manual
javaplugin.version = 1.4.2_01
javaplugin.vm.options = -Djava.class.path=C:\PROGRA~1\JAVA\J2RE14~1.2_0\classes -Xbootclasspath/a:C:\PROGRA~1\JAVA\J2RE14~1.2_0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.4.2_01 -Djavaplugin.nodotversion=142_01 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\JAVA\J2RE14~1.2_0 -Djava.protocol.handler.pkgs=sun.plugin.net.protocol
line.separator = \r\n
line.separator.applet = true
os.arch = x86
os.arch.applet = true
os.name = Windows Me
os.name.applet = true
os.version = 4.90
os.version.applet = true
package.restrict.access.netscape = false
package.restrict.access.sun = true
package.restrict.definition.java = true
package.restrict.definition.netscape = true
package.restrict.definition.sun = true
path.separator = ;
path.separator.applet = true
sun.arch.data.model = 32
sun.boot.class.path = C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\rt.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\i18n.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\sunrsasign.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\jsse.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\jce.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\lib\charsets.jar;C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\classes;C:\PROGRA~1\JAVA\J2RE14~1.2_0\lib\plugin.jar
sun.boot.library.path = C:\PROGRAM FILES\JAVA\J2RE1.4.2_01\bin
sun.cpu.endian = little
sun.cpu.isalist = pentium i486 i386
sun.io.unicode.encoding = UnicodeLittle
sun.java2d.fontpath =
sun.net.client.defaultConnectTimeout = 120000
sun.os.patch.level =
trustProxy = true
user.country = US
user.dir = C:\WINDOWS\Desktop
user.home = C:\WINDOWS
user.language = en
user.name = Michael G. Coucke
user.timezone =
user.variant =
Done.
Dump classloader list ...
codebase=http://kraken.lowell.edu/, key=http://kraken.lowell.edu/,IONJava/classes/ion_16.jar,IONJava/classes/LP.jar, zombie=false, cache=true, refcount=1, info=sun.plugin.ClassLoaderInfo@109de5b
Done.
Dump thread list ...
Group main,ac=11,agc=2,pri=10
main,5,alive
AWT-Windows,6,alive,dameon
AWT-Shutdown,5,alive
Java2D Disposer,10,alive,dameon
AWT-EventQueue-0,6,alive
Group Plugin Thread Group,ac=3,agc=0,pri=10
Main Console Writer,6,alive
AWT-EventQueue-1,6,alive
TimerQueue,5,alive,dameon
Group http://kraken.lowell.edu/-threadGroup,ac=2,agc=0,pri=4
thread applet-LPRemote.class,4,alive
AWT-EventQueue-2,4,alive
Done.
I'm not a Java expert, so this may be more information than you ever wanted to see.
Once again, I hope that you can help. My experience has been that I usually have some obscure option set incorrectly and that causes me great grief.
Thanks fo your help,
Mike Coucke
[email protected]
----- Original Message -----
From: "Jeffrey Hall" <[email protected]>
To: "'Mike Coucke'" <[email protected]>
Sent: Thursday, September 04, 2003 11:48 AM
Subject: RE: Registration with Lowell Education Online
Hi Mike,
Try it now. I think this problem has arisen because Sun just
released a new version of the Plug-in (1.4.2), and when we released the
public beta of LOPARC, only one relevant version (1.4.0) was available
and the LOPARC code was written to look for that by default. I have
just recoded the relevant routines so they should now cause your browser
to simply pick up the latest 1.4 version of the Plug-in you have
installed, whatever it is. I "broke" Java on my machine to replicate
your problem, and the code I inserted today did fix it. Hopefully it
will have the same effect for you. I am running IE 6 and plugin
1.4.2_01 (as accessed via Tools->Sun Java Console).
One broader problem: some (non-LOPARC-specific) users on the Sun
forums have reported the "JRE collision" you are seeing when multiple
versions of the Plug-in are installed on the same machine. So if the
fix I made to our code doesn't work, one option would be to uninstall
all Java components from your computer and do a fresh install of the
latest runtime environment.
Let me know how/if this works. Thanks for the feedback and for your
patience.
Best regards,
Jeff Hall
Lowell Observatory
-----Original Message-----
From: Mike Coucke [mailto:[email protected]]
Sent: Wednesday, September 03, 2003 6:30 PM
To: [email protected]
Subject: Re: Registration with Lowell Education Online
Hello Jeff:
So far, I have been unable to launch a LOPARC session. I repeatedly
get the following error message:
"Exception: java.lang.ClassNotFoundException: LPRemote.class"
My browser is MS Internet Explorer version 6.0.2800.1106 Initially I was
using Java Plug-In version 1.4.1 and received the error message. I went
to the Sun website and downloaded/installed Java Plug-In version 1.4.2
and still get the message.
Before I try to launch LOPARC, I can select Tools->Sun Java Console from
IE's pull down menu to check my Java Plug-In version. When I try to
launch LOPARC, I get the following message:
"Applet(s) in this HTML page requires a version of Java different from
the one the browser is currently using. In order to run the applet(s)
in this HTML page, a new browser session is required, press 'Yes' to
start a new browser session." If I select 'No', I get the following
message: "Java Plug-in detected JRE collission"
If I select 'Yes', a new browser window opens and then I get the first
message above.
Can you help?
Mike Coucke
[email protected]
----- Original Message -----
From: <[email protected]>
To: <[email protected]>
Sent: Monday, September 01, 2003 5:30 PM
Subject: Registration with Lowell Education Online
September 1, 2003
Dear Michael Coucke:
Thank you for registering with Lowell Observatory's online education
site. We hope you enjoy using it and visit regularly as we continue to
expand its features and capabilities. This is a one-time welcoming
email.
For your records, your user ID is xxxxx, and your password is #########.
You'll need to supply these each time you log in.
This site gives you access to research-grade equipment including a 16"
telescope, CCD detector, and image processing software. Our online
archive of data is now available 24/7. The telescope will be opening to
our onsite users in May, and on select nights to the Internet at large
in June.
We have designed this site so you don't need a huge monitor or a
supercomputer to use it. All pages are viewable on screens running at
800x600 resolution or higher. To use LOPARC, you'll need a Java-enabled
browser with the Java 1.4 plug-in installed. If you don't have the
plug-in, you'll be prompted to download it the first time you attempt to
connect. This is an admittedly large (9 MB) but one-time-only download.
This site works correctly under Internet Explorer version 5 or higher.
If you use Netscape, you must be running version 6 or higher, and
display or applet behavior anomalies may occur.
If at any time you can't connect to our server, simply try again later.
We do experience several power outages each year, particularly during
Flagstaff's summer thunderstorm season. Our server is fully protected
and backed up, and can be quickly brought back on line, but any active
user sessions will be lost. Thanks for your patience during these
inevitable downtimes.
Your questions, comments, suggestions, and bug reports about this site
are always welcome. On behalf of the LOPARC development team, thanks
for signing up!
Jeffrey Hall
Assistant Research Scientist
Associate Director, Education and Special Programs
Lowell Observatory
Flagstaff, ArizonaHi Mike,
I see this in your logs:
Java(TM) Plug-in: Version 1.4.2_01
Using JRE version 1.4.2_01 Java HotSpot(TM) Client VM
User home directory = C:\WINDOWS
Proxy Configuration: Manual Configuration
Proxy: http=proxy,https=proxy,ftp=proxy,gopher=proxy
Proxy Overrides:
I just helped my Dad set up his computer with a new
cable modem, and had the situation where we couldn't
access any secure Web sites. The cable folks had us
disable the proxy. It looks like the error message is
saying it can't find your proxy server, and the logs
you posted say that you've decided to configure your
proxy manually, rather than using the settings from
IE (which is how mine is set up in the plugin
control panel.)
Could that be the problem?
--Steve -
I am trying to use and education program that needs Java applets and it will not run on Safari. IE will not install from the web. How do I get a browser that will work to install so I can use this program when I travel.
Try using FireFox. IE will only run on a Mac if you run Windows on the Mac.
Windows on Intel Macs
There are presently several alternatives for running Windows on Intel Macs.
Install the Apple Boot Camp software. Purchase Windows 7 or Windows 8. Follow instructions in the Boot Camp documentation on installation of Boot Camp, creating Driver CD, and installing Windows. Boot Camp enables you to boot the computer into OS X or Windows.
Parallels Desktop for Mac and Windows XP, Vista Business, Vista Ultimate, or Windows 7. Parallels is software virtualization that enables running Windows concurrently with OS X.
VM Fusion and Windows XP, Vista Business, Vista Ultimate, or Windows 7. VM Fusion is software virtualization that enables running Windows concurrently with OS X.
CrossOver which enables running many Windows applications without having to install Windows. The Windows applications can run concurrently with OS X.
VirtualBox is a new Open Source freeware virtual machine such as VM Fusion and Parallels that was developed by Solaris. It is not as fully developed for the Mac as Parallels and VM Fusion.
Note that Parallels and VM Fusion can also run other operating systems such as Linux, Unix, OS/2, Solaris, etc. There are performance differences between dual-boot systems and virtualization. The latter tend to be a little slower (not much) and do not provide the video performance of the dual-boot system. See MacTech.com's Virtualization Benchmarking for comparisons of Boot Camp, Parallels, and VM Fusion. A more recent comparison of Parallels, VM Fusion, and Virtual Box is found at Virtualization Benchmarks- Parallels 10 vs. Fusion 7 vs. VirtualBox. Boot Camp is only available with Leopard and later. Except for Crossover and a couple of similar alternatives like DarWine you must have a valid installer disc for Windows.
You must also have an internal optical drive for installing Windows. Windows cannot be installed from an external optical drive.
Maybe you are looking for
-
Accounting document not being generated from SD
I have been trying to create billing documents from SD but I am getting this message that says that Accounting document can not be generated. Even when I release to accounting it just says no accounting document generated.
-
Invalid Custom Page Rendering in Spaces
Dear sirs, I have developed a very simple ADF Faces app - main page main.jspx with <af:outputText value="main page" id="ot1"/>. This page belongs to bounded task flow ADFSampleFlow. After deployment to weblogic all works fine - I can see this page an
-
why con people? this bs of paper free billing having a setting that can be changed, where? there isn't one! yet again you have made a hash up of a fine piece of technology over greed, you have way too many "Pay Now" links but f'all change billing to
-
Basic question about configuring WRT54GX4
OK - here's the situation. I've got a couple of static IP addresses from my ISP. My LinkSys WRT54GX4 is using one. I want to connect two computers to the internet: first, a WinXP laptop, which I'd like to connect wirelessly; second, a Linux machine,
-
Google.keystone ?? what? permissions...
Running Disk Utility, I have noticed recently the showing up of incorrect permissions related to Parental Controls in addition to the seemingly innocuous "ACL found..." messages. The Parental Control errors seem to get fixed and not show up if I repa