Solved

how to access a Microsoft Access database?

Posted on 2002-05-21
7
223 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying 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
Website being blocked? 3 146
Xampp Not Stopping 9 44
Logs to delete in Windows VCenter server ? 11 1,298
How to ensure a smooth transition to Let's Encrypt SSL Cert? 2 100
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…
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

739 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