Debugging applications built from Arch packages

What's the best method to debug an application buil from an arch package? Currently I build again with debug flags on, then start the application under ddd (or gdb inside emacs). That tends to do the job, but it's not a very nice way of working.
On the other hand there are some nice IDEs around (from geany to eclipse), but they require that you build the application as a project of the IDE and not from source using whatever method the application designer saw fit to use.
So I'm looking for suggestions. Are there nicer alternatives to ddd? Or are there IDEs where you can basically tell them "here's the source tree, complete with build scripts, go and make it into a project".

kumico wrote:grr
CARCH enables specific optimizations for your processor architecure (core2, athlon64, ...)
no it wouldn't work like that
core2 is a part of i686 or x_86_64
CARCH does no such thing. It simply sets the architecture to whatever arbitrary name you choose, as wizzard noted. To enable specific optimizations and such you need to modify CFLAGS and CXXFLAGS.
For more details, check out man makepkg.conf .

Similar Messages

  • How can I execute a java class with arguments from an air application built from mxml?

    I have an mxml application. It has a button, and when that button select event occurs, I want my mxml air app to pass arguments to a java class I have built, which resides in a package path on my system. I need to be able to pass several arguments to my java method from my mxml call. How do I do this, and what config files are necessary? For the simple task I want to engineer, can you show me an example of a properly configured config file? My java class has been executed at the command line in the past as follows:
    java -cp %CP% com.abc.prism.queue.EmitMessage XYZ "my message text" 192.12.13.14 5672
    where %CP% is an env variable that tells my class the classpath it runs with, and XYZ, "my message text", the IP address, and the port are the arguments I must pass from mxml to my java class. How do I accomplish this?
    How do I make known to the java class I call from mxml the %CP% class path? It tells my java class where to find various rabbitMQ jars.

    Hi,
    You need to use Integration technology like BlazeDS or LCDS.

  • Data Managers from all applications into one unique package

    Hi,
    The issue is that we are trying to put all the Data manager packages in all applications into one unique package.
    If BPC admin changes the parameters or currency rates , he just has to run that one package which includes all necessary
    packages and he may look into logs if he has to.
    Firstly , We tried to put multiple run_logic process types into one process chains, but it is giving errors like;
    u201CAn exception with the type CX_SY_TABLE_KEY_SPECIFICATION occurred, but was neither handled locally, nor declared in
    a RAISING clause Line Type Contains a Component with the Name FI_ACCu201D
    or
    u201CAn exception with the type CX_SY_OPEN_SQL_DB occurred, but was neither handled locally, nor declared in a RAISING clause
    The system tried to insert a data record, even though a data record with the same primary key already existsu201D.
    Secondly, after we read the blog () and we tried to run program
    UJD_TEST_PACKAGE , but we get errors with %SELECTION% prompt variable.
    Is there any other solution you can advise?
    If we use the program UJD_TEST_PACKAGE how do we fill AnswerPrompt paremeter file for the dynamic script below?
    PROMPT(SELECTINPUT,,,"Lütfen bir kategori seçiniz.","%CATEGORY_DIM%,%TIME_DIM%")
    PROMPT(TEXT,%LEVEL%,"XX Level",,"7,6,5,4,3,2,1")
    INFO(%EQU%,=)
    INFO(%TAB%,;)
    TASK(XXX_LOGIC,TAB,%TAB%)
    TASK(XXX_LOGIC,EQU,%EQU%)
    TASK(XXX_LOGIC,SUSER,%USER%)
    TASK(XXX_LOGIC,SAPPSET,%APPSET%)
    TASK(XXX_LOGIC,SAPP,MM)
    TASK(XXX_LOGIC,SELECTION,%SELECTION%)
    TASK(XXX_LOGIC,LOGICFILENAME,XXXX.LGF)
    TASK(XXX_LOGIC,REPLACEPARAM,LEVEL%EQU%%LEVEL%)
    Best Regards,
    Melike

    Hi.  I have a similar issue to the one posted below in that I want to run a logic script for one application (call it Application A) from a DM package in a different application (Application B).  This is to stop the user from having to switch between applications to run the logic.
    I have tried the following:
    1. I have tried putting the script logic from App A into App B, but the dimensionality is different so it fails to validate.
    2. I have tried "hard coding" the application name within the process chain, but it fails with an error "u201CAn exception with the type CX_SY_TABLE_KEY_SPECIFICATION occurred ...." similar to the post below.
    Any suggestions would be appreciated.
    Thanks
    Sean

  • How can I do a clean uninstall of packages built from source?

    I want to remove older versions of Ruby (but not the one packaged with Snow Leopard) from my development machine. I have a couple versions that were built from source that are unused now. How can I do a clean uninstall of those types of packages? I don't think there is any "make" command that will uninstall, so other than just deleting the folders that I think contains the older versions, I'm not sure how else to do it. Any ideas?

    mickey13, if its Makefile doesn’t have a target for uninstalling, then the next best thing would be to run *make -n install 2>&1 > /tmp/install* to get a list of what it does at installation time, and then edit the /tmp/install file to remove the files that it copied over on installation (or to undo the edits that it made to previously existing files).

  • C# SCOM SDK agent install works fine from debug mode but disconnects when built from installer

    My team is writing a C# application that installs SCOM agents on the fly. I used the code in :
    http://msdn.microsoft.com/en-us/library/hh329037.aspx
    as a template. Which works fine and will consistently install agents when I run it in debug from Visual Studio. But when I build an installer (using InstallShield), calls to:
    "AgentTaskResult results = adminServer.InstallAgents(agents, configuration);"
    always result in a Microsoft.EnterpriseManagement.Common.ServerDisconnectedException. The agent install even shows up in pending management on the SCOM server (but this sits in pending management forever and is never processed). Calling managementGroup.Reconnect();
    and retrying the agent install still results in a ServerDisconnectedException. The application has no problem doing other things with the managementGroup object (from debug or running from an installer). It can create MonitorConfigurationOverrides and
    gets events out of an outbound connector. So it seems like the disconnect problem is localized just to agent install requests.
    I looked in the Windows Event Log and found an OpsMgr SDK Service Error: 
    An exception was thrown while processing InstallAgents for session ID uuid:71d39b19-f9a7-4d4a-82ee-5043480af635;id=41.
     Exception message: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 778.
     Full Exception: System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 778.
       at System.Xml.XmlTextReaderImpl.Throw(Exception e)
       at System.Xml.XmlTextReaderImpl.ParseNumericCharRefInline(Int32 startPos, Boolean expand, StringBuilder internalSubsetBuilder, Int32& charCount, EntityType& entityType)
       at System.Xml.XmlTextReaderImpl.ParseCharRefInline(Int32 startPos, Int32& charCount, EntityType& entityType)
       at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
       at System.Xml.XmlTextReaderImpl.ParseText()
       at System.Xml.XmlTextReaderImpl.ParseElementContent()
       at System.Xml.XmlReader.ReadString()
       at System.Xml.XmlReader.ReadElementString(String name)
       at Microsoft.EnterpriseManagement.RuntimeService.TaskRuntimeService.CreateRemoteJobXml(JobDefinition jobDefinition, ManagementPackTask task, Guid hsId)
       at Microsoft.EnterpriseManagement.RuntimeService.TaskRuntimeService.SubmitJobs(IList`1 jobDefinitions, Guid batchId, JobCategory category)
       at Microsoft.EnterpriseManagement.RuntimeService.TaskRuntimeService.SubmitTasksInternal(IList`1 jobDefinitions, Guid batchId, JobCategory category, PrepareResultSet prepareTaskResultCallback)
       at Microsoft.EnterpriseManagement.ServiceDataLayer.AdministrationService.InstallAgents(Guid batchId, IList`1 jobDefinitions)

    Hello,
    You might ask in the
    Visual C# Language forum on MSDN.
    Otherwise, perhaps the Operations Manager - Extensibility forum:
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/home?forum=operationsmanagerextensibility
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Compiling application (with several sub-packages) from another java app

    Hi,
    I'm writing my own build tool and need to be able to compile an external application (pulled from cvs, subversion, ...) from within this build tool.
    Probably I need to use com.sun.tools.javac.Main.compile ?
    But how do I pass classpath, output dir, etc to this class and how can I make it compile all files in all (sub)packages of the given folder ?
    thanks for any help.

    Never mind my previous post, I found a solution to the "the input line is too long" problem:
    Putting all the files in a temporary file and then providing that file as the source to compile, like this:
    javac -g:none -cp <classpath> -d classes @sourcefiles.txtwhere sourcefiles.txt is the name of the temporary file that contains the names of the source files (note the "@"-prefix)
    For some reason, this is not mentioned/documented in the java docs (at least not in my docs)
    Ok, so everything is compiling now, but I have one problem remaining:
    For each "module" that I compile (the application I use for my tests consists of several "modules", i.e. subpackages), I get an error stating that "The system cannot find the path specified"
    This seems obvious, because it is trying to write a file <package-name>\classes\<package-name>\<classname>.class
    But why is it trying to write that file ?
    -> Is this a known bug or something ?
    Let me explain a little more...
    For each compilation I do using the com.sun.tools.javac.Main.compile() method, it is giving this error.
    Everything is compiling correctly, but it seems it is trying to write an extra class file to a wrong path.
    Until now, it was always the first file in the row that gave the problem.
    Example:
    ** module 1:
    sources/com/example/module1/class1.java
    sources/com/example/module1/class2.java
    sources/com/example/module1/class3.java
    sources/com/example/module1/sub1/subclass1.java
    sources/com/example/module1/sub1/subclass2.java
    sources/com/example/module1/sub1/subclass3.java
    ** module 2:
    sources/com/example/module2/class1.java
    sources/com/example/module2/class2.java
    sources/com/example/module2/class3.java
    sources/com/example/module2/sub1/subclass1.java
    sources/com/example/module2/sub1/subclass2.java
    sources/com/example/module2/sub1/subclass3.java
    => My application will compile module 1, do some other things with it and the module 2 and again do some other things with it.
    The result would be:
    Application started.
    Loading configuration: OK
    Compiling sources for module module1: E:\temp\_User_\project\packaging\workingdir\source\com/example/module1\class1.java:12: error while writing com.example.module1.class1: com\example\module1\classes\com\example\module1\class1.class (The system cannot find the path specified)public class class1 extends Thread {
           ^
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -deprecation for details.
    1 error
    OK
    Note: Contents of my classes directory for module1:
    classes/com/example/module1/class1.class
    classes/com/example/module1/class2.class
    classes/com/example/module1/class3.class
    classes/com/example/module1/sub1/subclass1.class
    classes/com/example/module1/sub1/subclass2.class
    classes/com/example/module1/sub1/subclass3.class
    => all class files are correctly compiled
    Compiling sources for module module2: E:\temp\_User_\project\packaging\workingdir\source\com/example/module2\class1.java:12: error while writing com.example.module2.class1: com\example\module2\classes\com\example\module2\class1.class (The system cannot find the path specified)public class class1 extends Thread {
           ^
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -deprecation for details.
    1 error
    OK
    Application finished without errors.
    Note: Contents of my classes directory for module2:
    classes/com/example/module2/class1.class
    classes/com/example/module2/class2.class
    classes/com/example/module2/class3.class
    classes/com/example/module2/sub1/subclass1.class
    classes/com/example/module2/sub1/subclass2.class
    classes/com/example/module2/sub1/subclass3.class
    So, as you can see everything compiles as expected, but an error message is displayed related to each first file that is compiled.
    ==> Is this a known issue ?
    ==> What can I do about it ?
    Suggestions welcome

  • Application copied from disk image not recognised as correct arch by Finder

    Hi,
    occasionally, when I download a disk image ".dmg" that contains an application bundle ".app", I can run the application from the Finder by double-clicking on the icon of the application on the disk image, but when I copy the application to my harddisk, either with the Finder or with "cp -rP", and try to start the copy, the Finder gives me "You can't open the application xyz because it is not supported on this architecture".
    However the size of the application bundle, as measured with "du(1)" did not change, and sure enough the copy works just fine when I directly launch the application binary from the shell... The latest example of this behaviour was with the supertuxkart-0.6.1a-full-osx.dmg that I just downloaded.
    Anybody seen something similar and/or know what causes this strange behaviour?

    I have had a similar problem simply making a copy of a .app file. I spoke with Apple support about it and they said this is the desired behaviour when the application is not a universal application.
    You can check by opening the info window for the application and seeing if it says Universal next to Application in the Kind field.
    If it says Universal, it should copy without problem, if not, then it won't. Apple support wasn't able to give me a clear reason as to why this is, though.

  • Change in WD ABAP application available in business package

    Hi Experts,
    I am working on xRPM 4.5 business package. Now I need to modify WD ABAP Application. For this, I went to property of iview for find the application name. Also I found application name by right click on WD ABAP iview. I went to backend and looked for application ,after finding it tested it and saw the preview. It was totally diffrent preview what I was seeing in portal screen.
    Again I checked several other iview and found that those were also using same WD ABAP application and preview is same like earlier one.but in portal all are showing different screen.
    Is it beacause of configuration? if yes, how can I check it.
    How can I debug that application directly from portal?
    Thanks in advance
    Regards
    Shashwat Gupta

    Hi,
    May be using different Themes in Portal level, Please check it once.
    Debugging portal application. check this.
    /thread/186675 [original link is broken]
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/lw/developercontent/sap%20portal%20development%20kit%20for%20.net%20developer's%20Guide/Previewing%20and%20Debugging%20Portal%20Applications_Debugging%20Portal%20Applications.html
    cheers,
    Kris.

  • Application built in LabVIEW 2011 installed successfully but not running on windows 8.

    Hello all,
          We have been using labview 2011 to develop datalogging applications. We have built the installer package for one of the applications by choosing the option 'windows XP or later' in 'Advanced' category. The installed application works fine in Windows 7 and earlier versions. But it doesn't seem to work in windows 8. When we try to run the application, the application doesn't load itself or show up but runs in the background consuming 75% of memory (as seen in the task manager).
         Then we tried rebuilding the package by selecting 'windows 7 or later' option from advanced category. The problem persists. Running the application in compatibility mode of windows 8 did not help.
          Please let us know how to fix this problem.
    Kudos are always welcome if you got solution to some extent.
    I need my difficulties because they are necessary to enjoy my success.
    --Ranjeet

    Ranjeet_Singh wrote:
    I thinks it was AMD only. does it make any difference.
    What is "AMD only"? Do you have the exact processor model?
    LabVIEW 2011 has problems with some AMD processors, and some of the issues have been fixed in 2011 SP1 f1. I don't know if built application had similar problems.
    LabVIEW Champion . Do more with less code and in less time .

  • Can't debug LabVIEW built shared library

    I'm using LabVIEW 8.20 and have built a shared library containing a single VI that will be called from C/C++.
    In the build specification, I've enabled debugging and marked 'Wait for debugger on launch'.
    I start a C, C++ or LabVIEW application that calls the VI. Now, the "One or more VIs are paused..." message is displayed.
    From the Project Explorer window I select Operate->Debug Application or Shared Library... and tries to connect to the application.
    The "Failed to connect to remote application" is displayed each time.
    I've followed every step in the Debugging Applications and Shared Libraries section of the LabVIEW Help.
    If I turn the VI into an Application instead of a Shared Library there's no problem debugging it.
    Regards,
    tosko

    I'm having the exact same problem, only I've tried to prevent all debugging.
    I still get the "One or more VIs are paused" message when I call the function via the DLL, but don't get it when I run the executable.
    @tosko: Did you ever fix this issue?
    @Everyone: Any ideas on a fix?
    Edit: Nevermind. I didn't realize I had the following option checked: "My DLL Properties" (dialog) -> Advanced (left menu item) -> Wait for debugger on launch (checkbox).  I unchecked it, rebuilt and it works like a charm.
    Message Edited by StevenATK on 04-14-2010 01:52 PM

  • Hi, We have an application  built using HTMl 5 and Javascript running on IPad2, iOS5.1 Safari 5.1. When we try to download a file(.pvw file) in that application safari throws "Download failed" error. Please suggest what needs to be done.

    Hi,
    We have an application  built using HTMl 5 and Javascript running on IPad2, iOS5.1 Safari 5.1.
    When a file url is clicked instead of asking for Save or Open or Cancel options, the file gets opened on IPad by default.
    Is this default behaviour which cannot be changed or can it be configured to ask user preference?
    When we try to download a file(.pvw file -> a model file) in the above application, safari throws "Download failed" error.
    Please suggest what needs to be done.
    Regards,
    Pramod

    Safari on an iPad in general does not allow downloading of files. That's a safety precaution in the iOS SDK to keep unauthorized content off of iOS devices. Safari will open from the web site file types that it can handle, but direct downloading isn't normal behavior, and I don't believe the behavior can be changed, though you can try asking in the developer forum, either here or the one to which you have access as a member of Apple's iOS developer program.
    Regards.

  • Error while packaging or copying from a package

    Hi,
    I am getting the below error while I try to package ( entire project or individual objects) as well as when I try to copy objects from a package file.
    Client version: 9.0.3 (537)
    15-Oct-2013 07:33:40
    java.lang.NullPointerException
    at com.datanomic.director.transfer.server.TempFileManager.delete(TempFileManager.java:58)
    at com.datanomic.director.transfer.server.Transferer.export(Transferer.java:238)
    at com.datanomic.director.transfer.server.Transferer.export(Transferer.java:130)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at com.datanomic.utils.transport.server.ServerTransport.invoke(ServerTransport.java:119)
    at com.datanomic.utils.transport.server.ServerTransport.invoke(ServerTransport.java:59)
    at com.datanomic.utils.transport.http.server.TransportServlet.doPost(TransportServlet.java:72)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.datanomic.userauth.server.http.AuthFilter.doFilter(AuthFilter.java:129)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
    This started on Oct 1st 2013. It was working before without any issue. The problem is faced by all users including the admin user.
    The log has following entries -
    server side logs
    INFO: 02-Oct-2013 12:05:00: [dn:director version 9.0.3(537)]
    SEVERE: 02-Oct-2013 12:04:59: Can't create cache file!
    javax.imageio.IIOException: Can't create cache file!
    at javax.imageio.ImageIO.createImageInputStream(ImageIO.java:361)
    at javax.imageio.ImageIO.read(ImageIO.java:1351)
    at com.datanomic.director.missionlieutenant.triggers.AbstractMissionTrigger.getTriggerNames(AbstractMissionTrigger.java:108)
    at com.datanomic.director.triggers.manager.Trigger.getMatchingNames(Trigger.java:197)
    at com.datanomic.director.triggers.manager.TriggerManager.getLocalizedTriggerNames(TriggerManager.java:397)
    at sun.reflect.GeneratedMethodAccessor271.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at com.datanomic.utils.transport.server.ServerTransport.invoke(ServerTransport.java:119)
    at com.datanomic.utils.transport.server.ServerTransport.invoke(ServerTransport.java:59)
    at com.datanomic.utils.transport.http.server.TransportServlet.doPost(TransportServlet.java:72)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.datanomic.userauth.server.http.AuthFilter.doFilter(AuthFilter.java:129)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
    Caused by: java.nio.file.FileSystemException: /tmp/imageio8224618281568165079.tmp: Read-only file system
    at sun.nio.fs.UnixException.translateToIOException(UnixException.java:91)
    SEVERE: 02-Oct-2013 12:05:00: Can't create cache file!
    javax.imageio.IIOException: Can't create cache file!
    at javax.imageio.ImageIO.createImageInputStream(ImageIO.java:361)
    SEVERE: 02-Oct-2013 12:05:00: Can't create cache file!
    javax.imageio.IIOException: Can't create cache file!
    at javax.imageio.ImageIO.createImageInputStream(ImageIO.java:361)
    at javax.imageio.ImageIO.read(ImageIO.java:1351)
    at com.datanomic.director.missionlieutenant.triggers.AbstractMissionTrigger.getTriggerNames(AbstractMissionTrigger.java:108)
    at com.datanomic.director.triggers.manager.Trigger.getMatchingNames(Trigger.java:197)
    at com.datanomic.director.triggers.manager.TriggerManager.getLocalizedTriggerNames(TriggerManager.java:397)
    at sun.reflect.GeneratedMethodAccessor271.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    Caused by: java.nio.file.FileSystemException: /tmp/imageio2555104156799296129.tmp: Read-only file system
    We use weblogic as user tstedq2 in Linux.
    > -bash-4.1$ cd /tmp/
    -bash-4.1$ ls -lrt
    total 1276
    drwxr-x--x 3 tstedq2 oinstall    4096 Aug 16 16:29 wlstTemptstedq2
    -rw-r----- 1 tstedq2 oinstall 1298202 Sep 13 13:10 dndirector8572326682424543213.tmp
    drwxr-x--x 2 tstedq2 oinstall    4096 Sep 16 05:59 hsperfdata_tstedq2
    > -bash-4.1$ env
    HOSTNAME=tstedq01
    SHELL=/bin/bash
    TERM=xterm
    HISTSIZE=1000
    QTDIR=/usr/lib64/qt-3.3
    QTINC=/usr/lib64/qt-3.3/include
    USER=tstedq2
    LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
    MAIL=/var/spool/mail/tstedq2
    PATH=/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin
    PWD=/tmp
    LANG=en_US.UTF-8
    HISTCONTROL=ignoredups
    SHLVL=1
    HOME=/home/tstedq2
    LOGNAME=tstedq2
    QTLIB=/usr/lib64/qt-3.3/lib
    CVS_RSH=ssh
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    G_BROKEN_FILENAMES=1
    OLDPWD=/home/tstedq2
    _=/bin/env
    /tmp permissions are as below
    > -bash-4.1$ ls -ltr
    drwxrwxrwt.   6 root       root    4096 Sep 17 03:15 tmp
    I am saving the package to my local machine for which I've read and write. I am able to save packages from other EDQ applications to the same place.
    This is an UAT environment and I need to package my SIT code and copy it to this. 
    Please let me know what is going wrong here.
    Thanks and Regards,
    Ravi

    It looks like a file permission problem on the server - specifically, looks like the app server user does not have permission to write to the temp directory /tmp and so cannot write the temporary data needed to package up the configuration.

  • How to Use AccessibleObjectFromWindow API in VBA to Get Excel Application Object from Excel Instance Window Handle

    I need to get the Excel.application object from a window handle using AccessibleObjectFromWindow. I can't seem to make the code work. First, I successfully search for the XLMAIN windows. Then, when I get a handle, I execute the AccessibleObjectFromWindow
    function. It seems to return a value of -2147467262 in all cases. Therefore, I believe that it is returning an error value. I can't figure out how to determine the meaning of this value.
    If it is an error value, I believe that one or more arguments are in error. My best guess at present is that the GUID argument is incorrect. I have tried two GUID values: {00020400-0000-0000-C000-000000000046} and {90140000-0016-0409-0000-0000000FF1CE}.
    I have seen both used in conjunction with OBJID_NATIVEOM. Neither one seems to work. I really would prefer not to use the second one as it has an Excel major and minor version number. I would hate to have to change this code, if a new minor version appeared.
    The attached code has been commented to show which parts have been shown to work and which not. I'm at my wits end and really need help.
    Thanks
    'This module is located in Access 2010, but this is an Excel question.
    Option Compare Database
    Option Explicit
    ' Module-Level Declarations
    'The GetDesktopWindow function and FindWindowEx function work just fine.
    Public Declare Function GetDesktopWindow Lib "user32" () As Long
    Public Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" _
    (ByVal hWnd1 As Long, _
    ByVal hWnd2 As Long, _
    ByVal lpsz1 As String, _
    ByVal lpsz2 As String) _
    As Long
    'I'm not getting the expected output from this function (see below)
    Private Declare Function AccessibleObjectFromWindow& Lib "oleacc.dll" _
    (ByVal hwnd&, _
    ByVal dwId&, _
    riid As GUID, _
    xlwb As Object)
    Type GUID
    lData1 As Long
    iData2 As Integer
    iData3 As Integer
    aBData4(0 To 7) As Byte
    End Type
    Function ExcelInstances() As Long
    ' Procedure-Level Declarations
    ' Value of OBJID_NATIVEOM verified by checking list of Windows API constants _
    on this site: http://www.lw-tech.com/q1/base.htm
    Const OBJID_NATIVEOM = &HFFFFFFF0
    Dim hWndDesk As Long 'Desktop window
    Dim hWndXL As Long 'Child window
    Dim objExcelApp As Object 'Final result wanted: Excel application object
    'Following variable (xlapp) to be set by AccessibleObjectFromWindow function
    Dim xlapp As Object
    Dim IDispatch As GUID 'GUID used in call to AccessibleObjectFrom Window function
    'Set up GUID to be used for all instances of Excel that are found
    Dim tmp1 As Variant 'Return value from AccessibleObjectFromWindow
    ' Executable Statements
    SetIDispatch IDispatch
    IDispatch = IDispatch
    'Get a handle to the desktop
    hWndDesk = GetDesktopWindow 'This seems to work
    Do
    'Get the next Excel window
    'The following statement seems to work. We are finding and counting _
    correctly all the instances of Excel. hWndXL is non-zero for each _
    instance of Excel
    hWndXL = FindWindowEx(GetDesktopWindow, hWndXL, "XLMAIN", vbNullString)
    'If we got one, increment the count
    If hWndXL > 0 Then
    'This works. We correctly count all _
    instances of Excel
    ExcelInstances = ExcelInstances + 1
    'Here is the problem. The following statement executes and returns a value of _
    -2147467262. xlapp, which is passed by reference to AccessibleObjectFromWindow, _
    is set to nothing. It should be set to the object for Excel.application. _
    I believe that this value is not an object. I tried to reference tmp1. in the _
    immediate window. There was no Intellisense.
    'I think that the function in returning an error value, but I can't figure _
    out what it is. I believe that AccessibleObjectFromWindow returns error _
    values, but I don't know where to find their values so I can interpret the _
    function's results.
    'As best I can tell, the hWndXL parameter is correct. It is the handle for _
    an instance of Excel. OBJID_NATIVEOM is set correctly (see constant declaration _
    above). xlapp is passed by reference as a non-initialized object variable, which _
    will be set by AccessiblObjectFromWindow. IDispatch may be the problem. It is set _
    as shown below in the procedure SetIDispatch(ByRef ID As GUID). This procedure _
    appears to work. I can see that IDispatch is set as I intended and correctly _
    passed to AccessibleObjectFromWindow.
    tmp1 = AccessibleObjectFromWindow(hWndXL, OBJID_NATIVEOM, IDispatch, xlapp)
    'Need to write code to test tmp1 for error. If none, then set objExcelApp = _
    object. Also, I exect xlapp to be set to Excel.application
    End If
    'Loop until we've found them all
    Loop Until hWndXL = 0
    End Function
    Private Sub SetIDispatch(ByRef ID As GUID)
    'Defines the IDispatch variable. The interface _
    ID is {90140000-0016-0409-0000-0000000FF1CE}.
    'NOT USING {00020400-0000-0000-C000-000000000046}, _
    which could be the problem
    '9 is release version - first version shipped (initial release)
    '0 is release type - retail/oem
    '14 is major version
    '0000 is minor version
    '0016 is product ID - MS Excel 2010
    '0409 is language identifier - English
    '0 is x86 or x64 - this is x86
    '000 reserved
    '0 is debug/ship
    '000000FF1CE is office family ID
    With ID
    .lData1 = &H90140000
    .iData2 = &H16
    .iData3 = &H409
    .aBData4(0) = &H0
    .aBData4(1) = &H0
    .aBData4(2) = &H0
    .aBData4(3) = &H0
    .aBData4(4) = &H0
    .aBData4(5) = &HF
    .aBData4(6) = &HF1
    .aBData4(7) = &HCE
    End With
    End Sub
    DaveInCalabasas

    I don't think you can return a reference to Excel's main window like that as you are attempting to do.
    Ref:
    http://msdn.microsoft.com/en-us/library/windows/desktop/dd317978(v=vs.85).aspx 
    It's relatively straightforward to return any workbook's window in any given instance, and in turn it's parent Excel app. Try the following and adapt as required (and include error handling) -
    Option Explicit
    Private Declare Function FindWindowEx Lib "User32" Alias "FindWindowExA" _
    (ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, _
    ByVal lpsz2 As String) As Long
    Private Declare Function IIDFromString Lib "ole32" _
    (ByVal lpsz As Long, ByRef lpiid As GUID) As Long
    Private Declare Function AccessibleObjectFromWindow Lib "oleacc" _
    (ByVal hWnd As Long, ByVal dwId As Long, ByRef riid As GUID, _
    ByRef ppvObject As Object) As Long
    Private Type GUID
    Data1 As Long
    Data2 As Integer
    Data3 As Integer
    Data4(7) As Byte
    End Type
    Private Const S_OK As Long = &H0
    Private Const IID_IDispatch As String = "{00020400-0000-0000-C000-000000000046}"
    Private Const OBJID_NATIVEOM As Long = &HFFFFFFF0
    Sub test()
    Dim i As Long
    Dim hWinXL As Long
    Dim xlApp As Object ' Excel.Application
    Dim wb As Object ' Excel.Workbook
    hWinXL = FindWindowEx(0&, 0&, "XLMAIN", vbNullString)
    While hWinXL > 0
    i = i + 1
    Debug.Print "Instance_" & i; hWinXL
    If GetXLapp(hWinXL, xlApp) Then
    For Each wb In xlApp.Workbooks
    Debug.Print , wb.Name
    Next
    End If
    hWinXL = FindWindowEx(0, hWinXL, "XLMAIN", vbNullString)
    Wend
    End Sub
    'Function GetXLapp(hWinXL As Long, xlApp As Excel.Application) As Boolean
    Function GetXLapp(hWinXL As Long, xlApp As Object) As Boolean
    Dim hWinDesk As Long, hWin7 As Long
    Dim obj As Object
    Dim iid As GUID
    Call IIDFromString(StrPtr(IID_IDispatch), iid)
    hWinDesk = FindWindowEx(hWinXL, 0&, "XLDESK", vbNullString)
    hWin7 = FindWindowEx(hWinDesk, 0&, "EXCEL7", vbNullString)
    If AccessibleObjectFromWindow(hWin7, OBJID_NATIVEOM, iid, obj) = S_OK Then
    Set xlApp = obj.Application
    GetXLapp = True
    End If
    End Function
    Note as written if an instance does not have any loaded workbooks a reference will not be returned (though a workbook can be added using DDE, but convoluted!)
    FWIW there are two other very different approaches to grab all running Excel instances though something along the lines of the above is simplest.
    Peter Thornton

  • B2b application upgrading from crm 5.0 to  7.0

    hi,
    I am a java developer.I am very new to sap and nwds and nwdi. I am having a custom crm B2B application built on java and struts, and a standard application.My sap BASIS team upgraded backend components from crm 5.0 to 7.0.Now they asked me to change the ear file. I don't know what to change and just asked them to deploy the old ear file using SDM.They deployed it using SDM.Though standard application is working proper,custom application is not working.So,what changes should I do now to make custom application work.And I don't have NWDI,what ever I want to do I have to do with NWDS.

    hi Jun Wu,
    First of all thanks for your reply..What basics sholud I need have, to get help from some body ??...Does SAP shouldn't be learned by people who doesn't know sap??

  • Debugging ABAP Code From Within WebDynpro

    Hi experts,
    I would like to check whether i can debug ABAP code from within webdynpro if i m using a remote J2EE server.
    So netweaver development studio is on my machine
    J2ee server is on a remote machine
    R/3 is also on another remote machine
    Thanks.
    Rgds,
    Daniel

    Hi Daniel,
    One thing note here is
    "You have debugging authorization in the ABAP Workbench in the relevant system.
    Since debugging in the ABAP system via load balancing is not supported, you must reconfigure your JCO destinations so that the calls take place on a dedicated ABAP application server. For Web Dynpro, this is done in the Web Dynpro Content Administrator. In the destination maintenance, specify Single Server Connection as the Destination Type ".
    Other than that ideally it works with j2ee and abap on diff systems.
    Regards
    Ayyapparaj

Maybe you are looking for

  • Time Capsule won't allow me to back up

    Hey guys, so I recently got a new HDD for my macbook (black macbook) and I installed it and restored all my stuff from time capsule after I reinstalled Snow Leopard. However, during the process I had to reset my time capsule because I had forgotten m

  • How do you remove a iphone from a itune account

    I set up my iphone to my wifes itunes account by accident. I want it to be set up to my itunes account under my library.  How do I remove my iphone 4 from my wifes itunes account?

  • WRT54GS - Internet Connection Stopping/Hanging

    Hi, Just got the WRT54GS, had it about a week. Whenever I hit an internet site, it will load about 80% of it and stop or hang. If i refresh the page it will finish downloading it (most of the time). This is happening to all computers accessing the ro

  • Downpayment..milestone..periodic billing...WBS element...

    downpayment..milestone billing.....periodic billing...WBS element...billing plan..commission agent....rentals...extra work in construction...cancellation of flat..allotment of parking..sale of real estate unit..sale of TDR..sale of services...payment

  • How to run a report in back ground

    how to run a report in background with out using job open, submit , close is there any other function module to run report in background.