Obtaining the state of a switch
Hello,
I've got 3 nested loops: While-Case-While
If the user hits a front button, the case statement returns true and the inner while loop gets executed.
Now, what should I do to exit the inner while loop in case the user hits the same button again?
In other words, can I somehow "check" the same button in different loops?
Programm is attached, the loop in question is the very first one on the left!
Cheers,
Georg
Attachments:
AcquisitionFromScratchVER14.vi 126 KB
The pressing of the button will be noticed by the "value" of the property node as long as it is in the same loop. For instance I have a VI I just finished to control a laser and while I use event structures I have property nodes outside that structure but within the same while loop. They just cant be in a different loop or they wont be recognized since that loop is not being handled at that time.
Similar Messages
-
Reset the state of one switch when another switch is pressed in a VI
I have a START/STOP latching button and a PAUSE/RUN latching button. I would like to be able to reset the PAUSE button when the START/STOP button is pressed. Sometimes the user leaves the PAUSE button latched and then presses the START/STOP button. This then activates only part of the VI.
You could do this in eoither of two ways. The most straight-forward is the case where you have a state-machine of some sort handling the button presses. All you would have to do is insert a local variable of the Pause/Run button in the case structure that is executed when the Start/Stop button is set to the "Stop" position. The local variable would allow you to force the switch into whatever state you want.
The other possibility is that you might want to do it in a subvi. In that situation you'd need to pass to the subvi a reference to the Pause/Run button and use the "Value" property to turn it off. The disadvantage of this approach is that according to NI using property nodes to set the value of a control is much slower than writing to it directly with a lo
cal variable.
If you have specific questions feel free to follow-up. Also if you could post the pertinent bits of the code in 6.0 format I could give you very specific recommendations.
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps -
i was going to upgrade from 10.6.8 to mavericks 10.9.2, but the installer program notified me stating my appleworks 6 app will not run on the new set up. is there a procedure to keep or switch my documents in order to obtain the mavericks upgrade?
I can't say personally since I never used AW, but see if these articles help:
http://www.macworld.com/article/1166370/open_old_docs.html
http://www.cultofmac.com/248546/convert-system-os-9-appleworks-6-files-to-os-x-p ages-files-os-x-tips/
I suggest that you clone your current drive with 10.6.8 to an external drive. If you have any issues after upgrading to Mavericks, you can boot back into 10.6.8.
Both of these applications can be used to create a clone. If you need help creating your clone, let us know.
SuperDuper! http://www.shirt-pocket.com/
CCC http://www.bombich.com/download.html -
iPhone 4S with the latest updates 8.1.3 (12B466) installed.
When I switch back to an ongoing application, from the switcher, it reverts to its own 'homepage' rather than the stay at the state/stage I left it at.
How can I force applications to maintain the current state?
I am in the process of getting enough screenshots to demonstrate further.ios7 keeps refreshing apps after switching
solcwd -
I had been in Canada and obtained my i4s. I created my Apple ID using my normal email address. I returned to the States and still had my Canadian number. I was told the Canadian version of the iPhone 4s would not work with any phone company in the States, so I had to purchase yet another phone and create another Apple ID.
I have since deactivated the Canadian number. I cannot deactivate that Apple ID though. So I am stuck with two (2) Apple IDs. (not to mention 2 iPhone 4s)
I would very much like to only have one assiciated with the phone I have now. Is there a way to deactivate one of the Apple ID accounts?Welcome to the Apple Community.
I'm not sure you needed to purchase a new phone, you certainly didn't need to create a new ID.
However now you have done, you can't de-activate the old account, just log into your new one and stop using your old one. -
I have not seen this precise issue addressed anywhere. I don’t know if it’s an iTunes or an iPod problem:
- Some, but not all, podcasts existing on the iPod no longer appear in iTunes;
this, after normal behavior for more than a year since purchase of the iPod.
- Different podcasts have been affected at different times, after changes in the state of the iPod.
- Only podcasts are affected.
- This concerns an iPod nano 6th gen. and iTunes 11.0.2 (26) on System 10.6.8
- The only change to iTunes, the Mac, or the iPod is that just before this condition began
I’d begun syncing an iPhone via iTunes.
I sync manually (“manually manage music and videos”). The first time this happened, I wanted to delete seventeen podcast episodes (all belonging to one podcast) existing on the iPod — but they didn’t show up in iTunes. I tried re-downloading them and re-syncing, to see if the new versions would somehow “re-link” to iTunes. They didn’t. Only one — new — episode appeared in iTunes.
I ultimately reset the iPod and manually resynced all the podcasts I currently had on iTunes. That worked, though I had to painstakingly add in all the other content deleted by the reset.
So: after that reset and manual sync, all podcasts and episodes on the iPod were visible to iTunes and I was able to delete the podcast and its — now 18 — episodes I’d wanted to get rid of to begin with. But the next time I connected the iPod, only 8 podcast episodes out of 21 episodes total existing on the iPod were visible to iTunes. These are different podcasts; I’d deleted the original “invisible” ones.
By “visible,” I mean in the “Podcasts” list view under “[name]’s iPod” in the iTunes sidebar. If I select “[name]’s” iPod in the iTunes sidebar and the “Podcasts” tab, all podcasts and episodes are visible, though greyed out because I’m set to sync manually. It’s unclear to me if these are the podcasts on the iPod or those currently in iTunes, as they are currently the same. If I switch to syncing automatically, all content on the iPod will be lost again, so I’m not up to trying it at the moment.
As I said, this involves only podcasts. All other content on the iPod does appear in iTunes.I have the same problem- i see my movies in the ipod section in itunes and they even show as mpeg4 in the 'kind' section but they dont have that small TV icon next to them. if i play these in itunes, they play fine- but try playing them on the ipod and all you hear is the sound and no picture. All videos that i manually transfer work fine in the beginning- its when i hook up the ipod to the comp again and start itunes- they start showing up without the 'tv' icon!! i have to again transfer them from the itunes library to activate them as videos.
Need Help!!! -
How can I obtain the primary key of a table for an entity relation?
hello everybody
I am doing a consultation to a table in my data base, good this table has alone two fields, the first one is the code or pk and the second one is the description, to be presisos they are names of city and code.
From the beginning!!: This method this one in another class that is a Dialog that is going to call to the class SelecPlace ();
SelecPlace sl = new SelecPlace();
public void capturarLugar(){ // Simple void method in the mentioned class
String place = txtProcedencia.getText() ; // a JTextField
sl.executeStatement(place) ;
}ok, now we see part of the code of the class SelectPlace
public class SelecPlace extends AbstractTableModel{
Connection con = null;
Statement sentencia = null ;
ResultSet rs = null;
ResultSetMetaData rsmd = null ;
String[] nameColum = {} ;
Vector datos = new Vector() ;
public SelecPlace() { }
public void executeStatement(String query){
try{
con = DBManager.getConnection() ;
sentencia = con.createStatement(rs.TYPE_SCROLL_INSENSITIVE,
rs.CONCUR_UPDATABLE) ;
String sql = "select * from Place where descripcion like %"+query+"%'";
rs = sentencia.executeQuery(sql) ;
rsmd = rs.getMetaData();
int nroColumnas = rsmd.getColumnCount() ;
nameColum = new String[nroColumnas] ;
//obtengo los nombres de columnas en cache
for(int colum = 0; colum < nroColumnas; columna++){
nameColum[colum] = rsmd.getColumnLabel(columna + 1) ;
datos = new Vector();
while(rs.next()){
Vector newRow = new Vector();
for(int i = 0; i < getColumnCount(); i++){
newRow.addElement(rs.getObject("place_ID"));
newRow.addElement(rs.getObject("description"));
datos.addElement(nuevaFila);
fireTableChanged(null);
}catch(SQLException e){
System.err.println(e);
e.printStackTrace(System.err);
System.out.println("error in statement");
}catch(ClassNotFoundException cnfe){
System.err.println(cnfe);
}Ok, this code me works and I obtain in this case the field description of the table Place
Now my question is, how can I obtain the primary field of my table?
I need this value of this field that in the base of information in a bigint, and to take it to the first class before mentioned, for that I am working with a data base relatedCertain duffymo and everyone!!, good I give you my scheme:
And generalizing my question, I want to obtain the value of the primary key of a table in the database, I obtain more values of the same row, but I need the primary key, and you see one with the primary key I want to turn a Long and it to insert with code java in foreign clave in another table of the database
Good of this form I believe that it would not be breaking the integrity relacional of the tables -
I dropped my Iphone 5 which resulted in it shattering and the screen was still on but it was black with only a white line through it so I couldnt access the phone however I switched over to my Droid and now I cannot send or receive messages and I cant turn off imessage because I cant see anything on the screen. Help?
Then the bottom of the support document states that if you do not have access to the device (which unfortunately because of the screen issue you do not) to contact Apple Care. That is what you need to do.
-
I am stationed in Bahrain and purchased an iPhone 5 on a local carrier. I am curious if I can just switch out the nano sim and use it when I get back to the states. Im thinking of just using it as a prepaid phone. Any ideas?
The phone will work on AT&T's network, but AT&T will go out of their way to stop you from doing that...they want all users, on their network, under contract.
Go to a T-Mobile store. T-Mobile will let you do what you want & welcome you. -
Obtain the URL of BPM task with Task query Service
Hi!
I am using the task query service to obtain information about Tasks with web services. I need to obtain the creator and the URL to access to the detail of the task (i don't know if this column is "taskDisplayUrl").
I have this Request but the response haven't the creator or the taskDisplayURL anybody can knows why?
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tas="http://xmlns.oracle.com/bpel/workflow/taskQueryService" xmlns:com="http://xmlns.oracle.com/bpel/workflow/common" xmlns:tas1="http://xmlns.oracle.com/bpel/workflow/taskQuery" xmlns:task="http://xmlns.oracle.com/bpel/workflow/task">
<soapenv:Header/>
<soapenv:Body>
<tas:taskListRequest>
<com:workflowContext>
<!--Optional:-->
<!--Optional:-->
<com:token>aeb02ebe-69e9-4410-90d7-cffd45c2613c;;VnIEtWPiaoh7tTD1KhC4D0sjFNTVLdgySbQVa4xK0TiBb+0nzaqm/UA4THYju77KK/9xaPUH6F355rtMEoKAYBtXPPyHBYWnaGkZjAz5AB1PQyjs+hvqvA1SaVQnhWcRy8ZtTarO+vCxseuGit62QIoLa1vWKKC59j7m+OWxKYonchVcCo2droku9YZaf9T45cDLC3eh6UXzgM4S2f7OCF4BxI4b43jJZTJ6Ny3Zr/VQo57+73mkP2xxp3mtvu/5</com:token>
</com:workflowContext>
<tas1:taskPredicateQuery startRow="0" endRow="0">
<!--You have a CHOICE of the next 2 items at this level-->
<!--Optional:-->
*<tas1:displayColumnList>*
*<tas1:displayColumn>CREATOR</tas1:displayColumn>*
*<tas1:displayColumn>TITLE</tas1:displayColumn>*
*<tas1:displayColumn>CREATEDDATE</tas1:displayColumn>*
*<tas1:displayColumn>taskDisplayUrl</tas1:displayColumn>*
*<tas1:displayColumn>PRIORITY</tas1:displayColumn>*
*<tas1:displayColumn>TASKNUMBER</tas1:displayColumn>*
*</tas1:displayColumnList>*
<tas1:optionalInfoList>
<!--Zero or more repetitions:-->
</tas1:optionalInfoList>
<!--Optional:-->
<tas1:predicate>
<!--Optional:-->
<tas1:assignmentFilter>MY_AND_GROUP</tas1:assignmentFilter>
<!--Optional:-->
<!--You have a CHOICE of the next 2 items at this level-->
<!--Zero or more repetitions:-->
<tas1:clause joinOperator="OR" ignoreCase="false">
<!--Optional:-->
<tas1:column>TITLE</tas1:column>
<tas1:operator>EQ</tas1:operator>
<!--You have a CHOICE of the next 3 items at this level-->
<!--Optional:-->
<tas1:value>BPM_NotasGastos</tas1:value>
<!--Optional:-->
</tas1:clause>
<tas1:clause joinOperator="OR" ignoreCase="false">
<!--Optional:-->
<tas1:column>TITLE</tas1:column>
<tas1:operator>EQ</tas1:operator>
<!--You have a CHOICE of the next 3 items at this level-->
<!--Optional:-->
<tas1:value>BPM_AprobacionPedido</tas1:value>
<!--Optional:-->
</tas1:clause>
<!--Optional:-->
</tas1:predicate>
<tas1:ordering>
<!--Zero or more repetitions:-->
<tas1:clause>
<!--You have a CHOICE of the next 2 items at this level-->
<tas1:column>updatedDate</tas1:column>
<tas1:sortOrder>DESCENDING</tas1:sortOrder>
</tas1:clause>
</tas1:ordering>
<!--Optional:-->
</tas1:taskPredicateQuery>
</tas:taskListRequest>
</soapenv:Body>
</soapenv:Envelope>
the response
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<taskListResponse xmlns="http://xmlns.oracle.com/bpel/workflow/taskQueryService">
<task xmlns="http://xmlns.oracle.com/bpel/workflow/task">
<title>BPM_NotasGastos</title>
<ownerRole>BPM_NotasGastos.ProcessOwner</ownerRole>
<priority>3</priority>
<processInfo/>
<systemAttributes>
<acquiredBy>weblogic</acquiredBy>
<assignedDate>2011-07-12T15:30:54+02:00</assignedDate>
<assigneeUsers>
<id>weblogic</id>
<type>user</type>
</assigneeUsers>
<createdDate>2011-07-12T15:30:54+02:00</createdDate>
<digitalSignatureRequired>false</digitalSignatureRequired>
<fromUser>
<type>user</type>
</fromUser>
<numberOfTimesModified>1</numberOfTimesModified>
<state>STALE</state>
<substate>ASSIGNED</substate>
<systemActions>
<action>VIEW_TASK</action>
<displayName>VIEW_TASK</displayName>
</systemActions>
<taskId>baf46727-1a3f-4f88-90ca-3f2a101dbd76</taskId>
<taskNumber>212891</taskNumber>
<updatedBy>
<id>workflowsystem</id>
<type>user</type>
</updatedBy>
<updatedDate>2011-07-12T15:30:54+02:00</updatedDate>
<version>1</version>
<taskDefinitionId>poc/BPM_NotasGastos!1.43*soa_b5148411-0b3b-4a01-a6a1-5c05e59ee763/AprobacionNotaGasto</taskDefinitionId>
<workflowPattern>Participant</workflowPattern>
<participantName>weblogic</participantName>
<assignees>
<id>weblogic</id>
<type>user</type>
</assignees>
<isPartialTask>true</isPartialTask>
</systemAttributes>
<systemMessageAttributes/>
<callback/>
<sca/>
<applicationContext>OracleBPMProcessRolesApp</applicationContext>
<taskDefinitionId>poc/BPM_NotasGastos!1.43*soa_b5148411-0b3b-4a01-a6a1-5c05e59ee763/AprobacionNotaGasto</taskDefinitionId>
<mdsLabel>soa_b5148411-0b3b-4a01-a6a1-5c05e59ee763</mdsLabel>
<customAttributes/>
</task>
<task xmlns="http://xmlns.oracle.com/bpel/workflow/task">
<title>BPM_NotasGastos</title>
<ownerRole>BPM_NotasGastos.ProcessOwner</ownerRole>
<priority>3</priority>
<processInfo/>
<systemAttributes>
<acquiredBy>weblogic</acquiredBy>
<assignedDate>2011-07-12T15:21:18+02:00</assignedDate>
<assigneeUsers>
<id>weblogic</id>
<type>user</type>
</assigneeUsers>
<createdDate>2011-07-12T15:21:18+02:00</createdDate>
<digitalSignatureRequired>false</digitalSignatureRequired>
<fromUser>
<type>user</type>
</fromUser>
<numberOfTimesModified>1</numberOfTimesModified>
<state>STALE</state>
<substate>ASSIGNED</substate>
<systemActions>
<action>VIEW_TASK</action>
<displayName>VIEW_TASK</displayName>
</systemActions>
<taskId>be730766-ceaf-4ff6-ab30-11dbbbc53b6c</taskId>
<taskNumber>212881</taskNumber>
<updatedBy>
<id>workflowsystem</id>
<type>user</type>
</updatedBy>
<updatedDate>2011-07-12T15:21:18+02:00</updatedDate>
<version>1</version>
<taskDefinitionId>poc/BPM_NotasGastos!1.42*soa_4a0f73f0-faf9-4d42-8c9d-3e9bb7ab602a/AprobacionNotaGasto</taskDefinitionId>
<workflowPattern>Participant</workflowPattern>
<participantName>weblogic</participantName>
<assignees>
<id>weblogic</id>
<type>user</type>
</assignees>
<isPartialTask>true</isPartialTask>
</systemAttributes>
<systemMessageAttributes/>
<callback/>
<sca/>
<applicationContext>OracleBPMProcessRolesApp</applicationContext>
<taskDefinitionId>poc/BPM_NotasGastos!1.42*soa_4a0f73f0-faf9-4d42-8c9d-3e9bb7ab602a/AprobacionNotaGasto</taskDefinitionId>
<mdsLabel>soa_4a0f73f0-faf9-4d42-8c9d-3e9bb7ab602a</mdsLabel>
<customAttributes/>
</task>
<task xmlns="http://xmlns.oracle.com/bpel/workflow/task">
<title>BPM_NotasGastos</title>
<ownerRole>BPM_NotasGastos.ProcessOwner</ownerRole>
<priority>3</priority>
<processInfo/>
<systemAttributes>
<acquiredBy>weblogic</acquiredBy>
<assignedDate>2011-07-12T11:44:44+02:00</assignedDate>
<assigneeUsers>
<id>weblogic</id>
<type>user</type>
</assigneeUsers>
<createdDate>2011-07-12T11:44:44+02:00</createdDate>
<digitalSignatureRequired>false</digitalSignatureRequired>
<fromUser>
<type>user</type>
</fromUser>
<numberOfTimesModified>1</numberOfTimesModified>
<state>STALE</state>
<substate>ASSIGNED</substate>
<systemActions>
<action>VIEW_TASK</action>
<displayName>VIEW_TASK</displayName>
</systemActions>
<taskId>5a17b895-6577-4cdf-87f4-30f6c9127681</taskId>
<taskNumber>212405</taskNumber>
<updatedBy>
<id>workflowsystem</id>
<type>user</type>
</updatedBy>
<updatedDate>2011-07-12T11:44:44+02:00</updatedDate>
<version>1</version>
<taskDefinitionId>poc/BPM_NotasGastos!1.37*soa_520d40c0-fa0a-49bc-a5b2-8fd2dcca9651/AprobacionNotaGasto</taskDefinitionId>
<workflowPattern>Participant</workflowPattern>
<participantName>weblogic</participantName>
<assignees>
<id>weblogic</id>
<type>user</type>
</assignees>
<isPartialTask>true</isPartialTask>
</systemAttributes>
<systemMessageAttributes/>
<callback/>
<sca/>
<applicationContext>OracleBPMProcessRolesApp</applicationContext>
<taskDefinitionId>poc/BPM_NotasGastos!1.37*soa_520d40c0-fa0a-49bc-a5b2-8fd2dcca9651/AprobacionNotaGasto</taskDefinitionId>
<mdsLabel>soa_ff7d9ce2-7bef-433b-9e6d-12461136eff9</mdsLabel>
<customAttributes/>
</task>
<task xmlns="http://xmlns.oracle.com/bpel/workflow/task">
<title>BPM_NotasGastos</title>
<ownerRole>BPM_NotasGastos.ProcessOwner</ownerRole>
<priority>3</priority>
<processInfo/>
<systemAttributes>
<acquiredBy>weblogic</acquiredBy>
<assignedDate>2011-07-12T11:39:22+02:00</assignedDate>
<assigneeUsers>
<id>weblogic</id>
<type>user</type>
</assigneeUsers>
<createdDate>2011-07-12T11:39:22+02:00</createdDate>
<digitalSignatureRequired>false</digitalSignatureRequired>
<fromUser>
<type>user</type>
</fromUser>
<numberOfTimesModified>1</numberOfTimesModified>
<state>STALE</state>
<substate>ASSIGNED</substate>
<systemActions>
<action>VIEW_TASK</action>
<displayName>VIEW_TASK</displayName>
</systemActions>
<taskId>fa249c9c-d45b-4bb6-869b-3ae2893147d8</taskId>
<taskNumber>212383</taskNumber>
<updatedBy>
<id>workflowsystem</id>
<type>user</type>
</updatedBy>
<updatedDate>2011-07-12T11:39:22+02:00</updatedDate>
<version>1</version>
<taskDefinitionId>poc/BPM_NotasGastos!1.36*soa_4fb21287-882e-4e9a-9087-4c39f8bd3b29/AprobacionNotaGasto</taskDefinitionId>
<workflowPattern>Participant</workflowPattern>
<participantName>weblogic</participantName>
<assignees>
<id>weblogic</id>
<type>user</type>
</assignees>
<isPartialTask>true</isPartialTask>
</systemAttributes>
<systemMessageAttributes/>
<callback/>
<sca/>
<applicationContext>OracleBPMProcessRolesApp</applicationContext>
<taskDefinitionId>poc/BPM_NotasGastos!1.36*soa_4fb21287-882e-4e9a-9087-4c39f8bd3b29/AprobacionNotaGasto</taskDefinitionId>
<mdsLabel>soa_ff7d9ce2-7bef-433b-9e6d-12461136eff9</mdsLabel>
<customAttributes/>
</task>
<task xmlns="http://xmlns.oracle.com/bpel/workflow/task">
<title>BPM_NotasGastos</title>
<ownerRole>BPM_NotasGastos.ProcessOwner</ownerRole>
<priority>3</priority>
<processInfo/>
<systemAttributes>
<acquiredBy>weblogic</acquiredBy>
<assignedDate>2011-07-08T14:38:12+02:00</assignedDate>
<assigneeUsers>
<id>weblogic</id>
<type>user</type>
</assigneeUsers>
<createdDate>2011-07-08T14:38:12+02:00</createdDate>
<digitalSignatureRequired>false</digitalSignatureRequired>
<fromUser>
<type>user</type>
</fromUser>
<numberOfTimesModified>1</numberOfTimesModified>
<state>STALE</state>
<substate>ASSIGNED</substate>
<systemActions>
<action>VIEW_TASK</action>
<displayName>VIEW_TASK</displayName>
</systemActions>
<taskId>df18152a-6a5a-40ac-a06f-64ad6507f4fb</taskId>
<taskNumber>211358</taskNumber>
<updatedBy>
<id>workflowsystem</id>
<type>user</type>
</updatedBy>
<updatedDate>2011-07-08T14:38:12+02:00</updatedDate>
<version>1</version>
<taskDefinitionId>poc/BPM_NotasGastos!1.24*soa_abca4e03-b8e6-414a-8b59-8943ac2fbb0c/AprobacionNotaGasto</taskDefinitionId>
<workflowPattern>Participant</workflowPattern>
<participantName>weblogic</participantName>
<assignees>
<id>weblogic</id>
<type>user</type>
</assignees>
<isPartialTask>true</isPartialTask>
</systemAttributes>
<systemMessageAttributes/>
<callback/>
<sca/>
<applicationContext>OracleBPMProcessRolesApp</applicationContext>
<taskDefinitionId>poc/BPM_NotasGastos!1.24*soa_abca4e03-b8e6-414a-8b59-8943ac2fbb0c/AprobacionNotaGasto</taskDefinitionId>
<mdsLabel>soa_abca4e03-b8e6-414a-8b59-8943ac2fbb0c</mdsLabel>
<customAttributes/>
</task>
</taskListResponse>
</env:Body>
</env:Envelope>Hi, did you find the way to find the URL of the WSDL? I have the same problem.
-
"error obtaining the list of methods" from Sun deploytool, "security" pane
I'm trying to apply security features to a web application in a .ear file. Following the J2EE tutorial I try to play with the Security tabbed pane in deploytool. Well, all the time I do get
Error obtaining the list of methods on MyService
java.lang.RuntimeException: my.package.MyService
The thing is, I could sucessfully deploy and use my web service ...
Maybe someone @sun.com could have a look at this stacktrace I got from deploytool (-verbose switch)
Jan 27, 2005 1:36:27 PM com.sun.enterprise.deployment.EjbDescriptor getMethodDescriptors
SEVERE: "DPL8008: method/class loading failure : method/class name - (EjbDescrip
tor.getMethods())"
---------------- Exception -----------------------------------------------------
[EjbComponentSecurityInspector.refresh:595]
Getting method descriptors
java.lang.RuntimeException: de.rochade.srap.ws.RoSrapScriptExecService
java.lang.RuntimeException: de.rochade.srap.ws.RoSrapScriptExecService
at com.sun.enterprise.deployment.EjbDescriptor.getMethodDescriptors(EjbD
escriptor.java:1318)
at com.sun.enterprise.tools.deployment.ui.ejb.EjbComponentSecurityInspec
tor.refresh(EjbComponentSecurityInspector.java:593)
at com.sun.enterprise.tools.deployment.ui.utils.InspectorPane.privateRef
resh(InspectorPane.java:880)
at com.sun.enterprise.tools.deployment.ui.utils.InspectorPane._refresh(I
nspectorPane.java:1012)
at com.sun.enterprise.tools.deployment.ui.utils.InspectorPane.access$100
(InspectorPane.java:38)
at com.sun.enterprise.tools.deployment.ui.utils.InspectorPane$DeferredRe
fresh.run(InspectorPane.java:864)
at com.sun.enterprise.tools.deployment.ui.utils.UIInvocationEvent.dispat
ch(UIInvocationEvent.java:53)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at com.sun.enterprise.tools.deployment.ui.utils.UIEventQueue.dispatchEve
nt(UIEventQueue.java:168)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Any known bug in deploytool or so?
Asked this first at
http://forum.java.sun.com/thread.jspa?threadID=590706&tstart=0
there are some more problems mentioned ...
Thanx!
MertenHi Merten,
I'm not sure if the Security tab will add the basic
auth that you mentioned in your email. You might
have a look at the Login Config on the Endpoint tab
and see if that gives you what you want.
http://docs.sun.com/source/819-0079/dgdesc.html#wp1366
64
JHi J,
I tried this Login Config stuff, but it worked for me only in the servlet (JAX-RPC) world, not for my EJB web service. In the J2EE tutorial I found the steps described for servlet based web services (this security-contraints stuff), I could protect my HTTP POST method successfully. But for an EJB web service, what are the required steps to add HTTP Basic auth? It seems to be way different, is it supported in deploytool the same way as for servlets?
I'll send another copy of my .ear to you ([email protected]). Sorry, I know this is not an dt (deploytool) related issue, but perhaps you can help me anyway. :-) I think I did the right stuff in my deployment descriptors, but it's not working. And I saw a NPE in my server's log file (will send you the stack trace too).
cu
Merten -
Hi,
I have a class which provide an object to a user. The object is pending at a manual confirmation of the operation to pass the state of the resource from provisioning to provisioned.
Exists any method to obtain the task instance key to set the manual answer throw the OIM API? I have only the object key from de resource.
ThanksThor.API.tcResultSet getTaskDetail(long processInstanceKey,
java.util.Map filterMap)
throws Thor.API.Exceptions.tcAPIException,
tcAPIExceptionReturns detailed information about all the tasks definitions in the specified provisioning process.
Parameters:
processInstanceKey - The key of the process instance in the system.
Returns:
A tcResultSet containing one to many rows, each row holding information about a task in the process. The following columns are returned
Process Definition.Tasks.Key
Event Handler Manager.Key
Process Definition.Tasks.Default Assignee
Process Definition.Tasks.Milestone Dependency
Process Definition.Tasks.Conditional
Process Definition.Tasks.Task Name
Process Definition.Tasks.Milestone Sequence
Process Definition.Tasks.Milestone Sequence Interval
Process Definition.Tasks.Required For Completion
Process Definition.Tasks.Hours
Process Definition.Tasks.Minutes
Process Definition.Tasks.Days
Process Definition.Tasks.Constant Duration
Process Definition.Tasks.Allow Multiple Instances
Process Definition.Tasks.Milestone Datalabel
Process Definition.Tasks.Task Description
Process Definition.Tasks.Second Duration
Process Definition.Tasks.Allow Cancellation While Pending
Process Definition.Tasks.Disable Manual Insert
Process Definition.Tasks.Milestone Delete Flag
Process Definition.Tasks.Complete on Recovery
Process Definition.Tasks.Milestone Mapping Status
Process Definition.Tasks.Task Effect
Process Definition.Tasks.Retry Period
Process Definition.Tasks.Retry Count
Process Definition.Tasks.Trigger Type
Process Definition.Tasks.Child Table Name
Process Definition.Tasks.Assign To User Manager
Process Definition.Tasks.System Level
Process Definition.Tasks.Creation Date
Process Definition.Tasks.Created By
Process Definition.Tasks.Update Date
Process Definition.Tasks.Updated By
Process Definition.Tasks.Note
Process Definition.Tasks.Row Version
Throws:
tcAPIException
Thanks
Suren -
Hi,
Have you ever come across this problem before.
Changes to the state or options of DB SUSDB can't be made at this time. DB Is in single-user mode and a user is currently connected to it.
It's preventing the post WSUS installation task from completing.
I opted to use the WID Database option and it created the SUSDB.
How can I resolve it?
Thanksthis sounds similar to some issues that occurred when KB2720211 was first release (the update does put the DB into single-user mode, to perform some tasks, then switches it back into multi-user mode. sometimes, that switch-back was not performed, and the
DB was left in single-user mode).
You can refer to this thread, the steps are buried in there.
http://social.technet.microsoft.com/Forums/windowsserver/en-US/531d576b-eeaf-40dc-9057-b3adbde6186f/kb2720211-debacle-is-this-acceptable-microsoft-quality?forum=winserverwsus
Don
(Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!) -
Case Statement doesn't switch.
Hello,
I'm having an odd problem with a case statement. I'm passing is a Boolean that is false but the case statement never switches over to the 'false' loop. I have attached a word doc that has the screen shot of this being single stepped through. The top picture has the case being highlighted with the probe #8 next to it indicating "False". In the lower screen shot is the very next step that is highlighting the outer 'while loop' but the case statement is still 'True'. Has anyone seen this before?
Gary Tyrna
Solved!
Go to Solution.
Attachments:
Case No Switch.doc 210 KBHi Mello,
Well I see what you are saying and you are correct the problem with it is the case statement works when highlight execution. But I have a main case statement in the loop that either allows the state machine loops to execute or hides them and that case switches during single stepping to true or false. So that was the reason I sent the first e-mail since I could see that case change but not the smaller one. But if that is the fix well I'll run with it and use the execution highlight to see the case statement switch.
Thanks Again.
Gary Tyrna -
Is there a cheaper way to learn/obtain the adobe suite?
I want to learn how to use adobe design studio but $480 is still too expensive for this college student (also im currently looking for a on campus job).... Is there a way of getting it any cheaper or il even take CS4 the previous version at a much cheaper price if they have it? I do not want to pirate it because i think it steals all the hard work the developers have done. Currently im working on a self project and graphics for the TV news club that im in. They do have copies at the studio but it is locked when nobody is there so i can only try it out once a week, plus they are the older versions of the suite, and the computer lab at Webb only has about 4 avaliable macs that have the whole suite and every time i have a moment to go to the lab they are taken often.... If there is a better way to obtain the software please tell me! Right now im using gimp and my trial is about to expire. If there is no other way i understand.
I currently go to eastern connecticut state universityfunction(){return A.apply(null,[this].concat($A(arguments)))}
That is what you may have been told, but it does not work. Adobe's licensing system is designed to prevent that. In fact there are many complaints about people who have installed the trial and uninstalled it due to problems and complain how the re-install won't work.
People complain about almost everything in this world because the level of their knowledge is not up to scratch. After uninstalling, you need to clear the registry entries (in a Windows system) and this will allow you to install again. However, this is an adobe forum so I do not want to discuss this matter anymore here.
Regards and good luck.
Maybe you are looking for
-
Can't use Calendar: Access to account "iCloud" is not permitted.
I recently have been experiencing this error: The server responded with an error. Access to account "iCloud" is not permitted. The server responded: "403" to operation CalDAVAccountRefreshQueueableOperation. It occurs repeatedly every two seconds and
-
N97 Numeric keypad on call problem
Hi All, Quick question. When you call a company which has an automated IVR, sometimes you have to enter not just numbers but also letters. The touchscreen keypad which comes up on the N97 while on a call can enter numbers fine but displays no letters
-
InfoObject that stores "Yearly/Monthly/Weekly/Daily"
Hi, I'm looking for a standard object that stores values Yearly/Monthly/Weekly/Daily etc. It could also be Year / Month / Week etc... Do you know of such an Standard Content InfoObject? Thanks in Advance Rudolph
-
If I buy LR4 do I need..
or should I also buy ACR, Bridge, and/or Elements 11? I'm not clear on the relationship among them and I can't tell from reading the descriptions of the products. I'm coming from Aperture. thanks, Mike
-
ICloud Email stopped working on my MacBook running 10.7.5
My computer has worked fine since installing 10.7.5 but suddenly iCloud mail has stopped. I can neither send or receive from my MacBook, but my iPad and iPhone both have working iCloud email. I didn't change anything on the computer, but I see