How to create a DNS? How access to Micr. Acces DB?

This is because i wish to conect to a DB of Microsoft Access....
I have found that i need to create a System DNS...but i dont how to create it....Could somebody help me please?
I have found that with the following servlet i can access to the db.....but.... what is TEST?....i think that it is "@IP_address:1521:name_db"
am i rigth?
Thanks by your help....
Mary
import javax.servlet.*;
import javax.servlet.http.*;
import java.sql.*;
import java.io.*;
public class serv1 extends HttpServlet
Connection con;
ResultSet rs;
Statement st;
public void init(ServletConfig sc) throws ServletException
try
//creating the connection
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:TEST");
System.out.println("connection established");
st=con.createStatement();
catch(Exception er)
System.out.println(er);
public void doGet(HttpServletRequest req,HttpServletResponse
res) throws ServletException,IOException
try
//retrieving the values from the table
rs=st.executeQuery("select * from sree");
PrintWriter pw=res.getWriter();
while (rs.next())
for(int i=1;i<4;i++)
pw.println(rs.getString(i));
catch(Exception e)
System.out.println(e);
}

I already could reach it.....
A friend help me.....
To create a DSN:
Control panel
Admin. Tools
Source data
DSN System
New....
And fill the data
Thanks any way,
Good day!!!
Mary

