Command tag with OraFormsGenerator

Hi,
I am working on a project and I have to include Oracle Forms in a JHeadstart application.
The interaction from JHS app to Forms is working fine. All parameters are passed.
The problem comes up when I want to use an off command so I can catch an action from Forms
and pass it to JSF like. I got this to work with simple ADF and oracleformsfaces.
<off:formCommand
id="vrniSP"
action="#{vrnitevSPrenosom}"
/>
So I am interested in if it is possible to add an off command in JHeadstart because in Application Definition Editor i can find only "Add Parameter" and not "Add Command".
I tried to edit ora_forms_faces.vm template too but it doesn't worked. Has anyone
I am using JHeadstart 11.1.1.3.35
dejan
Edited by: dejanl on Aug 18, 2011 1:41 PM
Edited by: dejanl on Aug 18, 2011 1:44 PM

When I modify the template I get an Error 500--Internal Server Error
caused because that the command can't find the method that
should be executed.
I put it in the java implementation file of the application module of the
JHS Service that has the group with the oracleformsfaces generated form.
In my example i have:
>
public String myMethod() {
method in the java implementation file of the app module
return "a string";
}In the template:
<off:form
id="oraForm"
formModuleName="${JHS.current.item.value}"
clipApplet="true"
autoClipTop="menu"
autoSize="true"
width="600"
height="800" >
#foreach($param in ${JHS.current.item.params} )
<off:formParameter
formParameterName="${param.name}"
value="${param.value}"
globalName="${param.name}"
/>
#end
<off:formCommand
id="methodID"
action="#{myMethod}"
/>
</off:form>In the myForm.fmb I have the following command in the WHEN-BUTTON-PRESSED
offInterface.execJsfCommand('myMethod');Am I doing something wrong?
Regards, Dejan

