Pls help. unknown source position error. returnvalue == -12

Hi,
 i have encouter a problem during debugging external Dll. some of times i receive a error. unknown source position. library function error( return value == -12) out of memory.
however,  after you pressing continue in popup windowns . program can continue without any error .   so do someone recognize this error. ?
B.R
gerry
Attachments:
outofmemory.jpg ‏119 KB

Gerry,
Its difficult to say much without more information,  but when I have encountered this problem while debugging a dll, the program flow halts at the function returning the error.  Default behavior in CVI 2010 environment I believe is to break on library errors.  This can be verified/set in the Run->Break on->Library errors menu setting.  Also important, both the calling application AND the .dll must have been built in debug mode.  If that is true, and the "break on Library errors" mode is checked, when the program is executed, program flow will halt at the first occurrence of a library error, with a description in the Run-Time Errors box.  If the error is thrown within the .dll, then you will see execution stop there. 
Once this happens, you can right click on the offending function to open the function panel, and use the built in help to determine what -12 means.
If you need further help, please provide more information about the problem
Regard,
Ryk

Similar Messages

  • Fatal Run Time Error - unknown source position thread id

    Hi All,
    I am using LabWindows CVI 2013 in order to display data from my controller.
    I have defined some functions to activate the communication with the controller and read data from it.
    The communication activation with the controller is being done inside the Main block before loading the UI panels.
    I created a command button that activates the data reading function (Get Register) from the controller.
    When calling the reading function I received a Fatal Run Time Error. Attached please find.
    When I moved the reading function to the main block before loading the UI, the program didn't crush.
    What is the cause for that?
    Thanks for your support.
    Haim 
    Attachments:
    CVI.png ‏168 KB

    Hi Haim,
    Could you explain what you mean by moving the function to the main block? Does that mean instead of having a callback, you added the four lines in that callback (according to the attached image) to the main function? When you do this, does the code execute correctly?
    And can you tell me what DLL package you are using that contains the Jet32Functions.GetRegister function?
    The error is very generic, so it is hard to say what is causing it without seeing the entirety of the code, but it appears that there is a conflict in the thread control. Does the error occur only when you activate the callback by clicking the command button? Which lines are executed in the callback before the error occurs?
    It would be helpful if you could attach your source file or at least a screenshot of the working code so I can see the entire main function.
    Steven

  • Fatal run time error: unknown source position

    I am getting a fatal run-time error when using CVI 8.0.1.  I get the error when any program I write is exiting.  Here's an example source:
    #include <ansi_c.h>
    int main(void)
        char buf[512];
        printf("press enter to exit\n");
        gets(buf);
        return 0;
    after I press enter to exit, the program hangs for a few seconds and then I get the error.  This only started happening after I upgraded to CVI 8.0.1.  I have tried uninstalling / reinstalling / going back to earlier versions and I always have the problem now.

    It sounds like something went wrong with the initial install or possibly there was problems with removing previous versions. Since uninstalling and reinstalling did not fix this, I would suggest you to use a utility called MSI Blast. This will show all installations that are on your machine and allow you to remove these installations. This is a last resort program and should never be used to replace Add/Remove Programs, but since something sounds as if it is corrupt, I feel it is best to use this. Here is the link.
    ftp://ftp.ni.com/outgoing/msiblast.zip
    You will need to remove and reinstall all NI components to assure that we remove the corrupt file. It is definitely something local to your machine as I was not able to replicate the problem with your provided code. Please run this utility and let me know once you have pick this up off of the ftp, as we do not leave this utility up for long.
    Message Edited by Brandon V on 10-10-2006 02:22 PM
    Brandon Vasquez | Software Engineer | Integration Services | National Instruments

  • Pls help me above this error

    hi,
    sap gurus,last five days i have one  error,pls anybody give solution.when i try to post p.order related asset accounting above message coming
    "pur.order item 00010 still contains faulty account assignment item 10 acc.assmt  1"
       "G/L  account  200143 cannot be used(please correct)msg no-me045"
    *in the same scenario i try to post f-90 above msg error coming*   
           "asset js01  is  in complete,check the asset.msg no-aap0184"
       pls  anybody give solution  on this error.
    Thanks & Regards
    sri

    First of all, if the asset is incomplete, this has to be corrected. Use transaction AUVA to analyze the asset.
    Please note that if the cost center field in the account assignment is optional and it is suppressed in G/L account field the error message ME045 is displayed.  This is because the systems checks if the fields are required by both and decision is made based on the requirement and if data is present. Therefore if one is optional and the other is suppressed the message ME045 will be displayed.  Therefore, maintain the GL account cost center field as optional.
    I hope this helps you.
    Sven

  • Pls help I have Bapi error response scenario

    Hi  Experts,
         I am working ona scenario.
    Sender will drop the required file on XI directory and XI will pull the file and map it with the BAPI u2013 and crate time entries in SAP HR. If errors are encountered during the process they are returned to the client in a report or as erroneous file.
    1) sender will FTP the file to XI directory
    2) XI will send the file after validation with BAPI for time entry creation in SAP R/3.
    3) If there is an error encountered XI will get an error response from BAPI
    *4) The erroneous file is sent to XI directory for client to view*
    I have to write this error files on the Xi directory.
    *How will I capure the error response from BAPI. as we are interested only for failure messages and not the sucessful messages. How we filter the mesages in XI, we want to capyure only failed messages.*
    Please help me out wz this.
    Thanks

    Hello,
    Your situation it is quite common task so refer to this step-by-step wiki:
    File-RFC-File(Without BPM)
    http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File(Without+BPM)
    What concerns that you want receive only response with error this is also not problem. In all BAPI function you can find response code which differ for successful and unsuccessful processing. So only you need to do it is filter data in you scenario with ERROR response code, you can do this in condition section of receiver determination.
    And if you want you can adjust two response streams in XI, one for successfull processing and another one for error (also with filtering).
    BR,
    Dzmitry

  • Pls Help. DS5.1p1 errors PR_Accept() failed, error -5971 (Process open FD t

    Hi all,
    I install iplanet Directory Server5.1p1 on Solaris 8. These errors fill full in my error log files
    "PR_Accept() failed, error -5971 (Process open FD table is full.)"
    I use idsktune tool and detect i face the problem file descripton. I have increase to 4096 ( in /etc/system file and ulimit -n 4096), but these errors still exist in my error logs.
    Who know this prolem, pls give us a solution to fix this errors
    Thank alot
    Best Regards

    Hi!
    To increase the FDs available for DS, edit the Configuration --> Performance Settings and increase the no. of FDs available for DS. please check if you havent done this.
    I faced the similar problem. Increased the system limit(/etc/system) and DS setting, but was still recieving the error message time to time, which disappears automatically, when FDs get freed. The server is quite a busy LDAP server.
    Can someone comment how can i see the actual Fd utilisation on a Solaris 8 system.
    I have been checking like:
    ls -l /procs/fd | wc -l
    and by:
    ls -l /procs/pid-of-slapd/fd | wc -l
    But always find the Fds in use to be quite lesser than the limit specified 4096.
    Thanks for sharing.
    Cheers!
    VIvek

  • Pls help, (Access is denied) error when file upload to a local directory

    Hi, I've been stuck on this for the past few days and I am quite new at developing web application.
    Here is the problem that I am having, I don't know why it keeps on saying "access is denied" when I can see that the file is uploaded to the directory. I am developing a JSP page file upload using Jakarta Fileupload v1.2. However, every time when I try to upload a file to a local path (e:\temp) on the server I keep getting this problem. I even try looking into the server.policy file on glassfish but no luck, your help is appreciated thanks
    Here's the log after file upload, note: I can see the file being uploaded in the e:\temp but why does it keep telling me the error?
    I'm using netbean 5.5.1 and glassfish v2
    Initializing Sun's JavaServer Faces implementation (1.2_04-b10-p01) for context '/TestReport'
    java.io.FileNotFoundException: e:\temp (Access is denied)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
    at org.apache.commons.fileupload.disk.DiskFileItem.write(DiskFileItem.java:390)
    at org.apache.jsp.ProcessFileUpload_jsp._jspService(ProcessFileUpload_jsp.java:83)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:80)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:818)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:464)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:358)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:818)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:258)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:189)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:81)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:193)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:255)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:549)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:790)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:248)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:199)
    at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:345)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
    at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:93)

    Hi, I've been stuck on this for the past few days and
    I am quite new at developing web application.
    Here is the problem that I am having, I don't know
    why it keeps on saying "access is denied" when I can
    see that the file is uploaded to the directory. I am
    developing a JSP page file upload using Jakarta
    Fileupload v1.2. However, every time when I try to
    upload a file to a local path (e:\temp)Hi there,
    Typically in a Web Container, applications are deployed to a folder called webapps (this is the case in Tomcat, I'm not sure about Glassfish)
    So the directory structure is something like C:/Tomcat/webapps/MyApplication/other folders......
    When you upload a file , you normally can upload it only to a folder under your application and not to a folder outside the application.
    First you can try to upload the file to a folder under the webapp and not outside the webapp, once you get that to work --- then internally in the Servlet you can write code to save the file to any directory on the server, but the Servlet must be located on the server.

  • Hi frnds this is the code for dynamic creation of users in plsql but these statements r not executing so pls help me for this error

    DECLARE
    n NUMBER;
    BEGIN
    n:=1;
    WHILE(n<=10)
    LOOP
    CREATE user EM||n IDENTIFIED BY KLU;
    GRANT CREATE SESSION,GRANT ANY PRIVILEGE TO EM||n;
    COMMIT;
    n:=n+1;
    END LOOP;
    END;

    Hi,
         Here is the dynamic query for creating user and to give grants to user,
    DECLARE
       n         NUMBER;
       cr_user   VARCHAR2 (300);
       gr_user   VARCHAR2 (300);
    BEGIN
       n := 1;
       WHILE (n <= 10)
       LOOP
          cr_user := 'CREATE user EM' || n || ' IDENTIFIED BY KLU';
          gr_user := 'GRANT CREATE SESSION,GRANT ANY PRIVILEGE TO EM' || n || '';
          EXECUTE IMMEDIATE cr_user;
          EXECUTE IMMEDIATE gr_user;
          n := n + 1;
       END LOOP;
    END;
    Edited: Removed When OTHERS Exception Handling from Code.
    Cheers!

  • IPhone 4 Updating Error (Pls Help)

    When I click on update in itunes to update my iphone 4 it promt me an error message.
    Could someone pls help me thanks.
    Error Message: An unknown error Occured (-23)
    p.s. I had updated my ipad2 with no problems but I am unable to update my iphone 4.

    Waited for a few days then I uninstalled and reinstalled itunes on my laptop and it's work... No more error msg popping out and the updating went smoothly .
    p.s. Yuppie finally able to updated my iphone to iOS5.. 

  • Pls help with a program

    I'm making a quiz, and i store the questions in a textfile. The user can choose from 3 quizes, either Plate Tectonics, Rivers or Rocks. I managed to call the questions from Java. Each quiz has a set of 10 questions. In the code below i only included the answers to the Plate Tectonics Quiz, which i stored in an array. What i'm having problem with is, that its not working correctly, since it is displaying, after answering all the questions correctly that i have answered 0 questions from 1 question. First of all it should say out of 10 questions because i have 10 questions, and its not really working because even if i answer them all corrctly it still says 0 out of 1 question. Can someone pls help me find the error? Thanks a lot.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    import java.io.*;
    import java.util.Scanner;
    import java.util.Arrays;
    public class GeographyQuiz extends JFrame implements ActionListener {
      private static final int FRAME_WIDTH = 140;
      private static final int FRAME_HEIGHT = 160;
      private static final int FRAME_X_ORIGIN = 70;
      private static final int FRAME_Y_ORIGIN = 50;
       AnswerStore answerStore = new AnswerStore();
      public static void main (String[] args) {
        JFrame jFrame;
        jFrame = new JFrame();
        JOptionPane.showMessageDialog(jFrame, "This is a Geography Quiz");
        JOptionPane.showMessageDialog(null, "Good Luck");
        char choice;
        int i, choice1, Password;
        String yourChoice, passString;
        passString = JOptionPane.showInputDialog("Enter the Password");
        //Password = passString.nextInt();
        Password = Integer.parseInt(passString);
        if (Password == 123) {
         JOptionPane.showMessageDialog(null, "Valid. You typed the right password. Now choose from the following menu");
         GeographyQuiz frame = new GeographyQuiz();
          frame.setVisible(true);
        } else {
          JOptionPane.showMessageDialog(null, "Invalid Password. Try Again");
      public GeographyQuiz() {
        Container contentPane;
        JButton button1, button2, button3, button4, button5;
        setSize (FRAME_WIDTH, FRAME_HEIGHT);
        setTitle("Geography Quiz");
        setLocation(FRAME_X_ORIGIN, FRAME_Y_ORIGIN);
        contentPane = getContentPane();
        contentPane.setBackground(Color.pink);
        contentPane.setLayout(new FlowLayout());
        button1 = new JButton("Plate Tectonics");
        button2 = new JButton("Rivers");
        button3 = new JButton("Rocks");
        button4 = new JButton("Quit");
        contentPane.add(button1);
        contentPane.add(button2);
        contentPane.add(button3);
        contentPane.add(button4);
        button1.addActionListener(this);
        button1.setActionCommand("b1");
        button2.addActionListener(this);
        button2.setActionCommand("b2");
        button3.addActionListener(this);
        button3.setActionCommand("b3");
        button4.addActionListener(this);
        button4.setActionCommand("b4");
        setDefaultCloseOperation(EXIT_ON_CLOSE);
       public void actionPerformed(ActionEvent e) {
    String ac = e.getActionCommand();
            String[] questions = null;
             try {
            if (ac.equals("b1")) {
                questions = readFile("plate_tectonics.txt");
            } else if(ac.equals("b2")) {
                questions = readFile("rivers.txt");
            } else if(ac.equals("b3")) {
                questions = readFile("rocks.txt");
            } else if (ac.equals("b4")) {
                System.exit(0);
            askQuestions(questions);
         catch (java.io.FileNotFoundException f)
            JOptionPane.showMessageDialog(null, "File not found.");
        private String[] readFile(String path)throws FileNotFoundException {
            Scanner s = null;
            StringBuilder sb = new StringBuilder();
            String separator = "\n";
            try {
                s = new Scanner(new BufferedReader(new FileReader(path)));
                s.useDelimiter(",\\s*");
                while (s.hasNext()) {
                   JOptionPane.showInputDialog(null,s.nextLine());
            finally {
                if (s != null)
                    s.close();
            return sb.toString().split("\\s");
        private void askQuestions(String[] questions) {
            int count = 0;
            for(int j = 10; j < questions.length; j++) {
                 String input = JOptionPane.showInputDialog(null, questions[j]);
                 // Use reference to AnswerStore instance to access data in it.
                 if(answerStore.answer[j].equals(input))
                 count++;
            JOptionPane.showMessageDialog(null, "You answered " + count +
                                          " out of " + questions.length +
                                          " questions correctly.");
    class AnswerStore  {
    String[] answer = {
            "Hellenic", "constructive", "100km", "Italy", "Wegner",
            "constructive", "100km", "Italy", "destroyed", "Meditteranean"
    }Edited by: saytri on Dec 23, 2007 2:07 AM
    Edited by: saytri on Dec 23, 2007 2:29 AM

    stripped to bare bones, it works OK for me
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    class GeographyQuiz extends JFrame implements ActionListener {
      AnswerStore answerStore = new AnswerStore();
      public static void main (String[] args) {
        JOptionPane.showMessageDialog(null, "This is a Geography Quiz\n\nGood Luck");
        char choice;
        int i, choice1, Password;
        String yourChoice;
        GeographyQuiz frame = new GeographyQuiz();
        frame.setVisible(true);
      public GeographyQuiz() {
        Container contentPane;
        JButton button1;
        setSize (140, 160);
        setTitle("Geography Quiz");
        setLocationRelativeTo(null);
        contentPane = getContentPane();
        contentPane.setBackground(Color.pink);
        contentPane.setLayout(new FlowLayout());
        button1 = new JButton("Plate Tectonics");
        contentPane.add(button1);
        button1.addActionListener(this);
        button1.setActionCommand("b1");
        setDefaultCloseOperation(EXIT_ON_CLOSE);
      public void actionPerformed(ActionEvent e) {
        String ac = e.getActionCommand();
        String[] questions = null;
        if (ac.equals("b1")) {
          questions = new String[]{"what is 1+1","what is 2+2"};
          askQuestions(questions);
      private void askQuestions(String[] questions) {
          int count = 0;
          for(int j = 0; j < questions.length; j++) {
            String input = JOptionPane.showInputDialog(null, questions[j]);
            if(answerStore.answer[j].equals(input)) count++;
          JOptionPane.showMessageDialog(null, "You answered " + count +
                                        " out of " + questions.length +
                                        " questions correctly.");
    class AnswerStore  {
    String[] answer = {"2", "4"};
    }either the problem is in the file, or the posted code is not what you're using

  • TS1629 An unknown error occurred (3194) during ios6 update pls help to get it resolved

    An unknown error occurred (3194) during ios6 update pls help to get it resolved

    There is no supported method to downgrade iOS.
    Put the device in DFU mode and restore.  Be aware, ALL iPhones require a valid SIM for activation.  The SIM does not need to be for an active account, but it must be a SIM from the carrier the device is locked to.

  • Incoming Payment Error(-2028) Data source - No data found, pls help me

    Dear friend,
    Im struggle in Adding Incomming Payment, I got -2028 Error msg,
    DATA SOURCE – NO DATA FOUND pls help me to solve
    Its My code
    Public Sub incopay(ByVal oform As SAPbouiCOM.Form)
            Dim incom As SAPbobsCOM.Payments
            Dim value As Integer
            Dim strerror As String
            Try
                Dim rset As SAPbobsCOM.Recordset
                oitem = oform.Items.Item("om")
                oedit = oitem.Specific
                vfd1 = oedit.String
                incom = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oIncomingPayments)
                incom.AccountPayments.AccountCode = acc
                incom.AccountPayments.AccountName = accn
                incom.AccountPayments.Decription = "deposit"
                incom.AccountPayments.SumPaid = vfd1
                'incom.CardCode = "C1"
                'incom.CardName = "Shama Broadcast Contents & Services (P) Ltd."
                incom.DocDate = Now
                incom.DueDate = Now
                incom.TaxDate = Now
                incom.DocCurrency = "INR"
                incom.Reference2 = 2
                incom.JournalRemarks = "Incoming Payments - 161020"
                'incom.AccountPayments.Add()
                'value = incom.Add
                incom.CheckAccount = "102020"
                incom.Checks.DueDate = Now
                incom.Checks.CountryCode = "IN"
                incom.Checks.BankCode = "HDFC"
                incom.Checks.Trnsfrable = SAPbobsCOM.BoYesNoEnum.tNO
                incom.Checks.CheckSum = 100
                incom.Checks.Add()
                incom.AccountPayments.Add()
                value = incom.Add
            Catch ex As Exception
                oapp.MessageBox(ex.Message)
            End Try
            ''incom.AccountPayments.Add()
            ''value = incom.Add()
            If value <> 0 Then
                ocompany.GetLastError(value, strerror)
                MsgBox(value & "   " & strerror)
            End If
        End Sub
    Regards,
    Hempradeep.S

    Hi Hempradeep,
    I haven't tried executing your code, but suggest that you try and solve it with elimination. This means you make your code shorter and shorter until it posts.
    So firstly take out the account payment and the check payments and just do a cash payment and see if it posts. If it posts then you gradually add the code you hade previously until it gives you that error again.
    That error you got can be because of many reasons. It could be that the cardcode, gl account, currency, etc, etc, etc does not exist. It could be because of any data you specify from another table does not exist or does not relate to this object. Like when you're posting to a customer and you actually specify a supplier (just an example and not your problem).
    Start with a very basic incoming payment and work your way up to the code you've got there now.
    Good luck,
    Adele

  • Error in LDAP Authentication for Sun One App Server 8..pls help

    I need to authenticate my sun java system application server 8 with openldap server.....
    i have added ldap realm as given in the administrators guide http://docs.sun.com/source/817-6088/security.html
    My settings in the sun app server were like this:
    Realm: ldap
    Class Name: com.sun.enterprise.security.auth.realm.ldap.LDAPRealm
    directory ldap://10.1.1.79:389
    base-dn o=stooges
    jaas-context ldapRealm
    search-bind-dn cn=StoogeAdmin,o=stooges
    search-bind-password secret1
    My openldap schema is as follows
    file : /etc/openldap/slapd.conf
    include /etc/openldap/schema/core.schema
    include /etc/openldap/schema/cosine.schema
    include /etc/openldap/schema/inetorgperson.schema
    include /etc/openldap/schema/nis.schema
    database ldbm
    suffix "o=stooges"
    rootdn "cn=StoogeAdmin,o=stooges"
    rootpw secret1
    directory /var/lib/ldap/stooges
    defaultaccess read
    schemacheck off
    lastmod on
    index cn,sn,st pres,eq,sub
    index uid,userPassword eq
    file : /var/lib/ldap/stooges/stooges.ldif
    dn: o=stooges
    objectClass: top
    objectClass: organization
    o: stooges
    description: The Three Stooges
    dn: cn=StoogeAdmin,o=stooges
    objectClass: organizationalRole
    cn: StoogeAdmin
    description: LDAP Directory Administrator
    dn: ou=MemberGroupA,o=stooges
    ou: MemberGroupA
    objectClass: top
    objectClass: organizationalUnit
    description: Members of MemberGroupA
    dn: ou=MemberGroupB,o=stooges
    ou: MemberGroupB
    objectClass: top
    objectClass: organizationalUnit
    description: Members of MemberGroupB
    dn: uid=vikram,ou=MemberGroupA,o=stooges
    uid:vikram
    givenName:vicky
    objectClass:top
    objectClass:person
    objectClass:organizationalPerson
    objectClass:inetorgperson
    sn:kone
    cn:Kone Vikram
    userPassword:glamsham
    When i start ldap server and sun server,
    the login page for sun server asks for username and password ....
    when i give
    username : vikram
    password : glamsham
    Error page comes.....
    HTTP Status 403 - Access to the requested resource has been denied
    type Status report
    message Access to the requested resource has been denied
    description Access to the specified resource (Access to the requested resource has been denied) has been forbidden.
    Sun-Java-System/Application-Server-PE-8.0
    Subsequent attempts to login gives another error page
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    com.sun.enterprise.tools.guiframework.exception.FrameworkException: Unabled to handle pre-compiled JSP '/jsp/j_security_check'. Expected pre-compiled classname: 'org.apache.jsp.jsp.j_005fsecurity_005fcheck'.
    com.sun.enterprise.tools.admingui.servlet.HandlePrecompiledJsp.doPost(HandlePrecompiledJsp.java:59)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:768)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
    sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:324)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)
    java.security.AccessController.doPrivileged(Native Method)
    javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:205)
    note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server-PE-8.0 logs.
    Sun-Java-System/Application-Server-PE-8.0
    So pls... help as to how to go about this..
    P.S. My ldap server runs as "ldap" user not as root

    Try with "vikram" as a member of "cn=asadmin" group in your LDAP directory...

  • Error in Oracle9iAS when registering Lotus Notes?-pls help.

    Hi..
    I not sure whether to post my problem here, or in Portal forum...
    I got this error when registering Lotus Notes mail in Portal(We done all the step, but stuck in the Final Step). I know, maybe you will ask me to post it in PDK/Lotus Notes Forum, but, one of my friend said that This is Portal/Oracle9iAS Error..
    can anybody pls help me? Where to configure in the server to let Lotus Notes app is ok?
    This is the error that come out when we tried to register the Lotus Notes Mail...
    "500 Internal Server Error
    java.lang.VerifyError: (class: com/ibm/CORBA/iiop/GenericServerSC, method: dispatch signature: (Lcom/ibm/CORBA/iiop/IIOPInputStream;Lcom/ibm/CORBA/iiop/IIOPOutputStream;)V) Illegal use of nonvirtual function call at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:120) at com.ibm.CORBA.iiop.ORB.registerSubcontracts(ORB.java) at com.ibm.CORBA.iiop.ORB.<init>(ORB.java) at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:237) at org.omg.CORBA.ORB.create_impl(ORB.java:284) at org.omg.CORBA.ORB.init(ORB.java:328) at lotus.domino.cso.Session.OREFtoSession(Session.java:703) at lotus.domino.cso.Session.<init>(Session.java:57) at lotus.domino.cso.Session.createSession(Session.java:36) at lotus.domino.NotesFactory.createSession(NotesFactory.java:67) at oracle.portal.integration.lotusnotes.application.ApplicationLogin.authenticateUser(Unknown Source) at oracle.portal.integration.lotusnotes.application.ApplicationLogin.performLogin(Unknown Source) at oracle.portal.integration.lotusnotes.application.LotusProvider.process(Unknown Source) at oracle.portal.integration.lotusnotes.application.ExternalServlet.doGet(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:244) at javax.servlet.http.HttpServlet.service(HttpServlet.java:336) at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59) at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283) at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523) at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269) at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735) at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.AJPRequestHandler.run(AJPRequestHandler.java:151) at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)

    Yes I have YemuZip & it works but need something that is either menu or automated. I have tried to use automator to automatically archive a .dat file when I add it to the folder where these files are stored...but can't get it to work. I haven't used automator before.
    I have the workflow done but it will only run when I go to the menu & select the workflow - I though the whoel point was that it was automatic?
    Anyway if YemuZip is the only way I can do it I guess I will have to wear it - I thought it may be a simple thing to alter the way OS X handles the compression...
    Thanks!

  • Pls help - error in display_search.jsp

    Hi everyone, can u pls help me to find out the above error. The error is coming from the display_search.jsp program and the search_title is use to get the title. Thanking u in advance.
    Error: 500
    Location: /LSIB/display_search.jsp
    Internal Servlet Error:
    org.apache.jasper.JasperException: Unable to compile C:\Program Files\Apache Group\jakarta-tomcat\work\DEFAULT\LSIB\display_search_10.java:103: Invalid declaration.
         String stitle = rs.getString("title");
         ^
    C:\Program Files\Apache Group\jakarta-tomcat\work\DEFAULT\LSIB\display_search_10.java:113: Undefined variable: stitle
    out.print( stitle );
    ^
    2 errors
         at org.apache.tomcat.facade.JasperLiaison.javac(Unknown Source)
         at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source)
         at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source)
         at org.apache.tomcat.core.ContextManager.processRequest(Unknown Source)
         at org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
         at org.apache.tomcat.core.ContextManager.service(Unknown Source)
         at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown Source)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:484)
    display_search.jsp
    <html>
    <head>
    <title>display search</title>
    <%@ page import="java.sql.*" %>
    <%@ page import="java.io.*"%>
    <%@ page import="java.util.*"%>
    </head>
    <body background="CLOTH003.GIF">
    <font face="comic sans ms" size="5">
    <%
    // define database parameters
    String host="localhost:8080";
    String db="lsib";
    String conn;
    Statement createStatement = null;
    ResultSet rs = null;
    String user = "kushal";
    String pass = "";
    String dis_search = request.getParameter("ssearch");
    Class.forName("com.mysql.jdbc.Driver");
    // create connection string
    conn = "jdbc:mysql:" + host + "/" + db + "?user=" + user + "&password=" + pass;
    conn = "jdbc:mysql://localhost/LSIB";
    // pass database parameters to JDBC driver
    Connection Conn = DriverManager.getConnection(conn);
    // query statement
    Statement SQLStatement = Conn.createStatement();
    // generate query
    String sql= "select title, author, publisher, edition from book";
    // get result
    rs= SQLStatement.executeQuery(sql);
    if (rs != null)
         String stitle = rs.getString("title");
         String sauthor = rs.getString("author");
         String spublisher = rs.getString("publisher");
         String sedition = rs.getString("edition");
    %>
         <form method="post" action="request.jsp">
         <center><table border = "0" width="400">
         <tr>
         <td><b>title :</b></td><td><input name="searchtitle" type="text" width=30" value="<%= stitle %>"></td>
         </tr><br>
         <tr>
         <td><b>author :</b></td><td><input name="searchauthor" type= "text" width ="20" value="<%= sauthor %>"></td>      
         </tr><br>
         <tr>
         <td><b>publisher :</b></td><td><input name="searchpublisher" type="text" width = "20" value="<%= spublisher%>"></td> </tr><br>
         <tr>
         <td><b>edition :</b></td><td><input name="searchedition" type="text" width = "4" value="<%= sedition %>"></td> </tr><br>
         <tr>
         <td colspan = "2">
              <center>
                   <input type="submit" value=" request ">
              </center>
         </td>
         </tr>
    <%
    // close connection
    rs.close();
    SQLStatement.close();
    Conn.close();
    %>
    </table>
    </center>
    </form>
    </body>
    </html>
    search_title
    <html>
    <head>
    <title>search title</title>
    <%@ page import="java.sql.*" %>
    <%@ page import="java.io.*"%>
    <%@ page import="java.util.*"%>
    </head>
    <body background="CLOTH003.GIF">
    <font face="comic sans ms" size="5">
    <%
    // define database parameters
    String host="localhost:8080";
    String db="lsib";
    String conn;
    Statement createStatement = null;
    ResultSet rs = null;
    String user = "kushal";
    String pass = "";
    Class.forName("com.mysql.jdbc.Driver");
    // create connection string
    conn = "jdbc:mysql:" + host + "/" + db + "?user=" + user + "&password=" + pass;
    conn = "jdbc:mysql://localhost/LSIB";
    // pass database parameters to JDBC driver
    Connection Conn = DriverManager.getConnection(conn);
    // query statement
    Statement SQLStatement = Conn.createStatement();
    // generate query
    String sql= "select title, author, publisher, edition from book where title like" +dis_search;
    // get result
    rs= SQLStatement.executeQuery(sql);
    if (rs != null)
    %>
         <form method="post" action="display_search.jsp">
         <center><table border = "0" width="400">
         <tr>
         <td><b>please enter title</b></td><td><input name="ssearch" type="text" width=20" </td>
         </tr><br>
         <tr>
         <td colspan = "2">
              <center>
                   <input type="submit" value="search">
              </center>
         </td>
         </tr>
    <%
    else
    out.println("no resources found");
    // close connection
    rs.close();
    SQLStatement.close();
    Conn.close();
    %>
    </table>
    </center>
    </form>
    </body>
    </html>

    Try this one
    display_search.jsp
    <html>
    <head>
    <title>display search</title>
    <%@ page import="java.sql.*" %>
    <%@ page import="java.io.*"%>
    <%@ page import="java.util.*"%>
    </head>
    <body background="CLOTH003.GIF">
    <font face="comic sans ms" size="5">
    <%
    // define database parameters
    String host="localhost:8080";
    String db="lsib";
    String stitle="";
    String sauthor="" ;
    String spublisher="" ;
    String sedition="" ;
    String conn;
    Statement createStatement = null;
    ResultSet rs = null;
    String user = "kushal";
    String pass = "";
    String dis_search = request.getParameter("ssearch");
    Class.forName("com.mysql.jdbc.Driver");
    // create connection string
    conn = "jdbc:mysql:" + host + "/" + db + "?user=" + user + "&password=" + pass;
    conn = "jdbc:mysql://localhost/LSIB";
    // pass database parameters to JDBC driver
    Connection Conn = DriverManager.getConnection(conn);
    // query statement
    Statement SQLStatement = Conn.createStatement();
    // generate query
    String sql= "select title, author, publisher, edition from book";
    // get result
    rs= SQLStatement.executeQuery(sql);
    if (rs != null)
    stitle = rs.getString("title");
    sauthor = rs.getString("author");
    spublisher = rs.getString("publisher");
    sedition = rs.getString("edition");
    %>
    <form method="post" action="request.jsp">
    <center><table border = "0" width="400">
    <tr>
    <td><b>title :</b></td><td><input name="searchtitle" type="text" width=30" value="<%= stitle %>"></td>
    </tr><br>
    <tr>
    <td><b>author :</b></td><td><input name="searchauthor" type= "text" width ="20" value="<%= sauthor %>"></td>
    </tr><br>
    <tr>
    <td><b>publisher :</b></td><td><input name="searchpublisher" type="text" width = "20" value="<%= spublisher%>"></td> </tr><br>
    <tr>
    <td><b>edition :</b></td><td><input name="searchedition" type="text" width = "4" value="<%= sedition %>"></td> </tr><br>
    <tr>
    <td colspan = "2">
    <center>
    <input type="submit" value=" request ">
    </center>
    </td>
    </tr>
    <%
    rs.close();
    SQLStatement.close();
    Conn.close();
    %>
    </table>
    </center>
    </form>
    </body>
    </html>

Maybe you are looking for