please help,I have problem with WebLogic jDriver.
description:
when I use ConnectionApplet examples in
d:\weblogic\examples\jdbc\mssqlserver4, i got a error
"weblogic.common.LicenseNotFoundException"
description in detail:
1.install windows nt 4.0 to d:
2.install windows nt 4.0 service pack 5 to d:
3.install IE5 to d:
4.install jdk1.2.2 to d:\jdk1.2.2
5.install mssqlserver 7.0 standard version to d:
6.install weblogic to d:\weblogic
7.unzip mssqlserver4v70rel510.zip file to d:\weblogic,i make sure that there
are a "d: weblogic\mssqlserver4v70\license\WebLogicLicense.xml"
8.set environment in windows nt
add "d:\jdk1.2.2\bin" to "path variable"
add new classpath variable,
"d:\weblogic\mssqlserver4v70\classes;d:\weblogic\mssqlserver4v70\license"
9.go to d:\weblogic\examples\jdbc\mssqlserver4
10. complie it, "javac -d
d:\weblogic\mssqlserver4v70\classesConnectionApplet.java"
11. execute ConnectionApplet.html in"d:\weblogic\examples\jdbc\mssqlserver4"
by using appletviewer
12. i got a error "can not find
d:\weblogic\examples\jdbc\mssqlserver4\examples\jdbc\mssqlserver4\Connection
Applet\class.class". i think the classpath
"d:\weblogic\mssqlserver4v70\classes" did not work.
13 so i copy d:\weblogic\examples\jdbc\mssqlserver4\connectionapplet.html
file to d:\weblogic\mssqlserver4v70\classes
14 go to d:\weblogic\mssqlserver4v70\classes
15 execute it, "appletviewer connectionapplet.html"
16 i got a error
Exception while opening the
connection:java.sql.SQLException:java.sql.SQLException:weblogic.common.Licen
seNotFoundException:java.security.AccessControlException: access denied:
(java.util.PropertyPermission weblogic.system.home read)
17 i make sure sqlserver 7.0 is ok
18 i make sure the classpath
"d:\weblogic\mssqlserver4v70\classes;d:\weblogic\mssqlserver4v70\license"
19. i checked the file d:\weblogic\mssqlserver4v70\WebLogicLicense.xml
20. i checked the license in WebLogicLicense.xml
<LICENSE PRODUCT="jdbcKona/MSSQLServer4" IP="any" UNITS="3">
EXPIRATION="08-Sep-2000" KEY="ac3dd8622cf40ae7daccd4dbe9fb5c75" />
please help, I spent a lot of days in this problem.thank you very much
frank
frank