How does WebLogic clean up stuck threads?

Hi,
Using WebLogic 9.2.2 on Linux OS. In our logs, we are finding some stuck threads and it seems to be due to something WebLogic is doing. While we don't understand the cause (maybe the stack trace helps), does WebLogic do anything to remove stuck threads from its pool, or is there anything we can do to configure it to?
<Jul 21, 2009 2:50:21 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "605" seconds working on the request "Http Request: /RoutingEngine/pcFlow.do", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
Thread-69 "[STUCK] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'" <alive, in native, suspended, priority=1, DAEMON> {
jrockit.net.SocketNativeIO.readBytesPinned(Unknown Source)
jrockit.net.SocketNativeIO.socketRead(Unknown Source)
java.net.SocketInputStream.socketRead0(SocketInputStream.java:???)
java.net.SocketInputStream.read(SocketInputStream.java:107)
java.io.BufferedInputStream.fill(BufferedInputStream.java:189)
java.io.BufferedInputStream.read(BufferedInputStream.java:234)
^-- Holding lock: java.io.BufferedInputStream@3537712[thin lock]
weblogic.net.http.MessageHeader.isHTTP(MessageHeader.java:214)
weblogic.net.http.MessageHeader.parseHeader(MessageHeader.java:141)
weblogic.net.http.HttpClient.parseHTTP(HttpClient.java:473)
^-- Holding lock: java.io.BufferedInputStream@3537712[thin lock]
weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:332)
^-- Holding lock: java.io.BufferedInputStream@3537712[thin lock]
weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLConnection.java:36)
weblogic.wsee.util.dom.DOMParser.getWebLogicDocumentImpl(DOMParser.java:92)
weblogic.wsee.util.dom.DOMParser.getDocument(DOMParser.java:56)
weblogic.wsee.wsdl.WsdlReader.getDocument(WsdlReader.java:311)
weblogic.wsee.wsdl.WsdlReader.getDocument(WsdlReader.java:305)
weblogic.wsee.wsdl.WsdlSchema.parse(WsdlSchema.java:120)
weblogic.wsee.wsdl.WsdlSchemaImport.parse(WsdlSchemaImport.java:55)
weblogic.wsee.wsdl.WsdlSchema.parse(WsdlSchema.java:82)
weblogic.wsee.wsdl.WsdlSchema.parse(WsdlSchema.java:62)
weblogic.wsee.wsdl.WsdlTypes.parse(WsdlTypes.java:145)
weblogic.wsee.wsdl.WsdlDefinitions.parseChild(WsdlDefinitions.java:452)
weblogic.wsee.wsdl.WsdlExtensible.parse(WsdlExtensible.java:84)
weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:378)
weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:358)
weblogic.wsee.wsdl.WsdlFactory.parse(WsdlFactory.java:50)
weblogic.wsee.jaxrpc.ServiceImpl.loadWsdlDefinition(ServiceImpl.java:437)
weblogic.wsee.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:95)
com.myco.regui.provisioning.client.ProvisioningAccountService_Impl.<init>(ProvisioningAccountService_Impl.java:21)
com.myco.regui.provisioning.client.ProvisioningAccountService_Impl.<init>(ProvisioningAccountService_Impl.java:17)
com.myco.regui.struts.accounts.AccountsForm.contactWPS(AccountsForm.java:208)
com.myco.regui.struts.accounts.AccountsForm.validateAccountid(AccountsForm.java:161)
com.myco.regui.struts.accounts.AccountsForm.validatePCAccountId(AccountsForm.java:144)
com.myco.regui.struts.accounts.AccountsForm._validatePCFields(AccountsForm.java:112)
com.myco.regui.struts.accounts.AccountsForm.validate(AccountsForm.java:83)
org.apache.struts.chain.commands.servlet.ValidateActionForm.validate(ValidateActionForm.java:57)
org.apache.struts.chain.commands.AbstractValidateActionForm.execute(AbstractValidateActionForm.java:94)
org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:48)
org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:176)
org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:303)
org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:176)
org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:272)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1903)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
javax.servlet.http.HttpServlet.service(HttpServlet.java:736)
javax.servlet.http.HttpServlet.service(HttpServlet.java:851)
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:224)
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:108)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:198)
weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:41)
com.myco.regui.servlets.filters.TransactionFilter.doFilter(TransactionFilter.java:23)
.......

