Debug & run a console application on xcode

I'd like to run and debug a group of console applications. I got the source code from the Internet, and I can build it successfully. However, the debug aptions are all disabled, as the Run option in Product. I think that's because I couldn't set the application to run, as there are different options in that lib.
In the print below, I'd like to run and debug the lasinfo.cpp app.
How can I do that?
Tks in advance,
Mauro Assis

You must choose a target to run from the Scheme menu in the project window toolbar. If you look at your screenshot, you would click the ALL_BUILD target at the top of the screenshot and choose the target you want to run, which would be lasinfo in your case.
If you don't see a list of all the targets in your project when you click the ALL_BUILD target, choose Manage Schemes. Click the Autocreate Schemes Now button. That should create a scheme for each target in your project. If it doesn't, you're going to have a lot of work choosing the program you want to run. You'll have to edit the scheme, click on the Run step, and choose the program you want to run. Since you have 21 targets in your project, switching targets will be tedious. Xcode wasn't designed to work with that many targets. For command-line projects, Xcode was designed for one application per project.

Similar Messages

  • Running Unix Console Application on X86 Linux Target

    Hello,
    I tried to build a linux console application. I followed this tutorial http://zone.ni.com/devzone/cda/tut/p/id/5412 and it worked fine.
    The result was an executable that runs on my Windows-PC.
    But how can I run the program on my Debian-Linux machine (X86)?
    Greets Smithee

    Hi Smithee,
    The application you built was compiled with gcc for Windows. To cross-compile for a Linux PC, you would have to create your own target that calls gcc for Linux. This involves modifying plug-in VIs and possibly updating some header files. The steps in the porting process are explained in this document: http://digital.ni.com/manuals.nsf/websearch/1DE04E4CE92B5D4186257309006E1BC2.
    Michael P
    National Instruments

  • Howto debug a console application

    Hi all,
    Our application expects user input through console I/O at several points of execution.
    While running the app in debug mode all outpu t is directed to JDevelopers Message View which doesn't allow any user input.
    Any ideas ?
    TIA,
    Chris

    Are you using JDK 1.1, 1.2, or 1.3? If using JDK 1.1, go to the Run/Debug panel of the Project Properties and change the debug output to "Console Window."
    If you are using JDK 1.2/1.3, want you can do is to launch the application in debug mode and then connect to it with JDev using remote debugging.
    If using OJVM (default) with JDK 1.2/1.3, run your application with the extra "-XXdebug" (i.e., java -XXdebug ...). This will start the your application (debuggee) in debug mode on port 4000. Change your Run/Debug type to "Remote Debugging", set your breakpoints, then hit Debug to connect to the debuggee.
    If using Classic (JPDA), check the JDev documentation on how to start a Classic debugee in debug mode and repeat the steps starting from setting the Run/Debug to "Remote Debugging" (but choose JPDA instead of OJVM.)
    We realize this isn't ideal, and are looking into how to fix this for future versions of JDev.
    - Jimmy
    null

  • Update-Help error when console application is run in remote machine via PS remoting

    Hello,
    When I execute a particular console application in a remote machine via PS remoting, I get an error related to update-help. When I execute it directly on the remote machine, it works...
    My code:
    $credential = Get-Credential -Credential "DomainName\AccountName"
    $session = New-PSSession -ComputerName "MachineName" -Authentication Credssp -Credential $credential;
    Invoke-Command -session $session -ScriptBlock {
    try{
    cd <network share location>
    .\theConsoleApp.exe | Out-File C:\console-output.txt
    $error | Out-File C:\console-error-output.txt
    $exitCode
    } catch {
    throw $error
    Error seen in the console:
    NetNat, PcsvDevice, PSDesiredStateConfiguration, SoftwareInventoryLogging, StartScreen, TLS, WindowsSearch' with UI culture(s) {en-US} : Unable to retrieve the HelpInfo XML file for
    UI culture en-US. Make sure the HelpInfoUri property in the module manifest is valid or check your network connection and then try the command again.
    $error variable from above:
    Errored out (exit code 1603) with error message: ErrorId 10010: Xpatch threw an unexpected exception: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    I’ve tried
    two different user accounts
    multiple file share locations
    different OSs
    different target servers
    but have not determined the cause of the error.
    I would appreciate any help on this.
    -Rohan.

    Clearly the remote EXE cannot run in that context.  YOU should not run that program remotely.
    I suspect there is also information you are not giving to us.
    ¯\_(ツ)_/¯

  • Console Application to run with window open

    Hi Guys
    I have a Console Application that I wrote and it working perfectly when I run it manually. It can create report using Crystal Reports, exports to PDF and then print.
    My challenge was when I ran it as a task, the reports are created but its not printing, my default PDF view is Adobe.
    How can I run my app with the Window open because I think that's causing it not to print
    Brian

    After doing some searches it turned out the issue I had was with Adobe Reader XI, when run from Task Manager it always gives problems so.
    I ended up using PDF XChange Viewer for printing and I can now print my PDFs with no Windows popoing up. I installed the free Viewer and call it from my code to print.
    Process.Start("C:\Program Files\Tracker Software\PDF Viewer\pdfxcview.exe", " /print:printer=""" & PrinterName & """ """ & pdfFileName & """")

  • Calling Console Application that uses WebBrowser from SQL Server - Not Running

    Hi there. I am working in a program automation that needs to get files from a website and put it in a database. It is done but as I need a console application and need webbrowser that comes from Windows Forms, I am trying to call it from the SQL Server using
    the xp_cmdshell but when it runs the .exe, it execute the block that is before the Application.Run() command but when it reaches this line, it stay running on Task manager but it not execute my code. How can I fix this? I had first created a Windows form application
    but it was not working anyway and then I tried a console application and then I use the [STAThread] and Application.Run(). At least it runs the file from SQL Server but is not executing all my code, I think that it stops on Application.Run() line. Any help
    will be very useful.
    Thanks for now.

    Thanks for the response. What I mean is that it just run the part of the code that is just using the Console, that's the code:
    // Main Method
    [STAThread]
    public static void Main()
    clearDatabase(myConnection);
    Console.Title = "Suframa Itens Robot";
    //If log file exists, it is deleted
    if ( File.Exists(@"suframaLog.txt") )
    File.Delete(@"suframaLog.txt");
    wb.DocumentCompleted += new WebBrowserDocumentCompletedEventHandler(loginWebsite);
    try
    //It is called as the program uses the WebBrowser Class from Windows Forms namespace
    //and it is a console Application
    Application.Run();
    catch ( Exception ex )
    Log(ex.Message);
    As you can see, I call a function on start named ClearDatabase, when I call the file from sql server it executes, the tables are cleared, but what I think is that the problem stop when reach the line Application.Run() as it is the line that allows the remaining
    code to execute as it uses events from WebBrowser class. 
    It is a program automation that needs to get a lot of files from a website that needs login and read line by line from the files and put on server, if I call it from the executable it runs fine, the only problem is when calling from SQL Server, Do you know
    how to fix this?
    Thanks.

  • Error while I am Running the application in xcode 4.2

    I am having a error while I am Running the application in xcode 4.2 and having iOS 5.0 simulator. The error is listed below:-
    this is the code line:-
    [tabBarController.selectedViewController performSelector:@selector(setManagedObjectContext:)
    this is the error for the code line:-
    -[UINavigationController setManagedObjectContext:]: unrecognized selector sent to instance 0x7742060
    *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UINavigationController setManagedObjectContext:]: unrecognized selector sent to instance 0x7742060'
    *** First throw call stack:
    terminate called throwing an exceptionsharedlibrary apply-load-rules all
    Current language:  auto; currently objective-c
    Please provide me the solution for it.
    Thanks in advance.

    If you are a developer , please post this in the developer forum, Thanks!

  • Why cannot run the JNI application(which create a JVM) in debug mode

    Hi all friend,
    I have a JNI app which create a JavaVM and I want to add the option( "-Xrunjdwp:transport=dt_socket,address=8888,server=y,suspend=y") to created JVM ,I could run release modle under VC++6.0,but when I run this jni application as Debug model under VC++6.0,it throw Exception:
    "Unhandled exception in invokeJVMD.exe(JVM.DLL): 0xC0000005:Access Violation".
    Code as following:
    invoke.c
    #include <stdio.h>
    #include <stdlib.h>
    #include <jni.h>
    #include "memory.h"
    #define PATH_SEPARATOR ';' /* define it to be ':' on Solaris */
    #define USER_CLASSPATH "." /* where Prog.class is */
    #define JVM_ARGS_SIZE 7
    main() {
         JNIEnv *env;
         JavaVM *jvm;
         jint res;
         jclass cls;
         jmethodID mid;
         jstring jstr;
         jclass stringClass;
         jobjectArray args;
         JavaVMInitArgs vm_args;
          JavaVMOption options[JVM_ARGS_SIZE];
          options[0].optionString = "-Djava.class.path= " USER_CLASSPATH;
          options[1].optionString = "-Xdebug";
          options[2].optionString = "-Xnoagent";
          options[3].optionString = "-Djava.compiler=NONE";
          options[4].optionString = "-Xrunjdwp:transport=dt_socket,address=8888,server=y,suspend=y";
          options[5].optionString = "-verbose:jni";
          options[6].optionString = "-Xcheck:jni";
         vm_args.version = JNI_VERSION_1_4;
         vm_args.options = options;
         vm_args.nOptions = JVM_ARGS_SIZE;
         vm_args.ignoreUnrecognized = JNI_TRUE;
         /* Create the Java VM */
         res = JNI_CreateJavaVM(&jvm, (void**)&env, &vm_args);
         if (res < 0) {
             fprintf(stderr, "Can't create Java VM\n");
             exit(1); /*exit(1);*/
         cls = (*env)->FindClass(env, "Prog");
         if (cls == NULL) {
             goto destroy;
         mid = (*env)->GetStaticMethodID(env, cls, "main",
                                         "([Ljava/lang/String;)V");
         if (mid == NULL) {
             goto destroy;
         jstr = (*env)->NewStringUTF(env, " from C!");
         if (jstr == NULL) {
             goto destroy;
         stringClass = (*env)->FindClass(env, "java/lang/String");
         args = (*env)->NewObjectArray(env, 1, stringClass, jstr);
         if (args == NULL) {
             goto destroy;
         (*env)->CallStaticVoidMethod(env, cls, mid, args);
    destroy:
         if ((*env)->ExceptionOccurred(env)) {
             (*env)->ExceptionDescribe(env);
         (*jvm)->DestroyJavaVM(jvm);
          exit(0);
    }Prog.java:
    public class Prog {
        public static void main(String[] args) {
             int i = 0;
             int j = 10;
             i += j;
             System.out.println("Hello World " + args[0]);
            new HelloWorld().displayHelloWorld();
    }Any help?Thanks

    Sounds like this old problem, and workaround:
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4335526
    -slj-

  • Can't access community members list in event receiver when item is updated in console application

    Hi,
    we attached an event receiver to a list in a community site template. In the ItemUpdated event we access different lists from the site. Everything is working fine when we update a list item in the web frontend logged in as Administrator (application pool
    identity Administrator).
    Updating an list item in a console application running as Administrator triggers the ItemUpdated event and accesses all lists - only the Community Member list can't be accessed.
    SPWeb spWeb = properties.OpenWeb();
    Guid communityMembersListGuid = new Guid("3b56d08b-be6b-408b-a2aa-c08722ad499b");
    SPList communityMembersList = spWeb.Lists[communityMembersListGuid];
    We added the Administrator with full access to the list, run the code with RunWithElevatedPrivileges and initialized the spSite with the account-token of the administrator. Nothing works.
    Any idea?
    Greetings Peter

    Hi,
    Please try to use the following code blow:
    SPWeb spWeb = properties.Web;
    SPList communityMembersList = spWeb.Lists["Community Members"];
    If the issue still exists, I suggest you debug your code and provide the detail error message for further research.
    Best Regards
    Dennis Guo
    TechNet Community Support

  • C# console application closes on it's own as soon as it opens

    Hello to all of you.
    I know this is a very common problem but there seems to be no solution for me so far.
    The known problem that right after build and start debugging, terminal opens and closes like a flush.
    Have Tried the below already:
    Console.ReadLine();
    Console.ReadKey();
    System.Console.ReadLine();
    System.Console.ReadKey();
    Ctrl+F5
    Start without debugging
    and a couple more.
    Went to settings to see if console application was enabled (which it was).
    It was working fine until this noon,when I was working on my exercise and using always "Console.ReadLine();" in order for the window to
    remain open, but all of the sudden it did not work for me anymore.
    I have to say at this point that not a single change was done in my laptop. I also restarted just in case, but nothing's changed.
    Furthermore I use version VS express windows desktop 2013 with update 4 and also Vs express windows 2013 with update 4.
    Please help me and thank you very much for taking the time to read this.

    I know this is a very common problem but there seems to be no solution for me so far.
    The known problem that right after build and start debugging, terminal opens and closes like a flush.
    Have Tried the below already:
    Console.ReadLine();
    Console.ReadKey();
    System.Console.ReadLine();
    System.Console.ReadKey();
    Ctrl+F5
    Start without debugging
    and a couple more.
    It was working fine until this noon,when I was working on my exercise and using always "Console.ReadLine();" in order for the window to
    remain open, but all of the sudden it did not work for me anymore.
    Is the code you're trying to debug in a source code file which is specified as part of the
    project being built/run?
    A common mistake is to open a new source code file in the IDE, add code, then try to run
    or debug it. If the new source code file isn't listed as part of the active project
    in
    the Solution Explorer window, then it will not get compiled and added to the project's
    target (.exe). So what gets executed/run doesn't include the code on the screen in the
    IDE editor.
    - Wayne

  • New install of VS 2013 on new Windows 8.1 PC, simplest C++ 64-bit console application, unable to bind breakpoints

    Hi,
        I have a new Dell Desktop PC, running Windows 8.1.  I have a fresh install of VS 2013 Professional, I created the simplest C++ console application.  If I set the breakpoints before debug starts, everything is fine. but
    once inside a debug session, I can't not set any breakpoints anyway, it keeps give me the "The following breakpoint cannot be set: At xxx.cpp, line 19, The breakpoint failed to bind."  It seems the debugger wasn't able to load the symbols correctly,
    but the output windows looks all right.
        Can anyone please help?  I can't do any debugging now...  Thanks!  My email [email protected]
     SaveDir.exe D:\Temp\x64\Debug\SaveDir.exe N/A Yes Symbols loaded. D:\Temp\x64\Debug\SaveDir.pdb 1  2/14/2015 9:25 AM 00007FF6837B0000-00007FF684200000 [13964] SaveDir.exe  
     ntdll.dll C:\Windows\System32\ntdll.dll N/A No Symbols loaded.  2 6.3.9600.17630 (winblue_r7.150109-2022) 1/10/2015 4:23 PM 00007FF881B70000-00007FF881D1C000 [13964] SaveDir.exe  
     kernel32.dll C:\Windows\System32\kernel32.dll N/A No Symbols loaded.  3 6.3.9600.17056 (winblue_gdr.140319-1520) 3/20/2014 9:17 AM 00007FF880F50000-00007FF88108A000 [13964] SaveDir.exe  
     KernelBase.dll C:\Windows\System32\KernelBase.dll N/A No Symbols loaded.  4 6.3.9600.17278 (winblue_r2.140815-1500) 8/16/2014 10:17 AM 00007FF87EED0000-00007FF87EFDF000 [13964] SaveDir.exe  

    Hi,
        I have a new Dell Desktop PC, running Windows 8.1.  I have a fresh install of VS 2013 Professional, I created the simplest C++ console application.  If I set the breakpoints before debug starts, everything is fine. but
    once inside a debug session, I can't not set any breakpoints anyway, it keeps give me the "The following breakpoint cannot be set: At xxx.cpp, line 19, The breakpoint failed to bind."  It seems the debugger wasn't able to load the symbols correctly,
    but the output windows looks all right.
        Can anyone please help?  I can't do any debugging now...  Thanks!  My email [email protected]
     SaveDir.exe D:\Temp\x64\Debug\SaveDir.exe N/A Yes Symbols loaded. D:\Temp\x64\Debug\SaveDir.pdb 1  2/14/2015 9:25 AM 00007FF6837B0000-00007FF684200000 [13964] SaveDir.exe  
     ntdll.dll C:\Windows\System32\ntdll.dll N/A No Symbols loaded.  2 6.3.9600.17630 (winblue_r7.150109-2022) 1/10/2015 4:23 PM 00007FF881B70000-00007FF881D1C000 [13964] SaveDir.exe  
     kernel32.dll C:\Windows\System32\kernel32.dll N/A No Symbols loaded.  3 6.3.9600.17056 (winblue_gdr.140319-1520) 3/20/2014 9:17 AM 00007FF880F50000-00007FF88108A000 [13964] SaveDir.exe  
     KernelBase.dll C:\Windows\System32\KernelBase.dll N/A No Symbols loaded.  4 6.3.9600.17278 (winblue_r2.140815-1500) 8/16/2014 10:17 AM 00007FF87EED0000-00007FF87EFDF000 [13964] SaveDir.exe  
    Hello,
    >> If I set the breakpoints before debug starts, everything is fine. but once inside a debug session, I can't not set any breakpoints anyway, it keeps give me the "The following breakpoint cannot be set: At xxx.cpp, line 19, The breakpoint
    failed to bind." 
    >> I created the simplest C++ console application. 
    Since it is a simple console application, would you mind sharing us that sample and the steps to reproduce this issue? We will test it on ourside.
    To confirm whether this issue is related to visual studio, you could test it in another machine which also insatlled VS2013 to test.
    In addition, before you test it in another machine, I would recommend you make sure whether you have installed the latest update for VS2013.
    Regards,
    Carl
    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.

  • Which solution is better for schedules task? Console application or windows service?

    I have a "MULTI-LEVEL" XML file that I will be getting on daily basis and I want to accomplish following tasks:
    1) I have to read and parse the "MULTI-LEVEL" XML data
    2) Then I have to set or create some kind of .net service (c#) that read the xml and parse the data once a day (daily)?
    3) Now I have SOAP service from other software where I want to feed this XML data to. The schedules service will compare the XML data with software data and update (or add) based on the comparision.
    For this task, I come to conclusion that there are 2 best ways to do this:
    1) Create a console application and use windows task scheduler to run it everyday
    2) Create a windows service that runs in the background
    Which is a better way (or reliable)  solution to do this task? Please advise

    There are several things to keep in mind when writing an app that is designed to run without a user logged in. One of the most common mistakes is requiring some sort of user input.  Since the task will run without user intervention you don't want
    any sort of calls to Console.ReadLine, MessageBox.Show, etc.  They will cause the task to freeze and eventually need to be terminated.  You also don't want to rely on any sort of desktop apps running since a user may or may not be logged on at the
    time.
    Also be aware that a task can be scheduled to run under any user context.  As such you either need to ensure it runs under an account with sufficient privileges or that your app needs no special privileges.  You mentioned you tried to run it from
    bin\debug but you most likely have your project under your Documents directory.  Only you would have permissions to that folder and therefore will run into issues if the task is run under a different context.  You also mentioned you put it in the
    C:\ but users don't have write privileges to that folder and therefore if you tried to write a file out it would fail. If you need to read/write files then you should pick a common location that all users have access to or at least the one that will run the
    scheduled task. Be aware that, by default, Task Scheduler will not run a task elevated. You need to check the option to run elevated when you configure the user to run the task under.
    One of the key things to ensure you do with a task is verify it is working properly as a normal app.  You should also ensure that you have good logging so that if it does fail you can trace down the failure more easily.  One common thing that people
    tend to do in console apps is put a try-catch around the main function and display a message if an unhandled exception occurs. This is going to cause problems in a task.  Simply log the exception and rethrow it so Task Scheduler will flag the run as a
    failure.
    If you still cannot figure out why your task is failing then please add some logging and then tell us what code is being run at the time and what the failure is.

  • How to check process is running for an application pool on remote server

    Hi,
    I am creating console application which will check whether WCF is up and running. I am thinking of the approach whether w3wp prcoess is running for a particular application pool using some .net API. We have different website with different application pool.
    I know we can use metatdata or any operation inside WCF service to test svcutil or proxy methods but i don't want that. Please help.
    Thanks,
    Dhanaji

    I assume your goal is to simply provide a heartbeat to periodically make sure that a service is running?  There is no real guarantee that a service will be available until you actually try to call it.
    Also please realize that you're going to impact the server's performance by doing this.  IIS is set up to idle out apps that aren't being used. If you periodically poll the service then you will prevent IIS from doing this.  The result will be
    that you'll see a WCF service running even if nobody every uses it.  Is this really what you want?  Hence if you have a lot of WCF services being checked then the server is wasting resources on services that might not be needed. 
    IIS doesn't work like a normal application.  It hosts your WCF service.  You should let IIS handle the lifetime of your service rather than using a heartbeat.  It would take a catastrophic failure for IIS to be unable to start a service when
    a request comes in.  The app pool itself may be running even without the WCF app running. An app pool is a collection of apps so if any app is running then the pool is running.  Checking the pool tells you nothing about the apps in it.
    You mentioned that you don't want to use IIS metadata or a proxy but that is the only 2 options you have.  Personally I would just hit the endpoint with a HttpWebRequest and verify you get a response but the IIS metadata would be a close second.
    Michael Taylor
    http://blogs.msmvps.com/p3net

  • A web developer problem while running a web application

    Hi all,
    I'm novice to J2EE.
    I've encountered a problem while accessing the deployed module in weblogic 8.1 server.
    I'm sure that the webapplication module is deployed as i saw my module in administration console & also the status said that it is deployed.
    when i access my web application by specifying the proper server and port no and context root it is showing
    either 505 - resource not found error(http://localhost:7001/Suresh-2/Suresh) or 404 - not found error.( http://localhost:7001/Suresh-2/Suresh)
    Now let me elaborate what i've done till now.
    My webapplication folder structure is : C:\bea\user_projects\domains\mydomain\applications\Suresh\WEB-INF\classes\Sai\ServExamp.class
    My servlet is ServExamp.java
    I created a folder called "Suresh". In that folder created another folder called "WEB-INF". In WEB-INF created a folder called "Classes".
    Since my servlet is in package "Sai", the .class file reside in \Suresh\WEB-INF\Classes\Sai\ServExamp.class
    The source code is :
    package Sai;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    public class ServExamp extends HttpServlet
    public void doPost(HttpServletRequest req,HttpServletResponse res)throws IOException
    PrintWriter out=res.getWriter();
    java.util.Date today=new java.util.Date();
    out.println("<html>"+"<body>"+
    "<h1 align=center>HF\'s Chapter1 Servlet </h1>"
    +"<br>"+today+"</body>"+"</html>");
    Now i'm almost done creating a web application. Next, I constructed a simple web.xml descriptor that gives a web friendly name for my servlet, and points to the servlet. I constructed web.xml descriptor file in the WEB-INF folder (C:\bea\user_projects\domains\mydomain\applications\Suresh\WEB-INF\).
    The web.xml file source is :
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <display-name>Hello World Web Application</display-name>
    <description>Test Servlet</description>
    <servlet>
    <servlet-name>ServExamp</servlet-name>
    <servlet-class>Sai.ServExamp</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>ServExamp</servlet-name>
    <url-pattern>/Suresh</url-pattern>
    </servlet-mapping>
    </web-app>
    Now I have told Weblogic that the URI /Suresh corresponds to my servlet "Sai.ServExamp".
    My Web Application is ready to be deployed at this point. I logged onto Weblogic's admin console,
    1) clicked on deployments, then navigated to "Web Application Modules" .
    2) Clicked "Deploy new Web Application Module"
    3) Navigated to the location of your web application folder (Suresh). There was a radio button next to it indicating that I can select that folder as a valid web application.
    4) I Clicked that radio button and clicked "Target Module".
    5) It informed that my web application "Suresh" will be deployed to myServer.It asked a name for my web application deployment. By default it was "Suresh"
    I clicked Deploy.
    6) After deployment, my web application "Suresh" appeared in the "Web Application Modules" tree on the left.
    I Clicked on "Suresh"( my web application) then clicked the testing tab, then clicked the link shown there(http://localhost:7001/Suresh-2).
    It was not showing my servlet (showed a 403 error)
    Error - 403
    This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.
    I think so it came b'coz I don't have an index.html or index.jsp page.
    7)Instead,I added my servlet on to the URL it provided.
    http://localhost:7001/Suresh-2/Suresh
    It is showing these error code: Http: 505 resource not allowed
    The page cannot be displayed
    The page you are looking for cannot be displayed because the address is incorrect.
    Please try the following:
    If you typed the page address in the Address bar, check that it is entered correctly.
    Open the localhost:7001 home page and then look for links to the information you want.
    Click Search to look for information on the Internet.
    when i just type : http://localhost:7001/ -> Error 404 not found error
    it's showing
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
    I want to run my web application & any help would be appreciated.
    Thanks in advance.
    with regards,
    S.SayeeNarayanan.
    Note: I even deployed my war file, which i got by execution of (jar cv0f webapp.war . ) command from the root directory of my web application i.e. Suresh
    Then executed my webapplication it is showing
    error-505 resource not allowed.
    --------------------------------------------------------------------------------------------

    try a fully qualified path to the pem file

  • Error while running the console on WLCS 3.5

    Hi there,
    I'm running WLCS3.5/WL 6.1 and I'm getting very often this exception when
    using the console:
    <Dec 30, 2001 2:21:48 PM EST> <Error> <HTTP> <Connection failure
    java.net.SocketException: Error in poll for fd: '60', revents: '24'
    at
    weblogic.socket.PosixSocketMuxer.deliverBadNews(PosixSocketMuxer.java:429)
    at
    weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:384)
    at
    weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    >
    I also get the same behaviour under WL 6.1 alone when accessing the console.
    My environment is:
    Weblogic Version: WebLogic Server 6.1 SP1
    JDK Vendor: Blackdown Java-Linux Team
    JDK Version: 1.3.1
    Operating System: Linux
    Does anybody know where this is coming from?
    Thanks,
    Dan

    Daniel,
    Thanks for the hint.
    Indeed, these are all file descriptors and the error has to do something
    with the way poll(2) is implemented in the gcc library
    and/or used by WebLogic. revents is a bitmask constructed by OR-ing a
    combination of some event flags.
    It is weird though that this appears only when running the console and never
    when running any other application.
    I'll keep digging, maybe I'll find why this happens. I will also try to
    install it on different Linux distros.
    Thanks again,
    Dan
    "Daniel Selman" <[email protected]> wrote in message
    news:3c476601$[email protected]..
    Dan,
    I'm no LINUX guru but I would guess that "fd" is file descriptor (for the
    socket connection), and WebLogic cannot acquire one for a socket it is
    trying to open. I would root around for config information surrounding the
    number of sockets you can open simultaneously.
    Sincerely,
    Daniel Selman
    "Dan" <[email protected]> wrote in messagenews:[email protected]..
    Hi there,
    I'm running WLCS3.5/WL 6.1 and I'm getting very often this exceptionwhen
    using the console:
    <Dec 30, 2001 2:21:48 PM EST> <Error> <HTTP> <Connection failure
    java.net.SocketException: Error in poll for fd: '60', revents: '24'
    at
    weblogic.socket.PosixSocketMuxer.deliverBadNews(PosixSocketMuxer.java:429)
    at
    weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:384)
    at
    weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    >
    I also get the same behaviour under WL 6.1 alone when accessing theconsole.
    My environment is:
    Weblogic Version: WebLogic Server 6.1 SP1
    JDK Vendor: Blackdown Java-Linux Team
    JDK Version: 1.3.1
    Operating System: Linux
    Does anybody know where this is coming from?
    Thanks,
    Dan

Maybe you are looking for

  • SAPScript print out Margin problem

    Hi Gurus, I have configured a printer already existing to one of my storage location. When I am taking print out of material document, it is not coming correctly. Text is getting wrapped up on right hand side. But the preview of same material documen

  • Help in tuning query

    Please help me in tuning sql queries. I am a bit new to this. I have generated an Explain plan(plan table) for a particular sql statement using sql navigator. What do i do with this information exactly in order to tune the statement. It is showing so

  • Proble creating Table Type = Select in 10gR3

    In a very simple example case I have a customers table that I am trying to create a Table Type of Select in the physical layer. Using the Admin tool I create "New Physical tabe" and enter select * from customer where region = 'East' If I "Update All

  • Upgrade from 10.4.11 (Tiger) to 10.5 using Leopard - ERROR

    I am trying to upgrade from 10.4.11 (Tiger) to 10.5 using Leopard installation dvd disc. error comes up when it cannot find a version 10.4x when i clearly know i am using 10.4 Hardware Overview: Model Name: iMac Model Identifier: iMac7,1 Processor Na

  • Family share will not allow to accept the invitation

    how to get this to work