Debug IPC using NetWeaver Studio

Hello,
Does anybody know how can I debug my local IPC using NetWeaver studio?  I tried to launch dispatcher.bat or server.bat from NetWeaver but gives out the error.
I would really appreciate any inputs.
Thanks,
JC

Hi, what exactly do you want to do ? I suppose that your IPC application is not meant to be run locally, so if you want to do this, you will need to create a new Java Class that can be run locally (so it needs to be a class that have the "public static void main(String[] args)" method in it). For more info, see Sun web site.
Then you should be able to call the different methods of the IPC application.
And to debug, you need to go to the Debug perspective, and create a new debug session for your application and place some breakpoint where needed.
Hope this helps,
Xavier

Similar Messages

  • Error in project creation using Netweaver studio

    Hi all,
    I am trying to create a new Composite Application Services project using Netweaver studio 7.011. When it came to the final step of the Project creation wizard, an error message pop-up saying "Problem when creating project".
    I have tried the methods posted in the forums, but its doesn't work for me.
    "Problem when creating project"
    Problem creating a composite applications project
    Can advise on how to resolve this?
    I am currently using Java 1.4.10 and NW2004s SP11.
    Thanks a lot.
    Regards,
    aiwei

    Yes, I can write to the folder.
    Any clue?
    I cannot proceed to create project with this error.
    Can advise?
    thank you.

  • Creation of custom page without using NetWeaver Developer Studio

    Hi Experts,
    In my project, we have not installed NetWeaver Developer Studio. We are using EP 7.0.
    We have to create a custom page for the project. In this page, we have to provide seperate iViews links.
    The page should look like this:
    iView 1 - Link                iView 2 - Link        iView 1 - Link
    Help iView 1-Link        Help iView 1-Link     Help iView1-Link
    I tried to do so by creating a page. In the page, I tried to use 'Three Coloumn Page' layout. The iviews are getting displayed in following way:
    iView 1 (iView is getting displayed .Link not getting displayed)
    Help iView 1 (iView is getting displayed .Link not getting displayed)
    iView 2(iView is getting displayed .Link not getting displayed)
    I can not display link of all six iViews. Further more iViews are getting displayed in one coloumn and 3 rows. I can see the iViews directly. I am not able to display links for iViews.
    I need 3 coloumns and 2 rows layout.
    Can you please let me know how to achieve this?
    Whether I have to create new layout? For this whether we will need NetWeaver Developer Studio?
    Can we do it by creating HTML page. In the HTML page, we will have many links. These links will point to the iViews stored in SAP EP's KM. If so, what be the steps?
    I know that it can be done by creating a PAR file and deploying it. But, we don't have Netweaver Developer Studio.
    Can we acheive above without using NetWeaver Developer Studio?
    Please help me.
    Regards,
    Brian

    Hi Kedar,
    Thanks. My requirement is that six iViews links should be shown in the portal content area.
    The iViews links should be like
    iView 1-Link         iView 2-Link           iView 3-Link
    Help iView 1-Link Help iView 2-Link    Help iView3-Link
    When user will click on any iView link, the relevant iView should be displayed.  The iView can be displayed in seperate new page. So naturally five iView link will not be displayed.
    I am planning to create one HTML page and store it in KM. I will call this page in portal content area.
    There will be hyperlink on this HTML page. The hyper link will be attached to other iView links in  KM.
    Whenever user will click on any Help link or iView link the corresponding iView will be called from  KM.
    So in KM we will store 7 objects. 3 HTMLpages for help. 1 HTML page for main page.
    Other 3 will point to iView-Link1, iView-Link2 and iView-Link3.
    Can I do so? Will it sort out my problem?
    Thanks

  • Complex return message on WSDL using Netweaver Developer Studio 7.0.1

    Hi All,
    We are going to do a Web Service using Netweaver Developer Studio 7.0.1(jdk 1.4), that has to return a complex type
    message. The Web service works fine on WS Navigator but when importing Its RPC WSDL version on Xcelsius
    only the root field of the complex message is displayed as an output value.
    Is there any best practice or document that describe "how to do a Web Service" returning a complex type message
    using Netweaver Developer Studio 7.0.1?
    P.S.
    "On Netweaver Developer Studio 7.0.1 is it possible to provide manually the WSDL instead of the auto generated one ?"
    Best Regards,
    Michael

    Hello Jon,
    I agree, but 2 GB RAM is sufficient to run the NWDS efficiently, consider the following points to increase its performance.
    1. Tweak your eclipse.ini : This will increase the memory usage of Eclipse, but will give you the best startup and working  performance. If you think eclipse is using up too much memory, lower the Xms, Xmx and PermSize values.
    -startupplugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar--launcher.XXMaxPermSize256m-vmargs -Xms256m -Xmx512m -XX:PermSize=256m -XX:MaxPermSize=256m -XX:+AggressiveOpts-XX:+StringCache-XX:+UseFastAccessorMethods-XX:+UseLargePages-XX:LargePageSizeInBytes=4m-XX:AllocatePrefetchLines=1-XX:AllocatePrefetchStyle=1-Dide.gc=true
    2. Disable the un-necessary startup plugins
    It loads up certain (un-necessary) plugins at startup. We can tweak this a bit to improve the startup performance.
    Go to Window > Preferences
    Expand General and select Startup and Shutdown
    On the right side, uncheck the plugins you don't want to start. Usually, you can uncheck all of them. Don't worry, it just makes the startup minimal. Once you need to access the module in the IDE, it will start it up.
    Click OK and restart IDE.
    BR
    Satish Kumar

  • Error in starting server from NetWeaver Studio

    I get the following error when i start the server from NetWeaver studio. Any reason why this error pops up.
    Problem Occurred:
    Startting Server - SAP Server E<24> (Time of error.....)
    Reason :
    JsfOpenAdmin failed: object not found.
    However I can start and stop the server from the management console.
    thanks,
    Sahir
    Edited by: Sahir Pathan on Jul 14, 2008 5:29 PM
    Edited by: Sahir Pathan on Jul 14, 2008 5:37 PM

    Maybe when you are on netweaver studio, the instance number passed is the java one instead of the abap instance one :
    sidadm> sapcontrol -nr 01 -function J2EEGetProcessList
    27.02.2009 17:13:02
    J2EEGetProcessList
    OK
    telnetPort, name, pid, type, restart, exitCode, state, startTime, elapsedTime, restartCount, errorCount, cpu, debug
    0, SDM, 11557, SDM Server, Yes, , J2EE_RUNNING, Running, 2009 02 01 06:41:40, 634:31:22, 0, 0, 0:14:36, Switched off
    50108, dispatcher, 11555, J2EE Dispatcher, Yes, , J2EE_RUNNING, Running, 2009 02 01 06:41:40, 634:31:22, 0, 0, 0:24:21, Disabled
    0, server0, 11556, J2EE Server, Yes, , J2EE_RUNNING, Running, 2009 02 01 06:41:40, 634:31:22, 0, 0, 1:16:31, Disabled
    sidadm> sapcontrol -nr 11 -function J2EEGetProcessList
    27.02.2009 17:13:17
    J2EEGetProcessList
    FAIL: JsfOpenAdmin failed: object not found
    sidadm>

  • Question about creating association between Sharepoint BDC entities using Visual Studio 2010

    I am following this tutorial:
    http://blogs.msdn.com/b/vssharepointtoolsblog/archive/2010/08/02/walkthrough-of-creating-association-between-sharepoint-bdc-entities-using-visual-studio-2010.aspx
    I am getting the following error:
     There is an error in the TypeDescriptors of Parameters on Method with Name 'CustomerToOrder' on Entity (External Content Type) with Name 'Customer' in Namespace 'BdcAssociationSample.BdcModel1'. The TypeDescriptors incompletely define where the Foreign
    Identifiers of Entity 'Order' in Namespace 'BdcAssociationSample.BdcModel1' are to be read. That Entity expects exactly '1' Identifiers, but only '0' TypeDescriptors with the correct Association were found from which to read them.
    I have viewed the following:
    http://lightningtools.com/business_connectivity_services/the-typedescriptors-incompletely-define-where-the-identifiers-of-entity-x-are-to-be-readbcs-error/
    after reading that article, I am still not sure what setting I am missing.  Does anyone have the full working source code from the msdn article linked above?

    Hi,
    According to your post, my understanding is that you got the symbols not loaded error.
    First try rebuilding your project by right mouse click the project > Rebuild If that doesn't work, try a clean of the project (right mouse click on the project > clean)
    If that didn't work check this:
    Right mouse click your project
    select [Properties]
    select the [Build] tab
    make sure [Define DEBUG constant] and [Define TRACE constant] are checked
    Click the [Advanced] button at the bottom of the Build tabpage
    Make sure that [Debug Info:] is set to [full]
    Click [OK] and rebuild the project ;
    Hope that works for you! (step 6 generates the .pdb files, these are the debugging symbols)
    What’s more, you can clean & re-compile the code, then install the respective dlls one more time to GAC (just remove them before adding to GAC again), do an IISReset to check whether it works.
    More reference:
    http://stackoverflow.com/questions/2155930/fixing-the-breakpoint-will-not-currently-be-hit-no-symbols-have-been-loaded-fo
    http://stackoverflow.com/questions/2301216/the-breakpoint-will-not-currently-be-hit-no-symbols-have-been-loaded-for-this-d
    http://geekswithblogs.net/dbutscher/archive/2007/06/26/113472.aspx
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Check memory leak using sun studio 10

    Hi,
    I'm using sun studio 10 to find the memory leak. I pre loaded the librtc.so and attached the process. Then I set the break point at the beginning of scenairo and the end of scenario. Then I trigger the event and program flow hits the break point at the beginning of scenairo, I try to enable the "Memory Check". Then I continue my application. But, I don't see anything show up in the "memory check" tab in the debug window.
    Is anyone there who know what is the problem here? Appreciate your help.
    Li

    Can you help mi. Novice
    mail [email protected]

  • Debug .JAR in Visual Studio

    I have a .JAR file, and I want to debug it in Visual Studio. I need the final result to be again a JAR file.
    I'm looking for VS intellisense support, step by step debugging, and on the fly variable watch and editing.
    I'm not looking for migrating to .NET framework dependency. I want the final result to be 100% compatible with the original JAR file.
    I suspect that I may migrate this java file to j#, and after debugging migrate it back to java, but I need to use Regular Expressions in the application, and I know that .NET RegEx is not compatible with Java Regular Expressions.
    I found those instructions:
    http://www.improve.dk/blog/2007/09/29/compiling-java-in-visual-studio
    but they don't work. Just allow to use VS as text editor, and call a bat file to compile Java.

    Just get Eclipse, Netbeans or IntelliJ free edition - they all include java debugging (I don't think VS does).
    If you only have a Jar with class files, you also are going to need a decompiler.
    I don't know what you mean with 'final result to be java again'- debugging doesn't chance the code so you can just use the original. If you do want to make changes, you'll have just compile and jar it up again.

  • Unable to deploy from Netweaver studio after changing hostname

    Hi All,
    After following the SAP note 757692 to change the hostname for J2EE Engine 6.40, we are getting error message " Error: There is no control instance running in the cluster" in the SDM log when trying to deploy an app from netweaver studio. We have change the setting in netweaver studior to point to the new server etc ...
    1. We noticed that in the SDM log, it seem to still looking at the old hostname (clttst1) instead of the new host name (apple)
    2. We have to change the hostname because of the cluster environment.
    3. I checked the trace file dev_ms and found the following messge "  MsHttpInit: full qualified hostname = clttst1.rta.nsw.gov.au" , i.e. still pointing back to the old hostname.
    I have made all the neccessary changes base on the SAP note 757692, i.e. message server name etc ...
    Any advices / help are greatly appreciated.

    Hi ,
    Thanks for your help, I can connect to SDMserver using RemoteGui fine, the default hostname in the login screen is my "new" hostname.
    But when the developer try to deploy the apps from Netweaver studio, getting error and the SDM log indicating that it is still using the old hostname.
    Old hostname clttst1, new hostname apple
    The error message in the SDM log as follow :
    Oct 20, 2005 2:42:07 PM  Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
    Oct 20, 2005 2:42:08 PM  Info: Starting cluster instance processes.
    Oct 20, 2005 2:42:08 PM  Error: An error occured while starting a cluster instance.
    Oct 20, 2005 2:42:08 PM  Error: There is no control instance running in the cluster:
    Name:JM_T1129783328975_clttst1
    Host:clttst1
    State:5
    Name:JM_T1129783488134_RTASVR04
    Host:137.172.153.23
    State:5
    Name:JC_clttst1_JRP_30
    Host:clttst1
    State:5
    Please check if there are running cluster instances.
    As you can see from the log, it is still looking at clttst1 ...
    Any helps are greatly appreciated.

  • BAPI Function module : Unable to search from Netweaver Studio

    Hallo,
    I developed a small BAPI Function module GetCarList etc using the tutorial <a href="http://www.sappoint.com/abap/bapiintro.pdf">Introduction to BAPIs</a> . This ofcourse is also available in help.sap.com for GetFlightList etc.
    Steps Followed :
    -o developed RFC based Function Module. (BAPI supported)
    -o activated it, released it.
    -o created a alias in the BAPI explorer, added API methods, parameters and released all of them
    After i activated and released the function module, i could see it in the BAPI Explorer (Transaction SWO1) as released( ready to be used). But when i tried to search it from Netweaver Studio (to import it as a WebDynpro Model) i could not find it.
    -o checked if the BAPI method is available or not in the BAPI Explorer list. (it is available and released)
    -o Tried to import BAPI Func.Module - like 'GetFlightList' of Table SFLIGHT (comes with SAP examples), [ but could not] .
    I have no idea what the problem could be. do let me know.
    thanks
    Sreenivas.

    Hi all,
    i did check the SE37 or SE80 transaction to find out whether the current module is Remote call enabled or not. Adn well it was already RFC set. I have no idea what had happened in the last week, today it works. Now i can import the function module into netweaver. anyways thanks Achim for the support.
    Sreenivas.

  • How to generate gdb compatible .o for CMT using Sun Studio C compiler?

    Hello,
    we've been working on a joint project for telco bearer plane applications on CMT.
    We started the project using gcc for Sparc and we switched to Sun Studio compiler when we hit some bugs in gcc (optimized mode was not completely stable). The switch took a few weeks due to syntax differences and toolchain option changes.
    With Sun Studio we got a double digit percent performance improvement, so Sun Studio proved more stable and faster than gcc.
    To debug programs we require gdb, because the Telco customers are more familiar with it. The problem is that Sun Studio generates object files which are not compatible with gdb.
    Our main requirement is to be able to generate gdb compatible object files using Sun Studio compiler.
    We checked this link:
    http://cooltools.sunsource.net/gcc/ReleaseNotes.html
    but this seems to be a variant of gcc. At this point we cannot switch compiler because of the performance and stability issues mentioned above and because it will take a few weeks to months to switch.
    We have two questions:
    1) Is there a way to generate gdb compatible object files using Sun Studio 11?
    2) If not, is this funcionality going to be available in a future release of Sun Studio and what is the time frame?
    Thanks for your help.
    Marco Zandonadi
    Teja Technologies

    The undefined symbol is in the C++ runtime support library that is part of Solaris. Probably you have an out-fo-date version of the libraries.
    You can get current patches from the Sun Studio patch page:
    http://developers.sun.com/prodtech/cc/downloads/patches/index.html
    From the page for your version of WorkShop or Sun Studio, select the C++ Runtime Library patch for the version of Solaris that your are running. While you are at it, you can get the current compiler patches as well.
    If patching the runtime libraries does not fix the problem, let me know, and also show the exact command lines that you use for compiling and linking the program.

  • Help Netweaver Studio Connectivity

    Hi All,
    Does SAP IDES 4.7 comes with SAP WAS ? If so, how to connect WAS through Netweaver studio?
    I have installed Netweaver studio, do I need to install SAP J2ee Engine (WAS) ? or can i use the one which is packed along with SAP IDES 4.7 ?
    Thank you.
    --Ramki.

    When i execute the T.Code : SMICM, I could see Adminstration ->J2ee Server -> stop and restart options.
    I could even see a http service running at 8010, but when i tried accessing http://localhost:8010 it is asking for SAP Web Application Server user crenditials. What is the default user credentials ?  This make sence that WAS is intalled.
    Cheers,
    Ramki.

  • How Do I Use DVD Studio Pro Files In iDVD?

    I had somebody create a DVD for me using DVD Studio Pro. (This was a compilation of many different videos.) It turned out great.
    I now want to make a DVD of one of those videos on my own using iDVD '08.
    I have the raw video/audio files. But, my problem is the raw files that were used for the DVD Studio Pro project are separated into one video file and one audio file. I don't know how I can get them both into iDVD. I was told that I have to recombine these two files into one file. But, how do I do this and still maintain the best quality?
    (I am not a video expert by any means, but I can tell you that the video file is a ".mpeg" and the audio file is an ".ac3". When looking at the .mpeg file in the finder it lists its Kind as "MPEG Movie" and when looking at the .ac3 file in the finder it lists its Kind as "Unix Executable File".)
    (I'm using iDVD 7.0.1 - I do have Quicktime Pro - I do not have the Quicktime MPEG-2 Playback component - I do not have DVD Studio Pro)
    Thanks in advance for your help!

    Q: How Do I Use DVD Studio Pro Files In iDVD?
    A: You don't, essentially.
    DVDSP is apple's top end app and it is intended to be used with FCP > Compressor > DVDSP. All of these are pro apps.
    i-Apps are consumer apps all of which are QT based. With that in mind ....
    now that doesn't mean you can't use FCP > iDvd. You can. But you have to do it in a way that iDvd will read all the files (meaning you must think in terms of QuickTime and export in this way). So when you export your QT File / Movie from FCP over to iDvd, it will look something like this hopefully regardless of the raw image & audio files you have already compiled which unfortunately will NOT work with i-Apps BUT will work with apple's pro apps which is the intended workflow / direction of said files in the first place.
    Btw ... if your QT movie has chapter markers then please use the following settings so iDvd can read these markers. (if on the other hand you were looking to export this file to DVDSP; then you would choose DVDSP Markers.
    Let me know if the above helps. If not, just come on back.

  • Adding Columns to the matrix in SAP B1 user form using Visual studio 2010

    Hi,
    Using Visual studio 2010, I have created a SAP B1 user form( b1f ) with one matrix.Matrix is having 5 columns. Its working properly. Later, I want to add few more columns. Then I added columns to the matrix as I have created columns initially. But, it does not saves.
    i.e, Whenever I run, In B1 I could see only old columns. Newly created columns are not showing.So, I closed the .net project and opened again. Created columns are not showing in visual studio b1f itself. So, I created again and saved. But, its not saving.I tried it many times.
    What I am missing?
    Any help is appreciated.
    Thanks in advance,
    Parvatha Solai.N

    Hi Parvatha,
    Are you using B1 Studio? Anyway try to clean the solution first then rebuild it. This would re-copy files to the output directory, that contain your changes.
    Best regards,
    Pedro Magueija

  • How to get string value from database table using Visual Studio 2005?

    Hi,
    Im developing plugin in illustrator cs3 using visual studio 2005. I need to get the values eneterd in database. Im able to get the integer values. But while getting string values it is returning empty value.
    Im using the below code to get the values from database table
    bool Table::Get(char* FieldName,int& FieldValue)
        try
            _variant_t  vtValue;
            vtValue = m_Rec->Fields->GetItem(FieldName)->GetValue();
            FieldValue=vtValue.intVal;
        CATCHERRGET
        sprintf(m_ErrStr,"Success");
        return 1;
    Im using the below code to get the values.
    AIErr getProjects()
        char buf[5000];
        int i;   
        std::string  catName;
        ::CoInitialize(NULL);
        Database db;
        Table tbl;
        errno_t err;
        err = fopen(&file,"c:\\DBResult.txt","w");
        fprintf(file, "Before Connection Established\n");
        //MessageBox(NULL,CnnStr,"Connection String",0);
        if(!db.Open(g->username,g->password,CnnStr))
            db.GetErrorErrStr(ErrStr);
            fprintf(file,"Error: %s\n",ErrStr);
        fprintf(file, "After Connection Established\n");
    if(!db.Execute("select ProjectID,ProjectName from projectsample",tbl))
            db.GetErrorErrStr(ErrStr);
            fprintf(file,"Error: %s\n",ErrStr);
        int ProjectID;
        int UserID;
        int ProjectTitle;
        char ProjectName[ProjectNameSize];
        if(!tbl.ISEOF())
            tbl.MoveFirst();
        ProjectArrCnt=0;
        for(i=0;i<128;i++)
            buf[i]='\0';
            int j=0;
        while(!tbl.ISEOF())
            if(tbl.Get("ProjectID",ProjectID))
                fprintf(file,"Project ID: %d ",ProjectID);
                ProjectInfo[ProjectArrCnt].ProjectID = ProjectID;
                sprintf(buf,"%d",ProjectID);
                //MessageBox(NULL, buf,"f ID", 0);
                j++;
            else
                tbl.GetErrorErrStr(ErrStr);
                fprintf(file,"Error: %s\n",ErrStr);
                break;
            //if(tbl.Get("ProjectTitle",ProjectName))
            if(tbl.Get("ProjectName",ProjectName))
                MessageBox(NULL,"Inside","",0);
                fprintf(file,"ProjectTitle: %s\n",ProjectName);
                //catName=CategoryName;
                ProjectInfo[ProjectArrCnt].ProjectName=ProjectName;
                //sprintf(buf,"%s",ProjectName);
                MessageBox(NULL,(LPCSTR)ProjectName,"",0);
            else
                tbl.GetErrorErrStr(ErrStr);
                fprintf(file,"Error: %s\n",ErrStr);
                break;
            ProjectArrCnt++;
            //MessageBox(NULL, "While", "WIN API Test",0);
            tbl.MoveNext();
        //MessageBox(NULL, ProjectInfo[i].ProjectName.c_str(),"f Name", 0);
        ::CoUninitialize();
        //sprintf(buf,"%s",file);
        //MessageBox(NULL,buf,"File",0);
        fprintf(file, "Connection closed\n");
        fclose(file);
        for(i=0;i<ProjectArrCnt;i++)
            sprintf(buf,"%i",ProjectInfo[i].ProjectID);
            //MessageBox(NULL,buf,"Proj ID",0);
            //MessageBox(NULL,ProjectInfo[i].ProjectName.c_str(),"Project Name",0);
        return 0;
    In the above code im geeting project D which is an integer value. But not able to get the project name.
    Please some one guide me.

    As I said in the other thread, this really isn't the place to ask questions about a database API unrelated to the Illustrator SDK. You're far more like to find people familliar with your problem on a forum that is dedicated to answering those kinds of questions instead.

Maybe you are looking for