Establishing a Static IP help please :)

In order to establish a static ip i need the DNS Server address, however, when it is the same as the Default Gateway address you have to either go to your router's web interface or call your internet provider to obtain your DNS Server address. I was wondering if it is even possible to establish a Static IP w/ your phone as your modem/router and if so how do i obtain my DNS server adress when their is no router web interface. thanks for the help
Post relates to: Pre Plus p101vzw (Verizon)

ElliottG wrote:
and it just won't work. The internet will work, but I go check my ip, then go to restart my router, I do that, and reload the whatismyip page, my external ip changes...
It is normal because you have dynamic IP address. Every router/modem restart will get you a different IP address. All machines on the internet will only "see" your external IP. Internal IP (192.168.1.whatever) will not be "seen" from the internet.
When you go into control panel and go into internal protocol (tcp/ip) and set everything up, does the ip have to be outside the limits of the dhcp limit? Ex. 192.168.1.100 tp 192.168.1.49? I set it as 192.168.1.175 and it still doesn't work so I really need some help please...
You are mixing private IP with real/internet IP addressing scheme. They are 2 different things.
I'm probably guessing I need to get a static ip from my isp...but how come in all the guides it doesn't say that? and i'm sure my isp won't be too keen on giving me a static ip...
For simplicity, I guess. Yes, you must spend extra money to get static IP.

