ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How do i refer to files inside a bar file

Post new topic  Reply to topic
 How do i refer to files inside a bar file « View previous topic :: View next topic » 
Author Message
sridharratna
PostPosted: Fri Mar 20, 2015 2:33 am    Post subject: How do i refer to files inside a bar file Reply with quote

Newbie

Joined: 18 Mar 2015
Posts: 4

I am trying to set the style sheet name dynamically using the localenvironment tree.
All the stylesheets are inside a folder called "stylesheets" and compute node using sql i am setting stylesheet name.

I tried the following but getting error
Code:

SET OutputLocalEnvironment.XSL.StyleSheetName='./stylesheets/BookStoreTrans.xsl';


Code:

RecoverableException
               File:CHARACTER:/build/slot1/S900_P/src/DataFlowEngine/PluginInterface/ImbJniNode.cpp
               Line:INTEGER:1304
               Function:CHARACTER:ImbJniNode::evaluate
               Type:CHARACTER:ComIbmXslMqsiNode
               Name:CHARACTER:com/ps/mw/xsl/BookstroreTrans_MF#FCMComposite_1_3
               Label:CHARACTER:com.ps.mw.xsl.BookstroreTrans_MF.XSL Transform
               Catalog:CHARACTER:BIPmsgs
               Severity:INTEGER:3
               Number:INTEGER:2230
               Text:CHARACTER:Caught exception and rethrowing
               Insert
                     Type:INTEGER:14
                     Text:CHARACTER:com.ps.mw.xsl.BookstroreTrans_MF.XSL Transform
               RecoverableException
                     File:CHARACTER:XMLTransformNode.java
                     Line:INTEGER:987
                     Function:CHARACTER:transformData
                     Type:CHARACTER:
                     Name:CHARACTER:
                     Label:CHARACTER:
                     Catalog:CHARACTER:BIPmsgs
                     Severity:INTEGER:3
                     Number:INTEGER:4446
                     Text:CHARACTER:Stylesheet does not exist
                     Insert
                           Type:INTEGER:5
                           Text:CHARACTER:XSL Transform
                     Insert
                           Type:INTEGER:5
                           Text:CHARACTER:./stylesheets/BookStoreTrans.xsl


but when i provided the full path like '/home/sri/stylesheets/BookStoretrans.xsl' it works fine.

Can any one let me know how to refer the xsl from stylesheets folder in bar file.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Mar 20, 2015 5:06 am    Post subject: Re: How do i refer to files inside a bar file Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

sridharratna wrote:
Can any one let me know how to refer the xsl from stylesheets folder in bar file.


You can't - they're not in the bar file. The bar file is just a container the deploy process uses. The sheets will be elsewhere: see here and here. What you've posted indicates that you think the sheets are deployed ("the bar file") but the fact they work when you quote an absolute path that doesn't seem to have a lot to do with the broker indicates they're not.

Pick a method, stick with that.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How do i refer to files inside a bar file
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.