How to Configure Listener in Weblogic 6.0

I have depoloyed my java application (war) in weblogic 6.0
This application has to behave as a listener for a client socket call on a particular port (say 5588).
This thing works fine in my WSAD environment with the internal server.
How do I configure Listener in Weblogic 6.0 so that my deployed application starts accepting socket call as a listener?
Please Suggest............

Here's the flow...
1) My application is deployed in Weblogic 6.0/7.0. It has to do an additional task of listening on an internal port (say 5588) apart from exposing server socket on say port 4499.
2) My application during startup calls a servlet and via servlet init and routing thereby to different classes my application becomes ready to behave as Client Socket on 5588. I am copying web.xml along with this mail. Please review the web.xml and let me know if it s good enough to invoke the servlet during startup?
3) A standalone java application tries to connect to my application mentioned above on port 5588 via a socket (localhost, 5588). Somehow my application doesnt seems to get hit. I did netstat and port was in listening mode.
4) 5588 being an internal port, I dont think it needs to be configured in Config.xml. Am I right? I didnt find any way of adding new ports to Config.xml apart from standard port on web.
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
     <display-name>MyProject</display-name>
     <servlet>
          <servlet-name>messagerouter</servlet-name>
          <display-name><![CDATA[Apache-SOAP Message Router]]></display-name>
          <servlet-class>org.apache.soap.server.http.MessageRouterServlet</servlet-class>
          <init-param>
               <param-name>faultListener</param-name>
               <param-value>org.apache.soap.server.DOMFaultListener</param-value>
          </init-param>
     </servlet>
     <servlet>
          <servlet-name>rpcrouter</servlet-name>
          <display-name><![CDATA[Apache-SOAP RPC Router]]></display-name>
          <servlet-class>com.s1.adapter.fundtech.MyServlet</servlet-class>
          <init-param>
               <param-name>faultListener</param-name>
               <param-value>org.apache.soap.server.DOMFaultListener</param-value>
          </init-param>
     </servlet>
     <servlet-mapping>
          <servlet-name>rpcrouter</servlet-name>
          <url-pattern>/servlet/rpcrouter</url-pattern>
     </servlet-mapping>
     <servlet-mapping>
          <servlet-name>messagerouter</servlet-name>
          <url-pattern>/servlet/messagerouter</url-pattern>
     </servlet-mapping>
</web-app>

