Error opening socket connection to Thirdparty vendor

Does (socket.isConnected()){}, works fine in JDK 1.4 ??

It works fine in all versions where it's present but it doesn't do what you're probably expecting. All it does is tell you whether you have ever connected the socket. After you've constructed a Socket with an InetAddress:port, or called connect(), or accepted it from a ServerSocket, isConnected() will return true forever, even after you close it.
It's not an indicator of the state of the connection, it's an indicator of what you have done to the socket, i.e. the endpoint of the connection.

Similar Messages

  • Cannot open socket connection on port 443

    Hi!
    Our server is running on Port 443.
    When I try to Connect from the BlackBerry 9300, an exception is thrown "cannot open socket connection on port 443"
    Can any one please help me in finding the solution to enable the port 443.
    Thank you in advance!
    Regards,
    Vinay

    I assume that you have verified that you can login to the ftp site using a regular ftp client (e.g. Fetch) on the Mac?

  • Error Making Socket Connection

    So, I'm trying to figure this out, I get this error after my code has compiled(Metrowerks CodeWarrior),the little dos run window comes up and afterwards I get this message "Error making socket connection". Anyone ever seen this? I'm running Windows 2000, CodeWarrior 5.0. Any ideas? Thanks

    I've seen it when ive had an error making the socket connection!
    Of course it was easier to fix my problem because I could see the code
    and didnt have to guess it.

  • Keep opened socket connection?

    Hi,
    My Java application communicates with server on average every 3 seconds. I wonder if it is a good idea to keep an opened socket connection to the server and don't open new connection for each request. The problem with this is that if in the meantime is connection aborted, java.net.SocketException is throwned.
    What do you think about keeping opened connection? Is appropriate to work with opened connections or to open new connection for each new request? How do you solve in your applications situation when communication is irregular but frequent.
    Thanks.

    I had one more question on this topic relating to capture and processing exceptions. Communication between client and server I accomplish wit these three classes:
    - ClientRequest - represents client request to the server
    - Communication - gets ClientRequest and socket connection to the server and sends the request to the server
    - ServerResponse - represents response returned from the server
    Now If Communication class gets dead connection it can't work and throws an exception. We discussed that I should find out the situation and suitably respond to this situation.
    My question is whether the method for reconnection should call:
    a) Communication class
    b) class that uses the Communication class?
    c) somebody else (?)
    In case a) there is an advantage that all is in one place and Communication class user does not have to worry about anything beause class will try reconnect itself (if second attempt fails, method throws another exception). The advantage of b) is that the user needs, he can respond to this situation and do some another action.
    Thanks.

  • "COMMUNICATION FAILURE" during JCo call. Error opening RFC connection

    Hi
    I am trying the following scenario
    /people/varadharajan.krishnasamy/blog/2007/05/11/how-to-use-digital-certificates-for-signing-encrypting-messages-in-xi
    In SM 59 test connection of AI_RUNTIME_JCOSERVER throws error " Error opening RFC connection"
    Do I need to activate any service in SICF and do I need to do any IE configuration (sxmb_adm)
    pls let me know the steps to solve this
    thanks
    manian

    Hi Manian,
    pls chk with ABAP system tha tu have given the correct PWD and CLNT No
    Use
    You need to create the following RFC destinations with both transaction SM59 (ABAP) and the Visual Administrator (Java):
    ●     AI_RUNTIME_JCOSERVER
    Points from the Integration Server to the mapping runtime. The program ID corresponds to the entry under JCo RFC provider for the J2EE Engine (used for the mapping runtime, value mapping, and the exchange profile).
    ●     AI_DIRECTORY_JCOSERVER
    Points from the Integration Server to the Integration Builder. The program ID corresponds to the entry under JCo RFC provider for the J2EE Engine (used to refresh the runtime cache).
    ●     LCRSAPRFC
    The RFC destination LCRSAPRFC is required for the connection to the System Landscape Directory (SLD). It is used to read the exchange profile.
    ●     SAPSLDAPI
    The RFC destination SAPSLDAPI is required for the connection to the SLD. It is used by the ABAP API.
    Depending on your client settings, it may be necessary to log on to your Integration Server host as SAP system user with the authorization to maintain customizing tables and to release transport orders.
    User SAP* or DDIC does not have these authorizations
    Thanx
    Sampath

  • Failed to open the connection.Details: [Database Vendor Code: 17 ]

    We have too many reports designed by Crystal Reports XI Release 2 a time ago reports are old but we are calling them in asp.net 4.0 and connection through ODBC Data Sources (Driver SQL SERVER)
    but when we refresh the report we are facing this issue....
    Failed to open the connection.
    Details: [Database Vendor Code: 17 ] Failed to open the connection.
    AP Outstanding Check Run Detailed Ver 2 {CF3B13A2-F259-4B1D-ACC9-BF78F44D4AA5}.rpt
    Details: [Database Vendor Code: 17 ]
    here is the code to set ReportLoginInfo
    CrystalDecisions.Shared.TableLogOnInfo logonInfo = new CrystalDecisions.Shared.TableLogOnInfo();
                string myTableLocation;
                foreach (CrystalDecisions.CrystalReports.Engine.Table myTable in rptDoc.Database.Tables)
                    myTableLocation = myTable.Name;
                    logonInfo = myTable.LogOnInfo;
                    logonInfo.ConnectionInfo.AllowCustomConnection = true;
                    logonInfo.ConnectionInfo.ServerName = ServerName; // dnsname
                    logonInfo.ConnectionInfo.DatabaseName = DatabaseName;
                    if (!(string.IsNullOrEmpty(UserID) || string.IsNullOrEmpty(Password)))
                        logonInfo.ConnectionInfo.UserID = UserID;
                        logonInfo.ConnectionInfo.Password = Password;
                        logonInfo.ConnectionInfo.IntegratedSecurity = false;
                    logonInfo.ConnectionInfo.Type = CrystalDecisions.Shared.ConnectionInfoType.SQL;
                    myTable.ApplyLogOnInfo(logonInfo);
                    myTable.Location = DatabaseName + ".dbo." + myTableLocation;
                    bool success = myTable.TestConnectivity();
    Edited by: zeshansadiq on Nov 4, 2011 3:49 PM

    resolved by me itself.
    Do the following steps:
    1. Open the report in the CR XI designer.
    2. Select Database -> Set Datasource Location.
    3. Set Datasource Location window will appear and in the replace with section connect to the database and replace these tables with the tables in the current datasource by clicking the update button.
    4. After updating close the Set Datasource Location window.
    5. Go to 'Database menu' and Click 'Verify Database' and click on u2019OKu2019.
    6. Preview the report and the save the report.

  • Can not open socket connection

    Hi,
    This code doesn't work on my phone but it works on emulator. What should the reason be? What should I do?
    SocketConnection sc =
    (SocketConnection)Connector.open("socket://MY_SERVER_IP:1111");

    Hi,
    The problem might be becoz of the NAT (Network Address Tranlation). Coz if your server is behind some NAT then, your mobile ll get an ip that all other mobile conneted to that server througth that specific service provider.
    In short, using socketConnection to connect a server, if the server is behind a NAT then all the mobile client connecting to that server ll get same ip, so server dont know to which ip it shold send the response.
    tell me if it helps

  • Too many open socket connections causing ColdFusion to crash?

    I’m currently working on an e-commerce site which sends and receives information to/from the client’s order management system via XML over a TCP/IP socket.  It uses a very old java-based custom tag called CFX_JSOCKET (which appears to have been written in 2002) to open the socket, send the data, and get the response.  The code that calls the custom tag and sends/receives data from the OMS pre-dates my working on the site, but its always worked, so I haven’t paid it much attention.
    Back in the summer of 2009 we started experiencing issues with ColdFusion (v.7 on Window 2003 at the time) locking up on a more and more frequent basis, until it ultimately became a daily issue.  After extensive research we narrowed the issue down to the communication between the web server and our client’s order management server.  It seemed the issue with ColdFusion hanging was either related to there being too many connections open, or to these connections hanging and resulting in dead threads.  This an educated guess based on a blog post I’d seen online, not actual monitoring of either CF or the TCP/IP connections.  As soon as we dialed back the timeout on the CFX_JSOCKET tag from 20 seconds to 10, the issue disappeared, so we left it at that and moved on.
    Fast forward to this January. The site is hosted at a new location, on a 64-bit Windows 2008 box running ColdFusion 9.  Over the years traffic on the site has continued to grow.  The nature of the clients business means that August and January are their business times of the year (back to school for college kids) and in January ColdFusion once again started locking up on an almost-daily basis.  
    One significant difference is that the address cleansing software that previously ran on the box and was used to verify shipping addresses is not available for 64-bit, so when we moved to the new server last summer, that task was moved to the client’s order management software and handled via XML like all other interaction with that system. However, while most XML calls to that server (order input, inventory check, etc) take under a second to complete, the address cleansing call regularly takes over 5 seconds to return data, and frequently times out. 
    Once we eliminated the address cleansing call from the checkout process, ColdFusion once again stopped locking up regularly.  So it appears that once again it’s the communication between the web server and the order management server that’s causing problems. We currently have that address cleansing call disabled on the web site in order to keep ColdFusion from crashing, but that’s not a long term solution.
    We don’t have, nor can I find online, the source code for the CFX_JSOCKET custom tag, so I decided I’d write some CF code utilizing the java methods to open the socket, send the data, get the response, and close the connection.  My test code is working fine (under no load).  However, in trying to troubleshoot an issue I had with it, I started monitoring the TCP/IP connections using TCPView.  And I noticed that all the connections to the order management server, whether opened via the custom tag or my new code, remain open in either a TIME_WAIT or FIN_WAIT2 status for well over 2 minutes, even though I know for a fact that my new code is definitely closing the connection from the web server side. 
    They do all close eventually, but I’m wondering 1. Why they’re remaining open that long; 2. Is that normal; and 3. If all these connections remaining open could be what’s causing ColdFusion to choke. 
    Does this sound plausible?  If so, does anyone have any suggestions/recommendations about how to fix it?  My research seems to indicate this might be a matter of the order management system not closing the connection on its end, but I’m in way over my head, and before I go to client and tell them it’s their OMS causing the issue, I need to feel a little more confident that I’m on the right track. 
    Any help or advice would be very greatly appreciated.  And thanks for taking the time to read through my long-winded explanation of the problem.
    Set-up details:
    ColdFusion Version: 9,0,0,251028  Standard 
    Operating System: Windows Server 2008 
    Java Version: 1.6.0_14 
    Java VM Name: Java HotSpot(TM) 64-Bit Server VM 
    Java VM Version: 14.0-b16 
    Thanks,
    Laurie

    Hi Laurie,
    Not aware of custom tag called CFX_JSOCKET. I guess the process you described very well is consuming a resource then you are getting a problem. Trick is what parameter to adjust. Perhaps you are running out of one the threads in CFadmin > Server Settings > Request Tuning.
    I expect if you enable CF Metrics logging where you can log the threads and other resources then you can find out which parameter needs adjusting. Let me know if you want some details on enabling CF Metrics. Perhaps others will have much better idea than me and help without the overhead of logging.
    The other interesting thing is you are using CF9.0.0. Do you have some reasons for not being on updater1 CF9.0.1?
    HTH, Carl.
    PS I posted before however seems to have gone, just hope does not come back and then I have posted twice.

  • Failed to open the connection. [Database Vendor Code:12154]

    I am brand new to Crystal Reports Server.  I am using Oracle as a database and 10g client on my XP workstations.  I keep getting this message.  I have my ODBC drivers loaded and tested for connection.  I have my Business View set up with the appropriate TNSNAMES.ora and login.  When I run any report, I get this message.  Can anyone tell me where my connection is broken?  It is driving me crazy!
    Thanks, Pam

    Edit: just realized I replied to a 3 years old thread...
    Though Crystal Reports is not my speciality, if you use Oracle, then I assume you are using the Oracle client as middleware, not ODBC, so that is more around the Oracle client you need to investigate rather than the ODBC. Tell me if I missed something here.
    Could you also clarify the OS you are implementing that solution on (32/64bits) and the connectivity you use from Business View (ODBC or Oracle client connectivity?)
    It also struck my mind that the DB vendor error code you get is around ORA-12154 "Could not resolve the connect identifier", which means you have a problem resolving the alias of the DB. This assumption seems to be confirmed by the fact it works from neither Crystal client nor the web interface.
    Edited by: Romain Anselin on Sep 28, 2010 1:57 PM

  • [IBM][JDBC Driver] CLI0616E  Error opening socket. SQLSTATE=08S01

    Hello all,
    I followed all instructions for setting up the driver and url. However, I still got the error message as the subject. My case is that:
    The ejb which tries to connect to a database run on one machine, while the database is on another. I copied runtime.zip, db2java.zip, sqlj.zip and function(directory) into $J2EE_HOME/lib/system and set up J2EE_CLASSPATH correspondingly. I use driver: COM.ibm.db2.jdbc.net.DB2Driver. The url are set as jdbc:db2:<host>:<port>/<dbname>.
    Anyone can give me a hint. Thanks a lot!
    bj

    Hi,, I think I have got this problem figured out,,finally.
    Now here are the possible senarios:
    1. In case you are using COM.ibm.db2.jdbc.net.DB2Driver driver,, you can connect to a remote database by giving the url as:
    jdbc:db2//x.xx.xxx.xx:0000:DBINIT7"
    x.xx.xxx.xx being the ip address of the machine.
    Also on the DB2 server you have to run the applet server
    by executing the db2jstrt script on the DB2 server machine. This will activate the db2 to listen to the client request. You may want to run the db2jstrt with the port option as
    c:\db2jstrt 50000
    Also the port specified in the url does not matter(atleast when I tested the same).
    2. In case you are using
    COM.ibm.db2.jdbc.app.DB2Driver driver,, you will need to install CAE(client application enabler) on your machine and configure the client to create a local reference to the remote db2 server database. There is now way (as far as I know) that .app driver can be used to connect to a remote database without installing CAE(please correct me in case some one knows a way out).
    Above two cases work good in NT/ AIX/ SOLARIS environment.
    Hope this will help, T.. .

  • Socket Connection Error

    Hi,
    I m facing some strange issues in a java file. The requirement is something like, i need to process some business operation , connect to a third party vendor and they need to process some operation in 10 secs and they reverted back with the result. The whole process should complete in 15 secs.
    So for the first time while connection to the third party it is working fine, but for the second time it fails and showing connection failed in the UI. When i retires it is successfully connects. i checked the log file, there it is throwing exceptions some of the time. Please find the piece of code below. From the third party there is no issues from them , all the operations sucessfully done from their side..
    try {
    // open socket connection
    socket = openSocketConnection(host, port, connectTimeOut, responseTimeout);
    if(socket.isConnected()){
    // some steps of business processing.....
    // write request
    // read response
    // set pipeline
    // set error status
    catch(SocketTimeoutException ste){}
    catch (UnknownHostException uhe) {}
    catch (SocketException soe) {}
    catch (Exception e) { }
    finally {
    try {
    if (socket != null)socket.close();
    } catch (Exception e) { }
    // method for connecting the server....
    openSocketConnection(String host, int port, int connectTimeOut, int responseTimeout) throws SocketTimeoutException, ServiceException,IOException {
    Socket socket = null;
    socket = new Socket();
    socket.bind(null);
    socket.connect(new InetSocketAddress(host,port),connectTimeOut);
    if (socket.isConnected()) {
                   socket.setSoTimeout(responseTimeout);
    } else {
         throw new ServiceException("Error opening socket connection to Third party Vendor.");<------- mostly in second time throwing exception, but when retires working fine...
    return socket;
    Can anyone please help me out for this.

    Remove the isConnected() test and associated code: it's contributing nothing here. If the socket itself throws an exception then you have a problem. At the moment all you have is a self-inflicted wound.
    You can also remove the bind(null) call.

  • Creating socket connection error

    My problem is when I have router in local host, my client works fine, but when I move router to an other computer, then creating topic connection gives me error like: error creating socket connection to 127.0.0.1:14001, message: Connection refused: no further information
    (I use port 14001, in local host it works). Why does it dry to connect to localhost? If I put up router in localhost too, it starts sending messages to this one!?
    Anyway maybe this problem might have something to do with changeing the router version (swiftmq1.0 to 2.1.2)?
    Could anyone help me with this one, I'm in big hurry, router and client should work on monday :-(
    Thank You!

    Thanx 4 answer :) neville
    I have the answer allready - just I had to add 1 row in routers properties file, like:
    swiftlet.sys$jms.listeners.plainsocket.bindaddress=192.168.0.1
    It was in the SwiftMQ documentation, but I was to lazy to read all of it. My fault.
    But thanks again for trying to help! And I WILL read that jndi doc.

  • How to enable socket connection?

    I have allowed INTERNET permission, but my socket still blocked.
         <uses-permission android:name="android.permission.INTERNET" />
    If I compile apk with -debug tag, then socket connection works, but my application runs very slow.
    And I dont want to publish a release version with all my debug messages.
    What is the standard way to open socket connection?
    Thanks

                   var s:Socket=new Socket();
                    s.connect("ip_address", "port_number");
                    s.addEventListener(Event.CONNECT, function(event:Event):void{
                        trace('connected!');
                    s.addEventListener(IOErrorEvent.IO_ERROR, function(event:IOErrorEvent):void{
                        trace('error! ' + event.errorID);
                    s.addEventListener(ProgressEvent.SOCKET_DATA, function(event:ProgressEvent):void{
                        var str:String=(event.currentTarget as Socket).readUTF();
    There are examples out there.  Fire up Google Search .

  • [Forms6i - PJC/BeanArea] java.io.IOException: open HTTP connection failed.

    Hi,
    I'm using a pjc on my forms but on runtime i received an error: open HTTP connection failed.
    The output of my java console is :
    Oracle JInitiator: Version 1.3.1.22
    Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
    User home directory = D:\documents and settings\OFV7600
    Proxy Configuration: Automatic Proxy Configuration
    JAR cache enabled
    Location: D:\documents and settings\OFV7600\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Loading http://do040001334/forms60java/f60all.jar from JAR cache
    Loading http://do040001334/hsd65-java/hst65.jar from JAR cache
    Loading http://do040001334/forms60java/classes12.jar.sig from JAR cache
    Loading http://do040001334/forms60java/cadtest.jar.sig from JAR cache
    Loading http://do040001334/forms60java/browser_jpkg.jar.sig from JAR cache
    Loading http://do040001334/forms60java/TutoFichier.jar.sig from JAR cache
    Loading http://do040001334/forms60java/stip.jar.sig from JAR cache
    Loading http://do040001334/forms60java/pkg_scroll.jar.sig from JAR cache
    Loading http://do040001334/forms60java/client.jar.sig from JAR cache
    Loading http://do040001334/forms60java/pkg_geosoft.jar.sig from JAR cache
    Loading http://do040001334/forms60java/cadtest20060320.jar.sig from JAR cache
    connectMode=Socket
    serverHost=DO040001334
    serverPort=9000
    Forms Applet version is : 60824
    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Where is my problem ?
    How to resolve my problem ?
    Thanks

    thanks,
    I had do the classpath
    Now, I have another problem
    Oracle JInitiator: Version 1.3.1.22
    Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
    User home directory = D:\documents and settings\OFV7600
    Proxy Configuration: Automatic Proxy Configuration
    JAR cache enabled
    Location: D:\documents and settings\OFV7600\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Loading http://do040001334/forms60java/f60all.jar from JAR cache
    Loading http://do040001334/hsd65-java/hst65.jar from JAR cache
    Loading http://do040001334/forms60java/classes12.jar.sig from JAR cache
    Loading http://do040001334/forms60java/cadtest.jar.sig from JAR cache
    Loading http://do040001334/forms60java/browser_jpkg.jar.sig from JAR cache
    Loading http://do040001334/forms60java/TutoFichier.jar.sig from JAR cache
    Loading http://do040001334/forms60java/stip.jar.sig from JAR cache
    Loading http://do040001334/forms60java/pkg_scroll.jar.sig from JAR cache
    Loading http://do040001334/forms60java/client.jar.sig from JAR cache
    Loading http://do040001334/forms60java/pkg_geosoft.jar.sig from JAR cache
    Loading http://do040001334/forms60java/cadtest20060320.jar.sig from JAR cache
    connectMode=Socket
    serverHost=DO040001334
    serverPort=9000
    Forms Applet version is : 60824
    _____START CADViewerWrapper() constructor_____
    Running CADViewer 8.0.6d
    Exception =java.security.AccessControlException: access denied (java.io.FilePermission viewer.cfg read)
    java.security.AccessControlException: access denied (java.io.FilePermission viewer.cfg read)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkRead(Unknown Source)
         at java.io.File.isDirectory(Unknown Source)
         at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
         at com.cadviewer.be.a(Unknown Source)
         at com.cadviewer.be.do(Unknown Source)
         at com.cadviewer.e0.m(Unknown Source)
         at com.cadviewer.e0.a(Unknown Source)
         at com.cadviewer.ViewerAWT.<init>(Unknown Source)
         at cadtest20060320.CADViewerWrapper2.<init>(CADViewerWrapper2.java:78)
         at java.lang.Class.newInstance0(Native Method)
         at java.lang.Class.newInstance(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    url=file:/d:/acad_B/es/cat/STIP/Extract/410009.dwf
    url=file:/d:/acad_B/es/cat/STIP/Extract/410009.dwf
    Netscape security model is no longer supported.
    Please migrate to the Java 2 security model instead.
    Netscape security model is no longer supported.
    Please migrate to the Java 2 security model instead.
    protocol=file,fileURL.getHost()=,fileURL.getPort()=-1,fileURL.getFile()=/d:/acad_B/es/cat/STIP/Extract/410009.dwf
    FileToArray url=file:/d:/acad_B/es/cat/STIP/Extract/410009.dwf
    longName=dummy.dwf
    java.lang.NullPointerException
         at java.awt.Container.addImpl(Unknown Source)
         at java.awt.Container.add(Unknown Source)
         at cadtest20060320.CADViewerWrapper2.<init>(CADViewerWrapper2.java:84)
         at java.lang.Class.newInstance0(Native Method)
         at java.lang.Class.newInstance(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    __START CadWrapper public void init
    __END CadWrapper public void init
    What about

  • Studio Creator, Socket Connection to External Device

    I am porting an existing & successful project from Netbeans 3.6 into Studio Creator to take advantage of some of the tools in the IDE for this application. The project requires opening a socket connection from the Server PC to an external Device (PLC) that is a Client on a static IP & a dedicated fixed port.
    I am struggling to get past some security settings specific to AccessControlExceptions. Here is the code method being used to test:
    public String button1_action() {
    // Call methods to open connection, init streams, send command, and close connection.
    try {
    // Open Socket up and accept client connection
    ipSocketObject = new ServerSocket(port);
    bfSocket = ipSocketObject.accept();
    // Establish Streams
    is = new BufferedReader(new InputStreamReader(bfSocket.getInputStream()));
    os = new PrintWriter(bfSocket.getOutputStream(), true);
    System.out.println("Got to here...");
    // Clear the msCounter #13002
    os.println("r13002=0");
    pattern = "13002";
    do{ret=is.readLine();} while ((ret.indexOf(pattern)) ==-1);
    is.close();
    os.close();
    bfSocket.close();
    ipSocketObject.close();
    } catch (IOException e) {
    e.printStackTrace();
    return null;
    The Socket Connection is established, but the command string is not processed before Studio Creator generates a AccessControlException Fault. I have experiemented putting in a SocketPermission statement with out success.
    Is anyone aware of some sample code I might be able to review for opening socket connections to clients in a Studio Creator Application? Please excuse this request if too rudimentary- I am an Industrial Controls guy by trade... :)

    Sorry I know of no such application at this time, and unfortunately have not done socket work myself for many moons....
    What JDK was your previous application written under? I googled for AccessControlException and socket and seems that sometimes accounts for some issues... you can also search for that combination in the forum advanced search and might find something there.... one more long shot suggestion based upon your statement "the command string is not processed".... could it be that you need to flush the stream...?
    Sorry I don't have more to offer...
    v

Maybe you are looking for

  • Solution Manager Urgent Help

    Hi Can u pls guide me where can I get documentation regarding the use of Solution manager. Eg. creating a support notification and responding the notification by the helpdesk/processor until the issue reported is closed. Thanx in Advance

  • 'Easy Set-up' Option - Problem with edit canvas/windows - really need help!

    Hello Everyone. . . Have a problem that i really need help with, i have tried so many different things to sort this - but with no sucess. I usually work in High Definition and i have recently done a small project for someone in DV. When changing to w

  • Full version of a game doesn't work.

    Hello, I purchased the game Royal Envoy 2 (premium) today in the app store on my macbook. But the game doesn't work. If i want to go to level 9 the game tells me that i haven't purchased it yet. When i click on 'buy' the game sends me to the app stor

  • ITunes Store is DOWN for the last four hours

    WTH is going on? It is down. Completely. I googled this and I see it's happening in numerous parts of the USA. It's been down since this morning (Thursday the 8th). Nothing is wrong with my internet. Anything else I need or want to do is fine. ONLY t

  • Creating change pointers for inventory changes

    Hello All,   We want to send the changed inventory information in MARD table for any article and site in field LABST. How do I create a change pointers so that any change to this field is logged in BDCPV table. How do I get that information and send