Help-- Do I need a domain name or IP is enough ?

Hi Everyone,
I had posted earlier regarding my application that it doesnt work on a real device but works on every manufacturers emulator !
I have got ADSL and I m using my IP address to access my Tomcat server and I m passing parameters in the URL :
http://xxx.xxx.xxx.xxx/servlet?param1&param2&param3&param4
I havent specified anything in my application like GET or POST just passing values in URL.
So, do I need to have a specifc domain name since I m not using GET or POST ?
Please guide.
Thank you.

Here is the code...
//This is the WaitScreen from where I m making a function call to get image
if (simpleCancellableTask1 == null) {                      
        // Insert pre-init code here
             simpleCancellableTask1 = new org.netbeans.microedition.util.SimpleCancellableTask();                       
             simpleCancellableTask1.setExecutable(new org.netbeans.microedition.util.Executable() {
                 public void execute() throws Exception {
                     im=getImage(url);
                     get_Image1Form().append(im);
         return simpleCancellableTask1;
//Code for making connection and getting image
private Image getImage(String url) throws IOException
      int width=mainForm.getWidth();
      int height=mainForm.getHeight();
     String serverUrl="http://localhost:8080/imageservlet";
     String httpUrl=serverUrl +"?width=" +width + "&height="+height + "&from="+from+"&to="+to;
     ContentConnection connection= (ContentConnection) Connector.open(httpUrl);
     DataInputStream iStrm = connection.openDataInputStream();
      ByteArrayOutputStream bStrm = new ByteArrayOutputStream();
     int firstfile,secondfile;
     byte imageData[] = null;
     byte imageData2[]=null;
     try
         int length =(int) connection.getLength();
         firstfile=iStrm.readInt();
         imageData=new byte[firstfile];
         iStrm.readFully(imageData);
         secondfile=iStrm.readInt();
         imageData2=new byte[secondfile];
         iStrm.readFully(imageData2);
     }catch(Exception ex)
         System.out.println("here is "+ex.getMessage());
         showAlert(ex.getMessage());
     }finally
         if(iStrm !=null)
             iStrm.close();
             bStrm.close();
         if(connection !=null)
             connection.close();
     img=Image.createImage(imageData,0,imageData.length);
    img1 =Image.createImage(imageData2,0,imageData2.length);
     return img;
}  So please tell me if there is anything wrong in here...
Thank you

Similar Messages

  • Do I need a domain name in order to connect to my Mini Server 10.8.2 from outside my network?

    I am working on setting up my mac mini server. Aside from in home file sharing I want ot be able to connect to some files remotely and even upload files, say pictures from my camera, to my server from outside my network. I am only looking to have maybe 2 users that have access. Should I get a domain name from a place like GoDaddy? in order to set up server to use domain in initial setup? I have 2 Drobos connected with my music, videos and pictures and I wat to access them from an Android, Windows and iPod device when away from home. Any how-tos out there or good step by step guides?
    Thanks for any information.
    -Peace
    -Dave

    A normal address like www.domain.com is intended to work with static IP addresses, DynDNS is a service specifically intended for dynamic addresses and it will therefore automatically update the address e.g. name.dyndns.org to match the dynamic IP address each time it changes.
    Some home broadband routers have built-in support to act as a DynDNS client but if yours does not then you can run the DynDNS software on your Mac server. This will then tell the DynDNS servers what your current dynamic IP address is so they can map it to your host name.
    The result will be that your users can use a name like yourname.dyndns.org to access your server and not have to worry about the fact your IP address may change.
    You would still need to run a VPN server to allow your remote users to connect to your network but OS X Server can do this. You could also run a website but depending on your needs that might be better done by using a web hosting service.

  • Personal Domain Name HELP - 2 names, 2 sites, 1 .Mac Account?

    Hey,
    I need some help and advice about personal domain names and making them work with .Mac.
    In iWeb (v1.1.2) I have created a Digital Portfolio, and then I have a writing site which I'm going to launch in the summer when I have plenty of time to redesign it - that site has four other created sites linked it to.
    Anyway, on my CV I want to put a webaddress, but I'm not wanting the .Mac *http://web.mac.com/username/iweb/sitename.* I want something like: www.sitename.co.uk. However, I want one address for my Digital Portfolio, and then another later for my Writing Site (www.writingsitename.co.uk).
    Can this be done?
    I've started looking for domain names, and www.123-reg.co.uk and www.ukreg.com seem to have the best prices. Anyone used them? Or suggest something else?
    Thanks for any help, information and advice.

    If you upgrade to iWeb 2 in iLife '08 you can use the Personal Domain feature; click here:
    See also this ongoing discussion thread:
    http://discussions.apple.com/thread.jspa?threadID=1487530&tstart=0

  • Domain Names and Oracle

    Hi,
    I am preparing to install Oracle 8i on my Windows NT machine,
    and I stumped into something that I can find no answer for.
    Oracle asks me to say what my domain name is (e.g. suse.com). It
    uses this to manage the different Oracle instances, e.g.,
    server1.suse.com and server2.suse.com. Well, the problem is that
    our machines do not have our domain name. That is, the machine I
    am using (as well as all our servers) does not have a DNS name
    xxx.intelsystech.com. Their names are managed by our ISP, and
    for all I know they change it once in a while. Our machines do
    have unique IP numbers, though (e.g. 43.25.44.32). We have
    managed to do just about everything else using these fixed IP
    numbers (e.g. ftp, http, etc.). Also, names are not a problem
    because all machines are in the Windows Active Directory domain,
    and therefore have a "local" name (e.g. Monet) in the Windows
    LAN.
    What should I enter when Oracle asks for my domain name? And for
    the machine name? Can I use the IP number? Or the IP pattern
    (e.g. 43.25.44.)? How will I be able to refer to an Oracle
    service (listener, database name) without a domain name?
    Thanks,
    Taha

    Oracle asks me to say what my domain name is (e.g. suse.com). It
    uses this to manage the different Oracle instances, e.g.,
    server1.suse.com and server2.suse.com. These domain names are not the same as ip domain names. You need
    the domain names only if you want to have different oracle db's
    connected to each other, e.g. for replication.
    If you are using this db alone, then just choose any name.
    How will I be able to refer to an Oracle
    service (listener, database name) without a domain name? You can use ip-addresses for listener and tnsnames, but it is
    better to use dns-names.
    Hop this helps.
    Thomas

  • Getting the domain name of the Client PC using WebUtil

    Hi Guys,
    Is there a way I can find the domain name of the computer running the forms using webutil.
    I use WEBUTIL_CLIENTINFO.GET_HOST_NAME to get the client computer name. I would also need the domain name.
    Thanks!
    Anand

    Try this:
    message(CLIENT_WIN_API_ENVIRONMENT.GET_ENVIRONMENT_STRING('USERDOMAIN'));I believe if no domain is defined, it will return the host name. Also, this obviously will only work on Windows clients.

  • Domain name settings - Newbie question

    Sorry for a newbie question!
    I am already pointing a domain name to web hosting for email account. Now, I need an application server to run ERP software and Oracle, and installing Solaris and Oracle need a domain name.
    If I point my domain name to the server, how do I receive emails from web hosting???
    Install an email server to the application server instead? What can I do if I want the same domain name? Any option?

    Setting up a mailserver and making sure it doesn't suddenly turn into a spambox is not something you do with the use of a few commands. I suggest to dive into the Solaris admin guide on docs.sun.com and read up on e-mail and network services.
    If that is asking too much of your time you'll be better off getting your ISP to handle all this for you.

  • Domain Name settings in Solaris - Newbie question

    Sorry for a newbie question!
    I am already pointing a domain name to web hosting for email account. Now, I need an application server to run ERP software and Oracle, and installing Solaris and Oracle need a domain name.
    If I point my domain name to the server, how do I receive emails from web hosting???
    Install an email server to the application server instead? What can I do if I want the same domain name?

    Your questions are completely off-topic for the forum.
    These SunOS forums are for questions on <i>"how do I install my OS"</i>
    You particular question is in the <i>"how can I install Solaris while using the CD drive"</i> forum.
    So, if you had a question on how to edit the /etc/inet/hosts file to establish a FQDN on the computer, then it might be appropriate for the forum.
    Unfortunately, I don't have a clue on where to redirect you, except perhaps to the Sun Java Enterprise System suite of applications?

  • IWeb '08 Personal Domain Name Network Solutions

    This is maddening and Network Solutions is no help. I have a domain name, say <wxyz.com>, registered with Network Solutions. The CNAME page has 3 columns of fields: "Alias" field; "Refers to Host Name" with Radio Button w/popup menu including "www"; radio button w/Other Host field.
    I have tried
    1. web.mac.com; www; blank
    2 web; blank; mac.com (recommended by network solutions staff)
    and neither work.
    Any suggestions? Thanks.

    Sorry to answer my own question but I called Network Solutions again and got a great tech who knew what she was doing and solved my problem. She said they are now familiar with pointing a registered domain name to web.mac.com so the best is to call and ask them to do it--1-866-908-1240.
    For the curious, here's what she did:
    1. Deleted all "A" records, essentially the IP addresses that point to Network Solutions "Under Construction" web page, some with ads.
    2. She added 2 aliases (CNAME Records) for the three fields as:
    a. *; blank; web.mac.com
    b. www; blank; web.mac.com
    Step 1. allowed entering www in the Alias field which I couldn't before and became totally confused.

  • Launch JNLP file which required full-qualified domain name

    Hi all,
    My suitation is like this:
    I need to launch an JNLP file which I need a domain name in order to access it: (using JDK 1.5.0_11)
    e.g. http://hostname.domain.domain/xxx/yyy/zzz.jnlp
    But when it try to access one of the jar file, it will refer to http://hostname/aaa.jar that lead to UnknownHostException.
    Note: (I already use the full domain name to launch the JNLP file..)
    Any one have idea on what to do? And I have no option to change the network setting to support solely "hostname" without domain.
    Here's the "little modified" Launch file in the error dialog (as some details can't be disclosed)
    [Launch path]:
    http://hostname.domain.com:12718/CMTE-3rdParty/tibco/7.5.2/tibco.jnlp
    [Error message]:
    Unable to load resource: http://hostname:12718/CMTE-3rdParty/tibco/7.1.2/tibco.jnlp
    [Launch File shown in error dialog]:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp codebase="http://hostname:12718/CMTE-3rdParty" href="tibco/7.1.2/tibco.jnlp">
    <information>
    <title>Tibco</title>
    <vendor>Multicast messaging library</vendor>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <jar href="tibco.jar" version="7.5.2"/>
    </resources>
    <resources os="Windows" arch="x86">
    <nativelib href="tibco-libs.jar" version="7.5.2"/>
    </resources>
    <component-desc/>
    </jnlp>
    Thank you very much.

    You should change the codebase (declared in the jnlp tag) to http://hostname.domain.com:12718/CMTE-3rdParty
    That's how jnlp works, URL are made up as codebase+href.
    You'd better use absolute URL for the jnlp href (not for resources).
    And, last but not least, as Andrew would say: use JaNeLa (look for a link almost anywhere in the forum).
    Bye.

  • Changing domain name after 12i installation

    Hi all,
    I misspelled my domain name during the 12i installation on Linux platform. i know it can be done by changing the context files of both application tier and database tier and running autoconfig after that, But i don't know the exact procedure to do it. Metalink note 387859.1 isn't very helpful to me. There are some notes for 11i on metalink but those are not helpful. Can any body tell in few straight forward steps how to change the domain name after 12i installation. Any help appreciated.

    I misspelled my domain name during the 12i installation on Linux platform.Was the installation successful? Did the post installation steps complete successfully?
    But i don't know the exact procedure to do it- Deregister the current database/application server
    - Update the AutoConfig Context files (database and application)
    - Shutdown the Applications Services
    - Reseed the Net Services Topology Model ***
    - Start the Applications Services
    Check the following note (Under Net Services Section) for the required steps to deregister a database/applications tiers from the Net Services Topology Data Model:
    *** Note: 387859.1 - Using AutoConfig to Manage System Configurations in Oracle E-Business Suite Release 12
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=387859.1

  • Need help hosting an XE APEX application using a domain name

    Hi,
    I have a pc with win xp and have installed XP with sp2. I have installed XE and upgraded to APEX 3.1. I have apache 2.2 installed. I have a dynamic IP so I have been using dyndns.org. I have just bought a domain name from 123-reg.co.uk. Now I want to link my domain name to my app.
    At the moment my users type http://mydomain.dyndns.com/apex. That open my APEX home page. Ideally I would like my users to type www.mydomain.co.uk and it should default to one of my applications.
    1. How do I get apache to redirect to a default application so users can just type www.mydomain.co.uk?
    I have the following lines in the config file
    <IfModule proxy_module>
    ProxyPass /apex http://127.0.0.1:8080/apex
    ProxyPassReverse /apex http://127.0.0.1:8080/apex
    ProxyPass /i http://127.0.0.1:8080/i
    ProxyPassReverse /i http://127.0.0.1:8080/i
    </IfModule>2. How do I link my domain name from 123-reg.co.uk to dyndns.com to my local pc?
    I sort of got it to work by setting up web forwarding in my domain settting I choi
    Non-framed web-forwarding - The destination URL will remain in the browser's address bar
    but then the url reverts back to mydomain.dysdns.org instead of www.mydomain.co.uk
    Thanks for your help.

    Hello,
    Non-framed web-forwarding - The destination URL will remain in the browser's address barI wouldn't advise using forwarding, since you have control over the DNS set the DNS to point to your IP address rather than their server, this will have a couple of advantages -
    1) You don't incur the 'penalty' of having your users having to go via your hosting companies servers for each request (they communicate directly with your server instead).
    2) You will incur less 'pain', web-forwarding can cause quite a few issues depending on your exact requirements (they might not affect you today or tomorrow, but someday down the line you might get bitten by them).
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

  • I need help deleting "all records associated with my domain name"

    Hello,
    I'm having problemsthe same exact problem as Daren... setting up my site to go live. Here's what I've done so far:
    1) built the site and pushed it live
    2) upgraded the site
    3) set up a GoDaddy domain name
    4) set up the servers on GoDaddy
    5) set up the associate account info on BC
    And then.... nothing.
    I've then deleted the domain and tried to repeat the process, in case I missed something, but now I can't set up a new domaine and keep getting the error "Domain already exists. Please delete all records associated with this domain". What records? What does this even mean?
    Can someone please walk me through the steps to get this site live?
    Thanks!
    Alex

    Can you try again? If still no go, please reach out to BC support directly via http://helpx.adobe.com/contact.html?product=business-catalyst&topic=using-my-product-or-se rvice.
    Thanks,
    Vinayak

  • The window where Domain Name, Edit, Modify doesn't show up to access my Fatcow website on my new iMac in Firefox (the only browser Macs can use). Help!

    Just got a new iMac. For the first few days, I was able to log in to, then access the window in Fatcow web host that allows me to make changes to my website. Now, the window that is supposed to say "Domain Name" and "Edit" and "Modify" is blank, so I cannot access my website to make changes. Firefox is the only browser available to Macs through Fatcow. In the two weeks before getting the iMac, I had the same problem on an Acer laptop. Hughesnet is our internet provider, since we live in the country. I have worked with several Fatcow techs, and they do not believe the problem is on their end. When I open Firefox, there is now also a message that says I'm missing plugins, yet when I follow the plugin link, no plugins are listed as missing. I have removed/reinstalled Firefox, to no avail. I have turned off the clear-cookies-automatically add-on, cleared the cache and history, etc., to no avail. I have printed out the HTML script for the Fatcow window from my Mac at work (from which I can access the window) and compared to the one at home. There doesn't appear to be any script missing, but I can't say for sure. I have read several articles, hoping for clues to fixing this problem. Now I need your technical expertise. HELP!

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    <b> To Enable SafeMode </b>
    *You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    *''Once you get the pop-up, just select "'Start in Safe Mode"''
    If it works in Safe Mode and in normal mode with all extensions (Tools > Add-ons > Extensions) disabled then try to find which extension is causing it by enabling one extension at a time until the problem reappears.
    Close and restart Firefox after each change via "Firefox > Exit" (Windows: Firefox/File > Exit; Mac: "Firefox > Quit Firefox"; Linux: "Firefox/File > Quit")
    * https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • IWeb Domain Name Question, Please Help

    I created an iWeb website hosted on my .Mac account.
    I forwarded my personal domain name, so that the website uses the domain <www.JohnPositive.com>.
    But once it gets to the site, the domain in the URL line changes to the long iWeb name of <www.johnpositive.com/jp/CASA.html>.
    What's bad about this is that I have a nationwide ad coming out that advertises the webpage of my site <www.johnpositive.com/students>, but the problem is that .Mac doesn't recognize this site, because it's changed to the long iWeb name of <www.johnpositive.com/jp/students.html>.
    How do I convert that URL back to a shorter URL, such as, <www.johnpositive.com/students>?
    I appreciate anyone's help on this. Must I create a redirect page? Are there some settings I'm missing?
    -Jan

    the url instantly changes and is long.
    This is the way CNAME pointing works with .Mac. If you like you can make things shorter by shortening the names you give your site and pages.
    Your "url", namely what people need to type to get to your site, is of course just the short version. What appears in the browser address bar is really irrelevant, but if it matters a lot to you, then you can undo everything you did for CNAME and switch to ordinary url forwarding/masking. With that, for every page on your site only www.myname.com will appear in the browser address bar for every page.

  • Just bought some domaine names, but can't see them. they are redirected. best guess it is something embedded in firefox. i can't see anything though. help!

    I bought some domain names from Godaddy. when i type the name into my firefox address line, instead of going to the parking page at godaddy, where it should go, it gets redirected to searchpagefix and there is a message on the side that says looksafe has blocked a hijacking page, etc.. i've spent hours on the phone with godaddy. they say the problem is not on their end. they see my domain name (peter-maloney.com) on their parking page. i spent hours on the phone with Norton support, my security software. They ran tests and diagnostics and found nothing. I downloaded ad-aware and ran that, nothing. I looked for looksafe to uninstall, etc. and it doesn't show up anywhere on my windows 7 machine. any suggestions? did this looksafe thing somehow get embedded in firefox? do i need to reinstall firefox? would i lose all my favorites?

    Bad redirects can result from a variety of causes, including (1) system level malware, (2) system level settings changes, (3) bad Firefox add-on, (4) Firefox settings changes, (5) other (depending on the nature of the redirect).
    Here's what I suggest for tracking it down:
    (1) Open the Windows '''Control Panel''', Uninstall a Program. After the list loads, click the "Installed on" column heading to group the infections, I mean, additions, by date. This can help in smoking out undisclosed bundle items that snuck in with some software you agreed to install. Take out as much trash as possible here.
    (2) Then, in Firefox, open the '''Add-ons page''' using either:
    * Ctrl+Shift+a
    * "3-bar" menu button (or Tools menu) > Add-ons
    In the left column, click Plugins. Set nonessential and unrecognized plugins to "Never Activate".
    In the left column, click Extensions. Then, if in doubt, disable (or Remove, if possible) unrecognized and unwanted extensions.
    Often a link will appear above at least one disabled extension to restart Firefox. You can complete your work on the tab and click one of the links as the last step.
    (3) Check your '''Firefox connection setting''' in the Options dialog here:
    "3-bar" menu button (or Tools menu) > Options > Advanced > Network mini-tab > "Settings" button
    The default of "Use system proxy settings" should piggyback on your Windows/IE "LAN" connection settings, but you also can try "No Proxy" to see whether that works better.
    (4) Search for remaining issues with the '''scanning/cleaning tools''' listed in our support article: [[Troubleshoot Firefox issues caused by malware]].
    Are you able to get rid of the unwanted redirects?

Maybe you are looking for

  • Best way to keep Essbase data available at all time

    Hi all, We are trying to find out the most suitable way of designing our Essbase cubes so that the data is available to user all the time even during data replication and aggregation. We may have aggregate the cubes every one hour and cubes will both

  • TS4268 iMessage Error

    When I attempt to use iMessage I'm requested to sign into my Apple ID acct. when I enter my password, I get the following error message "an error occurred during activation. Try again. " this has persisted for 2 days. I have been using iMessage no pr

  • Pass ID to Sub List

    Hello all, I am constrained to OOTB functionality (but can use query strings). I used these instructions to nest a related list. http://www.sharepointeurope.com/blog/2013/12/11/creating-sharepoint-related-list-views-(edit-and-display)-with-no-code Is

  • My sreen is all white cant do a thing

    I whanted to crop a picture and the screen is all white ?? what to do please

  • Adobe Shape not syncing

    I have been using the adobe shape iphone app for a few weeks to create graphics and it has been working great. Yesterday it stopped syncing anything created in the app. I see everything in the app library but it isn't uploading to the creative cloud