Similar Messages

  • About command"tag-switching advertise-tags"

    Does the command "tag-switching advertise-tags" must be used in the mpls environment? If I do not use it, whether the PE or P router can not work normally?

    Hi,
    Well the tag-switching advertise tags is used only to apply the tags to an IP Prefix selectively & not for the Global IP Table..
    As soon as u enable MPLS on an interface it floods the MPLS LFIB with the local labels & with the labelled prefix only with the allowed Prefx range..
    The advertised -tag is normally associated with the access-list..
    As an example I can use advertise tags associating with the only the loopback which shall be the next-hop for PE/P..
    Pls do let me know for further queries..
    Thanks.
    Pinku P Doshi
    CCIE-Datacraft India

  • Error MSB3073: The command exited with code -1

    I am getting this error while deploying the biztalk project from visual studio using Deployment Framework for Biztalk (BTDF).
    Please guide me what needs to be done. Here's the code :-
    <?xml version="1.0" encoding="utf-8"?>
    <!--
    Deployment Framework for BizTalk
    Copyright (C) 2008-14 Thomas F. Abraham, 2004-08 Scott Colestock
    -->
    <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Installer" ToolsVersion="4.0">
    <PropertyGroup>
    <Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
    <Platform Condition="'$(Platform)' == ''">x86</Platform>
    <SchemaVersion>1.0</SchemaVersion>
    <ProjectName>HelloWorld</ProjectName>
    <ProjectVersion>1.0</ProjectVersion>
    <IncludeOrchestrations>False</IncludeOrchestrations>
    <IncludeTransforms>False</IncludeTransforms>
    <IncludeSSO>True</IncludeSSO>
    <UsingMasterBindings>True</UsingMasterBindings>
    <RequireXmlPreprocessDirectives>False</RequireXmlPreprocessDirectives>
    <ApplyXmlEscape>True</ApplyXmlEscape>
    <SkipIISReset>True</SkipIISReset>
    </PropertyGroup>
    <PropertyGroup>
    <!-- Properties related to building an MSI for server deployments -->
    <!-- BizTalk App Version Upgrade -->
    <!-- For each new product release to be deployed to your BizTalk servers: -->
    <!-- 1) Increment ProductVersion -->
    <!-- 2) Generate a new GUID and update ProductId with the new GUID -->
    <!-- This allows the new MSI to automatically uninstall (not undeploy!) the old MSI and install the new one. -->
    <ProductVersion>1.0.0</ProductVersion>
    <ProductId>084986b1-d675-4383-b0ed-da2e3f4e3998</ProductId>
    <!-- BizTalk App Version Upgrade -->
    <ProductName>HelloWorld for BizTalk</ProductName>
    <Manufacturer>Deployment Framework User</Manufacturer>
    <PackageDescription>HelloWorld</PackageDescription>
    <PackageComments>HelloWorld</PackageComments>
    <!-- NEVER change the ProductUpgradeCode. -->
    <ProductUpgradeCode>4975288c-1b94-4d42-868b-f166cdc02224</ProductUpgradeCode>
    </PropertyGroup>
    <!-- Under TFS Team Build, set CustomizableOutDir property to true in TFS 2005/2008/2010 UpgradeTemplate. -->
    <!-- With a workflow build, copy the default template then modify the MSBuild task for the solution build. Set OutDir to blank and -->
    <!-- CommandLineArguments to String.Format("/p:SkipInvalidConfigurations=true;TeamBuildOutDir=""{0}"" {1}", BinariesDirectory, MSBuildArguments). -->
    <PropertyGroup Condition="'$(Configuration)' == 'Debug'">
    <DeploymentFrameworkTargetsPath>$(MSBuildExtensionsPath)\DeploymentFrameworkForBizTalk\5.0\</DeploymentFrameworkTargetsPath>
    <OutputPath Condition="'$(TeamBuildOutDir)' == ''">bin\Debug\</OutputPath>
    <OutputPath Condition="'$(TeamBuildOutDir)' != ''">$(TeamBuildOutDir)</OutputPath>
    <DeployPDBsToGac>false</DeployPDBsToGac>
    </PropertyGroup>
    <PropertyGroup Condition="'$(Configuration)' == 'Release'">
    <DeploymentFrameworkTargetsPath>$(MSBuildExtensionsPath)\DeploymentFrameworkForBizTalk\5.0\</DeploymentFrameworkTargetsPath>
    <OutputPath Condition="'$(TeamBuildOutDir)' == ''">bin\Release\</OutputPath>
    <OutputPath Condition="'$(TeamBuildOutDir)' != ''">$(TeamBuildOutDir)</OutputPath>
    <DeployPDBsToGac>false</DeployPDBsToGac>
    </PropertyGroup>
    <PropertyGroup Condition="'$(Configuration)' == 'Server'">
    <DeploymentFrameworkTargetsPath>Framework\</DeploymentFrameworkTargetsPath>
    <!-- Get our PDBs into the GAC so we get file/line number information in stack traces. -->
    <DeployPDBsToGac>true</DeployPDBsToGac>
    </PropertyGroup>
    <ItemGroup>
    <PropsFromEnvSettings Include="SsoAppUserGroup;SsoAppAdminGroup" />
    </ItemGroup>
    <!-- !!! TODO !!! -->
    <!-- Add ItemGroup elements that contain one or more Schemas, Orchestrations, Transforms, etc. elements that describe -->
    <!-- the specific artifacts in your solution that need to be deployed. Use IntelliSense as a guide. -->
    <ItemGroup>
    <Schemas Include="HelloWorld.dll">
    <LocationPath>..\$(ProjectName)\bin\$(Configuration)</LocationPath>
    </Schemas>
    </ItemGroup>
    <!-- !!! TODO !!! -->
    <Import Project="$(DeploymentFrameworkTargetsPath)BizTalkDeploymentFramework.targets" />
    <!--
    The Deployment Framework automatically packages most files into the server install MSI.
    However, if there are special folders that you need to include in the MSI, you can
    copy them to the folder $(RedistDir) in the CustomRedist target.
    To include individual files, add an ItemGroup with AdditionalFiles elements.
    -->
    <Target Name="CustomRedist">
    </Target>
    </Project>
    Error :-
    Starting build...
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe "C:\BTDF\Walkthrough1\HelloWorld.Deployment\Deployment.btdfproj" /nologo /t:Deploy /p:Configuration=Debug
    Build started 08-04-2015 17:43:51.
    Project "C:\BTDF\Walkthrough1\HelloWorld.Deployment\Deployment.btdfproj" on node 1 (Deploy target(s)).
    SetModeDeploy:
    DEPLOYING APPLICATION TO BIZTALK...
    SetWinVer:
    Running on Windows V62
    Detected IIS 7
    Detected 64-bit OS
    GetSoftwarePaths:
    Using .NET Framework Install Path 'C:\Windows\Microsoft.NET\Framework\v4.0.30319'.
    Using BizTalk Install Path 'C:\Program Files (x86)\Microsoft BizTalk Server 2013\'.
    Using Deployment Framework Install Path 'C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\'.
    Using Deployment Framework Tools Path 'C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Framework\DeployTools'.
    Using BizTalk ESB Toolkit Install Path 'C:\Program Files (x86)\Microsoft BizTalk ESB Toolkit\'.
    ExportSettings:
    "C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Framework\DeployTools\EnvironmentSettingsExporter.exe" "C:\BTDF\Walkthrough1\HelloWorld.Deployment\EnvironmentSettings\SettingsFileGenerator.xml" "C:\BTDF\Walkthrough1\HelloWorld.Deployment\EnvironmentSettings"
    Environment Settings Spreadsheet to XML Exporter 1.6.1
    [http://EnvSettingsManager.codeplex.com]
    Copyright (C) 2007-11 Thomas F. Abraham. All Rights Reserved.
    Importing from SettingsFileGenerator.xml...
    Output format is XmlPreprocess (multi-file).
    Exporting to Exported_LocalSettings.xml...
    Exporting to Exported_DevSettings.xml...
    Exporting to Exported_TestSettings.xml...
    Exporting to Exported_ProdSettings.xml...
    Finished.
    InitSettingsFilePath:
    Using settings file C:\BTDF\Walkthrough1\HelloWorld.Deployment\EnvironmentSettings\Exported_LocalSettings.xml
    SetPropertiesFromEnvironmentSettings:
    Setting properties from environment settings file (C:\BTDF\Walkthrough1\HelloWorld.Deployment\EnvironmentSettings\Exported_LocalSettings.xml)
    Setting property to value 'BizTalk Application Users'.
    Setting property to value 'BizTalk Server Administrators'.
    InitializeAppName:
    BizTalk Application Name is HelloWorld
    PreprocessBindings:
    Checking syntax of XML file 'C:\BTDF\Walkthrough1\HelloWorld.Deployment\PortBindingsMaster.xml'...
    Syntax of XML file 'C:\BTDF\Walkthrough1\HelloWorld.Deployment\PortBindingsMaster.xml' appears to be valid.
    Clearing file attributes for 'PortBindings.xml'.
    "C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Framework\DeployTools\xmlpreprocess.exe" /v /c /noDirectives /i:"C:\BTDF\Walkthrough1\HelloWorld.Deployment\PortBindingsMaster.xml" /o:"C:\BTDF\Walkthrough1\HelloWorld.Deployment\PortBindings.xml" /d:CurDir="C:\BTDF\Walkthrough1" /s:"C:\BTDF\Walkthrough1\HelloWorld.Deployment\EnvironmentSettings\Exported_LocalSettings.xml"
    XmlPreprocess v2.0.18.0
    Copyright (c) 2004-2013 Loren M Halvorson
    XML File Preprocessor
    Settings XML file: "C:\BTDF\Walkthrough1\HelloWorld.Deployment\EnvironmentSettings\Exported_LocalSettings.xml"
    Preprocessing "C:\BTDF\Walkthrough1\HelloWorld.Deployment\PortBindingsMaster.xml" to "C:\BTDF\Walkthrough1\HelloWorld.Deployment\PortBindings.xml"...
    PortBindings.xml : Set the value 'HelloWorld' of 2 node(s) matching XPath '//ApplicationName'.
    "C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Framework\DeployTools\ElementTunnel.exe" /i:"C:\BTDF\Walkthrough1\HelloWorld.Deployment\PortBindings.xml" /o:"C:\BTDF\Walkthrough1\HelloWorld.Deployment\PortBindings.xml" /x:"C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Framework\DeployTools\adapterXPaths.txt" /encode+
    Nested XML Encoder/Decoder v5.5.100.0
    Copyright (C) 2005-2014 Scott Colestock, Tim Rayburn, Thomas F. Abraham
    XML encodes/decodes content of element(s) by XPath. Applies escaping rules such
    as &gt; for '<'. Namespace decls, PIs, etc. of nested XML are not preserved.
    XPaths : 16
    Transformed Nodes : 0
    Empty Nodes (skipped) : 3
    No Transform Req'd (skipped) : 3
    Total Matched Nodes : 6
    Complete - output file has been saved.
    Checking syntax of XML file 'C:\BTDF\Walkthrough1\HelloWorld.Deployment\PortBindings.xml'...
    Syntax of XML file 'C:\BTDF\Walkthrough1\HelloWorld.Deployment\PortBindings.xml' appears to be valid.
    DeployFileAdapterPhysicalPaths:
    Configuring FILE adapter physical paths from binding file PortBindings.xml...
    Processing FILE adapter physical paths (Send)...
    Setting up path 'C:\BTDF\Walkthrough1\Out'...
    Directory already exists.
    Granted 'BUILTIN\Users' Full Access permissions.
    Processing FILE adapter physical paths (Receive)...
    Setting up path 'C:\BTDF\Walkthrough1\In'...
    Directory already exists.
    Granted 'BUILTIN\Users' Full Access permissions.
    TerminateServiceInstancesConditional:
    Attempting to terminate all service instances for BizTalk app 'HelloWorld'...
    Terminated 0 service instances for BizTalk app 'HelloWorld'.
    VerifyBizTalkAppExists:
    Checking for existence of BizTalk application 'HelloWorld'...
    Did not find BizTalk application 'HelloWorld'.
    DeployAppDefinition:
    BTSTask.exe AddApp -ApplicationName:"HelloWorld" -Description:"HelloWorld"
    Microsoft (R) BizTalk Application Deployment Utility Version 3.10.229.0
    Copyright (c) 2013 Microsoft Corporation. All rights reserved.
    Information: Adding new BizTalk application "HelloWorld" to configuration database (server="BDDBESBWMV01", database="BizTalkMgmtDb")...
    Information: Added application "HelloWorld".
    Command succeeded with 0 errors, 0 warnings.
    UndeploySchemas:
    Adding assembly name 'HelloWorld, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1a3b87e04e203d0f' to item group.
    "C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Framework\DeployTools\gacutil.exe" /u "HelloWorld, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1a3b87e04e203d0f"
    Microsoft (R) .NET Global Assembly Cache Utility. Version 4.0.30319.1
    Copyright (c) Microsoft Corporation. All rights reserved.
    Number of assemblies uninstalled = 0
    Number of failures = 0
    DeploySchemas:
    BTSTask.exe AddResource -Type:BizTalkAssembly -Source:"..\HelloWorld\bin\Debug\HelloWorld.dll" -ApplicationName:"HelloWorld" -Options:GacOnAdd,GacOnImport,GacOnInstall
    Microsoft (R) BizTalk Application Deployment Utility Version 3.10.229.0
    Copyright (c) 2013 Microsoft Corporation. All rights reserved.
    Information: Adding resource (-Type="System.BizTalk:BizTalkAssembly" -Luid="HelloWorld, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1a3b87e04e203d0f") to application "HelloWorld"...
    Serialized BizTalk assembly "HelloWorld, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1a3b87e04e203d0f" from "..\HelloWorld\bin\Debug\HelloWorld.dll".
    Information: Validating resources (count=1)...
    * Validating resource (-Type="System.BizTalk:BizTalkAssembly" -Luid="HelloWorld, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1a3b87e04e203d0f")...
    Information: Performing change requests...
    Information: Calling BeginTypeChangeRequest for all selected resource types...
    PerformingBeginChangeRequest
    Adding resource (-Type="System.BizTalk:BizTalkAssembly" -Luid="HelloWorld, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1a3b87e04e203d0f") to store.
    Information: * Performing change request on type "System.BizTalk:BizTalkAssembly" (count=1)...
    Information: Deploy server="BDDBESBWMV01" database="BizTalkMgmtDb" assembly="C:\Users\dopdevbiztalkadmin1\AppData\Local\Temp\BT\PID9536\BizTalkAssembly\4b4a4387187988d2dc55c72b16113199\HelloWorld.dll"
    Information: Installed the "C:\Users\dopdevbiztalkadmin1\AppData\Local\Temp\BT\PID9536\BizTalkAssembly\4b4a4387187988d2dc55c72b16113199\HelloWorld.dll" assembly into the Global Assembly Cache. (force=True)
    Information: Deploy operation succeeded.
    Information: Deploy server="BDDBESBWMV01" database="BizTalkMgmtDb" assembly="C:\Users\dopdevbiztalkadmin1\AppData\Local\Temp\BT\PID9536\BizTalkAssembly\4b4a4387187988d2dc55c72b16113199\HelloWorld.dll"
    Saved schema "Microsoft.Samples.BizTalk.HelloWorld.POSchema, HelloWorld, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1a3b87e04e203d0f".
    Saved schema "Microsoft.Samples.BizTalk.HelloWorld.InvoiceSchema, HelloWorld, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1a3b87e04e203d0f".
    Saved map "Microsoft.Samples.BizTalk.HelloWorld.POToInvoice".
    Saved message type "Microsoft.Samples.BizTalk.HelloWorld.POMessageType".
    Saved message type "Microsoft.Samples.BizTalk.HelloWorld.InvoiceMessageType".
    Saved port type "Microsoft.Samples.BizTalk.HelloWorld.ReceivePOPortType".
    Saved port type "Microsoft.Samples.BizTalk.HelloWorld.SendInvoicePortType".
    Saved orchestration "Microsoft.Samples.BizTalk.HelloWorld.HelloSchedule".
    Saved schema "Microsoft.Samples.BizTalk.HelloWorld.POSchema, HelloWorld, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1a3b87e04e203d0f".
    Saved schema "Microsoft.Samples.BizTalk.HelloWorld.InvoiceSchema, HelloWorld, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1a3b87e04e203d0f".
    Saved map "Microsoft.Samples.BizTalk.HelloWorld.POToInvoice".
    Saved message type "Microsoft.Samples.BizTalk.HelloWorld.POMessageType".
    Saved message type "Microsoft.Samples.BizTalk.HelloWorld.InvoiceMessageType".
    Saved port type "Microsoft.Samples.BizTalk.HelloWorld.ReceivePOPortType".
    Saved port type "Microsoft.Samples.BizTalk.HelloWorld.SendInvoicePortType".
    Saved orchestration "Microsoft.Samples.BizTalk.HelloWorld.HelloSchedule".
    Information: Installed the "C:\Users\dopdevbiztalkadmin1\AppData\Local\Temp\BT\PID9536\BizTalkAssembly\4b4a4387187988d2dc55c72b16113199\HelloWorld.dll" assembly into the Global Assembly Cache. (force=True)
    Information: Deploy operation succeeded.
    Information: Deployed the following 1 BizTalk assemblies:
    HelloWorld.dll
    EXEC : warning : If any of the assemblies were previously loaded by a Host Instance, it may be necessary to restart the Host Instance for changes to take effect. [C:\BTDF\Walkthrough1\HelloWorld.Deployment\Deployment.btdfproj]
    Information: Commit the change requests...
    * Performing EndTypeChangeRequest for resource type "System.BizTalk:BizTalkAssembly".
    Command succeeded with 0 errors, 0 warnings.
    DeploySharedAssemblies:
    Deploying additional assemblies to GAC...
    "C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Framework\DeployTools\gacutil.exe" /f /i "C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Framework\DeployTools\SSOSettingsFileReader.dll"
    Microsoft (R) .NET Global Assembly Cache Utility. Version 4.0.30319.1
    Copyright (c) Microsoft Corporation. All rights reserved.
    Assembly successfully added to the cache
    Finished deploying additional assemblies to GAC.
    ImportBindings:
    Copying file from "C:\BTDF\Walkthrough1\HelloWorld.Deployment\PortBindings.xml" to "C:\BTDF\Walkthrough1\HelloWorld.Deployment\HelloWorld_PortBindings.xml".
    BTSTask.exe AddResource -Type:BizTalkBinding -Overwrite -Source:"C:\BTDF\Walkthrough1\HelloWorld.Deployment\HelloWorld_PortBindings.xml" -ApplicationName:"HelloWorld"
    Microsoft (R) BizTalk Application Deployment Utility Version 3.10.229.0
    Copyright (c) 2013 Microsoft Corporation. All rights reserved.
    Information: Adding resource (-Type="System.BizTalk:BizTalkBinding" -Luid="HelloWorld_PortBindings.xml") to application "HelloWorld"...
    Information: Validating resources (count=1)...
    * Validating resource (-Type="System.BizTalk:BizTalkBinding" -Luid="HelloWorld_PortBindings.xml")...
    Information: Performing change requests...
    Information: Calling BeginTypeChangeRequest for all selected resource types...
    PerformingBeginChangeRequest
    Updating resource (-Type="System.BizTalk:BizTalkBinding" -Luid="HelloWorld_PortBindings.xml") in store.
    Information: * Performing change request on type "System.BizTalk:BizTalkBinding" (count=1)...
    Information: Commit the change requests...
    * Performing EndTypeChangeRequest for resource type "System.BizTalk:BizTalkBinding".
    Command succeeded with 0 errors, 0 warnings.
    Deleting file "C:\BTDF\Walkthrough1\HelloWorld.Deployment\HelloWorld_PortBindings.xml".
    BTSTask.exe ImportBindings -Source:"C:\BTDF\Walkthrough1\HelloWorld.Deployment\PortBindings.xml" -ApplicationName:"HelloWorld"
    Microsoft (R) BizTalk Application Deployment Utility Version 3.10.229.0
    Copyright (c) 2013 Microsoft Corporation. All rights reserved.
    Information: Importing bindings "C:\BTDF\Walkthrough1\HelloWorld.Deployment\PortBindings.xml" into application "HelloWorld" in BizTalk configuration database (server="BDDBESBWMV01", database="BizTalkMgmtDb")...
    Information: Imported application "HelloWorld" bindings.
    Command succeeded with 0 errors, 0 warnings.
    DeploySSO:
    "C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Framework\DeployTools\SSOSettingsFileImport.exe" "HelloWorld" /settingsFile:"C:\BTDF\Walkthrough1\HelloWorld.Deployment\EnvironmentSettings\Exported_LocalSettings.xml" /userGroupName:"BizTalk Application Users" /adminGroupName:"BizTalk Server Administrators"
    Error persisting to SSO:
    System.Runtime.InteropServices.COMException (0xC0002A18): The format of the account name is not valid. Domain accounts must include the domain name. Local accounts must not include a domain or computer name.
    at Microsoft.BizTalk.SSOClient.Interop.ISSOAdmin.CreateApplication(String applicationName, String description, String contactInfo, String userGroupName, String adminGroupName, Int32 flags, Int32 numFields)
    at SSOSettingsFileManager.SSOHelper.CreateApp(String appName, String userGroup, String adminGroup)
    at SSOSettingsFileManager.SettingsFileImport.SaveSettingsToSSO(String affiliateAppName, String inSettings, String userGroupName, String adminGroupName)
    at SSOSettingsFileManager.SettingsFileImport.Main(String[] args)
    C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1701,5): error MSB3073: The command ""C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Framework\DeployTools\SSOSettingsFileImport.exe" "HelloWorld" /settingsFile:"C:\BTDF\Walkthrough1\HelloWorld.Deployment\EnvironmentSettings\Exported_LocalSettings.xml" /userGroupName:"BizTalk Application Users" /adminGroupName:"BizTalk Server Administrators"" exited with code -1. [C:\BTDF\Walkthrough1\HelloWorld.Deployment\Deployment.btdfproj]
    Done Building Project "C:\BTDF\Walkthrough1\HelloWorld.Deployment\Deployment.btdfproj" (Deploy target(s)) -- FAILED.
    Build FAILED.
    "C:\BTDF\Walkthrough1\HelloWorld.Deployment\Deployment.btdfproj" (Deploy target) (1) ->
    (DeploySchemas target) ->
    EXEC : warning : If any of the assemblies were previously loaded by a Host Instance, it may be necessary to restart the Host Instance for changes to take effect. [C:\BTDF\Walkthrough1\HelloWorld.Deployment\Deployment.btdfproj]
    "C:\BTDF\Walkthrough1\HelloWorld.Deployment\Deployment.btdfproj" (Deploy target) (1) ->
    (DeploySSO target) ->
    C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1701,5): error MSB3073: The command ""C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Framework\DeployTools\SSOSettingsFileImport.exe" "HelloWorld" /settingsFile:"C:\BTDF\Walkthrough1\HelloWorld.Deployment\EnvironmentSettings\Exported_LocalSettings.xml" /userGroupName:"BizTalk Application Users" /adminGroupName:"BizTalk Server Administrators"" exited with code -1. [C:\BTDF\Walkthrough1\HelloWorld.Deployment\Deployment.btdfproj]
    1 Warning(s)
    1 Error(s)
    Time Elapsed 00:00:54.94

    Hi Pratibha,
    Thank you for posting in MSND forum.
    Since
    this forum is to discuss: Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.
    Based
    on your issue, since it is related to the Deployment Framework for Biztalk (BTDF), so I suggest you could consult this issue directly to this Deployment Framework for Biztalk (BTDF) website:
    https://biztalkdeployment.codeplex.com/discussions , you will get better support.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Error in Command PrintToPrinter with Crystal version 13.0.1

    We have founded the following error while the command PrintToPrinter with Crystal Report. This kind of error doesn´t happen every time that crystal is called, when this error appears, service fall down and an error is logged on event viewer.Below the error description and source code to call crystal reports.
    ExecutaImpressao method prepare data and load RPT file, while chamarThreadImpressao method start to press and calls EfetivarImpressao.
    Event Type: Error
    Event Source: .NET Runtime
    Event Category: None
    Event ID: 1026
    Date: 18/11/2011
    Time: 10:07:43
    User: N/A
    Computer: SNEPNF02V
    Description:
    Application: Procwork.Software.NFE.WindowsService.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.AccessViolationException
    Stack: at System.Drawing.Internal.IntUnsafeNativeMethods.IntCreateDC(System.String, System.String, System.String, System.Runtime.InteropServices.HandleRef)
    at System.Drawing.Printing.PrinterSettings.CreateDeviceContext(IntPtr)
    at System.Drawing.Printing.StandardPrintController.OnStartPrint(System.Drawing.Printing.PrintDocument, System.Drawing.Printing.PrintEventArgs)
    at System.Drawing.Printing.PrintController.Print(System.Drawing.Printing.PrintDocument)
    at System.Drawing.Printing.PrintDocument.Print()
    at CrystalDecisions.CrystalReports.Engine.FormatEngine.PrintToPrinter(Int32, Boolean, Int32, Int32)
    at CrystalDecisions.CrystalReports.Engine.ReportDocument.PrintToPrinter(Int32, Boolean, Int32, Int32) at Procwork.Software.NFE.Impressoes.EfetivarImpressao.ImprimirDanfe()
    at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
    at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
    at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
    at System.Threading.ThreadHelper.ThreadStart()
    private bool ExecutaImpressao(dsNFE_NF_TRANSFERENCIA_REL dsDANFE, DanfeType tipoDanfe, PrinterType tipoImpressao, Impressora impressora, PrintMedia media, out byte[] pdf)
                int qtdNotas;
                iParametro.Connection = _cnn;
                string tempoVidaThreadImpressao = iParametro.getParameterValue("tempo_vida_thread_executa_impressao");
                if (tempoVidaThreadImpressao == string.Empty)
                    tempoVidaThreadImpressao = "10";
                qtdNotas = dsDANFE.NFE_NF_CAPA.Rows.Count;
                AssemblyLoader assemblyLoader = new AssemblyLoader();
                // Variáveis utilizadas para chamar o Assembly desenvolvido para desenvolvimento adicional da GM
                const string assemblyName = "RePrinter";
                const string className = assemblyName + "." + "Reimprimir";
                const string assemblyNameImp = "Procwork.Software.NFE.API.ImpAutomatica_GM";
                const string classNameImp = assemblyNameImp + "." + "ImpAutomatica_GM";
                pdf = null;
                bool result = false;
                ReportDocument rptDANFE = new ReportDocument();
                try
    cnn = DBConnection.RestoreConnection(cnn);
                    regEvento.connection = _cnn;
                    if (tipoImpressao == PrinterType.Retrato)
                        reportName = reportPath + "DANFE.rpt";
                    else
                        reportName = reportPath + "DANFE_PAISAGEM.rpt";
                    // Log que so faz sentido para nao-wave, pois pega apenas a primeira nota
                    Utils.WriteWindowsLog(String.Format("Impressora null? {0}. Filial: . Docnum: - GerarDANFE.ExecutaImpressao", impressora == null, dsDANFE.NFE_NF_CAPA[0].COD_FILIAL, dsDANFE.NFE_NF_CAPA[0].DOCNUM), LogLevel.INFORMATION);
                    if (impressora != null || media.Equals(PrintMedia.PDF))
                        updateDsNF(dsDANFE, (Int32)DanfeType.Oficial);
                        try
                            FileStream f = File.OpenRead(reportName);
                            f.ReadByte();
                            f.Close();
                        catch (Exception ex)
                            Utils.WriteWindowsLog(ex.Message, LogLevel.ERROR);
                        IBeforePrintDANFE iBeforePrintDanfe = (IBeforePrintDANFE)assemblyLoader.Load(assemblyName, className);
                        if (iBeforePrintDanfe != null)
                            DataSet dsTransferencia = new dsNFE_NF_TRANSFERENCIA_REL();
                            dsTransferencia.Merge(dsDANFE);
                            iBeforePrintDanfe.DoBeforePrintDANFE(ref dsTransferencia, ref reportName, _cnn.Cnn.ConnectionString);
                            rptDANFE.Load(reportPath + reportName);
                            rptDANFE.Refresh();
                            rptDANFE.SetDataSource(dsTransferencia);
                            foreach (ReportDocument r in rptDANFE.Subreports)
                                r.SetDataSource(dsTransferencia);
                        else
                            rptDANFE.Load(reportName);
                            rptDANFE.Refresh();
                            rptDANFE.SetDataSource(dsDANFE);
                            foreach (ReportDocument r in rptDANFE.Subreports)
                                r.SetDataSource(dsDANFE);
                        rptDANFE.DataDefinition.FormulaFields["EH_MINUTA"].Text = (tipoDanfe == DanfeType.NaoOficial ? "true" : "false");
                        if (media.Equals(PrintMedia.Papel))
                            PrintDocument pd = new PrintDocument();
                            PrinterSettings.PaperSourceCollection psc;
                            if (impressora == null) throw new ArgumentNullException("impressora", "O parâmetro não pode ser nulo quando o MediaType for Papel.");
                            if (impressora.bandeja != -1)
                                PaperSource ps;
                                pd.PrinterSettings.PrinterName = impressora.getNomeImpressora();
                                psc = pd.PrinterSettings.PaperSources;
                                if (psc.Count >= impressora.bandeja)
                                    ps = psc[impressora.bandeja];
                                else
                                    throw new Exception("A impressora: " + impressora.nome + " não suporta a bandeja: " + impressora.bandeja + " !");
                                string printer = "";
                                try
                                    printer = impressora.getNomeImpressora();
                                    rptDANFE.PrintOptions.PrinterName = printer;
                                    rptDANFE.PrintOptions.CustomPaperSource = ps;
                                    rptDANFE.PrintOptions.PaperSource = CrystalDecisions.Shared.PaperSource.Manual;
                                catch (Exception ex)
                                    if (ex.Message.ToUpper().Contains("INVALID PRINTER"))
                                        ex.Source = printer;
                                        throw ex;
                                if (!chamarThreadImpressao(rptDANFE, impressora.vias, qtdNotas, tempoVidaThreadImpressao))
                                    gerarErro(dsDANFE, rptDANFE);
                            else
                                string printer = "";
                                try
                                    printer = impressora.getNomeImpressora();
                                    rptDANFE.PrintOptions.PrinterName = printer;
                                catch (Exception ex)
                                    if (ex.Message.ToUpper().Contains("INVALID PRINTER"))
                                        ex.Source = printer;
                                        throw ex;
                                if (!chamarThreadImpressao(rptDANFE, impressora.vias, qtdNotas, tempoVidaThreadImpressao))
                                    gerarErro(dsDANFE, rptDANFE);
                            IAfterPrintDANFE iAfterPrintDanfe = (IAfterPrintDANFE)assemblyLoader.Load(assemblyNameImp, classNameImp);
                            if (iAfterPrintDanfe != null)
                                DataSet dsTransferencia = new dsNFE_NF_TRANSFERENCIA_REL();
                                dsTransferencia.Merge(dsDANFE);
                                iAfterPrintDanfe.DoAfterPrintDANFE(dsTransferencia, _cnn.Cnn.ConnectionString, pd);
                        else if (media.Equals(PrintMedia.PDF))
    #if !DEBUG
                            using (Stream pdfStream = rptDANFE.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat))
                                pdf = new byte[pdfStream.Length];
                                pdfStream.Read(pdf, 0, pdf.Length);
    #else
                            rptDANFE.ExportToDisk(
                                CrystalDecisions.Shared.ExportFormatType.PortableDocFormat
                                , @"C:NFEpdfTemp" + Guid.NewGuid() + ".pdf"
                            pdf = new byte[1];
    #endif
                        result = true;
                        //RegistraEvento(dsDANFE, "513");
                finally
                    //Força sempre fechar o objeto Report (Para não estourar a quantidade máxima de jobs)
                    try
                        rptDANFE.Close();
                    catch { }
                    rptDANFE.Dispose();
                return result;
    #region chamarThreadImpressao
    private static bool chamarThreadImpressao(ReportDocument rpt, int vias, int qtdNotas, string tempo)
    bool retorno = false;
    int tempoCalculado = ((Convert.ToInt32(tempo)) * 1000) * qtdNotas;
    EfetivarImpressao ei = new EfetivarImpressao();
    ei.Rpt = rpt;
    ei.Vias = vias;
    ThreadStart threadStart = ei.ImprimirDanfe;
    Thread thread = new Thread(threadStart);
    try
    thread.Start();
    //Se entrar no if é por que a execução demorou menos que o tempo estipulado no Join
    if (thread.Join(tempoCalculado))
    if (ei.LastError != null)
    throw ei.LastError;
    retorno = true;
    catch (Exception ex)
    Utils.WriteWindowsLog(ex.Message, LogLevel.WARNING);
    finally
    if (thread.IsAlive)
    thread.Abort();
    return retorno;
    #endregion
    }public class EfetivarImpressao
    #region Declarações
    private ReportDocument rpt;
    private Exception lastError;
    private int vias;
    #endregion
    #region ImprimirDanfe
    public void ImprimirDanfe()
    bool retryImpressao = true;
    int numeroTentativaimpressao = 0;
    while (retryImpressao && numeroTentativaimpressao <= 5)
    try
    numeroTentativaimpressao++;
    if (vias > 0)
    rpt.PrintToPrinter(vias, false, 0, 0);
    retryImpressao = false;
    else
    rpt.PrintToPrinter(1, false, 0, 0);
    retryImpressao = false;
    catch (Exception ex)
    // Só sobe a exception a partir da quinta tentativa
    if (numeroTentativaimpressao > 5)
    lastError = ex;
    #endregion
    #region Propriedades
    public int Vias
    set { vias = value; }
    public ReportDocument Rpt
    set { rpt = value; }
    public Exception LastError
    get { return lastError; }
    #endregion

    Hello,
    First thing to do is upgrade to Service Pack 2 and runtime.
    then search this forum for PrintOutputController to handle the printing. P2P is limited in it's abilities and functionality and will not be fixed or updated.
    Update your Printer Drivers and if it's a web app search MSDN for info on how to expose the WEB server to your printers.
    Don

  • How to set an attribute of a HTML tag with a value in the Servlet

    I have a HTML page and a Servlet.
    The HTML page sends a request to the Servlet.
    The Servlet has to read the contents of the HTML page. When the Servlet encounters the body tag it should set the bgcolor attribute of the body tag with a string(For eg.a string called color with a value blue) in the servlet.
    After doing this the Servlet has to update the original HTML page with the changes (in the body tag).
    I need a help on this.

    Hi sangee,
    you could get what you want to do by using a Java Server Page instead of both a HTML page and a Servlet.
    I should code something like this:
    <%Strung color="yourColor"%>
    <html><head><title></title></head>
    <body bgcolor="<%=color%>
    </body>
    </html>

  • Custom tag with rendered attribute

    Is it possible to create a custom tag that operates similar to a JSF tag with the rendered attribute? Wrapping output with c:if test="..." is not as nice as the JSF rendered option, but I don't want to use JSF for this particular project.
    Edited by: black_lotus on Nov 23, 2007 12:13 PM

    TLD File, per your previous recommendation:
    <attribute>
         <name>disabled</name>
         <required>false</required>
         <rtexprvalue>true</rtexprvalue>
         <type>boolean</type>
    </attribute>My Tag class (snippet):
    public class ButtonTag extends TagSupport
      private boolean disabled;
      public ButtonTag() {}
      public boolean isDisabled()
         return disabled;
      public void setDisabled(boolean b)
        disabled = b;
    }A sample of the jsp file invoking it:
    <c:set var="result" value="${computedValue}"/>
    <ltm:button disabled="${result}"/>Regardless of the value of result, ("true" or "false") it always passes false to the setDisabled method of the button tag class.

  • Control 'ctl00_SPWebPartManager1_g_d4fb972b_26ec_4065_9c89_80b51b384492_gvwikireport' of type 'GridView' must be placed inside a form tag with runat=server.

    Hi,
    I have written code for 'Export To Excel' in the visual web part as below
    //ascx file    
    <table>
        <tr>
            <td>From Date:</td>
            <td><SharePoint:DateTimeControl ID="dtFromDate" runat="server" DateOnly="True" /></td>
        </tr>
        <tr>
            <td>To Date:</td>
            <td><SharePoint:DateTimeControl ID="dtToDate" runat="server" DateOnly="True" TimeOnly="False" /></td>
        </tr>
        <tr>
          <td>Report Type:<asp:DropDownList ID="ddlreporttype" runat="server"><asp:ListItem>Consolidated</asp:ListItem><asp:ListItem>Question Wise</asp:ListItem></asp:DropDownList></td>
            <td>
                <br />               
                <asp:GridView ID="gvwikireport" runat="server">
                </asp:GridView>                   
            </td>
        </tr>   
        <tr>
            <td><asp:Button ID="btnExportToExcel" runat="server" Text="Export To Excel" OnClick="btnExportToExcel_Click"/></td>
        </tr>  
        </table>
    //cs file
    protected void Page_Load(object sender, EventArgs e)
                if (!Page.IsPostBack)
                    BindGridview();
    private void BindGridview()
                DataTable dt = new DataTable();
                dt.Columns.Add("UserId", typeof(Int32));
                dt.Columns.Add("UserName", typeof(string));
                dt.Columns.Add("Education", typeof(string));
                dt.Columns.Add("Location", typeof(string));            
                dt.Rows.Add(1, "SureshDasari", "B.Tech", "Chennai");
                dt.Rows.Add(2, "MadhavSai", "MBA", "Nagpur");
                dt.Rows.Add(3, "MaheshDasari", "B.Tech", "Nuzividu");
                dt.Rows.Add(4, "Rohini", "MSC", "Chennai");
                dt.Rows.Add(5, "Mahendra", "CA", "Guntur");
                dt.Rows.Add(6, "Honey", "B.Tech", "Nagpur");
                gvwikireport.DataSource = dt;
                gvwikireport.DataBind();
    protected void btnExportToExcel_Click(object sender, EventArgs e)
                Page.Response.ClearContent();
                Page.Response.Buffer = true;
                Page.Response.AddHeader("content-disposition", string.Format("attachment; filename={0}", "WikiReport.xls"));
                Page.Response.ContentType = "application/ms-excel";
                StringWriter sw = new StringWriter();
                HtmlTextWriter htw = new HtmlTextWriter(sw);
                gvwikireport.AllowPaging = false;
                BindGridview();
                //Change the Header Row back to white color
                gvwikireport.HeaderRow.Style.Add("background-color", "#FFFFFF");
                //Applying stlye to gridview header cells
                for (int i = 0; i < gvwikireport.HeaderRow.Cells.Count; i++)
                    gvwikireport.HeaderRow.Cells[i].Style.Add("background-color", "#df5015");
                gvwikireport.RenderControl(htw);
                Page.Response.Write(sw.ToString());
                Page.Response.End();            
    But after clicking the 'Export To Excel' button i am getting the below error
    Control 'ctl00_SPWebPartManager1_g_d4fb972b_26ec_4065_9c89_80b51b384492_gvwikireport' of type 'GridView' must be placed inside a form tag with runat=server.
    In case if i am modifying the code as below I am getting error as 'page can have only one server tag'.
    <form id="frmgrdview" runat="server">
     <asp:GridView ID="gvwikireport" runat="server">
                 </asp:GridView></form>
    So please share your ideas/thoughts on the same.
    Regards,
    Sudheer 
    Thanks & Regards, Sudheer

    Hi,
    According to your post, my understanding is that you fail to export to excel.
    I create a demo as below, it works well.
    <table>
    <tr>
    <td>
    <asp:Label ID="Label1" runat="server" Text="Name"></asp:Label>
    </td>
    <td>
    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
    </td>
    </tr>
    <tr>
    <td>
    <asp:GridView ID="gvwikireport" runat="server">
    </asp:GridView>
    </td>
    <td>
    <br />
    <asp:Button ID="btnExportToExcel" runat="server"
    onclick="btnExportToExcel_Click" Text="Export to excel" />
    </td>
    </tr>
    </table>
    using System;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Web.UI.WebControls.WebParts;
    using System.Data;
    using System.IO;
    namespace Export_to_Excel.VisualWebPart1
    public partial class VisualWebPart1UserControl : UserControl
    protected void Page_Load(object sender, EventArgs e)
    if (!Page.IsPostBack)
    BindGridview();
    private void BindGridview()
    DataTable dt = new DataTable();
    dt.Columns.Add("UserId", typeof(Int32));
    dt.Columns.Add("UserName", typeof(string));
    dt.Columns.Add("Education", typeof(string));
    dt.Columns.Add("Location", typeof(string));
    dt.Rows.Add(1, "SureshDasari", "B.Tech", "Chennai");
    dt.Rows.Add(2, "MadhavSai", "MBA", "Nagpur");
    dt.Rows.Add(3, "MaheshDasari", "B.Tech", "Nuzividu");
    dt.Rows.Add(4, "Rohini", "MSC", "Chennai");
    dt.Rows.Add(5, "Mahendra", "CA", "Guntur");
    dt.Rows.Add(6, "Honey", "B.Tech", "Nagpur");
    gvwikireport.DataSource = dt;
    gvwikireport.DataBind();
    protected void btnExportToExcel_Click(object sender, EventArgs e)
    Page.Response.ClearContent();
    Page.Response.Buffer = true;
    Page.Response.AddHeader("content-disposition", string.Format("attachment; filename={0}", "WikiReport.xls"));
    Page.Response.ContentType = "application/Excel";
    StringWriter sw = new StringWriter();
    HtmlTextWriter htw = new HtmlTextWriter(sw);
    gvwikireport.AllowPaging = false;
    BindGridview();
    //Change the Header Row back to white color
    gvwikireport.HeaderRow.Style.Add("background-color", "#FFFFFF");
    //Applying stlye to gridview header cells
    for (int i = 0; i < gvwikireport.HeaderRow.Cells.Count; i++)
    gvwikireport.HeaderRow.Cells[i].Style.Add("background-color", "#df5015");
    gvwikireport.RenderControl(htw);
    Page.Response.Write(sw.ToString());
    Page.Response.End();
    The result is as below:
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to install adobe flash player through command line with some script

    Hi Guys,
    Do you know how to install adobe flash player through command line with some script?
    Thanks,
    Galina

    Windows. I tried silent install  with "install_flash_player.exe /install" but it works only with one file that I downloaded from adobe.com - "install_flashplayer10_mssd_aih.exe". But it is possible to download this last file only one time, every next time it redirects me to download install_flash_player.exe file.

  • I bought CS6 extended yesterday (yes i did). I have CS4 and lots of photo's in bridge (tagged with keywords). What is the best way to get my photos from bridge cs4 to cs6? Is there a guideline how to go about so I don't loose any of my photos/keywords? Wh

    I bought CS6 extended yesterday (yes i did). I have CS4 and lots of photo's in bridge (tagged with keywords). What is the best way to get my photos from bridge cs4 to cs6? Is there a guideline how to go about: so I don't loose any of my photos/keywords? Who can help?

    The Bridge General Discussion can give you the specifics of transferring your information over to Bridge CS6.

  • Writing to multiple tags with the same name

    Hi,
    I am writing to multiple tags with the same name but in different groups. I have noticed only the tag from the first group gets updated. How can I write to a tag in a specific group in this scenario?
    Regards,
    Chanti.

    Heres what I found.
    When I tried "http://<server>:<port>/XMII/Illuminator?Server=<Name of the TAG dataServer>&Mode=CurrentWrite&TagName=<Group>.<TagName>", the outcome was "Message
    Could not add "<Group>.<TagName>" to the response list.
    Message
    No tags selected."
    When I tried "http://<server>:<port>/XMII/Illuminator?Server=<Name of the TAG dataServer>&Mode=CurrentWrite&TagName=<TagName>", it seemed like it worked fine.
    Any thoughts?

  • Taglib problem: Cannot parse custom tag with short name table

    Hello!
    I am having problems deploying a jsp tag in web as. The same war file works fine on websphere, jboss. SAP web as seems to be complaining about the short name in the tld.
    Can any body me to any known web as issues with jsp tags?
    Thanks
    [code]
    Application error occurs during processing the request.
    Details: com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException: Internal error while parsing JSP page /usr/sap/J2E/JC00/j2ee/cluster/server0/apps/sap.com/dispear/servlet_jsp/disp/root/test.jsp.
         at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:85)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.getClassName(JSPServlet.java:207)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.compileAndGetClassName(JSPServlet.java:369)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:164)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Caused by: com.sap.engine.services.servlets_jsp.lib.jspparser.exceptions.JspParseException: Cannot parse custom tag with short name table.
         at com.sap.engine.services.servlets_jsp.lib.jspparser.syntax.xmlsyntax.CustomJspTag.action(CustomJspTag.java:129)
         at com.sap.engine.services.servlets_jsp.lib.jspparser.syntax.ElementCollection.action(ElementCollection.java:52)
         at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.initParser(JSPParser.java:307)
         at com.sap.engine.services.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:74)
         ... 18 more
    Caused by: com.sap.engine.services.servlets_jsp.lib.jspparser.exceptions.JspParseException: Unknown class name java.lang.Object.
         at com.sap.engine.services.servlets_jsp.lib.jspparser.taglib.TagBeginGenerator.convertString(TagBeginGenerator.java:365)
         at com.sap.engine.services.servlets_jsp.lib.jspparser.taglib.TagBeginGenerator.generateSetters(TagBeginGenerator.java:187)
         at com.sap.engine.services.servlets_jsp.lib.jspparser.taglib.TagBeginGenerator.generateServiceMethodStatements(TagBeginGenerator.java:212)
         at com.sap.engine.services.servlets_jsp.lib.jspparser.taglib.TagBeginGenerator.generate(TagBeginGenerator.java:269)
         at com.sap.engine.services.servlets_jsp.lib.jspparser.syntax.xmlsyntax.CustomJspTag.action(CustomJspTag.java:127)
         ... 21 more
    [/code]

    Hi Ray,
    I am facing similar kind of issue.
    Can you please help to resolve it?
    Thanks in advance.
    Logs are as below [Here I am using standard tag lib]::
    Caused by: com.sap.engine.services.servlets_jsp.jspparser_api.exception.JspParseException: Cannot parse custom tag with short name [out].
         at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.xmlsyntax.CustomJspTag.action(CustomJspTag.java:183)
         at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.ElementCollection.action(ElementCollection.java:59)
         at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.JspIncludeDirective.action(JspIncludeDirective.java:51)
         at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.ElementCollection.action(ElementCollection.java:59)
         at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.JspElement.customTagAction(JspElement.java:994)
         at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.JspElement.action(JspElement.java:228)
         at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.ElementCollection.action(ElementCollection.java:59)
         at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.ElementCollection.action(ElementCollection.java:69)
         at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.GenerateJavaFile.generateJavaFile(GenerateJavaFile.java:72)
         at com.sap.engine.services.servlets_jsp.server.jsp.JSPProcessor.parse(JSPProcessor.java:270)
         at com.sap.engine.services.servlets_jsp.server.jsp.JSPProcessor.generateJavaFile(JSPProcessor.java:194)
         at com.sap.engine.services.servlets_jsp.server.jsp.JSPProcessor.parse(JSPProcessor.java:126)
         at com.sap.engine.services.servlets_jsp.jspparser_api.JSPChecker.getClassName(JSPChecker.java:319)
         at com.sap.engine.services.servlets_jsp.jspparser_api.JSPChecker.compileAndGetClassName(JSPChecker.java:248)
         at com.sap.engine.services.servlets_jsp.jspparser_api.JSPChecker.getClassNameForProduction(JSPChecker.java:178)
         at com.sap.engine.services.servlets_jsp.jspparser_api.JSPChecker.processJSPRequest(JSPChecker.java:109)
         at com.sap.engine.services.servlets_jsp.jspparser_api.JspParser.generateJspClass(JspParser.java:154)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:193)
         ... 47 more
    Caused by: com.sap.engine.services.servlets_jsp.jspparser_api.exception.JspParseException: Attribute [value] of [<c:out>] can accept only static values.
         at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.taglib.TagBeginGenerator.calculateAttributeValue(TagBeginGenerator.java:476)
         at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.taglib.TagBeginGenerator.generateSetters(TagBeginGenerator.java:394)
         at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.taglib.TagBeginGenerator.generateServiceMethodStatements(TagBeginGenerator.java:562)
         at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.taglib.TagBeginGenerator.generate(TagBeginGenerator.java:678)
         at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.xmlsyntax.CustomJspTag.action(CustomJspTag.java:181)
         ... 64 more
    Regards,
    Sankalp

  • .exception.JspParseExcept Cannot parse custom tag with short name [out].

    Hi
         I have almost migrated an application from jboss to CE 7.1 sp3 maxdb 32 bit
         however I am getting the following error on c:out tag of standard jslt.
    Runtime error in processing of the JSP file [C:\usr\sap\CE1\J00\j2ee\cluster\apps\<....>\servlet_jsp\<application_context_name>\root\jsp\view\<jsp_name>.jsp].
    Line:----
    The error is: com.sap.engine.services.servlets_jsp.jspparser_api.exception.JspParseException: Cannot parse custom tag with short name [out].02004C4F4F50001F0000002D000012B000B0688132009833
    Line:----
    Do anybody have some idea why is it happening.
    My guess would be because of jslt version mismatch. but its working fine in jboss. I am not sure what version cE 7.1 support may be 1.2. any idea how to chek the supported version in the server.
    The jsp code is something like
    Line:----
    <code>
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <%@ taglib prefix="c_rt" uri="http://java.sun.com/jstl/core_rt" %>
    <c:url var="thumbnailStream" value="/do/<action_tag>">
               <c_rt:param name="stream_id"      value="<%= <variable1> %>"/>
               <c:param    name="stream_id_type" value="<variable2>"/>
               <c:param    name="content_kind"   value="<variable3>"/>
            </c:url>
    <img border="0" src="<c:out value="$"/>">
    </code>
    Line:----
      from the SAP help text its said that jslt is being overrided by server to use from global library rather than local webapplication library. Couls woud explain where is this global library located in the server directory.
    Thx.
    Ashutosh

    Hi are you able to solve this issue.I am getting similar kind of issue.
    Logs for the same are ::
    Caused by: com.sap.engine.services.servlets_jsp.jspparser_api.exception.JspParseException: Cannot parse custom tag with short name out.
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.xmlsyntax.CustomJspTag.action(CustomJspTag.java:183)
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.ElementCollection.action(ElementCollection.java:59)
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.JspIncludeDirective.action(JspIncludeDirective.java:51)
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.ElementCollection.action(ElementCollection.java:59)
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.JspElement.customTagAction(JspElement.java:994)
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.JspElement.action(JspElement.java:228)
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.ElementCollection.action(ElementCollection.java:59)
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.ElementCollection.action(ElementCollection.java:69)
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.GenerateJavaFile.generateJavaFile(GenerateJavaFile.java:72)
    at com.sap.engine.services.servlets_jsp.server.jsp.JSPProcessor.parse(JSPProcessor.java:270)
    at com.sap.engine.services.servlets_jsp.server.jsp.JSPProcessor.generateJavaFile(JSPProcessor.java:194)
    at com.sap.engine.services.servlets_jsp.server.jsp.JSPProcessor.parse(JSPProcessor.java:126)
    at com.sap.engine.services.servlets_jsp.jspparser_api.JSPChecker.getClassName(JSPChecker.java:319)
    at com.sap.engine.services.servlets_jsp.jspparser_api.JSPChecker.compileAndGetClassName(JSPChecker.java:248)
    at com.sap.engine.services.servlets_jsp.jspparser_api.JSPChecker.getClassNameForProduction(JSPChecker.java:178)
    at com.sap.engine.services.servlets_jsp.jspparser_api.JSPChecker.processJSPRequest(JSPChecker.java:109)
    at com.sap.engine.services.servlets_jsp.jspparser_api.JspParser.generateJspClass(JspParser.java:154)
    at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:193)
    ... 47 more
    Caused by: com.sap.engine.services.servlets_jsp.jspparser_api.exception.JspParseException: Attribute value of <c:out> can accept only static values.
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.taglib.TagBeginGenerator.calculateAttributeValue(TagBeginGenerator.java:476)
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.taglib.TagBeginGenerator.generateSetters(TagBeginGenerator.java:394)
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.taglib.TagBeginGenerator.generateServiceMethodStatements(TagBeginGenerator.java:562)
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.taglib.TagBeginGenerator.generate(TagBeginGenerator.java:678)
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.xmlsyntax.CustomJspTag.action(CustomJspTag.java:181)
    ... 64 more

  • Using a custom tag with a 2.3 servlet descriptor BUG?

    Hi,
    I just developed a Custom Tag and I'd like to use in my jsps.
    If I add the jsp in my JDev project with the custom tag when I try to build the project I got this error:
    Error(11): oracle.xml.parser.v2.XMLParseException: Invalid element 'listener' in content of 'web-app', expected elements '[context-param, servlet, servlet-mapping, session-config, mime-mapping, welcome-file-list, error-page, taglib, resource-ref, security-constraint, login-config, security-role, env-entry, ejb-ref]'.
    It seems like when the jsp parser encounters the line with taglib it tries to parse the web.xml against a 2.2 version of the dtd. My web.xml begins with the correct dtd version (2.3). Can anyone tell me if this is a bug and eventually tell me how to solve it?
    thanks,
    Giovanni

    I repost this issue again, now with a simple test case.
    If I wrote a simple custom tag:
    import java.io.IOException;
    import javax.servlet.jsp.tagext.TagSupport;
    public class MyCustomTag extends TagSupport {
    public int doStartTag() {
    try {
    pageContext.getOut().print("FOO");
    } catch (IOException ioe) {
    pageContext.getServletContext().log(ioe.getMessage(),ioe);
    return(SKIP_BODY);
    with the associated tld:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <taglib>
    <tlibversion>1.0</tlibversion>
    <jspversion>1.2</jspversion>
    <shortname>try</shortname>
    <uri>try</uri>
    <info>A short description...</info>
    <tag>
    <name>mytag</name>
    <tagclass>MyCustomTag</tagclass>
    <bodycontent>EMPTY</bodycontent>
    </tag>
    </taglib>
    and a jsp using the custom tag:
    <%@ page contentType="text/html;charset=windows-1252"%>
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
    <TITLE>
    Hello World
    </TITLE>
    </HEAD>
    <BODY>
    <H2>
    The current time is:
    </H2>
    <P>
    <% out.println((new java.util.Date()).toString()); %>
    <%@ taglib uri="try.tld" prefix="try" %>
    <try:mytag />
    </P>
    </BODY>
    </HTML>
    all runs fine if I have a web.xml with the dtd version 2.2
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
    <description>Empty web.xml file for Web Application</description>
    <session-config>
    <session-timeout>30</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>index.html</welcome-file>
    </welcome-file-list>
    </web-app>
    but if I use the version 2.3 because I want filters,context listeners and so on:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
    <web-app>
    <description>Empty web.xml file for Web Application</description>
    <filter>
    <filter-name>FilterRedirector</filter-name>
    <filter-class>org.apache.cactus.server.FilterTestRedirector</filter-class>
    </filter>
    <!-- Filter Redirector URL mapping -->
    <filter-mapping>
    <filter-name>FilterRedirector</filter-name>
    <url-pattern>/FilterRedirector/</url-pattern>
    </filter-mapping>
    <session-config>
    <session-timeout>30</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>index.html</welcome-file>
    </welcome-file-list>
    </web-app>
    I get the error I report in my last post. (the jsp doesn't compile) If I remove the custom tag from my jsp all works fine (filters, listeners,etc). In my project settings I use the 2.3 version of servlet.jar instead of the ServletRuntime that comes with JDeveloper.
    Can anyone tell me how to resolve this issue (Using simple custom tag with a web application using the 2.3 servlet specs)?
    Thanks in advance,
    Giovanni
    If I remove the filter secion all

  • I just updated to iTunes 11. This version will not allow me to change info on any songs. Have always use "command i" with previous versions. Anyone else experiencing this problem? A solution?

    I just updated to iTunes 11. This version will not allow me to change info on any songs. Have always use "command i" with previous versions. Anyone else experiencing this problem? A solution?

    Hey! I had the same problem you did just today when I was trying to get my second iPhone to sync. What you need to do with music or anything extra that you doing you have to creat a second playlist or picture or anything that you would like to use, so that you can add to the second device that you are going to be using. I am not sure if that will help but it helped me out a lot!! Good luck!

  • Oracle9iR2/Solaris8 --  DRG-11207: user filter command exited with status 137

    The ctx_ddl.sync_index() procedure hangs when I use it to synchronize the index. It is obvious that the INSO filter is not responding.The LD_LIBRARY_PATH and PATH variables are correctly pointing to $ORACLE_HOME/ctx/lib, $ORACLE_HOME/lib and $ORACLE_HOME/bin,$ORACLE_HOME/ctx/bin respectively. The error in CTX_USER_INDEX_ERRORS is the all too famous:'DRG-11207: user filter command exited with status 137'. The platform is 9iR2/Solaris 8.
    Any ideas as to how to get INSO to start working with the various documents ON SOLARIS 8???
    Thanks

    The ctx_ddl.sync_index() procedure hangs when I use it to synchronize the index. It is obvious that the INSO filter is not responding.The LD_LIBRARY_PATH and PATH variables are correctly pointing to $ORACLE_HOME/ctx/lib, $ORACLE_HOME/lib and $ORACLE_HOME/bin,$ORACLE_HOME/ctx/bin respectively. The error in CTX_USER_INDEX_ERRORS is the all too famous:'DRG-11207: user filter command exited with status 137'. The platform is 9iR2/Solaris 8.
    Any ideas as to how to get INSO to start working with the various documents ON SOLARIS 8???
    Thanks

Maybe you are looking for

  • Scan to computer not working

    Using OS 10.9 and Photosmart 7520 all-in-one over a wireless connection. Printing works but I can not scan. Downloaded HP installation software and checked the scanning utility. I enter printer utility on th mac and click on scan-to-computer. Respons

  • How do I create a hyperlink that will open a new window, when saving a frame file as a pdf?

    I have created a hyper link in Frame using the message URL command in the marker window. I have added the target="_blank"  command after the http url within the marker. But when I then save the frame doc as a pdf and open that pdf from within a brows

  • I killed my computer:  HELP!

    I have a dual 1ghtz powermac G4 with a 160GigaByte Array (two 80 Gigs), the 80 gig boot drive and another 120 Gig drive next to the boot drive. I removed the 120 to see if I could put it into my new G5 (which I could not). I did everything by the boo

  • Enterprise Portal Implementation.

    Dear Experts. I am new to EP. I need to Implement EP with ESS can anybody guide me in this regard. what is the Process. What is the best Business Practice for that. How to assign Roles, to the Users, What are the Iviews, What are permissions, What ar

  • Need help importing to Photoshop Elements 12

    When I try to import to my PC from my Nikon D5200 it puts the files in the proper file folder in my laptop, but does not display them in the catalog.