A Noob XSLT SE Question

Hi, I'm new to JavaEE.
I was trying to install XSLT SE (downloaded from OpenESB latest nightly build, Build071030) on my multi-language GlassfishV2 final, and it just won't start.
Here is the message:
ERROR:(JBIFW1136)Engine sun-xslt-engine cannot be initialized. The LifeCycle init() method threw a java.lang.NoClassDefFoundError exception. The exception message is: com/sun/jbi/component/endpoint/impl/AbstractEndpoint
Caused by:(JBIMA0000)com/sun/jbi/component/endpoint/impl/AbstractEndpointAny idea?
The Glassfish is run on CentOS 5.
The ESB runtime is built-in in the Glassfish.
The XSLT engine in the Glassfish bundle in my Netbeans 6.0 beta works fine, and I have tried to install the xsltse.jar inside the bundled Glassfish into the Glassfish run on CentOS, but results the same.
Following SL, BC and SE are installed in the Glassfish:
sun-encoder-library
sun-shared-util-library
sun-transform-library
sun-wsdl-library
sun-file-binding
sun-http-binding
sun-jms-binding
sun-bpel-engine
sun-javaee-engine
sun-sql-engine
update:
same results with english Glassfish.
Edited by: Mark-H-Y-Lee on Oct 31, 2007 4:48 PM

Hi Mark,
Try removing the TransformSL library; there may be a classloading conflict between the SharedUtilSL and TransformSL. Both libraries include the AbstractEndpoint class and I suspect that's causing your issue.
Due to JBI classloading requirements, shared libraries cannot depend on (i.e. reference) each other. Since TransformSL is built using the utilities in SharedUtilSL, such as the Common Runtime Library (CRL) and Wsdl4jExt, the SharedUtilSL currently includes TransformSL in its deployment. Consequently, there is no need to install both SharedUtilSL and TransformSL. In case it's not clear, SharedUtilSL = sun-shared-util-library and TransformSL = sun-transform-library.
Regards,
Kevan

