Can't get some LCDS ES Test Drive samples to work in Tomcat

I can't get many of the Sample Test Drive examples included
with Livecycle Data Services ES 2.5.1 to work properly with Tomcat
(both version 5.5.25 and 6.0.14). I've tried both on Windows XP SP2
and Mac OSX (10.4), but I get the same errors on both platforms. I
can however get the Sample Test Drive from LCDS to work fine with
the JRun server on Windows (included with the Windows version of
LCDS). I've setup the JRun server in a similar fashion as Tomcat
(see my steps below) and everything works fine. I haven't been as
successful with Tomcat. Can anyone point out where I'm going wrong
with my Tomcat setup?
I am using Java 1.5.0.
Here are the error messages I get when trying out the LCDS
Test Drive examples on Tomcat:
Sample 1 - Accessing data using an HTTP service (after
pressing the "Get Data" button):
[RPC Fault faultString="HTTP request error"
faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent
type="ioError" bubbles=false cancelable=false eventPhase=2
text="Error #2032: Stream Error. URL:
http://localhost:8080/samples/testdrive/sample1/catalog.jsp"
URL: catalog.jsp"]
at mx.rpc::AbstractInvoker/
http://www.adobe.com/2006/flex/mx/internal::faultHandler()
at mx.rpc::Responder/fault()
at mx.rpc::AsyncRequest/fault()
at DirectHTTPMessageResponder/errorHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/redirectEvent()
Samples 3, 4 and 5 all produce the following error:
[RPC Fault faultString="flex.samples.DAOException :
java.sql.SQLException: Connection is broken"
faultCode="Server.Processing" faultDetail="null"]
at mx.rpc::AbstractInvoker/
http://www.adobe.com/2006/flex/mx/internal::faultHandler()
at mx.rpc::Responder/fault()
at mx.rpc::AsyncRequest/fault()
at NetConnectionMessageResponder/statusHandler()
at mx.messaging::MessageResponder/status()
Sample 8 - Data Management Service:
[RPC Fault faultString="Unable to invoke a fill operation on
destination 'inventory' due to the following error: class
flex.samples.DAOException:java.sql.SQLException: Connection is
broken." faultCode="Server.Processing" faultDetail="null"]
at mx.data::ConcreteDataService/
http://www.adobe.com/2006/flex/mx/internal::dispatchFaultEvent()
at DataListRequestResponder/fault()
at mx.rpc::AsyncRequest/fault()
at NetConnectionMessageResponder/statusHandler()
at mx.messaging::MessageResponder/status()
Samples 2, 6 and 7 work fine.
Here are the steps I took to setup Tomcat. I've tried this on
both MacOSX and WinXP:
1. Download and extract Tomcat from tomcat.apache.org (I've
tried both version 5.5.25 and 6.0.14)
2. Install Livecycle Data Services ES 2.5.1 and copy
flex.war, flex-admin.war and samples.war to [tomcat-root]/webapps/
3. Prepare tomcat for Livecycle Data Services by following
the instructions here:
http://help.adobe.com/en_US/livecycle/es/lcds_installation.html
3a. Add Java Open Transaction Manager (JOTM) from
http://jotm.objectweb.org/.
Copy the JAR files from [jotm-root]/lib to
[tomcat-root]/common/lib/.
3b. Create a context file for your web application and
register JOTM using the Transaction element, e.g. for the samples
WAR create a [tomcat-root]/conf/Catalina/localhost/samples.xml file
and add the following lines:
<Context docBase="${catalina.home}/webapps/samples"
privileged="true"
antiResourceLocking="false" antiJARLocking="false">
<Transaction
factory="org.objectweb.jotm.UserTransactionFactory"
jotm.timeout="60"/>
</Context>
3c. Increase the maximum memory to at least 512MB. For
Tomcat, this is achieved by specifying the maximum heap size for
the JVM in the JAVA_OPTS variable in [tomcat-root]/bin/catalina.sh:
-Xmx512m
4. Run the tomcat server ([tomcat-root]/bin/startup.sh for
Mac OS or [tomcat-root]\bin\startup.bat for WinXP) which extracts
the 3 .war files into their respective directories in
[tomcat-root]/webapps/
5. Goto the Samples Test Drive in your web browser at
http://localhost:8080/samples/testdrive/

Thanks Leif,
Yes, set it to the location jndi path.
A piece of info is that the 903 oc4j release notes states that global conn pooling doesn't
work. Infering that the j2ee/home/config/data-sources.xml data sources aren't pooled or ??
I just tested so called local connection pooling, where I edited the data-sources.xml that
gets packaged in the ear, to include the min/max params and re-ran my test.
Still, the AM creates a new conn, it's to a new socket, and closes the conn when done. Causing
each conn to not be pooled, rather opened then closed to the DB box. As verified with lsof and
netstat, checking the ephemeral port # on the DB box side, always changes, meaning it's a
new socket and not an old pooled conn socket.
???? What the heck??
Surely if the AM conn check out / return code works properly, OC4J's pooling JDBC driver would
pool and not close the socket??
Has anywone gotten JDBC Datasource connections in BC4J to actually be pooled under OC4J??
Since I couldn't get this to work in my early 902 oc4j testing, and now can't get it to work
still under 903 OC4J, either it's my config or BC4J AM's code or OC4J?
Any thoughts on how to figure out what's not configed correctly or has a bug?
Thanks, curt

Similar Messages

  • Can't get rid of WORD TEST DRIVE

    Brand new iMac, I installed Office first thing.
    Did not know that there's a "test drive" version pre-loaded.
    Did not discover this until I tried printing, the "test drive" doesn't support printers.
    Subsequently discovered that none of my docs will open except in the "test drive" version.
    Question: What happens when "test drive" expires in 21 days? Will my docs automatically start opening in the permanent version that I installed with Office? (I can open the docs by first opening the full version and doing "File-open" but that's ridiculous.)
    I tried trashing the "test drive" but none of my docs would open until I untrashed it.
    Suggestions?
    Thanks
    iMac G5   Mac OS X (10.4.6)  

    I have re-installed Office, and Word, per advice, and everything seems OK.
    EXCEPT
    When I open Word I get this error note:
    "An unexpected error occurred trying to load MS Framework Library"
    What's this about? How to correct it?
    Thanks
    iMac G5   Mac OS X (10.4.6)  

  • Can I get some results with the SDK sample debugging?

    Debugging a sample project file in VB2008 I could not get any results. Where an InDesign plug-in to add?

    There is a folder for plugins near the .exe, or you create a PlugInConfig.txt file.
    See "getting-started.pdf" (e.g. page 13 of CS6 version).

  • I've twice tried to use iTunes match. It stalls in step 2. I've rebooted my Mac computer and still stalls. Apple's taken the $25 but not delivered the service. Can I get some personal help?

    I've twice tried to use iTunes match. It stalls in step 2. I've rebooted my iMac computer and it still stalls. Apple's taken the $25 but not delivered the service. Can I get some personal help? There are 12,733 songs, a few dozen of which are not going to be in the Apple music library because they are unique to my collection. Also, some titled "Track XX" and no artist. I assume these would either not upload or else just be uploaded. But, after an overnight of step 2, the iTunes match program was still on song number 7384 or 12733 (it was on that number for over 12 hours). Looking in the music library, activating the iCloud icon and status fields, there were hundreds of songs with the status "waiting."

    Lmwilliamson wrote:
    Kernel panics:
    After taking my late 2009 15 inch macbook pro to the apple store, the genius completely erased my computer and reinstalled the Mac OS X software, but the problem still persists. 
    I also took it to my college tech support center, they tried to take the ram out and reinsert it and clean up the dust, but the problem still remains.
    I am able to use my computer in Safeboot mode (only)
    Well it could still be a software problem if you installed a third party program after the OS X wipe and install, because by booting into Safe Mode it disables certain functions of OS X and hardware. Check for updates or problems for all your third party software, include everything, including menulets, System Preference panes, hacks and so forth.
    If you restored any sort of software from backup like TimeMachine, it likely was corrupted data and now is returned.
    If the college tech support found a lot of dust clogging the rear exhaust vents behind the fans, then likely the heat damage done to the machine has already occured and can't be reversed. Video cards are usually first to go, which Safe Mode does disable the video card somewhat.
    Run through this list of fixes, it's systematic in nature, also has a Hardware Test to see what's going on
    ..Step by Step to fix your Mac
    Too bad this is occurring to a mere 4 year old machine, but dust will do that. Here is the culprit that Apple doesn't tell anyone about.

  • I don't have IMAQ vision, where can I get some super basic easy VI's for IMAQ?

    Hello,
    I don't have IMAQ vision, where can I get some super basic easy VI's to get images from my IMAQ PCI-1424 board, without Vision?? is there some kind of tutorial that will help me get started from the ground up in designing VI's? Also I am trying to run the HL Snap in picture control.vi and I keep getting an error that says:
    -1074397150 occured at IMAQ snap.vi
    Possible reasons,
    NI-IMAQ (Hex 0xBFF6022) wait timed out; aquisition not complete.
    Why am I getting this??? it is driving me nuts, I don't know how to get a image on my computer from the IMAQ board. I can get one in MAX. Also in MAX I try to change the camera driver to Kodak because that is the boar
    d that I have KLI-2113, but when I try to change anything under properties like the window size and then apply it, it says error removing old camera. why does that do that? Some of the other drivers sort of work and let me change the settings. I don't know if they work right though. I can get atleast some response to light from the CCD chip.
    Anyways, thanks,
    Brian

    Brian;
    There is an example on how to display images in LabVIEW without having the full IMAQ application.
    You can always convert the images to bitmaps (flattening) and display them in a picture indicator. If you are going to do some image processing within LabVIEW, this may be the way to go.
    About the error you are getting, hopefully the above example will help you in resolving the issue. If the problem persist, it will be more beneficial if you can post the code. Also, you may get better answers if you post your question in the Vision forum.
    Regards;
    Enrique
    www.vartortech.com

  • Can't get some songs off my ipod!!

    For some reason I can't get some songs off my old ipod. recently I lost all my songs on my new ipod so I went to my old ipod followed the steps of extracting files from ipod to itunes and come to find out that some songs didn't go into itunes. The files I want were downloaded using imesh and they are mp3 format. For some reason when I go into my computer and open my ipod's music folder the songs are not there yet they have to be because I can see and play them on itunes when I connect the old ipod.But I can see one of the files in a folder except that one file is really the entire album. It's about 13 songs and I can't seem to seperate them. So is there anyway to directly transfer all files from the ipod to itunes instead of doing the copy folder steps as described in apple's "transferring music guide"? Also I tried consilidating library and that didn't work either.

    There is a manual method of accessing the iPod's hard drive and copying songs but not playlists back to iTunes on Windows posted in this thread: MacMuse - iPod to iTunes
    If you prefer something more automated then there are a number of third party utilities that you can use to retrieve the music files and playlists from your iPod, this is just a selection. Have a look at the web pages and documentation for these, they are generally quite straightforward.
    iPod Access Mac and Windows Versions
    YamiPod Mac and Windows Versions
    PodUtil Mac and Windows Versions
    iPodCopy Mac and Windows Versions
    PodPlayer Windows Only
    iGadget Windows Only

  • My iMac does not see the new Toshiba external drive in Finder or Disk Utility.  How can I get it to see the drive?

    My iMac does not see the new Toshiba external drive in Finder or Disk Utility.  How can I get it to see the drive?

    From the menu bar, select
               ▹ System Preferences ▹ Energy Saver ▹ Power Adapter  
    and uncheck the box labeled Put the hard disk(s) to sleep when possible, if it's checked.
    If the drive has more than one interface (USB, FireWire, Thunderbolt, eSATA), try one of the other interfaces.
    Check that the data cable is securely inserted at both ends.
    Try a different cable.
    If you're connecting the drive through a hub, connect it directly to a built-in port on the Mac.
    If you're connecting it directly, try a different port.
    Disconnect all other devices on the bus, or as many as possible.
    Test the drive with another Mac. Test another drive with this Mac.
    If the drive is bus-powered, but has an AC adapter, connect the adapter.
    Start up in Recovery mode and launch Disk Utility. Is the drive recognized?
    Start up in Safe Mode and test.
    Reset the NVRAM.
    Reset the System Management Controller.
    If the drive doesn't work under any of the above conditions, and if another drive does work with the same Mac, then the drive is malfunctioning.

  • I can't get some song on my iphone they work off of the computer but they wont show up on my phone they are in the "on my iphone" section but they gray and have a gray dotted circle next to them i have tried every thing I just want them on my phone HELP!

    I can't get some song on my iphone they work off of the computer but they wont show up on my phone they are in the "on my iphone" section but they gray and have a gray dotted circle next to them i have tried every thing I just want them on my phone HELP!!!

    You have posted to the iTunes Match forum, which your question does not seem to be related to. Is your question concerning iTunes Match or syncing with iTunes via USB?

  • I have 2 accounts in my family and would like to purchase some of the same songs for both accounts, however when I try to purchase a duplicate song from the second account the song says play instead of purchase. How can I get some of the same songs?

    I have 2 accounts in my family and would like to purchase some of the same songs for both accounts, however when I try to purchase a duplicate song from the second account the song says play instead of purchase. How can I get some of the same songs?

    Drrhythm2 wrote:
    What's the best solution for this? I
    Copy the entire /Music/iTunes/ folder from her old compouter to /Music/ in her account on this new computer.

  • I have a 2007 20" iMac. Can I get a solid state hard drive installed?  Can the Apple store do it?  How long?  What cost?

    I have a 2007 20" iMac. Can I get a solid state hard drive installed?  Can the Apple store do it?  How long?  What cost?

    Sure-glad to help you. You will not lose any data by changing synching to MacBook Pro from imac. You have set up Time Machine, right? that's how you'd do your backup, so I was told, and how I do my backup on my mac.  You should be able to set a password for it. Save it.  Your stuff should be saved there. So if you want to make your MacBook Pro your primary computer,  I suppose,  back up your stuff with Time machine, turn off Time machine on the iMac, turn it on on the new MacBook Pro, select the hard drive in your Time Capsule, enter your password, and do a backup from there. It might work, and it might take a while, but it should go. As for clogging the hard drive, I can't say. Depends how much stuff you have, and the hard drive's capacity.  As for moving syncing from your iMac to your macbook pro, should be the same. Your phone uses iTunes to sync and so that data should be in the cloud. You can move your iTunes Library to your new Macbook pro
    you should be able to sync your phone on your new MacBook Pro. Don't know if you can move the older backups yet-maybe try someone else, anyways,
    This handy article from Apple explains how
    How to move your iTunes library to a new computer - Apple Support''
    don't forget to de-authorize your iMac if you don't want to play purchased stuff there
    and re-authorize your new macBook Pro
    time machine is an application, and should be found in the Applications folder. it is built in to OS X, so there is nothing else to buy. double click on it, get it going, choose the Hard drive in your Time capsule/Airport as your backup Time Machine  and go for it.  You should see a circle with an arrow on the top right hand of your screen (the Desktop), next to the bluetooth icon, and just after the wifi and eject key (looks sorta like a clock face). This will do automatic backups  of your stuff.

  • HT5622 i moved from Egypt to Canada, changed my info on app and still can't get some app because " item not available in the Egyptian store"

    i moved from country to another, changed my info in app ID and still can't get some apps because  item not available in the home country's store? any idea?

    It is working now. I no longer get the message about the item not being available in the US and I can access the store.

  • I can only get some of my iPhone 4S pictures to show up in photo stream on any of my devices?  How do I get them all to show up?

    I can only get some of my pictures to show up in photo stream on any of my devices. How do I get them all to show? 

    PC, I also rebooted the wireless.

  • Where can i get some magic trackpad feet?

    where can i get some magic trackpad feet?

    Contact these people.
    iFixit: The free repair manual
    But most DIY stores will have something you can utilise.

  • I did all the following step to enable the dictation on my ipad3 but the icon is not showing on my keyboard. can I get some help

    I did all the following step to enable the dictation on my ipad3 but the icon is not showing on my keyboard. can I get some help

    Dictation is not available on the iPad 2 (your profile says iPad 2)

  • HT1414 when I do this steps thy give me a massege says " the iphone could not be restored . An unknown error accorred (3149) " . Can I get some help ?

    when I do this steps thy give me a massege says " the iphone could not be restored . An unknown error accorred (3149) " . Can I get some help ?

    Try using DFU/Recovery mode to restore
    1. Plug iPhone 4 to computer
    2. open iTunes
    3. Turn off iPhone
    4. Press home and power button for 10 seconds
    5. Stop pressing the power. Button but keep pressing down the home button
    iTunes should say the following; "iTunes won't be able to use your iPhone until you restore your device"
    Then you'll have the option to restore and it should work, it has worked for me in the past

Maybe you are looking for

  • 10.4.9 problem on DNG files and cd open/close tray

    After the new OS release, the file preview of my Leica M8 DNG files are no more visible. I need to open them but even setting "show icon preview" in the folder prefernces i get no result. Apple Preview also doesn't open the file anymore. In addition,

  • How can I enable the Options menu in Tools?

    Firefox Version 12, I click on tools and the option function is not there? I am trying to get to digital certificate so that I can back it up.....

  • Suppress zero

    hi, i have a problem with supressing zero values. i have a bar chart. there is only one bar on the chart. The bar is split into 2 sections. (ie stacked bar). On the top section, the number 23 is shown which is the result of code i used in a formula:

  • Writing 2 conditions on a table

    Hi all I need to impose one codition on the table The following are the details Tables Classes(class, type, country, numguns, bore, displacement)_ Condition: If a class of ships has more than 9 guns, then their bore must be no larger than 14 inches_

  • Log and transfer with Panasonic HDC-HS100

    I recently purchased the Panasonic HDC-HS 100, that is a hybrid SD card/HDD. I am having problems importing my footage onto my computer. When opening the log and transfer window in FCP, it does not recognize the camera (error messages indicate there