Error in XSLT filter.

Hi All,
I have created some XSLT filters to display the XML file as the HTML. It was working fine before. but suddenly there's an error.
After applying the XSLT filter to the content. When i clicked on the content to see the output it is throwing    " 500 INTERNAL SERVER ERROR -- Contact System Administrator ".
I tried to find the error in the log :   Below is the log for the same::
Error##Plain###Cannot instantiate user <anonymous>#
#1.5#0011254E4B6500460000001F00001C0800044066D387C4F6#1196710286640#com.sapportals.wcm.WcmException#sap.com/irj#com.sapportals.wcm.WcmException.WcmException(118)#IntranetApprover#35##idbportst_TST_3777850#IntranetApprover#01477b00a1d511dc8c660011254e4b65#SAPEngine_Application_Thread[impl:3]_11##0#0#Error##Plain###Error downloading from URL: wcm://etc/filter/idbfilters/author.xsl, No user in context com.sapportals.wcm.util.urlcontentaccess.URLContentAccessException: Error downloading from URL: wcm://etc/filter/idbfilters/author.xsl, No user in context
     at com.sapportals.wcm.util.urlcontentaccess.URLContentAccess.readContent(URLContentAccess.java:263)
     at com.sapportals.wcm.util.urlcontentaccess.URLContentAccess.readContent(URLContentAccess.java:281)
     at com.sapportals.wcm.service.pipeline.producer.ProducerFromUrl.getData(ProducerFromUrl.java:54)
     at com.sapportals.wcm.service.pipeline.processor.XSLTProcessor.process(XSLTProcessor.java:141)
     at com.sapportals.wcm.service.pipeline.Pipeline.handle(Pipeline.java:269)
     at com.sapportals.wcm.service.pipeline.XSLTPipeline.handle(XSLTPipeline.java:118)
     at com.sapportals.wcm.service.pipeline.XSLTPipeline.handle(XSLTPipeline.java:134)
     at com.sapportals.wcm.repository.filter.xslt.XsltFilter.getContent(XsltFilter.java:150)
     at com.sapportals.wcm.repository.filter.xslt.XsltFilter.getInputStream(XsltFilter.java:90)
     at com.sapportals.wcm.repository.runtime.CmFilterHandler$VaryingContentWrapper1.getInputStream(CmFilterHandler.java:1050)
     at com.sapportals.wcm.repository.ContentImpl.getInputStream(ContentImpl.java:113)
     at com.sapportals.wcm.repository.ContentImpl.getInputStream(ContentImpl.java:132)
     at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.internalHandle(WDGetHandler.java:364)
     at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.handle(WDGetHandler.java:253)
     at com.sapportals.wcm.protocol.webdav.server.WDServlet.doGet(WDServlet.java:777)
     at com.sapportals.wcm.protocol.webdav.server.WDServlet.service(WDServlet.java:458)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:331)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at
can anyone please help me in this regard, it is very urgent.
Thanks in advance,
Kavitha.

unaswered

