Problem running tomcat on solaris 10

Hi,
I installed tomcat 5.5.25 on Sun Solaris 10. I didn't get any errors. Nothing in tomcat log.
When i type localhost:8080 in the address bar of firefox i got error
"Unable to Connect"
Firefox can't establish a connection to a server at localhost:8080
Please help

I tried this command
netstat -a | grep 8080
I didn't get any results.
I am not sure if tomcat is running.
I run the following command
#sh startup.sh
and get this results
Using CATALINA_BASE: /usr/apache-tomcat5.5.25
Using CATALINA_HOME: /usr/apache-tomcat5.5.25
Using CATALINA_TMPDIR /usr/apache-tomcat5.5.25/temp
Using JRE_HOME: /usr/jdk/j2sdk1.4.2_13
Any idea what i am doing wrong

Similar Messages

  • Problems running tomcat on win XP

    Hi!
    I've just downloaded and installed the JWSDP on Windows XP Professional, but when I try to use Tomcat it starts but then terminates instantly. Can anyone help me with this?
    thanks, Ylva

    Are you sure its terminating? You will not get an open window when you run tomcat, just a minimised toolbar window.
    If it is definitely terminating, have a look at the log file to see what error (if any) is produced - JWSDP_HOME\logs\catalina.out
    Also make sure that you are not running any other application which might be using port 8080.
    //Daniel.

  • Problem running Tomcat server

    Specifications :
    Tomcat server : 5.5
    OS : windows XP
    Installed - configured - started service.
    Port set to 8443 in server.xml file as 80 and 8080 is engaged.
    Icon at the tool bar says the server is started.
    Opened browser, http://localhost:8443
    Message :
    HTTP Status 404 - /
    type Status report
    message /
    description The requested resource (/) is not available.
    Apache Tomcat/5.5.4
    Log file stdout.log says :
    Dec 14, 2004 2:47:49 PM org.apache.catalina.startup.ContextConfig processDefaultWebConfig
    SEVERE: Occurred at line 319 column 23
    Dec 14, 2004 2:47:49 PM org.apache.catalina.startup.ContextConfig start
    SEVERE: Marking this application unavailable due to previous error(s)
    Dec 14, 2004 2:47:49 PM org.apache.catalina.core.StandardContext start
    SEVERE: Error getConfigured
    Dec 14, 2004 2:47:49 PM org.apache.catalina.core.StandardContext start
    SEVERE: Context startup failed due to previous errors
    Dec 14, 2004 2:47:49 PM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8443
    Dec 14, 2004 2:47:49 PM org.apache.jk.common.ChannelSocket init
    INFO: JK2: ajp13 listening on /0.0.0.0:8009
    Dec 14, 2004 2:47:49 PM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/47 config=null
    Dec 14, 2004 2:47:49 PM org.apache
    INFO: Server startup in 2203 ms
    Please let me know where is the problem ??
    Thanks. Lax.

    Tomcat is telling you there is no context configured to be available from "/". Normally, this would be the default tomcat ROOT webapplication but you somehow managed to remove it (this is not a problem really, in a production environment you don't want it). If you want a context to be available on '/', you need to mount one there. So either install a webapp in the webapps/ROOT folder, or set one manually to '/' in the server.xml file. Check the tomcat docs on how to do this. Here is an example:
    <Host name="localhost">
            <Context path="/" docBase="/usr/local/mywebapp" privileged="true" debug="0">
               <Resources className="org.apache.naming.resources.FileDirContext" allowLinking="true" docBase="" />
              </Context>
    </Host>
    Good luck!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Problem running car demo jwsdp-1.3,Tomcat 5.0

    Hello. I am having problems running the car demo on the jwsdp-1.3 with Tomcat 5.0.
    I get the following error message:
    "A jar file containing the Servlet 2.3 and JSP1.2 classes is required to compile
    carstore. Please define the property servlet.jar in your build.properties file and ensure
    that the file exists."
    I replaced the jsf EA 4 with the beta, and cleared out the cache in catalina as per the
    installation documents. I am probably missing something here. I checked my path,
    (I am using windows xp) and made sure the jsf directory was in the path.
    Any help would be greatly appreciated. Thanks in advance.
    regards,
    cyuno

    Thanks for your response.
    I changed the path to the tomcat 5.0 that came with the jwsdp-1.3.
    However, I am still getting the same error message. I have checked the build.properties file, the path, the path where ant is located, and the path is pointing to the jwsdp-1.3 directory.
    I have been working with the examples in the java web services tutorial, and for the most part have not had any problems running the examples using the jwsdp-1.3, ant and tomcat 5.0(except for CH 11, on the jaxb examples)
    Thanks again for your help
    regards,
    cy unpingco

  • Problems running adobe 7 on solaris 9

    Hello all,
    I am needing some information on getting adobe 7 to run on my solaris 9 server v4400. I have installed the software correctly in the recommended directory and I can run the the reader from /opt/acrobat folder. I can then load any files manually through the reader.
    What I need to be able to do is when a user puts a cd in the drive with a file that has a .pdf extension for them to be able to double click on it and the reader to open the file. Right now I am getting an error message that states acro reader not found. I have a guess that it is a path problem but am very new to solaris. Any help would be appreciated.
    Oh yeah I have tried this while logged in as root and as a admin user account I created.

    Maybelline :
    No error message. When I click on a pdf file, nothing happens. When trying to execute the command in a terminal window, the cursor remains hung up and nothing happens. I raised the issue because Adobe did not indicate it would work in a CDE desktop environment. As a result, I am still using Acrobat 5. But it would be great if I could upgrade to 7 or 8.
    Thanks,
    Al Arking

  • Problems getting tomcat to run on localhost or anywhere...

    I have a huge problem, I have a servlet that i'm developing for the company of my internship, and this is the first servlet i've ever had to develop. It has taken me the entire semester to get as far as i have, and i have a lot of time invested in getting this servlet-centric application to work.
    My problem is that i cannot even get tomcat web container to work right on just the local computer- much less the server it will need to run on to support this web app. I have looked through tons of documentation on the web and on the apache website for help on configuring tomcat, and have worked through tutorials on how to get it working, but have not yet had a success story. Time is really running to the line now!
    I have read that in order for tomcat to run on IIS you need to configure 'isapi_redirect.dll' and get IIS to filter requests to tomcat. I have even worked through tutorials in doing this, but cannot get it working still. I have tomcat installed, and even shutting off IIS will not allow me to run tomcat and get even an example file included with tomcat to load up when pointing to http://localhost:8080/ or any port listed in the server.xml config file. I can though, get IIS's default page to come up when it is running by pointing to http://localhost/.
    I have exhausted all ideas i have to try and make it work, and am not consulting the forum for help. I know there must be a simpler way to get tomcat working at least on the localhost. ANY advice that leads to me being able to get tomcat running right so i can even just test my servlet how it would run on my local computer would be very very great help. Also, if help can be given on how to get it installed with least amount of hassles on a web-hosting server it would be very appreciative.
    I am in desperate need of help on this,
    please please help me!
    -mike

    Found the problem- setup turned out a lot easier when i downloaded the right Tomcat file- i had the .zip- which doesn't have an installer on it- so i just talked to a friend, he recommended the one with the installer- less to go wrong in configuration- and it works perfect for the local machine at least- the server might be an issue with support mostly though- don't know yet til i test it there- thanx for trying to help- but got the problem fixed before you guys got the chance to really help much.

  • JSP problem when running Tomcat in Eclipse

    Hello,
    Eclipse newbie here.
    I just started using Eclipse and I have installed the Tomcat plugin. When I run Tomcat within Eclipse, http://localhost:8080 works fine, but when I tried to access a JSP that I've created, I'm getting this error:
    HTTP Status 404 - /JSPDemo.jsp
    type Status report
    message /JSPDemo.jsp
    description The requested resource (/JSPDemo.jsp) is not available.
    Using Eclipse version 3.1.2
    Tomcat Plugin = sysdeo 3.1
    Tomcat version 5.0.28
    JDK + JRE = 1.4.2_08
    I was just following this tutorial:
    http://plato.acadiau.ca/courses/comp/dsilver/2513/EclipseAndTomcatTutorial/
    Thanks in advance.

    why not use Web Tools Project of Eclipse, it comes with all plugins necessary for J2EE and Web development
    http://www.eclipse.org/webtools/
    it's much easier to use

  • Problem with Tomcat 404 Redirects & Internet Explorer

    Hello All --
    I am running Tomcat 5.5.9 stand alone on a linux server. My default application is loading when you visit http://*IPAddress*/
    I have set up the standard <error-page> tags in my context web.xml, located in: TOMCAT-INSTALL/webapps/contextname/WEB-INF.
    Browsing to an invalid link through FireFox correctly displays my error page. However, browsing to the same invalid link through IE 6 displays the standard IE 404 Not Found Error message.
    The strange thing is, if I visit a correct page through IE, then go back and change it so it is incorrect, THEN IE sees my custom error page.
    For example, if I visit
    http://siteaddress.com/products.jsp?product_id=12345, the page loads correctly. If I change the address to
    http://siteaddress.com/products.js?product_id=12345, IE then sees my custom error.
    But if I enter the incorrect address right away in a new IE window, I receive the standard IE 404 error messaging.
    Could someone please explain why this is happening and what I can do to resolve the problem?
    Thank you in advance for your help!
    -- Chris

    Hi,
    I got this to work finally and documented it here:
    http://markashworth.objectis.net/Tutorial/tomcat404IE
    Hope this helps.
    Mark Ashworth

  • Problem running Lex in project created with Forte C++

    I am having a problem running Lex in project using Forte C++ 6. I believe I may have an installation problem, but can't figure out where it is.
    I created the project using Workshop. The make file generated is trying to run the following command: lex -o output/cmdscan.o cmsscan.l
    Which causes the following error message lex: illegal option -- o
    I checked the man pages and Lex doesn't have a -o option.
    Is there another version of Lex installed by Forte C++ that is different than Lex from Solaris?
    Ron

    I created the project using Workshop. The make file generated is trying to run the following command: lex -o output/cmdscan.o cmsscan.l
    Which causes the following error message lex: illegal option -- o
    I checked the man pages and Lex doesn't have a -o option.
    Yes, try in google.com
    Wishes , a [url http://personallfiles.com/Grant.Scholarship.asp]federal grant and scholarship-in need for me

  • Problems running servlet due to missing classes?

    Hi everyone,
    I am doing a project which requires me to convert a java coding into a servlet. This java coding I am working on is some kind of location based service which tracks people (receiving an argument of a string as IP). It imports an external SDK called Ekahau SDK (some off the shelve product). Now I wish to convert it into a servlet so that the function that the java coding performs can be run from a webpage i created.
    I have previously posted a thread on this forum called "Converting java coding into servlets?" when I had trouble compiling the servlet. Now that I could compile the servlet already, I still have problems running the servlet from my browser.
    The webserver I am using is Apache Tomcat. Previously I was trying Apache HTTP server but since now I need to use servlet, I have shifted to Tomcat instead. I have been getting these "java.lang.NoClassDefFoundError:" when running the servlet from the browser. From the previous thread, I got suggestions from the replies saying that I need to put the jar files I need into my "C:\Tomcat\webapps\try\WEB-INF\lib" directory. I have been looking for the missing jar files from the internet and putting them into my "C:\Tomcat\webapps\try\WEB-INF\lib", but each time after adding a new jar file, I get another new "java.lang.NoClassDefFoundError:". Are the missing jar files really the problems? Cause it seems a bit weird to me that I need some many jar files which I dont even know why I need them for.
    The HTTP status 500 error look like this:
    description
    The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Servlet execution threw an exception
    root cause
    java.lang.NoClassDefFoundError: org/apache/excalibur/configuration/CascadingConfiguration
    com.ekahau.G.N.A(Unknown Source)
    com.ekahau.G.N.<init>(Unknown Source)
    com.ekahau.sdk.imp.yax.D.<init>(Unknown Source)
    com.ekahau.sdk.imp.yax.E.connect(Unknown Source)
    com.ekahau.sdk.PositioningEngine.connect(Unknown Source)
    coreservlets.testing.find(testing.java:75)
    coreservlets.testing.doGet(testing.java:36)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    Here are the series of jar files I have been looking from the internet to add them into my "C:\Tomcat\webapps\try\WEB-INF\lib" directory:
    1) org/apache/commons/collections/Closure
    2) org/apache/log4j/Logger
    3) org/apache/commons/lang/Validate
    4) org/apache/excalibur/configuration/CascadingConfiguration
    Please help~~ Thanks a lot.
    My servlet coding is like this:
    package coreservlets;
    import java.io.*;
    import java.util.*;
    import java.io.IOException;
    import java.io.PrintWriter;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import com.ekahau.sdk.*;
    public class testing extends HttpServlet
         String ipAddress;
         int result;
           public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
                  ipAddress = request.getParameter("deviceIP");
              try
                   result = find();     
              catch (IOException e)
                   System.out.println("Error..." + e.toString());
              catch (EngineException e)
                   System.out.println("Error..." + e.toString());
              response.setContentType("text/html");
                  PrintWriter write = response.getWriter();
              write.println("<HTML>\n" +
    "<HEAD><TITLE>Tryget</TITLE></HEAD>\n" +
    "<BODY BGCOLOR=\"#FDF5E6\">\n" +
    result +
    "</BODY></HTML>");
           public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
                  doGet(request, response);
         public int find() throws EngineException, IOException
              PositioningEngine.connect();
                  // Find the given device:
                  Device[] devices = PositioningEngine.findDevice("NETWORK.IP-ADDRESS", ipAddress);
                  if (devices.length == 0)
                         System.err.println("Device with IP address " + ipAddress + " not found.");
                   PositioningEngine.disconnect();
                   return 0;
              else
                         TrackedDevice device = new TrackedDevice(devices[0]);
                         // Create a simple handler for locations for one-time usage:
                         LocationEstimateListener estimateListener = new LocationEstimateListener()
                           public void handleLocationEstimate(LocationEstimate locationEstimate, TrackedDevice device)
                                  // Change getLatestLocation to getAccurateLocation if you want
                                  // a bit more accurate but a few seconds delayed location.
                                  Location loc = locationEstimate.getLatestLocation();
                             final double coX = loc.getX();
                             final double coY = loc.getY();
                             try{
                             FileWriter file = new FileWriter ("C:\\Documents and Settings\\xamule\\Desktop\\Testing\\output\\output.txt");
                             String x = Double.toString(coX);
                             String y = Double.toString(coY);
                             String coor = x + "\t" + y;
                             file.write(coor);
                             file.close();
                             catch (IOException e){
                             System.out.println("Error..." + e.toString());
                   StatusListener statusListener = new StatusListener()
                           public void handleStatus(Status status, TrackedDevice device)
                                  System.err.println(new Date()+"\tStatus for device: " + status);
                         // Add listeners and start tracking
                         device.addLocationEstimateListener(estimateListener);
                         device.addStatusListener(statusListener);
                         device.setTrackingParameter("EPE.LOCATION_UPDATE_INTERVAL","6000");
                         device.setTracking(true);
                         // Wait until user inputs something. When he/she does, stop tracking and quit application
                         //BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
                         //in.readLine();
                         // Stop tracking and disconnect from the positioning engine:
                         device.setTracking(false);
                         PositioningEngine.disconnect();
                   return 1;
    }

    Well, it's kind of logical that as you put more jar files (classes) in Tomcat, it changes the error to ask for the classes (inside a jar) it cannot find.
    There was a good class->jar finder on the internet some years ago, but i don't remember the address. Try looking for that and search all the missing classes (NotDefined) and their correspondig jar files.
    Good Luck!

  • Patch problem in SUNWappserver under Solaris 10

    When attempting to install the patch 119166-15 for AppServer 8.1, I get the following info and error:
    <--- Begin Session text --->
    # patchadd -G 119166-15.jar
    Validating patches...
    Loading patches installed on the system...
    Done!
    Loading patches requested to install.
    Done!
    The following requested patches have packages not installed on the system
    Package SUNWaslb from directory SUNWaslb in patch 119166-15 is not installed on the system.
    Checking patches that you specified for installation.
    Done!
    Approved patches will be installed in this order:
    119166-15
    Verifying signed patch <119166-15>...
    Verifying digital signature for signer <es-signature>
    ERROR: Signature verification failed while verifying certificate <subject=Sun Microsystems Inc Root CA, issuer=GTE CyberTrust Root>:<unable to get local issuer certificate>.
    ERROR: Unable to verify signature for signer <es-signature>
    Signature invalid on signed patch <119166-15>.
    Patchadd is terminating.
    <---End Session test --->
    Also having problems running "asadmin" ; I cannot determine which port the Admin Server is running on or needs to be running on. Fairly new to SUN OS, so any "dummy" pointers would probably help...
    Regatds...
    Texas Mike....

    You might want to ask about patching issue on Solaris update forums since as far as I can tell issue is not related to the fact that patch is for Application Server - it seems to be generic problem with patch signature verification. Solaris update and patching forum URL:
    http://forum.sun.com/jive/forum.jspa?forumID=316
    As for the asadmin question: first you need to start your server using 'asadmin start-domain' command and you do not need to know the port number to do that. After that you can try accessing https://localhost:4849 (4849 is the default value for admin application URL port number).

  • Cannot run loadjava on Solaris 10 64-bit server - wrong ELF class error

    We are running into a problem when trying to run loadjava on a 10.2.0.3 database running on a Solaris 10 64-bit server.
    loadjava -user xxxxx/xxxxx -verbose -resolve -force my.jar
    creating : resource pea.properties
    loading : resource pea.properties
    ld.so.1: oracle: fatal: /var/db/10.2.0/lib32/libskgxp10.so: wrong ELF class: ELFCLASS32
    The LD_LIBRARY_PATH does not have the lib32 directory on it, it has /var/db/10.2.0/lib instead.
    Any idea on what to do?

    Hi,
    Correct. The note specify general recommendations for setting the environment. The utility loadjava is not an exception.
    Regards,

  • Eroor in eclipse when i have run TOMCAT in debuge mode web service debuging

    hello all,
    i have a serious problem with debug my web service. I set local variable in eclipse (-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000). And now if i run TOMCAT in normal mode all worked fine and i run remote java application fine, but if i run TOMCAT in debug mode, eclipse in console return error:
    "Error occurred during initialization of VM
    agent library failed to init: jdwp
    ERROR: Cannot load this JVM TI agent twice, check your java command line for duplicate jdwp options."
    If anyone have this problem please tell me how to resolved it.
    Thank for help.

    Eclipse is kind of a competing product so this is not the best place to ask the question. With that most will be nice enough to lend a hand. I suggest ensuring that all other instances of tomcat are stopped then try again. In the Debug perspective ensure there are no servers running with the same name as the one you are attempting to use. If all else fails ensure there are no tomcat process running if they are kill them. Finally, if you cant get it to work reboot. If still no good the Eclipse might be a better place to go.

  • Running Tomcat v5.0.28 as a service w/ BEA JRockit v1.4.2_04

    Target platform - Windows 2000 Server sp4.
    Using Sun's SDK/JRE implementation (v1.4.2_04), we had no problems getting Tomcat 5.0.28 to run as a service. However, the same cannot be said for BEA JRockit v1.4.2_04.
    Summary...
    I've already done some online research and I know that there is a wrapper.properties file that is required. Further, a couple of online references specify the file's certain variable definitions, but one source had posted its info truncated and the other's info didn't work at all. I also know that wrapper.properties should be placed at [Tomcat install dir]\conf\. Tomcat is configured correctly to see the default JRockit installation directory (c:\jrockit-j2sdk1.4.2_04\).
    So if possible, what I would like to know is:
    1) The confirmed location for wrapper.properties.
    2) The complete list of correct statement lines for wrapper.properties. A template file here would work.
    3) Any relevant Operating System Environment variables.
    4) Any additional required files and/or operations.
    In a pinch, we can live with the Sun JRE implementation for our development environment. But we would rather have our development environment completely mirror our production environment which implements BEA JRockit.
    Thanks for your time and help. Any suggestions are greatly appreciated.
    Karl Romike
    Phoenix, Az.
    [email protected]

    Sorry, I replied to the wrong thread before, re-posting:
    Interesting, it might be connected to the optimization of throwException, please try to run with -Xnoopt to see if you can detect any difference. I'll make another post with my further findings.
    Kind regards,
    Cecilia Borg
    BEA WebLogic JRockit

  • Problem running reports

    I finally configured and was able to start the reports server on my Solaris box. The listener is running. When I run a report, either by command line using rwrun60 or from a form using RUN_REPORT_PRODUCT, the report kicks off without error but will not finish. I have to kill the process, and no output results. I had no problems when running from NT, so I'd bet the problem is in the configuration not the report itself. Any ideas?

    I'm still working this problem.
    I have a printer configured, and have no problem generating report in character mode and send directly to printer.
    I did have to add localhost access to Xwindows with
    $ xhost +localhost
    Now I have valid display value.
    Unfortunately, still having the same problem. rwrun60 kicks off, but gets hung. I have no problems running forms on the this server. Any other ideas?

Maybe you are looking for

  • Low memory message

    On 2 occasions I had a message on my screen about low memory. I didn't read the whole message, though (stupid me, I know!!). I did a google search but no helful info. I did not search this forum before posting this...I guess I should have, but after

  • When exiting browser a warning box appears that says do you want to clear all browser data, i would like to disable that

    started about 2 weeks ago, have searched for answer but can't find, probably staring me in the face, after I'm done on the net and go to exit a warning box appears and asks do you want to clear all browser data and whether you choose ok or cancel it

  • Need help in reassigning 'fn' key to be a command [apple] key

    Hi everyone, I have a Japanese keyboard-ed Powerbook 12". I would like to reassign the fn key to function as a command/apple key, primarily for web browsing. I tried adding a keyboard shortcut just for Safari but it wouldn't work and I am ont sure wh

  • One BR to copy data in two plan type

    Hi, I encountered this problem with the business rules. In order to run the what-if scenario analysis, I would like to be able to copy the data from one version to another version using a business rule. However, currently I have two plan type within

  • Why is my logo being cut off in form wizard

    I am creating a series of fillable forms, and 4 out of 5 work just fine, but one of them cuts off part of the company logo. I have created them all in the same manner so I don't know why this one won't work.