Similar Messages

  • How to configure listener and tnsnames.ora on 10g version

    how to configure listener and tnsnames.ora on 10g version

    If you are on linux platform, on command prompt execute netmgr and configure listener fromt there. Or go to $oracle_home/network/admin/listner.ora write the following
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    For tnsnames.ora write the following
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    )

  • How to configure apache and weblogic in windows 2000

    i am novice,
    i want to configure apache and weblogic in windows 2000
    weblogic version is 6.1
    apache version is 2.0
    how to do?

    George,
    I would take the following 'first steps'
    1)Install Apache20 on your Windows machine following the Apache online documentation
    http://httpd.apache.org/docs-2.0/misc/tutorials.html
    2)Make sure you can 'serve up' static HTML content from your Apache Server
    3)Install Weblogic Server per our online documentation
    http://edocs.bea.com/wls/docs61/install/index.html
    4)Also, make sure you can 'serve up' both static and dynamic (e.g., JSP) content
    directly from WLS server
    5)Once you have both of the above 'sanity' checks attempt to configure a simple
    proxy by ppath or mime type via our online documentation
    http://edocs.bea.com/wls/docs61/adminguide/apache.html#103803
    Chuck Nelson
    DRE
    BEA Technical Support

  • How to configure listener while upgrade to RAC 11.2.0.2?

    I have 11.2.0.1 and preparing for upgrade to 11.2.0.2. While upgrading the single node we have to set the new oracle_home then configure listener for new home then upgrade the db.
    How to follow the same steps in case of RAC. The listeners are running from grid_home.So how to create all the listeners for new oracle_home? So by just installing GRID binaries does is install the GI completely to 11.2.0.2?
    Also Do I have to plan for listeners while RDBMS upgrade ?
    ENV:
    Server: Windows 2008R2
    DB: RAC two node on ASM
    Storage: SAN
    Kindly explain.

    Sabastian,
    I have configured the 3 IPs for SCAN. When you replied for SCAN I checked the status of SCAN IPs. And the strange thing is on node 1 status of SCAN IPs gives "could not find the srvice name.
    On second node :
    LSNRCTL> *status LISTENER_SCAN1*
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))
    STATUS of the LISTENER
    Alias LISTENER_SCAN1
    Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
    Start Date 28-APR-2011 15:12:33
    Uptime 3 days 16 hr. 17 min. 14 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File F:\gridinfra\11.2.0\grid\network\admin\listener.ora
    Listener Log File f:\gridinfra\11.2.0\grid\log\diag\tnslsnr\PDFPGISORPRD1\listener_scan1\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\LISTENER_SCAN1ipc)))
    *The listener supports no service*s
    The command completed successfully
    LSNRCTL> *status LISTENER_SCAN2*
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2)))
    STATUS of the LISTENER
    Alias LISTENER_SCAN2
    Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
    Start Date 26-APR-2011 10:38:30
    Uptime 5 days 22 hr. 44 min. 58 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File F:\gridinfra\11.2.0\grid\network\admin\listener.ora
    Listener Log File f:\gridinfra\11.2.0\grid\log\diag\tnslsnr\PDFPGISORPRD1\listener_scan2\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\LISTENER_SCAN2ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=164.156.155.81)(PORT=1521)))
    Services Summary...
    Service "gisprd" has 2 instance(s).
    Instance "gisprd1", status READY, has 121 handler(s) for this service...
    Instance "gisprd2", status READY, has 121 handler(s) for this service...
    The command completed successfully
    LSNRCTL> *status LISTENER_SCAN3*
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN3)))
    STATUS of the LISTENER
    Alias LISTENER_SCAN3
    Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
    Start Date 26-APR-2011 10:38:30
    Uptime 5 days 22 hr. 45 min. 3 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File F:\gridinfra\11.2.0\grid\network\admin\listener.ora
    Listener Log File f:\gridinfra\11.2.0\grid\log\diag\tnslsnr\PDFPGISORPRD1\listener_scan3\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\LISTENER_SCAN3ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=164.156.155.83)(PORT=1521)))
    Services Summary...
    Service "gisprd" has 2 instance(s).
    Instance "gisprd1", status READY, has 121 handler(s) for this service...
    Instance "gisprd2", status READY, has 121 handler(s) for this service...
    The command completed successfully
    LSNRCTL>
    Why it is so? Last week when I was working it was fine. So do you mean if I have three SCAN IPs, all three IPs has to be in listener.ora?
    Regards...Mayura
    Edited by: user2995637 on May 2, 2011 6:32 AM

  • How to configure listener when 8.1.5 & OAS 4.08 on same Linux box

    Linux: Red HAT 6.1
    OAS: 4.08
    ORA: 8.1.5 sp2
    When I install OAS on different home on the same server where the 8i is installed and try to start up the lsn service for it I get an error. How the configuration should be done in this case where we have two different homes with two different listener versions? whcih one should be used ?
    Thanx
    null

    I did the manipulation...
    The listener starts well, but the creation of a DAD ( Net 8 service version, of course) is impossible. After the sys password prompt, it opens a blank window,
    and nothing more ...
    The dadadmin cgi has been started and is running on the server, but does nothing.
    Config : RH 6.1, Kernel 2.2.12, oas 4.0.8.1,
    768 Mo RAM, enough disk, TNS_ADMIN set for oas4.0.8.1 to the tnsnames.ora of Ora 8i, distinct ORACLE_HOME
    Any clues ?
    Thanks.

  • How to configure SSL in Weblogic 9.0 and later versions.

    Hello all,
    I am Nikhil.
    I am trying to configiure SSL on BEA application server by using the below link. But am unable to understand the process.
    http://e-docs.bea.com/wls/docs90/secmanage/ssl.html.
    Can any one provide me Step by Step process to Configure SSL.
    Thanks,
    Nikhil.

    Well , Are you trying to configure SSL using demo certs? If yes , Just go to server general tab and enable SSL Poret ( By default its 7002 , You can specify any other port too if it is been not used by any other process)
    If not Demo , and you are using your own custom trust and identity certs , then you need to do this:
    -Login to weblogic console
    -Select the Server -> keystores-> customIndentity and Custom trust
    - Input the details of your Keysotres in the configuration part
    -CLick on save
    -CLick on SSL tab , do the configuration of your private key alias and passowrd.
    -Click Save
    DOnt forget to check the SSL Port.
    HTH
    Sumit Kumar

  • How to configure PRE_CLASSPATH in Weblogic 6.0

    Hi,
    Previously I was working on Weblogic 5.1 Enterprise Server. In the startweblogic.cmd
    file there is PRE_CLASSPATH setting by that all the jsp and class files will be
    included from that directory. Where can I set the same in Weblogic 6.0
    Also I have the package structure in which I have kept my JSP's and Java Class
    files(helper files). For example com.abc.xyz package contains class files and
    com.abc.lmn package contains JSP files. So what setting should I do in Weblogic
    6.0 to make the same run.
    Please help me to get through this.
    Regds,
    Vipul

    Vipul,
    Can you try adding them as the first entry in the classpath in the
    startWebLogic.smd file.
    Raj Alagumalai

  • How To Configure Maven With Weblogic 10.3.1 With JDK6

    Hi,
    I have recently upgraded my JDK from 1.5 to 1.6. Can any one help what changes is needed for using Maven for remote deployment with JDK 1.6.
    Regards,
    Swain

    Hi,
    I am getting the below error when using Maven with JDK6
    [INFO] --- weblogic-maven-plugin:2.9.1:deploy (default-cli) @ Spring-JDBC ---
    [INFO] Weblogic Deployment beginning with parameters DeployMojoBase[adminServerHostName = 10.60.246.49, adminServerProtocol = t3, adminServerPort = 8003, userId = weblogic, password = system103, artifactPath = D:\EspaceDeTravail\Projets\MigrationPiloteDiargramme\workspace\Spring-JDBC\target/Spring-JDBC-1.1, projectPackaging = war, name = Spring-JDBC, targetNames = MDAD1, remote = true]
    [INFO] Weblogic Deployment parameters [-adminurl, t3://10.60.246.49:8003, -username, weblogic, -password, system103, -verbose, -noexit, -name, Spring-JDBC, -targets, MDAD1, -upload, -source, D:\EspaceDeTravail\Projets\MigrationPiloteDiargramme\workspace\Spring-JDBC\target/Spring-JDBC-1.1.war, -deploy]
    weblogic.Deployer invoked with options: -adminurl t3://10.60.246.49:8003 -username weblogic -verbose -noexit -name Spring-JDBC -targets MDAD1 -upload -source D:\EspaceDeTravail\Projets\MigrationPiloteDiargramme\workspace\Spring-JDBC\target/Spring-JDBC-1.1.war -deploy
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 33.218s
    [INFO] Finished at: Wed Mar 09 11:48:29 CET 2011
    [INFO] Final Memory: 7M/43M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal org.codehaus.mojo:weblogic-maven-plugin:2.9.1:deploy (default-cli) on project Spring-JDBC: Exception encountered during artifact start: weblogic.deploy.api.tools.deployer.DeployerException: Unable to connect to 't3://10.60.246.49:8003': invalid type code: 31. Ensure the url represents a running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server. DeploymentManagerCreationException: ServerConnectionException: CommunicationException: failed to unmarshal class weblogic.security.acl.internal.AuthenticatedUser; nested exception is:
    [ERROR] java.io.StreamCorruptedException: invalid type code: 31
    [ERROR] -> [Help 1]

  • How to configure listener across firewall and router

    I am trying a test to see if the following scenario will work and I am looking for insight because I am not getting anywhere fast....
    I have a computer on an internal network running oracle 9iR2. This computer has a web server exposed through a router/firewall with port 80 open. I want to open port 1521 and make the oracle listenser available to someone outside my network. The client only has internet access through their ISP. Basically it would be like hitting the web server over the internet. I am not sure if it is possible to use SQL*Plus to connect to a database server using the name of the router (www.company.com) and have the Oracle database available.

    I have serious doubts that this will work.This sould working definitely. But this question is more related to networking than DBA.
    So this action (and aalso analysis) must be done by somebody who are responsible for (and unsterstand) routing and firewall administration.
    This "networking person" (credited as somebody before) must prevent unauthorized access to your DB and also prevent sniffing (for example your 3rd parties will be connected via IPSEC connection).

  • How to configure oracle listener profile for multiple oracle database

    Hi,
    I am going to install solution manager system in the same server of ERP EHP4 on Windows. Both DB are oracle.
    I'd like to know how to configure listener in this kind of envirnmonent.
    a. use two listener and different ports
    b. use same listener but different ports
    c. use same listener and same port
    Which is the correct mothed?
    And, after installation, there seem three set of profiles of listten, one for ERP, one for SLM, and the other for OS?(%windir%system32), which one is functional?
    Please advise.
    Thanks a lot.
    Regards,
    Alex

    Hi,
    standard installation is creating new configs for listener for each instance.
    I would recommend to use one listener per each instance.
    YOU CAN NOT HAVE one port number for two differnet systems!
    If you want to use one listener than you must adapt tnsnames.ora, listener.ora and ensure that both systems will use different port numbers.
    For example PORT= 15<system number>
    Peter

  • How to configure to use Strut 1.2 in weblogic portal 10.3.2

    I am new in weblogic portal, now i need to develop Strut portlet version 1.2. But I don't know how to configure it in weblogic 10.3.2 and i can't find document for how to configure Strut 1.2 to work on weblogic portal 10.3.2. I added relation libraries and configure like in weblogic document of oracle. But it's can not run and throw some exceptions like : can not render jsp file. Someone can tell me how to configure Strut 1.2 to develop Strut portlet ? Thanks in advance!

    This would be a good place to start:
    http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14243/integrate.htm#BABBEHCH
    Brad

  • How to configure the .ini file with applet

    hai
    i am using native methods in that methods they use some ip addresses. when i am using that native methods in applet run the applet using appletviewer tool it works fine but when i am open that applet using html page browser not configure that .ini file data .how to configure that .ini file with browser

    Hi Jay SenSharma,
    Thanks for your immediate response.
    I saw your URL links, But in your link give the recursive deployment using wlst. But my question is how to configure the oracle weblogic library files into Admin server & Managed Servers by using the wls.jar file through wlst script to create the new domain.
    But if create the new domain by using GUI mode then we manually give the admin server port number & managed servers port number and name.
    By default the library files are configured with the Admin server in GUI mode. But the Managed server the Library files are not configured with the Managed servers. Then we manually select all the library files to the corresponding managed servers. Then only the applications are deployed into the corresponding managed server.
    Regards,
    S.vinoth Babu

  • Configuring Log4j for weblogic

    Hi
    can any one tell me how to configure Log4j for weblogic. I have added the log4j jar files to the weblogic classpath but it does not seem to work..
    Thanks and Regards
    Narayan

    You must make a new directory on the same level with applications directory, place "log4j.properties" file in it, include this directory in the "PRE_CLASSPATH" entry in your startup script and that's all.
    Sample line in "startWebLogic.cmd" script
    'set PRE_CLASSPATH=%_LIBJARS%;classes'
    in classes dir you have "log4j.properties"
    Should work,
    Cristian Negoita

  • Configure listener in client machine

    hello guys, please any help on how to configure listener on client machine??
    any link i can read or tutorial i'll be thankfull

    Hi,
    This question may be more appropriate for the Installation forum. However, the short answer is that you do not need a listener on any client machine, only on a server machine. Good luck!

  • IAS 10.1.2-how to configure different oc4j listen to different virtualhost?

    Hi
    I have requirement,
    we have oracle portal based web site that can be used by outside users over the internet.
    And then we have are deploying few new apps/webservices/ear files on a oc4j called core_ws. These web services should not be accessed outside.
    I have created a virtaul host in apache on a different port(7799) which was not exposed to public world.
    But, how to configure core_ws to inform Apache to listen on only port 7799 but not on port 80?
    I tried a diffent route to attack the problem(as mentioned below) which managmenet did not like:
    created location directive, worked in dev but not in production as there ISA sitting front of apache.
    We could apply filter on the URLs of these web services in ISA but my director did not like the idea as each time there is additional web service we have mess with it.
    So, he prefers running these web services on a different port that will not have access to public.
    Appreciate your help if have acheived the same earlier.

    By your description, it sounds like you want to do what is in this My Oracle Support document:
    How To Create Virtual Host Specific OC4J Applications (Doc ID 389819.1)
    https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=389819.1
    (requires login)
    You said you were using 10.1.2, so that will work, its a method of creating separate virtualhosts and using rewrites to direct to error pages if an incorrect request is made. For 10.1.3, but there is a dynamic method which is a better approach.
    ...Ken

Maybe you are looking for

  • Pandora Remote Control

    Does anyone know of an application to control Pandora via the iPod Touch? I have a Mac Mini computer hooked up to my home stereo receiver and would like to control Pandora via my iPod Touch (in much the same way that the apple Remote application allo

  • Can I install BOE XI r2 on a CE 10 Server (not upgrade)?

    Greetings! I have recently inherited responsibility of getting all our customers upgraded to BOE XI from CE 10. I am finding that if you attempt to install BOE XI R2 on the server that currently has CE 10, you have no choice but to upgrade. Upgrading

  • Redirection question - best practice

    I have a managed session scoped bean, named UserBean, which as it's name implies stores user information. Now, if the session has expired (or was never created), a lot of it's methods will return null values and will result in an error. What I'd like

  • Gather Schema Statistics produces HUGE oracle trace file

    Hi I am running gather schema stats on my E-Biz 12.1.3 / 11.2.0.3 system Each week we run Gather Schema Stats I have noticed that when the job completes a 3g trace fuile is produced under the Oracle RDBMS home I have tried un-checking the box when th

  • Digital Certificates

    If anyone could please give me the low down on how Digital Certificates on Safari work that would be great. I am not currently at my Mac and need this information for work. Additionally if anyone knows how to import them from IE from a windows machin