Linear Phase EQ and Latency?

So after reading up on all the positive tidbits of the Linear Phase EQ vs. the good old fashioned Channel EQ, I decided to start giving it a shot. I like the subtle nuances LPEQ has over CEQ and have been enjoying it.
Tonight, however, I ran into a major issue. Every instance of the LPEQ introduced some nasty latency onto the track it was put into. I tried to EQ a kick drum and the thing became so far off that I couldn't believe it. Bypassing the plug immediately sent everything back to normal.
Why does the LPEQ introduce so much latency when used? Is there any sort of workaround to lessen the effect? I bumped my buffer settings up to 512 and there wasn't a bit of difference. What's going on in the LPEQ that would make that drastic of a change? Am I missing something?

Thanks for the input, noeq.
You're weclome Brent
For the record, the latency issue started before
changing any settings. There's also no recorded
audio in the session file, all of it is soft-synths
and samplers.
I am devising a test for the synths only...without any audio in the session.I'll keep you posted on what I find.
Are you suggesting that PDC should be off to avoid
the latency issue?
At this point I am not suggesting ANYTHING.so please don't change your setup until you can find out exactly why the latency happens.By Sunday I'll have results of my tests for you to look at.
I don't think it's just my issue or a myth,
especially since tbird, iS and X all posted as having
the exact same issue with the LPEQ.
I'll be looking into this.So far with my only test,to determine default latency of Logic Plugins only,I have found it to be the case that the GuitarAmp Pro and the Space designer reverb DO have different latencies,after all other latencies have been accounted for.The Linear Phase EQ in this particular test,came out to have no latency.
Perhaps it will be a different result when I do the synth-only test.
But until I do the test,I cannot know.
Here is one of my favorite quotes,from aristotle:
"We suppose ourselves to possess unqualified scientific knowledge of a thing, as opposed to knowing it in the accidental way in which the sophist knows, when we think that we know the cause on which the fact depends, as the cause of that fact and of no other, and, further, that the fact could not be other than it is. Now that scientific knowing is something of this sort is evident-witness both those who falsely claim it and those who actually possess it, since the former merely imagine themselves to be, while the latter are also actually, in the condition described. Consequently the proper object of unqualified scientific knowledge is something which cannot be other than it is.”
— Aristotle, Posterior Analytics (Book 1 Part 2)
Cheers

