Solved

how to access a Microsoft Access database?

Posted on 2002-05-21
7
207 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DNS Question 7 64
ProxyPass - Problem 5 148
Apache timeout remote connection if not port 80 10 82
Internal Server Error on 1&1 Apache Server running PERL 3 15
Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

808 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