Start Tomcat on another port (other than default 8080)

Hello
I want to start my tomcat on some other port instead of its default port ie. 8080.
How can i do this?
Please help.
Thank you

change in server xml to other port

Similar Messages

  • Resolv.conf's nameserver on other than default port

    Recently i've found out that it's not so easy to use port other than default (53) in DNS client specified in /etc/resolv.conf file, like
    nameserver IP.OF.DNS.SERVER:20
    where 20 is a number of the port.
    Is it even possible?
    Fast search returns it is not, in whole linux's world :-). Also not in Solaris, not in Mac, not in FreeBSD. But it is possible in OpenBSD.
    I have been thinking - what? why? why such an easy thing (at the first sight) to implement isn't done?
    It looks like i need some additional stuff like bind to make it right <sigh>
    Or maybe i'm wrong here?
    I would be very gratefull for any additional info on this topic

    If I understand you correctly, you are going to set up a nameserver outside of your firewalled network (listening on a non-standard port), and you want to have your arch box be able use it from within the network?
    This isn't a direct fix, but as a workaround, you can use pdnsd as a caching proxy, and it can be configured to query the remote server on whatever port you choose by adding
    port = your_port_goes_here
    in the server section of the pdnsd config file. Once you have it all set up, simply have your resolv.conf point to 127.0.0.1
    Hope this helps
    Last edited by b4data (2011-12-11 14:51:31)

  • Problem in starting rmid in a port different than the default one

    hi all,
    i am experiencing exceptions in running rmid in a port different than a default one.
    if i run
    rmiregistry 2000
    rmid -J-Djava.security.policy=policy
    java -Djava.security.policy=policy -Djava.rmi.server.codebase=<mypath> -classpath <myclasspath> com.myclass.ActivatableRMI <host:port>
    everything works fine
    but if i try to specify a port in which rmid should be started, then i have exceptions...
    can anyone tell me how to solve my problem? i am running NT 4.0
    thanx and regards
         marco

    If you start rmid at port other than the default one
    (1098) with -port option, it is necessary to set the
    system property "java.rmi.activation.port" to this
    port.
    Rmid internally starts a local registry service
    (LocateRegistry.createRegistry(port)) and binds the
    RMI activation system server object with this registry
    service like Naming.rebind("//:" + port +
    "/java.rmi.activation.ActivationSystem",
    activationSystem);. Activation system provides a means
    for registering groups and "activatable" objects to be
    activated within those groups. When a activatable
    server object is exported, it is registered with this
    activation system, so it should get the stub to the
    activation system which is started as part of rmid.
    ActivationGroup class provides a static function
    getSystem() to get the reference to the activation
    system stub. Now it makes use of the system property
    "java.rmi.activation.port" value to contact the
    registry service where activation system registered
    itself under the name "//:" + value of
    java.rmi.activation.port +
    "/java.rmi.activation.ActivationSystem". If this
    property is not set, it uses the default port 1098.
    -- Srinath MandalapuThis is an awesome and lovely forum answer (and I saw srinath_babu reply to another similarly in my search), but I would like to ask for just a bit of clarification.
    My question is simply making sure I understand the reply above in my own terms...
    Suppose that right now my program involving activatables is already working with default port 1098, but that I wanted or needed to change to another port for rmid. Then is this statement true?
    - IF the commandline which which I start rmid specifies port xyxyx,
    - AND IF I added -Djava.rmi.activation.port=xyxyx to the commandline with which I run the setup for my Activatable (i.e. the program that calls Activatable.register method),
    - THEN my code will still work as is (i.e. I wouldn't have to change my existing code to specify the port anywhere in it)?
    (If I am not understanding this correctly, please let me know!)
    Thanks very much,
    /Mel

  • 10.6.2 won't install to another volume other than the boot volume

    Report a possible bug to Apple.
    as is often recommended for updates, I install from another volume other than the one I want to update, and never update the volume I am booted from. The 10.6.2 update (both combo and update only) won't update any other volume other than the one booted from. Previous updates of OS X have always been able to do this. When I try to change installation location to another volume (which contain 10.6.1) it posts an error saying "This update requires 10.6.2 to be installed", which is wrong it two ways. First, how can an upgrade require itself to be installed before it will actually install. Second, there is no reason it shouldn't have been able to update the 10.6.1 volume. I had two 10.6.1 volumes, when booting from either one, it wouldn't update the other. The update will install if it's run on the volume I boot from, but that defeats the purpose of trying to eliminate update issues by installing from another volume.

    -update-
    In order to to update remotely, there seems to be a number of new and interesting restrictions
    imposed. I came to these basic conclusions by experimentation:
    1. I was unable to install a 10.6.2 update to a remote 10.6.0/10.6.1 volume, while booted from
    a 10.6.0/10.6.1 volume. In other words I had to be booted from a 10.6.2 volume to be able to
    remotely install (or reinstall) a 10.6.2 update to a remote 10.6.0/1/2 volume.
    2. If the volume I was installing to was another internal volume, then I usually (but not
    always) had to set the volume I was trying to install to, as the default startup volume in system
    preferences before the installer would accept it as a valid volume to update.
    3. If the volume I was installing to was a firewire or USB drive, then the #2 restriction did not apply,
    but the the #1 restriction still applied (I still had to be booted from a 10.6.2 volume to install
    a 10.6.2 update).
    4. If, after following the above rules, you are still having trouble, simply rebooting and trying
    again will usually work.
    So in conclusion:
    Remotely updating an external firewire or USB drive was relatively simple and easy, just boot
    from an internal 10.6.2 installation and do it.
    Remotely updating another internal drive though, can be quite annoying.
    Apple, it seems, is heavily promoting the automatic update method.
    Lately, it seems, it is getting more and more difficult in many cases, to get a major
    OS update to "take" properly. I have been heavily using the "bare bones admin account"
    method (outlined in my previous post) for the last several months with good success.
    I agree with you that the remote method should be the best, but Apple's install packages
    have become increasingly difficult to install using that method, even in 10.5.x.
    I will say this though, the updates I installed today using the remote method
    are working just fine, even though I had to wrestle with them to get them installed.
    Kj ♘

  • Can I install Calendar Server on another partition other than root file system

    Can I install Calendar Server on another partition other than / ?
    <P>
    In this version, the default path is hard coded to install in
    /users/unison. However, if you do not have enough room on your root
    partition or choose to install it in another location, you can do so
    using a logical link. The installation guide explains this as well.
    <P>
    For example, suppose you want /users/unison, which must NOT already
    exist, to be logically linked to /var/opt/unison, which must exist.
    Then as root user:
    <P>
    <UL>
    <LI>
    Create the directory /users (if it does not already exist)
    <P>
    % mkdir /users
    <P>
    <LI>
    Create the logical link. The directory /users/unison must
    NOT exist before doing this.
    <P>
    % ln -s /var/opt/unison /users/unison
    </UL>
    <P>
    <P>

    makes a lot of sense.  I am looking for an answer myself.  My documents folder long ago outgrew it's place on the boot drive.  It would be nice to keep it in the user folder organized on another disc

  • Creating dictionary project in other than default datasource

    I want to create a dictionary project in other than default datasource . Every time I create a dictionary project and create archive and deploy it ...It creates tables in SAP default datasource MAXDB . I have created another datasource pointing to MSSQL in visual admin . I want dictionary project to be deployed to this datasource without making MSSQL  as default datasource . Can anyone please let me know how to do this ?
    Thanks in advance
    Bhat

    Hi Alka,
    from your post, it is not entirely clear to me what you are atempting to do.
    1) Do you need help with accessing tables in a non-default schema?
    2) Do you want to determine all tables in the default schema?
    If 1), please follow the hints given by Vladimir Pavlov.
    If 2), currently, the method DatabaseMetaData.getTables() is unfortunately not supported in Open SQL/JDBC. We are currently preparing a new download of the NetWeaver Java EE 5 edition. In this version, the getTables() method will be supported.
    Or do you just want to check for the existence of a specific database table in the default schema?
    I hope this helps,
    Best regards,
    Adrian

  • Dear Mr./Mrs.,  I had an iPhone 4 , then I bought iPhone 5s , I faced a problem when I started installing any new application other than I already had on my iCloud , I was asked to enter my password of my apple account and I entered it correctly , then I

    Dear Mr./Mrs.,
    I had an iPhone 4 , then I bought iPhone 5s , I faced a problem when I started installing any new application other than I already had on my iCloud , I was asked to enter my password of my apple account and I entered it correctly , then I was asked to answer two questions , but I forgot the answers !! I click on forgot the answers , they send me check your email , I check my email and they send me the password that I have already entered not the answers of the questions ! How can this problem be solved ?! Hope to take my message into consideration.
    Yours sincerely,
                             Hesham.

    Welcome to the user to User Technical Support Forum provided by Apple.
    For your issue...
    See Here > Apple ID: Contacting Apple for help with Apple ID account security
              Ask to speak with the Account Security Team...
         Or Email Here  >  Apple  Support  iTunes Store  Contact

  • How can i transfer songs from another itunes other than mine

    how can i transfer songs from another itunes other than mine

    Purchases made under 1 Apple ID are permanently associated with that Apple ID and CANNOT be transferred to another Apple ID.  So if you want to keep those songs, you'll need to always have access to your dad's account.
    B-rock

  • I'm going to another country for a year and I would like to unlock my phone to take another sim other than my carrier. My contract with my present carrier is finished yet they still wouldnt unlock the iphone 4 for me. How can I be able to unlock it?t

    I'm going to another country for a year and I would like to unlock my phone to take another sim other than my carrier. My contract with my present carrier is finished yet they still wouldnt unlock the iphone 4 for me. How can I be able to unlock it?t

    Only the carrier to whom the device is locked can unlock it.
    If you do not meet their requirements or they do not offer unlocking there is no official way to unlock the device.
    Who is your carrier?

  • IPDS install error on a port other than 389

    Hi
    I need to install iPDS on a port other than 389. During installation, when I give a different port and try to install, during the post-installation phase, I get error that the configuration information could not be updated and installation fails. I'm trying with iPDS ver 5.0. What could be the problem? I had iPDS installed earlier on port 389 on the same m/c. Can that cause a problem? I had uninstalled before re-installing on the new port.
    thanx and regards
    Sikka

    Make sure you use a port larger than 1024, if you are using a non-standard port.

  • Use printer other than default?  how to hard code it?

    Is it possible to make application to use specific printer but other than default? may be hard code it into application code?
    For example I know the name of print service(the PATH to configured printer) and I want my application to use THAT printer most of the time. how can make it so that my application uses one printer which is other than default..
    printDialog is not a good solutionin in my case I think because user might have 15 printers configured on his machine! and I do not want him to scroll PrintServices combobox looking for needed printer... why not show only 2 or printers out of 15?
    or in my case I think it is even better to hard code couple of configured printers in an application code so that I user does not get tired of working with printDialog window every time he needs to print. When my application is released to client it will be used especially for printing porposes of one particular document so he does not need to see margins and printer settings everytime.

    Basically the print dialog should offer this function without you having to code it. I don't know on Windows but on my Mac you can select printers other than default and get the computer to remember them.

  • How to install adobe X or XI in a directory other than default.

    Please,
    I need install Adobe reader in a diferent directory of default.
    How to install adobe X or XI in a directory other than default.
    best Regards.

    What OS? Why are you trying to install i a different directory. No matter what directory you install in, quite a bit must be installed on the boot drive. If you are running out of hard drive space, it is time to get a new hard drive.

  • Forwarding proxy requests from ports other than 80

    Hi,
    Is there a way to forward requests from ports other than 80 to the proxy address? For example, trying to define a rule to forward the requests from port 8080 to proxy_ip...
    Best regards,
    Emre

    Hi Emre,
    Have you looked into using ipfilter port redirecting ?
    It may depend on your configuration.
    /etc/ipf/ipf.conf
    pass in quick from any to any port = 8080 keep state
    pass out quick from any port = 8080 to any keep state
    /etc/ipf/ipnat.conf
    rdr <Interface> <hostname or IP> port 8080 -> <hostname or IP> port 8080 tcp
    Edited by: Hodware on Mar 4, 2013 7:24 AM

  • HT5457 Cannot get ringtones other than default ringtones since downloading ios 6

    Cannot get ringtones other than default ringtones since downloading ios6

    I should also mention that I tried the posted trick of changing the year to 2013 and attempting to update or download apps. Yeah... that doesn't work.

  • Is it possible to have profile manager on a different port other than 443

    Hi to have profilemanager working securely and correctly it should be run on 443 the default. But surely it could be run on another port if specified. If Apache was configured differently other than port 80/443? As i would rather host another site on 443. Which ideally i dont want the port number in the URL as this would be the main server address.
    If anyone has any info on how to do this that would be great..
    Thanks

    Hi Gilla-
    No, the isolation hardware on the 623x DIO is completely unidirectional so it is not possible to adjust the line directions beyond those specified in the user manual for those devices.
    Message Edited by Tom W [DE] on 04-29-2008 08:57 AM
    Tom W
    National Instruments

Maybe you are looking for