BATCHUPDATE in WebLogic8.1 SP3

Hi!,
I am trying to use the weblogic.Admin's BATCHUPDATE utility to check the status of Connection Pools.The command which i am using is ...
${JAVA_HOME}/bin/java -classpath $CLASSPATH weblogic.Admin -url <adminUrl:port> -username ${USERNAME} -password ${PASSWD} BATCHUPDATE -batchFile ./wlCommands_new.txt -continueOnError -batchCmdVerbose
and I have the following in wlCommands_new.txt
GET -type JDBCConnectionPoolRuntime -property State -property Parent -property Name,
When I try to run the above command it gives No MBeans Found. But when I run the same command at the command prompt it gives me the output of all the managed servers.
I tried running the command by changing the admin url to managed servers url and it gives the result of the particular managed server.
Is there anyway that I could get the result for all the managed servers with one BATCHUPDATE utility
Thanks for you help in Advance....
Sai.

We have similar problem with GMT and BST. We haven't found a solution yet,
but it was something to do with the chnage to JDK1.4
Pete
"Cheenu" <[email protected]> wrote in message
news:3fa2595a$[email protected]..
>
Hi,
In Weblogic8.1 when I print date it returns in this format with GMT (WedOct
29 16:57:07 GMT+05:30 2003). This extra GMT just affects my parsing as theformat
was set for (Sat Feb 08 17:18:26 IST 2003). But this works on Solaris. Doi have
to change any settings?
Thanks,
Cheenu

