Built-in Foreign Dictionaries

Hi all,
I have a number of ebooks and pdfs in non-English languages (primarily Spanish, French, and German) that I would like to read on my iPad 3 for my dissertation research. Does anyone know of a good app that has built-in dictionaries for these languages and will let me read pdfs? Ideally, I'd like to be able to tap on a word and have the dictionary function come up. I've tried a few apps, but none seem to work really well with pdfs. Reading and translating pdfs are the main reasons I got the iPad, so I really hope there's a good app for this out there!
Thanks!

Many people have reported this, so I think it is a bug that needs fixing by Apple.  Let them know via
http://www.apple.com/feedback

Similar Messages

  • Need foreign language dictionaries

    In Appleworks there are foreign dictionaries. I cant find these in Pages. Is there a way of using or importing a foreign language dictionary?
    I often have to do some work in Spanish or French and would like to have these dictionaries available.
    Pages vs. 3.01 was installed when I installed Leopard. I purchased my license via email. Is there something missing when you purchase iwork this way - like dictionaries?
    judy

    If you want all new documents to use spell checking of another language, you have to go through the following steps, for each template you intend to use.
    1. Open a new document with the template you want to use.
    2. Open the Styles Drawer (View > Show Styles Drawer).
    3. Select the first style in the list. (This is often "Free Form".)
    4. Change the language in the inspector as described above.
    5. Click on the red triangle to the right of the style name in the Style Drawer, and in the menu that pops up, choose "Redefine Style from Selection".
    6. Repeat steps 3-5 for every Paragraph Style in the Style Drawer.
    7. Go to File > Save as Template, and choose a good name of the template.
    8. If you have only one template you always want to use, you can choose it in Pages > Preferences > General > For New Documents, where you select "Use template:..." and then click on Choose... and choose the template.
    Note that you can have several styles in the same document for different languages. You can for example have one style called "French body" and another called "Italian body". You can even associate shortcuts to the styles, in the Styles drawer, so you quickly can change between one language and another.

  • Additional dictionaries in Mac OS X - Is it possible?

    Hello,
    As a multilingual person, I often find myself reading articles in German and French. But, since none of these is my native language, every once in a while I come across a word that I do not understand. Of course, an on-line dictionary is always available, but I would like to make use of Apple's dictionary application - especially since it's so easy to press commandcontrold and hover with the mouse over the unknown word.
    Is there a way to add foreign dictionaries to Dictionary.app? I am especially interested in a German-to-German dictionary and a French-to-French (I mean, a dictionary that gives the definition of the word in the same language, not the kind that translate the word from one language into English).
    Thanks,
    Loerincz

    Loerincz wrote:
    Is there a way to add foreign dictionaries to Dictionary.app?
    Certainly. There aren't too many of them because people who have a good dictionary don't want to provide it in Apple Dictionary form where it could be easily copied. Apple has licensed the ones they include with the OS, but only for English and Japanese.
    I am especially interested in a German-to-German dictionary and a French-to-French (I mean, a dictionary that gives the definition of the word in the same language, not the kind that translate the word from one language into English).
    I wrote one for French. It is free. Here is the link: http://www.etresoft.com/etreref.html
    It uses the 1935 Dictionnaire de l'Académie Française. It's not the most up-to-date, but it's all I have.
    I don't have a German dictionary. There is a copy of the Wahrig digital dictionary floating around the internet but it is in stardict format and the copyright is questionable. It appears that the copyright holders themselves made it, but that doesn't give me the right to convert it and provide it on my web site. If you know of a German dictionary database that is not under copyright, I would love to have it. My German isn't good enough to do the research to look for it myself.

  • OBIEE: Incorrectly defined logical table source doesn't contain mapping

    In OBIEE 10.1.3.2 I have a very simple thing but cannot get it to work. Hopefully someone can point out the mistake. I have the same schema on two different database that I want to compare data.
    The schema is simple. Table (dimension) A has two columns: id and name. Table (Fact) B has two columns: id and value. Table B.id is a foreign key to A. I imported two database schema into the physical layer and for each database, I built the foreign key relationship between table A and B. In the logical layer, I have two logic tables, one to represent A (Dimension) and the other B (Fact) with a logical join. Each logical table has two data sources. For the dimension tables, both id and name columns have two sources. For the fact table, the id has two sources and for the value, I created two separate columns, one called value1 and the other value2 with one from one database's B table's value column and the other from another database's B table's value. They then were made available at presentation layer.
    Now in the Anwser, I can build a query with id from dimension and value1 from fact; it displayed fine. Same with a query with id from dimension and value2 from fact, it displayed fine. However, if the query is id, value1 and value2, I got the following error
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 15018] Incorrectly defined logical table source (for fact table B) does not contain mapping for [B.value1 [ ] , B.value2 [ ] ]. (HY000)
    Is there something I have to do additional to make both values appearing the same time.?
    Thanks for your help
    Ralph

    Hi, Siddhartha P
    I don't think I understand your information. I couldn't find connection pool at the business mapping layer. I only see it in the physical layer. Do you mean to do the mapping at the logical source table? That's only places I see any mappings and I don't see complex join there (only inner join, left outer, right outer and full outer) What mappings should I need to create between table B (fact table) of database 1 and table B (fact table) of database 2. I thought they don't have any relationship other than join through a dimension table which has columns that map to both table A (dimension table) of database 1 and 2. Then the logical fact table has 3 columns, one is id (to join to Dimension table) with two mappings (one to table B of database 1 and one to table B of database 2) and one column value1 which maps only to table B's value of database 1 and another column value2 maps to table B's value of database 2. That seems to be done correctly because I can pick column id and value1 or column id and value2 and have them displayed correctly but not all 3. I thought if it can display the two separately correctly, they should be able to display all 3. no?
    I am not getting any inconsistency error.
    There must be something I still don't understand. If you don't mind give me a little more direction, that would be great.
    Thanks
    Ralph

  • How to access built in dictionaries

    My MacBook Pro running OS 10.8.5 has eleven built-in dictionaries and thesauruses in the Library.
    MacBook HD > Library > Dictionary > Apple Dictionary.dictionary
    MacBook HD > Library > Dictionary > Diccionario General de la Lengua Española Vox.dictionary
    MacBook HD > Library > Dictionary > Duden Dictionary Data Set I.dictionary
    MacBook HD > Library > Dictionary > Multidictionnaire de la langue française.dictionary
    MacBook HD > Library > Dictionary > New Oxford American Dictionary.dictionary
    MacBook HD > Library > Dictionary > Oxford American Writer's Thesaurus.dictionary
    MacBook HD > Library > Dictionary > Oxford Dictionary of English.dictionary
    MacBook HD > Library > Dictionary > Oxford Thesaurus of English.dictionary
    MacBook HD > Library > Dictionary > Sanseido Super Daijirin.dictionary
    MacBook HD > Library > Dictionary > Sanseido The WISDOM English-Japanese Japanese-English Dictionary.dictionary
    MacBook HD > Library > Dictionary > The Standard Dictionary of Contemporary Chinese.dictionary
    I can find no app on my Mac for accessing or activating any of these dictionaries, not even as Services. I especially wish to open the New Oxford American Dictionary. Instead, I have been using the WordBook app, which suffices, but I would like to know how to access or open all these built-in dictionaries, too.
    If you know what to do, please let me know. Thanks!

    judahman wrote:
    I can find no app on my Mac for accessing or activating any of these dictionaries
    Unless your install is botched and it has somehow gone missing, you should find Dictionary.app in Finder > Go > Applications, and you select which dictionaries to activate in its Preferences.  The standard way to look up word is by Control clicking on a word and selecting Look Up xxxxx.
    Let us know if this does not work for you. 

  • Some built-in dictionaries not working after upgrading to iOS 8

    I've have just upgraded to iOS 8 on my iPad. After upgrading, I discovered that some of the built-in dictionaries that I have been using previously are not working. These are:
    German
    Japanese-English
    Simplified Chinese
    Simplified Chinese-English
    In the dialog window that appeared when I tapped on the "Manage" button, the icons besides these dictionaries show a "circle" instead of the "cloud (with download arrow". There was no response when I tapped on each of the circle icon.
    Would greatly any kind advice.
    Thank you.

    I Too have an iPad mini, dictionary works for me, using wifi.  However, it uses an American dictionary, which is frustrating...I'm in Australia and many words have different meanings in differnt countries gggrrrrrr

  • Is it possible to load more dictionaries to ibooks? French, german ando so on? I have books in severl languages and it would be easire to use a built in dictionary like the one it already has.

    is it possible to load more dictionaries to ibooks? French, german and so on? I have books in severl languages and it would be easirer to use a built in dictionary like the one it already has.

    At the moment no - http://support.apple.com/kb/HT4059 says :
    iBooks allows you to look up the definition of words using a built-in English or Japanese language dictionary
    So it looks like just the two languages are currently supported

  • Built-in Dictionaries Lost in iOS 7

    After I updated my iPad to iOS 7, one thing that has constantly annoyed me so much is that I can't save all the built-in dictionaries to my iPad.
    I managed to retrieve two EN-EN dictionaries but, as for Chinese-English and English-Chinese dictionaries, I have to redownload them every time I open up an app. Moreover, if the iPad is left to lie idle for, say, 3 minutes at least, the built-in dictionaries I downloaded when opening up the app will definitely disappear!
    I would really appreciate it if someone can crack this mystery for me.
    Thanks in advance.

    Many people have reported this, so I think it is a bug that needs fixing by Apple.  Let them know via
    http://www.apple.com/feedback

  • Why my PRS-T2 only has 6 dictionaries built-in? How can I get the Italian dictionary?

    Why my PRS-T2 only has 6 dictionaries built-in? How can I get the Italian dictionary?
    Solved!
    Go to Solution.

    Thank you for the answer! But I really want to know why the same model of product has two different versionsne with 6, the other with 12 dictionaries built-in?

  • The built in dictionaries I had downloaded before won't load after the ios8 update.

    When I had tried to define a word through the built in dictionaries on my iPad, nothing appeared as a definition. I went to the manage option to see if I needed to download the dictionaries again, but the dictionaries that I've already installed had these circles on the right that refused to fill up... i.e. They wouldn't load. I've tried downloading the other dictionaries I hadn't downloaded before to see if it was the overall downloading proble but nope, those download hella fine so... Help??????

    They'll be more updates. Try the rese belowt and if that doesn't work be sure to leave feedback to Apple.
    Press and hold both the home and power buttons 10-15 seconds till the Apple logo appears. Release both buttons. Wait 15-20 seconds till your iPad starts on it's own.
    http://www.apple.com/feedback/

  • Restore foreign language dictionaries AppleSpell /Mail

    seems that th monolingual utility cleaned out the dictionaries used Mail and others
    found in (could be my fault in selecting the languages to be removed).
    In /System/Library/Services/AppleSpell.service/Contents/Resources/
    I found only English.lproj (with obviouly only the english dictionary)
    I just copied the missing files (here for Italian) from a clean installation that I did on an external disk.
    e.g. copy
    /Volumes/myexternalDisk/System/Library/Services/AppleSpell.service/Contents/Reso urces/Italian.lproj
    to
    /System/Library/Services/AppleSpell.service/Contents/Resources/Italian.lproj
    reboot made then my spelling checker work again (for Italian)
    I am just wondering if there is an easier way to do this especially if you don't have a "spare" installation?
    Message was edited by: manfred kohl

    You can do a custom install of some features from the installer disk rather than a full install. You can also use the Pacifist utility to open up the installer disk and select individual items, kind of like you did with the spare install but without having to go that far.
    [Custom installs in Mac OS X 10.4|http://support.apple.com/kb/HT1442]

  • Spa504g continuously reboot using foreign language dictionaries

    Hi,
    Using a tftp server to provision these phones I insterted into the configuration  :
       <!-- Language Dictionaries -->
       <Dictionary_Server_Script ua="na">
       serv=tftp://172.20.20.1/;
       d0=English-US;x0=spa50x/spa50x_30x_en_v755.xml;
       d1=French;x1=spa50x/spa50x_30x_fr_v755.xml;
       d2=Italian;x2=spa50x/spa50x_30x_it_v755.xml;
       d3=German;x3=spa50x/spa50x_30x_de_v755.xml;
       d4=Spanish;x4=spa50x/spa50x_30x_es_v755.xml
       </Dictionary_Server_Script>
       <!-- Language par default -->
       <Language_Selection ua="rw">French</Language_Selection>
    Whithout this configuration all is going well, with these dictionaries, after configuration the phone reboot systematically like in a loop.
    I configured a debug level of 3 and this is what I got :
    Apr 23 17:11:53 172.20.20.235   gateway ip:     172.20.20.1
    Apr 23 17:11:53 172.20.20.235 IDBG: LS, 270-4d8
    Apr 23 17:11:53 172.20.20.235 IDBG: SOK
    Apr 23 17:11:53 172.20.20.235 IDBG: st-0
    Apr 23 17:11:53 172.20.20.235 Resolving 172.20.20.1
    Apr 23 17:11:53 172.20.20.235 [BKpic]Read downloaded background picture size:830
    Apr 23 17:11:53 172.20.20.235 [BKpic]Loading downloaded background picture
    Apr 23 17:11:53 172.20.20.235 skt e 2 -1
    Apr 23 17:11:53 172.20.20.235 PGSK: chkcfwd in Idle key list is not defined
    Apr 23 17:11:53 172.20.20.235 PGSK: chkcfwd in Idle key list is not defined
    Apr 23 17:11:53 172.20.20.235 PGSK: chkdnd in Idle key list is not defined
    Apr 23 17:11:53 172.20.20.235 PGSK: chkdnd in Idle key list is not defined
    Apr 23 17:11:53 172.20.20.235 PGSK: chkcfwd in Progressing key list is not defined
    Apr 23 17:11:53 172.20.20.235 PGSK: chkcfwd in Progressing key list is not defined
    Apr 23 17:11:53 172.20.20.235 PGSK: chkdnd in Progressing key list is not defined
    Apr 23 17:11:53 172.20.20.235 PGSK: chkdnd in Progressing key list is not defined
    Apr 23 17:11:53 172.20.20.235 PGSK: chkcfwd in Releasing key list is not defined
    Apr 23 17:11:53 172.20.20.235 PGSK: chkcfwd in Releasing key list is not defined
    Apr 23 17:11:53 172.20.20.235 PGSK: chkdnd in Releasing key list is not defined
    Apr 23 17:11:53 172.20.20.235 PGSK: chkdnd in Releasing key list is not defined
    Apr 23 17:11:53 172.20.20.235 PGSK: chkcfwd in Hold key list is not defined
    Apr 23 17:11:53 172.20.20.235 PGSK: chkcfwd in Hold key list is not defined
    Apr 23 17:11:53 172.20.20.235 PGSK: chkdnd in Hold key list is not defined
    Apr 23 17:11:53 172.20.20.235 PGSK: chkdnd in Hold key list is not defined
    Apr 23 17:11:53 172.20.20.235 PGSK: chkcfwd in Shared Active key list is not defined
    Apr 23 17:11:54 172.20.20.235 PGSK: chkcfwd in Shared Active key list is not defined
    Apr 23 17:11:54 172.20.20.235 PGSK: chkdnd in Shared Active key list is not defined
    Apr 23 17:11:54 172.20.20.235 PGSK: chkdnd in Shared Active key list is not defined
    Apr 23 17:11:54 172.20.20.235 PGSK: chkcfwd in Shared Held key list is not defined
    Apr 23 17:11:54 172.20.20.235 PGSK: chkcfwd in Shared Held key list is not defined
    Apr 23 17:11:54 172.20.20.235 PGSK: chkdnd in Shared Held key list is not defined
    Apr 23 17:11:54 172.20.20.235 PGSK: chkdnd in Shared Held key list is not defined
    Apr 23 17:11:54 172.20.20.235 [0]Reg Addr Change(0) 0:0->ac141401:5060
    Apr 23 17:11:54 172.20.20.235 [0]Reg Addr Change(0) 0:0->ac141401:5060
    Apr 23 17:11:54 172.20.20.235 [0]RegOK. NextReg in 3599 (1)
    Apr 23 17:11:54 172.20.20.235 SIDECAR 0 : change state to
    Apr 23 17:11:54 172.20.20.235 CONNECTED!!
    Apr 23 17:11:54 172.20.20.235 Dict_N> DICT_loadFromFlash eng dictionary ok, paylen = 52846
    Apr 23 17:11:54 172.20.20.235 [BKpic]Download picture from tftp://172.20.20.1/spa50x/PhoneLogo50x.bmp
    Apr 23 17:11:54 172.20.20.235 content len =830
    Apr 23 17:11:54 172.20.20.235 content len =830
    Apr 23 17:11:54 172.20.20.235 [BKpic]Same URL, not load
    Apr 23 17:11:54 172.20.20.235 [BKpic]Loading downloaded background picture
    Apr 23 17:11:54 172.20.20.235 Dict_N> DICT_loadFromFlash non-eng dictionary ok, paylen = 61230
    Apr 23 17:11:54 172.20.20.235 Dict_D> Go into DICT_tftpMain...0
    Apr 23 17:11:54 172.20.20.235 Dict_D> After update status filter, the storeBuf is  "serv=tftp://172.20.20.1/;d0=English-US;x0=spa50x/spa50x_30x_en_v755.xml;d1=French;x1=spa50x/spa50x_30x_fr_v755.xml;d2=Italian;x2=spa50x/spa50x_30x_it_v755.xml;d3=German;x3=spa50x/spa50x_30x_de_v755.xml;d4=Spanish;x4=spa50x/spa50x_30x_es_v755.xml"
    Apr 23 17:11:54 172.20.20.235 Dict_D> Start DICT_tftpMain process, status is 0
    Apr 23 17:11:54 172.20.20.235 Dict_N> Same url script with copy script; do not update all
    Apr 23 17:11:54 172.20.20.235 <<<signal:10 received from thread DICT_TFTP
    Apr 23 17:11:54 172.20.20.235 <<<signal:10 received from thread DICT_TFTP
    Apr 23 17:11:54 172.20.20.235 request reboot type=4 reason=System 4(8000)
    Apr 23 17:11:54 172.20.20.235 request reboot type=4 reason=System 4(8000)
    Apr 23 17:11:54 172.20.20.235 first_rule is .
    Apr 23 17:11:54 172.20.20.235 first type is 0.
    Apr 23 17:11:54 172.20.20.235 [0]UnRegOK
    Apr 23 17:11:54 172.20.20.235 fu:0:0bbc4, 4.71 1
    Apr 23 17:11:57 172.20.20.235 fs:045551:045674:262144
    Apr 23 17:11:57 172.20.20.235 fls:faffuuffff:72:288:115168
    Apr 23 17:11:57 172.20.20.235 fbr:0:3000:3000:0bb31:0062:0061:7.5.5
    Apr 23 17:11:57 172.20.20.235 fhs:01:1:001f:upg:app:0:7.5.4
    Apr 23 17:11:57 172.20.20.235 fhs:02:1:0020:upg:app:0:7.5.4
    Apr 23 17:11:57 172.20.20.235 fhs:03:1:0021:upg:app:0:7.5.4
    Apr 23 17:11:57 172.20.20.235 fhs:04:1:0022:upg:app:1:7.5.4
    Apr 23 17:11:57 172.20.20.235 fhs:05:1:0023:upg:app:2:7.5.4
    Apr 23 17:11:57 172.20.20.235 fhs:06:1:0024:upg:app:0:7.5.5
    Apr 23 17:11:57 172.20.20.235 fhs:07:1:0025:upg:app:1:7.5.5
    Apr 23 17:11:57 172.20.20.235 fhs:08:1:0026:upg:app:2:7.5.5
    Apr 23 17:11:57 172.20.20.235 fhs:09:1:0027:upg:app:0:7.5.4
    Apr 23 17:11:57 172.20.20.235 fhs:0a:1:0028:upg:app:0:7.5.4
    Apr 23 17:11:57 172.20.20.235 fhs:0b:1:0029:upg:app:0:7.5.4
    Apr 23 17:11:57 172.20.20.235 fhs:0c:1:002a:upg:app:0:7.5.4
    Apr 23 17:11:57 172.20.20.235 fhs:0d:1:002b:upg:app:1:7.5.4
    Apr 23 17:11:57 172.20.20.235 fhs:0e:1:002c:upg:app:2:7.5.4
    Apr 23 17:11:57 172.20.20.235 fhs:0f:1:002d:upg:app:0:7.5.5
    Apr 23 17:11:57 172.20.20.235 fhs:10:1:002e:upg:app:1:7.5.5
    Apr 23 17:11:57 172.20.20.235 fhs:11:1:002f:upg:app:2:7.5.5
    Apr 23 17:11:57 172.20.20.235 dhcp opt 66: "172.20.20.1"
    Apr 23 17:11:57 172.20.20.235 dhcp opt 160: ""
    Apr 23 17:11:57 172.20.20.235 dhcp opt 159: ""
    Apr 23 17:11:57 172.20.20.235 dhcp opt 150: ""
    Apr 23 17:11:57 172.20.20.235 dhcp opt 60: ""
    Apr 23 17:11:57 172.20.20.235 dhcp opt 43: ""
    Apr 23 17:11:57 172.20.20.235 dhcp opt 125: ""
    Apr 23 17:11:57 172.20.20.235 fu:0:0bca8, 5.1.1 5.1.12 5.1.14 5.1.19 6.8 7.13 1

    It seems to be buggy. But just syslog&debug is not sufficient for analysis. We are using HTTP for dictionaries all the times, but despite I changed it to TFTP, it worked for me. So "it's caused by TFTP" is not sufficient explanation.
    Can you catch the packets between your phone and 172.20.20.1 during the failing attempt and attach the saved dump here ?

  • How can I change or add more dictionaries to Apples built-in dictionary?

    Hi,
    I have recently up-dated to Mavericks and I just realized that my dictionary has changed from English to Spanish. I am in Spain but previous to updating tho OS i had and used the dictionary in English. Unfortunately I don't seem to have this as an option no more. Is there any way I can get that back?
    Thank you guys in advance for any possible help you may give me.

    Hey el_loco,
    I found the following info from another discussion:
    Did you go to Dictionary.app/Preferences and check the box for the English dictionary and uncheck the box for the Spanish one?
    via: https://discussions.apple.com/thread/4176243
    So I'd suggest going to the Dictionary app, its Preferences, and see if you can change the option there.
    Welcome to Apple Support Communities!
    Have a good one,
    Delgadoh

  • Foreign JMS and XA

    Hi everybody,
              Is anybody successfully using remote IBM MQseries 5.3 server as
              Foreign JMS in WLS 8.1sp2?
              We're observing some strange behavior in this case. Here is our setup:
              WLS and IBM MQ server deployed on separate boxes.
              WLS version 8.1sp2 running on Windows 2000/Intel
              IBM MQ version 5.3 running on Solaris/SPARC
              We're using "WebSphere MQ classes for Java, version 5.303 - j5303-L030225"
              and "WebSphere MQ Extended Transactional Client Feature, version 5.300 -
              j5303-L030122"
              MQ files added in WLS POST_CLASSPATH variable in WLS starup script.
              Foreign JMS server configured in WLS via fscontext JNDI.
              MDB bean deployed with Transaction attribute "Required".
              Everything seems to work fine, if we're posting message to MQ queue MDB
              receives it and process successfully (just print message content to the
              console for now).
              Problem: In WLS console, under Server->Monitoring->JTA->Monitor inflight
              transactions we can constantly see one transaction enlisted for our MDB
              bean with following details:
              =====================================================
              Transaction ID: BEA1-00DFC5EB4B7B7F28EDB9
              Coordinator: mydomain+myserver
              Name: JMSMessagePoller.xxx.xxx.MyMessageProcessorMdb
              Status: Active
              Seconds Active: 17
              Resources:
              weblogic.ejb20.JMSConnectionPoller.xxx.xxx.MyMessageProcessorMdb=started
              Properties
              (key=value):
              weblogic.transaction.name=JMSMessagePoller.xxx.xxx.MyMessageProcessorMdb
              =====================================================
              This transaction seems to be Active for 30 seconds and then rolled back
              (no error messages on WLS console displayed).On JTA statistics page in
              WLS console "Total Rolled Back" counter keeps increneting with every
              rollback.
              Does anybody observerd similar problem? May be it's normal behaviour but
              I'm kind of worrying about those transactions and constant rollback. I'd
              appreciate any feedback.
              Sincerely,
              Dmitri Maximovich
              

    Hi Dmitri,
              The shutdown "suspend" failure has nothing to do with transactions
              or JMS. It looks like the failure is due to a
              java.util.ConcurrentModificationException during undeployment
              which indicates a bug in WL - something is not getting
              synchronized that should be.
              As for MQ, their new extended client supports remote XA, which I think
              is the reason for the product in the first place. Even so, I
              still recommend testing to make sure that its messages
              participate in transactions. (Actually, I recommend such testing
              for any transactional app, including those built on WL JMS.)
              Tom
              Dmitri Maximovich wrote:
              > Hi Tom,
              >
              > Thanks for info, that's a relief. Unfortunately there is no hints in WLS
              > documentation that it's normal, that's why we were worried about it.
              >
              > Now there is one more issue, which I believe is related. You see with
              > those 'in-flight' transactions graceful shutdown of WLS doesn't quite
              > work. There is suspicious exception thrown and after that WLS is still
              > running in some state but console is not available anymore. Please see
              > console messages attached (sorry for long post). at the time of shutdown
              > there is no messages in the queue(s) so as far as I can tell those
              > 'pending transactions' mentioned is those from foreign JMS wrappers.
              >
              > I'd appreciate any comments on that. We have case opened with BEA about
              > this but so far they cannot reproduce it in their lab. That's why I
              > start wondering if we're doing something wrong here, like using remote
              > MQ server for example, may be you not supposed to (I remember there was
              > an issue before with IBM MQ that XA support required binding mode, I was
              > kind of hope that it's not the case anymore)?
              >
              > <Mar 3, 2004 1:47:56 PM EST> <Notice> <WebLogicServer> <BEA-000365>
              > <Server state changed to SUSPENDING>
              > <Mar 3, 2004 1:47:56 PM EST> <Info> <Deployer> <BEA-149236> <Preparing
              > to suspend.>
              > <Mar 3, 2004 1:47:56 PM EST> <Info> <Deployer> <BEA-149237> <Ready to
              > suspend.>
              > <Mar 3, 2004 1:47:56 PM EST> <Info> <WebService> <BEA-220028> <Web
              > Service reliable agents are suspended.>
              > <Mar 3, 2004 1:47:56 PM EST> <Notice> <JTA> <BEA-110476> <The server has
              > detected pending transactions during graceful shutdown. The server will
              > wait for the pending transactions to complete before suspending the RMI
              > service. A force shutdown command can be issued to shutdown the server
              > immediately.>
              > <Mar 3, 2004 1:48:26 PM EST> <Info> <Management> <BEA-141080> <A request
              > has been received to force shut down of the server.>
              > <Mar 3, 2004 1:48:26 PM EST> <Alert> <WebLogicServer> <BEA-000228> <The
              > disabling of server logins has been requested by <WLS Kernel>>
              > <Mar 3, 2004 1:48:26 PM EST> <Alert> <WebLogicServer> <BEA-000229>
              > <Server logins have been disabled.>
              > <Mar 3, 2004 1:48:26 PM EST> <Info> <WebService> <BEA-220028> <Web
              > Service reliable agents are suspended.>
              > <Mar 3, 2004 1:48:26 PM EST> <Info> <EJB> <BEA-010084> <The
              > message-driven beans are being suspended. This may take a minute or two.>
              > <Mar 3, 2004 1:48:32 PM EST> <Info> <EJB> <BEA-010085> <The
              > message-driven beans have all been suspended.>
              > <Mar 3, 2004 1:48:32 PM EST> <Info> <EJB> <BEA-010084> <The
              > message-driven beans are being suspended. This may take a minute or two.>
              > <Mar 3, 2004 1:48:32 PM EST> <Info> <EJB> <BEA-010085> <The
              > message-driven beans have all been suspended.>
              > [MessageDrivenBeanPoolInfoImpl] : Couldn't unregister MBean
              > javax.management.InstanceNotFoundException:
              > mydomain:ApplicationRuntime=myserver_otis-dasl-ejb,EJBComponentRuntime=myserver_otis-dasl-ejb_otis-dasl-ejb.jar,Location=myserver,Name=myserver_otis-dasl-ejb_otis-dasl-ejb.jar_com.cibcwm.go.otis.dasl.submission.DASLSubmissionMdb_wls.mqs.dasl.dev.adp.reply3,ServerRuntime=myserver,Type=EJBTransactionRuntime
              >
              > at
              > com.sun.management.jmx.MBeanServerImpl.getMBean(MBeanServerImpl.java:1680)
              > at
              > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1524)
              > at
              > weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:947)
              >
              > at
              > weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:908)
              >
              > at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
              > at
              > weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
              >
              > at
              > weblogic.management.runtime.EJBTransactionRuntimeMBean_Stub.preDeregister(EJBTransactionRuntimeMBean_Stub.java:433)
              >
              > at
              > weblogic.management.internal.MBeanHomeImpl.internalDeleteMBean(MBeanHomeImpl.java:996)
              >
              > at
              > weblogic.management.internal.MBeanHomeImpl.privateDeleteMBean(MBeanHomeImpl.java:982)
              >
              > at
              > weblogic.management.internal.MBeanHomeImpl.access$000(MBeanHomeImpl.java:74)
              >
              > at
              > weblogic.management.internal.MBeanHomeImpl$2.run(MBeanHomeImpl.java:948)
              > at
              > weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
              >
              > at
              > weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
              > at
              > weblogic.management.internal.MBeanHomeImpl.deleteMBeanWithKernelID(MBeanHomeImpl.java:944)
              >
              > at
              > weblogic.management.internal.MBeanHomeImpl.deleteMBean(MBeanHomeImpl.java:939)
              >
              > at
              > weblogic.management.internal.MBeanHomeImpl.deleteMBean(MBeanHomeImpl.java:933)
              >
              > at
              > weblogic.management.runtime.RuntimeMBeanDelegate.unregister(RuntimeMBeanDelegate.java:140)
              >
              > at
              > weblogic.ejb20.monitoring.EJBRuntimeMBeanImpl.unregisterDependents(EJBRuntimeMBeanImpl.java:58)
              >
              > at
              > weblogic.ejb20.monitoring.MessageDrivenEJBRuntimeMBeanImpl.unregisterDependents(MessageDrivenEJBRuntimeMBeanImpl.java:50)
              >
              > at
              > weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.unInitPool(MessageDrivenBeanPoolInfoImpl.java:208)
              >
              > at
              > weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.onUndeploy(MessageDrivenBeanPoolInfoImpl.java:121)
              >
              > at
              > weblogic.ejb20.deployer.MessageDrivenBeanInfoImpl.onUndeploy(MessageDrivenBeanInfoImpl.java:628)
              >
              > at weblogic.ejb20.internal.BaseEJBHome.undeploy(BaseEJBHome.java:203)
              > at
              > weblogic.ejb20.internal.MessageDrivenEJBHome.undeploy(MessageDrivenEJBHome.java:260)
              >
              > at
              > weblogic.ejb20.deployer.EJBDeployer.deactivate(EJBDeployer.java:1802)
              > at weblogic.ejb20.deployer.EJBModule.doDeactivate(EJBModule.java:865)
              > at weblogic.ejb20.deployer.EJBModule.deactivate(EJBModule.java:712)
              > at
              > weblogic.j2ee.J2EEApplicationContainer.deactivateModule(J2EEApplicationContainer.java:3161)
              >
              > at
              > weblogic.j2ee.J2EEApplicationContainer.deactivate(J2EEApplicationContainer.java:2186)
              >
              > at
              > weblogic.j2ee.J2EEApplicationContainer.deactivate(J2EEApplicationContainer.java:2131)
              >
              > at
              > weblogic.j2ee.J2EEApplicationContainer.stop(J2EEApplicationContainer.java:1915)
              >
              > at
              > weblogic.j2ee.J2EEApplicationContainerFactory.removeDeployedApplications(J2EEApplicationContainerFactory.java:761)
              >
              > at
              > weblogic.j2ee.J2EEApplicationService.shutdown(J2EEApplicationService.java:115)
              >
              > at
              > weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.shutdownHelper(DeploymentManagerServerLifeCycleImpl.java:257)
              >
              > at
              > weblogic.application.ApplicationService.prepareToSuspend(ApplicationService.java:46)
              >
              > at
              > weblogic.t3.srvr.SubsystemManager.prepareToSuspend(SubsystemManager.java:168)
              >
              > at weblogic.t3.srvr.T3Srvr.prepareToSuspend(T3Srvr.java:1085)
              > at
              > weblogic.t3.srvr.ServerLifeCycleWorkerThread.prepareToSuspend(ServerLifeCycleWorkerThread.java:51)
              >
              > at
              > weblogic.t3.srvr.ServerLifeCycleWorkerThread$1.run(ServerLifeCycleWorkerThread.java:35)
              >
              > at
              > weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
              >
              > at
              > weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
              > at
              > weblogic.t3.srvr.ServerLifeCycleWorkerThread.run(ServerLifeCycleWorkerThread.java:32)
              >
              > --------------- nested within: ------------------
              > weblogic.management.ManagementException: An error has occurred during
              > preDeregister().
              > nullmydomain:ApplicationRuntime=myserver_otis-dasl-ejb,EJBComponentRuntime=myserver_otis-dasl-ejb_otis-dasl-ejb.jar,Location=myserver,Name=myserver_otis-dasl-ejb_otis-dasl-ejb.jar_com.cibcwm.go.otis.dasl.submission.DASLSubmissionMdb_wls.mqs.dasl.dev.adp.reply3,ServerRuntime=myserver,Type=EJBTransactionRuntime
              > - with nested exception:
              > [javax.management.InstanceNotFoundException:
              > mydomain:ApplicationRuntime=myserver_otis-dasl-ejb,EJBComponentRuntime=myserver_otis-dasl-ejb_otis-dasl-ejb.jar,Location=myserver,Name=myserver_otis-dasl-ejb_otis-dasl-ejb.jar_com.cibcwm.go.otis.dasl.submission.DASLSubmissionMdb_wls.mqs.dasl.dev.adp.reply3,ServerRuntime=myserver,Type=EJBTransactionRuntime]
              >
              > at
              > weblogic.management.runtime.RuntimeMBeanDelegate.unregister(RuntimeMBeanDelegate.java:148)
              >
              > at
              > weblogic.ejb20.monitoring.EJBRuntimeMBeanImpl.unregisterDependents(EJBRuntimeMBeanImpl.java:58)
              >
              > at
              > weblogic.ejb20.monitoring.MessageDrivenEJBRuntimeMBeanImpl.unregisterDependents(MessageDrivenEJBRuntimeMBeanImpl.java:50)
              >
              > at
              > weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.unInitPool(MessageDrivenBeanPoolInfoImpl.java:208)
              >
              > at
              > weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.onUndeploy(MessageDrivenBeanPoolInfoImpl.java:121)
              >
              > at
              > weblogic.ejb20.deployer.MessageDrivenBeanInfoImpl.onUndeploy(MessageDrivenBeanInfoImpl.java:628)
              >
              > at weblogic.ejb20.internal.BaseEJBHome.undeploy(BaseEJBHome.java:203)
              > at
              > weblogic.ejb20.internal.MessageDrivenEJBHome.undeploy(MessageDrivenEJBHome.java:260)
              >
              > at
              > weblogic.ejb20.deployer.EJBDeployer.deactivate(EJBDeployer.java:1802)
              > at weblogic.ejb20.deployer.EJBModule.doDeactivate(EJBModule.java:865)
              > at weblogic.ejb20.deployer.EJBModule.deactivate(EJBModule.java:712)
              > at
              > weblogic.j2ee.J2EEApplicationContainer.deactivateModule(J2EEApplicationContainer.java:3161)
              >
              > at
              > weblogic.j2ee.J2EEApplicationContainer.deactivate(J2EEApplicationContainer.java:2186)
              >
              > at
              > weblogic.j2ee.J2EEApplicationContainer.deactivate(J2EEApplicationContainer.java:2131)
              >
              > at
              > weblogic.j2ee.J2EEApplicationContainer.stop(J2EEApplicationContainer.java:1915)
              >
              > at
              > weblogic.j2ee.J2EEApplicationContainerFactory.removeDeployedApplications(J2EEApplicationContainerFactory.java:761)
              >
              > at
              > weblogic.j2ee.J2EEApplicationService.shutdown(J2EEApplicationService.java:115)
              >
              > at
              > weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.shutdownHelper(DeploymentManagerServerLifeCycleImpl.java:257)
              >
              > at
              > weblogic.application.ApplicationService.prepareToSuspend(ApplicationService.java:46)
              >
              > at
              > weblogic.t3.srvr.SubsystemManager.prepareToSuspend(SubsystemManager.java:168)
              >
              > at weblogic.t3.srvr.T3Srvr.prepareToSuspend(T3Srvr.java:1085)
              > at
              > weblogic.t3.srvr.ServerLifeCycleWorkerThread.prepareToSuspend(ServerLifeCycleWorkerThread.java:51)
              >
              > at
              > weblogic.t3.srvr.ServerLifeCycleWorkerThread$1.run(ServerLifeCycleWorkerThread.java:35)
              >
              > at
              > weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
              >
              > at
              > weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
              > at
              > weblogic.t3.srvr.ServerLifeCycleWorkerThread.run(ServerLifeCycleWorkerThread.java:32)
              >
              > <Mar 3, 2004 1:48:33 PM EST> <Info> <Management> <BEA-141082>
              > <ServerRuntime:java.util.ConcurrentModificationException>
              > <Mar 3, 2004 1:48:33 PM EST> <Info> <Management> <BEA-141082>
              > <ServerRuntime:java.util.ConcurrentModificationException
              > at
              > java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:552)
              > at java.util.LinkedList$ListItr.next(LinkedList.java:488)
              > at
              > weblogic.ejb20.deployer.EJBDeployer.deactivate(EJBDeployer.java:1801)
              > at weblogic.ejb20.deployer.EJBModule.doDeactivate(EJBModule.java:865)
              > at weblogic.ejb20.deployer.EJBModule.deactivate(EJBModule.java:712)
              > at
              > weblogic.j2ee.J2EEApplicationContainer.deactivateModule(J2EEApplicationContainer.java:3161)
              >
              > at
              > weblogic.j2ee.J2EEApplicationContainer.deactivate(J2EEApplicationContainer.java:2186)
              >
              > at
              > weblogic.j2ee.J2EEApplicationContainer.deactivate(J2EEApplicationContainer.java:2131)
              >
              > at
              > weblogic.j2ee.J2EEApplicationContainer.stop(J2EEApplicationContainer.java:1915)
              >
              > at
              > weblogic.j2ee.J2EEApplicationContainerFactory.removeDeployedApplications(J2EEApplicationContainerFactory.java:761)
              >
              > at
              > weblogic.j2ee.J2EEApplicationService.shutdown(J2EEApplicationService.java:115)
              >
              > at
              > weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.shutdownHelper(DeploymentManagerServerLifeCycleImpl.java:257)
              >
              > at
              > weblogic.application.ApplicationService.prepareToSuspend(ApplicationService.java:46)
              >
              > at
              > weblogic.t3.srvr.SubsystemManager.prepareToSuspend(SubsystemManager.java:168)
              >
              > at weblogic.t3.srvr.T3Srvr.prepareToSuspend(T3Srvr.java:1085)
              > at
              > weblogic.t3.srvr.ServerLifeCycleWorkerThread.prepareToSuspend(ServerLifeCycleWorkerThread.java:51)
              >
              > at
              > weblogic.t3.srvr.ServerLifeCycleWorkerThread$1.run(ServerLifeCycleWorkerThread.java:35)
              >
              > at
              > weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
              >
              > at
              > weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
              > at
              > weblogic.t3.srvr.ServerLifeCycleWorkerThread.run(ServerLifeCycleWorkerThread.java:32)
              >
              > >
              > <Mar 3, 2004 1:48:35 PM EST> <Critical> <WebLogicServer> <BEA-000217>
              > <Failed to fully suspend the server due to:
              > java.util.ConcurrentModificationException
              > java.util.ConcurrentModificationException
              > at java.util.HashMap$HashIterator.nextEntry(HashMap.java:782)
              > at java.util.HashMap$KeyIterator.next(HashMap.java:818)
              > at
              > weblogic.j2ee.J2EEApplicationContainerFactory.removeDeployedApplications(J2EEApplicationContainerFactory.java:751)
              >
              > at
              > weblogic.j2ee.J2EEApplicationService.shutdown(J2EEApplicationService.java:115)
              >
              > at
              > weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.shutdownHelper(DeploymentManagerServerLifeCycleImpl.java:257)
              >
              > at
              > weblogic.application.ApplicationService.forceSuspend(ApplicationService.java:82)
              >
              > at
              > weblogic.t3.srvr.SubsystemManager.forceSuspend(SubsystemManager.java:184)
              > at weblogic.t3.srvr.T3Srvr.forceSuspend(T3Srvr.java:1097)
              > at
              > weblogic.t3.srvr.ServerRuntime.uprotectedForceShutdown(ServerRuntime.java:629)
              >
              > at weblogic.t3.srvr.ServerRuntime.access$300(ServerRuntime.java:83)
              > at weblogic.t3.srvr.ServerRuntime$4.run(ServerRuntime.java:563)
              > at
              > weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
              >
              > at
              > weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
              > at weblogic.t3.srvr.ServerRuntime.forceShutdown(ServerRuntime.java:559)
              > at weblogic.t3.srvr.ServerRuntime.shutdown(ServerRuntime.java:547)
              > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              > at
              > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              >
              > at
              > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              >
              > at java.lang.reflect.Method.invoke(Method.java:324)
              > at
              > weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:711)
              >
              > at
              > weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:690)
              >
              > at
              > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
              > at
              > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
              > at
              > weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:947)
              >
              > at
              > weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:908)
              >
              > at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
              > at
              > weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
              >
              > at
              > weblogic.management.runtime.ServerRuntimeMBean_Stub.shutdown(ServerRuntimeMBean_Stub.java:1184)
              >
              > at
              > weblogic.server.ServerLifeCycleRuntime$ShutdownRequest.execute(ServerLifeCycleRuntime.java:585)
              >
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              > >
              > <Mar 3, 2004 1:48:35 PM EST> <Debug> <Management> <BEA-141132> <Dynamic
              > invocation while executing action shutdown on
              > mydomain:Location=myserver,Name=myserver,Type=ServerRuntime MBean
              > instance failed. The method shutdown with signature [int, boolean] was
              > invoked with parameters as [30, true].
              > java.util.ConcurrentModificationException
              > at java.util.HashMap$HashIterator.nextEntry(HashMap.java:782)
              > at java.util.HashMap$KeyIterator.next(HashMap.java:818)
              > at
              > weblogic.j2ee.J2EEApplicationContainerFactory.removeDeployedApplications(J2EEApplicationContainerFactory.java:751)
              >
              > at
              > weblogic.j2ee.J2EEApplicationService.shutdown(J2EEApplicationService.java:115)
              >
              > at
              > weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.shutdownHelper(DeploymentManagerServerLifeCycleImpl.java:257)
              >
              > at
              > weblogic.application.ApplicationService.forceSuspend(ApplicationService.java:82)
              >
              > at
              > weblogic.t3.srvr.SubsystemManager.forceSuspend(SubsystemManager.java:184)
              > at weblogic.t3.srvr.T3Srvr.forceSuspend(T3Srvr.java:1097)
              > at
              > weblogic.t3.srvr.ServerRuntime.uprotectedForceShutdown(ServerRuntime.java:629)
              >
              > at weblogic.t3.srvr.ServerRuntime.access$300(ServerRuntime.java:83)
              > at weblogic.t3.srvr.ServerRuntime$4.run(ServerRuntime.java:563)
              > at
              > weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
              >
              > at
              > weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
              > at weblogic.t3.srvr.ServerRuntime.forceShutdown(ServerRuntime.java:559)
              > at weblogic.t3.srvr.ServerRuntime.shutdown(ServerRuntime.java:547)
              > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              > at
              > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              >
              > at
              > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              >
              > at java.lang.reflect.Method.invoke(Method.java:324)
              > at
              > weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:711)
              >
              > at
              > weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:690)
              >
              > at
              > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
              > at
              > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
              > at
              > weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:947)
              >
              > at
              > weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:908)
              >
              > at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
              > at
              > weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
              >
              > at
              > weblogic.management.runtime.ServerRuntimeMBean_Stub.shutdown(ServerRuntimeMBean_Stub.java:1184)
              >
              > at
              > weblogic.server.ServerLifeCycleRuntime$ShutdownRequest.execute(ServerLifeCycleRuntime.java:585)
              >
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              > >
              >
              > Tom Barnes wrote:
              >
              >> Hi Dmitri,
              >>
              >> This is normal behavior.
              >> The internal rollbacks are a side effect of WL MDBs
              >> necessarily starting a transaction before they (internally)
              >> post a synchronous
              >> receive on the remote foreign JMS server. If the synchronous receive
              >> receives nothing, the tx is rolled back, and another
              >> synch receive is posted with a new tx. (When interacting with
              >> foreign vendors, tx MDBs usually must post synchronous receives
              >> in order to infect the received message - there is no
              >> standard JMS API for infecting asynchronously received messages
              >> with a user transaction.)
              >>
              >> Tom
              >>
              >> Dmitri Maximovich wrote:
              >>
              >>> Hi everybody,
              >>>
              >>> Is anybody successfully using remote IBM MQseries 5.3 server as
              >>> Foreign JMS in WLS 8.1sp2?
              >>> We're observing some strange behavior in this case. Here is our setup:
              >>>
              >>> WLS and IBM MQ server deployed on separate boxes.
              >>> WLS version 8.1sp2 running on Windows 2000/Intel
              >>> IBM MQ version 5.3 running on Solaris/SPARC
              >>>
              >>> We're using "WebSphere MQ classes for Java, version 5.303 -
              >>> j5303-L030225"
              >>> and "WebSphere MQ Extended Transactional Client Feature, version
              >>> 5.300 - j5303-L030122"
              >>>
              >>> MQ files added in WLS POST_CLASSPATH variable in WLS starup script.
              >>>
              >>> Foreign JMS server configured in WLS via fscontext JNDI.
              >>>
              >>> MDB bean deployed with Transaction attribute "Required".
              >>>
              >>> Everything seems to work fine, if we're posting message to MQ queue
              >>> MDB receives it and process successfully (just print message content
              >>> to the console for now).
              >>>
              >>> Problem: In WLS console, under Server->Monitoring->JTA->Monitor
              >>> inflight transactions we can constantly see one transaction enlisted
              >>> for our MDB bean with following details:
              >>>
              >>> =====================================================
              >>> Transaction ID: BEA1-00DFC5EB4B7B7F28EDB9
              >>> Coordinator: mydomain+myserver
              >>> Name: JMSMessagePoller.xxx.xxx.MyMessageProcessorMdb
              >>> Status: Active
              >>> Seconds Active: 17
              >>> Resources:
              >>> weblogic.ejb20.JMSConnectionPoller.xxx.xxx.MyMessageProcessorMdb=started
              >>> Properties
              >>> (key=value):
              >>> weblogic.transaction.name=JMSMessagePoller.xxx.xxx.MyMessageProcessorMdb
              >>> =====================================================
              >>>
              >>> This transaction seems to be Active for 30 seconds and then rolled
              >>> back (no error messages on WLS console displayed).On JTA statistics
              >>> page in WLS console "Total Rolled Back" counter keeps increneting
              >>> with every rollback.
              >>>
              >>> Does anybody observerd similar problem? May be it's normal behaviour
              >>> but I'm kind of worrying about those transactions and constant
              >>> rollback. I'd appreciate any feedback.
              >>>
              >>> ---
              >>> Sincerely,
              >>> Dmitri Maximovich
              >>
              >>
              >>
              

  • How do I make a batch file if the .class file uses a foreign package?

    I am trying to make an MS-DOS batch file using the bytecode file from the Java source file, called AddFields.java. This program uses the package BreezySwing; which is not standard with the JDK. I had to download it seperately. I will come back to this batch file later.
    But first, in order to prove the concept, I created a Java file called Soap.java in JCreator. It is a very simple GUI program that uses the javax.swing package; which does come with the JDK. The JDK is currently stored in the following directory: C:\Program Files\Java\jdk1.6.0_07. I have the PATH environment variable set to the 'bin' folder of the JDK. I believe that it is important that this variable stay this way because C:\Program Files\Java\jdk1.6.0_07\bin is where the file 'java.exe' and 'javac.exe' are stored. Here is my batch file so far for Soap:
    @echo off
    cd \acorn
    set path=C:\Program Files\Java\jdk1.6.0_07\bin
    set classpath=.
    java Soap
    pause
    Before I ran this file, I compiled Soap.java in my IDE and then ran it successfully. Then I moved the .class file to the directory C:\acorn. I put NOTHING ELSE in this folder. then I told the computer where to find the file 'java.exe' which I know is needed for execution of the .class file. I put the above text in Notepad and then saved it as Soap.bat onto my desktop. When I double click on it, the command prompt comes up in a little green box for a few seconds, and then the GUI opens and says "It Works!". Now that I know the concept of batch files, I tried creating another one that used the BreezySwing package.
    After I installed my JDK, I installed BreezySwing and TerminalIO which are two foreign packages that make building code much easier. I downloaded the .zip file from Lambert and Osborne called BreezySwingAndTerminalIO.zip. I extracted the files to the 'bin' folder of my JDK. Once I did this, and set the PATH environment variable to the 'bin' folder of my JDK, all BreezySwing and TerminalIO programs that I made worked. Now I wanted to make a batch file from the program AddFields.java. It is a GUI program that imports two packages, the traditional GUI javax.swing package and the foreign package BreezySwing. The user enters two numbers in two DoubleField objects and then selects one of four buttons; one for each arithmetic operation (add, subtract, multiply, or divide). Then the program displays the solution in a third DoubleField object. This program both compiles and runs successfully in JCreator. So, next I moved the .class file from the MyProjects folder that JCreator uses to C:\acorn. I put nothing else in this folder. The file Soap.class was still in there, but I did not think it would matter. Then I created the batch file:
    @echo off
    cd \acorn
    set path=C:\Program Files\Java\jdk1.6.0_07\bin
    set classpath=.
    java AddFields
    pause
    As you can see, it is exactly the same as the one for Soap. I made this file in Notepad and called it AddFields.bat. Upon double clicking on the file, I got this error message from command prompt:
    Exception in thread "main" java.lang.NoClassDefFoundError: BreezySwing/GBFrame
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
    4)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    Caused by: java.lang.ClassNotFoundException: BreezySwing.GBFrame
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    ... 12 more
    Press any key to continue . . .
    I know that most of this makes no sense; but that it only means that it cannot find the class BreezySwing or GBFrame (which AddFields extends). Notice, however that it does not give an error for javax.swing. If I change the "set path..." command to anything other than the 'bin' folder of my JDK, I get this error:
    'java' is not recognized as an internal or external command,
    operable program or batch file.
    Press any key to continue . . .
    I know this means that the computer cannot find the file 'java.exe' which I believe holds all of the java.x.y.z style packages (native packages); but not BreezySwing or any other foreign packages. Remember, I do not get this error for any of the native Java packages. I decided to compare the java.x.y.z packages with BreezySwing:
    I see that all of the native packages are not actually visible in the JDK's bin folder. I think that they are all stored in one of the .exe files in there because there are no .class files in the JDK's bin folder.
    However, BreezySwing is different, there is no such file called "BreezySwing.exe"; there are just about 20 .class files all with names like "GBFrame.class", and "GBActionListener.class". As a last effort, I moved all of these .class files directly into the bin folder (they were originally in a seperate folder called BreezySwingAndTerminalIO). This did nothing; even with all of the files in the same folder as java.exe.
    So my question is: What do I need to do to get the BreezySwing package recognized on my computer? Is there possibly a download for a file called "BreezySwing.exe" somewhere that would be similar to "java.exe" and contain all of the BreezySwing packages?

    There is a lot of detail in your posts. I won't properly quote everything you put (too laborious). Instead I'll just put your words inside quotes (").
    "..there are some things about the interface that I do not like."
    Like +what?+ This is not a help desk, and I would appreciate you participating in this discussion by providing details of what it is about the 'interface' of webstart that you 'do not like'. They are probably misunderstandings on your part.
    "Some of the .jar files I made were so dangerously corrupt, that I had to restart my computer before I could delete them."
    Corrupt?! I have never once had the Java tools produce a corrupt Jar. OTOH, the 'cannot delete' problem might relate to the JRE gaining a file lock on the archive at run-time. If the file lock persisted after ending the app., it suggests that the JRE was not properly shut down. This is a bug in the code and should be fixed. Deploying as .class files will only 'hide' the problem (from casual inspection - though the Task Manager should show the orphaned 'java' process).
    "I then turned to batch files for their simple structure and portability (I managed to successfully transport a java.util containing batch file from my computer to another). This was what I did:
    - I created a folder called Task
    - Then I copied three things into this folder: 1. The file "java.exe" from my JDK. 2. The program's .class file (Count.class). and 3. The original batch file.
    - Then I moved the folder from a removable disk to the second computer's C drive (C:\Task).
    - Last, I changed the code in the batch file...:"
    That is the +funniest+ thing I've heard on the forums in the last 72 hours. You say that is easy?! Some points.
    - editing batch files is not scalable to 100+ machines, let alone 10000+.
    - The fact that Java worked on the target machine was because it was +already installed.+ Dragging the 'java.exe' onto a Windows PC which has no Java will not magically make it 'Java enabled'.
    And speaking of Java on the client machine. Webstart has in-built mechanisms to ensure that the end user has the minimum required Java version to run the app. - we can also use the [deployJava.js|http://java.sun.com/javase/6/docs/technotes/guides/jweb/deployment_advice.html#deplToolkit] on the original web page, to check for minimum Java before it puts the link to download/install the app. - if the user does not have the required Java, the script should guide them through installing it.
    Those nice features in deployJava.js are available to applets and apps. launched using webstart, but they are not available for (plain) Jar's or loose class files. So if 'ensuring the user has Java' is one of the requirements for your launch, you are barking up the wrong tree by deploying loose class files.
    Note also that if you abandon webstart, but have your app. set up to work from a Jar, the installation process would be similar to above (though it would not need a .bat file, or editing it). This basic strategy is one way that I provide [Appleteer (as a downloadable ZIP archive)|http://pscode.org/appleteer/#download]. Though I side-step your part 1 by putting the stuff into a Jar with the path Appleteer/ - when the user expands the ZIP, the parts of the app. are already in the Appleteer directory.
    Appleteer is also provided as a webstart launched application (and as an applet). Either of those are 'easier' to use than the downloadable ZIP, but I thought I would provide it in case the end user wants to save it to disk and transport the app. to a machine with no internet connection, but with Java (why they would be testing applets on a PC with no internet connection, I am not sure - but the option is there).
    "I know that .jar and .exe files are out because I always get errors and I do not like their interfaces. "
    What on earth are you talking about? Once the app. is on-screen, the end user would not be able to distinguish between
    1) A Jar launched using a manifest.
    2) A Jar launched using webstart.
    3) Loose class files.
    Your fixation on .bat files sounds much like the adage that 'If the only tool you have is a hammer, every job starts to look like a nail'.
    Get over them, will you? +Using .bat files is not a practical way to provide a Java app. to the end user+ (and launching an app. from a .bat looks quite crappy and 'second hand' to +this+ user).
    Edit 1:
    The instructions for running Appleteer as a Jar are further up the page, in the [Running Appleteer: Application|http://pscode.org/appleteer/#application] section.
    Edited by: AndrewThompson64 on May 19, 2009 12:06 PM

Maybe you are looking for

  • Problems with iTunes on Windows Vista...please help

    All started with my Laptop recognizing my iPad and iTouch just as a camera I keep getting this error in spite of all the methods already listed....one step from formatting....this is the order of appearance of the errors please i need help ALREADY TR

  • Fixed note length in piano roll

    Hello ,is there any way to draw notes with a fixed length in the piano roll rather than using the last edited note's length? In other words,i want the default note length not to automatically change every time i draw/edit a new note (with a different

  • Scalability Test: parallel requests not matching between app server and db.

    We have an environment where we have started doing some load testing on our weblogic 11g instance. The current flow and configuration is the following: There are https requests that go into a servlet, which then calls a local EJB which uses a connect

  • Direct  RFC And webservice in Adobe Forms

    Dear All,             Does adobe Lifecycle designer intregate RFC as a webservice ? Or we need to write a Java/Adap Dynpro and call the adobe Form? Regards, Anirban.

  • E 75 problem in hearing voice

    Hello guys, I have Nokia E 75 and I am having problem in hearing. I can hear the ring tone but when I pick up the call I cant hear anything , than when I put in on loudspeaker I can hear voice. So something is wrong with the headset.  Plz help me out