I can't open any data source
java.security.PrivilegedActionException :
Error opening socket to server localhost on port 21527 with message : null
i 'm using sun java creator .. and the application server is running ..
is there is anything missed ... or what is the tools that must be installed beside the sun java creator to handel databases
plz waiting ur reply..........
# 1
You could try setting the permissions for your application in the appserver's server.policy file, if you haven't looked at that already. Otherwise I don't know. Try something like:
grant codeBase "file:C:/path-to-web-project/TravelReport/build/web/-"{
permission java.security.AllPermission;
};
But with your own path name (and don't use AllPermission in production, either :-)
# 2
hi master
sir i try use ireport i flow setp as per this link
http://developers.sun.com/jscreator/learning/tutorials/2/reports.html
but i fasing problem in blow step
Replace path-to-web-project with the path to the folder that your project is in. For example, you might use something like file:/C:/Documents and Settings/Me/My Documents/Creator/Projects/MyApp/build/web/- for the codebase argument.
Note: You use this path because the IDE deploys a web application to the project's build directory by default. Remember to change the path specification if you use a different project name. Also, note that if you export a JasperReports project to a WAR file, you can use the following path for the codeBase:
file:${com.sun.aas.installRoot}/domains/creator/applications/j2ee-modules/proje ct-name/-
this is my project path
C:\Documents and Settings\Administrator\My Documents\Creator\Projects\TravelReport
please give me idea how set my projct path
thank's
aamir