SQLJ translator connection failing

hi, i am trying to verify the sqlj translator connection to the db using the TestInstallSQLJ.sqlj code. i am using jdk1.3/8.1.5+sqlj8.1.6SDK on win98 -> jdk1.2.1/8.1.5 on nt4, and modified the sqlj.properties file appropriately. when i execute sqlj on the Test file, it says it can't load the OracleDriver:
TestInstallSQLJ.sqlj:40.4-40.29: Warning: Cannot load JDBC driver class oracle.jdbc.driver.OracleDriver.
TestInstallSQLJ.sqlj:40.4-40.29: Warning: Unable to perform semantic analysis on connection jdbc:oracle:thin:@<snip> by user <snip>. Error returned by database is: No suitable driver
Total 2 warnings.
Any help is appreciated.
null

You need to have the JDBC classes111.zip (for 1.1.x) or classes12.zip in your CLASSPATH environment variable. Say the following on the command line:
javap oracle.jdbc.driver.OracleDriver
- this should print out the methods on the OracleDriver class. Now say:
sqlj -version-long
This should print out all sorts of version information on SQLJ, JDBC and the JDK you are using. If yes, then you are in business. If it prints out the JDBC driver version as 0.0, then the Oracle JDBC driver is not yet in the CLASSPATH.

