This is again a 'Trend Micro' problem. Someone (the admin of your machine) seems to have installed something like Trend Micro's InterScan AppletTrap(tm) and it seems to forbid you to open a socket ...
Please look how to change the rules of this antivirus so that it permits you contacting a host via TCP/IP. Alexander Schr�der SAP DB, SAP Labs Berlin > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, March 01, 2004 2:59 PM > To: [EMAIL PROTECTED] > Subject: Problems using jdbc > > > Hello! > > I recently downloaded the actual version of the jdbc-driver > and installed > it. > Then I compiled the Example program from the documents but with some > changes: > > i. database_server ="VIF3711"; (this is my local computer!) > > ii. instance name ="TST74"; (<= there is still a 7.4 instance on my > machine) > > The compilation of the program ran fine. After starting the > program the > following messages appeared: > > Applet is null, cannot report > Exception in thread "main" java.lang.SecurityException: not allowed to > connect t > o 127.0.0.1 > at > com.trend.appscan.runtime.PolicyRuntime.stopAction(PolicyRuntime.java > :124) > at com.trend.appscan.runtime.NetworkPolicyRuntime. > _preFilter(NetworkPoli > cyRuntime.java:103) > at > com.trend.appscan.runtime.NetworkPolicyRuntime.preFilter(NetworkPolic > yRuntime.java:42) > at > com.sap.dbtech.rte.comm.SocketComm.openSocket(SocketComm.java:410) > at > com.sap.dbtech.rte.comm.SocketComm.<init>(SocketComm.java:86) > at > com.sap.dbtech.rte.comm.SocketComm.doInfoRequest(SocketComm.java:270) > > at > com.sap.dbtech.rte.comm.SocketComm.connectDB(SocketComm.java:203) > at > com.sap.dbtech.rte.comm.SocketComm$1.open(SocketComm.java:54) > at > com.sap.dbtech.jdbc.DriverSapDB.openConnection(DriverSapDB.java:600) > at > com.sap.dbtech.jdbc.DriverSapDB.openByURL(DriverSapDB.java:544) > at > com.sap.dbtech.jdbc.DriverSapDB.connect(DriverSapDB.java:170) > at java.sql.DriverManager.getConnection(Unknown Source) > at java.sql.DriverManager.getConnection(Unknown Source) > at HelloSapDB.main(HelloSapDB.java:44) > > And that's it. > > Any hints where especially the first line is comin from. The > application is > clearly not an applet. > I tried to change the server name in "vif3711", "LOCALHOST", > "localhost" > and the IP address but always with the > same error messag. > > Any hints? > > Thanks very much. > > Best Regards, > Stefan > > > -- > MaxDB Discussion Mailing List > For list archives: http://lists.mysql.com/maxdb > To unsubscribe: > http://lists.mysql.com/[EMAIL PROTECTED] > -- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]
