Tomcat in JWSDP - localhost:8080 doesnt work!

Hi there,
I am using tomcat 4.0 that comes with the Java Web Services Development Pack and I'm having a bit of a nightmare time with this.
Basically when I goto http://localhost:8080/index.html, I get an error. When I use http://127.0.0.1:8080/ it goes to the index page, which is all well and good.
After some research I located the "hosts.sam" file and "hosts" files and have made sure they contain the correct info and are in the right pace (i.e. C:\windows for win98). But still tomcat refuses to co-operate. Does anyone have any ideas about how to deal with this, esp given that its in the JWSDP.
Many thanks
JS

Hi, raj cmu. I have ie 5.0 but I checked the 6.0 version on the pc of a collegue and I found the identical option "use automatic configuration script". I recap what you have to do to find it: when you are on the internet go to Tools - Internet Options - connections - LAN settings. There you should find that option. Hope I could help you. Let me know.

Similar Messages

  • Localhost:8080 doesnt work

    hiiiiii
    When I execute C:\jakarta-tomcat-4.1.30\bin\startup......
    and try to open http://localhost:8080,,,,it didnt find the page......
    I am not behind the proxy.....
    If it is port problem...then suggest me how to change port no ....

    Nope, that's the default port.
    You should see the welcome page if you type http://localhost:8080 into the browser. From there you can log into admin or manager pages. This suggests that your install is bad.
    What messages are written to the logs? How 'bout to the command shell?

  • DNS error for localhost:8080 with Tomcat

    jdk1.2.2 is up and running and then I installed Tomcat on my Windows2000 PC.
    Then in a DOS window I did this:
    C:\Program Files\Apache Group\Tomcat 4.1\bin>startup
    And this display resulted:
    Using CATALINA_BASE: C:\Program Files\Apache Group\Tomcat 4.1\
    Using CATALINA_HOME: C:\Program Files\Apache Group\Tomcat 4.1\
    Using CATALINA_TMPDIR: C:\Program Files\Apache Group\Tomcat 4.1\\temp
    Using JAVA_HOME: C:\jdk1.2.2
    But I get "Cannot find server or DNS error" when I try
    http://localhost:8080/ or http://127.0.0.1:8080/admin
    Any suggestions would be appreciated.
    Thanks!

    Apparently the problem was caused by incompatibility between jdk1.2.2 and Tomcat4 as discussed in another topic on this forum.
    When I switched to a Tomcat3 version, everything worked fine.

  • Localhost:8080 for Tomcat causes Cycle Error

    I want to maintain a TomCat installation that is located at http://localhost:8080
    Everytime I go to it, I get the error:
    Cycle Detected
    Description: Your request is prohibited because it would cause a cycle.
    what gives with this ? Yes, I upgraded to FF 4 and so far its a pain.
    What the HELL happened to the status bar at the bottom of the page??!!

    Apparently the problem was caused by incompatibility between jdk1.2.2 and Tomcat4 as discussed in another topic on this forum.
    When I switched to a Tomcat3 version, everything worked fine.

  • Localhost:8080 redirects to localhost.ie:8080

    Hi All,
    I am interested in learning more about webservices and have just install Sun Java System Application Server 8.
    After starting the server, I needed to see if the server and installation went ok. This is done by typing :
    http:localhost:8080 into the browser (internet explorer 6)
    HOWEVER when I do this I get redirected to localhost.ie:8080 which yields an error as it can't find localhost.ie.
    it only works if I use http:\\127.0.0.1:8080.
    where is it getting the "localhost.ie" part from. I cannot seem to find the configuration file to edit it and replace localhost.ie with localhost.
    can anyone help me here.
    kind regards,
    Will.

    You probably just need to update your hosts file to include an entry for localhost

  • What is the Username and Password of the localhost:8080 to login to Apex?

    I just installed the Oracle Application Express to or above SQL of Oracle DB 11g Enterprise Edition. It said it was successfull installation. But when I login to Apex admin, using Firefox browser, (localhost:8080/apex/apex_admin), the firefox browser ask for my Username and Password. I used SYS and my password when I installed Oracle DB 11g, it didn't work.
    Please help me solve this problem so that I continue learning Apex. Now I'm stuck.

    Hi,
    Does it ask XDB password?
    If yes, did you unlock ANONYMOUS account?
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21673/otn_install.htm#CHDEIGGI
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • Opendoc : to pass  variable doesnt work

    hy,
    i want pass variable from one report to another
    i use this formula :
    "<a href='http://myserver:8080/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?sIDType=CUID&iDocID=Ad6ICMdlQV9ElilBHmITZpg&lsSpays=u201D[Pays]u201D&sRefresh=Y&sWindow=New'>detail</a>"
    pays is a prompt
    [pays] is my query object in a table
    when i clic on detail i want open detail report with prompt pays=value  line
    it's doesnt work my prompt is nul
    thank's
    Edited by: PHILIPPE REMIS on Oct 20, 2009 5:34 PM

    it's ok now

  • JWSDP 1.5 and Tomcat for jwsdp

    Hi,
    I downloaded and installed both JWSDP 1.5 and Tomcat for jwsdp.
    I set the variables JWSDP_HOME,JAVA_HOME,CATALINA_HOME,ANT_HOME as usual.
    But, when I launch "catalina.sh run" I have the seguent warning....
    INFO: Processing Context configuration file URL file:/opt/tomcat50-jwsdp/conf/Catalina/localhost/xindice.xml
    10-dic-2004 17.31.48 org.apache.xindice.server.XindiceServlet init
    WARNING: NamingException: javax.naming.NameNotFoundException: Name org.xml.sax.driver is not bound in this Context
    10-dic-2004 17.31.50 org.apache.xindice.core.Database setConfig
    INFO: Database points to /opt/tomcat50-jwsdp/registry-server/Xindice/./db
    10-dic-2004 17.31.51 org.apache.xindice.server.XindiceServlet init
    INFO: Database successfully started
    Does anybody tell me why?
    Thanks, Tony

    Tony:
    I'm seeing the same issue on my system.
    Redhat 9.0
    JDK 1.5.0_01
    JWSDP 1.5
    TOMCAT 5 for JWSDP
    Did a complete system wipe and reinstall and have the same issues.
    Did you get any responses, or discover a solution?
    TIA,
    drjohn

  • Straming video doesnt work.

    Streaming video doesnt work. Video in Skype is OK. Play locally stored video OK in MediaPlayer as well as iTunes. Downloaded Adobe Flash and Shockwave. Still no steraming after restart of PC.
    Firefox is upgraded.
    Windows XP home

    Hi,
    Can you please cross check the following :
    1. The rtmp URL is edited accordingly to point to the correct FMS server instead of localhost etc.
    2. The above code snippet should be bundled as an AIR app and published for iOS.
    If you are using HTTP instead of RTMP, you need to follow HLS streaming for iOS which makes use of the HTML5 video tags instead of any flash/AIR based applications. Please let us know if you are looking for this.
    Thank you !

  • Can anyone tell me why this doesnt' work please

    Be gentle :o)
    I am trying out this printing in version 1.4 I am wanting to print out the contents of a text file
    Below is the code but it does nothing
    It compiles but doesn't function??
    HELP
    import java.io.*;
    import javax.print.*;
    import javax.print.attribute.*;
    import javax.print.attribute.standard.*;
    import javax.print.event.*;
    public class PrintFile {
         public static void main(String args[]) {
              PrintFile pf = new PrintFile();
         public PrintFile() {
              /* Construct the print request specification.
              * The print data is Postscript which will be
              * supplied as a stream. The media size
              * required is A4, and 1 copy are to be printed
              DocFlavor flavor = DocFlavor.INPUT_STREAM.TEXT_PLAIN_HOST;
              PrintRequestAttributeSet aset =
                   new HashPrintRequestAttributeSet();
              aset.add(MediaSizeName.ISO_A4);
              aset.add(new Copies(1));
              aset.add(Sides.TWO_SIDED_LONG_EDGE);
              aset.add(Finishings.STAPLE);
              /* locate a print service that can handle it */
              PrintService[] pservices =
                   PrintServiceLookup.lookupPrintServices(flavor, aset);
              if (pservices.length > 0) {
                   System.out.println("selected printer " + pservices[0].getName());
                   /* create a print job for the chosen service */
              DocPrintJob pj = pservices[0].createPrintJob();
                   try {
                        * Create a Doc object to hold the print data.
                        * Since the data is postscript located in a disk file,
                        * an input stream needs to be obtained
                        * BasicDoc is a useful implementation that will if requested
                        * close the stream when printing is completed.
                        FileInputStream fis = new FileInputStream("EventFile.txt");
                        Doc doc = new SimpleDoc(fis, flavor, null);
                        /* print the doc as specified */
                        pj.print(doc, aset);
                        * Do not explicitly call System.exit() when print returns.
                        * Printing can be asynchronous so may be executing in a
                        * separate thread.
                        * If you want to explicitly exit the VM, use a print job
                        * listener to be notified when it is safe to do so.
                   } catch (IOException ie) {
                        System.err.println(ie);
                   } catch (PrintException e) {
                        System.err.println(e);
    }

    I too find the same problem not locating all the print services, then i use defualt print service and it works, another error i was getting that of invalid flavor so i then get all the doc flavor supported by my printer and use AUTOSENSE. Following is the code that u can test:
    import java.io.*;
    import javax.print.*;
    import javax.print.attribute.*;
    import javax.print.attribute.standard.*;
    import javax.print.event.*;
    public class PrintText1 {
         public static void main(String[] args) {
              System.out.println("Print Text");
              PrintText1 ps = new PrintText1();
         public PrintText1() {
              /* Construct the print request specification.
              * The print data is Postscript which will be
              * supplied as a stream. The media size
              * required is A4, and 2 copies are to be printed
              System.out.println(0);
              DocFlavor flavor = DocFlavor.INPUT_STREAM.AUTOSENSE;
              PrintRequestAttributeSet aset =
                   new HashPrintRequestAttributeSet();
              aset.add(MediaSizeName.ISO_A4);
              aset.add(new Copies(1));
              aset.add(Sides.ONE_SIDED);
              //aset.add(Finishings.STAPLE);
              /* locate a print service that can handle it */
              System.out.println(1);
              PrintService defpservices = PrintServiceLookup.lookupDefaultPrintService();
              System.out.println("Default Printer " + defpservices.getName());
              /* create a print job for the chosen service */
              DocPrintJob pj = defpservices.createPrintJob();
              System.out.println(2);
              try {
                   * Create a Doc object to hold the print data.
                   * Since the data is postscript located in a disk file,
                   * an input stream needs to be obtained
                   * BasicDoc is a useful implementation that will if requested
                   * close the stream when printing is completed.
                   FileInputStream fis = new FileInputStream("file.txt");
                        Doc doc = new SimpleDoc(fis, flavor, null);
                        System.out.println(3);
                        /* print the doc as specified */
                        pj.print(doc, aset);
                        * Do not explicitly call System.exit() when print returns.
                        * Printing can be asynchronous so may be executing in a
                        * separate thread.
                        * If you want to explicitly exit the VM, use a print job
                        * listener to be notified when it is safe to do so.
              } catch (IOException ie) {
                   System.err.println("IOException " + ie);
              } catch (PrintException e) {
                   System.err.println("PrinterException " + e);
    Try this code it will work for you to print the text file.
    Now my problem is i am trying to print the html file and its printing the html file including all the html tags, can anybody help how can i be able to print only that area that viewable to user in the internet explorer and not all the html tags:
    Following is my code which i had written using servlet:
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.*;
    import java.util.Properties;
    import java.net.*;
    import javax.print.*;
    import javax.print.attribute.*;
    import javax.print.attribute.standard.*;
    import javax.print.event.*;
    public class printServlet extends HttpServlet
         public void doGet(HttpServletRequest request, HttpServletResponse response)
              throws ServletException, IOException
              // Set the mime type
              response.setContentType("text/html");
              // Create a PrintWriter Object
              PrintWriter out = response.getWriter();
              /* Construct the print request specification.
              * The print data is HTMl which will be
              * supplied as a stream. The media size
              * required is A4, and 1 copies are to be printed
              System.out.println(0);
              //DocFlavor htmlFlavor = DocFlavor.URL.TEXT_HTML_US_ASCII;
              DocFlavor htmlFlavor = new DocFlavor("application/octet-stream", "java.net.URL");
              PrintRequestAttributeSet aset =
                   new HashPrintRequestAttributeSet();
              aset.add(MediaSizeName.ISO_A4);
              aset.add(new Copies(1));
              aset.add(Sides.ONE_SIDED);
              /* locate a print service that can handle it */
              System.out.println(1);
              //PrintService[] pservices =
                   //PrintServiceLookup.lookupPrintServices(htmlFlavor, aset);
              PrintService pservices = PrintServiceLookup.lookupDefaultPrintService();
                   //System.out.println("Printer Length " + pservices.length);
                   //PrintService service = pservices[0];
              System.out.println("selected printer " + pservices.getName());
              DocFlavor[] sdf = pservices.getSupportedDocFlavors();
              System.out.println("Supported DocFlavors are: ");
              for( int r = 0; r < sdf.length; r++ )
                   System.out.println(sdf[r].toString());
              /* create a print job for the chosen service */
              String urlString = "http://localhost:8080/printengine/jsp/hello.html";
              URL url = new URL(urlString);
              DocPrintJob pj = pservices.createPrintJob();
              Doc doc = new SimpleDoc(url, htmlFlavor, null);
              out.println("<html><body>" + doc + "</body></html>");
              System.out.println(3);
              /* print the doc as specified */
              try
                   pj.print(doc, aset);
                   System.out.println(4);
                   * Do not explicitly call System.exit() when print returns.
                   * Printing can be asynchronous so may be executing in a
                   * separate thread.
                   * If you want to explicitly exit the VM, use a print job
                   * listener to be notified when it is safe to do so.
                   out.println("<html><body>Printing Successful</body></html>");
              catch (PrintException e)
                   System.err.println("PrinterException " + e);
    Please help me out

  • About LOCALhost:8080

    i was using tomcat , wen i use localhost:8080 , i use to get into web_inf (TOMCAT MANAGER)in tomcat, now i installed oracle 9i but wen i use localhost:8080 i couldnt get into the previous web_inf what should i do how to change the settings

    Create a jboss-web.xml deployment descriptor.
    /usr/local/ws/deploy/myapp.war/WEB-INF/jboss-web.xml
    Add a context-root element to jboss-web.xml
    <?xml version="1.0"?>
    <!DOCTYPE jboss-web>
    <jboss-web>
    <context-root>/myapp</context-root>
    </jboss-web>
    If your application is packaged as a ear application include a context-root in application.xml:
    <application>
    <display-name></display-name>
    <module>
    <web>
    <web-uri></web-uri>
    <context-root></context-root>
    </web>
    </module>
    </application>

  • Localhost:8080

    Please, I have installed Tomcat and mySql twice in my C hard disk and then in my E hard disk, and i have desabled my UAC permissions as I have a Vista OS.
    My problem is that I could access my localhost:8080, just once in any installation but then I couldn' t be able anymore, like if I had to install again everything anytime to can access localhost:8080, do you know why?

    LILLA wrote:
    My problem is that I could access my localhost:8080, just once in any installation but then I couldn' t be able anymore,When you try to access localhost:8080 after the first time, what is the error that you get?? Are you running your vista from an administrator privilege user?? Are you getting any error on tomcat startup??

  • Localhost:8080 won't start

    I am new to J2EE. I installed the J2EE 1.4 for Windows downloaded from SUN.
    I started the Default server successfully, and the http://localhost:8080 works. After a while, I finished my dinner, my computer (Windows XP) went to "Standby". When I get in again, and refresh the iexplore, it seems just hang there.
    I tried to stop the server, it seems hang there too ....? After I restart my computer, and then started the default server, the servers started ok, the message displayed are " .... ready to take request ...", but the http://localhost:8080 still doesn't work. I check the config files, the domain.xml files, the http port is actually 8080.
    What's going on? This takes me two days already. I restart my computer many times already.
    Help me please!!!!!!

    this is may happen if all the connection is not closed properly once you shutdown the server.
    My suggestion is Start the server and check the server log message for whether the http service is started or not.. Sometimes http port 8080 may be used by some other application also. if so, kill that application and start the server again.
    Even above is not working, then you can check the server status by running the command "asadmin list-domains" in the start-->Run--> cmd-->command prompt, if the server is running then do the below mentioned
    If running, then try to change the http port using the asadmin command mentioned in the asadmin document and restart the server.
    Hope this work
    Regards
    Moin

  • Localhost is not working

    HI Guys,
    We have multisite application with two urls
    If i use one of the url then i am able to run application properly
    ex :http://xxx.com:8080/contextRoot
    but if i give the url like this http://localhost:8080/contextRoot then i am getting
    Oops! Google Chrome could not connect to localhost:8080
    this error
    why its happening like this
    if i want to access with localhost what  we have to do

    SiteManager creates sitemap based on siterepository, So u don't need to worry mapping.
    The reason we use default site, so that If something goes wrong,we will atleast have one working site.
    for default site : atg\multisite\DefaultSiteRuleFilter :
                   defaultSiteId=mystore
                   enabled=true
    for site mapping : If u wish u can provide url mapping too(No need) in atg\multisite\URLPatternMatchingRuleFilter
              URLs=\localhost:7001/shop/mystore=mystore,localhost:7001/shop/mystore2=mystore2
    Enable virtual context root service so that ur virtual context root can be recognized by ATG. MUST DO for multisite
                   \atg\dynamo\service\VirtualContextRootService enabled=true
    Most common error: site is not enabled, change the property in siterepository.
    Now also if it's not working Provide see the logs :
    atg\sitemap\SitemapGeneratorService
    Try to debug the issue with logs, It will always be helpful.
    Thanks,
    Nitin.

  • HT2693 hello, HP LaserJet 400 colorMFP M475dw printers smtp mail client doesnt work. Bad username or password. everything is correct. Any idea?

    hello, HP LaserJet 400 colorMFP M475dw printers smtp mail client doesnt work. Bad username or password. everything is correct. Any idea?

    Solved, just had to change the hostname order in /etc/hosts (I need to correct this on the arch wiki) :
    Before :
    127.0.0.1 localhost.localdomain localhost BodyArch-PC
    ::1 localhost.localdomain localhost BodyArch-PC
    After :
    127.0.0.1 localhost.localdomain BodyArch-PC localhost
    ::1 localhost.localdomain BodyArch-PC localhost

Maybe you are looking for

  • How do you transfer Pages files from Mac to ipad?

    How do you transfer Pages documents from Mac to Ipad?

  • This is my story - Error 12

    Hello, i got an 8month old iphone 5, just upgraded to ios 7 and it was great. After 2 days i lost my service provider. Usually for all sorts of problems, all i do is restore from a back up but this time it won't finish restoring and always gets error

  • Button link to URL

    So I've looked at w3schools.com for a tutorial on how to get a button to link to a URL by clickint the "+" symbol in the action window and click the "GetURL" aciton. but while having the button clicked, the action window says "Current selection canno

  • Can't download new podcasts or recent book purchases in iTunes

    I can't download new podcasts or recent book purchases in iTunes. I'm using iTunes 10.6.1 on a MacBook Pro running OS 10.7.4. This started a week ago. I unsubscribed and resubscribed to my podcasts (no luck). I whitelisted the possible sending domain

  • Widget Browser Error - can't access widgets

    Dreamweaver CS6 on a Windows 7 PC.  Insert > Widgets reveals no widgets available.  Widget Browser yields the following error: Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL (http://www.adobe.com/cfusion/exc