Similar Messages

  • XSLT, XML Question???

    I've recently found that I can use XSLT to transform XML docs into SQL using x-path... Is there any documentation out there referencing a transformation using x-query???? I've searched the web but have not seem much on this...
    Any direction would be greatly appreciated.

    XSLT doesn't use XQuery. So it's not surprising you haven't found much documentation about using XQuery in XSLT. You might want to direct questions like this one to an XSLT forum rather than a Java forum.

  • 856 xslt Mapping question ...

    I was asked in the jdev forum to post this here as well :)
    Ramesh,
    I hate to keep bugging everyone but i have another question.
    I am trying to transform data into an X-12 856 document (outbound). I have most of the looping and everything working. My only issue is how do you handle the parent child relationships in the HL01/02 ? Since xpath does not let you increment a variable how can you keep the count of the HL loops let alone tell the HL02 (parent's HL01) We are using a SOPI scenario and the items need to be subordinate to the appopriate pack level.
    I really appreciate all the time and awnsers you have given me so far :)
    Thank you in advance,
    Jaden

    Hi,
    There is a way to handle x=x+1 in XSLT....here it is..assume u want to sum all the elements of an arraylist in an XML...create a temporary variable(TransCountSumVar) and do a foreach and group them in one more variable (Transactions_Count2)
    <xsl:variable name="TransCountSumVar">
                  <xsl:for-each select="/ns1:TotalDate/ns1:price">
                                   <Transactions_Count2>
                      <xsl:value-of select="number(ns1:price)"/>
                                  </Transactions_Count2>
                  </xsl:for-each>
    </xsl:variable>now get the sum of those in Transactions_Count2 as follows
    <xsl:variable name="TComp" select="sum(exsl:node-set($TransCountSumVar)/Transactions_Count2)"/>where Tcomp is another variable with holds the final sum and be sure to the the namespace xmlns:exsl="http://exslt.org/common" in XSL at name space declarations.

  • Genereting JSTL tags with an XSLT transformation question

    Hi there!
    I have some XML datas to display in a jsp file.
    XML content is of this type:
    <message>
    <title>A message</title>
    </message>
    The most elegent way to present them is to transform XML via xslt into xhtml.
    (that way I can externally change with ease the message formatting output without changing the jsp)
    For that, I use the cool tag
    <x:transform>
    on each xml file i want to display (with x:foreEach)
    The output produced for each xml file is:
    <div class="message">
    <h2>A message</h2>
    </div>
    My problem is now that I want to include custom tags in the generated content!
    For exemple:
    <div class="message">
    <h2>A message<c:out ...></h2>
    </div>
    My question is:
    how can I make that xslt generated tag to be executed???
    Since it is the product of an xslt transformation ,I suppose it won't be executed at all...
    Advices greatly appreciated! :)

    I'm not sure I understand what you mean when you say "how can I make that xslt generated tag to be executed???"
    You've got your XML input and the XSL-T stylesheet that will transform the XML input into an XHTML stream containing JSTL tags.
    I'm assuming that you're going to ask a servlet to pass the XML input to the XSL transformer and get the XHTML output stream. Once you have that, the servlet will write the XHTML to the HTTP response output stream, where it'll be rendered by the browser.
    I think the key is to make sure that you tell the browser that response type is a JSP (that's the only document type in which it makes sense to put JSTL tags). When the browser gets that JSP, it'll treat it like any other: generate .java code, compile that to a .class file, and then render.
    I'm not sure about efficiency, but it sure is an elegant solution. - MOD

  • NOOB with remote question

    Hi all, Im a noob here and just purchased the mega 180.  I already have a couple of questions that I am hoping someone will be kind enough to answer.  I have read through this forum and havent been able to find the answers (maybe looked in wrong place).  
    First, is it possible to use a different remote than the one provided?  And if so, what others can be used or what software is necessary.  Does the use of a different remote affect the HI-FI functions?  As in, do you lose the ability to control those functions?
    Second, could someone please tell me where I can purchase the MSI Mega TV tuner in the U.S.?   And, if I get this tuner will the remote be able to control the media center 3 that ships with the mega?  Will it be able to control the HI-FI?
    Thanks for looking!

    Of course you can use a differente remote and, of course you'll lose the HiFi functions  
    If your new remote have IR-learning function you can make it learn the codes of the original remote and use it directly with your Mega.
    In PC mode, you can use almost every remote and learn the commands with Girder (http://www.girder.nl, actually moved to another site)
    Regards

  • XSLT Mapping Question

    Hi,
    is following possible with a xslt mapping ?
    i copy elements with <xsl:copy-of select="//Bla/*"/>
    what i want is to set a attribute at every copyied element. Always the same.
    Idea?
    Regards,
    Robin

    so it works:
         <INSERT>
         <Data>
         <xsl:for-each select="//bla/*">
         <xsl:copy use-attribute-sets="type"><xsl:value-of select="."/></xsl:copy>
         </xsl:for-each>
         </Data>
         </INSERT>
    Regards,
    Robin

  • XSLT Transformation Question

    Hi together!
    Hope anybody can help.
    I have the follow XML structure :
    <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">¶
    <asx:values>¶
    <IMPORT>¶
    <Y0DPL_LATAM_INV_FILE_UPLOAD>¶
    <DATA>222358   1NU    480350    29102007VENDA DE MERCADORIA        30</DATA>¶
    </Y0DPL_LATAM_INV_FILE_UPLOAD>¶
    <Y0DPL_LATAM_INV_FILE_UPLOAD>¶
    <DATA>35403474</DATA>¶
    </Y0DPL_LATAM_INV_FILE_UPLOAD>¶
    <Y0DPL_LATAM_INV_FILE_UPLOAD>¶
    <DATA>35403822</DATA>¶
    </Y0DPL_LATAM_INV_FILE_UPLOAD>¶
    <Y0DPL_LATAM_INV_FILE_UPLOAD>¶
    <DATA>4480350</DATA>¶
    </Y0DPL_LATAM_INV_FILE_UPLOAD>¶
    <Y0DPL_LATAM_INV_FILE_UPLOAD>¶
    <DATA>220089</DATA>¶
    </Y0DPL_LATAM_INV_FILE_UPLOAD>¶
    <Y0DPL_LATAM_INV_FILE_UPLOAD>¶
    <DATA>3540347</DATA>¶
    </Y0DPL_LATAM_INV_FILE_UPLOAD>¶
    <Y0DPL_LATAM_INV_FILE_UPLOAD>¶
    <DATA>4480351 </DATA>¶
    </Y0DPL_LATAM_INV_FILE_UPLOAD>¶
    </IMPORT>¶
    </asx:values>¶
    </asx:abap>
    After the XSLT Transformation i need the data in this structure :
    <data>
         <invoice>
               <id>222358</id>
               <item>35403474</item>
               <item>35403822</item>
               <code>4480350</code>
         </invoice>
         <invoice>
               <id>220089</id>
               <item>35403474</item>
               <code>4480351</code>
         </invoice>
    </data>
    I tried to group the data with the tag "xsl:for-each-group". But i get no result.
    Regards,
    Anton

    Hi,
    no one with a good hint?
    Regards,
    Anton

  • XSLT Validation Question

    Well I'm diving into XSLT for the first time.  I've gotten the RSS feed to display just fine, but my problem is with the XHTML 1.0 strict validation and it could just be DW.
    What I have is a XSLT fragment file, saved as .xsl, with the feed.  I then used the server behaviors to add the fragment to my primary PHP document.  It seems that when DW adds this code into a PHP document it adds a script to the document and then includes the xsl file where I place it on the page.  However, the beginning of the XSL file shows:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    That is the line that the validator says won't validate because the only place it is allowed is at the beginning of the file but since DW is including the xsl fragment file in the middle of a file it won't validate.  Is the XSL fragment document still valid without that code at the top of it?

    Maybe this helps?
    http://www.objectsbydesign.com/projects/xslt/xhtml.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • XSLT Fragment question

    I am using an XSLT fragment in order to display an RSS feed on a webpage. The problem is that there is a large space at the top of my fragment. I would like to get rid of this space. Anyone know how to do this?

    Alright, I will try to post the code up here soon.
    On a side note, my RSS feeds post the time in a format with +0000 at the end. How can I localize the time in the feed?

  • Real simple xslt problem/question

    Hi, i have a real simple xslt problem but i just cant figure out how to do it by looking at various examples on the net. i have a xml document and in it are some elements with a "result" tag name. i want to use xslt to reproduce exactly the same xml document except with an attribute called "id" added to those elements with a "result" tag name. i'm sure that theres a simple solution to it but i just cant figure it out. any helps greatly appreciated, thanks

    Start with the XSLT identity transform (I don't have it handy and it's fairly long, but you should be able to google it up). Add this:<xsl:template match="result">
      <result id="">
        <xsl:apply-templates>
      </result>
    </xsl:template>

  • FMS2 noob with capabilities question

    Thanks in advance for any help you can offer.
    I am just learning the basics of FMS2 and have some simple
    questions(I hope).
    I currently have a php/mysql application that creates mixes
    of mp3s.The songs are played using progressive downloads and this
    is causing some concerns among the license holders.I understand
    that by using FMS2 I can stream the mp3s instead.
    My question is about keeping current functionality after
    migrating to FMS2.
    My mp3 player uses xml playlists.Its is already coded to hook
    into flashcom streams if needed. To create a playlist, a user
    searches the DB and adds songs to his account. I then use php to
    write the added song data to an xml playlist. The playlist is
    stored in the users folder, with a copy of the mp3 player. The mp3s
    are all pulled from a specific location on the server.
    From what I have learned about FMS2 so far(which is very
    little), I am not sure if streams can be dynamically created in the
    same fashion. I have seen plenty of info about FMS2 streaming mp3s
    from a specific playlist with the mp3 all coming from the
    application folder, but not any info about what I am trying to
    attempt.
    I would not be doing the coding myself, I can handle
    php/mysql but I know very little about action script and have
    little time to learn. But I want to know if I am barking up the
    wrong tree. Are dynamic streams possible? I dont want to look like
    an idiot when I try to hire someone to code an impossible solution.
    Im not looking for a how to, just want to know if the capability
    exists in FMS2
    Thanks,
    Matt

    Yes... everything you're asking about can be done with FMS,
    and fairly easily at that.

  • Some IPAD noobie email/exchange questions:

    People around here have been super-helpful so if youve answered any of my previous questions, thank you.
    Just started using my first IPAD (3) and have some questions regarding mail:
    1) Is there any faster way to get to an attachment than to scroll down to the end of an email? Why is the "attchment-icon" at the end of the email and not somewhere a bit more accessible?
    2) Everything seemed to have worked fine when I set up exchange but there was no sync for my contacts or notes (only mail and reminders/tasks). What did I possibly do wrong here?
    Finally, for those that use their IPADs for work and who peruse a large amount of emails via exchange, what would you advise I get with regard to a data plan? (I am on Verizon)
    Thanks.

    Hi,
    Make a Hybrid deployment with Exchange on-premises and O365 is a great method : )
    More details, please refer following arcile:
    Exchange Server 2013 Hybrid Deployments
    https://technet.microsoft.com/en-us/library/jj200581%28v=exchg.150%29.aspx?f=255&MSPPError=-2147217396
    Thanks
    Mavis Huang
    TechNet Community Support

  • Christmas Mac noob!  First question is on printing

    Greetings to the Mac community from a lifelong Windows/DOS geek. I have a brand-new MacbookPro that I'm muddling my way around -- I'm on Day Two, and so far so good, except...I can't print successfully.
    Details: HP Laserjet 3200 all-in-one, networked via a Windows box running XP. My new MBP prints fine to the network --great! -- except it's gibberish. What should be a half-page doc runs on for 10-20 pages or more; looks like some kind of secret Mac code. Sounds like a driver issue, right? I've tried the HP 3200 drivers showing up on the MBP list when I "add printer," and so far nothing is working. Should I be crawling into the Windows box and doing something there?
    TIA

    Kren wrote:
    Thanks, that seems eminently logical. Only question: I haven't checked but I'm pretty sure the printer cable is not compatible with my laptop's available connections. I guess I need some kind of adapter.
    The best info I can find says that this printer shipped with both parallel and USB interfaces, so you should be able to hook it up via the USB port simply by buying a USB cable.
    The parallel port won't work reliably under Mac OS X, even with an adapter cable. You could buy one from a specialized cable company, but like the SCSI to FireWire adapters that were popular for a while, it wouldn't work that well.

  • XSLT Xpath question

    Hello all,
    I am kind of a newbie to the xpath sort of translation.
    I am curious on how to:
    Grab the last element with data from the input side of my xsl ?
    I appreciate any help on this.
    Jaden

    I guess I should explain what I am trying to accomplish :)
    I am trying to map an inbound 856 thru the xsl transformation.
    in the pack loop is the delivery detail id. under that are several item loops.
    My issue is that the Item Loop has the serial number where the Pack loop has the delivery detail. I need to copy the deliver detail id for each of the items for the output side of my transformation.
    I use the code /ns1:Transaction-856/ns1:Loop-HL/ns1:Segment-LIN/ns1:Element-234_1[last()]
    But i get only the first number in my output?
    Ty in advance
    Jaden

  • Noobie aspect ratio question

    hello-
    i'm a total novice FCP user and i'm just trying to do a simple edit, but i'm having a weird issue with my footage.
    i did not capture this picture within FCP, i captured it in imovie. the format is 720 x 480 (640 x 480). i have my Video Settings at DV NTSC 48. however, when i load a clip in the viewer it's too big (scroll bars appear on the sides of the viewer). when i export, everything looks squashed.
    can anyone tell me what i'm doing wrong?
    much appreciated!!
    morgan

    when i load a clip in the viewer it's too big (scroll bars appear on the sides of the viewer)
    In the Viewr window options, select Fit to windows. You have some zoom applied !
    can anyone tell me what i'm doing wrong?
    Probably not the answer you expect but . . . take the time to learn how and recapture your video using FCP Log&Capture. If you don't do that, the next problem you'll find is you must render all your with iMovie capture footage.
    The best is close the project, select the NTSC DV Easy Setup (A Guide To Setting Up Your Project In Final Cut 5 ) and go to Log&Capture.
    Hope it helps !
      Alberto

Maybe you are looking for

  • In BDT , Can we have custom container in BDT subscreen

    Hello Techies, Can we have a custom control in BDT Subscreen, just as calender picking tool in the screen. I appreciate ur valuable inputs Thanks Santhosh Moderator message - Cross post locked Edited by: Rob Burbank on Apr 14, 2009 10:43 AM

  • Is it ITunes or hardware?

    I've been trying to fix this (along with Apple Support) since November: New G5 dual, Tiger. A couple of weeks after I got the machine, it started shutting down without a prompt, as if someone simply pulled the power cord out of the socket. No error m

  • Laptop wont eject cd/dvd

    I just bought my g4-2149se from wal-mart and It wont eject my cd with the botton, nor when i go to the drive and select eject. It gives me an error message. Any help? or should I just take it back to wal-mart?

  • Thunderbird updated... now links wont open

    Links in emails worked prior to the update. (Chrome browser). If I log into the web based email (Gmail & Yahoo) the links still work just fine. Another new development, every time I close and reopen TB, I get the message: Do you want to allow the pro

  • Picture in a Comment on the LabVIEW Idea Exchange

    How do you post a picture in a Comment on the LabVIEW Idea Exchange? Richard Solved! Go to Solution.