Multiple Apache-Weblogic plug-in configurations for the same host

          Hi BEA,
          I have a situation where I have more than one weblogic server/cluster both using
          the same Apache to proxy. Reading the Apache plug-in configuration I gather that
          below should work. In Apache (httpd.conf):
          <Location /path1>
          SetHandler weblogic-handler
          WeblogicHost app1
          WeblogicPort 7001
          </Location>
          <Location /path2>
          SetHandler weblogic-handler
          WeblogicHost app2
          WeblogicPort 7001
          </Location>
          In this case the later Location of the two works fine and the other seems like
          it is just not there. (If the two are switched the other works fine...) The thing
          is that, if possible, I would like to avoid splitting the two locations onto two
          different VirtualHosts (which works).
          Does anyone have any ideas on how to solve this and still avoid the use of multiple
          VirtualHost-definitions?
          Is it due to a limitation in Apache module architecture that the configuration
          above does not work or is it a design choice in the plug-in?
          //GG
          

          Gunnar,
          I would post this Apache proxy plug in question to the
          weblogic.developer.interest.plug-in forum
          Chuck Nelson
          DRE
          BEA Technical Support
          

Similar Messages

  • 12c agent install fails with error - The plug-in configuration for the oracle.sysman.oh monitoring plug-in may have failed

    Hi,
    I am trying to install 12c agent on windows 7 64 bit server by following m.note   .
    It is failing with Agent Configuration failed, please see below error message.
    INFO: length of temp is2
    INFO: Return value:C:\/Oracle/12.1.0.3.0_AgentCore_233/core
    INFO: ** Agent Port Check completed successfully.**
    INFO: ERROR: The Management Agent configuration failed. The plug-in configuration for the oracle.sysman.oh monitoring plug-in may have failed, or this plug-in may not be present in the Management Agent software. Ensure that the Management Agent software has the oracle.sysman.oh monitoring plug-in, if not then retry the operation. If the agent software has the oracle.sysman.oh monitoring plug-in, view the plug-in deployment log C:\Oracle\12.1.0.3.0_AgentCore_233\core\install\logs to check if the plug-in configuration for the oracle.sysman.oh monitoring plug-in failed.
    INFO:
    INFO: perform - mode finished for action: configure
    INFO:
    INFO: You can see the log file: C:\Oracle\12.1.0.3.0_AgentCore_233\core\12.1.0.3.0\cfgtoollogs\oui\configActions2014-10-03_08-48-15-AM.log
    INFO:
    INFO: C:\Oracle\12.1.0.3.0_AgentCore_233>exit /b 3
    INFO: Plugin homes:
    INFO: Plugin homes:
    INFO: C:\Oracle\12.1.0.3.0_AgentCore_233\core\12.1.0.3.0\oui\bin\runConfig.bat ORACLE_HOME=C:\Oracle\12.1.0.3.0_AgentCore_233\core\12.1.0.3.0 RESPONSE_FILE=C:\Oracle\12.1.0.3.0_AgentCore_233\core\12.1.0.3.0\agent.rsp ACTION=configure MODE=perform COMPONENT_XML={oracle.sysman.top.agent.11_1_0_1_0.xml} RERUN=true completed with status=3
    SEVERE: ERROR: Agent Configuration Failed
    Thanks,

    Looks like , J2EE is having a problem connecting to the DB.Pls. chk. the following
    -If you have configured the loop-back adapter , if installing on a local system & updated the /etc/host file with your ip address and host name.
    or if the system is part of some n/w group and has ip address assigned ?
    -Jdk 1.4 version is installed in your system
    -Enough free Disk space available in the system
    -How much RAM your system has which windows version you are using  ?
    -Is the DB is coming up properly ? its error related to this. check the logs.
    -If the ports used by sap install / run used by other services running on the system ? & user have admin. privileges on the system .
    Pls. update with your findings on above same , for the step next ...
    Thanks ,
    Uppal

  • Is there a way to disable concurrent Weblogic Admin Console sessions for the same user?

    A coworker on another workstation and I are able to log into same user account on the Weblogic Admin Console at the same time. I would like to restrict access so only one session per user account can be logged in to the Admin Console. Is this possible?
    Alternatively, is there a way to log identifiable information (IP/workstation) when multiple sessions for one account occur at the same time?
    I am using 10.3.6.0

    Hi,
    You could also check the http access logs for such info. There you could see records for the received requests, with each record starting with the source IP that initiated the request.
    The default location for access logs is ${DOMAIN_HOME}/servers/${SERVER_NAME}/logs. Of course in your case, the ${SERVER_NAME} would be your admin server name (AdminServer if left as default).
    Regards,
    Mohab

  • Multiple server certificate support for the same proxy server

    Does the SunOne proxy server allow multiple server certificates to be configured (for the same instance of the proxy server) and used when connecting to different external servers using https?
    If not, which version / patch will enable this support and most importantly when?

    No. It doesn't.
    Must use multiple proxies on different ports or IP addresses.

  • SAP DMS - How to do an external DMS configuration for the existing system ?

    Hi All.
    Greetings.
    Request help and understanding.
    Am new to the world of SAP. And request SOME clarity for understanding of DMS.
    We are wanting to put an external DMS server and wish to configure for the same.
    So that the load on the production SAP R/3 database is reduced.
    We are now wanting to test the same on Dev environment.
    From SDN Link :
    I understand that :
    DMS basically has a content server. which stores documents.
    That can be accessed through Web, SAP R/3 Gui , SAP Portal.
    I have gone thro various links and the following links i have found to be informative and helpful :
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/c1/1c31a243c711d1893e0000e8323c4f/frameset.htm
    http://wiki.sdn.sap.com/wiki/display/PLM/DMS+Customizing
    http://help.sap.com/saphelp_nw70/helpdata/en/59/fba637fcf7dc39e10000009b38f8cf/frameset.htm
    However, would like to know the following because am not getting the clarity :
    1) Is there any supported platform / compatibility guide for DMS ?
    if yes, can someone send me the link?
    2) We have oracle 11g as our for SAP R/3 backend.
    Windows 2003 server 64 bit system.
    When i check the system status on the dev server of sap.
    It says. ECC 6.0 Rel 7.00 update 20 (hOpe am reading it correctly)
    After much search on the SMP site,
    we finally discovered and downloaded the DMS software for unicode and / 64 bit.
    Which we saw under the maintenance components separately seen for DMS 7.0
    Now for this DMS content server which we would like to make it external for storage of documents -
    do we need to have a separate database for this purpose as a repository.
    If i run a setup of DMS - will that automatically install any default repository for this or
    will it allow me to choose any other repository for the same ?
    Can anyone advise on this.
    Because this link says content server is based on Instance of MAXDB : http://help.sap.com/saphelp_nw70/helpdata/en/59/fba637fcf7dc39e10000009b38f8cf/frameset.htm
    3) I read some thing like this on some of the SDN links :
    P40 - Integration of DMS
    P62 - R&D Document Manage¬ment and Workflow
    P71 - Document management
    What are they referring to.
    4) We would be accessing these thro web, gui, customised portal.
    This content server configuration is a bit confusing.
    5) Is SNC configuration required to be done for the separate DMS server setup.
    If yes, how to do that ? any configuration link for that please ?
    Can anyone advise on the things to do.
    Steps to do.
    What all are the pre-requisites to check, before we start the set up of DMS.
    Can anyone help me understand this whole thing regarding the DMS installation and configuration.
    Step-wise.. from the start to end.
    Because it gives me a lot of uneasiness without having everything in place before we could say we could start the whole process of configuration / installation.
    Many thanks for your help in advance.
    Wishing you a happy and relaxed weekend.
    Kind regards
    Indu

    Thanks christoph & pradeep kumar.
    did a few more research and atleast have come to understand that.
    DMS server installation has content server which works only with MAXDB.
    So my understanding is correct.
    And what we see as Easy DMS is a client installation.
    which probably i would look at at a later stage.
    Found this link to be a little more informative :
    http://www.sapfans.com/forums/viewtopic.php?f=12&t=330558
    I really wish. That life were to be so easy. To call a consultant and finish it off
    Wishful thinking
    thanks and cheers
    indu

  • How to configure multiple listeners to listen for the same instance.

    Hello everyone,
    I am running oracle database 11g and I want information regarding how to configure multiple listeners to listen for the same database instance. Actually I know how to configure more than one listener but the main thing that I am confused about is when we create listener.ora file, do we have to statically register the database instance with both the listeners or the instance will register itself with both the listeners.
    According to my knowledge the instance will register with the listener specified by LOCAL_LISTENER parameter and we cannot have more than one value for this parameter.
    Please only give detailed answers with example as I am tired of simple answers with details that I already know.

    Hello,
    Yes, it can make sense to have several listener for one Oracle instance. For instance you may have one listener for the applications another listener for DBA administration tasks as well as one listener dedicated to dataguard broker. It is not possible to have several listeners listening on the same IP and Port.
    By default the database try to automatically register to a listener on port 1521. To instruct the instance to register to a specifc list of listeners you can add in the init.ora the local_listener parameter with an alias definition:
    i.e
    local_listener=MY_SET_OFF_LISTENERS
    in your tnsname.ora add an entry called:
    MY_SET_OFF_LISTENERS_LOCAL= (ADDRESS_LIST=
    (ADRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1530))
    (ADRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1531))
    (ADRESS=(PROTOCOL=TCP)(HOST=myhostname)(PORT=1532))
    In this sample your instance will register to three listeners listening on respectively port 1530, 1531 and 1532
    If you want your clients can be balanced over the 3 listeners

  • Installing Apache-Weblogic Plug-in on RedHat 7.0

    I am trying to install the apache-weblogic plug-in on redhat 7.0
    I modifed my httpd.conf with the following lines:
    LoadModule weblogic_module /usr/lib/apache/mod_wl.so
    AddModule mod_weblogic.c
    <Location /weblogic>
    SetHandler weblogic-handler
    PathTrim /weblogic
    ErrorPage http://www.yahoo.com
    </Location>
    <Files *.jsp>
    SetHandler weblogic-handler
    </Files>
    <Ifmodule mod_weblogic.c>
    WebLogicHost 10.0.0.3
    WebLogicPort 7001
    </IfModule>
    When I try 10.0.0.3/weblogic/ I get nothing!
    Looking in my httpd logs it prints a 302 error!
    Help
    Kevin

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by david walker ([email protected]):
    Has anyone encountered problems installing Oracle 8.0.5 on Redhat 7.0. RedHat 6.2 installation works.<HR></BLOCKQUOTE>
    Should be OK. I was running that combination for a while and can't recall any serious issues during install.
    I am currently running 8.0.5.1 on a Mandrake 7.2 PC. The install was pretty straightforward :
    - Install compatability RPMs (I used slightly higher versioned RPMs than listed in the Oracle documentation);
    - Install 8.0.5.1 s/w;
    - Apply Oracle patch;
    - Create dbs;
    - Configure listener;
    - Create the startup/shutdown rc script and links.
    That's about it for the installation.
    I haven't put the database to much use yet, so there may be other issues ahead :)
    Oh, one thing to note on that last point is that you should have a look at how the /etc/rc.d/rc file operates.
    Under Mandrake 7.2 it will look for a file in /var/lock/subsystem that has the same name as the /etc/init.d script before running the stop script correctly.
    This differs slightly from what I see in the *8.1.7* documentation, so might be due to a difference between mandrake and the other distributions.
    FWIW here is my /etc/init.d/oracle file.
    #!/bin/sh
    # chkconfig: 345 99 10
    # description: Oracle databases
    # Source function library.
    . /etc/init.d/functions
    CWD=`pwd`
    # See how we were called.
    case "$1" in
    start)
    su - oracle -c '. $HOME/.oraclerc && dbstart && lsnrctl start'
    touch /var/lock/subsys/oracle
    stop)
    su - oracle -c '. $HOME/.oraclerc && dbshut && lsnrctl stop'
    rm -f /var/lock/subsys/oracle
    restart)
    cd $CWD
    $0 stop
    $0 start
    echo "Usage: oracle {start|stop|restart}"
    exit 1
    esac
    exit 0
    null

  • Apache - Weblogic plug-in - Segmentation fault. Please Help me!

    Hi all,
    Im trying to set up Apache weblogic plug-in, and im having problems with
    that.
    Im running Solaris 9 with Apache/1.3.26 (Unix) and Weblogic 7 with sp2.
    Here is what i did:
    I copied mod_wl_ssl.so from
    /bea/weblogic700/server/lib/solaris/mod_wl_ssl.so to /usr/apache/libexec
    Added entries in httpd.conf as
    LoadModule weblogic_module /usr/apache/libexec/mod_wl_ssl.so
    AddModule mod_weblogic.c
    <LocationMatch "\.jsp$">
    SetHandler weblogic-handler
    StatPath false
    </LocationMatch>
    <LocationMatch "/(service1|service2|service3)/">
    SetHandler weblogic-handler
    StatPath false
    </LocationMatch>
    <IfModule mod_weblogic.c>
    WebLogicHost 127.0.0.1
    WebLogicPort 7001
    HungServerRecoverSecs 300
    ConnectTimeoutSecs 5
    </IfModule>
    When i access the url with out specifying port 7001 it's not working.
    I checked the /var/apache/logs/error_log file. Im getting the error as
    child pid 805 exit signal Segmentation Fault (11)
    Am i missing anything here?
    Thank you
    Raja

    You may want to check the certifications for Solaris 9 and the Apache plug-in at
    http://e-docs.bea.com/wls/certifications/certifications/sun_solaris9.html#40366.
    It looks like you will have to upgrade to at least Apache 2.0.39. We had to do
    this on Solaris 8 as well.
    "Raja Balasubramanian" <[email protected]> wrote:
    Thank you Eric,
    I will do that
    Raja
    "Eric Gross" <[email protected]> wrote in message
    news:[email protected]...
    I believe this is going to require more debugging such as attachinga
    debugger(gdb) to Apache and getting a backtrace.
    I suggest opening up a support case.
    Regards,
    Eric
    "Raja Balasubramanian" <[email protected]> wrote in message
    news:[email protected]...
    Hi Eric,
    Thank you for the replies.
    I tried with the same test as you specified. Still im getting the
    same
    problem.
    [Mon Mar 10 13:57:21 2003] [notice] child pid 1184 exit signal
    Segmentation Fault (11)
    Im running Solaris 9 in SPARC platform. It's a Sun E450 server.
    Im using the default apache package which comes with Solaris 9. Ididn't
    do
    anything with apache.
    Bea website says that Weblogic 7 sp2 is certified for Soalris 9.
    That's
    y
    i
    installed Solaris 9.
    I tested the same on a Linux Machine (Redhat Linux 7.1 on IA). It
    works
    fine
    without any problem.
    How can i make things work?
    Thank you for your kind replies
    Raja
    "Eric Gross" <[email protected]> wrote in message
    news:[email protected]...
    Looks like it should work.
    Let's simplify your test:
    <Location /test>
    WebLogicHost 127.0.0.1
    WebLogicPort 7001
    Debug ALL
    DebugConfigInfo ON
    SetHandler weblogic-handler
    </Location>
    Try with just that.
    Another thing is that I am unsure as to whether we have tested
    with
    Solaris
    9. This is SPARC right? Also, can you outline the steps you took
    when
    building apache? Did you use GCC?
    Thanks,
    Eric
    "Raja Balasubramanian" <[email protected]> wrote
    in
    message
    news:[email protected]...
    Hi,
    Now i changed to mod_wl_ssl.so.
    And i changed the httpd.conf as
    LoadModule weblogic_module libexec/mod_wl_ssl.so
    <IfModule mod_weblogic.c>
    WebLogicHost 127.0.0.1
    WebLogicPort 7001
    Debug ALL
    DebugConfigInfo ON
    StatPath true
    HungServerRecoverSecs 300
    ConnectTimeoutSecs 5
    </IfModule>
    But im getting the same error. NO wlproxy.log file is created
    in my
    server.
    I tried Debug ON also. Still the same.
    Am i doing anything wrong?
    Please help me...
    Thank you
    Raja
    "Eric Gross" <[email protected]> wrote in message
    news:[email protected]...
    That means that your apache instance is compiled with -DEAPI
    and
    should
    use
    the mod_wl_ssl.so.
    Can you please try to set Debug ALL and get the log in
    /tmp/wlproxy.log
    and
    share that?
    Thanks,
    Eric
    "Raja Balasubramanian" <[email protected]> wrote
    in
    message
    news:[email protected]...
    Hi Eric,
    When im using mod_wl.so im getting warning from Apache as
    [Mon Mar 10 12:41:15 2003] [warn] Loaded DSO
    libexec/mod_wl.so
    uses
    plain Apache 1.3 API, this module might crash under
    EAPI!
    (please
    recompile it with -DEAPI)
    Thank you
    Raja
    "Eric Gross" <[email protected]> wrote in message
    news:[email protected]...
    Are you using modssl or any apache with EAPI compiled in?
    Otherwise, you should be using the mod_wl.so.
    As well, please set Debug ALL to see if we can get more
    debug.
    Thanks,
    Eric
    "Raja Balasubramanian" <[email protected]>
    wrote
    in
    message
    news:[email protected]...
    Hi all,
    Im trying to set up Apache weblogic plug-in, and im having
    problems
    with
    that.
    Im running Solaris 9 with Apache/1.3.26 (Unix) and Weblogic
    7
    with
    sp2.
    Here is what i did:
    I copied mod_wl_ssl.so from
    /bea/weblogic700/server/lib/solaris/mod_wl_ssl.so to/usr/apache/libexec
    Added entries in httpd.conf as
    LoadModule weblogic_module/usr/apache/libexec/mod_wl_ssl.so
    AddModule mod_weblogic.c
    <LocationMatch "\.jsp$">
    SetHandler weblogic-handler
    StatPath false
    </LocationMatch>
    <LocationMatch "/(service1|service2|service3)/">
    SetHandler weblogic-handler
    StatPath false
    </LocationMatch>
    <IfModule mod_weblogic.c>
    WebLogicHost 127.0.0.1
    WebLogicPort 7001
    HungServerRecoverSecs 300
    ConnectTimeoutSecs 5
    </IfModule>
    When i access the url with out specifying port 7001 it's
    not
    working.
    I checked the /var/apache/logs/error_log file. Im getting
    the
    error
    as
    child pid 805 exit signal Segmentation Fault
    (11)
    Am i missing anything here?
    Thank you
    Raja

  • Under Options , Applications There are multiple entries for the same item (Acrobat Document). how can I delete the duplicates?

    Under Options, Applications there are multiple entries for the same item. (Adobe Acrobat) . Three show Adobe Acrobat Reader 9.3 and the other shows (ask) or (save file) with no ability to select Acrobat Reader . Is there a way to edit this list to remove the duplicates and
    the incorrect entry? Adobe installed a very quick update today.

    They are all different. Hover your mouse pointer over each of the "Content Type" descriptions and you should see a "tooltip" to see that each has a different description.
    You need to update your plugins. It is important to keep them updated due to continuing security fixes and improvements in those plug-ins:
    * Adobe Shockwave for Director Netscape plug-in, version 11.5 (you '''<u>may</u>''' need to update)
    * Shockwave Flash 10.1 r53
    * Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    #Check your plugin versions: http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Shockwave for Director'''
    #*NOTE: this is not the same as Shockwave Flash; this installs the Shockwave Player.
    #*Use Firefox to download and SAVE the installer to your hard drive from the link in the article below (Desktop is a good place so you can find it).
    #*When the download is complete, exit Firefox (File > Exit)
    #*locate and double-click in the installer you just downloaded, let the install complete.
    #*Restart Firefox and check your plugins again.
    #*'''<u>Download link and more information</u>''': http://support.mozilla.com/en-US/kb/Using+the+Shockwave+plugin+with+Firefox
    #'''Update Shockwave Flash'''
    #*Use Firefox to Download and SAVE to your hard drive from the link in article below
    #*SAVE to your Desktop so you can find it
    #*After download completes, close Firefox
    #*Click on the file you just downloaded and install
    #**Note: Vista and Win7 users may need to right-click the installer downloaded and choose "Run as Administrator"
    #**Note: Most browsers other than IE will also get updated with this one download
    #**Note: To update IE, same procedure '''<u>but use IE</u>''' to go: http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_ax.exe
    #*After installation, restart Firefox and check your version again.
    #*'''<u>Download link and other information</u>''': https://support.mozilla.com/en-US/kb/Managing+the+Flash+plugin#Updating_Flash
    #* Also see: http://support.mozilla.com/en-US/kb/Installing+the+Flash+plugin
    #* Also see (if needed): http://kb2.adobe.com/cps/191/tn_19166.html#main_Uninstall
    #'''Update Java:'''
    #* Download and update instructions: https://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox

  • Multiple Transports for the Same Object.

    I have ABAP program 123 and I make a change, create transport A and release the transport. I do not request transport A go to production.
    I then modify ABAP program 123 again, create transport B and release the transport. I do not request transport B go to production.
    Now I request transport A go to production.
    Can someone explain to me why the changes in transport B are included when transport A is moved to production?
    I thought each transport would be at its own change level.
    Thank-you.

    I can guarantee all of you that when Transport A was moved, it contained changes that were made in Transport B.
    Surely you understand that Thomas is correct and that there's a logical reason, not related to transport layer configuration, for the issue?   You CAN have multiple transports open for the same object without a lock by forcing it but check the dates as already suggested...

  • Multiple alerts for the same Message ID

    Hi
    I have configured outbound ftp adapter. I have configured alerts inorder to capture any error in the adapter engine.
    Now,alert is triggered showing an error in the ftp adapter ( say incorrect ftp details). But i get multiple alerts for the same message ID several times. I have also set the parameter Max No od Delvs to 1 in the ALRTCATDEF transaction.
    I keep getting the same alert number of times a day. How can i restrict the number of alerts to 1 for 1 message ID.
    Regards,
    Vani

    Hello Andreas,
    Thanks for your reply.
    In my scenario i would need an alert per Message. That is the reason why I have not checked the option "Supress Multiple Alerts" since it would allow only alert per rule.
    Is there is any way we can get one alert per message.
    Also, after correcting the eror in the file adapter will the file which was not placed due to error in the adapter be placed automatically. I wanted to know what would happen to the lost file or unprocessed file since it dint reach the destination due to error.
    Regards,
    Vani

  • Multiple connections for the same user.

    I have EJB A and EJB B. A and B use a JCA connector that
              I have written. I have matchManagedConnections set so that if user U has not used EJB A or EJB B, then a new ManagedConnection is created. If user U has used A or B then that user is given a new virtual connection created from an existing ManagedConnection. Now the problem is that if user U access' A for the first time and then access' B BEFORE A has closed the connection, then a new ManagedConnection is created for user U. Therefore in this case user U gets 2 ManagedConnections to the EIS that we are using. Eventually one of the ManagedConnections is distroyed but I would like to eliminate this in the first place. How do a get Weblogic to see that a user has a ManagedConnection before that user is done with the connection.

    You can't have multiple roles on multiple connection, as you are connecting to the same website (different sub directories) ultimately.
    Here is the workaround:-
    You can create a new user account on your machine and can manage different roles.
    Hope it helps.

  • Multiple Partners for the same customer in Message tracking of SEEBURGER

    Hi,
    This is for third party customers which use EDI messages. We have for one customer multiple partner numbers configured in Partner profile. I would like to know while configuring the trading partners in SEEBURGER Message Tracking, can we have multiple keys for the same customer for multiple partners for an INVOIC02. Like the following keys:
    12345_INVOIC02
    34567_INVOIC02
    45678_INVOIC02

    Hi Satya,
    you can define for a vendor/customer several partner functions with different        
    adresses. You can create certain partner roles several times.               
    If you create a purchase order, than you can choose the wanted              
    address and partnerrole on the header level. In the standard system you     
    can use the patner role 'OA' ordering address and for the finance           
    the 'IP' Invoice presented by.
    I hope I was able to help you.
    Kind regards,
    Zsuzsanna

  • Error: Invalid configuration for the JMS adapter

    Hi!
    I'm doing a test with CEP to get messages from a JMS WebLogic queue but I'm getting the following error:
    <BEA-2045010> <The application context "Teste" could not be initialized: org.springframework.beans.FatalBeanException: Error in initialization context lifecycle; nested exception is java.lang.IllegalArgumentException: Invalid configuration for the JMS adapter, you must Bean or specify a converter or a type of event.
    Teste.context.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:osgi="http://www.springframework.org/schema/osgi"
    xmlns:wlevs="http://www.bea.com/ns/wlevs/spring"
    xmlns:jdbc="http://www.oracle.com/ns/ocep/jdbc"
    xmlns:spatial="http://www.oracle.com/ns/ocep/spatial"
    xsi:schemaLocation="
    http://www.springframework.org/schema/beans
    http://www.springframework.org/schema/beans/spring-beans.xsd
    http://www.springframework.org/schema/osgi
    http://www.springframework.org/schema/osgi/spring-osgi.xsd
    http://www.bea.com/ns/wlevs/spring
    http://www.bea.com/ns/wlevs/spring/spring-wlevs-v11_1_1_3.xsd
    http://www.oracle.com/ns/ocep/jdbc
    http://www.oracle.com/ns/ocep/jdbc/ocep-jdbc.xsd
    http://www.oracle.com/ns/ocep/spatial
    http://www.oracle.com/ns/ocep/spatial/ocep-spatial.xsd">
         <wlevs:event-type-repository>
              <wlevs:event-type type-name="Pet">
                   <wlevs:class>testewithprotobuf.MyPet$Pet</wlevs:class>
              </wlevs:event-type>
         </wlevs:event-type-repository>
         <wlevs:adapter id="pet_messageAdapter" provider="jms-inbound">
              <wlevs:listener ref="pet_inputChannel" />
              <wlevs:instance-property name="converterBean"
                   ref="PetMessageConverter" />
         </wlevs:adapter>
         <wlevs:channel id="pet_inputChannel" event-type="Pet">
              <wlevs:listener ref="pet_messageProcessor" />
         </wlevs:channel>
         <bean id="PetMessageConverter" class="testewithprotobuf.PetMessageConverter" />
         <bean id="PetBean" class="testewithprotobuf.PetBean" />
         <wlevs:processor id="pet_messageProcessor">
              <wlevs:listener ref="pet_outputChannel" />          
         </wlevs:processor>
         <wlevs:channel id="pet_outputChannel" event-type="Pet">
              <wlevs:listener ref="PetBean" />
         </wlevs:channel>
    </beans>
    My converter class:
    import java.util.Collections;
    import java.util.List;
    import javax.jms.BytesMessage;
    import javax.jms.JMSException;
    import javax.jms.Message;
    import testewithprotobuf.MyPet.Pet;
    import com.bea.wlevs.adapters.jms.api.InboundMessageConverter;
    import com.bea.wlevs.adapters.jms.api.MessageConverterException;
    import com.google.protobuf.InvalidProtocolBufferException;
    public class PetMessageConverter implements InboundMessageConverter {
         @SuppressWarnings("rawtypes")
         @Override
         public List convert(Message message) throws MessageConverterException,
                                                                JMSException {
              BytesMessage bytesMessage = (BytesMessage) message;
              long bodyLen = bytesMessage.getBodyLength();
              byte[] buffer = new byte[(int) bodyLen];
              bytesMessage.readBytes(buffer);
              try {
                   Pet pet = Pet.parseFrom(buffer);               
                   return Collections.singletonList(pet);
              } catch (InvalidProtocolBufferException e) {
                   throw new MessageConverterException(e);
    Please, what's wrong?
    Thanks!

    This error usually indicates that you have both event type and converter bean specified or neither specified. In your case, that doesn't appear to the case from looking at the spring file. Could you also paste the contents of your configuration file from META-INF/wlevs directory?

  • Oracle Coherence*Web and BlazeDS: Multiple FlexSessions created for the same HttpSession

    Hi all,
    I have searched this forum and found a lot of good information from Alex Glosband and others about the infamous "Detected duplicate HTTP - based FlexSessions, generally due to the remote host disabling session cookies. Session coolkies must be enable to manage the client connection correctly." message.
    It seems, however, none of the cases are identical to ours. This is ours:
    - Resin 3.1.9
    - Oracle Coherence 3.7.1 with Coherence*Web (session replication)
    With this setup we get the "Detected duplicate HTTP..." message on the first attempt to use BlazeDS and on every subsequent call.  The same client and server code works fine in a local sessions setup.  With Coherence 3.3 (currently our production environment) it seems to occur less frequently, but still as frequent as it is a major issue for us.  It fails even with a single node using in-process distributed caching in our test setup (as well as with multi node out of process caching in our staging environment, for Coherence knowledgeable the resin app server runs with tangosol.coherence.session.localstorage=true in the first case and false in the second).
    Both the listener and message broker are mapped as "Coherence aware" in web.xml[1] so that they should use clustered sessions.
    We have been digging a bit and we found out that if we commented out lines 427 and 434 of flex.messaging.endpoints.BaseHTTPEndpoint from version 4.0.0.14931 it seems to mask the bug.  We added some logging in the setupFlexClient method and it seems that we get more or less a new FlexSession for each and every call - but they have the same cookie and thus underlying HttpSession. I.e. the list returned from flexClient.getFlexSessions() keeps growing. Thus we are not so keen on going to production with that memory leak and the above mentioned ugly hack of commenting out the detection of duplicates.
    We use request scope for the remote object, but could in theory use any scope as we do not really have any state on the object itself, it is all HttpSession state and return values that are key (logon is performed prior to doing the first blaze call, in pure forms and ajax, and it is not a timing issue in that regard we are seeing).
    Hope someone can shed some light on what can be happening. Is there any "reference testing"[2] or something when the FlexSessions are created that makes them being created as new? Where are they created?  We do not know the inner workings of the BlazeDS source, we just watched the call trace of the unwanted invalidation and found that to be line 427 of flex.messaging.endpoints.BaseHTTPEndpoint.
    Can we disable FlexSessions?  Since the flex and plain html parts of the app share the sessions, we always use FlexContext.getHttpRequest().getSession() anyway, never storing any state directly in the FlexSession or on the remote object. Or maybe there is a config option to help us with this detection (or creation) of multiple FlexSessions?
    Cheers and TIA,
    -S-
    [1] - For instance, this i the message broker servlet def:
    <servlet>
    <servlet-name>MessageBrokerServlet</servlet-name>
      <display-name>MessageBrokerServlet</display-name>
    <servlet-class>com.tangosol.coherence.servlet.api22.ServletWrapper</servlet-class>       
    <init-param>
    <param-name>coherence-servlet-class</param-name>
    <param-value>flex.messaging.MessageBrokerServlet</param-value>
    </init-param>       
    <init-param>
    <param-name>services.configuration.file</param-name>
    <param-value>/WEB-INF/flex/services-config.xml</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    [2] - As you undertstand this is speculation based on pure air, but it could be that in Coherence there was a serialization/deserialization happening somehow that would break such a test?

    Just a quick update, it seems things are running in a stable fashion (and without visible memory leaks, just keeping the latest FlexSession) with these changes in BaseHTTPEndpoint:
         * Overrides to guard against duplicate HTTP-based sessions for the same FlexClient which will occur if the remote host has disabled session
         * cookies.
         * @see AbstractEndpoint#setupFlexClient(String)
        @Override
        public FlexClient setupFlexClient(String id) {
            log.debug("setupFlexClient start id " + id);
            FlexClient flexClient = super.setupFlexClient(id);
            // Scan for duplicate HTTP-sessions and if found, invalidate them and throw a MessageException.
            // A request attribute is used to deal with batched AMF messages that arrive in a single request by trigger multiple passes through this
            // method.
            boolean duplicateSessionDetected = (FlexContext.getHttpRequest().getAttribute(REQUEST_ATTR_DUPLICATE_SESSION_FLAG) != null);
            if (!duplicateSessionDetected) {
                List<FlexSession> sessions = flexClient.getFlexSessions();
                log.debug("Client has " + sessions.size() + " sessions.");
                int n = sessions.size();
                if (n > 1) {
                    int count = 0;
                    for (int i = 0; i < n; i++) {
                        if (sessions.get(i) instanceof HttpFlexSession)
                            count++;
                        if (count > 1) {
                            FlexContext.getHttpRequest().setAttribute(REQUEST_ATTR_DUPLICATE_SESSION_FLAG, Boolean.TRUE);
                            duplicateSessionDetected = true;
                            break;
            // If more than one was found, remote host isn't using session cookies. Kill all duplicate sessions and return an error.
            // Simplest to just re-scan the list given that it will be very short, but use an iterator for concurrent modification.
            int i = 0;
            if (duplicateSessionDetected) {
                List<FlexSession> sessions = flexClient.getFlexSessions();
                log.debug("Detected sessions from client: " + sessions);
                for (FlexSession session : sessions) {
                    if (session instanceof HttpFlexSession && i < sessions.size()) {
    //                    log.debug("----> sessionId: " + session.getId());
    //                    Enumeration e1 = session.getAttributeNames();
    //                    while (e1.hasMoreElements()) {
    //                        Object key = e1.nextElement();
    //                        log.debug("--------->" + key + "--------->" + session.getAttribute((String) key));
    //                    session.invalidate();
                        flexClient.sessionDestroyed(session);
                    i++;
                // Return an error to the client.
    //            DuplicateSessionException e = new DuplicateSessionException();
    //            e.setMessage(ERR_MSG_DUPLICATE_SESSIONS_DETECTED);
    //            throw e;
            return flexClient;
    It is not exactly beautiful (to say the least), but if it does the trick I might just be pragmatic enough to go with it... NB: I am of course not proposing this as a patch to this file or anything, it is just an ugly hack for our specific case, but maybe the information can help the BlazeDS team find the root cause making it incompatible with Coherence*Web.
    Will give it a test run on our staging servers.

Maybe you are looking for

  • Backup Retention Policy?

    hi All, I'm planning my backup retention policy. what is the best backup planning for this plan: sunday - backuo level 0 (full) monday - defferential backup level 1 tuesday - defferential backup level 1 wednesday - cumulative backup level 1 thrusday

  • Acknowledgment not possible ..File adapter ..receiver side

    Hi XI Friends In my Simple IDOC to File Scenario... i am getting successfull meessage in SXMB_MONI.but in sxmb_moni ,the acknowledgment status is not possible. my inbound inteface is of file and asynchrounous type. how can i get acknowledgment . plea

  • QUICKTIME; CAN'T UNINSTALL OLDER V; AND CAN'T INSTALL NEW V

    I get error message when trying to install Quicktime - can't uninstall older version.  Contact support.  Quicktime does not show up in add/remove programs or in explorer.

  • GRC 10 Print Version -Export to PDF in User Interface

    Hi Experts , There is a functionality for getting pdf files generated for most of the reports in GRC 10 user interface elements .but in all the screens while generating the pdf via print version we are getting communication failure  as follows : Prin

  • Can i Move 20,000 Photo's to either iCloud or External Drive to clear space on hard drive

    Hi We operate older Mac (abt 6 yrs)  with OS X 10.7.5 Getting message "startup disc is full". We have Twenty Thousand (20,000) photo's on it. Can we move them either to iCloud or to a external hard drive to clear space. If so how & is it easy to acce