Similar Messages

  • An issue of first using weblogic8.1 sp3

    I just installed a weblogic8.1 sp3.
    I opened the weblogic server console, and login. Then I found there is no tree in the left of the paper. It is blank.
    I want to know how to solve this problem.
    My OS is windows xp sp2.

    You must install the JRE 1.4 for your browser ...
    The Navigation tree is an applet.
    Jin

  • DomainMBean.getServers() does not work in Weblogic8.1 sp5

    My code for getting server instances in current domain was working fine in Weblogic8.1 sp3. Now on sp5, getServers() returns empty array. In sp5 release notes http://e-docs.bea.com/wls/docs81/notes/resolved_sp05.html#1879329 CR201967 it says getActiveDomain returns "local Configuration DomainMBean" in sp5. Should it not return servers then? How do I get the servers now?
    my code:
    MBeanHome mbeanhomeAdmin = (MBeanHome)((Context)ctx).lookup(MBeanHome.ADMIN_JNDI_NAME);
    DomainMBean domaiNMbean = mbeanhomeAdmin.getActiveDomain();
    ServerMBean aservermbean[] = domainMBean.getServers();
    for(int i = 0; i < aservermbean.length; i++){
    sbean = aservermbean ;
    port = sbean.getListenPort();

    Ashish,
    I ran into this issue myself. Here's the orkaround I used.
    ObjectName on = new ObjectName(mbeanhomeAdmin.getDomainName()+":Name="+mbeanhomeAdmin .getDomainName()+",Type=Domain");
    DomainMBean domainMbean = (DomainMBean) mbeanhomeAdmin.getMBean(on);
    HTH,
    -satya
    BEA Blog:
    http://dev2dev.bea.com/blog/sghattu/
    Get Involved in CodeShare:
    https://wls-console-extensions.projects.dev2dev.bea.com/
    https://wlnav.projects.dev2dev.bea.com/
    https://eclipse-wlst.projects.dev2dev.bea.com/
    https://wlst.projects.dev2dev.bea.com/

  • Java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException

    Hi, I created a webservice using weblogic8.1 sp3 workshop. On my desktop, I tested the webservice with a java client and it worked fine. When I deployed webservice application on UNIX production server, it deployed successfully and it displayed WSDL file too. But, when I run java client from desktop to access this webservice on UNIX server, it is throwing the following exception.
    java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: EXCEPTION: java.lang.NoClassDefFoundError [ServiceException]
    Detail:
    <detail>
    null </detail>; nested exception is:
    javax.xml.rpc.soap.SOAPFaultException: EXCEPTION: java.lang.NoClassDefFoundError [ServiceException]
    at weblogic.jws.proxies.MyServiceSoap_Stub.getInfo(MyServiceSoap_Stub.java:31)
    at SoapClient.main(SoapClient.java:17)
    Caused by: javax.xml.rpc.soap.SOAPFaultException: EXCEPTION: java.lang.NoClassDefFoundError [ServiceException]
    at weblogic.webservice.core.ClientDispather.receive(ClientDispatcher.java:313)
    at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:144)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:457)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:443)
    at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:290)
    at weblogic.jws.proxies.MyServiceSoap_Stub.getInfo(MyServiceSoap_Stub.java:26)
    can somebody please help me. This is very critical for me.
    Thanks in advance.

    Hi, I created a webservice using weblogic8.1 sp3 workshop. On my desktop, I tested the webservice with a java client and it worked fine. When I deployed webservice application on UNIX production server, it deployed successfully and it displayed WSDL file too. But, when I run java client from desktop to access this webservice on UNIX server, it is throwing the following exception.
    java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: EXCEPTION: java.lang.NoClassDefFoundError [ServiceException]
    Detail:
    <detail>
    null </detail>; nested exception is:
    javax.xml.rpc.soap.SOAPFaultException: EXCEPTION: java.lang.NoClassDefFoundError [ServiceException]
    at weblogic.jws.proxies.MyServiceSoap_Stub.getInfo(MyServiceSoap_Stub.java:31)
    at SoapClient.main(SoapClient.java:17)
    Caused by: javax.xml.rpc.soap.SOAPFaultException: EXCEPTION: java.lang.NoClassDefFoundError [ServiceException]
    at weblogic.webservice.core.ClientDispather.receive(ClientDispatcher.java:313)
    at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:144)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:457)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:443)
    at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:290)
    at weblogic.jws.proxies.MyServiceSoap_Stub.getInfo(MyServiceSoap_Stub.java:26)
    can somebody please help me. This is very critical for me.
    Thanks in advance.

  • Stored procedure in a transaction problem

    hello to everybody
    I have an application under weblogic8.1 sp3.
    I have to call an Oracle stored procedure that populate a table and I have to see the new record anly at the end of the ejb service transaction ( a Container transaction ).When the procedure terminate I see the db data before the transaction end.So I have created a XA DataSource and changed the oracle 9.2 thin drivers in oracle 9.2 thin drivers XA.But Now I receive this Oracle Error:
    ORA-02089: COMMIT is not allowed in a subordinate session
    Why?How Can I resolve my problem?Can Anyone Help Me?Thanks...

    giorgio giustiniani wrote:
    hello to everybody
    I have an application under weblogic8.1 sp3.
    I have to call an Oracle stored procedure that populate a table and I have to see the new record anly at the end of the ejb service transaction ( a Container transaction ).When the procedure terminate I see the db data before the transaction end.So I have created a XA DataSource and changed the oracle 9.2 thin drivers in oracle 9.2 thin drivers XA.But Now I receive this Oracle Error:
    ORA-02089: COMMIT is not allowed in a subordinate session
    Why?How Can I resolve my problem?Can Anyone Help Me?Thanks...It sounds like you have transactional syntax embedded in your
    procedure. You can't do that and still include it in an XA
    transaction.
    Joe

  • PreparedStatement wrapper behavior when SQLException is thrown

    Environment:
    weblogic8.1 sp3
    IBM db2 (universal) type 4 driver
    StatementCacheSize=0
    Use case:
    The code uses a PreparedStatement to insert let's say 60000 rows in a loop.
    The method used is executeUpdate() inside the loop. Some insertion
    attempts let's say 20000 are throwing duplicate primary key exception,
    which is fine. When such exception occurs it is skipped and the code
    continues with the next iteration inside the loop.
    Problem:
    Only one PreparedStatement is used in the code. Apparently the weblogic
    wrapper around the PreparedStatement is using a new wrapped
    PreparedStatement every time that a SQLException (in our case duplicate
    primary key) occurs when calling executeUpdate(). The result is that
    after ~7000 iterations in the loop (it's depend how much resources the
    database was allocated for the current session) the database throws another
    SQLException saying that there are no more memory resources for this
    session.
    Consequence:
    Memory consumption is extremely high – the loop cannot finish.
    I am guessing here: Every iteration in the loop that throws a SQLException
    causes the wrapper to use a new PreparedStatement which means execution
    of connection.prepareStatement() again – unnecessary roundtrip to the
    database.
    Note:
    The code was tested inside the weblogic container with different
    database MySQL - same behavior.
    The code work without any problems outside of the weblogic container and
    it uses only one object of type PreparedStatement.
    Thanks,
    Assen

    Assen Sotirov wrote:
    The code executes inside a POJO. Thus we can execute it as a standalone application or in EJB Session with CMP. There are only two differences:
    1) how a Connection is obtained - directly using the JDBC driver (standalone) or getting it from a DataSource (inside weblogic)
    2) how commit/rollback is done - directly using the Connection (standalone) or declare it in xml descriptor (inside weblogic)
    Connection pool definition:
    <JDBCConnectionPool
    Name="upsnd3db"
    DriverName="com.ibm.db2.jcc.DB2Driver"
    MaxCapacity="4"
    Password="{3DES}+BLABLABLABLABLA=="
    Properties="user=BLABLA"
    StatementCacheSize="0"
    StatementCacheType="LRU"
    Targets="pcs"
    URL="jdbc:db2://BLABLABLABLABLA:BLA/BLA"/>
    Turning the jdbc loggin on produces (IBM driver has rather verbose output, so I will truncate it):
    [Connection@b0c5a] prepareStatement (insert into ...) called
    [Connection@b0c5a] prepareStatement () returned PreparedStatement@b9979b
    [PreparedStatement@b9979b] setString (1, 00037NHD1 ) called
    [PreparedStatement@b9979b] setDate (2, 2005-09-01) called
    [PreparedStatement@b9979b] setTimestamp (9, 2005-09-15 15:26:12.093) called
    [PreparedStatement@b9979b] executeUpdate () called
    com.ibm.db2.jcc.c.SqlException
    ....at com.ibm.db2.jcc.c.cl.d(cl.java:1039)
    ....at com.ibm.db2.jcc.c.cm.executeUpdate(cm.java:311)
    ....at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:115)
    BEGIN TRACE_DIAGNOSTICS
    com.ibm.db2.jcc.c.SqlException:
    DB2 SQL error:
    SQLCODE: -803,
    SQLSTATE: 23505,
    [Connection@b0c5a] prepareStatement (insert into ...) called
    [Connection@b0c5a] prepareStatement () returned PreparedStatement@9830bc
    [PreparedStatement@9830bc] setString (1, 000759BA7 ) called
    Notice that the StatementCacheSize is 0 and also a new PreparedStatement is allocated and used after the SQLException is thrown. This contradict to your statement:
    I see, and I see something in the code. I have attached a
    patch to tey (get it ahead of the weblogic.jar in the
    server classspath).
    thanks
    Joe
    I am saying that for a zero-cache setup, the serverside statement wrapper
    won't change in any loop, and neither will the DBMS driver statement it
    wraps, regardless of any exceptions during execute() calls.Thanks,
    Assen

  • Portal Backing file -- ClassNotFoundException

    I am using weblogic8.1 SP3. I try to give a backing file for .portal desktop. I put this backing file, PortalBacking.java in the portal project root directory which is the same directory as .portal file. And give PortalBacking.java in Backing File properties. When I run, I got "ClassNotFoundException" for my backing file.
    I put backing file under a directory and give a full path(basically package name to Backing File Properties) and got "ClassNotFoundException" too.
    Can someone tell me what I missing ? Thank you very much for help.

    Find your sampleportal application under weblogic81\samples\portal\portalApp\sampleportal\ .
    You can find some sample backing files under WEB-INF\src\examples\login
    Hope this helps...
    --stefan                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to specify a cipher suit used between plugin and weblogic server?

    I install Weblogic8.1 SP3 which supports for strong cipher suits, and config an apache 2.50 server as an front end.
    I config appache to use 2 way SSL with browser and wls one way SSL with apache plugin. Then config apache to forward client certs to WLS. now the problem is, I can see that the SSL connection between browser and apache uses a strong cipher suit('SSL_RSA_WITH_RC4_128_MD5'), but the ssl connection bwtween apache plugin and WLS uses a weak cipher suit('SSL_RSA_EXPORT_WITH_RC4_40_MD5'), with the SnoopServlet, although I use the mod_wl128_20.so module. How can I increase the cipher strength of SSL between WLS and it's apache plugin?
    Thanks in advance.
    Best
    Regards
    Jean

    Hello Gunaseelan,
    This is not possible because WLS 6.1 needs a config.xml file, exactly this
    name, to start.
    What you can do is to define a recovery domain, called myrecovery_domain for
    instance, and put the config_recovery.xml, renamed "config.xml".
    Hope this helps,
    Ludovic.
    Developer Relations Engineer
    BEA Support.
    "Gunaseelan Venkateswaran" <[email protected]> a écrit dans le message
    news: 3cd6a324$[email protected]..
    >
    Hi,
    I have 2 weblogic startup scripts (startWebLogic.sh and
    startWebLogic_recovery.sh) for the same domain.
    startWebLogic.sh uses config.xml file.
    I would like to use config_recovery.xml as the configuration file forstartWebLogic_recovery.sh
    >
    >
    How would I do this ?
    I am using WebLogic Server 6.1 on SunOS 5.8 / HP-UX 11.0.
    Appreciate any help.
    Regards
    Gunaseelan Venkateswaran

  • Memleak cannot work when start the management server by ctrlhandler.act

    Hi, all
    I use ctrlhandler.act to start a management server on running system. when start the memleak detector, i got the error message on server output:
    [JRockit] ManagementServer started trend analysis
    java.lang.NullPointerException
    Continuing ...
    java.lang.Exception: discarding statement XMLEncoder0.writeObject(HeapHistogram0);
    Continuing ...
    but when I started the management server with command line -Xmanagement. all is ok. What's the matter?
    Thanks a lot!

    Sorry, the jrocki version is 1.4.2_05 and 1.4.2_08.
    And the os: windows XP professional and Redhat AD 7.2
    And the weblogic server version is 'weblogic8.1 sp3'
    any suggestion? Thank you!

  • Can one portlet listen to one of the action in second portlet ?

    I have portlet A which listen to portlet B. Within portlet B there are several actions. But I really want is portlet A listen to ONLY ONE action in portlet B, Not all the actions in portlet B.
    Is there a way I can do this in Weblogic8.1 SP3 ? If yes, can someone give out some information(details) about it?
    Thanks a lot. Very appreciate your help.

    Read the docs on inter portlet communication. What you saying should be possible.
    Kunal Mittal

  • Struts DTDs fail to validate

    I am using WebLogic8.1 sp3 and am trying to deploy an application that uses struts-blank.war from the Struts 1.2.2 binary distribution. The .EAR that I built errors when deploying and fails to run, complaining that it cannot connect to jakarta.apache.org to validate some XML files. I downloaded the DTDs locally and modified the references to them in order to get things to work.
    I am behind a firewall. Does anyone know if there is a way to configure weblogic or Struts to use a proxy?
    Since I need to deploy my application to customers that may also be behind a firewall or don't have an internet connection, I feel that I need to include local copies of the DTDs. Unfortunately, I cannot get my deployment to find them unless I specify the absolute paths to the files and this is not a portable solution. Any ideas?

    Hey yiwei,
    Welcome to the BlackBerry Support Community Forums.
    If you're receiving this error you will need a PC to finish the upgrade by going to www.blackberry.com/update
    -ViciousFerret
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Like! for those who have helped you.
    Click  Accept as Solution for posts that have solved your issue(s)!

  • Jrockit81sp3_142_04 crash & weblogic instance start up failure.

    <b>We've 2 managed servers with Weblogic8.1 SP3 running in a clustered environment. One of the managed server crashed by creating a jrockit.dump file. The JRockit version used is jrockit81sp3_142_04. While attempting to start the server the start up fails and the following error message has been logged in the log files.
    </b><br><br>
    [memory ] GC strategy: parallel [memory ] heap size: 262144K, maximal heap size: 524288K [memory ] start time of collection (seconds since jvm start) [memory ] - end time of collection (seconds since jvm start) [memory ] - memory used by objects before collection (KB) [memory ] - memory used by objects after collection (KB) [memory ] - size of heap after collection (KB) [memory ] - total pause time during collection (milliseconds) [load ] opened zip /opt/bea/jrockit81sp3_142_04/jre/lib/i386/jrockit/libjvm.so [load ] closed zip /opt/bea/jrockit81sp3_142_04/jre/lib/rt.jar [load ] opened zip /opt/bea/jrockit81sp3_142_04/jre/lib/sunrsasign.jar [load ] opened zip /opt/bea/jrockit81sp3_142_04/jre/lib/jsse.jar [load ] opened zip /opt/bea/jrockit81sp3_142_04/jre/lib/jce.jar [load ] opened zip /opt/bea/jrockit81sp3_142_04/jre/lib/charsets.jar [load ] opened zip /opt/bea/jrockit81sp3_142_04/jre/lib/managementapi.jar [load ] initiated 080 0 (nil)/java/lang/Object [load ] define 080 0 (nil)/java/lang/Object [load ] Failed to load native library: /opt/bea/jrockit81sp3_142_04/jre/bin/libverify.so: /opt/bea/jrockit81sp3_142_04/jre/bin/libverify.so: cannot open shared object file: No such file or directory [load ] Failed to load native library: /opt/bea/jrockit81sp3_142_04/jre/lib/libverify.so: /opt/bea/jrockit81sp3_142_04/jre/lib/libverify.so: cannot open shared object file: No such file or directory [load ] Loaded native library: /opt/bea/jrockit81sp3_142_04/jre/lib/i386/libverify.so [load ] created: java/lang/Object : 1.0137 ms [load ] java/lang/Object : 1.0921 ms [load ] initiated 080 1 (nil)/java/io/Serializable [load ] java/io/Serializable : 0.0127 ms ERROR: Could not find class java/io/Serializable. ERROR: library init failed on commons. Could not create the Java virtual machine.
    <br><br>
    <b>The JAVA_HOME has been set to JRockit SDK. (JAVA_HOME=/opt/bea/jrockit81sp3_142_04)
    <br>
    What could have caused this failure? Any hints?
    <br>
    Thanks
    <br>
    Sunil. </b>

    I had exactly the same problem as you.
    I found I did something really dump & In weblogic, where you specify the arguements for using the Class paths, I accidentally placed a space inbetween an arguement.
    In the following location of the weblogic console:
    Domain\Clusters\Cluster_Name\Configuration Tab\Remote Start Tab\Arguements
    Instead of having say:
    -Xms768m -Xmx768m -Xgc:gencon -Xns:128m -Dcom.vignette.portal.installdir.path=C://portal
    I had:
    -Xms768m -Xmx768m -Xgc:gencon -Xns:128m - Dcom.vignette.portal.installdir.path=C:/portal
    Spot the mistake ;)
    This was enough to make the compiler fail with the following error:
    ERROR: Could not find class java/io/Serializable.
    ERROR: library init failed on commons.
    Could not create the Java virtual machine.

  • Can not run Struts-Faces in weblogic.. Any suggestions

    Hi,
    I had downloaded the struts-faces application from apache and was trying to run with tomcat, it is working fine but when I am trying to run it with weblogic 8.1 it gives this error,
    Parsing of JSP File '/index.jsp' failed:
    /index.jsp(5): Error in using tag library uri='http://struts.apache.org/tags-faces' prefix='s': The Tag class 'org.apache.struts.faces.taglib.CommandLinkTag' has no setter method corresponding to TLD declared attribute 'actionListener', (JSP 1.1 spec, 5.4.1)
    probably occurred due to an error in /index.jsp line 5:
    <%@ taglib prefix="s" uri="http://struts.apache.org/tags-faces" %>
    Anybody has the same problem? Any help is appreciated.
    Thanks,
    Sushant

    Hi,
    You have to add these 2 lines in your JSP.
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    By the way, weblogic8.1 (SP2) doesn't support JSF. You need to have a patch for that. But Weblogic8.1(SP3) supports.
    -Nir

  • Problem with Weblogic SP3

    Hi everyone,
    Lately we upgraded from Weblogic8.1 SP2 to SP3. After re-creating the domains, I installed the service with -DWeblogic.Stdout=d:\logs\stdout.log -DWeblogic.Stderr=d:\logs\stderr.log parameters during it's startup. To my surprise, I found weblogic logging stdout information in stderr.log !!
    Now is this a bug? Or am I missing out anything that's new in Weblogic SP3. I visited the bea site and didn't get any info on that.
    Can anyone please shed some light?

    Hi,
    The application consists of struts1.1 in the web layer.
    All user entered data are wrapped in a map and using
    dispatcher controller (session bean) the respective
    business objectss (session beans - Tx attribute is
    'Required') are called by passing the map data which
    in turn, executes the business logic based on the user
    provided data.
    The session beans calling the entity beans to do
    create/update/delete jobs in database.
    To retrieve data from database, we are using iBatis
    framework and queries are being fired from session
    beans.
    In some of the functionality, we are using stored
    procedure (SQL server 2000), which are being called
    from within session bean.
    I think, wherever, we are calling SP from session bean.
    some local transactions are being created, which I
    could not identify so far.We did not create any nested
    transaction within stored procedure.
    Please ignore the same posting I did in another topic.
    Regds.
    DJ

  • Crystal Report 2008 SP3 and BO XI 3.1 conflict

    Hi every body,
    We have a BOE system:
    BO XI 3.1
    Oracle db 10g
    All running successful and can create some types of WebI report.
    But we also want reports with Crystal Report.
    1> So we install Crystal Report 2008 SP3 (without knowing the conflict error between BO XI 3.1 and Crystal Report 2008 SP3 and overwrite some .dll file). After installing, we can not create WebI report any more. And a error message box display: "DBDriver failed to load: C:\Program File\Business Objects\BusinessObjects ENterprise12.0\win32_x86\dataAccess\connectionServer\dbd_oci.dll ".
    2> We uninstall Crystal Report SP3. But this is not the solution. Still error because of missing .dll files.
    3> We open BO XI 3.1 setup and repair BO XI 3.1. Even we uninstall BO XI 3.1, delete all of its components and delete in regedit key. We install BO XI 3.1 again. Now we have full .dll file, not missing them any more. But when we open universe and click on Table browser, cannot fetching any tables.
    We set rights for Oracle DB user again. But still error: cannot fetching.
    4> We searched the solution for this problem on the internet. But not worked, no answer.
    Can somebody help me bring back the BOE system state again ? pls   :"<
    T______T

    Hi Paul,
    I hope I read your question right!
    Yes, It is possible to run XIR2 and 3.1 on the same server although it's not recommended by BO. You will need to make sure they are both pointing to different CMS databases and different FRS repositories, like you already mentioned you will need to specify different ports for the CMS db and Tomcat.
    Why not uninstall Business Objects XI R2 in your BO development environment or a spare server (if you have one), and do a clean install of XI 3.1 SP3.
    Tip: If you were already having performance issues with your XI R2 environment, I would seriously consider upgrading the hardware. XI 3.1 needs a bit more RAM and CPU than XI R2
    Regards
    Rim Geurts

Maybe you are looking for