Solved

how to access a Microsoft Access database?

Posted on 2002-05-21
7
213 Views
Last Modified: 2010-03-04
Hello,

I 've got an apache webserver.  It's just running fine, but now I've got an java-applet on one of the pages.  With this applet you can write data to a Microsoft Access Database.  The problem is I always got errors that it isn't possible.  How can I fix this?
0
Comment
Question by:Pingolin
7 Comments
 
LVL 15

Expert Comment

by:samri
ID: 7023913
What is the error?

If possible, could you post the entries from error_log.
0
 

Author Comment

by:Pingolin
ID: 7023929
This is what I see in java-console:

java.security.policy: error adding Permission, java.util.PropertyPermission:
     java.lang.IllegalArgumentException: invalid actions mask

Ex2 = java.security.AccessControlException: access denied (java.util.PropertyPermission file.encoding read)

My error.log file from Apache is empty.  No errors there
0
 
LVL 15

Accepted Solution

by:
samri earned 50 total points
ID: 7024577
It looks like more of a Java problem to me.  Unfortunately, I do not have much Java experience to narrow down the exact problem.  

When you said it used to be running fine - Are you referring to the same page + same applet?

What happened if you were to open the same page using a browser on the server machine itself?  
Do you (the webserver) have proper permission to write to the Access Database on the server.  Btw, what is the OS platform and Apache version that you are currently running?

---
To be honest - i really have no clue on what is the problem.  What I am trying to get here is to isolate on the possibilities of either the Apache (server) or the Apps (Java) is the problem. TIPS.  Perhaps, you might want to crosspost to Java Topic Area, maybe somebody there might have a clearer understanding.

cheers.
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 16

Assisted Solution

by:The--Captain
The--Captain earned 50 total points
ID: 7050678
Remember, the Java security manager will only allow connections back to the machine that served the applet (or so it has been in the past).  If your applet is attempting to communicate with any other host than the one that your browser downloaded the applet from, you will get security manager errors.

Hope this helps.

Cheers,
-Jon
0
 
LVL 15

Expert Comment

by:periwinkle
ID: 9682163
No comment has been added lately, so it's time to clean up this TA.

I will leave a recommendation in the Cleanup topic area with the following recommendation for this question:

Delete/No Refund

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

periwinkle
EE Cleanup Volunteer
0
 
LVL 16

Expert Comment

by:The--Captain
ID: 9682547
Don't forget to split pts between samri and myself.

Thanks,
-Jon

0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
slow web access in oversea location 3 67
tomcat LDAP authentication issue 3 191
tomcat7  URL keeps resolving to https instead of HTTP 4 67
XAMPP 14 48
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question