Analzer 7.2.2\BEA WebLogic Base edition

We are upgrading to version 7.2.2 and intend to use BEA WebLogic. <BR><BR>Any experience of this WebLogic Express Base Edition and performance with Analyzer?<BR><BR>Cheers...<BR>

<p>Can you explain as to what exactly are we talking about in termsof performance.</p><p> </p><p>As far as i have seen, weblogic works just fine withAnalyzer.</p>

Similar Messages

  • 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

  • Problem in calling a web service hosted on tomcat from BEA WebLogic portal

    Hi,
    I have a wsdl file for my web service which is hosted on apache tomcat 5.5(running on port : 8080). The contents of the wsdl file are-
    *<?xml version="1.0" encoding="UTF-8"?>*
    *<wsdl:definitions targetNamespace="http://soa.tutorials.serg.edu" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://soa.tutorials.serg.edu" xmlns:intf="http://soa.tutorials.serg.edu" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">*
    *<!--WSDL created by Apache Axis version: 1.4*
    Built on Apr 22, 2006 (06:55:48 PDT)-->
    *<wsdl:types>*
    *<schema elementFormDefault="qualified" targetNamespace="http://soa.tutorials.serg.edu" xmlns="http://www.w3.org/2001/XMLSchema">*
    *<element name="getNums">*
    *<complexType>*
    *<sequence>*
    *<element name="n" type="xsd:int"/>*
    *<element name="m" type="xsd:int"/>*
    *</sequence>*
    *</complexType>*
    *</element>*
    *<element name="getNumsResponse">*
    *<complexType>*
    *<sequence>*
    *<element maxOccurs="unbounded" name="getNumsReturn" type="xsd:int"/>*
    *</sequence>*
    *</complexType>*
    *</element>*
    *<element name="getNums2">*
    *<complexType>*
    *<sequence>*
    *<element name="n" type="xsd:int"/>*
    *<element name="m" type="xsd:int"/>*
    *</sequence>*
    *</complexType>*
    *</element>*
    *<element name="getNums2Response">*
    *<complexType>*
    *<sequence>*
    *<element maxOccurs="unbounded" name="getNums2Return" type="xsd:int"/>*
    *</sequence>*
    *</complexType>*
    *</element>*
    *</schema>*
    *</wsdl:types>*
    *<wsdl:message name="getNums2Request">*
    *<wsdl:part element="impl:getNums2" name="parameters"/>*
    *</wsdl:message>*
    *<wsdl:message name="getNumsRequest">*
    *<wsdl:part element="impl:getNums" name="parameters"/>*
    *</wsdl:message>*
    *<wsdl:message name="getNums2Response">*
    *<wsdl:part element="impl:getNums2Response" name="parameters"/>*
    *</wsdl:message>*
    *<wsdl:message name="getNumsResponse">*
    *<wsdl:part element="impl:getNumsResponse" name="parameters"/>*
    *</wsdl:message>*
    *<wsdl:portType name="Echo">*
    *<wsdl:operation name="getNums">*
    *<wsdl:input message="impl:getNumsRequest" name="getNumsRequest"/>*
    *<wsdl:output message="impl:getNumsResponse" name="getNumsResponse"/>*
    *</wsdl:operation>*
    *<wsdl:operation name="getNums2">*
    *<wsdl:input message="impl:getNums2Request" name="getNums2Request"/>*
    *<wsdl:output message="impl:getNums2Response" name="getNums2Response"/>*
    *</wsdl:operation>*
    *</wsdl:portType>*
    *<wsdl:binding name="EchoSoapBinding" type="impl:Echo">*
    *<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>*
    *<wsdl:operation name="getNums">*
    *<wsdlsoap:operation soapAction=""/>*
    *<wsdl:input name="getNumsRequest">*
    *<wsdlsoap:body use="literal"/>*
    *</wsdl:input>*
    *<wsdl:output name="getNumsResponse">*
    *<wsdlsoap:body use="literal"/>*
    *</wsdl:output>*
    *</wsdl:operation>*
    *<wsdl:operation name="getNums2">*
    *<wsdlsoap:operation soapAction=""/>*
    *<wsdl:input name="getNums2Request">*
    *<wsdlsoap:body use="literal"/>*
    *</wsdl:input>*
    *<wsdl:output name="getNums2Response">*
    *<wsdlsoap:body use="literal"/>*
    *</wsdl:output>*
    *</wsdl:operation>*
    *</wsdl:binding>*
    *<wsdl:service name="EchoService">*
    *<wsdl:port binding="impl:EchoSoapBinding" name="Echo">*
    *<wsdlsoap:address location="http://localhost:8080/SOATest/services/Echo"/>*
    *</wsdl:port>*
    *</wsdl:service>*
    *</wsdl:definitions>*
    I created a client from the above wsdl file using ClientGen wizard in WebLogic. This client contains the follwoing classes-
    Echo.java
    EchoService.java
    EchoService_Impl.java
    Echo_Stub.java
    I created a JSP portlet and the jsp content of it is-
    String url = "http://localhost:8080/SOATest/services/Echo";
    Echo echo = new EchoService_Impl(url).getEcho();
    getNumsResponse = echo.getNums(getNums);
    I tried to call that web service from BEA weblogic portal through a JSP potlet. I got an error saying -
    *<An exception [javax.xml.rpc.ServiceException: Failed to parse WSDL http://localhost:8080/SOATest/services/Echo weblogic.wsee.wsdl.WsdlException: Failed to read wsdl file from url due to -- java.io.IOException: Error at Line:2, token:[OPENTAGBEGIN]All tags must be contained within a single element] was thrown while rendering the content at [TestEcho.jsp].*
    *javax.servlet.ServletException: javax.xml.rpc.ServiceException: Failed to parse WSDL http://localhost:8080/SOATest/services/Echo weblogic.wsee.wsdl.WsdlException: Failed to read wsdl file from url due to -- java.io.IOException: Error at Line:2, token:[OPENTAGBEGIN]All tags must be contained within a single element*
    *     at weblogic.servlet.jsp.PageContextImpl.handlePageException(PageContextImpl.java:420)*
    *     at jsp_servlet.__testecho._jspService(__testecho.java:112)*
    *     at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)*
    *     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)*
    *     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)*
    *     Truncated. see log file for complete stacktrace*
    *javax.xml.rpc.ServiceException: Failed to parse WSDL http://localhost:8080/SOATest/services/Echo weblogic.wsee.wsdl.WsdlException: Failed to read wsdl file from url due to -- java.io.IOException: Error at Line:2, token:[OPENTAGBEGIN]All tags must be contained within a single element*
    *     at weblogic.wsee.jaxrpc.ServiceImpl.throwServiceException(ServiceImpl.java:174)*
    *     at weblogic.wsee.jaxrpc.ServiceImpl.loadWsdlDefinition(ServiceImpl.java:485)*
    *     at weblogic.wsee.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:119)*
    *     at edu.serg.tutorials.soa.EchoService_Impl.<init>(Unknown Source)*
    *     at edu.serg.tutorials.soa.EchoService_Impl.<init>(Unknown Source)*
    *     Truncated. see log file for complete stacktrace*
    *weblogic.wsee.wsdl.WsdlException: Failed to read wsdl file from url due to -- java.io.IOException: Error at Line:2, token:[OPENTAGBEGIN]All tags must be contained within a single element*
    *     at weblogic.wsee.wsdl.WsdlReader.getDocument(WsdlReader.java:313)*
    *     at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:405)*
    *     at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:391)*
    *     at weblogic.wsee.wsdl.WsdlFactory.parse(WsdlFactory.java:79)*
    *     at weblogic.wsee.wsdl.WsdlFactory.parse(WsdlFactory.java:66)*
    *     Truncated. see log file for complete stacktrace*
    *java.io.IOException: Error at Line:2, token:[OPENTAGBEGIN]All tags must be contained within a single element*
    *     at weblogic.xml.domimpl.Loader.load(Loader.java:38)*
    *     at weblogic.wsee.util.dom.DOMParser.getWebLogicDocumentImpl(DOMParser.java:122)*
    *     at weblogic.wsee.util.dom.DOMParser.getDocument(DOMParser.java:65)*
    *     at weblogic.wsee.wsdl.WsdlReader.getDocument(WsdlReader.java:311)*
    *     at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:405)*
    *     Truncated. see log file for complete stacktrace*
    *javax.xml.stream.XMLStreamException: Error at Line:2, token:[OPENTAGBEGIN]All tags must be contained within a single element*
    *     at weblogic.xml.stax.XMLStreamReaderBase.advance(XMLStreamReaderBase.java:206)*
    *     at weblogic.xml.stax.XMLStreamReaderBase.next(XMLStreamReaderBase.java:237)*
    *     at weblogic.xml.domimpl.Loader.load(Loader.java:112)*
    *     at weblogic.xml.domimpl.Loader.load(Loader.java:73)*
    *     at weblogic.xml.domimpl.Loader.load(Loader.java:35)*
    *     Truncated. see log file for complete stacktrace*
    *Error at Line:2, token:[OPENTAGBEGIN]All tags must be contained within a single element*
    *     at weblogic.xml.babel.baseparser.BaseParser.parseProlog(BaseParser.java:417)*
    *     at weblogic.xml.babel.baseparser.BaseParser.parseSome(BaseParser.java:328)*
    *     at weblogic.xml.stax.XMLStreamReaderBase.advance(XMLStreamReaderBase.java:195)*
    *     at weblogic.xml.stax.XMLStreamReaderBase.next(XMLStreamReaderBase.java:237)*
    *     at weblogic.xml.domimpl.Loader.load(Loader.java:112)*
    *     Truncated. see log file for complete stacktrace*
    My web service is using soap binding. I have tested it with eclipse and other tools also. It is working well and good. But when I tried to call a web service which is created and hosted on WebLogic server(running on port : 7001), I got the correct output.
    Can anyone help me out in calling a web service hosted on different server from WebLogic server.
    Thanks in advance,
    Tiijnar
    Edited by: user8715057 on Aug 13, 2009 1:11 AM

    Hi
    1. The way you are invoking the WebService deployed on Tomcat server is looks suspicious. It may be valid by adding extra ?wsdl etc into the url, but still I have not seen this way to invoke the webservice.
    2. So you used Weblogic ant task to generate client JARs by giving this WSDL. So looks like it generated the 4 classes (.java) and in addition any other classes for Request/Response xml objects.
    3. Look at the source code of EchoService.java. It should have one default empty constructor. Internally it uses the default wsdl defined in this class. You will see another constructor that takes WSDL URL as one of the parameters (QName) etc. Echo.java is the class corresponding to the Port. In the same EchoService you should see an instance method like getEcho() something like that. This Echo.java class will have methods for all the Operations defined on this Port. So the standard code snippet we use most of the times will be like this:
    EchoService myEchoService = new EchoService(); // Default it uses WSDL deployed on Tomcat at localhost:8080
    Echo myEchoPort = myEchoService.getEchoPort(); // Something along these lines.
    myEchoPort.xxxYYY(); // NOW this is the operation name that takes the input parameters and returns outputs defined as per the WSDL defintions. If the Input and Outputs are complex xml types, it will have corresponing .JAVA files with setters and getters.
    Now if this WebService is deployed on same Tomcat but on different machine or different port, you just give the full WSDL URL with that host and port in the constructor for new EchoService(...). You may need to instantiate QName object. But look at the methods generated in EchoService.java class.
    The way you are using with Impl and Stubs class may also work. I am not much famiiar with this APIs apporach. Still look at the methods generated in these classes.
    Also if you latest Sun JDK 1.6, it also has one command like wsimport. Infact if you install WLS 10.3 with Sun JDK, it should have C:\beawlp103\jdk160_05\bin\wsimport command. This will also generate client jar given a WSDL URL.
    Thanks
    Ravi Jegga

  • "Publish" a RFC FM in Adaptator BEA Weblogic

    Hi everybody,
      We have "Fighting" to integrate SAP R/3 and BEA Weblogic. Once we have installed Bea Weblogic adapter for SAP, we need to do a test with an easy Function Module. We have created an easy FM and mark as RFC, but we do not find it inside the tree that offers us BEA'S adapter:
    We search in Remote Functions Modules, under Basis, but our Group of Functions does not appear. Any idea ?
    Thank you very much for your help.

    My idea is posting the question to a BEA forum
    Stefan

  • What about session memory when using BEA Weblogic connection pooling?

    Hi,
    consider a web application, allowing database connections via a BEA Weblogic 8.1 application server. The app-server is pooling the oracle connections. The oracle database is running in dedicated server mode.
    How are the database requests from the web app served by the connection pool from BEA?
    1) Does one oracle session serve more than one request simultanously?
    2) Does BEA serialize the requests, which means, that a session from the pool is always serving only one request at a time?
    If (1) is true, than what about the session memory of Oracle sessions? I understand, that things like package global variables are beeing stored in this session private memory. If (1) is true, the PL/SQL programmer has the same situation, as with programming an Oracle databas in "shared server" mode, that is, he should not use package global variables etc.
    Thankful for any ideas...
    Message was edited by:
    Xenofon

    Xenofon Grigoriadis wrote:
    Hi,
    consider a web application, using BEA between client and an Oracle Database (v9i). BEA is pooling the oracle connections. The oracle database is running in dedicated server mode.
    How are the database requests from the web app beeing served by the connection pool from BEA?
    1) Does one oracle session serve more than one request simultanously?no.
    2) Or does BEA serialize the requests, which means, that a session from the pool is always serving only one request at a time?
    Reading "Configuring and Using WebLogic JDBC" from weblogic8.1 documentation, I read:
    "... Your application "borrows" a connection from the pool, uses it, then returns it to the pool by closing it...."
    What do you mean by returning the connection by closing it? Tbe server will either return the connection to the pool or close it...When application code does typical jdbc code, it obtains
    a connection via a WebLogic DataSource, which reserves an
    unused pooled connection and passes it (transparently wrapped)
    to the application. The application uses it, and then closes
    it. WebLogic intercepts the close() call via the wrapper, and
    puts the DBMS connection back into the WebLogic pool.
    The reason, why I as an Oracle programmer ask this is, because every session (=connection)
    in Oracle has its own dedicate, private memory for things like global PL/SQL variables.
    Now I want to figure out, if you have to careful in programming your databases, when
    one Oracle session (=connection) is serving many weblogic requests.It is serving many requests, but always serially. Do note however, that we
    also transparently cache/pool prepared and callable statements with the
    connection so repeat uses of the connection will be able to get already-made
    statements when they call prepareStatement() and prepareCall(). These
    long-lived statements will each require a DBMS-side cursor.
    >
    Thankful for any ideas or practical experience...
    Message was edited by:
    mk637Joe

  • Developing plug-ins for BEA Weblogic Studio

    Can anyone provide pointers on documentation on developing plug-ins for BEA Weblogic Studio (e.g like this one https://beajunitplugin.projects.dev2dev.bea.com/ )
    Regards,
    -N

    film leaders clips can be downloaded online if you dig around a bit ... Peter Wiggins has a nice Motion Template clock he offers for free (which is a bargain by anyones reckoning)
    easy enough to create your own film leader style countdown with a few back to back text generators separated by clock wipe transitions
    color bars can already found in your fcp video generators bin
    color bars and a film leader style countdown can also be auto generated during output (print to video and edit to tape)
    distort faces and license plate like they do on tv? ... ok i give up, what do you mean? if you mean you want to disguise them (Mosaic, Blur etc) then you can have a bash with my Region Blur plugin
    Message was edited by: Andy Mees

  • Crystal Reports in Java with BEA Weblogic (test drive)

    Hello,<br/>
    <br/>
    The question is: What is wrong with Crystal Reports or BEA Weblogic, when they are working together? And how can it be repaired?<br/>
    <br/>
    I have a project working with reports. Tried to implement it for crystal reports and found an interesting problem. Crystal Reports didn't work with BEA Weblogic as well as with other servers. 1-2 years ago we just took Tomcat and worked with it. Right now we are interested in working with BEA.<br/>
    <br/>
    Everything works, but much slower than other servers. The best explanation is just a my tries in the end of the post. I hope some clever man helps me to option Weblogic or at least explains what is wrong.<br/>
    <br/>
    Test results are:<br/>
    <br/>
    - Apache Software Foundation - Tomcat 6.0:<br/>
    ~3 sec for clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);<br/>
    ~1 sec for crystalReportPageViewer.processHttpRequest(request, response, application, null); <br/>
    <br/>
    - OC4J - Oracle Containers for J2EE 10g (10.1.3.3.0):<br/>
    ~4 sec for clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);<br/>
    ~1 sec for crystalReportPageViewer.processHttpRequest(request, response, application, null); <br/>
    <br/>
    - Jetty 7.0.0.pre5:<br/>
    ~2 sec for clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);<br/>
    ~0 sec for crystalReportPageViewer.processHttpRequest(request, response, application, null); <br/>
    <br/>
    - BEA Weblogic 9.2:<br/>
    <b>~30 sec</b> for clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);<br/>
    <b>~8 sec</b> for crystalReportPageViewer.processHttpRequest(request, response, application, null); <br/>
    <br/>
    simple_cr_webapp.war (30 MB) can be downloaded [here|http://rapidshare.com/files/221096566/simple_cr_webapp.war.html] or [here|http://math.ut.ee/~a30858/simple_cr_webapp.war]:<br/>
    crystalreportviewers //all viewers for 2.0
    WEB-INF
      classes
        CRConfig.xml //see WAR - without key, only sets timeout and report location
      lib //all libraries for Eclipse plugin's web-app + j2ee.jar
      web.xml //see WAR - generated by Eclipse plugin
    sample.jsp //see WAR - generated by Eclipse plugin
    sample.rpt //"Consolidated Balance Sheet.rpt" from Eclipse plugin's web-app samples
    <br/>
    P.S. It is also suites if someone gives a simple project with CR, that works well. I really need to get solution for this problem, so any advises are expected.<br/>

    I also tried for different java vendors on BEA Weblogic 9.2.
    Results for Jrockit are above: 30 sec and 8 sec
    Results for Sun are worse than JRockit: 50 sec and 10 sec
    JRockit:
    java version "1.5.0_04"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
    BEA JRockit(R) (build R26.0.0-189_CR269406-59389-1.5.0_04-20060322-1120-win-ia32, )
    JAVA Memory arguments: -Xms500m -Xmx1000m
    Sun:
    java version "1.5.0_04"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
    Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode)
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=256m -XX:MaxPermSize=256m

  • ANN: J2EE Applications & BEA WebLogic Hardcopies Available!

    ** J2EE Applications & BEA WebLogic Hardcopies Available! **
    The first hardcopies of the only programming book to cover J2EE & WebLogic 6
    are now available. For those of you that have already ordered, we thank you.
    In just a few short weeks we have moved up to the No. 42 spot on Amazon.
    If you have not ordered already, you can order now and copies will be
    shipped in just a few short days. The book can be located Amazon.com at the
    following URL:
    http://www.amazon.com/exec/obidos/ASIN/0130911119/ref=ase_learnweblogic/103-
    5396741-5920623
    More information on this book can be located at:
    http://www.learnweblogic.com/.
    ** Overview **
    Building J2EE Applications & BEA WebLogic is targeted at Java programmers
    developing applications for the BEA WebLogic platform, the leading Web
    Application Server in the marketplace today. This book focuses on best
    practices for developing enterprise applications using the WebLogic APIs.
    After reading this book, intermediate or professional-level Java developers
    will possess the skills and knowledge required to develop scalable and
    robust applications on the WebLogic platform.
    The book combines reference and tutorial, taking a step-by-step approach
    that introduces each API and uses it to build a component of the WebAuction
    application, which supports on-line Auctioning on the Web. All software
    needed to build the sample application is included on a CD-ROM that
    accompanies the book. The WebAuction project gives users the opportunity to
    explore significant areas of building a distributed Enterprise Java
    application, including:
    · Planning in advance for scalability and deployment
    · Building presentation logic
    · Establishing database connectivity
    · Creating Enterprise Java Beans for the BEA WebLogic application server
    · Packaging the whole application so that it can be easily managed and
    maintained.
    ** About the Authors **
    Rob Woollen is a Senior Software Engineer at BEA Systems. He is currently
    the lead developer for the WebLogic Server EJB Container. Before joining
    BEA, Rob worked on UNIX Kernel networking for Hewlett-Packard. Rob holds a
    Bachelors degree in Computer Science from Princeton University.
    Michael Girdley is the Director of Product Management for WebLogic Server at
    BEA, a role in which he acts as chief marketing liaison to over 200
    engineers. An experienced application developer in Java, HTML, C, and C++,
    Michael is a co-author of Web Programming with Java (Sams-net Publishing,
    1996) and Java Unleashed, Second Edition (Sams-net Publishing, 1997).
    Michael holds a Bachelors degree in Computer Science with Honors from
    Lafayette College.
    Sandra L. Emerson is a technical writer and consultant with 20 years'
    experience in the software industry. She is a co-author of four computer
    trade books: The Business Guide to the UNIX System (Addison-Wesley, 1984);
    Database for the IBM PC (Addison-Wesley, 1984); Troff Typesetting for UNIX
    Systems (Prentice-Hall, 1987); and The Practical SQL Handbook
    (Addison-Wesley, 1989-99). The fourth edition of The Practical SQL Handbook
    is scheduled for Fall, 2000.

    ** J2EE Applications & BEA WebLogic Hardcopies Available! **
    The first hardcopies of the only programming book to cover J2EE & WebLogic 6
    are now available. For those of you that have already ordered, we thank you.
    In just a few short weeks we have moved up to the No. 42 spot on Amazon.
    If you have not ordered already, you can order now and copies will be
    shipped in just a few short days. The book can be located Amazon.com at the
    following URL:
    http://www.amazon.com/exec/obidos/ASIN/0130911119/ref=ase_learnweblogic/103-
    5396741-5920623
    More information on this book can be located at:
    http://www.learnweblogic.com/.
    ** Overview **
    Building J2EE Applications & BEA WebLogic is targeted at Java programmers
    developing applications for the BEA WebLogic platform, the leading Web
    Application Server in the marketplace today. This book focuses on best
    practices for developing enterprise applications using the WebLogic APIs.
    After reading this book, intermediate or professional-level Java developers
    will possess the skills and knowledge required to develop scalable and
    robust applications on the WebLogic platform.
    The book combines reference and tutorial, taking a step-by-step approach
    that introduces each API and uses it to build a component of the WebAuction
    application, which supports on-line Auctioning on the Web. All software
    needed to build the sample application is included on a CD-ROM that
    accompanies the book. The WebAuction project gives users the opportunity to
    explore significant areas of building a distributed Enterprise Java
    application, including:
    · Planning in advance for scalability and deployment
    · Building presentation logic
    · Establishing database connectivity
    · Creating Enterprise Java Beans for the BEA WebLogic application server
    · Packaging the whole application so that it can be easily managed and
    maintained.
    ** About the Authors **
    Rob Woollen is a Senior Software Engineer at BEA Systems. He is currently
    the lead developer for the WebLogic Server EJB Container. Before joining
    BEA, Rob worked on UNIX Kernel networking for Hewlett-Packard. Rob holds a
    Bachelors degree in Computer Science from Princeton University.
    Michael Girdley is the Director of Product Management for WebLogic Server at
    BEA, a role in which he acts as chief marketing liaison to over 200
    engineers. An experienced application developer in Java, HTML, C, and C++,
    Michael is a co-author of Web Programming with Java (Sams-net Publishing,
    1996) and Java Unleashed, Second Edition (Sams-net Publishing, 1997).
    Michael holds a Bachelors degree in Computer Science with Honors from
    Lafayette College.
    Sandra L. Emerson is a technical writer and consultant with 20 years'
    experience in the software industry. She is a co-author of four computer
    trade books: The Business Guide to the UNIX System (Addison-Wesley, 1984);
    Database for the IBM PC (Addison-Wesley, 1984); Troff Typesetting for UNIX
    Systems (Prentice-Hall, 1987); and The Practical SQL Handbook
    (Addison-Wesley, 1989-99). The fourth edition of The Practical SQL Handbook
    is scheduled for Fall, 2000.

  • J2EE Applications & BEA WebLogic Hardcopies Available!

    ** J2EE Applications & BEA WebLogic Hardcopies Available! **
    The first hardcopies of the only programming book to cover J2EE & WebLogic 6
    are now available. For those of you that have already ordered, we thank you.
    In just a few short weeks we have moved up to the No. 42 spot on Amazon.
    If you have not ordered already, you can order now and copies will be
    shipped in just a few short days. The book can be located Amazon.com at the
    following URL:
    http://www.amazon.com/exec/obidos/ASIN/0130911119/ref=ase_learnweblogic/103-
    5396741-5920623
    More information on this book can be located at:
    http://www.learnweblogic.com/.
    ** Overview **
    Building J2EE Applications & BEA WebLogic is targeted at Java programmers
    developing applications for the BEA WebLogic platform, the leading Web
    Application Server in the marketplace today. This book focuses on best
    practices for developing enterprise applications using the WebLogic APIs.
    After reading this book, intermediate or professional-level Java developers
    will possess the skills and knowledge required to develop scalable and
    robust applications on the WebLogic platform.
    The book combines reference and tutorial, taking a step-by-step approach
    that introduces each API and uses it to build a component of the WebAuction
    application, which supports on-line Auctioning on the Web. All software
    needed to build the sample application is included on a CD-ROM that
    accompanies the book. The WebAuction project gives users the opportunity to
    explore significant areas of building a distributed Enterprise Java
    application, including:
    · Planning in advance for scalability and deployment
    · Building presentation logic
    · Establishing database connectivity
    · Creating Enterprise Java Beans for the BEA WebLogic application server
    · Packaging the whole application so that it can be easily managed and
    maintained.
    ** About the Authors **
    Rob Woollen is a Senior Software Engineer at BEA Systems. He is currently
    the lead developer for the WebLogic Server EJB Container. Before joining
    BEA, Rob worked on UNIX Kernel networking for Hewlett-Packard. Rob holds a
    Bachelors degree in Computer Science from Princeton University.
    Michael Girdley is the Director of Product Management for WebLogic Server at
    BEA, a role in which he acts as chief marketing liaison to over 200
    engineers. An experienced application developer in Java, HTML, C, and C++,
    Michael is a co-author of Web Programming with Java (Sams-net Publishing,
    1996) and Java Unleashed, Second Edition (Sams-net Publishing, 1997).
    Michael holds a Bachelors degree in Computer Science with Honors from
    Lafayette College.
    Sandra L. Emerson is a technical writer and consultant with 20 years'
    experience in the software industry. She is a co-author of four computer
    trade books: The Business Guide to the UNIX System (Addison-Wesley, 1984);
    Database for the IBM PC (Addison-Wesley, 1984); Troff Typesetting for UNIX
    Systems (Prentice-Hall, 1987); and The Practical SQL Handbook
    (Addison-Wesley, 1989-99). The fourth edition of The Practical SQL Handbook
    is scheduled for Fall, 2000.

    ** J2EE Applications & BEA WebLogic Hardcopies Available! **
    The first hardcopies of the only programming book to cover J2EE & WebLogic 6
    are now available. For those of you that have already ordered, we thank you.
    In just a few short weeks we have moved up to the No. 42 spot on Amazon.
    If you have not ordered already, you can order now and copies will be
    shipped in just a few short days. The book can be located Amazon.com at the
    following URL:
    http://www.amazon.com/exec/obidos/ASIN/0130911119/ref=ase_learnweblogic/103-
    5396741-5920623
    More information on this book can be located at:
    http://www.learnweblogic.com/.
    ** Overview **
    Building J2EE Applications & BEA WebLogic is targeted at Java programmers
    developing applications for the BEA WebLogic platform, the leading Web
    Application Server in the marketplace today. This book focuses on best
    practices for developing enterprise applications using the WebLogic APIs.
    After reading this book, intermediate or professional-level Java developers
    will possess the skills and knowledge required to develop scalable and
    robust applications on the WebLogic platform.
    The book combines reference and tutorial, taking a step-by-step approach
    that introduces each API and uses it to build a component of the WebAuction
    application, which supports on-line Auctioning on the Web. All software
    needed to build the sample application is included on a CD-ROM that
    accompanies the book. The WebAuction project gives users the opportunity to
    explore significant areas of building a distributed Enterprise Java
    application, including:
    · Planning in advance for scalability and deployment
    · Building presentation logic
    · Establishing database connectivity
    · Creating Enterprise Java Beans for the BEA WebLogic application server
    · Packaging the whole application so that it can be easily managed and
    maintained.
    ** About the Authors **
    Rob Woollen is a Senior Software Engineer at BEA Systems. He is currently
    the lead developer for the WebLogic Server EJB Container. Before joining
    BEA, Rob worked on UNIX Kernel networking for Hewlett-Packard. Rob holds a
    Bachelors degree in Computer Science from Princeton University.
    Michael Girdley is the Director of Product Management for WebLogic Server at
    BEA, a role in which he acts as chief marketing liaison to over 200
    engineers. An experienced application developer in Java, HTML, C, and C++,
    Michael is a co-author of Web Programming with Java (Sams-net Publishing,
    1996) and Java Unleashed, Second Edition (Sams-net Publishing, 1997).
    Michael holds a Bachelors degree in Computer Science with Honors from
    Lafayette College.
    Sandra L. Emerson is a technical writer and consultant with 20 years'
    experience in the software industry. She is a co-author of four computer
    trade books: The Business Guide to the UNIX System (Addison-Wesley, 1984);
    Database for the IBM PC (Addison-Wesley, 1984); Troff Typesetting for UNIX
    Systems (Prentice-Hall, 1987); and The Practical SQL Handbook
    (Addison-Wesley, 1989-99). The fourth edition of The Practical SQL Handbook
    is scheduled for Fall, 2000.

  • BEA Weblogic AS 9.2 close pool connections - messages BEA-001128 in logs

    Hello,
    We have problems with BEA Weblogic AS 9.2 SP3. From time to time servers stop responding and seem to be stuck.
    In logs there are plenty of messages like this:
    ####<Jun 16, 2009 3:08:49 PM CEST> <Info> <JDBC> <SRV-WLS3> <PRD-J> <[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1245157729759> <BEA-001128> <Connection for pool "GoD-PRD" closed.>
    ####<Jun 16, 2009 3:08:49 PM CEST> <Info> <JDBC> <SRV-WLS3> <PRD-J> <[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1245157729759> <BEA-001128> <Connection for pool "GoD-PRD" closed.>
    ####<Jun 16, 2009 3:08:49 PM CEST> <Info> <JDBC> <SRV-WLS3> <PRD-J> <[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1245157729759> <BEA-001128> <Connection for pool "GoD-PRD" closed.>
    ####<Jun 16, 2009 3:08:49 PM CEST> <Info> <JDBC> <SRV-WLS3> <PRD-J> <[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1245157729774> <BEA-001128> <Connection for pool "GoD-PRD" closed.>
    ####<Jun 16, 2009 3:08:49 PM CEST> <Info> <JDBC> <SRV-WLS3> <PRD-J> <[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1245157729774> <BEA-001128> <Connection for pool "GoD-PRD" closed.>
    ####<Jun 16, 2009 3:08:49 PM CEST> <Info> <JDBC> <SRV-WLS3> <PRD-J> <[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1245157729774> <BEA-001128> <Connection for pool "GoD-PRD" closed.>
    ####<Jun 16, 2009 3:08:49 PM CEST> <Info> <JDBC> <SRV-WLS3> <PRD-J> <[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1245157729774> <BEA-001128> <Connection for pool "GoD-PRD" closed.>
    ####<Jun 16, 2009 3:08:49 PM CEST> <Info> <JDBC> <SRV-WLS3> <PRD-J> <[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1245157729774> <BEA-001128> <Connection for pool "GoD-PRD" closed.>
    ####<Jun 16, 2009 3:08:50 PM CEST> <Info> <Common> <SRV-WLS3> <PRD-J> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-4A32C18C5F55D8E4A47E> <> <1245157730603> <BEA-000628> <Created "5" resources for pool "GoD-PRD", out of which "5" are available and "0" are unavailable.>
    ####<Jun 16, 2009 3:12:13 PM CEST> <Info> <Common> <SRV-WLS3> <PRD-J> <[ACTIVE] ExecuteThread: '22' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-637BC18C5F55D8E4A47E> <> <1245157933416> <BEA-000628> <Created "5" resources for pool "GoD-PRD", out of which "5" are available and "0" are unavailable.>
    What exactly this message mean? Does it show some invalid behavior in application or it is just standard notice message?
    What should be behavior of app. server when transaction is timed out on database and closed there? We have timeout for one operation on Oracle set on 10 minutes. Maybe there is a connection between the problems?
    Thanks allot!
    Miroslav

    Test is not enabled. Network should be stable all time - part of one switch.
    Here is a configuration for no-TX source:
    <?xml version='1.0' encoding='UTF-8'?>
    <jdbc-data-source xmlns="http://www.bea.com/ns/weblogic/90" xmlns:sec="http://www.bea.com/ns/weblogic/90/security" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wls="http://www.bea.com/ns/weblogic/90/security/wls" xsi:schemaLocation="http://www.bea.com/ns/weblogic/920 http://www.bea.com/ns/weblogic/920.xsd">
    <name>GoD-PRD</name>
    <jdbc-driver-params>
    <url>jdbc:oracle:thin:@db_server:1521:cml</url>
    <driver-name>oracle.jdbc.xa.client.OracleXADataSource</driver-name>
    <properties>
    <property>
    <name>user</name>
    <value>our_user</value>
    </property>
    </properties>
    <password-encrypted>xxxxxx</password-encrypted>
    </jdbc-driver-params>
    <jdbc-connection-pool-params>
    <initial-capacity>1</initial-capacity>
    <max-capacity>100</max-capacity>
    <capacity-increment>5</capacity-increment>
    <test-connections-on-reserve>false</test-connections-on-reserve>
    <test-table-name>SQL SELECT 1 FROM DUAL</test-table-name>
    </jdbc-connection-pool-params>
    <jdbc-data-source-params>
    <jndi-name>idit.jdbc.IDITDS</jndi-name>
    <global-transactions-protocol>OnePhaseCommit</global-transactions-protocol>
    </jdbc-data-source-params>
    </jdbc-data-source>
    Edited by: myroch on 14.7.2009 4:48

  • BEA Weblogic performance issue

    Hi All,
    We are using bea weblogic 10.2.
    We have some performance issue in our production.
    We face the proble like
    1. Our bea query takes maxixmum cpu utilization in the oracle databse.
    process are content upload, update, expiry and report fetching.
    2. When we run BEA query for report it takes around 10 min to run and content count is around 70,000,
    is this OK?
    3. Some times we get Socket connection error.
    4. Sometimes we get portal datasource connection pool error, currently it is set as 30.
    5. Almost every process is slow.
    Can anyone help me for optimization?
    From BBA,
    we idetified the query which is taking high CPU utilization..
    SELECT
    DISTINCT B.NODE_ID, B.NODE_VERSION_ID, B.CM_MODIFIED_DATE, B.MODIFIED_BY,B.VERSION_COMMENT,
    B.LIFECYCLE_STATUS,A.OBJECT_CLASS_ID,A.REPOSITORY_NAME
    FROM CMV_NODE A, CMV_NODE_VERSION B,(SELECT NODE_ID, MAX(CAST(NODE_VERSION_ID AS INTEGER)) NVI
    FROM CMV_NODE_VERSION GROUP BY NODE_ID) A1, ( SELECT B.NODE_ID,B.NODE_VERSION_ID, B.CM_MODIFIED_DATE,
    B.MODIFIED_BY, B.VERSION_COMMENT, B.LIFECYCLE_STATUS, A.OBJECT_CLASS_ID, A.REPOSITORY_NAME FROM CMV_NODE A,
    CMV_NODE_VERSION B, CMV_NODE_VERSION_PROPERTY N1, CMV_PROPERTY P1, CMV_VALUE_V V1 WHERE A.NODE_ID = B.NODE_ID
    AND B.NODE_ID = N1.NODE_ID AND B.NODE_VERSION_ID = N1.NODE_VERSION_ID AND N1.PROPERTY_ID = P1.PROPERTY_ID
    AND P1.PROPERTY_ID = V1.PROPERTY_ID AND P1.PROPERTY_NAME = :1 AND (UPPER(V1.TEXT_VALUE) LIKE :2 ESCAPE :"SYS_B_0" )
    UNION
         SELECT B.NODE_ID, B.NODE_VERSION_ID, B.CM_MODIFIED_DATE, B.MODIFIED_BY, B.VERSION_COMMENT,
    B.LIFECYCLE_STATUS, A.OBJECT_CLASS_ID, A.REPOSITORY_NAME FROM CMV_NODE A, CMV_NODE_VERSION B, CMV_NODE_
    Edited by: Arvind Rai on Apr 13, 2010 12:49 PM

    If your DB CPU is pegged, then anything that does db operations will take time (including some portal operations). If you take a thread dump you should be able to see them waiting on the DB
    When we run BEA query for report it takes around 10 min to run and content count is around 70,000,No. If it causes your CPU to max out it isnt. However your content items arent that much, so what query are you running? You could always export and import just the content tables and run your queries on some other machine (Assuming this is the cause)
    3. Some times we get Socket connection error.More information needed
    4. Sometimes we get portal datasource connection pool error, currently it is set as 30.What is the error?
    5. Almost every process is slow.If the DB is maxed this is what you should expect.
    When is the query fired? Are your indexes created? I assume caching is not much good to you since these are reporting queries?

  • BEA Weblogic JSR compliant portal - Modes supported.

    Hi,
    The JSR 168 spec has the provision to support custom modes in addition to the default modes like view , help & edit . I want to know what are the custom modes supported by the Bea Web logic portal which is JSR 168 compliant.
    In specific iam looking for is does the bea weblogic portal support Edit defaults mode. How this mode works is Assume a publisher create a portlet with some defaults and publishes it , and then when another logged in user sees the portlet he will see the portlet with those defaults which he can go and edit based on his customization. Just wanted to know if this mode is supported by the Edit default mode.
    Thanks
    Mouli

    Hi,
    The JSR 168 spec has the provision to support custom modes in addition to the default modes like view , help & edit . I want to know what are the custom modes supported by the Bea Web logic portal which is JSR 168 compliant.
    In specific iam looking for is does the bea weblogic portal support Edit defaults mode. How this mode works is Assume a publisher create a portlet with some defaults and publishes it , and then when another logged in user sees the portlet he will see the portlet with those defaults which he can go and edit based on his customization. Just wanted to know if this mode is supported by the Edit default mode.
    Thanks
    Mouli

  • BEA WebLogic plugin

    A footnote on the OTN download page says this is only shipped out-of-the-box and not available online. I have a box full of CD's from Oracle, marked PeopleStoft 8.48 Media Pack. It includes CD's for BEA WebLogic Server and Oracle App Server. Am I looking in the right place for this plugin?
    Whopps: wrong forum. How do I go about getting this moved to the Extensibility forum?
    Message was edited by:
    matDBA

    How do I go about getting this moved to the Extensibility forum?Just create a new post in Extensibility forum with the same question
    http://forums.oracle.com/forums/forum.jspa?forumID=219

  • Inqmy resource adapter for SAP with Bea Weblogic Server

              Hi everybody,
              Anybody have tried to use INQMY resource adapter for SAP with Bea weblogic server
              It works well with INQMY server, but with BEA I'm getting a lot of problems creating
              the connections.
              Thanks in advance.
              Xavi.
              

    All,
              Here are the steps we (used for internal testing) had to perform to get
              IN-Q-MY adapter for SAP to work with WebLogic:
              The wli.adapter.inqmy.sapr3.spi package contains extensions to the
              In-Q-My J2EE Connector Architecture classes to overcome some limitations
              in the base implementation classes. To get around these issues, we had
              to extend their R3ManagedConnectionFactory, R3ConnectionManager, and
              R3ConnectionFactory classes.
              * The javax.resource.spi.ManagedConnectionFactory implementation
              does not over-ride the equals and hashCode methods correctly. This
              causes problems with WLS 6.1.
              * There is a bug in their javax.resource.spi.ConnectionManager
              implementation for non-managed uses of the adapter. Consequently, their
              adapter cannot be used in a non-managed scenario.
              * The javax.resource.cci.ConnectionFactory class does not support
              the getConnection() method that does not take any arguments (it throws a
              null pointer exception).
              I am attaching the classes discussed above.
              Cheers,
              Chris
              Torsten Friebe wrote:
              > Hi,
              >
              > does anybody know where to get a trail version - if one exists - of IN-Q-MY
              > application server or the resource adapter?
              >
              > Thanks, regards
              > Torsten
              >
              > "Xavi" <[email protected]> schrieb im Newsbeitrag
              > news:[email protected]...
              >
              >>Hi everybody,
              >>
              >>Anybody have tried to use INQMY resource adapter for SAP with Bea weblogic
              >>
              > server
              >
              >>?
              >>
              >>It works well with INQMY server, but with BEA I'm getting a lot of
              >>
              > problems creating
              >
              >>the connections.
              >>
              >>Thanks in advance.
              >>Xavi.
              >>
              >>
              >
              >
              package wli.adapter.inqmy.sapr3.spi;
              import java.io.Serializable;
              import javax.resource.ResourceException;
              import javax.resource.cci.Connection;
              import javax.resource.cci.ConnectionSpec;
              import javax.resource.spi.ConnectionManager;
              import javax.resource.spi.ConnectionRequestInfo;
              import javax.resource.spi.ManagedConnection;
              import javax.resource.spi.ManagedConnectionFactory;
              import com.inqmy.r3adapter.R3ConnectionSpec;
              import com.inqmy.r3adapter.R3ManagedConnectionFactory;
              * Extends the In-Q-My implementation to allow for getConnection() with no
              * connection spec, i.e. use the default configured connection parameters.
              public class R3ConnectionFactory
              extends com.inqmy.r3adapter.R3ConnectionFactory
              implements com.bea.connector.IProxyMarker {
              private R3ConnectionSpec m_cspec;
              public R3ConnectionFactory(ConnectionManager cm, R3ManagedConnectionFactory mcf)
              throws ResourceException {
              super(cm, mcf);
              String strClientNumber = mcf.getClientNumber();
              if (strClientNumber == null) {
              throw new javax.resource.spi.IllegalStateException("ClientNumber not set for "+mcf);
              String strLanguage = mcf.getLanguage();
              if (strLanguage == null) {
              throw new javax.resource.spi.IllegalStateException("Language not set for "+mcf);
              String strUserName = mcf.getUserName();
              if (strUserName == null) {
              throw new javax.resource.spi.IllegalStateException("UserName not set for "+mcf);
              String strPassword = mcf.getPassword();
              if (strPassword == null) {
              throw new javax.resource.spi.IllegalStateException("Password not set for "+mcf);
              m_cspec = new R3ConnectionSpec(strClientNumber, strLanguage, strUserName, strPassword);
              public Connection getConnection(ConnectionSpec connectionSpec)
              throws ResourceException {
              if (connectionSpec == null) connectionSpec = m_cspec;
              return super.getConnection(connectionSpec);
              package wli.adapter.inqmy.sapr3.spi;
              import java.io.Serializable;
              import javax.resource.ResourceException;
              import javax.resource.spi.ConnectionManager;
              import javax.resource.spi.ConnectionRequestInfo;
              import javax.resource.spi.ManagedConnection;
              import javax.resource.spi.ManagedConnectionFactory;
              * Extends the In-Q-My implementation to over-ride the
              * allocateConnection method to return a CCI connection vs. a ManagedConnection
              public class R3DefaultConnectionManager
              implements ConnectionManager, Serializable {
              public R3DefaultConnectionManager() {}
              public Object
              allocateConnection(ManagedConnectionFactory mcf, ConnectionRequestInfo cri)
              throws ResourceException {
              ManagedConnection mc = mcf.createManagedConnection(null, cri);
              return mc.getConnection(null, cri);
              package wli.adapter.inqmy.sapr3.spi;
              import javax.resource.spi.ConnectionManager;
              import javax.resource.spi.ConnectionRequestInfo;
              import javax.resource.spi.ManagedConnection;
              import javax.security.auth.Subject;
              * Extends the In-Q-My implementation to get around some problems encountered
              * while running on WebLogic:
              * <ul>
              * <li>Must over-ride default implementation of equals and hashCode method</li>
              * <li>Needed to provide my version of the CCI ConnectionFactory</li>
              * <li>Needed to provide my version of the default ConnectionManager for the
              * non-managed scenario use case</li>
              * </ul>
              public class R3ManagedConnectionFactory
              extends com.inqmy.r3adapter.R3ManagedConnectionFactory {
              private int m_iHashCode;
              transient private com.inqmy.r3adapter.R3ConnectionRequestInfo t_cri = null;
              public R3ManagedConnectionFactory() {
              super();
              java.rmi.server.UID uid = new java.rmi.server.UID();
              m_iHashCode = uid.hashCode();
              public Object createConnectionFactory() {
              // need to install our own default connection manager because In-Q-My
              // version causes a ClassCastException in CCI ConnectionFactory
              // getConnection
              return createConnectionFactory(new R3DefaultConnectionManager());
              public ManagedConnection createManagedConnection(Subject subject, ConnectionRequestInfo cri)
              throws javax.resource.ResourceException {
              // need to check for null on the ConnectionRequestInfo object because the
              // In-Q-My R3ManagedConnection ctor does not check for null
              if (cri == null) cri = getDefaultConnectionRequestInfo();
              return new com.inqmy.r3adapter.R3ManagedConnection(this, subject, cri);
              public Object createConnectionFactory(ConnectionManager connectionManager) {
              // need to supply a connection factory that can deal with getConnection
              // that does not take a ConnectionSpec
              try {
              return new R3ConnectionFactory(connectionManager, this);      
              } catch (javax.resource.ResourceException re) {
              re.printStackTrace();
              throw new java.lang.IllegalStateException(re.getMessage());
              com.inqmy.r3adapter.R3ConnectionRequestInfo getDefaultConnectionRequestInfo()
              throws javax.resource.spi.IllegalStateException {
              if (t_cri == null) {
              String strClientNumber = this.getClientNumber();
              if (strClientNumber == null) {
              throw new javax.resource.spi.IllegalStateException("ClientNumber not set for "+this);
              String strLanguage = this.getLanguage();
              if (strLanguage == null) {
              throw new javax.resource.spi.IllegalStateException("Language not set for "+this);
              String strUserName = this.getUserName();
              if (strUserName == null) {
              throw new javax.resource.spi.IllegalStateException("UserName not set for "+this);
              String strPassword = this.getPassword();
              if (strPassword == null) {
              throw new javax.resource.spi.IllegalStateException("Password not set for "+this);
              t_cri = new com.inqmy.r3adapter.R3ConnectionRequestInfo(strClientNumber, strLanguage, strUserName, strPassword);
              return t_cri;
              public boolean equals(Object obj) {
              if (obj == null) return false;
              if (obj == this) return true;
              if (!this.getClass().isInstance(obj)) return false;
              R3ManagedConnectionFactory mcf = (R3ManagedConnectionFactory)obj;
              return compare(getClientNumber(), mcf.getClientNumber()) &&
              compare(getLanguage(), mcf.getLanguage()) &&
              compare(getUserName(), mcf.getUserName()) &&
              compare(getPassword(), mcf.getPassword()) &&
              compare(getServerName(), mcf.getServerName()) &&
              compare(getSystemNumber(), mcf.getSystemNumber());
              protected final boolean compare(final Object obj1, final Object obj2) {
              if (obj1 == obj2) return true;
              if (obj1 != null) {
              return obj1.equals(obj2);
              } else {
              if (obj2 == null) {
              return true;
              } else {
              return false;
              public int hashCode() { return m_iHashCode; }
              

  • How to setup and run JSP project in BEA Weblogic

    i am trying to run my JSP project located in c:\project. i am actually running it in Tomcat webserver, this time i wanna test it in bea weblogic server, i have downloaded a version 8.1, before purchasing the software for development use, i wanna know and test first BEA's integrity and use... my question is how can i set up the base document path that i have in tomcat in bea, so i can just point it to such directory and run it directly using port 7001 for bea weblogic server..
    can anybody help me get tru it step-by-step??
    help please...

    Jason Combras napisa?(a):
    how can i set up the base document path that i have in tomcat in bea, so i can just point it to such directory and run it directly using port 7001 for bea weblogic server..
    can anybody help me get tru it step-by-step??
    help please...Jason,
    Simplest way "in my opinion":
    1. start weblogic Server. You can use Server with examples. This domain
    is already configured, so You will not need any domain configuration tasks.
    2. open weblogic administration console using browser
    http://localhost:7001/console/. Log in.
    3. On the left side choose Deployments -> Web Application Modules
    4. Click "Deploy a new Web Application Module"
    5. Find folder with Your application. Mark it and click Target Module.
    6. Define Application name and click Deploy
    7. If deployed successfully, Your application should be accessible at
    http://localhost:7001/YourApplicationContextRoot
    Best Regards,
    KArol Muszynski

Maybe you are looking for

  • Web Analysis Report Migration from 9.3.1. to 11.1.1.3

    Hi All, We are migrating from 9.3.1 to 11.1.1.3 we have couple of web analysis reports running on the old server 9.3.1 and now i have to migrate those reports on the new server 11.1.1.3. Reports in 9.3.1 are in windows servers and it should me migrat

  • Error in invoking target install of make file /opt/oracle/product/9.0.1/ctx/lib/ins_c

    I am trying to install Oracle 9i database release 2 on Linux RedHat 7.3. I got error message from OUI during the linking Oracle database error in invoking target install of make file /opt/oracle/product/9.0.1/ctx/lib/ins_ctx.mk Any input is greatly a

  • How do you add the files name to images within a PDF

    I have been searching the web trying to find an answer to this question, I am not sure what the proper term is called, but I refer to it as a 'coded pdf'. Hopefully someone knows what I am talking about and can help me find an answer! The end product

  • Reset Release while editing in VA02

    Hi All, I have activated status profile and selected the object types below. Sales Order Header Sales order item. I have created the following in BS02. 10 CRTD Create SO 10 30 1 1   - Create Delivery  - Forbidden (for User1) 20 REL Release SO 20 30 1

  • Windows 7/CS4

    Hello all, The computer lab where I have been  teaching Dreamweaver CS4 upgraded from Windows XP to Windows 7 Enterprise  (32bit).  I'm running CS4 under Windows 7 Professional 64-bit.  All systems have had updates installed (Version shows as 10.0 Bu