One weblogic instance listening to multiple ports

I'd like to run weblogic with its http subsysten listen to port 80.
Any other service should listen to port 7001.
Is it really impossible to let weblogic do this?
Are there any plans to implement such a feature?
Which alternatives do exist?
TIA
klaus

No, it is impossible.
Alternatives: use IIS/Apache/NES to listen to port 90, and use weblogic
plugin to proxy request to WLAS (7001).
Still, you can use one WLAS listent to port 80, and use HttpClusterServlet
to proxy requests to another WLAS (7001)
Cheers - Wei
Klaus Pittig <[email protected]> wrote in message news:[email protected]..
I'd like to run weblogic with its http subsysten listen to port 80.
Any other service should listen to port 7001.
Is it really impossible to let weblogic do this?
Are there any plans to implement such a feature?
Which alternatives do exist?
TIA
klaus

Similar Messages

  • Question: one weblogic server listening on several port

    can i start one weblogic server that listening on several port, one for
    different application?
    for example,
    7001 for general user, and
    7005 for admistrators and ask for two way authentification?
    can i do this? or do i have to start two weblogic instance? does that
    violate it's license for one computer and one ip address?
    thank u.

    Ummm.. how would this help security? If I want to bypass authentication, I just go to the unprotected port.
    I don't think you can listen to different ports in the same instance
    . You can listen to different IP addresses in the same instance.
    WL is licensed by CPU so this would not cost any more to license.
    mike
    "Gong Wenxue" <[email protected]> wrote:
    can i start one weblogic server that listening on several port, one for
    different application?
    for example,
    7001 for general user, and
    7005 for admistrators and ask for two way authentification?
    can i do this? or do i have to start two weblogic instance? does that
    violate it's license for one computer and one ip address?
    thank u.

  • Multiple listen ports for one weblogic instance

    Can anybody confirm that you can have only one listen port defined for a single
    weblogic instance (i.e. one instance cannot be listening to multiple ports at
    the same time)?
    Thanks

    you can have multiple ip's assigned to the same box
    and bind each WLS instance to a unique which will listen
    on the same port.
    Kumar
    Gary Wong wrote:
    Can anybody confirm that you can have only one listen port defined for a single
    weblogic instance (i.e. one instance cannot be listening to multiple ports at
    the same time)?
    Thanks

  • Can imapd listen on multiple ports?

    For historical reasons, we've got some multiplexors that expect to make the back-end imap connecto to port 993, and some others that want to talk to 994. Is it possible to configure imapd to listen on multiple ports?
    Thanks!

    I just realized this would be doable if the MMP would do STARTTLS to the back-end (since then I could enable STARTTLS on the default port and keep SSL on connect on the other port).
    If only.....

  • Listen on multiple ports for smtp?

    Traditionally, we've provided setup smtp to listen on an additional port to 25 for travellers who find themselves on an ISP which blocks that port. We used a line in master.cf like:
    <newportnumber> inet n - y - - smtpdproxywrite unix - - n - 1 proxymap
    This seems to make snow leopard's postfix unhappy. It also doesn't work. I'd be grateful if anybody could tell me:
    * what is or where to look for info on setting up postfix to do multiple ports? I've tried Apple docs and found nothing and only old-style in postfix docs -- though I could be missing something obvious as always.
    * is this the modern and preferred way to get around the blocked port 25 problem or is it better to do some fancy-schmancy port redirection eg at the firewall to map multiple ports on to port 25 for postfix?
    thanks and allbests,

    In the past I've used the following with great success. Add the following line to /etc/postfix/master.cf file:
    2525 inet n - n - - smtpd
    Stop and start the mail service. Then test with telnet to ensure that the port is responding. Sadly, this still appears to be the best way, sans the use of a VPN, to get around ISP blocking.
    Obviously port 25 needs to be open to receive mail. But instead of opening additional port in the firewall, you could drive all users to VPN.
    I just tested the above line in 10.6.1 and it is responding.
    Hope this helps

  • Listening to multiple ports(socets) for data?

    I know that this topic has been covered before, but is either simplistic questions or overly complex things (that I don't understand... yet)
    Here is my issue: I have data coming from two ports (TCP/IP) an array of 210 bytes and I'm not sure which port will be activated first. The data is asyncronus. So basically I want to figure out how to listen to the ports. I have this code...
    import java.io.*;
    import java.util.*;
    import java.net.*;
    public class SocketListener{
        public static void main(String[] argv){
            ServerSocket mySocket = null;
            ServerSocket mySocket2 = null;
            try {
                mySocket=new ServerSocket(12000);
                mySocket2= new ServerSocket (13000);
            catch (IOException e){
                System.err.println("error");
                System.exit(-1);
            try {
                Socket client = mySocket.accept();
                System.out.println("The server has connected to 12000\n");
                // do what I need it to do a.k.a. get data array
                client.close();
            catch(IOException e){
                System.err.println("error");
                System.exit(-1);
            try {
                Socket client2 = mySocket2.accept();
                System.out.println("The server has connected to 13000\n");
                // do what I need it to do a.k.a. get data array
                client2.close();
            catch (IOException e){
                System.err.println("error");
                System.exit(-1);
    }I'm not sure if it works or not... but thats what I got. Is this the best way to go about this or is there something else that I should look up in documentation / look for examples / someone might have a link to something.
    Thanks a lot!!!!
    Edited by: KTLightning on Sep 12, 2007 1:25 PM

    There are two issues at hand here, one being networking and the second being threading. Threading is an extensive subject and I don't want to shortchange you here, so you may want to read this tutorial if you are not familiar with Java threading concepts: http://java.sun.com/docs/books/tutorial/essential/concurrency/index.html
    That being said, if you want to concurrently listen to the sockets, you will need a thread for each socket you are listening. Otherwise you can use Java NIO, but unless you are going to be listening to many sockets at once, this complication is not necessary since the learning curve of Java NIO can be quite steep.
    You might want to start out creating a new class that will handle the task of listening to a socket and retrieving the data in its own thread. You can do this by either extending the Thread class or implementing the Runnable interface. From your main class, you can then spawn as many of those objects as you need. The trick to this approach is knowing when the data has been read from the socket and stored in the object. For only two objects this is simple as you can have a hasData() method on your worker objects and then just put a loop in your main class checking to see if the condition has been met on the objects.
    Here's some code fragments as an example...
    public class SocketReader extends Thread ...
    ServerSocket ss = null;
    boolean hasData = false;
    SocketReader(int port) {
    ss = new ServerSocket(port);
    public void run() {
    ss.accept();
    // do your stuff
    hasData =true;
    public boolean hasData() {
    return hasData;
    main() {
    SocketReader sr1 = new SocketReader(12000);
    SocketReader sr2 = new SocketReader(12000);
    sr1.start();
    sr2.start();
    // keep looping until we have data in both
    while (!sr1.hasData() && !sr2.hasData()) {
    try {
    Thread.sleep(100);
    } catch (InterrruptedException ie) {/ do something}
    } // end main
    Keep in mind that this is a very simplistic example to demonstrate the concepts and would not be a good design for pretty much any other case.

  • Netbeans 6.1 SMS NON-Brute force ability listen to multiple ports

    First of all, my appologies for being a nubie coming from Mobile6. The company I slave at is migrating from MS Mobile to j2me!!! I am porting a code segment that listens to all incoming/outgoing SMS text messages and logs the messages into another java contact applet for our sales department. Our company policy(I cannot change) allows the sales department to use any/multiple SMS packages and install onto the device.
    Based on my understanding of the (MessageConnection)Connector.open("sms://" foo); I must include a port address to listen in on. Is there a NON-brute forced methodogy to poll "active" ports the device is using to send/recieve SMS text message?
    /dz
    Little Rock, AR.

    db,
    I was reading a blog by Bill Day [http://weblogs.java.net/blog/billday/archive/2004/02/midp_push_using.html]
    regarding MIDP Push; A paragraph jumped at me, it was "...
    Whichever network(s) you're application will be using, you need to find out what protocols they allow inbound to handsets. At the least, most GSM carriers will allow SMS (since they use SMS for short text messaging). Assuming your network does support SMS, from the server part of your application you would need to generate an SMS message directed to the port you bound your MIDlet to in its static or dynamic push registry settings. Assuming the network passes the SMS as expected, your MIDlet should be awakened when the SMS arrives in the handset..."
    Either I'm not understanding your reponse, the info in this blog is incorrect or I must include a port address as part of the open method of the Connector. Still confused.
    /dz

  • SocketServer Listen on Multiple Ports

    What is the optimal way to have a SocketServer listen on more than one IP/port combination? I'm looking for various ways of doing this including a quick and easy way and the best-practices way.
    Thanks.

    There is no way to 'have a SocketServer listen on more than one IP/port combination'. A SocketServer can only listen at one port. You need multiple SocketServer objects, and you should use multiple threads executing accept loops.

  • Different weblogic instances listening to a topic

              Hi,
              I have a scenario like this---.
              I have 2 weblogic servers running on two different m/c s .They are NOT in a cluster.They
              have their own JMS Servers running.There are some queues and one topic on each
              machine.There is a router which routes incoming messages to these servers and
              responses back.Each wl server has the same application running(The application
              that processes the messages) and is totally unware of the existense of the other
              server.
              I want that for some particular message delivered to a topic on one m/c the
              other m/c should also receive that particular message.
              e.g. a message that certain system configuration parameters are updated and all
              servers should synchronize their cached system parameters with the database.
              Is it possible to meet this requirement either by configuration or programatically.The
              application has MDBs listening to the messages.
              I am using WL server 6.1
              Thanx ,
              sunil
              

    You can do this yourself by writing a forwarder that opens up connections to
              both servers receiving on one and forwarding to the other. You can also
              use the messaging bridge. However, if A is forwarding to B and B is
              forwarding to A it is cyclic. You need to discriminate the forwarded
              messages so your forwarder does not forward messages back to the original
              server.
              Of course you could upgrade to 7.0, use a cluster and a distributed topic.
              All the forwarding is taken care of, you don't have to worry about cycles,
              and the forwarded messages maintain their original message ids.
              _sjz.
              "Sunil Naik" <[email protected]> wrote in message
              news:[email protected]...
              >
              > Hi,
              > I have a scenario like this---.
              > I have 2 weblogic servers running on two different m/c s .They are NOT in
              a cluster.They
              > have their own JMS Servers running.There are some queues and one topic on
              each
              > machine.There is a router which routes incoming messages to these servers
              and
              > responses back.Each wl server has the same application running(The
              application
              > that processes the messages) and is totally unware of the existense of the
              other
              > server.
              > I want that for some particular message delivered to a topic on one m/c
              the
              > other m/c should also receive that particular message.
              > e.g. a message that certain system configuration parameters are updated
              and all
              > servers should synchronize their cached system parameters with the
              database.
              > Is it possible to meet this requirement either by configuration or
              programatically.The
              > application has MDBs listening to the messages.
              >
              > I am using WL server 6.1
              >
              > Thanx ,
              > sunil
              

  • NSAPI - directing to multiple weblogic instances

    Hi,
    I am trying to redirect 2 different URLs (www.test.com/server1 and www.test.com/server2)
    to distinct weblogic instances which run on ports 7001 and 8001. The NSAPI instructions
    say to do the following in the obj.conf file -- see below. This works great if
    I open a new browser window for each one. However, the problem occurs in a single
    browser instance when switching between the 2 URLs. Both URL requests will only
    be directed to one of the WebLogic instances -- the other WL instance is ignored
    no matter what URL you enter.
    Any ideas????
    # Here we configure the NSAPI module to pass requests for
    # "/weblogic" to a WebLogic Server listening at port 7001 on
    # the host myweblogic.server.com.
    <Object name="weblogic" ppath="*/weblogic/*">
    Service fn=wl_proxy WebLogicHost=myweblogic.server.com\
    WebLogicPort=7001 PathTrim="/weblogic"
    </Object>
    # Here we configure the plug-in so that requests that
    # match "/servletimages/" is handled by the
    # plug-in/WebLogic.
    <Object name="si" ppath="*/servletimages/*">
    Service fn=wl_proxy WebLogicHost=192.192.1.4 WebLogicPort=7001
    </Object>

    I am not sure I understand what you want to do.. From your example, what you
    are doing is directing anything that has "weblogic" in the URL to a single
    weblogic instance. In your case: myweblogic.server.com.
    You are also directing anything with "servletimages" in the URL to :
    192.192.1.4.
    Both these servers are listening on port 7001. There is no mention of 8001.
    Let's say you want to have all requests that have "server1" in the URL go to
    one weblogic instance and all that have "server2" in the url goto the other
    weblogic instance(port 8001), then you need to configure two object tags.
    One that has a ppath="*/server1/*" and that will point to weblogic instance
    1(port 7001) and another weblogic object that has a ppath="*/server2/*" and
    points to weblogic instance 2(port 8001).
    Hope this helps.
    Regards,
    Eric
    "Lauren Jones" <[email protected]> wrote in message
    news:3b6f04fb$[email protected]..
    >
    Hi,
    I am trying to redirect 2 different URLs (www.test.com/server1 andwww.test.com/server2)
    to distinct weblogic instances which run on ports 7001 and 8001. TheNSAPI instructions
    say to do the following in the obj.conf file -- see below. This worksgreat if
    I open a new browser window for each one. However, the problem occurs ina single
    browser instance when switching between the 2 URLs. Both URL requestswill only
    be directed to one of the WebLogic instances -- the other WL instance isignored
    no matter what URL you enter.
    Any ideas????
    # Here we configure the NSAPI module to pass requests for
    # "/weblogic" to a WebLogic Server listening at port 7001 on
    # the host myweblogic.server.com.
    <Object name="weblogic" ppath="*/weblogic/*">
    Service fn=wl_proxy WebLogicHost=myweblogic.server.com\
    WebLogicPort=7001 PathTrim="/weblogic"
    </Object>
    # Here we configure the plug-in so that requests that
    # match "/servletimages/" is handled by the
    # plug-in/WebLogic.
    <Object name="si" ppath="*/servletimages/*">
    Service fn=wl_proxy WebLogicHost=192.192.1.4 WebLogicPort=7001
    </Object>

  • Listening multiple ports

    is there anyway a serversocket can listen to multiple ports?like the the serversocket can listen ports between 1 to 1024?thanks!

    no methods that i know of. except to create an array of serversockets but pass the handling of sockets to a centralized location.

  • Restricting weblogic's listen address

    Hi,
    I have a machine that has 3 IPs and I want weblogic to listen only to 2 of them.
    Is there a way to do it?
    WLS 10.3.0
    Thanks

    A single WebLogic server can support multiple NICs, and can listen on multiple ports. In addition to the "default network channel", you can configure any number of "custom channels".
    http://edocs.bea.com/wls/docs100/config_wls/network.html
    Tom

  • How Can I Use Multiple Weblogic Instances in a Single OS

    Hello Everyone,
    Actually I have to install Some different applications. Few of them need weblogic 10.3.6 and others need 10.3.4. The OS am using is Oracle  Enterprise Linux 5.
    Now I am able to install 2 separate(One of 10.3.4 and 10.3.6) instances with two different users,In two different directories.
    I have installed the weblogic 10.3.6 version with a user webadmin and installed node manager with port 5556. This is working fine.
    The main problem here is :
    In the second instance (10.3.4 ) installed with a a different user and gave the port number to NodeManager as 1600 and its not getting started. Its throwing error and also after some errors in the terminal am able to see that its reverting to port number 5556 only.
    What might be the issue?
    I have to install 2 different versions of weblogic in a single Server. But am failing with NodeManager. What Can I do to have multiple weblogic instances with multiple versions in a single server ?
    Can anyone suggest a resolution for this please ?
    Thanks in advance.

    Pl do not spam these forums with multiple posts - How Can I Use Multiple Weblogic Instances in a Single OS

  • About opening multiple files at once (in one program instance)

    While developing an Image Viewer application i realized i had to give it some functionality for when a user selects multiple images in a directory and presses enter to open them with my app.
    Everything is going well except for one tiny detail:
    The Windows OS believes i am trying to open several instances of my Image Viewer, it even alerts me that "Choosing to 'Open' 26 items at once may take a long time and cause your computer to respond slowly."
    It then hangs for a few seconds before opening my app. And i am talking about only 26 items. If i were to open more, the time it hangs is proportional and for that time the cpu usage is as its maximum (in this case a quad core).
    So, do you know about a solution to this? Or at least a workaround?
    Ideally, Windows would end up knowing i'm trying to open several files in only one program instance.
    ps: i already tried deactivating the code that loads the Images, even with the InvokeEvent Listener doing nothing, Windows takes a lot of time trying to open 26 program instances.

    it should work the way she's doing it, unless something is broken in CC
    try these other two options
    1. select all files and press "Enter", they should all open
    2. select all files and press the button "Open" in explorer Toolbar

  • Issue listeneing queue from Weblogic Cluster server with multiple managed server

    Haveing issue listeneing queue from Weblogic Cluster server with multiple managed server.
    Weblogic Cluster structure is like
    Weblogic Cluster01
      --ManagedServer01(http://server01.myhost.com:7001)
      --ManagedServer02(http://server02.myhost.com:7001)
    JMS Servers
      JMSserver01 targeting: ManagedServer01
      JMSserver02 targeting: ManagedServer02
      JMSmodule
      ConnectionFactory01 targeting:JMSserver01,JMSserver02
      UDQueue01 targeting:JMSserver01,JMSserver02
    Uniform Distributed Queue in Monitoring tab showing like this
      mysystemmodule!JMSserver01@UDQueue01
      mysystemmodule!JMSserver02@UDQueue01
    So when I am sending message to any Host(by specifying the provider URL) its distributing equally on both server like
      mysystemmodule!JMSserver01@UDQueue01 10
      mysystemmodule!JMSserver02@UDQueue01 10
    But when try to listen message from these queue, it is listening from one server, for which URL given to connect.
      mysystemmodule!JMSserver01@UDQueue01 0
      mysystemmodule!JMSserver02@UDQueue01 10
    untill I connect to other server by giveing its URL, will not able to access other message left on the queue.
    Solutions that tried
      1) we have tried give both server URL coma sparated in provider URL
    we need to configur same scenario for 5 managed server with 3 listener on other servers.
    Do any one have solution for this.

    You need to have:
    1. Consumers connected to each UDQ member
    OR
    2. If no consumers in some of the members is expected, you can configure Forward Delay (specify the amount of time, in seconds, that a queue member with messages, but with no consumers, will wait before forwarding its messages to other queue members that do have consumers):
    http://docs.oracle.com/cd/E12839_01/apirefs.1111/e13952/taskhelp/jms_modules/distributed_queues/ConfigureUDQGeneral.html
    For example you can set it to 10 (10s)
    Additional Information here:
    http://docs.oracle.com/cd/E23943_01/web.1111/e13727/dds.htm#i1314228
    http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13951/mbeans/DistributedQueueBean.html?skipReload=true#ForwardDelay
    How Does JMS Load Balancing Work with Distributed Queues and Uniform Distributed Queues? (Doc ID 827294.1)
    I hope this helps
    Best Regards
    Luz

Maybe you are looking for

  • How can i get high quality slideshowpix on my DvD?

    Hy everyone, I tried to make my own video montage using Slideshow of iPhoto, applied Kern Burn effects and Transitions, everything was absolutely fine until imported my project to iDvD and burn my Project on DvD, the quality wasn't as excellent as i

  • Bullet points in Word for Mac

    When I have a bullet point list in Word, after pressing enter the next bullet point won't show up until I start typing.  Is there anyway to change it so the bullet appears as soon as I press enter?

  • Edit 4:2:2 HL in CS4 PPro

    I am using PPro CS4 and want to edit HD video with a colorspace of 4:2:2 and bitrate of about 100Mbps. There does not seem to be a method or drop down to allow this. Am I missing some part of the program? Do I need to instal something more? Or is the

  • Can't see photos on Apple TV anymore?

    new iMac and Mybook drive, had problems getting the drive to wake up ect- but ive always been able to see my Photos stored on my Mybook drive threw my network on my Apple Tv downstairs attachted to my main tv! this morning when i go into Computers ic

  • My iMac is restarting "because of a problem". Can someone decipher this for me?

    It's happened a few times. Sometimes I'll wake up and it's rebooted in the night. Here's the report: Anonymous UUID:       858D1BA1-13F7-E2A6-BF38-93A8966B1BD5 Wed Jan 22 03:45:37 2014 panic(cpu 6 caller 0xffffff802a3da9b0): "vnode_rele_ext: vp 0xfff