Similar Messages

  • How do I create a DNS record on my Mac Server?

    How do I create a DNS record on my Mac Server?

    The following is info that I found in another post that I have been trying to follow.
    MrHoffman      New England
    Re: Configure DNS - OS X Server Next Steps
    Feb 13, 2011 6:36 AM (in response to Jimbooooooo)
    You're setting up internal DNS services, you referenced your ISP DNS servers and you should not have, and now those servers have no translations for your hosts. This is a common misconfiguration.
    See [configuring DNS on Mac OS X Server|http://labs.hoffmanlabs.com/node/1436] for how to set up your internal DNS server.
    And if there are any references to your ISP DNS servers here (within your client settings, within your server settings, your Airport settings, etc), then you're usually going to have DNS and connectivity problems. You're running a server now, so you'll be running your own services, and (particularly because of NAT here) referencing only your own DNS server(s).
    You may be setting up external DNS (if and when you need that), but that should happen after you set up your internal DNS. The above article has a link to setting up external DNS, when you get around to that, if/when you need in-bound connections into your LAN.

  • How to create a DNS record for a domain itself (without a hostname)

    Hi,
    Normally, you can create a DNS record that points to the zone itself, e.g.:
    @               10800 IN A    196.197.200.201
    How do you accomplish that on a Mac OSX Lion Server? The DNS requires you to enter a hostname and it does not accept "@" as the hostname as it normally appears in the zone file.
    (manually modifying the host file does not work - I tried that ;-) )
    Any help is appreciated
    Thanks
    Bjoern Dirchsen

    Create either a blank record with a ., or a FQDN such as 'domain.com.' (note the trailing dot). Either of these should map to the domain name.

  • How to create a read only access for database

    I am developer but willing to lear some of the dba tasks. I would like to know the steps that i need to take to creat a read only access database that is going to be used for the report development.
    I really appreciate if you tell me all the steps I need to create that. I have a full right to do this in the develpment database. thanks

    thank you for your reply but it does not tell me how i can set up a read only access acccount for the user. Do i need to create a role and assign the role to the users?

  • How to create a new runtime access user - URGENT !!!!

    Hi,
    I already have an existing runtime repository and target schemas. I need to create a NEW runtime access user, as my old runtime access user was not available. could anyone please help me on this
    Kishan

    Hi,
    what OWB version? 10g R1?
    CREATE USER <user_name>
    IDENTIFIED BY <Enter User Password Here>
    GRANT CONNECT TO <user_name>
    GRANT WB_A_<RT_REP_name> TO <user_name>
    GRANT WB_D_<RT_REP_name> TO <user_name>
    GRANT WB_R_<RT_REP_name> TO <user_name>
    GRANT WB_U_<RT_REP_name> TO <user_name>
    Regards
    Detlef

  • Only some pages of my website made with Muse can't be edit in the Business Catalyst Admin Console... How access all my pages edit possibilities ?

    My website is made with Adobe Muse and published with Business Catalyst.
    Some pages can be edit on the Business Catalyst Console, but, unfortunately, some other pages can't.
    Why some pages and not others ?
    Thanks for yours answers.

    Hi,
    I have try the edit mode with Firefox and Chrome and no one doesn’t work.
    For the french pages, I must reload the page to have the blue blocks. And if I do that on an english one, it switches on the french one...
    Caroline Duhamel
    +33 (0)6 08 34 33 61
    Le 24 oct. 2014 à 09:40, rohit776 <[email protected]> a écrit :
    Only some pages of my website made with Muse can't be edit in the Business Catalyst Admin Console... How access all my pages edit possibilities ?
    created by rohit776 in Help with using Adobe Muse CC - View the full discussion
    Hi,
    I have just checked at my end and it seems everything is working fine and I am able to edit even the English version pages.
    Can you please try some other browser or in a different system to edit your site and check if you are able to do so.
    Regards,
    Rohit Nair
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6862093#6862093
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Help with using Adobe Muse CC by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Filter on the reports created using DIRECT DATABASE ACCESS in obiee 10g

    How do i filter on the report that is created by using DIRECT DATABASE ACCESS in obiee 10g?
    I have reprot A with link to report B, report B is created using DIRECT DATABASE ACCESS. so it is just a table, but i need to filter out 2 columns.
    here is the query in REPORT B:
    select strm, acad_group, crse_id, class_section, count(emplid) from v_crse_enrl
    group by crse_id, strm, class_section, acad_group;
    the link in REPORT A:
    '<a target="_blank" href="'||VALUEOF("bi_link")||'Go&Path=CF_CROSS_TEACHING_LIST&ACTION=Navigate&col1=STRM&val1='||view1_DIMEN.STRM||'&col2=CLASS_SECTION&val2='||TRIM(view1_DIMEN.CLASS_SECTION)||'">' ||view1_dimen.class_id||'</a>'
    from this link to report B.
    thank you!!

    I didnt tested using url, but the same works with using presentation variables.
    To your direct sql add where clause for those two columns like WHERE col='@{col1}' and col ='@{col2}'
    and try to run from url.
    let me know updates

  • PTR Record not Automatically Created in dns server

    how to config when client joint to domian PTR Record  Automatically Created in dns server

    Hi Farzad_en,
    Based on my knowledge  , you need to allow Dynamic Updates .
    "Open DNS Manager. To open DNS Manager, click Start, point to
    Administrative Tools, and then click DNS.
    In the console tree, right-click the applicable zone, and then click
    Properties.
    On the General tab, verify that the zone type is either
    Primary or Active Directory-integrated.
    In Dynamic Updates, click Nonsecure and secure."
    For details please refer to following link:
    http://technet.microsoft.com/en-us/library/cc794806(v=ws.10).aspx
    Hope this helps
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • How can I have acces to a component of a window from a menu

    In a JInternalFrame, I have one Button.
    I try to access to this Button from a ActionListener of a JMenuBar.
    In the ActionListener of the JMenuBar, I have use the function "MyActiveFrame = MyDesktop.getSelectedFrame();" for having a pointer to my JInternalFrame.
    But I don't arrive to access to a component of my JInternalFrame.
    I have try "Button Boutton1 = MyDesktop.Boutton1;" but that don't work. It always say :
         java:56: cannot resolve symbol
         symbol : variable Boutton1
         location: class javax.swing.JDesktopPane
                        Button Boutton1 = MyDesktop.Boutton1;
    ^
    Is someone can tell my how I can have acces of this Button (and to the others component of my JInternalFrame from my JMenuBar).
    dank you in advance.

    No, that's not the problem. The problem is:
        JInternalFrame MyActiveFrame;
        MyActiveFrame = MyDesktop.getSelectedFrame();
        Button Boutton1 = MyActiveFrame.Boutton1;You are declaring MyActiveFrame as a JInternalFrame, not as the class you defined that extends JInternalFrame. Since JInternalFrame has no member named Boutton1, then MyActiveFrame.Boutton1 will cause the error.
    For example:
        public class MyFrame extends JInternalFrame {
            public Button Boutton1 = ...;
        };If you did something like:
        JInternalFrame frame = getOneOfMyFrames();
        Button b = frame.Boutton1;You would get an error. You need to do:
        MyFrame frame = getOneOfMyFrames();
        Button b = frame.Boutton1;Know what I mean?
    Jason

  • Createing a DNS for oracle

    I need help creating a DNS for oracle. I am using windows 98 and the database is in my computer. I am trying to create a DNS on the same computer so that i can access it through ASP that is setup on my computer ( Mircrosoft Personel Web Server ) which is very similar to IIS. I tried creating user,system, and file dns but none of them work. I recive a errors when i try to create these, none of them are able to connect to the oracle instance that run on my computer. Please HELP!

    Menno,
    what do you want exactly? You can calulate in SQL and PLSQL.
    SQL> select 10 * 10 from dual;
    10*10
    100
    SQL>
    Ton

  • Creating a DNS Server on Oracle Linux 5.8 64 bit

    Hi Guys,
    I am creating a DNS host setup to resolve the SCAN IPs used in Oracle 11g R2 RAC. The Idea is to resolve 3 IP addres in a round robin fashion.
    I am not a hard core linux admin just a DBA.
    Please help me get a pointer to troubleshoot this issue.
    ovmdnsbox is my DNS HOST going to be used by clusterhost1 and clusterhost2. Want to configure sangramkeshari.net as my domain.
    ON ovmdnsbox
    =====================
    added entry in /etc/named.conf
    zone "sangramkeshari.net" IN {
    type master;
    file "sangramkeshari.net.zone";
    allow-update { none; };
    zone "56.168.192.in-addr.arpa" in {
    type master;
    file "56.168.192.in-addr.arpa.zone";
    [root@ovmdnsbox named]# pwd
    /var/named
    [root@ovmdnsbox named]# cat sangramkeshari.net.zone
    $TTL 86400
    @ IN SOA sangramkeshari.net. sangramkeshari.net. (
    42 ; serial (d. adams)
    3H ; refresh
    15M ; retry
    1W ; expiry
    1D ) ; minimum
    IN NS localhost
    localhost IN A 127.0.0.1
    clusterhost-x-scan IN A 192.168.56.131
    clusterhost-x-scan IN A 192.168.56.132
    clusterhost-x-scan IN A 192.168.56.133
    [root@ovmdnsbox named]# cat 56.168.192.in-addr.arpa
    $ORIGIN 56.168.192.in-addr.arpa.
    $TTL 1H
    @ IN SOA sangramkeshari.net. root.sangramkeshari.net. ( 2
    3H
    1H
    1W
    1H )
    56.168.192.in-addr.arpa. IN NS sangramkeshari.net.
    131 IN PTR clusterhost-x-scan.sangramkeshari.net.
    132 IN PTR clusterhost-x-scan.sangramkeshari.net.
    133 IN PTR clusterhost-x-scan.sangramkeshari.net.
    [root@ovmdnsbox named]# service named start
    Starting named:
    Error in named configuration:
    zone localdomain/IN: loaded serial 42
    zone localhost/IN: loaded serial 42
    zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700
    zone 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 1997022700
    zone 255.in-addr.arpa/IN: loaded serial 42
    zone 0.in-addr.arpa/IN: loaded serial 42
    my.internal.zone.db:1: no TTL specified; using SOA MINTTL instead
    zone my.internal.zone/IN: loaded serial 1
    slaves/my.ddns.internal.zone.db:1: no TTL specified; using SOA MINTTL instead
    zone my.ddns.internal.zone/IN: loaded serial 1
    zone sangramkeshari.net/IN: loaded serial 42
    zone 56.168.192.in-addr.arpa/IN: loading master file 56.168.192.in-addr.arpa.zone: file not found
    internal/56.168.192.in-addr.arpa/in: file not found
    my.external.zone.db:1: no TTL specified; using SOA MINTTL instead
    zone my.external.zone/IN: loaded serial 1
    [FAILED]

    SangramKeshariDash wrote:
    Hi Guys,
    I am creating a DNS host setup to resolve the SCAN IPs used in Oracle 11g R2 RAC. The Idea is to resolve 3 IP addres in a round robin fashion.
    I am not a hard core linux admin just a DBA.
    Please help me get a pointer to troubleshoot this issue.
    ovmdnsbox is my DNS HOST going to be used by clusterhost1 and clusterhost2. Want to configure sangramkeshari.net as my domain.
    ON ovmdnsbox
    =====================
    added entry in /etc/named.conf
    zone "sangramkeshari.net" IN {
    type master;
    file "sangramkeshari.net.zone";
    allow-update { none; };
    zone "56.168.192.in-addr.arpa" in {
    type master;Note filename below:
    file "56.168.192.in-addr.arpa.zone";
    [root@ovmdnsbox named]# pwd
    /var/named
    [root@ovmdnsbox named]# cat sangramkeshari.net.zone
    $TTL 86400
    @ IN SOA sangramkeshari.net. sangramkeshari.net. (
    42 ; serial (d. adams)
    3H ; refresh
    15M ; retry
    1W ; expiry
    1D ) ; minimum
    IN NS localhost
    localhost IN A 127.0.0.1
    clusterhost-x-scan IN A 192.168.56.131
    clusterhost-x-scan IN A 192.168.56.132
    clusterhost-x-scan IN A 192.168.56.133
    Note filename here:
    [root@ovmdnsbox named]# cat 56.168.192.in-addr.arpa
    $ORIGIN 56.168.192.in-addr.arpa.
    $TTL 1H
    @ IN SOA sangramkeshari.net. root.sangramkeshari.net. ( 2
    3H
    1H
    1W
    1H )
    56.168.192.in-addr.arpa. IN NS sangramkeshari.net.
    131 IN PTR clusterhost-x-scan.sangramkeshari.net.
    132 IN PTR clusterhost-x-scan.sangramkeshari.net.
    133 IN PTR clusterhost-x-scan.sangramkeshari.net.
    [root@ovmdnsbox named]# service named start
    Starting named:
    Error in named configuration:
    zone localdomain/IN: loaded serial 42
    zone localhost/IN: loaded serial 42
    zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700
    zone 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 1997022700
    zone 255.in-addr.arpa/IN: loaded serial 42
    zone 0.in-addr.arpa/IN: loaded serial 42
    my.internal.zone.db:1: no TTL specified; using SOA MINTTL instead
    zone my.internal.zone/IN: loaded serial 1
    slaves/my.ddns.internal.zone.db:1: no TTL specified; using SOA MINTTL instead
    zone my.ddns.internal.zone/IN: loaded serial 1
    zone sangramkeshari.net/IN: loaded serial 42Note error message here:
    zone 56.168.192.in-addr.arpa/IN: loading master file 56.168.192.in-addr.arpa.zone: file not found
    internal/56.168.192.in-addr.arpa/in: file not found
    my.external.zone.db:1: no TTL specified; using SOA MINTTL instead
    zone my.external.zone/IN: loaded serial 1
    [FAILED]

  • Create a DNS record that switches IP address based on active server

    Good morning,
      I am trying to create a DNS record that will automatically update which server is the "primary" server.  We use a utility to lock the data and mirror between two servers on our network.  I have been investigating scripting the
    DNS record edit when we change over to the backup server but am still working on that.
    So essentially,
    I have SERVER-SQL record created.  When SERVERSQL1 is the primary with an ip of 1.1.1.1, I want SERVER-SQL to have the IP address of 1.1.1.1.  When SERVERSQL2 is the primary with an ip of 2.2.2.2, I want SERVER-SQL record to have the IP address
    2.2.2.2.
    Any help would be appreciated.

    Hi,
    According to your description, I suppose that you have two SQL server, one is active and another is passive. I noticed that the
    name is record is presented as SERVER-SQL which is different from both of the two servers. So we need create a CNAME record here.
    Based on my knowledge, A record can be created dynamically. But we still need create CNAME record manually. So I think the solution
    is back to the scripts.
    Hope this helps.

  • Create Apps for HTTP access

    Hi,
    Is there a way to create apps for HTTP access instead of using UNC?
    And have it access via Application Explorer?
    Thanks,
    Harold

    Do you mean an app to launch a web page via IE/NetScape?
    Just run "IEXPLORE.EXE" with the webpage as the parameter.
    Of do you mean HTTP connectivity for the workstation to run an app?
    The 2nd starts to exist in ZFD4 in some fashion , but not ZFD3.
    [email protected] wrote:
    > Hi,
    >
    > Is there a way to create apps for HTTP access instead of using UNC?
    > And have it access via Application Explorer?
    >
    > Thanks,
    > Harold

  • How can I create public AND private access with a wireless VPN router?

    I am thinking about getting one of the new pre-n wireless routers that has a builtin VPN.  I will need to have a private net for my office and a public net for my customers.  On the private side- my employees will need to access all network resources and servers etc.  On the public side, my customers just need to get to the Internet and maybe print on that side too.
    Both sides will be DHCP.
    Can I set this up with 1 device ro do I need 2?  How can I do this?  Any help is greatlu appreciated.
    Thanks all.
    Message Edited by Gman on 10-14-200607:08 PM

    The only safe way to do this is to creat user groups On your server and give specific assess to the users who log into the network.
    Using a single router , bifurcating a public from a private network is not possible.You will not be able to use the VPN since the users hav e to be connected to the VPN to log into your network.

  • SOAP Basic Authentication - How to create a limited user access

    Hello
    I have a lots of scenarios that use XI´s WebService for integration. For the 3rd party systems be able to use the WebServices, they need an authentication in Web Application Server.
    The question is: How can I create a user with LIMITED access to ONLY ONE Webservice in XI ?
    For example, I want a user called webservice1 that can access only http://myserver:50100/XISOAPAdapter/MessageServlet?channel=:SERVICE:SOAP_Sender_CC.
    I don´t wanna use HTTPS because the 3rd party systems are very limited and they don´t have HTTPS support.
    Thanks

    Yes, I have up the user in the Send Agreement. My SOAP Adapter Communication Chanel is configured there.
    I´m using the correct user in webservice authentication. Its the same I created in SU01.
    Without those authentication configurations (when All users can use the webservice), I can log in with this user. But when I restrict by doing the configurations, it doesn´t work.
    I just made a test by restricting the service for another user and the error message is different.
    When I log with a different user than the configured one, the error is:
    java.security.AccessControlException: USER has no permission for accessing party service :SYSTEM_TEST...
    When I log with the configured user authentication, the error is:
    com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_EXEC_PERMISSION:....
    Seems there´s still some missing configuration.
    Thanks

Maybe you are looking for