Different session handling of weblogic on SP2 and SP3

          I have set up 2 weblogic servers which are using the same cookie name, and having
          the same webapp name, on the same physical machine thus
          http://127.0.0.1:7220/test (Server A).
          http://127.0.0.1:9999/test (Server B).
          Using Weblogic 6.1 Service Pack 2
          1. Access Server A
          - Server A generate a new Session ID "123456...."
          2. Redirect Link from Server A to Server B
          3. Access Server B
          - Server B generate a new Session ID "987654..."
          4. Redirect Link from Server B to Server A
          5. Access Server A
          - Reused the same session ID "123456...."
          Using Weblogic 6.1 Service Pack 3
          1. Access Server A
          - Server A generate a new Session ID "123456...."
          2. Redirect Link from Server A to Server B
          3. Access Server B
          - Server B generate a new Session ID "987654..."
          4. Redirect Link from Server B to Server A
          5. Access Server A
          - Regenerate a new session ID "ABCDEFGHI...."
          Why weblogic server handle session differently in SP2 and SP3??
          

I think this was a bug in SP3. You could raise a support ([email protected]) call to
          confirm.
          Rick Bongpipat wrote:
          > "Rick Bongpipat" <[email protected]> wrote:
          > >
          > >I have set up 2 weblogic servers which are using the same cookie name,
          > >and having
          > >the same webapp name, on the same physical machine thus
          > >
          > >http://127.0.0.1:7220/test (Server A).
          > >http://127.0.0.1:9999/test (Server B).
          > >
          > >Using Weblogic 6.1 Service Pack 2
          > >
          > >1. Access Server A
          > >- Server A generate a new Session ID "123456...."
          > >2. Redirect Link from Server A to Server B
          > >3. Access Server B
          > >- Server B generate a new Session ID "987654..."
          > >4. Redirect Link from Server B to Server A
          > >5. Access Server A
          > >- Reused the same session ID "123456...."
          > >
          > >Using Weblogic 6.1 Service Pack 3
          > >
          > >1. Access Server A
          > >- Server A generate a new Session ID "123456...."
          > >2. Redirect Link from Server A to Server B
          > >3. Access Server B
          > >- Server B generate a new Session ID "987654..."
          > >4. Redirect Link from Server B to Server A
          > >5. Access Server A
          > >- Regenerate a new session ID "ABCDEFGHI...."
          > >
          > >Why weblogic server handle session differently in SP2 and SP3??
          >
          > In relation to previous question.
          >
          > I have 3 qns about session creation behaviour:
          >
          > 1. When a web container receives a session cookie (eg. JSESSIONID) whose session
          > id does not exists in this
          > server, should the server create a new session ?
          >
          > 2. If a session is to be created because there is a session cookie, then should
          > the new session id
          > be the one sent or should it be a newly generated session id ?
          >
          > 3. If a new session id is to be generated, then should the new session id be used
          > to overwrite that in the cookie
          > and send it back to the client ?
          Rajesh Mirchandani
          Developer Relations Engineer
          BEA Support
          

