Can't get transitions to execute
Hi folks,
I'm building my first Flex app, which is a typical simple quiz. Intro state, string of questions, then a result.
I'm stuck right now in that my transitions are not running. I suspect it has something to do with the fact that I extended the Application class and typed my main application mxml file to that class so that I could keep Actionscript separate from MXML in two separate files. The app will switch states successfully but it won't run the transition effects on a state change, and so my endEffect event is not firing...
It may be that I have something else wrong altogether.
Here is the application MXML file:
<?xml version="1.0" encoding="utf-8"?>
<classes:QuizApplication
xmlns:local="*"
xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:classes="classes.*"
layout="absolute"
currentState="landingState"
>
<mx:HTTPService id="questions" url="./data/questions.xml" />
<classes:states>
<mx:State name="landingState"/>
<mx:State name="landingStateOut" basedOn="landingState"/>
<mx:State name="question">
<mx:RemoveChild target="{text1}"/>
<mx:RemoveChild target="{startButton}"/>
<mx:AddChild relativeTo="{vbox1}" position="lastChild">
<local:FormHolderVBox id="formHolder" applicationVO="{applicationVO}" width="348" height="248" />
</mx:AddChild>
</mx:State>
<mx:State name="resultState"/>
<mx:State name="betweenQuestions1" basedOn="question">
<mx:RemoveChild target="{formHolder}"/>
<mx:RemoveChild target="{vbox1}"/>
</mx:State>
</classes:states>
<classes:transitions>
<mx:Transition id="advanceTransition0" fromState="landingState" toState="landingStateOut">
<mx:Fade
duration="2000"
id="fadeToBetween"
alphaFrom="1"
alphaTo="0"
effectEnd="continueAdvance();"
/>
</mx:Transition>
<mx:Transition id="advanceTransition1" fromState="question" toState="betweenQuestions" effect="{fadeToBetween}" />
<mx:Transition id="advanceTransition2" fromState="question" toState="betweenQuestions">
<mx:Fade
id="fadeToQuestion"
alphaFrom="0"
alphaTo="1"
/>
</mx:Transition>
</classes:transitions>
<mx:Canvas x="45" y="41" width="392" height="361" id="canvas">
<mx:VBox x="21" y="47" height="291" width="348" id="vbox1">
<mx:Text text="Take this quick quiz to find out what type of shopper you are!" width="347" height="40" fontSize="12" id="text1"/>
<mx:Button label="Start the Quiz" id="startButton"/>
</mx:VBox>
</mx:Canvas>
<mx:Text text="What kind of shopper are you?" fontSize="21" fontWeight="bold" fontFamily="Arial" x="45" y="41"/>
</classes:QuizApplication>
And here is the associated Actionscript:
package classes
import classes.events.AdvanceEvent;
import flash.events.MouseEvent;
import mx.collections.ArrayCollection;
import mx.containers.Canvas;
import mx.controls.Button;
import mx.core.Application;
import mx.events.FlexEvent;
import mx.events.EffectEvent;
import mx.rpc.events.ResultEvent;
import mx.rpc.http.mxml.HTTPService;
public class QuizApplication extends Application
[Bindable]
public var startButton:Button;
public var canvas:Canvas;
public var questions:HTTPService;
//[Bindable] ?
public var questionVOs:ArrayCollection;
[Bindable]
public var applicationVO:ApplicationVO;
//CONSTRUCTOR
public function QuizApplication()
super();
this.addEventListener(FlexEvent.APPLICATION_COMPLETE, init);
// go ahead and create singleton of DataClass to store globals
applicationVO = new ApplicationVO();
//METHODS
private function init(e:FlexEvent):void
startButton.addEventListener(MouseEvent.MOUSE_UP, handleStartQuiz);
questions.addEventListener(ResultEvent.RESULT, handleQuestionData);
questions.send();
// set up listeners for app business
canvas.addEventListener(AdvanceEvent.FORWARD, advanceToQuestion);
//canvas.addEventListener(AdvanceEvent.BACKWARD, advanceToQuestion);
// canvas.addEventListener(AdvanceEvent.CONTINUE, continueAdvance);
// set to start with question 1
applicationVO.currentQuestion = 0;
// EVENT HANDLERS
private function handleStartQuiz(e:MouseEvent): void
//currentState = "question"; // states hard-coded in mxml
trace("should set state to landingStateOut");
trace("currentState now is "+currentState);
currentState = "landingStateOut";
trace("currentState now is "+currentState);
private function handleQuestionData(e:ResultEvent): void
applicationVO.questionVOs = new ArrayCollection();
// loop through XML's ArrayCollections and create an ArrayCollection of QuestionVO's, one for each question in XML
for each (var question:Object in e.result.questions.question)
var newVO:QuestionVO = new QuestionVO();
newVO.questionID = question.id;
// trace("question.id is "+question.id);
newVO.questionText = question.text;
// trace("question.text is "+question.text);
newVO.answers = new ArrayCollection();
for each (var answer:Object in question.answers.answer)
newVO.answers.addItem(answer);
// trace("answer is "+answer);
applicationVO.questionVOs.addItem(newVO);
private function advanceToQuestion(e:AdvanceEvent):void
trace("should transition to next question now");
e.stopImmediatePropagation();
if (e.type == "forward")
//somehow call the transition AdvanceTransition
applicationVO.currentQuestion++;
currentState = "betweenQuestions1";
else
applicationVO.currentQuestion--;
currentState = "betweenQuestions1";
public function continueAdvance():void
trace("should transition now from betweenQuestions2 to question state");
//currentState = "question";
Can anyone point out what I've got wrong that could cause the Transitions not to work? I thought they were simply supposed to execute on a state change from A to B, for which you've indicated set up a Transition from state A to B.
Many thanks!
Ok, I finally figured out what was wrong. I was missing the concept that you had to specify a target element in the effect definition in your transition upon which the transition would play. Transition plays now.
Similar Messages
-
How can I get Firefox to execute html code in a text file?
I used Notepad to create a text file, markup.html, that contains html code. How can I get Firefox to execute this code?
Also, how can I use the <script> tag in the html code using the src attribute to execute code in a file written in Javascript?First guess is that you did not use an .html extension on the file. The file may well be ''name.html.txt''
* see http://www.bbc.co.uk/webwise/guides/file-extensions
*http://windows.microsoft.com/en-gb/windows/show-hide-file-name-extensions#show-hide-file-name-extensions=windows-vista
Forum Note
This is normally offtopic for this forum. I say normally because now we cover webmaker questions. I wonder if this is therefore on topic as a webmaker question?
I have tagged with webmaker-contribution -
How can I get firefox to execute perl scripts from local files
I have created perl scripts on my local host (file type ".pl").
In MS Windows I have associated that type to a perl interpreter installed on my local host.
IE allows me to create links to them and to execute them (after asking for permission).
How can I get firefox to do the same? It doesn't seem to allow me to add application types, only to change those that are already defined. As a result, in firefox, they just show up as text, instead of being executed.First guess is that you did not use an .html extension on the file. The file may well be ''name.html.txt''
* see http://www.bbc.co.uk/webwise/guides/file-extensions
*http://windows.microsoft.com/en-gb/windows/show-hide-file-name-extensions#show-hide-file-name-extensions=windows-vista
Forum Note
This is normally offtopic for this forum. I say normally because now we cover webmaker questions. I wonder if this is therefore on topic as a webmaker question?
I have tagged with webmaker-contribution -
Can't get iTunes to execute.
I've recently bought an iPod Nano and installed the iTunes software v5. When I try to execute iTunes, I get the agreement screen and an error message stating:
The folder "iTunes" cannot be found or created and is required.
The default location for this folder is inside the "My Music" folder.
I've tried the suggested solution from the support pages which is to change the CD Burning drive using Tweka UI but this didn't help.
Can anybody help please ??
Windows XPhi vgvera!
I've tried the suggested solution from the support pages which is to change the CD Burning drive using Tweka UI but this didn't help.
(puzzled look) that's not what that support document says. it says to adjust the location of the My Music folder.
have a look at steps 4 through 8 again:
iTunes for Windows: "Disk is locked" or "iTunes folder cannot be found" when installing or opening iTunes
keep us posted.
love, b -
Can't get transitions and text in 16:9
Hi all you helpful!
I've edited a project shot in 16:9 and all video looks perfect. However as soon as I try to impose a title, a transition or text iMovie changes the aspect ratio to 4:3 for that particular clip. The same happens when I use still photos imported from iPhoto.
Is this a limitation in iMovie? Can't it produce transitions and text in wide format? The video is shot in PAL using a Sony DCR PC100E.
Many thanks in advance for your kind assistance.
Yours confused
Liljas
Imac G5 20" Mac OS X (10.4.6)
Imac G5 20" Mac OS X (10.4.6) iMovie 6.0.2Thanks dj_paige, for the reply.
Just managed to work that out. I was (well I am) using RDP from a Netbook, to my main computer (which is connected to a 42" TV in the lounge). Looks like I'll have to use the big screen for any serious editing, or get a laptop with a bigger screen.
Would be good if Adobe provided an actual error message though!
Loz -
I have an application that I'm trying to create a Jar file so I can just execute the jar to run it. When I try to run it with "javaw JHandicap.jar" it says it can't find the main class. Nothing happens when double clicking the jar. Of course if i put in into the classpath it then finds all the classes. I have another program that works ok from the jar without being in the classpath, which I created a while ago, but it only has one class, so I'm guessing that's my problem.
For this program the main class is called JHandicap.
There is another class called DateComboBox.
And one more for WinClosing.
There are also a bunch of classes with $'s, like DateComboBox$1.class, but I'm not sure I understand the importance of those being included or whether they get created when it is run.
I created the Manifest in a couple different ways:
Try1:
Manifest-Version: 1.0
Main-Class: JHandicap
Created-By: James Pifer
Name: JHandicap.class
Java-Bean: False
Try 2:
Main-Class: JHandicap
try 3:
Main-Class: JHandicap.class
None of these worked. Do I include the other classes in the Manifest too? If so, how?
Can Anyone tell me what I'm doing wrong?
Do I create the jar with only the main class files or should I do *.class to include all the $ ones too. I've tried both ways.
Any help is appreciated.
JamesMy understanding is that the more recent JRE's can run JAR files by double clicking them. I know 1.3+ does, not sure about 1.2.
Anyway, I created my jar like this:
jar cfm myjar.jar Manifest.mf *.class
This will add all the classes in the current directory to the myjar.jar file. Make sure all your class files are in that directory, unless they are in your regular classpath.
My Manifest.mf has one line in it:
Main-Class: classname
Make sure you have a carriage return after this line. That's it, you should be able to double click on it. Hopefully I haven't missed anything.
HTH,
James -
I can't get transitions to work when burning a DVD from Keynote
While trying to burn a DVD+RW from keynote, using Quicktime 7.5.5, I get a message stating warnings were detected during validation. Nowhere does it tell me where the errors are, or what to fix. If I burn the disk some of the transitions do not work. They freeze, or one slide shows through another. When I went through preview before burning everything worked fine, but when the DVD is placed in a player the transitions do not work. I removed all the transitions, then reburned the disc and things worked fine, but the presentation lacked pizazz.
bobWhich USB Superdrive are you referring to? If this is the one:
http://store.apple.com/us/product/MD564ZM/A/apple-usb-superdrive
it states it works with Macbook Air, Mini, or MBP with Retina display. If they told you differently, take it back for a full refund and show them their own website. -
How can i get a java executable (*.class) run on a web browser?
I have created a simple appilcation in java and i would like to view it through a web browser.
In order to do so, do i need to use an application server or just a web server?
Can you come up with another solution to solve my problem(view the java application through the web)?
Thank you in advance.If it HAS to be an application (perhaps something you have already written and now need to distribute), then Java Web Start may be an option.
What is your user base? How many people will be using it? In what environment? How frequently will they use your app? I think you mentioned that it needs to read files. Is that on the user's machine?
You may be able to create an applet version of your application using the same logic but subclassing some of the components to allow for remote login etc. -
Can you get the file name of the current executing TSQL script?
Can you get the file name of the current executing TSQL script? I wrote entries to a generic log file and would like to include the script name.
Okay, So What you can do is
1. Read get the version from your database and redirect it to a text file(SQLCMD outout can be directed to text file using -o option or windows redirection operator >)
2. Now you can read this value from the text file either inside a batch file or a powershell script and decide what operations you can do.
Satheesh
My Blog |
How to ask questions in technical forum -
Just downloaded Pro x, can't get rid of symbols in transitions
Just Down loaded Final Cut Pro x, can't get rid of symbols on transitions
hope you can help.Symbols on transitions? Can you post a screenshot of what you're seeing?
-
Trying to transition from my old iPhone 3G to a new iPhone 4S, and have some problems getting all my photos/videos to transfer. Apps and music are fine, but can't get about 2/3 of my photos. Any suggestions?
Good afternoon
Are you getting any error messages? This might be helpful reading.
http://support.apple.com/kb/TS3697
Cheers -
how can i get the executing time of a IMAQ function.function could be IMAQ acquire IMAQ acquire.
Hello,
This question was answered under a different category, here is the link:
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=137&HOID=5065000000050000004EBA0000&HTHREAD=000047694&UCATEGORY_0=_15_&UCATEGORY_S=0
Regards
Russell B.
National Instruments
Applications Engineering
Engineering Team Leader
G Systems, www.gsystems.com
Certified LabVIEW Architect
Certified Professional Instructor -
How can I get command values from a VI executed by reference ? NEWBIE
Hi,
I'm running a sub-vi in a "Secondary Front Face" (excuse for the
translation if not correct, I'm working on a French version). In order
to run this VI, I pass a reference. All is working fine but I don't
know how can I get the values entered by the user in this VI ?
Actually I run a main VI wich contains a "Secondary Front Face" (this
SFF is contained in a tabbed pane). In my diagramm, I pass a reference
to another VI (by the name of the file *.vi). If my user enter a word
in a text field, I would like to be able to get it in my main app.
Thanks for your help.Hello,
You might take a look at the following tutorial for more information about calling a VI by reference. It's got some great visuals and examples.
Tutorial: Calling a VI by Reference
You might also consider just calling the secondary VI as a simple subVI, if you can spare the memory space when loading the main application, as this is the easiest way to input and output VI values.
I hope this helps! Please let me know if I can be of any further assistance.
Liz F
National Instruments -
How can I get a hotspot to execute a command?
I have created a set of hotspots on a map and would like to get them to execute the following when clicked:
</select><input name="selMarket" type="hidden" value="2,3">
Also, once clicked is there a way to visually indicate that the hotspot has been selected?
Is this possible? if so how?Thank you for your suggestion but it when i modify the hotspot tag the values do not seem to be included in the query:
<img src="images/BullseyeMap.gif" width="1125" height="518" border="0" usemap="#Map" />
<map name="Map" id="Map">
<area onclick="document.frmEmailExport.selMarket.value='2','3'" area shape="poly" coords="67,498,524,501,516,471,522,455,513,448,500,444,505,436,511,429,512,421,511,411,52 1,402,547,390,547,385,546,375,545,366,536,360,533,354,529,351,531,343,535,335,540,330,534, 321,521,317,504,317,366,359,312,373,300,367,291,361,289,356,287,346,283,344,282,335,276,32 8,67,496,66,492,78,469,102,465" href="" >
However, if I enter the <input name="selMarket" type="hidden" value="2,3"> anywhere above or below the hotspot the query will include the values. This, though,is not what I am trying to achieve. I would like to include the values only when the hotspot is clicked. I have tried including the area onclick statement at the beginning and the end of the tag with the same results. I have tried it with only 1 value to no avail. I am at a loss. -
Can't get rid of a TX - message keeps appearing and being processed by OSB
I have some sort of a poison message or TX I can't flush. Every 10 seconds I get a log message like the second one below, and the number of pending messages in multiple places and OSB proxy service messages processed keep climbing - all without producing any new messages on my part. I've tried deleting the default server store on the OSB managed server and the filestore for the JMS server. No luck.
When this first started happening, the error messages looked like the first one below. Something I did caused the change, I assume. However, it's the same TX ID throughout.
So, first, how can I get rid of this thing? It's driving me nuts and keeping me from closing out a POC.
Second, why is it happening? I have one suspicion - could it be because that somehow we configured mutiple domains with the same name for a distributed application? It's not my normal practice but it happened. These domains don't communicate directly, but there are domains that need to communicate with both. So I'm guessing the name ambiguity may be hurting us. Just a guess, though.
In this case, the sgosb domain's proxy service (this domain name is unique) is receiving messages from a queue resident in the pega_domain in Singapore and another proxy service is putting a message to another queue in the pega_domain in the UK. This is not in a single TX; the first proxy service forwards the message to a queue in the sgosb_domain, the second proxy service gets that message and puts it into the other pega_domain. It's an XA TX for each proxy service.
Just to make it more fun, the sgosb_domain has another proxy service reading from a different queue and forwarding it to a queue in the third pega_domain in the US.
TIA for any help or insight.
Oh yes, the OSB domain is WLS 10.3.4, while the pega_domains are WLS 10.3.2
Original error message
####<Apr 13, 2011 4:32:13 AM GMT> <Error> <EJB> <sg01app510> <sgosb_1> <[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'>
<<anonymous>> <> <92f54a30d60e6302:-4b6d523c:12f4cfeaabc:-8000-0000000000000123> <1302669133597> <BEA-010026> <Exception occurred during commit of
transaction Xid=BEA1-039B0B6D3D0E77C1B135(1898471720),Status=Rolled back. [Reason=Unknown],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since
begin=0,seconds left=600,XAServerResourceInfo[WLStore_pega_domain_ProcessEventJMS_Store_mgd1]=(ServerResourceInfo[WLStore_pega_domain_ProcessEventJMS_Store_mgd1]=
(state=new,assigned=none),xar=null,re-Registered = false),SCInfo[sgosb_domain+sgosb_1]=(state=rolledback),SCInfo[pega_domain+pega_1]=(state=rolledback),properties=
({}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=sgosb_1+152.64.128.243:22110+sgosb_domain+t3+, XAResources={eis/tibjms/Topic,
WLStore_sgosb_domain_FileStore_auto_1, eis/aqjms/Queue, eis/wls/Queue, eis/tibjms/Queue, WLStore_sgosb_domain__WLS_sgosb_1, eis/AQ/aqSample, eis/aqjms/Topic,
eis/pramati/Queue, eis/sunmq/Queue, WLStore_sgosb_domain_WseeFileStore_auto_1, WLStore_sgosb_domain_MesssageForwardingJMS_Store_mgd1,
WSATGatewayRM_sgosb_1_sgosb_domain, eis/jbossmq/Queue, eis/activemq/Queue, eis/fioranomq/Topic, eis/tibjmsDirect/Topic, eis/wls/Topic,
eis/tibjmsDirect/Queue, eis/Apps/Apps, eis/webspheremq/Queue},NonXAResources={})],CoordinatorURL=pega_1+nj09mhm5078:22111+pega_domain+t3+):
javax.transaction.RollbackException: This transaction does not exist on the coordinating server. It was probably rolled back and forgotten.
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
at weblogic.transaction.internal.CoordinatorImpl_1032_WLStub.commit(Unknown Source)
at weblogic.transaction.internal.TransactionImpl$1.run(TransactionImpl.java:331)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.transaction.internal.SecureAction.runAction(SecureAction.java:72)
at weblogic.transaction.internal.TransactionImpl.commit(TransactionImpl.java:327)
at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:252)
at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:239)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:553)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:424)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:326)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
Caused by: javax.transaction.RollbackException: This transaction does not exist on the coordinating server. It was probably rolled back and forgotten.
at weblogic.transaction.internal.CoordinatorImpl.commit(CoordinatorImpl.java:94)
at weblogic.transaction.internal.CoordinatorImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
The error message I'm getting now
####<Apr 13, 2011 4:51:38 AM GMT> <Error> <EJB> <sg01app510> <sgosb_1> <[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <>
<92f54a30d60e6302:-42808c28:12f4d3173cb:-8000-0000000000000032> <1302670298730> <BEA-010026> <Exception occurred during commit of transaction
Xid=BEA1-0011D0679BA5074B8E12(1930603846),Status=Rolled back. [Reason=javax.transaction.xa.XAException],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=0,seconds
left=60,XAServerResourceInfo[WLStore_sgosb_domain_MesssageForwardingJMS_Store_mgd1]=(ServerResourceInfo[WLStore_sgosb_domain_MesssageForwardingJMS_Store_mgd1]=
(state=rolledback,assigned=sgosb_1),xar=WLStore_sgosb_domain_MesssageForwardingJMS_Store_mgd1239571724,re-Registered =
false),XAServerResourceInfo[WLStore_pega_domain_ProcessEventJMS_Store_mgd1]=(ServerResourceInfo[WLStore_pega_domain_ProcessEventJMS_Store_mgd1]=
(state=rolledback,assigned=pega_1),xar=null,re-Registered = false),SCInfo[sgosb_domain+sgosb_1]=(state=rolledback),SCInfo[pega_domain+pega_1]=(state=rolledback),properties=
({}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=sgosb_1+152.64.128.243:22110+sgosb_domain+t3+, XAResources={eis/tibjms/Topic,
WLStore_sgosb_domain_FileStore_auto_1, eis/aqjms/Queue, eis/wls/Queue, eis/tibjms/Queue, WLStore_sgosb_domain__WLS_sgosb_1, eis/AQ/aqSample, eis/aqjms/Topic, eis/pramati/Queue, eis/sunmq
/Queue, WLStore_sgosb_domain_WseeFileStore_auto_1, WLStore_sgosb_domain_MesssageForwardingJMS_Store_mgd1, WSATGatewayRM_sgosb_1_sgosb_domain, eis/jbossmq/Queue, eis/activemq
/Queue, eis/fioranomq/Topic, eis/tibjmsDirect/Topic, eis/wls/Topic, eis/tibjmsDirect/Queue, eis/Apps/Apps, eis/webspheremq/Queue},NonXAResources=
{})],CoordinatorURL=sgosb_1+152.64.128.243:22110+sgosb_domain+t3+): weblogic.transaction.RollbackException: Unknown reason
at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1881)
at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:345)
at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:239)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:553)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:424)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:326)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
Caused by: javax.transaction.xa.XAException
at weblogic.store.gxa.internal.GXAResourceImpl.prepare(GXAResourceImpl.java:1227)
at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerResourceInfo.java:1295)
at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerResourceInfo.java:500)
at weblogic.transaction.internal.ServerSCInfo.startPrepare(ServerSCInfo.java:380)
at weblogic.transaction.internal.ServerTransactionImpl.localPrepare(ServerTransactionImpl.java:2593)
at weblogic.transaction.internal.ServerTransactionImpl.localPrepare(ServerTransactionImpl.java:1321)
at weblogic.transaction.internal.SubCoordinatorImpl.startPrepare(SubCoordinatorImpl.java:183)
at weblogic.transaction.internal.CoordinatorImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
.>Edited by: SteveElkind on Apr 13, 2011 5:50 AMTom,
Thanks! Succinct and easy to understand as ever.
Yup, that covers it - I had also just seen this in the docs after looking at atheek1's earlier response (thanks to him/her as well). It's covered almost as clearly there as you state it here (http://download.oracle.com/docs/cd/E11035_01/wls100/jta/trxcon.html).
While the ESB domains meet all of those requirements (except for cross-domain security configuration), each of the other two sets of domains (3 in each set) do not meet the naming uniqueness criteria for domain and server names; they do for JMS server names. I saw the store names in the TX identifier string as included resource, and assumed they might play a part - that's why I changed them. As you say, an unnecessary change. Oh well - it was an easy one.
My normal practice has been for unique names in the past, due to problems I had years ago with cross-domain JMS traffic in an earlier WLS version. I guess it's the wrong time to have forgotten that lesson.
Does anyone know of a quick way of changing a domain name quickly without rebuilding the domain? In the past WLST resulted in incomplete copies for me, is that still a problem? Server names are easy, just some global search-and-replace in the config.xml file (and in the management scripts, too)
/Steve
Maybe you are looking for
-
Help- Connecting Macbook Pro 13" to TV with S video only
Hi guys, So I am trying to connect my Macbook Pro 13" 2009 model to my Tv at home so I can watch movies. My Tv is a Phillips Plasma and only has a S video and audio headset input available (no hdmi). My Macbook has a mini displayport input. I went in
-
Can't open itunes or install or uninstall any apple programs, says error 2203
Hi itunes will not open on my PC, i have tried many oprtion that others have suggested but none work. I cannot install or reinstall as it keeps coming up with the error message 2203
-
HELP - problems connecting my IPOD to my TV?? Wild Colors??
I have just purchased a Rocketfish AV cable to connect my classic IPOD to my Sony Bravia TV - it connects, I get sound but the picture if fluorescent pink and green - I have the video settings to TV OUT, NTSC, Widescreen is off - what is going wrong?
-
UIX Javascript Error with Date Picker
Hi all, I am using JDeveloper 10.1.2.1.0 with JHeadstart 10.1.2.2.32 to create UIX pages. I have a page with a filter by search field. If I select the date picker on this page in IE version 6 or 7, I get the following javascript error: Error: 'length
-
I need all drivers for hp pavillion dv4
hello i am in search of the drivers for my hp dvr4 i haved searched for them and i still cant find them. i also get a blue screen saying hardware malfunction .... call your vendor for support.....sytem was halted