FileNotFoundException in XMLProvider

I modified the SampleXML provider's URL property to point to "http://www.w3schools.com/xml/simple.xml" and have a xsl file under the defaults. I get this exception when i run the portal. I can open this url in the browser and it brings up the xml page.
03/24/2003 11:58:52:782 AM EST: Thread[Thread-270,5,main]
ERROR: Exception in HTMLFetcher:run()
java.io.FileNotFoundException: http://www.w3schools.com/xml/simple.xml
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:602)
at
sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLCon
nection.java:881)
at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:449)
03/24/2003 11:58:52:782 AM EST: Thread[Thread-270,5,main]M EST:
Thread[Thread-270,5,main]
ERROR: Exception in HTMLFetcher:run()
ERROR: URLScraperProvider.getContent(): fetcher did not finish! 03/24/2003 11:58:52:786 AM EST: Thread[Thread-269,5,main]
ERROR: XMLProvider.doTransform():Error in transforming xml.
; Line#: 1; Column#: -1
javax.xml.transform.TransformerException: Document root element is missing.
at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:660)
at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1118)
at
com.sun.portal.providers.xml.XMLProvider.doTransform(XMLProvider.java:216)
at
com.sun.portal.providers.xml.XMLProvider.getContent(XMLProvider.java:280)
at
com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.ja
va:145)
03/24/2003 11:58:52:788 AM EST: Thread[Thread-269,5,main]
ERROR: XMLProvider.getContent():Error in XML transformation.

Is the URL able to be resolved on the server where the portal is running? Does a proxy need to be configured?