Similar Messages

  • Diff between WLAI sp2 and sp3

    Hi,
    Can somebody tell me the major difference between Weblogic Integration 2.0
    SP2 and SP3
    w.r.t Weblogic Application Integration. Basically the enhancements in ADK.
    Do I need to change anything
    for my adapter ? I see and extra directory called license, is it for the
    license support of the custom developed adapter, i.e
    as adapter needs to have their own licenses, so is this some sort of
    framework in ADK ?
    Thanks
    Amit

    Thanks Chris,
    That helps.
    Amit
    Chris Stead <[email protected]> wrote in message
    news:[email protected]...
    Amit/All,
    You currently have access to a "sanitized" version of the release notes.The only
    thing you won't have is CRs fixed and known issues. New features, etcwill be
    listed. How do you get this "santized" version of the release notes? Yougo to the
    download page and select WLI/select platform/Proceed to Download/log-in tothe BEA
    Download Center/accept license agreement and then you will be at theSoftware
    Download page. On this page, you will see a link "Download WeblogicIntegreation
    2.0 Service Pack 3 Documentation and Sample Code"
    Hope this helps!
    Cheers,
    Chris
    Chris Stead wrote:
    Amit,
    I understand your situation. I will run it by the appropriate people
    and see if
    they will make the release notes available to adapter developers. Otherthan
    that, this mailing list is also a great resource. It has been ourapproach to
    update the sample adapters with the new feature enhancements and listthem in
    the release notes. Maybe we could post the new changes to this listalso for
    the benefit of adapter developers using the ADK. Sorry for theinconvience.
    >>
    Do you still have questions?
    Cheers,
    Chris
    Amit wrote:
    Hi Chris,
    The release notes are only available for customers, and am just a
    developer, so am not able to view this document.
    Its difficult to open the code for DBMS/EMAIL adapter and look for the
    changes w.r.t the pervious version.
    Thats why I was just looking if someone can tell that or point me to
    some
    documentation, 'coz I had started developing
    my adapter when ther version was WLIF1.0. So, thats why am not sure ifI
    need to make some changes in my existing code
    so as to use the framework more efficiently.
    Thanks
    Amit
    Chris Stead <[email protected]> wrote in message
    news:[email protected]...
    Amit,
    The biggest thing moving forward is using display.jsp versus
    control.jsp.
    We
    will always keep the sample adapters (DBMS, Email, Sample) up to
    date on
    the
    latest changes to the ADK. This is also listed in the Release
    notes. If
    you
    are also interested in editing events/services, please look at the
    DBMS
    adapter
    for this.
    Cheers,
    Chris
    Amit wrote:
    Hi,
    Can somebody tell me the major difference between Weblogic
    Integration
    2.0
    SP2 and SP3
    w.r.t Weblogic Application Integration. Basically the enhancements
    in
    ADK.
    Do I need to change anything
    for my adapter ? I see and extra directory called license, is it
    for the
    license support of the custom developed adapter, i.e
    as adapter needs to have their own licenses, so is this some sortof
    framework in ADK ?
    Thanks
    Amit

  • Installing locales for portal SP2 and SP3

    I need help installing japanese locales for portal SP2 and SP3. I have
    found some documentation and have done the pkgadd but i have yet to be
    able to get it to work properly.
    any ideas

    Hi Mathis,
    To install Japanese locale do the following:
    1) Untar the Japanese Language Package (desktoppackage.tar)into a directory (/opt/desktoppackage).
    #tar -xvf <Package_name>
    2) Do a pkgadd to install the Japanese language and follow the instructions thereafter.
    #pkgadd -d . SUNWwtdjp
    3) Restart both the Portal Server and Gateway.
    To check the Locale:
    1) Goto Desktop Servlet and User Information Channel.
    2) Click edit and scroll down to Locale Information. You must see the Japanese language included here.
    3) Select Japanese locale and click "Finish" button.
    4) Log out and return to desktop.
    This must help you out in configuring Japanese Locale.
    Cheers,
    raj_slash.

  • Exchange 2010 SP1 Upgrade to SP2 and SP3. Choose language.

    Hello.
    I going to install Exchange 2010 SP1 multilanguage and then update to SP2 and SP3
    But then i download SP2 from Microsoft it's ask fоr choose language.
    It ask about installer language or about Exchange language?
    What language i need to choose if i have multilanguage Exchange SP1 installer?
    And if i want to Exchange EMC be in English and Outlook on client machine shows Russian what language i need to choose when install first role from Exchange 2010 SP1 multilang DVD?

    Exchange EMC language depends on OS version where you are running it.
    Besides about client language you have to choose Russian language pack during install. More info below...
    The language of the Outlook user interface that an Outlook user sees, including the content generated by Exchange, depends on the following:
    The language the user is using in Outlook
    Whether the language they're using in Outlook is supported by Exchange 2010
    Whether the language they're using in Outlook has been configured to be available on the Exchange 2010 server
    Consider the following scenarios:
    When an Outlook user who's set their language to <Language A> signs in to their Exchange 2010 mailbox and both Outlook and Exchange 2010 support the language the user has specified, <Language A>, the user will see all messages and Exchange-generated
    mailbox components, for example, the Inbox, in Language A.
    When an Outlook user who's set their language to <Language A> signs in to their Exchange 2010 mailbox that's been set to <Language B>, the Outlook user will see the Outlook user interface in Language A, but will see the content generated
    by Exchange. For example, by default, folder names such as Inbox,
    Deleted Items, and Sent Items display in <Language B>.
    You can change the Exchange mailbox language setting on the server using Exchange Management Console or the Exchange Management Shell. For information about how to use the Shell to change the language setting for a mailbox on a server, see
    Set-MailboxRegionalConfiguration.
    From: Client Language Support for Outlook -
    http://technet.microsoft.com/en-us/library/dd638175%28v=exchg.141%29.aspx
    Blog |
    Get Your Exchange Powershell Tip of the Day from here

  • Session Handling in Weblogic Portal 9.2

    Hi All,
    I have posted a strange problem that i have been facing. It was that my previously visited page was getting rendered when i used to perform some action on my current page.
    I attributed this to some caching that might be happening. I want to know if every page that we visit in an application gets cached ? May be due to caching, the earlier page is getting displayed.
    Are these portlets or pages getting cached in the session? Any workaround by which i can clear the cache of all the previously visited pages?

    By default, the session timeout seconds is 3600, ie, an hour.
              In case you have specified weblogic-application.xml or weblogic.xml, you can add a descriptor "session-descriptor" to set session-timeout seconds.
              Here is a sample to set the timeout to 2 hours.
              file: weblogic.xml
              <?xml version="1.0" encoding="ISO-8859-1"?>
              <weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90">
              <session-descriptor>
              <timeout-secs>7200</timeout-secs>
              </session-descriptor>
              </weblogic-web-app>
              For more detail about session descriptor, please refer to
              http://e-docs.bea.com/wls/docs92/webapp/weblogic_xml.html#wp1071982
              Thanks,
              -Fred.

  • Difference between WLS 6.1 SP2   and SP3

    I have recently tested my application in WLS 6.1 SP3 (who work normally in WLS
    6.1 SP2) , I have problem with my jsp page for merging a jsp in another
    What need I do to correct it ?

    Steven,
    The CGIServlet for WebLogic will not run a CGI that doesn't have an extension.
    Just add and extension to your executable and it should run fine.
    jeff
    "Steven" <[email protected]> wrote:
    Hi all,
    I am currently facing a problem with CGI binaries via CGIServlet on WLS
    6.1
    sp4. The web.xml file has been configured correctly as follows:
    -------- start of web.xml -----------
    <servlet>
    <servlet-name>CGIServlet</servlet-name>
    <servlet-class>weblogic.servlet.CGIServlet</servlet-class>
    <init-param>
    <param-name>cgiDir</param-name>
    <param-value>/web/bea6.1sp2/wlserver6.1/config/ngwapp/applications/NGWWebApp
    /cgi-bin</param-value>
    </init-param>
    <init-param>
    <param-name>*.pl</param-name>
    <param-value>/web/perl5/bin/perl5.00405</param-value>
    </init-param>
    <init-param>
    <param-name>*.cgi</param-name>
    <param-value>/web/perl5/bin/perl5.00405</param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
    <servlet-name>CGIServlet</servlet-name>
    <url-pattern>/cgi-bin/*</url-pattern>
    </servlet-mapping>-------- end of web.xml ---------
    When a call is made to http://.../cgi-bin/dialogserver , this results
    in a
    404-File Not Found error.
    The contents of the cgi-bin directory have not been altered and I did
    not
    face this problem earlier when I was using sp2.
    It only happened after I upgraded to sp4. Can anyone help?
    best rgds,
    steven.

  • Difference between WLS6.1 SP2 and SP3

    I have recently tested my application in WLS 6.1 SP3 (who work normally in WLS 6.1 SP2) , I have problem with my jsp page for merging a jsp in another
    What need I do to correct it ?

    wliu wrote:
    When i deploy the database pool,it throw the following exception:could find
    ocicore9.dll
    and my config.xml is:
    <JDBCConnectionPool DriverName="oracle.jdbc.OracleDriver"
    InitialCapacity="20" MaxCapacity="20" Name="oracleOciPool"
    Password="{3DES}IHsomrZ2hLxZiBrV9VXTlQ=="
    PreparedStatementCacheSize="100"
    Properties="user=db9i;password=password;server=db9i"
    RefreshMinutes="5" Targets="MyCluster,server2,server1"
    TestConnectionsOnRelease="true" TestConnectionsOnReserve="true"
    TestTableName="dual" URL="jdbc:oracle:oci:@"/>
    I am running at w2k and wls6.1 sp2
    oracle runnint at Tru64 unix
    and classpath has contained classes12.zip which is the lastest version, path
    has contain %BEA_HOME%\bin\oci901_8 directoryOcicore.dll may be an Oracle OCI library. Your path (the path list that Tru64 Unix
    uses to search for native libraries) must also contain all the standard Oracle client
    libraries.
    Joe

  • Error in "niDMM Configure Measurement Digits.vi" - The session handle is not valid.

    I get the error message below, when I run my LabVIEW program as an EXE, but no problem while running under LabVIEW development. Why is there any difference between the build EXE and the development environment (it uses the same VI's) and how can I debug this problem?
    Running LabVIEW 2010 SP1.
    Error message:
    Error -1074130544 occurred at niDMM Configure Measurement Digits.vi
    Possible reason(s):
    The session handle is not valid.
    TIA
    Bent
    Attachments:
    ErrorMessage.png ‏7 KB

    Dear All
    I also got this problem while using GPIB to control my function generator(HP33120A).
    Here's my error message
    Mode.vi<ERR>Driver Status:  (Hex 0xBFFA1190) The session handle is not valid.
    And my code was from the modified example of driver as following:
    please help me to figure it out. Thanks a lot!!

  • Hi I have two questions. I am using NAS 4.1 and was wondering is it possible to set a different session timeout for different users? How is the session timeout set? Thanks, YS

     

    <i>I am using NAS 4.1 and was wondering is it possible to set a different session timeout for different users?</i>
    Um, there is no such thing as NAS4.1.
    I'm assuming that you mean NAS4.0 (maybe NAS4.0sp1?). If so, then the session timeouts are specified in the session section of the NTV configuration files.
    AFAIK, you can specify session timeouts on a per user basis.

  • Can I download a file in different sessions or should it be in a single session? In other words can I pause the download of a file, shutdown/restart my system and then resume download from where I left off? Or will it start from the very beginning?

    Can I download a file in different sessions or should it be in a single session? In other words can I pause the download of a file, shutdown/restart my system and then resume download from where I left off? Or will it start from the very beginning?

    If a server supports resuming downloads then the download should continue where it left off.<br />
    You can test that by simple starting a large download and wait a minute or so before pausing it.<br />
    Then you can close and restart Firefox and see if resuming works.
    You can set the pref browser.download.manager.quitBehavior to 2 on the about:config page.<br />
    That will make Firefox ask for confirmation if you want to cancel the download if you close Firefox.
    See:
    * http://kb.mozillazine.org/browser.download.manager.quitBehavior

  • Handle same delete command from 2 different sessions!

    Dear All,
    My database is 11gR2. I am in a situation where 2 applications are using the same database. There are times when the same delete command is issued from both applications that hangs the DB. None of the query is successfully executed.
    I want to lock the rows so that the first query executes and while second waits and when first completes second query is executed, though it wont delete any records as records are delete from the first query. But there is no hanging situation. Should I lock the table before running the query? or i first select the records using for update?
    Kindly help on this.
    Regards,
    Imran

    Thanks, The details are:
    Actually my applications are the 2 radius servers that are again getting requests from BRAS server. BRAS issues a delete command to radius server 1, if radius server is busy and takes longer then 3 seconds to respond BRAS issues the same command to radius server 2. When the same command from 2 different servers executes on the DB there is kind of dead lock, when this situation happens I have to terminate session of any one radius server and then the other query gets executed.
    I understand that Oracle takes care of this automatically but in my situation my DB is under tremendous load and sometimes I have to terminate sessions.
    Its a simple delete command with some selection. I hope this helps a bit.
    Regards, Imran

  • XMLSPY Special Edition for BEA WebLogic 8.1 and WLS 8.1 sp2

    Hi,
    I'm a newbie for WebLogic Server. I started with WLS 8.1 sp2 since I got the book "J2EE Applications and BEA WebLogic Server 2nd Edition" which was written for WLS 8.1.
    While XMLSPY Special Edition for BEA WebLogic (version 5.4 something, built in 2003) is indeed packaged with WLS 8.1 sp2 and can be installed, but it'll pop up a window (ALTOVA License Manager) everytime when I try to use it. This window pops up because the license key is not installed during the installation and therefore can't be used unless a valid key is provided.
    I wonder whether I really need to get XMLSPY Special Edition for BEA WebLogic 8.1 working in order to use WLS 8.1 just for the purpose of learning. If so, can someone share with me the the key-code for XMLSPY Special Edition for BEA WebLogic 8.1 please?
    BTW, I tried to find something useful to this question/problem at ALTOVA website, no luck at all.
    Thank you very much.
    JF

    Hi Ravi,
    Thanks very much for your very helpful reply.
    I got into the problem with xmlspy while I was trying to figure out why the WLS admin console missing the left pane/sidebar. There was only one non-expandable dot sign at the lefttop in the admin console. When I right-click on that little dot icon, the pulldown menu shows one option is to use XMLSPY to check (something along that line). Also, I see the XMLSPY button at the left bottom of my W2003 windows (just next to IE button). So, either way when I invoked XMLSPY I would get that pop up window which tells me there choices: type in a key-code, request for a trial key, or buy a license key. But eventually, I figured out the way to fix my problem - installing a newer version of j2sdk code. However, I wasn't sure whether the xmlspy issue would a hidden problem further down the road for me to learn WLS 8.1.
    You're absoluately right commenting on the the right version of WLS to use at the beginning of learning WLS.
    I have been VMWare Workstation for several months. I've created a CentOS 5.4 VM with WLS 11g installed. I played with with WLS 11g for a while and even followed through an Oracle online tutorial for that version. But I'm just used to learn something with a hard copy of book and I happen to have this old book on WLS 8.1 which seems to be highly rated before. I may continue to go through this book quickly if I can. However, if I experience too many hard problems down the road, I won't waste too much more time on this path. My long term goal is of course to learn more and better about WLS 11g and other Oracle related framework and tools. There is too much to learn. But the good thing is that Oracle provides everything free to learn. Also, I'm very encouraged by the quality of the Oracle tech group where I can turn for very useful help.
    Thanks again and best regards,
    JF

  • Again Session-Handling

    Hi there, one question about session-handling in JSP.
    I'm trying to set attributes in the JSP and afterwards get them back.
    No chance! They always vanish! Here is the code:
    <%@page contentType="text/html"%>
    <%@page import="java.util.*"%>
    <html>
    <head><title>JSP Page</title></head>
    <body>
    <%
    // Output of Session-Attributes
    for (Enumeration enum=session.getAttributeNames();enum.hasMoreElements();)
    String name2 = (String)enum.nextElement();
    String value2 = (String)session.getAttribute(name2);
    out.println(name2+":"+value2);
    // Set Attributes that I get from Form!
    String name = request.getParameter("name");
    String value = request.getParameter("value");
    if (name!=null)
    session.setAttribute(name,value);
    %>
    <form action="SessionTest.jsp" method=get>
    <input type=text name=name>
    <input type=text name=value>
    <input type=submit>
    </form>
    </body>
    </html>
    Really dont have a clue!
    Thx, ToM

    Works ok for me:
    Couple of suggestions: put the setting code, before the display code.
    That way you will see the pair that you just set in session ;-)
    Also try this:
    Session id = <%= session.getId() %> and see if it stays the same.
    If you are getting a different session every time, then its not maintaining the session.
    Common cause of session problem is: cookies are turned off.
    Either turn cookies on, or use URL rewriting:
    <form action="<%= response.encodeURL("SessionTest.jsp") %>">
    <%@page contentType="text/html"%>
    <%@page import="java.util.*"%>
    <html>
    <head><title>JSP Page</title></head>
    <body>
    <%
    // Set Attributes that I get from Form!
    String name = request.getParameter("name");
    String value = request.getParameter("value");
    if (name!=null)
    session.setAttribute(name,value);
    // Output of Session-Attributes
    for (Enumeration enum=session.getAttributeNames();enum.hasMoreElements();)
    String name2 = (String)enum.nextElement();
    String value2 = (String)session.getAttribute(name2);
    out.println(name2+":"+value2 + "<br>");
    %>
    <form action="SessionTest.jsp" method=get>
    <input type=text name=name>
    <input type=text name=value>
    <input type=submit>
    </form>
    </body>
    </html>Cheers,
    evnafets

  • Authentication handling in WebLogic 8.1 SP 4

    I have a servlet, MyServlet, running in WebLogic 8.1 SP 4 that creates another server in the init() method that listens for incoming connections on a different port than WebLogic's 7001; let's say it listens to port 5000. This server is similar to the O'Reilly's DaemonHttpServlet (http://www.stanford.edu/group/coursework/docsTech/oreilly/com.oreilly.servlet.DaemonHttpServlet.html); I'll refer to this server as HttpServer.
    I created a security realm for MyServlet for Basic authentication. So if a client wants to go to MyServlet it has to authenticate itself using Basic authentication. This all works fine! However, at this point HttpServer that listens port 5000 is not part of the mentioned realm according to WebLogic. For MyServlet WebLogic takes care of the whole authentication process, that is, the initial request to MyServlet and the following response containing the Basic challenge are not going through MyServlet but are handled by WebLogic.
    As the client (user agent) does not know that HttpServer is part of the same realm (as I would like it to be), it will not send its credentials that it used to logon to MyServlet to authenticate itself to HttpServer, because the URL is different at the port part of the URL.
    I would like to mimic that HttpServer IS part of the same realm MyServlet is in, but I don't want to hardcode the response saying it needs to be a certain specific realm. How can I query User, Group, Realm information stored in WebLogic? Are there MBeans I should look at? Can I use JAAS to hook into WebLogic somehow? Can I use JAAS to handle the Base64-encoded username-password to the Basic challenge send in the HTTP request?

    b b schrieb:
    Hi:
    I am confused about something, I am running weblogic 8.1 SP4 on the [sun4u sparc SUNW,Sun-Fire-480R] box and trying to deploy a normal webapp. It took like 2 minutes to finish deployment (nothing else was running on the box). however if I deploy the same webapp onto my laptop, it is really quick (<30secs).
    I thought it might be the problem with that particular un box. So I tried to deploy the same webapp onto another sun box - [sun4u sparc SUNW,Sun-Fire-V240]. The results were the same (over 2minutes).
    Can anybody shed some lights on why this is happening?
    Thank you very much!Have You checked the XML-switches ?
    (web.xml/weblogic.xml/keepgenerate/precompile)
    How ist the "Staging Mode" (nostage) of Your application ?
    Regards Ruedi :-)

  • HOWTO:Deploy BC4J as Session Bean in Weblogic

    This document describes Howto deploy a BC4J Appmodule as EJB Session Bean to Weblogic and
    test the appmodule through the BC4J tester.
    =>create a BC4J Application using Business Components Wizard.
    =>test it using BC4J tester
    =>make the Application Module Remotable [list]
    [*]Select Appmodule and right mouse on it to select the edit option
    [*]Select Remote tab
    [*]Select the check box for Remotable Application Module
    [*]Select EJB Session Bean and shuttle it from Available list to Selected list
    [*]Click on the finish button[list]
    => Do File| Save All and a Rebuild on the project
    => create the weblogic XML Deployment Descriptor[list]
    [*]Choose File|New
    [*]Select the web objects tab
    [*]Select XML and click ok
    [*]Rename the file as ejb-jar.xml using File|Rename
    [*]Save it in the JDEV_HOME/myclasses/META-INF directory.
    [*]Open the xml file by double clicking on it.
    [*]Paste the following into the file
    <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN' 'http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'>
    <ejb-jar>
    <enterprise-beans>
    <session>
    <ejb-name>wl.WlModule</ejb-name>
    <home>wl.common.ejb.WlModuleHome</home>
    <remote>wl.common.ejb.RemoteWlModule</remote>
    <ejb-class>wl.server.ejb.WlModuleServerEJB</ejb-class>
    <session-type>Stateful</session-type>
    <transaction-type>Bean</transaction-type>
    </session>
    </enterprise-beans>
    <assembly-descriptor>
    </assembly-descriptor>
    </ejb-jar>
    [*]Choose File|New
    [*]Select the web objects tab
    [*]Select XML and click ok
    [*]Rename the file as weblogic-ejb-jar.xml using File|Rename
    [*]Save it in the JDEV_HOME/myclasses/META-INF directory.
    [*]Open the xml file by double clicking on it.
    [*]Paste the following into the file
    <!DOCTYPE weblogic-ejb-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 5.1.0 EJB//EN' 'http://www.bea.com/servers/wls510/dtd/weblogic-ejb-jar.dtd'>
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>wl.WlModule</ejb-name>
    <caching-descriptor>
    <max-beans-in-free-pool>100</max-beans-in-free-pool>
    <max-beans-in-cache>100</max-beans-in-cache>
    <idle-timeout-seconds>60</idle-timeout-seconds>
    </caching-descriptor>
    <jndi-name>wl.WlModule</jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    In this example "wl" is the package name and "WlModule" is the Appmodule name.[list]
    => generate the jar file for appmodule along with xml deployment descriptors[list]
    [*]from the command line in JDEV_HOME/myclasses directory run
    [*]jar cvf0 wlappmodule.jar wl META-INF[list]
    => edit the setenv.cmd file in WEBLOGIC_HOME directory[list]
    [*]set JAVA_HOME=f:\jdev32\java1.2
    [*]set JBOLIB=f:\jdev32\lib
    [*]set JDBC_CLASSES=f:\jdev32\jdbc\lib\oracle8.1.7\classes12.zip
    [*]set JBO_RUNTIME=%JBOLIB%\jboorasql.zip;%JDBC_CLASSES%;%JBOLIB%\jbodatum12.zip;%JBOLIB%\xmlparserv2.jar;%JBOLIB%\jbomt.zip;%JBOLIB%\jboejb.jar
    [*]add JBO_RUNTIME in the set CLASSPATH variable[list]
    => create a bc4j deploy batch file "Deploybc4j.cmd" in the WEB_LOGIC HOME
    which will generate the server side jar files
    @setlocal
    set JAVA=java
    set JAVAC=javac
    set BEAN_JAR=%1
    set EJB_TEMP=f:\jdev32\myclasses\wl
    set XMLPARSERV2=f:\jdev32\lib\xmlparserv2.jar;
    set JDBC_LIBS=f:\jdev32\jdbc\oracle8.1.7\lib\classes12.zip
    set JBO_EJB_RUNTIME=f:\jdev32\lib\jbomt.zip;f:\jdev32\lib\jboejb.jar;%XMLPARSERV2%;%JDBC_LIBS%
    set CLASSPATH=%CLASSPATH%;%JBO_EJB_RUNTIME%;%BEAN_JAR%;%EJB_TEMP%
    %JAVA% weblogic.ejbc -compiler javac f:\jdev32\myclasses\wlappmodule.jar f:\jdev32\myclasses\wlAppModuleGenerated.jar;f:\jdev32\lib\jbodomorcl.zip
    pushd %EJB_TEMP%
    @endlocal
    Note: substittue appropriate jar file and directory structure names
    => Run setenv.cmd
    => Run deploybc4j.cmd
    => Configure Weblogic server[list]
    If your weblogic server is residing on a different machine then
    [*]copy wlAppModuleGenerated.jar (generated jar file from deploybc4j.cmd)
    [*]Copy classes12.zip from JDEV_HOME/jdbc/lib/oracle8.1.7/ directory
    [*]Copy jbodomorcl.zip
    [*]jbodatum12.zip
    [*]xmlparserv2.jar
    [*]jbomt.zip
    [*]jboejb.jar from JDEV_HOME/lib directory
    [*]edit weblogic.properties file in WEBLOGIC_HOME directory
    [*]In the WEBLOGIC EJB DEMO PROPERTIES sectio
    [*]add weblogic.ejb.deploy=E:/weblogic/myserver/wlAppModuleGenerated.jar
    (generated jar file from deploybc4j.cmd file)
    [*]edit startweblogic.cmd file in WEBLOGIC_HOME directory
    [*]set POST_CLASSPATH=f:\jdev32\jdbc\oracle8.1.7\lib\classes12.zip;f:\jdev32\lib\jboorasql.zip;f:\jdev32\lib\jbodatum12.zip;f:\jdev32\lib\xmlparserv2.jar;f:\jdev32\lib\jbomt.zip;f:\jdev32 \lib\jboEJB.jar;f:\jdev32\lib\jbodomorcl.zip
    [*]add E:/weblogic/myserver/wlAppModuleGenerated.jar
    (generated jar file from deploybc4j.cmd file) in the weblogic_classpath setting[list]
    Note: modify the directory structure of jar files as apporpriate
    => Run the BC4J tester to test the deployed BC4J Appmodule as session bean to Weblogic[list]
    [*]Add a new library
    [*]Select the Project in which you developed the BC4J Appmodule
    [*]Project | Project Properties
    [*]select libraries tab
    [*]Click on Add
    [*]Click on New
    [*]Specify "JBO WL Client" in the NAME
    [*]Click on ... button for adding the jar files
    [*]Click on Add/Zip jar button to add the following files
    weblogicaux.jar
    jboremoteejb.zip
    jboremote.zip
    <Weblogic_home>/classes
    [*]Click on OK
    [*]Start the weblogic server
    [*]Bring the BC4J Tester by doing a right mouse on the appmodule and selecting Test option
    [*]In the Middle Tier Server Type Select "Weblogic"
    [*]Specify Host name and port # of weblogic server
    [*]Click on Connect[list]
    raghu
    null

    Although this explains how to then deploy to Weblogic on another server, it still presumes that it is installed on the same computer as JDev. I moved the weblogic.jar file over to the computer and fudged a few things to get it to work.
    Also, I am testing this with Weblogic 6.0, so some of the information does not work as prescribed. I edited the config.xml instead of the weblogic.properties file. I am trying to figure out where to put all of the *.jar and *.zip files that I copied over to the Solaris machine with Weblogic. Any suggestions?
    And one of the steps in the section to create the deploybc4j.cmd file is wrong. It says
    "%JAVA% weblogic.ejbc -compiler javac f:\jdev32\myclasses\wlappmodule.jar f:\jdev32\myclasses\wlAppModuleGenerated.jar;f:\jdev32\lib\jbodomorcl.zip"
    Which does not work. I took off the last part:
    "%JAVA% weblogic.ejbc -compiler javac f:\jdev32\myclasses\wlappmodule.jar f:\jdev32\myclasses\wlAppModuleGenerated.jar"
    and it worked. It was getting that whole last part and trying to create a directory with that name and failing.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by David Shanes ([email protected]):
    This seems to assume that JDev and Weblogic are installed on the same server (I refer to the section on setting the setenv.cmd file in the WEBLOGIC_HOME dir that includes the path to the JDev install.
    I have JDev installed on a Win 2k box and Weblogic installed on a Solaris. Any suggestions? I got all the way up to the setenv.cmd step fine.<HR></BLOCKQUOTE>
    null

Maybe you are looking for

  • Template creation for logged in user

    Is there a variable or other means to auto check the 'Document and Settings\<current logged in users>\My Documents' I can not find how to auto check the box for the current logged in user. It's not in the template editor. Also searching returned dead

  • Adobe Camera Raw Software and Adobe DNG Converter

    Are they two separate pieces of software - I have downloaded Adobe DNG Converter but cannot appear to be able to download Adobe Camera Raw for Mac

  • Tethered shooting with Aperture 3

    The Ap3 User Manual indicates that all cameras that have RAW support in 3.0.1 may be tethered for studio work (page 167). Having used Ap since the beginning, I was really hoping this to true. Not the case for me. The pop-up says "no camera detected",

  • Will apple devices get adobe flash soon?

    Hi, I was just wondering why adobe isn't on apple devices and how it would be very useful to have in the next update, or in the future, will there be adobe on apple devices in the future? Thanks for any help :)

  • Premiere CS 5.5 won't see plug-ins

    I've switch over from FCP and I'm having an issue installing a Premiere plug-in. When I use the installer I get this:  "no installations of premiere pro were found". I looked online to find where the plug-in folder would be and I got two different an