Similar Messages

  • Portmap translation creation failed for udp src inside dst inside

    Hi!
    I have a problem with allowing traffic to UC500 subnets on ASA 5505 inside interface.
    My asa is a main router with addres 192.168.1.1
    UC500 voip box is connected to ASA's inside interface through UC500 WAN port with UC500 with 192.168.1.2 address.
    Firewall and NAT on UC500 is disable
    UC500 sip traffic works fine. voipbox creates its subnets for data and voip - 192.168.10.0 and 10.1.1.0. another important address is 10.1.10.1 which is UC500 CUE.
    My problem is that from within ASA local network (192.168.1.0) i cannot reach UC500 subnets, neither can I reach ASA's local network from the UC subnets.
    the log says
    3
    Sep 07 2013
    00:21:49
    DC
    53
    PBXCUE
    32901
    portmap translation creation failed for udp src inside:DC/53 dst inside:PBXCUE/32901
    I tried exempting uc500 subnets on ASA but that didn;t work.
    Funny thing is that I CAN reach the UC500 subnets when connecting with VPN to ASA...
    Please help! I am not familiar with CLI.
    I configured static route to 10.1.10.0 and since then I was able to ping 10.1.10.1 thorugh ASA;s VPN.
    I would be grateful for ideas.
    Lukasz
    global (inside) 1 interface
    global (outside) 101 interface
    nat (inside) 0 access-list inside_nat0_outbound
    nat (inside) 101 0.0.0.0 0.0.0.0
    static (inside,outside) tcp interface https IIS https netmask 255.255.255.255  dns tcp 200 200 udp 200
    static (inside,outside) tcp interface www IIS www netmask 255.255.255.255  dns tcp 200 200 udp 200
    static (inside,outside) tcp interface smtp IIS smtp netmask 255.255.255.255  dns
    static (inside,outside) tcp interface pop3 IIS pop3 netmask 255.255.255.255  dns
    static (inside,outside) udp interface domain RenBetPBX domain netmask 255.255.255.255  dns
    static (inside,outside) udp interface 5061 RenBetPBX 5061 netmask 255.255.255.255  dns
    static (inside,outside) udp interface sip RenBetPBX sip netmask 255.255.255.255  dns
    static (inside,outside) tcp interface 13000 SQL 13000 netmask 255.255.255.255  dns
    access-group inside_access_in in interface inside
    access-group outside_access_in in interface outside
    route outside 0.0.0.0 0.0.0.0 x.x.x.x
    route inside PBXCUE-network 255.255.255.0 RenBetPBX 1
    timeout xlate 3:00:00
    timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
    timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
    timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
    timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
    timeout tcp-proxy-reassembly 0:01:00
    dynamic-access-policy-record DfltAccessPolicy

    Hello Julio!
    Thank you for your advice.
    I have managed to solve my main problem by reconfiguring my switches vlans - enabling trunk port configs for required ports and allowing them access to both vlans.
    Now I can see everything from all of my inside networks.
    I continue my ASA adventures - I have managed to configure L2TP client access for my windows users, RADIUS authentication for domain users and yesterday night I have managed to configure site to site VPN with my RV120W router.
    I am only an enthusiast but my recent successes have given me apetite for more...
    I keep reading forums and trying to solve most of my problems myself but I have faced another one now and thought that maybe you could give me another tip on where to look for the issue:
    I still have one problem with my L2TP VPN config - I have configured split tunnel on the group policy to tunnel only 192.168.1.0 network requests.
    access-list DefaultRAGroup_splitTunnelAcl standard permit 192.168.1.0 255.255.255.0
    My network at home is 192.168.2.0 but it still tunnels everything (when I check my ip after connecting to VPN my home laptop still identifies with ASA gateway(!) address .
    access-list outside_access_in extended permit icmp any interface outside object-group DM_INLINE_ICMP_1
    access-list outside_access_in extended permit tcp any interface outside object-group DM_INLINE_TCP_1
    access-list outside_access_in extended permit tcp any interface outside eq smtp
    access-list outside_access_in extended permit tcp any interface outside eq 8080
    access-list outside_access_in extended permit tcp any interface outside eq 23456
    access-list outside_access_in extended permit object-group DM_INLINE_SERVICE_1 object-group DM_INLINE_NETWORK_1 any
    access-list outside_access_in extended permit tcp any interface outside eq 13000
    access-list outside_access_in extended permit tcp any interface outside range 8001 8016
    access-list outside_access_in extended permit tcp x.x.x.x 255.255.255.0 interface outside eq ssh
    access-list inside_nat0_outbound extended permit ip any 192.168.1.240 255.255.255.240
    access-list inside_nat0_outbound extended permit ip any PBXVOIP-network 255.255.255.0
    access-list inside_nat0_outbound extended permit ip any PBXCUE-network 255.255.255.0
    access-list inside_nat0_outbound extended permit ip 192.168.1.0 255.255.255.0 igolomska-network 255.255.255.0
    access-list inside_access_in extended permit udp object-group DM_INLINE_NETWORK_2 any object-group DM_INLINE_UDP_1
    access-list inside_access_in extended permit ip host IIS any
    access-list inside_access_in extended permit ip any any
    access-list inside_access_in extended permit ip host RBSTORE_NAS any
    access-list inside_access_in extended deny udp any any object-group DM_INLINE_UDP_2
    access-list inside_access_in extended permit tcp any any eq 5432
    access-list inside_access_in extended permit tcp any host PBXCUE eq www
    access-list inside_access_in extended permit tcp host PBXCUE any eq www
    access-list inside_access_in extended permit tcp host RBCAMSTORE_NAS host EXCH-MBX eq smtp
    access-list inside_access_in extended permit tcp host RBSTORE_NAS host EXCH-MBX eq smtp
    access-list inside_access_in extended permit tcp host RENBETUPS host EXCH-MBX eq smtp
    access-list inside_access_in extended permit tcp host RenBetPBX host EXCH-MBX eq smtp
    access-list DefaultRAGroup_splitTunnelAcl standard permit 192.168.1.0 255.255.255.0
    access-list outside_1_cryptomap extended permit ip 192.168.1.0 255.255.255.0 igolomska-network 255.255.255.0
    route print shows:
    and 192.168.1.240 is my VPN IP - its metric has higher priority than the local gateway.
    How do I change it?
    Active Routes:
    Network Destination        Netmask          Gateway       Interface  Metric
              0.0.0.0          0.0.0.0      192.168.2.1    192.168.2.126   4250
              0.0.0.0          0.0.0.0         On-link     192.168.1.240     21
          80.51.24.22  255.255.255.255      192.168.2.1    192.168.2.126   4251
            127.0.0.0        255.0.0.0         On-link         127.0.0.1   4531
            127.0.0.1  255.255.255.255         On-link         127.0.0.1   4531
      127.255.255.255  255.255.255.255         On-link         127.0.0.1   4531
          169.254.0.0      255.255.0.0         On-link     192.168.2.126   4506
      169.254.104.126  255.255.255.255         On-link     192.168.2.126   4506
      169.254.255.255  255.255.255.255         On-link     192.168.2.126   4506
        192.168.1.240  255.255.255.255         On-link     192.168.1.240    276
          192.168.2.0    255.255.255.0         On-link     192.168.2.126   4506
        192.168.2.126  255.255.255.255         On-link     192.168.2.126   4506
        192.168.2.255  255.255.255.255         On-link     192.168.2.126   4506
            224.0.0.0        240.0.0.0         On-link         127.0.0.1   4531
            224.0.0.0        240.0.0.0         On-link     192.168.2.126   4506
            224.0.0.0        240.0.0.0         On-link     192.168.1.240     21
      255.255.255.255  255.255.255.255         On-link         127.0.0.1   4531
      255.255.255.255  255.255.255.255         On-link     192.168.2.126   4506
      255.255.255.255  255.255.255.255         On-link     192.168.1.240    276
    ===========================================================================
    I am starting to feel like I am using a bit too much of your friendliness ...
    Best Regards and have a great day!
    Lukasz

  • VPN problem behind ASA5505 -regular translation creation failed for protocol 50

    Dear All,
    I have to connect behind my ASA5505 with an VPN klient to an other site.
    First time i got this failure.
    "Deny protocol 50 src inside:192.168.50.X dst  outside:x.x.x.x by access-group "acl_in" [0x0, 0x0]"
    Than I opened our inside (src 192.168.50.0) network  the UDP 500,4500 TCP 500,4500,10000 and ESP (dest x.x.x.x remote firewall ip).
    access-list acl_in extended permit esp host 192.168.50.0  host x.x.x.x eq isakmp
    access-list acl_in extended permit udp host 192.168.50.0  host x.x.x.x eq 500
    access-list acl_in extended permit eudp host 192.168.50.0  host x.x.x.x eq 4500
    etc.
    After that i could connect for the remote firewall with vpn client but i couldn't reach any PC1s on there side and ping gives back no anwser.
    Deny protocol 50 was solved but i got an other problem:
    "regular translation creation failed for protocol 50 src  inside:192.168.50.X dst outside:x.x.x.x"
    I found somewhere thet lines can help:
    crypto isakmp nat-traversal
    inspect ipsec-pass-thru
    But this wasn't usefull.
    I tried a many thing but i'm stuck.
    Could somebody help me what can i do to solve this problem?
    Thanks for all anwsers!

    The solution was the following for one IP!
    object network x.x.x.x                      (inside IP)
       host x.x.x.x                                  (inside IP)
       nat (inside,outside) static y.y.y.y     (remote IP)

  • Mail: "connection failed", problem associated with software update

    When I attempt to get mail, I frequently get a symbol on the side panel of an encircled triangle enclosing an exclamation point. If I click on the symbol, I get a message that says (condensed): “connection failed, check settings for your POP account, server error encountered, connection timed out on port 0, do you want to stay offline or go online.” If I click go online, the usual spinning circle appears and then sometimes I get my mail. Sometimes I have to repeat the process several times before I get mail. I am, of course, always online; the connection has never failed. This problem started some time ago after I updated Apple software. I called my ISP and they made a few changes in my mail preferences, but that didn't help. I used disc utility to repair disc permissions and that helped but (strangely enough) only for a few days. This problem was discussed several years ago in message #1724339 but nobody could solve it. Can anyone solve it now? Thanks. Robert Pollock

    Hi Wolfgang,
    check out the "Nokia 808 Belle FP1 bug: WLAN works, but not all ap..." thread. Looks like you are having the same issue, and there's quite some info on this issue in that thread. The issue must be related to Symbian Belle somehow, since Anna and S60v5 are reported to perform well under the same conditions.
    Best regards,
    Tobias
    www.tf-translate.net
    www.deutscheschule.kiev.ua

  • SQLJ Translation does not create profile file

    SQLJ Translation does not create profile file.
    After translating a small file HelloWorld.sqlj
    the following files are created:
    HelloWorld_SJProfileKeys.class
    HelloWorld.class
    HelloWorld.java
    Although there is a HelloWorld_SJProfileKeys.class, profile file HelloWorld_SJProfile0.ser has NOT been created.
    The starting file .sqlj file HelloWorld.sqlj is taken from O'Reilly book 'Java Programming with Oracle SQLJ' by Jason Price. The file contains a valid SQL statement to display the date.
    My environment variables were set up with instructions from:
    http://www.onjava.com/pub/a/onjava/2001/12/05/learning_sqlj.html
    When I run java HelloWorld to run the .java file, I get the error:
    SQLException java.sql.SQLException: profile HelloWorld_SJProfile0 not found: java.lang.ClassNotFoundException: HelloWorld_SJProfile0
    I searched the internet high and low for a similar error to mine but I could not find a match.
    I read the following text from http://otn.oracle.com/tech/java/sqlj_jdbc/htdocs/faq.html#translationerrors
    but it does not help me.
    "ClassNotFoundException: xxx.yyy_SJProfile0 for class xxx.yyy_SJProfileKeys
    If you see an exception such as:
    java.sql.SQLException: profile xxx.yyy_SJProfile0 not found:
    java.lang.ClassNotFoundException:
    xxx.yyy_SJProfile0 for class xxx.yy_SJProfileKeys
    then you must ensure that the SQLJ profile(s), such as xxx/yyy_SJProfile0.ser, is available in the SQLJ runtime environment. This includes JARing this file as part of an applet deployment, or publishing it to the server via loadjava.
    Any ideas? Thanks in advance,
    John
    Helloworld.sqlj before translation:
    The program HelloWorld.sqlj illustrates how to connect to a
    database, and display the words "Hello World" along with
    the current date.
    // import required packages
    import java.sql.Date;
    import java.sql.SQLException;
    import oracle.sqlj.runtime.Oracle;
    public class HelloWorld {
    public static void main(String [] args) {
    java.sql.Date current_date;
    try {
    // connect to the database
    Oracle.connect(
    "jdbc:oracle:thin:@localhost:1521:orac",
    "scott",
    "tiger"
    // get the current date from the database
    #sql { SELECT sysdate INTO :current_date FROM dual };
    // display message
    System.out.println("Hello World! The current date is " +
    current_date);
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } finally {
    try {
    // disconnect from the database
    Oracle.close();
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } // end of main()
    HelloWorld.java after translation:
    /*@lineinfo:filename=HelloWorld*//*@lineinfo:user-code*//*@lineinfo:1^1*//*
    The program HelloWorld.sqlj illustrates how to connect to a
    database, and display the words "Hello World" along with
    the current date.
    // import required packages
    import java.sql.Date;
    import java.sql.SQLException;
    import oracle.sqlj.runtime.Oracle;
    public class HelloWorld {
    public static void main(String [] args) {
    java.sql.Date current_date;
    try {
    // connect to the database
    Oracle.connect(
    "jdbc:oracle:thin:@localhost:1521:orcl",
    "scott",
    "tiger"
    // get the current date from the database
    /*@lineinfo:generated-code*//*@lineinfo:28^7*/
    // #sql { SELECT sysdate  FROM dual  };
    sqlj.runtime.profile.RTResultSet __sJT_rtRs;
    sqlj.runtime.ConnectionContext __sJT_connCtx = sqlj.runtime.ref.DefaultContext.getDefaultContext();
    if (__sJT_connCtx == null) sqlj.runtime.error.RuntimeRefErrors.raise_NULL_CONN_CTX();
    sqlj.runtime.ExecutionContext __sJT_execCtx = __sJT_connCtx.getExecutionContext();
    if (__sJT_execCtx == null) sqlj.runtime.error.RuntimeRefErrors.raise_NULL_EXEC_CTX();
    synchronized (__sJT_execCtx) {
    sqlj.runtime.profile.RTStatement __sJT_stmt = __sJT_execCtx.registerStatement(__sJT_connCtx, HelloWorld_SJProfileKeys.getKey(0), 0);
    try
    sqlj.runtime.profile.RTResultSet __sJT_result = __sJT_execCtx.executeQuery();
    __sJT_rtRs = __sJT_result;
    finally
    __sJT_execCtx.releaseStatement();
    try
    sqlj.runtime.ref.ResultSetIterImpl.checkColumns(__sJT_rtRs, 1);
    if (!__sJT_rtRs.next())
    sqlj.runtime.error.RuntimeRefErrors.raise_NO_ROW_SELECT_INTO();
    current_date = __sJT_rtRs.getDate(1);
    if (__sJT_rtRs.next())
    sqlj.runtime.error.RuntimeRefErrors.raise_MULTI_ROW_SELECT_INTO();
    finally
    __sJT_rtRs.close();
    /*@lineinfo:user-code*//*@lineinfo:28^58*/
    // display message
    System.out.println("Hello World! The current date is " +
    current_date);
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } finally {
    try {
    // disconnect from the database
    Oracle.close();
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } // end of main()
    }/*@lineinfo:generated-code*/class HelloWorld_SJProfileKeys
    private static HelloWorld_SJProfileKeys inst = null;
    public static java.lang.Object getKey(int keyNum)
    throws java.sql.SQLException
    if (inst == null)
    inst = new HelloWorld_SJProfileKeys();
    return inst.keys[keyNum];
    private final sqlj.runtime.profile.Loader loader = sqlj.runtime.RuntimeContext.getRuntime().getLoaderForClass(getClass());
    private java.lang.Object[] keys;
    private HelloWorld_SJProfileKeys()
    throws java.sql.SQLException
    keys = new java.lang.Object[1];
    keys[0] = sqlj.runtime.ref.DefaultContext.getProfileKey(loader, "HelloWorld_SJProfile0");
    }

    SQLJ Translation does not create profile file.
    After translating a small file HelloWorld.sqlj
    the following files are created:
    HelloWorld_SJProfileKeys.class
    HelloWorld.class
    HelloWorld.java
    Although there is a HelloWorld_SJProfileKeys.class, profile file HelloWorld_SJProfile0.ser has NOT been created.
    The starting file .sqlj file HelloWorld.sqlj is taken from O'Reilly book 'Java Programming with Oracle SQLJ' by Jason Price. The file contains a valid SQL statement to display the date.
    My environment variables were set up with instructions from:
    http://www.onjava.com/pub/a/onjava/2001/12/05/learning_sqlj.html
    When I run java HelloWorld to run the .java file, I get the error:
    SQLException java.sql.SQLException: profile HelloWorld_SJProfile0 not found: java.lang.ClassNotFoundException: HelloWorld_SJProfile0
    I searched the internet high and low for a similar error to mine but I could not find a match.
    I read the following text from http://otn.oracle.com/tech/java/sqlj_jdbc/htdocs/faq.html#translationerrors
    but it does not help me.
    "ClassNotFoundException: xxx.yyy_SJProfile0 for class xxx.yyy_SJProfileKeys
    If you see an exception such as:
    java.sql.SQLException: profile xxx.yyy_SJProfile0 not found:
    java.lang.ClassNotFoundException:
    xxx.yyy_SJProfile0 for class xxx.yy_SJProfileKeys
    then you must ensure that the SQLJ profile(s), such as xxx/yyy_SJProfile0.ser, is available in the SQLJ runtime environment. This includes JARing this file as part of an applet deployment, or publishing it to the server via loadjava.
    Any ideas? Thanks in advance,
    John
    Helloworld.sqlj before translation:
    The program HelloWorld.sqlj illustrates how to connect to a
    database, and display the words "Hello World" along with
    the current date.
    // import required packages
    import java.sql.Date;
    import java.sql.SQLException;
    import oracle.sqlj.runtime.Oracle;
    public class HelloWorld {
    public static void main(String [] args) {
    java.sql.Date current_date;
    try {
    // connect to the database
    Oracle.connect(
    "jdbc:oracle:thin:@localhost:1521:orac",
    "scott",
    "tiger"
    // get the current date from the database
    #sql { SELECT sysdate INTO :current_date FROM dual };
    // display message
    System.out.println("Hello World! The current date is " +
    current_date);
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } finally {
    try {
    // disconnect from the database
    Oracle.close();
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } // end of main()
    HelloWorld.java after translation:
    /*@lineinfo:filename=HelloWorld*//*@lineinfo:user-code*//*@lineinfo:1^1*//*
    The program HelloWorld.sqlj illustrates how to connect to a
    database, and display the words "Hello World" along with
    the current date.
    // import required packages
    import java.sql.Date;
    import java.sql.SQLException;
    import oracle.sqlj.runtime.Oracle;
    public class HelloWorld {
    public static void main(String [] args) {
    java.sql.Date current_date;
    try {
    // connect to the database
    Oracle.connect(
    "jdbc:oracle:thin:@localhost:1521:orcl",
    "scott",
    "tiger"
    // get the current date from the database
    /*@lineinfo:generated-code*//*@lineinfo:28^7*/
    // #sql { SELECT sysdate  FROM dual  };
    sqlj.runtime.profile.RTResultSet __sJT_rtRs;
    sqlj.runtime.ConnectionContext __sJT_connCtx = sqlj.runtime.ref.DefaultContext.getDefaultContext();
    if (__sJT_connCtx == null) sqlj.runtime.error.RuntimeRefErrors.raise_NULL_CONN_CTX();
    sqlj.runtime.ExecutionContext __sJT_execCtx = __sJT_connCtx.getExecutionContext();
    if (__sJT_execCtx == null) sqlj.runtime.error.RuntimeRefErrors.raise_NULL_EXEC_CTX();
    synchronized (__sJT_execCtx) {
    sqlj.runtime.profile.RTStatement __sJT_stmt = __sJT_execCtx.registerStatement(__sJT_connCtx, HelloWorld_SJProfileKeys.getKey(0), 0);
    try
    sqlj.runtime.profile.RTResultSet __sJT_result = __sJT_execCtx.executeQuery();
    __sJT_rtRs = __sJT_result;
    finally
    __sJT_execCtx.releaseStatement();
    try
    sqlj.runtime.ref.ResultSetIterImpl.checkColumns(__sJT_rtRs, 1);
    if (!__sJT_rtRs.next())
    sqlj.runtime.error.RuntimeRefErrors.raise_NO_ROW_SELECT_INTO();
    current_date = __sJT_rtRs.getDate(1);
    if (__sJT_rtRs.next())
    sqlj.runtime.error.RuntimeRefErrors.raise_MULTI_ROW_SELECT_INTO();
    finally
    __sJT_rtRs.close();
    /*@lineinfo:user-code*//*@lineinfo:28^58*/
    // display message
    System.out.println("Hello World! The current date is " +
    current_date);
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } finally {
    try {
    // disconnect from the database
    Oracle.close();
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } // end of main()
    }/*@lineinfo:generated-code*/class HelloWorld_SJProfileKeys
    private static HelloWorld_SJProfileKeys inst = null;
    public static java.lang.Object getKey(int keyNum)
    throws java.sql.SQLException
    if (inst == null)
    inst = new HelloWorld_SJProfileKeys();
    return inst.keys[keyNum];
    private final sqlj.runtime.profile.Loader loader = sqlj.runtime.RuntimeContext.getRuntime().getLoaderForClass(getClass());
    private java.lang.Object[] keys;
    private HelloWorld_SJProfileKeys()
    throws java.sql.SQLException
    keys = new java.lang.Object[1];
    keys[0] = sqlj.runtime.ref.DefaultContext.getProfileKey(loader, "HelloWorld_SJProfile0");
    }

  • X2go : "Connection failed sh: 1: x2golistsessions: not found"

    i am trying to connect to a school computer via x2go. I can connect via ssh to the server and start x programs via x-forwarding and such. However i cannot connect via x2go in any way. I do not have admin permissions on the school computer but i can start a gnome session with the command "gnome-session".
    However when i start x2goclient and try to connect using in my opinion the same settings i get this error
    Connection failed sh: 1: x2golistsessions: not found
    The complete terminal output from the program during one try is :
    [username@hostname ~]$ x2goclient
    ONMainWindow constructor
    Can't load translator (:/x2goclient_en_us) !
    Can't load translator :/qt_en_US
    ONMainWindows constructor finished, home Directory is: "/home/username"
    read 1 sessions from config file
    start new ssh connection to server: "my.school.adress" : "22" krb: false
    ssh connection ok
    continue normal x2go session
    close event
    saving settings
    done
    waiting sshConnection to finish
    sshConnection is closed
    help please

    Hello,
    personally I think that in step 3/5 the connection via JCO is tested. Please, check the following
    Can you connect to your B1i System and have a look for the SLD, there should be a system that points to your company database. If there is a system definition that points to B1if then go further. Check the B1if connection, please take the B1DI connection test, is there a message like
    com.sap.b1i.adapter.dia.exception.ConnectionFailedException: Connect to Business One failed.
    (-8012) Company version mismatch
    {b1Server=..., company=B1if, licenseServer=..., dbType=..., dbUser=..., userName=...}
    In case this message comes up and you see B1if then the JCO configuration went wrong and that part is defined in the beginning of the installation.
    Hope it helps
    Kind Regards

  • JDev specifying SQLJ translator command line options

    Hi,
    I have come across the problem of SQLJ connections caching up to 5 sql commands and so leaving any related cursors open. This is happening mainly for statments where I have executed a SELECT ... INTO ... Any sqlj with iterators, I have closed the iterators so they do get removed and their cursors closed.
    I have found that caching can be switched off via the SQLJ translator command line option -P-Cstmtcache=0.
    How can I specify this command line option within my JDeveloper project settings? I don't want to have to build my project from the command line explicitly as this will complicate the Release Software Build procedure.
    Can anyone help me, please?
    Thanks a lot.

    Can anyone offer any words of wisdom on this? We are currently using JDeveloper 3.1 (Build 681)

  • I receive an error in Firefox 4.0 Beta 11: Secure Connection Failed An error occurred during a connection. Renegotiation is not allowed on this SSL socket. (Error code: ssl_error_renegotiation_not_allowed) Anyone know how to fix this?

    I have installed the Firefox 4.0 Beta 11 (+updates), I try to connect to our https: website and I receive the following error:
    Secure Connection Failed An error occurred during a connection.
    Renegotiation is not allowed on this SSL socket.
    (Error code: ssl_error_renegotiation_not_allowed)
    I have installed this certificate on Firefox 3.6.13 and I am able to connect to our HTTPS site but it will not work with the Beta 4.0 11

    I read about this for ages. I had problems setting up a certificate for my online banking. This one solution genuinely worked for me (finally!) ...Fingers crossed it will for you too:
    1) In the address bar type in '''about:config''' ...Firefox will say it's dangerous, but I just went ahead anyway lol - It's fine. Thank god there's always an edit-undo!
    2) Copy and paste this into the ''filter'' at the top: '''security.ssl.allow_unrestricted_renego_everywhere'''
    3) Then change ''false'' to ''true'' (I think I just clicked it, and it changed)
    That's it! Refresh your bank page, and it should work!
    (Spanish source: '''http://translate.google.com/translate?sl=es&tl=en&js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&u=http%3A%2F%2Fwww.fedora-ve.org%2F2011%2F09%2F14%2Ferror-error-code-ssl_error_renegotiation_not_allowed-en-firefox-4-x.html&act=url''')

  • Error Message "Connection failed" appears periodically

    Hello
    Several times daily the following error message (translated roughly from German) appears on a MacBook Pro with 10.6:
    Network Connection
    The connection failed, because the communication device is not available. Make sure that it is connected to your computer and try again to establish a connection.
    http://homepage.mac.com/peewee/misc/ncf.jpg
    I remember this icon from the app Network-Connection in previous versions of OS X, but it is not on that Mac anymore or i can't find it.
    How can I get rid of this Message? Ethernet and Airpot networks work fine. The mac was never set up to use a modem or a cellphone network connection, at least not intendedly.
    PeeWee

    The message is not specific to a modem connection. The computer thinks your primary network device is down. Maybe it's renewing a DHCP lease or there's some other issue. Check your network devices order in the Network Preferences panel to be sure the device you're using is the top one in the list.

  • SQLJ Translator problem

    I get the following error message when trying to compile a SQLJ
    applet under Windows 95.
    I've previously managed to compile and run simple SQLJ programs
    successfully.
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    unexpected error occurred...
    java.lang.NoClassDefFoundError:
    LDatabase;Lsqlj/runtime/profile/RTResultSet;)V
    at java.lang.Class.getDeclaredConstructors(Compiled Code)
    at
    sqlj.framework.JSClass$ClassWrapper.getDeclaredConstructors
    (Compiled Code)
    at
    sqlj.framework.JSClass.getMaximallySpecificConstructors(Compiled
    Code)
    at sqlj.framework.JSClass.resolveConstructor
    (JSClass.java:1136)
    at sqlj.codegen.IteratorMetaData.getBaseIterator
    (IteratorMetaData.java:75)
    at sqlj.codegen.IteratorMetaData.<init>
    (IteratorMetaData.java:63)
    at sqlj.codegen.ExecCodegen.addResultTypes(Compiled Code)
    at sqlj.codegen.ExecCodegen.getExecStmt
    (ExecCodegen.java:336)
    at sqlj.codegen.ExecCodegen.createExecStmt
    (ExecCodegen.java:128)
    at sqlj.codegen.ExecCodegen.createGenerator
    (ExecCodegen.java:63)
    at sqlj.codegen.ExecCodegen.generate
    (ExecCodegen.java:560)
    at sqlj.codegen.BaseCodegen.generate(BaseCodegen.java:28)
    at sqlj.codegen.ParseletFactory$ParseletImpl.generate
    (ParseletFactory.java:115)
    at sqlj.syntax.SqljParselet.generate
    (SqljParselet.java:128)
    at
    sqlj.javac.JavaParserSubTokenManager$PositionedParselet.generate
    (JavaParserSubTokenManager.java:171)
    at
    sqlj.javac.JavaParserSubTokenManager$TokenManagerParselet.generat
    e(Compiled Code)
    at sqlj.javac.ASTCompilationUnit.generate(Compiled Code)
    at sqlj.translator.Translator.translate(Compiled Code)
    at sqlj.translator.Translator.translate
    (Translator.java:170)
    at sqlj.translator.Main.translate(Compiled Code)
    at sqlj.translator.Main.runTranslation(Main.java:92)
    at sqlj.translator.Main.runTranslation(Main.java:85)
    at sqlj.tools.Sqlj.statusMain(Compiled Code)
    at sqlj.tools.Sqlj.main(Sqlj.java:117)
    Database.sqlj: Error: Exception caught:
    Total 1 error.
    >>>>>>>>>>>>>>>>>>>>>>>>>>>
    The applet code is listed below
    >>>>>>>>>>>>>>>>>>>>>>>>>>>
    import java.applet.Applet;
    import java.awt.Graphics;
    import java.sql.*;
    import sqlj.runtime.*;
    import sqlj.runtime.ref.*;
    import sqlj.runtime.profile.*;
    import oracle.sqlj.runtime.*;
    #sql context MyContext;
    #sql iterator SalesIter( String ITEM_NAME, float COST );
    public class Database extends Applet {
    String buffer = new String ();
    public void init()
    { MyContext mctx = new MyContext
    ("jdbc:oracle:thin@ntastlab:1521:lab8","training","training",fals
    e);
    System.out.println ("Connected to the database");
    public void start()
    SalesIter siter = null;
    #sql siter = {SELECT ITEM_NAME, COST FROM SALES };
    while (siter.next())
    buffer = buffer + siter.ITEM_NAME() + siter.COST ();
    repaint ();
    siter.close ();
    public void stop()
    public void destroy()
    public void paint(Graphics g) {
    g.drawString(buffer, 50, 25);
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Any ideas ??
    null

    The problem occurs when SQLJ tries to determine the type
    of the iterator SalesIter which is in your source.
    But I do not know, what that problem actually is.
    What version of javac? of sqlj? (JDK 1.2 does not work
    before SQLJ 8.1.6 SDK-Beta).
    What is in your PATH/CLASSPATH?
    What happens when you put SalesIter in SalesIter.sqlj:
    #sql public iterator SalesIter (...);
    and add this to your SQLJ command line?
    Dominic Lawson (guest) wrote:
    : I get the following error message when trying to compile a SQLJ
    : applet under Windows 95.
    : I've previously managed to compile and run simple SQLJ programs
    : successfully.
    : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    : unexpected error occurred...
    : java.lang.NoClassDefFoundError:
    : LDatabase;Lsqlj/runtime/profile/RTResultSet;)V
    : at java.lang.Class.getDeclaredConstructors(Compiled Code)
    : at
    : sqlj.framework.JSClass$ClassWrapper.getDeclaredConstructors
    : (Compiled Code)
    : at
    sqlj.framework.JSClass.getMaximallySpecificConstructors(Compiled
    : Code)
    : at sqlj.framework.JSClass.resolveConstructor
    : (JSClass.java:1136)
    : at sqlj.codegen.IteratorMetaData.getBaseIterator
    : (IteratorMetaData.java:75)
    : at sqlj.codegen.IteratorMetaData.<init>
    : (IteratorMetaData.java:63)
    : at sqlj.codegen.ExecCodegen.addResultTypes(Compiled Code)
    : at sqlj.codegen.ExecCodegen.getExecStmt
    : (ExecCodegen.java:336)
    : at sqlj.codegen.ExecCodegen.createExecStmt
    : (ExecCodegen.java:128)
    : at sqlj.codegen.ExecCodegen.createGenerator
    : (ExecCodegen.java:63)
    : at sqlj.codegen.ExecCodegen.generate
    : (ExecCodegen.java:560)
    : at sqlj.codegen.BaseCodegen.generate(BaseCodegen.java:28)
    : at sqlj.codegen.ParseletFactory$ParseletImpl.generate
    : (ParseletFactory.java:115)
    : at sqlj.syntax.SqljParselet.generate
    : (SqljParselet.java:128)
    : at
    sqlj.javac.JavaParserSubTokenManager$PositionedParselet.generate
    : (JavaParserSubTokenManager.java:171)
    : at
    sqlj.javac.JavaParserSubTokenManager$TokenManagerParselet.generat
    : e(Compiled Code)
    : at sqlj.javac.ASTCompilationUnit.generate(Compiled Code)
    : at sqlj.translator.Translator.translate(Compiled Code)
    : at sqlj.translator.Translator.translate
    : (Translator.java:170)
    : at sqlj.translator.Main.translate(Compiled Code)
    : at sqlj.translator.Main.runTranslation(Main.java:92)
    : at sqlj.translator.Main.runTranslation(Main.java:85)
    : at sqlj.tools.Sqlj.statusMain(Compiled Code)
    : at sqlj.tools.Sqlj.main(Sqlj.java:117)
    : Database.sqlj: Error: Exception caught:
    : Total 1 error.
    : >>>>>>>>>>>>>>>>>>>>>>>>>>>
    : The applet code is listed below
    : >>>>>>>>>>>>>>>>>>>>>>>>>>>
    : import java.applet.Applet;
    : import java.awt.Graphics;
    : import java.sql.*;
    : import sqlj.runtime.*;
    : import sqlj.runtime.ref.*;
    : import sqlj.runtime.profile.*;
    : import oracle.sqlj.runtime.*;
    : #sql context MyContext;
    : #sql iterator SalesIter( String ITEM_NAME, float COST );
    : public class Database extends Applet {
    : String buffer = new String ();
    : public void init()
    : { MyContext mctx = new MyContext
    ("jdbc:oracle:thin@ntastlab:1521:lab8","training","training",fals
    : e);
    : System.out.println ("Connected to the database");
    : public void start()
    : SalesIter siter = null;
    : #sql siter = {SELECT ITEM_NAME, COST FROM SALES };
    : while (siter.next())
    : buffer = buffer + siter.ITEM_NAME() + siter.COST ();
    : repaint ();
    : siter.close ();
    : public void stop()
    : public void destroy()
    : public void paint(Graphics g) {
    : g.drawString(buffer, 50, 25);
    : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    : Any ideas ??
    null

  • Hi there, I am trying to connect to my server at work from home using a vpn connection. It connects fine and the time ticks along, but when i click go - connect to server, it comes up with connection failed. Please help!

    Hi there, I am trying to connect to my server at work from home using a vpn connection. It connects fine and the time ticks along, but when i click go - connect to server, it comes up with connection failed. Please help!

    ... when i click go - connect to server, it comes up with connection failed.
    If you're trying to connect to a Bonjour server on the remote network, that won't work over a layer 3 VPN. Use something like Hamachi or one of the SSH-tunnelling Bonjour proxy apps for that.

  • Creating new Data Source Error - Database connection Failed

    Successfully installed and configured 11.1.1.3.0. Planning and Essbase dev.
    Went to Workspace > Administer > Classing Planning Administration > Manage Data Sources > Create Data Source.
    Entered all info about the application database , etc. Getting error "The database connection failed" (I was able to connect with no problem during the install)
    SQL server 2005 is on the same physical server.
    The diagnostic tool shows database connection passed for planning. A new database was created for the new application.
    The server event viewer shows these errors.
    "Login failed for user 'xxx-hyperion'. The user is not associated with a trusted SQL Server connection."
    Group Policy Error "The client-side extension could not apply computer policy settings for 'Default Domain Policy {xxx}' because it failed with error code '0x80070003 The system cannot find the path specified.' See trace file for more details. "
    The Group Policy client-side extension Group Policy Services failed to execute. Please look for any errors reported earlier by that extension.
    Any help is appreciated.

    Datasource for the application.
    I have created a sql db for this planning application (my datasource). See my first message for more details.
    When you create a new planning application, you need to associate it with a data source. Since this is a new install, I don't have any data sources available yet.
    So, "To create, edit or delete data sources, click Manage Data Source."
    This page lets you validate your connection to the database and essbase server. My essbase server connection validates! The database connection does not validate after I enter all the relevant information.
    SCREEN INFO BELOW
    Fields displayed with an asterisk (*) are mandatory.
    Data Source Name *:
    Data Source Description:
    Select Database Platform
    Microsoft SQL Server
    Application Database
    Server * :
    Port * :
    Database *:
    User *:
    Password *:
    Click "Validate Database Connection"
    ERROR ---> Database connection failed.
    So it does not let me create a data source for my new planning application, so I cannot create a new planning application.
    Thanks in advance.

  • JDBC Adapter - Established database connection failed

    Hi Guys,
    we have installed the JDBC Adapter based on the How To Guide and we checked after the installation the  Libaries :Cluster --> Server --> Libraries --> com.sap.aii.af.jmsproviderlib and the box Box "JARs Contained" was filled.
    So in my point of view we have done everything right during the installation.
    Now the developer tested theJDBC Adapter and he comes back with following Error:
    Attempt to establish database connection failed with SQL error com.sap.aii.adapter.jdbc.sql.DriverManagementException: Cannot establish connection to URL "jdbc:microsoft:sqlserver://xxx.x.xx.xxx:1433; databaseName=CZZ03;":ClassNot FoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver
    Do you have any ideas?
    Regards
    Markus

    Hello Markus,
    To install JDBC driver follow the how to guide.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-how-to-guides/how%20to%20install%20and%20configure%20external%20drivers%20for%20jdbc%20and%20jms%20adapters.pdf
    Configuration of JDBC Adapter for SQL Server
    JDBC Driver = com.microsoft.jdbc.sqlserver.SQLServerDriver
    Connection = jdbc:microsoft:sqlserver://hostname:<port>;DatabaseName=<DBName>
    UserID and Password.
    If the connection is not working find the correct port number.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40b92770-db81-2a10-8e91-f747188d8033
    JDBC- X I -  R/3 Scenario
    /people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    Thanks,
    Satya Kumar
    Reward Points If it is Useful..

  • Submit Button error - Data Connection failing

    I am the form designer and am currently testing a new form I have created, however there is an error with my submit button which Saves the form to SharePoint, I receive the following error message:
    InfoPath cannot submit the form.
    An error occurred while the form was being submitted.
    The form cannot be submitted to the following location: http://servername/siteA/siteB/siteC/FormLibrary/FormName.xml
    The file: http://servername/siteA/siteB/siteC/FormLibrary/FormName.xml" is checked out for editing by DOMAIN\MyUserName.
    The operation completed successfully.
    The form is not checked out to me, or open by anybody else, also check out functionality is not forced on this SharePoint library.
    On searching forums I have read about using friendly server names and I am using the server's name in the URL, i.e.
    http://servername instead of the alias
    http://intranet - this had solved the problem in other forms, but not this one.
    Looking closely at the rules on my submit button, the following actions occur:
    1st rule checks the selection of certain fields, if the conditions are right it will set the values of 3 different fields.
    The 2nd rule saves to SharePoint using a data connection (please note this data connection works fine on different submit buttons in different views). The second rule also closes the form.
    To test where the error occurs I added a series of actions to display messages, and the problem is definitely on the data connection rule.
    The data connection is to save to a Sharepoint library, using a field called "filename" as the file name. The data connection allows overwrites. The file name is set the first time a file is saved (it has a condition which checks a field which
    gets set upon any save event - if this field is set to 0 filename gets set and this field gets set to 1 - because this field is now equal to 1, the filename field will nwever get set again).
    I have 2 views on the form, one named phase 1, the other named phase 2. When the custom submit button is pressed on the phase 1 view, my data connection works, but on the save 2 view, the exact same data connection fails with the error message above.
    I am using Windows 7, InfoPath 2010, SharePoint 2010, InfoPath filler form).
    In Windows XP, for a different user, the error messaeg is a little different, and the form does actually save:
    InfoPath cannot submit the form
    An error occurred while the form was being submitted
    The form cannot be submitted to the following location: http://servername/siteA/siteB/siteC/FormLibrary/FormName.xml
    The file is in use by another application or user.
    As I said the form does actually save its changes but still throws up this error message which will be very confusing to end users.
    I've exhausted all avenues that I know of to find the cause of the error messages and I'm at a loss, please help!
    Thanks,
    Ben

    bgvball14. I found that the error was down to the friendly name / server name issue. I have made sure that everything uses the friendly name e.g.
    http://intranet instead of the servername e.g.
    http://servername. I made sure the data connection and all options in the publishing wizard are set to the friendly name. There were still some forms that didn't work though - this was because when trying to fix this problem I had switched several times
    between using the friendly /server names and some forms were looking for the template with the server name (these didn't work), other forms looked for the friendly name (these did work).
    What I did was open my form library in windows explorer view and then drag each form into Notepad so I could see the source code. On the top two lines I could see the reference to the template and in some cases the template weas referenced using the server
    aname, which I changed to the friendly name and this worked. I did have to check every form in the library. Basically, everything should reference the friendly name (e.g.
    http://intranet.
    Ben

  • Connection failed when trying to connect to external Lacie hard disk

    I have an external Lacie hard disk which sits under and is connected to my Airport Extreme base station. I access that volume by using the 'Connect to Server' option in the finder, and I can see the Lacie drive when I get to the stage where I click to 'browse' and then click the Network icon.
    However, today instead of connecting as usual (after asking for password authorisation, etc.) I now get a temporary window message saying:
    "Looking up, "x1-6........local..." I guess the IP address?
    After 3 minutes I then get the following error message:
    CONNECTION FAILED
    The server may not exist or it is not operational at this time. Check the server name or IP address and try again.
    Yesterday I had a problem with my MacPro while trying to access info on the Lacie volume and with no response from the MacPro to shut down, I had to hold the start button down to get it to shut down. I then turned the Airport Express and Lacie disk off at the main plug powerpoint (I forgot to dismount the Lacie volume from another Mac running!). Hoping this would reset everything, but now this problem has happened!
    Any help or advice on this would be much appreciated as I hold some key financial and business info on the Lacie volume and I can't access it now!!!
    Thanks

    Hi Rick
    That's worked!
    I did reboot Airport Extreme initially (had to switch off power to AEBS and Lacie disk as looks like there is no power switch on the AEBS?...and tried, but same problem. But then tried this again and all now works as before.
    Thanks for your advice and the direct connection tip, which I was considering doing anyway if the conventional route didn't work.
    Phew!

Maybe you are looking for

  • EBS 12.1.3: a few questions about cloning

    Hi, We have EBS 12.1.3 on AIX 7.1. A few questions about cloning from shared application tier environment to non-shared application tier environment. We have been following "Cloning Oracle Applications Release 12 with Rapid Clone [ID 406982.1]" Sourc

  • Blocked number still getting through

    How is a blocked number still sending me text messages?

  • 11gRel2 DBCA - using compatible parameter 10.2.0.3.0 results in ORA-00201

    Hi guys, Following is the scenario: 1. Oracle DB Binaries: 11.2.0.2.2 2. Using dbca to create General Purpose Database and then modify initialization parameter "COMPATIBLE from 11.2.0.0.0 to 10.2.0.3.0" in the "All Initialization Parameters" window.

  • Help Configuration in ECC6.0

    Hi All We have a ECC6.0 ABAP stack system. Now we have to configure the help on it. I have gone through some posts on SDN regarding this and came to know that the SAP Library DVD has to be downloaded. I am not able to find this under Downloads-> Inst

  • In cocoa message is transmitted by broadcast?

    hello, In cocoa message is transmitted by broadcast,isn't it? Would you know some information about it, please support me some? Thank you very much!