This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Where can I find jaxp.properties? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Where can I find jaxp.properties?" Watch "Where can I find jaxp.properties?" New topic
Author

Where can I find jaxp.properties?

stina karlsson
Greenhorn

Joined: Jul 25, 2001
Posts: 4
Hi!
I have made an applet (Banka) and get the error-message attached below. The exceptions occur, when I use DocumentBuilderFactory.newInstance();
Since I don't have a file called jaxp.properties I understand why I get the message, but can anybody tell me where I can get it or how to write the file.
Thanks!
/Stina

****
com.ms.security.SecurityExceptionEx[Banka.getDocumentByURL]: cannot access file C:\WINNT\Java\lib\jaxp.properties
at com/ms/security/permissions/FileIOPermission.check
at com/ms/security/PolicyEngine.deepCheck
at com/ms/security/PolicyEngine.checkPermission
at com/ms/security/StandardSecurityManager.chk
at com/ms/security/StandardSecurityManager.checkRead
at java/io/File.exists
at javax/xml/parsers/DocumentBuilderFactory.findFactory
at javax/xml/parsers/DocumentBuilderFactory.newInstance
at Banka.getDocumentByURL
at Banka.init
at com/ms/applet/AppletPanel.securedCall0
at com/ms/applet/AppletPanel.securedCall
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.run
at java/lang/Thread.run
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5782
You can create one( named jaxp.properties ) under the JRE/lib/ directory.


Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
stina karlsson
Greenhorn

Joined: Jul 25, 2001
Posts: 4
Thanks Ajith!
But the problem is, that I don't know what to write in the properties-file.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Where can I find jaxp.properties?
 
Similar Threads
Applet working on NS not on IE 6...
Running Applet on Web
SecurityExceptionEx -- URGENT help needed
RMI
Is Swing without plugin possible or not?