• Post Reply Bookmark Topic Watch Topic
  • New Topic

encryption problem  RSS feed

 
ucef youssef
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hy,
i have a problem when i am using a website achtpublic.com when i tryi have to response to a tender , i shoud click on encrypt button, the problem is that when i do this an error message abour read or write problem on the disk.when i verified the logfile i found this:

[19/04/2016 16:55:41] ERROR component.PliEnConstitutionModel method 1 0 : 0 %
[19/04/2016 16:55:41] ERROR lib.EnveloppeNonChiffreeEnConsitutionImpl je passe par class com.achatpublic.sdm.econfiance.tools.model.lib.EnveloppeNonChiffreeEnConsitutionImpl
[19/04/2016 16:55:41] INFO util.RuntimeCounter <<< debut operation chiffrer l'enveloppe : offre-lot1 >>>
[19/04/2016 16:55:41] ERROR lib.EnveloppeNonChiffreeEnConsitutionImpl method 2 0 : 0 %
[19/04/2016 16:55:41] DEBUG lib.PliEnConstitutionImpl chiffrerEnveloppe()
[19/04/2016 16:55:41] DEBUG lib.PliEnConstitutionImpl method 3 680084
[19/04/2016 16:55:41] DEBUG lib.PliEnConstitutionImpl method 3 0 : 0 %
[19/04/2016 16:55:41] DEBUG lib.EnveloppeNonChiffreeEnConsitutionImpl effacerCry FILE + C:\Users\FR001465\.achatpublic\depot\CSL_2011_M3hCzAu3BG_0_1461077697305/offre-lot1
[19/04/2016 16:55:41] ERROR component.ChiffrementInProgress Erreur I/O
java.io.IOException: Accès refusé
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(Unknown Source)
at com.achatpublic.sdm.econfiance.tools.model.lib.PliEnConstitutionImpl.chiffrerEnveloppe(PliEnConstitutionImpl.java:945)
at com.achatpublic.sdm.econfiance.tools.model.lib.EnveloppeNonChiffreeEnConsitutionImpl.chiffrer(EnveloppeNonChiffreeEnConsitutionImpl.java:132)
at com.achatpublic.sdm.econfiance.tools.component.PliEnConstitutionModel.chiffrer(PliEnConstitutionModel.java:354)
at com.achatpublic.sdm.econfiance.tools.component.ChiffrementInProgress$1.run(ChiffrementInProgress.java:237)


i have etsted on another machine with the same java version and it's works but not on other machine

can you help me please??

NB: i'm not a developer
 
Tushar Goel
Ranch Hand
Posts: 934
4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
error stack trace is not in english so it is hard to understand me but for the line "java.io.IOException: Accès refusé " i am guessing
it is saying "access is refused". If that so it means user don't have permission to create file on the computer on which its running.

Please check if proper access is there or not.
 
Winston Gutkowski
Bartender
Posts: 10575
66
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ucef youssef wrote:i have a problem when i am using a website achtpublic.com when i tryi have to response to a tender , i shoud click on encrypt button, the problem is that when i do this an error message abour read or write problem on the disk.when i verified the logfile i found this:

Well
  java.io.IOException: Accès refusé
sounds fairly serious to me.

I suspect you are trying to read from something you don't have access to, or writing to a filesystem you're not allowed to.

Either way, it's something you should probably talk to your administrators about.

HIH

Winston
 
Knute Snortum
Sheriff
Posts: 4274
127
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(Unknown Source)

Definitely trying to create a file on a Windows system (the OP's?) and can't.
 
Campbell Ritchie
Marshal
Posts: 56527
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch you seem to have a answer.
 
ucef youssef
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for your answers but i have verified all the priviliges that i have on the folder .achatpublic
This folder is created automaticlly when we use the website.i have all permissions on it and i have created files manually on it,wich means that i have permissions with my acccount.i have the same permissions on an other laptop and its works correctly.
 
ucef youssef
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And on the website we can do a test about java and read and write priviliges...
The website days that everythin is ok even the write and read priviliges on the disk are ok
 
Carey Brown
Saloon Keeper
Posts: 3310
46
Eclipse IDE Firefox Browser Java MySQL Database VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

If you are trying to create a file exclusively and access is refused, my guess is that the file already exists and may currently be open by some other program or method.
 
ucef youssef
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have also verified is ther anyfolder with the same name but nothing is there.i think that is there a problem when java try to call the certificate to encrypt data on the disk.
I dont know much about this but i should find a solution because its blocking me since two weeks
 
Paul Clapham
Sheriff
Posts: 22819
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If that code is running in a Windows service, then it can't write to a folder unless the service is running as a user which is authorized to write to that folder. If the service is running as one of those generic accounts then it can't even write to a folder whose permissions are "Everyone".

You mentioned a website so I guessed you might be asking about a server.
 
ucef youssef
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No not about a server,but the website should encrypt data on my disk with java i guess and it creates also folders and files
 
Paul Clapham
Sheriff
Posts: 22819
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Someone else's website? How are you getting their log information? Somehow you are asking it to create a file on its hard drive, not on yours.
 
ucef youssef
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Im getting the log file from my computer,there's a folder created by the website on my computer

.achatpublic/logs
 
Paul Clapham
Sheriff
Posts: 22819
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So you are running this website on your computer, then? If so then I expect it is running as a service. See my previous post about how to configure the service.
 
ucef youssef
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't see any post about how to configure the service.and how can i find the service that running but the website on my computer?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!