Similar Messages

  • Jdbc. The Network Adapter could not establish the connection. Help Please!!

    I've found several responses over this issue, but none works for me.
    I'm trying to setup a simple jdbc connection from a simple program.
    Platform:
    Fedora Core 4 (FC4) on AMD 64 bits
    Java 1.4.2_04 (64 bits)
    ORacle 10g or Oracle 9.2.0.4 (none works);
    Tips:
    - I can't connect to a remote server, nor to a local server
    - I can connect using SQLplus
    - TNSPing works fine
    - Listener it's up
    - my connection string is jdbc:oracle:thin:user/name@host:port:sid
    - Also try jdbc:oracle:thin:user/name@//host:port/sid
    - I'v tryied with classes12.jar, odbj14.jar
    - my hostname it's ok.
    I've monitored ip traffic on remote computer. While using TNSPING I detect activity. While using jdbc, no.
    Please, any idea??

    Thanks for your reply.
    To your questions:
    - I´v tried both IP, host, and even host.domain
    - I can connect from remote workstation using toad, and from local using sqlplus.
    - I can´t connect via jdbc.
    Folowing:
    A) my sample code
    B) the stack trace
    C) the listener status (from my 9i server. Also tryied another servr with 10g)
    when I call this program, I´ve tried severl connection strings:
    jdbc:oracle:thin:user/pass@sdd51:1521:ebf
    jdbc:oracle:thin:user/pass@:sdd51.sdd.com.ar:1521:ebf
    jdbc:oracle:thin:user/pass@:10.10.10.51:1521:ebf
    also try the other sintax:
    jdbc:oracle:thin:user/pass@//sdd51:1521/ebf
    In the classpath, I´tryied:
    clasess12.jar
    ojdbc14.jar
    nls_charset12.jar
    thanks
    A)=================================================
    // Import the JDBC classes
    import java.sql.*;
    import oracle.jdbc.pool.OracleDataSource;
    import java.io.*;
    import java.util.*;
    public class test
    // The query we will execute
    static final String query = "select 'Hello JDBC: ' || sysdate from dual";
    // The connection to the database
    static Connection conn;
    // Create the User Interface
    static public void main (String args[])
    try {
    String connect_string = args[0];
         // See if we need to open the connection to the database
         if (conn == null)
    // Create a OracleDataSource instance and set URL
    OracleDataSource ods = new OracleDataSource();
    ods.setURL(connect_string);
         // Connect to the databse
         System.out.println ("Connecting to " + connect_string + "\n");
         conn = ods.getConnection ();
         System.out.println ("Connected\n");
         // Create a statement
         Statement stmt = conn.createStatement ();
         // Execute the query
         System.out.println ("Executing query " + query + "\n");
         ResultSet rset = stmt.executeQuery (query);
         // Dump the result
         while (rset.next ())
         System.out.println (rset.getString (1) + "\n");
         // We're done
         System.out.println ("done.\n");
    catch (Exception e)
    e.printStackTrace();
         // Oops
         System.out.println (e.getMessage () + "\n");
    B)=================================================
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:156)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
         at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:212)
         at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:251)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:224)
         at java.sql.DriverManager.getConnection(DriverManager.java:512)
         at java.sql.DriverManager.getConnection(DriverManager.java:171)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:102)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:85)
         at test.main(test.java:66)
    C)=================================================
    LSNRCTL for Linux: Version 9.2.0.1.0 - Production on 30-JAN-2006 17:39:59
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 9.2.0.1.0 - Production
    Start Date 24-JAN-2006 11:16:18
    Uptime 6 days 6 hr. 23 min. 40 sec
    Trace Level off
    Security OFF
    SNMP OFF
    Listener Log File /opt/oracle/product/9.2.0/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sdd51.sdd.com.ar)(PORT=1521)))
    Services Summary...
    Service "ebf" has 1 instance(s).
    Instance "ebf", status READY, has 1 handler(s) for this service...
    The command completed successfully

  • HELP PLEASE iPod Touch 4G went brown, then static, then turned off

    I was listening to music and looking at photos when my screen flashed brown, then then that static that comes up on a TV came on, then turned off. It isn't turning back on, last week when I connected it to a computer it made a noise, but it's been plugged in for the last 30 minutes and nothings come up on iTunes.
    I've tried holding the sleep and home button... IT DOESNT WORK.
    Help please!

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iPod fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar

  • Unsatisfied link when callind dll from run method Help Please?

    Hi,
    I get an unsatisfied link error while trying to calling a dll at a certain time period in a run method. The same dll works fine called in another setup and even called in a loop.
    Can anyone help please?
    import java.util.Timer;
    import java.util.TimerTask;
    * Schedule a task that executes once every second.
    public class TimeRetrieve {
        Timer timer;
        public TimeRetrieve() {
                 timer = new Timer();
            timer.schedule(new RemindTask(),
                        0,        //initial delay
                        1*1000);  //subsequent rate
        class RemindTask extends TimerTask
           String string_A;
           double d1;
         double d2;
         double d3;
         double d4;
         double d5;
         double d6;
         double d7;
         double d8;
         int numIter = 3;
         int start = 1;
            public void run()
                  if (numIter > 0) {
                  cinterface(start, string_A, d1, d2, d3, d4, d5, d6, d7, d8 );
              System.out.println("In Java action performed start button, after call to dll  \n");
              System.out.println("   string_A =  :" +string_A );
              System.out.println("doubles , \t  d1  \t d2  \t  d3  \t d4 \t d5 \t d6 \t d7 \t d8");
              System.out.println(d1 +"\t" +d2+"\t"+d3+"\t"+d4+"\t"+d5+"\t"+d6+"\t"+d7+"\t"+d8);
              numIter--;
                 } else
                 System.out.println("End Looping!");
                    System.exit
                 System.exit(0);  
        public static void main(String args[]) {
                   System.out.println("Starting Data Retrieval.");
                 new TimeRetrieve();
    // Load shared library which contains implementation of native methods
                    public native void cinterface(int start, String string_A, double d1, double d2, double d3, double d4,
                    double d5, double d6, double d7, double d8 );
                    static
                          try
                               System.out.println ("load cinterface"); //unsatisfied link
                               System.loadLibrary("cinterface");
                          catch (UnsatisfiedLinkError ee)
                               System.out.println
                                    ("Caught unsatisfied link error for dlls" );
                               System.out.println
                                    ("get local msg = " + ee.getLocalizedMessage() );
                               System.out.println ("getMessage " + ee.getMessage() );
                                   // System.out.println ("print Stack Trace " +ee.printStackTrace() );

    My mistake! I found it. Had some wrong names.

  • My 3000H will no longer connect to the internet via my cable modem - help please.

    I have 3 computers and a media server on a Linksys router with a Comcast cable modem. Everything AOK. 3 weeks ago my Lenovo 3000H shut down and rebooted for no reason. Then I began getting popups while I was on the internet saying that I needed to click on a button to make a dial-up connection. I would hit X or Cancel to make it go away. It happend more frequently and other related popups started, but I could close them and continue normally. Last weekend It happened again but I lost my connection to the internet and it would not reconnect. Now I get a big error message "Connecting through Wan Miniport(PPPOE)... Error 815: The broadband netowrk connection could not be established on your computer because the remote server is not responding. This could be caused by and invalid value for the "Service Name" field for this connection. Please contact your ISP and inquire about the correct value for this field and update it in the Connection Properties..
    I called Comcast. They don't have a clue what Error 815 is. I have changed every cable, rebooted the modem, router and all computers countless times, and reset the modem per Comcast. I have taken the router out and connected directly into the Lenovo. I have gone through every screen related to broadband connection to no avail although, being a beginner, I see screens that I have no clue what they do.I have a couple of friends and a Comcast fellow who tried to walk me through the steps they thought would restore my connectio. No luck.
    Can anyone walk me through the necessary steps to get me back to ground zero and then through the steps to reestablish my broadband connection?
    Help Please?

    Emma-
    In Safari, press on the Bookmarks icon and select History.  Then press on Clear History at the top of that menu, and see it there is any improvement.
    If not, try unplugging your WiFi router for a few seconds.  Then reset the iPad's network.  Go to Settings-General-Reset-Reset Network Settings.  You will need to reconnect the iPad to WiFi.
    Fred

  • Little help please with forwarding traffic to proxy server!

    hi all, little help please with this error message
    i got this when i ran my code and requested only the home page of the google at my client side !!
    GET / HTTP/1.1
    Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*
    Accept-Language: en-us
    UA-CPU: x86
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.2; .NET CLR 2.0.50727)
    Host: www.google.com
    Connection: Keep-Alive
    Cookie: PREF=ID=a21457942a93fc67:TB=2:TM=1212883502:LM=1213187620:GM=1:S=H1BYeDQt9622ONKF
    HTTP/1.0 200 OK
    Cache-Control: private, max-age=0
    Date: Fri, 20 Jun 2008 22:43:15 GMT
    Expires: -1
    Content-Type: text/html; charset=UTF-8
    Content-Encoding: gzip
    Server: gws
    Content-Length: 2649
    X-Cache: MISS from linux-e6p8
    X-Cache-Lookup: MISS from linux-e6p8:3128
    Via: 1.0
    Connection: keep-alive
    GET /8SE/11?MI=32d919696b43409cb90ec369fe7aab75&LV=3.1.0.146&AG=T14050&IS=0000&TE=1&TV=tmen-us%7Cts20080620224324%7Crf0%7Csq38%7Cwi133526%7Ceuhttp%3A%2F%2Fwww.google.com%2F HTTP/1.1
    User-Agent: MSN_SL/3.1 Microsoft-Windows/5.1
    Host: g.ceipmsn.com
    HTTP/1.0 403 Forbidden
    Server: squid/2.6.STABLE5
    Date: Sat, 21 Jun 2008 01:46:26 GMT
    Content-Type: text/html
    Content-Length: 1066
    Expires: Sat, 21 Jun 2008 01:46:26 GMT
    X-Squid-Error: ERR_ACCESS_DENIED 0
    X-Cache: MISS from linux-e6p8
    X-Cache-Lookup: NONE from linux-e6p8:3128
    Via: 1.0
    Connection: close
    java.net.SocketException: Broken pipe // this is the error message
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
    at java.net.SocketOutputStream.write(SocketOutputStream.java:115)
    at java.io.DataOutputStream.writeBytes(DataOutputStream.java:259)
    at SimpleHttpHandler.run(Test77.java:61)
    at java.lang.Thread.run(Thread.java:595)
    at Test77.main(Test77.java:13)

    please could just tell me what is wrong with my code ! this is the last idea in my G.p and am havin difficulties with that cuz this is the first time dealin with java :( the purpose of my code to forward the http traffic from client to Squid server ( proxy server ) then forward the response from squid server to the clients !
    thanx a lot,
    this is my code :
    import java.io.*;
    import java.net.*;
    public class Test7 {
    public static void main(String[] args) {
    try {
    ServerSocket serverSocket = new ServerSocket(1416);
    while(true){
    System.out.println("Waiting for request");
    Socket socket = serverSocket.accept();
    new Thread(new SimpleHttpHandler(socket)).run();
    socket.close();
    catch (Exception e) {
    e.printStackTrace();
    class SimpleHttpHandler implements Runnable{
    private final static String CLRF = "\r\n";
    private Socket client;
    private DataOutputStream writer;
    private DataOutputStream writer2;
    private BufferedReader reader;
    private BufferedReader reader2;
    public SimpleHttpHandler(Socket client){
    this.client = client;
    public void run(){
    try{
    this.reader = new BufferedReader(
    new InputStreamReader(
    this.client.getInputStream()
    InetAddress ipp=InetAddress.getByName("192.168.6.29"); \\ my squid server
    System.out.println(ipp);
    StringBuffer buffer = new StringBuffer();
    Socket ss=new Socket(ipp,3128);
    this.writer= new DataOutputStream(ss.getOutputStream());
    writer.writeBytes(this.read());
    this.reader2 = new BufferedReader(
    new InputStreamReader(
    ss.getInputStream()
    this.writer2= new DataOutputStream(this.client.getOutputStream());
    writer2.writeBytes(this.read2());
    this.writer2.close();
    this.writer.close();
    this.reader.close();
    this.reader2.close();
    this.client.close();
    catch(Exception e){
    e.printStackTrace();
    private String read() throws IOException{
    String in = "";
    StringBuffer buffer = new StringBuffer();
    while(!(in = this.reader.readLine()).trim().equals("")){
    buffer.append(in + "\n");
    buffer.append(in + "\n");
    System.out.println(buffer.toString());
    return buffer.toString();
    private String read2() throws IOException{
    String in = "";
    StringBuffer buffer = new StringBuffer();
    while(!(in = this.reader2.readLine()).trim().equals("")){
    buffer.append(in + "\n");
    System.out.println(buffer.toString());
    return buffer.toString();
    Edited by: Tareq85 on Jun 20, 2008 5:22 PM

  • No internet connection(help please)

    I have the model---> Linksys WRT54GL Wireless-G Broadband Router
    As I connect the ISPs dsl cable to router the internet light doesn't turn on! Also the phone became "dead"! when i put out the ISPs dsl cable the phone is well again!
    The problem isn't the phone but why the router does not connect to the internet!
    please help me!
    thanx in advance

    Please state the make and model of your modem.
    I have tried to access web data on your OTE system.  Since I don't speak Greek, I have only been able to find some basic information.  Do you know what kind of "Internet Connection Type" you have from OTE?  Common types include:  Automatic Configuration - DHCP, PPPoE, Static IP, PPTP, L2TP.  Also, do you know if OTE requires a "Host name" or "Domain name"?
    Since you have already tried to setup the router a few times, you should reset the router to factory defaults, before trying to get it to work.   Please use the following procedure:
    1)  Power down all computers, the router, and the modem, and unplug them from the wall.
    2)  Disconnect all wires from the router.
    3)  Power up the router and allow it to fully boot (1-2 minutes).
    4)  Press and hold the reset button for 30 seconds, then release it, then let the router reset and reboot (2-3 minutes).
    5)  Power down the router.
    6)  Connect one computer by wire to port 1 on the router (NOT to the internet port).
    7)  Power up the router and allow it to fully boot (1-2 minutes).
    8)  Power up the computer (if the computer has a wireless card, make sure it is off).
    9)  Try to ping the router.  To do this, click the "Start" button > All Programs > Accessories > Command Prompt.  A black DOS box will appear.  Enter the following:  "ping 192.168.1.1"  (no quotes), and hit the Enter key.  You will see 3 or 4 lines that start either with "Reply from ... " or "Request timed out."   If you see "Reply from ...", your computer has found your router.
    10)  Open your browser and point it to 192.168.1.1.  This will take you to your router's login page.  Leave the user name blank, and in the password field, enter "admin"  (with no quotes).   This will take you to your router setup page.  Note the version number of your firmware (usually listed near upper right corner of screen).  Exit your browser.
    If you get this far without problems, I would suggest that you simply try using the router the way it is, at its factory defaults.  To do this, power down the entire system and unplug all devices from the wall.  Connect an ethernet cable from your modem to the "Internet" port on your WRT54GL.  Power up the modem and allow it to fully boot (1-5 minutes).  Power up the router and allow it to fully boot (1-2 minutes).  Power up your computer.  Test your system.  Can you get an Internet connection?  If not, power cycle the entire system, then try to get an Internet connection again.
    If it still fails, then power down your system, and disconnect the modem from the router.  Be sure the modem is disconnected from the router before you proceed. Then try the Easylink Advisor (or setup the router manually, if you prefer), and see if you can get your router setup and working.
    If you cannot get "Reply from ..." in step 9 above, your router is dead.
    If you get a reply in step 9, but cannot complete step 10, then either your router is dead or the firmware is corrupt.  In this case, use the Linksys tftp.exe program to try to reload your router with the latest firmware.  After reloading the firmware, repeat the above procedure starting with step 1.
    If you need additional help, please state the results of steps 9 and 10.  Also, if you get any error messages, copy them exactly and report back.
    Please let me know what happens.

  • Help please no sound ,error code

    [size="3" face="comic sans ms,sans-serif">Help please am having trouble with my X-FI card...
    [size="3" face="Comic Sans MS">?
    Sound Devices
    ??? Description: SB X-Fi Audio [7C00]
    ?Default Sound Playback: Yes
    ?Default Voice Playback: No
    ??? Hardware ID: PCI\VEN_02&DEV_0005&SUBSYS_002902&REV_00
    ?? Manufacturer ID:
    ?? Product ID: 00
    ??? Type: WDM
    ??? Driver Name: ctaud2k.sys
    ?? Driver Version: 6.00.000.368 (English)
    ?? Driver Attributes: Final Retail
    ??? WHQL Logo'd: n/a
    ?? Date and Size: 0/8/2008 0:2:50, 526232 bytes
    ??? Other Files:
    ?? Driver Provider: Creative
    ?? HW Accel Level: Full
    ??? Cap Flags: 0x0
    ? Min/Max Sample Rate: 0, 0
    Static/Strm HW Mix Bufs: 0, 0
    ?Static/Strm HW 3D Bufs: 0, 0
    ??? HW Memory: 0
    ? Voice Management: Yes
    ?EAX(tm) 2.0 Listen/Src: Yes, Yes
    ? I3DL2(tm) Listen/Src: No, No
    Sensaura(tm) ZoomFX(tm): No
    ??? Registry: OK
    ?? Sound Test Result: Failure at step 9 (User verification of software): HRESULT = 0x00000000 (error code)
    [size="3" face="comic sans ms,sans-serif">Can anyone help me with this problem?.. Thank you..

    $Hi Clayp,
    You will have a higher chance of getting a
    reply if you could describe when did this error code appear and what
    were you doing when this happened. If you need help from Customer
    Support, you can contact them using the email form here.

  • Help with loading dynamic classes ..need help please

    i'm trying to design a program where by i can load dynamic classes
    the problem i'm getting is that only one class is loading.
    classes are loaded by their names,and index numbers of public methods from a linklist
    .When the program runs only the first class is ever loaded and only the methods of that class ..
    help please
    //class loader
    import java.lang.reflect.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.table.*;
    public class Test2 extends Thread
         public Class c;
         public Class Ray;
         public Class[] x;
         public static Object object = null;
         public Method[] theMethods;
         public static Method[] method,usemethod;
         public int methodcount;
         public static int MethodCt;     
         public static JList list;
    public Method[] startClass(String SetMethodName)
         try
              c = Class.forName(SetMethodName);
              object = c.newInstance();
              theMethods = c.getDeclaredMethods();
              // number of methods
              //methodcount = theMethods.length;
         catch (Exception e)
              e.printStackTrace();
    // return the array then invoke the particular method later
    return theMethods ;
    public void RunMethod(Method[] SomeMethod, int methodcount)
         try
              SomeMethod[methodcount].invoke( object,null );
         catch (Exception e)
              e.printStackTrace();
    // end class loader
    //main calling program
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing .*;
    import java.lang.reflect.*;
    public class JFMenu extends JFrame
         public static JMenu pluginMenu;
         public static JMenuBar bar;
         public static final Test2 w = new Test2();
    public static Method[] setmethod;
    private static ClassLinkList startRef = null;
    private static ClassLinkList linkRef3 = null;
    private static ClassLinkList startRef2 = null;
    private String ClassName,ShortCut;
    private int MethodNumber;
    private JMenuItem PluginItem;
         JFMenu()
              super (" JFluro ");     
              JMenu fileMenu = new JMenu("File");
              fileMenu.setMnemonic('F');
              JMenuItem exitItem = new JMenuItem("Exit");
              exitItem.setMnemonic('X');
              fileMenu.add(exitItem);
              exitItem.addActionListener
                   new ActionListener()
                        public void actionPerformed(ActionEvent event )
                             System.exit(0);
              JMenu pluginMenu = new JMenu("Plugins");
              pluginMenu.setMnemonic('P');
              startRef = new ClassLinkList ("Hello","Hello ",2,1926,"Painter");
              addToList("Foo","Foo ",0,1930,"Author");
              while (startRef.linkRef5 != null)
                   //pluginMenu.addSeparator();
                   ClassName = startRef.linkRef5.className;
                   ShortCut = startRef.linkRef5.shortcutName;
    MethodNumber = startRef.linkRef5.methodNumber;
    AddMenuItem(pluginMenu,ShortCut,ClassName,MethodNumber);
                   startRef.linkRef5 = startRef.linkRef5.next;
              // create menu bar and add JFMenu window to it
              JMenuBar bar = new JMenuBar();
              setJMenuBar(bar);
              bar.add(fileMenu);
              bar.add(pluginMenu);
              //attributes for JFMenu frame
              setSize(500,200);
              setVisible(true);
         }// end JFMenu constructor
         public void AddMenuItem(JMenu MainMenu, String shortcut,String className, final int methodCount )
              if (MainMenu==null)
                   return;
              //JMenuItem item;
              JMenuItem item = new JMenuItem(shortcut);
              MainMenu.add(item);
              setmethod = w.startClass(className);
              item.addActionListener
                   new ActionListener()
                        public void actionPerformed(ActionEvent event )
                             w.RunMethod(setmethod,methodCount);
              //item.addActionListener(ij);
         public JMenuItem AddMenuItem2(JMenu MainMenu, String shortcut)
              //if (MainMenu==null)
              //     return Main;
              //JMenuItem item;
              JMenuItem item = new JMenuItem(shortcut);
              MainMenu.add(item);
              //setmethod = w.startClass(className);
              //item.addActionListener(this);
                   new ActionListener()
                        public void actionPerformed(ActionEvent event )
                             w.RunMethod(setmethod,methodCount);
              //item.addActionListener(ij);
         return item;
         public void ReloadMenu(JMenuBar Bar, JMenu PluginMenu)
              if (Bar==null)
                   return;
              //     setJMenuBar(Bar);
              Bar.add(PluginMenu);
              //item.addActionListener(ij);
    public static void main (String args[])
              JFMenu menapp = new JFMenu();
    public static void addToList(String clname, String shcutname, int metnumber, int year2,
                                  String description) {
         // Create instance of class ClassLinkList
    ClassLinkList newRef = new ClassLinkList(clname,shcutname,metnumber,year2,
                                       description);
    // Add to linked list;
         startRef = startRef.addRecordToLinkedList(newRef);
    // end main calling program
    class Hello extends Thread
    public int getNum()
    System.out.println("I can be ");
    return 5;
    public void rayshowName()
    System.out.println("anything i want ");
    public void rayshowName3()
    System.out.println("to be ");
    class Foo extends Thread
    public int getNum()
    System.out.println("IMHOFF");
    return 5;
    public void rayshowName()
    System.out.println("raYMOND");
    // FAMOUS PERSONS LINKED LIST EXAMPLE
    // Frans Coenen
    // Saturday 15 January 2000
    // Depaertment of Computer Science, University of Liverpool
    class ClassLinkList {
    /* FIELDS */
    public String className;
    public String shortcutName;
    public int methodNumber;
    public int yearOfDeath;
    public String occupation;
    public ClassLinkList next = null;
    public ClassLinkList linkRef5 = this;
    public ClassLinkList startRef = null;
    /* CONSTRUCTORS */
    /* FamousPerson constructor */
    public ClassLinkList(String classname, String shortcutname, int methodnumber, int year2,
                                  String description) {
         className = classname;
         shortcutName = shortcutname;
         methodNumber = methodnumber;
         yearOfDeath = year2;
         occupation = description;
         next = null;
    /* METHODS */
    /* Output famous person linked list */
    public void outputClassLinkedList()
         //public ClassLinkList outputClassLinkedList() {
         ClassLinkList linkRef = this;
         // Loop through linked list till end outputting each record in turn
    while (linkRef != null)
         //System.out.println(linkRef5);
         System.out.println(linkRef.className + ", " + linkRef.shortcutName +
                   " (" + linkRef.methodNumber + "-" + linkRef.methodNumber +
                   "): " + linkRef.occupation);
         linkRef = linkRef.next;     
    //return linkRef;
    //public String ShowCasname()
    //return String ;     
    /* Add a new record to the linked list */
    public ClassLinkList addRecordToLinkedList(ClassLinkList newRef) {
         ClassLinkList tempRef, linkRef;
         // Test if new person is to be added to start of list if so return
    if (newRef.testRecord(this) ) {
         newRef.next = this;
         return(newRef);
         // Loop through remainder of linked list
         tempRef = this;
         linkRef = this.next;
         while (linkRef != null) {
         if (newRef.testRecord(linkRef)) {
         tempRef.next = newRef;
              newRef.next = linkRef;
              return(this);
         tempRef = linkRef;
         linkRef = linkRef.next;
    // Add to end
    tempRef.next = newRef;
         return(this);
    /* Delete a record from the linked list given the first and last name. Four
    posibilities:
    1) Record to be deleted is at front of list
    2) Record to be deleted is at end of list
    3) Record to be deleted is in middle of list
    4) Record not found. */
    public ClassLinkList deleteRecord(String lName, String fName) {
    ClassLinkList tempRef, linkRef;
    // Record at start of list
    if ((this.className == lName) & (this.shortcutName == fName))
         return(this.next);
         // Loop through linked list to discover if record is in middle of list.
         tempRef = this;
    linkRef = this.next;
    while (linkRef != null) {
         if ((linkRef.className == lName) & (linkRef.shortcutName == fName)) {
    tempRef.next = linkRef.next;
    return(this);
    tempRef = linkRef;
    linkRef = linkRef.next;
    // Record at end of list, or not found
    if ((linkRef.className == lName) & (linkRef.shortcutName == fName))
                        linkRef = null;
         else System.out.println("Record: " + lName + " " + fName + " not found!");
         return(this);
    /* TEST METHODS */
    /* Test whether new record comes before existing record or not. If so return
    true, false otherwise. */
    private boolean testRecord(ClassLinkList existingRef) {
         int testResult = className.compareTo(existingRef.className);
         if (testResult < 0) return(true);
         else {
         if ((testResult == 0) & (shortcutName.compareTo(existingRef.shortcutName) < 0 ))
                             return(true);
         // Return false
         return(false);
         public void addToList(String clname, String shcutname, int metnumber, int year2,
                                  String description)
         // Create instance of class Famous Person
    ClassLinkList newRef = new ClassLinkList(clname,shcutname,metnumber,year2,
                                       description);
    // Add to linked list;
         startRef = startRef.addRecordToLinkedList(newRef);

    I have a similar problem. I am writing a program to read the class names from database and instantiate several classes which extends from ServiceThread (an abstract class extending from Thread).
    rs = pStmt.executeQuery();
    while(rs.next()) {
    String threadclassname = rs.getString("classname").trim();
    try{
    ServiceThread threadinstance = (ServiceThread)Class.forName(threadclassname).newInstance();
    }catch ...
    So far, only the first class is ever instantiated and runs fine. But subsequent classes do not even get pass the "... ... Class.forName(...).newInstance();" line.
    Funny thing is that there are also no exceptions. The JVM just seem to hang there.

  • After effects and photoshop ,,,help please

    hi all
    can anybody help please.
    ive been making a short film with my son and putting some basic effects in, just for a laugh.
    i noticed an effect on ADOBE TV that was done by Gareth Edwards in his movie MONSTERS which i thought would be good to try out in my film but i carnt get it right,,
    here is the link to that effect...            http://tv.adobe.com/watch/customer-stories-video-film-and-audio/monsters/
    its the effect where he changes the menu board in a cafe to one of his infected area signs, he allso changes a few other signs.
    in the video he say that he exports a still frame from after effects into photoshop and puts on his image {with a few tweaks her and there}, when hes got it ok in photoshop ,it some how updates in after effects??
    can any please help ,thank you

    It's a simplified explanation of the process.  He left out explanations of motion tracking and perspective matching that were most certainly required for the shot being discussed.
    If you are doing the same process to a static, locked off shot, with no foreground objects passing in front of your sign, it would be very possible to create a single frame in Photoshop and just layer it over your scene in AE.  But once the camera moves, you will need to understand Motion Tracking.  If objects pass in front of the replaced component, you will need to understand Masking.

  • ALMOST NO STORAGE HELP PLEASE!

    I was uploading my video to youtube from imove and i have almost no storage left it was fine before i did it i had 85.73 gb and now i have 22.21 gb I REALLY NEED HELP PLEASE i deleted the video and the files i have no idea what it did please someone help and fast and dont say get omni disk sweeper because i cant find the files that are taking up space i dont know what files are important so please help !

    You need to change the premise of your SSD use.
    see here:
    Your Solid State Drive and having enough space inside your Macbook Air & Pro
    Solid State Drive usage premise, or the “more space / upgrade SSD” question
    There have been questions posed and positions taken by many people who are trying to use their Macbook Air or Pro’s solid state drive (SSD) as a mass media storage device, for either pictures, videos, massive music collections or all three combined; but this should not be the working premise of a ‘limited’ SSD and its use.
    In which, it’s the case of those users with either 128GB, 256GB, or even 512GB of internal SSD space, that have or are running “out of space”, that questions are raised. The immediate premise of some users can sometimes be “(how to / if) upgrading my SSD” when in fact in nearly all instances another approach is the logical and sensible one that needs to be looked into and exercised.
    Any Macbook containing a SSD should be idealized as a ‘working platform’ notebook containing all your applications, documents, and weekly or bi-weekly necessary files. All collections of media files such as pictures, music, and videos, unless directly needed should be kept off the notebook and on an external hard drive or likewise. While the ‘working platform’ premise is also the case with larger internal conventional hard drives of 1TB+, its implementation isn't as critical except in terms of data protection.
    Realistically, you should at most coordinate roughly 20 to 25% of your total SSD space to all audio-video personal use media (picture / music / video collections), leaving the remaining amount on an external HD.
    Nobody should consider any notebook a data storage device at any time under any circumstance, rather a data creation, sending, and manipulation device; and in the case of a SSD, this is more important for purposes of having sufficient working space on the SSD and reducing SSD ‘bloat’ in which cases someone is wrongly attempting to use the SSD space as a large media storage nexus.
    The rare exception to the collective usage and premise of SSD use in which a much larger SSD is truly needed are for those in video and photography professions that require both the extremely fast speeds of the SSD and the onboard storage for large and or many video and photography files. However this also falls under the premise of a ‘working platform’ for such peoples rather than the intent of many who are using the SSD as passive and static data storage for media files very infrequently needed or accessed.
    All on-notebook data collections should be logically approached as to necessity, and evaluated as to whether it is active or passive data that likely doesn’t need to be on the notebook, allocations of space-percentages to as-needed work and use, apportioning space for your entertainment media, and questioning whether it should it be on the notebook for more than short-term consumption.
    Considerations should be made in the mind of any user in differentiating the necessary system data (System hub) comprising the Mac OSX, applications, necessary documents that both must and should be on your internal SSD, and that of the users personal data (Data hub) comprising created files, pictures, music, videos, PDF files, data created or being created and otherwise, that likely unless being used soon or often should be parked on an external hard drive for consumption, or temporarily loading onto the internal SSD.
    You both can and should purchase whichever SSD size you need or see fit, but even in the case of the largest of SSD, unless use-considerations are made, and SSD spaces are allocated as should be the case indicated above, one can easily and immediately run into this quandary of “needing more internal SSD space”, in which instance a different approach in usage must then be implemented.
    However it is almost always the case, that such large media files are wanted to be stored internally rather than actually needed, in which case the external HD is both prudent as well as necessary. Additionally costs per MB are infinitely less on an external HD than an internal SSD in any consideration of data expansion needs.
    A Professional Example
    In the case of a Macbook Air or Macbook Pro Retina with ‘limited’ storage on the SSD, this distinction becomes more important in that in an ever rapidly increasing file-size world, you keep vital large media files, pics, video, PDF collections, music off your SSD and archived on external storage, for sake of the necessary room for your system to have free space to operate, store future applications and general workspace. 
    You should also never be put in the position of considering “deleting things” on your Macbook SSD in order to ‘make space’. This is especially what your external HD is for.
    Professionals who create and import very large amounts of data have almost no change in the available space on their notebooks internal SSD because they are constantly archiving data to arrays of external or networked HD.
    Or in the case of the consumer this means you keep folders for large imported or created data and you ritually offload and archive this data for safekeeping, not only to safeguard the data in case your Macbook has a SSD crash, or gets stolen, but importantly in keeping the ‘breathing room’ open for your notebook to operate, expand, create files, add applications, for your APPS to create temp files, and for general operation.
    Slim USB3 1TB external hard drive
    External Hard Drives
    External hard drives are both extremely cheap and regardless of the size of your internal SSD (or even internal hard drive if the case), you need an external hard drive with your SSD equipped Macbook for several reasons:
    1. Data backup and protection.
    2. Redundancy for important data.
    3. Necessitated ideal space for large media files for collections of pictures, videos, and music etc.
    While ever changing in price, typical portable 2.5” external hard drives in USB3 run roughly $65 for 1TB or $120 for 2TB small portable USB3 hard drives. Such drives range in thickness between 5mm and 15mm, with recent improvements in storage of 500GB drives in 5mm profiles.
    There is almost no premise in which a small 12mm thick 1 Terabyte USB hard drive cannot be taken along with any Macbook as an external large storage extension inside any Macbook carry case or pouch. Typically such external HD profiles are not much bigger than a deck of cards.
    External hard drives are a foregone necessity for purchase with any Macbook for at the very least Time Machine backups, data redundancies, and ideally for large media storage.

  • b font color ='red' Java JDBC and Oracle DB URGENT HELP PLEASE /font /b

    Hello, I am a newbie. I'm very interested in Java in relation to JDBC, Oracle and SAP.I am trying to connect to an Oracle DB and I have problems to display the output on the consule in my application. What am I doing wrong here . Please help me. This is my code: Please Explain
    import java.sql.*;
    import java.sql.DriverManager;
    import java.sql.Connection;
    public class SqlConnection {
         public static void main(String[] args) {
              Class.forName("oracle.jdbc.driver.OracleDriver"); //Loading the Oracle Driver.
              Connection con = DriverManager.getConnection
              ("jdbc:orcle:thin:@34.218.5.3:1521:ruka","data","data"); //making the connection.
              Statement stmt = con.createStatement ();// Sending a query to the database
              ResultSet rs = stmt.executeQuery("SELECT man,jean,test,kok FROM sa_kostl");
              while (rs.next()) {
                   String man = rs.getString("1");
                   String jean = rs.getString("2");
                   String test = rs.getString("3");
                   String kok = rs.getString("4");
                   System.out.println( man, jean, test,kok );//here where my the
                                                 //compiler gives me errors
              stmt.close();
              con.close();
    }

    <b><font color ='red'>Java JDBC and Oracle DB URGENT HELP PLEASE</font></b>Too bad your attempt at getting your subject to have greater attention failed :p

  • HOME HUB - EVENT LOG - TECHNICAL HELP PLEASE

    Hello. I am trying to investigate why my BB usage is so high and have come across some recorded event entries in the 'event log' which I would like explained. Is there an expert/moderator  who can help please? What I am trying to establish is whether these entries could mean that there are outside users, using our broadband via P2P/Skype etc?. Many thanks.  n.b None of the names are known to me.
    VOIP: [2.0A] [john] [] 501 Not Implemented - SIP message sent
    13:31:32  16 Aug
    VOIP: [2.0A] [john] [-] REGISTER - SIP message received
    13:31:32  16 Aug
    VOIP: [2.0A] [daniel] [] 501 Not Implemented - SIP message sent
    13:31:32  16 Aug
    VOIP: [2.0A] [daniel] [-] REGISTER - SIP message received
    13:31:32  16 Aug
    VOIP: [2.0A] [Amanda] [] 501 Not Implemented - SIP message sent
    13:31:32  16 Aug
    VOIP: [2.0A] [Amanda] [-] REGISTER - SIP message received
    13:31:32  16 Aug
    VOIP: [2.0A] [andrew] [] 501 Not Implemented - SIP message sent
    13:31:32  16 Aug
    VOIP: [2.0A] [andrew] [-] REGISTER - SIP message received
    13:31:32  16 Aug
    VOIP: [2.0A] [jennifer] [] 501 Not Implemented - SIP message sent
    13:31:32  16 Aug
    VOIP: [2.0A] [jennifer] [-] REGISTER - SIP message received
    13:31:32  16 Aug
    VOIP: [2.0A] [newuser] [] 501 Not Implemented - SIP message sent
    13:31:32  16 Aug
    VOIP: [2.0A] [newuser] [-] REGISTER - SIP message received
    13:31:32  16 Aug
    VOIP: [2.0A] [computer] [] 501 Not Implemented - SIP message sent
    13:31:32  16 Aug
    VOIP: [2.0A] [computer] [-] REGISTER - SIP message received
    13:31:32  16 Aug
    VOIP: [2.0A] [calvin] [] 501 Not Implemented - SIP message sent
    13:31:32  16 Aug
    VOIP: [2.0A] [calvin] [-] REGISTER - SIP message received
    13:31:32  16 Aug
    VOIP: [2.0A] [charles] [] 501 Not Implemented - SIP message sent
    13:31:32  16 Aug
    VOIP: [2.0A] [charles] [-] REGISTER - SIP message received
    13:31:32  16 Aug
    VOIP: [2.0A] [paul] [] 501 Not Implemented - SIP message sent
    13:31:32  16 Aug
    VOIP: [2.0A] [paul] [-] REGISTER - SIP message received
    13:31:32  16 Aug
    VOIP: [2.0A] [dave] [] 501 Not Implemented - SIP message sent
    13:31:32  16 Aug
    VOIP: [2.0A] [dave] [-] REGISTER - SIP message received
    13:31:32  16 Aug
    VOIP: [2.0A] [steve] [] 501 Not Implemented - SIP message sent
    13:31:32  16 Aug
    VOIP: [2.0A] [steve] [-] REGISTER - SIP message received
    13:31:32  16 Aug
    VOIP: [2.0A] [tsinternetusers] [] 501 Not Implemented - SIP message sent
    13:31:32  16 Aug
    VOIP: [2.0A] [tsinternetusers] [-] REGISTER - SIP message received
    13:31:32  16 Aug
    VOIP: [2.0A] [tsinternetuser] [] 501 Not Implemented - SIP message sent
    13:31:32  16 Aug
    VOIP: [2.0A] [tsinternetuser] [-] REGISTER - SIP message received

    Ditto - http://community.bt.com/t5/BB-in-Home/I-guess-this​-is-not-normal/m-p/12705#M7403
    (note this was on 03/04/10 after I had manually turned OFF BBT).
    IanC did provide a plausible reason on the above link
    -+-No longer a forum member-+-

  • ITunes crashes at startup...need help please!

    OK, before I get a ton of links, I have looked all over and found no help for me in toher topics. If you do have links, then do give them, but I have checked stickies and so on.
    I downloaded iTunes 5, and it worked for a while, except I couldn't access the music store or it crashed. After A while it crashed every time I launched it. I waited for 5.0.1 to come out, and it does the same thing. Here is a screenshot of the error message I get when I start it up (a screenshot because I couldn't copy and paste, too long to type :S) http://static.flickr.com/30/49387606_6002648bdc.jpg?v=0
    If anyone has help, please tell me!

    Ever since the itunes upgrade my daughter has been having trouble with her ipod and downloading. She just brought all of this to my attention last night (tearfully), and I have been trying everything that has been advised to fix the problem.
    Long story short... I have uninstalled everything (itunes, ipod, quicktime) cleaned it all out multiple times as advised and each time I try to reinstall I get the error 1606 and then the error 1603 that follows. I am able to download quicktime, but not itunes and not ipod using the disk, same error. Tells me to go to the registry and correct the data values. What am I suppose to correct it with. The info listed there is: Default REG_SZ (Value not set), not sure what this all means. Please help, have a teen that is distraugt, and is making me worse. Nina

  • I keep being asked to update my Safari but when I do a Software update it scans but never gives me a list and just says no new updates. Help please!

    I keep being asked to update my Safari but when I do a Software update it scans but never gives me a list and just says no new updates. Help please!

    There are no updates to either OS 10.5.8 or Safari 5.0.6.
    If you need a later version of Safari you must first upgrade your operating system to a later version of OS X.

Maybe you are looking for

  • IPhoto '11 works on one user account but not the other

    I upgraded to iPhoto '11 from iPhoto '08 a couple of weeks ago using the MacApp store. After doing so, I opened the application on my main user account, received a message that the library had to be updated, the application did so, and it has been wo

  • Title in summary different

    I'm using X5 to create PDF documents. My help title is defined in the Single Source Layouts | Printed Documentation properties and in the Project properties. That topic is displayed in the title bar of the Adobe PDF, which is as you'd expect, however

  • Disable ENTER KEY on text item

    All, I am trying to disable SUBMIT on ENTER KEY for a text item on a page as below but still its submitting how can i achieve this. I want the page to totally disable the enter key so when i press ENTER KEY nothing happens, what i did: 1. when page l

  • Q10 bbm and skype, tango

    Hi, I just acquired a Q10 . it doesnt allow me to use the bbm. it says the associated email address i give is incorrect or temporary error of server??  also i am unable to download skype or tango to it? can aomeone pls help? thank you!

  • Actual Cost Calulation

    HI Can any one suggest me how actual cost of material is been calculated? What type of configration we need to do for this?