Similar Messages

  • Logic's Linear Phase EQ vs. Waves Renaissance EQ

    Hi all, I was wondering what your opinions were in regard to these two EQ's. Which one seems to be the way to go, and what are the differences between the two?
    Are there some things that one would be god for over another, or is one just flat out better than the other for all things?

    I have never used renaissance so im not sure about the two, but in theory any linear phase eq is better than one that is not due to the mathematical algorithms that it use to process the audio.
    The way it works is that most eq's are made to be processor friendly so they have a few downfalls which is a slight phase distortion , this can be heard most when moving a peak notch along the spectrum. Most of the time this won't really be noticed but linear phase eq's resolve this problem but will consume alot more CPU, as the maths is considerably larger.
    My recommendations though are to use 2 eq's which i love by PSP. NEON (linear phase) NITRO (normal), plus another great plug is Vintage Warmer2. As me my friends say: if it moves Vintage warmer. Well there u are, a short answer to ur question.LOL Thanks Stu.

  • Linear Phase EQ

    Not hearing the difference at all to be honest.. ::: What is the use of this in Lemans terms?

    You'll hear, and notice the difference immediately if you are trying to EQ a stereo recorded sound, say, like a stereo mic's acoustic guitar.
    If one side of the stereo signal needs EQ's, such as if the two mics weren't the same make and model, and you try and add channel EQ to that track, the signal will become heavily out of phase. You'll hear the image shift drastically, and the timing will be off as well.
    The Linear Phase EQ will keep the signal in phase, using this example.

  • Position Control of compumotor linear servo table and GV-U6E with PCI-7344

    I'm referring PCI-7344 (not 7334).
    I have the GV-U6E which is a drive only and does not possess control functionality. the drive only version does not store or use programs. So, serial commands can not be sent through COM port by LabVIEW even though A few basic commands can be emulated.
    I am trying to do position control as I mentioned. For example, the motor should move A point to B point exactly with a certain speed. The points must be aboulte position.
    I would like you to see the reference comment that I have been contacting with in your website forum.
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000DD490000&USEARCHCONTEXT_CATEGORY_0=_14_&USEARCHCONTEXT_CATEGORY_S=0&UCATEGORY_0=_14_&UCATEGORY_S=0
    Regard,
    Jin Ho Lee
    ----- Original Message -----
    From:
    To:
    Sent: Thursday, September 26, 2002 5:00 PM
    Subject: Re: (Reference#1549-QYW196) "Position Control of linear servo table and GV-U6E with PCI-7344
    >
    > Note: Your reference number is included in the Subject field of this
    > message. It is very important that you do not remove or modify this
    > reference number, or your message may be returned to you.
    >
    >
    > JinHo. Compumotor is a very popular brand, and I know of several customers
    > who integrate our 7334 with Computmotor drives. However, when you say that
    > the MAX configuration doesn't fit in the compumotor drive settings, are you
    > referring to the specs from the 7344? It looks like the 7344 and the
    > Compumotor will work well together through a UMI break out box. If you're
    > referring to specific commands that the Compumotor receives, I'd have to
    > know more about the protocol. If the Compumotor needs serial commands,
    > then you can send them through the computer's COM port from LabVIEW.
    > Please let me know exactly what kind of configurations you're trying to
    > set. The 7344 can be completely configured in MAX and LabVIEW.
    >
    >
    > Best Regards
    >
    > Kyle Voosen
    > Applications Engineer
    > National Instruments
    > http://www.ni.com/support
    >
    > ------------------------------------------------------------------------------
    >
    > Problem Description :
    > "Position Control of compumotor 406LXR linear servo table and GV-U6E(motor
    > drive) with PCI-7344"
    >
    > "Since I had the answers referring:
    > http://exchange.ni.com/servlet/ ProcessRequest?RHIVEID=101&RPAGEID=135&
    > HOID=506500000008000000DD490000& USEARCHCONTEXT_CATEGORY_0=_14_&
    > USEARCHCONTEXT_CATEGORY_S=0& UCATEGORY_0=_14_&UCATEGORY_S=0
    >
    > Wiring step was done well. However, I still have a problem that MAX
    > configuration doesn't fit in compumotor drive settings. Therefore, the
    > setup is shown below, and I want to know how I can set up PCI-7344
    > configuration in MAX or LabVIEW VI.
    >
    >
    > -----------------------------------------------------
    >
    > Uploaded from device address 0
    >
    > Gemini GV Servo Drive Setup
    >
    >
    >
    > Motor Setup
    > DMTR 1703
    > Motor ID (406-x-LXR-M-x-D13-x-x-x-x-E5-x-x-x)
    > DMTIC 2.48
    > Continuous Current (Amps-RMS)
    > DMTICD 0.00
    > Continuous Current Derating (% derating at rated speed)
    > DMTKE 17.6
    > Motor Ke (Volts (0-to-peak)/krpm)
    > DMTRES 10.10
    > Motor Winding Resistance (Ohm)
    > DMTJ 119.300
    > Motor Rotor Inertia (kg*m*m*10e-6)
    > DPOLE 1
    > Number of Motor Pole Pairs
    > DMTW 40.5
    > Motor Rated Speed (rev/sec)
    > DMTIP 7.40
    > Peak Current (Amps-RMS)
    > DMTLMN 3.4
    > Minimum Motor Inductance (mH)
    > DMTLMX 3.4
    > Maximum Motor Inductance (mH)
    > DMTD 0.000000
    > Motor Damping (Nm/rad/sec)
    > DMTRWC 0.23
    > Motor Thermal Resistance (degrees Celsius/Watt)
    > DMTTCM 20.0
    > Motor Thermal Time Constant (minutes)
    > DMTTCW 0.33
    > Motor Winding Time Constant (minutes)
    > DMTAMB 40.00
    > Motor Ambient Temperature (degrees Celsius)
    > DMTMAX 90.00
    > Maximum Motor Winding Temperature (degrees Celsius)
    > DHALL 1
    > Disable Hall Sensor Checking
    > DMTLQS 0
    > Set Q Axis Inductance Saturation
    > DMTLDS 0
    > Set D Axis Inductance Saturation
    > DTHERM 0
    > Disable motor thermal switch input
    >
    >
    >
    > Drive Setup
    > DMODE 2
    > Drive Control Mode
    > DRES 8400
    > Drive Resolution (counts/rev)
    > DPWM 16
    > Drive PWM Frequency (kHz)
    > SFB 1
    > Encoder Feedback
    > ERES 8400
    > Encoder Resolution (counts/rev)
    > ORES 8400
    > Encoder Output Resolution (counts/rev)
    > DMEPIT 42.00
    > Electrical Pitch (mm)
    > SHALL 0
    > Invert Hall Sensors
    > DMTLIM 1.5
    > Torque Limit (Nm)
    > DMTSCL 1.5
    > Torque Scaling (Nm)
    > DMVLIM 119.000000
    > Velocity Limit (rev/sec)
    > DMVSCL 119.000000
    > Velocity Scaling (rev/sec)
    >
    >
    >
    > Load Setup
    > LJRAT 0.0
    > Load-to-Rotor Inertia Ratio
    > LDAMP 0.0000
    > Load Damping (Nm/rad/sec)
    >
    >
    >
    > Fault Setup
    > FLTSTP 1
    > Fault on Startup Indexer Pulses Enable
    > FLTDSB 1
    > Fault on Drive Disable Enable
    > SMPER 8400
    > Maximum Allowable Position Error (counts)
    > SMVER 0.000000
    > Maximum Allowable Velocity Error (rev/sec)
    > DIFOLD 0
    > Current Foldback Enable
    >
    >
    >
    > Digital Input Setup
    > INLVL 11000000
    > Input Active Level
    > INDEB 50
    > Input Debounce Time (milliseconds)
    > INUFD 0
    > Input User Fault Delay Time (milliseconds)
    > LH 0
    > Hardware EOT Limits Enable
    >
    >
    >
    > Digital Output Setup
    > OUTBD 0
    > Output Brake Delay Time (milliseconds)
    > OUTLVL 0100000
    > Output Active Level
    >
    >
    >
    > Analog Monitor Setup
    > DMONAV 0
    > Analog Monitor A Variable
    > DMONAS 100
    > Analog Monitor A Scaling (% of full scale output)
    > DMONBV 0
    > Analog Monitor B Variable
    > DMONBS 100
    > Analog Monitor B Scaling (% of full scale ouput)
    >
    >
    >
    > Servo Tuning
    > DIBW 1500
    > Current Loop Bandwidth (Hz)
    > DVBW 100
    > Velocity Loop Bandwidth (Hz)
    > DPBW 40.00
    > Position Loop Bandwidth (Hz)
    > SGPSIG 1.000
    > Velocity/Position Bandwidth Ratio
    > SGIRAT 1.000
    > Current Damping Ratio
    > SGVRAT 1.000
    > Velocity Damping Ratio
    > SGPRAT 1.000
    > Position Damping Ratio
    > DNOTAF 0
    > Notch Filter A Frequency (Hz)
    > DNOTAQ 1.0
    > Notch Filter A Quality Factor
    > DNOTAD 0.0000
    > Notch Filter A Depth
    > DNOTBF 0
    > Notch Filter B Frequency (Hz)
    > DNOTBQ 1.0
    > Notch Filter B Quality Factor
    > DNOTBD 0.0000
    > Notch Filter B Depth
    > DNOTLG 0
    > Notch Lag Filter Break Frequency (Hz)
    > DNOTLD 0
    > Notch Lead Filter Break Frequency (Hz)
    > SGINTE 1
    > Integrator Option
    > SGVF 0
    > Velocity Feedforward Gain (%)
    > SGAF 0
    > Acceleration Feedforward Gain (%)
    > -----------------------------------------------------
    >
    >
    > Regards,
    > JinHo"
    > NI Software :
    > LabVIEW version 6.0
    > NI Hardware :
    > Motion Control device PCI-7344
    > Driver Version :
    > no
    > OS :
    > Windows 2000
    > CPU :
    > Pentium
    > RAM :
    > 128
    > Vendor :
    > DELL
    > Customer Information :
    > Jin Ho Lee
    > North Carolina State Univ.
    > US
    > [email protected]
    > Ph: (
    > 919
    > )
    > 512-9929
    >
    >

    Yes, we used an NI PXI-7344 motion control card with an NI UMI-7764 box connected to a Gemini GV-U12E servo drive. (which is a drive only.)
    We did positional control in absolute position mode.
    I can send you an AutoCAD schematic detailing how to connect the UMI-7764 to the Gemini GV servo drive.
    In regard to the Rs232 interface to the GV servo drive,
    the GV drive only model is "configurable" not "programmable". You can create unique GV configuration files with Compumotor's Motion planner then download the configuration via Rs232 using LabVIEW as desired. Or, using LabVIEW via Rs232 you can change individual GV drive parameters on demand,
    or use the GV's two analog outputs back to LabVIEW's analog inputs to measure commanded motor current or torque, etc.etc.etc

  • ATTN: Oracle North American Payroll Customers:End of Year Phase 1 and Q3...

    ATTN: Oracle North American Payroll Customers: End of Year Phase 1 and Q3 2007 Statutory Update Released!
    Dear Oracle North American HCM Customer,
    North American End of Year Phase 1 and the United States (US) Third
    Quarter Statutory Updates (Q3), 2007 have been released!
    US Q3 2007 Statutory Update patch numbers:
    * R11i: 6155000
    * R12: 6155000
    *Note – FPK RUP2 is not required for the US Q3 2007 Statutory Update
    End of Year Phase 1 (includes Q3 Statutory Update) patch numbers:
    · R11i: 6133333
    * R12: 6133333 (targetted for October 8th release)
    We would like to make you aware of several important points. Please read
    this entire note carefully.
    1. US Q3 2007 Statutory Update highlights
    2. End of Year Phase 1 highlights
    3. Other Important Notes
    4. Lifetime Support Policy: Coverage for Applications
    5. R11i HRMS Product Information
    6. Payroll Recommended Patches
    7. HR Recommended Patches
    8. Other Information
    A. US Q3 2007 Statutory Update highlights
    * JIT and School District Updates
    * Miscellaneous Statutory Bug Fixes
    Please see the readmes on Metalink for full details:
    3rd Qtr 2007 US Payroll Readme for Rel 11i – Note: 458431.1
    B. End of Year Phase 1 highlights
    US:
    * JIT/Geocode updates
    * Annual Geocode Patch Released
    o Patch 6117000 11i one-off released 04-Sep-2007
    o Included in EOY Phase 1
    o Readme Note: 456835.1
    * Wage Accumulation
    o Significant enhancement to the way the application
    accumulates wages for reporting
    o Joint project with Vertex to enhance processing of
    reciprocity rules at state and local levels
    o Changes within the Vertex engine allow for improved handling
    of multiple work jurisdictions
    o Provides users with the ability to control how work taxes
    affect taxes at residence locations and if wages should be
    accumulated at employee’s residence location
    o Readme Note: 460678.1
    o
    Note:
    Quantum 2.9.1 will be the pre-requisite for End of Year 2007 processing
    Additional Updates included in 2.9.1:
    o 5520588 – Resident State Tax Not given credit for Work State
    County Tax Withheld (Lives in NY works where ‘local’ tax is
    withheld)
    o 5897764 - FIT W/H Should be 35% After $1M Supplemental Wages
    even if Employee is Exempt
    o 5937604 - Delaware state income tax is being over-withheld
    on the second (and subsequent) supplemental payments in the
    same pay period.
    o 5730236 - YTD EI Deduction Stopped at 729.29 INSTEAD OF 729.30
    Evergreen Forms:
    The following forms are available from Evergreen for W-2s and 1099-Rs
    · Blank perforated W-2 #5208 Window envelope 4444-1
    · Blank perforated 1099-R #5179 Window envelope 6161-1
    · Preprinted W-2 #5218 Window envelope 5151-1
    · Preprinted 1099-R #7159-4 Window envelope 7777-1
    **Note: This is the last year we will support the preprinted W-2 and
    1099R. For EOY 2008 we will only support the pdf version of these two
    reports that print on blank forms.
    Customers can order forms at 800-248-2898 or go to www.evergrn.com
    <http://www.evergrn.com>
    RR Donnelley (formerly Moore) Forms:
    The following forms are available from RR Donnelley (formerly Moore) for
    W-2s and 1099-Rs
    * Blank perforated W-2 (with printed instructions on back) -
    LW28700BW (50 PK)
    * Blank perforated W-2 (with printed instructions on back) -
    LW28700B (2000 BULK)
    * Blank perforated W-2 (blank on back) - LW28700BLANKW (50 PK)
    * Blank perforated W-2 (blank on back) - LW28700BLANK (2000 BULK)
    * Window envelope for W-2 - 7987E
    * Blank perforated 1099R (with printed instructions on back) -LR4UPB
    (50 PK)
    * Blank perforated 1099R (with printed instructions on back)
    LR4UPBBULK (2000 BULK)
    * Blank perforated 1099R (blank on back) - L4UPBLANK (50 PK)
    * Blank perforated 1099R (blank on back) - L4UPBLANKBULK (2000 BULK)
    * Window envelope for 1099R - DW4ALT
    Customers can order forms at 877-526-3885 – reference Oracle customer #
    521836
    Canada:
    * Miscellaneous Bug Fixes
    Mexico:
    * Miscellaneous Bug Fixes
    Please see the readme on Metalink for full details:
    US 2007 Payroll Year End Phase 1 Readme Rel 11i Note 456990.1
    US 2007 Payroll Year End Phase 1 Readme Rel 12Note 456991.1
    MX 2007 Payroll Year End Phase 1 Readme Rel 11i NOTE.458559.1
    MX 2007 Payroll Year End Phase 1 Readme Rel 12 NOTE.458566.1
    CA 2007 Payroll Year End Phase 1 Readme Rel 11i NOTE.458561.1
    CA 2007 Payroll Year End Phase 1 Readme Rel 12 NOTE.458563.1
    C. Other Important Notes
    US Check/Deposit Advice XML
    There are some additional dependencies for this patch that were not
    originally communicated. Applying the EOY Phase 1 patch first satisfies
    these dependencies. If there is a need to apply this patch prior to
    applying EOY Phase 1 we are exploring possible alternative
    pre-requisites and will send out a notice late next week with more
    information.
    * 11i one-off Patch 6399100 released 21-Sep-2007
    * R12 will be part of Release Update (RUP) 12.0.4
    Oracle will de-support the Live Checkwriter and Deposit Advice for US
    and Canada beginning with 2007 EOY Phase 1. Archive Checkwriter and
    Deposit Advice will continue to be supported. What this means is that
    new code changes and bug fixes will not be tested on the Live
    Checkwriter and Deposit Advice. Additionally, enhancements made to the
    Archive version will NOT be made for the Live version.
    Desupport of Standard Tax Interface
    Oracle no longer supports the Standard Tax interface. Taxes will
    continue to be calculated and tax rate changes from the Vertex Data
    Updates will continue. New code changes and bug fixes will not be tested
    on the Standard Interface and we cannot guarantee that all functionality
    will continue to work. Additionally, enhancements made to taxes will NOT
    be made for the Standard Tax Interface. We strongly recommend that you
    upgrade immediately to the Enhanced Tax interface.
    Vertex Customer Café:
    The Customer Café is a comprehensive online information source
    specifically for Vertex customers. It’s easier than ever to get the
    support and information you need to maximize your investment in Vertex
    products. Some of the many benefits to using the Customer Café include:
    o Access to monthly data download files, release bulletins, schedules
    and considerations.
    o Early notification bulletins, late rate notifications, and support
    notices.
    o Online Knowledge Center that provides quick answers to questions and
    issues.
    o Online inquiry submission
    o Access to fully-indexed online documentation for all Vertex software
    products.
    o Easy access to Vertex software training information and registration.
    To register for the Customer Café, just visit the Vertex website at
    www.vertexinc.com <http://www.vertexinc.com/>.
    Year End Information for Payroll:
    Family pack K rollup 2 (5337777) is mandatory for R11i Year End and is a
    pre-requisite for Year End Phase 1. This patch was released on Friday,
    June 22, 2007.
    The R12 RUP (12.0.2) is mandatory for year end for R12
    For the complete R12 Payroll Mandatory Patch List see Metalink Note 386434.1
    For the complete R11i Payroll Mandatory Patch List see Metalink Note
    111499.1
    <http://metalink.oracle.com/metalink/plsql/showdoc?db=NOT&id=111499.1
    <http://metalink.oracle.com/metalink/plsql/showdoc?db=NOT&id=111499.1>>
    For additional non-mandatory North American Payroll patches see Metalink
    Note 74292.1
    <http://metalink.oracle.com/metalink/plsql/showdoc?db=NOT&id=74292.1
    <http://metalink.oracle.com/metalink/plsql/showdoc?db=NOT&id=74292.1>>
    D. Lifetime Support Policy: Coverage for Applications
    Important Reminder:
    Please pay attention to the Oracle E-Business Suite Support dates for
    your point release. Statutory or regulatory updates are not available
    beyond the ‘Extended Support Date’.
    11.5.7 came out of Premier Support in May 2007
    11.5.8 will come out of Premier Support in Nov 2007
    11.5.9 will come out of Premier Support in Jun 2008
    Extended Support has not been offered for 11.5.7, 11.5.8 or 11.5.9
    Premier and Extended Support include - Tax legal and regulatory updates
    Sustaining Support Does NOT include new tax, legal, and regulatory updates.
    For the full definitions of what this means to an 11.5.7/11.5.8 customer
    please read the full fact sheet available at:-
    http://www.oracle.com/support/library/data-sheet/oracle-lifetime-support-policy-datasheet.pdf
    *NOTE: For 2007 Payroll Year End, minimally you will need to be on 11.5.9.
    E. R11i HRMS Product Information
    For the latest Oracle HRMS Product Family - Release 11i Information,
    please see Metalink Note:135266.1
    This page contains important information including:
    * High Priority Alerts
    * Mandatory Patches
    * Family Packs and Minipacks
    * Latest Legislative Data - hrglobal.drv
    * Maintenance Pack Information
    F. Payroll Recommended Patches
    The Payroll recommended patch spreadsheet Metalink Note 74292.1 contains
    additional features and functions.
    G. HR Recommended Patches
    The HR Recommended spreadsheet contains a list of patches needed to be
    in compliance for HR Statutory reporting i.e. EEO-1, VETS-100 etc.
    The spreadsheet is located on Metalink in Note number: 273196.1
    H. Other Information
    1. MetaLink - http://metalink.oracle.com <http://metalink.oracle.com/>
    <http://metalink.oracle.com/>
    MetaLink is a customer resource provided by Oracle World-wide Support.
    The Applications section of Metalink contains all the latest product
    documentation and documentation updates for Oracle’s products.
    2. Payroll World
    Payroll World is an email distribution list for North American Oracle
    Payroll customers used to quickly disseminate information regarding
    product updates, patches, and statutory changes. To be added to this
    email distribution list, send e-mail to: [email protected]
    <mailto:[email protected]>
    Subject: Oracle North American Payroll World Contact Update with your
    contact name, CSI number, and company name
    3. Metalink Service Request profiles:
    Please update all Service Request profiles on Metalink with any updates
    to Database Version, Product Version, and/or contact information
    Metalink->UserProfile button
    4. Information for NEW North American Payroll customers:
    A pamphlet is available for all North American Payroll customers
    explaining Vertex, Payroll World, SIG's, etc.
    The North American Payroll Handout document can be located in Metalink
    Note 316077.1

    Chris,
    If you are referring to (Patch 7395025 - Q3 2008 JIT SQWL UPDATE FOR R11I), then you can apply it on 11.5.9. Just make sure you have all pre-req. patches applied.
    Note: 737173.1 - 2008 US Payroll Year End Phase 1 Readme Rel 11i
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=737173.1

  • Two phase commit and bean managed transactions

    To all the Transaction GURUS!
              Hi guys (-and gals).
              I've been doing J2EE for quite a while, but today was my first at
              XA-Transactions and Bean Managed Transactions.
              Why am I doing this?
              ====================
              Well I have to be able to controll the transactionalbehaviour of my
              bean
              during runtime, since some bean calls would cause a transactional
              overflow due to the stress they would cause to the system, whereas
              smaller bean calls need to run in one transaction.
              -> Therefore I need Bean Managed Transactions
              Since the bean does a call on two Database Connections it has to use a
              XA-Transaction.
              -> Therefore I need XA-Transactions.
              Abstract
              ========
              - I just can't get a User TransAction into the right Status it stays
              in 'STATUS_NO_TRANSACTION' all the time
              - Therefore the SQL Commands can be comitted 'java.sql.SQLException:
              Does not support SQL execution with no global transaction'
              - Therefore I can't do a rollback 'java.lang.IllegalStateException:
              Transaction does not exist'
              - Therefore I wrote this mail.
              I don't want to be a smart-"ass" writing such a detailed and indepth
              mail. I just would like to show that I tried, and would like to have
              some replies from you guys.
              Below are my configurations, code and logfiles.
              Thanx for taking your time and hope that the other people may learn
              something as well.
              cu
              Stefan
              Scenario
              ========
              used Software
              Bea Weblogic (WL) 6.0 SPx (not real sure which SP i have)
              Oracle 8.1.6 using the API-Version 8
              I configured the system as follows:
              (ofcourse I 'xxx'ed out all of the confidential data, sorry guys;-))
              excerpt from:
              config.xml
              <JDBCConnectionPool CapacityIncrement="5"
              DriverName="oracle.jdbc.driver.OracleDriver" InitialCapacity="2"
              LoginDelaySeconds="1" MaxCapacity="5" Name="oraclePool"
              Properties="user=xxx;password=xxx;dll=ocijdbc8;protocol=thin"
              RefreshMinutes="5" Targets="fbsserver" TestConnectionsOnRelease="true"
              TestTableName="languages" URL="jdbc:oracle:thin:@xxx:1521:xxx "/>
              <!-- Since this is our Main Datasource I would not like to use a XA
              Transaction due to performance Issues
              and the TxDataSource:
              -->
              <JDBCTxDataSource EnableTwoPhaseCommit="true"
              JNDIName="finstral.datasource.fbs" Name="finstral Content Datasource"
              PoolName="oraclePool" Targets="fbsserver"/>
              <!-- no comment required -I hope.
              Next comes the "special" Pool
              -->
              <JDBCConnectionPool CapacityIncrement="5"
              DriverName="weblogic.jdbc.oci.xa.XADataSource" InitialCapacity="1"
              LoginDelaySeconds="1" MaxCapacity="2" Name="oracleSecurityPool"
              Properties="user=xxx;password=xxx;server=xxx.xxx.xxx"
              RefreshMinutes="5" Targets="fbsserver" TestConnectionsOnRelease="true"
              TestTableName="Users" SupportsLocalTransaction="true"/>
              <!-- Well since there can only be one none XARessourceManager involved
              in a 2PC
              (keyword: Two Phase Commit) I will have to use a XACapable Driver for
              the other
              Datasource. Due to all the bugs in the oracle.xxx driver. I'll be
              using the jdriver for oci.
              I activated 'SupportsLocalTransaction' hoping it would solve my
              problem - without effect. I just left in there now, since it made
              sense me. Not?
              Again the TxDataSource:
              -->
              <JDBCTxDataSource EnableTwoPhaseCommit="true"
              JNDIName="finstral.datasource.fbssecurity" Name="finstral Security
              Datasource" PoolName="oracleSecurityPool" Targets="fbsserver"/>
              <!-- The System starts right up and can locate the test tables and
              everything. So I think all of this stuff is working here -->
              ejb-jar.xml
              <ejb-jar>
                   <enterprise-beans>
                        <session>
                             <ejb-name>TPCTestBean</ejb-name>
              <home>de.sitewaerts.futuna.common.test.tpcbean.TPCHome</home>
              <remote>de.sitewaerts.futuna.common.test.tpcbean.TPC</remote>
              <ejb-class>de.sitewaerts.futuna.common.test.tpcbean.TPCBean</ejb-class>
                             <session-type>Stateless</session-type>
                             <transaction-type>Bean</transaction-type>
                        </session>
                   </enterprise-beans>
                   <assembly-descriptor/>
              </ejb-jar>
              <!-- Originally I had the assembly-descriptor full of transaction
              requirements. I thought since
              the bean is handling all of the transaction stuff itself, it might get
              confused by the 'container-transaction'
              properties, and deleted them. Do I need them anyway?-->
              weblogic-ejb-jar.xml
              <weblogic-ejb-jar>
                   <weblogic-enterprise-bean>
                        <ejb-name>TPCTestBean</ejb-name>
                        <stateless-session-descriptor/>
                        <jndi-name>finstral/ejb/test_tpc</jndi-name>
                   </weblogic-enterprise-bean>
              </weblogic-ejb-jar>
              <!-- Nothing I have to explain here -->
              BeanCode (from the implementingBeanClass:
              'de.sitewaerts.futuna.common.test.tpcbean.TPCBean')
              public void setupTables() throws RemoteException
              UserTransaction tx = getTransaction();
              //getTransaction calls: 'tx = sCtx.getUserTransaction()' and does
              some errorhandling
              log.info("Die Transaktion vor den Connections: "+tx.toString());
              //Sorry bout the German. You should get the Message though.
              log.info("Der Transaktionsstatus vor den Connections:
              "+transactionStatus(tx));
              Connection conSecurity = getConnection(DATASOURCE_SECURITY, tx);
              //gets a Connection via a DataSourceName from the JNDI tree
              Connection conContent = getConnection(DATASOURCE_CONTENT, tx);
              log.info("Die frische Connection conSecurity: "+conSecurity);
              log.info("Die frische Connection conContent: "+conContent);
              tearDownTable(conSecurity);
              //Does nothing special
              tearDownTable(conContent);
              log.info("Die Transaktion nach dem Teardown: "+tx.toString());
              log.info("Der Transaktionsstatus nach dem Teardown:
              "+transactionStatus(tx));
              Statement stmt = null;
              try
              stmt = conSecurity.createStatement();
              //Well its getting interesting now.....
              log.info("Die Transaktion vor dem createtable: "+tx.toString());
              log.info("Der Transaktionsstatus vor dem createtable:
              "+transactionStatus(tx));
              log.info("Die Connection conSecurity vor dem createtable:
              "+conSecurity);
              log.info("Die Connection conContent vor dem createtable:
              "+conContent);
              stmt.executeUpdate(CREATE_TABLE);
              //above is the row 91 -> throws: 'java.sql.SQLException: Does
              not support SQL execution with no global transaction'
              stmt.close();
              stmt = conContent.createStatement();
              stmt.executeUpdate(CREATE_TABLE);
              stmt.close();
              commitTransaction(tx);
              catch (SQLException sqle)
              log.error("Konnte kein table init machen", sqle);
              rollbackTransaction(tx);
              //The Code for this method is below
              throw new EJBException(sqle);
              finally
              closeConnection(conSecurity);
              closeConnection(conContent);
              protected void rollbackTransaction(UserTransaction tx)
              log.info("Der Transaktionsstatus vor dem Rollback:
              "+transactionStatus(tx));
              log.info("Die Transaktion vor dem Rollback: "+tx.toString());
              try
              tx.rollback();
              //above is row 200 -> throws: 'java.lang.IllegalStateException:
              Transaction does not exist'
              log.info("Der Transaktionsstatus nach dem Rollback:
              "+transactionStatus(tx));
              log.info("Die Transaktion nach dem Rollback: "+tx.toString());
              catch (Exception e)
              log.error("Konnte die Transaktion nicht backrollen.", e);
              throw new EJBException(e);
              Log Excerpt
              ===========
              INFO setupTables() (66) - Die Transaktion vor den Connections:
              [email protected]
              INFO setupTables() (67) - Der Transaktionsstatus vor den Connections:
              STATUS_NO_TRANSACTION
              INFO setupTables() (72) - Die frische Connection conSecurity:
              weblogic.jdbc.rmi.SerialConnection@7c6daa
              INFO setupTables() (73) - Die frische Connection conContent:
              weblogic.jdbc.rmi.SerialConnection@3b425
              INFO setupTables() (78) - Die Transaktion nach dem Teardown:
              [email protected]
              INFO setupTables() (79) - Der Transaktionsstatus nach dem Teardown:
              STATUS_NO_TRANSACTION
              INFO setupTables() (86) - Die Transaktion vor dem createtable:
              [email protected]
              INFO setupTables() (87) - Der Transaktionsstatus vor dem createtable:
              STATUS_NO_TRANSACTION
              INFO setupTables() (88) - Die Connection conSecurity vor dem
              createtable: weblogic.jdbc.rmi.SerialConnection@7c6daa
              INFO setupTables() (89) - Die Connection conContent vor dem
              createtable: weblogic.jdbc.rmi.SerialConnection@3b425
              ERROR setupTables() (101) - Konnte kein table init machen
              java.sql.SQLException: Does not support SQL execution with no global
              transaction
                   at
              weblogic.jdbc.oci.xa.XAConnection.beforeExecute(XAConnection.java:137)
                   at
              weblogic.jdbc.oci.xa.Statement.executeUpdate(Statement.java:112)
                   at weblogic.jdbc.jta.Statement.executeUpdate(Statement.java:185)
                   at
              weblogic.jdbc.rmi.internal.StatementImpl.executeUpdate(StatementImpl.jav
              a:42)
                   at
              weblogic.jdbc.rmi.SerialStatement.executeUpdate(SerialStatement.java:54)
                   at
              de.sitewaerts.futuna.common.test.tpcbean.TPCBean.setupTables(TPCBean.jav
              a:91)
                   at
              de.sitewaerts.futuna.common.test.tpcbean.TPCBeanImpl.setupTables(TPCBean
              Impl.java:130)
                   at
              de.sitewaerts.futuna.common.test.tpcbean.TPCBeanEOImpl.setupTables(TPCBe
              anEOImpl.java:64)
                   at
              de.sitewaerts.futuna.common.test.TwoPhaseCommitUnitTest.setUp(TwoPhaseCo
              mmitUnitTest.java:51)
                   at
              org.apache.commons.cactus.AbstractTestCase.runBareServerTest(AbstractTes
              tCase.java:297)
                   at
              org.apache.commons.cactus.server.ServletTestCaller.callTestMethod(Servle
              tTestCaller.java:148)
                   at
              org.apache.commons.cactus.server.ServletTestCaller.doTest(ServletTestCal
              ler.java:199)
                   at
              org.apache.commons.cactus.server.ServletTestRedirector.doPost(ServletTes
              tRedirector.java:149)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                   at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
              java:213)
                   at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
              etContext.java:1265)
                   at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
              java:1631)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              INFO rollbackTransaction() (196) - Der Transaktionsstatus vor dem
              Rollback: STATUS_NO_TRANSACTION
              INFO rollbackTransaction() (197) - Die Transaktion vor dem Rollback:
              [email protected]
              ERROR rollbackTransaction() (206) - Konnte die Transaktion nicht
              backrollen.
              java.lang.IllegalStateException: Transaction does not exist
                   at
              weblogic.transaction.internal.TransactionManagerImpl.rollback(Transactio
              nManagerImpl.java:228)
                   at
              weblogic.transaction.internal.TransactionManagerImpl.rollback(Transactio
              nManagerImpl.java:222)
                   at
              de.sitewaerts.futuna.common.test.tpcbean.TPCBean.rollbackTransaction(TPC
              Bean.java:200)
                   at
              de.sitewaerts.futuna.common.test.tpcbean.TPCBean.setupTables(TPCBean.jav
              a:102)
                   at
              de.sitewaerts.futuna.common.test.tpcbean.TPCBeanImpl.setupTables(TPCBean
              Impl.java:130)
                   at
              de.sitewaerts.futuna.common.test.tpcbean.TPCBeanEOImpl.setupTables(TPCBe
              anEOImpl.java:64)
                   at
              de.sitewaerts.futuna.common.test.TwoPhaseCommitUnitTest.setUp(TwoPhaseCo
              mmitUnitTest.java:51)
                   at
              org.apache.commons.cactus.AbstractTestCase.runBareServerTest(AbstractTes
              tCase.java:297)
                   at
              org.apache.commons.cactus.server.ServletTestCaller.callTestMethod(Servle
              tTestCaller.java:148)
                   at
              org.apache.commons.cactus.server.ServletTestCaller.doTest(ServletTestCal
              ler.java:199)
                   at
              org.apache.commons.cactus.server.ServletTestRedirector.doPost(ServletTes
              tRedirector.java:149)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                   at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
              java:213)
                   at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
              etContext.java:1265)
                   at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
              java:1631)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              CONCLUSION
              ==========
              I'm going nuts.
              I just don't get it.
              The transaction is the same. I don't change the Connection. I start
              the Transaction at the beginning before I do anything!
              Please guys help me out.
              Thx alot.
              Stefan "it's three o'clock in the morning, my girlfriend left me, and
              my only friend is that stupid linux pinguine" Siprell
              Software-Development
              <<<<<<<<<<<<<<<<<<<<<<<<<<<
              <sitewaerts> GmbH
              Hebelstraße 15
              D-76131 Karlsruhe
              Tel: +49 (721) 920 918 22
              Fax: +49 (721) 920 918 29
              http://www.sitewaerts.de
              >>>>>>>>>>>>>>>>>>>>>>>>>>>
              

    Hi Priscilla
              (did you ever see the movie ? :-))
              Well I moved away from the idea of using bean managed transaction. I'll
              be using Container Managed Transactions. To modify the
              transactionalbehaviour I'll write proxymethods which have certain
              different containermanaged transaction properties, but which all call
              the same private methods.
              But it works! Here is my experience:
              - I was doing a DDL statement: I was trying to create new Tables, which
              is a definite "no-go"
              - pay careful attention to:
              http://edocs.bea.com/wls/docs60/jta/trxejb.html#1051405
                        and
              http://edocs.bea.com/wls/docs60/jta/trxejb.html#1051741
              and use these Settings for the Pool, don't ask me why, but it took me
              hours to find it out by myself:
                   <JDBCConnectionPool CapacityIncrement="5"
              DriverName="weblogic.jdbc.oci.xa.XADataSource" InitialCapacity="1"
              LoginDelaySeconds="1" MaxCapacity="2" Name="oracleSecurityPool"
              Properties="user=xxx; password=xxx; server=xxx.xxx.xxx"
              RefreshMinutes="5" Targets="fbsserver" TestConnectionsOnRelease="true"
              TestTableName="Users" SupportsLocalTransaction="true"/>
              where as the server (shown as: xxx.xxx.xxx) is the TNS Name of the
              Oracle Driver.
              It works great.
              Another thing you guys might want to do is write a simple StatelessSB
              which does JDBC calls and two different database Connections.
              Then write a UnitTest which calls this bean a couple hundred times (with
              the same transaction). Have one test do clean writes, and another which
              causes some SQL-Exception (too long Data Columns, or likewise).
              Always count the entries and see if everything worked out. We're using
              this SetupConstruction to test new combinations of AS(sorry Priscilla) /
              Database / Db-Drivers to have a "standard test".
              I know my two cents were uncalled for, but it might save you some
              time.....
              thanx for your help
              Stefan
              -----Ursprüngliche Nachricht-----
              Von: Priscilla Fung [mailto:[email protected]]
              Bereitgestellt: Donnerstag, 2. August 2001 21:42
              Bereitgestellt in: transaction
              Unterhaltung: Two phase commit and bean managed transactions
              Betreff: Re: Two phase commit and bean managed transactions
              Hi Stefan,
              Looks like you have not actually begun a transaction by calling
              UserTransaction.begin(),
              so your setupTables method is really executing with no transaction
              context.
              Priscilla
              Stefan Siprell <[email protected]> wrote:
              >To all the Transaction GURUS!
              >
              >Hi guys (-and gals).
              >I've been doing J2EE for quite a while, but today was my first at
              >XA-Transactions and Bean Managed Transactions.
              >
              >Why am I doing this?
              >====================
              >Well I have to be able to controll the transactionalbehaviour of my
              >bean
              >during runtime, since some bean calls would cause a transactional
              >overflow due to the stress they would cause to the system, whereas
              >smaller bean calls need to run in one transaction.
              >-> Therefore I need Bean Managed Transactions
              >Since the bean does a call on two Database Connections it has to use
              >a
              >XA-Transaction.
              >-> Therefore I need XA-Transactions.
              >
              >Abstract
              >========
              >- I just can't get a User TransAction into the right Status it stays
              >in 'STATUS_NO_TRANSACTION' all the time
              >- Therefore the SQL Commands can be comitted 'java.sql.SQLException:
              >Does not support SQL execution with no global transaction'
              >- Therefore I can't do a rollback 'java.lang.IllegalStateException:
              >Transaction does not exist'
              >- Therefore I wrote this mail.
              >
              >I don't want to be a smart-"ass" writing such a detailed and indepth
              >mail. I just would like to show that I tried, and would like to have
              >some replies from you guys.
              >
              >Below are my configurations, code and logfiles.
              >
              >Thanx for taking your time and hope that the other people may learn
              >something as well.
              >
              >cu
              >
              >Stefan
              >
              >
              >Scenario
              >========
              >
              >used Software
              >-------------
              >Bea Weblogic (WL) 6.0 SPx (not real sure which SP i have)
              >Oracle 8.1.6 using the API-Version 8
              >
              >
              >I configured the system as follows:
              >(ofcourse I 'xxx'ed out all of the confidential data, sorry guys;-))
              >excerpt from:
              >
              >config.xml
              >----------
              ><JDBCConnectionPool CapacityIncrement="5"
              >DriverName="oracle.jdbc.driver.OracleDriver" InitialCapacity="2"
              >LoginDelaySeconds="1" MaxCapacity="5" Name="oraclePool"
              >Properties="user=xxx;password=xxx;dll=ocijdbc8;protocol=thin"
              >RefreshMinutes="5" Targets="fbsserver" TestConnectionsOnRelease="true"
              >TestTableName="languages" URL="jdbc:oracle:thin:@xxx:1521:xxx "/>
              >
              ><!-- Since this is our Main Datasource I would not like to use a XA
              >Transaction due to performance Issues
              >and the TxDataSource:
              >-->
              >
              ><JDBCTxDataSource EnableTwoPhaseCommit="true"
              >JNDIName="finstral.datasource.fbs" Name="finstral Content Datasource"
              >PoolName="oraclePool" Targets="fbsserver"/>
              >
              ><!-- no comment required -I hope.
              >Next comes the "special" Pool
              >-->
              >
              ><JDBCConnectionPool CapacityIncrement="5"
              >DriverName="weblogic.jdbc.oci.xa.XADataSource" InitialCapacity="1"
              >LoginDelaySeconds="1" MaxCapacity="2" Name="oracleSecurityPool"
              >Properties="user=xxx;password=xxx;server=xxx.xxx.xxx"
              >RefreshMinutes="5" Targets="fbsserver" TestConnectionsOnRelease="true"
              >TestTableName="Users" SupportsLocalTransaction="true"/>
              >
              ><!-- Well since there can only be one none XARessourceManager involved
              >in a 2PC
              >(keyword: Two Phase Commit) I will have to use a XACapable Driver for
              >the other
              >Datasource. Due to all the bugs in the oracle.xxx driver. I'll be
              >using the jdriver for oci.
              >I activated 'SupportsLocalTransaction' hoping it would solve my
              >problem - without effect. I just left in there now, since it made
              >sense me. Not?
              >Again the TxDataSource:
              >-->
              >
              ><JDBCTxDataSource EnableTwoPhaseCommit="true"
              >JNDIName="finstral.datasource.fbssecurity" Name="finstral Security
              >Datasource" PoolName="oracleSecurityPool" Targets="fbsserver"/>
              >
              ><!-- The System starts right up and can locate the test tables and
              >everything. So I think all of this stuff is working here -->
              >
              >
              >
              >ejb-jar.xml
              >-----------
              ><ejb-jar>
              >     <enterprise-beans>
              >          <session>
              >               <ejb-name>TPCTestBean</ejb-name>
              >     
              ><home>de.sitewaerts.futuna.common.test.tpcbean.TPCHome</home>
              >     
              ><remote>de.sitewaerts.futuna.common.test.tpcbean.TPC</remote>
              >     
              ><ejb-class>de.sitewaerts.futuna.common.test.tpcbean.TPCBean</ejb-class>
              >               <session-type>Stateless</session-type>
              >               <transaction-type>Bean</transaction-type>
              >          </session>
              >     </enterprise-beans>
              >     <assembly-descriptor/>
              ></ejb-jar>
              >
              ><!-- Originally I had the assembly-descriptor full of transaction
              >requirements. I thought since
              >the bean is handling all of the transaction stuff itself, it might get
              >confused by the 'container-transaction'
              >properties, and deleted them. Do I need them anyway?-->
              >
              >weblogic-ejb-jar.xml
              >--------------------
              ><weblogic-ejb-jar>
              >     <weblogic-enterprise-bean>
              >          <ejb-name>TPCTestBean</ejb-name>
              >          <stateless-session-descriptor/>
              >          <jndi-name>finstral/ejb/test_tpc</jndi-name>
              >     </weblogic-enterprise-bean>
              ></weblogic-ejb-jar>
              >
              ><!-- Nothing I have to explain here -->
              >
              >BeanCode (from the implementingBeanClass:
              >'de.sitewaerts.futuna.common.test.tpcbean.TPCBean')
              >-----------------------------------------------------------------------
              >---------------------
              >
              > public void setupTables() throws RemoteException
              > {
              > UserTransaction tx = getTransaction();
              > //getTransaction calls: 'tx = sCtx.getUserTransaction()' and does
              >some errorhandling
              >
              > log.info("Die Transaktion vor den Connections: "+tx.toString());
              > //Sorry bout the German. You should get the Message though.
              > log.info("Der Transaktionsstatus vor den Connections:
              >"+transactionStatus(tx));
              >
              > Connection conSecurity = getConnection(DATASOURCE_SECURITY, tx);
              > //gets a Connection via a DataSourceName from the JNDI tree
              > Connection conContent = getConnection(DATASOURCE_CONTENT, tx);
              >
              > log.info("Die frische Connection conSecurity: "+conSecurity);
              > log.info("Die frische Connection conContent: "+conContent);
              >
              > tearDownTable(conSecurity);
              > //Does nothing special
              > tearDownTable(conContent);
              >
              > log.info("Die Transaktion nach dem Teardown: "+tx.toString());
              > log.info("Der Transaktionsstatus nach dem Teardown:
              >"+transactionStatus(tx));
              >
              > Statement stmt = null;
              > try
              > {
              > stmt = conSecurity.createStatement();
              > //Well its getting interesting now.....
              >
              > log.info("Die Transaktion vor dem createtable: "+tx.toString());
              > log.info("Der Transaktionsstatus vor dem createtable:
              >"+transactionStatus(tx));
              > log.info("Die Connection conSecurity vor dem createtable:
              >"+conSecurity);
              > log.info("Die Connection conContent vor dem createtable:
              >"+conContent);
              >
              > stmt.executeUpdate(CREATE_TABLE);
              > //above is the row 91 -> throws: 'java.sql.SQLException: Does
              >not support SQL execution with no global transaction'
              >
              > stmt.close();
              >
              > stmt = conContent.createStatement();
              > stmt.executeUpdate(CREATE_TABLE);
              > stmt.close();
              > commitTransaction(tx);
              > }
              > catch (SQLException sqle)
              > {
              > log.error("Konnte kein table init machen", sqle);
              > rollbackTransaction(tx);
              > //The Code for this method is below
              > throw new EJBException(sqle);
              > }
              > finally
              > {
              > closeConnection(conSecurity);
              > closeConnection(conContent);
              > }
              > }
              >
              > protected void rollbackTransaction(UserTransaction tx)
              > {
              > log.info("Der Transaktionsstatus vor dem Rollback:
              >"+transactionStatus(tx));
              > log.info("Die Transaktion vor dem Rollback: "+tx.toString());
              > try
              > {
              > tx.rollback();
              > //above is row 200 -> throws: 'java.lang.IllegalStateException:
              >Transaction does not exist'
              > log.info("Der Transaktionsstatus nach dem Rollback:
              >"+transactionStatus(tx));
              > log.info("Die Transaktion nach dem Rollback: "+tx.toString());
              > }
              > catch (Exception e)
              > {
              > log.error("Konnte die Transaktion nicht backrollen.", e);
              > throw new EJBException(e);
              > }
              > }
              >
              >Log Excerpt
              >===========
              >INFO setupTables() (66) - Die Transaktion vor den Connections:
              >[email protected]
              >INFO setupTables() (67) - Der Transaktionsstatus vor den Connections:
              >STATUS_NO_TRANSACTION
              >INFO setupTables() (72) - Die frische Connection conSecurity:
              >weblogic.jdbc.rmi.SerialConnection@7c6daa
              >INFO setupTables() (73) - Die frische Connection conContent:
              >weblogic.jdbc.rmi.SerialConnection@3b425
              >INFO setupTables() (78) - Die Transaktion nach dem Teardown:
              >[email protected]
              >INFO setupTables() (79) - Der Transaktionsstatus nach dem Teardown:
              >STATUS_NO_TRANSACTION
              >INFO setupTables() (86) - Die Transaktion vor dem createtable:
              >[email protected]
              >INFO setupTables() (87) - Der Transaktionsstatus vor dem createtable:
              >STATUS_NO_TRANSACTION
              >INFO setupTables() (88) - Die Connection conSecurity vor dem
              >createtable: weblogic.jdbc.rmi.SerialConnection@7c6daa
              >INFO setupTables() (89) - Die Connection conContent vor dem
              >createtable: weblogic.jdbc.rmi.SerialConnection@3b425
              >ERROR setupTables() (101) - Konnte kein table init machen
              >java.sql.SQLException: Does not support SQL execution with no global
              >transaction
              >     at
              >weblogic.jdbc.oci.xa.XAConnection.beforeExecute(XAConnection.java:137)
              >     at
              >weblogic.jdbc.oci.xa.Statement.executeUpdate(Statement.java:112)
              >     at weblogic.jdbc.jta.Statement.executeUpdate(Statement.java:185)
              >     at
              >weblogic.jdbc.rmi.internal.StatementImpl.executeUpdate(StatementImpl.ja
              v
              >a:42)
              >     at
              >weblogic.jdbc.rmi.SerialStatement.executeUpdate(SerialStatement.java:54
              >     at
              >de.sitewaerts.futuna.common.test.tpcbean.TPCBean.setupTables(TPCBean.ja
              v
              >a:91)
              >     at
              >de.sitewaerts.futuna.common.test.tpcbean.TPCBeanImpl.setupTables(TPCBea
              n
              >Impl.java:130)
              >     at
              >de.sitewaerts.futuna.common.test.tpcbean.TPCBeanEOImpl.setupTables(TPCB
              e
              >anEOImpl.java:64)
              >     at
              >de.sitewaerts.futuna.common.test.TwoPhaseCommitUnitTest.setUp(TwoPhaseC
              o
              >mmitUnitTest.java:51)
              >     at
              >org.apache.commons.cactus.AbstractTestCase.runBareServerTest(AbstractTe
              s
              >tCase.java:297)
              >     at
              >org.apache.commons.cactus.server.ServletTestCaller.callTestMethod(Servl
              e
              >tTestCaller.java:148)
              >     at
              >org.apache.commons.cactus.server.ServletTestCaller.doTest(ServletTestCa
              l
              >ler.java:199)
              >     at
              >org.apache.commons.cactus.server.ServletTestRedirector.doPost(ServletTe
              s
              >tRedirector.java:149)
              >     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
              >     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              >     at
              >weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl
              >java:213)
              >     at
              >weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServ
              l
              >etContext.java:1265)
              >     at
              >weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl
              >java:1631)
              >     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              >     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >INFO rollbackTransaction() (196) - Der Transaktionsstatus vor dem
              >Rollback: STATUS_NO_TRANSACTION
              >INFO rollbackTransaction() (197) - Die Transaktion vor dem Rollback:
              >[email protected]
              >ERROR rollbackTransaction() (206) - Konnte die Transaktion nicht
              >backrollen.
              >java.lang.IllegalStateException: Transaction does not exist
              >     at
              >weblogic.transaction.internal.TransactionManagerImpl.rollback(Transacti
              o
              >nManagerImpl.java:228)
              >     at
              >weblogic.transaction.internal.TransactionManagerImpl.rollback(Transacti
              o
              >nManagerImpl.java:222)
              >     at
              >de.sitewaerts.futuna.common.test.tpcbean.TPCBean.rollbackTransaction(TP
              C
              >Bean.java:200)
              >     at
              >de.sitewaerts.futuna.common.test.tpcbean.TPCBean.setupTables(TPCBean.ja
              v
              >a:102)
              >     at
              >de.sitewaerts.futuna.common.test.tpcbean.TPCBeanImpl.setupTables(TPCBea
              n
              >Impl.java:130)
              >     at
              >de.sitewaerts.futuna.common.test.tpcbean.TPCBeanEOImpl.setupTables(TPCB
              e
              >anEOImpl.java:64)
              >     at
              >de.sitewaerts.futuna.common.test.TwoPhaseCommitUnitTest.setUp(TwoPhaseC
              o
              >mmitUnitTest.java:51)
              >     at
              >org.apache.commons.cactus.AbstractTestCase.runBareServerTest(AbstractTe
              s
              >tCase.java:297)
              >     at
              >org.apache.commons.cactus.server.ServletTestCaller.callTestMethod(Servl
              e
              >tTestCaller.java:148)
              >     at
              >org.apache.commons.cactus.server.ServletTestCaller.doTest(ServletTestCa
              l
              >ler.java:199)
              >     at
              >org.apache.commons.cactus.server.ServletTestRedirector.doPost(ServletTe
              s
              >tRedirector.java:149)
              >     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
              >     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              >     at
              >weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl
              >java:213)
              >     at
              >weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServ
              l
              >etContext.java:1265)
              >     at
              >weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl
              >java:1631)
              >     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              >     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >
              >
              >CONCLUSION
              >==========
              >I'm going nuts.
              >I just don't get it.
              >The transaction is the same. I don't change the Connection. I start
              >the Transaction at the beginning before I do anything!
              >Please guys help me out.
              >Thx alot.
              >
              >Stefan "it's three o'clock in the morning, my girlfriend left me, and
              >my only friend is that stupid linux pinguine" Siprell
              >Software-Development
              ><<<<<<<<<<<<<<<<<<<<<<<<<<<
              ><sitewaerts> GmbH
              >Hebelstraße 15
              >D-76131 Karlsruhe
              >
              >Tel: +49 (721) 920 918 22
              >Fax: +49 (721) 920 918 29
              >http://www.sitewaerts.de
              >>>>>>>>>>>>>>>>>>>>>>>>>>>>
              >
              >
              >
              

  • Netflix movie resolution phases in and out of high and low.

    When I'm watching a netflix movie even with WiFi the resolution phases in and out of high and low resolution. Does anyone know what is causing this?

    Yes, you download speed is changing. If the download speed is not great enough for HD it reverts to SD.

  • Setting up DAQ system for testing (using pressure transducer, linear position sensor and strain gauges)

    Hello,
    I like to get your suggestion in setting up the DAQ system. I am very beginner in this issue.
    These SCXI listed below are what we have in the laboratory. I will use DAQ card 6062E.
    SCXI 1000
    SCXI 1520
    SCXI 1140
    SCXI 1142
    SCXI 1305 , 1302 , 1300
    SCXI 1122
    SCXI 1100
    I will use linear position sensor in my experiment. But I'm not sure which SCXI shoud I connect to this sensor.
    This sensor gives 4-20mA output. it requires +13 to +28Vdc excitation.
    I will use pressure transducer (strain gauge type) which gives 100mV output and requires 10Vdc supply.
    I will use strain gauges 350 ohm.
    Regarding to the number of channels used in my experiment, I will use 1 channel of pressure transducer, 1 channel of linear position sensor and 3 or 4 strain gauges.
    Could you please suggest me which SCXI should be used with pressure transducer, linear position sensor and strain gauges.
    Now I'm thinking to use SCXI 1520 with strain gauges and pressure transducer. Is that ok?
    But I'm not so sure on the linear position sensor which gives current output.
    And regarding to sampling rate, I like to get minimum of 60-70 KS/s for pressure transducer. And around 1KS/s for linear position sensor and 1KS/s for each channel of strain gauge are enough. Can I archieve these sampling rate from the available SCXI modules mentioned before? I attached the datasheet of pressure transducer and linear position sensor for you. Please see attached files.
    I'm reallly look forward for your suggestion.
    Thank you in advance,
    Ganchai.
    Attachments:
    XPM6_mini. pr. transducer.pdf ‏115 KB
    linear-position-sensor.pdf ‏1683 KB

    Hi Ganchai,
    I would recommend the 1520 with a 1314 terminal block for connecting your pressure transducer and strain gauge. It is designed for excitation, bridge completion and has many other features to fit these applications. For your linear position sensor, try using the 1100 module with an additional precision shunt resistor. For example, our 1308 terminal block has built in 249Ohm shunt resistors for taking current inputs for your 1100. These connections should give you the readings you would like.
    As far as sampling rate goes, you should be fine with your requirements. Good luck and I hope you are succesful.
    PBear
    NI RF

  • BT turning speed down and latency up ??

    BT turning speed down and latency up ??
    Hi All & Happy new year
    Wanted to see if anyone else has seen the same issues as I have.
    Right 4 ISP's in the last 18 mths.
    1. Zen internet - perfect but expensive, 7mb down speed.
    2. Newcall (resold Tiscali ie TalkTalk) awful, ever degrading service, speed, latency and "locking/freezing" where had to reboot router to reinitialise connection to exchange.
    3. Idnet - perfect, 7mb again, issues disappeared the moment I switched.
    4. BT - same as TalkTalk - same old nightmare, and BT are not helping, denying any issues. (speed down to 3mb, latency v. high, rebooting router 3 to 5 times a day).
    In the above sequence nothing changed in terms of hardware or line. Did testing with faceplate off - 3 different routers - all same results.
    Changed to BT to save money, but it's been a bad move.
    I can only conclude that TalkTalk and BT actually restrict access and speed. If a third party can deliver superior service on all BT kit something is seriously off - it does not seem likely to be accidental.
    Any thoughts guys ?
    (Currently trying to get contract canceled as service not fit for purpose, (click and wait 2 mins, or click and nothing happens, reboot router and it's ok again for a little while, but speed way down).
    How do I get out of the contract and get back to a competent ISP ?
    Any thoughts or contacts gratefully received.
    (Apologies if broke any rules - first post).

    Sorry to hear that your  having issues with your BT Retail services.
    You will either be on the ADSLMax (upto 8mbps) service or if your exchange has been BTw 21cn upgraded you maybe on the ADSL2/2+ (upto 12/20mbps) service depending on your line quality and length.
    However these upto speeds may not be the speeds you will get as ADSL broadband connections are very dependent on the distance from your property to the exchange and the quality of your line. The further away you are from your local exchange the slower your broadband speed will be.
    To enable the community to help you please see the advice below:
    Please see Keith's help guide here: Helping forum members to help you, it will go through some checks that are needed for us to help you.
    A summary of the checks are:
    1a) Is your router/Homehub connected by a BT NTE5 master socket, Adsl Filtered Master Socket or Extension Socket?   Please bear in mind that extension cables and extension sockets can reduce the broadband's performance. If you have an Old LJU master socket then please say.
    1b) Have you tried the Test Socket? - if you have one. - Bear in mind that lots of manual distconnections/turning off the router/HomeHub will cause you more issues as the DLM will either reduce your sync rate, increase your noise margin or put you into a banded profile.
    2) Can you please run a BT speed test (including IP Profile) http://speedtest.btwholesale.com (not beta version)[Best done with a wired, Ethernet, connection] After Quick Test is done you need to click "Further Diagnostics" to get IP Profile.
    3) is there any noise on your line. dial 17070 option2 ,called quite line test, from landline phone. should be silent but slight hum normal on cordless phone.
    4) please post adsl line statistics 
    ADSL Line Statistic Help:
     If you have a BT Home Hub like the one below...
     Then:
     1) Go to http://192.168.1.254 or http://bthomehub.home
     2) click Settings
     3) Click Advanced Settings
     4) Click Broadband
     5) Click Connection or sometimes called ADSL (see picture Below)
    The direct Address is http://bthomehub.home/index.cgi?active_page=9116 (for bthomehub3.A firmware ending in 1.3)
    or http://bthomehub.home/index.cgi?active_page=9118 (for bthomehub3.A firmware ending in 94.1.11)
    You will need to copy and past all the adsl line statistics ( Including HEC, CRC and FEC errors). You may need to click " More Details"
     If you have a HomeHub 4 then the majority of the ADSL Stats shown in the previous Hubs will not be there.
    for HH4 users you can go to hub manager then select troubleshooting then logs and are look for 2 entries together which will show theconnection speed and noise margin for when your HH4 last sycned with the exchange.
    There are more useful links on Keith's website here: If you have an ADSL connection, please select this link
    Don't have a BT Homehub/Voyager?
    • http://192.168.0.1 for a netgear router and look for ADSL adsl statistics with information like noise margin and line attenuation, connection speed
    • http://192.168.2.1 for a belkin router and look for ADSL adsl statistics with information like noise margin and line attenuation, Data Rate
    I'm no expert, so please correct me if I'm wrong

  • Abt  Like, Phase-In and Phase-Out profiles

    Hi,
        Can some1 explain me what is<b> Like, Phase-In and Phase-Out profiles</b>?
    What is it's good for?
    Thanks in advance.
    Best Regards,
    Siva.

    Hi Sivaprakash.
    Like modelling (including phase in/phase out) is primarily used for introduction of new products and is normally called Lifecycle Planning:
    Example:
    Suppose you are introducing SKU2 to replace SKU1.
    You want to forecast demand for SKU2 but there is no history for this new product.
    You could use a Like profile to use the history of SKU1 to forecast demand for SKU2.
    You could use a phase-in profile to model the build of demand of SKU2 from zero up the forecast demand (it is very unlikely that demand will go from 0 to 100% of forecast from day one)
    Similarly, you could use a phase out profile for SKU1 to model the fall of demand from 100% forecast to zero.
    All together, the transition of demand from one product (SKU1) to a replacement product (SKU2) can be fully modelled using these profiles.
    This is all quite well documented in <a href="http://help.sap.com/saphelp_scm50/helpdata/en/8f/9d6937089c2556e10000009b38f889/frameset.htm">help.sap.com - lifecycle planning</a>
    Hope this helps.
    Mark
    Message was edited by:
            percx

  • MTU and latency requirements

    I'm trying to find the required MTU and latency for Business One when used remotely via WTS. Please help.

    Hi,
    What you mean by MTU?
    Thanks & Regards,
    Nagarajan

  • Least square linear-phase FIR filter

    I need to geta second order derivative of an array based on 2 stage filtering with a least square linear phase FIR "differentiator " filter. Previously this was done using the matlab routine firls using the "differentiator" tag. Any ideas how this can be done in LabView?
    Thanks in advance.

    I don't believe that LabVIEW has any differentiation functions that use this algorithm. The only derivative function is located in the analyze, signal processing, time domain. You would probably have to build your own.

  • Measuring bandwidth and latency

    I am interested in measuring the bandwidth and latency of the computers on my distributed computing network. I have done some research and found that in other forums people were suggesting "online tests," buying equipment and/or programs to do it for you, cgi/perl script and java programs. I was wondering if anyone knew what the coding would be in order for me to have a java program that would be able to calculate and display the latency and bandwidth of the computer the program is running on. If anyone has any knowledge on the matter please email me at [email protected]
    Message was edited by:
    mattmarino04

    I am interested in measuring the bandwidth and
    latency of the computers on my distributed computing
    network. I have done some research and found that in
    other forums people were suggesting "online tests,"
    buying equipment and/or programs to do it for you,
    cgi/perl script and java programs. I was wondering if
    anyone knew what the coding would be in order for me
    to have a java program that would be able to
    calculate and display the latency and bandwidth of
    the computer the program is running on. If anyone has
    any knowledge on the matter please email me at
    [email protected]
    Message was edited by:
    mattmarino04Guessing by the fact that 1) distributed networks was mentioned and 2) online tests were mentioned I suspect the question refers to network latency and bandwidth capacity, but I could be wrong.

  • P2P UserDescriptor drops and latency always NAN

    During a P2P video call my UserDescriptor drops and latency are always NAN.  This seems like extremely useful information is there a way to get this information, is it not present for some reason in P2P?
    Thank you,
    -Eric

    Not sure but I'm really looking for anyway I can get some QOS data for the P2P link, that way I can adjust my audio and video settings for lower bandwidth links automatically.
    -Eric

  • Cisco Energywise Phase 1 and Phase 2

    Hello,
    In need to understand the difference between Cisco Energywise Phase 1 and Cisco Energywise Phase 2.
    What I am familiar with is Phase 2 allows for power management of PCs and Laptops and Phase 1 includes power management PoE endpoints.  However are there any other fundamental differences in the releases.
    Regards,
    George

    Hi George,
    One of the main parts of Phase 2 is the release of the Cisco EnergyWise Orchestrator
    Check it out;
    http://www.cisco.com/en/US/products/ps10797/index.html
    Cheers!
    Rob

Maybe you are looking for