Problems with Requests in Weblogic 6.1

Hi,
i am using weblogic in my project both as a webserver and as the application server.
But i am facing problems with requests being sent to the server. Basically i have
a form in my jsp which, if submitted by multiple clients at the same instant in
time, the server gets confused and mixes up the data in the requests !! the form
is submitted to another jsp which in turn calls a SLSB which in turn calls various
entity Beans to fulfill the request.
Now if 2 or more clients hit the submit button together, the server is mixing
the data from the requestsand i get corrupted output as a result.
That if i submit values (a,b,c) from one client machine and values (x,y,z) from
another machine, the server puts one of the transactions properly and in the other
it picks up the data from the other request and takes something like (x,y,c) !!
Is this a bug in Weblogic 6.1 or am doing something wrong ??
Any help would be appreciated.
Raja

Make sure your JSP scope is set correctly:
<jsp:useBean id="beanName" scope="session" class="abc.BeanClass" />
"Raja" <[email protected]> wrote in message
news:3c6abfc8$[email protected]..
>
Hi,
i am using weblogic in my project both as a webserver and as theapplication server.
But i am facing problems with requests being sent to the server. Basicallyi have
a form in my jsp which, if submitted by multiple clients at the sameinstant in
time, the server gets confused and mixes up the data in the requests !!the form
is submitted to another jsp which in turn calls a SLSB which in turn callsvarious
entity Beans to fulfill the request.
Now if 2 or more clients hit the submit button together, the server ismixing
the data from the requestsand i get corrupted output as a result.
That if i submit values (a,b,c) from one client machine and values (x,y,z)from
another machine, the server puts one of the transactions properly and inthe other
it picks up the data from the other request and takes something like(x,y,c) !!
Is this a bug in Weblogic 6.1 or am doing something wrong ??
Any help would be appreciated.
Raja