Similar Messages

  • Problem in working with xslt filter

    Hi All,
    I have created some XSLT filters to display the XML file as the HTML. It was working fine before. but suddenly there's an error.
    After applying the XSLT filter to the content. When i clicked on the content to see the output it is throwing " 500 INTERNAL SERVER ERROR -- Contact System Administrator ".
    I tried to find the error in the log : Below is the log for the same::
    Error##Plain###Cannot instantiate user <anonymous>#
    #1.5#0011254E4B6500460000001F00001C0800044066D387C4F6#1196710286640#com.sapportals.wcm.WcmException#sap.com/irj#com.sapportals.wcm.WcmException.WcmException(118)#IntranetApprover#35##idbportst_TST_3777850#IntranetApprover#01477b00a1d511dc8c660011254e4b65#SAPEngine_Application_Threadimpl:3_11##0#0#Error##Plain###Error downloading from URL: wcm://etc/filter/idbfilters/author.xsl, No user in context com.sapportals.wcm.util.urlcontentaccess.URLContentAccessException: Error downloading from URL: wcm://etc/filter/idbfilters/author.xsl, No user in context
    at com.sapportals.wcm.util.urlcontentaccess.URLContentAccess.readContent(URLContentAccess.java:263)
    at com.sapportals.wcm.util.urlcontentaccess.URLContentAccess.readContent(URLContentAccess.java:281)
    at com.sapportals.wcm.service.pipeline.producer.ProducerFromUrl.getData(ProducerFromUrl.java:54)
    at com.sapportals.wcm.service.pipeline.processor.XSLTProcessor.process(XSLTProcessor.java:141)
    at com.sapportals.wcm.service.pipeline.Pipeline.handle(Pipeline.java:269)
    at com.sapportals.wcm.service.pipeline.XSLTPipeline.handle(XSLTPipeline.java:118)
    at com.sapportals.wcm.service.pipeline.XSLTPipeline.handle(XSLTPipeline.java:134)
    at com.sapportals.wcm.repository.filter.xslt.XsltFilter.getContent(XsltFilter.java:150)
    at com.sapportals.wcm.repository.filter.xslt.XsltFilter.getInputStream(XsltFilter.java:90)
    at com.sapportals.wcm.repository.runtime.CmFilterHandler$VaryingContentWrapper1.getInputStream(CmFilterHandler.java:1050)
    at com.sapportals.wcm.repository.ContentImpl.getInputStream(ContentImpl.java:113)
    at com.sapportals.wcm.repository.ContentImpl.getInputStream(ContentImpl.java:132)
    at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.internalHandle(WDGetHandler.java:364)
    at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.handle(WDGetHandler.java:253)
    at com.sapportals.wcm.protocol.webdav.server.WDServlet.doGet(WDServlet.java:777)
    at com.sapportals.wcm.protocol.webdav.server.WDServlet.service(WDServlet.java:458)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:331)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    can anyone please help me in this regard, it is very urgent.
    Thanks in advance,
    Kavitha.

    unaswered

  • Problem inworking of the  XSLT filter

    Hi All,
    I have created some XSLT filters to display the XML file as the HTML. It was working fine before. but suddenly there's an error.
    After applying the XSLT filter to the content. When i clicked on the content to see the output it is throwing " 500 INTERNAL SERVER ERROR -- Contact System Administrator ".
    I tried to find the error in the log : Below is the log for the same::
    Error##Plain###Cannot instantiate user <anonymous>#
    #1.5#0011254E4B6500460000001F00001C0800044066D387C4F6#1196710286640#com.sapportals.wcm.WcmException#sap.com/irj#com.sapportals.wcm.WcmException.WcmException(118)#IntranetApprover#35##idbportst_TST_3777850#IntranetApprover#01477b00a1d511dc8c660011254e4b65#SAPEngine_Application_Threadimpl:3_11##0#0#Error##Plain###Error downloading from URL: wcm://etc/filter/idbfilters/author.xsl, No user in context com.sapportals.wcm.util.urlcontentaccess.URLContentAccessException: Error downloading from URL: wcm://etc/filter/idbfilters/author.xsl, No user in context
    at com.sapportals.wcm.util.urlcontentaccess.URLContentAccess.readContent(URLContentAccess.java:263)
    at com.sapportals.wcm.util.urlcontentaccess.URLContentAccess.readContent(URLContentAccess.java:281)
    at com.sapportals.wcm.service.pipeline.producer.ProducerFromUrl.getData(ProducerFromUrl.java:54)
    at com.sapportals.wcm.service.pipeline.processor.XSLTProcessor.process(XSLTProcessor.java:141)
    at com.sapportals.wcm.service.pipeline.Pipeline.handle(Pipeline.java:269)
    at com.sapportals.wcm.service.pipeline.XSLTPipeline.handle(XSLTPipeline.java:118)
    at com.sapportals.wcm.service.pipeline.XSLTPipeline.handle(XSLTPipeline.java:134)
    at com.sapportals.wcm.repository.filter.xslt.XsltFilter.getContent(XsltFilter.java:150)
    at com.sapportals.wcm.repository.filter.xslt.XsltFilter.getInputStream(XsltFilter.java:90)
    at com.sapportals.wcm.repository.runtime.CmFilterHandler$VaryingContentWrapper1.getInputStream(CmFilterHandler.java:1050)
    at com.sapportals.wcm.repository.ContentImpl.getInputStream(ContentImpl.java:113)
    at com.sapportals.wcm.repository.ContentImpl.getInputStream(ContentImpl.java:132)
    at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.internalHandle(WDGetHandler.java:364)
    at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.handle(WDGetHandler.java:253)
    at com.sapportals.wcm.protocol.webdav.server.WDServlet.doGet(WDServlet.java:777)
    at com.sapportals.wcm.protocol.webdav.server.WDServlet.service(WDServlet.java:458)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:331)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    can anyone please help me in this regard, it is very urgent.
    Thanks in advance,
    Kavitha.

    unanswered

  • XML and XSLT Filter Application

    I have a problem with an XSLT filter in EP6 SP2 exact version :
    6.0.2.5.4_ContentManagement_Collaboration
    6.0.2.5.0.Enterprise_Portal_Service_Pack_2
    I have defined an XSL stylesheet as follows in KM Config
    Configuration --> Content Management --> Repository Filters --> XSLT Filter
    name : local_fxrates_xslfilter
    Extensions 
    Formatter 
    MIME Type       text/html
    MIME Types 
    Paths            /webcontent/xml/exchange.xml
    Resource Type 
    Stylesheet       wcm://etc/filter/xsl/exchrates.xsl
    Active       yes
    Priority     1 
    Repositories       feeds
    I have another process that retrieves the appropriate exchange.xml file from a remote source and places it in the
    directory above.  The feeds repository is an fsdb not that it should make any difference.  Now I have a bog standard iview
    thats based on the com.sap.km.cm.docs pointing at the appropriate xml file - the path is the same as above.  This iview
    exists on a page that has a number of other iviews.
    The problem is that periodically I get a server 500 error - a browser refresh ALWAYS makes the problem dissapear and the
    content is then displayed in the correct manner.  This is not an isolated case, any iview I create based on the same
    master and using an XSLT filter to transform some XML content displayes the same behaviour.  To test this I have disabled the XSLT filter and the iview always displays the XML -- all the time everytime leading me to believe that its something to do with the application of the filter ?
    Has anyone else come across this issue before and can point me in the right direction.
    Thanks
    Haydn

    Having been right around the houses now - im confident that both the XSL file and indeed the XML file are correctly constructed and under normal conditions work fine.
    The problem appears to be the CM repository (FSDB mode) being used.  It appears that once an XML file has been changed in the filesystem for whatever reason the first read ALWAYS results in a 500 being thrown.  Subsequent reads are 100% successful until the file is updated again - then the same process begins again. 
    What is even stranger is that if I create a brand new file in the directory (not in portal ui but direct in the FS) I cannot see it in the repository.  BUT if I construct a url to access it in a fresh browser window (which btw works fine) then a refresh of the KM explorer then shows the file - weird huh ?  Of course any actions that occur using the portal UI are also 100% successful.
    If I dont use a CM repository and just use a plain ordinary file system repository - it works faultlessly.
    Haydn

  • Getting "Error in sieve filter" message with each incoming mail and cannot recieve or send mail to or from iCloud account apart from Apple emails!! Please help!

    Since approx 7am GMT I've been getting "Error in sieve filter" message with each incoming mail, worse though, since about 12 noon I cannot recieve or send mail to or from my iCloud account apart from I've been getting  emails from Apple (ie I've just received a welcome one from Apple Support Communities...)!! I've had this account for years, never had a problem - it can't be the OSX Mail server because the problem is the same when I log directly into iCloud. I've tried sending emails from my Hotmail account to my iCloud account (a .mac) and just get undeliverable messages back. I'm really in the s**t now at work. : (  I just set up a Smart TV yesterday with a wireless dongle - that's the only thing I've done out of the ordinary. I've spoken to Sky who are my ISP and they say all's fine with them (although the router kept kicking my off the internet this morning which was strange...). Router seems fine now though.  I'm really hoping someone here can help!!
    Many thanks!!

    Do you think once Apple sort this out I'll get my missing emails back?

  • Reason: Error in sieve filter: Unknown function/variable found: church around input line 79 [ stop; } require " f^ileinto"; if header ]

    My wife's email has been getting filled with hundereds of emails with this in them this morning. I don't see where anyone else is having this problem today, but I wanted to see if it's on iCloud's end or ours.
    Processing errors occurred during delivery:
    Recipient address: [email protected]
    Reason: Error in sieve filter: Unknown function/variable found: church around input line 79 [ stop; } require " f^ileinto"; if header ]
    Delivery processing continued in spite of these errors.
    Reporting-MTA: dns;ms21034.mac.com (tcp_intranet-daemon)
    Arrival-date: Tue, 13 Mar 2012 07:33:18 +0000 (GMT)

    My Wife and I both have an Ipad and an iPhone, I use an iMac and my wife a MacBook Pro.
    I have this problem with all my devices.
    My wife has NOT got this problem.
    We both use a [email protected] email acount.
    Just compared the settings:
    For "Incoming server" I have p03-imap.mail.me.com
    My Wife has p02-imap.mail.me.com .... and has not got this problem.
    I have setup a new rule for incoming mails (for the meantime):
    move all incoming emails from [email protected] to trash and delete it.
    Works fine for now,......until APPLE deals with the problem.
    Message was edited by: RTONLINE

  • Mail Error: Reason: Error in sieve filter

    Hello,
    Yesterday I started to receive this strange email error for every message that I send from one of my iCloud accounts (all others seem to be functioning fine).  Does anyone have any idea what might be happening?  I have done a search and nothing really comes up.  I think the system is suggesting that the @me.com account is not valid, but it clearly is.
    Many thanks!
    ERROR MESSAGE
    Message-id:
      <5D56EF844AC57D49989CB3CE9DB70D8B0B34679C@EX14MBX1A.>
    Date: Thu, 07 Mar 2013 08:40:38 +0000
    From:
    To: [email protected]>
    Subject: RE: Re:
    Processing errors occurred during delivery:
    Recipient address: [email protected]
    Reason: Error in sieve filter: Notify mailto: recipient is not a valid address
    Delivery processing continued in spite of these errors.
    Reporting-MTA: dns;ms03531.mac.com (tcp_intranet-daemon)
    Arrival-date: Thu, 07 Mar 2013 08:40:40 +0000 (GMT)
    Original-recipient: rfc822;[email protected]
    Final-recipient: rfc822;[email protected]
    Action: delivered
    Status: 2.0.0
    (Error in sieve filter: Notify mailto: recipient is not a valid address)

    Hello,
    I've the same problem since this morning.
    I read on other topic posted that it's a know problem.
    Florian

  • XSQL/XSL help (iPlanet): Error processing XSLT stylesheet

    hello-
    i am running XSQL and XSL pages on an iPlanet web server and i am receiving the following error:
    XSQL-011: Error processing XSLT stylesheet: /xslt/page/xsl_page.xsl
    XSL-1002: Error while processing include XSL file (\xslt\util\other_xsl.xsl (The system cannot find the path specified)).
    here's the deal: other_xsl.xsl (the one it says it can't find) is there in the right place, but the web server is not looking from the document root (which IS set correctly on the web server). it is looking for the file starting at the current directory.
    for example, the server is processing /xslt/page/xsl_page.xsl. it is then looking for the include file using this path: /xslt/page/XSLT/UTIL/other_xsl.xsl --- instead of the correct /xslt/util/other_xsl.xsl.
    the include statement uses the full path starting from the web root (<xsl:include href="/xslt/util/other_xsl.xsl"/>)
    any help would be appreciated.

    thanks for the response. the /xslt/util directory is browsable by the web server, and using relative paths does work (that is one of the ways i discovered what was going on in the first place), but i am rebuilding a machine and redeploying an exisiting application-- the intention is to not re-write any code.
    the part that is most confusing is that the current code/directory structure works on the current box, but not on my rebuilt box. i have gone through every config file with a fine tooth comb. it appears that the current box and my build are set up exactly the same-- but, like i said, on one it reads the include-path from the document root, on the other from the current directory.
    so confusing.

  • E-mail PROBLEM:  I get this: Reason: Error in sieve filter: Too many notifys specified

    I am using a MacBook Pro and an iPhone.  I always had success in getting e-mails pushed to the phone.  Suddenly, every time I receive an e-mail, I get another one from the postmaster saying: Reason: Error in sieve filter: Too many notifys specified.
    I do receive the e-mail simultaneously.
    However, I no longer get any e-mails pushed to my iPhone.
    Anybody have any suggestions?
    Thanks!
    Rob

    Having the same issue. Started this morning. There is something at the end about Proofpoint virus protection. Not just one email. Several. They all have this at the end. Several emails from the county where I live. Got the messages but also this. Anyone know about this?
    Apparently, I got an email from my mail order prescription service at my .mac address, but didn't get it. This is what it says at the end:
    Message-id: <[email protected]>
    MIME-version: 1.0
    X-Proofpoint-Virus-Version: vendor=fsecure
    engine=2.50.10432:5.9.8327,1.0.431,0.0.0000
    definitions=2013-03-07_01:2013-03-07,2013-03-06,1970-01-01 signatures=0
    X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0
    ipscore=0 suspectscore=3 phishscore=0 bulkscore=0 adultscore=0 classifier=spam
    adjust=0 reason=mlx scancount=1 engine=6.0.2-1302030000
    definitions=main-1303070066
    X-Name-Header: [BOB] EXP Order Receipt
    X-Name-Body: [BOB] EXP Order Conf Postal
    X-Name-Footnote: [BOB] Web Footnotes
    X-Name-Footer: [BOB] EXP Footer 2
    X-Name-Cobrand: BOB
    X-Name-BrandId: 00
    X-Proofpoint-Virus-Version: vendor=fsecure
    engine=2.50.10432:5.9.8327,1.0.431,0.0.0000
    definitions=2013-03-07_01:2013-03-07,2013-03-06,1970-01-01 signatures=0
    Then another from my son's BS troop:
    Reply-to: Troop 859 EBlast
    Message-id: <[email protected]>
    MIME-version: 1.0
    X-Proofpoint-Virus-Version: vendor=fsecure
    engine=2.50.10432:5.9.8327,1.0.431,0.0.0000
    definitions=2013-03-07_01:2013-03-07,2013-03-06,1970-01-01 signatures=0
    X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0
    ipscore=0 suspectscore=10 phishscore=0 bulkscore=0 adultscore=0
    classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1302030000
    definitions=main-1303070051

  • Error connecting YV12 filter

    When using a Hauppauge WinTV PVR PCI II Capture card as
    input, I get the error
    Error connecting YV12 filter
    Any Sugesstions?

    Same here, experiencing this very same error with a Pinnacle
    DCxx MJPEG capture filter. Additionally, I can only see the output
    video and not the input video (though I've solved this problem by
    splitting the signal and sending it to another device at the same
    time)
    This is an old thread, but I see nothing about a solution
    here so I figured I'd revive the issue and hope for some reaction
    from Adobe :)

  • Email. Problem during delivery processing Reason: Error in sieve filter: Notify mailto:recipient is not a valid address

    Hi All, since 6:52 Uk time I have received email notifications for all emails that I have received.
    The email notification is 'Problem during delivery processing'
    The reason given 'Error in sieve filter: Notify mailto:recipient is not a valid address'
    Then 'Delivery processing continued in spite of errors'
    So Im getting all email, but a notifictions for all of them. Is this happenring to anyone else. Is it a known issue? Any help greatfully recived.
    Many thanks.

    Having the same issue. Started this morning. There is something at the end about Proofpoint virus protection. Not just one email. Several. They all have this at the end. Several emails from the county where I live. Got the messages but also this. Anyone know about this?
    Apparently, I got an email from my mail order prescription service at my .mac address, but didn't get it. This is what it says at the end:
    Message-id: <[email protected]>
    MIME-version: 1.0
    X-Proofpoint-Virus-Version: vendor=fsecure
    engine=2.50.10432:5.9.8327,1.0.431,0.0.0000
    definitions=2013-03-07_01:2013-03-07,2013-03-06,1970-01-01 signatures=0
    X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0
    ipscore=0 suspectscore=3 phishscore=0 bulkscore=0 adultscore=0 classifier=spam
    adjust=0 reason=mlx scancount=1 engine=6.0.2-1302030000
    definitions=main-1303070066
    X-Name-Header: [BOB] EXP Order Receipt
    X-Name-Body: [BOB] EXP Order Conf Postal
    X-Name-Footnote: [BOB] Web Footnotes
    X-Name-Footer: [BOB] EXP Footer 2
    X-Name-Cobrand: BOB
    X-Name-BrandId: 00
    X-Proofpoint-Virus-Version: vendor=fsecure
    engine=2.50.10432:5.9.8327,1.0.431,0.0.0000
    definitions=2013-03-07_01:2013-03-07,2013-03-06,1970-01-01 signatures=0
    Then another from my son's BS troop:
    Reply-to: Troop 859 EBlast
    Message-id: <[email protected]>
    MIME-version: 1.0
    X-Proofpoint-Virus-Version: vendor=fsecure
    engine=2.50.10432:5.9.8327,1.0.431,0.0.0000
    definitions=2013-03-07_01:2013-03-07,2013-03-06,1970-01-01 signatures=0
    X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0
    ipscore=0 suspectscore=10 phishscore=0 bulkscore=0 adultscore=0
    classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1302030000
    definitions=main-1303070051

  • Error getting the filter from filter factory

    I created a Service which will filter the iviews on some attributes. I deployed the service on the portal and set the com.sap.portal.pcd.gl.FilterAssignment property to the ServiceKey name on the Page.
    1. When I open the Page, log shows the error:
    "Error getting the filter from filter factory"
    2. I created another servce and when I assigned it to com.sap.portal.pcd.gl.FilterAssignment property, portal still referes the first ServiceKey assigned in Step-I.
    Pls let me know what am I doing wrong.
    Rgds

    Got the bug...Issue closed

  • Error while creating filter using BD59 and BD64

    Hi Friends-
    While creating filters for HRMD_A  message type  using BD59 i have added one field  stat2 for segment
    E1P0000    and its coming also in  BD64  while creating filter group  but when i double click on it to give value to it  it  gives me error    '  Inconsistency in  ' .
    what could be the reason  pls let me know ?
    Regards
    Meeta

    Hi,
    Try to distribute the model view in BD64 ( Edit->ModelView->Distribute).  you can check for technical inconsistencies for message type in Transaction BDM5
    Regards,
    Vinod

  • Error using XSLt Transformation

    Hi,
    I am using a servlet to get some results from the web which will be a XML file pass it to a XSLT Processor to covert it into a html doc .The code is compiling but when I run the servlet,i am getting following error.
    Can anybody tell me how to solve it .its very urgent
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Servlet execution threw an exception
    root cause
    java.lang.NoSuchMethodError: org.apache.xerces.framework.XMLParser.setSendCharDataAsCharArray(Z)V
         org.apache.xalan.xpath.dtm.DTM.<init>(DTM.java:222)
         org.apache.xalan.xpath.dtm.DTMLiaison.parse(DTMLiaison.java:197)
         org.apache.xalan.xslt.XSLTEngineImpl.getSourceTreeFromInput(XSLTEngineImpl.java:838)
         org.apache.xalan.xslt.XSLTEngineImpl.process(XSLTEngineImpl.java:552)
         SearchServlet.doGet(SearchServlet.java:90)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.7 logs.
    Following is the code I am using
    // importing
    import java.net.*;
    import java.io.*;
    import java.net.URLEncoder;
    import java.util.Enumeration;
    import java.util.*;
    import java.net.MalformedURLException;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.servlet.http.HttpServletRequest.*;
    import javax.servlet.http.HttpServletResponse.*;
    import java.io.OutputStream;
    import org.xml.sax.InputSource;
    import org.apache.xalan.xslt.XSLTProcessorFactory;
    import org.apache.xalan.xslt.XSLTInputSource;
    import org.apache.xalan.xslt.XSLTResultTarget;
    import org.apache.xalan.xslt.XSLTProcessor;
    import org.apache.xml.serialize.BaseMarkupSerializer.*;
    import org.apache.xerces.xni.QName;
    import org.apache.xerces.xni.XMLAttributes;
    import org.apache.xerces.xni.XMLDocumentHandler;
    import org.apache.xerces.xni.XMLLocator;
    import org.apache.xerces.xni.XMLString;
    import org.apache.xerces.xni.XNIException;
    import org.apache.xerces.xni.XMLResourceIdentifier;
    import org.apache.xerces.xni.Augmentations;
    public class SearchServlet extends HttpServlet
    //Class SearchServlet
    //doGet Method
    public void doGet(HttpServletRequest request,HttpServletResponse response) throws
    IOException,ServletException,MalformedURLException
    //try
              try
    String resultHere=new PageRequestor().sendGETMessageThroughSocket();
    File testFile = new File("C:\\Program Files\\Apache Software Foundation\\Tomcat 5.5\\webapps\\MyApp\\WEB-INF\\classes\\hoz.xsl");
    ReadMyFile obj=new ReadMyFile();
    String xslResult=obj.getContents(testFile);
         OutputStream outcome=response.getOutputStream();
         String xmlSystemId = new File(resultHere).toURL().toExternalForm();
    String xsltSystemId = new File(xslResult).toURL().toExternalForm();
    XSLTProcessor processor =XSLTProcessorFactory.getProcessor();
         XSLTInputSource xmlInputSource =new      XSLTInputSource(xmlSystemId);
         XSLTInputSource xsltInputSource =new XSLTInputSource(xsltSystemId);
         XSLTResultTarget resultTree =new XSLTResultTarget(outcome);
    processor.process(xmlInputSource, xsltInputSource, resultTree);
              PrintWriter out=response.getWriter();
              response.setContentType("text/HTML");
              out.println("<html>");
              out.println("<title>SearchServlet</title>");
              out.println("<body>");
              out.println("<p>"+resultHere+"</p>");
              out.print("<p>"+"AFTER RESULT"+outcome+"</p>");
              out.println("</body>");     
              out.flush();
    //try end
              catch (Exception e)
    //catch
         e.printStackTrace();
    // catch end
    //doGet Method ends
    // class SearchServlet ends

    You will need Xalan (from xml.apache.org) for this to work properly, and to create an instance of TransformationException and ConfigurationException:
    static public void serialize(Document document, OutputStream target, boolean indent)
              throws IOException, ConfigurationException, TransformationException {
              try {
                   Transformer transformer = TransformerFactory.newInstance().newTransformer();
                   if (indent)
                        transformer.setOutputProperty(OutputKeys.INDENT, "yes");
                   transformer.transform(new DOMSource(document), new StreamResult(target));
              catch (TransformerConfigurationException configure) {
                   throw new ConfigurationException("Error instantiating XML transformer", configure);
              catch (TransformerException transform) {
                   /** @todo Need to write a generic transformation or serialization exception */
                   throw new TransformationException("Error transforming XML", transform);
         }- Saish

  • RUN Time error while use filter table in query generator

    Hai..
                   I have 2 Functions under "Scalar valued functions" in SQL Server,i try to call this functions in Query generator its working fine,result also display correctly, but i click filter table system showing  Error Message " Run Time Error,Abnormal program termination" then SAP is get closed,i tested this scenario in 3 Database am getting same error , Is this BUG in SAP B1?There is no error number in error message

    This is my function
    set ANSI_NULLS ON
    set QUOTED_IDENTIFIER ON
    go
    -- =============================================
    -- Author:          <Author,,Name>
    -- Create date: <Create Date, ,>
    -- Description:     <Description, ,>
    -- =============================================
    ALTER function [dbo].[Get_TransObjName](@Obj_type NUMERIC(20,5))
    returns varchar(500) as
    BEGIN
    DECLARE @Obj_type_Name varchar(100)
    select @Obj_type_Name =
    case @Obj_type
    when     -2     then     'Opening Balance'
    when     -3     then     'Closing Balance'
    when     1     then     'oChartOfAccounts'
    when     2     then     'oBusinessPartners'
    when     3     then     'oBanks'
    when     4     then     'oItems'
    when     5     then     'oVatGroups'
    when     6     then     'oPriceLists'
    when     7     then     'oSpecialPrices'
    when     8     then     'oItemProperties'
    when     12     then     'oUsers'
    when     13     then     'A/R Invoices'
    when     14     then     'A/R Credit Memo'
    when     15     then     'A/R DeliveryNotes'
    when     16     then     'A/R Returns'
    when     17     then     'oOrders'
    when     18     then     'A/P Invoice'
    when     19     then     'A/P Credit Memo'
    when     20     then     'Goods Receipt PO'
    when     21     then     'Goods Returns'
    when     22     then     'PurchaseOrders'
    when     23     then     'Quotations'
    when     24     then     'IncomingPayments'
    when     25     then     'Deposit'
    when     28     then     'oJournalVouchers'
    when     30     then     'JournalEntries'
    when     31     then     'oStockTakings'
    when     33     then     'oContacts'
    when     36     then     'oCreditCards'
    when     37     then     'oCurrencyCodes'
    when     40     then     'oPaymentTermsTypes'
    when     42     then     'oBankPages'
    when     43     then     'oManufacturers'
    when     46     then     'VendorPayments'
    when     48     then     'oLandedCostsCodes'
    when     49     then     'oShippingTypes'
    when     50     then     'oLengthMeasures'
    when     51     then     'oWeightMeasures'
    when     52     then     'oItemGroups'
    when     53     then     'oSalesPersons'
    when     56     then     'oCustomsGroups'
    when     57     then     'ChecksforPayment'
    when     58     then     'Stock List'
    when     59     then     'Goods Receipt'
    when     60     then     'Goods Issue'
    when     64     then     'oWarehouses'
    when     65     then     'oCommissionGroups'
    when     66     then     'oProductTrees'
    when     67     then     'Inventory Transfers'
    when     68     then     'oWorkOrders'
    when     69     then     'Landed Costs'
    when     70     then     'oCreditPaymentMethods'
    when     71     then     'oCreditCardPayments'
    when     73     then     'oAlternateCatNum'
    when     76     then     'Postdated Deposit'
    when     77     then     'oBudget'
    when     78     then     'oBudgetDistribution'
    when     81     then     'oMessages'
    when     91     then     'oBudgetScenarios'
    when     97     then     'oSalesOpportunities'
    when     93     then     'oUserDefaultGroups'
    when     101     then     'oSalesStages'
    when     103     then     'oActivityTypes'
    when     104     then     'oActivityLocations'
    when     112     then     'oDrafts'
    when     116     then     'oDeductionTaxHierarchies'
    when     117     then     'oDeductionTaxGroups'
    when     125     then     'oAdditionalExpenses'
    when     126     then     'oSalesTaxAuthorities'
    when     127     then     'oSalesTaxAuthoritiesTypes'
    when     128     then     'oSalesTaxCodes'
    when     134     then     'oQueryCategories'
    when     138     then     'oFactoringIndicators'
    when     140     then     'oPaymentsDrafts'
    when     142     then     'oAccountSegmentations'
    when     143     then     'oAccountSegmentationCategories'
    when     144     then     'oWarehouseLocations'
    when     145     then     'oForms1099'
    when     146     then     'oInventoryCycles'
    when     147     then     'oWizardPaymentMethods'
    when     150     then     'oBPPriorities'
    when     151     then     'oDunningLetters'
    when     152     then     'oUserFields'
    when     153     then     'oUserTables'
    when     156     then     'oPickLists'
    when     158     then     'oPaymentRunExport'
    when     160     then     'oUserQueries'
    when     162     then     'Inventory Valuation'
    when     163     then     'oCorrectionPurchaseInvoice'
    when     164     then     'oCorrectionPurchaseInvoiceReversal'
    when     165     then     'oCorrectionInvoice'
    when     166     then     'oCorrectionInvoiceReversal'
    when     170     then     'oContractTemplates'
    when     171     then     'oEmployeesInfo'
    when     176     then     'oCustomerEquipmentCards'
    when     178     then     'oWithholdingTaxCodes'
    when     182     then     'oBillOfExchangeTransactions'
    when     189     then     'oKnowledgeBaseSolutions'
    when     190     then     'oServiceContracts'
    when     191     then     'oServiceCalls'
    when     193     then     'oUserKeys'
    when     194     then     'oQueue'
    when     198     then     'oSalesForecast'
    when     200     then     'oTerritories'
    when     201     then     'oIndustries'
    when     202     then     'oProductionOrders'
    when     203     then    'A/R Down Payment'
    when     204     then    'A/P Down Payment'
    when     205     then     'oPackagesTypes'
    when     206     then     'oUserObjectsMD'
    when     211     then     'oTeams'
    when     212     then     'oRelationships'
    when     214     then     'oUserPermissionTree'
    when     217     then     'oActivityStatus'
    when     218     then     'oChooseFromList'
    when     219     then     'oFormattedSearches'
    when     221     then     'oAttachments2'
    when     223     then     'oUserLanguages'
    when     224     then     'oMultiLanguageTranslations'
    when     229     then     'oDynamicSystemStrings'
    when     231     then     'oHouseBankAccounts'
    when     247     then     'oBusinessPlaces'
    when     250     then     'oLocalEra'
    when     280     then     'oSalesTaxInvoice'
    when     281     then     'oPurchaseTaxInvoice'
    when     300     then     'BoRecordset'
    when     305     then     'BoBridge'
    when     260     then     'oNotaFiscalUsage'
    when     258     then     'oNotaFiscalCFOP'
    when     259     then     'oNotaFiscalCST'
    when     261     then     'oClosingDateProcedure'
    when     10     then     'oBusinessPartnerGroups'
    when     278     then     'oBPFiscalRegistryID'
    else cast(@Obj_type as char(20)) end
    return @Obj_type_Name
    END

Maybe you are looking for

  • Why doesn't my back button work?

    When I use Firefox, my "back" and "forward" buttons are faded out and inoperable. What do I do to fix this?

  • Can't install boot camp

    Hey I am trying to install windows on my mac with the help of boot camp assistent. But when i try to partion my harddisk i cant, and my computer writes this "The disk can't be partioned because some archives cant be moved". Can anybody help in what t

  • Using external display

    Right now I have an iBook G4, but next month when leopard comes out I am thinking about upgrading to the macBook Pro. I want to use my 23 inch LCD tv as an external monitor, and I am wonderring what the best way to do this would be. I am planning on

  • Joining Procurement team:Hints?: datasources, reports, data flow, processes

    Hi Experts. I am getting ready to join our Procurement team  as the BI developer and I will appreciate any hints to help on this project.: 1. What are the procument related datasources? 2. What type of reports are desired here? 3. What is the typical

  • Installing SATA

    Just looking for some clarity/guidance. I'm just doing another fresh install of winXP and reading through the forums I'm wondering if it had been setup correctly before. I have 3 HD's.. 1 WD Raptor (SATA) as the OS drive 2 Maxtor drives connected thr