Fetching session names from repository using Informatica SDK

Hi guys, I'm using the Informatica SDK to create a java application that accesses the Informatica repository. I'm having a bit of an issue while trying to fetch the names of already created sessions from the Informatica Repository. I'm able to connect to the repo without any issues and have been able to add sources, targets, mappings, sessions, workflows, etc... and save them directly afterwards. However, when I try to fetch the session names from a folder in the repository, I get the following error: Mon Jul 27 15:03:01 PDT 2015  Severity:DEBUG  ThreadID:14 Running the pmrep process in the working directory: [C:\Informatica\9.6.1\clients\PowerCenterClient\client\bin].Mon Jul 27 15:03:01 PDT 2015  Severity:DEBUG  ThreadID:14 Running the command [listobjects -o session  -f "TechOps" -s .].Mon Jul 27 15:03:01 PDT 2015  Severity:DEBUG  ThreadID:14 Running the command [exit].Mon Jul 27 15:03:01 PDT 2015  Severity:DEBUG  ThreadID:14 Parsing the output of the ListObjects command for each folder.Mon Jul 27 15:03:01 PDT 2015  Severity:DEBUG  ThreadID:14 The following errors occurred while running the ListObjects command: [Failed to read repository connection information. Please first connect to the repository using the connect command.Failed to execute listobjects.].The following errors occurred while running the ListObjects command: [Failed to read repository connection information. Please first connect to the repository using the connect command.Failed to execute listobjects.].com.informatica.powercenter.sdk.mapfwk.exception.RepoOperationException: The following errors occurred while running the ListObjects command: [Failed to read repository connection information. Please first connect to the repository using the connect command.Failed to execute listobjects.].at com.informatica.powercenter.sdk.mapfwk.core.Folder.fetchSessionNamesFromRepository(Unknown Source)at com.informatica.powercenter.sdk.mapfwk.core.Folder.fetchSessionNamesFromRepository(Unknown Source)at com.mars.Main.main(Main.java:170) This doesn't really make sense to me as I'm able to connect to the repo fine to add and save changes. Here's my code for fetching: // Create a list of session names and store the namesList<String> sessionNames = null;try {      sessionNames = folder.fetchSessionNamesFromRepository();} catch (RepoOperationException e) {      // TODO Auto-generated catch block      e.printStackTrace();} catch (MapFwkReaderException e) {      // TODO Auto-generated catch block      e.printStackTrace();} // Print the list of session namesfor (int i = 0; i < sessionNames.size(); i++) {System.out.println("Session " + i + " is " + sessionNames.get(i));} I've confirmed that the folder object works fine as I can add and save other objects to that folder in the repo. The other thing is that if I go to the Informatica path on my drive and run the pmrep command followed by the command for fetching session names, it works fine. Any help on this would be greatly appreciated. Thanks

Hi Shruti,
Instead of doing the following when setting the font attributes:
FontImpl fnt = (FontImpl)res.getFont();
fnt.getDecoration().setTextColor(c1);
res.setFont(fnt);
Try doing this instead:
res.getAttributes().setForeground(c1);
res.getFont().setSize(10);
Hope this helps.
Regards,
Dan