Similar Messages

  • Problems with Requests

              Hi,
              i am using weblogic in my project both as a webserver and as the application server.
              But i am facing problems with requests being sent to the server. Basically i have
              a form in my jsp which, if submitted by multiple clients at the same instant in
              time, the server gets confused and mixes up the data in the requests !! the form
              is submitted to another jsp which in turn calls a SLSB which in turn calls various
              entity Beans to fulfill the request.
              Now if 2 or more clients hit the submit button together, the server is mixing
              the data from the requestsand i get corrupted output as a result.
              That if i submit values (a,b,c) from one client machine and values (x,y,z) from
              another machine, the server puts one of the transactions properly and in the other
              it picks up the data from the other request and takes something like (x,y,c) !!
              Is this a bug in Weblogic 6.1 or am doing something wrong ?? Anyone faced this
              problem ?
              Any help would be appreciated.
              Raja
              

    Hi,
              It's highly unlikely that it's WebLogic. Somewhere along the line, you are
              calling or referring to the same instance of either a class of a variable.
              You should brush up on the meaning of static variables.
              Make sure that you are not using class-level variables in your servlet. WLS
              will create only one instance of a Servlet or JSP and invoke it from
              multiple threads (requests) unless it is declared as SingleThreadModel. (See
              the servlet spec).
              When you declare variables inside a method - they are defined on the stack -
              so they're safe from multiple threads since each thread has it's own stack.
              If you declare them in a class, they're on the heap, and are shared by
              multiple threads invoking that servlet-class instance.
              There is a workaround if you MUST use class-level variables (not a good idea
              in a servlet). You can declare your Servlet (or JSP) as SingleThreadModel.
              This is less desirable since it carries a performance hit. It's best to
              design around it - but you might try declaring this to see if it helps in
              the JSP...
              <%@ page isThreadSafe="false" %>
              Of course, if the threading issues I've discussed above are occurring
              elsewhere in your code, you'll have to design-around it. Like I say, check
              for static class variables. It's unlikely that your other code is invoking
              the same instances of other classes from multiple threads (unless those
              instances are servlet-class-variables - and your problem will be resolved by
              the above).
              Make sure that you are not referencing static variables in your servlet or
              other bean classes (unless you intend to). Static variables are scoped at
              the class level and are therefore shared by all instances of that class (or
              servlet). The above SingleThreadModel won't help you in that case since all
              instances of the same class will be using the same static variables.
              Hope that helps,
              Alex
              "Raja" <[email protected]> wrote in message
              news:[email protected]...
              >
              > Hi,
              > i am using weblogic in my project both as a webserver and as the
              application server.
              > But i am facing problems with requests being sent to the server. Basically
              i have
              > a form in my jsp which, if submitted by multiple clients at the same
              instant in
              > time, the server gets confused and mixes up the data in the requests !!
              the form
              > is submitted to another jsp which in turn calls a SLSB which in turn calls
              various
              > entity Beans to fulfill the request.
              > Now if 2 or more clients hit the submit button together, the server is
              mixing
              > the data from the requestsand i get corrupted output as a result.
              > That if i submit values (a,b,c) from one client machine and values (x,y,z)
              from
              > another machine, the server puts one of the transactions properly and in
              the other
              > it picks up the data from the other request and takes something like
              (x,y,c) !!
              > Is this a bug in Weblogic 6.1 or am doing something wrong ?? Anyone faced
              this
              > problem ?
              > Any help would be appreciated.
              >
              > Raja
              >
              >
              

  • At the creation of MCD we got the problem with Request

    Hi All,
    we are all very new to SAP MI,
    At the creation of CD we got the problem with Request
    <i><b>Creation of CD</b></i>
    we gave these entries
    <b>1.Mobile Solution Name        :      CIBERNW
    Version                                    :      1001
    Description                              :      Ciber Netweaver Mobile
    Cmponent Type                       :        APPLICATION
    Runtime Enviroment                 :      JSP</b>
    In SyncBO tab we specified our SyncBO that is <b>ZNWW_EX01</b>
    we selected the check two checkboxs that is
                       <b>->SyncBOs Expect Initial Value
                       ->Data Visible to all</b>
    2.when i am trying to <b>save the MCD</b> it will open one dialog box that is
    <b>"Object can only created in SAP Package "</b> -> Continue
           <b>"Link to Transport "</b> it says
    <b>"Include MCD in Transport Request", "Yes","No"</b>
    when i will go for <b>"Yes"</b>
    it will give one more dialog box that is
    <b>"prompt of workbeanch Request"</b>
    it will give one Request bydefault that is <b>"CNWK900030"</b>
    there we have some option that is
         <b> ->Continue
          ->Create Request
          ->Own Request</b>
    which one we will select ?
    i will go for <b>Continue</b> it will open other dialog box it says
    <b>"Include MiniApp in Transport Request"</b>
    it says <b>"MiniApp must be assigned to a transport request"</b>
    i will go for continue it will the message in the status bar
    <b>"MCD Changed"</b>
    can you please tell me this process is Right or wrong
    if it is wrong can you please tell me the right process
    and it will some default Requests which Request we need to select
    or we need to create the Request where we need to create that
    what is process we need to follow ?
    Thanks and Regards
    Dileep Painnamaneni

    Hi Dileep,
    <<Creation of MCD >>
    <<we gave these entries >>
    <b><<1.Mobile Solution Name : CIBERNW
    Version : 1001
    Description : Ciber Netweaver Mobile
    Cmponent Type : APPLICATION
    Runtime Enviroment : JSP>>
    In SyncBO tab we specified our SyncBO that is ZNWW_EX01
    we selected the check two checkboxs that is
    ->SyncBOs Expect Initial Value
    ->Data Visible to all</b>
    Every thing is fine. We need to check Link to <b>SAP MI Home page</b> check box
    <b>2.when i am trying to save the MCD it will open one dialog box that is
    "Object can only created in SAP Package " -> Continue
    "Link to Transport " it says
    "Include MCD in Transport Request", "Yes","No"
    when i will go for "Yes"
    it will give one more dialog box that is
    "prompt of workbeanch Request"
    it will give one Request bydefault that is "CNWK900030"
    there we have some option that is
    ->Continue
    ->Create Request
    ->Own Request
    which one we will select ?
    i will go for Continue it will open other dialog box it says
    "Include MiniApp in Transport Request"
    it says "MiniApp must be assigned to a transport request"
    i will go for continue it will the message in the status bar
    "MCD Changed"</b>
    In SAP when ever we create any object(tables or MCDs) :
    there are two things CUSTOMER NAME SPACE(stored locally in that system only) and FORIEGN NAME SPACE(can be transported)
    CUSTOMER NAME SPACE objects starts with 'Z' or 'Y'
    FORIEGN NAME SPACE objects starts with any other digit other than 'Z' or 'Y'
    So youhave created MCD name CIBERNW which starts with 'C' (its not customer name space with z or y)
    so it will be stored in package(so that this package can be transported to any other system later)
    So what ever you have done is correct.
    You can create your own request also.
    But confirm once that whether you are supposed to store your MCD this that package.
    <b>
    can you please tell me this process is Right or wrong
    if it is wrong can you please tell me the right process
    and it will some default Requests which Request we need to select
    or we need to create the Request where we need to create that
    what is process we need to follow ?</b>
    So this is the concept of request.
    So this request is nothing but....
    When ever we create tables or MCDs we try to save it..so if we are trying to create objects in Foreign name space(i.e without 'Z' or 'Y' inthe beginning) so it will ask to create this object in a package which requires request(transport request)
    All objects are stored in package,( so this package contains many objects like MCD,SYNBOS etc what ever we store in it) so we can transport this package from one system to another system so to transport we need to generate a transport request for that package and them release that transport request.....
    So once the package is released and we try to edit or create new objects in that package it will ask for some new request.....
    Yes we can create our own request and later release it.
    But in your case u can take up the default request and continue.
    If this MCD is for only testing purpose(for our selfs)..means this MCD is just for our testing sake..its better to create it in Customer name space..starts with 'Z' or 'Y'.
    I hope its clear.
    Cheers,
    Karthick

  • Problem with Request for Permissions (mobile app)

    In my application I want to publish the results of the games on facebook. I used this tutorial: http://www.adobe.com/devnet/facebook/articles/flex_fbgraph_pt1.html
    Here is a fragment of my source code:
    <fx:Script>
            <![CDATA[
                import com.facebook.graph.FacebookMobile;
                import mx.events.Request;
                import valueObjects.GlobalVariables;
                protected var extendedPermissions:Array = ["publish_stream","user_website","user_status","user_about_me"];
               protected function initApp():void
                    FacebookMobile.init("app ID",loginHandler);
                protected function loginHandler(success:Object,fail:Object):void
                    if(success){   
                        currentState="loggedin";
                        nameLbl.text=success.user.name;
                        userImg.source=FacebookMobile.getImageUrl(success.uid,"small");
                        birthdayLbl.text=success.user.birthday;
                        FacebookMobile.api("/me/statuses",getStatusHandler);
                    else{   
                        this.login();
                protected function login():void
                    FacebookMobile.login(loginHandler, stage, []);
                protected function logout():void
                    FacebookMobile.logout();
                    currentState="loggedout";
                protected function getStatusHandler(result:Object, fail:Object):void
                    statusLbl.text=result[0].message;
                protected function submitPost():void
                    FacebookMobile.api("/me/feed",submitPostHandler,{message:GlobalVariables.d.toString()}, "POST");
                protected function submitPostHandler(result:Object,fail:Object):void
                    FacebookMobile.api("/me/statuses",getStatusHandler);
            ]]>
        </fx:Script>
    I have problem with permissions. After login I see a white screen instead of request for permission.  The desktop application does not have a problem with it. When I log for the first time to the desktop application and I will give the permissions applications, then in the mobile application everything works fine. But this is not a good solution. And so please help.

    The labelField of IconItemRenderer only supports single line text.  Try using the messageField instead:
    <s:List width="200" height="200">
        <s:dataProvider>
            <s:ArrayList>
                <s:DataItem desc="1 Hello World Hello World Hello World" />
                <s:DataItem desc="2 Hello World Hello World Hello World" />
                <s:DataItem desc="3 Hello World Hello World Hello World" />
            </s:ArrayList>
        </s:dataProvider>
        <s:itemRenderer>
            <fx:Component>
                <s:IconItemRenderer labelField="" messageField="desc">
                </s:IconItemRenderer>
            </fx:Component>
        </s:itemRenderer>
    </s:List>
    If you need more control you might need to subclass, this post might help: http://flexponential.com/2011/08/21/adding-multiline-text-support-to-labelitemrenderer/

  • Is there a problem with JMS and Weblogic?

              Hi,
              I am using JMS and Weblogic (Not Message Driven bean).
              My problem is that after some time my listeners disappears.
              I am sending them a message and instead of 6 listeners
              I get only 4 messages.
              So, My question is: Is there any problem working with JMS
              and Weblogic???
              Thanks,
              Tal.
              

    Too little information and a very vague question. Need more info.
              "Tal" <[email protected]> wrote in message
              news:[email protected]..
              >
              > Hi,
              > I am using JMS and Weblogic (Not Message Driven bean).
              > My problem is that after some time my listeners disappears.
              > I am sending them a message and instead of 6 listeners
              > I get only 4 messages.
              > So, My question is: Is there any problem working with JMS
              > and Weblogic???
              > Thanks,
              > Tal.
              

  • Problems with IIS and Weblogic 6.0 Redirecting thru IIS

    Hi
    I have just installed Welblogic 6.0 and I am having problems with the configuration
    of the ISAPI Plugin.
    I created the iisproxy.ini file and then copied that into wlserver6.0/bin directory
    and copied the iisproxy.dll file into the inetpub/wwroot directory for iis to
    see
    Now when I type in my url, I get the default index.jsp page that bea supplied
    but when I try to go to the Admin tool, existing portals created or new portals
    added, I get the following error
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    Can any one help, here is my iisproxy.ini file
    below
    #This file contains initialization name/value pairs
    #for the IIS/weblogic plug-in
    WebLogicHost=localhost
    WebLogicPort=7501
    WlFowardPath=/weblogic
    SecureProxy=OFF
    PathTrim=/weblogic
    ConnectTimeoutSecs=20
    ConnectRetrySecs=2
    Bola

    Seems 6.0 has more than a few proxy problems. We are running IPlanet and have
    had no success in running the 6.0 proxy.
    FYI. We have started using the 5.1 proxy in 6.0 successfully; you might give
    it a try. Not sure we want to put this in production in this condition however.
    Matt Raible wrote:
    Has anyone been successfully able to get the IIS Proxy working with WLS 6.0
    on Win2K? I've been trying for days, working with a support engineer at BEA
    and everything, but no luck.
    Thanks,
    Matt

  • Problem with WLIOTimeoutSecs in weblogic and apche  CSS load balancer

    Hi,
    We are using Weblogic 11g, apache 2.2 and CSS load balancer for load balancing.
    we have huge reports which take minutes to generate and hence we need higher value for WLIOTimeoutSecs. This works fine when we use server url but WLIOTimeoutSecs is not working when we use CSS load balancer.
    We checked with our load balancing team they said CSS load balancer will not repost the request.
    Here is the plugin configuration
    <Location /*****>
    SetHandler weblogic-handler
    PathTrim /
    WebLogicHost 'serevrip'
    WebLogicPort 'port'
    WLIOTimeoutSecs 3600
    Idempotent OFF
    WLProxySSL ON
    DefaultFileName /***/***/index.jsp
    Debug On
    WLLogFile /***/***/***/***.log
    </Location>
    Could some please help me on this.
    Thanks in advance
    Regards,
    Venkat

    Hi Tarun,
    The problem occurs when the SSL is enabled on apache. If I access the same URL over HTTP, the parameter WLIOTimeOut works fine.
    Also I observed that, none of the parameters are getting applied to the plugin. I had switched on 'DebugConfigInfo'. With this the HTTP URL with ?__WebLogicBridgeConfig as query parameter returned the complete configuration. However when accessed with HTTPS the server did not return the configuration.
    Is there a specific configuration to be applied when apache is used with SSL?
    Thanks for your help,
    Shashi

  • Problem with searching in weblogic 8.1 repository..

              Can anyone help me to Search in WebLogic 8.1 Content Mangement...Data base....
              we are using weblogic 8.1 content management (i.e. repositor to store the data
              of poral..)
              Now I m implementing Search in repository.. and i want to search a String e.g.
              "Forms" in this repository... how can i search in repository...
              Well, I found QueryManager and QureyRequest class in sample portal example...but
              still not understand how to use it... kindly help me to solve this problem...
              or u can suggest me alternative way to solve searching in weblogic repository...
              thanks a lot in advance.....
              waiting for some help.....
              Vijay
              

    I got the solution for this:
    Just few changes in the config file found in Weblogic 8.1 IDE
    "SIDDHARTHA " <[email protected]> wrote:
    >
    I am having a jsp which contains 4 links to portals.
    Portal is hosted on Weblogic 8.1 GA App Server.
    Request to App Server goes through our iPlanet Web Server, which is hosted
    on
    port 9077.
    The initial page from home page from App server is normal JSP (not part
    of portal)
    so it shows URLs like
    e.g.- http://hostname:9077/something...
    Now when i click on one of the 4 links whcih takes me to the respective
    portal with the port 9077 mentioned in the browser link.
    But the portlets within the portals contains links without 9077 port
    e.g. http://hostname/something...
    The hostname is the name of iPlanet Web Server
    The portal pages (view source) contains absolute address for links without
    port

  • Emergency problem with HttpSession on Weblogic 4.5.1 Service Pack 9

    Hi folks,
              We have such configuration:
              2 WLS instances running as front-end of the system. They basically have
              HttpClusterServlet enabled and act as proxies routing the traffic between
              clients and other WLS servers on back-end.
              2 WLS instances which heavily use servlets with HttpSession and form
              WebLogic cluster.
              DNS round-robining takes care of routing all requests to proxy servers.
              In order to have very good failover we decided to have two proxies, so if
              any of them fails another one will keep routing the traffic.
              The problem is that if one of the proxy servers goes down, then location of
              some HttpSession objects can not be resolved by second running proxy server.
              As far as I know HttpClusterServlet keeps track of all HttpSession object
              created by servlets, their locations (primary & secondary server) and
              basically takes care of redirecting each http request within the same
              session to appropriate server in cluster. I thought that if we have to WLS
              proxies then this mapping about each session is stored in both proxies. It
              looks that it is not the case. It seems to us, that particular HttpSession
              object is managed all time by single proxy server and second one does not
              know anything about such session. The result is that when one the proxy goes
              down, then servlet which calls getHttpSession( true ) ends up with brand new
              session created by another proxy.
              Can it be avoided, so each proxy server knows about all HttpSession objects
              and can still route the traffic if another one is down? Is it possible in
              WebLogic?Are we missing something? Maybe this proxy servers should also form
              another cluster, but then we still need to define entry point? If NOT, we
              need to have official statement.
              It is urgent !!!
              Waldek
              

    Waldek Kozaczuk wrote:
              > Hi folks,
              >
              > We have such configuration:
              >
              > 2 WLS instances running as front-end of the system. They basically have
              > HttpClusterServlet enabled and act as proxies routing the traffic between
              > clients and other WLS servers on back-end.
              Are these configurations identical? I believe both of them are active.
              > 2 WLS instances which heavily use servlets with HttpSession and form
              > WebLogic cluster.
              >
              > DNS round-robining takes care of routing all requests to proxy servers.
              >
              > In order to have very good failover we decided to have two proxies, so if
              > any of them fails another one will keep routing the traffic.
              >
              > The problem is that if one of the proxy servers goes down, then location of
              > some HttpSession objects can not be resolved by second running proxy server.
              Who is redirecting the requests to these proxy servers. Is it possible that
              they dropped the cookie, when the first proxy failed.
              > As far as I know HttpClusterServlet keeps track of all HttpSession object
              > created by servlets, their locations (primary & secondary server) and
              > basically takes care of redirecting each http request within the same
              > session to appropriate server in cluster. I thought that if we have to WLS
              > proxies then this mapping about each session is stored in both proxies. It
              > looks that it is not the case. It seems to us, that particular HttpSession
              > object is managed all time by single proxy server and second one does not
              > know anything about such session. The result is that when one the proxy goes
              > down, then servlet which calls getHttpSession( true ) ends up with brand new
              > session created by another proxy.
              >
              > Can it be avoided, so each proxy server knows about all HttpSession objects
              > and can still route the traffic if another one is down?
              > Is it possible in WebLogic?
              Yes
              > Are we missing something? Maybe this proxy servers should also form
              > another cluster,
              No.
              > but then we still need to define entry point? If NOT, we
              > need to have official statement.
              >
              > It is urgent !!!
              >
              > Waldek
              To help us diagonise the problem you could send us the log files on all the
              servers with weblogic.debug.httpd=true.
              Thanks
              - Prasad
              

  • Problem with security in Weblogic 8.1

    Hi, my name is Jesús Chávez Reyes and it is my first time in this forum.
    My problem is related with security in WL 8.1 because I am new in this matter. My problem is :
    I work in change completely the security of an enterprise application that is deployed in WebLogic 8.1 and your security is a based in a RDBMS Custom Realm in Compatibility Security.
    This application is composed by 18 EJB and 4 web applications.
    The objective of this change is:
    1.- Use a external system for authentication (though a web service).
    2.- If is possible: unbind security of WL for in a future deploy the application in other Server(Jboss for example).
    I'm trying to implement security with Acegi and Spring in a one of the four web applications. I deleted all it has to do with security in deploy descriptors and deleted the realm.
    At this point I can login in , using the Web Service of the external application, without difficulty.
    The problem arises when the application makes an instance of the EJB's. This is the way how the application makes the instances of the EJB:
    InitialContext context = new InitialContext( null );
    Object   = context.lookup(name); // name=GroupSessionFacade   (JNDI Name of EJB)
    EJBHome home = (EJBHome) objref;
    +...+
    GroupSessionFacadeHome home = (GroupSessionFacadeHome) objref;
    groupFacade = home.create();
    In this point GroupSessionFacadeHome home = (GroupSessionFacadeHome) objref the application throws ClassCastException. This happens with all EJB.
    The application work fine before of to use Acegi and remove all it has to do with security. I inspect the Object " objref " before and after and this happen:
    BEFORE
    Class Name: control.ejb.GroupSessionFacadek1696tHomeImpl
    SuperClass : weblogic.ejb20.internal.StatelessEJBHome
    Implement : weblogic.ejb20.internal.StatelessEJBHome , control.ejb.GroupSessionFacadeHome
    AFTER
    Class Name: control.ejb.GroupSessionFacadek1696tHomeImpl
    SuperClass : weblogic.ejb20.internal.StatelessEJBHome
    Implement : weblogic.ejb20.internal.StatelessEJBHome
    Here The object no implements the InterfaceHome "control.ejb.GroupSessionFacadeHome" !!!!!!!!!, this is the cause of ClassCastException.
    What is the problem? Is it a security problem? and if so what do I need to remove or add in the application and has no dependence on anything for the security of Web Logic?
    The deploy descriptors are:
    IN THE WEB APPLICATION
    web.xml
    +<ejb-ref>+
    +<description>Reference to the GroupSessionFacade</description>+
    +<ejb-ref-name>ejb/GroupSessionFacade</ejb-ref-name>+
    +<ejb-ref-type>Session</ejb-ref-type>+
    +<home>control.ejb.GroupSessionFacadeHome</home>+
    +<remote>control.ejb.GroupSessionFacade</remote>+
    +</ejb-ref>+
    IN THE EJB
    ejb-jar.xml
    +<?xml version="1.0"?>+
    +<!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar20.dtd'>+
    +<ejb-jar>+
    +<enterprise-beans>+
    +<session>+
    +<description>GroupSessionFacade</description>+
    +<ejb-name>GroupSessionFacade</ejb-name>+
    +<home>control.ejb.GroupSessionFacadeHome</home>+
    +<remote>control.ejb.GroupSessionFacade</remote>+
    +<ejb-class>control.ejb.GroupSessionFacadeEJB</ejb-class>+
    +<session-type>Stateless</session-type>+
    +<transaction-type>Container</transaction-type>+
    +<ejb-ref>+
    +<ejb-ref-name>ejb/UserManager</ejb-ref-name>+
    +<ejb-ref-type>Session</ejb-ref-type>+
    +<home>control.ejb.UserManagerHome</home>+
    +<remote>control.ejb.UserManager</remote>+
    +</ejb-ref>+
    +<resource-ref>+
    +....+
    +     </enterprise-beans>+
    +<assembly-descriptor>+
    +<container-transaction>+
    +<method>+
    +<ejb-name>GroupSessionFacade</ejb-name>+
    +<method-name>*</method-name>+
    +</method>+
    +<trans-attribute>NotSupported</trans-attribute>+
    +</container-transaction>+
    +</assembly-descriptor>+
    +</ejb-jar>+
    weblogic-ejb-jar.xml
    +<?xml version="1.0"?>+
    +<!DOCTYPE weblogic-ejb-jar PUBLIC+
    +"-//BEA Systems, Inc.//DTD WebLogic 8.1.0 EJB//EN"+
    +"http://www.bea.com/servers/wls810/dtd/weblogic-ejb-jar.dtd">+
    +<weblogic-ejb-jar>+
    +<weblogic-enterprise-bean>+
    +<ejb-name>GroupSessionFacade</ejb-name>+
    +<transaction-descriptor>+
    +<trans-timeout-seconds>600</trans-timeout-seconds>+
    +</transaction-descriptor>+
    +...+
    +<enable-call-by-reference>True</enable-call-by-reference>+
    +<jndi-name>GroupSessionFacade</jndi-name>+
    +</weblogic-enterprise-bean>+
    +</weblogic-ejb-jar>+

    Hi,
    This is the forum to discuss questions and feedback for Microsoft Visio, I'll move your question to the SSIS forum
    http://social.technet.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlintegrationservices
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    George Zhao
    TechNet Community Support

  • URGENT!Oracle Type 2 XA Driver(9.2.0.3)problem with EJB on Weblogic 8.1 SP2

    Hi all,
    In our production environment, we're getting the following exception when client requesting the transaction from EJB but it is not happening all the time. It just happens a couple time on day. I assume that it happens 5 out 100 requests.
    Here is the exception...<br>
    <b>================================<br>
    Exception occurred during commit of transaction Name=[EJB com.xxx.xxx.ejb.MappingTrlsBean.getTranslation(java.math.BigDecimal,java.math.BigDecimal,java.math.BigDecimal,java.sql.Date,java.sql.Date)],Xid=BEA1-48F084989933A1C25F07(31980664),Status=Rolled back. [Reason=oracle.jdbc.xa.OracleXAException],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=76,seconds left=60,XAServerResourceInfo[DS35Pool]=(ServerResourceInfo[DS35Pool]=(state=rolledback,assigned=TTMsvr),xar=DS35Pool),XAServerResourceInfo[DS11Pool]=(ServerResourceInfo[DS11Pool]=(state=rolledback,assigned=TTMsvr),xar=DS11Pool),SCInfo[TTM+TTMsvr]=(state=rolledback),properties=({weblogic.transaction.name=[EJB com.bcbsmn.mappingtrls.ejb.MappingTrlsBean.getTranslation(java.math.BigDecimal,java.math.BigDecimal,java.math.BigDecimal,java.sql.Date,java.sql.Date)]}),local properties=({}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=TTMsvr+172.16.208.50:6333+TTM+t3+, XAResources={},NonXAResources={})],CoordinatorURL=TTMsvr+172.16.208.50:6333+TTM+t3+): oracle.jdbc.xa.OracleXAException
    <br>...............<br><br>
    --------------- nested within: ------------------
    weblogic.transaction.RollbackException: Could not prepare resource 'DS35Pool - with nested exception:
    [oracle.jdbc.xa.OracleXAException]
    <br>==============================</b><br>
    I have a couple of connection pools setup called DS35Pool and DS11Pool.
    The configuration of the both driver is
    1)Driver Classname:oracle.jdbc.xa.client.OracleXADataSource
    using ojdbc14.jar from weblogic 8.1 sp2
    2)Remove Infected Connections Enabled is checked
    3)Allow Shrinking is checked with 900 seconds
    4)Test Reserved Connections is checked
    5)Keep XA Connection Till Transaction Complete is checked
    6)Supports Local Transaction is checked.
    Thank you in advance for any help!!!

    That appears to be a bug in the console. You might try the command-line tool java weblogic.Deployer for deploying apps. java weblogic.Deployer -examples will give detailed usage info.
    -- Rob
    WLS Blog http://dev2dev.bea.com/blog/rwoollen/

  • I have a problem with MBD on weblogic 7 (JMSConnectionAlive = false)

    Hi
    I create a Message Driven Bean with the Jbuilder 7 IDE and deploy it successful on the weblogic 7 (April 2002 released). Although I set a JMS on the weblogic console (connection factory, store file, JMS server, queue destination) When I see Message Driven Bean monitor, I can see my MDB but the JMSConnectionAlive attribute is false! .
    I so write a test JMS client and I can send a message to my JMS provider on the weblogic (I can see message receive number on Active JMS Destination Monitor in the weblogic console), but onMessage() method in my MDB can't receive any things.
    Please help me
    Arman

    I have the same problem and my ejb-jar.xml is as follows, please help me!
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
    <enterprise-beans>
    <message-driven>
    <display-name>TestJMS</display-name>
    <ejb-name>TestJMS</ejb-name>
    <ejb-class>testjmspoject.TestJMSBean</ejb-class>
    <transaction-type>Container</transaction-type>
    <message-driven-destination>
    <destination-type>javax.jms.Queue</destination-type>
    </message-driven-destination>
    </message-driven>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>TestJMS</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>

  • Problems with JSSE under Weblogic 5.1 sp9

    I have a java application which uses JSSE to communicate with a WebMethods server
    and it works great. However, when I take the same code block and run it under
    Weblogic 5.1 sp11, I receive a bad certificate error. After spending a lot of
    time reading through various postings, I fixed the problem where Weblogic was
    intercepting HTTPsURLConnection, but still have the bad_certificate error.
    My setup is as follows:
    - Keys stored using keytool in keystores outside of Weblogic
    - Service pack 9 is installed (also tested SP10)
    - Code runs fine as an isolated java application, but will not run when called
    from within weblogic.
    - JDK1.3.1_02
    - Modified the weblogic.policy file with the following line:"permission java.net.NetPermission
    "specifyStreamHandler";"
    Source Code:
    System.getProperties().put("java.protocol.handler.pkgs",
    "com.sun.net.ssl.internal.www.protocol");
    Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    System.out.println("\n\nHandler = "+System.getProperty("java.protocol.handler.pkgs"));
    URL server = new URL(null, "https://B2bserver.quadrem.com:4443/invoke/wm.tn/receive",
    new com.sun.net.ssl.internal.www.protocol.https.Handler());
    System.out.println("Connecting to : "+server.toExternalForm());
    char[] password = "weblogic".toCharArray();
    SSLContext context = SSLContext.getInstance("SSL");
    KeyManagerFactory keyManagerFactory = KeyManagerFactory.getInstance("SunX509");
    KeyStore keystore = KeyStore.getInstance("JKS");
    keystore.load(new FileInputStream("x:/jpkeystore"), password);
    keyManagerFactory.init(keystore, password);
    context.init(keyManagerFactory.getKeyManagers(), null, null);
    HttpsURLConnection conn = (HttpsURLConnection)server.openConnection();
    conn.setDoInput( true );
    conn.setDoOutput( true );
    conn.setAllowUserInteraction(false);
    conn.setUseCaches( false );
    conn.setDefaultUseCaches ( false );
    conn.setRequestMethod("POST");
    conn.setRequestProperty("Content-Type","text/xml");
    conn.setRequestProperty("Host", remoteHost);
    conn.setRequestProperty("Content-Length", "" + (XML_HEADER.length()+doc.length()));
    DataOutputStream out = new DataOutputStream (conn.getOutputStream());
    out.writeBytes(XML_HEADER);
    out.write(doc.getBytes());
    out.flush();
    out.close();
    All help will be appreciated.
    thanks
    Mark Johnson
    781-993-9212 x375
    [email protected]

    Mark,
    Can you post the complete exceptionand stack trace here ?
    Mark Johnson wrote:
    I have a java application which uses JSSE to communicate with a WebMethods server
    and it works great. However, when I take the same code block and run it under
    Weblogic 5.1 sp11, I receive a bad certificate error. After spending a lot of
    time reading through various postings, I fixed the problem where Weblogic was
    intercepting HTTPsURLConnection, but still have the bad_certificate error.
    My setup is as follows:
    - Keys stored using keytool in keystores outside of Weblogic
    - Service pack 9 is installed (also tested SP10)
    - Code runs fine as an isolated java application, but will not run when called
    from within weblogic.
    - JDK1.3.1_02
    - Modified the weblogic.policy file with the following line:"permission java.net.NetPermission
    "specifyStreamHandler";"
    Source Code:
    System.getProperties().put("java.protocol.handler.pkgs",
    "com.sun.net.ssl.internal.www.protocol");
    Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    System.out.println("\n\nHandler = "+System.getProperty("java.protocol.handler.pkgs"));
    URL server = new URL(null, "https://B2bserver.quadrem.com:4443/invoke/wm.tn/receive",
    new com.sun.net.ssl.internal.www.protocol.https.Handler());
    System.out.println("Connecting to : "+server.toExternalForm());
    char[] password = "weblogic".toCharArray();
    SSLContext context = SSLContext.getInstance("SSL");
    KeyManagerFactory keyManagerFactory = KeyManagerFactory.getInstance("SunX509");
    KeyStore keystore = KeyStore.getInstance("JKS");
    keystore.load(new FileInputStream("x:/jpkeystore"), password);
    keyManagerFactory.init(keystore, password);
    context.init(keyManagerFactory.getKeyManagers(), null, null);
    HttpsURLConnection conn = (HttpsURLConnection)server.openConnection();
    conn.setDoInput( true );
    conn.setDoOutput( true );
    conn.setAllowUserInteraction(false);
    conn.setUseCaches( false );
    conn.setDefaultUseCaches ( false );
    conn.setRequestMethod("POST");
    conn.setRequestProperty("Content-Type","text/xml");
    conn.setRequestProperty("Host", remoteHost);
    conn.setRequestProperty("Content-Length", "" + (XML_HEADER.length()+doc.length()));
    DataOutputStream out = new DataOutputStream (conn.getOutputStream());
    out.writeBytes(XML_HEADER);
    out.write(doc.getBytes());
    out.flush();
    out.close();
    All help will be appreciated.
    thanks
    Mark Johnson
    781-993-9212 x375
    [email protected]

  • Problem with ssl in weblogic 10.3

    I would like to connect from web application on my weblogic to webservices(they are on https) on other server(IIS). What should I add to my weblogic?
    KeyStore with appropriate certificate?
    I got this kind of error when I set keysore prime.jks in weblogic keysotres for option custom identity and custom trust.
    <2009-02-13 14:09:42 CET> <Notice> <Security> <BEA-090171> <Loading the identity certificate and private key stored under the alias prime from the jks keystore file D:\Praca\BEA_10.3\user_projects\domains\domain1\security\prime.jks.>
    <2009-02-13 14:09:42 CET> <Alert> <Security> <BEA-090168> <No identity key/certificate entry was found under alias prime in keystore D:\Praca\BEA_10.3\user_projects\domains\domain1\security\prime.jks on server AdminServer>
    <2009-02-13 14:09:42 CET> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file D:\Praca\BEA_10.3\user_projects\domains\domain1\security\prime.jks.>
    javax.ejb.EJBTransactionRolledbackException: EJB Exception: ; nested exception is: javax.xml.ws.WebServiceException: javax.net.ssl.SSLKeyException: FATAL Alert:BAD_CERTIFICATE - A corrupt or unuseable certificate was received.
    Thanks for all responses.

    I turned on ssldebug and I get following errors:
    <2009-02-16 10:12:01 CET> <Debug> <SecuritySSL> <BEA-000000> <Cannot convert identity certificate
    java.security.cert.CertificateParsingException: PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.3.14.3.2.29
    <2009-02-16 10:12:01 CET> <Debug> <SecuritySSL> <BEA-000000> <Failed to load server trusted CAs
    java.lang.RuntimeException: Cannot convert identity certificate
    <2009-02-16 10:12:01 CET> <Debug> <SecuritySSL> <BEA-000000> <Filtering JSSE SSLSocket>
    <2009-02-16 10:12:01 CET> <Debug> <SecuritySSL> <BEA-000000> <SSLIOContextTable.addContext(ctx): 2090001>
    <2009-02-16 10:12:01 CET> <Debug> <SecuritySSL> <BEA-000000> <SSLSocket will be Muxing>
    <2009-02-16 10:12:01 CET> <Debug> <SecuritySSL> <BEA-000000> <write SSL_20_RECORD>
    <2009-02-16 10:12:01 CET> <Debug> <SecuritySSL> <BEA-000000> <isMuxerActivated: false>
    <2009-02-16 10:12:01 CET> <Debug> <SecuritySSL> <BEA-000000> <961888 SSL3/TLS MAC>
    <2009-02-16 10:12:01 CET> <Debug> <SecuritySSL> <BEA-000000> <961888 received HANDSHAKE>
    <2009-02-16 10:12:01 CET> <Debug> <SecuritySSL> <BEA-000000> <HANDSHAKEMESSAGE: ServerHello>
    <2009-02-16 10:12:01 CET> <Debug> <SecuritySSL> <BEA-000000> <HANDSHAKEMESSAGE: Certificate>
    <2009-02-16 10:12:01 CET> <Debug> <SecuritySSL> <BEA-000000> <NEW ALERT with Severity: FATAL, Type: 42
    java.lang.Exception: New alert stack
    I added to server keystore(as Custom Identity Keystore and Custom Trust Keystore) constaininig privatekey and certicfiacte(downloaded while trying to connect to this webservice by browser).
    Do I have to install IIS plug-in to connect with webservices on IIS?!
    Thanks for all responses.
    Edited by: lukep1984 on 2009-02-16 06:19

  • I am having a problem with requesting new service, I am hoping someone with verizon can assist.

    We are in transistion to a new home.
    Back on 8/9 I registered for service for a temporary residence that I was expecting to be at the time. Unfortunately plans changed at the last minute.
    I am now in the final stages of closing on my new home, and will move in on 9/6-9/7.
    I have reinitiated a request for Fios online. I followed the prompts selecting my service and everything seemed to be going swimingly. I requested installation for 9/9 8am-12pm. I filled out the online registration.
    My verizon user id is paulsur.
    I did not ever get a confirmation email, and I cannot login to my verizon account. it states as disabled.
    I am worried that my service order has not been processed.
    I logged into Verzon support and started a chat with a customer service representative that went absolutely nowhere.
    Can somone please help me with the confirmation of my order, and getting my verzon account working?
    My name is Paul {edited for privacy}
    My contact # is {edited for privacy}
    my email is {edited for privacy}
    Thanks for helping.
    here is the online chat transcript:
    {edited for privacy}

    Your issue has been escalated to a Verizon agent. Please go to your profile page for the forum, and look in the middle, right at the top where you will find an area titled "My Support Cases".  You can reach your profile page by clicking on your name beside your post, or at the top left of this page underneath the title of the board.
    Under “My Support Cases” you will find a link to the private board where you and the agent may exchange information.  This should be checked on a frequent basis  as the agent may be waiting for information from you before they can proceed with any actions. Please keep all correspondence regarding your issue in the private support portal.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer that solved your issue as the accepted solution.

Maybe you are looking for

  • Using 2 internal HD's

    On my G5 Dual 2.5 with OS 10.5.1 startup on the 160gig HD....I have just added a 500gig internal HD (465gig actual) and it is desk mounted. I want to keep the OS and all my applications on the 160gig HD and all my files/docs (lots of music files) on

  • Importing my library

    Okay my cpu got soaked and i have purchased a new one is it possible to take the songs already on my ipod and put them on to my new cpu so my ipod does not lose all the songs i already purchased forever ???

  • Duplicate Library from Conversion of MP3 Files?

    OK, so I converted all of my MP3 music files over into I Tunes to the MP4 or whatever format; Does that mean that I can delete all of the huge files of MP3 music on my hard drive? Or do I need to keep those files for I Tunes to reference back to?

  • Update delayed problem

    when i saving a material there is a problem arises that is update deley proble howe can i solve plz tell me experts

  • RTP for non media format?

    Hi, I wasn't sure if this is the right forum to ask.. But I guess it's worth a try. I am looking into streaming a data file over the network using JMF-RTP. I've looked into the page on "Transmitting and Receiving custom RTP Payloads" from: http://jav