WLS 6.1 - targeting pools to BOTH cluster and servers?

Hello everybody,
I'm currently debugging JDBC issues on an existing WLS 6.1 environment.
I see that the connection pools and their data sources are targeted to BOTH a cluster AND each of the individual WLS instances that compose THAT cluster.
In your opinion, is that a correct configuration?
The WLS documentation states that a pool/source pair may actually be targeted to both a cluster and an individual server, but it does not specify anything about the individual server belonging or not to that cluster.
Can anyone help, please?
TIA!!!
Paola R.

Hello everybody,
I'm currently debugging JDBC issues on an existing WLS 6.1 environment.
I see that the connection pools and their data sources are targeted to BOTH a cluster AND each of the individual WLS instances that compose THAT cluster.
In your opinion, is that a correct configuration?
The WLS documentation states that a pool/source pair may actually be targeted to both a cluster and an individual server, but it does not specify anything about the individual server belonging or not to that cluster.
Can anyone help, please?
TIA!!!
Paola R.

Similar Messages

  • Testing Coherence Cluster and Servers after WebLogic Console Creation

    Hello,
    I have created WLST scripts that extend a Domain with Coherence Clusters and Servers using unicast configurations. I can start and run the Coherence Servers from WL Admin Console without errors and warnings.WL 10.3.6
    I am looking to test the configuration with something like coherence.sh and query.sh but I am missing instructions on how to use these tools with unicast and connect to the caches?
    Is there a command line interface that connects to a Coherence Server cache created form the WL Admin Console using unicast? Do I need to override the any xml configuration to make this work?
    Examples would be helpful.
    While testing I have found the following....
    I have changed coherence.sh and enabled storage. In addition:
    JAVA_OPTS="-Xms$MEMORY -Xmx$MEMORY -Dtangosol.coherence.distributed.localstorage=$STORAGE_ENABLED $JMXPROPERTIES -Dtangosol.coherence.clusterport=7777 -Dtangosol.coherence.clusteraddress=231.1.1.1"
    The Coherence Cluster configurations were changed to match the multicast settings for port and address above.
    When this was performed all worked!!
    However, if I changed JAVA_OPTS to use unicast
    JAVA_OPTS="-Xms$MEMORY -Xmx$MEMORY -Dtangosol.coherence.distributed.localstorage=$STORAGE_ENABLED $JMXPROPERTIES -Dtangosol.coherence.localport=8088 -Dtangosol.coherence.localhost=192.168.2.69"
    It fails to connect with the Coherence Server in the cluster.

    Hi there,
    1. How did you achieve the https configuration in Weblogic ? And for which server Admin server or managed Server ?
    2. Are you using which java key store ? Able to see the successful entries in <server>.out log file which is used for start up and stop of the weblogic server ?
    Thanks
    Laksh

  • Does Pool & Cluster tables has the same structure in both Dictionary and Db

    ------------ Exists with the same structure both in dictionary as well as in database exactly with the same data and fields
    a. Pool Table
    b. Cluster Table
    c. Transparent Table
    d. All the above
    To my knowledge, I know transparent table has the same structure in both Dictionary and database.
    Can anyone tel me the answer for the above question.. whether it is
    c. Transparent table
    or
    d. All the above

    Transparent Table:
    A physical table definition in the database for the table definition which is stored in the ABAP Dictionary for transparent tables when the
    table is activated. The table definition is translated from the ABAP Dictionary to a definition of the particular database.
    A transparent table in the dictionary has one to one relationship with a table in the database.
    For each transparent table in the data dictionary there is one associated table in the database.The database table has the same name, the same number of fields and fields have same names as the transparent table definition. Transparent tables are used to hold application data. Application data is master data or transaction data used by an application.
    e.g. master data - table of customers
    Transaction data - order placed by the customers.
    Pooled tables:
    Pooled tables can be used to store control data (e.g. screen sequences,program parameters or temporary data). Several pooled tables can be
    combined to form a table pool. The table pool corresponds to a physical table on the database in which all the records of the allocated pooledtables are stored.
    Pooled table in R/3 has a many to one relationship with a table in the database. For one table in the database there are many tables in the R/3 data dictionary.R/3 uses pooled tables to hold large number of very small tables. You might create a table pool if yoou need to create hundreds of small tables that each hold only a few rows of data.
    Cluster tables :
    Cluster tables contain continuous text, for example, documentation.Several cluster tables can be combined to form a table cluster. Severallogical lines of different tables are combined to form a physical record in this table type. This permits object-by-object storage or
    object-by-object access. In order to combine tables in clusters, atleast parts of the keys must agree. Several cluster tables are stored in
    one corresponding table on the database.
    A cluster table is similar to pool table . It has many to one relationship with the table in the database.
    They are used to hold the data from a few(approximatelly 2 to 10) very large tables. They would be used when these tables have a part of their primary keys in common and if data in these tables are all accessed simultaneously.A cluster is advantageous in the case where data is accessed from multiple tables simultaneously and those tables have at least one of their primary key fields in common.Cluster table reduce number of database reads and thereby improves performance.

  • Need of Cluster and Pool Table in SAP

    Can anybody explain an importance of Cluster and Pool Table concept in SAP.

    Hi Hema,
    Given link was Helping but still I have few things as part of concept of Cluster and Pool Tables.
    (1) As cluster and Pool, both are logical table in SAP, it doesn't have physical existence in Database. Means, a single database  table (Actual physical in database server ) may contain more than one pool and cluster tables' data. Likewise it decrease no of Tables at database server whereas the amount of data may remain same. So, my question is how does it benefit in respect of Memory space at database server or any other means.?
    (2). As per one of the difference between Cluster and Pool table - Tables pools doesn't need to have foreign key relationship whereas in case of cluster table it it must to have foreign key relationship. Why is it so..?
      Hope I have brought more clarity to my doubt.
    Regards,
    Chetan.

  • Reg : Cluster and pool tables

    Hi All,
    I think this has been asked previously.
    Have a doubt, i think this area is kind of opaque.
    This is the scenario, we have standard business suite systems now i am going to get the data into hana using SLT how do i handle cluster and pool tables. Do i bring in the declustered data?
    I am aware that we can get the data from these tables into BW on hana, not sure if that is correct.
    What are the best practice approach for these table classes.
    How have you implemented these kind of scenarios.
    Message was edited by: Tom Flanagan

    Hello,
    SLT Supports replication of non-Unicode to Unicode systems.
    Includes cluster / pool tables, etc. (writes into transparent tables in SAP HANA system).
    Regards,
    Subbu

  • Can u create cluster and pooled tables in real time

    hi
        can u create cluster and pooled tables in real time.can u send data base tables name of above one.

    Hai Anil
    For creating cluster tables first u have to create table pool ...
    create a table and specify the fields and other tecnical settings and
    then Goto EXTRAS --> Change Table Category and selct the Pooled table and activate it...
    Then Create another table And specify the required fileds and also the settings and then
    Goto EXTRAS --> Change Table Category and selct the Cluaster table and in Delivery and
    Maintainence Properties mention the Pooled table that u created and activate it...
    Regards
    Sreeni

  • Doubt on cluster and pooled tables

    Dear experts
    i kno how to create a cluster and pooled table ..
    but in reality how a requirement comes to create a cluster or pooled table....
    plz kindly explain in detailed  
    thanks in advace
    somesh

    Hello,
    Hope the below link gives you an insight into how the pooled/cluster tables behave.
    http://help.sap.com/saphelp_46c/helpdata/EN/81/415d363640933fe10000009b38f839/frameset.htm
    For better understanding on how and when to create pooled/cluster table, refer to the below examples.
    All Condition tables i.e., Annn tables (pricing/discounts etc.,) belong to the table Pool KAPOL (Condition Pool) as the underlying concept is same across different condition tables, but, they have different Key (primary) fields.
    Accounting Document Segment (Line Item records) BSEG is a cluster table that belongs to the table cluster RFBLG. Also, other tables such as BSEC, BSED, BSES, BSET also come under the same table cluster as all of them possess the common Key i.e., BUKRS/BELNR/GJAHR.
    Please contact for further details. <removed_by_moderator>
    With Regards
    Vijay Gajavalli
    Edited by: Julius Bussche on Sep 4, 2008 8:40 AM

  • Joining of cluster  and pooled tables ,transparent tables

    Hi,
    I wanted to do join between  cluster  ,pooled and transparent tables  but inner join won't allow  to join between  transparent or cluster tables or pooled tables .  The requirements are that join should take place dynamically  between transparent ,cluster ,pooled tables .I have written the Function module for joining multiple tables for transparent tables but unable to implement same for the transparent and cluster or pooled tables.How to handle the joining of tables between pooled or cluster  and transparent tables kindly provide me the answer .
    Thanks,
    jahnavi.

    Hi Jahnavi,
    My suggestion would be... if you want to retrieve the data between cluster tables and transparent tables.. its better to go for views instead of cluster tables then that would be easier for you to retrieve the data
    let us take one example BSEG its a cluster table where as there is one view VBSEGK it contains almost all the important fields needed so that u can make use of those or you can look into BSIK and BSAK tables so it better to avoid the cluster tables while retriving the data from the performance point of view

  • Reg cluster and pooled tables

    hi experts..
    can u pls give the names of some cluster and pooled tables?
    regards
    Sellavel

    Hello,
    Pooled tables can be used to store control data (e.g. screen sequences, program parameters or temporary data). Several pooled tables can be combined to form a table pool. The table pool corresponds to a physical table on the database in which all the records of the allocated pooled tables are stored.
    A001
    A004
    A005
    A006
    A007
    A009
    A010
    A012
    A015
    A016
    A017
    A018
    A019
    A021
    A022
    Cluster tables contain continuous text, for example, documentation. Several cluster tables can be combined to form a table cluster. Several logical lines of different tables are combined to form a physical record in this table type. This permits object-by-object storage or object-by-object access. In order to combine tables in clusters, at least parts of the keys must agree. Several cluster tables are stored in one corresponding table on the database.
    AUAA
    AUAB
    AUAO
    AUAS
    AUAT
    AUAV
    AUAW
    AUAY
    BSEC
    BSED
    BSEG
    BSES
    BSET
    CDPOS
    Vasanth

  • Both cluster node reboot

    There is a two nodes cluster and running Oracle RAC DB. Yesterday both nodes rebooted at the same time (less than few seconds different). Don't know it was caused by Oracle CRS and server itsefl?
    Here is the log:
    /var/log/messages in node 1
    Dec 8 15:14:38 dc01locs01 kernel: 493 http://RAIDarray.mppdcsgswsst6140:1:0:2 Cmnd failed-retry the same path. vcmnd SN 18469446 pdev H3:C0:T0:L2 0x02/0x04/0x01 0x08000002 mpp_status:1
    Dec 8 15:14:38 dc01locs01 kernel: 493 http://RAIDarray.mppdcsgswsst6140:1:0:2 Cmnd failed-retry the same path. vcmnd SN 18469448 pdev H3:C0:T0:L2 0x02/0x04/0x01 0x08000002 mpp_status:1
    Dec 8 15:17:20 dc01locs01 syslogd 1.4.1: restart.
    Dec 8 15:17:20 dc01locs01 kernel: klogd 1.4.1, log source = /proc/kmsg started.
    Dec 8 15:17:20 dc01locs01 kernel: Linux version 2.6.18-128.7.1.0.1.el5 ([email protected]) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)) #1 SMP Mon Aug 24 14:07:09 EDT 2009
    Dec 8 15:17:20 dc01locs01 kernel: Command line: ro root=/dev/vg00/root rhgb quiet crashkernel=128M@16M
    Dec 8 15:17:20 dc01locs01 kernel: BIOS-provided physical RAM map:
    ocssd.log in node 1
    CSSD2009-12-08 15:14:33.467 1134680384 >TRACE: clssgmDispatchCMXMSG: msg type(13) src(2) dest(1) size(123) tag(00000000) incarnation(148585637)
    CSSD2009-12-08 15:14:33.468 1134680384 >TRACE: clssgmHandleDataInvalid: grock HB+ASM, member 2 node 2, birth 1
    CSSD2009-12-08 15:19:00.217 >USER: Copyright 2009, Oracle version 11.1.0.7.0
    CSSD2009-12-08 15:19:00.217 >USER: CSS daemon log for node dc01locs01, number 1, in cluster ocsprodrac
    clsdmtListening to (ADDRESS=(PROTOCOL=ipc)(KEY=dc01locs01DBG_CSSD))
    CSSD2009-12-08 15:19:00.235 1995774848 >TRACE: clssscmain: Cluster GUID is 79db6803afc7df32ffd952110f22702c
    CSSD2009-12-08 15:19:00.239 1995774848 >TRACE: clssscmain: local-only set to false
    /var/log/messages in node 2
    Dec 8 15:14:38 dc01locs02 kernel: 493 http://RAIDarray.mppdcsgswsst6140:1:0:2 Cmnd failed-retry the same path. vcmnd SN 18561465 pdev H3:C0:T0:L2 0x02/0x04/0x01 0x08000002 mpp_status:1
    Dec 8 15:14:38 dc01locs02 kernel: 493 http://RAIDarray.mppdcsgswsst6140:1:0:2 Cmnd failed-retry the same path. vcmnd SN 18561463 pdev H3:C0:T0:L2 0x02/0x04/0x01 0x08000002 mpp_status:1
    Dec 8 15:17:14 dc01locs02 syslogd 1.4.1: restart.
    Dec 8 15:17:14 dc01locs02 kernel: klogd 1.4.1, log source = /proc/kmsg started.
    Dec 8 15:17:14 dc01locs02 kernel: Linux version 2.6.18-128.7.1.0.1.el5 ([email protected]) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)) #1 SMP Mon Aug 24 14:07:09 EDT 2009
    Dec 8 15:17:14 dc01locs02 kernel: Command line: ro root=/dev/vg00/root rhgb quiet crashkernel=128M@16M
    Dec 8 15:17:14 dc01locs02 kernel: BIOS-provided physical RAM map:
    ocssd.log in node 2
    CSSD2009-12-08 15:14:35.450 1264081216 >TRACE: clssgmExecuteClientRequest: Received data update request from client (0x2aaaac065a00), type 1
    CSSD2009-12-08 15:14:36.909 1127713088 >TRACE: clssgmDispatchCMXMSG: msg type(13) src(1) dest(1) size(123) tag(00000000) incarnation(148585637)
    CSSD2009-12-08 15:14:36.909 1127713088 >TRACE: clssgmHandleDataInvalid: grock HB+ASM, member 1 node 1, birth 0
    CSSD2009-12-08 15:18:55.047 >USER: Copyright 2009, Oracle version 11.1.0.7.0
    clsdmtListening to (ADDRESS=(PROTOCOL=ipc)(KEY=dc01locs02DBG_CSSD))
    CSSD2009-12-08 15:18:55.047 >USER: CSS daemon log for node dc01locs02, number 2, in cluster ocsprodrac
    CSSD2009-12-08 15:18:55.071 3628915584 >TRACE: clssscmain: Cluster GUID is 79db6803afc7df32ffd952110f22702c
    CSSD2009-12-08 15:18:55.077 3628915584 >TRACE: clssscmain: local-only set to false

    Hi!
    I suppose this seems easy: you have a service at 'http://RAIDarray.mppdcsgswsst6140:1:0:2' (a RAID perhaps?) which failed. Logically all servers connected to thi RAID went down at the same time.
    Seems no Oracle problem. Good luck!

  • Instance pooling across a cluster

    I have to work in a cluster and am new to Weblogic.
    What I need to do: specify the maximam number of instances created for
    a stateless session bean
    What I know: It can be achieved in a EJB container via instance
    pooling algorithm.
    What I don't know: Whether it can be achieved in a cluster? i.e. Can
    a stateless session bean be pooled across a cluster?
    Help needed!!!!
    Many thanks

    "Xiao" <[email protected]> wrote in message
    news:[email protected]..
    I have to work in a cluster and am new to Weblogic.
    What I need to do: specify the maximam number of instances created for
    a stateless session bean
    "<max-beans-in-free-pool>" tag will do the job for you. But this is
    per server pool size.
    What I know: It can be achieved in a EJB container via instance
    pooling algorithm.
    What I don't know: Whether it can be achieved in a cluster? i.e. Can
    a stateless session bean be pooled across a cluster?
    StatelessSessionBean, by default, is clusterable. So client call on this
    bean will round-robin
    on the servers of the cluster. But pool size is per server. Each server,
    hosting this SLSB, will
    have the pool size defined in the <max-beans-in-free-pool> tag.
    Cheers,
    ..maruthi
    Help needed!!!!
    Many thanks

  • Pulling data froma a pooled or a cluster table.

    Hi All,
    As per my knowledge i know that we cannot pull data into BI from a Cluster or a pooled table like BSEG and BSEC.
    How do we extract data from these table.
    Only from a transparent table we can pull data.
    Someone correct me if i am wrong.
    Thanks in advance.
    Regards,
    Harish

    Hi Harish,
    At a Over View level ,We pull the data using Function Module in such cases.Just try to browse in the SDn u will find lot of Docs on FM.We had done it with help of an ABAPer.
    Rgds
    SVU123

  • Can't undeploy EAR via both SDM and VA

    Hi All,
    I can't undeploy EAR via both SDM and VA. SDM starts undeploying and then hangs up. When I try to redeploy (update) I can't reach the final deploy page too. The same is when execute "Remove" action within VA in Deploy service - it reaches 99% and then hangs up. Netweaver trial 7.0 SP12.
    How can I manually undeploy EAR?
    Regards,
    Alex

    Hello Mike,
    Thank you for delay response and sorry for our delay answer. In SDM log there is nothing. In defaultTrace the next records appears after near 20 minutes wait (mentioned RunRulesQueue is JMS queue for MDB):
    "08/06/2007","14:51:50:232","Exception occurred while processing external JMX request [ JMX request (java) v1.0 len: 341 |  src: 2 target-node: 14109850 req: invoke params-number: 4 params-bytes: 0 | :name=deploy,j2eeType=SAP_J2EEServiceRuntimePerNode,SAP_J2EEClusterNode=14109850,SAP_J2EECluster='' getApplicationStatus [Ljava.lang.Object;@1dce6df [Ljava.lang.String;@1b95305 ]
    [EXCEPTION]
    javax.management.MBeanException: Exception invoking method getApplicationStatus
         at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:80)
    Caused by: java.rmi.RemoteException: Error in getting status of application JMSConnector : Application sap.com/JMSConnector is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getApplicationStatus(DeployServiceImpl.java:1370)
    caused by -
    java.rmi.RemoteException: Error in getting status of application JMSConnector : Application sap.com/JMSConnector is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getApplicationStatus(DeployServiceImpl.java:1370)
    ","Warning","/System/Server","com.sap.engine.services.jmx.MBeanServerInvoker","","SAPEngine_Application_Thread[impl:3]_11","14109850:C:\usr\sap\J2E\JC01\j2ee\cluster\server0\log\defaultTrace.trc","001731BAFD2E005600000293000014B80004370688BB4E9B","com.sap.engine.services.jmx.MBeanServerInvoker","javax.management.MBeanException: Exception invoking method getApplicationStatus
         at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:80)
    Caused by: java.rmi.RemoteException: Error in getting status of application JMSConnector : Application sap.com/JMSConnector is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getApplicationStatus(DeployServiceImpl.java:1370)
         ... 24 more
    caused by -
    java.rmi.RemoteException: Error in getting status of application JMSConnector : Application sap.com/JMSConnector is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getApplicationStatus(DeployServiceImpl.java:1370)
    ,","javax.management.MBeanException: Exception invoking method getApplicationStatus
         at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:80)
    Caused by: java.rmi.RemoteException: Error in getting status of application JMSConnector : Application sap.com/JMSConnector is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getApplicationStatus(DeployServiceImpl.java:1370)
         ... 24 more
    caused by -
    java.rmi.RemoteException: Error in getting status of application JMSConnector : Application sap.com/JMSConnector is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getApplicationStatus(DeployServiceImpl.java:1370)
    ,","","","","0","0","","1","/System/Server","","15506","com.sap.engine.services.jmx.MBeanServerInvoker","SAPEngine_Application_Thread[impl:3]_11","","Administrator",
    "08/06/2007","14:51:50:232","Exception com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application sap.com/JMSConnector is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getStatus(DeployServiceImpl.java:3864)
    ","Error","/System/Audit","com.sap.engine.services.deploy","","SAPEngine_Application_Thread[impl:3]_11","14109850:C:\usr\sap\J2E\JC01\j2ee\cluster\server0\log\defaultTrace.trc","001731BAFD2E005600000291000014B80004370688BB4433","com.sap.engine.services.deploy","com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application sap.com/JMSConnector is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getApplicationStatus(DeployServiceImpl.java:1352)
    ,","com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application sap.com/JMSConnector is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getStatus(DeployServiceImpl.java:3864)
    ,","","","","0","0","","1","/System/Audit","","15506","com.sap.engine.services.deploy","SAPEngine_Application_Thread[impl:3]_11","","Administrator",
    "08/06/2007","14:51:50:232","Application sap.com/JMSConnector is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.","Error","/System/Server","com.sap.engine.services.deploy","","SAPEngine_Application_Thread[impl:3]_11","14109850:C:\usr\sap\J2E\JC01\j2ee\cluster\server0\log\defaultTrace.trc","001731BAFD2E005600000290000014B80004370688BB3F98","com.sap.engine.services.deploy","sap.com/JMSConnector,Server 0 1_41098,get its status,","sap.com/JMSConnector,Server 0 1_41098,get its status,","","","","0","0","deploy_5005","1","/System/Server","","15506","com.sap.engine.services.deploy","SAPEngine_Application_Thread[impl:3]_11","","Administrator",
    "08/06/2007","14:51:49:029","Exception occurred while processing external JMX request [ JMX request (java) v1.0 len: 357 |  src: 2 target-node: 14109850 req: invoke params-number: 4 params-bytes: 0 | :name=deploy,j2eeType=SAP_J2EEServiceRuntimePerNode,SAP_J2EEClusterNode=14109850,SAP_J2EECluster='' getApplicationStatus [Ljava.lang.Object;@1de783a [Ljava.lang.String;@a7351a ]
    [EXCEPTION]
    javax.management.MBeanException: Exception invoking method getApplicationStatus
         at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:80)
    Caused by: java.rmi.RemoteException: Error in getting status of application RunRulesQueue - JMSConnector : Application sap.com/RunRulesQueue - JMSConnector is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getApplicationStatus(DeployServiceImpl.java:1370)
         ... 24 more
    caused by -
    java.rmi.RemoteException: Error in getting status of application RunRulesQueue - JMSConnector : Application sap.com/RunRulesQueue - JMSConnector is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getApplicationStatus(DeployServiceImpl.java:1370)
    ","Warning","/System/Server","com.sap.engine.services.jmx.MBeanServerInvoker","","SAPEngine_Application_Thread[impl:3]_12","14109850:C:\usr\sap\J2E\JC01\j2ee\cluster\server0\log\defaultTrace.trc","001731BAFD2E005800000012000014B80004370688A8DF90","com.sap.engine.services.jmx.MBeanServerInvoker","javax.management.MBeanException: Exception invoking method getApplicationStatus
         at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:80)
    Caused by: java.rmi.RemoteException: Error in getting status of application RunRulesQueue - JMSConnector : Application sap.com/RunRulesQueue - JMSConnector is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getApplicationStatus(DeployServiceImpl.java:1370)
    caused by -
    java.rmi.RemoteException: Error in getting status of application RunRulesQueue - JMSConnector : Application sap.com/RunRulesQueue - JMSConnector is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getApplicationStatus(DeployServiceImpl.java:1370)
    ,","javax.management.MBeanException: Exception invoking method getApplicationStatus
         at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:80)
    Caused by: java.rmi.RemoteException: Error in getting status of application RunRulesQueue - JMSConnector : Application sap.com/RunRulesQueue - JMSConnector is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getApplicationStatus(DeployServiceImpl.java:1370)
    caused by -
    java.rmi.RemoteException: Error in getting status of application RunRulesQueue - JMSConnector : Application sap.com/RunRulesQueue - JMSConnector is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getApplicationStatus(DeployServiceImpl.java:1370)
    ,","","","","0","0","","1","/System/Server","","15506","com.sap.engine.services.jmx.MBeanServerInvoker","SAPEngine_Application_Thread[impl:3]_12","","Administrator",
    "08/06/2007","14:51:49:029","Exception com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application sap.com/RunRulesQueue - JMSConnector is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getStatus(DeployServiceImpl.java:3864)
    ","Error","/System/Audit","com.sap.engine.services.deploy","","SAPEngine_Application_Thread[impl:3]_12","14109850:C:\usr\sap\J2E\JC01\j2ee\cluster\server0\log\defaultTrace.trc","001731BAFD2E005800000010000014B80004370688A8D526","com.sap.engine.services.deploy","com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application sap.com/RunRulesQueue - JMSConnector is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getStatus(DeployServiceImpl.java:3864)
    ,","com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application sap.com/RunRulesQueue - JMSConnector is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getStatus(DeployServiceImpl.java:3864)
    ,","","","","0","0","","1","/System/Audit","","15506","com.sap.engine.services.deploy","SAPEngine_Application_Thread[impl:3]_12","","Administrator",
    "08/06/2007","14:51:49:029","Application sap.com/RunRulesQueue - JMSConnector is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.","Error","/System/Server","com.sap.engine.services.deploy","","SAPEngine_Application_Thread[impl:3]_12","14109850:C:\usr\sap\J2E\JC01\j2ee\cluster\server0\log\defaultTrace.trc","001731BAFD2E00580000000F000014B80004370688A8D072","com.sap.engine.services.deploy","sap.com/RunRulesQueue - JMSConnector,Server 0 1_41098,get its status,","sap.com/RunRulesQueue - JMSConnector,Server 0 1_41098,get its status,","","","","0","0","deploy_5005","1","/System/Server","","15506","com.sap.engine.services.deploy","SAPEngine_Application_Thread[impl:3]_12","","Administrator",
    "08/06/2007","14:51:48:529","Exception occurred while processing external JMX request [ JMX request (java) v1.0 len: 375 |  src: 2 target-node: 14109850 req: invoke params-number: 4 params-bytes: 0 | :name=deploy,j2eeType=SAP_J2EEServiceRuntimePerNode,SAP_J2EEClusterNode=14109850,SAP_J2EECluster='' getApplicationStatus [Ljava.lang.Object;@1ffb98f [Ljava.lang.String;@1ef71da ]
    [EXCEPTION]
    javax.management.MBeanException: Exception invoking method getApplicationStatus
         at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:80)
    Caused by: java.rmi.RemoteException: Error in getting status of application mycompany.com/MyApplication - METAMODELREPOSITORY : Application mycompany.com/MyApplication - METAMODELREPOSITORY is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getApplicationStatus(DeployServiceImpl.java:1370)
    caused by -
    java.rmi.RemoteException: Error in getting status of application mycompany.com/MyApplication - METAMODELREPOSITORY : Application mycompany.com/MyApplication - METAMODELREPOSITORY is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getApplicationStatus(DeployServiceImpl.java:1370)
    ","Warning","/System/Server","com.sap.engine.services.jmx.MBeanServerInvoker","","SAPEngine_Application_Thread[impl:3]_12","14109850:C:\usr\sap\J2E\JC01\j2ee\cluster\server0\log\defaultTrace.trc","001731BAFD2E00580000000D000014B80004370688A16E4A","com.sap.engine.services.jmx.MBeanServerInvoker","javax.management.MBeanException: Exception invoking method getApplicationStatus
         at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:80)
    Caused by: java.rmi.RemoteException: Error in getting status of application mycompany.com/MyApplication - METAMODELREPOSITORY : Application mycompany.com/MyApplication - METAMODELREPOSITORY is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getApplicationStatus(DeployServiceImpl.java:1370)
    caused by -
    java.rmi.RemoteException: Error in getting status of application mycompany.com/MyApplication - METAMODELREPOSITORY : Application mycompany.com/MyApplication - METAMODELREPOSITORY is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getApplicationStatus(DeployServiceImpl.java:1370)
    ,","javax.management.MBeanException: Exception invoking method getApplicationStatus
         at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:80)
    Caused by: java.rmi.RemoteException: Error in getting status of application mycompany.com/MyApplication - METAMODELREPOSITORY : Application mycompany.com/MyApplication - METAMODELREPOSITORY is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getApplicationStatus(DeployServiceImpl.java:1370)
    caused by -
    java.rmi.RemoteException: Error in getting status of application mycompany.com/MyApplication - METAMODELREPOSITORY : Application mycompany.com/MyApplication - METAMODELREPOSITORY is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getApplicationStatus(DeployServiceImpl.java:1370)
    ,","","","","0","0","","1","/System/Server","","15506","com.sap.engine.services.jmx.MBeanServerInvoker","SAPEngine_Application_Thread[impl:3]_12","","Administrator",
    "08/06/2007","14:51:48:529","Exception com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application mycompany.com/MyApplication - METAMODELREPOSITORY is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getStatus(DeployServiceImpl.java:3864)
    ","Error","/System/Audit","com.sap.engine.services.deploy","","SAPEngine_Application_Thread[impl:3]_12","14109850:C:\usr\sap\J2E\JC01\j2ee\cluster\server0\log\defaultTrace.trc","001731BAFD2E00580000000B000014B80004370688A163F5","com.sap.engine.services.deploy","com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application mycompany.com/MyApplication - METAMODELREPOSITORY is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getStatus(DeployServiceImpl.java:3864)
    ,","com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application mycompany.com/MyApplication - METAMODELREPOSITORY is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getStatus(DeployServiceImpl.java:3864)
    ,","","","","0","0","","1","/System/Audit","","15506","com.sap.engine.services.deploy","SAPEngine_Application_Thread[impl:3]_12","","Administrator",
    "08/06/2007","14:51:48:529","Application mycompany.com/MyApplication - METAMODELREPOSITORY is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.","Error","/System/Server","com.sap.engine.services.deploy","","SAPEngine_Application_Thread[impl:3]_12","14109850:C:\usr\sap\J2E\JC01\j2ee\cluster\server0\log\defaultTrace.trc","001731BAFD2E00580000000A000014B80004370688A15F5D","com.sap.engine.services.deploy","mycompany.com/MyApplication - METAMODELREPOSITORY,Server 0 1_41098,get its status,","mycompany.com/MyApplication - METAMODELREPOSITORY,Server 0 1_41098,get its status,","","","","0","0","deploy_5005","1","/System/Server","","15506","com.sap.engine.services.deploy","SAPEngine_Application_Thread[impl:3]_12","","Administrator",
    "08/06/2007","14:51:48:092","Exception occurred while processing external JMX request [ JMX request (java) v1.0 len: 350 |  src: 2 target-node: 14109850 req: invoke params-number: 4 params-bytes: 0 | :name=deploy,j2eeType=SAP_J2EEServiceRuntimePerNode,SAP_J2EEClusterNode=14109850,SAP_J2EECluster='' getApplicationStatus [Ljava.lang.Object;@f6a63e [Ljava.lang.String;@11c54d7 ]
    [EXCEPTION]
    javax.management.MBeanException: Exception invoking method getApplicationStatus
         at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:80)
    Caused by: java.rmi.RemoteException: Error in getting status of application MyApplication - web : Application sap.com/MyApplication - web is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getApplicationStatus(DeployServiceImpl.java:1370)
    caused by -
    java.rmi.RemoteException: Error in getting status of application MyApplication - web : Application sap.com/MyApplication - web is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getApplicationStatus(DeployServiceImpl.java:1370)
    ","Warning","/System/Server","com.sap.engine.services.jmx.MBeanServerInvoker","","SAPEngine_Application_Thread[impl:3]_11","14109850:C:\usr\sap\J2E\JC01\j2ee\cluster\server0\log\defaultTrace.trc","001731BAFD2E00560000028E000014B800043706889A984F","com.sap.engine.services.jmx.MBeanServerInvoker","javax.management.MBeanException: Exception invoking method getApplicationStatus
         at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:80)
    Caused by: java.rmi.RemoteException: Error in getting status of application MyApplication - web : Application sap.com/MyApplication - web is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getApplicationStatus(DeployServiceImpl.java:1370)
    caused by -
    java.rmi.RemoteException: Error in getting status of application MyApplication - web : Application sap.com/MyApplication - web is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getApplicationStatus(DeployServiceImpl.java:1370)
    ,","javax.management.MBeanException: Exception invoking method getApplicationStatus
         at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:80)
    Caused by: java.rmi.RemoteException: Error in getting status of application MyApplication - web : Application sap.com/MyApplication - web is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getApplicationStatus(DeployServiceImpl.java:1370)
    caused by -
    java.rmi.RemoteException: Error in getting status of application MyApplication - web : Application sap.com/MyApplication - web is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getApplicationStatus(DeployServiceImpl.java:1370)
    ,","","","","0","0","","1","/System/Server","","15506","com.sap.engine.services.jmx.MBeanServerInvoker","SAPEngine_Application_Thread[impl:3]_11","","Administrator",
    "08/06/2007","14:51:48:092","Exception com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application sap.com/MyApplication - web is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getStatus(DeployServiceImpl.java:3864)
    ","Error","/System/Audit","com.sap.engine.services.deploy","","SAPEngine_Application_Thread[impl:3]_11","14109850:C:\usr\sap\J2E\JC01\j2ee\cluster\server0\log\defaultTrace.trc","001731BAFD2E00560000028C000014B800043706889A8DD7","com.sap.engine.services.deploy","com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application sap.com/MyApplication - web is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getStatus(DeployServiceImpl.java:3864)
    ,","com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application sap.com/MyApplication - web is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getStatus(DeployServiceImpl.java:3864)
    ,","","","","0","0","","1","/System/Audit","","15506","com.sap.engine.services.deploy","SAPEngine_Application_Thread[impl:3]_11","","Administrator",
    "08/06/2007","14:51:48:092","Application sap.com/MyApplication - web is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.","Error","/System/Server","com.sap.engine.services.deploy","","SAPEngine_Application_Thread[impl:3]_11","14109850:C:\usr\sap\J2E\JC01\j2ee\cluster\server0\log\defaultTrace.trc","001731BAFD2E00560000028B000014B800043706889A892C","com.sap.engine.services.deploy","sap.com/MyApplication - web,Server 0 1_41098,get its status,","sap.com/MyApplication - web,Server 0 1_41098,get its status,","","","","0","0","deploy_5005","1","/System/Server","","15506","com.sap.engine.services.deploy","SAPEngine_Application_Thread[impl:3]_11","","Administrator",
    "08/06/2007","14:51:34:357","Exception occurred while processing external JMX request [ JMX request (java) v1.0 len: 345 |  src: 2 target-node: 14109850 req: invoke params-number: 4 params-bytes: 0 | :name=deploy,j2eeType=SAP_J2EEServiceRuntimePerNode,SAP_J2EEClusterNode=14109850,SAP_J2EECluster='' getApplicationStatus [Ljava.lang.Object;@6183fd [Ljava.lang.String;@208566 ]
    [EXCEPTION]
    javax.management.MBeanException: Exception invoking method getApplicationStatus
         at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:80)
    Caused by: java.rmi.RemoteException: Error in getting status of application Server 0 1_41098 : Application sap.com/Server 0 1_41098 is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getApplicationStatus(DeployServiceImpl.java:1370)
    caused by -
    java.rmi.RemoteException: Error in getting status of application Server 0 1_41098 : Application sap.com/Server 0 1_41098 is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getApplicationStatus(DeployServiceImpl.java:1370)
    ","Warning","/System/Server","com.sap.engine.services.jmx.MBeanServerInvoker","","SAPEngine_Application_Thread[impl:3]_12","14109850:C:\usr\sap\J2E\JC01\j2ee\cluster\server0\log\defaultTrace.trc","001731BAFD2E005800000008000014B80004370687C91D91","com.sap.engine.services.jmx.MBeanServerInvoker","javax.management.MBeanException: Exception invoking method getApplicationStatus
         at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:80)
    Caused by: java.rmi.RemoteException: Error in getting status of application Server 0 1_41098 : Application sap.com/Server 0 1_41098 is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getApplicationStatus(DeployServiceImpl.java:1370)
    caused by -
    java.rmi.RemoteException: Error in getting status of application Server 0 1_41098 : Application sap.com/Server 0 1_41098 is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getApplicationStatus(DeployServiceImpl.java:1370)
    ,","javax.management.MBeanException: Exception invoking method getApplicationStatus
         at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:80)
    Caused by: java.rmi.RemoteException: Error in getting status of application Server 0 1_41098 : Application sap.com/Server 0 1_41098 is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getApplicationStatus(DeployServiceImpl.java:1370)
    caused by -
    java.rmi.RemoteException: Error in getting status of application Server 0 1_41098 : Application sap.com/Server 0 1_41098 is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getApplicationStatus(DeployServiceImpl.java:1370)
    ,","","","","0","0","","1","/System/Server","","15506","com.sap.engine.services.jmx.MBeanServerInvoker","SAPEngine_Application_Thread[impl:3]_12","","Administrator",
    "08/06/2007","14:51:34:357","Exception com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application sap.com/Server 0 1_41098 is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getStatus(DeployServiceImpl.java:3864)
    ","Error","/System/Audit","com.sap.engine.services.deploy","","SAPEngine_Application_Thread[impl:3]_12","14109850:C:\usr\sap\J2E\JC01\j2ee\cluster\server0\log\defaultTrace.trc","001731BAFD2E005800000006000014B80004370687C906F5","com.sap.engine.services.deploy","com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application sap.com/Server 0 1_41098 is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getStatus(DeployServiceImpl.java:3864)
    ,","com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application sap.com/Server 0 1_41098 is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.
         at com.sap.engine.services.deploy.server.DeployServiceImpl.getStatus(DeployServiceImpl.java:3864)
    ,","","","","0","0","","1","/System/Audit","","15506","com.sap.engine.services.deploy","SAPEngine_Application_Thread[impl:3]_12","","Administrator",
    "08/06/2007","14:51:34:357","Application sap.com/Server 0 1_41098 is not deployed on cluster element Server 0 1_41098 and it is not possible to get its status.","Error","/System/Server","com.sap.engine.services.deploy","","SAPEngine_Application_Thread[impl:3]_12","14109850:C:\usr\sap\J2E\JC01\j2ee\cluster\server0\log\defaultTrace.trc","001731BAFD2E005800000005000014B80004370687C8FE65","com.sap.engine.services.deploy","sap.com/Server 0 1_41098,Server 0 1_41098,get its status,","sap.com/Server 0 1_41098,Server 0 1_41098,get its status,","","","","0","0","deploy_5005","1","/System/Server","","15506","com.sap.engine.services.deploy","SAPEngine_Application_Thread[impl:3]_12","","Administrator",
    Thank you in advance!
    Alex

  • Session lost problem in Weblogic cluster and Iplanet proxy

              We have an environment like this
              Iplanet 4.1--> Two Weblogic servers.(WLS 6.1 sp1)
              The Weblogic servers are not really clusterd, but we are using the Weblogic Cluster
              attribute in the obj.conf to configure the proxy (The Weblogic servers are really
              independant servers with the same application deployed).
              This is working fine in our development environment. No problem with session and
              load balancing. Although this architecture is not documented in Weblogic docs,
              I have seen several references to this type of architecture in the web and it
              seems to be working.
              Now we are into our pre-production environment. The same archictecture exists.
              Only the following differences
              1. Both the weblogic servers run on multihomed machines. We have bound the Weblogic
              servers to specific IP addresses using the Listen address option.
              2. The same IP addresses are there in the proxy plug-in conf file.
              3. There is a firewall between the Iplanet and Weblogic.
              Now if only one weblogic is running, the application works fine. The moment we
              turn the other weblogic on, the application starts misbehaving. The session seems
              to get lost and proxy forwards requests randomly.
              What could be the reason?
              Regards
              Anup
              

              Hi
              The problem got solved. There was an older version of libproxy.so in the Iplanet
              proxy
              Regards
              Anup
              Yeshwant Kamat <[email protected]> wrote:
              >Anup,
              >
              >Is there a reason you are not clustering the WLS instances? Remove the
              >firewall in your
              >prod environment and see if that makes a difference.
              >
              >Anup wrote:
              >
              >> Hi Mike
              >> 1. As per the documentation WebLogic Server is set up to handle session
              >tracking
              >> by default. So we are not doing anything special. Since the application
              >works
              >> fine with one Weblogic and multiple clients connecting to it through
              >Iplanet ,
              >> I think there is no problem with Session tracking as such.
              >>
              >> 2.We are using the default cookie name for session (JSESSIONID). So
              >we haven't
              >> done anything extra in the proxy set up or weblogic.xml
              >>
              >> 3. I have watched the cookie that comes on the browser
              >> PAACk3iviDm4ZuMPIbB9TpTTw9slk40IEC02MKjpu14EZ9ayzqaP!-1196227542!gmbpds054!7015!7016.
              >>
              >> gmbpds054 is the DNS name of one of the weblogic servers. So that is
              >also fine.
              >>
              >> What else could be the problem.
              >> Regards
              >> Anup
              >>
              >> "Mike Reiche" <[email protected]> wrote:
              >> >
              >> >If you have session tracking turned on in weblogic, creating a session
              >> >will write
              >> >a cookie back to the browser. iPlanet does sticky load balancing
              >based
              >> >on the
              >> >IP address in this cookie. So -
              >> >
              >> >1) do you have session tracking turned on?
              >> >
              >> >2) is the cookie getting written to your browser?
              >> >
              >> >3) are iPlanet and WebLogic using the same cookie? (same name)
              >> >
              >> >Mike
              >> >
              >> >"Anup Maliyackel" <[email protected]> wrote:
              >> >>
              >> >>We have an environment like this
              >> >>
              >> >>Iplanet 4.1--> Two Weblogic servers.(WLS 6.1 sp1)
              >> >>
              >> >>The Weblogic servers are not really clusterd, but we are using the
              >Weblogic
              >> >>Cluster
              >> >>attribute in the obj.conf to configure the proxy (The Weblogic servers
              >> >>are really
              >> >>independant servers with the same application deployed).
              >> >>
              >> >>This is working fine in our development environment. No problem with
              >> >>session and
              >> >>load balancing. Although this architecture is not documented in Weblogic
              >> >>docs,
              >> >>I have seen several references to this type of architecture in the
              >web
              >> >>and it
              >> >>seems to be working.
              >> >>
              >> >>Now we are into our pre-production environment. The same archictecture
              >> >>exists.
              >> >>Only the following differences
              >> >>1. Both the weblogic servers run on multihomed machines. We have
              >bound
              >> >>the Weblogic
              >> >>servers to specific IP addresses using the Listen address option.
              >> >>
              >> >>2. The same IP addresses are there in the proxy plug-in conf file.
              >> >>
              >> >>3. There is a firewall between the Iplanet and Weblogic.
              >> >>
              >> >>Now if only one weblogic is running, the application works fine.
              >The
              >> >>moment we
              >> >>turn the other weblogic on, the application starts misbehaving. The
              >> >session
              >> >>seems
              >> >>to get lost and proxy forwards requests randomly.
              >> >>
              >> >>What could be the reason?
              >> >>
              >> >>Regards
              >> >>Anup
              >> >
              >
              

  • DO i need some extra hardware interface for receving both Audio and video

    hi i m doing e-learning project. i have to capture video from webcam and voice from headphone and send to client.
    but my code is working fine for either one at a time.
    DO i need some extra hardware interface for receving both Audio and video. im using code AVTransmit and AVReceive found from this site only
    After running TX
    i give Dsound:// & vfw://0 in Media Locater only sound is received and no vedio
    and when i give vfw://0 in Media Locater only live video is transmited.
    im using JMF1.1.2e.
    if any one know the method to run or cause of it plz reply me soon. i will be very thankfull
    transmiter/server side code .first run TX on server
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    import java.util.*;
    import javax.media.rtp.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.border.*;
    public class Tx extends JFrame implements ActionListener, KeyListener,
    MouseListener, WindowListener {
    Vector targets;
    JList list;
    JButton startXmit;
    JButton rtcp;
    JButton update;
    JButton expiration;
    JButton statistics;
    JButton addTarget;
    JButton removeTarget;
    JTextField tf_remote_address;
    JTextField tf_remote_data_port;
    JTextField tf_media_file;
    JTextField tf_data_port;
    TargetListModel listModel;
    AVTransmitter avTransmitter;
    RTCPViewer rtcpViewer;
    JCheckBox cb_loop;
    Config config;
    public Tx() {
    setTitle( "JMF/RTP Transmitter");
         config= new Config();
         GridBagLayout gridBagLayout= new GridBagLayout();
         GridBagConstraints gbc;
         JPanel p= new JPanel();
         p.setLayout( gridBagLayout);
         JPanel localPanel= createLocalPanel();
         gbc= new GridBagConstraints();
         gbc.gridx= 0;
         gbc.gridy= 0;
         gbc.gridwidth= 2;
         gbc.anchor= GridBagConstraints.CENTER;
         gbc.fill= GridBagConstraints.BOTH;
         gbc.insets= new Insets( 10, 5, 0, 0);
         ((GridBagLayout)p.getLayout()).setConstraints( localPanel, gbc);
         p.add( localPanel);
         JPanel targetPanel= createTargetPanel();
         gbc= new GridBagConstraints();
         gbc.gridx= 1;
         gbc.gridy= 1;
         gbc.weightx= 1.0;
         gbc.weighty= 1.0;
         gbc.anchor= GridBagConstraints.CENTER;
         gbc.fill= GridBagConstraints.BOTH;
         gbc.insets= new Insets( 10, 5, 0, 0);
         ((GridBagLayout)p.getLayout()).setConstraints( targetPanel, gbc);
    p.add( targetPanel);
         JPanel mediaPanel= createMediaPanel();
         gbc= new GridBagConstraints();
         gbc.gridx= 1;
         gbc.gridy= 2;
         gbc.weightx= 1.0;
         gbc.weighty= 1.0;
         gbc.anchor= GridBagConstraints.CENTER;
         gbc.fill= GridBagConstraints.BOTH;
         gbc.insets= new Insets( 10, 5, 0, 0);
         ((GridBagLayout)p.getLayout()).setConstraints( mediaPanel, gbc);
    p.add( mediaPanel);
    JPanel buttonPanel= new JPanel();
    rtcp= new JButton( "RTCP Monitor");
    update= new JButton( "Transmission Status");
         update.setEnabled( false);
         rtcp.addActionListener( this);
         update.addActionListener( this);
         buttonPanel.add( rtcp);
         buttonPanel.add( update);
         gbc= new GridBagConstraints();
         gbc.gridx = 0;
         gbc.gridy = 3;
    gbc.gridwidth= 2;
         gbc.weightx = 1.0;
         gbc.weighty = 0.0;
         gbc.anchor = GridBagConstraints.CENTER;
         gbc.fill = GridBagConstraints.HORIZONTAL;
         gbc.insets = new Insets( 5,5,10,5);
         ((GridBagLayout)p.getLayout()).setConstraints( buttonPanel, gbc);
         p.add( buttonPanel);
    getContentPane().add( p);
         list.addMouseListener( this);
         addWindowListener( this);
    pack();
    setVisible( true);
    private JPanel createMediaPanel() {
    JPanel p= new JPanel();
         GridBagLayout gridBagLayout= new GridBagLayout();
    GridBagConstraints gbc;
         p.setLayout( gridBagLayout);
         JLabel label= new JLabel( "Media Locator:");
         gbc= new GridBagConstraints();
         gbc.gridx = 0;
         gbc.gridy = 0;
         gbc.weightx = 0.0;
         gbc.weighty = 0.0;
         gbc.anchor = GridBagConstraints.EAST;
         gbc.fill = GridBagConstraints.NONE;
         gbc.insets = new Insets( 5,5,10,5);
         ((GridBagLayout)p.getLayout()).setConstraints( label, gbc);
         p.add( label);
         tf_media_file= new JTextField( 35);
         gbc= new GridBagConstraints();
         gbc.gridx = 1;
         gbc.gridy = 0;
         gbc.weightx = 1.0;
         gbc.weighty = 0.0;
         gbc.anchor = GridBagConstraints.WEST;
         gbc.fill = GridBagConstraints.HORIZONTAL;
         gbc.insets = new Insets( 5,5,10,5);
         ((GridBagLayout)p.getLayout()).setConstraints( tf_media_file, gbc);
         p.add( tf_media_file);
         tf_media_file.setText( config.media_locator);
         cb_loop= new JCheckBox( "loop");
         startXmit= new JButton( "Start Transmission");
         startXmit.setEnabled( true);
         startXmit.addActionListener( this);
         gbc= new GridBagConstraints();
         gbc.gridx = 2;
         gbc.gridy = 0;
         gbc.weightx = 0.0;
         gbc.weighty = 0.0;
         gbc.anchor = GridBagConstraints.WEST;
         gbc.fill = GridBagConstraints.NONE;
         gbc.insets = new Insets( 5,5,10,5);
         ((GridBagLayout)p.getLayout()).setConstraints( cb_loop, gbc);
         p.add( cb_loop);
         cb_loop.setSelected( true);
         cb_loop.addActionListener( this);
         gbc= new GridBagConstraints();
         gbc.gridx = 1;
         gbc.gridy = 1;
         gbc.weightx = 0.0;
         gbc.weighty = 0.0;
         gbc.anchor = GridBagConstraints.CENTER;
         gbc.fill = GridBagConstraints.NONE;
         gbc.insets = new Insets( 5,5,10,5);
         ((GridBagLayout)p.getLayout()).setConstraints( startXmit, gbc);
         p.add( startXmit);
         TitledBorder titledBorder= new TitledBorder( new EtchedBorder(), "Source");
         p.setBorder( titledBorder);
         return p;
    private JPanel createTargetPanel() {
    JPanel p= new JPanel();
         GridBagLayout gridBagLayout= new GridBagLayout();
    GridBagConstraints gbc;
         p.setLayout( gridBagLayout);
         targets= new Vector();
         for( int i= 0; i < config.targets.size(); i++) {
         targets.addElement( config.targets.elementAt( i));
    listModel= new TargetListModel( targets);
    list= new JList( listModel);
         list.addKeyListener( this);
         list.setPrototypeCellValue( "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
    JScrollPane scrollPane= new JScrollPane( list,
    ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED,
    ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
         gbc= new GridBagConstraints();
         gbc.gridx= 0;
         gbc.gridy= 0;
         gbc.weightx= 1.0;
         gbc.weighty= 1.0;
         gbc.anchor= GridBagConstraints.CENTER;
         gbc.fill= GridBagConstraints.BOTH;
         gbc.insets= new Insets( 10, 5, 0, 0);
         ((GridBagLayout)p.getLayout()).setConstraints( scrollPane, gbc);
         p.add( scrollPane);
    JPanel p1= new JPanel();
         p1.setLayout( gridBagLayout);
         JLabel label= new JLabel( "IP Address:");
         gbc= new GridBagConstraints();
         gbc.gridx = 0;
         gbc.gridy = 0;
         gbc.weightx = 0.0;
         gbc.weighty = 0.0;
         gbc.anchor = GridBagConstraints.EAST;
         gbc.fill = GridBagConstraints.NONE;
         gbc.insets = new Insets( 5,5,0,5);
         ((GridBagLayout)p1.getLayout()).setConstraints( label, gbc);
         p1.add( label);
         tf_remote_address= new JTextField( 15);
         gbc= new GridBagConstraints();
         gbc.gridx = 1;
         gbc.gridy = 0;
         gbc.weightx = 0.0;
         gbc.weighty = 0.0;
         gbc.anchor = GridBagConstraints.WEST;
         gbc.fill = GridBagConstraints.NONE;
         gbc.insets = new Insets( 5,5,0,5);
         ((GridBagLayout)p1.getLayout()).setConstraints( tf_remote_address, gbc);
         p1.add( tf_remote_address);
         label= new JLabel( "Data Port:");
         gbc= new GridBagConstraints();
         gbc.gridx = 0;
         gbc.gridy = 1;
         gbc.weightx = 0.0;
         gbc.weighty = 0.0;
         gbc.anchor = GridBagConstraints.EAST;
         gbc.fill = GridBagConstraints.NONE;
         gbc.insets = new Insets( 5,5,0,5);
         ((GridBagLayout)p1.getLayout()).setConstraints( label, gbc);
         p1.add( label);
         tf_remote_data_port= new JTextField( 15);
         gbc= new GridBagConstraints();
         gbc.gridx = 1;
         gbc.gridy = 1;
         gbc.weightx = 0.0;
         gbc.weighty = 0.0;
         gbc.anchor = GridBagConstraints.WEST;
         gbc.fill = GridBagConstraints.NONE;
         gbc.insets = new Insets( 5,5,0,5);
         ((GridBagLayout)p1.getLayout()).setConstraints( tf_remote_data_port, gbc);
         p1.add( tf_remote_data_port);     
    JPanel p2= new JPanel();
    addTarget= new JButton( "Add Target");     
    removeTarget= new JButton( "Remove Target");
         p2.add( addTarget);
         p2.add( removeTarget);
         addTarget.addActionListener( this);
         removeTarget.addActionListener( this);
         gbc= new GridBagConstraints();
         gbc.gridx = 0;
         gbc.gridy = 2;
         gbc.weightx = 1.0;
         gbc.weighty = 0.0;
         gbc.gridwidth= 2;
         gbc.anchor = GridBagConstraints.CENTER;
         gbc.fill = GridBagConstraints.HORIZONTAL;
         gbc.insets = new Insets( 20,5,0,5);
         ((GridBagLayout)p1.getLayout()).setConstraints( p2, gbc);
         p1.add( p2);
         gbc= new GridBagConstraints();
         gbc.gridx= 1;
         gbc.gridy= 0;
         gbc.weightx= 1.0;
         gbc.weighty= 1.0;
         gbc.anchor= GridBagConstraints.CENTER;
         gbc.fill= GridBagConstraints.BOTH;
         gbc.insets= new Insets( 10, 5, 0, 0);
         ((GridBagLayout)p.getLayout()).setConstraints( p1, gbc);
         p.add( p1);
         TitledBorder titledBorder= new TitledBorder( new EtchedBorder(), "Targets");
         p.setBorder( titledBorder);
         return p;
    private JPanel createLocalPanel() {
    JPanel p= new JPanel();
         GridBagLayout gridBagLayout= new GridBagLayout();
    GridBagConstraints gbc;
         p.setLayout( gridBagLayout);
         JLabel label= new JLabel( "IP Address:");
         gbc= new GridBagConstraints();
         gbc.gridx = 0;
         gbc.gridy = 0;
         gbc.weightx = 0.0;
         gbc.weighty = 0.0;
         gbc.anchor = GridBagConstraints.EAST;
         gbc.fill = GridBagConstraints.NONE;
         gbc.insets = new Insets( 5,5,0,5);
         ((GridBagLayout)p.getLayout()).setConstraints( label, gbc);
         p.add( label);
         JTextField tf_local_host= new JTextField( 15);
         gbc= new GridBagConstraints();
         gbc.gridx = 1;
         gbc.gridy = 0;
         gbc.weightx = 0.0;
         gbc.weighty = 0.0;
         gbc.anchor = GridBagConstraints.WEST;
         gbc.fill = GridBagConstraints.NONE;
         gbc.insets = new Insets( 5,5,0,5);
         ((GridBagLayout)p.getLayout()).setConstraints( tf_local_host, gbc);
         p.add( tf_local_host);
         try {
    String host= InetAddress.getLocalHost().getHostAddress();     
         tf_local_host.setText( host);
         } catch( UnknownHostException e) {
         label= new JLabel( "Data Port:");
         gbc= new GridBagConstraints();
         gbc.gridx = 0;
         gbc.gridy = 1;
         gbc.weightx = 0.0;
         gbc.weighty = 0.0;
         gbc.anchor = GridBagConstraints.EAST;
         gbc.fill = GridBagConstraints.NONE;
         gbc.insets = new Insets( 5,5,0,5);
         ((GridBagLayout)p.getLayout()).setConstraints( label, gbc);
         p.add( label);
         tf_data_port= new JTextField( 15);
         gbc= new GridBagConstraints();
         gbc.gridx = 1;
         gbc.gridy = 1;
         gbc.weightx = 0.0;
         gbc.weighty = 0.0;
         gbc.anchor = GridBagConstraints.WEST;
         gbc.fill = GridBagConstraints.NONE;
         gbc.insets = new Insets( 5,5,10,5);
         ((GridBagLayout)p.getLayout()).setConstraints( tf_data_port, gbc);
         p.add( tf_data_port);
         tf_data_port.setText( config.local_data_port);
         TitledBorder titledBorder= new TitledBorder( new EtchedBorder(), "Local Host");
         p.setBorder( titledBorder);
         return p;
    public void actionPerformed( ActionEvent event) {
    Object source= event.getSource();
         if( source == addTarget) {
         String ip= tf_remote_address.getText().trim();
         String port= tf_remote_data_port.getText().trim();
         String localPort= tf_data_port.getText().trim();
         addTargetToList( localPort, ip, port);
         if( avTransmitter != null) {
         avTransmitter.addTarget( ip, port);
         } else if( source == removeTarget) {
         int index= list.getSelectedIndex();
         if( index != -1) {
              Target target= (Target) targets.elementAt( index);
              if( avTransmitter != null) {
         avTransmitter.removeTarget( target.ip, target.port);
              targets.removeElement( target);
              listModel.setData( targets);          
         } else if( source == startXmit) {
         if( startXmit.getLabel().equals( "Start Transmission")) {          
         int data_port= new Integer( tf_data_port.getText()).intValue();
              avTransmitter= new AVTransmitter( this, data_port);
         avTransmitter.start( tf_media_file.getText().trim(), targets);          
              avTransmitter.setLooping( cb_loop.isSelected());
         startXmit.setLabel( "Stop Transmission");
         } else if( startXmit.getLabel().equals( "Stop Transmission")) {
              avTransmitter.stop();
              avTransmitter= null;
              removeNonBaseTargets();
              listModel.setData( targets);
         startXmit.setLabel( "Start Transmission");          
         } else if( source == rtcp) {
         if( rtcpViewer == null) {
         rtcpViewer= new RTCPViewer();
         } else {
              rtcpViewer.setVisible( true);
              rtcpViewer.toFront();
         } else if( source == cb_loop) {
         if( avTransmitter != null) {
              avTransmitter.setLooping( cb_loop.isSelected());
    private void removeNonBaseTargets() {
         String localPort= tf_data_port.getText().trim();
         for( int i= targets.size(); i > 0;) {
         Target target= (Target) targets.elementAt( i - 1);
         if( !target.localPort.equals( localPort)) {
    targets.removeElement( target);
         i--;
    public void addTargetToList( String localPort,
                             String ip, String port) {     
    ListUpdater listUpdater= new ListUpdater( localPort, ip,
                                  port, listModel, targets);
    SwingUtilities.invokeLater( listUpdater);           
    public void rtcpReport( String report) {
         if( rtcpViewer != null) {
         rtcpViewer.report( report);
    public void windowClosing( WindowEvent event) {
         config.local_data_port= tf_data_port.getText().trim();
         config.targets= new Vector();
         for( int i= 0; i < targets.size(); i++) {
         Target target= (Target) targets.elementAt( i);
         if( target.localPort.equals( config.local_data_port)) {
              config.addTarget( target.ip, target.port);
         config.media_locator= tf_media_file.getText().trim();
         config.write();
    System.exit( 0);
    public void windowClosed( WindowEvent event) {
    public void windowDeiconified( WindowEvent event) {
    public void windowIconified( WindowEvent event) {
    public void windowActivated( WindowEvent event) {
    public void windowDeactivated( WindowEvent event) {
    public void windowOpened( WindowEvent event) {
    public void keyPressed( KeyEvent event) {
    public void keyReleased( KeyEvent event) {
    Object source= event.getSource();
         if( source == list) {
         int index= list.getSelectedIndex();
    public void keyTyped( KeyEvent event) {
    public void mousePressed( MouseEvent e) {
    public void mouseReleased( MouseEvent e) {
    public void mouseEntered( MouseEvent e) {
    public void mouseExited( MouseEvent e) {
    public void mouseClicked( MouseEvent e) {
    Object source= e.getSource();
         if( source == list) {
         int index= list.getSelectedIndex();
         if( index != -1) {
              Target target= (Target) targets.elementAt( index);
              tf_remote_address.setText( target.ip);
              tf_remote_data_port.setText( target.port);
         int index= list.locationToIndex( e.getPoint());
    public static void main( String[] args) {
    new Tx();
    class TargetListModel extends AbstractListModel {
    private Vector options;
    public TargetListModel( Vector options) {
         this.options= options;
    public int getSize() {
         int size;
         if( options == null) {
         size= 0;
         } else {
         size= options.size();
         return size;
    public Object getElementAt( int index) {
    String name;
    if( index < getSize()) {
         Target o= (Target)options.elementAt( index);
    name= o.localPort + " ---> " + o.ip + ":" + o.port;
         } else {
         name= null;
         return name;
    public void setData( Vector data) {
         options= data;
         fireContentsChanged( this, 0, data.size());
    class ListUpdater implements Runnable {
    String localPort, ip, port;
    TargetListModel listModel;
    Vector targets;
    public ListUpdater( String localPort, String ip, String port,
                   TargetListModel listModel, Vector targets) {
         this.localPort= localPort;
         this.ip= ip;
         this.port= port;
         this.listModel= listModel;
         this.targets= targets;
    public void run() {
    Target target= new Target( localPort, ip, port);
         if( !targetExists( localPort, ip, port)) {
         targets.addElement( target);
    listModel.setData( targets);
    public boolean targetExists( String localPort, String ip, String port) {
         boolean exists= false;
         for( int i= 0; i < targets.size(); i++) {
         Target target= (Target) targets.elementAt( i);
         if( target.localPort.equals( localPort)
         && target.ip.equals( ip)
              && target.port.equals( port)) {          
              exists= true;
         break;
         return exists;
    >>>>>>>>>>>>>>>>>
    import java.awt.*;
    import java.io.*;
    import java.net.InetAddress;
    import java.util.*;
    import javax.media.*;
    import javax.media.protocol.*;
    import javax.media.format.*;
    import javax.media.control.TrackControl;
    import javax.media.control.QualityControl;
    import javax.media.rtp.*;
    import javax.media.rtp.event.*;
    import javax.media.rtp.rtcp.*;
    public class AVTransmitter implements ReceiveStreamListener, RemoteListener,
    ControllerListener {
    // Input MediaLocator
    // Can be a file or http or capture source
    private MediaLocator locator;
    private String ipAddress;
    private int portBase;
    private Processor processor = null;
    private RTPManager rtpMgrs[];
    private int localPorts[];
    private DataSource dataOutput = null;
    private int local_data_port;
    private Tx tx;
    public AVTransmitter( Tx tx, int data_port) {
         this.tx= tx;
         local_data_port= data_port;
    * Starts the transmission. Returns null if transmission started ok.
    * Otherwise it returns a string with the reason why the setup failed.
    public synchronized String start( String filename, Vector targets) {
         String result;
         locator= new MediaLocator( filename);
         // Create a processor for the specified media locator
         // and program it to output JPEG/RTP
         result = createProcessor();
         if (result != null) {
         return result;
         // Create an RTP session to transmit the output of the
         // processor to the specified IP address and port no.
         result = createTransmitter( targets);
         if (result != null) {
         processor.close();
         processor = null;
         return result;
         // Start the transmission
         processor.start();
         return null;
    * Use the RTPManager API to create sessions for each media
    * track of the processor.
    private String createTransmitter( Vector targets) {
         // Cheated. Should have checked the type.
         PushBufferDataSource pbds = (PushBufferDataSource)dataOutput;
         PushBufferStream pbss[] = pbds.getStreams();
         rtpMgrs = new RTPManager[pbss.length];
         localPorts = new int[ pbss.length];
         SessionAddress localAddr, destAddr;
         InetAddress ipAddr;
         SendStream sendStream;
         int port;
         SourceDescription srcDesList[];
         for (int i = 0; i < pbss.length; i++) {
         // for (int i = 0; i < 1; i++) {
         try {
              rtpMgrs[i] = RTPManager.newInstance();     
              port = local_data_port + 2*i;
              localPorts[ i]= port;
              localAddr = new SessionAddress( InetAddress.getLocalHost(),
                                  port);
              rtpMgrs.initialize( localAddr);          
              rtpMgrs[i].addReceiveStreamListener(this);
              rtpMgrs[i].addRemoteListener(this);
         for( int k= 0; k < targets.size(); k++) {
              Target target= (Target) targets.elementAt( k);
              int targetPort= new Integer( target.port).intValue();
              addTarget( localPorts[ i], rtpMgrs[ i], target.ip, targetPort + 2*i);
              sendStream = rtpMgrs[i].createSendStream(dataOutput, i);          
              sendStream.start();
         } catch (Exception e) {
              e.printStackTrace();
              return e.getMessage();
         return null;
    public void addTarget( String ip, String port) {
         for (int i= 0; i < rtpMgrs.length; i++) {
         int targetPort= new Integer( port).intValue();
         addTarget( localPorts[ i], rtpMgrs[ i], ip, targetPort + 2*i);
    public void addTarget( int localPort, RTPManager mgr, String ip, int port) {
         try {
         SessionAddress addr= new SessionAddress( InetAddress.getByName( ip),
                                  new Integer( port).intValue());
         mgr.addTarget( addr);
         tx.addTargetToList( localPort + "", ip, port + "");
         } catch( Exception e) {
         e.printStackTrace();
    public void removeTarget( String ip, String port) {
         try {     
         SessionAddress addr= new SessionAddress( InetAddress.getByName( ip),
                                  new Integer( port).intValue());
         for (int i= 0; i < rtpMgrs.length; i++) {
         rtpMgrs[ i].removeTarget( addr, "target removed from transmitter.");
         } catch( Exception e) {
         e.printStackTrace();
    boolean looping= true;
    public void controllerUpdate( ControllerEvent ce) {
         System.out.println( ce);
         if( ce instanceof DurationUpdateEvent) {
         Time duration= ((DurationUpdateEvent) ce).getDuration();
         System.out.println( "duration: " + duration.getSeconds());
         } else if( ce instanceof EndOfMediaEvent) {
         System.out.println( "END OF MEDIA - looping=" + looping);
         if( looping) {
         processor.setMediaTime( new Time( 0));
              processor.start();
    public void setLooping( boolean flag) {
         looping= flag;
    public void update( ReceiveStreamEvent event) {
         String timestamp= getTimestamp();
         StringBuffer sb= new StringBuffer();
         if( event instanceof InactiveReceiveStreamEvent) {
         sb.append( timestamp + " Inactive Receive Stream");
         } else if( event instanceof ByeEvent) {
         sb.append( timestamp + " Bye");
         } else {
         System.out.println( "ReceiveStreamEvent: "+ event);
         tx.rtcpReport( sb.toString());     
    public void update( RemoteEvent event) {     
         String timestamp= getTimestamp();
         if( event instanceof ReceiverReportEvent) {
         ReceiverReport rr= ((ReceiverReportEvent) event).getReport();
         StringBuffer sb= new StringBuffer();
         sb.append( timestamp + " RR");
         if( rr != null) {
              Participant participant= rr.getParticipant();
              if( participant != null) {
              sb.append( " from " + participant.getCNAME());
              sb.append( " ssrc=" + rr.getSSRC());
              } else {
              sb.append( " ssrc=" + rr.getSSRC());
              tx.rtcpReport( sb.toString());
         } else {
         System.out.println( "RemoteEvent: " + event);
    private String getTimestamp() {
         String timestamp;
         Calendar calendar= Calendar.getInstance();
         int hour= calendar.get( Calendar.HOUR_OF_DAY);
         String hourStr= formatTime( hour);
         int minute= calendar.get( Calendar.MINUTE);
         String minuteStr= formatTime( minute);
         int second= calendar.get( Calendar.SECOND);
         String secondStr= formatTime( second);
         timestamp= hourStr + ":" + minuteStr + ":" + secondStr;     
         return timestamp;
    private String formatTime( int time) {     
         String timeStr;
         if( time < 10) {
         timeStr= "0" + time;
         } else {
         timeStr= "" + time;
         return timeStr;
    * Stops the transmission if already started
    public void stop() {
         synchronized (this) {
         if (processor != null) {
              processor.stop();
              processor.close();
              processor = null;
         for (int i= 0; i < rtpMgrs.length; i++) {
         rtpMgrs[ i].removeTargets( "Session ended.");
              rtpMgrs[ i].dispose();
    public String createProcessor() {
         if (locator == null) {
         return "Locator is null";
         DataSource ds;
         DataSource clone;
         try {
         ds = javax.media.Manager.createDataSource(locator);
         } catch (Exception e) {
         return "Couldn't create DataSource";
         // Try to create a processor to handle the input media locator
         try {
         processor = javax.media.Manager.createProcessor(ds);
         processor.addControllerListener( this);     
         } catch (NoProcessorException npe) {
         return "Couldn't create processor";
         } catch (IOException ioe) {
         return "IOException creating processor";
         // Wait for it to configure
         boolean result = waitForState(processor, Processor.Configured);
         if (result == false)
         return "Couldn't configure processor";
         // Get the tracks from the processor
         TrackControl [] tracks = processor.getTrackControls();
         // Do we have atleast one track?
         if (tracks == null || tracks.length < 1)
         return "Couldn't find tracks in processor";
         // Set the output content descriptor to RAW_RTP
         // This will limit the supported formats reported from
         // Track.getSupportedFormats to only valid RTP formats.
         ContentDescriptor cd = new ContentDescriptor(ContentDescriptor.RAW_RTP);
         processor.setContentDescriptor(cd);
         Format supported[];
         Format chosen;
         boolean atLeastOneTrack = false;
         // Program the tracks.
         for (int i = 0; i < tracks.length; i++) {
         Format format = tracks[i].getFormat();
         if (tracks[i].isEnabled()) {
              supported = tracks[i].getSupportedFormats();
              // We've set the output content to the RAW_RTP.
              // So all the supported formats should work with RTP.
              // We'll just pick the first one.
              if (supported.length > 0) {
              if (supported[0] instanceof VideoFormat) {
                   // For video formats, we should double check the
                   // sizes since not all formats work in all sizes.
                   chosen = checkForVideoSizes(tracks[i].getFormat(),
                                       supported[0]);
              } else
                   chosen = supported[0];
              tracks[i].setFormat(chosen);
              System.err.println("Track " + i + " is set to transmit as:");
              System.err.println(" " + chosen);
              atLeastOneTrack = true;
              } else
              tracks[i].setEnabled(false);
         } else
              tracks[i].setEnabled(false);
         if (!atLeastOneTrack)
         return "Couldn't set any of the tracks to a valid RTP format";
         // Realize the processor. This will internally create a flow
         // graph and attempt to create an output datasource for JPEG/RTP
         // audio frames.
         result = waitForState(processor, Controller.Realized);
         if (result == false)
         return "Couldn't realize processor";
         // Set the JPEG quality to .5.
         setJPEGQuality(processor, 0.5f);
         // Get the output data source of the processor
         dataOutput = processor.getDataOutput();
         return null;
    static SessionAddress destAddr1, destAddr2;
    * For JPEG and H263, we know that they only work for particular
    * sizes. So we'll perform extra checking here to make sure they
    * are of the right sizes.
    Format checkForVideoSizes(Format original, Format supported) {
         int width, height;
         Dimension size = ((VideoFormat)original).getSize();
         Format jpegFmt = new Format(VideoFormat.JPEG_RTP);
         Format h263Fmt = new Format(VideoFormat.H263_RTP);
         if (supported.matches(jpegFmt)) {
         // For JPEG, make sure width and height are divisible by 8.
         width = (size.width % 8 == 0 ? size.width :
                        (int)(size.width / 8) * 8);
         height = (size.height % 8 == 0 ? size.height :
                        (int)(size.height / 8) * 8);
         } else if (supported.matches(h263Fmt)) {
         // For H.263, we only support some specific sizes.
         if (size.width < 128) {
              width = 128;
              height = 96;
         } else if (size.width < 176) {
              width = 176;
              height = 144;
         } else {
              width = 352;
              height = 288;
         } else {
         // We don't know this particular format. We'll just
         // leave it alone then.
         return supported;
         return (new VideoFormat(null,
                        new Dimension(width, height),
                        Format.NOT_SPECIFIED,
                        null,
                        Format.NOT_SPECIFIED)).intersects(supported);
    * Setting the encoding quality to the specified value on the JPEG encoder.
    * 0.5 is a good default.
    void setJPEGQuality(Player p, float val) {
         Control cs[] = p.getControls();
         QualityControl qc = null;
         VideoFormat jpegFmt = new VideoFormat(VideoFormat.JPEG);
         // Loop through the controls to find the Quality control for
         // the JPEG encoder.
         for (int i = 0; i < cs.length; i++) {
         if (cs[i] instanceof QualityControl &&
              cs[i] instanceof Owned) {
              Object owner = ((Owned)cs[i]).getOwner();
              // Check to see if the owner is a Codec.
              // Then check for the output format.
              if (owner instanceof Codec) {
              Format fmts[] = ((Codec)owner).getSupportedOutputFormats(null);
              for (int j = 0; j < fmts.length; j++) {
                   if (fmts[j].matches(jpegFmt)) {
                   qc = (QualityControl)cs[i];
                   qc.setQuality(val);
                   System.err.println("- Setting quality to " +
                             val + " on " + qc);
                   break;
              if (qc != null)
              break;
    * Convenience methods to handle processor's state changes.
    private Integer stateLock = new Integer(0);
    private boolean failed = false;
    Integer getStateLock() {
         return stateLock;
    void setFailed() {
         failed = true;
    private synchronized boolean waitForState(Processor p, int state) {
         p.addControllerListener(new StateListener());
         failed = false;
         // Call the required method on the processor
         if (state == Processor.Configured) {
         p.configure();
         } else if (state == Processor.Realized) {
         p.realize();
         // Wait until we get an event that confirms the
         // success of the method, or a failure event.
         // See StateListener inner class
         while (p.getState() < state && !failed) {
         synchronized (getStateLock()) {
              try {
              getStateLock().wait();
              } catch (InterruptedException ie) {
              return false;
         if (failed)
         return false;
         else
         return true;
    * Inner Classes
    class StateListener implements ControllerListener {
         public void controllerUpdate(ControllerEvent ce) {
         // If there was an error during configure or
         // realiz

    I do this all the time, I put my MBP to a 60 inch Sharp. If you have the video working do the simple thing first. Check to make sure your sound is on your TV and Mac. Then if that doesn't work go to System Prefrences and under sound go to a tab called Output and see if your TV is listed and if it is change it to that setting
    Hope It Works

Maybe you are looking for

  • Oracle directory does not exist problem

    db=10g I have a problem with an oracle directory that I have created. The database resides on server A The oracle directory resides on server B named UPLOAD_DIR. I have created read, write and execute grants to the oracle directory. I have created an

  • IPhone Warranty - Help!

    Hi, I have an issue with my iPhone 4, whereby, when I plug it into charge, it starts up, displays the Apple logo for about 5 seconds then powers down. About 10seconds later, this repeats - and this continues with no progress beyond the apple logo. I'

  • LOV with inputListOfValues not working

    Hi, using JDeveloper 11.1.1.5.0 and Fusion Web Application (ADF). I simply cannot make LOV work in any scenario. I have a view with a transient attribute on which I define LOV. When I test application module everything works as expected I get a LOV p

  • Has anyone any experience with a USB-6008 and reading a thermistor value

    Labview 8.0 connected to a USB-6008 I am using 'BC Components' NTC Thermistor. I used the express VI to create a Vex input and entered the A,B,& C values from the datasheet. The thermistor is the 10K version and I placed a 10K resistor in series with

  • How do I hard wire multiple airport expresses with a switch

    I have two airport expresses and other hardwired devices.  I am trying to get them wired together for a roaming network not to extend the network, but can't seem to get it to work with a switch. Here is the setup Modem -> Airport Express -> 5 ports s