You can configure these actions to occur when not all threads are stuck, but the number of stuck threads have exceeded a configured threshold:
* Shut down the Work Manager if it has stuck threads. A Work Manager that is shut down will refuse new work and reject existing work in
the queue by sending a rejection message. In a cluster, clustered clients will fail over to another cluster member.
* Shut down the application if there are stuck threads in the application. The application is shutdown by bringing it into admin mode. All
Work Managers belonging to the application are shut down, and behave as described above.
* Mark the server instance as failed and shut it down it down if there are stuck threads in the server. In a cluster, clustered clients that
are connected or attempting to connect will fail over to another cluster member.
Link : [http://e-docs.bea.com/wls/docs103/config_wls/overload.html]

Similar Messages

  • How does WebLogic 8.1 get the BASE HREF value?

    We have a WebLogic 8.1 SP4 server with a Juniper DX load balancer in front. We are trying to get Juniper to handle all the SSL traffic for the WebLogic application. Between Juniper and WebLogic, it would be just HTTP and between Juniper and web clients it would be HTTPS. One of the main issues we are seeing is that Struts HTML:BASE tag is returning the Juniper address as we expected, with the correct SSL port and application context/paths. However, the protocol for this base href is set to HTTP and not HTTPS. Consequently, our pages do not load properly.
    I am trying to understand where this value comes from. The underlying code uses request.getScheme() to get the protocol. So, we could "customize" the tags to work around this, but that is a hack that I am trying to avoid. I assume that the HTTP stack that WebLogic 8.1 uses is providing this info from the HTTP request. Does this come from the web browser? How does WebLogic get this to put it into the request object in the web container? We have sniffed the HTTP headers on the web client side and we cannot see where this is coming from.

    I remember facing a similar issue with webloigc 8.1 and apache
    I dont think its a problem with the tag..
    I think i have changed the transport-guarantee in web.xml
    If you have NONE try setting that to CONFIDENTIAL and vice versa

  • How does weblogic maintain idle JDBC connection

    I see weblogic maintaining connections even when they are idle. (unless we explicity mention to remove)
    How does weblogic maintain the socket on DB under idle condition? Does webogic do ping kind of activity to maintain/renew the socket for all idle connections in the pool.

    The test-frequency-seconds property specifies the number of seconds between tests of unused connections. WebLogic Server tests unused connection and reopens any faulty connections. You must also set the Test Table Name.
    The seconds-to-trust-an-idle-pool-connection property specifies the number of seconds within a connection use that WebLogic Server trusts that the connection is still viable and will skip the connection test during the periodic connection testing process.

  • How does weblogic render shell?

    Hi,
    how does weblogic render shell?
    below is my shell file fragment,
    <netuix:head/>
    <netuix:body>
    <netuix:header>
    <netuix:jspContent contentUri="/framework/skeletons/header/pageHeader.jsp"/>
    </netuix:header>
    <netuix:jspContent contentUri="/framework/skeletons/navigation/topMenu.jsp" />
    <netuix:jspContent contentUri="/framework/skeletons/navigation/leftMenu.jsp"/>
    <netuix:footer>
    <netuix:jspContent contentUri="/framework/skeletons/footer/pageFooter.jsp"/>
    </netuix:footer>
    </netuix:body>
    Do all jsp (pageHeader.jsp, topMenu.jsp, leftMenu.jsp, pageFooter.jsp) rendered parallaly or they rendered as per the flow (as they defined in shell)?
    If I set any request attribute in head.jsp or pageHeader.jsp, will it be available in topMenu.jsp or leftMenu.jsp?

    The test-frequency-seconds property specifies the number of seconds between tests of unused connections. WebLogic Server tests unused connection and reopens any faulty connections. You must also set the Test Table Name.
    The seconds-to-trust-an-idle-pool-connection property specifies the number of seconds within a connection use that WebLogic Server trusts that the connection is still viable and will skip the connection test during the periodic connection testing process.

  • How does weblogic render portal skeleton jsps?

    Hi,
    how does weblogic render shell?
    below is my shell file fragment,
    <netuix:head/>
    <netuix:body>
    <netuix:header>
    <netuix:jspContent contentUri="/framework/skeletons/header/pageHeader.jsp"/>
    </netuix:header>
    <netuix:jspContent contentUri="/framework/skeletons/navigation/topMenu.jsp" />
    <netuix:jspContent contentUri="/framework/skeletons/navigation/leftMenu.jsp"/>
    <netuix:footer>
    <netuix:jspContent contentUri="/framework/skeletons/footer/pageFooter.jsp"/>
    </netuix:footer>
    </netuix:body>
    Do all jsp (pageHeader.jsp, topMenu.jsp, leftMenu.jsp, pageFooter.jsp) rendered parallaly or they rendered as per the flow (as they defined in shell)?
    If I set any request attribute in head.jsp or pageHeader.jsp, will it be available in topMenu.jsp or leftMenu.jsp?

    Ellen,
    I am not clear about your question.
    User A will only see the data which is retrieved based on it's principal
    name (I assume you use principal name as an argument to retrieve the data
    from DB).
    If you are using p13n cache make sure the principal name is part of the key.
    Please provide more details if you see that I did not understand your
    question.
    Regards,
    Michael Goldverg
    "ellen" <[email protected]> wrote in message
    news:3d6e46ef$[email protected]..
    >
    My application has multiple portlets which need to display very sensitiveuser
    data.
    These portlets read user principles from session (e.g. <weblogic:getproperty>)
    and make calls to an EJB to retrieve data from database and display theseuser
    specific data.
    I didn't specify any synchronize in my code. My concern is when two useraccess
    the portlet at the exact same time, will user A see user B's data?
    Any suggestions or general guide lines about synchronize in portal will bevery
    helpful.
    Thanks,
    Ellen
    These portlet (.jsp file)

  • Weblogic 8.14: Stuck Threads during JMS - IO native write operations

    G'day!
    Hope somebody can advise a solution on the following...
    Recently message loads have started to increase on our weblogic 8.14 cluster (3 servers) and we started to see an almost daily occurrence of Stuck Thread issues. From thread dumps we could see these were caused by jrockit/net/SocketNativeIO.write processes. We concluded we had reached the max performance limit for the file based JMS stores and so we moved these to database based JMS stores. This certainly seemed to improve matters - but we have recently seen the issue return. Which is puzzling, as technically we thought all messages would be persisted to the database, and any file IO on the application server would be eliminated. Our database resides on a separate dedicated oracle server. We tracked a recent cause to a large message (200K) which caused the Struck Thread - resulting in a build up of pending messages. After bouncing the server the message processed ok. Any thoughts on how to overcome these issues - greatly appreciated. Here's some detail on the stuck thread from the thread dump: (+Why does weblogic use IO when the JMS store is on a database?+). All messages are persistant.
    "ExecuteThread: '6' for queue: 'weblogic.kernel.Default'" prio=5 id=0xc00 pid=27544 active, daemon
    at jrockit/net/SocketNativeIO.write(Native Method)@0xf3aeae10
    at jrockit/net/SocketNativeIO.write(Unknown Source)@0xf3aeae9c
    at jrockit/io/NativeIO.write(Unknown Source)@0xf3ae62c6
    at java/net/AbstractSocketImpl$2.write(Unknown Source)@0xf3aeada4
    at jrockit/io/NativeIOOutputStream.write(Unknown Source)@0xf3ae61ec
    at jrockit/io/NativeIOOutputStream.write(Unknown Source)@0xf3ae618d
    at java/io/DataOutputStream.write(Unknown Source)@0xf4e3ec25
    ^-- Holding lock: java/io/DataOutputStream@0x4309fc80[thin lock]
    at com/ibm/mq/MQInternalCommunications.send(MQInternalCommunications.java:1022)@0xed34364a
    ^-- Holding lock: com/ibm/mq/MQInternalCommunications@0x4309f7e0[thin lock]
    at com/ibm/mq/MQSESSIONClient.lowLevelComms(MQSESSIONClient.java:2832)@0xed342fbd
    ^-- Holding lock: java/lang/Integer@0x4309f8a0[thin lock]
    at com/ibm/mq/MQSESSIONClient.MQPUT(MQSESSIONClient.java:3844)@0xed34271b
    at com/ibm/mq/MQQueue.putMsg2(MQQueue.java:1486)@0xed342262
    ^-- Holding lock: com/ibm/mq/MQSPIQueue@0x4312ce80[thin lock]
    at com/ibm/mq/jms/MQMessageProducer.sendInternal(MQMessageProducer.java:1569)@0xed33d1ab
    at com/ibm/mq/jms/MQMessageProducer.send(MQMessageProducer.java:1012)@0xed860a49
    at com/ibm/mq/jms/MQMessageProducer.send(MQMessageProducer.java:1046)@0xed8605f4
    at weblogic/jms/adapter/JMSBaseConnection.sendInternal(JMSBaseConnection.java:667)@0xef7df0bf
    ^-- Holding lock: weblogic/jms/adapter/JMSBaseConnection@0x43093748[thin lock]
    at weblogic/jms/adapter/JMSBaseConnection.access$200(JMSBaseConnection.java:80)@0xef7dee28
    at weblogic/jms/adapter/JMSBaseConnection$6.run(JMSBaseConnection.java:647)@0xef7dee1d
    at weblogic/security/acl/internal/AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)@0xf2fcbb88
    at weblogic/security/service/SecurityManager.runAs(SecurityManager.java:147)@0xf2fcbb0a
    at weblogic/jms/adapter/JMSBaseConnection.send(JMSBaseConnection.java:644)@0xef7decf3
    at weblogic/jms/adapter/JMSConnectionHandle.send(JMSConnectionHandle.java:144)@0xef7dec7c
    at jrockit/reflect/NativeMethodInvoker.invoke0(Native Method)@0xf4f10d10
    at jrockit/reflect/NativeMethodInvoker.invoke(Unknown Source)@0xf4f10e98
    at jrockit/reflect/VirtualNativeMethodInvoker.invoke(Unknown Source)@0xf4e86d70
    at java/lang/reflect/Method.invoke(Unknown Source)@0xf4f104c3
    at weblogic/connector/common/internal/ConnectionWrapper.invoke(ConnectionWrapper.java:149)@0xed96a498
    at $Proxy14.send(Unknown Source)@0xef7dec04
    at weblogic/jms/bridge/internal/MessagingBridge.onMessageInternal(MessagingBridge.java:1258)@0xed857b25
    at weblogic/jms/bridge/internal/MessagingBridge.onMessage(MessagingBridge.java:1181)@0xed857864
    at weblogic/jms/adapter/JMSBaseConnection$27.run(JMSBaseConnection.java:1943)@0xef7de623
    at weblogic/security/acl/internal/AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)@0xf2fcbb88
    at weblogic/security/service/SecurityManager.runAs(SecurityManager.java:147)@0xf2fcbb0a
    at weblogic/jms/adapter/JMSBaseConnection.onMessage(JMSBaseConnection.java:1939)@0xef7de586
    at weblogic/jms/client/JMSSession.onMessage(JMSSession.java:2678)@0xeee7e30c
    at weblogic/jms/client/JMSSession.execute(JMSSession.java:2598)@0xeee7d25d
    at weblogic/kernel/ExecuteThread.execute(ExecuteThread.java:219)@0xf4e14070
    at weblogic/kernel/ExecuteThread.run(ExecuteThread.java:178)@0xf4e1fddb
    at java/lang/Thread.startThreadFromVM(Unknown Source)@0xf4f3c9f3
    Thanks
    C.

    I'm not sure what operating system you're running, but I only have experience of WLS8.1 on Windows.
    We did extensive load testing of JMS before we went live, and found JDBC file stores to be rubbish in comparison to file store. When a message is persisted, it has to be written to the database, then when it is consumed, it must be deleted from the table. This simply killed our system when we load tested it.
    One thing we did do though, was use a second JMS server and second file store for one particularly heavy queue, where we did have IO issues. This was with a JMS distributed destination. We also use a synchronous write policy of cache-flush on the file store and we also have configured a paging store to page messages so the app server does not run out of memory.
    200K isn't by any means a huge message though, and shouldn't be any problem at all, we have 1mb messages quite regularly.
    I notice from the stack trace, that you have MQ series aswell. I'm not experienced with MQ, so can't give any information, but what I would try is the following.
    Using a JMS server with JMS File storage, develop a small java client to write as many messages to the queue and effectively stress the JMS subsystem just to establish if the filestore is the problem. This should be done without a connection to MQ and also use large messages. if you don't get any issues and WebLogic JMS with file store looks ok, then attach a consumer to the queue, which should also be a simple java client. Then you have production and consumption going on, which will result in writes and read's/deletes from the jms file store.
    Once you've stress tested JMS and you are satisfied that its ok or not, then add the MQseries connection and see how that affects things.
    You may well have already done all this, so please feel free to ignore me! I did a load of this kind of stuff before we went live to try and bash JMS to bits, but I didn't manage it! The only thing we did was add a second file store and second JMS server.
    I just looked back in my support cases, and found we'd had a similar issue - disk fragmentation seemed to be one of the factors here too. The JMS file store was heavily fragmented. That's windows for you though!!!
    Hope that helps.
    Pete

  • How does WebLogic know it needs XA transaction?

    I've been informed that Weblogic 8.1 "knows" whether it needs to start a global XA transaction or not when it starts a transaction...sparing the overhead of an XA transaction if it is not needed.
              Is this a true statement?...and if so...how does it know that distributed resources will be used in the transaction when it is starting the transaction?
              The main reason I ask is that we are wondering if there is any way to avoid using the XA driver for "every" transaction, when we only need it less than 1% of the time. We would like to avoid the overhead that is introduced with XA.

    WebLogic always performs XA operations, it looks at the resource and checks if it implements the XAResource interface, if it does it uses the XA operations with that resource otherwise the operations will just be a null op.
              So it depends on what resources you use in the tx. If you mix, XA and Non-XA resources in the tx, you may hit heuristic exceptions and inconsistentcies in your data which you will have to manually correct. Also you loose the ability to recover any transactions.

  • How does weblogic work on JView ????

    Hi,
    The startweblogic.cmd file has options where I can use Microsoft's JVM
    for weblogic.
    But How could this be ?? because Microsoft's JVM does not support RMI
    ... but weblogic can deploy EJBs which is based on RMI ??
    Has anyone thought about this ?
    regards,
    Abhishek.

    WebLogic uses its own RMI implementation so it does not depend on the
    JVM for this.
    However, I would not recommend using Jview unless you have to do it.
    It's still a JDK 1.1 JVM.
    -- Rob
    Abhishek wrote:
    >
    Hi,
    The startweblogic.cmd file has options where I can use Microsoft's JVM
    for weblogic.
    But How could this be ?? because Microsoft's JVM does not support RMI
    ... but weblogic can deploy EJBs which is based on RMI ??
    Has anyone thought about this ?
    regards,
    Abhishek.--
    Coming Soon: Building J2EE Applications & BEA WebLogic Server
    by Michael Girdley, Rob Woollen, and Sandra Emerson
    http://learnweblogic.com

  • How does Weblogic find out which webservice method to invoke?

    Hi!
    I developed a webservice which is currently running on weblogic & everything is fine ;). Yesterday I tried to get it running on a different app server (jboss) and it simply would not work. I always got an error, that the operation requested does not exist on the endpoint. I investigated the issue & came to the conclusion that it is correct...the operation requested does really not exist. Now...why does it work on weblogic?!?
    Here a few details on the application:
    important part from the wsdl & xsds:
    <wsdl:message name="performTransactionSearch">
    <wsdl:part name="parameters" element="tns:performTransactionSearchRequest" />
    </wsdl:message>
    <wsdl:portType name="TransactionService">
    <wsdl:operation name="performTransactionSearch">
    <wsdl:input message="tns:performTransactionSearch" />
    <wsdl:output message="tns:performTransactionSearchResponse"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="O2HWOnlyJournalServicePortBinding" type="tns:O2HWOnlyJournalService">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
    style="document" />
    <wsdl:operation name="performTransactionSearch">
    <soap:operation soapAction="" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    And here the xsd type:
    <xs:element name="performTransactionSearchRequest" type="tns:performTransactionSearchRequest"/>
    <xs:element name="performTransactionSearchResponse" type="tns:performTransactionSearchResponse"/>
    <xs:complexType name="performTransactionSearchRequest">
    <xs:all>
    <xs:element name="RequestHeader" type="base:requestHeader" minOccurs="0"/>
    <xs:element name="TransactionSearchCriteria" type="wstypes:transactionSearchCriteria" minOccurs="1"/>
    </xs:all>
    </xs:complexType>
    <xs:complexType name="performTransactionSearchResponse">
    <xs:sequence>
    <xs:element name="SearchResponseItem" type="wstypes:searchResponseItem" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    Last but not least, the method:
    public List<SearchResponseItem> performTransactionSearch(RequestHeader header, TransactionSearchCriteria criteria) { ... }
    The difference in the soap request messages differs in the outer tag. Weblogic expects what is defined in the xsd -> <performTransactionSearchRequest>, whereas jboss expects the operation/method <performTransactionSearch>.
    With jboss it only works w/o the 'Request'-suffix....with Weblogic it only works with the suffix.
    In a last attempt I adjusted the xsd, and changed the name for the tag to 'performTransactionSearch'. In that case, both app servers accept the same request (the one w/o the 'Request'-suffix) & it works fine.
    Now...long story short ;) ... why is that? I understand why Jboss is not able to work with the "wrong" tag, even though it is strange that it accepts a tag that is not even defined in the xsd.
    But, at least to me, I found it even stranger, that weblogic "knows" which operation to invoke. Can anyone give a little insight how a soap message gets processed in wl & how wl finds out which operation to invoke?
    Many thanks in advance :).

    Hi
    I am seeing frequent FULL GC This is because you are creating and destroying objects VERY frequently. Try to look at your design and see where you can reuse objects (i.e. object pooling) if possible, that is if this is adversely affecting performance.
    and not able to locate
    which particular class/method is calling the
    System.gc(). Classes don't call GC. The VM handles that automagically.
    I have disabled it using
    -XX:DisableExplicitGC and performance issues have
    been resolved. Also, I noticed that it does not
    happen periodically, so it is not RMI GC. How to find
    out who exactly is doing this? Does any of of the
    profilers like Optimizeit/Jprobe help find out this.OptimizeIt will tell you everything you need to know. However, NetBeans offers a free profiler now!

  • How does Weblogic 7 check for well-formed xmls

    Hello,
    I am having trouble deploying my applications with WLS 7.0. The error I am getting
    is that my web.xml is not well-formed, but I have double-checked everything and
    I think it is correct.
    I have read that weblogic 7.00 does not deploy an application which xmls are not
    well-formed (whereas earlier versions of weblogic would do so).
    My question is: against what dtds does WLS 7 check the web.xml, the weblogic.xml
    , etc.? I would think that it would check it against the dtd in the head of the
    xnl file, i.e., http://java.sun.com/dtd/web-app_2_3.dtd for the web.xml, is this
    correct?
    If this was true, what about intranet applications that are not connected to the
    Internet? could this be the reason?
    TIA Cristina Ceballos

    Document doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(new InputSource(new StringReader(xmlString)));try/catch this ugly line, if no parse exception and a non -null doc exists then your XML is well-formed.
    of course if your XML contains namespaces, you would have to setup correctly the document builder.

  • How does one clean out the trash, after putting in a time line file in?

    After cleaning out some old files, it was late one night that I put a old file from the Time Line into the trash.  Now how can this be FIXED?

    Time Line...? If you mean Time Machine, then you should only delete old backups and files using the Time Machine interface.
    If you did a NO NO and moved old Time Machine backups to the Trash using Finder? Then go to > Time Machine - Frequently Asked Questions 12 and scroll down to the section in gray for the solution.

  • How does one clean officejet 4500 wireless print rollers?cc=US

    Can't find instructions in the manual. 

    Hello Sophie14,
    Thanks for the post.  I've included a link below that will take you to the process for cleaning and maintenance.  I hope this helps....Good Luck!
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01931887&cc=us&dlc=en&lc=en&product=3986399&tmp...
    I worked for HP but my posts and replies are my own....Thank you!
    *Say thanks by clicking the *Kudos!* which is on the left*
    *Make it easier for other people to find solutions, by marking my answer with (Accept as Solution) if it solves your issue.*

  • Which DDL does Weblogic use?

    How does weblogic determine which DDL to use when creating JMS persistent store?

    How does weblogic determine which DDL to use when          > creating JMS persistent store?
              The DDL is stored in the weblogic.jar, and a particular DDL is chosen automically based on driver meta-data.
              Version 9.0 (out in beta), provides the option of administratively configuring the DDL file location.
              For unsupported drivers, versions prior to 9.0 require manually running a DDL file to create the JDBC store's backing tables (see JMS doc).
              Tom Barnes, BEA

  • How to resolve stuck threads in weblogic

    JDeveloper: 11.3
    Weblogic: 10.3
    Hi,
    System Admin is complaining about the stuck threads in our ADF Application. Can some one help me in resolving those in weblogic server or at code level.
    Basically, I am looking for an approach to resolve them.
    Thanks.

    If you get stuck threads you should also get a dump of all running threads, indicating which threads are stuck. This is the starting point for your investigation. Try to find out which threads are stuck and what they are supposed to do.
    This should be you started.
    Timo

  • Stuck thread in adf application with weblogic

    hi every body
    I am working in JDev 11.1.1.4 and weblogic 10.3.4
    when I deploy my Application in my production weblogic
    after some time (it does not constant it is variable) I got warnning on the server
    when I check the server I got some stuck thread
    any idea or notes how can I know what is the reason of these stuck threads?
    is there any objects have thread unsafe issue, resource contention or race condition in ADF?
    BR,
    Alaa

    actully I do that guys
    but what I get does not have any related to my application
    even those http request does not request the same page
    this is the stuck thread when I dump
    "[STUCK] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'" id=61 idx=0xe8 tid=13369 prio=1 alive, waiting, native_blocked, daemon
    -- Waiting for notification on: oracle/adfinternal/controller/util/RequestLock@0x88e06b58[fat lock]
    at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
    at jrockit/vm/Locks.wait(Locks.java:1973)[inlined]
    at java/lang/Object.wait(Object.java:485)[inlined]
    at oracle/adfinternal/controller/util/RequestLock.lock(RequestLock.java:42)[inlined]
    at oracle/adfinternal/controller/state/RootViewPortContextImpl.lockViewPortRequestLock(RootViewPortContextImpl.java:604)[optimized]
    ^-- Lock released while waiting: oracle/adfinternal/controller/util/RequestLock@0x88e06b58[fat lock]
    at oracle/adfinternal/controller/state/ControllerState.initializeRequest(ControllerState.java:833)[inlined]
    at oracle/adfinternal/controller/state/ControllerState.initializeRequest(ControllerState.java:754)[inlined]
    at oracle/adfinternal/controller/application/AdfcConfigurator.beginRequest(AdfcConfigurator.java:50)[optimized]
    at org/apache/myfaces/trinidadinternal/config/GlobalConfiguratorImpl._startConfiguratorServiceRequest(GlobalConfiguratorImpl.java:562)[inlined]
    at org/apache/myfaces/trinidadinternal/config/GlobalConfiguratorImpl.beginRequest(GlobalConfiguratorImpl.java:212)[optimized]
    at org/apache/myfaces/trinidadinternal/webapp/TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:155)[optimized]
    at org/apache/myfaces/trinidad/webapp/TrinidadFilter.doFilter(TrinidadFilter.java:92)[optimized]
    at weblogic/servlet/internal/FilterChainImpl.doFilter(FilterChainImpl.java:56)[optimized]
    at oracle/adf/library/webapp/LibraryFilter.doFilter(LibraryFilter.java:175)[optimized]
    at weblogic/servlet/internal/FilterChainImpl.doFilter(FilterChainImpl.java:56)[optimized]
    at oracle/security/jps/ee/http/JpsAbsFilter$1.run(JpsAbsFilter.java:111)[optimized]
    at jrockit/vm/AccessController.doPrivileged(AccessController.java:254)[inlined]
    at oracle/security/jps/util/JpsSubject.doAsPrivileged(JpsSubject.java:313)[inlined]
    at oracle/security/jps/ee/util/JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)[inlined]
    at oracle/security/jps/ee/http/JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)[inlined]
    at oracle/security/jps/ee/http/JpsAbsFilter.doFilter(JpsAbsFilter.java:161)[optimized]
    at oracle/security/jps/ee/http/JpsFilter.doFilter(JpsFilter.java:71)[optimized]
    at weblogic/servlet/internal/FilterChainImpl.doFilter(FilterChainImpl.java:56)[optimized]
    at oracle/dms/servlet/DMSServletFilter.doFilter(DMSServletFilter.java:136)[optimized]
    at weblogic/servlet/internal/FilterChainImpl.doFilter(FilterChainImpl.java:56)[optimized]
    at weblogic/servlet/internal/RequestEventsFilter.doFilter(RequestEventsFilter.java:27)[optimized]
    at weblogic/servlet/internal/FilterChainImpl.doFilter(FilterChainImpl.java:56)[inlined]
    at weblogic/servlet/internal/WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)[inlined]
    at weblogic/servlet/internal/WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)[optimized]
    at weblogic/security/acl/internal/AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)[optimized]
    at weblogic/security/service/SecurityManager.runAs(SecurityManager.java:120)[inlined]
    at weblogic/servlet/internal/WebAppServletContext.securedExecute(WebAppServletContext.java:2277)[inlined]
    at weblogic/servlet/internal/WebAppServletContext.execute(WebAppServletContext.java:2183)[optimized]
    at weblogic/servlet/internal/ServletRequestImpl.run(ServletRequestImpl.java:1454)[optimized]
    at weblogic/work/ExecuteThread.execute(ExecuteThread.java:207)[optimized]
    at weblogic/work/ExecuteThread.run(ExecuteThread.java:176)
    at jrockit/vm/RNI.c2java(IIIII)V(Native Method)
    -- end of trace
    any another ideas?
    BR,
    Alaa

Maybe you are looking for

  • Why do the new Tiles show password-protected content?

    I updated to the new 33.1 version of firefox with the enhancements to the tiles displayed on a blank tab. I do not know if this behavior started prior to this update, or with it; just that my attention was drawn to it during the 33.1 tour. Issue: Som

  • Fault element name issues

    Back in January I noticed a post concerning generated WSDL files and fault element not containing a required attribute "name". I seem to be having the same problem in WLS8.1 Can this be possible since it was fixed in version 7SP2? After I generate th

  • I want to display the output

    selection scree. parameters:P_PRT_RB RADIOBUTTON GROUP GR1 DEFAULT 'X',                 P_PRT_TX TYPE NAST-LDEST. for the print options the output wiil be in the normal format but it should pop up the window box for providing the printer name. what s

  • I want to delete all my apps

    Hi I have itunes on a mac and the kids have 408 apps on my computer. Of which things like 4 different types/copies of a battery status are clearly not needed. I want to blitz them all and just delete the lot. However, they both have purchased items t

  • IAS 6.0 and Rewrite rules

    Hi, I have worked with Apache JServ in which you have the concept of Rewrite rules in one of the property files. How does the same concept work with iAS 6.0? Thanks Uzma