Similar Messages

  • XMLProvider ?

    I have this URL set in the SampleXML channel for the xml feed.
    http://api.yellowbrix.com/api/?service=headlines&id=apidemo&method=xml&password=4l5s3oru&category=AP+Top+Headlines
    I could able to resolve this in my browser, in PS machine (using netscape) and wget utility. Gateway and DNS settings looks ok. I tried replacing all special characters in the URL with appripriate escape codes. I get a FileNotFoundException as follows:
    Any suggestions please.
    04/08/2003 05:06:59:339 PM EDT: Thread[Thread-2406,5,main]
    ERROR: Exception in HTMLFetcher:run()
    java.io.FileNotFoundException: http://api.yellowbrix.com/api/?service=headlines%
    26id=apidemo%26method=xml%26password=4l5s3oru%26category=AP+Top+Headlines
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
    nection.java:602)
    at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLCon
    nection.java:881)
    at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:449)
    at java.net.URLConnection.getContentLength(URLConnection.java:361)
    at com.sun.portal.providers.urlscraper.HTMLFetcher.run(HTMLFetcher.java:
    199)
    04/08/2003 05:06:59:340 PM EDT: Thread[Thread-2404,5,main]
    ERROR: URLScraperProvider.getContent(): fetcher did not finish!
    04/08/2003 05:06:59:437 PM EDT: Thread[Thread-2404,5,main]
    ERROR: XMLProvider.doTransform():Error in transforming xml.
    ; Line#: 1; Column#: -1
    javax.xml.transform.TransformerException: Document root element is missing.
    at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp
    l.java:660)
    at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp
    l.java:1118)
    at com.sun.portal.providers.xml.XMLProvider.doTransform(XMLProvider.java
    :216)
    at com.sun.portal.providers.xml.XMLProvider.getContent(XMLProvider.java:
    280)
    at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusablePro
    viderCaller.java:145)
    04/08/2003 05:06:59:438 PM EDT: Thread[Thread-2404,5,main]
    ERROR: XMLProvider.getContent():Error in XML transformation.

    Is the URL able to be resolved on the server where the portal is running? Does a proxy need to be configured?

  • HTTP support for XML feed in XMLProvider ??

    Im trying to customize a XMLProvider with HTTP url for the XML feed in the display profile. I get a FileNotFoundException while running the portal and "Error getting conent" is diaplayed in the channel.
    It works fine when i download it and give the path of the file in the url element. Can I use http in the url element ?? Any suggestions please.
    Sunil.

    same problem, scheme "file" is working, path in the filesystem is working, and "http" don't work ( same xml content in the 3 cases).
    I see with truss that the web server answer ok with 200 so the GET seems to work...
    I have copied the xml content in the portal web server, and same behaviour.
    Is there a workaround ?
    thanks
    Michel

  • System.IO.FileNotFoundException: The Web application at ..not found - when getting document versions in a doc lib

    i have created a    asmx file using vs 2012 4.5 framework, and published to my d:\  drive  and mapped to a  iis  web site
    but when i trued to consume this from a another web appln, it throws me the below error:
     System.IO.FileNotFoundException: The Web application at http://srvr:4000/sites/mysitecollec could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a
    new request URL mapping to the intended application.
       at Microsoft.SharePoint.SPSite.LookupSiteInfo(SPFarm farm, Boolean contextSite, Boolean swapSchemeForPathBasedSites, Uri& requestUri, Boolean& lookupRequiredContext, Guid& applicationId, Guid& contentDatabaseId, Guid& siteId,
    Guid& siteSubscriptionId, SPUrlZone& zone, String& serverRelativeUrl, Boolean& hostHeaderIsSiteName, Boolean& appWebRequest, String& appHostHeaderRedirectDomain, String& appSiteDomainPrefix, String& subscriptionName, String&
    appSiteDomainId, Uri& primaryUri)
       at Microsoft.SharePoint.SPSite..ctor(SPFarm farm, Uri requestUri, Boolean contextSite, Boolean swapSchemeForPathBasedSites, SPUserToken userToken)
       at Microsoft.SharePoint.SPSite..ctor(SPFarm farm, Uri requestUri, Boolean contextSite, SPUserToken userToken)
       at Microsoft.SharePoint.SPSite..ctor(String requestUrl)
       at FetchlatestDocDet6Jan.FetchLatestDoc6Jan.<>c__DisplayClass1.<FetchLatestDocVer>b__0() in d:\PublishWSFetchLatestDoc6Jan.asmx.cs:line 41
       at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass5.<RunWithElevatedPrivileges>b__3()
       at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
       at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
       at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
       at FetchlatestDocDet6Jan.FetchLatestDoc6Jan.FetchLatestDocVer(String fileName, String processID, String subProcessId) in d:\PublishedWS\FetchLatestDoc6Jan.asmx.cs:line 35
    [WebMethod]
            public DataTable FetchLatestDocVer(string fileName,string processID,string subProcessId)
                DataTable dtFiles = new DataTable("File Details");
                dtFiles.Columns.Add("File Name");
                dtFiles.Columns.Add("File Version");
                dtFiles.Columns.Add("File Url");
                SPSecurity.RunWithElevatedPrivileges(delegate()
                    // implementation details omitted       
                //using (SPSite mySite = new SPSite(siteUrl))
                using (SPSite mySite = new SPSite("http://srvr:4000/sites/mysitecoll"))
                    using (SPWeb myWeb = mySite.OpenWeb())
                        SPList oList = myWeb.Lists["TEST DOC LIB "];
                        SPView oView = oList.Views["All Documents"];                  // SPQuery oQuery = new SPQuery(oView);
                        SPQuery oQuery = new SPQuery();
                        string query = "<Query><Where><And><Eq><FieldRef Name=Title/>" + "<Value Type=Text>" + fileName + "</Value></Eq>"
                                        +"<Eq><FieldRef Name=ProcessID /><Value Type=Text>"+processID+"</Value></Eq>"
                                        +"<Eq><FieldRef Name=SubProcessID /><Value Type=Text>"+subProcessId+"</Value></Eq>"
                                        +"</And></Where></Query>";
                        oQuery.Query = query;                    
                        oQuery.ViewAttributes = "Scope=\"Recursive\"";
                        SPListItemCollection collListItemsAvailable =
                         oList.GetItems(oQuery);
                        foreach (SPListItem oListItemAvailable in collListItemsAvailable)
                           // Console.WriteLine(oListItemAvailable["Name"].ToString());
                            SPFileVersionCollection versions = oListItemAvailable.File.Versions;
                            // If the file has versions, loop through all of the versions
                            if (versions != null)
                                if (versions.Count > 0)
                                    foreach (SPFileVersion version in versions)
                                     //   Console.WriteLine("Version Info:: {0}, {1}", version.VersionLabel, version.Url);
                                        DataRow dr = dtFiles.NewRow();
                                        dr[0] = oListItemAvailable["Name"].ToString();
                                    //Added data to the datatable
                                else
                                  //  Console.WriteLine("Version Info:: {0}, {1}", oListItemAvailable.File.UIVersionLabel, oListItemAvailable.File.Url);
                                    DataRow dr = dtFiles.NewRow();
                                    dr[0] = oListItemAvailable["Name"].ToString();
                                    dr[1] = oListItemAvailable.File.UIVersionLabel;
                                    dr[2] = oListItemAvailable.File.Url;
                                    dtFiles.Rows.Add(dr);
                return dtFiles;

    "The Web application at http://server:port/ could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing
    content, the system administrator may need to add a new request URL mapping to the intended application"
    Here are the most common reasons this error can occur:
    The code is executed on a different machine - The SharePoint object model (except the Client API) requires to be run on the SharePoint server itself. It is not possible to run the application on a server which is not within the same
    SharePoint farm the code is trying to access.
    Insufficient Rights on the site collection - The code is executed in context of an account which does not have read permission on the site collection
    Incorrect Url being used - Verify that the site works correct in a browser and double check that the server is correct registered in the AAM settings
    Incorrect bitness - The SharePoint object model needs to be executed with the same bitness as the operating system. That means you cannot use the SharePoint object model in a 32-bit application if the Operating System and SharePoint
    are installed as 64-bit version. Ensure to compile the project using the correct bitness (64-bit on a 64-bit machine vs. 32-bit on a 32-bit machine)
    Incorrect .NET framework version -  Ensure that the project is configured to use .NET 3.5. .NET 4.0 cannot be used with the current versions of SharePoint
    from Mr.Stefan's post, i have checked with my code : as per the first reason: (1)
    i am running the code from my  SP 2013 machine only. but the only difference is that, i am using a  asp.net web appln and have added a SP references of 15 hive and trying to make a  lists.asmx file.
    also checked the reasons
    2,3 ,4 ,5 all are  fine from my end.
    here just wanna know: abt the below approach : whether its Correct or NOT.
    create a plain GetDocsWebService.asmx file from asp.net 3.5 framework and  write the code for retrieving items from doc.lib using SPSite, spweb, splists, xmldocument and retrieve a datatable . [[[ i have added a web reference of sp 2013 microsoft.sharepoint
    dll from  isapi folder, in this GetDocsWebService.asmx project ]]
    i deployed this web service on my SP server's  new iis site, c:\inetpub\wwwroot\GETDOCSPUBLISH  site
    now, at present , am adding a  normal asp.net 4.5 web appln and add the  web reference of this custom web service and trying to consume.
    at this point am getting mulitpl errors: like
    1) platform not supported : am stuck with this error!!
    2) sometimes, am getting document not valid...<html> <head> document not valid........</html>
    for the above 2 errorrs, i still could not able to find a solution!!
    is it because, lists.asmx is not supported in sp 2013? we need to depend on rest-api/ecma/csom ?? 
    so my question is ,  what should be the correct ad most recommended approach  for reading doc lib/ splist  records/items from a  remote macihne.

  • PeopleSoft XML Publisher report error with java.io.FileNotFoundException

    Hi,
    I have created two reports using XML Publisher in Peoplesoft Financials. The two reports are not related and they were submitted for processing separately. The first report completes without any issues. The second report results in error with the following message:
    09.11.17 ..(CIS_POTRPT.XML_FILE.Step03) (PeopleCode)
    [012309_091118154][oracle.apps.xdo.template.FOProcessor][EXCEPTION] IOException is occurred in FOProcessor.setData(String) with 'files/cis_potrpt.xml'.
    [012309_091118500][oracle.apps.xdo.template.FOProcessor][EXCEPTION] java.io.FileNotFoundException: files/cis_potrpt.xml (A file or directory in the path name does not exist.)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java(Compiled Code))
         at java.io.FileInputStream.<init>(FileInputStream.java:89)
         at oracle.apps.xdo.template.FOProcessor.getInputStream(FOProcessor.java:1316)
         at oracle.apps.xdo.template.FOProcessor.getXMLInput(FOProcessor.java:1100)
         at oracle.apps.xdo.template.FOProcessor.setData(FOProcessor.java:372)
         at com.peoplesoft.pt.xmlpublisher.PTFOProcessor.generateOutput(PTFOProcessor.java:53)
    2009-01-23-09.11.18.000418 AePcdExecutePeopleCode [174] Exception logged: RC=100.
    Error generating report output: (235,2309) PSXP_RPTDEFNMANAGER.ReportDefn.OnExecute Name:ProcessReport PCPC:51552 Statement:1153
    Called from:CIS_POTRPT.XML_FILE.GBL.default.1900-01-01.Step03.OnExecute Statement:8
    2009-01-23-09.11.18.000617 DoStepActions [1797] Exception logged: RC=100.
    Process 598607 ABENDED at Step CIS_POTRPT.XML_FILE.Step03 (PeopleCode) -- RC = 24 (108,524)
    In the process monitor detail > view log/trace page, the xml file is accessible so the file was generated to a valid directory.
    The weird thing is I was able to run this report without any issues few weeks ago although another user also ran into same error. The PeopleCode step that has been identified is essentially same in the two reports. I checked the app server and the directory does exist as well as the xml files for the two reports. The problem does not occur in test environment, just in production. Any help would be appreciated.

    We encounter the same problem. Did you get the answer for this issue? Thanks in advance.

  • Report Script returns no data and "java.io.FileNotFoundException" error

    When attempting to write to a new file (Eg: C:\TEST.txt), Report Script returns no data and "java.io.FileNotFoundException" error occurs.
    This error occurs only in Essbase 9.3.1.3 release, however it works fine in release 9.3.1.0.
    After running the report the script, it pops up the follwing message:
    "java.io.FileNotFoundException: ..\temp\eas17109.tmp (The system cannot find the file specified): C:\TEST.txt"
    When checked the TEST.txt, it was empty.

    Sorry folks, I just found out the reason. Its because there was no data in the combination what I was extracting.
    but is this the right error message for that? It should have atleast create a blank file right?

  • XML Publisher post-processing error 'java.io.FileNotFoundException'

    Hi,
    We are getting following XML Publisher post-processing error while running XML Publisher report.
    It was working earlier but suddenly its erroring out.
    [9/07/10 9:00:17 PM] [OPPServiceThread1] Post-processing request 559655.
    [9/07/10 9:00:18 PM] [39177:RT559655] Executing post-processing actions for request 559655.
    [9/07/10 9:00:18 PM] [39177:RT559655] Starting XML Publisher post-processing action.
    [9/07/10 9:00:18 PM] [39177:RT559655]
    Template code: XXHPOXPRRFLR
    Template app: XXH
    Language: en
    Territory: 00
    Output type: PDF
    [9/07/10 9:00:18 PM] [UNEXPECTED] [39177:RT559655] java.io.FileNotFoundException: /apps/oracle/DEV/inst/apps/DEV_hlt439erplap001/logs/appl/conc/out/o559655.out (No such file or directory)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:274)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:173)
    [9/07/10 9:00:18 PM] [39177:RT559655] Completed post-processing actions for request 559655.
    Please help me out to resolve this issue.
    Thanks & Regards,
    Sagarika

    Hi,
    java.io.FileNotFoundException: /apps/oracle/DEV/inst/apps/DEV_hlt439erplap001/logs/appl/conc/out/o559655.out (No such file or directory)Most probably this file is not created (since no changes have been done recently, so definitely it is not a permission issue), and if there are any log files generate at the client side it should help in investigating the issue.
    Thanks,
    Hussein

  • SEVERE: java.io.FileNotFoundException: ./config/jps-config.xml (No such file or directory)

    I am installing OIM/OAM in a cluster configuration using release 11.1.1.7.
    I looked at the EDG here:
    http://docs.oracle.com/cd/E28280_01/core.1111/e12035/toc.htm
    And its pointing me to the 11.1.1.5 version
    http://docs.oracle.com/cd/E21764_01/core.1111/e12035/toc.htm
    So that is the guide I am following.
    I am at this step:
    18.1.5.2 Integrating Oracle Access Manager with Oracle Identity Manager by Using idmConfigTool
    http://docs.oracle.com/cd/E21764_01/core.1111/e12035/wiring.htm#sthref356
    When I run the config tool I get SEVERE messages like this one:
    SEVERE: java.io.FileNotFoundException: ./config/jps-config.xml (No such file or directory)
    Any suggestions on how to fix this ?
    Please note that I can see jps-config.xml under the domain configuration in the fmwconfig directory.
    Here is the complete output
    Enter sso access gate password :
    Enter sso keystore jks password :
    Enter sso global passphrase :
    Enter mds db schema password :
    Enter idstore admin password :
    Enter admin server user password :
    ********* Seeding OAM Passwds in OIM *********
    Completed loading user inputs for - CSF Config
    Completed loading user inputs for - Dogwood Admin WLS
    Connecting to t3://admin.mycompany.com:7001
    Connection to domain runtime mbean server established
    Seeding credential :SSOAccessKey
    Seeding credential :SSOGlobalPP
    Seeding credential :SSOKeystoreKey
    ********* Activating OAM Notifications *********
    Completed loading user inputs for - MDS DB Config
    Jun 6, 2013 1:46:05 PM oracle.mds
    NOTIFICATION: PManager instance is created without multitenancy support as JVM flag "oracle.multitenant.enabled" is not set to enable multitenancy support.
    Jun 6, 2013 1:46:06 PM oracle.security.jps.internal.config.xml.XmlConfigurationFactory initDefaultConfiguration
    SEVERE: java.io.FileNotFoundException: ./config/jps-config.xml (No such file or directory)
    Jun 6, 2013 1:46:06 PM oracle.mds
    NOTIFICATION: Auditing is disabled for component MDS.
    Initialized MDS resources
    Jun 6, 2013 1:46:06 PM oracle.mds
    NOTIFICATION: PManager instance is created without multitenancy support as JVM flag "oracle.multitenant.enabled" is not set to enable multitenancy support.
    Jun 6, 2013 1:46:06 PM oracle.security.jps.internal.config.xml.XmlConfigurationFactory initDefaultConfiguration
    SEVERE: java.io.FileNotFoundException: ./config/jps-config.xml (No such file or directory)
    Jun 6, 2013 1:46:06 PM oracle.mds
    NOTIFICATION: Auditing is disabled for component MDS.
    Jun 6, 2013 1:46:07 PM oracle.mds
    NOTIFICATION: transfer operation started.
    Jun 6, 2013 1:46:08 PM oracle.mds
    NOTIFICATION: transfer is completed. Total number of documents successfully processed : 1, total number of documents failed : 0.
    Upload to DB completed
    Releasing all resources
    Notifications activated.
    ********* Seeding OAM Config in OIM *********
    Completed loading user inputs for - OAM Access Config
    Validated input values
    Initialized MDS resources
    Jun 6, 2013 1:46:08 PM oracle.mds
    NOTIFICATION: PManager instance is created without multitenancy support as JVM flag "oracle.multitenant.enabled" is not set to enable multitenancy support.
    Jun 6, 2013 1:46:08 PM oracle.security.jps.internal.config.xml.XmlConfigurationFactory initDefaultConfiguration
    SEVERE: java.io.FileNotFoundException: ./config/jps-config.xml (No such file or directory)
    Jun 6, 2013 1:46:08 PM oracle.mds
    NOTIFICATION: Auditing is disabled for component MDS.
    Jun 6, 2013 1:46:08 PM oracle.mds
    NOTIFICATION: transfer operation started.
    Jun 6, 2013 1:46:08 PM oracle.mds
    NOTIFICATION: transfer is completed. Total number of documents successfully processed : 1, total number of documents failed : 0.
    Download from DB completed
    Releasing all resources
    Updated /oracle/product/fmw/Oracle_IAM/server/oamMetadata/db/oim-config.xml
    Initialized MDS resources
    Jun 6, 2013 1:46:08 PM oracle.mds
    NOTIFICATION: PManager instance is created without multitenancy support as JVM flag "oracle.multitenant.enabled" is not set to enable multitenancy support.
    Jun 6, 2013 1:46:08 PM oracle.security.jps.internal.config.xml.XmlConfigurationFactory initDefaultConfiguration
    SEVERE: java.io.FileNotFoundException: ./config/jps-config.xml (No such file or directory)
    Jun 6, 2013 1:46:08 PM oracle.mds
    NOTIFICATION: Auditing is disabled for component MDS.
    Jun 6, 2013 1:46:08 PM oracle.mds
    NOTIFICATION: transfer operation started.
    Jun 6, 2013 1:46:09 PM oracle.mds
    NOTIFICATION: transfer is completed. Total number of documents successfully processed : 1, total number of documents failed : 0.
    Upload to DB completed
    Releasing all resources
    OAM configuration seeded. Please restart oim server.
    ********* Configuring Authenticators in OIM WLS *********
    Completed loading user inputs for - LDAP connection info
    Connecting to t3://admin.mycompany.com:7001
    Connection to domain runtime mbean server established
    Starting edit session
    Edit session started
    Connected to security realm.
    Validating provider configuration
    Validated desired authentication providers
    OAM Asserter already exists in the security realm
    OAMIDAsserter is already configured to support 11g webgate
    OIM Signature Authenticator already exists in the security realm
    A type of LDAP Authenticator already exists in the security realm. Please create authenticator manually if different LDAP provider is required.
    Control flags for authenticators set sucessfully
    Reordering of authenticators done sucessfully
    Saving the transaction
    Transaction saved
    Activating the changes
    Changes Activated. Edit session ended.
    Connection closed sucessfully
    The tool has completed its operation. Details have been logged to automation.log

    i found this task :
    JDev 11.1.1.1.0 + ADF+ BC4J application on Tomcat6

  • Users unable to get email notifications on followed sites, or documents: System.IO.FileNotFoundException and Microsoft.SharePoint.SPSite.InitUserToken(SPRequest request) errors

    Hi Community
    I have an issue on a live SP2013 farm that is really causing me grief.  Although  I ( Farm Admin)  and my other users can follow items which are subsequently  confirmed in our respective News Feeds - 
    none of my users are are actually getting emails notifications . 
    Alerts ( did) work fine.
    I have written some PS to vew and set  the SPS-EmailOptin for each user
    $up[$upManagerAttribute].Value = $managerNTName
    # check if the email check boxes are unchecked '1' then if so check all
    write-host -fore white "User Profile for user"$NTName "Now has email opt in currently set to" $up[$upEmailOptin].Value
    if ($up[$upEmailOptin].Value -gt 0)
    $up[$upEmailOptin].Value = 0
    write-host -fore white "User Profile for user"$NTName "Now has email opt in all checked."
    Very few are unchecked. $up["SPS-PrivacyActivity"].Value = 4095  is set for all users as in
    the the privacy settings on the newsfeed are all checked
    For my currrent client I  set up a development intranet which had the seperate web apps for the main portal and mysites. Test users were able to follow documents, sites without any problems.  Before go live I was asked to accomodate a requirement
    where there is only one web application (don't ask!)  effectivley http://myintranet 
    so mysites sits under http://myintranet/mysites .   I  made the appropriate changes to my AutoSPInstaller scritpt and al appearedd l good : services , Service appplications, mysites are all started.  I am using
    the two app pool accounts  one for the portal and one for mysites.
    A quick look at the the releated threads on this forum indicated permssions could be DB permissions  related tho I  am not seeing anything in ULS to strongly point to this
    $webApp = Get-SPWebApplication http://myintranet
    $webApp.GrantAccessToProcessIdentity("mydomain\SP_ProfilesAppPool")
    - checked and SPAcess Data is given to the mysites app pool accout to the portal web app .
    I am seeing some odd errors in ULS
    Ignoring the space ' critical' warning which I have flagged up to Ops and  I doubt is my real problem.  The errors I see that are related are :
    System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002), StackTrace:
    at Microsoft.SharePoint.SPWeb.GetList(String strUrl)
    at Microsoft.Office.Server.Microfeed.MBUtilities.GetPublishedFeedListPrivate(SPWeb web, String relativeUrl)
    at Microsoft.Office.Server.UserProfiles.FollowedItem.CreateFollowedSite(SPWeb site, FollowedItemData data)
    at Microsoft.Office.Server.UserProfiles.FollowedItem.Create(SPSite site, SPWeb existingWeb, Uri url, FollowedItemData data)
    at Microsoft.Office.Server.UserProfiles.FollowedItem.RecreateByReferencedItem(SPSite site, SPWeb web)
    at Microsoft.Office.Server.UserProfiles.FollowedContent.RefreshFollowedItem(FollowedItem item, SPS2SAppExecutionPolicy policy)
    at Microsoft.Office.Server.UserProfiles.FollowedContent.Follow(Uri url, FollowedItemData data)
    at Microsoft.Office.Server.UserProfiles.FollowedContentServerStub.InvokeMethod(Object target, String methodName, XmlNodeList xmlargs, ProxyContext proxyContext, Boolean& isVoid)
    at Microsoft.SharePoint.Client.ServerStub.InvokeMethodWithMonitoredScope(Object target, String methodName, XmlNodeList args, ProxyContext proxyContext, Boolean& isVoid)
    at Microsoft.SharePoint.Client.ClientMethodsProcessor.InvokeMethod(Object obj, String methodName, XmlNodeList xmlargs, Boolean& isVoid)
    at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessMethod(XmlElement xe)
    and
    5b93b0ef-b1ff-437d-b674-5285be9b9395 Stack trace:
    at Microsoft.SharePoint.SPSite.InitUserToken(SPRequest request)
    at Microsoft.SharePoint.SPSite.SPSiteConstructor(SPFarm farm, Guid applicationId, Guid contentDatabaseId, Guid siteId, Guid siteSubscriptionId, SPUrlZone zone, Uri requestUri, String serverRelativeUrl, Boolean hostHeaderIsSiteName, SPUserToken userToken, Boolean appWebRequest, String appHostHeaderRedirectDomain, String appSiteDomainPrefix, String subscriptionName, String appSiteDomainId, Uri primaryUri)
    at Microsoft.SharePoint.SPSite..ctor(SPFarm farm, Uri requestUri, Boolean contextSite, Boolean swapSchemeForPathBasedSites, SPUserToken userToken)
    at Microsoft.SharePoint.SPSite..ctor(SPFarm farm, Uri requestUri, Boolean contextSite, SPUserToken userToken)
    at Microsoft.SharePoint.SPSite..ctor(String requestUrl)
    at Microsoft.Office.Server.UserProfiles.SPS2SAppUtility.TryOpenWeb(Uri url, SPSite& site, SPWeb& web, Boolean& inSPContext)
    at Microsoft.Office.Server.UserProfiles.SPS2SAppExecutionContext.InitializeForSite()
    at Microsoft.Office.Server.UserProfiles.SPS2SAppExecutionContext.EnsureInitialized()
    Also, I am testing with my account which does have all the mysites newsfeed options checked in the CA -> UPA ->"Manage User Profile"
    Anybody seen this whilist I follow the where those exceptions take me.
    Freelance consultant

    Hi,
    Thank you for your question. I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience. Thank you for your understanding and support.
    Thanks,
    Linda Li
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • Windows SharePoint Services Error: Exception Details: System.IO.FileNotFoundException: Could not find the application on the Web

    I am developing a WSS based WCM site for a customer which has a bilingual interface. Now everything is wokring fine in the development environment. Today I backed-up the Content Database and took the related control file (.ascx & .ascx.cs) to deploy it to the cusomter's test machine. I dint face any problems with the deployment, and after deleted and added the Content DB from Central Administration, I was able to access the English part of the website along with my changes without any problem.
    But when I tried accessing the Arbic part of the website, Its giving me the following error,
    تعذر العثور على تطبيق ويب الموجود على http://172.20.5.163/ar/. تأكد من كتابتك لمحدد موقع المعلومات (URL) بشكل صحيح. إذا كان URL يؤدي إلى محتوى موجود، يجب على مسؤول النظام إضافة تعيين URL للتطبيق المراد خاص بالطلب الجديد.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.IO.FileNotFoundException: تعذر العثور على تطبيق ويب الموجود على http://172.20.5.163/ar/. تأكد من كتابتك لمحدد موقع المعلومات (URL) بشكل صحيح. إذا كان URL يؤدي إلى محتوى موجود، يجب على مسؤول النظام إضافة تعيين URL للتطبيق المراد خاص بالطلب الجديد.
    Roughly translated, it means "Could not find the application on the Web http://172.20.5.163/ar/. Make sure you create your site specific information (URL) correctly. If the URL to the content of lead present, the system administrator to add URL for the application of the appointment of a special request to be new.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.IO.FileNotFoundException: Could not find the application on the Web http://172.20.5.163/ar/. Make sure you create your site specific information (URL) correctly. If the URL to the content of lead present, the system administrator to add URL for the application of the appointment of a special request to be new."
    Can you please tell me what is the cause of the problem and how to rectify it? Also do I need to
    Regards,
    SoniSSP

    It is searching for the page, but that page is not available. Did u install the current language pack?

  • FileNotFoundException while deploying ear-file

    Hello
    I just tried to deploy my ear-file with the DeployTool
    DeployTool->Load Ear->Connect to Server->Deploy
    The deploying process always stops at 50-60% with the following Error:
    Message
    ERROR: NOT deployed. The Deploy Service returned the following error: java.io.FileNotFoundException: C:\usr\sap\J2E\JC00\j2ee\deploying\TIBET_ENTERPRISE\temp_TIBET_ENTERPRISE.ear (Das System kann die angegebene Datei nicht finden)
    Exception is:
    java.io.FileNotFoundException: C:\usr\sap\J2E\JC00\j2ee\deploying\TIBET_ENTERPRISE\temp_TIBET_ENTERPRISE.ear (Das System kann die angegebene Datei nicht finden)
         at java.io.RandomAccessFile.open(Native Method)
         at java.io.RandomAccessFile.<init>(Unknown Source)
         at com.sap.engine.services.file.RemoteFile.upload(RemoteFile.java:53)
         at com.sap.engine.deploy.manager.DeployManagerImpl.deployUpdateAction(DeployManagerImpl.java:661)
         at com.sap.engine.deploy.manager.DeployManagerImpl.deploy(DeployManagerImpl.java:507)
         at com.sap.engine.deploy.tool.deployer.DeployThread.run(DeployThread.java:81)
         at java.lang.Thread.run(Unknown Source)
    Details
    06/05/10 12:21:19 -  start-up mode is lazy
    06/05/10 12:21:40 -  Start updating EAR file...
    06/05/10 12:21:40 -  start-up mode is lazy
    06/05/10 12:21:48 -  EAR file updated successfully for 8375ms.
    06/05/10 12:21:48 -  Start deploying ...
    06/05/10 12:21:49 -  ERROR: NOT deployed. The Deploy Service returned the following error:
                         For detailed information see the log file of the Deploy Service.
                         Exception is:
                         java.io.FileNotFoundException: C:\usr\sap\J2E\JC00\j2ee\deploying\TIBET_ENTERPRISE\temp_TIBET_ENTERPRISE.ear (Das System kann die angegebene Datei nicht finden)
                              at java.io.RandomAccessFile.open(Native Method)
                              at java.io.RandomAccessFile.<init>(Unknown Source)
                              at com.sap.engine.services.file.RemoteFile.upload(RemoteFile.java:53)
                              at com.sap.engine.deploy.manager.DeployManagerImpl.deployUpdateAction(DeployManagerImpl.java:661)
                              at com.sap.engine.deploy.manager.DeployManagerImpl.deploy(DeployManagerImpl.java:507)
                              at com.sap.engine.deploy.tool.deployer.DeployThread.run(DeployThread.java:81)
                              at java.lang.Thread.run(Unknown Source)
    06/05/10 12:21:49 -  ***********************************************************
    Can someone help me ?

    Hi,
    1.Copy it some other location and try.
    2.May be it has some dependeny ear file,which has to be deployed before this,inorder to recognise this ear file.
    3.why don't u try deploying it through SDM,if it is possible to recognise this ear.
    4.Last option could be,ear file may be corrupted.
    reward points if helpful

  • Problem with GDS - FileNotFoundException

    I get the following ERROR under heavy load in the server.log when "converting" xml to pdf(generatePDFOutput). Running lc es2(cluster), jboss 4.3, suse linux 11 sp2.
    2014-09-11 15:35:32,950 ERROR [com.adobe.idp.Document] DOCS001: Unexpected exception. An exception while handling a remote request.
    java.io.FileNotFoundException: /srv/global_document_storage/docm1410442494924/b61c1af1ccf663bd8a37be64903d0388 (No such file or directory)
      at java.io.RandomAccessFile.open(Native Method)
      at java.io.RandomAccessFile.<init>(RandomAccessFile.java:216)
      at com.adobe.util.FileUtil.randomAccessRead(FileUtil.java:297)
      at com.adobe.idp.DocumentPullServant.readData(DocumentPullServant.java:168)
      at com.adobe.idp.DocumentPullServant.pullContent(DocumentPullServant.java:154)
      at com.adobe.idp.IDocumentPullServantPOA._invoke(IDocumentPullServantPOA.java:42)
      at org.jacorb.poa.RequestProcessor.invokeOperation(Unknown Source)
      at org.jacorb.poa.RequestProcessor.process(Unknown Source)
      at org.jacorb.poa.RequestProcessor.run(Unknown Source)
    Any idea? No luck with increasing the document disposal timeout or sweep interval...

    Our pdf-files is about the size of 130 kb.
    With the current configuration we have set the document max-inline-size to 512 kb. Now the FileNotFoundException to the GDS has disapeared. But i still wonder why this error was shown when we used the GDS instead on the memory.....
    Could it be problem with Synchronizing clock times in our cluster..?
    Now and then we have another FileNotFoundException ERROR  in the tmp-directory. In what way are LC using this directory..?
    2014-09-18 23:33:58,067 ERROR [com.adobe.idp.Document] DOCS001: Unexpected exception. While doing first time passivation for a document..
    com.adobe.idp.DocumentError: java.io.FileNotFoundException: /tmp/AdobeDocumentStorage/local/docm1411075483830/c694140f75dc873cf6c26afd8e73f57e (No such file or directory)
    at com.adobe.idp.Document.passivateInitData(Document.java:1461)
    at com.adobe.idp.Document.passivate(Document.java:1241)
    at com.adobe.idp.DocumentCallback.handleRemotePassivation(DocumentCallback.java:145)
    at com.adobe.idp.DocumentCallback.handleRemotePassivation2(DocumentCallback.java:189)
    at com.adobe.idp._IDocumentCallbackImplBase._invoke(_IDocumentCallbackImplBase.java:71)
    at org.jacorb.orb.ORB$HandlerWrapper._invoke(Unknown Source)
    at org.jacorb.poa.RequestProcessor.invokeOperation(Unknown Source)
    at org.jacorb.poa.RequestProcessor.process(Unknown Source)
    at org.jacorb.poa.RequestProcessor.run(Unknown Source)
    Caused by: java.io.FileNotFoundException: /tmp/AdobeDocumentStorage/local/docm1411075483830/c694140f75dc873cf6c26afd8e73f57e (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:120)
    at com.adobe.idp.Document.passivateInitData(Document.java:1457)
    ... 8 more

  • FileNotFoundException while trying to run a form on the web

    Hi,
    I've installed Forms Server on Windows NT. I'm trying to run the test form on the web, and in the java console window I'm getting the following message:
    Oracle JInitiator version 1.1.7.30
    Using JRE version 1.1.7.30o
    User home directory = D:\WINNT\Profiles\07223
    JAR caching enabled.
    Cache directory: D:\PROGRA~1\Oracle\JINITI~1.30\jcache
    Maximum cache size: 50000000 bytes
    Opening http://nbk981536.ul.us.com:80/forms60java/f60web.jar no proxy
    Unable to contact http://nbk981536.ul.us.com:80/forms60java/f60web.jar
    Opening http://nbk981536.ul.us.com:80/forms60java/f60web.jar no proxy
    java.io.FileNotFoundException: http://nbk981536.ul.us.com:80/forms60java/f60web.jar
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Compiled Code)
    at sun.net.www.protocol.http.HttpURLConnection.openConnectionCheckRedirects(Compiled Code)
    at sun.applet.JARCache.beginStoring(JARCache.java:348)
    at sun.applet.AppletResourceLoader.loadJar(AppletResourceLoader.java:218)
    at sun.applet.JinitAppletPanel.loadJarFiles(Compiled Code)
    at sun.plugin.AppletViewer.loadJarFiles(Compiled Code)
    at sun.applet.JinitAppletPanel.runLoader(JinitAppletPanel.java:588)
    at sun.applet.JinitAppletPanel.run(Compiled Code)
    at java.lang.Thread.run(Thread.java:466)
    Any ideas as to why this is happening, and any suggestions to resolve this is highly appreciated.
    Thanx in advance.
    VL

    I've installed Forms Server in another Oracle home called 'dev6i'. I've the f60web.jar and 11 other .jar files in \dev6i\forms60\java directory. I've installed the forms server successfully (I can say this because I was able to run the test form successfully couple of times, until I installed reports server in the same Oracle home. Then it started giving this message in the java console). I've also installed Webdblistener. My reports test page is displaying correctly though. Any ideas what might have happened??
    Thanks
    VL.

  • FileNotFoundException Uploading image to database

    Hello
    I'm trying to upload image to databases, in my server it works perfectly but when i run the application in the hosting appear FileNotFoundException.
    This is the part of html file than call to servlet.
    <FORM ACTION="http://hosting/servlet/lordcyb3r.Connect">
    <center><h4><b>Insert image</b></h4></center><BR><BR>
         Name:
    <input type="text" class="bginput" name="nombre" value="" size="40"/><BR>
    <input type="hidden" name="c" value=""/>
    <input type="file" class="bginput" name="image" size="40"/><BR>
    Comment:
    <input type="text" class="bginput" name="comentario" value="" size="60"/><BR>
    <INPUT TYPE="SUBMIT" VALUE="Insert">
    </FORM>
    This is the get method of Connect servlet
    protected void doGet(HttpServletRequest request,
                   HttpServletResponse response) throws ServletException, IOException {
              response.setContentType("text/html");
              PrintWriter out = response.getWriter();
              String nombre = request.getParameter("nombre");
              String ruta = request.getParameter("image");
              String comentario = request.getParameter("comentario");
              try {
                   Class.forName("org.gjt.mm.mysql.Driver").newInstance();
                   Connection connection = DriverManager
                             .getConnection("jdbc:mysql://host/db?user=userid&password=psw");
                   PreparedStatement ps = connection
                             .prepareStatement("insert into imagedata values ( ?, ?, ?, ? )");
                   ps.setString(1, nombre);
                   ps.setString(2, ruta.substring(ruta.lastIndexOf("/") + 1));
                   ps.setString(3, ruta.substring(ruta.lastIndexOf(".") + 1));
                   ps.setString(4, comentario);
                   ps.execute();
                   ps = connection
                             .prepareStatement("insert into image values ( ?, ? )");
                   File file = new File(request.getParameter("image"));
                   InputStream is = new FileInputStream(file); // LINE 86 <--- HERE IS THE EXCEPTION
                   ps.setString(1, nombre);
                   ps.setBinaryStream(2, is, (int) file.length());
                   ps.execute();
                   is.close();
                   connection.close();
                   out.println("<br><br>Imagen insertada con �xito");
              } catch (InstantiationException e) {
                   out.println("<br><br>InstantiationException");
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (IllegalAccessException e) {
                   out.println("<br><br>IllegalAccessException");
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (ClassNotFoundException e) {
                   out.println("<br><br>ClassNotFoundException");
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (SQLException e1) {
                   out.println("<br><br>SQLException");
                   // TODO Auto-generated catch block
                   e1.printStackTrace();
    This is the StackTrace.
    java.io.FileNotFoundException: G-Natalia Duque.jpg (No such file or directory)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at lordcyb3r.Connect.doGet(Connect.java:86)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:95)
         at com.caucho.server.http.Invocation.service(Invocation.java:291)
         at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:339)
         at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:268)
         at com.caucho.server.TcpConnection.run(TcpConnection.java:136)
         at java.lang.Thread.run(Thread.java:602)
    Can you help me?
    I think so the method is searching the image in the server and no in the client.
    If is this, How can i do it works?
    Thanks for your help.

    to upload the file basic thump rule is the form type is multipart form data and method should be post.
    u have to use any upload component to upload the file from the client machine to the server and then u have to upload it to the database
    baiju

  • Java.io.FileNotFoundException: when calling the parse() method of XMLReader

    Hi all, I'm getting the next exception:
    java.io.FileNotFoundException: C:\OP2\< (The name of the file, directory or volumn's label is not invalid)
    Which file is talking that exception about?
    I've no idea of what do this exception means.
    Please help me as it's very urgent.
    Thanks on advance.

    here you are the code:
    package com.saincotrafico.optimus.jms;
    import javax.jms.*;
    import com.saincotrafico.optimus.xml.*;
    import javax.xml.parsers.*;
    import org.xml.sax.*;
    import org.xml.sax.helpers.*;
    import java.io.*;
    import com.saincotrafico.optimus.client.gui.*;
    import javax.swing.SwingUtilities;
    * Description of the Class
    *@author root
    *@created 15 de febrero de 2002
    public class XMLListener implements MessageListener
    DataManager dm;
    InputSource input = new InputSource();
    DefaultHandler mh = null;
    SAXParserFactory spf = null;
    XMLReader xmlReader = null;
    * Constructor for the XMLListener object
    *@param dm Description of the Parameter
    public XMLListener(DataManager dm)
    System.out.println("AQUI");
    this.dm = dm;
    //mh=dm.getHandler();
    spf = SAXParserFactory.newInstance();
    try
    SAXParser saxParser = spf.newSAXParser();
    xmlReader = saxParser.getXMLReader();
    } catch (Exception ex)
    System.err.println(ex);
    //System.exit(1);
    * Description of the Method
    *@param message Description of the Parameter
    public void onMessage(Message message)
    if (message instanceof TextMessage)
    TextMessage msg = (TextMessage) message;
    try
    creaObjeto(msg.getText());
    Runnable doSetDatos =
    new Runnable()
    private DefaultHandler miHandler=mh;
    public void run()
    System.out.println("EN RUN!!!");
    dm.setDatos(miHandler);
    try { Thread.sleep(30);}catch (Exception ex) { ex.printStackTrace();}
    SwingUtilities.invokeLater(doSetDatos);
    } catch (JMSException e)
    System.out.println("Exception in onMessage(): " + e.toString());
    * Description of the Method
    *@param msg Description of the Parameter
    private void creaObjeto(String msg)
    mh = dm.getHandler();
    xmlReader.setContentHandler(mh);
    try
    System.out.println(msg);
    input.setCharacterStream(new StringReader(msg));
    xmlReader.parse(msg);
    }catch(Exception ex){ex.printStackTrace();}
    the exception happens at xmlReader.parse(msg).

Maybe you are looking for

  • Cap 4 Installation Problem On Vista Machine

    I'm having difficulty with a particular Windows Vista machine. I have two machines that are almost identical - both Gateways with Windows Vista Enterprise 32-bit OS, both 2 GB of memory. One has only one hard drive while the other has 2 physical dirv

  • Disable component in a panel

    1. I would like to disable some components in a panel. While i am using component.setEnabled(false) the component dims. Is there any other way to disable the components? 2. I would like to replace a component by a label in a panal. Is it possible?

  • Is it possible to embed new aspect ratios into your quicktime movies?

    Well my subject line explains it all really. I was wondering if there was a way to embed the aspect ratio in my quicktime movies instead of manually resizing them whenever i open them to a ratio that suits the content better. thanks

  • Install office 365

    I have signed up for 365, so can now download office desktop. I have an older version of office I want to uninstall first completely to keep things tidy. Do I need to back up (and if so how): 1. onenote notebooks 2. email psts and osts 3. email accou

  • Flash CS6

    As I know adobe flash cs6 isn't an apple product, I had a question and I was also wondering if it had to do with my mac? I hope someone can answer my question- When I opened flash and went to click a color from the swatches, I noticed that when I clc