Cannot create suspend plug in IDE

Hi,
perhaps someone can help me. I want to create a link in my WD app that navigates to another page, but in the same window. I think I need to use suspend/resume plugs. My problem is that I can't create a suspend plug in the Window of my application.
Here is what I did:
I added sap.suspendable.application=true on application level
I added suspend/resume plugs on the interface controller. Suspend plug has a string parameter Url
Now I want to add a suspend/resume plug on the main window of my application. If I don't I get a build error complaining: "Missing inbound plug 'Resume' from interface view 'ErxReportInterfaceView' of interface 'ErxReportCompInterface'." and a similar message about missing suspend plug. However, if I add those plugs, I can only add them as standard plugs, I do not have the possibility to add another type of plug. What am I doing wrong?
I am using SAP Enhancement Package 1 for SAP NetWeaver Developer Studio 7.1 SP01 PAT0000, Build 200811082206.
Thanks,
Kai

Hi
Are you using CE 7.1 environment?
Thanks
Prasad

Similar Messages

  • ACR Raw images wont copy to Jpeg or Tiff; as it fails with "Cannot Create File"

    Requesting immediate help if anyone available currently
    I've been using Photoshop CS6 for several years, never a problem at all. As soon as I bought Creative Cloud, I see many issues that cannot be resolved or are recurring.
    Again today as I go to copy files (images) from Adobe Camera Raw, to say a Tiff or a Jpeg, it appears to begin to copy as normal, then suddenly a box appears with all my copying
    file name/numbers, and it begins to eliminate one by one "Cannot Create File", failing the entire process to copy. I have never seen this until I began using Creative Cloud about a
    month ago.
    Can anyone help this Saturday evening as i am trying to complete a large project of images for others who expect them soon.?
    Thank you and I look forward to any advice soon,
    Mark Seibold, Artist-Astronomer, Portland Oregon

    Hi Rick
    Thanks for clarifying that. Yes, that term was my mistake, as I meant to write 'Save As"
    Another forum respondent just replied also, and he states as so many others do, that they do not use
    the Adobe Camera Raw app formerly with CS6, as they instead use Lightroom, so he apologized that he
    was not familiar with ACR but that I might have an old CS6 plug-in running that may not be completely
    compatible with the new Creative Cloud. I am not sure if this is the problem.
    What I would find as not really likely, is that the Creative Cloud engineers would go through all the trouble
    to redesign from the old CS6, then even assist us over the phone to help install it, but in oversight,
    leave us without a proper update to properly run Adobe Camera Raw. I also have never really understood the advantage of Lightroom. I'm sure that many must enjoy its efficiency, as I hear wedding photographers like it for huge batch processing of adjusting many images in synchronicity all at once. I would say that I do the same with ACR accessing it through Bridge, and I like ACR's quick and simple access for simple image adjustments and then say a small batch all synchronized, then finally to "Save As" for all selected to a final output as Tiff or Jpeg.
    As an astronomer that has just started learning to use Registax for night sky images, we also like the ACR adjustments and then to "Save As" eg. all Jpeg or all Tiff, to then photo-stitch large landscape and night sky panoramas with Microsoft ICE photo-stitching.
    Sorry for the long description here, but I hope to relate the total idea of what I am doing for the past years. I'll even attach an example >
    Thanks for your possible solution to my problem in "Saving As" in ACR,
    Mark

  • Cannot create canvas

    hi..
    can someone help me with my coding.i cannot create a canvas with a form. i got an error saying that i must create '{' . My error is in class Test extends TimerTask, Canvas implements Runnable. i'm still new in j2me.i cannot detect wheres the problem is.plz...help me...
    import javax.microedition.lcdui.*;
    import javax.microedition.io.*;
    import java.io.*;
    import java.util.*;
    import java.io.IOException;
    public class ImageMidletServlet implements CommandListener
        Display display = null;
        Form f = null;
        //String url = "http://localhost:8080/banner/hp0.gif";
        String url2 = "http://localhost:8080/banner/rotateNumber";      
        String url = "http://localhost:8080/banner/banner";
        Command backCommand = new Command("Back", Command.BACK, 0);
        Command submitCommand = new Command("Submit", Command.OK, 2);
        Command exitCommand = new Command("Exit", Command.STOP, 3);
        private Test test;
        private StringItem stringItem2;
        private TextField txtField;
        private Timer tm;          // Timer
        //private TestTimerTask tt;       // Task
        private int id = 0;
        private Graphics g;
        //String id;
        public ImageMidletServlet(Display display)
            this.display=display;
            load();
        public void commandAction(Command c, Displayable d)
            if (c == exitCommand)
                //destroyApp(true);
                //notifyDestroyed();
            else if (c == backCommand)
                display.setCurrent(f);
            else if (c == submitCommand)
                /*test  = new Test(this);
                test.start();*/
        class Test extends TimerTask, Canvas implements Runnable
            //ImageMidletServlet midlet;
            private Display display;
            public Test (Display display)
                this.display=display;
            public void start()
                Thread t = new Thread(this);
                t.start();
            public void run ()
                DataInputStream is = null;
                DataInputStream is2 = null;
                StringBuffer sb = new StringBuffer();
                Image img= null;
                TextBox txtBox = null;
                StringBuffer b = new StringBuffer();
                HttpConnection c2 = null;
                OutputStream os = null;
                ++ id;
                try
                    c2 = (HttpConnection)Connector.open(url2+ "?bannerid="+id);
                    os = c2.openOutputStream();
                    os.write(("bannerid="+id).getBytes());              
                    os.flush();
                    HttpConnection c = (HttpConnection) Connector.open(url+ "?bannerid="+id);
                    //HttpConnection c = (HttpConnection) Connector.open(url);
                    int len = (int)c.getLength();
                    if (len > 0)
                        is = c.openDataInputStream();
                        byte[] data = new byte[len];
                        is.readFully(data);
                        is2 = c2.openDataInputStream();
                        int ch;
                        while ((ch = is2.read()) != -1) {
                        b.append((char) ch);
                        System.out.print((char)ch);
                        //t.setCommandListener(this);                 
                        try {
                        img = Image.createImage(data, 0, len);                                      
                        g.drawImage(img, 0, 0, Graphics.TOP | Graphics.HCENTER);
                        catch (Exception e)
                    else
                        showAlert("length is null");;
                    is.close();
                    c.close();
                    c2.close();
                catch (Exception e)
                    e.printStackTrace();
                    showAlert(e.getMessage());
            /* Display Error On screen*/
            private void showAlert(String err)
                Alert a = new Alert("");
                a.setString(err);
                a.setTimeout(Alert.FOREVER);
                display.setCurrent(a);
        private void load ()
          tm = new Timer();
          test = new Test(display);
          tm.schedule(test,5000,6000);
          Form f2 = new Form("Banner");        
          stringItem2 = new StringItem(null, "Mger");
          f2.append(stringItem2);
          txtField = new TextField("Username: ", "", 20, TextField.ANY);
          f2.append(txtField);
          display.setCurrent(f2);
    }

    Andrew - thanks for the attempt, but these things don't clear up the issue.  I have tried pulling out the openGL plug, run it with multiprocessing on and off, and any drivers beyond the one that I have (and there are only three little version increments that I could find) will not install due to HP's restrictions.  I'd have a hard time believing that it was simply the driver though with everything else working well, and with this happening with all GPU acceleration turned off.
    Todd - I read the article, interesting stuff and I will keep these points in mind, but even if I strip everything down and don't turn on multi-processing (thereby nullifying the the main points of the article, I think) I still have the problem.  I DO have a wacom driver and tablet installed, but this is happening even when I use just an MS mouse or even the track pad.  Why do you ask?  Could the wacom driver have something to do with it? (It is an intuos 3)
    But I do appreciate the attempts.  Any other ideas?  Anyone else?  Again please help

  • Cannot create your bootable usb stick

    Hi all,
    I'm new to bootcamp and I have the following problem:
    When I'm creating a Windows 7 usb drive, it gives me an error "Cannot create your bootable usb stick there was a problem copying files".
    I've tried searching google for the problem, but the only possible solutions I've got was to unmount the iso image and try again, but when I do that I still get the same error and when I check the disk utility I find the iso image is mounted again.
    Does anyone haven an idea about what to do.
    Specs:
    OS X Yosemite 10.10.2
    MacBook Pro Retina 13-inch Mid 2014
    2,6Ghz Core i%
    8 GB 1600 MHz ddr3
    Thanks in advance!

    Please see the Microsoft reference and the second link has an example.
    https://support.microsoft.com/en-us/kb/841290?wa=wsignin1.0
    Bootcamp Windows 8.1 "No Images Are Available"

  • Cannot create or replace : The specified extended attribute name was invalid.

    New problem arrived today. Trying to copy a file from 10.6 server with an XP (SP3) client. I get this error:
    Cannot create or replace (file name here): The specified extended attribute name was invalid.
    The contents of the file can be copied, but not the folder. Other files can be copied. There are no funny characters. The name is not too long. I propogated the permissions on the share and that had no affect. The problem exists on three different XP systems. Can't find extended properties that could be causeing a problem. Any ideas?

    Nikon just released a Firmware update today for the D750

  • Auto patch error usdsop cannot create a new process

    Hi i am applying hrms family pack k in one vision db in testnode but i am getting following error.Any idea
    appsversion 11.5.10 and windows 2003 advanced server
    Generating product JAR files in JAVA_TOP -
    j:\oracle\viscomn\java with command:
    adjava -mx512m -nojit oracle.apps.ad.jri.adjmx @j:\oracle\visappl\admin\VIS\out\genjars.cmd
    Error:
    usdsop cannot create a new process
    Cause: usdsop encountered an error creating a new process. [Reason].
    Action: Check that your system had enough resources to start a new process. Contact your system administrator to obtain more resou (RE
    Failed to generate product JAR files in JAVA_TOP -
    j:\oracle\viscomn\java.
    adogjf() Unable to generate jar files under JAVA_TOP
    AutoPatch error:
    Failed to generate the product JAR files
    rgds
    rajesh

    This is the primary reason I dislike doing Oracle Apps on Windows.
    If something bad happens while patching, and you find yourself without critical ad executables because relink failed, you need to run relinkenv.cmd to (re)create the APPS.SH unix-style environment (forward slashes) for relink.sh.
    Source or double click on envshell.cmd
    sh adrelink.sh force=y "ad adjava.exe"
    Backup Mode is "file"
    Removing Application products' bin directories from PATH ...
    Done removing Application products' bin directories from PATH
    Removing $FND_TOP/$APPLBIN from PATH ...
    sed: number in \[0-9] invalid
    Done removing $FND_TOP/$APPLBIN from PATH
    awk: adrelink.sh 4107: not found
    grep: adrelink.sh 4107: not found
    grep: adrelink.sh 4107: not found
    echo: adrelink.sh 4107: writing: The pipe is being closed.
    awk: adrelink.sh 4107: not found
    ORACLE RDBMS Version 8.0.6.0.0
    Oracle Reports Version 6.0
    Oracle Applications Release
    Unable to determine the release number.
    To resolve:
    type relinkenv.cmd
    This creates APPS.SH.
    Source or double click on envshell.cmd to create a new session.
    Now type sh
    At the command prompt, type . ./APPS.Sh
    now adrelink.sh force=y "ad adjava.exe"
    You are running adrelink, version 115.85
    Start of adrelink session
    Date/time is Fri Jul 20 20:22:35 PDT 2007
    Log file is d:/oracle/visappl/admin/log/adrelink.log
    Command line arguments are
    "force=y" "ad adjava.exe"
    Done with link of ad executable 'adjava.exe' on Fri Jul 20 20:27:07 PDT 2007
    Done relinking module adjava.exe in product ad
    Done with link of product 'ad' on Fri Jul 20 20:27:07 PDT 2007
    adrelink is exiting with status 0
    End of adrelink session

  • Cannot Create PDF Acrobat 9.4 Standard Windows 7, 64 bit

    Hi,
    Currenlty my colleague and I have the same issue; we cannot create PDF documents using Acrobat 9.4 Standard or the office plug in, and there is no PDF printer available after the acrobat installation either.
    We are both using Windows 7, 64 bit version. I have checked and confirmed Acrobat 9 on Windows 7 64 bit with Office 2007 should be compatible.
    * When using the 'Create PDF from file' feature from Acrobat we get the following error: "Unable to find "Adobe PDF" resource files. Do you want to run the installer in repair mode?"
    I have run the installer in repair mode multiple times, same isssue occurs after this is done.
    * When using the Acrobat plug-in for office, for example in Word (we both use Office Professional 2007) and selecting 'Create PDF' it will prompt for a save location, after select save nothing happens, and there is no PDF file created in the save locaton.
    So far I have tried the following without any success:
    - Un-installing and re-installing acrobat, multiple times
    - running the acrobat application in compatability mode for Windows XP
    - attempted to create PDF files from older word versions i.e. .doc and .docx have the same issue
    - attempted to manually install PDF printer using the acrobat installation files - did not work
    * I am aware that Office 2007 will allow me to save a document as PDF, however we still need acrobat for the publishing quality and editing features.
    Any help or suggestions regarding this issue would be greatly appreciated :-)
    Kind Regards,
    Wade

    I understand what you are suggesting. I have two laptops the same model. AA works on one but not the other.  I do have office 7 and a 64 bit OS.
    Thanks for the help
    Jack Sherwood
    From: "Bill@VT" <[email protected]>
    To: Jack Sherwood <[email protected]>
    Sent: Sunday, July 10, 2011 8:21 PM
    Subject: Cannot Create PDF Acrobat 9.4 Standard Windows 7, 64 bit
    If you are running a 64-bit version of OFFICE 2007 (if one exists), that may be the issue. AA X did not work with that version until the most recent release as I understand it. Since you have AA 9.4, I am not sure of the compatibility of it with the 64-bit version. It is strange that the printer does not appear. It seems a few others have had similar problems and as I recall, someone made a suggestion to fix that recently -- though it may have been for AA X. You might search on 64-bit or such.

  • Application cannot create needed files

    I have searched under this heading but Firefox brought up 1000 articles and I gave up after going through 10 pages, as none seemed relevant.
    I was trying to open my GIO "Virtual Safe" file, which allows me to list all my contents for insurance purposes, by where they are in the house and what category they fall into, and includes costs and photos, and also totals all entries to a final figure. I am sorry but I am not sure what type of file or program it is, but hopefully someone who sees this question will know "Virtual Safe". Anyway, I got a pop-up - "This application cannot start as it cannot create needed files. There may not be enough free disc space".
    I don't see how the last sentence can apply, as I am only using about 140 GB on a 1 TB disc. Also, subsequent checks (see after this) make me question whether the problem is related to the Virtual Safe program at all.
    A short time after this problem surfaced I received a pop-up to say that there was an update to Apache Open Office, which I downloaded. When I tried to open the application file to update Open Office I got a pop-up - "Error! Can't initialize plug-ins directory. Please try again later". I then searched and found the Mozilla help file "Re-initiallizing the plugins database", and other files as well, and followed their instructions. Firstly I changed all my plugins to "Never Activate" as suggested, but it made no difference. So I changed them all back to "Always activate".
    I then deleted the pluginreg.dat file as suggested, but it made no difference, so I reinstated that.
    By this time I began to wonder whether I would be able to open any application file, so out of interest I tried to open a few more application files from my downloads. None would open and I got various pop-up messages when I tried. For some reason they weren't all the same.
    i.e. "Can not create temp folder archive"; and "Failed to download file"; and ""Setup was unable to create the directory "C:\Users\owner\AppData\Local\Temp\is-TTSU7.tmp". Error 5: Access is denied"".
    Can anyone help me?
    Thanks,
    Barry

    hey barry, when you google that error message, it seems to appear for all kinds of different software & it appears that it is caused by something corrupting the system environment. you might want to try the tip here: http://www.windowsbbs.com/windows-7/106826-adobe-reader-wont-install-windows-7-64-bit.html#post618612 or starting the system in safemode and scanning for malware. but again, any more detailed help regarding this issue is probably outside the scope of this forum :-/

  • I have LR 4 and now I cannot open the software because I get this warning: light room cannot start because it cannot create files in the temp file location.. C:/windows/temp. How do I fix this? I have removed and downloaded LR and even used by disc and st

    I have LR 4 and now I cannot open the software because I get this warning: "light room cannot start because it cannot create files in the temp file location. C:\windows\temp\". I think I need to have LR open in a different place but I have no idea how to do that. Any help is most appreciated.
    Alex

    Jim
    Thank you for your prompt reply. Unfortunately I am not that tech oriented and
    cannot easily find that folder. I did notice when I was booting up the LR software
    that I could accept the site where LR usually is set up or choose a place. I am
    thinking that the standard location for LR software is corrupted and that if I
    chose a different place it would work. I say this because whether I use my
    original disc or download from adobe I get the same warning. I have 100GB of
    memory on the hard drive and I have cleaned the computer with Mcaffee and free
    software. What should I do next? I can't use this software and I doubt LR 5
    would open up with my current problem.
    Alex

  • Cannot create PS file and PDF in Framemaker 9

    I'm using Version 9.0p196.
    When I used the "Advanced Save" to save an .fm file to a pdf, I got the message "The specified printer 'N/A' cannot be found, use printer 'Adobe PDF' instead. After I click OK, it said "cannot create PS file", and "failed to create PDF file.
    It worked fine before.This problem was occurred after I copied some fonts to the following locations:
    C:\Windows\Fonts
    and
    C:\Program Files\Adobe\FrameMaker9\fminit\fonts\adobe
    Those fonts are:
    timesbd.ttf
    times.ttf
    HelveticaWorld-Regular.ttf
    HelveticaWorld-Italic.ttf
    HelveticaWorld-BoldItalic.ttf
    HelveticaWorld-Bold.ttf
    I have no idea if that's the cause of the problem. Does anyone know?
    By the way, the FM 9 is running on XP.
    Thanks,
    Meggie

    Meggie,
    You may or may not have created a mess with fonts. I would try not to have duplicate fonts, it is totally sufficient to have them in C:\Windows\Fonts.
    But your FrameMaker verson is definitely four (4) patches behind. The current version is 9.0.4 (9.0p255) and you can get the updaters here:
    http://www.adobe.com/support/downloads/product.jsp?product=22&platform=Windows
    You have to install them one after another.
    Some of the patches improved the Save as PDF feature.
    For further communication, please add your OS version and Acrobat version.
    - Michael

  • Cannot create ActiveX component

    So, I've looked all over for an answer for this one and so far, everything I've seen offered as fixes do not work.
    Exception Details: System.Exception: Cannot create ActiveX component.
    Source Error:
    Line 39:
    Line 40:             ' Create Acrobat Application object
    Line 41:             PDFApp = CreateObject("AcroExch.App")
    I have a webserver on which is installed the latest version of Acrobat Standard.
    Here is my code:
    Imports System.Data
    Imports System.Data.SqlClient
    Imports System.Web.Configuration
    Imports System.Data.OleDb
    Imports System.Security
    Imports System.Security.Principal
    Partial Class CodeTest
        Inherits System.Web.UI.Page
        Dim LOGON32_LOGON_INTERACTIVE As Integer = 2
        Dim LOGON32_PROVIDER_DEFAULT As Integer = 0
        Dim impersonationContext As WindowsImpersonationContext
        Declare Function LogonUserA Lib "advapi32.dll" (ByVal lpszUsername As String, _
                                ByVal lpszDomain As String, _
                                ByVal lpszPassword As String, _
                                ByVal dwLogonType As Integer, _
                                ByVal dwLogonProvider As Integer, _
                                ByRef phToken As IntPtr) As Integer
        Declare Auto Function DuplicateToken Lib "advapi32.dll" ( _
                                ByVal ExistingTokenHandle As IntPtr, _
                                ByVal ImpersonationLevel As Integer, _
                                ByRef DuplicateTokenHandle As IntPtr) As Integer
        Declare Auto Function RevertToSelf Lib "advapi32.dll" () As Long
        Declare Auto Function CloseHandle Lib "kernel32.dll" (ByVal handle As IntPtr) As Long
        Private Sub savePDFtoTIF(ByVal fullPathPDF As String, ByVal fullPathTIF As String)
            Dim PDFApp As Acrobat.AcroApp
            Dim PDDoc As Acrobat.CAcroPDDoc
            Dim AVDoc As Acrobat.CAcroAVDoc
            Dim JSObj As Object
            If impersonateValidUser("XXXXXXX", "", "XXXXXXXXXX") Then
                ' Create Acrobat Application object
                PDFApp = CreateObject("AcroExch.App")
                ' Create Acrobat Document object
                PDDoc = CreateObject("AcroExch.PDDoc")
                ' Open PDF file
                PDDoc.Open(fullPathPDF)
                ' Create AV doc from PDDoc object
                AVDoc = PDDoc.OpenAVDoc("TempPDF")
                ' Hide Acrobat application so everything is done in silentmode()
                PDFApp.Hide()
                ' Create Javascript bridge object
                JSObj = PDDoc.GetJSObject()
                ' Attempt to save PDF to TIF image file.
                ' SaveAs method syntax .SaveAs( strFilePath, cConvID )
                ' For TIFF output the correct cConvid is
                ' cCovid MUST BE ALL LOWERCASE.
                JSObj.SaveAs(fullPathTIF, "com.adobe.acrobat.tiff")
                PDDoc.Close()
                PDFApp.CloseAllDocs()
                ' Clean up
                System.Runtime.InteropServices.Marshal.ReleaseComObject(JSObj)
                JSObj = Nothing
                System.Runtime.InteropServices.Marshal.ReleaseComObject(PDFApp)
                PDFApp = Nothing
                System.Runtime.InteropServices.Marshal.ReleaseComObject(PDDoc)
                PDDoc = Nothing
                System.Runtime.InteropServices.Marshal.ReleaseComObject(AVDoc)
                AVDoc = Nothing
                undoImpersonation()
            Else
                lblStatus.Text = "Unable to impersonate"
                Exit Sub
            End If
        End Sub
        Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
            savePDFtoTIF("D:\DoH\998.110803030832.pdf", "D:\DoH\Project\000.tif")
        End Sub
        Private Function impersonateValidUser(ByVal userName As String, _
    ByVal domain As String, ByVal password As String) As Boolean
            Dim tempWindowsIdentity As WindowsIdentity
            Dim token As IntPtr = IntPtr.Zero
            Dim tokenDuplicate As IntPtr = IntPtr.Zero
            impersonateValidUser = False
            If RevertToSelf() Then
                If LogonUserA(userName, domain, password, LOGON32_LOGON_INTERACTIVE, LOGON32_PROVIDER_DEFAULT, token) <> 0 Then
                    If DuplicateToken(token, 2, tokenDuplicate) <> 0 Then
                        tempWindowsIdentity = New WindowsIdentity(tokenDuplicate)
                        impersonationContext = tempWindowsIdentity.Impersonate()
                        If Not impersonationContext Is Nothing Then
                            impersonateValidUser = True
                        End If
                    End If
                End If
            End If
            If Not tokenDuplicate.Equals(IntPtr.Zero) Then
                CloseHandle(tokenDuplicate)
            End If
            If Not token.Equals(IntPtr.Zero) Then
                CloseHandle(token)
            End If
        End Function
        Private Sub undoImpersonation()
            impersonationContext.Undo()
        End Sub
    End Class
    The impersonation works, as I use the same code on another page where I am manipulating file system objects through that account, with this code. Also, the code without the impersonation, works on my local machine perfectly.
    Any ideas on what to do would be greatly appreciated.
    Justice

    Look, I got dragged into a project that was late from the start, but is a big contract for the printing company that I work for that uses a lot of Adobe products internally for what they do.
    In good faith, I tried to purchase something that would work. I was in a rush and didn't read the entire EULA as I was installing it. Obviously, I wasn't trying to screw the system or I wouldn't have been here, posting about it. I also do not need an education about what is true or false on the internet. I need a solution now that is going to meet the customers needs based on what is provided here. Rather simple, and don't reallly have the time for an entire formalized consultation as to our "business needs", since this is really all we need it for and time is of the essence.
    If the best Adobe can do is publicly slap customers around on forums and throw vague answers out to follow up on, then I guess it's time to seek out other solutions for our business needs.

  • Error: 500    Cannot create bean of class Simulation

    Hello, I was working with J2ee 1.2 and suddenly I got this error. Any one has an idea about it?, I can't continue working.
    Thanks...
    Error: 500
    Internal Servlet Error:
    javax.servlet.ServletException: Cannot create bean of class Simulation
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:384)
         at _0005csimulation_0002ejspsimulation_jsp_325._jspService(_0005csimulation_0002ejspsimulation_jsp_325.java:215)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
         at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161)
         at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:247)
         at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:352)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
         at org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrapper.java:626)
         at org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java:534)
         at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:378)
         at org.apache.tomcat.core.Context.handleRequest(Context.java:644)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:440)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:144)
         at org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java:310)
         at java.lang.Thread.run(Thread.java:484)
    Root cause:
    javax.servlet.ServletException: Cannot create bean of class Simulation
         at _0005csimulation_0002ejspsimulation_jsp_325._jspService(_0005csimulation_0002ejspsimulation_jsp_325.java:79)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
         at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161)
         at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:247)
         at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:352)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
         at org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrapper.java:626)
         at org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java:534)
         at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:378)
         at org.apache.tomcat.core.Context.handleRequest(Context.java:644)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:440)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:144)
         at org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java:310)
         at java.lang.Thread.run(Thread.java:484)

    This is the code for the simulatin class.
    I think nothing special.
    Begin --- Simulation.java
    import java.io.*;
    import java.util.*;
    public class Simulation
    private int lastMessage;
    private int transactions;
    private int transaction_prospere;
    /* Creation des variables du system */
         private String Quantite_acheteurs;
         private String Quantite_vendeurs;
         private String Argent_initiale;
         private String Articles_initiales;
         private String Prix_initial;
         private String Mechants_acheteurs;
         private String Mechants_vendeurs;
         private String Cycles_simulation;
         private String Choisir_strategie;
         private String Choisir_formule;
         private String Afficher_resultats;
    int iAfficher_resultats = (new Integer(Afficher_resultats)).intValue();
         /* Section de declaration des constants */
         private int OFFRE_DE_VENTE = 0;
         private int DEMANDE_ACHAT = 1;
         private int BROADCAST = -1;
    private int TRICHEUR = -1;
         private int PROSPERE = 1;
         private int VRAI = 1;
         private int FAUX = 0;
    private int ACHETEUR = 0;
    private int VENDEUR = 1;
         private int GENTIL = 0;
         private int MECHANT = 1;
         private double SEUIL_MECHANT = 0.87;
    Messages message_anterieur= null;
    /*** PADOVAN ********************************/
         public String Padovan_alpha;
    Begin --- Creation des agents...
    Pour la creation des agents il y a une generation des chiffres aleatoires
         pour repartir les vendeurs et les acheteurs, ainsi que les gentils et les
         mechants dans le vecteur d'agents
         public Vector Creation_des_agents(){
    System.out.println ("<<<<<<<<<<Executing...Creation_des_agents>>>>>>>>");
    /* Le vector avec des agents....*/
              Vector agents = new Vector();
    lastMessage = 0; /* Le derni�re message ajout� au tableau */
              transactions = 0; /* Compteur pour les transactions */
              transaction_prospere = 0; /* Compteur pour les transaction prosp�res*/
              /* Conversion de variables de string a int */
    int iQuantite_acheteurs = (new Integer(Quantite_acheteurs)).intValue();
    int iQuantite_vendeurs = (new Integer(Quantite_vendeurs)).intValue();
    int iArgent_initiale = (new Integer(Argent_initiale)).intValue();
    int iArticles_initiales = (new Integer(Articles_initiales)).intValue();
    int iPrix_initial = (new Integer(Prix_initial)).intValue();
    int iMechants_acheteurs = (new Integer(Mechants_acheteurs)).intValue();
    int iMechants_vendeurs = (new Integer(Mechants_vendeurs)).intValue();
    int i; /* Compteur pour la generation des agents */
              double agent_type; /* Pour generation aleatoire et savoir si est acheteur ou vendeur */
              int iagent_type; /* Type d'agent acheteur=0, vendeur=1 */
              double agent_comportement; /* Pour generation aleatoire et savoir si est gentil ou mechant */
              int iagent_comportement; /* Comportement de l'agent 0=gentil, 1=mechant, gentil par default */
    int total=iQuantite_acheteurs+iQuantite_vendeurs;
              /* Pour les agents......... */
              int j=0;
              for (i=0;i<total;)
                   iagent_comportement = 0;
    j++;
                   agent_type=Math.random(); /* Pour repartir les agentes vendeurs et acheteurs aleatoirement. */
    iagent_type=(agent_type<0.5?0:1); /* 0-> acheteur, 1-> vendeur */
                   if (iagent_type==0){   /*Creation des acheteurs.... */
    if(iQuantite_acheteurs>0)
    iQuantite_acheteurs--; /* un acheteur de moins */
    /* Generation du comportement */
                             if (iMechants_acheteurs>0) /* Faltan generar agentes mechantes */
                             if ((iQuantite_acheteurs > iMechants_acheteurs))
    agent_comportement = Math.random(); /* Pour repartir les comportement de l'agent */
    iagent_comportement=(agent_comportement<0.5?0:1);     /* 0->gentil, 1->mechant */
                             else
                                  iagent_comportement=1;
                             if (iagent_comportement==1) /* S'il est mechante... */
    iMechants_acheteurs --;
                             Agents agent = new Agents(i,ACHETEUR,0,0,iArgent_initiale,iagent_comportement, total);
                             agent.setPadovan_alpha(Padovan_alpha);
                   i++;
    agents.addElement(agent);
                   else{                  /* Creation des vendeurs... */
    if(iQuantite_vendeurs>0)
                             iQuantite_vendeurs--; /* un vendeur de moins */
    /* Generation du comportement */
                             if (iMechants_vendeurs>0) /*Faltan generar agentes mechantes */
                             if ((iQuantite_vendeurs > iMechants_vendeurs))
    agent_comportement = Math.random(); /* Pour repartir les comportement de l'agent */
    iagent_comportement=(agent_comportement<0.5?0:1);     /* 0->gentil, 1->mechant */
                             else
                                  iagent_comportement=1;
                             if (iagent_comportement==1) /* S'il est mechante... */
    iMechants_vendeurs --;
    Agents agent = new Agents(i,VENDEUR,iArticles_initiales,iPrix_initial,0,iagent_comportement,total);
                             agent.setPadovan_alpha(Padovan_alpha);
                   i++;
    agents.addElement(agent);
         }/* End for */
    System.out.println ("<<<<<<<<<<Ending...Creation_des_agents>>>>>>>>>>");
    return agents;
         } /* End Creation_des_agents */
    End --- Creation des agents...
    Begin --- Setters and getters.........
    public void     setQuantite_acheteurs(String Quantite_acheteurs) {
              this.Quantite_acheteurs= Quantite_acheteurs;
    public void     setQuantite_vendeurs(String Quantite_vendeurs) {
              this.Quantite_vendeurs= Quantite_vendeurs;
    public void     setArgent_initiale(String Argent_initiale) {
              this.Argent_initiale= Argent_initiale;
    public void     setArticles_initiales(String Articles_initiales) {
              this.Articles_initiales= Articles_initiales;
    public void     setPrix_initial(String Prix_initial) {
              this.Prix_initial= Prix_initial;
    public void     setMechants_acheteurs(String Mechants_acheteurs) {
              this.Mechants_acheteurs= Mechants_acheteurs;
    public void     setMechants_vendeurs(String Mechants_vendeurs) {
              this.Mechants_vendeurs= Mechants_vendeurs;
    public void     setCycles_simulation(String Cycles_simulation) {
              this.Cycles_simulation= Cycles_simulation;
    public void     setChoisir_strategie(String Choisir_strategie) {
              this.Choisir_strategie= Choisir_strategie;
    public void     setChoisir_formule(String Choisir_formule) {
              this.Choisir_formule= Choisir_formule;
    public void     setPadovan_alpha(String Padovan_alpha) {
              this.Padovan_alpha= Padovan_alpha;
    public void     setAfficher_resultats(String Afficher_resultats) {
              this.Afficher_resultats= Afficher_resultats;
    public String getPadovan_alpha( ){
    return this.Padovan_alpha;
    } // End of the class Simulation
    End --- Simulation

  • Cannot create a new login in portal

    Dear Experts,
    After the installation of portal, i was not able to login with j2ee_admin, i logged in with administrator, But i cannot create a new user as shown in the below screen.

    Dear Divayanshu,
    From the said note everything is correct.
    trace:
    trc file: "dev_server0", trc level: 1, release: "720"
    sysno      03
    sid        JDT
    systemid   562 (PC with Windows NT)
    relno      7200
    patchlevel 0
    patchno    63
    intno      20020600
    make       multithreaded, Unicode, 64 bit, optimized
    profile    \\AWQAFIDES-HQ\sapmnt\JDT\SYS\profile\JDT_J03_AWQAFIDES-HQ
    pid        3288
    *  ACTIVE TRACE LEVEL           1
    *  ACTIVE TRACE COMPONENTS      All, egi
    Wed Aug 13 10:49:04 2014
    *  trace logging activated, max size = 52428800 bytes, 2 versions
    arguments :
      arg[ 0] : E:\usr\sap\JDT\J03\exe\jstart.EXE
      arg[ 1] : -appTrc
      arg[ 2] : -nodeId=2
      arg[ 3] : pf=\\AWQAFIDES-HQ\sapmnt\JDT\SYS\profile\JDT_J03_AWQAFIDES-HQ
      arg[ 4] : -DSAPINFO=JDT_03_server0
      arg[ 5] : -hostvm
      arg[ 6] : -nodeName=ID31923250
      arg[ 7] : -file=E:\usr\sap\JDT\J03\j2ee\cluster\instance.properties
      arg[ 8] : -jvmFile=E:\usr\sap\JDT\J03\work\jstart.jvm
      arg[ 9] : -traceFile=E:\usr\sap\JDT\J03\work\dev_server0
      arg[10] : -javaOutFile=E:\usr\sap\JDT\J03\work\jvm_server0.out

    F Wed Aug 13 10:49:04 2014
    F  ********************************************************************************
    F  Java environment properties
    F    root directory    : E:\usr\sap\JDT\J03\exe\sapjvm_6
    F    vendor            : SAP AG
    F    version           : 1.6.0_17
    F    cpu               : amd64
    F    java vm type      : server
    F    java vm version   : 6.1.018
    F    jvm library name  : jvm.dll
    F    library path      : E:\usr\sap\JDT\J03\exe\sapjvm_6\jre\bin\server;E:\usr\sap\JDT\J03\exe\sapjvm_6\jre\bin
    F    executable path   : E:\usr\sap\JDT\J03\exe\sapjvm_6\bin
    F    SAP extensions    : available
    F  ********************************************************************************
    I  [Thr 464] MtxInit: 10002 0 2
    I  [Thr 464] MPI: dynamic quotas disabled.
    I  [Thr 464] MPI init: pipes=4000 buffers=1279 reserved=383 quota=10%
    M  [Thr 464] NiInit3: NI already initialized; param 'maxHandles' ignored (init=2;par=32768;cur=2048)
    M  [Thr 464] CCMS: SemInMgt: Semaphore Management initialized by AlAttachShm_Ext.
    M  [Thr 464] CCMS: SemInit: Semaphore 38 initialized by AlAttachShm_Ext.
    M  [Thr 464] CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    M  [Thr 464] CCMS: CCMS Monitoring Initialization finished, rc=0.

    F Wed Aug 13 10:49:04 2014
    F  ********************************************************************************
    F  SAP Java VM arguments:
    F    arg[ 0] = vfprintf
    F    arg[ 1] = abort
    F    arg[ 2] = exit
    F    arg[ 3] = -XmonGcCallback
    F    arg[ 4] = -XdebugStateChangeCallback
    F    arg[ 5] = -DSAPJStartVersion=720, patch 68, changelist 1198183, NTAMD64, optU (Oct 20 2010, 01:55:49)
    F    arg[ 6] = -Xjvmx
    F    arg[ 7] = -XsapSystem:03
    F    arg[ 8] = -DSAPSTARTUP=1
    F    arg[ 9] = -DSAPSYSTEM=03
    F    arg[10] = -DSAPSYSTEMNAME=JDT
    F    arg[11] = -DSAPMYNAME=AWQAFIDES-HQ_JDT_03
    F    arg[12] = -DSAPDBHOST=AWQAFIDES-HQ
    F    arg[13] = -DSAPINFO=JDT_03_server0
    F    arg[14] = -Dj2ee.dbhost=AWQAFIDES-HQ
    F    arg[15] = -Dsun.java.launcher=jstart
    F    arg[16] = -Dsun.java.command=com.sap.engine.boot.Start 
    F    arg[17] = -Djstartup.mode=JSTART
    F    arg[18] = -Djstartup.whoami=server
    F    arg[19] = -Djstartup.ownProcessId=3288
    F    arg[20] = -Djstartup.ownHardwareId=U1400945072
    F    arg[21] = -Djstartup.debuggable=yes
    F    arg[22] = -DLoadBalanceRestricted=no
    F    arg[23] = -XdebugPortRange:50321-50321
    F    arg[24] = -Denv.class.path=
    F    arg[25] = -Dsys.global.dir=E:\usr\sap\JDT\SYS\global
    F    arg[26] = -Dapplication.home=E:\usr\sap\JDT\J03\exe
    F    arg[27] = -Djava.class.path=E:\usr\sap\JDT\J03\exe\jstart71.jar;E:\usr\sap\JDT\J03\exe\sapjvm_6\lib\jvmx.jar;E:\usr\sap\JDT\J03\exe\sapjvm_6\lib\jvmx_tools.jar;E:\usr\sap\JDT\J03\exe\jre\lib\iqlib.jar;E:\usr\sap\JDT\J03\exe\sapjvm_6\lib\tools.jar;E:\usr\sap\JDT\J03\j2ee\cluster\bin\boot\sap.com~tc~bl~jkernel_boot~impl.jar;E:\usr\sap\JDT\J03\j2ee\cluster\bin\boot\jaas.jar;E:\usr\sap\JDT\J03\j2ee\cluster\bin\system\sap.com~tc~bl~bytecode~library.jar;E:\usr\sap\JDT\J03\j2ee\cluster\bin\boot\memoryanalyzer.jar
    F    arg[28] = -Djava.library.path=E:\usr\sap\JDT\J03\exe\sapjvm_6\jre\bin\server;E:\usr\sap\JDT\J03\exe\sapjvm_6\jre\bin;E:\usr\sap\JDT\J03\j2ee\os_libs;E:\usr\sap\JDT\J03\exe\sapjvm_6\bin;E:\usr\sap\JDT\J03\exe;C:\Program Files\EMC NetWorker\nsr\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn;C:\Program Files\Microsoft SQL Server\100\Tools\Binn;C:\Program Files\Microsoft SQL Server\100\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn;E:\usr\sap\JDT\SYS\exe\uc\NTAMD64
    F    arg[29] = -XX:PermSize=1024m
    F    arg[30] = -Xmx2048m
    F    arg[31] = -XX:MaxNewSize=410m
    F    arg[32] = -XX:MaxPermSize=1024m
    F    arg[33] = -Xms2048m
    F    arg[34] = -XX:NewSize=410m
    F    arg[35] = -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy
    F    arg[36] = -Djavax.management.builder.initial=com.sap.pj.jmx.server.interceptor.InterceptorChainBuilder
    F    arg[37] = -Djmx.invoke.getters=true
    F    arg[38] = -Djava.security.policy=./../bin/kernel/java.policy
    F    arg[39] = -Djava.security.egd=file:/dev/urandom
    F    arg[40] = -Djava.awt.headless=true
    F    arg[41] = -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy
    F    arg[42] = -Drdbms.driverLocation=E:\usr\sap\JDT\J03\exe\mssjdbc\jdbc4\sqljdbc4.jar
    F    arg[43] = -Djava.io.tmpdir=./temp
    F    arg[44] = -Dsun.lang.ClassLoader.allowArraySyntax=true
    F    arg[45] = -Djava.protocol.handler.pkgs=com.sap.engine.httpdsrclient.protocols|iaik.protocol
    F    arg[46] = -Dnetworkaddress.cache.ttl=10
    F    arg[47] = -DSAPJVM_EXTENSION_COMMAND_HANDLER=com.sap.tools.memory.protocol.ProtocolHandler
    F    arg[48] = -Djco.jarm=1
    F    arg[49] = -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy
    F    arg[50] = -XX:+UseConcMarkSweepGC
    F    arg[51] = -XX:TargetSurvivorRatio=90
    F    arg[52] = -verbose:gc
    F    arg[53] = -XX:+DumpDetailedClassStatisticOnOutOfMemory
    F    arg[54] = -XX:+PrintGCDetails
    F    arg[55] = -XX:MaxErrorQueueLength=200
    F    arg[56] = -XX:+PrintGCTimeStamps
    F    arg[57] = -XX:+DisableExplicitGC
    F    arg[58] = -XX:SoftRefLRUPolicyMSPerMB=1
    F    arg[59] = -XX:-StringInternTableInPermGen
    F    arg[60] = -XX:SurvivorRatio=9
    F    arg[61] = -XX:+HeapDumpOnOutOfMemoryError
    F    arg[62] = -XX:HeapDumpPath=OOM.hprof
    F    arg[63] = -XX:-TraceClassUnloading
    F    arg[64] = -Xss2097152
    F  ignore unrecognized options : no
    F  ********************************************************************************
    J  JVMX version - Sep 16 2010 15:40:24 - 61_REL - optU - windows amd64 - 6 - bas2:142976 (mixed mode)
    J  (CompilerOracle read from file E:\usr\sap\JDT\J03\exe\sapjvm_6\jre\.hotspot_compiler )

    F [Thr 4704] Wed Aug 13 10:49:05 2014
    F  [Thr 4704] *** LOG => SfCJavaVm: Java VM started.
    F  ********************************************************************************
    F  Main method call:
    F  com/sap/engine/boot/Start.main()
    F  ********************************************************************************

    J Wed Aug 13 10:49:10 2014
    J  5.858: [GC 5.858: [ParNew: 343552K->6707K(381696K), 0.0110668 secs] 343559K->6715K(2059008K), 0.0112063 secs] [Times: user=0.05 sys=0.01, real=0.01 secs]

    F [Thr 4704] Wed Aug 13 10:49:11 2014
    F  [Thr 4704] *** LOG => State changed from 0 (Initial) to 1 (Waiting to start).
    F  [Thr 4704] *** LOG    state real time: 7.229 CPU time: 0.842 sys, 4.430 usr
    F  [Thr 4704] *** LOG    total real time: 7.229 CPU time: 0.842 sys, 4.430 usr
    F  [Thr 4704]
    F  [Thr 4704] *** LOG => State changed from 1 (Waiting to start) to 2 (Starting framework).
    F  [Thr 4704] *** LOG    state real time: 0.000 CPU time: 0.000 sys, 0.000 usr
    F  [Thr 4704] *** LOG    total real time: 7.229 CPU time: 0.842 sys, 4.430 usr
    F  [Thr 4704]

    J Wed Aug 13 10:49:13 2014
    J  9.118: [GC 9.119: [ParNewJ 
    J Wed Aug 13 10:49:14 2014
    : 350259K->16694K(381696K), 0.0233455 secs] 350316K->16751K(2059008K), 0.0235734 secs] [Times: user=0.08 sys=0.00, real=0.02 secs]

    J Wed Aug 13 10:49:25 2014
    J  20.298: [GC 20.298: [ParNew: 360246K->38144K(381696K), 0.1170405 secs] 360668K->62918K(2059008K), 0.1172377 secs] [Times: user=0.39 sys=0.06, real=0.12 secs]

    J Wed Aug 13 10:49:26 2014
    J  21.932: [GC 21.932: [ParNew: 381696K->38144K(381696K), 0.1226817 secs] 407159K->90160K(2059008K), 0.1228570 secs] [Times: user=0.34 sys=0.03, real=0.12 secs]

    J Wed Aug 13 10:49:28 2014
    J  23.292: [GC 23.292: [ParNew: 381696K->38144K(381696K), 0.1285038 secs] 434349K->120556K(2059008K), 0.1286495 secs] [Times: user=0.39 sys=0.05, real=0.13 secs]

    J Wed Aug 13 10:49:36 2014
    J  31.762: [GC 31.762: [ParNew: 381696K->38144K(381696K), 0.1689539 secs] 464356K->161386K(2059008K), 0.1691127 secs] [Times: user=0.42 sys=0.00, real=0.17 secs]

    J Wed Aug 13 10:49:40 2014
    J  35.868: [GC 35.868: [ParNew: 381696K->38144K(381696K), 0.1632272 secs] 508528K->205662K(2059008K), 0.1634124 secs] [Times: user=0.53 sys=0.01, real=0.16 secs]

    M [Thr 3484] Wed Aug 13 10:49:42 2014
    M  [Thr 3484] CCMS: openMonitoringSegment(): inside static JMON Lib: already connected.

    J Wed Aug 13 10:49:42 2014
    J  37.824: [GC 37.824: [ParNew: 381696K->38144K(381696K), 0.1195535 secs] 556408K->240492K(2059008K), 0.1197142 secs] [Times: user=0.34 sys=0.02, real=0.12 secs]

    J Wed Aug 13 10:49:44 2014
    J  39.791: [GC 39.791: [ParNew: 381696K->38144K(381696K), 0.1104638 secs] 584213K->264018K(2059008K), 0.1106449 secs] [Times: user=0.30 sys=0.05, real=0.11 secs]

    J Wed Aug 13 10:49:46 2014
    J  41.241: [GC 41.241: [ParNew: 381696K->38144K(381696K), 0.0858888 secs] 607728K->279353K(2059008K), 0.0860546 secs] [Times: user=0.22 sys=0.00, real=0.09 secs]

    J Wed Aug 13 10:49:47 2014
    J  42.977: [GC 42.977: [ParNewJ 
    J Wed Aug 13 10:49:48 2014
    : 381696K->38144K(381696K), 0.0981324 secs] 622984K->301177K(2059008K), 0.0982954 secs] [Times: user=0.25 sys=0.05, real=0.10 secs]

    J Wed Aug 13 10:49:51 2014
    J  46.854: [GC 46.854: [ParNewJ 
    J Wed Aug 13 10:49:52 2014
    : 381696K->38144K(381696K), 0.1648782 secs] 644786K->339134K(2059008K), 0.1650896 secs] [Times: user=0.42 sys=0.03, real=0.17 secs]

    J Wed Aug 13 10:49:55 2014
    J  50.798: [GC 50.798: [ParNew: 381696K->38144K(381696K), 0.0997711 secs] 682851K->358369K(2059008K), 0.0999877 secs] [Times: user=0.33 sys=0.00, real=0.10 secs]

    F [Thr 4704] Wed Aug 13 10:49:57 2014
    F  [Thr 4704] *** LOG => State changed from 2 (Starting framework) to 10 (Starting apps).
    F  [Thr 4704] *** LOG    state real time: 46.538 CPU time: 6.302 sys, 79.810 usr
    F  [Thr 4704] *** LOG    total real time: 53.768 CPU time: 7.144 sys, 84.240 usr
    F  [Thr 4704]

    J Wed Aug 13 10:49:58 2014
    J  53.859: [GC 53.859: [ParNew: 381675K->27304K(381696K), 0.0820436 secs] 702190K->368321K(2059008K), 0.0822255 secs] [Times: user=0.22 sys=0.03, real=0.08 secs]

    J Wed Aug 13 10:49:59 2014
    J  54.593: [GC 54.593: [ParNew: 370796K->30046K(381696K), 0.0356657 secs] 711861K->371111K(2059008K), 0.0358375 secs] [Times: user=0.14 sys=0.00, real=0.04 secs]

    J Wed Aug 13 10:50:00 2014
    J  55.192: [GC 55.193: [ParNew: 373594K->30730K(381696K), 0.0258616 secs] 714658K->371794K(2059008K), 0.0260706 secs] [Times: user=0.08 sys=0.00, real=0.03 secs]
    J  55.823: [GC 55.823: [ParNew: 374272K->33802K(381696K), 0.0299796 secs] 715337K->374867K(2059008K), 0.0301532 secs] [Times: user=0.11 sys=0.00, real=0.03 secs]

    J Wed Aug 13 10:50:01 2014
    J  56.442: [GC 56.442: [ParNew: 377335K->38144K(381696K), 0.0404834 secs] 718399K->384198K(2059008K), 0.0406513 secs] [Times: user=0.14 sys=0.00, real=0.04 secs]
    J  56.760: [GC 56.760: [ParNew: 381679K->31747K(381696K), 0.0536330 secs] 727734K->393582K(2059008K), 0.0538047 secs] [Times: user=0.19 sys=0.02, real=0.05 secs]
    J  56.960: [GC 56.960: [ParNewJ 
    J Wed Aug 13 10:50:02 2014
    : 375299K->32769K(381696K), 0.0215789 secs] 737134K->394604K(2059008K), 0.0217479 secs] [Times: user=0.08 sys=0.00, real=0.02 secs]
    J  57.116: [GC 57.116: [ParNew: 376282K->35165K(381696K), 0.0226774 secs] 738117K->397000K(2059008K), 0.0228445 secs] [Times: user=0.12 sys=0.00, real=0.02 secs]
    J  57.298: [GC 57.298: [ParNew: 378667K->25542K(381696K), 0.0176353 secs] 740502K->387377K(2059008K), 0.0178030 secs] [Times: user=0.06 sys=0.00, real=0.02 secs]
    J  57.952: [GC 57.952: [ParNewJ 
    J Wed Aug 13 10:50:03 2014
    : 369055K->25609K(381696K), 0.0200687 secs] 730890K->387444K(2059008K), 0.0202358 secs] [Times: user=0.06 sys=0.00, real=0.02 secs]
    J  58.556: [GC 58.556: [ParNew: 369161K->29706K(381696K), 0.0219467 secs] 731184K->391729K(2059008K), 0.0221159 secs] [Times: user=0.13 sys=0.00, real=0.02 secs]

    J Wed Aug 13 10:50:04 2014
    J  59.099: [GC 59.099: [ParNew: 373258K->33868K(381696K), 0.0272136 secs] 735369K->395979K(2059008K), 0.0273974 secs] [Times: user=0.13 sys=0.00, real=0.03 secs]
    J  59.680: [GC 59.680: [ParNew: 377420K->34825K(381696K), 0.0259786 secs] 739531K->396936K(2059008K), 0.0261687 secs] [Times: user=0.06 sys=0.02, real=0.03 secs]

    J Wed Aug 13 10:50:05 2014
    J  60.374: [GC 60.374: [ParNew: 378375K->36874K(381696K), 0.0302984 secs] 740486K->398985K(2059008K), 0.0304678 secs] [Times: user=0.13 sys=0.00, real=0.03 secs]

    J Wed Aug 13 10:50:06 2014
    J  60.967: [GC 60.967: [ParNew: 380426K->35850K(381696K), 0.0365359 secs] 742537K->402617K(2059008K), 0.0367110 secs] [Times: user=0.12 sys=0.00, real=0.04 secs]
    J  61.538: [GC 61.539: [ParNew: 379371K->36873K(381696K), 0.0278477 secs] 746137K->403639K(2059008K), 0.0280496 secs] [Times: user=0.06 sys=0.00, real=0.03 secs]

    J Wed Aug 13 10:50:07 2014
    J  62.134: [GC 62.134: [ParNew: 380425K->35849K(381696K), 0.0351756 secs] 747191K->405862K(2059008K), 0.0353448 secs] [Times: user=0.13 sys=0.00, real=0.04 secs]
    J  62.838: [GC 62.838: [ParNew: 379401K->36010K(381696K), 0.0308404 secs] 749414K->407507K(2059008K), 0.0310537 secs] [Times: user=0.13 sys=0.00, real=0.03 secs]

    F [Thr 2264] Wed Aug 13 10:50:09 2014
    F  [Thr 2264] *** WARNING => ShmComponent_findAlias: Cannot find alias for URL '/' (rc = 4 object not found). [sfxxjshm.c   2141]

    J Wed Aug 13 10:50:09 2014
    J  64.756: [GC 64.756: [ParNew: 379562K->38144K(381696K), 0.0320298 secs] 751059K->411260K(2059008K), 0.0322031 secs] [Times: user=0.13 sys=0.00, real=0.03 secs]

    J Wed Aug 13 10:50:10 2014
    J  65.094: [GC 65.094: [ParNew: 381696K->35840K(381696K), 0.0322410 secs] 754812K->411975K(2059008K), 0.0324455 secs] [Times: user=0.13 sys=0.00, real=0.03 secs]
    J  65.421: [GC 65.422: [ParNew: 379392K->35840K(381696K), 0.0288936 secs] 755527K->411975K(2059008K), 0.0290622 secs] [Times: user=0.06 sys=0.00, real=0.03 secs]

    J Wed Aug 13 10:50:13 2014
    J  68.078: [GC 68.078: [ParNew: 379392K->38144K(381696K), 0.0665893 secs] 755617K->425283K(2059008K), 0.0667646 secs] [Times: user=0.20 sys=0.03, real=0.07 secs]

    J Wed Aug 13 10:50:16 2014
    J  71.438: [GC 71.438: [ParNew: 381696K->38144K(381696K), 0.0932214 secs] 769080K->449195K(2059008K), 0.0933975 secs] [Times: user=0.30 sys=0.00, real=0.09 secs]

    J Wed Aug 13 10:50:19 2014
    J  74.760: [GC 74.760: [ParNew: 380892K->38144K(381696K), 0.1215723 secs] 792334K->477546K(2059008K), 0.1217688 secs] [Times: user=0.36 sys=0.05, real=0.12 secs]

    J Wed Aug 13 10:50:22 2014
    J  77.119: [GC 77.119: [ParNew: 381696K->38144K(381696K), 0.1395760 secs] 822442K->510048K(2059008K), 0.1397643 secs] [Times: user=0.44 sys=0.02, real=0.14 secs]

    J Wed Aug 13 10:50:26 2014
    J  81.788: [GC 81.788: [ParNewJ 
    J Wed Aug 13 10:50:27 2014
    : 381696K->38144K(381696K), 0.0973212 secs] 854255K->529177K(2059008K), 0.0975087 secs] [Times: user=0.30 sys=0.03, real=0.10 secs]

    J Wed Aug 13 10:50:30 2014
    J  85.066: [GC 85.066: [ParNew: 381696K->38144K(381696K), 0.1079331 secs] 872880K->554405K(2059008K), 0.1081130 secs] [Times: user=0.33 sys=0.02, real=0.11 secs]

    J Wed Aug 13 10:50:32 2014
    J  87.365: [GC 87.365: [ParNew: 381696K->38144K(381696K), 0.1150576 secs] 898125K->576973K(2059008K), 0.1152570 secs] [Times: user=0.36 sys=0.01, real=0.12 secs]

    J Wed Aug 13 10:50:38 2014
    J  92.979: [GC 92.979: [ParNew: 381696K->38144K(381696K), 0.1163222 secs] 922696K->601135K(2059008K), 0.1165078 secs] [Times: user=0.39 sys=0.00, real=0.12 secs]

    J Wed Aug 13 10:50:40 2014
    J  95.237: [GC 95.237: [ParNew: 381512K->38144K(381696K), 0.1529282 secs] 944763K->653296K(2059008K), 0.1531081 secs] [Times: user=0.42 sys=0.03, real=0.15 secs]

    J Wed Aug 13 10:50:42 2014
    J  97.178: [GC 97.178: [ParNew: 381687K->38144K(381696K), 0.0974450 secs] 997172K->766960K(2059008K), 0.0976405 secs] [Times: user=0.30 sys=0.08, real=0.10 secs]

    J Wed Aug 13 10:50:43 2014
    J  98.313: [GC 98.313: [ParNew: 381676K->38144K(381696K), 0.0732400 secs] 1110604K->846500K(2059008K), 0.0734242 secs] [Times: user=0.17 sys=0.09, real=0.07 secs]

    J Wed Aug 13 10:50:44 2014
    J  99.587: [GC 99.588: [ParNew: 381696K->38144K(381696K), 0.0753849 secs] 1190093K->908044K(2059008K), 0.0755849 secs] [Times: user=0.16 sys=0.11, real=0.08 secs]
    J  99.671: [GC [1 CMS-initial-mark: 869900K(1677312K)] 909812K(2059008K), 0.0247344 secs] [Times: user=0.03 sys=0.00, real=0.02 secs]

    J Wed Aug 13 10:50:44 2014
    J  99.697: [CMS-concurrent-mark-start]

    J Wed Aug 13 10:50:46 2014
    J  100.908: [GC 100.908: [ParNew: 381696K->38144K(381696K), 0.0917262 secs] 1251676K->998042K(2059008K), 0.0919131 secs] [Times: user=0.23 sys=0.09, real=0.09 secs]

    J Wed Aug 13 10:50:47 2014
    J  102.126: [GC 102.126: [ParNew: 381696K->38144K(381696K), 0.1243224 secs] 1341775K->1085661K(2059008K), 0.1245167 secs] [Times: user=0.20 sys=0.25, real=0.13 secs]

    J Wed Aug 13 10:50:47 2014
    J  102.292: [CMS-concurrent-mark: 1.963/2.595 secs] [Times: user=7.71 sys=2.03, real=2.60 secs]
    J  102.292: [CMS-concurrent-preclean-start]
    J  102.488: [CMS-concurrent-preclean: 0.148/0.195 secs] [Times: user=0.61 sys=0.13, real=0.20 secs]
    J  102.488: [CMS-concurrent-abortable-preclean-start]

    J Wed Aug 13 10:50:48 2014
    J  103.579: [CMS-concurrent-abortable-preclean: 0.771/1.091 secs] [Times: user=3.12 sys=0.62, real=1.10 secs]

    J Wed Aug 13 10:50:48 2014
    J  103.582: [GC[YG occupancy: 237047 K (381696 K)]103.583: [Rescan (parallel) , 0.0362884 secs]103.620: [weak refs processing, 0.0384832 secs]103.658: [class unloading, 0.0505195 secs]103.709: [scrub symbol & string tables, 0.0776361 secs]J 
    J Wed Aug 13 10:50:49 2014
    [1 CMS-remark: 1047892K(1677312K)] 1284939K(2059008K), 0.2482807 secs] [Times: user=0.34 sys=0.00, real=0.25 secs]

    J Wed Aug 13 10:50:49 2014
    J  103.830: [CMS-concurrent-sweep-start]
    J  104.714: [CMS-concurrent-sweep: 0.768/0.884 secs] [Times: user=2.73 sys=0.47, real=0.89 secs]
    J  104.715: [CMS-concurrent-reset-start]
    J  104.728: [CMS-concurrent-reset: 0.014/0.014 secs] [Times: user=0.05 sys=0.00, real=0.01 secs]

    J Wed Aug 13 10:50:50 2014
    J  104.828: [GC 104.828: [ParNew: 381696K->38144K(381696K), 0.0671613 secs] 1236693K->918437K(2059008K), 0.0673483 secs] [Times: user=0.19 sys=0.02, real=0.07 secs]

    J Wed Aug 13 10:50:52 2014
    J  107.545: [GC 107.545: [ParNew: 381661K->38144K(381696K), 0.2107511 secs] 1262005K->1077781K(2059008K), 0.2109489 secs] [Times: user=0.39 sys=0.28, real=0.21 secs]

    J Wed Aug 13 10:50:57 2014
    J  112.296: [GC 112.296: [ParNew: 381680K->38144K(381696K), 0.2150438 secs] 1421318K->1251267K(2059008K), 0.2152338 secs] [Times: user=0.25 sys=0.42, real=0.22 secs]

    J Wed Aug 13 10:51:02 2014
    J  117.461: [GC 117.461: [ParNew: 381583K->4140K(381696K), 0.0469289 secs] 1594706K->1254559K(2059008K), 0.0471146 secs] [Times: user=0.11 sys=0.05, real=0.05 secs]

    J Wed Aug 13 10:51:15 2014
    J  130.205: [GC 130.205: [ParNew: 347692K->38144K(381696K), 0.0584412 secs] 1598245K->1290061K(2059008K), 0.0586428 secs] [Times: user=0.22 sys=0.00, real=0.06 secs]

    J Wed Aug 13 10:51:24 2014
    J  139.253: [GC 139.253: [ParNew: 381696K->38144K(381696K), 0.2258658 secs] 1633613K->1373856K(2059008K), 0.2260866 secs] [Times: user=0.61 sys=0.02, real=0.23 secs]

    J Wed Aug 13 10:51:30 2014
    J  145.501: [GC 145.501: [ParNew: 381696K->38144K(381696K), 0.1258713 secs] 1718123K->1422493K(2059008K), 0.1261312 secs] [Times: user=0.39 sys=0.02, real=0.13 secs]
    J  145.636: [GCJ 
    J Wed Aug 13 10:51:31 2014
    [1 CMS-initial-mark: 1384349K(1677312K)] 1427189K(2059008K), 0.0535896 secs] [Times: user=0.06 sys=0.00, real=0.05 secs]

    J Wed Aug 13 10:51:31 2014
    J  145.690: [CMS-concurrent-mark-start]

    J Wed Aug 13 10:51:32 2014
    J  147.302: [CMS-concurrent-mark: 1.569/1.612 secs] [Times: user=2.70 sys=0.28, real=1.62 secs]
    J  147.303: [CMS-concurrent-preclean-start]
    J  147.330: [CMS-concurrent-preclean: 0.024/0.028 secs] [Times: user=0.05 sys=0.00, real=0.03 secs]
    J  147.330: [CMS-concurrent-abortable-preclean-start]

    F [Thr 2264] Wed Aug 13 10:51:36 2014
    F  [Thr 2264] *** LOG => State changed from 10 (Starting apps) to 3 (Running).
    F  [Thr 2264] *** LOG    state real time: 98.580 CPU time: 20.670 sys, 143.988 usr
    F  [Thr 2264] *** LOG    total real time: 152.349 CPU time: 27.814 sys, 228.229 usr
    F  [Thr 2264]

    J Wed Aug 13 10:51:37 2014
    J   CMS: abort preclean due to time 152.391: [CMS-concurrent-abortable-preclean: 2.924/5.060 secs] [Times: user=4.04 sys=0.58, real=5.08 secs]

    J Wed Aug 13 10:51:37 2014
    J  152.400: [GC[YG occupancy: 246680 K (381696 K)]152.400: [Rescan (parallel) , 0.1940158 secs]152.594: [weak refs processing, 0.0143033 secs]152.609: [class unloadingJ 
    J Wed Aug 13 10:51:38 2014
    , 0.0556606 secs]152.665: [scrub symbol & string tables, 0.0852505 secs] [1 CMS-remark: 1385469K(1677312K)] 1632149K(2059008K), 0.3894964 secs] [Times: user=0.42 sys=0.00, real=0.39 secs]

    J Wed Aug 13 10:51:38 2014
    J  152.790: [CMS-concurrent-sweep-start]
    J  153.421: [CMS-concurrent-sweep: 0.631/0.631 secs] [Times: user=0.83 sys=0.00, real=0.63 secs]
    J  153.421: [CMS-concurrent-reset-start]
    J  153.435: [CMS-concurrent-reset: 0.014/0.014 secs] [Times: user=0.00 sys=0.00, real=0.01 secs]

  • Cannot create DataSource, Exception in Tomcat 4.1

    I am running into a major problem with Tomcat4.1 trying to access a Datasource.
    I referenced about 7 articles one of which has the subject "Cannot create JDBC driver of class '' for connect URL 'null', cause..."
    but he is using Tomcat 5. I even tried to simulate his solution to mine but still no use.
    I tried to connect to the database the old fashion way and it worked... I get connected (JDBC connection w/o Datasource).
    I changed the XML many times but with no luck. I must be doing something stupid that I can't see.
    Any help is greatly appreciated.... I ran out of solutions...
    I initially loaded my app through Tomcat manager and created the DataSource through Tomcat admin screen.
    my CLASSPATH =
    C:\J4Log\logging-log4j-1.2.9\dist\lib\log4j-1.2.9.jar;
    C:\JBoss4-0\jboss-4.0.1sp1;C:\CONNX32\CONNXJDBC\JAVA\JAR\connxjdbc.jar;
    C:\JBuilderX\lib\mysql-connector-java-3.0.15-ga-bin.jar;
    C:\Program Files\Apache Group\Tomcat 4.1\common\lib\commons-dbcp-1.2.1.jar;
    C:\Program Files\Apache Group\Tomcat 4.1\common\lib\commons-pool-1.1.jar;
    C:\Program Files\Apache Group\Tomcat 4.1\common\lib\commons-collections-3.1.jar;
    C:\Program Files\Apache Group\Tomcat 4.1\common\lib\mysql-connector-java-3.1.8-bin.jar
    my web.xml =
    <resource-ref>
        <description>DB connection</description>
        <res-ref-name>jdbc/MyDBASE</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
      </resource-ref>-------------------
    The sample snipet to connect to the database (which works)
    ConnectionHelper contains the following (simplified)...
         Class.forName("com.mysql.jdbc.Driver").newInstance();
         return DriverManager.getConnection("jdbc:mysql://10.0.3.52/MyDBASE?user=Myadmin&password=AdminPWD");
      ConnectionHelper connectionHelper = new ConnectionHelper();
      Statement st = null;
      try {
        Connection conn = connectionHelper.getConnection();
        st = conn.createStatement();
        System.out.println("\n=========== ssuucceessffullllllll=======\n");
      catch (SQLException ex1) {
         System.out.println("error connecting=================");
         ex1.printStackTrace();
    whenever i execute my JSP (which calls my java class .. code follows....
      Context envCtx = (Context) init.lookup("java:comp/env");
           DataSource ds = (DataSource)envCtx.lookup("jdbc/MyDBASE");it breaks on the DataSource giving..
    org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '
    ' for connect URL 'null', cause:
    java.sql.SQLException: No suitable driver
            at java.sql.DriverManager.getDriver(DriverManager.java:243)
            at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSou
    rce.java:743)
            at org.apache.commons.dbcp.BasicD.........--
    Another error (which is from within the IDE) is
    java.lang.NoClassDefFoundError: tyrex/jdbc/xa/EnabledDataSource     at rg.apache.naming.factory.TyrexDataSourceFactory.getObjectInstance(TyrexDataSourceFactory.java:166)
         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:164)
         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:301)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:834)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:181)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:822)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:194)
         at simpleservlet.TestJSPBean.init(TestJSPBean.java:41)
         at org.apache.jsp.testJSP$jsp._jspService(testJSP$jsp.java:115)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)--------------------------
    and finally, Server.XML...
    <?xml version='1.0' encoding='utf-8'?>
    <Server className="org.apache.catalina.core.StandardServer" debug="0" port="8005" shutdown="SHUTDOWN">
      <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"/>
      <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" debug="0" jsr77Names="false"/>
      <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" debug="0"/>
      <GlobalNamingResources>
        <Environment name="simpleValue" override="true" type="java.lang.Integer" value="30"/>
        <Resource name="jdbc/MyDBASE" scope="Shareable" type="javax.sql.DataSource"/>
        <ResourceParams name="jdbc/MyDBASE">
          <parameter>
            <name>validationQuery</name>
            <value>select now()</value>
          </parameter>
          <parameter>
            <name>url</name>
            <value>jdbc:mysql://10.0.3.52/MyDBASE?autoReconnect=true</value>
          </parameter>
          <parameter>
            <name>password</name>
            <value>AdminPWD</value>
          </parameter>
          <parameter>
            <name>maxActive</name>
            <value>4</value>
          </parameter>
          <parameter>
            <name>maxWait</name>
            <value>5000</value>
          </parameter>
          <parameter>
            <name>driverClassName</name>
             <value>org.gjt.mm.mysql.Driver</value>
          </parameter>
          <parameter>
            <name>username</name>
            <value>Myadmin</value>
          </parameter>
          <parameter>
            <name>maxIdle</name>
            <value>2</value>
          </parameter>
        </ResourceParams>
      </GlobalNamingResources>
      <Service className="org.apache.catalina.core.StandardService" debug="0" name="Tomcat-Standalone">
        <Engine className="org.apache.catalina.core.StandardEngine"
                   debug="0" defaultHost="localhost"
                   mapperClass="org.apache.catalina.core.StandardEngineMapper"
                   name="Standalone">
          <Host className="org........
            <Context className="org.apache.catalina.core.StandardContext" cachingAllowed="true"
                      charsetMapperClass="org.apache.catalina.util.CharsetMapper"
                      cookies="true" crossContext="false" debug="0"
                      displayName="simpleservlet"
                      docBase="/WebModule1" mapperClass="org.apache.catalina.core.StandardContextMapper"
                      path="/WebModule1" privileged="false" reloadable="false" swallowOutput="false"
                      useNaming="true"
                      workDir="work\Standalone\localhost\WebModule1"
                      wrapperClass="org.apache.catalina.core.StandardWrapper">
                 <Resource auth="Container"
                            description="DB connection"
                            name="jdbc/MyDBASE" scope="Shareable"
                            type="javax.sql.DataSource"/>
           </Context>
        </Engine>
      </Service>
    </Server>Thanks in advance for ANY help.

    I am running into a major problem with Tomcat4.1 trying to access a Datasource.
    I referenced about 7 articles one of which has the subject "Cannot create JDBC driver of class '' for connect URL 'null', cause..."
    but he is using Tomcat 5. I even tried to simulate his solution to mine but still no use.
    I tried to connect to the database the old fashion way and it worked... I get connected (JDBC connection w/o Datasource).
    I changed the XML many times but with no luck. I must be doing something stupid that I can't see.
    Any help is greatly appreciated.... I ran out of solutions...
    I initially loaded my app through Tomcat manager and created the DataSource through Tomcat admin screen.
    my CLASSPATH =
    C:\J4Log\logging-log4j-1.2.9\dist\lib\log4j-1.2.9.jar;
    C:\JBoss4-0\jboss-4.0.1sp1;C:\CONNX32\CONNXJDBC\JAVA\JAR\connxjdbc.jar;
    C:\JBuilderX\lib\mysql-connector-java-3.0.15-ga-bin.jar;
    C:\Program Files\Apache Group\Tomcat 4.1\common\lib\commons-dbcp-1.2.1.jar;
    C:\Program Files\Apache Group\Tomcat 4.1\common\lib\commons-pool-1.1.jar;
    C:\Program Files\Apache Group\Tomcat 4.1\common\lib\commons-collections-3.1.jar;
    C:\Program Files\Apache Group\Tomcat 4.1\common\lib\mysql-connector-java-3.1.8-bin.jar
    my web.xml =
    <resource-ref>
        <description>DB connection</description>
        <res-ref-name>jdbc/MyDBASE</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
      </resource-ref>-------------------
    The sample snipet to connect to the database (which works)
    ConnectionHelper contains the following (simplified)...
         Class.forName("com.mysql.jdbc.Driver").newInstance();
         return DriverManager.getConnection("jdbc:mysql://10.0.3.52/MyDBASE?user=Myadmin&password=AdminPWD");
      ConnectionHelper connectionHelper = new ConnectionHelper();
      Statement st = null;
      try {
        Connection conn = connectionHelper.getConnection();
        st = conn.createStatement();
        System.out.println("\n=========== ssuucceessffullllllll=======\n");
      catch (SQLException ex1) {
         System.out.println("error connecting=================");
         ex1.printStackTrace();
    whenever i execute my JSP (which calls my java class .. code follows....
      Context envCtx = (Context) init.lookup("java:comp/env");
           DataSource ds = (DataSource)envCtx.lookup("jdbc/MyDBASE");it breaks on the DataSource giving..
    org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '
    ' for connect URL 'null', cause:
    java.sql.SQLException: No suitable driver
            at java.sql.DriverManager.getDriver(DriverManager.java:243)
            at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSou
    rce.java:743)
            at org.apache.commons.dbcp.BasicD.........--
    Another error (which is from within the IDE) is
    java.lang.NoClassDefFoundError: tyrex/jdbc/xa/EnabledDataSource     at rg.apache.naming.factory.TyrexDataSourceFactory.getObjectInstance(TyrexDataSourceFactory.java:166)
         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:164)
         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:301)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:834)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:181)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:822)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:194)
         at simpleservlet.TestJSPBean.init(TestJSPBean.java:41)
         at org.apache.jsp.testJSP$jsp._jspService(testJSP$jsp.java:115)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)--------------------------
    and finally, Server.XML...
    <?xml version='1.0' encoding='utf-8'?>
    <Server className="org.apache.catalina.core.StandardServer" debug="0" port="8005" shutdown="SHUTDOWN">
      <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"/>
      <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" debug="0" jsr77Names="false"/>
      <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" debug="0"/>
      <GlobalNamingResources>
        <Environment name="simpleValue" override="true" type="java.lang.Integer" value="30"/>
        <Resource name="jdbc/MyDBASE" scope="Shareable" type="javax.sql.DataSource"/>
        <ResourceParams name="jdbc/MyDBASE">
          <parameter>
            <name>validationQuery</name>
            <value>select now()</value>
          </parameter>
          <parameter>
            <name>url</name>
            <value>jdbc:mysql://10.0.3.52/MyDBASE?autoReconnect=true</value>
          </parameter>
          <parameter>
            <name>password</name>
            <value>AdminPWD</value>
          </parameter>
          <parameter>
            <name>maxActive</name>
            <value>4</value>
          </parameter>
          <parameter>
            <name>maxWait</name>
            <value>5000</value>
          </parameter>
          <parameter>
            <name>driverClassName</name>
             <value>org.gjt.mm.mysql.Driver</value>
          </parameter>
          <parameter>
            <name>username</name>
            <value>Myadmin</value>
          </parameter>
          <parameter>
            <name>maxIdle</name>
            <value>2</value>
          </parameter>
        </ResourceParams>
      </GlobalNamingResources>
      <Service className="org.apache.catalina.core.StandardService" debug="0" name="Tomcat-Standalone">
        <Engine className="org.apache.catalina.core.StandardEngine"
                   debug="0" defaultHost="localhost"
                   mapperClass="org.apache.catalina.core.StandardEngineMapper"
                   name="Standalone">
          <Host className="org........
            <Context className="org.apache.catalina.core.StandardContext" cachingAllowed="true"
                      charsetMapperClass="org.apache.catalina.util.CharsetMapper"
                      cookies="true" crossContext="false" debug="0"
                      displayName="simpleservlet"
                      docBase="/WebModule1" mapperClass="org.apache.catalina.core.StandardContextMapper"
                      path="/WebModule1" privileged="false" reloadable="false" swallowOutput="false"
                      useNaming="true"
                      workDir="work\Standalone\localhost\WebModule1"
                      wrapperClass="org.apache.catalina.core.StandardWrapper">
                 <Resource auth="Container"
                            description="DB connection"
                            name="jdbc/MyDBASE" scope="Shareable"
                            type="javax.sql.DataSource"/>
           </Context>
        </Engine>
      </Service>
    </Server>Thanks in advance for ANY help.

  • You cannot create an Apple ID using a MobileMe account. If this is your email address, it is also your Apple ID

    I am dumping my Android and getting an IPhone to go along with my IPad, primarily because of the ICloud and the ease of synching all my mail, contacts etc. My original Apple ID was my gmail address. I now have the @me.com address when I put IOS 5 on my iPad. I want to dump gmail and just have one email address...the @me.com address. When I set up iCloud, I used the @me.com address. When I try to change my Apple ID to the @me.com address from the gmail address, I get this message "You cannot create an Apple ID using a MobileMe account. If this is your email address, it is also your Apple ID". Any ideas?

    I also have the same problem. Is there a solution?

Maybe you are looking for

  • Unix command in pro*c

    hi, all It is so strange that the after running Unix command in a pro*c. The variable value is changed. The following is the code printf("1:tempfile1:%s\n", tempfile1); printf("1:tempfile2:%s\n", tempfile2); sprintf(cmdstr, "sort -k 1.13,1.18 %s -o %

  • Problem occurs in the new tab in me21n

    Hi all, I've created a new tab of 4 custom fields in me21n. A new tab is coming, but I click on that new tab, dump error has come. The error is like this. Short text                                                                             Call (PE

  • What is PHP_SELF

    Can anyone explain what this piece of code is and what it does? $currentPage = $_SERVER["PHP_SELF"]; Code put in by Dreamweaver Thanks

  • How do I get crossword puzzles to work in FF. Help files didn't help.

    Installed latest Shockwave puzzles work in other browsers. Not much info. in existing help files.

  • Blue.kai

    Safari on my Iphone5 keeps reverting to tags.bluekai.com.  Is this a virus and how do I get rid of it?