JSP + database problem...
Hi, i would like to retrieve certain column from the database table and display it in a table format...
for example,
String colName[] = request.getParameterValues("col_header"); // this means that this string is dynamic, will change upon the user selection.
And i would like to display the result in table form...
<table>
<tr><td>colName[0]</td> <td>colName[1]</td> .............</tr> // so on and so forth
<tr><td> 1st result for colName[0] </td> <td> 1st result for colName[1] </td> .............</tr> // so on and so forth
</table>
Below is my coding.. but its result very messy and not in the format i want.
String colName[] = request.getParameterValues("col_header");
out.println("<table><tr>");
for (int i=0; i<colName.length; i++){
String name = colName;
out.println("<td>"+name+"</td>");
out.println("</tr>");
out.println("<tr>");
for (int i=0; i<colName.length; i++){
String name = colName[i];
out.println("<td>");
while(rst.next()){
out.println(rst.getString(name));
out.println("</td>");
out.println("</tr>");
out.println("</table>");
i found the solution.. thanks for whoever trying to help me
Similar Messages
-
Re: [iPlanet-JATO] sp3 jsp compiler problem
Weiguo,
First, Matt is correct, the regular expression tool is perfect for general text
substitution situations, and as a completely independent tool its use is not
restricted to migration situations (or file types for that matter).
Second, I sympathize with the unfortunate trouble you are experiencing due to
Jasper's (perhaps more strict) compilation, but in what way did the iMT
automated translation contribute to these inconsistencies that you cited?
1. Changed the case of the tag attribute to be the same as what's
defined in tld.
example: changed OnClick to onClick
The iMT does not generate any OnClick or onClick clauses per se. In a
translation situation, the only way "OnClick" would have been introduced was if
it had been part of the pre-existing project's "extraHTML" (which was written
by the original customer and just passed through unchanged by the iMT) or if it
was added manually by the post-migration developer.
2. Removed attributes which are not defined in tld.
example: escape attribute only defined in three tags
but in some pages, it's used although it's not defined as an
attribute
of certain tags. The jasper compiler doesn't like it.Can you give soem examples? Is there a definite pattern? Again, this might be
similar to the OnClick situation described above?
3. In an end tag, there can't be any space.
example: </content > doesn't work. </content> works.
Again, the content tag would never have been generated by the iMT. There was no
equivalent in the NetDynamics world, so any content tags in your code must have
been introduced by your developers manually. Its a shame that jasper is so
particular, but the iMT could not help you out here even if we wanted to. The
constants that are used by the iMT are defined in
com.iplanet.moko.jsp.convert.JspConversionConstants. From what I can see, the
only situation of a closing tag with any space in it is
public static final String CLOSE_EMPTY_ELEMENT = " />";
But that should not cause the type of problem you are referring to.
Mike
----- Original Message -----
From: Matthew Stevens
Sent: Thursday, September 06, 2001 10:16 AM
Subject: RE: [iPlanet-JATO] sp3 jsp compiler problem
Weiguo,
Others will chime in for sure...I would highly recommend the Regex Tool from
the iMT 1.1.1 for tackling this type of problem. Mike, Todd and myself have
posted to the group (even recently) on directions and advantages of creating
your own RULES (rules file) in XML for arbitary batch processing of source.
matt
-----Original Message-----
From: weiguo.wang@b...
[mailto:<a href="/group/SunONE-JATO/post?protectID=125056020108194190033029175101192165174144234026000079108238073194105057099246073154180137239239223019162">weiguo.wang@b...</a>]
Sent: Thursday, September 06, 2001 12:25 PM
Subject: [iPlanet-JATO] sp3 jsp compiler problem
Matt/Mike/Todd,
We are trying to migrate to sp3 right now, but have had a lot of
issues with the new jasper compiler.
The following workaround has been employed to solve the issues:
1. Changed the case of the tag attribute to be the same as what's
defined in tld.
example: changed OnClick to onClick
2. Removed attributes which are not defined in tld.
example: escape attribute only defined in three tags
but in some pages, it's used although it's not defined as an
attribute
of certain tags. The jasper compiler doesn't like it.
3. In an end tag, there can't be any space.
example: </content > doesn't work. </content> works.
As I see it, we have two options to go about solving this problem:
1. Write a script which will iterate through all the jsp files and
call jspc on them. Fix the errors manually when jspc fails. Jspc will
flag the line number where an error occurs.
2. Write a utility which scans the jsp files and fix the errors when
they are encountered. We should define what's an error and how to
correct it. It's best if we combine this with solution 1 since we
might miss an error condition.
Actually, there might be another option, which is seeking help from
you guys since you have better understanding of JATO and iAS. Can you
do anything to help us?
We would be happy to hear your thoughts.
At last, I would like to suggest modifying the moko tool so that
these rules are enforced and the generated JSPs work with the new
compiler. This is for the benefit of any new migration projects.
Thanks a lot.
Weiguo
[email protected]
Choose from 1000s of job listings!
[email protected]
[Non-text portions of this message have been removed]Thanks a lot Matt and Mike for your prompt replies.
I agree completely that iMT doesn't introduce the inconsistencies.
About the three cases I mentioned, the third one happens only in
manually created JSPs. So it has nothing to do with iMT. The first
two are mainly due to the existing HTML code, as you rightly pointed
out.
The reason I made the suggestion is since we know that case 1 and 2
won't pass the japser compiler in sp3, we have to do something about
it. The best place to do this, in my mind, is iMT. Of course, there
might be some twists that make it impossible or difficult to do this
kind of case manipulation or attribute discard.
Weiguo
--- In iPlanet-JATO@y..., "Mike Frisino" <Michael.Frisino@S...> wrote:
Weiguo,
First, Matt is correct, the regular expression tool is perfect for general text substitution situations, and as a completely independent
tool its use is not restricted to migration situations (or file types
for that matter).
>
Second, I sympathize with the unfortunate trouble you are experiencing due to Jasper's (perhaps more strict) compilation, but
in what way did the iMT automated translation contribute to these
inconsistencies that you cited?
>
1. Changed the case of the tag attribute to be the same as what's
defined in tld.
example: changed OnClick to onClick
The iMT does not generate any OnClick or onClick clauses per se. In a translation situation, the only way "OnClick" would have been
introduced was if it had been part of the pre-existing
project's "extraHTML" (which was written by the original customer and
just passed through unchanged by the iMT) or if it was added manually
by the post-migration developer.
>
2. Removed attributes which are not defined in tld.
example: escape attribute only defined in three tags
but in some pages, it's used although it's not defined as an
attribute
of certain tags. The jasper compiler doesn't like it.Can you give soem examples? Is there a definite pattern? Again, this might be similar to the OnClick situation described above?
>
>
3. In an end tag, there can't be any space.
example: </content > doesn't work. </content> works.
Again, the content tag would never have been generated by the iMT. There was no equivalent in the NetDynamics world, so any content tags
in your code must have been introduced by your developers manually.
Its a shame that jasper is so particular, but the iMT could not help
you out here even if we wanted to. The constants that are used by the
iMT are defined in
com.iplanet.moko.jsp.convert.JspConversionConstants. From what I can
see, the only situation of a closing tag with any space in it is
public static final String CLOSE_EMPTY_ELEMENT = " />";
But that should not cause the type of problem you are referring to.
Mike
----- Original Message -----
From: Matthew Stevens
Sent: Thursday, September 06, 2001 10:16 AM
Subject: RE: [iPlanet-JATO] sp3 jsp compiler problem
Weiguo,
Others will chime in for sure...I would highly recommend the Regex Tool from
the iMT 1.1.1 for tackling this type of problem. Mike, Todd and myself have
posted to the group (even recently) on directions and advantages of creating
your own RULES (rules file) in XML for arbitary batch processing of source.
>
matt
-----Original Message-----
From: weiguo.wang@b...
[mailto:<a href="/group/SunONE-JATO/post?protectID=125056020108194190033029175101192165174048139046">weiguo.wang@b...</a>]
Sent: Thursday, September 06, 2001 12:25 PM
Subject: [iPlanet-JATO] sp3 jsp compiler problem
Matt/Mike/Todd,
We are trying to migrate to sp3 right now, but have had a lot of
issues with the new jasper compiler.
The following workaround has been employed to solve the issues:
1. Changed the case of the tag attribute to be the same as
what's
defined in tld.
example: changed OnClick to onClick
2. Removed attributes which are not defined in tld.
example: escape attribute only defined in three tags
but in some pages, it's used although it's not defined as an
attribute
of certain tags. The jasper compiler doesn't like it.
3. In an end tag, there can't be any space.
example: </content > doesn't work. </content> works.
As I see it, we have two options to go about solving this problem:
>>
1. Write a script which will iterate through all the jsp files and
call jspc on them. Fix the errors manually when jspc fails. Jspc will
flag the line number where an error occurs.
2. Write a utility which scans the jsp files and fix the errors when
they are encountered. We should define what's an error and how to
correct it. It's best if we combine this with solution 1 since we
might miss an error condition.
Actually, there might be another option, which is seeking help from
you guys since you have better understanding of JATO and iAS. Can you
do anything to help us?
We would be happy to hear your thoughts.
At last, I would like to suggest modifying the moko tool so that
these rules are enforced and the generated JSPs work with the new
compiler. This is for the benefit of any new migration projects.
Thanks a lot.
Weiguo
[email protected]
Choose from 1000s of job listings!
[email protected]
Service.
>
>
>
[Non-text portions of this message have been removed] -
Mail crashes: database problem?
I have the oddest problem with Mail now that I've updated to Lion. If I start to type the email address of one particular friend into the search box, it crashes as soon as I get to a character that distinguishes it from all others in my address book (ie meec for [email protected]). I cannot type this address directly into the "To" field either. Additionally, any time I click on an email that someone has sent to both our addresses, the email pauses for around 30 seconds before finally loading in the preview window.
I use a POP account for my university which allows Mail to auto-complete email addresses for anyone at the school whether they are in my local address book or not.
Could this be a problem with my school's mail server or is there some local file/database/etc. corrupted on my Mac? From the error message, it appears to be a database problem but I'm not sure how to fix it. The error log is attached.
================================================================================ ==========
Process: Mail [62068]
Path: /Applications/Mail.app/Contents/MacOS/Mail
Identifier: com.apple.mail
Version: 5.0 (1244.2)
Build Info: Mail-1244002000000000~1
Code Type: X86-64 (Native)
Parent Process: launchd [2965]
Date/Time: 2011-09-06 12:16:36.149 -0400
OS Version: Mac OS X 10.7.1 (11B26)
Report Version: 9
Interval Since Last Report: 151083 sec
Crashes Since Last Report: 7
Per-App Interval Since Last Report: 172691 sec
Per-App Crashes Since Last Report: 4
Anonymous UUID: 04FCE226-C892-421D-9A4C-C5CB047CB559
Crashed Thread: 7 Dispatch queue: suggestions.spotlight
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
objc[62068]: garbage collection is OFF
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Fatal error. The database at /Users/cperuta/Library/Application Support/AddressBook/MailRecents-v4.abcdmr is corrupted. SQLite error code:11, 'database disk image is malformed''
*** First throw call stack:
0 CoreFoundation 0x00007fff94d01986 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff97198d5e objc_exception_throw + 43
2 CoreData 0x00007fff979ba13f _execute + 847
3 CoreData 0x00007fff979b986b -[NSSQLiteConnection execute] + 1211
4 CoreData 0x00007fff979d4e7c newFetchedRowsForFetchPlan_MT + 1084
5 CoreData 0x00007fff979dd696 -[NSSQLCore fetchRowForObjectID:] + 950
6 CoreData 0x00007fff979daf98 -[NSSQLCore newValuesForObjectWithID:withContext:error:] + 216
7 CoreData 0x00007fff979daeb1 -[NSPersistentStoreCoordinator(_NSInternalMethods) newValuesForObjectWithID:withContext:error:] + 65
8 CoreData 0x00007fff979da740 _PFFaultHandlerLookupRow + 416
9 CoreData 0x00007fff979da254 _PF_FulfillDeferredFault + 212
10 CoreData 0x00007fff979da0d8 _sharedIMPL_pvfk_core + 56
11 AddressBook 0x00007fff9021a06d -[ABCDMailRecent lastEmailDatesArray] + 301
12 Foundation 0x00007fff905e1d68 _NSGetUsingKeyValueGetter + 62
13 AddressBook 0x00007fff90171f7e -[ABCDRecord nts_ValueForProperty:row:record:] + 237
14 AddressBook 0x00007fff90171db1 -[ABRecord nts_ValueForProperty:row:] + 47
15 AddressBook 0x00007fff90171d80 -[ABRecord nts_ValueForProperty:] + 25
16 AddressBook 0x00007fff90191488 -[ABMailRecent valueForProperty:] + 136
17 Suggestions 0x00007fff9935654b -[SGTABPersonGeniusHelper additionalSuggestions] + 951
18 Suggestions 0x00007fff9934e8a1 -[SGTMailQueryGenius suggester:additionalSuggestionsForInput:] + 59
19 Suggestions 0x00007fff9933ad81 -[SGTSpotlightSuggester additionalSuggestionsForInput:] + 53
20 Suggestions 0x00007fff9933ba90 -[SGTSpotlightSuggester _processQueryResults:intermediateResults:suggestionsCount:] + 673
21 Suggestions 0x00007fff9933b616 -[SGTSpotlightSuggester _queryDidFinish:] + 308
22 Foundation 0x00007fff905d2716 __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 + 47
23 CoreFoundation 0x00007fff94caa51a _CFXNotificationPost + 2634
24 CoreFoundation 0x00007fff94ce13e3 CFNotificationCenterPostNotificationWithOptions + 115
25 Metadata 0x00007fff98363968 ___pushNotification_block_invoke_1 + 104
26 libdispatch.dylib 0x00007fff9984990a _dispatch_call_block_and_release + 18
27 libdispatch.dylib 0x00007fff9984b15a _dispatch_queue_drain + 264
28 libdispatch.dylib 0x00007fff9984afb6 _dispatch_queue_invoke + 54
29 libdispatch.dylib 0x00007fff9984a7b0 _dispatch_worker_thread2 + 198
30 libsystem_c.dylib 0x00007fff93f893da _pthread_wqthread + 316
31 libsystem_c.dylib 0x00007fff93f8ab85 start_wqthread + 13
terminate called throwing an exception
abort() called
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff905b067a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff905afd71 mach_msg + 73
2 com.apple.CoreFoundation 0x00007fff94c8e29c __CFRunLoopServiceMachPort + 188
3 com.apple.CoreFoundation 0x00007fff94c96a04 __CFRunLoopRun + 1204
4 com.apple.CoreFoundation 0x00007fff94c96216 CFRunLoopRunSpecific + 230
5 com.apple.HIToolbox 0x00007fff8d92e4ff RunCurrentEventLoopInMode + 277
6 com.apple.HIToolbox 0x00007fff8d935c21 ReceiveNextEventCommon + 355
7 com.apple.HIToolbox 0x00007fff8d935aae BlockUntilNextEventMatchingListInMode + 62
8 com.apple.AppKit 0x00007fff931f2191 _DPSNextEvent + 659
9 com.apple.AppKit 0x00007fff931f1a95 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
10 com.apple.AppKit 0x00007fff931ee3d6 -[NSApplication run] + 463
11 com.apple.AppKit 0x00007fff9346c52a NSApplicationMain + 867
12 com.apple.mail 0x000000010bcf5c34 0x10bc1d000 + 887860
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff905b27e6 kevent + 10
1 libdispatch.dylib 0x00007fff9984b60e _dispatch_mgr_invoke + 923
2 libdispatch.dylib 0x00007fff9984a19e _dispatch_mgr_thread + 54
Thread 2:
0 libsystem_kernel.dylib 0x00007fff905b067a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff905afd71 mach_msg + 73
2 com.apple.CoreFoundation 0x00007fff94c8e29c __CFRunLoopServiceMachPort + 188
3 com.apple.CoreFoundation 0x00007fff94c96a04 __CFRunLoopRun + 1204
4 com.apple.CoreFoundation 0x00007fff94c96216 CFRunLoopRunSpecific + 230
5 com.apple.Foundation 0x00007fff905c7983 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 267
6 com.apple.Foundation 0x00007fff905c786f -[NSRunLoop(NSRunLoop) run] + 62
7 com.apple.MessageFramework 0x00007fff92c563b5 -[RSSInterchange _runManager] + 1345
8 com.apple.Foundation 0x00007fff906161ea -[NSThread main] + 68
9 com.apple.Foundation 0x00007fff90616162 __NSThread__main__ + 1575
10 libsystem_c.dylib 0x00007fff93f878bf _pthread_start + 335
11 libsystem_c.dylib 0x00007fff93f8ab75 thread_start + 13
Thread 3:: WebCore: LocalStorage
0 libsystem_kernel.dylib 0x00007fff905b1bca __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff93f8b274 _pthread_cond_wait + 840
2 com.apple.JavaScriptCore 0x00007fff9813fba0 ***::ThreadCondition::timedWait(***::Mutex&, double) + 64
3 com.apple.WebCore 0x00007fff8f2572ba ***::MessageQueue<WebCore::LocalStorageTask>::waitForMessage() + 132
4 com.apple.WebCore 0x00007fff8f257213 WebCore::LocalStorageThread::threadEntryPoint() + 99
5 com.apple.WebCore 0x00007fff8f25715b WebCore::LocalStorageThread::threadEntryPointCallback(void*) + 9
6 libsystem_c.dylib 0x00007fff93f878bf _pthread_start + 335
7 libsystem_c.dylib 0x00007fff93f8ab75 thread_start + 13
Thread 4:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x00007fff905b067a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff905afd71 mach_msg + 73
2 com.apple.CoreFoundation 0x00007fff94c8e29c __CFRunLoopServiceMachPort + 188
3 com.apple.CoreFoundation 0x00007fff94c96a04 __CFRunLoopRun + 1204
4 com.apple.CoreFoundation 0x00007fff94c96216 CFRunLoopRunSpecific + 230
5 com.apple.Foundation 0x00007fff90621a97 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 335
6 com.apple.Foundation 0x00007fff906161ea -[NSThread main] + 68
7 com.apple.Foundation 0x00007fff90616162 __NSThread__main__ + 1575
8 libsystem_c.dylib 0x00007fff93f878bf _pthread_start + 335
9 libsystem_c.dylib 0x00007fff93f8ab75 thread_start + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff905b067a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff905afd71 mach_msg + 73
2 com.apple.CoreFoundation 0x00007fff94c8e29c __CFRunLoopServiceMachPort + 188
3 com.apple.CoreFoundation 0x00007fff94c96a04 __CFRunLoopRun + 1204
4 com.apple.CoreFoundation 0x00007fff94c96216 CFRunLoopRunSpecific + 230
5 com.apple.Foundation 0x00007fff905c7983 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 267
6 com.apple.Foundation 0x00007fff905c786f -[NSRunLoop(NSRunLoop) run] + 62
7 com.apple.MessageFramework 0x00007fff92c75b89 +[_NSSocket _runIOThread] + 80
8 com.apple.Foundation 0x00007fff906161ea -[NSThread main] + 68
9 com.apple.Foundation 0x00007fff90616162 __NSThread__main__ + 1575
10 libsystem_c.dylib 0x00007fff93f878bf _pthread_start + 335
11 libsystem_c.dylib 0x00007fff93f8ab75 thread_start + 13
Thread 6:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff905b1df2 __select + 10
1 com.apple.CoreFoundation 0x00007fff94cdf66b __CFSocketManager + 1355
2 libsystem_c.dylib 0x00007fff93f878bf _pthread_start + 335
3 libsystem_c.dylib 0x00007fff93f8ab75 thread_start + 13
Thread 7 Crashed:: Dispatch queue: suggestions.spotlight
0 libsystem_kernel.dylib 0x00007fff905b1ce2 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff93f897d2 pthread_kill + 95
2 libsystem_c.dylib 0x00007fff93f7aa7a abort + 143
3 libc++abi.dylib 0x00007fff8e7307bc abort_message + 214
4 libc++abi.dylib 0x00007fff8e72dfcf default_terminate() + 28
5 libobjc.A.dylib 0x00007fff971991b9 _objc_terminate + 94
6 libc++abi.dylib 0x00007fff8e72e001 safe_handler_caller(void (*)()) + 11
7 libc++abi.dylib 0x00007fff8e72e05c std::terminate() + 16
8 libc++abi.dylib 0x00007fff8e72f152 __cxa_throw + 114
9 libobjc.A.dylib 0x00007fff97198e7a objc_exception_throw + 327
10 com.apple.CoreFoundation 0x00007fff94d8b5a9 -[NSException raise] + 9
11 com.apple.AddressBook.framework 0x00007fff90171e6e -[ABRecord nts_ValueForProperty:row:] + 236
12 com.apple.AddressBook.framework 0x00007fff90171d80 -[ABRecord nts_ValueForProperty:] + 25
13 com.apple.AddressBook.framework 0x00007fff90191488 -[ABMailRecent valueForProperty:] + 136
14 com.apple.Suggestions 0x00007fff9935654b -[SGTABPersonGeniusHelper additionalSuggestions] + 951
15 com.apple.Suggestions 0x00007fff9934e8a1 -[SGTMailQueryGenius suggester:additionalSuggestionsForInput:] + 59
16 com.apple.Suggestions 0x00007fff9933ad81 -[SGTSpotlightSuggester additionalSuggestionsForInput:] + 53
17 com.apple.Suggestions 0x00007fff9933ba90 -[SGTSpotlightSuggester _processQueryResults:intermediateResults:suggestionsCount:] + 673
18 com.apple.Suggestions 0x00007fff9933b616 -[SGTSpotlightSuggester _queryDidFinish:] + 308
19 com.apple.Foundation 0x00007fff905d2716 __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 + 47
20 com.apple.CoreFoundation 0x00007fff94caa51a _CFXNotificationPost + 2634
21 com.apple.CoreFoundation 0x00007fff94ce13e3 CFNotificationCenterPostNotificationWithOptions + 115
22 com.apple.Metadata 0x00007fff98363968 ___pushNotification_block_invoke_1 + 104
23 libdispatch.dylib 0x00007fff9984990a _dispatch_call_block_and_release + 18
24 libdispatch.dylib 0x00007fff9984b15a _dispatch_queue_drain + 264
25 libdispatch.dylib 0x00007fff9984afb6 _dispatch_queue_invoke + 54
26 libdispatch.dylib 0x00007fff9984a7b0 _dispatch_worker_thread2 + 198
27 libsystem_c.dylib 0x00007fff93f893da _pthread_wqthread + 316
28 libsystem_c.dylib 0x00007fff93f8ab85 start_wqthread + 13
Thread 8:: Dispatch queue: Query work queue
0 libsystem_kernel.dylib 0x00007fff905b1bca __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff93f8b274 _pthread_cond_wait + 840
2 com.apple.Metadata 0x00007fff983638c6 _pushNotification + 464
3 com.apple.Metadata 0x00007fff98366096 processUpdatesLocked + 9441
4 com.apple.Metadata 0x00007fff983663c4 tryProcessUpdates + 163
5 com.apple.Metadata 0x00007fff983667bf _MDQueryCallback + 189
6 com.apple.Metadata 0x00007fff98366e74 doQueryResultsCallback + 106
7 com.apple.Metadata 0x00007fff983517a4 _XQueryResultsCallback + 276
8 com.apple.Metadata 0x00007fff9835165f MDSClientCallbacks_server + 146
9 libsystem_kernel.dylib 0x00007fff905b0537 mach_msg_server_once + 427
10 com.apple.Metadata 0x00007fff9836837b ___MDQueryExecute_block_invoke_3 + 107
11 libdispatch.dylib 0x00007fff9984e2f1 _dispatch_source_invoke + 614
12 libdispatch.dylib 0x00007fff9984afc7 _dispatch_queue_invoke + 71
13 libdispatch.dylib 0x00007fff9984b124 _dispatch_queue_drain + 210
14 libdispatch.dylib 0x00007fff9984afb6 _dispatch_queue_invoke + 54
15 libdispatch.dylib 0x00007fff9984a7b0 _dispatch_worker_thread2 + 198
16 libsystem_c.dylib 0x00007fff93f893da _pthread_wqthread + 316
17 libsystem_c.dylib 0x00007fff93f8ab85 start_wqthread + 13
Thread 9:
0 libsystem_kernel.dylib 0x00007fff905b2192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff93f89594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff93f8ab85 start_wqthread + 13
Thread 10:
0 libsystem_kernel.dylib 0x00007fff905b2192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff93f89594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff93f8ab85 start_wqthread + 13
Thread 11:
0 libsystem_kernel.dylib 0x00007fff905b2192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff93f89594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff93f8ab85 start_wqthread + 13
Thread 12:
0 libsystem_kernel.dylib 0x00007fff905b2192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff93f89594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff93f8ab85 start_wqthread + 13
Thread 13:
0 libsystem_kernel.dylib 0x00007fff905b2192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff93f89594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff93f8ab85 start_wqthread + 13
Thread 7 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x000000010fa72f48 rdx: 0x0000000000000000
rdi: 0x0000000000011163 rsi: 0x0000000000000006 rbp: 0x000000010fa72f70 rsp: 0x000000010fa72f48
r8: 0x00007fff7e0cefb8 r9: 0x000000010fa729d8 r10: 0x00007fff905b1d0a r11: 0xffffff80002d8240
r12: 0x0000000000000000 r13: 0x0000000000000002 r14: 0x000000010fa75000 r15: 0x000000010fa730c0
rip: 0x00007fff905b1ce2 rfl: 0x0000000000000206 cr2: 0x000000010c3ad000
Logical CPU: 0
Binary Images:
0x10bc1d000 - 0x10bfcdff7 com.apple.mail (5.0 - 1244.2) <8D887218-56A8-3BB1-96BB-4305E158569E> /Applications/Mail.app/Contents/MacOS/Mail
0x10c37f000 - 0x10c37fff5 +cl_kernels (??? - ???) <4AAD714C-B9EE-43BE-96F2-9F0B873ABB94> cl_kernels
0x10c4b3000 - 0x10c4b7fff com.apple.audio.AudioIPCPlugIn (1.2.0 - 1.2.0) <1EAF877E-4F15-39F7-89FA-D362AA4DA9DE> /System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugI n.bundle/Contents/MacOS/AudioIPCPlugIn
0x10d44b000 - 0x10d44dfff apop.so (??? - ???) <B40CE86C-1757-3261-848C-F166F3D513EA> /usr/lib/sasl2/apop.so
0x10d451000 - 0x10d467fff dhx.so (??? - ???) <9AB7809C-2651-3FCF-9357-8E1CDEAB6466> /usr/lib/sasl2/dhx.so
0x10d474000 - 0x10d47dfff digestmd5WebDAV.so (??? - ???) <8D39C8C0-ACCE-34D4-815A-87825A1A4492> /usr/lib/sasl2/digestmd5WebDAV.so
0x10d482000 - 0x10d484fff libanonymous.2.so (??? - ???) <99136B94-8BE0-3563-9E2A-9C826971B6E9> /usr/lib/sasl2/libanonymous.2.so
0x10d488000 - 0x10d48bfff libcrammd5.2.so (??? - ???) <5EEE3304-D132-3C9B-A54D-C21D7C34DA28> /usr/lib/sasl2/libcrammd5.2.so
0x10d490000 - 0x10d499fff libdigestmd5.2.so (??? - ???) <6DD64225-CFFF-379B-A5BA-5409F777F307> /usr/lib/sasl2/libdigestmd5.2.so
0x10d49e000 - 0x10d4a3fff libgssapiv2.2.so (??? - ???) <DC1BA305-26FA-3CC7-8400-6A45521EF2A3> /usr/lib/sasl2/libgssapiv2.2.so
0x10d4a8000 - 0x10d4aafff login.so (??? - ???) <48CD069F-68F5-32C4-BFAC-AC0EFB7B9489> /usr/lib/sasl2/login.so
0x10d4ae000 - 0x10d4b3fff libntlm.so (??? - ???) <1B9D16BE-D0DB-31A3-8B84-7830509B5ECA> /usr/lib/sasl2/libntlm.so
0x10d4b8000 - 0x10d4bffff libotp.2.so (??? - ???) <1DDBDDF7-3F84-3AF0-A878-9E64EEBE0ED5> /usr/lib/sasl2/libotp.2.so
0x10d4c8000 - 0x10d4cafff libplain.2.so (??? - ???) <C98A873A-4373-3E3A-8257-D9BB5F857C85> /usr/lib/sasl2/libplain.2.so
0x10d4ce000 - 0x10d4d2fff libpps.so (??? - ???) <26172BC5-1758-3BE6-9B8D-F254A727478A> /usr/lib/sasl2/libpps.so
0x10d4d7000 - 0x10d4daff7 mschapv2.so (??? - ???) <F62C8BE2-B2E4-3E36-AC52-B4E149AFC186> /usr/lib/sasl2/mschapv2.so
0x10d4df000 - 0x10d50dfff com.apple.DirectoryService.PasswordServerFramework (7.0 - 7.0) <2C10A1AC-CEFF-3215-A398-C75818082C8D> /System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordS erver
0x10d522000 - 0x10d525fff shadow_auxprop.so (??? - ???) <DF9DE842-FBFA-368A-AA8C-E29CF334FF69> /usr/lib/sasl2/shadow_auxprop.so
0x10d52a000 - 0x10d52cfff smb_nt.so (??? - ???) <C6D59817-4DB8-34F9-BD71-2FDDA857CBA8> /usr/lib/sasl2/smb_nt.so
0x10d530000 - 0x10d533fff smb_ntlmv2.so (??? - ???) <A2FD1300-B742-32BE-B640-74732490CC94> /usr/lib/sasl2/smb_ntlmv2.so
0x10d67d000 - 0x10d67dff1 +cl_kernels (??? - ???) <8E5A038D-9D80-4160-9078-20D8B09E9D20> cl_kernels
0x10d8b0000 - 0x10d8b6fff com.apple.audio.AppleHDAHALPlugIn (2.1.1 - 2.1.1f12) <B2B0AAA1-157C-3E65-B8A1-79C50D0191A3> /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bun dle/Contents/MacOS/AppleHDAHALPlugIn
0x10f53a000 - 0x10f53ffff com.apple.contacts.iaplugin (1.0 - 1043) <0AB8C3AC-AA1C-3D14-B8C5-6AD7E63FBB4F> /System/Library/InternetAccounts/AddressBook.iaplugin/Contents/MacOS/AddressBoo k
0x10f545000 - 0x10f548fff com.aol.iaplugin (1.0 - 1) <5EA7A690-6C76-3E54-9284-1FBAEAD932D0> /System/Library/InternetAccounts/AOL.iaplugin/Contents/MacOS/AOL
0x10f54e000 - 0x10f557fff com.apple.exchange.iaplugin (1.0 - 1) <52AA2762-8A6F-3BC3-9009-618CAE6A7D78> /System/Library/InternetAccounts/Exchange.iaplugin/Contents/MacOS/Exchange
0x10f57e000 - 0x10f583fff com.google.iaplugin (1.0 - 1) <2B3E8068-0911-3FA1-91CF-DDE0A754D110> /System/Library/InternetAccounts/Google.iaplugin/Contents/MacOS/Google
0x10fac2000 - 0x10fac5ff7 libCoreFSCache.dylib (??? - ???) <783C2402-CA3F-3D9B-B909-0F251145CF1D> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache .dylib
0x10fafa000 - 0x10fafaffd +cl_kernels (??? - ???) <7AC493B6-348A-4F09-B02C-0022B5FC2F51> cl_kernels
0x10fb0d000 - 0x10fb13fef libcldcpuengine.dylib (1.50.61 - compatibility 1.0.0) <EAC03E33-595E-3829-8199-479FA5CD9987> /System/Library/Frameworks/OpenCL.framework/Libraries/libcldcpuengine.dylib
0x10fb3a000 - 0x10fb3bff3 +cl_kernels (??? - ???) <4BBEFF1A-0136-401A-9D40-2C0FE6125C63> cl_kernels
0x10fb50000 - 0x10fb50ff1 +cl_kernels (??? - ???) <DA2F23ED-035B-4E78-8D77-B926270006E2> cl_kernels
0x110027000 - 0x1100baff7 unorm8_bgra.dylib (1.50.61 - compatibility 1.0.0) <3ED8B0D5-4A55-3E39-8490-B7BC1780F67B> /System/Library/Frameworks/OpenCL.framework/Libraries/ImageFormats/unorm8_bgra. dylib
0x1100e9000 - 0x11017aff7 unorm8_rgba.dylib (1.50.61 - compatibility 1.0.0) <278541F2-18CC-3BE4-AD6B-24A3E983ACB5> /System/Library/Frameworks/OpenCL.framework/Libraries/ImageFormats/unorm8_rgba. dylib
0x110199000 - 0x11019affc +cl_kernels (??? - ???) <F184DD76-80CC-4FD5-B608-368E2D7D4C71> cl_kernels
0x1105f1000 - 0x1105f2ff3 +cl_kernels (??? - ???) <97AFF7C4-C941-4A98-835C-4FF11C0AADA3> cl_kernels
0x110600000 - 0x110600ffd +cl_kernels (??? - ???) <4627C0A2-96E0-45A5-A13A-2446ED2C3709> cl_kernels
0x110604000 - 0x110604ff5 +cl_kernels (??? - ???) <780495FC-F261-4119-B7E7-55AD156348CF> cl_kernels
0x110643000 - 0x11064afff com.apple.calendar.iaplugin (1.0 - 1127) <AEEF9F0F-F4D0-30DF-9F26-7BE714564033> /System/Library/InternetAccounts/iCal.iaplugin/Contents/MacOS/iCal
0x110651000 - 0x110656fff com.apple.chat.iaplugin (1.0 - 927) <2C8DF6B6-96BF-3450-A1BF-D40706B868F1> /System/Library/InternetAccounts/iChat.iaplugin/Contents/MacOS/iChat
0x11068b000 - 0x110692ff7 com.apple.mail.iaplugin (5.0 - 1244.3) <CDEC5E4E-F15F-369F-818A-335DDCBD7656> /System/Library/InternetAccounts/Mail.iaplugin/Contents/MacOS/Mail
0x110699000 - 0x11069cfff com.apple.mobileme.iaplugin (1.0 - 1) <136AE107-5555-336C-95F6-E643106D6EEA> /System/Library/InternetAccounts/MobileMe.iaplugin/Contents/MacOS/MobileMe
0x1106a2000 - 0x1106a7fff com.apple.osxserver.iaplugin (1.0 - 1) <48C2AF83-8EA5-33BC-8337-33969031CDAB> /System/Library/InternetAccounts/OSXServer.iaplugin/Contents/MacOS/OSXServer
0x1106ae000 - 0x1106c0ff7 com.apple.PlatformHardwareManagement (2.0.1 - 2.0.1) <B55C63E6-0117-324B-B88A-18C5003D61FC> /System/Library/PrivateFrameworks/PlatformHardwareManagement.framework/Versions /A/PlatformHardwareManagement
0x1106cd000 - 0x110706fff com.apple.frameworks.CoreDaemon (1.0 - 1.0) <267FFC79-8640-3290-A7D7-79E4D9390AA7> /System/Library/PrivateFrameworks/CoreDaemon.framework/Versions/B/CoreDaemon
0x1109cc000 - 0x1109d0fff com.yahoo.iaplugin (1.0 - 1) <AA2E0D99-9768-3E15-94FF-C9F3C11524C4> /System/Library/InternetAccounts/Yahoo.iaplugin/Contents/MacOS/Yahoo
0x1109d6000 - 0x1109d9fff com.apple.yahoo.syncframework (1.4 - 61) <F85D0D3C-B926-3945-8AEE-238128B0AACC> /System/Library/PrivateFrameworks/YahooSync.framework/Versions/A/YahooSync
0x110b31000 - 0x110bb4ff7 com.apple.frameworks.server.foundation (10.7 - 184) <B6D7DCAD-0D14-3BA2-BCF6-BFCD900EC6C4> /System/Library/PrivateFrameworks/ServerFoundation.framework/Versions/A/ServerF oundation
0x110db9000 - 0x110dbbfff com.apple.AddressBook.LocalSourceBundle (1.1 - 1043) <E6A2DAEA-2AE7-3759-A8E5-D354007FDD4B> /System/Library/Address Book Plug-Ins/LocalSource.sourcebundle/Contents/MacOS/LocalSource
0x110f29000 - 0x111072ff7 com.apple.audio.units.Components (1.7 - 1.7) <A68668EB-624D-3867-A392-5D2E026AF14A> /System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio
0x1116f2000 - 0x1116f5fff com.apple.DirectoryServicesSource (1.1 - 1043) <B1B5FB51-29C4-3D13-AE52-D344C6EE11AE> /System/Library/Address Book Plug-Ins/DirectoryServices.sourcebundle/Contents/MacOS/DirectoryServices
0x11172c000 - 0x111731ff7 libgermantok.dylib (??? - ???) <BEE85384-A58E-3D6B-914B-74E5FF3155F3> /usr/lib/libgermantok.dylib
0x111739000 - 0x111766ff7 com.apple.datadetectors.actions (3.0 - 172.0) <9CA54923-56C9-3DE1-A9ED-879CD6E73EFC> /System/Library/PrivateFrameworks/DataDetectors.framework/Versions/A/Resources/ Actions.datadetectors/Contents/MacOS/Actions
0x11335f000 - 0x1134f7ff7 GLEngine (??? - ???) <EE6CCAE3-1CA1-3C5E-A83C-BB56AB413AB3> /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
0x11352a000 - 0x113623fff libGLProgrammability.dylib (??? - ???) <7B17211F-D04C-3916-8176-1930C24BA421> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgramma bility.dylib
0x113649000 - 0x113677ff7 GLRendererFloat (??? - ???) <AB59F7EA-62B1-3AA6-B940-47C0B6BC6DD9> /System/Library/Frameworks/OpenGL.framework/Resources/GLRendererFloat.bundle/GL RendererFloat
0x115609000 - 0x11562dfff com.apple.Mail.Syncer (5.0 - 1244.3) <142C325B-273B-3294-8942-D8E82B4A4362> /System/Library/Frameworks/Message.framework/Versions/B/Resources/Syncer.syncsc hema/Contents/MacOS/Syncer
0x200000000 - 0x20075ffff com.apple.GeForceGLDriver (7.4.10 - 7.0.4) <3DD8B099-0CDB-39E0-B6EE-78E3A4C8D17F> /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/GeForceGLDrive r
0x7fff6b81d000 - 0x7fff6b851ac7 dyld (195.5 - ???) <4A6E2B28-C7A2-3528-ADB7-4076B9836041> /usr/lib/dyld
0x7fff8d2e7000 - 0x7fff8d2ecfff libcache.dylib (47.0.0 - compatibility 1.0.0) <B7757E2E-5A7D-362E-AB71-785FE79E1527> /usr/lib/system/libcache.dylib
0x7fff8d2ed000 - 0x7fff8d2f6fff libnotify.dylib (80.0.0 - compatibility 1.0.0) <BD08553D-8088-38A8-8007-CF5C0B8F0404> /usr/lib/system/libnotify.dylib
0x7fff8d30c000 - 0x7fff8d30dfff libdnsinfo.dylib (395.6.0 - compatibility 1.0.0) <718A135F-6349-354A-85D5-430B128EFD57> /usr/lib/system/libdnsinfo.dylib
0x7fff8d320000 - 0x7fff8d35fff7 libGLImage.dylib (??? - ???) <29F82AD9-45F0-3AC5-A4A4-B767EC555D82> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
0x7fff8d360000 - 0x7fff8d77bff7 com.apple.RawCamera.bundle (3.7.2 - 573) <FF8D349E-E8DF-3D12-91E9-BA00C13D5359> /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
0x7fff8d77c000 - 0x7fff8d799ff7 libxpc.dylib (77.16.0 - compatibility 1.0.0) <0A4B4775-29A9-30D6-956B-3BE1DBF98090> /usr/lib/system/libxpc.dylib
0x7fff8d79a000 - 0x7fff8d7a5ff7 com.apple.bsd.ServiceManagement (2.0 - 2.0) <5209B4F1-D6D6-337B-B3C8-E168931C778C> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManage ment
0x7fff8d7c5000 - 0x7fff8d7cdfff libsystem_dnssd.dylib (??? - ???) <7749128E-D0C5-3832-861C-BC9913F774FA> /usr/lib/system/libsystem_dnssd.dylib
0x7fff8d7ce000 - 0x7fff8d7fdfff com.apple.DictionaryServices (1.2 - 158) <2CE51CD1-EE3D-3618-9507-E39A09C9BB8D> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Diction aryServices.framework/Versions/A/DictionaryServices
0x7fff8d83d000 - 0x7fff8d849fff com.apple.DirectoryService.Framework (10.7 - 144) <067ACB41-E9B7-3177-9EDE-C188D9B352DC> /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryServi ce
0x7fff8d84a000 - 0x7fff8d84efff libCGXType.A.dylib (600.0.0 - compatibility 64.0.0) <5EEAD17D-006C-3855-8093-C7A4A97EE0D0> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGXType.A.dylib
0x7fff8d862000 - 0x7fff8d89cfef com.apple.DebugSymbols (2.1 - 85) <7E0E17D9-C8D4-3117-B36A-506929F6FF72> /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbol s
0x7fff8d89d000 - 0x7fff8d8f1ff7 com.apple.ImageCaptureCore (3.0 - 3.0) <C829E6A3-3EB6-3E1C-B9B8-759F56E34D3A> /System/Library/Frameworks/ImageCaptureCore.framework/Versions/A/ImageCaptureCo re
0x7fff8d8f2000 - 0x7fff8d8f8fff com.apple.DiskArbitration (2.4 - 2.4) <5185FEA6-92CA-3CAA-8442-BD71DBC64AFD> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x7fff8d8f9000 - 0x7fff8d921ff7 com.apple.CoreVideo (1.7 - 70.0) <59D5B407-CCB6-3406-8C55-C1B0168D7DC2> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x7fff8d922000 - 0x7fff8d923ff7 libsystem_blocks.dylib (53.0.0 - compatibility 1.0.0) <8BCA214A-8992-34B2-A8B9-B74DEACA1869> /usr/lib/system/libsystem_blocks.dylib
0x7fff8d924000 - 0x7fff8d92bfff com.apple.NetFS (4.0 - 4.0) <B9F41443-679A-31AD-B0EB-36557DAF782B> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x7fff8d92c000 - 0x7fff8dc4ffff com.apple.HIToolbox (1.7 - ???) <10FA3432-6638-39D9-8681-9E95298D239E> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
0x7fff8dc50000 - 0x7fff8dc56fff libGFXShared.dylib (??? - ???) <DE6987C5-81AC-3AE6-84F0-138C9636D412> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.d ylib
0x7fff8dc57000 - 0x7fff8e072fff com.apple.SceneKit (2.0 - 124) <9E331DDE-BDF4-34C5-A8F9-E7F12ADBB785> /System/Library/PrivateFrameworks/SceneKit.framework/Versions/A/SceneKit
0x7fff8e073000 - 0x7fff8e087fff com.apple.syncservices.syncservicesui (6.0 - 673) <10E681A2-EB0B-367B-9DCD-D29536FBB0FA> /System/Library/PrivateFrameworks/SyncServicesUI.framework/Versions/A/SyncServi cesUI
0x7fff8e088000 - 0x7fff8e1ebfff com.apple.CFNetwork (520.0.13 - 520.0.13) <67E3BB43-2A22-3F5A-964E-391375B24CE0> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
0x7fff8e1ec000 - 0x7fff8e204fff com.apple.iChat.InstantMessage (6.0 - 833) <DF9EAA84-8AE6-3BFD-AB21-7BDED2161564> /System/Library/Frameworks/InstantMessage.framework/Versions/A/InstantMessage
0x7fff8e205000 - 0x7fff8e297fff com.apple.PDFKit (2.6 - 2.6) <F838E95F-DEE9-354A-A34A-F5335D0AF1E1> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit.framew ork/Versions/A/PDFKit
0x7fff8e2dc000 - 0x7fff8e300ff7 com.apple.Kerberos (1.0 - 1) <2FF2569B-F59A-371E-AF33-66297F512CB3> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x7fff8e301000 - 0x7fff8e3b3fff com.apple.CoreText (4.0.0 - ???) <D7BD85FD-277A-3A97-B1AD-5EE14215237E> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
0x7fff8e3ba000 - 0x7fff8e3c7fff libCSync.A.dylib (600.0.0 - compatibility 64.0.0) <931F40EB-CA75-3A90-AC97-4DB8E210BC76> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x7fff8e3c8000 - 0x7fff8e46cfef com.apple.ink.framework (1.3.2 - 110) <F69DBD44-FEC8-3C14-8131-CC0245DBBD42> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
0x7fff8e46d000 - 0x7fff8e47afff com.apple.AOSKit (1.0 - 57) <FBEBACDE-FE84-374C-990F-60FC21C43B18> /System/Library/PrivateFrameworks/AOSKit.framework/Versions/A/AOSKit
0x7fff8e47b000 - 0x7fff8e49eff7 com.apple.RemoteViewServices (1.0 - 1) <EB549657-8EDC-312A-B8BE-DEC3E160AC3D> /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/Remot eViewServices
0x7fff8e49f000 - 0x7fff8e4aafff com.apple.CommonAuth (2.1 - 2.0) <49949286-61FB-3A7F-BF49-0EBA45E2664E> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
0x7fff8e4ad000 - 0x7fff8e4d8fff com.apple.speech.LatentSemanticMappingFramework (2.8.10 - 2.8.10) <09D59AFB-6CCD-37E1-8A41-8C45217E7612> /System/Library/Frameworks/LatentSemanticMapping.framework/Versions/A/LatentSem anticMapping
0x7fff8e4d9000 - 0x7fff8e5b7ff7 com.apple.ImageIO.framework (3.1.0 - 3.1.0) <70228E69-063C-32FF-BBE7-FCCD9C5C0864> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
0x7fff8e5b8000 - 0x7fff8e600fff com.apple.framework.CoreWLAN (2.0 - 200.46) <04AFD988-DDFB-330D-B042-C1EB2826A0CC> /System/Library/Frameworks/CoreWLAN.framework/Versions/A/CoreWLAN
0x7fff8e692000 - 0x7fff8e693fff liblangid.dylib (??? - ???) <CACBE3C3-2F7B-3EED-B50E-EDB73F473B77> /usr/lib/liblangid.dylib
0x7fff8e694000 - 0x7fff8e697fff com.apple.AppleSystemInfo (1.0 - 1) <598ADC13-C994-3579-A885-0D6658DDD564> /System/Library/PrivateFrameworks/AppleSystemInfo.framework/Versions/A/AppleSys temInfo
0x7fff8e698000 - 0x7fff8e69afff libCVMSPluginSupport.dylib (??? - ???) <2D21E6BE-CB20-3F76-8DCC-1CB0660A8A5B> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginS upport.dylib
0x7fff8e69b000 - 0x7fff8e6a9ff7 com.apple.AppleFSCompression (37 - 1.0) <88C436E8-38AE-3D96-A8C8-2D1805CC47B7> /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/Apple FSCompression
0x7fff8e6aa000 - 0x7fff8e6b1ff7 com.apple.CommerceCore (1.0 - 17) <AA783B87-48D4-3CA6-8FF6-0316396022F4> /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/C ommerceCore.framework/Versions/A/CommerceCore
0x7fff8e6b2000 - 0x7fff8e727ff7 libc++.1.dylib (19.0.0 - compatibility 1.0.0) <C0EFFF1B-0FEB-3F99-BE54-506B35B555A9> /usr/lib/libc++.1.dylib
0x7fff8e728000 - 0x7fff8e733ff7 libc++abi.dylib (14.0.0 - compatibility 1.0.0) <8FF3D766-D678-36F6-84AC-423C878E6D14> /usr/lib/libc++abi.dylib
0x7fff8e734000 - 0x7fff8eb66fe7 com.apple.VideoToolbox (1.0 - 705.35) <B1B9F159-EEE2-38BB-A55E-CDB335A7A226> /System/Library/PrivateFrameworks/VideoToolbox.framework/Versions/A/VideoToolbo x
0x7fff8eb67000 - 0x7fff8eb94ff7 com.apple.opencl (1.50.62 - 1.50.62) <616ADE61-11D1-3816-A255-3F0F80F2EAC8> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
0x7fff8eb95000 - 0x7fff8ee0fff7 com.apple.imageKit (2.1 - 1.0) <03200568-184B-36E8-AFE9-04D1FACDC926> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/ImageKit.fram ework/Versions/A/ImageKit
0x7fff8ee10000 - 0x7fff8ee67fff libTIFF.dylib (??? - ???) <9E32B490-4C5B-3D96-AF27-9C085C606403> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x7fff8ee68000 - 0x7fff8ef6aff7 com.apple.PubSub (1.0.5 - 65.28) <D971543B-C9BE-3C58-8453-B3C69E2D2A6F> /System/Library/Frameworks/PubSub.framework/Versions/A/PubSub
0x7fff8ef6b000 - 0x7fff8ef72fff libcopyfile.dylib (85.1.0 - compatibility 1.0.0) <172B1985-F24A-34E9-8D8B-A2403C9A0399> /usr/lib/system/libcopyfile.dylib
0x7fff8ef73000 - 0x7fff8ef80fff com.apple.KerberosHelper (3.0 - 1.0) <040790B0-527E-337B-8E0D-CC4B4B36634B> /System/Library/PrivateFrameworks/KerberosHelper.framework/Versions/A/KerberosH elper
0x7fff8ef81000 - 0x7fff8ef8cfff com.apple.NSServerNotificationCenter (4.0 - 4.0) <67D1D43D-7641-3BCA-B2BF-10838B380100> /System/Library/Frameworks/ServerNotification.framework/Versions/A/ServerNotifi cation
0x7fff8ef8d000 - 0x7fff8f01aff7 com.apple.iLifeMediaBrowser (2.6.0 - 502) <174E0D48-398B-362A-8A8F-7948CE30539E> /System/Library/PrivateFrameworks/iLifeMediaBrowser.framework/Versions/A/iLifeM ediaBrowser
0x7fff8f037000 - 0x7fff8f139ff7 libxml2.2.dylib (10.3.0 - compatibility 10.0.0) <D46F371D-6422-31B7-BCE0-D80713069E0E> /usr/lib/libxml2.2.dylib
0x7fff8f13a000 - 0x7fff8f13efff libmathCommon.A.dylib (2026.0.0 - compatibility 1.0.0) <FF83AFF7-42B2-306E-90AF-D539C51A4542> /usr/lib/system/libmathCommon.A.dylib
0x7fff8f13f000 - 0x7fff8f168fff libJPEG.dylib (??? - ???) <3DBFEB41-4BF2-3502-872A-BB3738EE61B0> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x7fff8f234000 - 0x7fff8ff2dfef com.apple.WebCore (7534 - 7534.48.3) <7C5A681C-3749-382C-9551-C197EF878C22> /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.frame work/Versions/A/WebCore
0x7fff8ff52000 - 0x7fff8ff67fff com.apple.speech.synthesis.framework (4.0.74 - 4.0.74) <C061ECBB-7061-3A43-8A18-90633F943295> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x7fff8ffaf000 - 0x7fff90045ff7 libvMisc.dylib (325.3.0 - compatibility 1.0.0) <AC5A384A-FA5A-3307-9CED-BD69E6F12A09> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
0x7fff900a9000 - 0x7fff900a9fff libkeymgr.dylib (23.0.0 - compatibility 1.0.0) <61EFED6A-A407-301E-B454-CD18314F0075> /usr/lib/system/libkeymgr.dylib
0x7fff900aa000 - 0x7fff900afff7 libsystem_network.dylib (??? - ???) <4ABCEEF3-A3F9-3E06-9682-CE00F17138B7> /usr/lib/system/libsystem_network.dylib
0x7fff900b0000 - 0x7fff900c2ff7 libsasl2.2.dylib (3.15.0 - compatibility 3.0.0) <6245B497-784B-355C-98EF-2DC6B45BF05C> /usr/lib/libsasl2.2.dylib
0x7fff900c3000 - 0x7fff900e0fff com.apple.frameworks.preferencepanes (15.0 - 15.0) <CC86755A-6CF1-3DDF-A1B0-6F7F5BD7BB39> /System/Library/Frameworks/PreferencePanes.framework/Versions/A/PreferencePanes
0x7fff900e1000 - 0x7fff9011cfff com.apple.LDAPFramework (3.0 - 120.1) <0C23534F-A8E7-3144-B2B2-50F9875101E2> /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
0x7fff9011d000 - 0x7fff90160ff7 libRIP.A.dylib (600.0.0 - compatibility 64.0.0) <2B1571E1-8E87-364E-BC36-C9C9B5D3EAC4> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x7fff90161000 - 0x7fff9047aff7 com.apple.AddressBook.framework (6.0 - 1043) <A6302279-FD1B-3BB7-8419-362425FC5568> /System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook
0x7fff904c0000 - 0x7fff904ffff7 libcups.2.dylib (2.9.0 - compatibility 2.0.0) <DE681910-3F7F-3502-9937-AB8008CD281A> /usr/lib/libcups.2.dylib
0x7fff90500000 - 0x7fff90503fff libRadiance.dylib (??? - ???) <DCDA308D-4856-3631-B6D7-7A8B94169BC0> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x7fff90504000 - 0x7fff90596fff com.apple.CorePDF (3.0 - 3.0) <6056B710-155A-3543-9373-B9F3E5FC99CE> /System/Library/PrivateFrameworks/CorePDF.framework/Versions/A/CorePDF
0x7fff90599000 - 0x7fff9059afff libDiagnosticMessagesClient.dylib (??? - ???) <3DCF577B-F126-302B-BCE2-4DB9A95B8598> /usr/lib/libDiagnosticMessagesClient.dylib
0x7fff9059b000 - 0x7fff905bbfff libsystem_kernel.dylib (1699.22.73 - compatibility 1.0.0) <69F2F501-72D8-3B3B-8357-F4418B3E1348> /usr/lib/system/libsystem_kernel.dylib
0x7fff905bc000 - 0x7fff908cefff com.apple.Foundation (6.7 - 833.1) <618D7923-3519-3C53-9CBD-CF3C7130CB32> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x7fff908cf000 - 0x7fff90929fff com.apple.HIServices (1.9 - ???) <8791E8AA-C034-330D-B2BA-5141154C21CD> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
0x7fff9092a000 - 0x7fff9095afff com.apple.shortcut (2.0 - 2.0) <6E6C9F01-5DAC-35F4-876D-082D915EE782> /System/Library/PrivateFrameworks/Shortcut.framework/Versions/A/Shortcut
0x7fff9095b000 - 0x7fff9095dfff libquarantine.dylib (36.0.0 - compatibility 1.0.0) <4C3BFBC7-E592-3939-B376-1C2E2D7C5389> /usr/lib/system/libquarantine.dylib
0x7fff9095e000 - 0x7fff90978fff com.apple.CoreMediaAuthoring (2.0 - 889) <99D8E4C6-DDD3-3B0C-BBFB-A513877F10F6> /System/Library/PrivateFrameworks/CoreMediaAuthoring.framework/Versions/A/CoreM ediaAuthoring
0x7fff90979000 - 0x7fff909feff7 com.apple.Heimdal (2.1 - 2.0) <E4CD970F-8DE8-31E4-9FC0-BDC97EB924D5> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
0x7fff909ff000 - 0x7fff910cd9df com.apple.CoreGraphics (1.600.0 - ???) <B3C42497-53F5-31BB-987E-D1E76746B0E4> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
0x7fff910ce000 - 0x7fff910f4ff7 com.apple.framework.familycontrols (3.0 - 300) <72FEA71A-5865-3875-97E9-3C8C96B7F7FA> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyCon trols
0x7fff910f5000 - 0x7fff91107ff7 libbsm.0.dylib (??? - ???) <349BB16F-75FA-363F-8D98-7A9C3FA90A0D> /usr/lib/libbsm.0.dylib
0x7fff91108000 - 0x7fff91273ff7 com.apple.syncservices (6.0 - 673) <901673E1-85DF-307C-B9BB-167BAAC74B14> /System/Library/Frameworks/SyncServices.framework/Versions/A/SyncServices
0x7fff91274000 - 0x7fff91274fff com.apple.audio.units.AudioUnit (1.7 - 1.7) <D75971EE-0D74-365A-8E52-46558EA49E87> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x7fff91275000 - 0x7fff9129efff com.apple.datadetectors (3.0 - 172.0) <A63656A8-DDE4-3C52-98CF-8A3E42CB802D> /System/Library/PrivateFrameworks/DataDetectors.framework/Versions/A/DataDetect ors
0x7fff9129f000 - 0x7fff9143efff com.apple.QuartzCore (1.7 - 269.0) <E0AFC745-4AC5-36E3-9827-E5344721071D> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x7fff9143f000 - 0x7fff9147efff com.apple.AE (527.6 - 527.6) <6F8DF9EF-3250-3B7F-8841-FCAD8E323954> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
0x7fff91485000 - 0x7fff91499ff7 com.apple.LangAnalysis (1.7.0 - 1.7.0) <04C31EF0-912A-3004-A08F-CEC27030E0B2> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
0x7fff9149a000 - 0x7fff914a8fff com.apple.NetAuth (1.0 - 3.0) <F384FFFD-70F6-3B1C-A886-F5B446E456E7> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
0x7fff914a9000 - 0x7fff914d2fff com.apple.CoreServicesInternal (113.7 - 113.7) <ACAC98CD-5941-39DB-951A-2509DCCD22FD> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/Cor eServicesInternal
0x7fff914d3000 - 0x7fff914dffff com.apple.CrashReporterSupport (10.7 - 343) <89EFF4A7-D064-3CAE-9BFC-285EE9033197> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/Cra shReporterSupport
0x7fff914e0000 - 0x7fff914fdfff libPng.dylib (??? - ???) <75DA9F95-C2A1-3534-9F8B-14CFFDE2A290> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
0x7fff914fe000 - 0x7fff91504ff7 libunwind.dylib (30.0.0 - compatibility 1.0.0) <1E9C6C8C-CBE8-3F4B-A5B5-E03E3AB53231> /usr/lib/system/libunwind.dylib
0x7fff91552000 - 0x7fff915c6fff com.apple.WhitePagesFramework (10.7.0 - 141.0) <6585161A-628F-3467-82A4-ECBF1FE7184D> /System/Library/PrivateFrameworks/WhitePages.framework/Versions/A/WhitePages
0x7fff915c7000 - 0x7fff915d5ff7 libkxld.dylib (??? - ???) <65BE345D-6618-3D1A-9E2B-255E629646AA> /usr/lib/system/libkxld.dylib
0x7fff91d0f000 - 0x7fff91d50fff com.apple.QD (3.12 - ???) <4F3C5629-97C7-3E55-AF3C-ACC524929DA2> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
0x7fff91d6d000 - 0x7fff91e4dfff com.apple.CoreServices.OSServices (478.25.1 - 478.25.1) <E7FD4DB7-7844-355A-83D0-C1F24BE71019> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
0x7fff91e4e000 - 0x7fff91e6bff7 com.apple.openscripting (1.3.3 - ???) <A64205E6-D3C5-3E12-B1A0-72243151AF7D> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
0x7fff91e6c000 - 0x7fff91ee7ff7 com.apple.print.framework.PrintCore (7.0 - 366) <E663DF78-6729-332D-B763-ABB63A6BBB55> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
0x7fff91ee8000 - 0x7fff91ff5fff libJP2.dylib (??? - ???) <D8257CEE-A1C3-394A-8193-6DB7C29A15A8> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x7fff91ff6000 - 0x7fff920ddfff com.apple.backup.framework (1.3 - 1.3) <C7F0B3B6-EAC1-3445-A705-E9F18A45D01D> /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
0x7fff920de000 - 0x7fff921e3ff7 libFontParser.dylib (??? - ???) <22AADE96-E54D-3918-9DFA-1967F8B21E54> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontParser.dylib
0x7fff921e4000 - 0x7fff921faff7 com.apple.ImageCapture (7.0 - 7.0) <69E6E2E1-777E-332E-8BCF-4F0611517DD0> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
0x7fff921fb000 - 0x7fff9224efff libFontRegistry.dylib (??? - ???) <8FE14D77-1286-3619-A02E-0AC1A622596E> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontRegistry.dylib
0x7fff9224f000 - 0x7fff92259ff7 liblaunch.dylib (392.18.0 - compatibility 1.0.0) <39EF04F2-7F0C-3435-B785-BF283727FFBD> /usr/lib/system/liblaunch.dylib
0x7fff9225a000 - 0x7fff922fcff7 com.apple.securityfoundation (5.0 - 55005) <0D59908C-A61B-389E-AF37-741ACBBA6A94> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoun dation
0x7fff92356000 - 0x7fff92394fff com.apple.bom (11.0 - 183) <841FA160-A37A-368D-B14E-27AA9DD1AEDA> /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
0x7fff92395000 - 0x7fff92395fff com.apple.vecLib (3.7 - vecLib 3.7) <29927F20-262F-379C-9108-68A6C69A03D0> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x7fff92396000 - 0x7fff92399fff com.apple.help (1.3.2 - 42) <AB67588E-7227-3993-927F-C9E6DAC507FD> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
0x7fff9239a000 - 0x7fff923c0fff com.apple.framework.internetaccounts (1.0 - 1) <64CC50BB-9EE4-36D1-969A-FDD2210026DC> /System/Library/PrivateFrameworks/InternetAccounts.framework/Versions/A/Interne tAccounts
0x7fff923c1000 - 0x7fff923fdfff libsystem_info.dylib (??? - ???) <BC49C624-1DAB-3A37-890F-6EFD46538424> /usr/lib/system/libsystem_info.dylib
0x7fff923fe000 - 0x7fff9245aff7 com.apple.QuickLookFramework (3.0 - 489.1) <26470DFE-B3D7-3E05-A4D7-98B64FCB230B> /System/Library/Frameworks/QuickLook.framework/Versions/A/QuickLook
0x7fff9245b000 - 0x7fff924cbfff com.apple.datadetectorscore (3.0 - 179.3) <AFFBD606-91DE-3F91-8E38-C037D9FBFA8B> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDe tectorsCore
0x7fff924cc000 - 0x7fff925d8fef libcrypto.0.9.8.dylib (0.9.8 - compatibility 0.9.8) <3AD29F8D-E3BC-3F49-A438-2C8AAB71DC99> /usr/lib/libcrypto.0.9.8.dylib
0x7fff925d9000 - 0x7fff925f0fff com.apple.CFOpenDirectory (10.7 - 144) <9709423E-8484-3B26-AAE8-EF58D1B8FB3F> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpen Directory.framework/Versions/A/CFOpenDirectory
0x7fff925f1000 - 0x7fff925f3ff7 com.apple.IMServicePlugInSupport (1.0 - 1) <A566600F-3D38-3B98-91B5-421AE6D27192> /System/Library/Frameworks/IMServicePlugIn.framework/Versions/A/Frameworks/IMSe rvicePlugInSupport.framework/Versions/A/IMServicePlugInSupport
0x7fff925f4000 - 0x7fff92bd8faf libBLAS.dylib (??? - ???) <D62D6A48-5C7A-3ED6-875D-AA3C2C5BF791> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
0x7fff92bd9000 - 0x7fff92be8fff com.apple.opengl (1.7.4 - 1.7.4) <38AF4430-7E81-3C98-9330-21DCDA90507E> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x7fff92be9000 - 0x7fff92c1efff com.apple.securityinterface (5.0 - 55004) <790DDF7E-6BA9-36DD-B818-2322A712E1F5> /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInter face
0x7fff92c1f000 - 0x7fff92c2cff7 libbz2.1.0.dylib (1.0.5 - compatibility 1.0.0) <8EDE3492-D916-37B2-A066-3E0F054411FD> /usr/lib/libbz2.1.0.dylib
0x7fff92c2d000 - 0x7fff92c32fff libpam.2.dylib (3.0.0 - compatibility 3.0.0) <D952F17B-200A-3A23-B9B2-7C1F7AC19189> /usr/lib/libpam.2.dylib
0x7fff92c33000 - 0x7fff92f8afff com.apple.MessageFramework (5.0 - 1244.3) <266F07DF-4440-3DB4-B059-5D23A57A8041> /System/Library/Frameworks/Message.framework/Versions/B/Message
0x7fff92f8b000 - 0x7fff92f8bfff com.apple.CoreServices (53 - 53) <5946A0A6-393D-3087-86A0-4FFF6A305CC0> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x7fff92f8c000 - 0x7fff92f90ff7 com.apple.CommonPanels (1.2.5 - 94) <0BB2C436-C9D5-380B-86B5-E355A7711259> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
0x7fff92f93000 - 0x7fff931b3fff com.apple.CalendarStore (5.0 - 1127) <0E9BE7E8-4DBD-3C2F-97DE-CAC5AE0EE3AD> /System/Library/Frameworks/CalendarStore.framework/Versions/A/CalendarStore
0x7fff931dd000 - 0x7fff931dffff com.apple.TrustEvaluationAgent (2.0 - 1) <80AFB5D8-5CC4-3A38-83B9-A7DF5820031A> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/Tru stEvaluationAgent
0x7fff931e9000 - 0x7fff93de1fff com.apple.AppKit (6.7 - 1138) <C8D2FDDA-B9D5-3948-A376-6B9B6F0596C6> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x7fff93de2000 - 0x7fff93df5ff7 libCRFSuite.dylib (??? - ???) <034D4DAA-63F0-35E4-BCEF-338DD7A453DD> /usr/lib/libCRFSuite.dylib
0x7fff93f39000 - 0x7fff94016fef libsystem_c.dylib (763.11.0 - compatibility 1.0.0) <1D61CA57-3C6D-30F7-89CB-CC6F0787B1DC> /usr/lib/system/libsystem_c.dylib
0x7fff94017000 - 0x7fff94170ff7 com.apple.audio.toolbox.AudioToolbox (1.7 - 1.7) <296F10D0-A871-39C1-B8B2-9200AB12B5AF> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x7fff94171000 - 0x7fff94905fff com.apple.CoreAUC (6.11.03 - 6.11.03) <5A56B2DC-A0A6-357B-ADF2-5714AFEBD926> /System/Library/PrivateFrameworks/CoreAUC.framework/Versions/A/CoreAUC
0x7fff94906000 - 0x7fff949a5fff com.apple.LaunchServices (480.19 - 480.19) <41ED4C8B-C74B-34EA-A9BF-34DBA5F52307> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
0x7fff949a6000 - 0x7fff94c17fff com.apple.CoreImage (7.77 - 1.0.1) <AB6ECCF3-4B04-3363-9158-08F305BF15FA> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage .framework/Versions/A/CoreImage
0x7fff94c5e000 - 0x7fff94e31ff7 com.apple.CoreFoundation (6.7 - 635) <57446B22-0778-3E07-9690-96AC705D57E8> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff94e32000 - 0x7fff94eccff7 com.apple.SearchKit (1.4.0 - 1.4.0) <B7573888-BAF6-333D-AB00-C0D2BF88DF0F> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
0x7fff94ecd000 - 0x7fff94ed2fff libGIF.dylib (??? - ???) <21851808-BFD2-3141-8354-A419479726BF> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x7fff94ed3000 - 0x7fff94ed3fff com.apple.Accelerate (1.7 - Accelerate 1.7) <3E4582EB-CFEF-34EA-9DA8-8421F1C3C77D> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x7fff94ed8000 - 0x7fff94ee2ff7 com.apple.aps.framework (2.0 - 2.0) <4A15EAFC-937F-3448-B63C-5304AEB416DD> /System/Library/PrivateFrameworks/ApplePushService.framework/Versions/A/ApplePu shService
0x7fff94ee3000 - 0x7fff94ee3fff com.apple.Carbon (153 - 153) <895C2BF2-1666-3A59-A669-311B1F4F368B> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x7fff94ee4000 - 0x7fff94f35fff com.apple.iCalendar (5.0 - 100) <68B0900B-9E7B-30E9-B575-C2F86E76863C> /System/Library/PrivateFrameworks/iCalendar.framework/Versions/A/iCalendar
0x7fff94faa000 - 0x7fff94fb0fff IOSurface (??? - ???) <06FA3FDD-E6D5-391F-B60D-E98B169DAB1B> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
0x7fff94fb1000 - 0x7fff94fb4ff7 com.apple.securityhi (4.0 - 1) <B37B8946-BBD4-36C1-ABC6-18EDBC573F03> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
0x7fff94fcb000 - 0x7fff950c7ff7 com.apple.avfoundation (2.0 - 180.23) <C4383696-561D-33F3-AD7C-51E672F580B2> /System/Library/Frameworks/AVFoundation.framework/Versions/A/AVFoundation
0x7fff950c8000 - 0x7fff9512ffff com.apple.Symbolication (1.2 - 87) <C8F38870-0C4E-3A7F-9B12-0E970DE92F24> /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolicat ion
0x7fff95130000 -I simply deteled the database /Users/cperuta/Library/Application Support/AddressBook/MailRecents-v4.abcdmr and now Mail no longer crashes, but I'm still curious as to what caused this problem in the first place.
-
Hi,
Could someone please help on the above mentioned?
I'm using JDeveloper 3.2.3 for my program development under Chinese windows platform. I have created a simple JSP page, which contains few static Chinese words and I have included the line
<%@ page contentType="text/html;charset=UTF-8"%>
at the top of the page. When I tried to compile it using encoding "UTF8" (under compiler option), the compiler gave me this error:
C:\Program Files\Oracle\JDeveloper 3.2.3\myhtml\Chinese_html\ChineseList.jsp
Error: (0) sun.io.MalformedInputException.
Btw, when I have removed the line <%@ page contentType="text/html;charset=UTF-8"%> from the page and compile, I've got this error:
C:\Program Files\Oracle\JDeveloper 3.2.3\myhtml\Chinese_html\ChineseList.jsp
Warning: (0) ISO-8859-1 character set may not match project compiler setting.
C:\Program Files\Oracle\JDeveloper 3.2.3\myhtml\Chinese_html\ChineseList.java
Error: (0) malformed input character in C:\Program Files\Oracle\JDeveloper 3.2.3\myhtml\Chinese_html\ChineseList.java.
I do appreciate your help on this. Thank you.Here's some info one of the JSP Developers sent me:
1. HELP.....!!!!! Chinese jsp compilation problem.....
The customer is trying to parse a document generated by
Windows's notepad. When saved in UTF-8, the byte
order mark is saved too. We have a know bug that
JSP parser doesn't recognize Byte Order Mark. The
bug is : 1915285.
2. CHINESE CHARACTER ON JSP
. SQLPLUS depends on NLS_LANG setting. If you
check the windows registry, the default of NLS_LANG
depends on the OS. The user environment is Traditional
Chinese, so does NLS_LANG. If we set NLS_LANG
to .UTF8, SQLPLUS dumps the data in UTF8, however,
the command prompt will have problem displaying them.
. For JSP, as mentioned in a previous mail:
<%@ page contentType="text/html;charset=UTF-8" %> for all languages
<%@ page contentType="text/html;charset=GB2312" %> for simplified Chinese
<%@ page contentType="text/html;charset=Big5" %> for traditional Chinese
. When you enter Chinese characters on a browser,
the data is automatically converted to page encoding
(UTF-8 in your case) before sent back to the server.
But your receiving servlet/JSP needs to have request
encoding set correctly.
I'm not sure about the JDeveloper environment,
but here is a simple JSP you may try to verify your
OC4J environment:
a. To set up the schema:
connect scott/tiger
create table tab01(col varchar2(100));
b. Edit the connect string in nls.jsp
c. Run the nls.jsp in oc4j instance.
<!-- nls.jsp -->
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ page import="oracle.jdbc.*,java.sql.*,java.io.*"%>
<HTML>
<HEAD>
<TITLE>Hello</TITLE></HEAD>
<BODY>
<%
request.setCharacterEncoding("UTF-8");
String sampledata="\u7D20";
String paramValue = request.getParameter("myparam");
String connStr = "jdbc:oracle:thin:@dlsun478:5521:j2ee01";
String user = "scott";
String passwd = "tiger";
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection conn = DriverManager.getConnection(connStr, user, passwd);
if (paramValue == null || paramValue.length() == 0) { %>
<FORM METHOD="GET">
Please input your name: <INPUT TYPE="TEXT" NAME="myparam"
value="<%=sampledata%>" size=20>
<BR>
<INPUT TYPE="SUBMIT" value="Insert Data">
</FORM>
<%
selectData(conn, out);
else
%>
<H1> Insert Data: <%= paramValue %> </H1>
<br/>
<%
insertData(conn, paramValue);
%>
<a href="nls.jsp">back</a>
<%
%>
</BODY>
</HTML>
<%!
public void insertData(Connection aConn, String myval)
try {
PreparedStatement stmt = aConn.prepareStatement("insert into tab01
values(?)");
stmt.setString(1, myval);
stmt.executeUpdate();
aConn.close();
catch (SQLException e) {
e.printStackTrace();
public void selectData (Connection aConn, JspWriter out)
try {
Statement stmt = aConn.createStatement( );
ResultSet r = stmt.executeQuery("SELECT col FROM tab01");
out.println("<H1>List of Data:</H1>");
while (r.next()) {
out.println(r.getString(1)+"<br/>");
aConn.close();
catch (SQLException e) {
e.printStackTrace();
catch (IOException e) {
e.printStackTrace();
%> -
Error "DATABASE PROBLEMS WITH TABLE MC11VA0HDRSETUP"
Hi Friends,
I got the following message when am trying to delete the setup tables.
" Error DATABASE PROBLEMS WITH TABLE MC11VA0HDRSETUP"
Am trying to delete the setup tables for application '11', but it gives me the above error. I have gone throug similar threads but it did not solve my issue.
Please can anyone provide a solution.
system detials:
R/3 release - 4.6c
PI - 2004_1_46c
SAP_BW - 30B
PI_BASIS - 2003_1_620
Any information will be appreciated
Thanks,
VBRHi Kishor,
Thanks for your reply.
I have gone through that SAP Note 456102 and it was not of much help for our issue because we are ahead of PI that is mentioned in the note.
Can you send your email id so that i can forward the error screenshots.
Regards,
VBR -
Hi to all,
i am using bundled database with derby . red X appears on the Travel ,VIR,JumpStartCycles icon and an error appears when i try to expand it,but the database server is running.
i am getting error like this:
Connection status: succeeded
validation table status : failed
Schema 'Travel' does not exits.
The ideal validationtable exits only for connection validation purposes. do not use an existing table that has a large number of rows or a table that wili be frequntly used.
please do help me.
cheers,
jtr.I doubt this is a database problem.
Probably a OS/network problem but could also be due to something you are doing in the code. -
JSP and Java Beans with Database Problem
hellow, this is my first posting and i hope to help me as fast as you can...
my problem is simplly i cant get any data from the database (whatever the database it is, i test it with MS Access and MySQL server) when i use a bean, But if i put my connection statement in the JSP file thair is no problem... ???? !!!!
for example i have a class "Authentication" that have a method to test if the username and password is correct or not and return 1 if true, 0 if false, -1 if thair are some problem in connecting DB.
now if i create a normal java application that uses this method, it's work and no problems, BUT if i used a JSP page to use this method it's return allways -1T1 class:
package VX;
import java.sql.*;
import java.util.*;
import javax.swing.*;
public class T1
//public MBJDBConnection(String driver,String url)
public T1()
JDBC_DRIVER = "com.mysql.jdbc.Driver";//driver;
DATABASE_URL = "jdbc:mysql://localhost:3306/rawafed?user=root;password=0000";//url;
//=======DB CONNECTION===========================================
private static String JDBC_DRIVER;
private static String DATABASE_URL;
protected Connection connection;
protected Statement statement;
//===========End DBC==============================================
public int update(String sqlUpdate)
int i=0;
//connectDB();
try{
i=statement.executeUpdate(""+sqlUpdate);
catch(Exception e)
System.out.println("Error Inserting Statement Or Connection Not Opened");
//disconnectDB();
return i;
public ResultSet select(String sqlQuery)
//connectDB();
ResultSet rs;
try
{//open try
rs=statement.executeQuery(""+sqlQuery);
return rs;
}//end try
catch(Exception e2)
//System.out.println("Error Selecting Statement Or Connection Not Opened");
}//end catch
//add to array list
//return resultList;
return null;
//------Methods-------
public void connectDB()
//===========================Connection===================
try
Class.forName(JDBC_DRIVER);
catch(Exception e)
System.out.println("Error : FOR NAME");
try
connection = DriverManager.getConnection(DATABASE_URL, "root", "0000");
catch(Exception e)
System.out.println("Error : DB URL");
try
statement = connection.createStatement();
catch(Exception e)
System.out.println("Error : CREATE STATEMENT ERROR");
public void disconnectDB()
try
statement.close();
connection.close();
catch(Exception e2)
System.out.println("Error : CAN'T CLOSE DB");
T2 Class
package VX;
// class Person.
//Required Class : EDC.EDCDB
import java.sql.*;
public class T2
public T2()
//initialization
//........................ Attributes .........................
private String user;
private String password;
private T1 db=new T1();
private ResultSet rs;
//......................... Methods .........................
public String getAdmin(String u,String p)// 0: Failure, 1:Success and he is Administrator, 2: success and he is a regular employee 3: SUCCESS AND HE IS agent
try
user=u;
password=p;
rs=db.select("SELECT emp_id,password FROM Employee WHERE emp_id="+user+" AND password="+password+" AND Rank_ID=1");
if(rs.next())
return ""+1;
else
rs=db.select("SELECT emp_id,password FROM Employee WHERE emp_id="+user+" AND password="+password+" AND Rank_ID=2");
if(rs.next())
return ""+2;
else
rs=db.select("SELECT emp_id,password FROM Employee WHERE emp_id="+user+" AND password="+password+" AND Rank_ID=3");
if(rs.next())
return ""+3;
else return ""+0;
catch(Exception e){System.out.println("Error \n"+e.getMessage());return ""+e.getMessage()+"\n"+(-1);}
public int getCard(String u,String p)// 0: Failure, 1:Success and he is Administrator, 2: success
user=u;
password=p;
try
db.connectDB();
rs=db.select("SELECT Card_ID,password FROM Card WHERE Card_ID='"+user+"' AND password='"+password+"'");
if(rs.next())
return 1;
return 0;
catch(Exception w)
return -1;
finally
//System.out.println("Done");
db.disconnectDB();
public int getAny()
return 1;
}//end class
This is a tested class and it's work OK
import VX.T2;
public class T3
public static void main(String [] args)
System.out.println("System Started...");
try
T2 t2=new T2();
System.out.println(t2.getCard("1","a"));
catch(Exception e)
System.out.println("Opsssss ...");
Now this is the JSP Code that OK and Run without any problems
<%@ page contentType="text/html; charset=windows-1256" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256" />
<title>test</title>
</head>
<body>
<%
//Mazin B. Jabarin 20210464
//Testing JSP - MySQL Server Driver
String connectionURL = "jdbc:mysql://localhost:3306/EDCDB?user=root;password=0000";
Connection connection = null;
Statement statement = null;
ResultSet rs = null;
%>
<%
try{
Class.forName("com.mysql.jdbc.Driver");
connection = DriverManager.getConnection(connectionURL, "root", "0000");
statement = connection.createStatement();
rs = statement.executeQuery("SELECT * FROM a");
while (rs.next()) {
out.println(rs.getString("id")+"<br>");
rs.close();
catch(Exception e)
out.print("Error : "+e.getMessage());
%>
</body>
</html>
Now this JSP File always returns (-1) ???? !!!!!!!
<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" import="VX.T2" import="java.util.*" errorPage="" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<%
try
T2 t2=new T2();
out.println("Result Still : "+t2.getCard("1","a"));
catch(Exception w)
out.println("<BR> Error In Execution ??? "+w.getMessage());
%>
</body>
</html>
++++++++++++++++++++++++++++
any one can help me please :(
i use tomcat as web-application
and i install jdk 1.5
also JBulder 7
(now i supposed that the JBulder make some conflict, so i uninstalled it but still Not Working) ...
before one year i was working just like this way and it was working
but now i dont know what is the problem
i am really need help. -
Jsp-database connectivity problem
hi
There is a problem, when ever i write a jdbc code for database connectivity through MsAcess, in general applications it works fine. But when ever i try to the same using Jsps it throws an exception that " Microsoft jdbc-odbc driver not fount, Default driver not specified"
please do help regarding this
the code i used is
package Products; import java.sql.*;import java.util.*; public class product{ public Vector getCategories() { Connection con; Statement st; ResultSet rs; Vector ret=new Vector(1,1); try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); con=DriverManager.getConnection("jdbc:odbc:Web"); st=con.createStatement(); rs=st.executeQuery("Select * from Categories"); while(rs.next()) { ret.add(rs.getString(2)); ); } } catch(Exception e) { //System.out.println("Exception..."); ret.add(e.getMessage()); } return ret; }}Have you downloaded the driver and put it in your Web-Server?
In tomcat you simply need to copy the file in:
Tomcat 5.0\common\lib -
While i try to create mysql database through JSP program using query,
the qurey statement doesn't work
stmt.executeUpdate("create database employee;"); is not executing.
The code is as follows : Please Help Me......
try {
Connection con = null;
Class.forName("org.gjt.mm.mysql.Driver").newInstance();
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/bedrock","Dude1","");
try {
Statement stmt=con.createStatement();
stmt.executeUpdate("create database employee;");
System.out.println("Statement Executed");
catch(Exception e) {
System.out.println("Statement not Executed");
catch (SQLException ex) {
while (ex != null) {
System.out.println("sql exception"+ex);
ex = ex.getNextException ();
" THANKS IN ADVANCE "It's not common to create databases with Java. I'd say this is especially true of JSPs. You'll have to GRANT permission to access and create tables to every single user that comes in? Are those tables cleaned up when users are done, or does the number of tables grow as the number of users grows? One table per customer? Sounds more like session or cookies to me. Do you validate users to make sure that only authorized users can create tables? Lots of problems, and it doesn't appear that you've addressed any of this from the code you've posted.
It's a bad idea to have code like this in a JSP. Those are for view only. Better to put database code on the server side where it belongs.
% -
I am trying to create a mySQL DB through JSP program (query).
The Query :
stmt.executeUpdate("CREATE DATABASE employee;");
is not working. PLEASE HELP ME.................
The program is as follows.
try
Connection con =null;
Class.forName("org.gjt.mm.mysql.Driver").newInstance();
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/bedrock","Dude","");
System.out.println("Connection Established");
try {
System.out.println("Entered Try Block");
stmt=con.createStatement();
stmt.executeUpdate("CREATE DATABASE employee;");
System.out.println("Query Executed");
catch(Exception e){
System.out.println("Entered Catch Block");
System.out.println("Query Skipped");
catch (SQLException ex)
while (ex != null){
System.out.println("sql exception"+ex);
ex = ex.getNextException ();
Message was edited by:
sam_johncon=DriverManager.getConnection("jdbc:mysql://localhost:3306/bedrock","Dude","");
Access denied for user: '[email protected]' (Using password: NO)
You must provide a password for your connection.
Your code should have been as follows:
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/bedrock","Dude","YOUR_PASSWORD_HERE");Anyway, to create a database or a table in a db server like MySQL, you must have the good privileges to.
Go to <MySQL_INSTALL_DIR>/Docs/ directory, you'll find there the MySQL manual.chm. Take a look at the the Tutorial section.
In order to know how to use jdbc Connector/J, take a look at the documentation shipped with: /mysql-connector-java-X.X.X/docs/connector-j.html
Here a typical code:
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.Statement;
public class TestMySQL {
public static void main(String[] args) {
Connection con = null;
Statement stmt = null;
try {
Class.forName("org.gjt.mm.mysql.Driver").newInstance();
con = DriverManager.getConnection("jdbc:mysql://localhost:3306/bedrock", "Dude", "YOUR_PASSWORD_HERE");////// put the right password here
System.out.println("Connection Established");
System.out.println("Entered Try Block");
stmt = con.createStatement();
stmt.executeUpdate("CREATE DATABASE employee");
System.out.println("Query Executed");
} catch (Exception e) {
e.printStackTrace();
} finally {
if (stmt != null) {
try {
stmt.close();
} catch (Exception e) {
if (con != null) {
try {
con.close();
} catch (Exception e) {
}Hope That Helps -
JSP & Crystal Reports Database Problem
Hi all,
I hava problem with refreshing the crystal report web viewer if the report retrieves data from DB.
If I don't refresh the report, it shows the report with default parameters. But when I refresh the report (I mean viewer.refresh()) it gives an error which says it could not found the JNDI.
Do you have any idea about it ???
Thanks in advance.
Ismail TURK.So it can't find the JNDI name.
What JNDI name is it looking for?
How are you connecting to the database in the Crystal Reports developer.
How It works on my machine. [long spiel]
For some reason I was never able to get a JNDI connection throught the CR10 developer. It kept giving me error messages. But I DID manage to connect to Oracle via the standard Oracle TNSNames interface.
When I tried loading the report in the browser, it looked for a JNDI name the same as the TNSName. Dunno why.
The issue is that Tomcat stores the JNDI datasources under java:/comp/env/.
And I couldn't configure the report to look in that initial context.
My hack of a solution: load the JNDI datasource myself, and then bind it into the place where Crystal Reports looked:
So I had
1 - a TNS Name entry called REPORT_DB which the report designer connected to
2 - a JNDI entry REPORT_DB defined in Tomcat
<%
Context initContext = new InitialContext();
System.out.println("binding");
try{
Object obj = initContext.lookup("REPORT_DB");
catch(NamingException e){
System.out.println("Naming exception " + e);
Context envContext = (Context)initContext.lookup("java:/comp/env");
DataSource ds = (DataSource)envContext.lookup("REPORT_DB");
initContext.bind("REPORT_DB", ds);
System.out.println("bound");
%>Maybe this might help you, maybe not.
Cheers,
evnafets -
JSP display problem with UTF-8 encoding
Hi,
I'm now writing JSP in order to input English, Traditional Chinese and Simplifed Chinese in the same form of the page. I've set the encoding as below:
<head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head>
When, I get the user input in the next page, those Chinese become some squares, "?" or strange codes. However, when these data are store into database, and loaded from database, they display correctly in Chinese. That means I cannot get the string correctly directly from getParameter("") in next page.
What can I do to fix this problem. Thank you so much!
ZoeWhat is your environment (JDK, Server, DB)?
Try add this line to the top of your next page to set the encoding character set. Otherwise, it will default to ISO-8859-1 which gives the chinese characters ??? when you try to display them.
<%request.setCharacterEncoding("utf-8");%>
Regards
-WK- -
Jsp database access using odbc - please help
Hi friends,
I�m trying a very simple database access program in jsp data base access using odbc. Odbc has to be used because thin driver or other drivers may not be available in every system of our college and as you know it's not that easy to make changes to those systems. My problem is so simple. I always get an exception in my program.
My jsp content is as simple as:
<%@ page import="java.lang.*,java.sql.*,java.io.*,registerbean" %>
<jsp:useBean id="db" class="registerbean" scope="session"/>
<%
String str="insert into reg values('" + db.getName() + "','" + db.getUname() + "','" + db.getPass() + "'," + db.getAge() + ",'" + db.getSex() + "','" + db.getAdd() + "','" + db.getUgcourse() + "','" + db.getUgqual() + "'," + db.getPer() + ",'" + db.getIadd() + "')";
try
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con=DriverManager.getConnection("jdbc:odbc:yogaesh","scott","tiger");
Statement stmt=con.createStatement();
stmt.executeUpdate(str);
}catch(Exception e1){out.println(str);};
%>
the table reg has the structure:
Name Null? Type
CNAME VARCHAR2(20)
UNAME VARCHAR2(20)
CPSWD VARCHAR2(20)
CONFPASS VARCHAR2(20)
CAGE NUMBER
CSEX VARCHAR2(5)
CADD VARCHAR2(100)
COURSE NUMBER
CQUAL VARCHAR2(10)
CPER NUMBER
IADD VARCHAR2(100)
The registerbean.java file is as below: (This seems to work fine because I tried printing the values using <%= %> tag and it worked out fine and moreover the query string is intact.)
import java.io.*;
import java.util.*;
import java.lang.*;
public class registerbean
private String name,uname,pass,cpass,age,sex,add,ugcourse,ugqual,per,iadd,otherugqual,ccode;
public void setName(String a)
name=a;
public void setUname(String a)
uname=a;
public void setPass(String a)
pass=a;
public void setCpass(String a)
cpass=a;
public void setAge(String a)
age=a;
public void setSex(String a)
sex=a;
public void setAdd(String a)
add=a;
public void setOtherugqual(String a)
otherugqual=a;
public void setCcode(String a)
ccode=a;
public void setUgcourse(String a)
ugcourse=a;
public void setUgqual(String a)
ugqual=a;
public void setPer(String a)
per=a;
public void setIadd(String a)
iadd=a;
public String getName()
return(name);
public String getUname()
return(uname);
public String getPass()
return(pass);
public String getCpass()
return(cpass);
public String getAge()
return(age);
public String getCcode()
return(ccode);
public String getSex()
return(sex);
public String getAdd()
return(add);
public String getUgcourse()
return(ugcourse);
public String getUgqual()
return(ugqual);
public String getPer()
return(per);
public String getIadd()
return(iadd);
public String getOtherugqual()
return(otherugqual);
I initially thought the problem was with str but then str seems to be perfect and I get a string of the form �insert into reg values('c','c','c',98,'Male','c','B.Tech, Applied Artificial Neural Networks','HSC',9898,'h')� which I verified through a javascript debugger. The session scope used is to get values through the db bean from another jsp file. The problem is in the executeUpdate() line of this code. I even tried changing the updation table, but in vain. What could be done to rectify this? Please help me out and please do remember that I have no option but to use odbc.
Thanks in advance.
R. Yogaesh.I didn't verify the type of exception and i'm now going to do that, but then when the string is as perfect as needed, what is the need for a prepared statement? What is the basic difference between the two? And basically what is the problem with this piece of code which creates an exception? Please reply as soon as possible.
Thankyou very much.
R. Yogaesh. -
JSP Database Access : 500 Internal Server Error
Hello everybody!
My JSP code run until I write the next:
Class.forName("com.ms.jdbc.odbc.JdbcOdbcDriver").newInstance();
Connection connDB = DriverManager.getConnection("jdbc:odbc:OracleDB", "carlos_prb", "carlos_prb");
Statement smentDB = connDB.createStatement();
ResultSet rsDB = smentDB.executeQuery("SELECT * FROM websites");
rsDB.close();
smentDB.close();
connDB.close();
I need to access an Oracle Database. This code run in a java class, but not here. If I try to display the portlet the next message appears:
Error: The listener returned the following Message: 500 Internal Server Error
Somebody can help me, please?
nullHi Charles,
Thank you for yout help. I tried change this jar file for old one from
jdeveloper 9 RC, but problem is still the same.
I reviewed bcj4html.jar file too, and I did not discover problems in RequestParameters class.
Have you any idea how to solve it ? I am sure that in project properties "libraries" I have selected
all possible BC4J classes. (installation of DS and 9i database has made week before on new XP)
Thank you very much for more info :)
Ivo -
Hi,
A simple data access program to set values in a db. I have the following problems.
1. When I dont use if(request.getParameter("name")!=null) or any other parameter for testing null values, a row of null values is inserted each time I enter the jsp file.
2. One more problem is that the update is not regular. It sometimes works fine, someother times it fails miserably. It seems that the connection is not closed properly as I receive such a message when I try to shut dwon oracle.
3. A much more peculiar problem, when i paste a url directly into my browser, it runs fine, but not with location.href or a flash link!! eg the register.jsp file is reported as a nonexisting file (HTTP 404) when I provide a link to it from flash in the form http://localhost:8080/reg/register.jsp but when i type this url directly it works fine.
My code for register.jsp is:
<%@ page import="java.io.*,java.lang.*,java.sql.*,java.util.*"%>
<%
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con=DriverManager.getConnection("jdbc:odbc:yogaesh","scott","tiger");
Statement stmt=con.createStatement();
if(request.getParameter("name")!=null)
String str="insert into rt values('" + request.getParameter("name") + "','" + request.getParameter("uname") + "','" + request.getParameter("pass") + "','" + request.getParameter("cpass") + "'," + request.getParameter("age") + ",'" + request.getParameter("sex") + "','" + request.getParameter("add") + "'," + request.getParameter("code") + ",'" + request.getParameter("ugqual") + "'," + request.getParameter("per") + ",'" + request.getParameter("iadd") +"')";
stmt.executeUpdate(str);
stmt.close();
con.commit();
con.close();
con=null;
str=null;
}catch(Exception e){out.println("Database error!!");}
%>
Please help me out and thanks in advance...
R. Yogaesh.Hi,
A simple data access program to set values in a db. I
have the following problems.
1. When I dont use
if(request.getParameter("name")!=null) or any other
parameter for testing null values, a row of null
values is inserted each time I enter the jsp file. *********
* Yup. Use .equals("") or .equals("null") as tests, depends on your servlet container
2. One more problem is that the update is not regular.
It sometimes works fine, someother times it fails
miserably. It seems that the connection is not closed
properly as I receive such a message when I try to
shut dwon oracle. *************************
Use this:
Connection conn = null;
try{
//Do database stuff
} catch {
// Report your errors
} finally{
try{
if(conn!= null){
conn.close();
}catch{}
3. A much more peculiar problem, when i paste a url
directly into my browser, it runs fine, but not with
location.href or a flash link!! eg the register.jsp
file is reported as a nonexisting file (HTTP 404) when
I provide a link to it from flash in the form
http://localhost:8080/reg/register.jsp but when i type
this url directly it works fine.***********************
Maybe your flash is on another computer/server? Try using the link http://<ip address>:8080/reg/register.jsp or http://<dns name>:8080/reg/register.jsp
My code for register.jsp is:
<%@ page
import="java.io.*,java.lang.*,java.sql.*,java.util.*"%>
<%
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection
con=DriverManager.getConnection("jdbc:odbc:yogaesh","sc
tt","tiger");
Statement stmt=con.createStatement();
if(request.getParameter("name")!=null)
String str="insert into rt values('" +
request.getParameter("name") + "','" +
request.getParameter("uname") + "','" +
request.getParameter("pass") + "','" +
request.getParameter("cpass") + "'," +
request.getParameter("age") + ",'" +
request.getParameter("sex") + "','" +
request.getParameter("add") + "'," +
request.getParameter("code") + ",'" +
request.getParameter("ugqual") + "'," +
request.getParameter("per") + ",'" +
request.getParameter("iadd") +"')";
stmt.executeUpdate(str);
stmt.close();
con.commit();
con.close();
con=null;
str=null;
}catch(Exception e){out.println("Database error!!");}
%>
Please help me out and thanks in advance...
R. Yogaesh.
Maybe you are looking for
-
Photoshop Cs6 is hanging when trying to work in 3D when it wasn't before
When I first started using 3D in Photoshop it was working rather smoothly and seemed to chug along fairly fast. Then one day when I was working in it as usual and tried to perform some random action it just started hanging with the spinning blue circ
-
Error in deleting a B2B Agreement
While deleting a Agreement, B2B is not allowing me to do it. The below error is in the ui.log file 2011.05.20 at 05:18:42:744: AJPRequestHandler-ApplicationServerThread-6: UI - (ERROR) oracle.tip.buslogic.ui.agreement.AgreementEventHandler$Delete.han
-
Retaining Variable Value for Scenario Restart
I have a slave-package where i use many variables for JDBC connection/url/login/passwd and Target File Path - all have been defined as type HISTORIZE My packages are as follows (1) There are many odiSqlUnload steps in the slave-package which uses the
-
When I try and sync my i-pod to the ticked/ selected music in my library it only takes half of it.I then get a box up saying that various music files could not be found. I do not understand why music that is on my library can no longer be located and
-
JFileChooser DFS and Windows Vista Service Pack 2
We updated a computer with Vista Service Pack 2 and now JFileChooser is not opening up links that are DFS. To make sure it was not our app I tried using the JFileChooser Demo from Sun and I am still having the same issue. Java will allow me to quick