Socket response buffering

Hello,
I'm working on a project that retrieves partial content of very large files from a server using http. The intent is to read only the header of the file and then close the connection. Here is an example code snippet;
public void readUsingUrlConnection(Url url) {
        URLConnection conn = url.openConnection();
        conn.connect();
        InputStream is = conn.getInputStream();
        //read and process is...
}Using ethereal, we have noticed that the server immediately sends data following the call to getInputStream before the client code begins reading off the input stream. In fact, the server sends a lot more data then the client needs to parse the header (~74K). So obviously this data is being buffered on the client side, but how is this buffer size controlled? Is the buffering occuring at the OS level?
We have tried to implement this code at the socket level using setSendBufferSize, but the buffer size seems to have no relation to the amount of data being sent from the server.
Any suggestions or hints as to how to control the data flow?
Thanks!

Err, the send buffer is for sending. Try
controlling the receive buffer.Oops, I meant "receive", but my hands and keyboard conspired to type "send".
I have since been able to adjust the size of the receive buffer. Well, sort of. I have not been able to set the receive buffer size to a value less than 16k. If i selected a value less than 16k, the getReceiveBufferSize was returning 4k, but ethereal showed my window size on acks still being set to 64k. I'm guessing 16k is a hardware limitation for ethernet?

Similar Messages

  • Problem with socket responses with flex

    Hi, I am using the code below to connect to an IMAP server.
    When I telnet to the server and use the commands that I am sending in the code, the rsponses are correct.
    However, when I run the code below, I only obtain the ready and logged in responses as shown below.
    Any ideas why I am not receiving the full set of responses from the socket?
    Thanks in advance fro your advice.
    The following is the output from the code:
    +++++++++++++++++ START SENDING IMAP DATA +++++++++++++++++++++++++
    sent: . login user1 myPassword
    sent: . status INBOX (messages)
    sent: . select INBOX
    +++++++++++++++++ END SENDING IMAP DATA +++++++++++++++++++++++++
    ++++++++ [IMAP START]
    Response is: * OK Dovecot ready.
    [IMAP END] +++++++++
    ++++++++ [IMAP START]
    Response is: . OK Logged in.
    [IMAP END] +++++++++
    The code is:
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark"
       xmlns:mx="library://ns.adobe.com/flex/mx"
       applicationComplete="init()">
    <fx:Declarations>
    <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
    <fx:Script>
    <![CDATA[
    public var dataStr:String;
    private var socket:Socket;
    private var serverURL:String= "dead.org";
    private var serverPort:int = 143;
    private var serverResponse:ByteArray = new ByteArray();
    private function init():void
      this.serverURL = serverURL;
      this.serverPort = serverPort;
      socket = new Socket();
      socket.addEventListener(ProgressEvent.SOCKET_DATA,handleNewIMAPData); //Event when socket receives new data
      this.connectToServer();
      sendIMAPdata();
    private function sendString(dataStr:String):void
      var bytes:ByteArray = new ByteArray();
      bytes.writeMultiByte(dataStr, "UTF-8");
      socket.writeBytes(bytes);
      socket.flush();
      trace("sent: " + dataStr);
    public function sendIMAPdata():void
      trace("\t +++++++++++++++++ START SENDING IMAP DATA +++++++++++++++++++++++++");
      dataStr =". login user1 myPassword" + "\r\n";
      sendString(dataStr);
      dataStr =". status INBOX (messages)" + "\r\n";
      sendString(dataStr);
      dataStr =". select INBOX" + "\r\n";
          sendString(dataStr);
      trace("\t +++++++++++++++++ END SENDING IMAP DATA +++++++++++++++++++++++++");
    private function handleNewIMAPData(event:ProgressEvent):void
      var numBytes:int = socket.bytesAvailable;
      serverResponse = new ByteArray();
      while(socket.bytesAvailable)
        var byte:int = socket.readUnsignedByte();
    serverResponse.writeByte(byte);
      var response:String = serverResponse.toString();
      trace(" ++++++++ [IMAP START]\n Response is: " + response + "[IMAP END] +++++++++\n");
    private function connectToServer():void
      socket.connect(serverURL, serverPort);
    ]]>
    </fx:Script>
    </s:WindowedApplication>

    When I run telnet, the console responses are the same as the tcpdump messages.
    When I run the program, the messages from tcpdump match the messages in my trace statements.
    The messages from telnet and running the program are different:-)
    I can only assume (at the moment) that I am sending multiple messages too quickly(?), but I did a quick and dirty big "for loop" to slow down the sending of subsequent messages, but with no resulting change in the programs behaviour.
    So, still thinking about the problem -  unfortunately.

  • Problem with data socket server

    We have developed a program (from LabVIEW 6.1 running on Windows NT) consisting of a main executable and four other executables dedicated to collecting various i/o information. The four i/o executables convert raw data into process data and pass it on to the main executable using Data Sockets. The data is assembled as a cluster, then flattened into a string, which is published to a data socket variable. The data cluster contains a time stamp used by the main executable to verify i/o is being updated periodically (at least once a second). The main executable generates an alarm if the timestamp gets to be more than 5 to 15 seconds old, depending on the expected data. Typically, this alarm never happens, unless an i/o device is powered down o
    r disconnected, or an executable or Data Socket Server is terminated.
    The problem we are is experiencing is that false alarms are being generated, at precise intervals of exactly 5 days, 18 hours, 1 minute, and 1 second. The alarm condition occurs then clears immediately. The only thing I can think of is the data socket is somehow "cleared" for some reason at this interval, causing the main executable to momentarily read a time stamp of zero, and generate an alarm. Is there anything that might be corrupting the data sockets at a long interval like this? The worst thing is that the alarm horn gets falsely triggered, so we are trying to resolve this but can not see anything in any of the code to cause such an occurrence.
    Thanks in advance for your help.
    Brian Hajder
    Despatch Industries
    8860 207th Street West
    Lakeville, MN 55044
    Phone: 952.469.8111
    Fax: 952.469.4513
    [email protected]

    Hello Matt,
    Thank you for reading & responding. I should try to summarize this specific application in a little more detail.
    We have built a manufacturing tool for a customer that is controlled by a single Windows NT PC, for which we have developed 5 executables using LabView 6.1. The main executable provides the user interface. The other four executables are dedicated to control & monitoring of specific i/o devices (serial or IEEE-488). The i/o executables pass data to and receive commands from the main using data sockets. The PC is not on any type of network. The main executable supports an optional SEMI standard host link through its ethernet port, but that is not currently active or connected. A total of 13 data sockets are used, to implement si
    mple "one way" traffic through any socket, making buffering unnecessary. Some data sockets (i/o data to and from main) are updated a few times a second at most, commands from the main may only be updated a few times a day.
    Data from each of the i/o executables includes a time stamp indicating the last valid i/o hardware read time. The main uses this data from each i/o executable to determine whether i/o hardware is responding properly - if the timestamp gets to be anywhere from 5 to 15 seconds old (depending on which i/o is being checked), an i/o failure alarm for that device is raised.
    What seems to be happening is that, periodically, precisely every 496,861 seconds, two or more of the timestamps are found to be too old; I am assuming some external event is momentarily clearing socket data & the zero value timestamps look very old, thus triggering alarms at the exact same second. The alarm conditions clear up in less than one second.
    I wonder what you mean by "the datasocket
    server resetting"? Is this documented anywhere?
    Thanks for plowing through this wordy description, I appreciate any help you can suggest.
    Brian

  • Socket input / output stream

    Does anyone know if the input / output streams returned by getInputStream() / getOutputStream() in java.net.Socket are buffered by default?

    y they are buffered, but to use the buffer, you have to use available() and read(byte[] buf ...

  • Error while starting manages server

    Hi All.
    M facing problem while starting managed server, this might be related to sip server as i see this in the error log. when i click on the sip server tab in the console then io see below error :-
    +++++++++
    Error opening /ext-jsp/sipserver/ConfigGeneralForm.jsp.
    The source of this error is:
    javax.servlet.ServletException: weblogic.servlet.jsp.CompilationException: Failed to compile JSP /ext-jsp/sipserver/ConfigGeneralForm.jsp
    Exception occurred while processing '/bea/wls/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/sipserver-console-ext/ext-jsp/sipserver/ConfigGeneralForm.jsp'java.lang.OutOfMemoryError: PermGen space
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
         at com.bea.core.repackaged.jdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:67)
         at com.bea.core.repackaged.jdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:152)
         at com.bea.core.repackaged.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:717)
         at com.bea.core.repackaged.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:377)
         at com.bea.core.repackaged.jdt.internal.compiler.Compiler.compile(Compiler.java:422)
         at weblogic.jsp.internal.java.JDTJavaCompiler.generateByteCode(JDTJavaCompiler.java:104)
         at weblogic.jsp.internal.java.JavaSourceFile._codeGen(JavaSourceFile.java:211)
         at weblogic.jsp.internal.java.JavaSourceFile.codeGen(JavaSourceFile.java:201)
         at weblogic.jsp.internal.ProxySourceFile.compileGeneratedFiles(ProxySourceFile.java:310)
         at weblogic.jsp.internal.ProxySourceFile.codeGen(ProxySourceFile.java:248)
         at weblogic.jsp.internal.SourceFile.codeGen(SourceFile.java:327)
         at weblogic.jsp.internal.client.ClientUtilsImpl$CodeGenJob.run(ClientUtilsImpl.java:599)
         at weblogic.jsp.internal.client.Job.performJob(Job.java:83)
         at weblogic.jsp.internal.client.ThreadPool$WorkerThread.run(ThreadPool.java:217)
    Caused by: weblogic.servlet.jsp.CompilationException: Failed to compile JSP /ext-jsp/sipserver/ConfigGeneralForm.jsp
    Exception occurred while processing '/bea/wls/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_internal/consoleapp/jxhze9/console-ext/sipserver-console-ext/ext-jsp/sipserver/ConfigGeneralForm.jsp'java.lang.OutOfMemoryError: PermGen space
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
         at com.bea.core.repackaged.jdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:67)
         at com.bea.core.repackaged.jdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:152)
         at com.bea.core.repackaged.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:717)
         at com.bea.core.repackaged.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:377)
         at com.bea.core.repackaged.jdt.internal.compiler.Compiler.compile(Compiler.java:422)
         at weblogic.jsp.internal.java.JDTJavaCompiler.generateByteCode(JDTJavaCompiler.java:104)
         at weblogic.jsp.internal.java.JavaSourceFile._codeGen(JavaSourceFile.java:211)
         at weblogic.jsp.internal.java.JavaSourceFile.codeGen(JavaSourceFile.java:201)
         at weblogic.jsp.internal.ProxySourceFile.compileGeneratedFiles(ProxySourceFile.java:310)
         at weblogic.jsp.internal.ProxySourceFile.codeGen(ProxySourceFile.java:248)
         at weblogic.jsp.internal.SourceFile.codeGen(SourceFile.java:327)
         at weblogic.jsp.internal.client.ClientUtilsImpl$CodeGenJob.run(ClientUtilsImpl.java:599)
         at weblogic.jsp.internal.client.Job.performJob(Job.java:83)
         at weblogic.jsp.internal.client.ThreadPool$WorkerThread.run(ThreadPool.java:217)
         at weblogic.servlet.jsp.JavelinxJSPStub.reportCompilationErrorIfNeccessary(JavelinxJSPStub.java:226)
         at weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:162)
         at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:256)
         at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:216)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:243)
         ... 184 more
    ++++++++
    Below is the config.xml file i am using :-
    <?xml version="1.0" encoding="UTF-8"?>
    <domain xsi:schemaLocation="http://xmlns.oracle.com/weblogic/security/wls http://xmlns.oracle.com/weblogic/security/wls/1.0/wls.xsd http://xmlns.oracle.com/weblogic/domain http://xmlns.oracle.com/weblogic/1.0/domain.xsd http://xmlns.oracle.com/weblogic/security http://xmlns.oracle.com/weblogic/1.0/security.xsd http://xmlns.oracle.com/weblogic/security/xacml http://xmlns.oracle.com/weblogic/security/xacml/1.0/xacml.xsd" xmlns="http://xmlns.oracle.com/weblogic/domain" xmlns:sec="http://xmlns.oracle.com/weblogic/security" xmlns:wls="http://xmlns.oracle.com/weblogic/security/wls" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <name>base_domain</name>
    <domain-version>10.3.4.0</domain-version>
    <security-configuration xmlns:xacml="http://xmlns.oracle.com/weblogic/security/xacml" xmlns:pas="http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator">
    <name>base_domain</name>
    <realm>
    <sec:authentication-provider xsi:type="wls:default-authenticatorType"/>
    <sec:authentication-provider xsi:type="wls:default-identity-asserterType">
    <sec:active-type>AuthenticatedUser</sec:active-type>
    </sec:authentication-provider>
    <sec:role-mapper xsi:type="xacml:xacml-role-mapperType"/>
    <sec:authorizer xsi:type="xacml:xacml-authorizerType"/>
    <sec:adjudicator xsi:type="wls:default-adjudicatorType"/>
    <sec:credential-mapper xsi:type="wls:default-credential-mapperType"/>
    <sec:cert-path-provider xsi:type="wls:web-logic-cert-path-providerType"/>
    <sec:cert-path-builder>WebLogicCertPathProvider</sec:cert-path-builder>
    <sec:name>myrealm</sec:name>
    <sec:password-validator xsi:type="pas:system-password-validatorType">
    <sec:name>SystemPasswordValidator</sec:name>
    <pas:min-password-length>8</pas:min-password-length>
    <pas:min-numeric-or-special-characters>1</pas:min-numeric-or-special-characters>
    </sec:password-validator>
    </realm>
    <default-realm>myrealm</default-realm>
    <credential-encrypted>{AES}Ax9F8YRCZJqRRoPcjJxTwS03NgNAJSUjUcQ0vMJybMfkxNKN3YZCRsR+jEQrT/n3/KU4Kn5WXqCILWifqYRDlmnGGryHuNEEK83B/FCoBb1h8T47+ML1pULyyNpGPaFq</credential-encrypted>
    <node-manager-username>weblogic</node-manager-username>
    <node-manager-password-encrypted>{AES}G0nkKdRHqwIqNXGqn7lArIXG1SfKKdkWwTOyZ4SmkwE=</node-manager-password-encrypted>
    </security-configuration>
    <server>
    <name>AdminServer</name>
    <self-tuning-thread-pool-size-min>15</self-tuning-thread-pool-size-min>
    <socket-readers>2</socket-readers>
    <ssl>
    <name>AdminServer</name>
    <enabled>true</enabled>
    </ssl>
    <machine>Machine_1</machine>
    <listen-address/>
    <network-access-point>
    <name>sip</name>
    <protocol>sip</protocol>
    <listen-port>5060</listen-port>
    <public-port>5060</public-port>
    <http-enabled-for-this-protocol>false</http-enabled-for-this-protocol>
    <outbound-enabled>true</outbound-enabled>
    </network-access-point>
    <network-access-point>
    <name>sips</name>
    <protocol>sips</protocol>
    <listen-port>5061</listen-port>
    <public-port>5061</public-port>
    <http-enabled-for-this-protocol>false</http-enabled-for-this-protocol>
    <outbound-enabled>true</outbound-enabled>
    </network-access-point>
    </server>
    <server>
    <name>M1</name>
    <ssl>
    <name>M1</name>
    <enabled>true</enabled>
    <listen-port>7503</listen-port>
    </ssl>
    <machine>Machine_1</machine>
    <listen-port>7003</listen-port>
    <listen-address/>
    <web-service>
    <name>M1</name>
    <web-service-persistence>
    <name>M1</name>
    <web-service-logical-store>
    <name>WseeStore</name>
    <persistence-strategy>LOCAL_ACCESS_ONLY</persistence-strategy>
    <request-buffering-queue-jndi-name>weblogic.wsee.BufferedRequestQueue</request-buffering-queue-jndi-name>
    <response-buffering-queue-jndi-name>weblogic.wsee.BufferedResponseQueue</response-buffering-queue-jndi-name>
    </web-service-logical-store>
    </web-service-persistence>
    </web-service>
    </server>
    <server>
    <name>M2</name>
    <ssl>
    <name>M2</name>
    <enabled>true</enabled>
    <listen-port>7504</listen-port>
    </ssl>
    <machine>Machine_1</machine>
    <listen-port>7004</listen-port>
    <listen-address/>
    <web-service>
    <name>M2</name>
    <web-service-persistence>
    <name>M2</name>
    <web-service-logical-store>
    <name>WseeStore</name>
    <persistence-strategy>LOCAL_ACCESS_ONLY</persistence-strategy>
    <request-buffering-queue-jndi-name>weblogic.wsee.BufferedRequestQueue</request-buffering-queue-jndi-name>
    <response-buffering-queue-jndi-name>weblogic.wsee.BufferedResponseQueue</response-buffering-queue-jndi-name>
    </web-service-logical-store>
    </web-service-persistence>
    </web-service>
    </server>
    <embedded-ldap>
    <name>base_domain</name>
    <credential-encrypted>{AES}vWDbFLBCN+g/5kGlFyC+Qp8NUIevNXYQEJYBVgoM2BaXRBIGnLy+rHfLzGrQT5JG</credential-encrypted>
    </embedded-ldap>
    <configuration-version>10.3.4.0</configuration-version>
    <machine xsi:type="unix-machineType">
    <name>Machine_1</name>
    <node-manager>
    <name>Machine_1</name>
    <listen-address>localhost</listen-address>
    </node-manager>
    </machine>
    <jms-server>
    <name>WseeJmsServer_auto_2</name>
    <target>M1</target>
    <persistent-store>WseeFileStore_auto_2</persistent-store>
    </jms-server>
    <jms-server>
    <name>WseeJmsServer_auto_3</name>
    <target>M2</target>
    <persistent-store>WseeFileStore_auto_3</persistent-store>
    </jms-server>
    <jms-server>
    <name>WseeJaxwsJmsServer_auto_2</name>
    <target>M1</target>
    <persistent-store>WseeJaxwsFileStore_auto_2</persistent-store>
    </jms-server>
    <jms-server>
    <name>WseeJaxwsJmsServer_auto_3</name>
    <target>M2</target>
    <persistent-store>WseeJaxwsFileStore_auto_3</persistent-store>
    </jms-server>
    <self-tuning>
    <fair-share-request-class>
    <name>wlss.transport.fsrc</name>
    <target>M1,M2</target>
    <fair-share>50</fair-share>
    </fair-share-request-class>
    <fair-share-request-class>
    <name>wlss.timer.fsrc</name>
    <target>M1,M2</target>
    <fair-share>100</fair-share>
    </fair-share-request-class>
    <fair-share-request-class>
    <name>wlss.tracing.fsrc</name>
    <target>M1,M2</target>
    <fair-share>50</fair-share>
    </fair-share-request-class>
    <fair-share-request-class>
    <name>wlss.connect.fsrc</name>
    <target>M1,M2</target>
    <fair-share>1000</fair-share>
    </fair-share-request-class>
    <min-threads-constraint>
    <name>wlss.tracing.minthreads</name>
    <target>M1,M2</target>
    <count>1</count>
    </min-threads-constraint>
    <min-threads-constraint>
    <name>wlss.connect.minthreads</name>
    <target>M1,M2</target>
    <count>1</count>
    </min-threads-constraint>
    <max-threads-constraint>
    <name>wlss.timer.maxthreads</name>
    <target>M1,M2</target>
    <count>16</count>
    <connection-pool-name/>
    </max-threads-constraint>
    <max-threads-constraint>
    <name>wlss.tracing.maxthreads</name>
    <target>M1,M2</target>
    <count>1</count>
    <connection-pool-name/>
    </max-threads-constraint>
    <capacity>
    <name>wlss.transport.capacity</name>
    <target>M1,M2</target>
    <count>400</count>
    </capacity>
    <capacity>
    <name>wlss.timer.capacity</name>
    <target>M1,M2</target>
    <count>256</count>
    </capacity>
    <work-manager>
    <name>wlss.transport</name>
    <target>M1,M2</target>
    <fair-share-request-class>wlss.transport.fsrc</fair-share-request-class>
    <response-time-request-class xsi:nil="true"/>
    <context-request-class xsi:nil="true"/>
    <capacity>wlss.transport.capacity</capacity>
    <ignore-stuck-threads>false</ignore-stuck-threads>
    </work-manager>
    <work-manager>
    <name>wlss.timer</name>
    <target>M1,M2</target>
    <fair-share-request-class>wlss.timer.fsrc</fair-share-request-class>
    <response-time-request-class xsi:nil="true"/>
    <context-request-class xsi:nil="true"/>
    <max-threads-constraint>wlss.timer.maxthreads</max-threads-constraint>
    <capacity>wlss.timer.capacity</capacity>
    <ignore-stuck-threads>false</ignore-stuck-threads>
    </work-manager>
    <work-manager>
    <name>wlss.tracing.domain</name>
    <target>M1,M2</target>
    <fair-share-request-class>wlss.tracing.fsrc</fair-share-request-class>
    <min-threads-constraint>wlss.tracing.minthreads</min-threads-constraint>
    <max-threads-constraint>wlss.tracing.maxthreads</max-threads-constraint>
    <ignore-stuck-threads>false</ignore-stuck-threads>
    </work-manager>
    <work-manager>
    <name>wlss.tracing.local</name>
    <target>M1,M2</target>
    <fair-share-request-class>wlss.tracing.fsrc</fair-share-request-class>
    <response-time-request-class xsi:nil="true"/>
    <context-request-class xsi:nil="true"/>
    <min-threads-constraint>wlss.tracing.minthreads</min-threads-constraint>
    <max-threads-constraint>wlss.tracing.maxthreads</max-threads-constraint>
    <ignore-stuck-threads>false</ignore-stuck-threads>
    </work-manager>
    <work-manager>
    <name>wlss.connect</name>
    <target>M1,M2</target>
    <fair-share-request-class>wlss.connect.fsrc</fair-share-request-class>
    <response-time-request-class xsi:nil="true"/>
    <context-request-class xsi:nil="true"/>
    <min-threads-constraint>wlss.connect.minthreads</min-threads-constraint>
    <ignore-stuck-threads>false</ignore-stuck-threads>
    </work-manager>
    <work-manager>
    <name>weblogic.wsee.mdb.DispatchPolicy</name>
    <target>M1,M2</target>
    </work-manager>
    <work-manager>
    <name>weblogic.wsee.jaxws.mdb.DispatchPolicy</name>
    <target>M1, M2</target>
    </work-manager>
    </self-tuning>
    <file-store>
    <name>WseeFileStore_auto_2</name>
    <directory>WseeFileStore_auto_2</directory>
    <target>M1</target>
    </file-store>
    <file-store>
    <name>WseeFileStore_auto_3</name>
    <directory>WseeFileStore_auto_3</directory>
    <target>M2</target>
    </file-store>
    <file-store>
    <name>WseeJaxwsFileStore_auto_2</name>
    <directory>WseeJaxwsFileStore_auto_2</directory>
    <target>M1</target>
    </file-store>
    <file-store>
    <name>WseeJaxwsFileStore_auto_3</name>
    <directory>WseeJaxwsFileStore_auto_3</directory>
    <target>M2</target>
    </file-store>
    <file-store>
    <name>WseeFileStore</name>
    <directory>WseeFileStore</directory>
    <target>AdminServer</target>
    </file-store>
    <jms-system-resource>
    <name>WseeJmsModule</name>
    <target>M1,M2</target>
    <sub-deployment>
    <name>WseeJmsServer9127702</name>
    <target>WseeJmsServer_auto_2</target>
    </sub-deployment>
    <sub-deployment>
    <name>WseeJmsServer20604610</name>
    <target>WseeJmsServer_auto_3</target>
    </sub-deployment>
    <descriptor-file-name>jms/wseejmsmodule-jms.xml</descriptor-file-name>
    </jms-system-resource>
    <jms-system-resource>
    <name>WseeJaxwsJmsModule</name>
    <target>M1,M2</target>
    <sub-deployment>
    <name>WseeJaxwsJmsServer31278546</name>
    <target>WseeJaxwsJmsServer_auto_2</target>
    </sub-deployment>
    <sub-deployment>
    <name>WseeJaxwsJmsServer7750867</name>
    <target>WseeJaxwsJmsServer_auto_3</target>
    </sub-deployment>
    <descriptor-file-name>jms/wseejaxwsjmsmodule-jms.xml</descriptor-file-name>
    </jms-system-resource>
    <custom-resource>
    <name>sipserver</name>
    <target>M1,M2</target>
    <descriptor-file-name>custom/sipserver.xml</descriptor-file-name>
    <resource-class>com.bea.wcp.sip.management.descriptor.resource.SipServerResource</resource-class>
    <descriptor-bean-class>com.bea.wcp.sip.management.descriptor.beans.SipServerBean</descriptor-bean-class>
    </custom-resource>
    <admin-server-name>AdminServer</admin-server-name>
    <saf-agent>
    <name>ReliableWseeSAFAgent</name>
    <target>AdminServer</target>
    <store>WseeFileStore</store>
    </saf-agent>
    <saf-agent>
    <name>ReliableWseeJaxwsSAFAgent_M1</name>
    <target>M1</target>
    <store>WseeJaxwsFileStore_auto_2</store>
    </saf-agent>
    <saf-agent>
    <name>ReliableWseeJaxwsSAFAgent_M2</name>
    <target>M2</target>
    <store>WseeJaxwsFileStore_auto_3</store>
    </saf-agent>
    </domain>
    Can someone please helpme here..

    I tried same and facing below error whenever i click on any tab over the console :-
    Error opening /jsp/core/server/ServersControlTable.jsp
    The source of this error is:
    java.lang.OutOfMemoryError: PermGen space
    ++++++++
    below is the MEm_ARGS in commEnv.sh :-
    # This script is used to set up a common environment for starting WebLogic
    # Server, as well as WebLogic development.
    # It sets the following variables:
    # BEA_HOME - The home directory of all your BEA installation.
    # MW_HOME - The home directory of all your Oracle installation.
    # WL_HOME - The root directory of the BEA installation.
    # COHERENCE_HOME - The root directory of the COHERENCE installation.
    # ANT_HOME - The Ant Home directory.
    # ANT_CONTRIB - The Ant contrib directory
    # JAVA_HOME - Location of the version of Java used to start WebLogic
    # Server. See the Oracle Fusion Middleware Supported System Configurations page
    # (http://www.oracle.com/technology/software/products/ias/files/fusion_certification.html) for an
    # up-to-date list of supported JVMs on your platform.
    # JAVA_VENDOR - Vendor of the JVM (i.e. BEA, HP, IBM, Sun, etc.)
    # JAVA_USE_64BIT - Indicates if JVM uses 64 bit operations
    # PATH - JDK and WebLogic directories will be added to the system
    # path.
    # WEBLOGIC_CLASSPATH - Classpath required to start WebLogic Server.
    # FMWCONFIG_CLASSPATH - Classpath required to start config tools such as WLST, config wizard, pack, and unpack..
    # FMWLAUNCH_CLASSPATH - Additional classpath needed for WLST start script
    # LD_LIBRARY_PATH, LIBPATH and SHLIB_PATH
    # - To locate native libraries.
    # JAVA_VM - The java arg specifying the VM to run. (e.g.
    # -server, -hotspot, etc.)
    # MEM_ARGS - The variable to override the standard memory arguments
    # passed to java.
    # CLASSPATHSEP - CLASSPATH delimiter.
    # PATHSEP - Path delimiter.
    # DERBY_HOME - Derby home directory.
    # DERBY_TOOLS - Derby tools jar.
    # DERBY_CLASSPATH - Classpath needed to start Derby.
    # DERBY_CLIENT_CLASSPATH
    # - Derby client classpath.
    # PRODUCTION_MODE - Indicates if the Server will be started in PRODUCTION_MODE
    # PATCH_CLASSPATH - WebLogic system classpath patch
    # PATCH_LIBPATH - Library path used for patches
    # PATCH_PATH - Path used for patches
    # WEBLOGIC_EXTENSION_DIRS - Extension dirs for WebLogic classpath patch
    # It exports the following function:
    # trapSIGINT - Get actual Derby PID when running in MKSNT environment;
    # trap SIGINT to make sure Derby will also be stopped.
    # resetFd - Reset the number of open file descriptors to 1024.
    # jDriver for Oracle users: This script assumes that native libraries required
    # for jDriver for Oracle have been installed in the proper location and that
    # your os specific library path variable (i.e. LD_LIBRARY_PATH/solaris,
    # SHLIB_PATH/hpux, etc...) has been set appropriately. Also note that this
    # script defaults to the oci920_8 version of the shared libraries. If this is
    # not the version you need, please adjust the library path variable
    # accordingly.
    # sub functions
    # limit the number of open file descriptors
    resetFd() {
    if [ ! -n "`uname -s |grep -i cygwin || uname -s |grep -i windows_nt || \
    uname -s |grep -i HP-UX`" ]
    then
    ofiles=`ulimit -S -n`
    maxfiles=`ulimit -H -n`
    if [ "$?" = "0" -a  `expr ${maxfiles} : '[0-9][0-9]*$'` -eq 0 -a `expr ${ofiles} : '[0-9][0-9]*$'` -eq 0 ]; then
    ulimit -n 4096
    else
    if [ "$?" = "0" -a `uname -s` = "SunOS" -a `expr ${maxfiles} : '[0-9][0-9]*$'` -eq 0 ]; then
    if [ ${ofiles} -lt 65536 ]; then
    ulimit -H -n 65536
    else
    ulimit -H -n ${ofiles}
    fi
    fi
    fi
    fi
    # Get actual Derby process when running in MKS/NT environment;
    # Trap SIGINT
    # input:
    # DERBY_PID -- Derby server process id.
    # output:
    # DERBY_PID -- Actual Derby pid in MKS/NT environment.
    trapSIGINT() {
    # With MKS, the pid of $! dosen't show up correctly.
    # It starts a shell process to launch whatever commands it calls.
    if [ `uname -s` = "Windows_NT" ]; then
    DERBY_PID=`ps -eo pid,ppid |
    awk -v DERBY_PID=${DERBY_PID} '$2 == DERBY_PID {print $1}'`
    POINTBASE_PID=`ps -eo pid,ppid |
    awk -v POINTBASE_PID=${POINTBASE_PID} '$2 == POINTBASE_PID {print $1}'`
    fi
    # Kill Derby on interrupt from this script (^C)
    trap 'if [ "${DERBY_PID}" != "" ]; then
    kill -9 ${DERBY_PID}
    unset DERBY_PID
    fi' 2
    trap 'if [ "${POINTBASE_PID}" != "" ]; then
    kill -9 ${POINTBASE_PID}
    unset POINTBASE_PID
    fi' 2
    # end of sub functions
    # Set up BEA Home
    BEA_HOME="/bea/wls"
    # Set up Middleware Home
    MW_HOME="/bea/wls"
    # Set up WebLogic Home
    WL_HOME="/bea/wls/wlserver_10.3"
    # Set up COHERENCE Home
    COHERENCE_HOME="/bea/wls/coherence_3.6"
    # Set up Common Modules Directory
    MODULES_DIR="/bea/wls/modules"
    # Set up Common Features Directory
    FEATURES_DIR="/bea/wls/modules/features"
    # Set up Ant Home
    ANT_HOME="${MODULES_DIR}/org.apache.ant_1.7.1"
    # Set up Ant contrib
    ANT_CONTRIB="${MODULES_DIR}/net.sf.antcontrib_1.1.0.0_1-0b2"
    # Setup SUN_ARCH_DATA_MODEL
    SUN_ARCH_DATA_MODEL="32"
    #JAVA_USE_64BIT, true if JVM uses 64 bit operations
    JAVA_USE_64BIT=false
    # Reset JAVA_HOME, JAVA_VENDOR and PRODUCTION_MODE unless JAVA_HOME
    # and JAVA_VENDOR are pre-defined.
    if [ -z "${JAVA_HOME}" -o -z "${JAVA_VENDOR}" ]; then
    # Set up JAVA HOME
    JAVA_HOME="/usr/jdk/instances/jdk1.7.0_05"
    # Set up JAVA VENDOR, possible values are
    #Oracle, HP, IBM, Sun ...
    JAVA_VENDOR=Oracle
    # PRODUCTION_MODE, default to the development mode
    PRODUCTION_MODE=""
    fi
    export BEA_HOME MW_HOME WL_HOME MODULES_DIR FEATURES_DIR COHERENCE_HOME ANT_HOME ANT_CONTRIB JAVA_HOME JAVA_VENDOR PRODUCTION_MODE JAVA_USE_64BIT
    # Set up JVM options base on value of JAVA_VENDOR
    if [ "$PRODUCTION_MODE" = "true" ]; then
    case $JAVA_VENDOR in
    Oracle)
    JAVA_VM=-server
    MEM_ARGS="-Xms128m -Xmx256m"
    HP)
    JAVA_VM=-server
    MEM_ARGS="-Xms32m -Xmx200m -XX:MaxPermSize=128m"
    IBM)
    JAVA_VM=
    MEM_ARGS="-Xms32m -Xmx200m"
    Sun)
    JAVA_VM=-server
    MEM_ARGS="-Xms32m -Xmx200m -XX:MaxPermSize=128m"
    Apple)
    JAVA_VM=-server
    MEM_ARGS="-Xms32m -Xmx200m -XX:MaxPermSize=128m"
    JAVA_VM=
    MEM_ARGS="-Xms32m -Xmx200m"
    esac
    else
    case $JAVA_VENDOR in
    Oracle)
    JAVA_VM=-server
    MEM_ARGS="-Xms128m -Xmx256m"
    -Xms512m -Xmx512m -XX:MaxPermSize=256m
    JAVA_OPTIONS="${JAVA_OPTIONS} -Xverify:none"
    HP)
    JAVA_VM=-client
    MEM_ARGS="-Xms32m -Xmx200m -XX:MaxPermSize=128m"
    IBM)
    JAVA_VM=
    MEM_ARGS="-Xms32m -Xmx200m"
    Sun)
    JAVA_VM=-client
    MEM_ARGS="-Xms32m -Xmx200m -XX:MaxPermSize=128m"
    JAVA_OPTIONS="${JAVA_OPTIONS} -Xverify:none"
    Apple)
    JAVA_VM=-client
    MEM_ARGS="-Xms32m -Xmx200m -XX:MaxPermSize=128m"
    JAVA_VM=
    MEM_ARGS="-Xms32m -Xmx200m"
    esac
    fi
    export JAVA_VM MEM_ARGS JAVA_OPTIONS
    # Set the classpath separator
    case `uname -s` in
    Windows_NT*)
    CLASSPATHSEP=\;
    PATHSEP=\;
    CYGWIN*)
    CLASSPATHSEP=\;
    esac
    if [ "${CLASSPATHSEP}" = "" ]; then
    CLASSPATHSEP=:
    fi
    if [ "${PATHSEP}" = "" ]; then
    PATHSEP=:
    fi
    export PATHSEP CLASSPATHSEP
    # Set-up patch related class path, extension dirs, library path and path options
    if [ -f "${WL_HOME}/common/bin/setPatchEnv.sh" ]; then
    . "${WL_HOME}"/common/bin/setPatchEnv.sh
    fi
    # Figure out how to load java native libraries, also add -d64 for hpux and solaris 64 bit arch.
    case `uname -s` in
    AIX)
    if [ -n "${LIBPATH}" ]; then
    if [ "${SUN_ARCH_DATA_MODEL}" = "64" ]; then
    LIBPATH=${LIBPATH}:${WL_HOME}/server/native/aix/ppc64
    else
    LIBPATH=${LIBPATH}:${WL_HOME}/server/native/aix/ppc
    fi
    else
    if [ "${SUN_ARCH_DATA_MODEL}" = "64" ]; then
    LIBPATH=${WL_HOME}/server/native/aix/ppc64
    else
    LIBPATH=${WL_HOME}/server/native/aix/ppc
    fi
    fi
    LIBPATH=${PATCH_LIBPATH}:${LIBPATH}
    export LIBPATH
    HP-UX)
    arch=`uname -m`
    if [ "${arch}" = "ia64" ]; then
    if [ -n "${SHLIB_PATH}" ]; then
    if [ "${SUN_ARCH_DATA_MODEL}" = "64" ]; then
    SHLIB_PATH=${SHLIB_PATH}:${WL_HOME}/server/native/hpux11/IPF64:${WL_HOME}/server/native/hpux11/IPF64/oci920_8
    else
    SHLIB_PATH=${SHLIB_PATH}:${WL_HOME}/server/native/hpux11/IPF32:${WL_HOME}/server/native/hpux11/IPF32/oci920_8
    fi
    else
    if [ "${SUN_ARCH_DATA_MODEL}" = "64" ]; then
    SHLIB_PATH=${WL_HOME}/server/native/hpux11/IPF64:${WL_HOME}/server/native/hpux11/IPF64/oci920_8
    else
    SHLIB_PATH=${WL_HOME}/server/native/hpux11/IPF32:${WL_HOME}/server/native/hpux11/IPF32/oci920_8
    fi
    fi
    else
    if [ -n "${SHLIB_PATH}" ]; then
    if [ "${SUN_ARCH_DATA_MODEL}" = "64" ]; then
    SHLIB_PATH=${SHLIB_PATH}:${WL_HOME}/server/native/hpux11/PA_RISC64:${WL_HOME}/server/native/hpux11/PA_RISC64/oci920_8
    else
    SHLIB_PATH=${SHLIB_PATH}:${WL_HOME}/server/native/hpux11/PA_RISC:${WL_HOME}/server/native/hpux11/PA_RISC/oci920_8
    fi
    else
    if [ "${SUN_ARCH_DATA_MODEL}" = "64" ]; then
    SHLIB_PATH=${WL_HOME}/server/native/hpux11/PA_RISC64:${WL_HOME}/server/native/hpux11/PA_RISC64/oci920_8
    else
    SHLIB_PATH=${WL_HOME}/server/native/hpux11/PA_RISC:${WL_HOME}/server/native/hpux11/PA_RISC/oci920_8
    fi
    fi
    fi
    SHLIB_PATH=${PATCH_LIBPATH}:${SHLIB_PATH}
    export SHLIB_PATH
    if [ "${JAVA_USE_64BIT}" = "true" ] && [ "${JAVA_VENDOR}" != "Oracle" ]
    then
    JVM_D64="-d64"
    export JVM_D64
    JAVA_VM="${JAVA_VM} ${JVM_D64}"
    export JAVA_VM
    fi
    LINUX|Linux)
    arch=`uname -m`
    if [ -n "${LD_LIBRARY_PATH}" ]; then
    if [ "${arch}" = "ia64" ]; then
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/linux/ia64:${WL_HOME}/server/native/linux/ia64/oci920_8
    else
    if [ "${arch}" = "x86_64" -a "${SUN_ARCH_DATA_MODEL}" = "64" ]; then
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/linux/${arch}:${WL_HOME}/server/native/linux/${arch}/oci920_8
    if [ "$SIP_ENABLED" = "true" ]; then
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WLSS_HOME}/server/native/linux/${arch}:${WLSS_HOME}/server/native/linux/${arch}/oci920_8
    fi
    else
    if [ "${arch}" = "s390x" ]; then
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/linux/s390x
    else
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/linux/i686:${WL_HOME}/server/native/linux/i686/oci920_8
    fi
    if [ "$SIP_ENABLED" = "true" ]; then
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WLSS_HOME}/server/native/linux/i686:${WLSS_HOME}/server/native/linux/i686/oci920_8
    fi
    fi
    fi
    else
    if [ "${arch}" = "ia64" ]; then
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/linux/ia64:${WL_HOME}/server/native/linux/ia64/oci920_8
    else
    if [ "${arch}" = "x86_64" -a "${SUN_ARCH_DATA_MODEL}" = "64" ]; then
    LD_LIBRARY_PATH=${WL_HOME}/server/native/linux/${arch}:${WL_HOME}/server/native/linux/${arch}/oci920_8
    if [ "$SIP_ENABLED" = "true" ]; then
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WLSS_HOME}/server/native/linux/${arch}:${WLSS_HOME}/server/native/linux/${arch}/oci920_8
    fi
    else
    if [ "${arch}" = "s390x" ]; then
    LD_LIBRARY_PATH=${WL_HOME}/server/native/linux/s390x
    else
    LD_LIBRARY_PATH=${WL_HOME}/server/native/linux/i686:${WL_HOME}/server/native/linux/i686/oci920_8
    fi
    if [ "$SIP_ENABLED" = "true" ]; then
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WLSS_HOME}/server/native/linux/i686:${WLSS_HOME}/server/native/linux/i686/oci920_8
    fi
    fi
    fi
    fi
    LD_LIBRARY_PATH=${PATCH_LIBPATH}:${LD_LIBRARY_PATH}
    export LD_LIBRARY_PATH
    OSF1)
    if [ -n "${LD_LIBRARY_PATH}" ]; then
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/tru64unix
    else
    LD_LIBRARY_PATH=${WL_HOME}/server/native/tru64unix
    fi
    LD_LIBRARY_PATH=${PATCH_LIBPATH}:${LD_LIBRARY_PATH}
    export LD_LIBRARY_PATH
    SunOS)
    arch=`uname -m`
    if [ -n "${LD_LIBRARY_PATH}" ]; then
    if [ "${arch}" = "i86pc" ]; then
    if [ "${SUN_ARCH_DATA_MODEL}" = "64" ]; then
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/solaris/x64
    else
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/solaris/x86
    fi
    else
    if [ "${SUN_ARCH_DATA_MODEL}" = "64" ]; then
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/solaris/sparc64:${WL_HOME}/server/native/solaris/sparc64/oci920_8
    if [ "$SIP_ENABLED" = "true" ]; then
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WLSS_HOME}/server/native/solaris/sparc64:${WLSS_HOME}/server/native/solaris/sparc64/oci920_8
    fi
    else
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/solaris/sparc:${WL_HOME}/server/native/solaris/sparc/oci920_8
    if [ "$SIP_ENABLED" = "true" ]; then
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WLSS_HOME}/server/native/solaris/sparc:${WLSS_HOME}/server/native/solaris/sparc/oci920_8
    fi
    fi
    fi
    else
    if [ "${arch}" = "i86pc" ]; then
    if [ "${SUN_ARCH_DATA_MODEL}" = "64" ]; then
    LD_LIBRARY_PATH=${WL_HOME}/server/native/solaris/x64
    else
    LD_LIBRARY_PATH=${WL_HOME}/server/native/solaris/x86
    fi
    else
    if [ "${SUN_ARCH_DATA_MODEL}" = "64" ]; then
    LD_LIBRARY_PATH=${WL_HOME}/server/native/solaris/sparc64:${WL_HOME}/server/native/solaris/sparc64/oci920_8
    if [ "$SIP_ENABLED" = "true" ]; then
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WLSS_HOME}/server/native/solaris/sparc64:${WLSS_HOME}/server/native/solaris/sparc64/oci920_8
    fi
    else
    LD_LIBRARY_PATH=${WL_HOME}/server/native/solaris/sparc:${WL_HOME}/server/native/solaris/sparc/oci920_8
    if [ "$SIP_ENABLED" = "true" ]; then
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WLSS_HOME}/server/native/solaris/sparc:${WLSS_HOME}/server/native/solaris/sparc/oci920_8
    fi
    fi
    fi
    fi
    LD_LIBRARY_PATH=${PATCH_LIBPATH}:${LD_LIBRARY_PATH}
    export LD_LIBRARY_PATH
    if [ "${JAVA_USE_64BIT}" = "true" ] && [ "${JAVA_VENDOR}" != "Oracle" ]
    then
    JVM_D64="-d64"
    export JVM_D64
    JAVA_VM="${JAVA_VM} ${JVM_D64}"
    export JAVA_VM
    fi
    Darwin)
    if [ -n "${DYLD_LIBRARY_PATH}" ]; then
    DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:${WL_HOME}/server/native/macosx
    else
    DYLD_LIBRARY_PATH=${WL_HOME}/server/native/macosx
    fi
    DYLD_LIBRARY_PATH=${PATCH_LIBPATH}:${DYLD_LIBRARY_PATH}
    export DYLD_LIBRARY_PATH
    Windows_NT*) ;;
    CYGWIN*) ;;
    echo "$0: Don't know how to set the shared library path for `uname -s`. "
    esac
    # set up WebLogic Server's class path
    WEBLOGIC_CLASSPATH="${JAVA_HOME}/lib/tools.jar${CLASSPATHSEP}${WL_HOME}/server/lib/weblogic_sp.jar${CLASSPATHSEP}${WL_HOME}/server/lib/weblogic.jar${CLASSPATHSEP}${FEATURES_DIR}/weblogic.server.modules_10.3.4.0.jar${CLASSPATHSEP}${WL_HOME}/server/lib/webservices.jar${CLASSPATHSEP}${ANT_HOME}/lib/ant-all.jar${CLASSPATHSEP}${ANT_CONTRIB}/lib/ant-contrib.jar"
    export WEBLOGIC_CLASSPATH
    # set up config tools class path
    FMWCONFIG_CLASSPATH="${JAVA_HOME}/lib/tools.jar${CLASSPATHSEP}${BEA_HOME}/utils/config/10.3/config-launch.jar${CLASSPATHSEP}${WL_HOME}/server/lib/weblogic_sp.jar${CLASSPATHSEP}${WL_HOME}/server/lib/weblogic.jar${CLASSPATHSEP}${FEATURES_DIR}/weblogic.server.modules_10.3.4.0.jar${CLASSPATHSEP}${WL_HOME}/server/lib/webservices.jar${CLASSPATHSEP}${ANT_HOME}/lib/ant-all.jar${CLASSPATHSEP}${ANT_CONTRIB}/lib/ant-contrib.jar"
    export FMWCONFIG_CLASSPATH
    FMWLAUNCH_CLASSPATH="${BEA_HOME}/utils/config/10.3/config-launch.jar"
    export FMWLAUNCH_CLASSPATH
    if [ "${PATCH_CLASSPATH}" != "" ] ; then
    WEBLOGIC_CLASSPATH="${PATCH_CLASSPATH}${CLASSPATHSEP}${WEBLOGIC_CLASSPATH}"
    export WEBLOGIC_CLASSPATH
    FMWCONFIG_CLASSPATH="${PATCH_CLASSPATH}${CLASSPATHSEP}${FMWCONFIG_CLASSPATH}"
    export FMWCONFIG_CLASSPATH
    fi
    if [ "$SIP_ENABLED" = "true" ]; then
    # set up SIP classpath
    SIP_CLASSPATH="${WLSS_HOME}/server/lib/weblogic_sip.jar"
    # add to WLS class path
    WEBLOGIC_CLASSPATH="${WEBLOGIC_CLASSPATH}${CLASSPATHSEP}${SIP_CLASSPATH}"
    export WEBLOGIC_CLASSPATH
    FMWCONFIG_CLASSPATH="${FMWCONFIG_CLASSPATH}${CLASSPATHSEP}${SIP_CLASSPATH}"
    export FMWCONFIG_CLASSPATH
    fi
    # DERBY configuration
    DERBY_HOME="${WL_HOME}/common/derby"
    DERBY_CLIENT_CLASSPATH="${DERBY_HOME}/lib/derbyclient.jar"
    DERBY_CLASSPATH="${CLASSPATHSEP}${DERBY_HOME}/lib/derbynet.jar${CLASSPATHSEP}${DERBY_CLIENT_CLASSPATH}"
    DERBY_TOOLS="${DERBY_HOME}/lib/derbytools.jar"
    DERBY_SYSTEM_HOME=${WL_HOME}/common/derby/demo/databases
    DERBY_OPTS="-Dderby.system.home=$DERBY_SYSTEM_HOME"
    if [ "${DERBY_PRE_CLASSPATH}" != "" ] ; then
    DERBY_CLASSPATH="${DERBY_PRE_CLASSPATH}${CLASSPATHSEP}${DERBY_CLASSPATH}"
    fi
    if [ "${DERBY_POST_CLASSPATH}" != "" ] ; then
    DERBY_CLASSPATH="${DERBY_CLASSPATH}${CLASSPATHSEP}${DERBY_POST_CLASSPATH}"
    fi
    export DERBY_HOME DERBY_CLASSPATH DERBY_TOOLS DERBY_SYSTEM_HOME DERBY_OPTS
    if [ -d "${WL_HOME}/common/eval/pointbase" ]
    then
    # PointBase configuration
    POINTBASE_HOME="${WL_HOME}/common/eval/pointbase"
    POINTBASE_CLIENT_CLASSPATH="${POINTBASE_HOME}/lib/pbclient57.jar"
    POINTBASE_CLASSPATH="${CLASSPATHSEP}${POINTBASE_HOME}/lib/pbembedded57.jar${CLASSPATHSEP}${POINTBASE_CLIENT_CLASSPATH}"
    POINTBASE_TOOLS="${POINTBASE_HOME}/lib/pbtools57.jar"
    if [ "${POINTBASE_PRE_CLASSPATH}" != "" ] ; then
    POINTBASE_CLASSPATH="${POINTBASE_PRE_CLASSPATH}${CLASSPATHSEP}${POINTBASE_CLASSPATH}"
    fi
    if [ "${POINTBASE_POST_CLASSPATH}" != "" ] ; then
    POINTBASE_CLASSPATH="${POINTBASE_CLASSPATH}${CLASSPATHSEP}${POINTBASE_POST_CLASSPATH}"
    fi
    export POINTBASE_HOME POINTBASE_CLASSPATH POINTBASE_TOOLS
    fi
    # Set up PATH
    if [ `uname -s` = "CYGWIN32/NT" ]; then
    # If we are on an old version of Cygnus we need to turn <letter>:/ in the path
    # to //<letter>/
    WL_HOME_CYGWIN=`echo $WL_HOME | sed 's#\([a-zA-Z]\):#//\1#g'`
    ANT_HOME_CYGWIN=`echo $ANT_HOME | sed 's#\([a-zA-Z]\):#//\1#g'`
    ANT_CONTRIB_CYGWIN=`echo $ANT_CONTRIB | sed 's#\([a-zA-Z]\):#//\1#g'`
    JAVA_HOME_CYGWIN=`echo $JAVA_HOME | sed 's#\([a-zA-Z]\):#//\1#g'`
    PATCH_PATH_CYGWIN=`echo $PATCH_PATH | sed 's#\([a-zA-Z]\):#//\1#g'`
    WL_USE_X86DLL=
    WL_USE_IA64DLL=
    WL_USE_AMD64DLL=
    if [ "${WL_USE_IA64DLL}" = "true" ]; then
    PATH="${PATCH_PATH_CYGWIN}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/64${PATHSEP}${WL_HOME_CYGWIN}/server/bin${PATHSEP}${ANT_HOME_CYGWIN}/bin${PATHSEP}${JAVA_HOME_CYGWIN}/jre/bin${PATHSEP}${JAVA_HOME_CYGWIN}/bin${PATHSEP}${PATH}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/64/oci920_8"
    fi
    if [ "${WL_USE_X86DLL}" = "true" ]; then
    PATH="${PATCH_PATH_CYGWIN}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/32${PATHSEP}${WL_HOME_CYGWIN}/server/bin${PATHSEP}${ANT_HOME_CYGWIN}/bin${PATHSEP}${JAVA_HOME_CYGWIN}/jre/bin${PATHSEP}${JAVA_HOME_CYGWIN}/bin${PATHSEP}${PATH}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/32/oci920_8"
    fi
    if [ "${WL_USE_AMD64DLL}" = "true" ]; then
    PATH="${PATCH_PATH_CYGWIN}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/x64${PATHSEP}${WL_HOME_CYGWIN}/server/bin${PATHSEP}${ANT_HOME_CYGWIN}/bin${PATHSEP}${JAVA_HOME_CYGWIN}/jre/bin${PATHSEP}${JAVA_HOME_CYGWIN}/bin${PATHSEP}${PATH}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/x64/oci920_8"
    fi
    else
    if [ -n "`uname -s |grep -i cygwin_`" ]; then
    # If we are on an new version of Cygnus we need to turn <letter>:/ in
    # the path to /cygdrive/<letter>/
    CYGDRIVE=`mount -ps | tail -1 | awk '{print $1}' | sed -e 's%/$%%'`
    WL_HOME_CYGWIN=`echo $WL_HOME | sed "s#\([a-zA-Z]\):#${CYGDRIVE}/\1#g"`
    ANT_HOME_CYGWIN=`echo $ANT_HOME | sed "s#\([a-zA-Z]\):#${CYGDRIVE}/\1#g"`
    PATCH_PATH_CYGWIN=`echo $PATCH_PATH | sed "s#\([a-zA-Z]\):#${CYGDRIVE}/\1#g"`
    JAVA_HOME_CYGWIN=`echo $JAVA_HOME | sed "s#\([a-zA-Z]\):#${CYGDRIVE}/\1#g"`
    WL_USE_X86DLL=
    WL_USE_IA64DLL=
    WL_USE_AMD64DLL=
    if [ "${WL_USE_IA64DLL}" = "true" ]; then
    PATH="${PATCH_PATH_CYGWIN}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/64${PATHSEP}${WL_HOME_CYGWIN}/server/bin${PATHSEP}${ANT_HOME_CYGWIN}/bin${PATHSEP}${JAVA_HOME_CYGWIN}/jre/bin${PATHSEP}${JAVA_HOME_CYGWIN}/bin${PATHSEP}${PATH}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/64/oci920_8"
    fi
    if [ "${WL_USE_X86DLL}" = "true" ]; then
    PATH="${PATCH_PATH_CYGWIN}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/32${PATHSEP}${WL_HOME_CYGWIN}/server/bin${PATHSEP}${ANT_HOME_CYGWIN}/bin${PATHSEP}${JAVA_HOME_CYGWIN}/jre/bin${PATHSEP}${JAVA_HOME_CYGWIN}/bin${PATHSEP}${PATH}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/32/oci920_8"
    fi
    if [ "${WL_USE_AMD64DLL}" = "true" ]; then
    PATH="${PATCH_PATH_CYGWIN}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/x64${PATHSEP}${WL_HOME_CYGWIN}/server/bin${PATHSEP}${ANT_HOME_CYGWIN}/bin${PATHSEP}${JAVA_HOME_CYGWIN}/jre/bin${PATHSEP}${JAVA_HOME_CYGWIN}/bin${PATHSEP}${PATH}${PATHSEP}${WL_HOME_CYGWIN}/server/native/win/x64/oci920_8"
    fi
    else
    # set PATH for other shell environments
    PATH="${WL_HOME}/server/bin${PATHSEP}${ANT_HOME}/bin${PATHSEP}${JAVA_HOME}/jre/bin${PATHSEP}${JAVA_HOME}/bin${PATHSEP}${PATH}"
    # On Windows, include WebLogic jDriver in PATH
    if [ -n "`uname -s |grep -i windows_nt`" ]; then
    WL_USE_X86DLL=
    WL_USE_IA64DLL=
    WL_USE_AMD64DLL=
    if [ "${WL_USE_IA64DLL}" = "true" ]; then
    PATH="${PATCH_PATH}${PATHSEP}${WL_HOME}/server/native/win/64${PATHSEP}${PATH}${PATHSEP}${WL_HOME}/server/native/win/64/oci920_8"
    fi
    if [ "${WL_USE_AMD64DLL}" = "true" ]; then
    PATH="${PATCH_PATH}${PATHSEP}${WL_HOME}/server/native/win/x64${PATHSEP}${PATH}${PATHSEP}${WL_HOME}/server/native/win/x64/oci920_8"
    fi
    if [ "${WL_USE_X86DLL}" = "true" ]; then
    PATH="${PATCH_PATH}${PATHSEP}${WL_HOME}/server/native/win/32${PATHSEP}${PATH}${PATHSEP}${WL_HOME}/server/native/win/32/oci920_8"
    fi
    fi
    fi
    fi
    export PATH
    resetFd
    =======
    my system is not on production mode and using oracle java. please suggest

  • Active session Spike on Oracle RAC 11G R2 on HP UX

    Dear Experts,
    We need urgent help please, as we are facing very low performance in production database.
    We are having oracle 11G RAC on HP Unix environment. Following is the ADDM report. Kindly check and please help me to figure it out the issue and resolve it at earliest.
    ---------Instance 1---------------
              ADDM Report for Task 'TASK_36650'
    Analysis Period
    AWR snapshot range from 11634 to 11636.
    Time period starts at 21-JUL-13 07.00.03 PM
    Time period ends at 21-JUL-13 09.00.49 PM
    Analysis Target
    Database 'MCMSDRAC' with DB ID 2894940361.
    Database version 11.2.0.1.0.
    ADDM performed an analysis of instance mcmsdrac1, numbered 1 and hosted at
    mcmsdbl1.
    Activity During the Analysis Period
    Total database time was 38466 seconds.
    The average number of active sessions was 5.31.
    Summary of Findings
       Description           Active Sessions      Recommendations
                             Percent of Activity  
    1  CPU Usage             1.44 | 27.08         1
    2  Interconnect Latency  .07 | 1.33           1
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              Findings and Recommendations
    Finding 1: CPU Usage
    Impact is 1.44 active sessions, 27.08% of total activity.
    Host CPU was a bottleneck and the instance was consuming 99% of the host CPU.
    All wait times will be inflated by wait for CPU.
    Host CPU consumption was 99%.
       Recommendation 1: Host Configuration
       Estimated benefit is 1.44 active sessions, 27.08% of total activity.
       Action
          Consider adding more CPUs to the host or adding instances serving the
          database on other hosts.
       Action
          Session CPU consumption was throttled by the Oracle Resource Manager.
          Consider revising the resource plan that was active during the analysis
          period.
    Finding 2: Interconnect Latency
    Impact is .07 active sessions, 1.33% of total activity.
    Higher than expected latency of the cluster interconnect was responsible for
    significant database time on this instance.
    The instance was consuming 110 kilo bits per second of interconnect bandwidth.
    20% of this interconnect bandwidth was used for global cache messaging, 21%
    for parallel query messaging and 7% for database lock management.
    The average latency for 8K interconnect messages was 42153 microseconds.
    The instance is using the private interconnect device "lan2" with IP address
    172.16.200.71 and source "Oracle Cluster Repository".
    The device "lan2" was used for 100% of interconnect traffic and experienced 0
    send or receive errors during the analysis period.
       Recommendation 1: Host Configuration
       Estimated benefit is .07 active sessions, 1.33% of total activity.
       Action
          Investigate cause of high network interconnect latency between database
          instances. Oracle's recommended solution is to use a high speed
          dedicated network.
       Action
          Check the configuration of the cluster interconnect. Check OS setup like
          adapter setting, firmware and driver release. Check that the OS's socket
          receive buffers are large enough to store an entire multiblock read. The
          value of parameter "db_file_multiblock_read_count" may be decreased as a
          workaround.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              Additional Information
    Miscellaneous Information
    Wait class "Application" was not consuming significant database time.
    Wait class "Cluster" was not consuming significant database time.
    Wait class "Commit" was not consuming significant database time.
    Wait class "Concurrency" was not consuming significant database time.
    Wait class "Configuration" was not consuming significant database time.
    Wait class "Network" was not consuming significant database time.
    Wait class "User I/O" was not consuming significant database time.
    Session connect and disconnect calls were not consuming significant database
    time.
    Hard parsing of SQL statements was not consuming significant database time.
    The database's maintenance windows were active during 100% of the analysis
    period.
    ----------------Instance 2 --------------------
              ADDM Report for Task 'TASK_36652'
    Analysis Period
    AWR snapshot range from 11634 to 11636.
    Time period starts at 21-JUL-13 07.00.03 PM
    Time period ends at 21-JUL-13 09.00.49 PM
    Analysis Target
    Database 'MCMSDRAC' with DB ID 2894940361.
    Database version 11.2.0.1.0.
    ADDM performed an analysis of instance mcmsdrac2, numbered 2 and hosted at
    mcmsdbl2.
    Activity During the Analysis Period
    Total database time was 2898 seconds.
    The average number of active sessions was .4.
    Summary of Findings
        Description                 Active Sessions      Recommendations
                                    Percent of Activity  
    1   Top SQL Statements          .11 | 27.65          5
    2   Interconnect Latency        .1 | 24.15           1
    3   Shared Pool Latches         .09 | 22.42          1
    4   PL/SQL Execution            .06 | 14.39          2
    5   Unusual "Other" Wait Event  .03 | 8.73           4
    6   Unusual "Other" Wait Event  .03 | 6.42           3
    7   Unusual "Other" Wait Event  .03 | 6.29           6
    8   Hard Parse                  .02 | 5.5            0
    9   Soft Parse                  .02 | 3.86           2
    10  Unusual "Other" Wait Event  .01 | 3.75           4
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              Findings and Recommendations
    Finding 1: Top SQL Statements
    Impact is .11 active sessions, 27.65% of total activity.
    SQL statements consuming significant database time were found. These
    statements offer a good opportunity for performance improvement.
       Recommendation 1: SQL Tuning
       Estimated benefit is .05 active sessions, 12.88% of total activity.
       Action
          Investigate the PL/SQL statement with SQL_ID "d1s02myktu19h" for
          possible performance improvements. You can supplement the information
          given here with an ASH report for this SQL_ID.
          Related Object
             SQL statement with SQL_ID d1s02myktu19h.
             begin dbms_utility.validate(:1,:2,:3,:4); end;
       Rationale
          The SQL Tuning Advisor cannot operate on PL/SQL statements.
       Rationale
          Database time for this SQL was divided as follows: 13% for SQL
          execution, 2% for parsing, 85% for PL/SQL execution and 0% for Java
          execution.
       Rationale
          SQL statement with SQL_ID "d1s02myktu19h" was executed 48 times and had
          an average elapsed time of 7 seconds.
       Rationale
          Waiting for event "library cache pin" in wait class "Concurrency"
          accounted for 70% of the database time spent in processing the SQL
          statement with SQL_ID "d1s02myktu19h".
       Rationale
          Top level calls to execute the PL/SQL statement with SQL_ID
          "63wt8yna5umd6" are responsible for 100% of the database time spent on
          the PL/SQL statement with SQL_ID "d1s02myktu19h".
          Related Object
             SQL statement with SQL_ID 63wt8yna5umd6.
             begin DBMS_UTILITY.COMPILE_SCHEMA( 'TPAUSER', FALSE ); end;
       Recommendation 2: SQL Tuning
       Estimated benefit is .02 active sessions, 4.55% of total activity.
       Action
          Run SQL Tuning Advisor on the SELECT statement with SQL_ID
          "fk3bh3t41101x".
          Related Object
             SQL statement with SQL_ID fk3bh3t41101x.
             SELECT MEM.MEMBER_CODE ,MEM.E_NAME,Pol.Policy_no
             ,pol.date_from,pol.date_to,POL.E_NAME,MEM.SEX,(SYSDATE-MEM.BIRTH_DATE
             ) AGE,POL.SCHEME_NO FROM TPAUSER.MEMBERS MEM,TPAUSER.POLICY POL WHERE
             POL.QUOTATION_NO=MEM.QUOTATION_NO AND POL.BRANCH_CODE=MEM.BRANCH_CODE
             and endt_no=(select max(endt_no) from tpauser.members mm where
             mm.member_code=mem.member_code AND mm.QUOTATION_NO=MEM.QUOTATION_NO)
             and member_code like '%' || nvl(:1,null) ||'%' ORDER BY MEMBER_CODE
       Rationale
          The SQL spent 92% of its database time on CPU, I/O and Cluster waits.
          This part of database time may be improved by the SQL Tuning Advisor.
       Rationale
          Database time for this SQL was divided as follows: 100% for SQL
          execution, 0% for parsing, 0% for PL/SQL execution and 0% for Java
          execution.
       Rationale
          SQL statement with SQL_ID "fk3bh3t41101x" was executed 14 times and had
          an average elapsed time of 4.9 seconds.
       Rationale
          At least one execution of the statement ran in parallel.
       Recommendation 3: SQL Tuning
       Estimated benefit is .02 active sessions, 3.79% of total activity.
       Action
          Run SQL Tuning Advisor on the SELECT statement with SQL_ID
          "7mhjbjg9ntqf5".
          Related Object
             SQL statement with SQL_ID 7mhjbjg9ntqf5.
             SELECT SUM(CNT) FROM (SELECT COUNT(PROC_CODE) CNT FROM
             TPAUSER.TORBINY_PROCEDURE WHERE BRANCH_CODE = :B6 AND QUOTATION_NO =
             :B5 AND CLASS_NO = :B4 AND OPTION_NO = :B3 AND PR_EFFECTIVE_DATE<=
             :B2 AND PROC_CODE = :B1 UNION SELECT COUNT(MED_CODE) CNT FROM
             TPAUSER.TORBINY_MEDICINE WHERE BRANCH_CODE = :B6 AND QUOTATION_NO =
             :B5 AND CLASS_NO = :B4 AND OPTION_NO = :B3 AND M_EFFECTIVE_DATE<= :B2
             AND MED_CODE = :B1 UNION SELECT COUNT(LAB_CODE) CNT FROM
             TPAUSER.TORBINY_LAB WHERE BRANCH_CODE = :B6 AND QUOTATION_NO = :B5
             AND CLASS_NO = :B4 AND OPTION_NO = :B3 AND L_EFFECTIVE_DATE<= :B2 AND
             LAB_CODE = :B1 )
       Rationale
          The SQL spent 100% of its database time on CPU, I/O and Cluster waits.
          This part of database time may be improved by the SQL Tuning Advisor.
       Rationale
          Database time for this SQL was divided as follows: 0% for SQL execution,
          0% for parsing, 100% for PL/SQL execution and 0% for Java execution.
       Rationale
          SQL statement with SQL_ID "7mhjbjg9ntqf5" was executed 31 times and had
          an average elapsed time of 3.4 seconds.
       Rationale
          Top level calls to execute the SELECT statement with SQL_ID
          "a11nzdnd91gsg" are responsible for 100% of the database time spent on
          the SELECT statement with SQL_ID "7mhjbjg9ntqf5".
          Related Object
             SQL statement with SQL_ID a11nzdnd91gsg.
             SELECT POLICY_NO,SCHEME_NO FROM TPAUSER.POLICY WHERE QUOTATION_NO
             =:B1
       Recommendation 4: SQL Tuning
       Estimated benefit is .01 active sessions, 3.03% of total activity.
       Action
          Investigate the SELECT statement with SQL_ID "4uqs4jt7aca5s" for
          possible performance improvements. You can supplement the information
          given here with an ASH report for this SQL_ID.
          Related Object
             SQL statement with SQL_ID 4uqs4jt7aca5s.
             SELECT DISTINCT USER_ID FROM GV$SESSION, USERS WHERE UPPER (USERNAME)
             = UPPER (USER_ID) AND USERS.APPROVAL_CLAIM='VC' AND USER_ID=:B1
       Rationale
          The SQL spent only 0% of its database time on CPU, I/O and Cluster
          waits. Therefore, the SQL Tuning Advisor is not applicable in this case.
          Look at performance data for the SQL to find potential improvements.
       Rationale
          Database time for this SQL was divided as follows: 100% for SQL
          execution, 0% for parsing, 0% for PL/SQL execution and 0% for Java
          execution.
       Rationale
          SQL statement with SQL_ID "4uqs4jt7aca5s" was executed 261 times and had
          an average elapsed time of 0.35 seconds.
       Rationale
          At least one execution of the statement ran in parallel.
       Rationale
          Top level calls to execute the PL/SQL statement with SQL_ID
          "91vt043t78460" are responsible for 100% of the database time spent on
          the SELECT statement with SQL_ID "4uqs4jt7aca5s".
          Related Object
             SQL statement with SQL_ID 91vt043t78460.
             begin TPAUSER.RECEIVE_NEW_FAX_APRROVAL(:V00001,:V00002,:V00003,:V0000
             4); end;
       Recommendation 5: SQL Tuning
       Estimated benefit is .01 active sessions, 3.03% of total activity.
       Action
          Run SQL Tuning Advisor on the SELECT statement with SQL_ID
          "7kt28fkc0yn5f".
          Related Object
             SQL statement with SQL_ID 7kt28fkc0yn5f.
             SELECT COUNT(*) FROM TPAUSER.APPROVAL_MASTER WHERE APPROVAL_STATUS IS
             NULL AND (UPPER(CODED) = UPPER(:B1 ) OR UPPER(PROCESSED_BY) =
             UPPER(:B1 ))
       Rationale
          The SQL spent 100% of its database time on CPU, I/O and Cluster waits.
          This part of database time may be improved by the SQL Tuning Advisor.
       Rationale
          Database time for this SQL was divided as follows: 100% for SQL
          execution, 0% for parsing, 0% for PL/SQL execution and 0% for Java
          execution.
       Rationale
          SQL statement with SQL_ID "7kt28fkc0yn5f" was executed 1034 times and
          had an average elapsed time of 0.063 seconds.
       Rationale
          Top level calls to execute the PL/SQL statement with SQL_ID
          "91vt043t78460" are responsible for 100% of the database time spent on
          the SELECT statement with SQL_ID "7kt28fkc0yn5f".
          Related Object
             SQL statement with SQL_ID 91vt043t78460.
             begin TPAUSER.RECEIVE_NEW_FAX_APRROVAL(:V00001,:V00002,:V00003,:V0000
             4); end;
    Finding 2: Interconnect Latency
    Impact is .1 active sessions, 24.15% of total activity.
    Higher than expected latency of the cluster interconnect was responsible for
    significant database time on this instance.
    The instance was consuming 128 kilo bits per second of interconnect bandwidth.
    17% of this interconnect bandwidth was used for global cache messaging, 6% for
    parallel query messaging and 8% for database lock management.
    The average latency for 8K interconnect messages was 41863 microseconds.
    The instance is using the private interconnect device "lan2" with IP address
    172.16.200.72 and source "Oracle Cluster Repository".
    The device "lan2" was used for 100% of interconnect traffic and experienced 0
    send or receive errors during the analysis period.
       Recommendation 1: Host Configuration
       Estimated benefit is .1 active sessions, 24.15% of total activity.
       Action
          Investigate cause of high network interconnect latency between database
          instances. Oracle's recommended solution is to use a high speed
          dedicated network.
       Action
          Check the configuration of the cluster interconnect. Check OS setup like
          adapter setting, firmware and driver release. Check that the OS's socket
          receive buffers are large enough to store an entire multiblock read. The
          value of parameter "db_file_multiblock_read_count" may be decreased as a
          workaround.
       Symptoms That Led to the Finding:
          Inter-instance messaging was consuming significant database time on this
          instance.
          Impact is .06 active sessions, 14.23% of total activity.
             Wait class "Cluster" was consuming significant database time.
             Impact is .06 active sessions, 14.23% of total activity.
    Finding 3: Shared Pool Latches
    Impact is .09 active sessions, 22.42% of total activity.
    Contention for latches related to the shared pool was consuming significant
    database time.
    Waits for "library cache lock" amounted to 5% of database time.
    Waits for "library cache pin" amounted to 17% of database time.
       Recommendation 1: Application Analysis
       Estimated benefit is .09 active sessions, 22.42% of total activity.
       Action
          Investigate the cause for latch contention using the given blocking
          sessions or modules.
       Rationale
          The session with ID 17 and serial number 15595 in instance number 1 was
          the blocking session responsible for 34% of this recommendation's
          benefit.
       Symptoms That Led to the Finding:
          Wait class "Concurrency" was consuming significant database time.
          Impact is .1 active sessions, 24.96% of total activity.
    Finding 4: PL/SQL Execution
    Impact is .06 active sessions, 14.39% of total activity.
    PL/SQL execution consumed significant database time.
       Recommendation 1: SQL Tuning
       Estimated benefit is .05 active sessions, 12.5% of total activity.
       Action
          Tune the entry point PL/SQL "SYS.DBMS_UTILITY.COMPILE_SCHEMA" of type
          "PACKAGE" and ID 6019. Refer to the PL/SQL documentation for addition
          information.
       Rationale
          318 seconds spent in executing PL/SQL "SYS.DBMS_UTILITY.VALIDATE#2" of
          type "PACKAGE" and ID 6019.
       Recommendation 2: SQL Tuning
       Estimated benefit is .01 active sessions, 1.89% of total activity.
       Action
          Tune the entry point PL/SQL
          "SYSMAN.EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS" of type "PACKAGE" and
          ID 68654. Refer to the PL/SQL documentation for addition information.
    Finding 5: Unusual "Other" Wait Event
    Impact is .03 active sessions, 8.73% of total activity.
    Wait event "DFS lock handle" in wait class "Other" was consuming significant
    database time.
       Recommendation 1: Application Analysis
       Estimated benefit is .03 active sessions, 8.73% of total activity.
       Action
          Investigate the cause for high "DFS lock handle" waits. Refer to
          Oracle's "Database Reference" for the description of this wait event.
       Recommendation 2: Application Analysis
       Estimated benefit is .03 active sessions, 8.27% of total activity.
       Action
          Investigate the cause for high "DFS lock handle" waits in Service
          "mcmsdrac".
       Recommendation 3: Application Analysis
       Estimated benefit is .02 active sessions, 5.05% of total activity.
       Action
          Investigate the cause for high "DFS lock handle" waits in Module "TOAD
          9.7.2.5".
       Recommendation 4: Application Analysis
       Estimated benefit is .01 active sessions, 3.21% of total activity.
       Action
          Investigate the cause for high "DFS lock handle" waits in Module
          "toad.exe".
       Symptoms That Led to the Finding:
          Wait class "Other" was consuming significant database time.
          Impact is .15 active sessions, 38.29% of total activity.
    Finding 6: Unusual "Other" Wait Event
    Impact is .03 active sessions, 6.42% of total activity.
    Wait event "reliable message" in wait class "Other" was consuming significant
    database time.
       Recommendation 1: Application Analysis
       Estimated benefit is .03 active sessions, 6.42% of total activity.
       Action
          Investigate the cause for high "reliable message" waits. Refer to
          Oracle's "Database Reference" for the description of this wait event.
       Recommendation 2: Application Analysis
       Estimated benefit is .03 active sessions, 6.42% of total activity.
       Action
          Investigate the cause for high "reliable message" waits in Service
          "mcmsdrac".
       Recommendation 3: Application Analysis
       Estimated benefit is .02 active sessions, 4.13% of total activity.
       Action
          Investigate the cause for high "reliable message" waits in Module "TOAD
          9.7.2.5".
       Symptoms That Led to the Finding:
          Wait class "Other" was consuming significant database time.
          Impact is .15 active sessions, 38.29% of total activity.
    Finding 7: Unusual "Other" Wait Event
    Impact is .03 active sessions, 6.29% of total activity.
    Wait event "enq: PS - contention" in wait class "Other" was consuming
    significant database time.
       Recommendation 1: Application Analysis
       Estimated benefit is .03 active sessions, 6.29% of total activity.
       Action
          Investigate the cause for high "enq: PS - contention" waits. Refer to
          Oracle's "Database Reference" for the description of this wait event.
       Recommendation 2: Application Analysis
       Estimated benefit is .02 active sessions, 6.02% of total activity.
       Action
          Investigate the cause for high "enq: PS - contention" waits in Service
          "mcmsdrac".
       Recommendation 3: Application Analysis
       Estimated benefit is .02 active sessions, 4.93% of total activity.
       Action
          Investigate the cause for high "enq: PS - contention" waits with
          P1,P2,P3 ("name|mode, instance, slave ID") values "1347616774", "1" and
          "3599" respectively.
       Recommendation 4: Application Analysis
       Estimated benefit is .01 active sessions, 2.74% of total activity.
       Action
          Investigate the cause for high "enq: PS - contention" waits in Module
          "Inbox Reader_92.exe".
       Recommendation 5: Application Analysis
       Estimated benefit is .01 active sessions, 2.74% of total activity.
       Action
          Investigate the cause for high "enq: PS - contention" waits in Module
          "TOAD 9.7.2.5".
       Recommendation 6: Application Analysis
       Estimated benefit is .01 active sessions, 1.37% of total activity.
       Action
          Investigate the cause for high "enq: PS - contention" waits with
          P1,P2,P3 ("name|mode, instance, slave ID") values "1347616774", "1" and
          "3598" respectively.
       Symptoms That Led to the Finding:
          Wait class "Other" was consuming significant database time.
          Impact is .15 active sessions, 38.29% of total activity.
    Finding 8: Hard Parse
    Impact is .02 active sessions, 5.5% of total activity.
    Hard parsing of SQL statements was consuming significant database time.
    Hard parses due to cursor environment mismatch were not consuming significant
    database time.
    Hard parsing SQL statements that encountered parse errors was not consuming
    significant database time.
    Hard parses due to literal usage and cursor invalidation were not consuming
    significant database time.
    The Oracle instance memory (SGA and PGA) was adequately sized.
       No recommendations are available.
       Symptoms That Led to the Finding:
          Contention for latches related to the shared pool was consuming
          significant database time.
          Impact is .09 active sessions, 22.42% of total activity.
             Wait class "Concurrency" was consuming significant database time.
             Impact is .1 active sessions, 24.96% of total activity.
    Finding 9: Soft Parse
    Impact is .02 active sessions, 3.86% of total activity.
    Soft parsing of SQL statements was consuming significant database time.
       Recommendation 1: Application Analysis
       Estimated benefit is .02 active sessions, 3.86% of total activity.
       Action
          Investigate application logic to keep open the frequently used cursors.
          Note that cursors are closed by both cursor close calls and session
          disconnects.
       Recommendation 2: Database Configuration
       Estimated benefit is .02 active sessions, 3.86% of total activity.
       Action
          Consider increasing the session cursor cache size by increasing the
          value of parameter "session_cached_cursors".
       Rationale
          The value of parameter "session_cached_cursors" was "100" during the
          analysis period.
       Symptoms That Led to the Finding:
          Contention for latches related to the shared pool was consuming
          significant database time.
          Impact is .09 active sessions, 22.42% of total activity.
             Wait class "Concurrency" was consuming significant database time.
             Impact is .1 active sessions, 24.96% of total activity.
    Finding 10: Unusual "Other" Wait Event
    Impact is .01 active sessions, 3.75% of total activity.
    Wait event "IPC send completion sync" in wait class "Other" was consuming
    significant database time.
       Recommendation 1: Application Analysis
       Estimated benefit is .01 active sessions, 3.75% of total activity.
       Action
          Investigate the cause for high "IPC send completion sync" waits. Refer
          to Oracle's "Database Reference" for the description of this wait event.
       Recommendation 2: Application Analysis
       Estimated benefit is .01 active sessions, 3.75% of total activity.
       Action
          Investigate the cause for high "IPC send completion sync" waits with P1
          ("send count") value "1".
       Recommendation 3: Application Analysis
       Estimated benefit is .01 active sessions, 2.59% of total activity.
       Action
          Investigate the cause for high "IPC send completion sync" waits in
          Service "mcmsdrac".
       Recommendation 4: Application Analysis
       Estimated benefit is .01 active sessions, 1.73% of total activity.
       Action
          Investigate the cause for high "IPC send completion sync" waits in
          Module "TOAD 9.7.2.5".
       Symptoms That Led to the Finding:
          Wait class "Other" was consuming significant database time.
          Impact is .15 active sessions, 38.29% of total activity.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              Additional Information
    Miscellaneous Information
    Wait class "Application" was not consuming significant database time.
    Wait class "Commit" was not consuming significant database time.
    Wait class "Configuration" was not consuming significant database time.
    CPU was not a bottleneck for the instance.
    Wait class "Network" was not consuming significant database time.
    Wait class "User I/O" was not consuming significant database time.
    Session connect and disconnect calls were not consuming significant database
    time.
    The database's maintenance windows were active during 100% of the analysis
    period.
    Please help.

    Hello experts...
    Please do the needful... It's really very urgent.
    Thanks,
    Syed

  • Problem in Packaging .ear

    Hi
    I had probelm here about packaging my j2ee project. since i had migrated from jboss AS 4.0, myEclipse 3.8.4,eclipse 3.0.1 and jre 1.4 to jboss AS 4.2, myEclipse 5.5GA,eclipse 3.2 and jre 1.6 this problem occurs... would somebody explain to me further what was this error all about.. thanks in advance!
    09:02:36,291 INFO [Server] Starting JBoss (MX MicroKernel)...
    09:02:36,291 INFO [Server] Release ID: JBoss [Trinity] 4.2.0.GA (build: SVNTag=JBoss_4_2_0_GA date=200705111440)
    09:02:36,291 INFO [Server] Home Dir: D:\jboss-4.2.0.GA
    09:02:36,291 INFO [Server] Home URL: file:/D:/jboss-4.2.0.GA/
    09:02:36,291 INFO [Server] Patch URL: null
    09:02:36,291 INFO [Server] Server Name: default
    09:02:36,291 INFO [Server] Server Home Dir: D:\jboss-4.2.0.GA\server\default
    09:02:36,291 INFO [Server] Server Home URL: file:/D:/jboss-4.2.0.GA/server/default/
    09:02:36,291 INFO [Server] Server Log Dir: D:\jboss-4.2.0.GA\server\default\log
    09:02:36,291 INFO [Server] Server Temp Dir: D:\jboss-4.2.0.GA\server\default\tmp
    09:02:36,291 INFO [Server] Root Deployment Filename: jboss-service.xml
    09:02:36,510 INFO [ServerInfo] Java version: 1.6.0_01,Sun Microsystems Inc.
    09:02:36,510 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.6.0_01-b06,Sun Microsystems Inc.
    09:02:36,510 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
    09:02:37,588 INFO [Server] Core system initialized
    09:02:39,385 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
    09:02:39,385 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
    09:02:39,807 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
    09:02:39,807 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
    09:02:39,979 INFO [TransactionManagerService] Starting recovery manager
    09:02:40,073 INFO [TransactionManagerService] Recovery manager started
    09:02:40,073 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
    09:02:42,354 INFO [EJB3Deployer] Starting java:comp multiplexer
    09:02:44,010 INFO [ServiceEndpointManager] jbossws-1.2.1.GA (build=200704151756)
    09:02:45,244 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_01\bin
    09:02:45,323 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
    09:02:45,323 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
    09:02:45,323 INFO [Catalina] Initialization processed in 262 ms
    09:02:45,323 INFO [StandardService] Starting service jboss.web
    09:02:45,338 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.0.GA
    09:02:45,385 INFO [Catalina] Server startup in 63 ms
    09:02:45,494 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
    09:02:46,619 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
    09:02:46,854 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp994jbossws-context-exp.war/
    09:02:46,979 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
    09:02:47,760 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
    09:02:48,338 INFO [MailService] Mail Service bound to java:/Mail
    09:02:48,510 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
    09:02:48,557 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
    09:02:48,588 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
    09:02:48,791 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
    09:02:49,041 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
    09:02:49,088 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
    09:02:49,104 INFO [QuartzResourceAdapter] start quartz!!!
    09:02:49,182 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
    09:02:49,213 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
    09:02:49,213 INFO [RAMJobStore] RAMJobStore initialized.
    09:02:49,213 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
    09:02:49,213 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
    09:02:49,213 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
    09:02:50,182 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
    09:02:50,463 INFO [A] Bound to JNDI name: queue/A
    09:02:50,463 INFO Bound to JNDI name: queue/B
    09:02:50,463 INFO [C] Bound to JNDI name: queue/C
    09:02:50,463 INFO [D] Bound to JNDI name: queue/D
    09:02:50,463 INFO [ex] Bound to JNDI name: queue/ex
    09:02:50,479 INFO [testTopic] Bound to JNDI name: topic/testTopic
    09:02:50,479 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
    09:02:50,479 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
    09:02:50,479 INFO [testQueue] Bound to JNDI name: queue/testQueue
    09:02:50,510 INFO [UILServerILService] JBossMQ UIL service available at : /127.0.0.1:8093
    09:02:50,588 INFO [DLQ] Bound to JNDI name: queue/DLQ
    09:02:50,713 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
    09:02:50,776 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=globalEBR' to JNDI name 'java:globalEBR'
    09:02:50,807 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
    09:02:50,963 INFO [EARDeployer] Init J2EE application: file:/D:/jboss-4.2.0.GA/server/default/deploy/GlobalEBR.ear
    09:02:54,198 INFO [EjbModule] Deploying EBR
    09:02:54,369 INFO [ProxyFactory] Bound EJB Home 'EBR' to jndi 'org/rdc/ebr/bean/EBR'
    09:02:54,369 INFO [EJBDeployer] Deployed: file:/D:/jboss-4.2.0.GA/server/default/tmp/deploy/tmp1024GlobalEBR.ear-contents/GlobalEBR-EJB.jar
    09:02:54,385 INFO [TomcatDeployer] deploy, ctxPath=/GlobalEBR, warUrl=.../tmp/deploy/tmp1024GlobalEBR.ear-contents/GlobalEBR-Web-exp.war/
    09:02:54,666 INFO [ResponseOverrideFilter] Filter initialized. Response buffering is enabled
    09:02:55,057 WARN [TomcatDeployer] Failed to setup clustering, clustering disabled. NoClassDefFoundError: org/jgroups/blocks/MethodCall
    09:02:55,073 INFO [EARDeployer] Started J2EE application: file:/D:/jboss-4.2.0.GA/server/default/deploy/GlobalEBR.ear
    09:02:55,166 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
    09:02:55,229 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
    09:02:55,276 INFO [Server] JBoss (MX MicroKernel) [4.2.0.GA (build: SVNTag=JBoss_4_2_0_GA date=200705111440)] Started in 18s:969ms
    09:02:56,276 INFO [ExportViewFactory] Initializing ExportViewFactory with type={csv,excel,xml,pdf}
    09:02:56,276 WARN [ExportViewFactory] Unable to instantiate class for pdf export. org.displaytag.export.PdfView was found, but required libraries are missing: com/lowagie/text/Element
    09:02:56,276 INFO [TableProperties] No LocaleResolver configured.
    09:03:04,432 INFO [JbossLoginModule] Attempting to validate user intmfg2
    09:03:04,432 INFO [LdapDAO] Attempting to validate user: intmfg2
    09:03:06,119 INFO [LdapDAO] [UserDAO] Attempting to validate user : intmfg2
    09:03:06,119 INFO [JbossLoginModule] result: true
    09:03:06,135 INFO [JbossLoginModule] called getRoleSets
    09:03:06,135 INFO [JbossLoginModule] list of roles: [Ljava.security.acl.Group;@60eb0c
    09:03:24,869 ERROR [LogInterceptor] TransactionRolledbackException in method: public abstract org.rdc.ebr.Request org.rdc.ebr.interfaces.EBR.saveAsDraft(org.rdc.ebr.Request,java.lang.String) throws java.lang.Exception,java.rmi.RemoteException, causedBy:
    java.lang.LinkageError: loader constraint violation: loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) previously initiated loading for a different type with name "org/apache/struts/upload/FormFile"
    at org.rdc.ebr.Attachment.saveAttachment(Attachment.java:36)
    at org.rdc.ebr.Area.saveAreas(Area.java:178)
    at org.rdc.ebr.Request.saveRequest(Request.java:385)
    at org.rdc.ebr.Request.saveAsDraft(Request.java:503)
    at org.rdc.ebr.bean.EbrBean.saveAsDraft(EbrBean.java:290)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
    at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
    at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
    at org.jboss.ejb.Container.invoke(Container.java:960)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
    at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
    at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
    at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
    at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
    at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
    at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
    at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
    at $Proxy60.saveAsDraft(Unknown Source)
    at org.rdc.ebr.action.ProcessEbrRequestAction.saveDraft(ProcessEbrRequestAction.java:150)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:276)
    at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:196)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
    at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
    at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:420)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)
    09:03:24,900 WARN [GlobalEBR] [Class] org.jboss.ejb.plugins.AbstractTxInterceptor
    09:03:24,900 WARN [GlobalEBR] [Method] invokeNext
    09:03:24,900 WARN [GlobalEBR] [Line#] 274
    09:03:24,900 WARN [GlobalEBR] [Message] loader constraint violation: loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) previously initiated loading for a different type with name "org/apache/struts/upload/FormFile"; nested exception is:
    java.lang.LinkageError: loader constraint violation: loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) previously initiated loading for a different type with name "org/apache/struts/upload/FormFile"
    09:03:24,900 ERROR [STDERR] javax.transaction.TransactionRolledbackException: loader constraint violation: loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) previously initiated loading for a different type with name "org/apache/struts/upload/FormFile"; nested exception is:
    java.lang.LinkageError: loader constraint violation: loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) previously initiated loading for a different type with name "org/apache/struts/upload/FormFile"
    09:03:24,900 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:274)
    09:03:24,900 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
    09:03:24,900 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
    09:03:24,900 ERROR [STDERR] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
    09:03:24,900 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
    09:03:24,900 ERROR [STDERR] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
    09:03:24,900 ERROR [STDERR] at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
    09:03:24,900 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java:960)
    09:03:24,900 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    09:03:24,900 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    09:03:24,900 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    09:03:24,900 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
    09:03:24,900 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    09:03:24,900 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    09:03:24,900 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    09:03:24,900 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    09:03:24,900 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    09:03:24,900 ERROR [STDERR] at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
    09:03:24,900 ERROR [STDERR] at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
    09:03:24,900 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
    09:03:24,900 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
    09:03:24,900 ERROR [STDERR] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
    09:03:24,900 ERROR [STDERR] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
    09:03:24,900 ERROR [STDERR] at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
    09:03:24,900 ERROR [STDERR] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
    09:03:24,900 ERROR [STDERR] at $Proxy60.saveAsDraft(Unknown Source)
    09:03:24,900 ERROR [STDERR] at org.rdc.ebr.action.ProcessEbrRequestAction.saveDraft(ProcessEbrRequestAction.java:150)
    09:03:24,900 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    09:03:24,900 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    09:03:24,900 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    09:03:24,900 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
    09:03:24,900 ERROR [STDERR] at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:276)
    09:03:24,900 ERROR [STDERR] at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:196)
    09:03:24,900 ERROR [STDERR] at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
    09:03:24,900 ERROR [STDERR] at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
    09:03:24,900 ERROR [STDERR] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
    09:03:24,900 ERROR [STDERR] at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
    09:03:24,900 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    09:03:24,900 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    09:03:24,900 ERROR [STDERR] at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
    09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    09:03:24,900 ERROR [STDERR] at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
    09:03:24,900 ERROR [STDERR] at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
    09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    09:03:24,900 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    09:03:24,900 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
    09:03:24,900 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
    09:03:24,900 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    09:03:24,900 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
    09:03:24,900 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
    09:03:24,900 ERROR [STDERR] at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:420)
    09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    09:03:24,900 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
    09:03:24,900 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    09:03:24,900 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
    09:03:24,900 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    09:03:24,900 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)
    09:03:24,900 ERROR [STDERR] Caused by: java.lang.LinkageError: loader constraint violation: loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) previously initiated loading for a different type with name "org/apache/struts/upload/FormFile"
    09:03:24,900 ERROR [STDERR] at org.rdc.ebr.Attachment.saveAttachment(Attachment.java:36)
    09:03:24,900 ERROR [STDERR] at org.rdc.ebr.Area.saveAreas(Area.java:178)
    09:03:24,900 ERROR [STDERR] at org.rdc.ebr.Request.saveRequest(Request.java:385)
    09:03:24,900 ERROR [STDERR] at org.rdc.ebr.Request.saveAsDraft(Request.java:503)
    09:03:24,900 ERROR [STDERR] at org.rdc.ebr.bean.EbrBean.saveAsDraft(EbrBean.java:290)
    09:03:24,900 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    09:03:24,900 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    09:03:24,900 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    09:03:24,900 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
    09:03:24,900 ERROR [STDERR] at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
    09:03:24,900 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
    09:03:24,900 ERROR [STDERR] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
    09:03:24,900 ERROR [STDERR] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
    09:03:24,900 ERROR [STDERR] at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
    09:03:24,900 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
    09:03:24,900 ERROR [STDERR] ... 65 more
    09:03:24,916 WARN [GlobalEBR] =====Other Exception=====
    09:03:24,916 WARN [GlobalEBR] [Message] javax.transaction.TransactionRolledbackException cannot be cast to com.onsemi.rdc.exceptions.RDCException
    09:03:24,916 WARN [GlobalEBR] [Cause] null
    09:03:24,916 WARN [GlobalEBR] [Class] org.rdc.ebr.action.ProcessEbrRequestAction
    09:03:24,916 WARN [GlobalEBR] [Method] saveDraft
    09:03:24,916 WARN [GlobalEBR] [Line#] 170
    09:03:24,916 ERROR [STDERR] java.lang.ClassCastException: javax.transaction.TransactionRolledbackException cannot be cast to com.onsemi.rdc.exceptions.RDCException
    09:03:24,916 ERROR [STDERR] at org.rdc.ebr.action.ProcessEbrRequestAction.saveDraft(ProcessEbrRequestAction.java:170)
    09:03:24,916 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    09:03:24,916 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    09:03:24,916 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    09:03:24,916 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
    09:03:24,916 ERROR [STDERR] at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:276)
    09:03:24,916 ERROR [STDERR] at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:196)
    09:03:24,916 ERROR [STDERR] at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
    09:03:24,916 ERROR [STDERR] at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
    09:03:24,916 ERROR [STDERR] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
    09:03:24,916 ERROR [STDERR] at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
    09:03:24,916 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    09:03:24,916 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    09:03:24,916 ERROR [STDERR] at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
    09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    09:03:24,916 ERROR [STDERR] at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
    09:03:24,916 ERROR [STDERR] at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
    09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    09:03:24,916 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    09:03:24,916 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
    09:03:24,916 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
    09:03:24,916 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    09:03:24,916 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
    09:03:24,916 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
    09:03:24,916 ERROR [STDERR] at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:420)
    09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    09:03:24,916 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
    09:03:24,916 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    09:03:24,916 ERROR [STDERR] at org.apache.coyote.http11.H

    Hi
    I had probelm here about packaging my j2ee project. since i had migrated from jboss AS 4.0, myEclipse 3.8.4,eclipse 3.0.1 and jre 1.4 to jboss AS 4.2, myEclipse 5.5GA,eclipse 3.2 and jre 1.6 this problem occurs... would somebody explain to me further what was this error all about.. thanks in advance!
    09:02:36,291 INFO [Server] Starting JBoss (MX MicroKernel)...
    09:02:36,291 INFO [Server] Release ID: JBoss [Trinity] 4.2.0.GA (build: SVNTag=JBoss_4_2_0_GA date=200705111440)
    09:02:36,291 INFO [Server] Home Dir: D:\jboss-4.2.0.GA
    09:02:36,291 INFO [Server] Home URL: file:/D:/jboss-4.2.0.GA/
    09:02:36,291 INFO [Server] Patch URL: null
    09:02:36,291 INFO [Server] Server Name: default
    09:02:36,291 INFO [Server] Server Home Dir: D:\jboss-4.2.0.GA\server\default
    09:02:36,291 INFO [Server] Server Home URL: file:/D:/jboss-4.2.0.GA/server/default/
    09:02:36,291 INFO [Server] Server Log Dir: D:\jboss-4.2.0.GA\server\default\log
    09:02:36,291 INFO [Server] Server Temp Dir: D:\jboss-4.2.0.GA\server\default\tmp
    09:02:36,291 INFO [Server] Root Deployment Filename: jboss-service.xml
    09:02:36,510 INFO [ServerInfo] Java version: 1.6.0_01,Sun Microsystems Inc.
    09:02:36,510 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.6.0_01-b06,Sun Microsystems Inc.
    09:02:36,510 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
    09:02:37,588 INFO [Server] Core system initialized
    09:02:39,385 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
    09:02:39,385 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
    09:02:39,807 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
    09:02:39,807 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
    09:02:39,979 INFO [TransactionManagerService] Starting recovery manager
    09:02:40,073 INFO [TransactionManagerService] Recovery manager started
    09:02:40,073 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
    09:02:42,354 INFO [EJB3Deployer] Starting java:comp multiplexer
    09:02:44,010 INFO [ServiceEndpointManager] jbossws-1.2.1.GA (build=200704151756)
    09:02:45,244 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_01\bin
    09:02:45,323 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
    09:02:45,323 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
    09:02:45,323 INFO [Catalina] Initialization processed in 262 ms
    09:02:45,323 INFO [StandardService] Starting service jboss.web
    09:02:45,338 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.0.GA
    09:02:45,385 INFO [Catalina] Server startup in 63 ms
    09:02:45,494 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
    09:02:46,619 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
    09:02:46,854 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp994jbossws-context-exp.war/
    09:02:46,979 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
    09:02:47,760 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
    09:02:48,338 INFO [MailService] Mail Service bound to java:/Mail
    09:02:48,510 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
    09:02:48,557 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
    09:02:48,588 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
    09:02:48,791 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
    09:02:49,041 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
    09:02:49,088 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
    09:02:49,104 INFO [QuartzResourceAdapter] start quartz!!!
    09:02:49,182 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
    09:02:49,213 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
    09:02:49,213 INFO [RAMJobStore] RAMJobStore initialized.
    09:02:49,213 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
    09:02:49,213 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
    09:02:49,213 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
    09:02:50,182 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
    09:02:50,463 INFO [A] Bound to JNDI name: queue/A
    09:02:50,463 INFO Bound to JNDI name: queue/B
    09:02:50,463 INFO [C] Bound to JNDI name: queue/C
    09:02:50,463 INFO [D] Bound to JNDI name: queue/D
    09:02:50,463 INFO [ex] Bound to JNDI name: queue/ex
    09:02:50,479 INFO [testTopic] Bound to JNDI name: topic/testTopic
    09:02:50,479 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
    09:02:50,479 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
    09:02:50,479 INFO [testQueue] Bound to JNDI name: queue/testQueue
    09:02:50,510 INFO [UILServerILService] JBossMQ UIL service available at : /127.0.0.1:8093
    09:02:50,588 INFO [DLQ] Bound to JNDI name: queue/DLQ
    09:02:50,713 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
    09:02:50,776 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=globalEBR' to JNDI name 'java:globalEBR'
    09:02:50,807 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
    09:02:50,963 INFO [EARDeployer] Init J2EE application: file:/D:/jboss-4.2.0.GA/server/default/deploy/GlobalEBR.ear
    09:02:54,198 INFO [EjbModule] Deploying EBR
    09:02:54,369 INFO [ProxyFactory] Bound EJB Home 'EBR' to jndi 'org/rdc/ebr/bean/EBR'
    09:02:54,369 INFO [EJBDeployer] Deployed: file:/D:/jboss-4.2.0.GA/server/default/tmp/deploy/tmp1024GlobalEBR.ear-contents/GlobalEBR-EJB.jar
    09:02:54,385 INFO [TomcatDeployer] deploy, ctxPath=/GlobalEBR, warUrl=.../tmp/deploy/tmp1024GlobalEBR.ear-contents/GlobalEBR-Web-exp.war/
    09:02:54,666 INFO [ResponseOverrideFilter] Filter initialized. Response buffering is enabled
    09:02:55,057 WARN [TomcatDeployer] Failed to setup clustering, clustering disabled. NoClassDefFoundError: org/jgroups/blocks/MethodCall
    09:02:55,073 INFO [EARDeployer] Started J2EE application: file:/D:/jboss-4.2.0.GA/server/default/deploy/GlobalEBR.ear
    09:02:55,166 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
    09:02:55,229 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
    09:02:55,276 INFO [Server] JBoss (MX MicroKernel) [4.2.0.GA (build: SVNTag=JBoss_4_2_0_GA date=200705111440)] Started in 18s:969ms
    09:02:56,276 INFO [ExportViewFactory] Initializing ExportViewFactory with type={csv,excel,xml,pdf}
    09:02:56,276 WARN [ExportViewFactory] Unable to instantiate class for pdf export. org.displaytag.export.PdfView was found, but required libraries are missing: com/lowagie/text/Element
    09:02:56,276 INFO [TableProperties] No LocaleResolver configured.
    09:03:04,432 INFO [JbossLoginModule] Attempting to validate user intmfg2
    09:03:04,432 INFO [LdapDAO] Attempting to validate user: intmfg2
    09:03:06,119 INFO [LdapDAO] [UserDAO] Attempting to validate user : intmfg2
    09:03:06,119 INFO [JbossLoginModule] result: true
    09:03:06,135 INFO [JbossLoginModule] called getRoleSets
    09:03:06,135 INFO [JbossLoginModule] list of roles: [Ljava.security.acl.Group;@60eb0c
    09:03:24,869 ERROR [LogInterceptor] TransactionRolledbackException in method: public abstract org.rdc.ebr.Request org.rdc.ebr.interfaces.EBR.saveAsDraft(org.rdc.ebr.Request,java.lang.String) throws java.lang.Exception,java.rmi.RemoteException, causedBy:
    java.lang.LinkageError: loader constraint violation: loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) previously initiated loading for a different type with name "org/apache/struts/upload/FormFile"
    at org.rdc.ebr.Attachment.saveAttachment(Attachment.java:36)
    at org.rdc.ebr.Area.saveAreas(Area.java:178)
    at org.rdc.ebr.Request.saveRequest(Request.java:385)
    at org.rdc.ebr.Request.saveAsDraft(Request.java:503)
    at org.rdc.ebr.bean.EbrBean.saveAsDraft(EbrBean.java:290)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
    at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
    at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
    at org.jboss.ejb.Container.invoke(Container.java:960)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
    at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
    at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
    at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
    at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
    at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
    at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
    at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
    at $Proxy60.saveAsDraft(Unknown Source)
    at org.rdc.ebr.action.ProcessEbrRequestAction.saveDraft(ProcessEbrRequestAction.java:150)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:276)
    at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:196)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
    at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
    at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:420)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)
    09:03:24,900 WARN [GlobalEBR] [Class] org.jboss.ejb.plugins.AbstractTxInterceptor
    09:03:24,900 WARN [GlobalEBR] [Method] invokeNext
    09:03:24,900 WARN [GlobalEBR] [Line#] 274
    09:03:24,900 WARN [GlobalEBR] [Message] loader constraint violation: loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) previously initiated loading for a different type with name "org/apache/struts/upload/FormFile"; nested exception is:
    java.lang.LinkageError: loader constraint violation: loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) previously initiated loading for a different type with name "org/apache/struts/upload/FormFile"
    09:03:24,900 ERROR [STDERR] javax.transaction.TransactionRolledbackException: loader constraint violation: loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) previously initiated loading for a different type with name "org/apache/struts/upload/FormFile"; nested exception is:
    java.lang.LinkageError: loader constraint violation: loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) previously initiated loading for a different type with name "org/apache/struts/upload/FormFile"
    09:03:24,900 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:274)
    09:03:24,900 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
    09:03:24,900 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
    09:03:24,900 ERROR [STDERR] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
    09:03:24,900 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
    09:03:24,900 ERROR [STDERR] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
    09:03:24,900 ERROR [STDERR] at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
    09:03:24,900 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java:960)
    09:03:24,900 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    09:03:24,900 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    09:03:24,900 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    09:03:24,900 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
    09:03:24,900 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    09:03:24,900 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    09:03:24,900 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    09:03:24,900 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    09:03:24,900 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    09:03:24,900 ERROR [STDERR] at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
    09:03:24,900 ERROR [STDERR] at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
    09:03:24,900 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
    09:03:24,900 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
    09:03:24,900 ERROR [STDERR] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
    09:03:24,900 ERROR [STDERR] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
    09:03:24,900 ERROR [STDERR] at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
    09:03:24,900 ERROR [STDERR] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
    09:03:24,900 ERROR [STDERR] at $Proxy60.saveAsDraft(Unknown Source)
    09:03:24,900 ERROR [STDERR] at org.rdc.ebr.action.ProcessEbrRequestAction.saveDraft(ProcessEbrRequestAction.java:150)
    09:03:24,900 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    09:03:24,900 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    09:03:24,900 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    09:03:24,900 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
    09:03:24,900 ERROR [STDERR] at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:276)
    09:03:24,900 ERROR [STDERR] at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:196)
    09:03:24,900 ERROR [STDERR] at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
    09:03:24,900 ERROR [STDERR] at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
    09:03:24,900 ERROR [STDERR] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
    09:03:24,900 ERROR [STDERR] at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
    09:03:24,900 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    09:03:24,900 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    09:03:24,900 ERROR [STDERR] at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
    09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    09:03:24,900 ERROR [STDERR] at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
    09:03:24,900 ERROR [STDERR] at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
    09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    09:03:24,900 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    09:03:24,900 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
    09:03:24,900 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
    09:03:24,900 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    09:03:24,900 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
    09:03:24,900 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
    09:03:24,900 ERROR [STDERR] at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:420)
    09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    09:03:24,900 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
    09:03:24,900 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    09:03:24,900 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
    09:03:24,900 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    09:03:24,900 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)
    09:03:24,900 ERROR [STDERR] Caused by: java.lang.LinkageError: loader constraint violation: loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) previously initiated loading for a different type with name "org/apache/struts/upload/FormFile"
    09:03:24,900 ERROR [STDERR] at org.rdc.ebr.Attachment.saveAttachment(Attachment.java:36)
    09:03:24,900 ERROR [STDERR] at org.rdc.ebr.Area.saveAreas(Area.java:178)
    09:03:24,900 ERROR [STDERR] at org.rdc.ebr.Request.saveRequest(Request.java:385)
    09:03:24,900 ERROR [STDERR] at org.rdc.ebr.Request.saveAsDraft(Request.java:503)
    09:03:24,900 ERROR [STDERR] at org.rdc.ebr.bean.EbrBean.saveAsDraft(EbrBean.java:290)
    09:03:24,900 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    09:03:24,900 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    09:03:24,900 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    09:03:24,900 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
    09:03:24,900 ERROR [STDERR] at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
    09:03:24,900 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
    09:03:24,900 ERROR [STDERR] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
    09:03:24,900 ERROR [STDERR] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
    09:03:24,900 ERROR [STDERR] at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
    09:03:24,900 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
    09:03:24,900 ERROR [STDERR] ... 65 more
    09:03:24,916 WARN [GlobalEBR] =====Other Exception=====
    09:03:24,916 WARN [GlobalEBR] [Message] javax.transaction.TransactionRolledbackException cannot be cast to com.onsemi.rdc.exceptions.RDCException
    09:03:24,916 WARN [GlobalEBR] [Cause] null
    09:03:24,916 WARN [GlobalEBR] [Class] org.rdc.ebr.action.ProcessEbrRequestAction
    09:03:24,916 WARN [GlobalEBR] [Method] saveDraft
    09:03:24,916 WARN [GlobalEBR] [Line#] 170
    09:03:24,916 ERROR [STDERR] java.lang.ClassCastException: javax.transaction.TransactionRolledbackException cannot be cast to com.onsemi.rdc.exceptions.RDCException
    09:03:24,916 ERROR [STDERR] at org.rdc.ebr.action.ProcessEbrRequestAction.saveDraft(ProcessEbrRequestAction.java:170)
    09:03:24,916 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    09:03:24,916 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    09:03:24,916 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    09:03:24,916 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
    09:03:24,916 ERROR [STDERR] at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:276)
    09:03:24,916 ERROR [STDERR] at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:196)
    09:03:24,916 ERROR [STDERR] at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
    09:03:24,916 ERROR [STDERR] at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
    09:03:24,916 ERROR [STDERR] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
    09:03:24,916 ERROR [STDERR] at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
    09:03:24,916 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    09:03:24,916 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    09:03:24,916 ERROR [STDERR] at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
    09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    09:03:24,916 ERROR [STDERR] at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
    09:03:24,916 ERROR [STDERR] at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
    09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    09:03:24,916 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    09:03:24,916 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
    09:03:24,916 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
    09:03:24,916 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    09:03:24,916 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
    09:03:24,916 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
    09:03:24,916 ERROR [STDERR] at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:420)
    09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    09:03:24,916 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
    09:03:24,916 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    09:03:24,916 ERROR [STDERR] at org.apache.coyote.http11.H

  • Speed measurement with PCI6601

    I am building an application for measuring two linear encoders ( micrometers ) and one quadrature encoder for measuring speed of one motor.
    At the moment I can read the two linear encoders with the "position measurement" option for the PCI6601.
    But I have trouble to calculate in an easy way the speed of the rotating motor in RPM.
    Could anyone have any easy solution for doing this?
    Thanks
    Massimo Visintin

    Massimo,
    A few notes in no particular order:
    1. Re: future use of last counter for another speed measurement. With the 6601, you only have 1 DMA channel available for buffered measurements. A second buffered measurement would have to be manually configured to use interrupts.
    A buffered measurement will give you much better precision, but you may be better off starting with a simpler unbuffered approach when getting started.
    2. How accurately do you need to measure speed? And how often do you need a new measurement? It sounds like you're reasonably happy with a simple speed estimate made about once per second.
    3. Have you considered making a separate loop for the speed measurement? You could simply read the count once per second (unbuffered) and put it into a shift register. Then estimate speed as delta counts divided by delta time. A small enhancement would be to also store the time from 'Tick Count (msec)' on each loop, and use a measured delta time rather than an assumed one in the calculation.
    Note that with this method, it's best to run unbuffered to avoid the lock-up problem you saw. It'll also be simpler to add your second speed-measurement counter task in the future.
    4. Again, there *are* solutions available involving precise buffered measurements. I recently posted a DAQmx-based example that includes an instant-response buffered read (toward the end of this thread.). But I'd recommend first getting a simpler approach to work, then coming back to the buffered measurements later when you're sure you need more precision.
    Good luck!
    -Kevin P.

  • Inspect this method please.

    Hello,
    I would greatly appreciate some feedback on this method. The method is part of a class that is part of a project called FileSwap which I am developing in school. (My first networking app)
    Please ignore any syntax errors (I just wrote this up and haven't compiled...), and assume that a connection is established and all variables have been properly initialized. I am only looking for feedback on the meat of the method and logic, mainly reading from the socket and writing to a file. Lastly, the method is by no means complete...
    Thanks in advance...
    // FileSwap - receiveFile()
    private final int LENGTH_TO_READ = 1024;
    private String lastFileRequested;   // set for every sendCommand() not containing "List"
    private String separator;          // dependent on OS
    private String sharedDirectoryPath;
    byte[] bytesRead;
    InputStream is;
    BufferedInputStream bis;
    FileOutputStream fos;
    Socket fsSocket;
    public void receiveFile()
         // Before saving the file, verify to overwrite if it already exists
         int overwrite;
         File testOverwrite = new File(sharedDirectoryPath + separator + lastFileRequested);
         if (testOverwrite.exists())
              overwrite = JOptionPane.showConfirmDialog(
                   null,
                      ("File: " + lastFileRequested + " already exists. Overwrite?"),
                   "Message from FileSwap.",
                   YES_NO_OPTION);
              if (overwrite == JOptionPane.YES_OPTION)
                   // Save the file
                   try
                        fos = new FileOutputStream(sharedDirectoryPath + separator + lastFileRequested);
                        bytesRead = new byte[LENGTH_TO_READ];
                        // Get the sockets input stream
                        is = new InputStream(fsSocket.getInputStream());
                        bis = new BufferedInputStream(is, LENGTH_TO_READ);
                        // read the bytes, write them to a new file
                        while ((lengthRead = bis.read(bytesRead, 0, LENGTH_TO_READ) != -1)
                             fos.write(bytesRead, 0, lengthRead);
                   catch (IOException ioe)
                        JOptionPane.showMessageDialog(null, ioe.getMessage());
                   // TODO: cleanup
              else
                   // Do not overwrite, save new or discard...
                   // TODO
         else     
              // File doesn't exist, just save it
              try
                   fos = new FileOutputStream(sharedDirectoryPath + separator + lastFileRequested);
                   // Get the sockets input stream
                   is = new InputStream(fsSocket.getInputStream());
                   bis = new BufferedInputStream(is, lengthToRead);
                   // read the bytes, write them to a new file
                   while ((lengthRead = bis.read(bytesRead, 0, lengthToRead) != -1)
                        fos.write(bytesRead, 0, lengthRead);
              catch (IOException ioe)
                   JOptionPane.showMessageDialog(null, ioe.getMessage());
              // TODO: cleanup
    }

    If I use a buffer larger than 8192, I would have to set the socket receive buffer to reflect this... correct?Not necessarily. Large socket receive buffers always help, but there's no necessary connection between the size of the application buffer and the size of the socket receive buffer. The reason I said 8192 is that BufferedInputStream has an 8192 byte buffer.
    This would also prove to be much faster when downloading large files... correct?Definitely, and in this case the larger the socket receive buffer the better. Set it to 64k-1.

  • Sending file data through a buffer

    Hi there, I am new to using sockets, file/buffered input/output streams etc.
    What I want to do is create an application that listens on a port for (a request) from a remote host on a socket. It should receive the request as a string.
    Now lets say the request is for a file, so it expects the string request to be the file name;
    Say when the request comes in, the string would be something like this
    Request = �myfile.txt�
    Now the application will need to interpret that string and find the file, �myfile.txt� from a specific directory, and first send a string back (to the remote host) such as �sending myfile.txt�, followed by the actual file itself. The file would need to be buffered so that it does not cripple the network.
    I have not got a clue how to do this successfully, so any help would be much appreciated.
    Thanks.

    The [url http://java.sun.com/docs/books/tutorial/]Custom Networking tutorial has a section on using sockets within a Client/Server context.

  • Http Scenario. Pls advice very urgent

    Hi All,
    My Scenario is
    a. HTTP sends data to XI Synchronously.
    b. XI opens Socket Connection in User Defined Function (UDF)
        of Message Mapping and gets response back from Socket
        in UDF. For Socket Connection request and response I will
        write java code in UDF
    c. XI needs to send back Socket response to HTTP as XI has
        received data from HTTP Synchronously.
    d. XI also needs to send back Socket response to File.
    How to make this approach in XI using BPM.
    Pls expain urgent
    Regards

    Hi Praveen,
    Steps in BPM I have done :
    1. One Rec step with Open S/A mode.
        Abstract Sync Message Interface for HTTP Request and
        HTTP Response.
    2. Transformation Step (Mapping in BPM)
        HTTP Request and Socket Response
    3. Fork Step -- Necessary Branch 2
    4. Branch 1st --
      a. Transformation Step(Mapping in BPM)
        Socket Response and HTTP Response
       b.One Send Step with Close S/A mode for HTTPResponse
          back
    5. Branch 2nd --
    a. Transformation Step (Mapping in BPM)
        Socket Response and File Response
    b. One Send Step for File Response back.
    Pls advice is it ok ?
    Regards

  • JNI via Server-Side Language

    I'd like to use the following post as a reference: http://72.5.124.102/thread.jspa?threadID=788137&messageID=4479784
    "The DLL will remain loaded between calls, so if you use a global variable to store the connection then it should be ok. "
    Of course this makes logical sense. However, JNI doesn't have a handle from my understanding... JNI looks like this:
    private native void nativeMethodInvoke();
    static {
        System.load(path+dllName) // many alts to this, but yea.
    // somewhere in main thread....
    SelfClass varRefToSelf=new SelfClass();
    // where SelfClass is the current class running.
    // This doesn't make sense to me, considering usage of 'this' - so if anyone can explain that, I would greatly appreciate it.
    varRefToSelf.nativeMethodInvoke();So.... am I supposed to keep a global reference within my class, to itself?!?
    The actual problem is that I'm using a server-side language to invoke Java, and thus C++ via JNI. However, the server-side language is creating a new instance of the JAR upon each invocation. So my plan was to pass a reference to the module handle, and somehow manage to get that back to server-side language, and then furthermore back to Java JNI. Am thinking about moving to a servlet instead, since this doesn't appear to be possible - as unfortunate as that is.
    Would SingleThreadModel work in this case? Or should I have C++ thread itself, so when Java makes a call, I can let C++ handle data by forwarding to correct module in memory? Assuming the above mentioned post is accurate, then the DLL, when loaded by Java, will stay in memory until unloaded. If the jvm is exiting after each server-side invocation, I must assume multiple instances of the dll are being created. So, am thinking this prospect will work... servlets aside...
    Any help is appreciated. I clearly do not understand JNI as well as I should.
    *Edit:
    I have already tried this, and found that C++ DLL's thread is definitely active in memory post-jvm exit. The DLL also appears to be loaded multiple times, as the data I'm dealing with appears to be unique, in that it's not "stepping into itself" and overwriting pointers, or anything.
    Am I going to have to create an instance of my class, via itself, to launch itself in the jvm manually - to keep the reference to dll in memory?
    Although that statement sounds terribly redundant... I believe it's accurate...
    1.) Create instance of class that's called by server-side, launch it under new jvm
    2.) Have orig class return to server-side as normal, and forward any new requests to the jvm-launched "self"; based on detection of class/jvm in memory...
    For being cross-platform "magical", Java sure makes it difficult to perform pretty basic tasks....

    Thanks for the great information jschell, this clears up alot. I'll play around with these new prospects and see if I can get this running properly.
    Also, let me define more what I'm actually doing.
    I'm using Railo, and a CFX "tag" to invoke a JAR. This Jar contains the JNI to execute a DLL's code. This dll's code is merely in place to perform some server tasks - mostly routine file maintenance, and checks to ensure normal operation. Some of this includes db queries. Yes this can be done in Java for the most part, but we plan to use the DLL exports later in a deployment scenario.
    So, "Did you mean it is loading the jar each time?", I do believe so. However, the instances appear to be different. If i were to create a thread within the JNI invoking class, which i have tried by the way, and create a global variable with some value, the second calling of the JAR file reports that it has not been defined yet on class initialization. Additionally, the thread I mentioned also halts, and does not exist within the second calling.
    Let me show some actual code...
    Test.cfm...
    <cfx_mytag Library="myLibrary.dll" task="function1">
    <cfscript>
    ... // do some stuff.
    </cfscript>If I were to alter that to:
    <cfx_mytag Library="myLibrary.dll" task="function1">
    <cfx_mytag Library="myLibrary.dll" task="function2">
    <cfscript>
    ... // do some stuff.
    </cfscript>I found that function2 in the same JAR, loaded via "cfx_mytag", reports inexistance of function1's execution - which registered a value into a global var.
    This is why I must assume that the JAR is being loaded independantly - each time. Correct me if wrong. Perhaps my terminology is off - the class within the jar file is multi-instanced, as far as I can tell. Or rather... Railo is creating mutliple instances of this class - and thus I lose my handle to my dll - every call... Seemingly at least.
    //Java...
    import com.allaire.cfx.*;
    public final class myClass implements CustomTag {
         private Request req;
         private Response res;
            public boolean igetresetoften;
         private native void gogoGadgetDLL();
         public myClass() {
        public void processRequest(Request request,Response response) throws Exception {
             this.req=request;this.res=response;
              if (!this.igetresetoften) {
                     igetresetoften=true;
                     res.write("yea... this is annoying");
                // in actual code - function1() assigns global var.
                // and function2() reports to response buffer the value of the global var , which is constantly false each run.
    }Notice the similarity to a servlet (request/response buffers). I've dealt with servlets, so I know that all requests are threaded.. but the global vars in a servlet are, in fact, ... global. Not in this case, it would seem.
    Thanks again, I'll let you know of my results, late tonight.
    Edited by: jSD7 on Nov 13, 2009 4:20 PM

  • HFM data extract via Web

    We are using 11.1.2.1 on windows 2008 R2 servers.
    Is there in HFM anything that limits the file size when you're doing a metadata or data export? Maybe not a file size limitation, but may a time limitation or something? I know when I tried to do an export of the application via the HFM client, I got the entire file. When I did it via the web, I could tell I got about half of the file (based on the file size) and I think it gave me the last half of the file since it didn't start with the correct file tags. I typically don't do any of my extracts via the web (I do them through the client), but many of our users do. If there is some kind of limitation within Hyperion do you think we could increase it? We have a user who didn't get a complete file via the web.

    Not sure if this is your problem or not, but when we upgraded to 11.1.2.1.103 I had a similar issue where I would only get 1/2 my metadata extract. Maybe try this and see if it helps:
    Metadata/Data Exports
    You will need to set the AspResponseBufferLimit by performing the following steps.
    By default, the value for the ASPBufferLimit property in IIS 6 and for the bufferLimit property in IIS 7 is 4,194,304 bytes (4 MB).
    The recommendation is to set the value to 1073741824 (1 GB).
    To increase the buffering limit in IIS 6, follow these steps:
    1. Click Start, click Run, type cmd, and then click OK.
    2. Type the following command, and then press ENTER:
    cd /d %systemdrive%\inetpub\adminscripts
    3. Type the following command, and then press ENTER:
    cscript.exe adsutil.vbs SET w3svc/aspbufferinglimit LimitSize
    Note: LimitSize represents the buffering limit size in bytes. For example, the number 1073741824 sets the buffering limit size to 1 GB.
    To increase the buffering limit in IIS 7, follow these steps:
    1. Click Start, click Run, type inetmgr, and then click OK.
    2. In the left hand panel, expand the computer name by clicking the plus sign next to it.
    3. Expand the “Sites”.
    4. Expand “Default Web Site”
    5. Select the HFM web site in the expanded list.
    6. In the middle panel “Features View”, in the IIS section, double click the ASP icon.
    7. Expand “Limits Properties”.
    8. Change “Response Buffering Limit” to 1073741824.
    9. In the right hand panel, select “Apply”.
    10. Restart IIS.

  • Is it possible to clear the outputStream of a HttpServletRespons object?

    Hi!
    Is it possible to clear the outputStream of a HttpServletRespons object?
    I set the content type of my responsobject and also addheader:
    p_res.setContentType( "application/x-zip-compressed" );
    p_res.addHeader("Content-Disposition","inline; filename="someName'"');
    Later on i take the outputStream to write back a zipped xmlfile, but if anything goes wrong i don't want a zipfile just an xml-file saying something has gone wrong, but then the contentType of the responseobject is already set.
    /Linda

    Hi Linda,
    As of Servlet API version 2.2 it is possible using something called Response buffering. A few new methods have been added to the ServletResponse class. One of them reset() can be used to empty the buffer and unset the headers.
    I have no idea which or how many servers support this specification. You will find more information on this at this site.
    Enjoy Java.

  • NIO BufferedInputStream

    I know I can extract the data from a NIO socket by reading the channel, but I was trying a different approach and ran across something strange.
    When I take the socket from a NIO channel and attach a BufferedInputStream to it as with a normal socket, and then try to read from that every time the selector announces that data is ready - it will tell me there is no data to be read if I call available() - and if I try to read it won't return any. It seems almost as if the channel has already taken the data from the socket and buffered it into itself?
    I'm just wondering if this is expected behavior, or if I am actually doing something wrong. (I know it's a strange approach - I'm just wondering if theoretically it should work or not)

    Here is the relevant code from two different classes from a much larger project - I renamed and removed a few things so if something doesn't make sense that's probably why.
    So, in this example tmpTO.ReadBufferedData(); is called and when it gets to System.out.println("bytesavail:'" + bytesAvail + "'"); it prints out bytesavail: 0
    private void AddNewSocket(SocketChannel newSC)
         SelectionKey tmpSK = null;
         try
              newSC.configureBlocking(false);
              newSC.socket().setTcpNoDelay(true);
              tmpSK = newSC.register(mySelector, SelectionKey.OP_READ);
         } catch (IOException ioe) {}
         DataTestObj tmpTO = new DataTestObj(newSC.socket());
         tmpSK.attach(tmpTO);
    * Start checking our sockets for incoming data
    public void run()
         boolean listening = true;
         try
              // initialize our nio
              mySelector = SelectorProvider.provider().openSelector();
         } catch (IOException ioe) {}
         new Thread(NS).start();
         Thread.yield();
         while (listening)
              if (socketQueue.size() > 0)
                   // if we have sockets waiting to be added...
                   Iterator<SocketChannel> LI = socketQueue.iterator();
                   while (LI.hasNext())
                        AddNewSocketFinal(LI.next());
                        LI.remove();
              try
                   if (mySelector.select(2000) > 0)
                        Iterator LI = mySelector.selectedKeys().iterator();
                        while (LI.hasNext())
                             System.out.println("incoming sock data");
                             SelectionKey tmpSK = (SelectionKey)LI.next();
                             Object tmpObj = tmpSK.attachment();
                             UserObject tmpUO = null;
                             DataTestObj tmpTO = null;
                             try
                                  tmpTO = (DataTestObj)tmpObj;
                             } catch (ClassCastException cce) {}
                             String tmpStr = "";
                             if (tmpSK.isReadable())
                                  // handle any available data
                                  tmpTO.ReadBufferedData();
                                  tmpStr = tmpTO.StorePacket();
                                  while (tmpStr.length() > 0)
                                       // do stuff with the packet data...
              } catch (IOException ioe) {}
    public class DataTestObj
         Socket mySock = null;
         BufferedOutputStream bos = null;
         BufferedInputStream bis = null;
         String PacketData = "";
         public DataTestObj(Socket sock)
              mySock = sock;
              try
                   bos = new BufferedOutputStream(mySock.getOutputStream());
              catch (IOException ioe) {}
              try
                   bis = new BufferedInputStream(mySock.getInputStream());
              catch (IOException ioe) {}
          * Read all the data from the socket
         public void ReadBufferedData()
              System.out.println("reading buffer");
              int bytesAvail = 0;
              int bytesRead = 0;
              int myRead = 0;
              byte[] ByteArr = new byte[1024];
              try
                   bytesAvail = bis.available();
              catch (IOException ioe)
                   System.out.println("bis avail err?:'" + ioe.toString() + "'");
              System.out.println("bytesavail:'" + bytesAvail + "'");
              while (bytesRead < bytesAvail)
                   try
                        myRead = bis.read(ByteArr);
                   catch (IOException e)
                        System.out.println("bis read err?:'" + e.toString() + "'");
                        myRead = 0;
                   System.out.println("bytesread:'" + myRead + "'");
                   if (myRead > 0)
                        try
                             PacketData += new String(ByteArr,0,myRead,"ISO-8859-1");
                             System.out.println("new pd len:'" + PacketData.length() + "'");
                        } catch (IOException e) {}
                        bytesRead += myRead;
                   else if (myRead == -1)
                        break;
    }

Maybe you are looking for