Help - Opinion needed for linked picture - Trackpad Click
I need your help. This was just one of the problems sent in for Depot Repair. It's going back for this and other problems. H.?. at the repair Depot repair said they don't relace stuff that works, hence they won't replace a lop-sided key. Is this right?
It can't be "normal wear and tear" because that just doesn't happen with 4 weeks of use. I bet it will eventually break. That's what I seem to get when reading the forums here.
I contend that af you do a search here for either right click http://forums.toshiba.com/t5/forums/searchpage/tab/message?q=right+click or left click http://forums.toshiba.com/t5/forums/searchpage/tab/message?q=left+click
There seems to be a hint that there are more problems that meets the eye with the trackpad buttons and many of you are reporting problems and suffering. Based on discovering all of the click issues in the Laptop Forums, I believe that Toshiba in Japan needs to address it with a re-design.
Here is a link to the picture: http://i1109.photobucket.com/albums/h427/KeepItSimple2/Toshiba_P1010313640x480LeftClick.jpg The Series in the picture is the A665. A 1 mm thick ruler was laid on top of the key to show the left resting height.
What do you guys think? How do we fight it? Why aren't they listening?
Currently, I have been without a laptop for nearly 6 weeks. What will the extended warranty people have to say.
This is a small sample of the service issues that I'm experiencing.
A Toshiba Case ID was Issued for this and other problems with the return.
You can't put a random number generator is a gif. GIFs are images following a particular format (and using compression owned by an evil company which a few years ago anyway were threatening to sue everybody in the world), and is not executable. That doesn't really make sense.
But don't try to describe problem in terms of a possible implementations; that just confuses the matter. It sounds like you want to display images, based on a static gif file, with additional random content added. Is that what you want to do?
I'm pretty sure it's possible to:
(1) load an image from a GIF file, into a buffer
(2) filter that buffer through a routine that draws arbitrary stuff
(3) that arbitrary stuff could include alphanumeric text produced by a random number generator
(4) the output from the filter could then be used to create an image object
(5) that image object could then be displayed.
Similar Messages
-
HELP: I need to link a PDF within PDF and be able to open and return to original PDF
I have a master PDF and have attached 7 supplemental PDF documents. I created "click here" icons and used the steps below so that the linked document would open. The problem is, once I open the supplemental PDF, it closes the original master. I would like to close the linked document and return to the master view. Is there a way to do this?
Or is there a way to do this from InDesign? I created master file in InDesign and exported as an Interactive PDF. I created the buttons and linked them to external files. This works great as long as the master PDF and the links are all in one file, but that is a pain to send to a viewer. Ideally, I want to be able to send the master PDF to a viewer and not have to send a links folder. Is there a way to embed the supplemental PDFs into the master so that they are all combined into one file AND have the ability to use buttons to call up one of the attachments, close, and return to the original?
Thanks in advance!!I want to do the same thing that the original poster of this question wants to do. I haven't worked extensively with Acrobat so am finding by trial and error the several ways PDFs within PDFs can be accomplished. I'm using a trial version of Acrobat Pro X and have experimented with three options.
1 - I've created a Portfolio and am impressed with what that can do, though I think it may be "overkill" for the current size of my project.
2 - I've also tried creating this project as an index but discovered that the links I'd created in the original docs didn't work when I moved the index and its contents (keeping the file structure the same). I presume this means the links are absolute? I also don't understand how it is that users search a .pdx file, or how to present what I want to be the original opening PDF of indexed docs.
3 - I've also thought to create one PDF with attached PDFs, so I'd like to have you expand on your comment about creating a master document and attaching documents to it.
The specifics of my project are these: I have created a master directory that contains approximately 120 links. Most of the links are repeated three times (users can find in the directory the item they need in three different ways: alphabetically, by application, or by module; hence each item listed once in each of three categories). I want to make that directory the "master" PDF that users open first, and then locate within that PDF the 5-8 PDF documents that contain all of the places to which the directory links. I want the "master" directory to be self-contained and completely "portable" as far as all of the documents and links are concerned so that when I make the PDF available from our website users can open the master from there or copy it and have all of the docs they need with all of the links intact. I think I prefer that all docs open in new windows, since returning to the original doesn't seem very user friendly in Acrobat (I like the tabs feature in FoxIt when multiple PDFs are open...).
I'd like an opinion about the best way to accomplish what I need to do, and am also wondering whether there are other options I am unaware of. BTW, the reason we've decided to document this whole project in PDFs rather than HTML is because this project contains a big number of tables, which do not look consistent across various browsers (i.e., most of our tables look fine in IE and Firefox, but awful in Google Chrome...). In researching my issue on the Acrobat Windows forum I see that rendering tables in Acrobat is also an issue that seems to be unresolved.
Thank you! -
Urgent Help is Needed for Database Installation Problems
How can we resolve the following database problems in Windows XP? Originally, we had Oracle 10.1.0.4.2, and we wanted to upgrade it to Oracle 10.2.0.1. We uninstalled Oracle Home ORAH1_DEV and then got the following problems while installing Oracle 10.2.0.1. How can we resolve all these errors so database configuration assistants can work successfully? Please help us with these ASAP. Thank you very much for your help and time in advance.
-Oy
These are the popup message we got.
POPUP 1. This appears 3 times, then ignore
Error in writing to file 'C:\OraHomes\ORAH1_DEV\jdk\jre\bin\awt.dll'.[C:\OraHomes\ORAH1_DEV\jdk\jre\bin\awt.dll(The process cannot access the file because it is being used by another process)]
Click 'Help' for more information
Click 'Retry' to try again
Click 'Ignore' to ignore this error and go on.
Click 'Cancel' to stop this installation
buttons Help Retry Ignore Cancel
POPUP 2. Error in writing to file 'C:\OraHomes\ORAH_DEV\jdk\bin\java.exe'. [C:\OraHomes\ORAH1_DEV\jdk\jre\bin\java.exe (The process cannot access the file because it is being used by another process)]
Click 'Help' for more information
Click 'Retry' to try again
Click 'Ignore' to ignore this error and go on.
Click 'Cancel' to stop this installation
buttons Help Retry Ignore Cancel
POPUP 3. Erro in writing to file 'C:\OraHomes\ORAH1_DEV\bin\orancrypt10.dll'. [C:\OraHomes\ORAH1_DEV\bin\orancrypt10.dll (The process cannot access the file because it is being used by another process)]
Click 'Help' for more information
Click 'Retry' to try again
Click 'Ignore' to ignore this error and go on.
Click 'Cancel' to stop this installation
buttons Help Retry Ignore Cancel
POPUP 4. Error in writing to file 'C:\OraHomes\ORAH1_DEV\bin\oravsn10.dll'. [C:\OraHomes\ORAH1_DEV\bin\oravsn10.dll (The process cannot access the file because it is being used by another process)]
Click 'Help' for more information
Click 'Retry' to try again
Click 'Ignore' to ignore this error and go on.
Click 'Cancel' to stop this installation
buttons Help Retry Ignore Cancel
POPUP 5. Error in writing to 'c:\OraHomes\ORAH1_DEV\opmn\mesg\ensus.msb'. [C:\OraHomes\ORAH1_DEV\opmn\mesg\ensus.msb (The process cannot access the file because it is being used by another process)]
Click 'Help' for more information
Click 'Retry' to try again
Click 'Ignore' to ignore this error and go on.
Click 'Cancel' to stop this installation
buttons Help Retry Ignore CancelGrace wrote:
Yes, I have it installed in the same Oracle Home. Is it possible to create it there? Or I must create a new Oracle Home for the new installation? Please reply as soon as possible. Thank you very much for your help.
-OyA specific ORACLE_HOME holds the binaries for a specific version of Oracle. You don't upgrade by simply installing a newer version of Oracle into the ORACLE_HOME of an older version. If you tried to do that you have probably irreversibly corrupted the original installation.
And there is no URGENT or ASAP here. We are all volunteers with regular jobs. If you have "urgent" support issues you need to open a Service Request with Oracle Support. -
Urgent help in needed for StorProc
Hi All,
How are you today?
We have a package in which we have a SP called SERVICE_TO_PRNTMNGR.
Database Version 11.2.0.2
The issue now is-
The store procedure checks if all print jobs which have the same Fulfillment id (which is kept in PrintJobQueueDI.sessionID) have finished or not;
If not, it will throw exception. The error code is 20004.
What we want as a fix is-
The store procedure should check if all print jobs which have the same Fulfillment id (which is kept in PrintJobQueueDI.sessionID)
and Service Request ID (it is ketp in PrintJobDataDI.docId) have finished or not;
If not, it will throw exception. The error code is 20004.
Here is the package which has sp(SERVICE_TO_PRNTMNGR):
Create or Replace PACKAGE XSP_POPULATE_PRNTMNGR
IS
FUNCTION FULFILLMENT_TO_PRNTMNGR
(P_FULFILLMENT_ID IN FULFILLMENT_REQUEST.FULFILLMENT_ID%TYPE,
P_MODE IN VARCHAR2)
RETURN SYS_REFCURSOR;
FUNCTION SERVICE_TO_PRNTMNGR
(P_SERVICE_ID IN SERVICE_REQUEST.SERVICE_ID%TYPE)
RETURN SYS_REFCURSOR;
END;
Create or Replace PACKAGE BODY XSP_POPULATE_PRNTMNGR
IS
l_package_name VARCHAR2(50) := 'XSP_POPULATE_PRNTMNGR';
l_PrintJobQueueDI_REC PrintJobQueueDI%ROWTYPE;
l_PrintJobDataDI_REC PrintJobDataDI%ROWTYPE;
e_NOT_S_F_STATUS_IND_REQ EXCEPTION;
e_NO_SERVICES_FOR_THE_PRINTMGR EXCEPTION;
e_NOT_ALL_PREV_REQ_COMPLETED EXCEPTION;
e_ALREADY_INITIALLY_PRINTED EXCEPTION;
e_NOT_PRINTED_INITIALLY EXCEPTION;
l_NUM_REC_CREATED NUMBER :=0;
PROCEDURE *SERVICE_TO_PRNTMNGR*
(P_SERVICE_ID IN SERVICE_REQUEST.SERVICE_ID%TYPE,
P_FULFILLMENT_ID IN FULFILLMENT_REQUEST.FULFILLMENT_ID%TYPE,
P_MODE IN VARCHAR2);
PROCEDURE INSERT_PrintJobQueueDI
(P_FULFILLMENT_ID IN FULFILLMENT_REQUEST.FULFILLMENT_ID%TYPE,
P_MODE IN VARCHAR2);
FUNCTION FULFILLMENT_TO_PRNTMNGR
FUNCTION FULFILLMENT_TO_PRNTMNGR
(P_FULFILLMENT_ID IN FULFILLMENT_REQUEST.FULFILLMENT_ID%TYPE,
P_MODE IN VARCHAR2)
RETURN SYS_REFCURSOR
Name: FULFILLMENT_TO_PRNTMNGR
Params: P_FULFILLMENT_ID IN FULFILLMENT_REQUEST.FULFILLMENT_ID%TYPE,
P_MODE IN VARCHAR2
Desc: The procedure loops through FULFILLMENT_SERVICE table
and calls xsp_service_to_printmanager for each serviceId.
MGS - legal aid liens not printing or e-mail Do not insert RECEIPT
record into PrintJobDataDI if the RECEIPT is NULL
IS
l_errmsg VARCHAR2(1000):= '';
l_module_name VARCHAR2(200) := l_package_name || '.' || 'FULFILLMENT_TO_PRNTMNGR';
l_selcnt INTEGER;
l_error INTEGER;
l_rowcnt INTEGER;
l_sqlstatus INTEGER;
l_wrong_parameter VARCHAR2(50);
l_TABLE_NAME VARCHAR2(30);
l_EXISTS NUMBER(1);
l_FULFILLMENT_ID FULFILLMENT_REQUEST.FULFILLMENT_ID%TYPE;
l_PrintJobQueueDI_populated BOOLEAN:=FALSE;
CURSOR_out SYS_REFCURSOR;
BEGIN
IF P_FULFILLMENT_ID IS NULL OR
P_MODE IS NULL
THEN
RAISE appl_error.e_missing_parameter;
END IF;
IF P_MODE NOT IN ('I','R')
THEN
l_wrong_parameter := 'P_MODE' || '=' || P_MODE;
RAISE appl_error.e_wrong_parameter;
END IF;
-- Check if the Fulfillment Request
-- completed successfully or failed
l_NUM_REC_CREATED :=0;
BEGIN
SELECT 1 INTO l_EXISTS
FROM FULFILLMENT_REQUEST
WHERE FULFILLMENT_ID = P_FULFILLMENT_ID
AND STATUS_IND IN ('S', 'F'); -- Successfull
EXCEPTION
WHEN NO_DATA_FOUND THEN
RAISE e_NOT_S_F_STATUS_IND_REQ;
END;
IF P_MODE = 'I'
THEN
FOR l_SERVICE_REQ IN (SELECT sr.SERVICE_ID
FROM FULFILLMENT_SERVICE fs,
SERVICE_REQUEST sr,
REQUEST_DESTINATION rd
WHERE rd.SERVICE_ID = fs.SERVICE_ID
AND sr.SERVICE_ID = fs.SERVICE_ID
AND fs.FULFILLMENT_ID = P_FULFILLMENT_ID
AND DELIVERY_METHOD_ID = 'P' -- Print
AND sr.STATUS_IND = 'S')
LOOP
IF NOT l_PrintJobQueueDI_populated
THEN
INSERT_PrintJobQueueDI (P_FULFILLMENT_ID,P_MODE);
l_PrintJobQueueDI_populated := TRUE;
-- The data in the l_PrintJobDataDI_REC is populated by INSERT_PrintJobQueueDI
IF l_PrintJobDataDI_REC.CONTENT IS NOT NULL THEN -- The Condition added on 01-APR-2011
INSERT INTO PrintJobDataDI VALUES l_PrintJobDataDI_REC; -- Receipt
END IF;
l_NUM_REC_CREATED := l_NUM_REC_CREATED + SQL%ROWCOUNT;
END IF;
*SERVICE_TO_PRNTMNGR*(l_SERVICE_REQ.SERVICE_ID,P_FULFILLMENT_ID,P_MODE);
END LOOP;
IF NOT l_PrintJobQueueDI_populated
THEN
RAISE e_NO_SERVICES_FOR_THE_PRINTMGR;
END IF;
ELSE -- P_MODE = 'R'
INSERT_PrintJobQueueDI (P_FULFILLMENT_ID,'RF');
l_PrintJobQueueDI_populated := TRUE;
END IF;
OPEN CURSOR_out FOR
select l_NUM_REC_CREATED from dual;
RETURN CURSOR_out;
EXCEPTION
WHEN appl_error.e_missing_parameter THEN
l_error := 20001;
l_errmsg:= appl_error.get_error_message(l_error,l_module_name,null,null);
raise_application_error(l_error*(-1), l_errmsg);
WHEN appl_error.e_wrong_parameter THEN
l_error := 20003;
l_errmsg:= appl_error.get_error_message(l_error,l_wrong_parameter,l_module_name,null);
raise_application_error(l_error*(-1), l_errmsg);
WHEN appl_error.e_no_records_retrieved THEN
l_error := 20122;
l_errmsg:= appl_error.get_error_message(l_error,l_module_name,l_TABLE_NAME,null);
raise_application_error(l_error*(-1), l_errmsg);
WHEN e_NOT_S_F_STATUS_IND_REQ THEN
l_error := 20004;
l_errmsg:= appl_error.get_error_message(l_error,l_module_name,
'The Status_Ind of the Fulfillment_Id=' || P_FULFILLMENT_ID ||
' is not S or F',null);
raise_application_error(l_error*(-1), l_errmsg);
WHEN e_NO_SERVICES_FOR_THE_PRINTMGR THEN
l_error := 20004;
l_errmsg:= appl_error.get_error_message(l_error,l_module_name,
'No Successfully completed services w/Delivery Method=P for the Fulfillment_Id=' ||
P_FULFILLMENT_ID,null);
raise_application_error(l_error*(-1), l_errmsg);
END FULFILLMENT_TO_PRNTMNGR;
FUNCTION SERVICE_TO_PRNTMNGR
FUNCTION SERVICE_TO_PRNTMNGR
(P_SERVICE_ID IN SERVICE_REQUEST.SERVICE_ID%TYPE)
RETURN SYS_REFCURSOR
Name: SERVICE_TO_PRNTMNGR
Params: P_SERVICE_ID IN SERVICE_REQUEST.SERVICE_ID%TYPE
Desc: To be called from Application for the single Service_Id reprint.
IS
CURSOR_out SYS_REFCURSOR;
BEGIN
SERVICE_TO_PRNTMNGR(P_SERVICE_ID,NULL,'R');
OPEN CURSOR_out FOR
select l_NUM_REC_CREATED from dual;
RETURN CURSOR_out;
END SERVICE_TO_PRNTMNGR;
*PROCEDURE SERVICE_TO_PRNTMNGR*
PROCEDURE *SERVICE_TO_PRNTMNGR*
(P_SERVICE_ID IN SERVICE_REQUEST.SERVICE_ID%TYPE,
P_FULFILLMENT_ID IN FULFILLMENT_REQUEST.FULFILLMENT_ID%TYPE,
P_MODE IN VARCHAR2)
Name: SERVICE_TO_PRNTMNGR
Params: P_SERVICE_ID IN SERVICE_REQUEST.SERVICE_ID%TYPE,
P_FULFILLMENT_ID IN FULFILLMENT_REQUEST.FULFILLMENT_ID%TYPE,
P_MODE IN VARCHAR2
Desc: The procedure populates the PrintJobQueueDI and PrintJobDataDI
PrintManager tables.
It works in two modes (P_MODE parameter)
-I - Inital print request
-R - reprint
For the initial print request the P_FULFILLMENT_ID parameter
will be passed in.
For the Reprint mode the P_FULFILLMENT_ID will be NULL.
IS
l_errmsg VARCHAR2(1000):= '';
l_module_name VARCHAR2(200) := l_package_name || '.' || 'SERVICE_TO_PRNTMNGR';
l_selcnt INTEGER;
l_error INTEGER;
l_rowcnt INTEGER;
l_sqlstatus INTEGER;
l_wrong_parameter VARCHAR2(50);
l_TABLE_NAME VARCHAR2(30);
l_EXISTS NUMBER(1);
l_FULFILLMENT_ID FULFILLMENT_REQUEST.FULFILLMENT_ID%TYPE;
e_NOT_PRINT_DELIVERY_METHOD EXCEPTION;
e_NOT_SUCCESS_COMPL_SRV_REQ EXCEPTION;
BEGIN
IF P_SERVICE_ID IS NULL OR
P_MODE IS NULL OR
(P_MODE = 'I' AND P_FULFILLMENT_ID IS NULL)
THEN
RAISE appl_error.e_missing_parameter;
END IF;
IF P_MODE NOT IN ('I','R')
THEN
l_wrong_parameter := 'P_MODE' || '=' || P_MODE;
RAISE appl_error.e_wrong_parameter;
END IF;
-- Check if the Service Request
-- successfully completed
BEGIN
SELECT 1
INTO l_EXISTS
FROM SERVICE_REQUEST
WHERE SERVICE_ID = P_SERVICE_ID
AND STATUS_IND = 'S'; -- Successfull
EXCEPTION
WHEN NO_DATA_FOUND THEN
RAISE e_NOT_SUCCESS_COMPL_SRV_REQ;
END;
-- Check if the Service Request of the
-- REQUEST_DESTINATION.DELIVERY_METHOD_ID=P
BEGIN
SELECT 1
INTO l_EXISTS
FROM REQUEST_DESTINATION
WHERE SERVICE_ID = P_SERVICE_ID
AND DELIVERY_METHOD_ID = 'P'; -- Print
EXCEPTION
WHEN NO_DATA_FOUND THEN
RAISE e_NOT_PRINT_DELIVERY_METHOD;
END;
IF P_FULFILLMENT_ID IS NULL
THEN
SELECT FULFILLMENT_ID
INTO l_FULFILLMENT_ID
FROM FULFILLMENT_SERVICE
WHERE SERVICE_ID = P_SERVICE_ID;
ELSE
l_FULFILLMENT_ID := P_FULFILLMENT_ID;
END IF;
IF P_MODE = 'R' -- Request to Repring single service
THEN
INSERT_PrintJobQueueDI (l_FULFILLMENT_ID,P_MODE);
END IF;
--dbms_output.put_line(P_FULFILLMENT_ID);
FOR l_PrintJobDataDI_REC1 IN (SELECT l_PrintJobQueueDI_REC.PRINTJOBDIID PRINTJOBDIID,
ri.SERVICE_ID DOCID,
rownum+1 DOCORDER,
l_PrintJobQueueDI_REC.QUEUEDIID,
3,
ri.NAME,
1,
ri.NUMBER_OF_PAGES,
ri.RESPONSE_BLOB
FROM RESPONSE_IMAGE ri
WHERE ri.SERVICE_ID=P_SERVICE_ID)
LOOP
--dbms_output.put_line(l_PrintJobDataDI_REC1.PRINTJOBDIID);
--dbms_output.put_line(l_PrintJobDataDI_REC1.DOCID);
--dbms_output.put_line(l_PrintJobDataDI_REC1.DOCORDER);
INSERT INTO PrintJobDataDI VALUES l_PrintJobDataDI_REC1;
l_NUM_REC_CREATED := l_NUM_REC_CREATED + SQL%ROWCOUNT;
END LOOP;
EXCEPTION
WHEN appl_error.e_missing_parameter THEN
l_error := 20001;
l_errmsg:= appl_error.get_error_message(l_error,l_module_name,null,null);
raise_application_error(l_error*(-1), l_errmsg);
WHEN appl_error.e_wrong_parameter THEN
l_error := 20003;
l_errmsg:= appl_error.get_error_message(l_error,l_wrong_parameter,l_module_name,null);
raise_application_error(l_error*(-1), l_errmsg);
WHEN appl_error.e_no_records_retrieved THEN
l_error := 20122;
l_errmsg:= appl_error.get_error_message(l_error,l_module_name,l_TABLE_NAME,null);
raise_application_error(l_error*(-1), l_errmsg);
WHEN e_NOT_PRINT_DELIVERY_METHOD THEN
l_error := 20004;
l_errmsg:= appl_error.get_error_message(l_error,l_module_name,
'The Delivery Method for the Service_Id=' || P_SERVICE_ID ||
' is not PRINT',null);
raise_application_error(l_error*(-1), l_errmsg);
WHEN e_NOT_SUCCESS_COMPL_SRV_REQ THEN
l_error := 20004;
l_errmsg:= appl_error.get_error_message(l_error,l_module_name,
'The Status_Ind of the Service_Id=' || P_SERVICE_ID ||
' is not S',null);
raise_application_error(l_error*(-1), l_errmsg);
END SERVICE_TO_PRNTMNGR;
PROCEDURE INSERT_PrintJobQueueDI
PROCEDURE INSERT_PrintJobQueueDI
(P_FULFILLMENT_ID IN FULFILLMENT_REQUEST.FULFILLMENT_ID%TYPE,
P_MODE IN VARCHAR2)
It works in two modes (P_MODE parameter)
-I - Inital print request
-R - reprint single SERVICE REQUEST
-RF - reprint entire fulfillment
IS
l_errmsg VARCHAR2(1000):= '';
l_module_name VARCHAR2(200) := l_package_name || '.' || 'INSERT_PrintJobQueueDI';
l_selcnt INTEGER;
l_error INTEGER;
l_rowcnt INTEGER;
l_sqlstatus INTEGER;
l_wrong_parameter VARCHAR2(50);
l_TABLE_NAME VARCHAR2(100);
l_EXISTS NUMBER(1);
BEGIN
IF P_FULFILLMENT_ID IS NULL OR
P_MODE IS NULL
THEN
RAISE appl_error.e_missing_parameter;
END IF;
IF P_MODE NOT IN ('I','R','RF')
THEN
l_wrong_parameter := 'P_MODE' || '=' || P_MODE;
RAISE appl_error.e_wrong_parameter;
END IF;
-- For reprint request confirm that
-- all previouse print requests
-- completed successfully.
IF P_MODE IN ('R','RF')
THEN
SELECT count(*)
INTO l_EXISTS
FROM PrintJobQueueDI
WHERE SESSIONID = P_FULFILLMENT_ID
AND PRINTTYPE = 'REGULAR';
IF l_EXISTS = 0
THEN
RAISE e_NOT_PRINTED_INITIALLY;
END IF;
SELECT count(*)
INTO l_EXISTS
FROM PrintJobQueueDI
WHERE SESSIONID = P_FULFILLMENT_ID
AND STATUS != 'STATUS_COMPLETED';
IF l_EXISTS > 0
THEN
RAISE e_NOT_ALL_PREV_REQ_COMPLETED;
END IF;
ELSIF P_MODE = 'I'
THEN
SELECT count(*)
INTO l_EXISTS
FROM PrintJobQueueDI
WHERE SESSIONID = P_FULFILLMENT_ID;
IF l_EXISTS > 0
THEN
RAISE e_ALREADY_INITIALLY_PRINTED;
END IF;
END IF;
IF P_MODE IN ('I','R')
THEN
l_TABLE_NAME := 'FULFILLMENT_REQUEST and more';
SELECT SEQ_PrintJobQueueDI.NEXTVAL,
SEQ_PrintJobDIID.NEXTVAL,
us.KIOSK_ID,p.PRINTER_NAME,
fr.FULFILLMENT_ID,SYSDATE,
TO_DATE('1900/01/01','YYYY/MM/DD'),
DECODE(P_MODE,'I','REGULAR','REPRINT'),
'STATUS_SPOOLED',
DECODE(P_MODE,'I','ALL','COVER_AND_SEARCH'),
NULL,
-- Only for the initial printing
-- for the PrintJobDataDI for the Receipt
fr.FULFILLMENT_ID,
1,3,'RECEIPT',0,0,
fr.RECEIPT_BLOB
INTO l_PrintJobQueueDI_REC.QUEUEDIID,
l_PrintJobQueueDI_REC.PRINTJOBDIID,
l_PrintJobQueueDI_REC.KIOSKID,
l_PrintJobQueueDI_REC.PRINTERNAME,
l_PrintJobQueueDI_REC.SESSIONID,
l_PrintJobQueueDI_REC.SPOOLTIME,
l_PrintJobQueueDI_REC.PRINTTIME,
l_PrintJobQueueDI_REC.PRINTTYPE,
l_PrintJobQueueDI_REC.STATUS,
l_PrintJobQueueDI_REC.PRINTOPTION,
l_PrintJobQueueDI_REC.PROCESSSTATEID,
l_PrintJobDataDI_REC.DOCID,
l_PrintJobDataDI_REC.DOCORDER,
l_PrintJobDataDI_REC.DOCTYPEID,
l_PrintJobDataDI_REC.DOCNAME,
l_PrintJobDataDI_REC.STARTPAGE,
l_PrintJobDataDI_REC.ENDPAGE,
l_PrintJobDataDI_REC.CONTENT
FROM LRO_PRINTER p,
KIOSK k,
USER_SESSION us,
BUSINESS_AUDIT ba,
FULFILLMENT_REQUEST fr
WHERE p.PRINTER_ID = k.PRINTER_ID
AND p.LRO_ID = k.LRO_ID
AND k.KIOSK_ID = us.KIOSK_ID
AND us.USER_SESSION_ID = ba.USER_SESSION_ID
--AND ba.BUSINESS_AUDIT_ID = fr.BUSINESS_AUDIT_ID
AND ba.BUSINESS_AUDIT_ID = (select min(BUSINESS_AUDIT_ID)
from fulfillment_service fs,service_request sr
where fs.FULFILLMENT_ID = fr.FULFILLMENT_ID
and sr.SERVICE_ID = fs.SERVICE_ID)
AND fr.FULFILLMENT_ID = P_FULFILLMENT_ID;
ELSE -- 'RF'
l_TABLE_NAME := 'PrintJobQueueDI, KIOSK, LRO_PRINTER';
SELECT SEQ_PrintJobQueueDI.NEXTVAL,
q.printJobDIID,
q.KIOSKID,
p.PRINTER_NAME,
q.SESSIONID,
SYSDATE,
TO_DATE('1900/01/01','YYYY/MM/DD'),
'REPRINT',
'STATUS_SPOOLED',
'ALL',
NULL
INTO l_PrintJobQueueDI_REC.QUEUEDIID,
l_PrintJobQueueDI_REC.PRINTJOBDIID,
l_PrintJobQueueDI_REC.KIOSKID,
l_PrintJobQueueDI_REC.PRINTERNAME,
l_PrintJobQueueDI_REC.SESSIONID,
l_PrintJobQueueDI_REC.SPOOLTIME,
l_PrintJobQueueDI_REC.PRINTTIME,
l_PrintJobQueueDI_REC.PRINTTYPE,
l_PrintJobQueueDI_REC.STATUS,
l_PrintJobQueueDI_REC.PRINTOPTION,
l_PrintJobQueueDI_REC.PROCESSSTATEID
FROM PrintJobQueueDI q,
KIOSK k,
LRO_PRINTER p
WHERE q.SESSIONID = P_FULFILLMENT_ID
AND printType = 'REGULAR'
AND k.KIOSK_ID = q.KIOSKID
AND p.PRINTER_ID = k.PRINTER_ID
AND p.LRO_ID = k.LRO_ID;
END IF;
INSERT INTO PrintJobQueueDI VALUES l_PrintJobQueueDI_REC;
l_NUM_REC_CREATED := l_NUM_REC_CREATED + SQL%ROWCOUNT;
l_PrintJobDataDI_REC.PRINTJOBDIID := l_PrintJobQueueDI_REC.PRINTJOBDIID;
l_PrintJobDataDI_REC.QUEUEDIID:= l_PrintJobQueueDI_REC.QUEUEDIID;
EXCEPTION
WHEN appl_error.e_missing_parameter THEN
l_error := 20001;
l_errmsg:= appl_error.get_error_message(l_error,l_module_name,null,null);
raise_application_error(l_error*(-1), l_errmsg);
WHEN appl_error.e_wrong_parameter THEN
l_error := 20003;
l_errmsg:= appl_error.get_error_message(l_error,l_wrong_parameter,l_module_name,null);
raise_application_error(l_error*(-1), l_errmsg);
WHEN e_NOT_ALL_PREV_REQ_COMPLETED THEN
l_error := 20004;
l_errmsg:= appl_error.get_error_message(l_error,l_module_name,
'Not all print requests for the Fulfillment_Id=' || P_FULFILLMENT_ID ||
' were successfully completed',null);
raise_application_error(l_error*(-1), l_errmsg);
WHEN e_ALREADY_INITIALLY_PRINTED THEN
l_error := 20004;
l_errmsg:= appl_error.get_error_message(l_error,l_module_name,'Initial print request for the Fulfillment_Id=' || P_FULFILLMENT_ID ||
' has been already created',null);
raise_application_error(l_error*(-1), l_errmsg);
WHEN e_NOT_PRINTED_INITIALLY THEN
l_error := 20004;
l_errmsg:= appl_error.get_error_message(l_error,l_module_name,
'Can''t reprint the print request for the Fulfillment_Id=' || P_FULFILLMENT_ID ||
' because it was not printed intially',null);
raise_application_error(l_error*(-1), l_errmsg);
WHEN NO_DATA_FOUND THEN
l_error := 20122;
l_errmsg:= appl_error.get_error_message(l_error,l_module_name,l_TABLE_NAME,null);
raise_application_error(l_error*(-1), l_errmsg);
END INSERT_PrintJobQueueDI;
END XSP_POPULATE_PRNTMNGR;Please help in writing this piece of code.
Would appreciate your help...
Edited by: BluShadow on 04-Oct-2011 15:39
added {noformat}{noformat} tags for readability. See {message:id=9360002} to learn to do this yourself.
Edited by: user548261 on Oct 4, 2011 7:46 AMrudi wrote:
Hi sb92075,
I'm absolutely newbie in this discussion forum, because I expected that this forum will be helpfull for all. I have found really so much perfect answers and advices.
You have high number of posts, but I can't found any your answer for new programmers which have some issues. If you can't answer, ignore the query posted, I think that this is spamming, I have found your 10 negative posts within 5 minutes.
I know, that all forums have rules, but review number of "posts with not correct subjects like URGENT, ASAP...." and the other, correct with absolutely same queries and requests for advise.
Thanks for understanding
rudisb92075's response was helpful. It was pointing out that we need to have tables and data to work with and not just a piece of unfamiliar code that we are told doesn't work in some way. Without the tables and example data and expected output we could only guess what the problem may be. The OP has also said their issue is urgent, which it isn't as I pointed out to them, but then their response to sb92065's request for tables and data was just to say that they want us to do their work for them and they'll test it. That's not only rude, but also wastes our time as we have to make a guess as to what the problem may be then wait for the OP to test it, to no doubt tell us that it still doesn't work, so we can make another guess.
This is not the way a professional forum works. If the OP wants help with the issue they need to provide relevant information as requested. The fact they seem to keep asking questions and non of them are being marked as answered should be a good indication that they are not asking the questions correctly.
So, before you criticize members as being unhelpful, it is perhaps better if you read what they have requested and understand what they've said.
Therefore, we still await the OP's response providing some useful information to be able to help... -
Urgent HELP! need for my Zen touch (20
Right here we go. I bought my zen touch online last year from a well known supplier. Absolutly brilliant mp3 plaey and happy with the value for money i got. The player did freee alot since i got it at inappropiate times eg. When i was on holiday and had nothing to reset it with. Recently i have been experiancing alot of problems. First one is that it froze so i reseted it, all seemed well until the Welcome screen came on and stayed like that for 0 mins and then it resumed back to normal. This has since continued. 2nd problem is every time i add a song from the computer (same process that i have been using since i got it) all seems well until.... i turn the player on select any song to play and the player results in PLAYBACK ERROR. So i reset , the player then freezes for another 0 mins and then is back to normal. This also has continued. And third and finally everytime i reset now i get the message rebulding libary and it is almost done and yet low and behold freezes again for another 0mins. Also i need urgent and quick help as my warrantty runs out in days. PLEASE HELP!!!! and to add to this i have tonight installed a new firmware and still experiance same problem. And almost forgot the player freezes for 0mins after every chargeMessage Edited by ruane89 on 09-30-2005 07:8 PM
ruane89 wrote:how long does this disk clean up tkae and what does it actually do?
As per the FAQ post:
How long should a Disk Cleanup take?
It should only take a few minutes, and no longer than 30 minutes. Anything longer than this and there is a problem with the player and you need to contact Creative Support.
If this doesn't solve it then you really just need to follow the steps in the "My Zen is not starting properly, or goes into rescue mode, what should I do?" section of the FAQ post.
As igedit says, the player does sound faulty unfortunately, so I would contact Creative Support. -
Screen exit help is needed for SCASE development
Dear forum,
I need your help to find a possible screen exit for the SCASE transaction. I want to add custom fields in the standard SAP screen since we want to have more fields here than standard. I have identified the program and package as follows:
Transaction: SCASE
Program: SAPLSRMCLFRM2
Package: SCMG_GENERAL
Can you please help me on how to find a screen exit for this?
I would really appriciate all help I can get, many thanks in advanced!
// ParHello again,
I have seemed to found the following BADI: SCMG_CASE_FCODE_S - Case Frontend: Non-standard Pushbutton
The documentation states the following:
This BADI is called if a function code was triggered that s not implemented by the standard of the case.
This is true if the pushbutton is customer- or application-specific.
You can create your own pushbutton in the table SCMGFUNCTION by using the maintenance view SCMGV_FUNCTION. If you do so, pay attention to the customer namespace in the table.
In this table you can control exactly when the pushbutton is active The function code is the processed in this BAdI
If I now want to create a subscreen with new custom fields and add that as a pushbutton option on the standard screen of transaction SCASE, what would be the next steps to take?
Best regards, Par -
Help, advice needed for learning Action Script
I don't have any experience with programing and even scripting and I can't find tutorials for total beginners. I started to read this one
http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9 b8cbfe-7ff7.html
but I have difficulties understanding the explanations.
If you have any advice and pointers to tutorials for total dummy beginners I will greatly appreciate it.I’m 27 years old and one month ago I started study ActionScript 3.0. After red a lot of forums with recommendations about what need to do for study as3 I clear next things:
Try to visit forums about as3 and discus with people about your problems and also try to help other solve their problems (you can help a lot of people to solve their problems, you can find a lot answers to your questions, you can share your experience with others)
Try to read books about as3 (in books you can find all theory and some examples for this theory, so this info will be very helpful for you, because it’s a fundamental knowledge what you must to know)
Try to visit sites with tutorials (on the net you can find a lot sites with tutorials and there you step by step will study a lot of things)
Share your knowledge with others (create your blog or something else where you will show to people your examples of work, where you will write about as3 and will share your experiences and knowledge, this can give you chance to consolidate your knowledge and give opportunity other people study as3)
Try to separate big not understandable problem to smaller(after you find answer to all small problems you can find answer to big problem)
And the main what you must remember then YOU MUST CODING EVERY DAY! (I think without it you never been a as3 coder.)
I can recommend next sites witch can help you to study ActionScript 3.0:
Books:
<a href="http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/">http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/</a><br>
<a href="http://www.amazon.com/Essential-ActionScript-3-0-Colin-Moock/dp/0596526946">Essential ActionScript 3.0</a><br>
<a href="http://www.amazon.com/Learning-ActionScript-3-0-Beginners-Guide/dp/059652787X/ref=sr_1_2?i e=UTF8&s=books&qid=1261737552&sr=1-2">Learning ActionScript 3.0: A Beginner's Guide</a><br>
<a href="http://www.amazon.com/ActionScript-Adobe-Flash-Professional-Classroom/dp/0321579216/ref=sr _1_6?ie=UTF8&s=books&qid=1261737552&sr=1-6">ActionScript 3.0 for Adobe Flash CS4 Professional Classroom in a Book</a><br>
<a href="http://www.amazon.com/ActionScript-3-0-Game-Programming-University/dp/0789737027/ref=sr_1_ 7?ie=UTF8&s=books&qid=1261737552&sr=1-7">ActionScript 3.0 Game Programming University</a><br>
<a href="http://www.amazon.com/ActionScript-3-0-Cookbook-Application-Developers/dp/0596526954/ref=s r_1_8?ie=UTF8&s=books&qid=1261737552&sr=1-8">ActionScript 3.0 Cookbook: Solutions for Flash Platform and Flex Application Developers</a>
Forums:
<a href="http://forums.adobe.com/community/flash/flash_actionscript3">http://forums.adobe.com/community/flash/flash_actionscript3</a><br>
<a href="http://www.actionscript.org/forums/forumdisplay.php3?f=75">http://www.actionscript.org/forums/forumdisplay.php3?f=75</a><br>
<a href="http://www.flasher.ru/forum/forumdisplay.php?f=83">http://www.flasher.ru/forum/forumdisplay.php?f=83</a>
Blogs:
<a href="http://theflashblog.com/">http://theflashblog.com/</a><br>
<a href="http://www.mikechambers.com/blog/">http://www.mikechambers.com/blog/</a><br>
<a href="http://as3journal.blogspot.com/">http://as3journal.blogspot.com/</a><br>
<a href="http://flash-templates-today.com/blog/">http://flash-templates-today.com/blog/</a> <br>
<a href="http://xitri.com/">http://xitri.com/</a><br>
<a href="http://www.hamstersteam.com/">http://www.hamstersteam.com/</a><br>
<a href="http://flash-animation.ru/">http://flash-animation.ru/</a><br>
<a href="http://www.keyframer.com/">http://www.keyframer.com/</a>
Tutorials:
<a href="http://cookbooks.adobe.com/actionscript">http://cookbooks.adobe.com/actionscript</a><br>
<a href="http://www.hongkiat.com/blog/30-free-flash-photo-galleries-and-tutorials/">http://www.hongkiat.com/blog/30-free-flash-photo-galleries-and-tutorials/</a><br>
<a href="http://www.ilike2flash.com/">http://www.ilike2flash.com/</a><br>
<a href="http://xuroqflash.com/">http://xuroqflash.com/</a><br>
<a href="http://www.emanueleferonato.com/category/actionscript-3/">http://www.emanueleferonato.com/category/actionscript-3/</a><br>
<a href="http://www.graphicmania.net/category/adobe-flash/">http://www.graphicmania.net/category/adobe-flash/</a><br>
<a href="http://www.flashperfection.com/">http://www.flashperfection.com/</a><br>
<a href="http://active.tutsplus.com/category/tutorials/">http://active.tutsplus.com/category/tutorials/</a><br> -
Help Please Needed for Java Calculator - ActionListener HELP
Hi. I am constructing a simple Java calculator and need help with the actionlistener and how it could work with my program. I am not too sure how to begin constructing the actionlistener. I would like to know the best and most simple solution to get this program work the way it should, like a real calculator. If anyone can help me, that would be much appreciated.
package calculator;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
public class CalculatorGUI extends JFrame implements ActionListener{
JTextField screen;
JButton button7;
JButton button8;
JButton button9;
JButton button4;
JButton button5;
JButton button6;
JButton button1;
JButton button2;
JButton button3;
JButton button0;
JButton add;
JButton minus;
JButton multiply;
JButton divide;
JButton equals;
JButton clear;
private JTextField m_displayField;
private boolean m_startNumber = true;
private String m_previousOp = "=";
private CalculatorLogic m_logic = new CalculatorLogic();
public CalculatorGUI() {
CalculatorGUILayout customLayout = new CalculatorGUILayout();
getContentPane().setFont(new Font("Helvetica", Font.PLAIN, 12));
getContentPane().setLayout(customLayout);
screen = new JTextField("textfield_1");
getContentPane().add(screen);
button7 = new JButton("7");
getContentPane().add(button7);
button7.addActionListener(this);
button8 = new JButton("8");
getContentPane().add(button8);
button8.addActionListener(this);
button9 = new JButton("9");
getContentPane().add(button9);
button9.addActionListener(this);
button4 = new JButton("4");
getContentPane().add(button4);
button4.addActionListener(this);
button5 = new JButton("5");
getContentPane().add(button5);
button5.addActionListener(this);
button6 = new JButton("6");
getContentPane().add(button6);
button6.addActionListener(this);
button1 = new JButton("1");
getContentPane().add(button1);
button1.addActionListener(this);
button2 = new JButton("2");
getContentPane().add(button2);
button2.addActionListener(this);
button3 = new JButton("3");
getContentPane().add(button3);
button3.addActionListener(this);
button0 = new JButton("0");
getContentPane().add(button0);
button0.addActionListener(this);
add = new JButton("+");
getContentPane().add(add);
add.addActionListener(this);
minus = new JButton("-");
getContentPane().add(minus);
minus.addActionListener(this);
multiply = new JButton("*");
getContentPane().add(multiply);
multiply.addActionListener(this);
divide = new JButton("/");
getContentPane().add(divide);
divide.addActionListener(this);
equals = new JButton("=");
getContentPane().add(equals);
equals.addActionListener(this);
clear = new JButton("Clear");
getContentPane().add(clear);
clear.addActionListener(this);
setSize(getPreferredSize());
addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
System.exit(0);
public void actionPerformed(ActionEvent event) {
public static void main(String args[]) {
CalculatorGUI window = new CalculatorGUI();
window.setTitle("Calculator");
window.pack();
window.show();
class CalculatorGUILayout implements LayoutManager {
public CalculatorGUILayout() {
public void addLayoutComponent(String name, Component comp) {
public void removeLayoutComponent(Component comp) {
public Dimension preferredLayoutSize(Container parent) {
Dimension dim = new Dimension(0, 0);
Insets insets = parent.getInsets();
dim.width = 421 + insets.left + insets.right;
dim.height = 494 + insets.top + insets.bottom;
return dim;
public Dimension minimumLayoutSize(Container parent) {
Dimension dim = new Dimension(0, 0);
return dim;
public void layoutContainer(Container parent) {
Insets insets = parent.getInsets();
Component c;
c = parent.getComponent(0);
if (c.isVisible()) {c.setBounds(insets.left+8,insets.top+8,408,64);}
c = parent.getComponent(1);
if (c.isVisible()) {c.setBounds(insets.left+8,insets.top+80,96,56);}
c = parent.getComponent(2);
if (c.isVisible()) {c.setBounds(insets.left+120,insets.top+80,96,56);}
c = parent.getComponent(3);
if (c.isVisible()) {c.setBounds(insets.left+232,insets.top+80,96,56);}
c = parent.getComponent(4);
if (c.isVisible()) {c.setBounds(insets.left+8,insets.top+144,96,56);}
c = parent.getComponent(5);
if (c.isVisible()) {c.setBounds(insets.left+120,insets.top+144,96,56);}
c = parent.getComponent(6);
if (c.isVisible()) {c.setBounds(insets.left+232,insets.top+144,96,56);}
c = parent.getComponent(7);
if (c.isVisible()) {c.setBounds(insets.left+8,insets.top+208,96,56);}
c = parent.getComponent(8);
if (c.isVisible()) {c.setBounds(insets.left+120,insets.top+208,96,56);}
c = parent.getComponent(9);
if (c.isVisible()) {c.setBounds(insets.left+232,insets.top+208,96,56);}
c = parent.getComponent(10);
if (c.isVisible()) {c.setBounds(insets.left+120,insets.top+272,96,56);}
c = parent.getComponent(11);
if (c.isVisible()) {c.setBounds(insets.left+344,insets.top+80,72,56);}
c = parent.getComponent(12);
if (c.isVisible()) {c.setBounds(insets.left+344,insets.top+144,72,56);}
c = parent.getComponent(13);
if (c.isVisible()) {c.setBounds(insets.left+344,insets.top+208,72,56);}
c = parent.getComponent(14);
if (c.isVisible()) {c.setBounds(insets.left+344,insets.top+272,72,56);}
c = parent.getComponent(15);
if (c.isVisible()) {c.setBounds(insets.left+344,insets.top+336,72,56);}
c = parent.getComponent(16);
if (c.isVisible()) {c.setBounds(insets.left+8,insets.top+408,408,72);}
}Yeah, I have a rough idea of what the calculator
should do, like most people would. Its just that I
dont know how to implement this in Java. Thats the
problem. Can anyone provide me with code snippets
that I can try?No I would rather see you make an effort from what has been discussed here. This is not a Java problem this is a general programming problem. -
Help/Example needed for creating JMSQueues/JMSTopics using the MBean API
I am trying to create JMSQueues programmatically using the MBean API. When
I use MBeanHome.createAdminMBean(), a queue appears in the root of the
config file. This is progress, but the queue is in the wrong place! I need
the queues to be part of my JMS server's "destinations" as seen on the
console.
So now I am trying to use createConfigurationMBean() instead, but I can't
figure out what the "parent" parameter should be- no documentation! My
first guess was that the parent might be the JMSServer, but that doesn't
work.
Anyone have example code to insert JMSQueues and JMSTopics into a specific
JMS server's destinations?
Here is the code I tried... All goes well until the final
createConfigurationMBean call, where it throws a MBeanCreationException:
// Get the MBeanHome bean
Object obj = jndiContext.lookup("weblogic.management.adminhome");
MBeanHome mbeanhome = (MBeanHome) javax.rmi.PortableRemoteObject.narrow
(obj, MBeanHome.class);
// Get the server MBean
JMSServerMBean jmsServerMB =
(JMSServerMBean)mbeanhome.getMBean("examplesJMSServer",
JMSServerMBean.class);
// Create the new Queue
JMSQueueMBean jmsQMB = (JMSQueueMBean)mbeanhome.createConfigurationMBean
("weblogic.examples.jms.fooQueue", "JMSQueue", jmsServerMB);Ok, I still don't see how I can do it differently with the admin tool. If
you want to see the commands I'm using, I can post them, but the basic one
is shown below in the previous message. We're trying to set up a script so
that developers can just run it and properly configure WebLogic with the
right components.
Thanks,
Michelle
"Michelle Baxter" <[email protected]> wrote in message
news:[email protected]...
I am using the weblogic.Admin tool, not doing this in code. I will attempt
to translate your advice when I get time again.
My commands look like this:
java weblogic.Admin -url 127.0.0.1:7001 -username system -passwordweblogic
CREATE -mbean "mydomain:Type=JMSQueue,Name=MyJMSQueue"
I create this, I create the JMSServer MBean, then do and INVOKE (insteadof
CREATE) and call the addDestination method, adding the JMS Queue MBeanthat
I created previously, using the same naming scheme as in the above CREATE.
"Viresh Garg" <[email protected]> wrote in message
news:[email protected]...
Daron Cole wrote:
You can use createConfigurationMBean with JMSQueueConfig but in the
end
I used
the code below to create a topic.The code that you posted is the right way to create queus/topics. alwayscreate admin mbeans to admin
server and let admin server internally create config Mbeans on the
managed
server as per the
location/targets that you set in admin Mbeans.
Queue's are the same, just replace the word
Topic with Queue and it should work. It should show up in the console
app.
MBeanHome home = (MBeanHome)ctx.lookup(MBeanHome.JNDI_NAME+".myserver");
ServerMBean myserver =(ServerMBean)home.getMBean("myserver",ServerMBean.class);
String topicName = "MyNewTopic";
JMSServerMBean jmsServerMB =(JMSServerMBean)home.getMBean("JMSServer","JMSServer","mydomain");
JMSTopicMBean jmsTopicMB =(JMSTopicMBean)home.createAdminMBean(topicName,"JMSTopic","mydomain");
jmsTopicMB.setJNDIName(topicName);
jmsServerMB.addDestination(jmsTopicMB);
Viresh Garg
Principal Developer Relations Engineer
BEA Systems
"Michelle Baxter" <[email protected]> wrote:
There is no JMSQueueConfigMBean. What do you mean?
"Daron Cole" <[email protected]> wrote in message
news:[email protected]...
Try JMSQueueConfig instead of JMSQueue.
"Michelle Baxter" <[email protected]> wrote:
Me too! I'm trying to use the weblogic.Admin class to set up
queues
and
topics and the JMS server. The same results in the config file:
the
queues
and topic were set up at the root, the JMS server was added, but
no
destinations, even though I invoked the addDestination method withthe
created MBean queues and topic as arguments. No exceptions, just
no
destinations on the JMS server resulted. What's the right order ofexecution
for this stuff??
Thanks,
Michelle
"Jude DeMeis" <[email protected]> wrote in message
news:[email protected]...
I am trying to create JMSQueues programmatically using the MBean
API.
When
I use MBeanHome.createAdminMBean(), a queue appears in the root
of
the
config file. This is progress, but the queue is in the wrong
place!
I
need
the queues to be part of my JMS server's "destinations" as seen
on
the
console.
So now I am trying to use createConfigurationMBean() instead,
but
I
can't
figure out what the "parent" parameter should be- no
documentation!
My
first guess was that the parent might be the JMSServer, but that
doesn't
work.
Anyone have example code to insert JMSQueues and JMSTopics intoa
specific
JMS server's destinations?
Here is the code I tried... All goes well until the final
createConfigurationMBean call, where it throws aMBeanCreationException:
// Get the MBeanHome bean
Object obj =
jndiContext.lookup("weblogic.management.adminhome");
MBeanHome mbeanhome = (MBeanHome)javax.rmi.PortableRemoteObject.narrow
(obj, MBeanHome.class);
// Get the server MBean
JMSServerMBean jmsServerMB =
(JMSServerMBean)mbeanhome.getMBean("examplesJMSServer",
JMSServerMBean.class);
// Create the new Queue
JMSQueueMBean jmsQMB =(JMSQueueMBean)mbeanhome.createConfigurationMBean
("weblogic.examples.jms.fooQueue", "JMSQueue", jmsServerMB); -
Help is needed for java mp3 project!!
I'm doing a java applet which hav the function of playing mp3 files as for my case is .wav file.. I can start to play by using the audio clip object file but how about jumping to next song by pressing the fast forwad button and back track the previous ones by pressing the backward button.. Does we need to use a loop or method? Please give me some advise Plz.... Thnks..
Hi, I've just done a music playing app, an I used JMF,
http://java.sun.com/products/java-media/jmf/index.jsp
Give that a go. -
and after that i see firefox prevented this site ( any site i open ) from asking you to install software on your computer ..
can i make allow to the install or that kind of the Hack
thanks for all of youI think I found it and I've fixed it on my computer. In Add-ons do you have an add on called Game Play Labs? If so, unistall it. I had 2 different ones that said Game Play Labs. I unistalled both and haven't had the red banner warning pop up at all.
I found the info by googling. -
HT1338 Help Help Help update needed for iphone 5
I am running osx 10.5.8 when I try to update the system tells me it is up to date, but my iphone 5 tells me I need 10.7. I have tried to download via support but it will not update. Very frustrated.
You have to buy OS X 10.6, which is available from the online Apple Store, which in the US is at 800-MY-APPLE. Install the DVD they send, do Software Update until no more updates are available, and then you can install iTunes 7. iTunes 7 requires OS X 10,6,8.
-
Finding Tables needed for linking Batch Numbers/Items to Invoice Items
I'm trying to create a report that will show basically a Sales Invoice and under each line Item show the Items with thier batch numbers that went into that sales Item. My difficulty is in finding the table or tables that have key fields to relate Invoice to Batches and inventory. Looking at forms/reports in B1 I have found RBTN OBTN and RITL tables but only the OBTN shows in the crystal as a datatable.
Jon,
You should have better luck posting in one of the [Business One forums|http://forums.sdn.sap.com/index.jspa?categoryID=1#44].
Jason -
Help please need a link,
So I downloaded itunes and bought a bunch of music now I can't seem to find where you log in to access your music.
You don't log in anywhere.
It's in iTunes.
Use iTunes to listen to it. -
I made a card using the iPhoto and when I click to buy it, it says that I did not fill all the frames with pictures and that I need to in order to purchase it, even though I did and have checked multiple times. Please help, it's for Mother's Day.
Before ordering your book preview it using this method - http://support.apple.com/kb/HT1040 - and save the resulting PDF for reference - the delivered book will match it.
LN
Maybe you are looking for
-
Screensaver Aperture 3.1, is it possible?
I'm having lots of problems with the 3.1 update. I've pretty much made mess and its very frustrating. I'm hoping there is a simple fix for getting screensaver to run using my Aperture library. How hard can that be? I've trashed iLifeShared>Aperture..
-
How to make image resizable using mouse ?
Hi, I want to know about that how to resize image by using mouse in Java Canvas. I created some tools like line, free hand, eraser. And want to know how to make an image resizable in canvas by using mouse. An image is jpeg, png, or gif format. I want
-
How can i save iphone sms thread to mac
I need to save a long SMS thread from my iphone to my mac. Afraid of the third party software that's suggested on forums. Help? Thanks!!
-
Adobe Flash Player 12 won't complete install
Tried installing the latest Flash but the installation stops at the end and reports GENERAL ERROR. Installation fails and I'm redirected to Adobe web site to retry the installaton download. Had to update as Safari keeps prompting FLASH PLAYER OUT OF
-
Sync error with centro - please sync eas account
im using a centro with active sync to sync my e-mail from an exchnage server. all my contacts and tasks sync just fine but i get an intermittent error message when syncing e-mail the message is "ASSERT FAILED! AirSAMSMEmailPrv.c (slk 04c7)860" when t