Similar Messages

  • Fetching network name from a mobile through MIDlet

    Hi All,
    Friends can we fetching network name from a mobile through Midlet programming ? I mean the network tower it currently used.
    if anyone has the concept about that then please help me about that.
    Thanks........
    Edited by: javalearner83 on Sep 26, 2007 4:58 AM

    sory to tell u that i dont know whether it is possible in j2me or not??
    but surely it is possible in Symbian c++
    in my company my collegue has worked in same application about which u are talking

  • BAPI used to fetch / display Documents from Repository

    Hi
    Please let me know the BAPI used to fetch / dispaly Data from DMS Repository.
    Also, do let me know the inputs required.
    I have tried - BAPI_DOCUMENT_CHECKOUTVIEW (but while executing is always displays - 300
    The Knowledge Provider is using document type LGL as a storage system)
    Inputs given -
    Documenttype - LGL
    Documentnumber - 10000000003
    DocumentPart - 000
    DocumentVersion - 00
    Originaltype - 0 (im not sure if zero is correct)
    Getstructure - 1
    Original Path - blank
    HostName - blank
    Get Header - X
    Thanks
    Prashant

    Thanks Arun.
    Able to download file using these BAPI's from SE37.
    One query - It is downloading files in name of user (original files name not getting downloaded)
    Eg:, My file name was demo.docx but  is downloaded as myusername.doc
    Further, i hope these bapi can be called via RFC (using Java Code).
    Thanks Again.
    Regards
    HI Arun
    Further to my earlier Mail, I'm not able to upload the same using Java Code, getting the error -
    Type ::::::::E
    Message ::::::::File d:\dms\z_IPI_PRASHANT01.doc cannot be created
    While Checking the Trace in SM59, got the following error -
    Trace file opened at 20111010 142232 India Standard Time, SAP-REL 701,0,134
    ======> cannot open SAPGUI
    ABAP Programm: SAPLSYSE (Transaction: )
    User: IPI_PRASHANT (Client: 220)
    Destination: SAPFTP (handle: 3, , )
    SERVER> RFC Server Session (handle: 1, 43220900, {5D1DF3E0-ACBD-F11F-8EA0-00A0D1
    SERVER> Caller host:
    SERVER> Caller transaction code:  (Caller Program: java)
    SERVER> Called function module: RFC_START_PROGRAM
    Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1742
    FUNCTION: 'exec_sapgui'
    cannot open SAPGUI
    PROG =sapftp erpdev sapgw00 43232164 IDX=4
    Please helpe in getting this sorted out.
    I have been tring the same now for more than a month.
    Regards
    Edited by: Prashantroy on Oct 10, 2011 2:37 PM

  • Fetch territory name from API by using Transaction Qualifiers value

    Hi All,
    I want to get territory name from API by using Transaction Qualifiers value. But I am unable to find any suitable API.
    Is there any standard API available?
    Its urgent issue. Please any one help me.
    Thanks in advance
    Subhas Samanta

    There is no such API available. But, I can give you a query based on the qualifier. The query changes from qualifier to qualifier.
    Thanks,

  • Extract "lineageId and Name" from sysssispackages Using XQuery

    Hi All,
    can someone help me, how to Extract "lineageId and Name" from sysssispackages?
    Below query gives me the XML structure of SSIS package but need to pull only those 2 values from that
    SELECT  
           Package= CAST(CAST(packagedata AS VARBINARY(MAX)) AS XML) 
        FROM      [msdb].[dbo].[sysssispackages]
    Thanks

    Thanks Latheesh for responding
    Below is the sample structure 
    <DTS:Executable xmlns:DTS="www.microsoft.com/SqlServer/Dts" DTS:ExecutableType="SSIS.Package.2">
      <DTS:Property DTS:Name="PackageFormatVersion">3</DTS:Property>
      <DTS:Property DTS:Name="VersionComments" />
      <DTS:Property DTS:Name="CreatorName">MyWorld\Sar</DTS:Property>
      <DTS:Property DTS:Name="CreatorComputerName">MYWORLD</DTS:Property>
      <DTS:Property DTS:Name="CreationDate" DTS:DataType="7">3/22/2014 8:12:40 PM</DTS:Property>
      <DTS:Property DTS:Name="PackageType">5</DTS:Property>
      <DTS:Property DTS:Name="ProtectionLevel">1</DTS:Property>
      <DTS:Property DTS:Name="MaxConcurrentExecutables">-1</DTS:Property>
      <DTS:Property DTS:Name="PackagePriorityClass">0</DTS:Property>
      <DTS:Property DTS:Name="VersionMajor">1</DTS:Property>
      <DTS:Property DTS:Name="VersionMinor">0</DTS:Property>
      <DTS:Property DTS:Name="VersionBuild">17</DTS:Property>
      <DTS:Property DTS:Name="VersionGUID">{3A8DDC68-97D0-4463-94AB-C9E1EF617E35}</DTS:Property>
      <DTS:Property DTS:Name="EnableConfig">0</DTS:Property>
      <DTS:Property DTS:Name="CheckpointFileName" />
      <DTS:Property DTS:Name="SaveCheckpoints">0</DTS:Property>
      <DTS:Property DTS:Name="CheckpointUsage">0</DTS:Property>
      <DTS:Property DTS:Name="SuppressConfigurationWarnings">0</DTS:Property>
      <DTS:ConnectionManager>
        <DTS:Property DTS:Name="DelayValidation">0</DTS:Property>
        <DTS:Property DTS:Name="ObjectName">fftest</DTS:Property>
        <DTS:Property DTS:Name="DTSID">{9EE16655-EBB1-4EAB-977A-334CBABE5855}</DTS:Property>
        <DTS:Property DTS:Name="Description" />
        <DTS:Property DTS:Name="CreationName">FLATFILE</DTS:Property>
        <DTS:ObjectData>
          <DTS:ConnectionManager>
            <DTS:Property DTS:Name="FileUsageType">0</DTS:Property>
            <DTS:Property DTS:Name="Format">Delimited</DTS:Property>
            <DTS:Property DTS:Name="LocaleID">1033</DTS:Property>
            <DTS:Property DTS:Name="Unicode">0</DTS:Property>
            <DTS:Property DTS:Name="HeaderRowsToSkip">0</DTS:Property>
            <DTS:Property DTS:Name="HeaderRowDelimiter" xml:space="preserve">_x000D__x000A_</DTS:Property>
            <DTS:Property DTS:Name="ColumnNamesInFirstDataRow">-1</DTS:Property>
            <DTS:Property DTS:Name="RowDelimiter" xml:space="preserve" />
            <DTS:Property DTS:Name="DataRowsToSkip">0</DTS:Property>
            <DTS:Property DTS:Name="TextQualifier">&lt;none&gt;</DTS:Property>
            <DTS:Property DTS:Name="CodePage">1252</DTS:Property>
            <DTS:FlatFileColumn>
              <DTS:Property DTS:Name="ColumnType">Delimited</DTS:Property>
              <DTS:Property DTS:Name="ColumnDelimiter" xml:space="preserve">_x0009_</DTS:Property>
              <DTS:Property DTS:Name="ColumnWidth">0</DTS:Property>
              <DTS:Property DTS:Name="MaximumWidth">50</DTS:Property>
              <DTS:Property DTS:Name="DataType">129</DTS:Property>
              <DTS:Property DTS:Name="DataPrecision">0</DTS:Property>
              <DTS:Property DTS:Name="DataScale">0</DTS:Property>
              <DTS:Property DTS:Name="TextQualified">-1</DTS:Property>
              <DTS:Property DTS:Name="ObjectName">ID</DTS:Property>
              <DTS:Property DTS:Name="DTSID">{D444A9DE-0FFC-47E9-9747-3A481D7DCEAA}</DTS:Property>
              <DTS:Property DTS:Name="Description" />
              <DTS:Property DTS:Name="CreationName" />
            </DTS:FlatFileColumn>
            <DTS:FlatFileColumn>
              <DTS:Property DTS:Name="ColumnType">Delimited</DTS:Property>
              <DTS:Property DTS:Name="ColumnDelimiter" xml:space="preserve">_x000D__x000A_</DTS:Property>
              <DTS:Property DTS:Name="ColumnWidth">0</DTS:Property>
              <DTS:Property DTS:Name="MaximumWidth">50</DTS:Property>
              <DTS:Property DTS:Name="DataType">129</DTS:Property>
              <DTS:Property DTS:Name="DataPrecision">0</DTS:Property>
              <DTS:Property DTS:Name="DataScale">0</DTS:Property>
              <DTS:Property DTS:Name="TextQualified">-1</DTS:Property>
              <DTS:Property DTS:Name="ObjectName">Name</DTS:Property>
              <DTS:Property DTS:Name="DTSID">{9BF026D2-6FD7-4038-93A7-25B1AA4DE092}</DTS:Property>
              <DTS:Property DTS:Name="Description" />
              <DTS:Property DTS:Name="CreationName" />
            </DTS:FlatFileColumn>
            <DTS:Property DTS:Name="ConnectionString">D:\XML Test\test.txt</DTS:Property>
          </DTS:ConnectionManager>
        </DTS:ObjectData>
      </DTS:ConnectionManager>
      <DTS:ConnectionManager>
        <DTS:Property DTS:Name="DelayValidation">0</DTS:Property>
        <DTS:Property DTS:Name="ObjectName">LocalHost.MyPOCs</DTS:Property>
        <DTS:Property DTS:Name="DTSID">{DCE78F76-3B49-4318-993E-13FE9B71E2D5}</DTS:Property>
        <DTS:Property DTS:Name="Description" />
        <DTS:Property DTS:Name="CreationName">OLEDB</DTS:Property>
        <DTS:ObjectData>
          <DTS:ConnectionManager>
            <DTS:Property DTS:Name="Retain">0</DTS:Property>
            <DTS:Property DTS:Name="ConnectionString">Data Source=.;Initial Catalog=MyPOCs;Provider=SQLNCLI10.1;Integrated Security=SSPI;Auto Translate=False;Application Name=SSIS-Package-{DCE78F76-3B49-4318-993E-13FE9B71E2D5}LocalHost.MyPOCs;</DTS:Property>
          </DTS:ConnectionManager>
        </DTS:ObjectData>
      </DTS:ConnectionManager>
      <DTS:Property DTS:Name="LastModifiedProductVersion">10.0.1600.22</DTS:Property>
      <DTS:Property DTS:Name="ForceExecValue">0</DTS:Property>
      <DTS:Property DTS:Name="ExecValue" DTS:DataType="3">0</DTS:Property>
      <DTS:Property DTS:Name="ForceExecutionResult">-1</DTS:Property>
      <DTS:Property DTS:Name="Disabled">0</DTS:Property>
      <DTS:Property DTS:Name="FailPackageOnFailure">0</DTS:Property>
      <DTS:Property DTS:Name="FailParentOnFailure">0</DTS:Property>
      <DTS:Property DTS:Name="MaxErrorCount">1</DTS:Property>
      <DTS:Property DTS:Name="ISOLevel">1048576</DTS:Property>
      <DTS:Property DTS:Name="LocaleID">1033</DTS:Property>
      <DTS:Property DTS:Name="TransactionOption">1</DTS:Property>
      <DTS:Property DTS:Name="DelayValidation">0</DTS:Property>
      <DTS:Variable>
        <DTS:Property DTS:Name="Expression" />
        <DTS:Property DTS:Name="EvaluateAsExpression">0</DTS:Property>
        <DTS:Property DTS:Name="Namespace">User</DTS:Property>
        <DTS:Property DTS:Name="ReadOnly">0</DTS:Property>
        <DTS:Property DTS:Name="RaiseChangedEvent">0</DTS:Property>
        <DTS:Property DTS:Name="IncludeInDebugDump">2345</DTS:Property>
        <DTS:VariableValue DTS:DataType="8" />
        <DTS:Property DTS:Name="ObjectName">Error</DTS:Property>
        <DTS:Property DTS:Name="DTSID">{F72B40BF-8B93-429B-8035-96AECD3631A3}</DTS:Property>
        <DTS:Property DTS:Name="Description" />
        <DTS:Property DTS:Name="CreationName" />
      </DTS:Variable>
      <DTS:LoggingOptions>
        <DTS:Property DTS:Name="LoggingMode">0</DTS:Property>
        <DTS:Property DTS:Name="FilterKind">1</DTS:Property>
        <DTS:Property DTS:Name="EventFilter" DTS:DataType="8" />
      </DTS:LoggingOptions>
      <DTS:Executable DTS:ExecutableType="SSIS.Pipeline.2">
        <DTS:Property DTS:Name="ExecutionLocation">0</DTS:Property>
        <DTS:Property DTS:Name="ExecutionAddress" />
        <DTS:Property DTS:Name="TaskContact">Performs high-performance data extraction, transformation and loading;Microsoft Corporation; Microsoft SQL Server v10; (C) 2007 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1</DTS:Property>
        <DTS:Property DTS:Name="ForceExecValue">0</DTS:Property>
        <DTS:Property DTS:Name="ExecValue" DTS:DataType="3">0</DTS:Property>
        <DTS:Property DTS:Name="ForceExecutionResult">-1</DTS:Property>
        <DTS:Property DTS:Name="Disabled">0</DTS:Property>
        <DTS:Property DTS:Name="FailPackageOnFailure">0</DTS:Property>
        <DTS:Property DTS:Name="FailParentOnFailure">0</DTS:Property>
        <DTS:Property DTS:Name="MaxErrorCount">1</DTS:Property>
        <DTS:Property DTS:Name="ISOLevel">1048576</DTS:Property>
        <DTS:Property DTS:Name="LocaleID">-1</DTS:Property>
        <DTS:Property DTS:Name="TransactionOption">1</DTS:Property>
        <DTS:Property DTS:Name="DelayValidation">0</DTS:Property>
        <DTS:LoggingOptions>
          <DTS:Property DTS:Name="LoggingMode">0</DTS:Property>
          <DTS:Property DTS:Name="FilterKind">1</DTS:Property>
          <DTS:Property DTS:Name="EventFilter" DTS:DataType="8" />
        </DTS:LoggingOptions>
        <DTS:Property DTS:Name="ObjectName">Data Flow Task</DTS:Property>
        <DTS:Property DTS:Name="DTSID">{9D6476B8-543C-488D-96C2-7C787F892763}</DTS:Property>
        <DTS:Property DTS:Name="Description">Data Flow Task</DTS:Property>
        <DTS:Property DTS:Name="CreationName">SSIS.Pipeline.2</DTS:Property>
        <DTS:Property DTS:Name="DisableEventHandlers">0</DTS:Property>
        <DTS:EventHandler>
          <DTS:Property DTS:Name="EventID">0</DTS:Property>
          <DTS:Property DTS:Name="EventName">OnError</DTS:Property>
          <DTS:Property DTS:Name="ForceExecValue">0</DTS:Property>
          <DTS:Property DTS:Name="ExecValue" DTS:DataType="3">0</DTS:Property>
          <DTS:Property DTS:Name="ForceExecutionResult">-1</DTS:Property>
          <DTS:Property DTS:Name="Disabled">0</DTS:Property>
          <DTS:Property DTS:Name="FailPackageOnFailure">0</DTS:Property>
          <DTS:Property DTS:Name="FailParentOnFailure">0</DTS:Property>
          <DTS:Property DTS:Name="MaxErrorCount">1</DTS:Property>
          <DTS:Property DTS:Name="ISOLevel">1048576</DTS:Property>
          <DTS:Property DTS:Name="LocaleID">-1</DTS:Property>
          <DTS:Property DTS:Name="TransactionOption">1</DTS:Property>
          <DTS:Property DTS:Name="DelayValidation">0</DTS:Property>
          <DTS:Variable>
            <DTS:Property DTS:Name="Expression" />
            <DTS:Property DTS:Name="EvaluateAsExpression">0</DTS:Property>
            <DTS:Property DTS:Name="Namespace">System</DTS:Property>
            <DTS:Property DTS:Name="ReadOnly">0</DTS:Property>
            <DTS:Property DTS:Name="RaiseChangedEvent">0</DTS:Property>
            <DTS:Property DTS:Name="IncludeInDebugDump">6789</DTS:Property>
            <DTS:VariableValue DTS:DataType="11">-1</DTS:VariableValue>
            <DTS:Property DTS:Name="ObjectName">Propagate</DTS:Property>
            <DTS:Property DTS:Name="DTSID">{C0BBF3C9-2116-4152-AB9E-FF436DA214CB}</DTS:Property>
            <DTS:Property DTS:Name="Description">The propagate property of the event</DTS:Property>
            <DTS:Property DTS:Name="CreationName" />
          </DTS:Variable>
          <DTS:LoggingOptions>
            <DTS:Property DTS:Name="LoggingMode">0</DTS:Property>
            <DTS:Property DTS:Name="FilterKind">1</DTS:Property>
            <DTS:Property DTS:Name="EventFilter" DTS:DataType="8" />
          </DTS:LoggingOptions>
          <DTS:Executable DTS:ExecutableType="Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask.ExecuteSQLTask, Microsoft.SqlServer.SQLTask, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">
            <DTS:Property DTS:Name="ExecutionLocation">0</DTS:Property>
            <DTS:Property DTS:Name="ExecutionAddress" />
            <DTS:Property DTS:Name="TaskContact">Execute SQL Task; Microsoft Corporation; Microsoft SQL Server 2008; © 2007 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1</DTS:Property>
            <DTS:Property DTS:Name="ForceExecValue">0</DTS:Property>
            <DTS:Property DTS:Name="ExecValue" DTS:DataType="3">0</DTS:Property>
            <DTS:Property DTS:Name="ForceExecutionResult">-1</DTS:Property>
            <DTS:Property DTS:Name="Disabled">0</DTS:Property>
            <DTS:Property DTS:Name="FailPackageOnFailure">0</DTS:Property>
            <DTS:Property DTS:Name="FailParentOnFailure">0</DTS:Property>
            <DTS:Property DTS:Name="MaxErrorCount">1</DTS:Property>
            <DTS:Property DTS:Name="ISOLevel">1048576</DTS:Property>
            <DTS:Property DTS:Name="LocaleID">-1</DTS:Property>
            <DTS:Property DTS:Name="TransactionOption">1</DTS:Property>
            <DTS:Property DTS:Name="DelayValidation">0</DTS:Property>
            <DTS:LoggingOptions>
              <DTS:Property DTS:Name="LoggingMode">0</DTS:Property>
              <DTS:Property DTS:Name="FilterKind">1</DTS:Property>
              <DTS:Property DTS:Name="EventFilter" DTS:DataType="8" />
            </DTS:LoggingOptions>
            <DTS:Property DTS:Name="ObjectName">Execute SQL Task</DTS:Property>
            <DTS:Property DTS:Name="DTSID">{380C43D8-73EC-40A9-935B-5CA483E12652}</DTS:Property>
            <DTS:Property DTS:Name="Description">Execute SQL Task</DTS:Property>
            <DTS:Property DTS:Name="CreationName">Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask.ExecuteSQLTask, Microsoft.SqlServer.SQLTask, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91</DTS:Property>
            <DTS:Property DTS:Name="DisableEventHandlers">0</DTS:Property>
            <DTS:ObjectData>
              <SQLTask:SqlTaskData xmlns:SQLTask="www.microsoft.com/sqlserver/dts/tasks/sqltask" SQLTask:Connection="{DCE78F76-3B49-4318-993E-13FE9B71E2D5}" SQLTask:TimeOut="0" SQLTask:IsStoredProc="False" SQLTask:BypassPrepare="True"
    SQLTask:SqlStmtSourceType="DirectInput" SQLTask:SqlStatementSource="Declare @Error Varchar(250) = ?&#xA;  &#xA;Select @Error as Errodesc" SQLTask:CodePage="1252" SQLTask:ResultType="ResultSetType_SingleRow">
                <SQLTask:ResultBinding SQLTask:ResultName="Errodesc" SQLTask:DtsVariableName="User::Error" />
                <SQLTask:ParameterBinding SQLTask:ParameterName="@Error" SQLTask:DtsVariableName="System::ErrorDescription" SQLTask:ParameterDirection="Input" SQLTask:DataType="129" SQLTask:ParameterSize="-1" />
              </SQLTask:SqlTaskData>
            </DTS:ObjectData>
          </DTS:Executable>
          <DTS:Property DTS:Name="DTSID">{9FF1A2A2-474A-4477-BE6A-6CD9AEEDC0D2}</DTS:Property>
          <DTS:Property DTS:Name="Description" />
          <DTS:Property DTS:Name="CreationName">OnError</DTS:Property>
        </DTS:EventHandler>
        <DTS:ObjectData>
          <pipeline id="0" name="pipelineXml" description="pipelineXml" defaultBufferMaxRows="10000" engineThreads="10" defaultBufferSize="10485760" BLOBTempStoragePath="" bufferTempStoragePath="" runInOptimizedMode="true">
            <components>
              <component id="18" name="OLE DB Destination" componentClassID="{5A0B62E8-D91D-49F5-94A5-7BE58DE508F0}" description="OLE DB Destination" localeId="-1" usesDispositions="true" validateExternalMetadata="True" version="4" pipelineVersion="0"
    contactInfo="OLE DB Destination;Microsoft Corporation; Microsoft SqlServer v10; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;4">
                <properties>
                  <property id="19" name="CommandTimeout" dataType="System.Int32" state="default" isArray="false" description="The number of seconds before a command times out.  A value of 0 indicates an infinite time-out."
    typeConverter="" UITypeEditor="" containsID="false" expressionType="None">0</property>
                  <property id="20" name="OpenRowset" dataType="System.String" state="default" isArray="false" description="Specifies the name of the database object used to open a rowset." typeConverter="" UITypeEditor=""
    containsID="false" expressionType="None">[Datacheck]</property>
                  <property id="21" name="OpenRowsetVariable" dataType="System.String" state="default" isArray="false" description="Specifies the variable that contains the name of the database object used to open a rowset."
    typeConverter="" UITypeEditor="" containsID="false" expressionType="None" />
                  <property id="22" name="SqlCommand" dataType="System.String" state="default" isArray="false" description="The SQL command to be executed." typeConverter="" UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor,
    Microsoft.DataTransformationServices.Controls, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" containsID="false" expressionType="None" />
                  <property id="23" name="DefaultCodePage" dataType="System.Int32" state="default" isArray="false" description="Specifies the column code page to use when code page information is unavailable from the data source."
    typeConverter="" UITypeEditor="" containsID="false" expressionType="None">1252</property>
                  <property id="24" name="AlwaysUseDefaultCodePage" dataType="System.Boolean" state="default" isArray="false" description="Forces the use of the DefaultCodePage property value when describing character data."
    typeConverter="" UITypeEditor="" containsID="false" expressionType="None">false</property>
                  <property id="25" name="AccessMode" dataType="System.Int32" state="default" isArray="false" description="Specifies the mode used to access the database." typeConverter="AccessMode" UITypeEditor="" containsID="false"
    expressionType="None">3</property>
                  <property id="27" name="FastLoadKeepIdentity" dataType="System.Boolean" state="default" isArray="false" description="Indicates whether the values supplied for identity columns will be copied to the destination.
    If false, values for identity columns will be auto-generated at the destination. Applies only if fast load is turned on." typeConverter="" UITypeEditor="" containsID="false" expressionType="None">false</property>
                  <property id="28" name="FastLoadKeepNulls" dataType="System.Boolean" state="default" isArray="false" description="Indicates whether the columns containing null will have null inserted in the destination. If
    false, columns containing null will have their default values inserted at the destination. Applies only if fast load is turned on." typeConverter="" UITypeEditor="" containsID="false" expressionType="None">false</property>
                  <property id="29" name="FastLoadOptions" dataType="System.String" state="default" isArray="false" description="Specifies options to be used with fast load.  Applies only if fast load is turned on." typeConverter=""
    UITypeEditor="" containsID="false" expressionType="None">TABLOCK,CHECK_CONSTRAINTS</property>
                  <property id="30" name="FastLoadMaxInsertCommitSize" dataType="System.Int32" state="default" isArray="false" description="Specifies when commits are issued during data insertion.  A value of 0 specifies
    that one commit will be issued at the end of data insertion.  Applies only if fast load is turned on." typeConverter="" UITypeEditor="" containsID="false" expressionType="None">2147483647</property>
                </properties>
                <connections>
                  <connection id="26" name="OleDbConnection" description="The OLE DB runtime connection used to access the database." connectionManagerID="{DCE78F76-3B49-4318-993E-13FE9B71E2D5}" />
                </connections>
                <inputs>
                  <input id="31" name="OLE DB Destination Input" description="" hasSideEffects="true" dangling="false" errorOrTruncationOperation="Insert" errorRowDisposition="FailComponent" truncationRowDisposition="NotUsed">
                    <inputColumns>
                      <inputColumn id="39" name="" description="" lineageId="121" usageType="readOnly" errorOrTruncationOperation="" errorRowDisposition="NotUsed" truncationRowDisposition="NotUsed" externalMetadataColumnId="37"
    mappedColumnId="0" />
                      <inputColumn id="186" name="" description="" lineageId="181" usageType="readOnly" errorOrTruncationOperation="" errorRowDisposition="NotUsed" truncationRowDisposition="NotUsed" externalMetadataColumnId="36"
    mappedColumnId="0" />
                    </inputColumns>

  • Business Objects parameters names to configure using JAVA SDK for report generation

    Post Author: christof
    CA Forum: JAVA
    Hello All, I have created a small set of reports which need to be generated from a Java application.The Crystal Reports configuration was relatively easy for the parameters as you have control over their names but is this also the case in Business Objects. For some reports I have created parameters linked to a user prompt. What would the parameters name be that I should use in the Java application.Is this then just the prompt text or should we use e.g. a number e.g parameter 1,.. Kind Regards,

    Post Author: Ted Ueda
    CA Forum: JAVA
    Hello Christof,If you're referring to the Crystal Report parameters via code, then you would refer to them by their parameter name, and not their prompt string.I note that, with BusinessObjects (now called Desktop Intelligence), prompts were referred to by their prompt string.Sincerely,Ted Ueda

  • How to fetch published data from portal using ABAP

    Hello,
    I have a file published in the portal (with broadcaster). Now I want to use this file in an ABAP program. I can't call the web address directly because my program can't handle the Portal authentication. So I have two questions:
    - is there any way to call Portal-websites which require authentication from ABAP?
    or
    - how can I directly get access to the file without detour over the Portal (where is the place in file system).
    Thank you very much!
    Martin

    Hello Adrian,
    Thank you very much for your reply.
    > You can publish the report in MHTML format using the
    > BEx Broadcaster to a mapped drive  (completely
    > independent of the portal)  then you could pick this
    > up from your ABAP program if you have access to that
    > share.
    What do you mean with "mapped drive" - <a href="http://http://help.sap.com/saphelp_erp2005vp/helpdata/en/42/e915d951f23ee0e10000000a1553f6/frameset.htm">this</a>? I guess I could choose this drive in broadcaster at "export document in any folder" (don't know exactly English label because my system is in German language...)?
    > I dont really see the value of publishing the report
    > to KM if all you are wanting to do is read this back
    > into your ABAP program.  Why are you wanting to
    > publish the report to the portal in the first place?
    I need to get the image of a BW-chart in ABAP because I want to use it in SAP Interactive Forms by Adobe (I have an ABAP program to fetch my data and create the form). I could create my own chart of the data with the Internet Graphics Service but this would be a lot of work. You can create this charts very easily using the Chart Designer which i.e. is included in the Web Application Designer. If you create a Web Site containing a chart you can access this via browser and you have the chart as an image (created from current data). I tried simply to call this website with ABAP but I can not "log in" and so I have no access to this page. Because of this I had the idea to use the broadcaster to automatically publish this Web Application when my data were updated. If I use MHTML my chart-image is saved separately. This just would work for me. And now I want to get this image as a binary with ABAP.
    I hope you understand my problem.
    Martin

  • How to fetch session timeout from the server

    Hi
    I want to subscribe about the value of the session timeout value from the server 
    from time to time , is there any way in the flex or through blazeds to achieve 
    this . 
    Thanks 
    Akshat

    Ernie,
    thanks for your suggestions. It seems my problem can't be solved in a smart way. To your question: My server space is limited ( 1 GB ), I use currently about 2/3 of it.
    I have access to the mails via the web interface and therefore I could forward the mails to my account but I would like to have all mails local on my Mac with the original time stamps and format. But that's not the case for forwarded mails. In addition for sure the problem is not solved, if I cure the current symptoms and I have no idea if it's caused by an update of my Mac or by the server.
    Werner

  • How to resolve a host name from IP using JNDI/DNS service provider

    Hi
    I got two questions on JNDI/DNS service provider:
    1) How to resolve a host name when i got an IP
    I understand How I do it inverse.
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.dns.DnsContextFactory");
    env.put(Context.PROVIDER_URL, "dns://"+server+"/"+domain);
    DirContext ictx = new InitialDirContext(env);
    Attributes attrs1 = ictx.getAttributes(host, new String[] {"A"});
    2) This example above works when I specify the domain in the provider url.
    If I am not specifing a domain but only the dns server I got an NameNotFoundException.
    What should I do if I don't got the domain?
    get the availible domains and loop on them?

    Hi,
    if your DNS server supports that, you can do a reverse DNS lookup. This works as follows:
    String server = "your.dns.server";
    String domain = "in-addr.arpa";
    String ip = "4.3.2.1";
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.dns.DnsContextFactory");
    env.put(Context.PROVIDER_URL, "dns://" + server + "/" + domain);
    DirContext ictx = new InitialDirContext(env);
    Attributes attrs1 = ictx.getAttributes(ip, new String[] {"PTR"});1: Use the pseudo-domain in-addr.arpa
    2: Use the reverse IP address for lookup, i.e. if your host has 1.2.3.4, use 4.3.2.1!!
    3: Request the PTR attribute
    see also [http://en.wikipedia.org/wiki/Reverse_DNS_lookup|http://en.wikipedia.org/wiki/Reverse_DNS_lookup]
    Martin

  • How to retrieve column name from Excel using POI HSSF eventusermodel?

    Hi ,
    I am simply reading the excel sheet and writing in a txt file. I have done the following in the switch construct. It works fine but I want to retrieve only the column header. But this code gives me all available strings in the excel sheet. Any pointer would be greatly appreciated.
    case SSTRecord sid : 
             SSTRecord sstrecord = (SSTRecord) record;
             for (int i=0; i<sstrecord.getNumUniqueStrings(); i++){      
                  System.out.println(" Column name" +  sstrecord.getString(i));
    break;bye for now
    Sat

    try labels:
            case LabelSSTRecord.sid:
                LabelSSTRecord lrec = (LabelSSTRecord) record;
                if (lrec.getRow() == 0) {
                    System.out.println(" Column name "
                            + sstrec.getString(lrec.getSSTIndex()));
                break;

  • How to fetch already created sessions from Informatica Repository (Informatica SDK)

    Hi guys,I'm using the Informatica SDK to create a java application that accesses the Informatica repository. I'm having a bit of an issue while trying to fetch the names of already created sessions from the Informatica Repository. I'm able to connect to the repo without any issues and have been able to add sources, targets, mappings, sessions, workflows, etc... and save them directly afterwards. However, when I try to fetch the session names from a folder in the repository, I get the following error:Mon Jul 27 15:03:01 PDT 2015 Severity:DEBUG ThreadID:14 Running the pmrep process in the working directory: [C:\Informatica\9.6.1\clients\PowerCenterClient\client\bin].Mon Jul 27 15:03:01 PDT 2015 Severity:DEBUG ThreadID:14 Running the command [listobjects -o session -f "TechOps" -s . ]. Mon Jul 27 15:03:01 PDT 2015 Severity:DEBUG ThreadID:14 Running the command [exit ].Mon Jul 27 15:03:01 PDT 2015 Severity:DEBUG ThreadID:14 Parsing the output of the ListObjects command for each folder.Mon Jul 27 15:03:01 PDT 2015 Severity:DEBUG ThreadID:14 The following errors occurred while running the ListObjects command: [Failed to read repository connection information. Please first connect to the repository using the connect command. Failed to execute listobjects.]. The following errors occurred while running the ListObjects command: [ Failed to read repository connection information. Please first connect to the repository using the connect command. Failed to execute listobjects.].com.informatica.powercenter.sdk.mapfwk.exception.RepoOperationException: The following errors occurred while running the ListObjects command: [ Failed to read repository connection information. Please first connect to the repository using the connect command. Failed to execute listobjects.]. atcom.informatica.powercenter.sdk.mapfwk.core.Folder.fetchSessionNamesFromRepository(Unknown Source) atcom.informatica.powercenter.sdk.mapfwk.core.Folder.fetchSessionNamesFromRepository(Unknown Source) at com.mars.Main.main(Main.java:170)This doesn't really make sense to me as I'm able to connect to the repo fine to add and save changes. Here's my code for fetching:// Create a list of session names and store the names
    List<String> sessionNames = null;
    try {
        sessionNames = folder.fetchSessionNamesFromRepository();
    } catch (RepoOperationException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
    } catch (MapFwkReaderException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
    // Print the list of session names
    for (int i = 0; i < sessionNames.size(); i++) {
        System.out.println("Session " + i + " is " + sessionNames.get(i));
    }I've confirmed that the folder object works fine as I can add and save other objects to that folder in the repo.The other odd thing is that if I go to the install path for Informatica on my machine and I run pmrep from the command prompt followed by the command to fetch session names, it works fine.Any help on this would be greatly appreciated.Thanks

    Hi neel007,
    Just use a List instead of a Vector, it's more performant :
    List<Folder> rep_FetchedFolders = new ArrayList<Folder>();If you need to synchronize your list, then
    List<Folder> rep_FetchedFolders = Collections.synchronizedList(new ArrayList<Folder>());Also, if you're using Java 5 or higher and if you're sure listOfTargets contains only Target objects, instead of this
    for(int b=0; b<listOfTargets.size();b++){
       Target trg = ((Target)listOfTargets.get(b));
       t_folder.addTarget(trg);
    }you may do this :
    for (Target trg : listOfTargets) {
       t_folder.addTarget(trg);
    }Edited by: Chicon on May 18, 2009 7:29 AM
    Edited by: Chicon on May 18, 2009 7:35 AM

  • Interactive Sort using RAS SDK

    We are creating a report from scratch using RAS SDk. In our report we want to enable interactive (dynamic) sort for some of the columns. We are unable to figure out a method that provides this functionality.
    Thanks.

    I don't think this is possible.  Last time I tried this was when the product released approx 2 years ago and I have not heard of this functionality being added in.

  • How to get the job logs from sm35 by using the queue id and session name?

    hi all,
    can any one please let me know how to read the job log from sm35 by using the session name and queue id. i have the job name and job count but is it possible to download the job log by using the queue id and session name.
    FYI..
    i want to read this job log and i want to send it to an email id.
    -> i am using the job_open and submitting the zreport via job name and job count and then i am using the function module  job_close.
    but this is not working in my scenario i have the queue id and session name by using this two i want to get the job log is there any function module available or code please provide me some inputs.
    thanks in advance,
    koushik

    Hi Bharath,
    If you want to download it to the local file then you can follow the instructions in the below link.
    How to download Batch Input Session Log?
    Regards,
    Sachin

  • How to get Universe Long Name from DataProvider from BO SDK Web XI R3

    In BO 6.5 I was able to query the repository using an Oracle query to get details about the classes, property(s) and property data value(s). I'm using the following query:
    SELECT DISTINCT u.uni_longname, c.cls_name, p.prp_name, p.property_id,
                    d.prp_datavalue
               FROM unv_universe@PRBA u,
                    unv_class@PRBA c,
                    unv_property@PRBA p,
                    unv_prop_data@PRBA d
              WHERE c.universe_id = u.universe_id
                AND c.universe_id = p.universe_id
                AND c.class_id = p.class_id
                AND p.universe_id = d.universe_id
                AND p.property_id = d.property_id
                AND d.prp_datatype = 'W'
           ORDER BY 1, 2
    where PRBA is our BO oracle repository. It would return the following, though I get multiple rows for this query, I am pasting one row only
    UNI_LONGNAME          CLS_NAME            PRP_NAME               PROPERTY_ID      PRP_DATAVALUE
    Accounting Universe   Account Details     Account Option     15                      ACCT.ACCT_ID  IN  @Prompt('ACCOUNT_OPTION','N', ['Account Details\Account ID'],multi,free)
    I'm wondering what is the equivalent methods/objects using BO Java SDK in Webi XI R3 to get the same information. I use the above information to delete the prompts for which user has not provided a value.
    Also I need to know, Is it possible to get Univers Long Name from DataProivder, then from Univers Long Name, will I be able to get the above Records Set? Is this possible in BO SDK Webi XI R3?
    My requirement is, I have BO Prompts and I need to remove certain prompts which are not supplied by the User, for example if I need to remove ACCOUNT_OPTION, I iterate the record set, as long as ACCOUNT_OPTION is there in PRP_DATAVALUE then I would remove the Filter Condition.Can anyone help me out on this? Rightnow This is a show stopper for me.
    Thanks

    Thanks for your reply, NO Java SDK means, what is it not possible? and what is possible through COM SDK?
    my requirement is, I need to remove certain Filter condition for a DataProvider, for example, ACCOUNT_OPTION is the name of the field, but through JAVA SDK, I am getting Account Option ,
    I have been trying the below code, Can anyone help me out what am I doing wrong? I could not go further.
    ACTXTRACTCon is my list of arrays, these prompts have to be removed from BO Prompts. Although I wanted to post my entire code, for some reason I could not embed the code. This code may have some compilation errors.
         // Get Providers from DocumentInstance
                   DataProviders oProviders = oDoc.getDataProviders();
                   int iDataProviderIndex = 0;
                   int iQueryCount = 0;
                   int iQueryIdx = 0;
                   Query oQuery = null;
                   // Declare ConditionContainer
                   ConditionContainer oCC = null;
                   int iCCIndex = 0;
                   FilterConditionNode oFCN = null;
                   ConditionObject oCO = null;
    String ACTXTRACTCon [] ={                    
                   "PRINTER_NAME",
                   "PARTNER_RANK",
                   "PARTNER_DOMICILE",
                   "TO_GL_CYCLE_DT",
                   "ENTITY_OPTION",
                   "LONG_MEMO",
                   "SHORT_MEMO",
                   "ENTITY_TYPE",
                   "POST_END_DT",
                   "TCODE_TYPE",
                   "ACCOUNT_OPTION",
                   "PARTNER_STATUS",
                   "ACCT_TYPE",
                   "POST_BEGIN_DT",
                   "TCODE_OPTION",
                   "FROM_GL_CYCLE_DT",
                   "PARTNER_TYPE"
    while (iDataProviderIndex <= oProviders.getCount()-1){
                        // Get DataProvider from DataProviders
                        DataProvider oProvider = oProviders.getItem(iDataProviderIndex);
                        // Get Query from DataProvider
                        QueryContainer oQuerys = oProvider.getCombinedQueries();
                        System.out.println("oProvider------->"+oProvider);
                        System.out.println("oProvider.getName().."+oProvider.getName());
                        System.out.println("oProvider.getDataSource().getLongName().."+oProvider.getDataSource().getLongName());
                        System.out.println("oProvider.getDataSource().getUniverseID().."+oProvider.getDataSource().getUniverseID());
                        iQueryCount = oQuerys.getChildCount();
                        if (iQueryCount > 0) {                         
                             // Loop through Query to get ConditionObject
                             for (iQueryIdx = 0; iQueryIdx <= iQueryCount - 1; iQueryIdx++) {
                                  oQuery = (Query)oQuerys.getChildAt(iQueryIdx);
                                  oCC = oQuery.getCondition();
                                  if (oCC != null){                              
                                       // Only Leaf object has condition
                                       if (!oCC.isLeaf()){
                                            // Loop through ConditionContainer to get all conditions
                                            int iCCCount = oCC.getChildCount();
                                            int iRevCCIndex = 0;
                                            //Removing universe level conditions
                                            for (iCCIndex = 0; iCCIndex <= iCCCount-1; iCCIndex++){
                                                 iRevCCIndex= iCCCount - iCCIndex -1;
                                                 oFCN=oCC.getFilterConditionNode(iRevCCIndex);
                                                 if (oFCN instanceof ConditionObject) {
                                                      oCO = (ConditionObject)oFCN;
                                                      FilterCondition oOperand=(FilterCondition)oCO.getOperand();
                                                      System.out.println("oOperand.."+oOperand);
                                                      for (int iRow = 0; iRow <= ACTXTRACTCon.length - 1; iRow++){     
                                                           if (oCO.getName().trim().toString().equals(ACTXTRACTCon[iRow])){
                                                                oFCN.remove(oCO);
                                                                break;
                                            // Removing report level conditions
                                            iCCCount = oCC.getChildCount();
                                            for (iCCIndex = 0; iCCIndex <= iCCCount-1; iCCIndex++){
                                                 iRevCCIndex= iCCCount - iCCIndex -1;
                                                 oFCN=oCC.getFilterConditionNode(iRevCCIndex);
                                                 if (oFCN instanceof ConditionObject){
                                                      oCO = (ConditionObject)oFCN;
                                                      FilterCondition oOperand=(FilterCondition)oCO.getOperand();
                                                      if (oOperand != null){
                                                           int iOperandCount = oOperand.getOperandCount();
                                                           int iRevOperandIdx = 0;
                                                           boolean bBreakInd = false;
                                                           for (int iOperandIdx = 0; iOperandIdx <= iOperandCount-1; iOperandIdx++){
                                                                // Removing conditions start with high index
                                                                iRevOperandIdx = iOperandCount - iOperandIdx - 1;
                                                                for (int iRow = 0; iRow <= ACTXTRACTCon.length-1 ; iRow++){                                                                 
                                                                     if (oOperand.getOperand(iRevOperandIdx).toString().equals(ACTXTRACTCon[iRow])){
                                                                          oFCN.remove(oCO);
                                                                          bBreakInd = true;
                                                                          break;
                                                                if (bBreakInd == true){
                                                                     // Exit from loop if condition has been removed
                                                                     break;
                        // fetch the changes
                        oProvider.runQuery();
                        iDataProviderIndex++;
                        System.out.println("Data Provider Index = " + iDataProviderIndex);
    Thanks
    Gokul.
    Edited by: mgggkn on Jul 11, 2011 8:18 PM

  • How to fetch mpg file from content repository

    Hi All,
    I have uploaded a mpg(video) file in content repositoy. But I am not able to fetch
    it and display it using embed tag.
    is anybody aware of a right method to do the same?
    Thanks in advance.

    I was thinking there might be a difference in how the browser handles a
    path with a space when typed into the address bar vs. how the browser
    plugin/activex-object handles a path with a space when it gets it from
    the <param> or <embed> tag.
    Otherwise, I'm not sure what's going on. How content displays on
    someone's computer mostly depends on the persons's computer, how it's
    configured, what's installed, etc. If you can get the Node's BinaryValue
    from the WLP server and it has the correct ContentType and the correct
    bytes, then, at that point, WLP is no longer really involved.
    Do PDFs, word docs, audio, shockwave, and other binary media types
    stored in a WLP content repository display correctly with
    <object><embed> tags in your browser?
    Vijay wrote:
    Hi Gregory Smith,
    There is no problem with path at all. The same path if I write in address bar
    of browser it opens a widows media player and plays the video file.
    Pls suggest.
    Vijay B.
    Gregory Smith <[email protected]> wrote:
    See if using a path of
    http://etgjw4:7001/JWWebApp/ShowBinary/BEA+Repository/Ads/AdsPopup/ad1//image
    (note the + between BEA and Repository) changes anything. If so, you
    can
    use the com.bea.content.manager.ContentHelper.pathInfoEncode() method
    to
    URLEncode the node path, e.g.
    http://etgjw4:7001<%=request.getContextPath()%>/ShowBinary<%=ContentHelper.pathInfoEncode(node.getPath())%>//image
    or, the <cm:getProperty> tag supports this automatically, e.g:
    http://etgjw4:7001<%=request.getContextPath()%>/ShowBinary<cm:getProperty
    name="cm_path" node=<%=node%> conversionType="url"/>//image
    (You might need to double check that code in workshop to make sure it
    compiles).
    Greg
    Vijay wrote:
    Hi Gregory,
    When I type the repository path //property name in the browser's addressbook,
    It opens a windows media player and plays the video file.
    But when I copy the same path and paste it in embed/object tag it justloads up
    a windows media player. When I see the error details it says "Cannotopen. Please
    verify that the path and filename are correct and try again." Thereis a advanced
    button on error window clicking on that it shows "The specified streamtype is
    not recognized. (Error=C00D07E2)
    Cannot open. Please verify that the path and filename are correctand try again.
    (Error=C00D07E2)".
    can you give me a solution on this?
    The HTML code that I have written is attached to this query.
    Thanks alot,
    Vijay
    Gregory Smith <[email protected]> wrote:
    First, make sure the BinaryValue of the property of the Node has the
    correct content-type (should be video/mpeg, or similar). This can be
    in
    1 of the following ways:
    1. Look in the BLOB_CONTENT_TYPE column of the CM_PROPERTY table.
    2. Get the Node (e.g. with <cm:getNode>), then get the BinaryValue
    (with
    <cm:getProperty>), and call the getContentType() method of the BinaryValue.
    3. Show the ShowBinaryServlet on the Node in the browser and see what
    your browser does. The URL would probably be something like
    http://<server>:<port>/<webapp>/ShowBinary/<path to node>, e.g.
    http://localhost:7001/sampleportal/ShowBinary/BEA+Repository/mynode.
    You
    can bring up the properties for that in IE, or Page Info (Ctrl-I) in
    Mozilla; that should tell you the content type the browser received.
    If it's not something like video/mpeg, then that's why it's not working.
    Make sure you browser has support of mpegs in <embed> by creating a
    simple html file with an <embed> to an mpeg file (don't use the server
    at all). If that works and the content-type of the node is correct,you
    should be to create an html file with an <embed> to the URL in #3 above,
    e.g.
    <embed
    src="http://localhost:7001/sampleportal/ShowBinary/BEA+Repository/mynmode">
    </embed>
    If that works, make sure your jsp is generating the correct HTML.
    Greg
    Vijay wrote:
    I am using weblogic 8.1.
    Gregory Smith <[email protected]> wrote:
    What version of WLP are you using?
    Vijay wrote:
    Hi All,
    I have uploaded a mpg(video) file in content repositoy. But I am
    not
    able to fetch
    it and display it using embed tag.
    is anybody aware of a right method to do the same?
    Thanks in advance.
    New Web Application Page

Maybe you are looking for