Applet Database Proxy Problem

Hello all,
I have an applet which connects to a MySQL database for user authentication. Currently I am doing on a local machine and all goes well and fine. But my problem is the same applet when accessed through a proxy the database connection wont happen. Can someone suggest a way to solve it. Or this problem is not solvable.
Thank you
joseph

Use http to do the authentication. Have the applet make a request to the authentication server by name (not by codebase, as this is probably the source of the proxy problem). On the authentication server, you can run a servlet or cgi or whatever to contact the db.

Similar Messages

  • Applet database access problems!

    Hi,
    I have a major problem. I'm trying to design an applet that can talk to a database server which is not the same server where the applet is hosted. I keep getting an exception like below: (note I changed my db server name)
    java.sql.SQLException: Unable to connect to any hosts due to exception: java.security.AccessControlException: access denied (java.net.SocketPermission aaaa.bbbbb.net resolve)
         at com.mysql.jdbc.Connection.createNewIO(Connection.
    help?

    Ok, I went back and re-read the answer to a similar question I asked earlier. Since I can't talk directly to the other db server, what is the work around?
    Make a php page that updates the database, then call that page from within the applet?

  • OEL 6.1 YUM proxy problem

    Hi all,
    I have some issue with OEL 6.1 YUM proxy.
    *[root@rac1 tmp]# uname -a*
    Linux rac1.oracle.cloud 2.6.32-100.34.1.el6uek.x86_64 #1 SMP Wed May 25 17:46:45 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
    *[root@rac1 tmp]# rpm -qa | grep yum*
    yum-metadata-parser-1.1.2-16.el6.x86_64
    yum-3.2.29-17.0.1.el6.noarch
    yum-rhn-plugin-0.9.1-26.0.2.el6.noarch
    yum-utils-1.1.30-6.el6.noarch
    PackageKit-yum-plugin-0.5.8-19.0.1.el6.x86_64
    PackageKit-yum-0.5.8-19.0.1.el6.x86_64
    *[root@rac1 tmp]# cat /etc/yum.repos.d/public-yum-ol6.repo*
    [ol6_ga_base]
    name=Oracle Linux 6 GA - $basearch - base
    baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/0/base/$basearch/
    gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
    gpgcheck=0
    enabled=1
    [ol6_u1_base]
    name=Oracle Linux 6 U1 - $basearch - base
    baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/1/base/$basearch/
    gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
    gpgcheck=0
    enabled=1
    *[root@rac1 tmp]# cat /etc/yum.conf*
    [main]
    cachedir=/var/cache/yum/$basearch/$releasever
    debuglevel=2
    sslverify=false
    logfile=/var/log/yum.log
    pkgpolicy=newest
    distroverpkg=redhat-release
    tolerant=1
    exactarch=1
    # The proxy server - proxy server:port number
    proxy=http://xxx.xxx.xxx.xxx:3128
    # The account details for yum connections
    proxy_username=xxx
    proxy_password=@$xxx
    *[root@rac1 tmp]# yum update*
    http://public-yum.oracle.com/repo/OracleLinux/OL6/0/base/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 5 - "Couldn't resolve proxy '[email protected]'"
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: ol6_ga_base. Please verify its path and try again
    [root@rac1 tmp]#
    In OEL5.7 this works fine without any problem. I think this related to OEL6.1, maybe YUM does not understand proxy, my password for proxy starting with @$ but I changed my password and
    output is changed to
    *[root@rac1 tmp]# yum update*
    http://public-yum.oracle.com/repo/OracleLinux/OL6/0/base/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 407"
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: ol6_ga_base. Please verify its path and try again
    [root@rac1 tmp]#
    If anyone can help me please reply.
    ./thanks

    Avi Miller wrote:
    __OUTSIDER___ wrote:
    No this will not help. Problem is not related to password I changed it and response is It might help, it's worth trying. Try this:
    # export http_proxy='http://proxy.domain.com:3128'
    # wget --proxy-user="xxx" --proxy-password="xxx" http://public-yum.oracle.com/repo/OracleLinux/OL6/1/base/x86_64/repodata/repomd.xmlIf that works, it is a yum problem. If it doesn't work, it's a proxy problem.Yes it works , interesting that user and password parameters not working with double quotes only with single.
    I also checked this with YUM but YUM is having problem with passwords that starting
    with "@" symbol. I try to set
    export http_proxy="http://username:\@$passwd@IP:PORT"
    for ignoring "@" symbol but no sucess. With OEL5 this is not a problem. In /etc.yum.conf same username and same password.
    Perhaps I should change my password :)
    and last one thing in my home network I have OEL6.1 ( where fortunately with no proxy :) ) I try update linux with "yum update" command
    and it returns that no packages to update , can you tell me why because there are new kernel avalable and I can download and install this new kernel with command "yum install kernel".

  • Database termination Problem

    Hi every body ..plz help me on this..
    We are facing database termination problem in ECC6 production syste.
    Database: Oracle 10.2, O/S: Windows 2003. Spam  :27, SP level 13.
    Error is:
    Errors in file f:\oracle\p02\saptrace\background\p02_ckpt_6520.trc:
    ORA-00206: error in writing (block 3, # blocks 1) of control file
    ORA-00202: control file: 'D:\ORACLE\P02\ORIGLOGB\CNTRL\CNTRLP02.DBF'
    ORA-27072: File I/O error
    OSD-04008: WriteFile() failure, unable to write to file
    O/S-Error: (OS 33) The process cannot access the file because another process has locked a portion of the file.
    When we are performing backup then data base termination occuring freequently.
    Give right solution as early as possible.
    Thanks,
    Nani.

    Hi,
    Have a look at below snote which actually speaks about the oracle error codes
    Snote :  546006
    within the Snote it says :-
    " If you cannot access a database file (for instance a data file, control file or RedoLog) for whatever reason, an ORA-270xx appears. The actual cause comes from additional error messages (usually in the operating system) that occur on ORA-270xx. "
    And as per your last update
    " ORA-00206: error in writing (block 3, # blocks 1) of control file
    ORA-00202: control file: 'D:\ORACLE\P02\ORIGLOGB\CNTRL\CNTRLP02.DBF' "
    i think there is problem accessing the database control file. Hence you  are facing the above problem.
    I think if you recreate your control file i think, it should resolve the problem.
    Hope it will be helpful to resolve your problem.
    Rgds
    Radhakrishna D S

  • XI ABAP Proxy problem

    Hi all,
    I am trying to develope an itegration scenario as follows:
    ABAP System ---> XI -
    Java System
    For communication between ABAP System and XI there is a Proxy, however it is not working out.
    The message from ABAP system does not go to XI.
    I got the following message in SXMB_MONI of ABAP Sytem:
    SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
    <SAP:Category>XIProtocol</SAP:Category>
    <SAP:Code area="PARSER">ITEM_MISSING</SAP:Code>
    <SAP:P1>Envelope</SAP:P1>
    <SAP:P2 />
    <SAP:P3 />
    <SAP:P4 />
    <SAP:AdditionalText />
    <SAP:ApplicationFaultMessage namespace="" />
    <SAP:Stack>XML element Envelope missing in SOAP message header (SAP XI Extension)</SAP:Stack>
    <SAP:Retry>M</SAP:Retry>
    </SAP:Error>
    Someone has solved a problem like that?
    Regards
    Fabio

    Hi Fabio,
            I would request to to check for two things,
    1. Whats ur was version? Is it 640? else can you try to change the Commumnication channel in xi adapter to message protocal as xi2.0 ,, i think you used it as xi3.0
    2. retest it.
    3. If it still gets the same error refer the thread,
    XI Proxy Problems
    All the best,
    Anirban.

  • Proxy Problem The proxy server is refusing connections

    I run Windows XP. I did have a Cybot backdoor Activity attack intercepted by Norton Internet Security and I used the Norton NPE to remove it from the computer. I do not know if this caused the proxy problem or not.
    There is no proxy problem connecting to the internet through Internet Explorer just through Mozilla Firefox.
    When Mozilla Firefox tries to connect to the internet I get the following message:
    Firefox is configured to use a proxy server that is refusing connections.
    Check the proxy settings to make sure that they are correct.
    Contact your network administrator to make sure the proxy server is
    working.
    In Mozilla I click Tools, options, advanced, network, settings. Under settings Proxy is set on manual, it says that there is no proxy for the figures typed in.
    So I click auto detect proxy and I then can connect to internet through Mozilla, however when I log out of the internet, the same proxy server issue is recreated.
    What should the Proxy setting be?

    You can find the connection settings in Tools > Options > Advanced : Network : Connection
    If you do not need to use a proxy to connect to internet then select "No Proxy"
    See "Firefox connection settings":
    * https://support.mozilla.com/kb/Firefox+cannot+load+websites+but+other+programs+can
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    See also:
    *http://kb.mozillazine.org/Preferences_not_saved

  • Immediate HELP in Tomcat 5 to Postgresql 7.4 database connectivity problem

    Hi,
    I failed to connect Tomcat 5.0.24 with Postgresql
    7.4.2. The files created by me and the changes i had
    made in the existing files are rates.jsp,
    conversionDAO.java, web.xml and server.xml. The error
    message on the top of the rest of it was "The value of
    useBean class attribute converter.conversionDAO is
    invalid". So far I found out that the coding for
    database connectivity purpose in conversionDAO.java
    cause the error. Another thing is Postgresql jdbc
    driver is required to set in the CLASSPATH for the
    java file to access the Postgresql database. I don't
    know where should I put it in Tomcat for web
    application. Anyway, I put it in
    $CATALINA_HOME/shared/lib according the book i
    refered. I do the database connectivity coding refer
    to the Tomcat Kick Start book from Sams Publishing.
    Below are the coding involved, please show me the
    mistake i had made. Thank you.
    ----server.xml----
    <Context path="/database"
    docBase="${catalina.home}/webapps/database" debug="0"
    reload="true">
    <ResourceParams name="jdbc/conversion">
    <parameter>
    <name>username</name>
    <value>myusername</value>
    </parameter>
    <parameter>
    <name>password</name>
    <value>mypassword</value>
    </parameter>
    <parameter>
    <name>driverClassName</name>
    <value>org.postgresql.Driver</value>
    </parameter>
    <parameter>
    <name>url</name>
    <value>jdbc:postgresql://localhost/conversion</value>
    </parameter>
    </ResourceParams>
    </Context>
    ----web.xml----
    <servlet>
    <servlet-name>conversionDAO</servlet-name>
    <servlet-class>converters.conversionDAO</servlet-class>
    </servlet>
    <resource-ref>
    <res-ref-name>jdbc/conversion</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    ----conversionDAO.java----
    public conversionDAO() throws SQLException,
    NamingException
    Context init = new InitialContext();
    Context ctx = (Context)
    init.lookup("java:comp/env");
    DataSource ds = (DataSource)
    ctx.lookup("jdbc/conversion");
    con = ds.getConnection();
    select = con.prepareStatement(
    "SELECT rate FROM Exchange WHERE src= ? AND dst =

    Immediate HELP in Tomcat 5 to Postgresql 7.4 database connectivity problem (cont.)
    Errors log
    2004-06-06 01:07:53 StandardContext[servlets-examples]SessionListener: contextDestroyed()
    2004-06-06 01:07:53 StandardContext[servlets-examples]ContextListener: contextDestroyed()
    2004-06-06 01:07:53 StandardContext[jsp-examples]SessionListener: contextDestroyed()
    2004-06-06 01:07:53 StandardContext[jsp-examples]ContextListener: contextDestroyed()
    2004-06-06 01:07:59 StandardContext[balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
    2004-06-06 01:08:00 StandardContext[jsp-examples]ContextListener: contextInitialized()
    2004-06-06 01:08:00 StandardContext[jsp-examples]SessionListener: contextInitialized()
    2004-06-06 01:08:00 StandardContext[servlets-examples]ContextListener: contextInitialized()
    2004-06-06 01:08:00 StandardContext[servlets-examples]SessionListener: contextInitialized()
    2004-06-06 01:08:01 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: /rates/rates.jsp(5,0) The value for the useBean class attribute converters.conversionDAO is invalid.
         at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
         at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:357)
         at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:141)
         at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1217)
         at org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1116)
         at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
         at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
         at org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
         at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
         at org.apache.jasper.compiler.Generator.generate(Generator.java:3261)
         at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:244)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:422)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:507)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    ----more----

  • Database configuring problem in setup of managed systems in SMD

    Hello,
    i'm doing the setup of a CRM 5.0 in SMD Abap+Java and the setup results returns following:
    "Database configuration problem"  with the exception:
    java.lang.NullPointerException
         at com.sap.smd.server.manager.SMDPluginProperties.setProperty(SMDPluginProperties.java:114)
         at com.sap.smd.agent.plugins.database.ConfigurationTask.configureCustomProperties(ConfigurationTask.java:242)
         at com.sap.smd.agent.plugins.database.ConfigurationTask.configureProperties(ConfigurationTask.java:370)
         at com.sap.smd.agent.plugins.database.ConfigurationTask.execute(ConfigurationTask.java:124)
         at com.sap.sup.admin.setup.AppCfgTasks.configureDbApp(AppCfgTasks.java:115)
         at com.sap.sup.admin.setup.SetupStep.execute(SetupStep.java:202)
         at com.sap.smd.agent.plugins.remotesetup.SapInstance.setup(SapInstance.java:217)
         at com.sap.sup.admin.setup.SapCluster.setup(SapCluster.java:461)
         at com.sap.sup.admin.setup.SapCluster.access$000(SapCluster.java:26)
         at com.sap.sup.admin.setup.SapCluster$SetupRunner.run(SapCluster.java:669)
         at java.lang.Thread.run(Thread.java:534)
    Anybody knows which can be the problem?
    Thanks a lot
    Carlos

    Hi Shriraj,
    ensure that the installation path is correct. I only put /urs/sap/<SID> and you must put /usr/sap/<SID>/DV***/.
    In my case with that the setup returns all in green.
    I hope it helps you
    Regards
    Carlos

  • SIMPLE Database Design Problem !

    Mapping is a big problem for many complex applications.
    So what happens if we put all the tables into one table called ENTITY?
    I have more than 300 attributeTypes.And there will be lots of null values in the records of that single table as every entityType uses the same table.
    Other than wasting space if I put a clustered index on my entityType coloumn in that table.What kind of performance penalties to I get?
    Definition of the table
    ENTITY
    EntityID > uniqueidentifier
    EntityType > Tells the entityTypeName
    Name >
    LastName >
    CompanyName > 300 attributeTypes
    OppurtunityPeriod >
    PS:There is also another table called RELATION that points the relations between entities.

    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    check the coloumn with WHERE _entityType='PERSON'
    as there is is clustered index on entityType...there
    is NO performance decrease.
    there is also a clustered index on RELATION table on
    relationType
    when we say WHERE _entityType ='PERSON' or
    WHERE relationType='CONTACTMECHANISM'.
    it scans the clustered index first.it acts like a
    table as it is physically ordered.I was thinking in terms of using several conditions in the same select, such as
    WHERE _entityType ='PERSON'
      AND LastName LIKE 'A%' In your case you have to use at least two indices, and since your clustered index comes first ...
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Have you ever thought of using constraints in your
    modell? How would you realize those?
    ...in fact we did.We have arranged the generic object
    model in an object database.The knowledge information
    is held in the object database.So your relational database is used only as a "simple" storage, everything has go through your object database.
    But the data schema is held in the RDBMS with code
    generation that creates a schema to hold data.If you think that this approach makes sense, why not.
    But in able to have a efficent mapping and a good
    performance we have thought about building only one
    table.The problem is we know we are losing some space
    but the thing is harddisk is much cheaper than RAM
    and CPU.So our trade off concerated on the storage
    cost.But I still wonder if there is a point that I
    have missed in terms performance?Just test your approach by using sufficiently data - only you know how many records you have to store in your modell.
    PS: it is not wise effective using generic object
    models also in object databases as CPU cost is a lot
    when u are holding the data.I don't know if I'd have taken your approach - using two database systems to hold data and business logic.
    PS2: RDBMS is a value based system where object
    databases are identity based.we are trying to be in
    the gray area of both worlds.Like I wrote: if your approach works and scales to the required size, why not? I would assume that you did a load test with your approach.
    What I would question though is that your discussing a "SIMPLE Database Design" problem. I don't see anything simple in your approach when it comes to implementation.
    C.

  • Database connection problem when i try store the values in JTable

    Hi Sir,
    I have a database connection problem when i try to store the data's in a JTable.I think the problem is with in the database connection.I have used 3 vectors here.The database which i have used is
    Access.Where the program is compiling well.But when i run it only the first column heading is printed and error message showing that
    "Invalid Cursor State".I need to solve this problem.pls. do help me.
    I will provide u with the code.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import java.util.*;
    import java.sql.*;
    public class DataBaseVector extends JPanel
    //Container contentPane=getContentPane();
    JScrollBar jsb = new JScrollBar(JScrollBar.HORIZONTAL);
    JScrollBar jsb1 = new JScrollBar(JScrollBar.VERTICAL);
    Image i1;
    String url="jdbc:odbc:Ananth";
    Vector col=new Vector();
    Vector rows=new Vector();
    Vector rdata=new Vector();
    Connection conn;
    public DataBaseVector()
    //super("JTable With ScrollBars");
    this.setLayout(new BorderLayout());
    UIManager.put("ScrollBar.track",Color.red);
    UIManager.put("ScrollBar.thumb",Color.blue);
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    conn=DriverManager.getConnection(url); // Is there any problem here?
    Statement st=conn.createStatement();
    ResultSet rs=st.executeQuery("Select * from AccountMaster");
    // rs is the result set obtained
    ResultSetMetaData rsmd=rs.getMetaData();
    int cols=rsmd.getColumnCount();
    for(int i=1;i<=cols;i++)
    col.addElement(rsmd.getColumnName(i));
    rdata.addElement(rs.getString(i));
    rows.addElement(rdata);
    }catch(Exception e)
         System.out.println("The Error Message was:"+e.getMessage());
    JTable jt=new JTable(rows,col);
    int v=ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED;
    int h=ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED;
    JScrollPane jsp=new JScrollPane(jt,v,h);
    this.add(jsp,BorderLayout.CENTER);
    this.add(jsb, BorderLayout.SOUTH);
    this.add(jsb1, BorderLayout.EAST);
    public static void main(String args[])
    JFrame jf=new JFrame();
    JPanel frame=new DataBaseVector();
    jf.getContentPane().add(frame);
    jf.setSize(800,600);
    jf.setVisible(true);
    Thanx,
    m.ananthu

    The problem is ResultSet.next() is not called.
    Try this and modify the table creation as you need.
    ResultSetMetaData rsmd=rs.getMetaData();
    int cols=rsmd.getColumnCount();
         while(rs.next()) {
              for(int i=1;i<=cols;i++)
                        col.addElement(rsmd.getColumnName(i));
                        rdata.addElement(rs.getString(i));
              rows.addElement(rdata);
    Hope this helps

  • WLI 7.0 samples database setup problem

    I have just installed WL Platform 7.0. I want to run the WLI samples and did the following:
    1. Started "Integration Database Wizard" for WLI samples and performed "SwitchDB"
    - provided valid database properties for oracle. Completed successfully - config.xml
    for samples is updated.
    2. Ran RunSamples script - Gives database connect problems and database is not created.
    The user/pwd/machine name/SID are all correct.
    I observed that as part of "RunSamples", it again invokes "SwitchDB" (command I see
    is "switchdb oracle"). This resets the database properties in config.xml to the defaults
    - so obviously this is causing the connection problem.
    Pls let me know what is going wrong here?
    Thanks

    Garf,
    You are correct in your analysis. When you run the 'RunSamples' script,
    it will call switchdb and this causes the 'defaults' to be set in
    config.xml. Running the wliconfig utility is the customer experience
    BEA would like to have with regard to setting up the database. However,
    the RunSamples script has not been updated to correctly reflect that the
    customer would have already performed this step. When RunSamples calls
    switchdb, it is getting the defaults from the following location:
    <USER_DEFINED_DOMAIN>/dbInfo/<DATABASE>/setDBVars and setDBVarsExt files
    So for example, if you accepted the default user directory and your
    BEA_HOME is C:/bea and you were using the EAI Domain template calling
    your domain eaidomain and your are using Oracle, you should update the
    following files:
    C:\bea\user_projects\eaidomain\dbInfo\oracle\setDBVars.cmd and
    setDBVarsExt.cmd
    Edit these files to reflect your DB connection properties.
    When RunSamples calls switchdb, these properties will be used to update
    the wliPool in config.xml. I hope this helps and sorry for the
    inconvenience.
    Cheers,
    Chris
    Garf wrote:
    I have just installed WL Platform 7.0. I want to run the WLI samples and did the following:
    1. Started "Integration Database Wizard" for WLI samples and performed "SwitchDB"
    - provided valid database properties for oracle. Completed successfully - config.xml
    for samples is updated.
    2. Ran RunSamples script - Gives database connect problems and database is not created.
    The user/pwd/machine name/SID are all correct.
    I observed that as part of "RunSamples", it again invokes "SwitchDB" (command I see
    is "switchdb oracle"). This resets the database properties in config.xml to the defaults
    - so obviously this is causing the connection problem.
    Pls let me know what is going wrong here?
    Thanks

  • Applet bypassing proxy

    I have an applet behind proxy/firewall. My browser settings uses auto config and specifies the .pac file. But plug-in seems to always bypass the proxy even though the java console has the checkbox "Use browser settings" checked. Any extra config needed? I am using 1,4,2_08

    Have you tried specifying your .pac file in "Automatic Proxy Configuration URL" field at the bottom of the "Proxy" tab in Java Control Panel? You'll have to uncheck "Use Browser Settings" checkbox first.

  • In the newest verion of Firefox did you fix the proxy problem?

    I am using firefox 3.6 because of a proxy problem with Firefox 5 I want to upgrade but need to know if you fixed this problem before i do so.

    You can find the connection settings in Tools > Options > Advanced : Network : Connection
    If you do not need to use a proxy to connect to internet then select "No Proxy" if the default "Use the system proxy settings" setting doesn't work.
    See "Firefox connection settings":
    * https://support.mozilla.com/kb/Firefox+cannot+load+websites+but+other+programs+can
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    *http://kb.mozillazine.org/Preferences_not_saved

  • Oracle Database Starting Problem

    Hi all,
    i am having database startup problems.
    my database is working fine but when i try to connect as sysdba then i get the following error
    Connected to an idle instance.
    SQL> select status from v$instance;
    select status from v$instance
    ERROR at line 1:
    ORA-01034: ORACLE not available
    i have also checked the listener and it is also working fine.
    Instance "orcl", status READY, has 3 handler(s) for this service...
    The process is also shown by the pmon command, check through operating system command
    ps -aef |grep pmon
    oracle 3235 2816 0 18:08:15 pts/3 0:00 grep pmon
    oracle 22425 1 0 12:01:57 ? 0:08 ora_pmon_orcl
    Please let me know what to do.
    regards,
    Imran Raza

    Hi Laura,
    Please find below
    bash-3.00$ echo $ORACLE_SID
    orcl
    bash-3.00$ ./lsnrctl status
    LSNRCTL for Solaris: Version 10.1.0.5.0 - Production on 17-FEB-2009 18:58:55
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=silverApp0)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Solaris: Version 10.1.0.5.0 - Production
    Start Date 17-FEB-2009 11:51:42
    Uptime 0 days 7 hr. 7 min. 13 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /oracle/dba/OraHome1/network/admin/listener.ora
    Listener Log File /oracle/dba/OraHome1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=silverApp0)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl.silverapp0.com" has 1 instance(s).
    Instance "orcl", status READY, has 3 handler(s) for this service...
    The command completed successfully

  • Database connectivity problem in applet, but connects successfully thru app

    hi all
    my following code works successfully in appletviwer...
    but in browser (ie 6.0)it does not even show textarea and
    gives error at status bar as "exception : java.lang.NullPointerException: null string"
    there is no problem to registerDriver...
    but error is at getconnection...
    os: windows xp, database : oracle8i, web server: apache
    my db server,web server and html,class file all are on same machine...
    pls help...
    what could be the problem? may i need to do some web server settings?
    thanks in advance
    //CODE
    import java.sql.*;
    import oracle.jdbc.driver.*;
    import java.awt.*;
    public class AppletJdbc extends java.applet.Applet
         public void init ()
              TextArea outtext= new TextArea();
              add(outtext);
              Connection conn;
              try
                   // Load the Oracle JDBC driver
                   DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
                   conn = DriverManager.getConnection("jdbc:oracle:thin:@172.25.12.46:1521:test","scott","tiger");
                   outtext.appendText("connected");
              catch(Exception e)
                   outtext.appendText(e.getMessage());
    }

    hi
    yes i am accessing it in browser by giving("http://172.25.12.46/myfile.html"),
    i think problem nullpointerexception was with TextArea..
    now i have removed textarea and displaying messages just by
    System.out.println...
    it is giving java.lang.SecurityException
    changes required to do in C:\jdk1.3\jre\lib\security\java.policy file
    to make applet run from appletviewer:
    following permissions added:
    grant {
    permission java.util.PropertyPermission "oracle.jserver.version", "read, write";
    grant {
    permission java.net.SocketPermission "172.25.12.46", "accept, connect, listen, resolve";
    is there any setting required to make for browser?
    some of u have suggested me to use servelts...
    actually i am developing project for my oraganization, which will be used in intranet only and not on internet...
    is it necessary to use servelts or direct db connectivity thru applet will do?
    thankx

Maybe you are looking for

  • Display won't sleep and screen saver won't sart

    I upgraded to the new OS and the display won't sleep and screen saver won't come on. Help please.

  • Is it possible in calculate this in BEx.......

    Hi Guys, This is a bit of a strange requirement but a requirement nonetheless, and im curious to know if it can be done without an ABAP person being involved. The scenario: We have a BW Query that is reporting data on a Project level. Say for example

  • Stock transfer with excise duty

    Hi Experts, i have to do stock transfer from one plant to other plant when excise duty is invloved. and both plants comes under one company code.and receiving plant not paying any thing to supplying plant.please suggest me which process shall i follo

  • Webservices and adobe security enhancement

    Hello,      I've created a dataConnection to a webservice where the form data is sent and i have my security option at Adobe Reader 9.4.2 enabled. Every time i invoke the webservice for the first time the trust information appears and an exception is

  • NumberFormatException

    Hello, Now, when I convert from String to int, I have this: NumberFormatException The two lines I use are: <% String Prix_ASCII = request.getParameter("CoutTTC");%> <% int Prix = Integer.parseInt(Prix_ASCII); %> And CoutTTC = '58' Thank you Romain.