Communication program blocks interface
Hy,
I am developing an application which consists in a communication between a client and a server.
If no GUI is present, then the application runs perfectly.
Now I put two windows: one for the client and one for the server, both putting information on JTextAreas about the operations the client/server are doing. For the beginning, I have a button that when I click it I want to start the server.
If I press this button, the whole GUI is blocked by the "serverSocket.accept()".
I want to make this application, running without blocking my GUI, (graphic indepent of logic). I suppose it's a problem of threads concurency, but I don't know how to fix it...
Please help!
[http://java.sun.com/docs/books/tutorial/uiswing/concurrency/index.html]
[http://java.sun.com/docs/books/tutorial/essential/concurrency/index.html]
[http://catb.org/~esr/faqs/smart-questions.html]
To get better help sooner, post a SSCCE that clearly demonstrates your problem.
To post code, use the code tags -- [code]Your Code[/code]will display asYour CodeOr use the code button above the editing area and paste your code between the {code}{code} tags it generates.
luck, db
Similar Messages
-
Hi,
I just installed SCVMM 2012.
I'm getting the following warnings after adding my failover hyperv clusters in SCVMM.
"Agent communication is blocked, Virtualization software or VMM agent is unsupported"
Recommended action is, Update the agent of the virtualization software and try again.
Questions:
1. Where do I find the current version of the agent installed?
2. Where do I get the latest version of agent to update?
3. How do I update the agents on my failover hyperv clusters.
Request help.
Thanks,
KiranHi Karen ,
This is the problem i think you posted on the upper side.
You can install agent manually from your vmm server ,
C:\Program Files\Microsoft System Center 2012\Virtual Machine Manager\agents\amd64\3.0.6005.0
copy vmmagent.msi to target cluster.
Run Command prompt with administrative priviledge,
at command prompt c:\VMMAgent.msi (Enter) where the vmmagent.msi is.
But if the account is not in local administrator group and VMM User Roles, your error will go on.
Sincerely,
Murat Demirkiran
If the post helps you and remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. www.scvmm2012.com (TR Language) -
Industrial Communications for CANopen - interface create error
Hello,
I am trying to run some basic examples, which I have found with example finder in directory - NI - Industrial communication for CANopen -> cRio -> FPGA bitfiles -> CANopen_cRio_heartbeat.vi.
But the block "Interface create" gives me the error -2147136667.
I am working with cRio with NI 9881 module. The module is connected to Festo robot.
Do you have please any idea what could cause this error ?
Text of Explain Error:
Possible reason(s):
You are trying to start an interface that is missing bus power for the transceiver. Some physical layers on NI-CANopen hardware are internally powered, but others require external power in order for the port to operate. This error occurs when starting an interface on hardware that requires external power when no power is detected. Supply proper voltage to your transceiver. Refer to the CANopen Hardware book of the NI-Industrial Communications for CANopen Help for more information.
Cheers
Ivo
Solved!
Go to Solution.Hello IvoK,
The 9881 needs to be externally powered. You can do it with a CAN Breakout Box or with a CAN cable.
Regards
Mélinda B
National Instruments France
#adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
Travaux Pratiques d'initiation à LabVIEW et à la mesure - Nouveau contenu
34 sessions partout en Fra... -
PO Output For Communication Program is not Submitting in Background PO appr
Hi Gurus,
We are working on "PO Output For Communication" Program.We created a Standard Purchase Order and Approved it through the "E-Mail" option checked."PO Output For Communication" program was not submitted in the background.
From the workflow we found that it was stucked at PO new Communication Process.
As the value of column "po_output_format" is NULL in the "PO_SYSTEM_PARAMETERS" table it is not submitting in background.
Already in the front end
Purchasing responsibility->setup->organizations->purchasing options
under Documnet control we assigned Output format column as "PDF".
Will you please provide us your valuable solution as soon as possible.
Thanks in Advance,
RSThis Program "PO Output for Communication" does effects in other parts.
I mean that this program actually sends an email (or fax or print) along with the PO in PDF attachment or in the TEXT format.
This program does other part than the above mentioned point also.If yes then provide me the information in which other parts this program effects.I believe it is only the part you mentioned above.
PO Output for Communication
http://docs.oracle.com/cd/E18727_01/doc.121/e13410/T446883T443960.htm#srs.poxpopdf
PO Output for Communication Search
http://www.oracle.com/pls/ebs121/search?word=PO+Output+for+Communication&format=ranked&remark=quick_search
Thanks,
Hussein -
Customize Output of the PO Output for Communication program R12
I have a requirement to change the output of the seeded PO Output for Communication program, so that it uses a custom RTF template to produce the documents.
To do this, I have registered this template in XML Publisher under the Purchasing application. I then navigated to Purchasing Super User > Setup > Purchasing > Document Types, and from the window opened, selected to update the Purchase Order Standard Type. From here, I updated the document name and the document type layout as my new custom template.
However, once I run the program, it completes with an error. The log file is pages and pages (that I won’t post here unless requested as necessary) but at the bottom is section produced that I think may be useful:
Updated PRINT_COUNT 1
doc Identifier: PO
Document ID:14004
Revision Num0
Document SubTypeSTANDARD
Document TypePO
GenerateDocument::2nd Constructor()
setFileName- m_documentType:PO, m_documentId:14004
setFileName- m_fileName:PO_84_700000049_0_US.pdf
GenerateDocument::Finished 3rd Constructor()
Setting PO template Code
Setting OKC template Code
Before calling genDocTue Jan 22 17:02:01 GMT 2013
Changed GenerateDocument::Inside the gendoc method
Calling the getDocument method
GenerateDocument::getDocument()- Set the Org Context
GenerateDocument::getDocument()
GenerateDocument::getDocument() - Searching in the repository
After Calling the getDocument method
Calling the getPOXsl method
Before setting the bind variables for the default layout in getPOXSL()
Document Template Code :NCC_STD_PO_RTF
Language Code :US
Document XSL Contents Tue Jan 22 17:02:01 GMT 2013
Retrieved the Document XSL Tue Jan 22 17:02:01 GMT 2013
Calling the getPOXml method
GenerateDocument::getPOXml() : l_exists 1
GenerateDocument::getPOXml() : m_whichTables MAIN
GenerateDocument::getPOXml()- Calling the POXMLGEN method Tue Jan 22 17:02:01 GMT 2013
Generated the Document XML Tue Jan 22 17:02:01 GMT 2013
Document XML Contents Tue Jan 22 17:02:01 GMT 2013
Calling the print util method:Tue Jan 22 17:02:01 GMT 2013
Passing Params to getBlobPDF :Tue Jan 22 17:02:01 GMT 2013
m_AppNames :PO
m_TemplateCodes :NCC_STD_PO_RTF
m_Languages :en
m_Territories :US
genDoc() : Exceptionjava.lang.Exception: Error while generating PDF :null
java.lang.Exception: Error while generating PDF :null
rolling back the complete program
As you can see it's definitely picking up my custom template (NCC_STD_PO_RTF), and it appears to error when tryign to generate it as PDF.
I have attempted to attach the seeded xsl template to my template definition - to test if the error is due to the program expecting a certain template format - but, as the seeded template is in that particular format, and my definition is expecting rdf, it will not let me.
I am wondering if anyone has a solution for this requirement. We would like to keep the business process the same as it was in 11i, by using the seeded program, but with a custom template. But I understand that in R12, creating a custom program replicated from the seeded may be the only viable solution.
This is on Oracle Applications version 12.1.3.
Any suggestions would be much appreciated, and if you think that any more information is required, let me know.
Thanks.Publisher version is 10.1.3.4.2.
It seemed to be a data issue. When a certain test PO with a insufficient amount of data in the XML output was put through the template, and hit these clauses, it failed, and the concurrent program errored. -
Adding logo to the standard PO Output for communication program
Hello All.
I need to add company logo to the Standard PO Output for Communication program. Can someone please tell me a way to do this. I went into applications and see its a Java Concurrent program. I even went into these forums and I saw there is a way to uncomment out the line in the XSL file and add the logo there , but how do I upload back to the template. The Upload Button is disabled for this template.
Can we use the Standard Purchase Order Stylesheet for this?
If so how to make changes and how can I upload it back?
Should I do an RTF temnplate?
Can someone pl help me here. We are on R12 and I am not much familiar with exposting RTF to XSF FO.
Thanks
VidhyaWe took the standard PO document XSL-FO template and enhanced for our own needs. The first of those is to utilize the company's logo. Search for 'external-graphic' in the xsl-fo template. The first hit will be the section for the logo. The comments in the template provide some guidance on what to change. For our company, I changed the URL to point to a .gif file on the Apps server ($OA_MEDIA/company_logo.gif) .
The one downside that I have found so far, is that I am have to hard-code the entire document path. This path will change between instances. So I once our production instance is defined, I will set it to that path.
- Scott -
Programs Blocked by Group Policy - But Why?
Hi, I'm hoping someone can help with this... I'm an IT technician and one of my clients has suddenly experienced an issue whereby they can no longer execute two programs without right clicking and selecting "Run As Administrator". This happened
"out of the blue" and without any warning or trigger event. The user has been running this same configuration for months before this issue started happening. The only possible event was the user reported possibly running some sort of malware from
an email attachment they thought was safe but later determined it came from an unknown source. HOWEVER, all current virus and malware scans come up clean.
If they just click the icon and do a normal execute they receive the message "Program blocked by Group Policy". They are on a domain, however, there have been NO changes to any of the group policies AND no other users are experiencing the issue
despite the fact all the users are contained in the same security group on the domain controller.
The two programs this user can no longer execute, without elevation, are: AVG Antivirus Business edition and Symantec PC Anywhere.
I've been all over google and made some recommended changes via gpedit.msc but nothing has helped so far. I also did a gpupdate and tried turning UAC on and off but the behaivor is the same regardless of the state of UAC.
Anyone have any suggestions? Thanks much,
--RickThe mailware may have put in a registry entry under policies that is
causing yuor behaviour.
As a last resort you could try this:
Logon as an Administrator
Navigate to HKLM\Software\Policies and nose around to see if anything
there might be the cause.
Next, Navigate to
HKLM\Software\Microsoft\Windows\CurrentVersion\Policies and do the
same.
If nothing jumps out at you, back up both of these registry keys then delete them and then
run GPUPDATE /FORCE and see if problem is still there.
If so, try all the above steps again, but this time use HKCU instead
of HKLM.
Rick G.1 wrote:
>
>
>Hi, I'm hoping someone can help with this... I'm an IT technician and one of my clients has suddenly experienced an issue whereby they can no longer execute two programs without right clicking and selecting "Run As Administrator". This happened
"out of the blue" and without any warning or trigger event. The user has been running this same configuration for months before this issue started happening. The only possible event was the user reported possibly running some sort of malware from
an email attachment they thought was safe but later determined it came from an unknown source. HOWEVER, all current virus and malware scans come up clean.
>
>If they just click the icon and do a normal execute they receive the message "Program blocked by Group Policy". They are on a domain, however, there have been NO changes to any of the group policies AND no other users are experiencing the
issue despite the fact all the users are contained in the same security group on the domain controller.
>
>The two programs this user can no longer execute, without elevation, are: AVG Antivirus Business edition and Symantec PC Anywhere.
>
>I've been all over google and made some recommended changes via gpedit.msc but nothing has helped so far. I also did a gpupdate and tried turning UAC on and off but the behaivor is the same regardless of the state of UAC.
>
>Anyone have any suggestions? Thanks much,
>
>--Rick
>
>
>
Ha®®y -
How to assign course program block elements to Course Block
Hi !
I have created a Course Program and added course program blocks but i am not able to add Course Block elements to it.
Please guide me how to do this. Is it related to EHP level ? We are at EHP3 level.
AnandHi Priya,
Thanks for the reply,
Added the elements as suggested. Thanks once again
Now on the portal i am able to search the Course Program but not able to see any detils. Hence not able to subscribe also.
Can you throw some light on this issue please?
Why am i interested in "Course Program" is becuase our Training institutes has requirement of assigning five (5) Web-based trainings to a group of Management Trainees.
Out of these 5 WBT, one is mandatory for group & out of remaining four they have to complete any two.
I have tried to work-out this through Curriculum but it is not working the way we want. So interested in "Course Program" & its usability.
Thanks & Regrads
Anand... -
How can we Customize output of "PO Output for Communication" Program?
How can We Customize Format of the output of "PO Output for Communication" Program.
Executable is "POXPOPDF" Execution File name is "PoGenerateDocumentCP" which is a java program.
"PO Output for Communication Program" is used to generate DRAFT PO details in pdf Format to go with Workflow Notification for PO Approval.
Regards,
Muhammad UsmanInfact we need to Change Format/data of the pdf file wich comes with Workflow Notification PO "Response Required for PO Approval".
I the pdf file attached is generated by "PO Output for Communication" Concurrent Program.
Executable is "POXPOPDF" Execution File name is "PoGenerateDocumentCP" which is a java program.
This prgram uses the following files to generate pdf output of draft PO output.
DATA FILE:
PO_STANDARD_PO.xml
PO_STANDARD_PO.xsd
TEMPLATE:
PO_STANDARD_XSLFO.xsl
I need to know any visual layout editor available to change contents/layout/data of this pdf.
Regards,
Usman
Edited by: user10518960 on 01-Feb-2013 07:18 -
Warning (441) Agent communication is blocked
Warning (441) Agent communication is blocked
I suspect that WinRM is the issue here. See the following article: http://social.technet.microsoft.com/wiki/contents/articles/13352.vmm-2012-cluster-error-441-agent-communication-is-blocked.aspx
-kn
Kristian (Virtualization and some coffee: http://kristiannese.blogspot.com ) -
Keep receiving a pop up from McAfee that states "Potentially Unwanted Program Blocked"
I'm very new to owning and operating my own home computer. Internet just recently installed. While trying to find a safe "Minecraft" game for my grandson to pay, I now receive the message from McAfee that states "Portentially Unwanted Program Blocked". What to do What to do
Hello,
Thank you for posting in the HP Support forum.
Most probably when you wanted to download the game, it was bundled with malicious/unwanted software, thus stopped by McAfee.
Here you can find some information about the types of the viruses/malware/Internet attacks:
http://kb.eset.com/esetkb/index?page=content&id=SOLN186&actp=search&viewlocale=en_US&searchid=141592...
If you continue getting messages from McAfee that virus or unwanted program is present or deleted, double check with different utilities because McAfee may be picking-up only part of the story (aka undetected malware)
Read this article and perform STEP 2 , 3 and 4 only http://malwaretips.com/threads/how-to-remove-trojans-spyware-rogues-and-other-malware.6941/
As for safe Minecraft game, there are literally hundreds of variants. Search for them using Google/Bing or ask in a gaming forum for recommendation. Use one from reputable sources.
Best wishes,
IT_WinSec
Hewlett-Packard employee | HP Enterprise Services
Although I work for HP, I express my personal opinion.
Visit www.hp.com/makeitmatter
--Say "Thanks" by clicking the Kudos Thumb Up in the post that you find useful.
--Please mark the post that solves your problem as "Accepted Solution" -
Will somebody provide me with a QBASIC 4.5 PROGRAM for Interfacing with an Anritsu make(model-MS710) RFspectrum analyser through GPIB ( NI-488.2 ) in DOS environment? I would like to aquire data from the instrument and save it in PC for printing purpose.
Hello,
Unfortunately I was unable to find a driver for this instrument. This leaves you with one of a couple options. First, I would like you to submit a request for this driver at:
http://www.ni.com/devzone/idnet/other.htm
We develop drivers in CVI and LabVIEW based on demand and popularity so the more requests we have for it, the greater the possibility that we will develop one. While this would not provide you with a QBASIC program, you may be able to create a DLL that you could call from QBASIC.
If you would like to try developing your own instrument driver (or modify the existing one), we have documentation, model instrument drivers, and driver templates to help at :
http://www.ni.com/devzone/idnet/development.htm
We also have a syndica
te of third party vendors that specialize in National Instruments' products and services. Some of the vendors specialize in driver development. I would suggest contacting one of the Alliance members at:
http://www.ni.com/alliance
Good Luck,
Kim L.
Applications Engineer
National Instruments -
I have a problem with the sound and voice communication programs amplifier
I have a problem with the sound and voice communication programs amplifier
Define "voice of the device."
Are you referring to the ear speaker or main speaker? Phone calls? Rings/alerts? Music?
What troublshooting steps did you take? -
Difference between conversion program and Interface program
Hi All,
Can any body tell me what's the exact differenct between conversion program and Interface program?How will we will classify an object whether it is converion or Interface?
Thanks&Regards
Maheshhi,
conversion program is your migration- or mapping- program to convert data in the format of the SAP-Interface
example:
-(customer)conversion program for vendors ZFKMIGR01 creates a file in the format of interface RFBIKR00
with the foll. structures
BGR00
BLFA1
BLFB1
BLFBK
hope that helps
Andreas -
Difference between Class Pool program and Interface Pool program
Both Class Pool program and an Interface Pool program indicate that the program contains interfaces that other programs can use globally. What exactly is the difference between them?
Transparent Table :
Exists with the same structure both in dictionary as well as in database exactly with the same data and fields.
" Pooled Table :
Pooled tables are logical tables that must be assigned to a table pool when they are defined. Pooled tables are used to store control data. Several pooled tables can be cominied in a table pool. The data of these pooled tables are then sorted in a common table in the database.
" Cluster Table :
Cluster tables are logical tables that must be assigned to a table cluster when they are defined. Cluster tables can be used to strore control data. They can also be used to store temporary data or texts, such as documentation.
" what is the major difference between Standard tables, Pooled tables and
" Clusterd Tables?
A transparent table is a table that stores data directly. You can read these tables directly on the database from outside SAP with for instance an SQL statement.
Transparent table is a one to one relation table i.e. when you create one transparent table then exactly same table will create in data base and if is basically used to store transaction data.
A clustered and a pooled table cannot be read from outside SAP because certain data are clustered and pooled in one field.
One of the possible reasons is for instance that their content can be variable in length and build up. Database manipulations in Abap are limited as well.
But pool and cluster table is a many to one relationship table. This means many pool table store in a database table which is know as table pool.
All the pool table stored table in table pool does not need to have any foreign key relationship but in the case of cluster table it is must. And pool and cluster table is basically use to store application data.
Table pool can contain 10 to 1000 small pool table which has 10 to 100 records. But cluster table can contain very big but few (1 to 10) cluster table.
For pool and cluster table you can create secondary index and you can use select distinct, group for pool and cluster table. You can use native SQL statement for pool and cluster table.
A structure is a table without data. It is only filled by program logic at the moment it is needed starting from tables.
A view is a way of looking at the contents of tables. It only contains the combination of the tables at the basis and the way the data needs to be represented. You actually call directly upon the underlying tables.
. Transparent tables (BKPF, VBAK, VBAP, KNA1, COEP)
Allows secondary indexes (SE11->Display Table->Indexes)
Can be buffered (SE11->Display Table->technical settings) Heavily updated tables should not be buffered.
II. Pool Tables (match codes, look up tables)
Should be accessed via primary key or
Should be buffered (SE11->Display Table->technical settings)
No secondary indexes
Select * is Ok because all columns retrieved anyway
III. Cluster Tables (BSEG,BSEC)
Should be accessed via primary key - very fast retrieval otherwise very slow
No secondary indexes
Select * is Ok because all columns retrieved anyway.
Performing an operation on multiple rows is more efficient than single row operations.
Therefore you still want to select into an internal table.
If many rows are being selected into the internal table,
you might still like to retrieve specific columns to cut down on the memory required.
Statistical SQL functions (SUM, AVG, MIN, MAX, etc) not supported
Can not be buffered
IV. Buffered Tables (includes both Transparent & Pool Tables)
While buffering database tables in program memory (SELECT into internal table) is generally a good idea for performance,
it is not always necessary.
Some tables are already buffered in memory.
These are mostly configuration tables.
If a table is already buffered, then a select statement against it is very fast.
To determine if a table is buffered, choose the 'technical settings' soft button from the data dictionary
display of a table (SE12). Pool tables should all be buffered.
More at this link.
http://help.sap.com/saphelp_erp2004/helpdata/en/81/415d363640933fe10000009b38f839/frameset.htm
Transparent Table:
Exists with the same structure both in dictionary as well as in database exactly with the same data and fields.
Pooled Table:
Pooled tables are logical tables that must be assigned to a table pool when they are defined. Pooled tables are used to store control data. Several pooled tables can be cominied in a table pool. The data of these pooled tables are then sorted in a common table in the database.
Cluster Table:
Cluster tables are logical tables that must be assigned to a table cluster when they are defined. Cluster tables can be used to strore control data. They can also be used to store temporary data or texts, such as documentation.
A transparent table is a table that stores data directly. You can read these tables directly on the database from outside SAP with for instance an SQL statement.
Transparent table is a one to one relation table i.e. when you create one transparent table then exactly same table will create in data base and if is basically used to store transaction data.
A clustered and a pooled table cannot be read from outside SAP because certain data are clustered and pooled in one field.
One of the possible reasons is for instance that their content can be variable in length and build up. Database manipulations in Abap are limited as well.
But pool and cluster table is a many to one relationship table. This means many pool table store in a database table which is know as table pool.
All the pool table stored table in table pool does not need to have any foreign key relationship but in the case of cluster table it is must. And pool and cluster table is basically use to store application data.
Table pool can contain 10 to 1000 small pool table which has 10 to 100 records. But cluster table can contain very big but few (1 to 10) cluster table.
For pool and cluster table you can create secondary index and you can use select distinct, group for pool and cluster table. You can use native SQL statement for pool and cluster table.
A structure is a table without data. It is only filled by program logic at the moment it is needed starting from tables.
A view is a way of looking at the contents of tables. It only contains the combination of the tables at the basis and the way the data needs to be represented. You actually call directly upon the underlying tables.
http://www.datamanagementgroup.com/Resources/Articles/Article_0106_2.asp
more info
http://help.sap.com/saphelp_erp2004/helpdata/en/81/415d363640933fe10000009b38f839/frameset.htm
http://cma.zdnet.com/book/abap/ch03/ch03.htm
Check this links.
http://help.sap.com/saphelp_40b/helpdata/en/4f/991f82446d11d189700000e8322d00/applet.htm
http://www.techinterviews.com/?p=198
Maybe you are looking for
-
1:n relationship back reference?
Hi! I'm trying to model a 1:n relationship and read in TopLink documentation that, for a 1:n relationship a back poiner 1:1 relation is needed to (from the n-side to the 1-side). The documentation sadly does not go into more detail on the back pointe
-
I am not sure how to call this Function correctly and how to pass the IN parameter, I am still new and learning, please help! So far I have compiled it, and it compiled fine and saved it in my schema. It is supposed to be able to calculate the compre
-
I recently installed a new hard drive and in doing so decided to upgrade to Tiger. One quirky thing I've noticed is that when I create new files, whether they're PDF's, InDesign, Quark, etc., the file size in the finder window shows "Zero k". I have
-
You don't have permission to access ** on the server, HELP please
For the last months I've been working with Muse and updating my website through Muse without any problems. I use my extern HTML for update pages in Muse, and usually this went without any problems too. But if I test my new update, when I want to down
-
How can I record Audio while listening to another Audio Track?
I wanted to record a duo with both parts played by myself but I can't get Logic EXpress 8 to let me hear the previously recorded Audio track while recording the second Audio track. I do have an Edirol UA-25 and thought i had it set up to make that po