Duplicate threads of execution in WLS92 MP2
I was advised to re-post my question to this forum:
Hi,
I am working on migrating our EAR application from WLs91 to WLS92 MP2 on Windows, and I found the following issues:
1. when starting WLS, the following warning shows up:
<Warning> <Server> <BEA-002611> <Hostname "mpopova.Burlington.Emptoris.com", maps to multiple IP addresses: 10.10.30.111, 127.0.0.1>
2. once WLS starts, there are duplicate WLS threads of execution running – in the debugger you can see that there are almost twice as many threads running in WLS92 as in WLS91. In particular, there are two threads that load my InitializationServlet, which should be loaded only once (load-on-startup = 1), and as a result of this initialization of resources is done twice, in each thread.
I’m not sure if #2 is the result of the #1 – but it seems likely.
the same app was working fine in WLS9.1
Any ideas why this is happening?
Thanks,
Marina Popova
I would ask about 2) in the weblogic.developer.interest.servlet newsgroup.
The error message detail for BEA-002611is found here.
http://edocs.bea.com/wls/docs90/messages/Server.html
<Marina Popova> wrote in message news:[email protected]..
Hi,
I continue working on migrating our EAR application from WLs91 to WLS92 MP2
on Windows, and I found the following issues:
1. when starting WLS, the following warning shows up:
<Warning> <Server> <BEA-002611> <Hostname "mpopova.Burlington.Emptoris.com",
maps to multiple IP addresses: 10.10.30.111, 127.0.0.1>
2. once WLS starts, there are duplicate WLS threads of execution running -
in the debugger you can see that there are almost twice as many threads
running in WLS92 as in WLS91. In particular, there are two threads that load
my InitializationServlet, which should be loaded only once (load-on-startup
= 1), and as a result of this initialization of resources is done twice, in
each thread.
I'm not sure if #2 is the result of the #1 - but it seems likely.
Any ideas why this is happening?
Thanks,
Marina Popova
Similar Messages
-
Duplicate Threads Being Created with iMessage for Mac
I have iMessage installed on my Mac, iPhone and iPad and all are sync'd fine.
I have everything set to send from my phone number but when replying to a group message (4 people all on iOS 6) from my mac it will create a duplicate thread. This only happens when I reply from my Mac though.
Thanks,I looked through the preferences for TextEditor. I had "Delete the automatic backup file unchecked". I think checking this option will fix the problem.
-
Calculate elapse time of a Java thread before execution
Hi,
I would like to enquire how can I calculate the elapse time of a Java thread BEFORE this thread is executiing or running.?
I wish to estimate the elapsed time of each Java thread before execution to better schedule these threads to run on multiple processors for load balancing testing.
Please help
-meileng-[You can grab the system time in the initiating thread immediately before calling start(), and as the first step in run() in the new thread.
However, this measurement is utterly meaningless, as it can vary between architectures or even between consecutive runs on the same box. Furthermore, even once a thread starts, it may do nothing more than that one grab-the-system-time instruction before it get swapped out for a theoretically unbounded amount of time.
By definition, if you spawn multiple threads in Java, you don't know or care which one get CPU time when, except as you control by syncing, sleep, wait, notify, notifyAll, and whatever control priorities give you. Additionally, you don't know when the OS will give your VM cycles, and on multi-CPU machines, you don't know how many CPUs it will get when it does get cycles. -
Make all other works stop until a thread finishes execution
Hi,
I have the following thread.
_thread = new Thread()
public void run()
try
//Something is executing here
catch (Exception e)
System.out.println(e);
_thread.start();Once the control gets inside this thread, all other works should be posed and the other works should be resumed only once this thread finishes execution.
how can i do that?
Please help.
Any help in this regard will be appreciated with dukes.
Regards,
RonyRonyFederer wrote:
Once the control gets inside this thread, all other works should be posed and the other works should be resumed only once this thread finishes execution.You can do that at the method or block level by synchronizing on the same object in all threads. Normally you would only do that for controlling access a specific object or resource, so only one thread can access the object or resource at a time.
The basic threading operations are suited to such uses, rather than managing the order a sequence of processes.
You could also use join, but that requires that all the threads threads you want to pause have a reference to the thread you're creating, and need a mechanism to change their behaviour when the thread is started, rather than having to the object used for synchronisation passed to them when they are started. However, with synchronization you can't guarantee which thread gets the lock on the object in which order, so you may want to do it using join.
The more important question is why you want the other threads to pause. -
Duplicate thread: Maximum no. of attributes on a Characteristics.
<duplicate thread>
Please ignore this.
Edited by: Saurabh Bansal on Sep 25, 2009 5:54 PMHi Sauarbh,
In theory, the limit should be equal to the max no. of fields in the table (in this case 749).
However, you must then consider the type of attributes the InfoObject has (time-dependent, time-independent, navigational).
Time-Dependent Example
749
- 1 (for the Infoobject itself)
- X (for number of compoundings)
- 2 (for DATE_FROM and DATE_TO)
- 1 (field OBJVERS)
- 1 (field CHANGED)
- Y (for the number of time dep. Attrs)
744 - X - Y
The minimum an IOBJ can have is as below and based on this, the acceptable amount of IOBJ attrs is calculated dynamically by considering what attributes exists for that particular object
3 P table (object itself, OBJVERS, CHANGED)
5 Q table (object itself, 2X time dep, OBJVERS, CHANGED)
4 X table. (object itself, OBJVERS, CHANGED)
6 Y table. (SID,object itself,2X time dep,OBJVERS,CHANGED)
Best Regards,
Vincent -
PL/SQL add procedure with nested table - Duplicate Thread
Hi,
I am trying to do a procedure to input information for one order and another for 2 orders.
The information I have so far is as follows:
Drop table Orders cascade constraints;
Drop type item_type;
Drop type Item_nested;
Create or Replace Type item_type AS Object (
Cat_code Varchar2(6),
Amount_ord Number(3),
Cost Number(5,2) );
Create or Replace Type item_nested as table of item_type;
Create Table Orders (
Order_no Varchar2(8) constraint pkorder primary key,
Customer_name Varchar2(30),
AddressLine1 Varchar2(20),
AddressLine2 Varchar2(20),
AddressLine3 Varchar2(20),
Town Varchar2(20),
Postcode Varchar2(10),
Country Varchar2(20),
Order_items item_nested,
Order_date Date)
Nested Table Order_items
Store as nested_items return as locator;
This has so far worked but I have not managed the insert procedure.
I am using Oracle SQL*plus
Thanks
SG
Edited by: user10689875 on 11-Jan-2009 03:39Duplicate thread ->
PL/SQL add procedure with nested table
Please remove it & marked it as duplicate.
Regards.
Satyaki De. -
Hi all,
DB version is 10.2.0.2 and Applications 12.0.6 on RHEL 4
While creating data file mistakenly we created with '?' as follows:
"/d01/CRP/db/apps_st/data/tx_?data53.dbf"
After that we tried to rename those data file using below steps but we are geting error message as follows:
1.SQL>ALTER TABLESPACE APPS_TS_TX_DATA OFFLINE NORMAL; at DB in OPEN stage
2.$mv /d01/CRP/db/apps_st/data/tx_?data53.dbf /d01/CRP/db/apps_st/data/tx_data53.dbf
3.ALTER TABLESPACE APPS_TS_TX_DATA RENAME DATAFILE '/d01/CRP/db/apps_st/data/tx_?data53.dbf' TO '/d01/CRP/db/apps_st/data/tx_data53.dbf';
ERROR at line 1:
ORA-01511: error in renaming log/data files
ORA-01516: nonexistent log file, datafile, or tempfile
"/d01/CRP/db/apps_st/data/tx_?data53.dbf"
After that we tried to revert back by moving to original name usinf os commnds i.e tx_?data53.dbf and tried to open the database as follows but getting error message as follows:
SQL> startup mount
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 1264892 bytes
Variable Size 440402692 bytes
Database Buffers 620756992 bytes
Redo Buffers 11317248 bytes
Database mounted.
SQL> recover database;
Media recovery complete.
SQL> alter database open ;
alter database open
ERROR at line 1:
ORA-01092: ORACLE instance terminated. Disconnection forced
Please help us t oresolve the Issue
Edited by: 912734 on Feb 15, 2012 4:14 AMHi;
Duplicate post.Please close this thread as answered and keep updating your other thread:
ORA-01511:error in renaming data file & ORA-01516: nonexistent data file
Please post once.
Regard
Helios -
Thread of execution terminates silently on getting local transferable data
I have the following class to drag and drop node references within a JTree:
class MyTransferable implements Transferable {
Item ref;
final DataFlavor[] flavours = new DataFlavor[1];
MyTransferable(Item i) {
super();
ref = i;
flavours[0] = new DataFlavor(i.getClass(), DataFlavor.javaJVMLocalObjectMimeType);
log("items flavour is " + flavours[0]);
public Item getTransferData(DataFlavor flavor) {
log("getTransferData. Returning " + ref); // *<-- I see this*
return ref; // *<-- the procedure never returns*
public DataFlavor[] getTransferDataFlavors() {log("getFlavours"); return flavours;} // try null
public boolean isDataFlavorSupported (DataFlavor flavor) {log("isFlavourSupported(" + flavor + ")"); return false;}
}In the importData(), I have the following code
try {
Node target = (Node)((JTree.DropLocation)support.getDropLocation()).getPath().getLastPathComponent();
log("dropping on " + target); // *<-- I see this*
Object o = support.getTransferable().getTransferData(null);
log("dropping item " + o); // <- does not appear on the console
target.Drop(o);
} catch (UnsupportedFlavorException e) {
log("ERROR " + e + " importing the data");
return false;
} catch (IOException e) {
log("ERROR " + e + " importing the data");
return false;
return true;The execution of the thread mysteriously ceases at the end of getTransferData(). No traces in the console. Yet, application does not fail and goes not reacting on graphic controls in normal way.Any ideas why and where the control jumps?
BTW, I have mentioned that DataFlavor.javaJVMLocalObjectMimeType) creates java.awt.datatransfer.DataFlavor[mimetype=application/x-java-[b]serialized-object;representationclass=SongTree$Pattern
Why does it serialize the local object, which is of type javaJVMLocalObjectMimeType and must be transferred by reference? Can be the problem because I try to gain access the serialized object?
Edited by: valjok on Jan 9, 2008 2:08 PMThank you for responding. I have double checked and assure you that the traces are produced by the code.
I have purified the code for you to reproduce. I run
import java.awt.event.*;
import java.awt.*;
import javax.swing.*;
import javax.swing.tree.*;
import javax.swing.filechooser.*;
import java.io.*;
import java.util.*;
import java.awt.datatransfer.*;
class SongTree extends JTree {
class Item extends DefaultMutableTreeNode {
Item(Object userObj) {
super(userObj);
void appendChild(Item item) {
((DefaultTreeModel)treeModel).insertNodeInto(item, this, getChildCount());
public void Drop(Object o) {
log("Some " + o + "-thing has dropped on me. Handling is not implemented.");
static void log(String msg) {
System.out.println(msg);
SongTree() {
super();
Item top = new Item("root");
setModel(new DefaultTreeModel(top));
top.appendChild(new Item("Sample 1"));
top.appendChild(new Item("Sample 2"));
getSelectionModel().setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION);
setEditable(true);
setRootVisible(true);
setDragEnabled(true);
setDropMode(DropMode.ON_OR_INSERT);
expandRow(0);
setTransferHandler(new TransferHandler() {
public boolean importData(TransferSupport support) {
if (!canImport(support)) {
return false;
try {
Item target = (Item)((JTree.DropLocation)support.getDropLocation()).getPath().getLastPathComponent();
log("dropping on " + target + " DEBUG1"); // <- I SEE THIS
Object o = support.getTransferable().getTransferData(null);
log("dropping item " + o + " DEBUG"); // <-- BUT CANNOT SEE THIS!!
target.Drop(o);
log("ok");
} catch (UnsupportedFlavorException e) {
log("ERROR " + e + " importing the data");
return false;
} catch (IOException e) {
log("ERROR " + e + " importing the data");
return false;
log("ok2");
return true;
public boolean canImport(TransferSupport support) {
JTree.DropLocation dropLocation = (JTree.DropLocation)support.getDropLocation();
if (!support.isDrop() || dropLocation.getPath() == null) {
return false;
Class transferrableRefClass = support.getDataFlavors()[0].getRepresentationClass();
log("ref is " + transferrableRefClass);
return true;//((Item) dropLocation.getPath().getLastPathComponent()).isMethodImplemented("Drop", new Class[] {transferrableRefClass});
public int getSourceActions(JComponent comp) {
log("getSourceActions");
return LINK; // COPY
public Transferable createTransferable(JComponent comp) {
final Object ref = getSelectionPath().getLastPathComponent();
log("createTransferable(" + (ref) + ")");
return new Transferable() {
final DataFlavor[] flavours = new DataFlavor[] {new DataFlavor(ref.getClass(), DataFlavor.javaJVMLocalObjectMimeType)};
public Object getTransferData(DataFlavor flavor) {
log("getTransferData. The item to drop is " + ref + " DEBUG2"); // <- I SEE THIS
return ref;
public DataFlavor[] getTransferDataFlavors() {log("getFlavours"); return flavours;}
public boolean isDataFlavorSupported (DataFlavor flavor) {
log("isFlavourSupported(" + flavor + ")");
return false; // this normally must not be called
} // TransferHandler
class JTreeTest {
public static void main(String[] args) {
javax.swing.SwingUtilities.invokeLater(new Runnable() {
public void run() {
final JFrame frame = new JFrame("JTreeTest");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.getContentPane().add(new SongTree(), BorderLayout.CENTER);
frame.setPreferredSize(new Dimension(300, 300));
frame.pack();
frame.setVisible(true);
}java version "1.6.0_10-ea"
Java(TM) SE Runtime Environment (build 1.6.0_10-ea-b09)
Java HotSpot(TM) Client VM (build 11.0-b09, mixed mode, sharing) -
Can I ensure a single thread of execution on an activity ?
Hi,
11.1.1.7 BPM
To go with my list of threading/correlating/synchronizing questions how can I ensure that an activity will start and complete without another thread/instance running the same activity at the same time ?
cheers
TonyNot exactly.
You will find yourself nudging the page up or down a bit. Earlier versions of iOS Pages allowed "full page view" but that really wasn't full page either. You can squeeze the view to fit, but as soon as you release it, the document springs back to normal size - it is only about a line off from what you are looking for.
An alternative would be to view a Pages Document as a PDF and view the PDF in an app such as GoodReader - there you can see both the top and bottom edges of each page. There are many other PDF viewers available in the App Store.
Hope this helps. -
Can have multiple threads of execution whith SDK??
hi,
can i pause the execution of record and continue it when i want??
thanksHi Teun;
this is my code to add a BusinessPartners. see how I can pause the execution until I get a value from another form; how can do it???
If BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD And
BusinessObjectInfo.BeforeAction = True Then
BP = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oBusinessPartners)
BP.Browser.GetByKeys( BusinessObjectInfo.ObjectKey )//open Form1
oXmlDoc.Load(NameForm)
creationPackage = SBO_Application.CreateObject (SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
creationPackage.XmlData = oXmlDoc.InnerXml
oForm1 = SBO_Application.Forms.AddEx(creationPackage)
dim Class as NewClass = new (oForm1 ,BP)
// PAUSE. I Dont want to add this record until the Form1 get me a value.
// This value I have to selected from a Grid on the Form1,
// so until I select it I can't continue with the execution,
// because I need to assign the value to the BusinessPartners. how can do it???
// assign to the IC the Value
IC.UserFields.Fields().Item("UserField").Value = Class.Value
End if
Please, help me.Thanks -
Sorry-duplicate thread,since problem in forumby5.45pm pl/sql region in apex
Hi All,
From sqlworkshop,
I have created a view like
CREATE OR REPLACE FORCE VIEW VW_SUB_CL_ADD1 AS
(select a.siteid siteid,a.bpaadd_0 bpaadd_0,a.bpanum_0 bpanum_0,
case when a.bpaaddlig_0 = '' then '-' else a.bpaaddlig_0 end address1,
case when a.bpaaddlig_1 = '' then '-' else a.bpaaddlig_1 end address2,
case when a.bpaaddlig_2 = '' then '-' else a.bpaaddlig_2 end address3,
case when a.bpades_0 = '' then '-' else a.bpades_0 end place,
case when a.cty_0 = '' then '-' else a.cty_0 end city,
case when a.poscod_0 = '' then '-' else a.poscod_0 end pincode,
case when b.cntnam_0 = '' then '-' else b.cntnam_0 end contactname,
case when b.fax_0 = '' then '-' else b.fax_0 end fax,
case when b.MOBTEL_0 = '' then '-' else b.MOBTEL_0 end mobile,
case when b.TEL_0 = '' then '-' else b.TEL_0 end phone,
case when b.web_0 = '' then '-' else b.web_0 end website,
c.zinvcty_0 zcity,c.bpainv_0 bpainv_0,c.bpcnum_0 bpcnum_0
from lbcreport.bpaddress@info a,lbcreport.contact@info b ,lbcreport.bpcustomer@info c
where (a.bpanum_0=b.bpanum_0) and (a.cty_0 = c.zinvcty_0) and (a.siteid = c.siteid))
but when i execute select * from vw_sub_cl_add1
the case is not working. '-' is not getting displayed for null values even i tried nvl function it is not working
when i use this view in apex for pl/sql region to display in the form of table .
The problem is, when there is no value in the columns the table is not showing row and column in a proper manner.
could any one help to overcome it.
Thanks in advance
bye
Srikavi
Edited by: srikavi on Sep 10, 2008 10:42 AMSrikavi,
1. The problem with null values is a template problem. Using Firefox and Web Developer Toolbar extension / CSS / View Style Information, you can find out which css class your report is referencing. Open the corresponding css file and add the following to the css class:
empty-cells:show;border-collapse:collapse;
It will show the borders for null values after that.
2. b.fax_0 = '' is not correct. It should be b.fax_0 IS NULL.
3. You can also try to use the built in property for showing NULL values as in the report attributes.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
------------------------------------------------------------------- -
Strange User Account behaviour at Log In - not solved re duplicate thread
This morning I cold booted my laptop and strangely after signing in it declared that it was "Preparing Windows." I was then taken to a desktop with empty Documents etc. folders. Panicking I went to the User Accounts and found all my folders and data intact but not accessible through the "account" I had been forced to log in to. Licensed software that was not installed as multiple user wouldn't show as licensed so I must assume that some sort of default new profile had been created. However, in User Accounts there didn't seem to be anything new.
In addition to my account and that of my wife there were three other folders that I am sure have always been there. (1) Default (with user empty subfolders) (2) An alphanumeric (temp?) folder ... empty except for Appdata / Local / Temp ... itself empty (3) UpdatusUser - used by Nvidia to update the graphics driver (with user empty subfolders) (4) Public - usual subfolders.
I solved the problem by logging out and logging back in with my usual login credentials. (Switching user didn't work).
What happened please and how can I prevent it happening again?This morning I cold booted my laptop and strangely after signing in it declared that it was "Preparing Windows." I was then taken to a desktop with empty Documents etc. folders. Panicking I went to the User Accounts and found all my folders and data intact but not accessible through the "account" I had been forced to log in to. Licensed software that was not installed as multiple user wouldn't show as licensed so I must assume that some sort of default new profile had been created. However, in User Accounts there didn't seem to be anything new.
In addition to my account and that of my wife there were three other folders that I am sure have always been there. (1) Default (with user empty subfolders) (2) An alphanumeric (temp?) folder ... empty except for Appdata / Local / Temp ... itself empty (3) UpdatusUser - used by Nvidia to update the graphics driver (with user empty subfolders) (4) Public - usual subfolders.
I solved the problem by logging out and logging back in with my usual login credentials. (Switching user didn't work).
What happened please and how can I prevent it happening again? -
Process: DUPLICATE THREAD; PLEASE IGNORE
Hi, I'm having problems with a delete function that allows users to select one or more checkboxes in a form in order to one or more records. I'm using the sample Oracle HR schema. The web page lists all the records in the database, along with a checkbox for each record that should allow users to delete one or more records by clicking the checkboxes and then selecting the form's Delete button.
I created a package and delcared a Table type since I want folks to be able to select more than one checkbox. I added the following to the package specification header:
TYPE delete_records_table IS TABLE OF employees.employee_id%TYPE;
p_checkboxes delete_records_table;
My delete procedure looks like this:
PROCEDURE get_delete_employee (p_checkboxes IN delete_records_table)
AS
BEGIN
FOR i IN 1..p_checkboxes.count
LOOP
DELETE FROM employees
WHERE employee_id = p_checkboxes(i);
END LOOP;
htp.htmlOpen;
htp.headOpen;
htp.title('Update Confirmation Page');
htp.headClose;
htp.bodyOpen;
htp.p('<CENTER>');
htp.p('<h2>You successfully deleted records.</h2>');
htp.bodyClose;
htp.htmlClose;
END get_delete_employee;
END DYN_HR_PAULA_SAMPLE_APP;
Can anyone see why this isn't working? TIA
Edited by: user653046 on Jan 27, 2009 10:19 AMWell, so much for an easy fix. You need to take the old fashioned approach here and verify that you are indeed getting inside the loop with a full array. Add some messages to the loop to output HTML telling you the total count in the array and the current values so you can be sure your array is filled as you think.
Greg -
What is the difference between new thread and new execution?
What is the difference in creating a new thread and a new execution. Basically, what is the difference between thread and execution?
Try this link...
http://zone.ni.com/devzone/cda/tut/p/id/4823
Thanks,
PH -
Step as new execution or new thread
is there is a way to make a single step to run as a new Thread or execution . ?
or it could be only done through a Seq Call(which runs as a separate sequence thread )Hi Aparab,
Except for Run VI Asynchronously step, which can run a LabVIEW code module in new thread, there is no option provided for running individual steps in a new thread or execution.
-Needhi
Maybe you are looking for
-
Help for fixed columns in web layout
Hi all, I'm facing the problem of Fixing the column of web layout,I know there's a post of solving this, Fixed Rows/Columns in Web Interfaces but all the download links in this post are expired,could any one send me the file or the how to docu
-
Puzzled by the redefinition of the methods in java.util.Set
Hi all, I don't understand why those methods in java.util.Set redefined since their counterparts have alrealdy been defined in java.util.Collection and java.util.Set extends java.util.Collection. I agree to redefine boolean add(Object o) because its
-
Hello, I have done a little looking around and I think I see a couple of possible solutions to implement strong password policies. Identity Manager, and Connectotel. Is this all there is? Identity Manager seems like overkill for a single Netware serv
-
Insert Buy Button Into Web App
Hello, I've followed Mario's instructions here ( http://forums.adobe.com/message/5210303 ) and inserted a buy button into a web app detail view. Unfortunately, the button doesn't seem to do anything: http://screencast.com/t/b46qgbPNYyN The cart/chec
-
Upgrade Calling Plan and stilll incur overages...Hogwash
Dear Verizon, I recently began a new job and after a short stint with a company phone I decided it would be simpler to just upgrade my phone to unlimited and circumvent the need for another bulky phone in my pocket. I also have began talking to and