Solved

how to access a Microsoft Access database?

Posted on 2002-05-21
7
189 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
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…
This video discusses moving either the default database or any database to a new volume.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

744 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now