Adobe Livecycle Dataservices Deployed under Tomcat with Sun 64-bit JVM on Fedora 7

code-complete

Friday, September 7. 2007

Adobe Livecycle Dataservices Deployed under Tomcat with Sun 64-bit JVM on Fedora 7

As a follow up to my earlier post about getting Coldfusion 8 to run natively in a 64-bit enviro, this post will describe the steps to deploy Adobe Livecycle data services in a 64-bit environment natively.

First, the set up: 64-bit Fedora 7 + 64-bit Sun Java SE Runtime build 1.6.0_02-b05 + Tomcat 5.5.23 Release 9jpp.2.fc7

Initially, I just ran the installer for LiveCycle selecting to deploy as a war. It created the war files flex.war, flex-admin.war, and samples.war. I dropped those into the webapps directory and all the applications deployed automatically. I pointed my browser at http://server.com:8080/flex/samples, which popped right up. Then, when I clicked on the SQLAdmin sample app, kablooeee!

The error that gets thrown is:

09/06 14:17:03 ERROR java.lang.RuntimeException: XPathFactory#newInstance() failed to create an XPathFactory for the default object model: http://java.sun.com/jaxp/xpath/dom with the XPathFactoryConfigurationException: javax.xml.xpath.XPathFactoryConfiguration
Exception: No XPathFctory implementation found for the object model: http://java.sun.com/jaxp/xpath/dom


I realized that this had something to do w/ the Xalan/Xerces java component, but I had installed both components from RPMs. So I was conviced it was a classpath issue. I knew the stuff i needed was on my machine, but the application wasn't finding it. The following jars are what's needed for this to work:

xalan-j2-serializer.jar
xalan.jar
xercesImpl.jar
xml-apis.jar
xsltc.jar


So I ran the locate command for each of these jars and found many som in /usr/share/java/ and some under a xalan-j2-servlet/WEB-INF/lib directory.

I dropped copies of all the jars into my tomcat5/share/lib/ directory and restarted tomcat and viola!

Well, almost - now I was getting a different error:

09/07 11:48:53 ERROR java.lang.InternalError: An error occurred because there is no graphics environment available. Please set the headless-server setting in the Flex configuration file to true.


But hey, that at least gave some direction on what needed to be changed, so I went ahead and changed the flex-config.xml files for all the applications to true and restarted tomcat. No love. Same error. Upon further log inspection, I found that there was another related error thrown just as the FlexAssembler service was spinning up:

09/07 11:45:54 Information [main] - Starting FlexAssembler...
Xlib: connection to ":1.0" refused by server
Xlib: No protocol specified

Exception in thread "Thread-23" java.lang.InternalError: Can't connect to X11 window server using ':1.0' as the value of the DISPLAY variable.


Okay, so because I was VNCed into the machine when starting up tomcat, the system appears to be disregarding the headless-server setting! So, I logged out of vnc, sshed into the machine stopped and started tomcat while tailing the catalina.out log file. Well, No errors on startup and when I went to the SQLAdmin sample app I saw this:



Adobe Livecycle successfully running.

Posted by thaddeus in Flex, Livecycle, Redhat Linux at 13:33 | Comments (0) | Trackbacks (0)

Trackbacks
Trackback specific URI for this entry

No Trackbacks

Comments
Display comments as (Linear | Threaded)

No comments

Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

 
 

About Me

Thaddeus Wakefield Batt
Thaddeus Wakefield Batt

blogging from: denver, co.

blogging about: web technologies

Links

Tech Blogs
Fullasagoog - RIA
John Wilker
William .NET
Graphex

Links
SpireMedia, Inc.
The CMS Matrix




Lijit Search

Archives

  • July 2010
  • June 2010
  • May 2010
  • Recent...
  • Older...

Categories

  • XML .NET
  • XML Apollo
  • XML Coldfusion Programming
  • XML Coldfusion Server
  • XML Flex
  • XML Information Architecture
  • XML Java
  • XML Livecycle
  • XML postgreSQL
  • XML Redhat Linux
  • XML Silverlight
  • XML SpireMedia
  • XML SQL Server 2k5
  • XML Tools of the Trade
  • XML Vista
  • XML Win2K3 Server
  • XML Windows Server 2008
  • XML Zimbra


All categories

Syndicate This Blog

  • XML RSS 0.91 feed
  • XML RSS 1.0 feed
  • XML RSS 2.0 feed
  • ATOM/XML ATOM 0.3 feed
  • ATOM/XML ATOM 1.0 feed
  • XML RSS 2.0 Comments

Blog Administration

Open login screen

Thaddeus Batt

Creative Commons License - Some Rights Reserved
Original content in this work is licensed under a Creative Commons License