Reader X :ProtectedModeWhitelistConfig.txt entries to make MyPlugin work
Hi ,
Please someone let me know what i need to write in ProtectedModeWhitelistConfig.txt to make MyPlugin work even when the Reader X Protected mode is enabled.
Below are the logfile entries,
1. When i open a document in Reader X :
[04:12/01:44:04] Adobe Reader Protected Mode Logging Initiated
[04:12/01:44:04] NtCreateKey: STATUS_ACCESS_DENIED
[04:12/01:44:04] real path: \REGISTRY\MACHINE\Software\Adobe
[04:12/01:44:04] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:12/01:44:04] NtCreateKey: STATUS_ACCESS_DENIED
[04:12/01:44:04] real path: \REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Adobe
[04:12/01:44:04] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:12/01:44:04] OpenEvent: STATUS_ACCESS_DENIED
[04:12/01:44:04] name: MSFT.VSA.COM.DISABLE.2580
[04:12/01:44:04] Consider modifying policy using these policy rules: EVENTS_ALLOW_ANY
[04:12/01:44:04] OpenEvent: STATUS_ACCESS_DENIED
[04:12/01:44:04] name: MSFT.VSA.IEC.STATUS.6c736db0
[04:12/01:44:04] Consider modifying policy using these policy rules: EVENTS_ALLOW_ANY
[04:12/01:44:10] NtCreateKey: STATUS_ACCESS_DENIED
[04:12/01:44:10] real path: \REGISTRY\USER\S-1-5-21-3251479106-2158938798-289749890-1654\Software\Adobe\Adobe Acrobat
[04:12/01:44:10] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:12/01:44:10] NtCreateKey: STATUS_ACCESS_DENIED
[04:12/01:44:10] real path: \REGISTRY\USER\S-1-5-21-3251479106-2158938798-289749890-1654\Software\Adobe\Adobe Acrobat
[04:12/01:44:10] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:12/01:44:10] NtCreateKey: STATUS_ACCESS_DENIED
[04:12/01:44:10] real path: \REGISTRY\USER\S-1-5-21-3251479106-2158938798-289749890-1654\Software\Adobe\Adobe Acrobat
[04:12/01:44:10] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:12/01:44:10] NtCreateKey: STATUS_ACCESS_DENIED
[04:12/01:44:10] real path: \REGISTRY\USER\S-1-5-21-3251479106-2158938798-289749890-1654\Software\Adobe\Adobe Acrobat
[04:12/01:44:10] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:12/01:44:12] NtCreateKey: STATUS_ACCESS_DENIED
[04:12/01:44:12] real path: \REGISTRY\USER\S-1-5-21-3251479106-2158938798-289749890-1654\Software\Adobe\Adobe Acrobat
[04:12/01:44:12] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:12/01:44:12] NtCreateKey: STATUS_ACCESS_DENIED
[04:12/01:44:12] real path: \REGISTRY\USER\S-1-5-21-3251479106-2158938798-289749890-1654\Software\Adobe\Adobe Acrobat
[04:12/01:44:12] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:12/01:44:12] NtCreateKey: STATUS_ACCESS_DENIED
[04:12/01:44:12] real path: \REGISTRY\USER\S-1-5-21-3251479106-2158938798-289749890-1654\Software\Adobe\Adobe Acrobat
[04:12/01:44:12] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:12/01:44:12] NtCreateKey: STATUS_ACCESS_DENIED
[04:12/01:44:12] real path: \REGISTRY\USER\S-1-5-21-3251479106-2158938798-289749890-1654\Software\Adobe\Adobe Acrobat
[04:12/01:44:12] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:12/01:44:12] NtCreateKey: STATUS_ACCESS_DENIED
[04:12/01:44:12] real path: \REGISTRY\USER\S-1-5-21-3251479106-2158938798-289749890-1654\Software\Adobe\Adobe Acrobat
[04:12/01:44:12] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:12/01:44:12] NtCreateKey: STATUS_ACCESS_DENIED
[04:12/01:44:12] real path: \REGISTRY\USER\S-1-5-21-3251479106-2158938798-289749890-1654\Software\Adobe\Adobe Acrobat
[04:12/01:44:12] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:12/01:44:13] NtCreateKey: STATUS_ACCESS_DENIED
[04:12/01:44:13] real path: \REGISTRY\USER\S-1-5-21-3251479106-2158938798-289749890-1654\Software\Microsoft\Direct3D\ MostRecentApplication
[04:12/01:44:13] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:12/01:44:13] NtCreateKey: STATUS_ACCESS_DENIED
[04:12/01:44:13] real path: \REGISTRY\USER\S-1-5-21-3251479106-2158938798-289749890-1654\Software\Microsoft\Direct3D\ MostRecentApplication
[04:12/01:44:13] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:12/01:44:13] NtCreateKey: STATUS_ACCESS_DENIED
[04:12/01:44:13] real path: \REGISTRY\USER\S-1-5-21-3251479106-2158938798-289749890-1654\Software\Adobe\Adobe Acrobat
[04:12/01:44:13] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:12/01:44:13] NtCreateKey: STATUS_ACCESS_DENIED
[04:12/01:44:13] real path: \REGISTRY\USER\S-1-5-21-3251479106-2158938798-289749890-1654\Software\Adobe\Adobe Acrobat
[04:12/01:44:13] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:12/01:44:16] NtCreateKey: STATUS_ACCESS_DENIED
[04:12/01:44:16] real path: \REGISTRY\USER\S-1-5-21-3251479106-2158938798-289749890-1654\Software\Classes\Local Settings\MuiCache\229\52C64B7E
[04:12/01:44:16] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:12/01:44:16] NtCreateKey: STATUS_ACCESS_DENIED
[04:12/01:44:16] real path: \REGISTRY\USER\S-1-5-21-3251479106-2158938798-289749890-1654\Software\Classes\Local Settings\MuiCache
[04:12/01:44:16] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:12/01:44:16] NtCreateKey: STATUS_ACCESS_DENIED
[04:12/01:44:16] real path: \REGISTRY\USER\S-1-5-21-3251479106-2158938798-289749890-1654\Software\Classes\Local Settings\MuiCache\229\52C64B7E
[04:12/01:44:16] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:12/01:44:16] NtCreateKey: STATUS_ACCESS_DENIED
[04:12/01:44:16] real path: \REGISTRY\USER\S-1-5-21-3251479106-2158938798-289749890-1654\Software\Classes\Local Settings\MuiCache
[04:12/01:44:16] Consider modifying policy using this policy rule: REG_ALLOW_ANY
2. When i Clicked on my one of MyPlugin button , I was getting class not registered error and logfile entries is as shown below. but it works fine if the Protected-Mode is disabled.
[04:12/01:46:22] OpenEvent: STATUS_ACCESS_DENIED
[04:12/01:46:22] name: Global\CLR_PerfMon_StartEnumEvent
[04:12/01:46:22] Consider modifying policy using these policy rules: EVENTS_ALLOW_ANY
[04:12/01:46:22] OpenEvent: STATUS_ACCESS_DENIED
[04:12/01:46:22] name: Global\CLR_PerfMon_StartEnumEvent
[04:12/01:46:22] Consider modifying policy using these policy rules: EVENTS_ALLOW_ANY
MyPlugin works fine if the Protected-Mode is disabled.
Please someone let me know what all things i have to write in 'ProtectedModeWhitelistConfig.txt ' to make MyPlugin Work.
Someone please help me to solve this issue..
Thanks in advance.
I have the same problem. Can somebody tell me what i can do to resolve it.
[04:15/09:21:27] Adobe Reader Protected Mode Logging Initiated
[04:15/09:21:28] NtCreateKey: STATUS_ACCESS_DENIED
[04:15/09:21:28] real path: \REGISTRY\MACHINE\Software\Adobe
[04:15/09:21:28] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:15/09:21:28] NtCreateKey: STATUS_ACCESS_DENIED
[04:15/09:21:28] real path: \REGISTRY\MACHINE\SOFTWARE\Adobe
[04:15/09:21:28] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:15/09:21:28] NtCreateFile: STATUS_ACCESS_DENIED
[04:15/09:21:28] real path: \??\C:\WINDOWS\system32\imjp81.ime
[04:15/09:21:28] 次のポリシールールを使用してポリシーの変更を検討してください : FILES_ALLOW_ANY または FILES_ALLOW_DIR_ANY
[04:15/09:21:28] NtCreateMutant: STATUS_ACCESS_DENIED
[04:15/09:21:28] real_path: \BaseNamedObjects\RasPbFile
[04:15/09:21:28] 次のポリシールールを使用してポリシーの変更を検討してください : MUTANT_ALLOW_ANY
[04:15/09:21:28] NtCreateKey: STATUS_ACCESS_DENIED
[04:15/09:21:28] real path: \REGISTRY\MACHINE\Software\Microsoft\Tracing
[04:15/09:21:28] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:15/09:21:28] NtCreateKey: STATUS_ACCESS_DENIED
[04:15/09:21:28] real path: \REGISTRY\MACHINE\SOFTWARE\Microsoft\Tracing
[04:15/09:21:28] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:15/09:21:28] OpenEvent: STATUS_ACCESS_DENIED
[04:15/09:21:28] name: _fCanRegisterWithShellService
[04:15/09:21:28] Consider modifying policy using these policy rules: EVENTS_ALLOW_ANY
[04:15/09:28:54] Adobe Reader Protected Mode Logging Initiated
[04:15/09:28:54] NtCreateKey: STATUS_ACCESS_DENIED
[04:15/09:28:54] real path: \REGISTRY\MACHINE\Software\Adobe
[04:15/09:28:54] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:15/09:28:54] NtCreateKey: STATUS_ACCESS_DENIED
[04:15/09:28:54] real path: \REGISTRY\MACHINE\SOFTWARE\Adobe
[04:15/09:28:54] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:15/09:39:46] Adobe Reader Protected Mode Logging Initiated
[04:15/09:39:46] NtCreateKey: STATUS_ACCESS_DENIED
[04:15/09:39:46] real path: \REGISTRY\MACHINE\Software\Adobe
[04:15/09:39:46] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:15/09:39:46] NtCreateKey: STATUS_ACCESS_DENIED
[04:15/09:39:46] real path: \REGISTRY\MACHINE\SOFTWARE\Adobe
[04:15/09:39:46] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:15/09:39:46] OpenEvent: STATUS_ACCESS_DENIED
[04:15/09:39:46] name: MSFT.VSA.COM.DISABLE.4716
[04:15/09:39:46] Consider modifying policy using these policy rules: EVENTS_ALLOW_ANY
[04:15/09:39:46] OpenEvent: STATUS_ACCESS_DENIED
[04:15/09:39:46] name: MSFT.VSA.IEC.STATUS.6c736db0
[04:15/09:39:46] Consider modifying policy using these policy rules: EVENTS_ALLOW_ANY
[04:15/09:39:47] NtCreateFile: STATUS_ACCESS_DENIED
[04:15/09:39:47] real path: \??\C:\WINDOWS\system32\imjp81.ime
[04:15/09:39:47] 次のポリシールールを使用してポリシーの変更を検討してください : FILES_ALLOW_ANY または FILES_ALLOW_DIR_ANY
[04:15/09:39:49] NtCreateKey: STATUS_ACCESS_DENIED
[04:15/09:39:49] real path: \REGISTRY\USER\S-1-5-21-823518204-861567501-1177238915-1003\Software\Adobe\Adobe Acrobat
[04:15/09:39:49] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:15/09:39:49] NtCreateKey: STATUS_ACCESS_DENIED
[04:15/09:39:49] real path: \REGISTRY\USER\S-1-5-21-823518204-861567501-1177238915-1003\Software\Adobe\Adobe Acrobat
[04:15/09:39:49] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:15/09:39:49] NtCreateKey: STATUS_ACCESS_DENIED
[04:15/09:39:49] real path: \REGISTRY\USER\S-1-5-21-823518204-861567501-1177238915-1003\Software\Adobe\Adobe Acrobat
[04:15/09:39:49] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:15/09:39:49] NtCreateKey: STATUS_ACCESS_DENIED
[04:15/09:39:49] real path: \REGISTRY\USER\S-1-5-21-823518204-861567501-1177238915-1003\Software\Adobe\Adobe Acrobat
[04:15/09:39:49] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:15/09:39:49] OpenEvent: STATUS_ACCESS_DENIED
[04:15/09:39:49] name: _fCanRegisterWithShellService
[04:15/09:39:49] Consider modifying policy using these policy rules: EVENTS_ALLOW_ANY
[04:15/09:39:51] NtCreateKey: STATUS_ACCESS_DENIED
[04:15/09:39:51] real path: \REGISTRY\USER\S-1-5-21-823518204-861567501-1177238915-1003\Software\Adobe\Adobe Acrobat
[04:15/09:39:51] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:15/09:39:51] NtCreateKey: STATUS_ACCESS_DENIED
[04:15/09:39:51] real path: \REGISTRY\USER\S-1-5-21-823518204-861567501-1177238915-1003\Software\Adobe\Adobe Acrobat
[04:15/09:39:51] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:15/09:39:51] NtCreateKey: STATUS_ACCESS_DENIED
[04:15/09:39:51] real path: \REGISTRY\USER\S-1-5-21-823518204-861567501-1177238915-1003\Software\Adobe\Adobe Acrobat
[04:15/09:39:51] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:15/09:39:51] NtCreateKey: STATUS_ACCESS_DENIED
[04:15/09:39:51] real path: \REGISTRY\USER\S-1-5-21-823518204-861567501-1177238915-1003\Software\Adobe\Adobe Acrobat
[04:15/09:39:51] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:15/09:39:51] NtCreateKey: STATUS_ACCESS_DENIED
[04:15/09:39:51] real path: \REGISTRY\USER\S-1-5-21-823518204-861567501-1177238915-1003\Software\Microsoft\Direct3D\M ostRecentApplication
[04:15/09:39:51] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:15/09:39:51] NtCreateKey: STATUS_ACCESS_DENIED
[04:15/09:39:51] real path: \REGISTRY\USER\S-1-5-21-823518204-861567501-1177238915-1003\Software\Microsoft\Direct3D\M ostRecentApplication
[04:15/09:39:51] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:15/09:39:51] NtCreateKey: STATUS_ACCESS_DENIED
[04:15/09:39:51] real path: \REGISTRY\USER\S-1-5-21-823518204-861567501-1177238915-1003\Software\Adobe\Adobe Acrobat
[04:15/09:39:51] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:15/09:39:51] NtCreateKey: STATUS_ACCESS_DENIED
[04:15/09:39:51] real path: \REGISTRY\USER\S-1-5-21-823518204-861567501-1177238915-1003\Software\Adobe\Adobe Acrobat
[04:15/09:39:51] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:15/09:39:51] NtCreateKey: STATUS_ACCESS_DENIED
[04:15/09:39:51] real path: \REGISTRY\USER\S-1-5-21-823518204-861567501-1177238915-1003\Software\Adobe\Adobe Acrobat
[04:15/09:39:51] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[04:15/09:39:51] NtCreateKey: STATUS_ACCESS_DENIED
[04:15/09:39:51] real path: \REGISTRY\USER\S-1-5-21-823518204-861567501-1177238915-1003\Software\Adobe\Adobe Acrobat
[04:15/09:39:51] Consider modifying policy using this policy rule: REG_ALLOW_ANY
Similar Messages
-
Reader X: ProtectedModeWhitelistConfig.txt entry results in error
Hi,
to make a plugin work again in the Reader X 10.1.1 i added a policy file.
Nearly everything is working however i can't use the 'REG_ALLOW_ANY' key.
The logging output is e.g.:
<snip>
[09:22/16:23:40] NtCreateKey: STATUS_ACCESS_DENIED
[09:22/16:23:40] real path: \REGISTRY\MACHINE\Software\Adobe
[09:22/16:23:40] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[09:22/16:23:40] NtCreateKey: STATUS_ACCESS_DENIED
[09:22/16:23:40] real path: \REGISTRY\MACHINE\SOFTWARE\Adobe
[09:22/16:23:40] Consider modifying policy using this policy rule: REG_ALLOW_ANY
<snip>
-> I tried the following keys however always get an 'Custom policy syntax error' :
REG_ALLOW_ANY= \REGISTRY\MACHINE\Software\Adobe*
or
REG_ALLOW_ANY= \REGISTRY\MACHINE\Software\Adobe**
or
REG_ALLOW_ANY=HKEY_CURRENT_USER\SOFTWARE\Adobe*
or
REG_ALLOW_ANY=HKEY_LOCAL_MACHINE\SOFTWARE\Adobe*
Any ideas?
Thanksashutoshmehra wrote:
@ToM_1st: To create a registry policy that allows writing to any area of HKCU\Software\Adobe, write the following rule:
REG_ALLOW_ANY = HKEY_CURRENT_USER\Software\Adobe*
into a file called ProtectedModeWhitelistConfig.txt and copy it right next to AcroRd32.exe (in your Program Files directory).
Already tried that but it didn't work. (Probably due to your next comment)
Also note that on Win7/Vista, due to UAC restrictions, even when running as admin, processes don't get access to write to HKLM. So adding a rule for HKEY_LOCAL_MACHINE would probably not work. And anyway, the sandbox doesn't need to write to HKLM anyway, so that rule is unnecessary.
This doesn't make sense?! What's the policy file and that specific key for if i can't access the registry? But this would be an explanation why it doesn't work. Strange though why it gives me the 'Custom policy syntax error' and not a 'your key is probably right but i don't have the rights to access the registry' error...
thanks -
ProtectedModeWhitelistConfig.txt entry results in error
Hi,
to make a plugin work again in version 10.1.1 i added a policy file.
Nearly everything is working however i can't use the 'REG_ALLOW_ANY' key.
The logging output is e.g.:
<snip>
[09:22/16:23:40] NtCreateKey: STATUS_ACCESS_DENIED
[09:22/16:23:40] real path: \REGISTRY\MACHINE\Software\Adobe
[09:22/16:23:40] Consider modifying policy using this policy rule: REG_ALLOW_ANY
[09:22/16:23:40] NtCreateKey: STATUS_ACCESS_DENIED
[09:22/16:23:40] real path: \REGISTRY\MACHINE\SOFTWARE\Adobe
[09:22/16:23:40] Consider modifying policy using this policy rule: REG_ALLOW_ANY
<snip>
-> I tried the following keys however always get an 'Custom policy syntax error' :
REG_ALLOW_ANY= \REGISTRY\MACHINE\Software\Adobe*
or
REG_ALLOW_ANY= \REGISTRY\MACHINE\Software\Adobe**
or
REG_ALLOW_ANY=HKEY_CURRENT_USER\SOFTWARE\Adobe*
or
REG_ALLOW_ANY=HKEY_LOCAL_MACHINE\SOFTWARE\Adobe*
Any ideas? What am i doing wrong?
Thanksashutoshmehra wrote:
@ToM_1st: To create a registry policy that allows writing to any area of HKCU\Software\Adobe, write the following rule:
REG_ALLOW_ANY = HKEY_CURRENT_USER\Software\Adobe*
into a file called ProtectedModeWhitelistConfig.txt and copy it right next to AcroRd32.exe (in your Program Files directory).
Already tried that but it didn't work. (Probably due to your next comment)
Also note that on Win7/Vista, due to UAC restrictions, even when running as admin, processes don't get access to write to HKLM. So adding a rule for HKEY_LOCAL_MACHINE would probably not work. And anyway, the sandbox doesn't need to write to HKLM anyway, so that rule is unnecessary.
This doesn't make sense?! What's the policy file and that specific key for if i can't access the registry? But this would be an explanation why it doesn't work. Strange though why it gives me the 'Custom policy syntax error' and not a 'your key is probably right but i don't have the rights to access the registry' error...
thanks -
MyPlugin works fine in AdobeReader-9 but fails in AdobeReader-X(10).
Hi ,
The plugin which i created using Acrobat SDK works fine in AdobeReader-9 but it doesnt works as expected in AdobeReader-X.
The issues with Reader-X are listed below :
1. MyPlugin doesn't get loaded at the top as the other tollbars , which i was able to load MyPlugin in Reader-9. In Reader-X , MyPlugin gets loaded at the right-side panel under 'Tools' Tab.
2. In Reader-X, there is an option which we can select for 'Enable Protected-Mode'.
a. If this is enabled i am able to see all the buttons of MyPlugin but when i clicked on each button it wont do its task instead i get error message saying unable to create HelperObject. Why MyPlugin's buttons not performing its task when the Protected-Mode is Enabled?
b.If i disable the Protected-Mode , i will see only first two buttons of MyPlugin(MyPlugin contains 4 buttons) and the when i click on those buttons it will be able to do its task as expected. Why i am not able to see all the buttons of MyPlugin during Protected-Mode disabled ?
Please let me know what i should do to make MyPlugin work in Reader-X. MyPlugin is working fine in Reader-9.
Thanks in advance. Please someone help me out from this..Hi Richard,
Sorry , i could not reply to your previous posts.
In the below link they is a sample for making IE-Plugin work when IE-Protected mode is On.There is explaination on broker process.
http://msdn.microsoft.com/en-us/library/bb250462(v=vs.85).aspx .
This below links may also be useful :
http://msdn.microsoft.com/en-us/library/ms537312(v=vs.85).aspx
http://www.codeproject.com/KB/vista-security/PMSurvivalGuide.aspx
We may have to do the same way for our Reader Plugin, which i have also not implemented it till now,also did not get any sample for Reader Broker process.
I did lot of search but i also didn find any.
So what i am doing is,displaying a message box to user if the Reader Protected mode is enabled. And ask the user to Click on a button to disable Reader Protected mode. After restarting the PDF the user will be able to access MyPlugin without any error.
As of now i am doing this, but i have to make MyPlugin to work even when the Protected Mode is enabled. For this i need to create the Broker Process.
I know you have also spend lotz of your time to find a solution for this. But we are not getting the right ways to achieve a solution for this.
If i get a solution for this i will definately inform you and if you get any solution please let me know.
Thanks and Regards,
Chetan. -
How can I make a calender entry that makes a sound when it is its turn?
How can I make a calender entry that makes a sound when it is its turn?
Have you even looked at the calendar app? Did you not notice the "Alert" field in the event details when you create a calendar event?
-
Help in reading a csv txt file!
hey i have a problem with this code, Im trying to read a txt file, containing users and scores, and list scores separate, but I get the fist 3 scores empty(0) can any one help plz?
String uname;
int theScore;
int noScores = 0;
int [] scores;
public highScores()
try
FileReader gamers = new FileReader( "Gamers.txt" );
BufferedReader br = new BufferedReader( gamers );
String stringRead = br.readLine( );
while( stringRead != null )
StringTokenizer st = new
StringTokenizer( stringRead, "," );
String uname = st.nextToken( );
theScore = Integer.parseInt( st.nextToken( ) );
noScores = noScores + 1;
scores = new int[noScores];
for(int i = (noScores - 1);i < noScores;i++)
scores[i] = theScore;
System.out.println("" + uname + "," + theScore);
stringRead = br.readLine( );
br.close( );
for(int i = 0;i < noScores;i++)
System.out.println("" + scores);
catch( IOException ioe )
ioe.printStackTrace( );
//file im reading from (Gamers.txt)
Usename,1234
Me,678
you,456
them,698
//output
Usename,1234
Me,678
you,456
them,698
0
0
0
698
Press any key to continue . . .Why are you creating the score array inside he while loop? What's that for? It looks like it's for all the scores, but if you have 3 lines, then you're creating 3 different scores arrays--one with 1 element, 1 with 2 elements, and 1 with 3 elements.
For all but the last one, you're creating it, populating the last element, then throwing it away.
For the last one, you create it, populate the last element (leaving the first three with their default value of 0) and then that's what gets printed.
When you have this kind of problem, print out a bunch of relevant stuff (and even some stuff that you think is not relevant) at each step of the way, so ou can see what your code is doing. Yout THINK you know what it's doing, but obviously you're mistaken. If you can't figure it out from staring at it, then you'll have to let the code itself tell you what's really going on.
You'll have to create the array before you start the while loop, which means you'll have to know ahead of time how many scores you have, or know some maximum that you could possibly have and make it big enough to hold that many.
Or,instead of an array, you couse use a List, such as java.util.ArrayList.
http://java.sun.com/docs/books/tutorial/collections/ -
Hi - I created a form in Adobe Livecycle and have a button on it to send the form via email. It worked, but only for those with PC. However, I could not get it to work with Apple loaded with Yosemite even with reader installed . Is there a way i can make it work for apple / Mac? It worked fine on a mac using Mountain Lion and reader
ThanksLiveCycle = XFA forms.
afaik - These cannot be used in Apple OSs.
Be well... -
Code to read local notepad.txt from applet
Hi.
Further to my (unanswered) queries about reading a notepad.txt file from the local directory i.e. the same directory from which the html and applet were launched, the following code is supposed to be able to read the local file. It failed to do so both in Netscape 7.1 and in IE5
I've also received conflicting advices : some says we can read local files without using a signed applet or chaning the ACL, whereas others I'll need to use signed applets and / or acl to allow the applet to read a local file.
My research has shown that java applets are supposed to be able to read local files. Has something changed:
public class FileAccess extends Applet
implements ActionListener {
Button loadButton, saveButton;
TextField filename;
TextArea content;
String browserName;
boolean securitySupported = false;
public void init() {
setLayout(new FlowLayout());
Label label =
new Label("Simple file editor");
add(label);
loadButton = new Button("Load");
saveButton = new Button("Save");
add(loadButton);
add(saveButton);
loadButton.addActionListener(this);
saveButton.addActionListener(this);
filename = new TextField(20);
add(filename);
content = new TextArea(5,20);
add(content);
browserName = System.getProperty("java.vendor");
if (browserName.indexOf("Netscape") > -1)
securitySupported = true;
setSize(200, 200);
public void actionPerformed(ActionEvent evt) {
if (securitySupported) {
if (evt.getSource() == saveButton) {
PrivilegeManager.enablePrivilege("UniversalFileAccess");
try {
FileWriter aWriter = new FileWriter(filename.getText(), false);
aWriter.write(content.getText());
aWriter.flush();
aWriter.close();
catch(Exception e) {
e.printStackTrace();
else if (evt.getSource() == loadButton) {
PrivilegeManager.enablePrivilege("UniversalFileAccess");
try {
BufferedReader aReader =
new BufferedReader
(new FileReader(filename.getText()));
content.setText(aReader.readLine());
aReader.close();
catch(Exception e) {
e.printStackTrace();
else {
getAppletContext().showStatus("security not installed");
}Hi acinhk,
I read your note with great interest. I am trying to solve almost exactly the same problem as you are -
Reading a .txt file in IE5 from the same directory where the html and the applet were lauched.
Your code looks fine to me.
My code is very similar, and again generates a security exception - as I am having the same problem you had getting around Java security.
If you have been able to solve the problem, can you please let me know what you did.
Any modifications to your sample code that actually made it work would be greatly appreciated.
Also, is signing the applet to read a local file under IE5 really necessary ?
Can the file be read from the local IE file system without signing the applet ?
Please let me know your thoughts.
Thanks !
drbob -
iphoto 8.1.2 My source list has disappeared or is so diminished that I cannot read it. How can I make it a normal size, please?
Move your cursor to the extreme left of the iPhoto Window until it becomes a '+', then click and drag right.
Regards
TD -
Can you read this processes.txt
my mac pro is in near lockup with the hd churning as i run a clone and try to get some work done. i can't seem to quit out of APERTURE even after pulling down to CLOSE from the Dock icon and pulling down to QUIT from the pulldown.
ALSO, i have a terrible time reading the Activity Monitor and was wondering if someone can walk me through how to handle this issue by reading either the txt file below or in getting AM to behave (it's always so darn /jumpy/).
anyway, is there a proper way to go about solving this kind of slowdown or am i relegated to closing every software i can handle and then - i guess - i run a shut down of the computer if I can't shut down Aperture normally?
TIA
Jon
Active Memory: 5.62 GB
Free Memory: 44.9 MB
Wired Memory: 4.56 GB
Used Memory: 12.95 GB
Inactive Memory: 2.78 GB
Total VM: 241.97 GB
Number of processes: 106
PID Process Name User CPU Real Mem Virtual Mem
0 kernel_task root 83.5 1.07 GB 2.52 GB
1 launchd root 0.1 868 KB 2.36 GB
10 kextd root 0.0 676 KB 2.35 GB
11 DirectoryService root 0.1 4.8 MB 2.36 GB
12 notifyd root 0.0 612 KB 2.35 GB
13 syslogd root 0.1 1,016 KB 2.36 GB
14 configd root 0.0 2.2 MB 2.37 GB
15 diskarbitrationd root 0.0 1.2 MB 2.35 GB
16 distnoted daemon 0.0 1.5 MB 2.35 GB
17 mDNSResponder _mdnsrespo 0.0 1.9 MB 2.36 GB
43 securityd root 0.0 4.2 MB 2.37 GB
49 ntpd root 0.0 692 KB 2.32 GB
50 krb5kdc root 0.0 1.1 MB 2.35 GB
51 cron root 0.0 432 KB 2.32 GB
54 usbmuxd _usbmuxd 0.0 1.2 MB 2.36 GB
55 SystemStarter root 0.0 484 KB 2.35 GB
59 RFBRegisterMDNS root 0.0 1.1 MB 2.33 GB
61 mds root 74.2 119.7 MB 6.66 GB
62 loginwindow Cerberus 0.0 8.6 MB 2.71 GB
63 KernelEventAgent root 0.0 572 KB 2.34 GB
65 hidd root 0.0 484 KB 2.33 GB
66 fseventsd root 0.1 2.7 MB 2.36 GB
68 dynamic_pager root 0.0 408 KB 2.32 GB
76 autofsd root 0.0 480 KB 2.33 GB
79 sh root 0.0 372 KB 2.32 GB
80 ccc_helper root 0.0 3.4 MB 955.9 MB
81 ccc_helper root 4.8 6.8 MB 989.8 MB
82 ccc_helper root 0.0 3.5 MB 955.8 MB
83 nmbd root 0.0 816 KB 2.32 GB
96 coreservicesd root 1.2 23.5 MB 2.48 GB
134 WindowServer _windowser 15.0 119.6 MB 3.05 GB
151 MxBtDaemon root 0.0 2.8 MB 797.7 MB
173 prl_naptd root 0.0 4.8 MB 2.39 GB
185 prl_disp_service root 0.0 7.8 MB 709.2 MB
189 cvmsServ root 0.0 532 KB 2.33 GB
190 coreaudiod _coreaudio 0.0 2.6 MB 2.36 GB
237 launchd Cerberus 0.2 900 KB 2.36 GB
242 Dock Cerberus 0.2 13.7 MB 2.79 GB
243 SystemUIServer Cerberus 2.0 17.9 MB 2.76 GB
244 Finder Cerberus 11.5 76.7 MB 2.95 GB
258 fontd Cerberus 0.0 3.1 MB 2.40 GB
262 UserEventAgent Cerberus 0.0 4.6 MB 2.39 GB
265 AppleVNCServer Cerberus 0.0 2.8 MB 2.61 GB
270 prl_naptd Cerberus 0.0 3.1 MB 2.39 GB
272 HP Device Monitor Cerberus 6.8 37.5 MB 2.68 GB
276 1PasswordAgent Cerberus 0.0 8.1 MB 2.64 GB
278 Folder Actions Dispatcher Cerberus 0.0 4.2 MB 2.63 GB
283 pboard Cerberus 0.0 376 KB 2.32 GB
299 Snagit Cerberus 0.0 4.4 MB 1.08 GB
301 ForeverSave Lite Cerberus 0.0 9.8 MB 2.68 GB
319 TransmitMenu Cerberus 0.0 6.7 MB 2.67 GB
320 Adobe Bridge CS5.1 Cerberus 0.4 8.5 MB 1.09 GB
321 Dropbox Cerberus 1.1 29.5 MB 982.9 MB
322 Things Helper Cerberus 0.0 2.8 MB 903.3 MB
338 aosnotifyd Cerberus 0.0 2.2 MB 2.37 GB
346 Image Capture Extension Cerberus 0.0 6.5 MB 2.64 GB
347 SnagitCapHelper Cerberus 0.0 2.3 MB 1.03 GB
414 AdobeCrashDaemon Cerberus 0.0 2.5 MB 2.32 GB
456 SwitchBoard Cerberus 0.0 848 KB 880.3 MB
470 Jing Cerberus 0.0 8.3 MB 959.1 MB
471 VDCAssistant Cerberus 0.0 3.1 MB 2.63 GB
523 AppleSpell.service Cerberus 0.0 5.7 MB 2.37 GB
762 smbd root 0.0 1.2 MB 2.34 GB
763 smbd root 0.0 188 KB 2.33 GB
2117 AppleFileServer root 0.0 5.8 MB 2.41 GB
16495 DashboardClient Cerberus 2.0 43.7 MB 4.00 GB
16496 DashboardClient Cerberus 0.0 19.7 MB 956.4 MB
16497 DashboardClient Cerberus 0.0 3.6 MB 930.0 MB
16498 DashboardClient Cerberus 0.0 3.4 MB 917.1 MB
16499 DashboardClient Cerberus 0.0 6.6 MB 3.67 GB
16500 DashboardClient Cerberus 0.0 9.2 MB 920.4 MB
16501 DashboardClient Cerberus 0.0 3.3 MB 916.9 MB
16502 DashboardClient Cerberus 0.0 3.2 MB 915.1 MB
16503 DashboardClient Cerberus 0.0 3.5 MB 932.7 MB
16504 DashboardClient Cerberus 0.0 3.3 MB 926.5 MB
16505 DashboardClient Cerberus 0.0 4.2 MB 933.6 MB
16506 DashboardClient Cerberus 0.0 3.0 MB 918.4 MB
16621 Safari Cerberus 0.3 101.7 MB 3.97 GB
17156 Aperture Cerberus 131.5 5.09 GB 14.11 GB
17186 Safari Web Content Cerberus 0.2 361.1 MB 4.46 GB
18322 Parallels Desktop Cerberus 1.0 24.9 MB 1.39 GB
18334 prl_vm_app Cerberus 8.4 529.2 MB 8.26 GB
18386 vfstool Cerberus 0.0 760 KB 620.3 MB
19485 LKDCHelper Cerberus 0.0 808 KB 2.33 GB
19976 Pages Cerberus 0.0 59.2 MB 1.16 GB
36659 MRMovieServer Cerberus 0.0 1.3 MB 888.1 MB
37865 com.bombich.ccc root 0.0 536 KB 609.3 MB
37866 rsync root 1.1 6.4 MB 2.68 GB
37867 rsync root 0.0 7.3 MB 2.77 GB
37868 rsync root 0.8 4.8 MB 2.65 GB
38037 dbfseventsd root 0.0 228 KB 582.8 MB
38040 dbfseventsd root 0.2 4.2 MB 590.8 MB
38041 dbfseventsd Cerberus 0.1 104 KB 582.8 MB
38604 CCacheServer Cerberus 0.0 1.1 MB 2.36 GB
38764 cupsd root 0.0 2.4 MB 2.36 GB
38884 iTunes Helper Cerberus 0.0 2.5 MB 2.62 GB
38893 Inkjet3 _lp 0.1 18.8 MB 2.40 GB
38894 socket root 0.0 1.8 MB 2.32 GB
38901 Officejet Pro 8600 [CBDE6 Cerberus 0.0 14.7 MB 2.67 GB
39312 Postbox Cerberus 4.9 328.5 MB 3.12 GB
39483 backupd root 0.0 4.4 MB 2.39 GB
41178 Activity Monitor Cerberus 18.2 22.9 MB 2.80 GB
41182 cvmsComp_x86_64 Cerberus 0.0 6.1 MB 2.34 GB
41183 activitymonitord root 2.0 1.7 MB 2.33 GB
41184 PubSubAgent Cerberus 0.1 5.4 MB 2.39 GB
41188 nmblookup Cerberus 0.0 176 KB 2.31 GBthank you.
yeah, on the widgets i am in the process of putting the ones on the macbookpro on the mac pro so there are a ton open because i am half way through this process.
is there something a relatively new user can do about the two things you mention here? i mean, i feel like i am having deja vu everytime i try and address something like this because on the one hand there are obviously things that are not working but on the other hand it is like the bermuda triangle for me in terms of trying to figure it all out.
i /just/ put my external Time Capsule on the /excluded/ list of items in Spotlight in order to keep it from showing the indexing symbol. This worked (even thought it is still showing on the MacBookPro). Also, Aperture has gotten hung up and I am trying to wait it out so I don't have to crash out the database (I'm told this is a very bad idea and to be avoided if at all possible).
Is any of this related to Paralels by any chance? I had a prl_disp_vm or somesuch that was hogging 100% CPU at one piotn and it is unclear to me if they resolved this.
THANKS!
- Jon -
I am trying to read in a .txt file, but I have a FileNotFound Exception
So I am trying to read in as5.txt. It is located in the Assignment5 folder. I probably just have the syntax wrong, but can someone help me?
import java.util.Scanner;
import javax.swing.JFrame;
import java.awt.Color;
import java.io.*;
public class Driver {
public static void main(String [] args){
JFrame window = new JFrame ("Window");//This creates the window
window.setBounds(30, 100, 700, 700);
window.setVisible(true);
window.setLayout(null);
FileReader as5 = new FileReader("Assignment5.as5.txt");
Scanner file = new Scanner(as5);
GameSquare square = new GameSquare(window, 0, 0);
GameSquare[][] board = new GameSquare[8][8];
int x = 0;
int y = 0;
for(int i=0;i < 8; i++){
for(int j=0;j < 8; j++){
board[i][j] = new GameSquare(window, x, y);
x=x+80;
x=0;
y=y+80;
}If you think a file doesn't exists when you think it should, you can use code like this to print out what files are there:
import java.io.*;
public class Periscope {
public static void check(File file) {
if (file.exists()) {
System.out.println("file exists: " + getPath(file));
System.out.println();
System.out.println("DUMP:");
System.out.println();
dump(file, "");
} else {
System.out.println("file does not exist: " + getPath(file));
goUp(file);
static void goUp(File file) {
File parent = file.getAbsoluteFile().getParentFile();
if (parent == null) {
System.out.println("file does not have a parent: " + getPath(file));
} else {
check(parent);
static void dump(File file, String indent) {
System.out.println(indent + getPath(file));
File[] children = file.listFiles();
if (children != null) {
indent += " ";
for(File child : children) {
dump(child, indent);
static String getPath(File file) {
try {
return file.getCanonicalPath();
} catch (IOException e) {
e.printStackTrace();
return file.getName();
public static void main(String[] args) {
check(new File("foo.bar"));
} -
Apostroph and euro sign not read corectly from txt file
apostroph and euro sign not read corectly from txt file.
my code is like this:
FileInputStream fis= new FileInputStream(x+".html");
BufferedReader br=new BufferedReader(new InputStreamReader(fis,"UTF-8"));
String Line="";
while ((Line = br.readLine()) != null) result+=Line;
br.close();
fis.close();
I use UTF-8 because the file contains also French characters.
What's the problem?
THANK YOU!apostroph and euro sign not read corectly from txt
file.
my code is like this:
FileInputStream fis= new FileInputStream(x+".html");
BufferedReader br=new BufferedReader(new
InputStreamReader(fis,"UTF-8"));
String Line="";
while ((Line = br.readLine()) != null) result+=Line;
br.close();
fis.close();
I use UTF-8 because the file contains also French
characters.
What's the problem?
THANK YOU!
This is from the FileInputStream API documentation:
FileInputStream is meant for reading streams of raw bytes such as image data. For reading streams of characters, consider using FileReader. -
Options -> Text Editor -> C/C++ missing intellisense entry. Intellisense not working. Solutions to turn options for the editor off and on are not working. The intellisense entry is present for other languages,
such as C#, but not C/C++.
By not working, I mean the intellisense right click menu items are grayed out, and intellisense files are not produced.Hi JerroldBrody,
Thank you for posting in MSDN forum.
>>I mean the intellisense right click menu items are grayed out, and intellisense files are not produced.
Based on your issue, could you please share me a screen shot about the intellisense right click menu items are grayed out?
Generally, I know that it is default that we can enable the intellisense for C/C++ by going to the TOOLS->Options -> Text Editor -> C/C++ ->Advanced-> IntelliSense like the following screen shot.
So please try to check if you set Disable Intellisense property as False in the VS IDE.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How do you make imessage work? We upgraded to verision5. The icon is there. You can type the message but the send button is not available.
There is some instability in iMessage. It is a versatile and confusing app even though there are so few options in its use.
I had issues trying to get iMessage work on both my iPads and my iPhone.
ON the iPhone, turning off WiFi service and then trying iMessage fixed the problem.
On the iPad 2, same thing. Turning off WiFi service fixed it.
On the iPad 1, I took a suggestion from zoomzoom and changed the WiFi network configuration on the iPad to use 8.8.8.8 as a DNS server and then use iMessage. That fixed it. Now I put the DNS back to default and it still works.
I suspect the iPod Touch will have the same fix as the iPad.
If you have a WiFi and 3G iPad or iPhone, try turing off WiFi and see if that fixes it.
Why? (beware, some of this is guesswork)
iMessage can talk SMS to cellphones and smartphones (that are using the cell-network). It can also talk Apple iMessage format to iPhones and iPads whether they are on cell-network or on WiFi. If you are talking to an SMS cellphone, iMessage figures that out and blindly sends your message. If you are talking to a iOS5 device, iMessage figures that out too, checks to see that they are on-line, and then does something different if they are or are not on-line. If you type in an email address, and not a phone number, I think iMessage attempts to see if the email address is registered with Apple (or iCloud or whatever) and if it is not, it does something to let you know, possibly by making the Send button not light up.
In order to register iMessage and an email, you have to let the iOS device see whatever service it is that iMessage uses. That is where the problem happenes. zoomzoom suggested manually setting the WiFi DNS to google's 8.8.8.8 IP address, then run IMessage, and that seemed to fix the problem. Setting the iOS device to use 3G-only (by turning off WiFi) also fixed the problem. I suspect going down to StarBucks or McDonalds and using their WiFi would also fix the problem. Once the problem is fixed, it doesn't seem to come back so I can't test these 'fixes'.
To change the DNS on your iPad find your WiFi networks configuration, click on the blue arrow, touch DNS, backspace over the number that is shown, type in 8.8.8.8 Then click on the WiFiNetworks button at the top of the screen. Now go run iMessage. After that, you can delete the DNS entry again and leave it blank. Your iPad will fill it in from the WiFi router when it needs it. -
Richfaces fileupload with myfaces 1.1.5. Cant make it work
Hello ,
I am a newbie to jsf technologies. I use myfaces 1.1.5 with tomcat 5.5 and richfaces 3.2.0 and trying to use richfaces fileupload component. I use netbeans IDE. When i try to run the project it fails building the project and the error in tomcat log is like below.
16.Tem.2008 11:11:47 org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
java.lang.NoClassDefFoundError: javax/faces/component/ActionSource2
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1853)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:875)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1330)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1209)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:896)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:945)
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:426)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:348)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1116)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1214)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1306)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559)
at java.lang.Thread.run(Thread.java:619)I guess it is about the expression language i use in my jsp page. I made it work with jsf 1.2 and tomcat 6.0. But i need to do it with tomcat 5.5 now. Is the expression language different with servlet 2.4 version ? My jsp page is below :
<%--
Document : main
Created on : 15.Tem.2008, 17:38:00
Author : brhn
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<f:view>
<h:form id="fileUpload" enctype="multipart/form-data">
<rich:fileUpload
acceptedTypes="txt"
maxFilesQuantity="2"
uploadData="${upload_backing.data}"
fileUploadListener="${upload_backing.fileUploadListener}"
/>
</h:form>
</f:view>
</body>
</html>and my web.xml is this
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<context-param>
<param-name>org.richfaces.SKIN</param-name>
<param-value>blueSky</param-value>
</context-param>
<filter>
<display-name>RichFaces Filter</display-name>
<filter-name>richfaces</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
</filter>
<filter-mapping>
<filter-name>richfaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
</filter-mapping>
</web-app>I cant get what is the problem. Anyone has any idea ? I really need to make this work.Yea i solved the problem. I mean at least i know what is the problem :) As you said richfaces 3.2.0 is not working with jsf 1.1. Richfaces 3.1.6 works fine with it. But the funny thing is there is no file upload component in 3.1.6 version :) So, i am using myfaces.
Maybe you are looking for
-
Hi, Could anybody provide me documents on hr forms tutorials. Points will be rewarded. Thanks and regards, Sameer Dhuke
-
Information Broadcasting in BW 3.5
Hey Everyone, We are currently having an issue with HTML files, unnecessarily changing when the files get updated on a website. We execute the job in the Reporting Agent, to generate the report, and then execute Download Scheduler to download this r
-
I have 5 plug-ins I'm having problems with. Shockwave Flash Shockwave Flash 11.0 r1 ( Apparently they don't even have a Windows Vista update for 64 bit systems? Only Windows 7) Windows Presentation Foundation Windows Presentation Foundation (WPF) plu
-
Color management: Response and addendum
In course of seeking answers to my own question (5/21--photo displays), I saw a whole series of discussions about color and monitor calibration. (Have not but will read.) Although a two-year newbie to Elements, this is one area I believe I have acqui
-
Prohibit certain data in datetime text-item
Hello! I'm trying to prohibit the user from entering the datetime at midnight hour (DD-MON-YYYY 00:00). Basicly the user can tab itself out of the text-item after inserting the day month and year. I want to make it so that he is forced to enter the h