[jcifs] Getting Davenport to work on Sun App Server

Tony Sze, CLSA tony.sze at clsa.com
Mon Aug 29 03:37:43 GMT 2005

I think it is nothing to do with Davenport. You need to add the following to
server.policy in config directory:
grant {
    // ... bla bla blah
    // Add the following line
    permission java.net.NetPermission "specifyStreamHandler";

-----Original Message-----
From: Jarrah Hands [mailto:jhands at nd.edu.au] 
Sent: Monday, August 29, 2005 11:34 AM
To: jcifs at lists.samba.org
Subject: [jcifs] Getting Davenport to work on Sun App Server



I'm having a bit of an issue getting Davenport working with Sun Application
server. Has anyone else tried this and got it working?


When I connect to the App server ( and attempt to load the
Davenport module I get the error below:


java.io.IOException: An unknown error occurred:
java.security.AccessControlException: access denied (java.net.NetPermission
        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        java.security.AccessController.doPrivileged(Native Method)



I was wondering if this is related to a setting in Davenport (as I'm aware
that it likes to run as Root in Jetty and Tomcat) or is it related to one of
my settings in the Sun App Server? I can get Davenport running perfectly
fine under Jetty and Tomcat. In the past its been a simple thing to deploy
an app from Tomcat to Sun App server.


I'm running the latest version of Sun App server and Davenport.


Any ideas?



Jarrah Hands

Software Engineer (Business Applications)

The University of Notre Dame Australia

19 Mouat Street (PO Box 1225)

Fremantle, Western Australia 6959

Tel: +61 9 9433 05287

Email: jhands at nd.edu.au <mailto:jhands at nd.edu.au> 


Additional information is available upon request
Copyright (c) 2005 CLSA Asia-Pacific Markets. The information and statistical data herein have been obtained from sources we believe to be reliable but in no way are warranted by us as to accuracy or completeness. We do not undertake to advise you as to any change of our views. This is not a solicitation or any offer to buy or sell. CLSA Asia-Pacific Markets has produced this information for private circulation only. All information and advice is given in good faith but without any warranty.  
CLSA Asia-Pacific Markets, its affiliates or companies or individuals connected with CLSA Asia-Pacific Markets may have used the information set forth herein before publication and may have positions in, may from time to time purchase or sell or may be materially interested in any of the securities mentioned or related securities. This information is subject to the terms and conditions of use set forth on the www.clsa.com website.  
Any disclosure(s) in this report, for the purpose of paragraph 16 of the HK SFC Code of Conduct, only reflect(s) the position(s) of the CLSA B.V. Group but do(es) not include the position(s) of Calyon and/or its affiliates. MITA (P) 105/12/2004. V.050101. 

This email is only for the use of the addressee and may contain information which is confidential, privileged or subject to copyright. If you receive this and are not the addressee, please contact the sender or postmaster at clsa.com immediately. Thank you. 

CLSA ASIA-PACIFIC MARKETS http://www.clsa.com

-------------- next part --------------
HTML attachment scrubbed and removed

More information about the jcifs mailing list