Where is the ConnectPool class?

I am using WSAD 4.0.3 and wanted to use the Microsoft JDBC driver.
But when I try to set the WS server up with connection pooling I am at
a loss as to what the com.microsoft.ETC is to the ConnectionPool
class. What is it called and where is it?
Thanks in advance,

Crickets chirping in the night.......
Sigh I really hate to flame but what can I say. I have been involved with Java development off and on over several years. Granted most of those years have been in the Microsoft world but there have been times and clients that Java was the best solution.
Having worked in both camps, I have to tell you. I have always been sorely disappointed in the so called "community" of Java developers. A question such as the one posed would have generated a good dozen responses by now (48 hours old) within a Microsoft developer forum. Whether the question is basic, simple, obvious or just plain stupid is irrelevant. Either way it would not hinder developers from stating the fact plus the answer.
There can be many reasons, maybe this is not a very active forum. If not then what website would have a quality and active forum?
Maybe the question is viewed as redundant, or too simple to warrant a answer. But when has that stopped a good developer from pointing out the obvious? :-)
Maybe Java, J2EE, etc. is not nearly as widely used as Microsoft's technologes. I know I have certainly seen this to be the case. Microsoft's weakness of being platform specific is in fact its' greatest strength. Everything works, together, seemlessly. No complex interoperatability issues. Open source is in many ways is open sores. With configuration and interoperability being a daunting manual labor intensive task. Case in point seems to be WSAD, works great simple as cake with Websphere Application Server and DB2. Try to use other non-IBM software such as SQL Server then all of a sudden you start slamming your hand in the drawer, repeatedly. I guess it could be the same in trying to use DB2 from .NET but then again, the developer base is there and you WILL get a response from someone who has done it.
Of course, the reason for the lack of response is mostly likely something entirely different. Either way, this response, my response, should get some attention. Maybe.
Sorry for the post, just some frustration I have been having since jumping back into the wonderful world of Java, Servlets and J2EE. Most likely does not help that my previous project was .NET with all its' ease.

Similar Messages

  • Where is the member class?

    Hi,
    I am Ryan.
    Here is a small piece of code.
    <pre>
    if( error.getClass().equals( SoftErrorException.<b>class</b> ) )
         throw new JspException();
    </pre>
    Can somebody tell me where is the member "class" referred in the object SoftErrorException. I checked in the class "Object" and "Class". I also checked in the Java documentation index. I still could not find it.
    Thanks in advance
    Ryan

    Can somebody tell me where is the member "class"
    referred in the object SoftErrorException. I checked
    in the class "Object" and "Class". I also checked in
    the Java documentation index. I still could not find
    it.
    Thanks in advance
    Ryanclass is not a member. This is part of the language. Also, SoftErrorException is not an Object it is a class. I'm also having a problem finding the documentation for this. I assume it is part of the JLS. ClassName.class is the same as InstanceOfClass.getClass().

  • Where does the java classes go?

    I normally use IntelliJ which automatically puts the java class and the jsp where they are meant to go.
    Can some help me.
    Can someone please tell me where to put the java class, i have put the jsp pages in the webapps\ROOT but where does the java classes go?
    Edited by: Tinkerbelle on Jul 24, 2008 1:46 AM

    Tinkerbelle wrote:
    sorry being stupid i do that sorry,
    If i change the class to type (as someone said in a previous post)That would only work if you already put the bean in the session scope.
    Did you try what PaulOckford wrote?
    >
    i get this error:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP:
    An error occurred at line: 6 in the generated java file
    Only a type can be imported. com.database.contactDB resolves to a packageDo you have a package structure that looks like this:
    com
    com/database/ <-- This is where contactDB.class is located
    com/database/contactDB/
    Because that is what the compiler is saying. Though it may be thrown off by case (see below)
    P.S. If you use the jsp:useBean you do not need the import statement which appears to be where the error occurs. (One of the things that makes JSPs so hard to debug is the fact that the error line in the generated java file as referenced above is never the same as the line in the JSP file).
    >
    An error occurred at line: 3 in the jsp file: /login.jsp
    database.contactDB cannot be resolved to a type
    1: <%@ page import="com.database.contactDB" %>
    2:
    3: <jsp:useBean id='db'
    4: scope='session'
    5: type='database.contactDB'/>
    6: <html>
    And to be ultra clear - you did compile contactDB from a .java file to a .class file, and the class is called contactDB and not ContactDB correct? The class name is case sensitive and should be the exact same case in the useBean and import statements as in the real class name.
    >
    An error occurred at line: 3 in the jsp file: /login.jsp
    database.contactDB cannot be resolved to a type
    1: <%@ page import="com.database.contactDB" %>
    2:
    3: <jsp:useBean id='db'
    4: scope='session'
    5: type='database.contactDB'/>
    6: <html>
    Stacktrace:
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:93)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
         org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.26 logs.
    Apache Tomcat/5.5.26Edited by: stevejluke on Jul 24, 2008 7:33 AM
    Fixed compile from .class file to a .java file to compile from a .java file to .class file

  • Where is the anonymous class in this? (lotsa code)

    When I compile ThreadPool.java, I get three classes: ThreadPool.class, ThreadPool$WorkerThread.class, and ThreadPool$1.class. I understand the first two, but I can't figure out where the anonymous class is coming from. Could it be some kind of automatically-generated wrapper class caused by the fact that all accesses to the Queue object are within synchronized blocks? Curiosity attacks!
    Thanks,
    Krum
    ThreadPool.java:
    package krum.util;
    * A thread pool with a bounded task queue and fixed number of worker threads.
    public class ThreadPool {
       protected Queue queue;
    public ThreadPool(int threads, int taskQueueSize) {
       queue = new Queue(taskQueueSize);
       /* create the worker threads */
       for(int i = 0; i < threads; ++i) {
          Thread t = new Thread(new WorkerThread());
          t.setDaemon(true);
          t.start();
    * Queues a task to be executed by this ThreadPool.  If the task queue is
    * full, the task will run in the calling thread.  (Could easily be modified
    * to throw an exception instead.)
    public void doTask(Runnable task) {
       boolean added = false;
       synchronized(queue) {
          if(!queue.isFull()) {
             queue.add(task);
             added = true;
             queue.notify();
       if(!added) task.run();
    * Tests if the task queue is empty.  Useful if you want to wait for all
    * queued tasks to complete before terminating your program.
    public boolean queueEmpty() {
       synchronized(queue) {
          return queue.isEmpty();
    private class WorkerThread implements Runnable {
    public void run() {
       Runnable task;
       while(true) {
          task = null;
          synchronized(queue) {
             try {
                if(queue.isEmpty()) queue.wait();
                else task = (Runnable)queue.getNext();
             } catch(InterruptedException e) { break; }
          if(task != null) task.run();
    } /* end inner class WorkerThread */
    } /* end class ThreadPool */Queue.java:
    package krum.util;
    * Implements a FIFO queue for storage and retrieval of objects.  This class
    * is not synchronized.
    public class Queue {
         /** circular buffer containing queued objects */
         protected Object[] queue;
         /** index of next object to be returned */
         protected int nextReturn;
         /** index in which to store next object inserted */
         protected int nextInsert;
    public Queue(int capacity) {
         queue = new Object[capacity];
         nextInsert = 0;
         nextReturn = 0;
    public boolean isEmpty() { return(queue[nextReturn] == null); }
    public boolean isFull() { return(queue[nextInsert] != null); }
    public void add(Object obj) throws QueueException {
         if(queue[nextInsert] == null) {
              queue[nextInsert] = obj;
              ++nextInsert;
              nextInsert %= queue.length;
         } else throw new QueueException();
    public Object getNext() throws QueueException {
         if(queue[nextReturn] != null) {
              Object obj = queue[nextReturn];
              queue[nextReturn] = null;
              ++nextReturn;
              nextReturn %= queue.length;
              return obj;
         } else throw new QueueException();
    } /* end class Queue */QueueException.java:
    package krum.util;
    public class QueueException extends RuntimeException { }

    I can't explain why it happens, but I've seen this
    behaviour before. I found that it was to do with an
    inner class (WorkerThread in your code) having a
    private constructor - if I made my inner class
    constructor at least package (default) access, then
    the anonymous class was no longer created.
    The generated default constructor for a class has the
    same access modifier as the class, so in your example,
    the default constructor that the compiler generates is
    private.
    I suspect the problem will go away if you either:
    1. Remove the private modifier from the WorkerThread
    class declaration.
    or:
    2. Add a no-args constructor to the WorkerThread
    class, and don't specify an access modifier.Yes, the reason is the private constructor. After decompile using JAD, the reason seems to be: if a private inner class does not explicitly have any constructor, a default no-arguments private constructor is created, and seems this default constructor can't be accessed directly (in source code, it can). So, another no-private constructor (package accessible) is created automatically (with an argument of Object's type), and the
    new WorkThread();is actually like this:
    new WorkThread(null);
    private class WorkThread implements Runnable{
       private WorkThread(){}
       WorkThread(Object obj) {
          this();
    }and I would guess it's using anonymous class tech to achieve this like:
    new WorkThread(null) {
       WorkThread(Object obj){
          this();
    }The JLS should have specified this situation.

  • Where is the WebService class located in the Flex SDK?

    I checked there and all I found in the
    \frameworks\source\mx\rpc folder is the IResponder.as class file.
    There wasn't a soap package or anything... When you do the
    import mx.rpc.soap.Webservice where is it coming from?

    Still no answer to this important question, nearly a year after it was posted? WHERE IS THE REMOTE BUTTON that we are supposed to pair Remote app on the iPhone with? Here's what the help file says in French :
    Jumeler Remote avec une bibliothèque iTunes
    1. Touchez Remote sur l’écran d’accueil de votre appareil.
    2. Touchez Ajouter une bibliothèque iTunes.Un code à 4 chiffres apparaît.
    3. Ouvrez iTunes sur votre ordinateur, puis cliquez sur le bouton Remote .
    4. Tapez le code à 4 chiffres dans la fenêtre iTunes.iTunes jumelle la bibliothèque de votre ordinateur avec l’app Remote de votre appareil.
    NO REMOTE BUTTON ANYWHERE IN ITUNES THAT I CAN SEE... HELP!

  • Where is the WLConnection class ???

    Hi !
    in the weblogic documentation : http://edocs.bea.com/wls/docs70/jdbc/thirdparty.html#1050527
    I see that it's possible to use the WLConnection class to get a connection, but
    I don't find this class in the package weblogic.jdbc.extensions.WLConnection,
    it appears that it doesn't exist
    I have weblogic 7 sp1
    Where can I find it ???
    Thx

    You must have a maintenance contract. You can call your Sales rep or Support to work this out.
    "partyboy" <[email protected]> wrote in message news:3f0c3f17$[email protected]..
    >
    How can I get the SP3 ?
    I register to eSupport but when I try to update, the updater says :
    the supplied username is not is not associated with a valid support contract
    "Stephen Felts" <[email protected]> wrote:
    You need 7.0SP3 or 8.1.
    It's in weblogic/jdbc/extensions.
    "partyboy" <[email protected]> wrote in message news:3f0c221f$[email protected]..
    Hi !
    in the weblogic documentation : http://edocs.bea.com/wls/docs70/jdbc/thirdparty.html#1050527
    I see that it's possible to use the WLConnection class to get a connection,but
    I don't find this class in the package weblogic.jdbc.extensions.WLConnection,
    it appears that it doesn't exist
    I have weblogic 7 sp1
    Where can I find it ???
    Thx

  • Where is the Debug Class

    Does anyone know what package the Debug Class is in? I searched through the Java API, but I couldn't find it...

    There are also third-party debuggers. Most (all?) IDEs come with a debugger. Arguably you really couldn't call it an IDE if it didn't have a debugger.
    I suppose it's typical for interpreted languages to have a separate class or module to be the debugger, whereas compiled languages tend to require a separate program. (Opinions?) In Java the JVM can be interfaced to an external program (eg jdb) to do debugging.

  • Where is the RTPManager class?

    I have install JMStudio,but in the jar package,no the RTPManager class?the class is where?

    Jar package has no RTPManager class.
    It is in the com.sun.media.RTPManager;

  • Where is the DefaultRealmImpl class?

    Hello all,
    I have been getting the java.lang.ClassNotFoundException:
    weblogic.security.acl.DefaultRealmImpl. I have been looking around for the
    class in order to add it to my classpath, but I have not been able to locate
    it. Does anyone know where, e.g. which jar, to find it? Is this a
    classpath issue or is there something deeper here? I noticed that several
    other people were getting the same error.
    BTW I am running jdk1.3, weblogic 5.1, and I am on NT.
    Thanks,
    Lee
    [email protected]

    Bea, please help with this one
    In article <[email protected]>, [email protected]
    says...
    l> I have been getting the java.lang.ClassNotFoundException:
    l> weblogic.security.acl.DefaultRealmImpl.
    Are you upgrading from an earlier version of WLS to 5.1? If so, you
    should not be using DefaultRealmImpl any more.
    Hi, I have exactly the same problem. I not upgrading, I use 5.1 sp5. And
    it's not me who's trying to load DefaultRealmImpl with the wrong package
    name:
    java.lang.ClassNotFoundException: weblogic.security.acl.DefaultRealmImpl
    at weblogic.boot.ServerClassLoader.findLocalClass
    (ServerClassLoader.java:355)
    at weblogic.boot.ServerClassLoader.loadClass
    (ServerClassLoader.java:111)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:120)
    at weblogic.security.acl.Realm.getRealm(Realm.java:79)
    at weblogic.security.acl.Realm.getRealm(Realm.java:31)
    at com.gocargo.jwasp.core.user.UserEJBBean.isInRole
    (UserEJBBean.java:437)
    at com.gocargo.jwasp.core.user.UserEJBBeanEOImpl.isInRole
    (UserEJBBeanEOImpl.java:755)
    at com.gocargo.jwasp.core.user.UserEJBBeanEOImpl_WLSkel.invoke
    (UserEJBBeanEOImpl_WLSkel.java
    at weblogic.rmi.extensions.BasicServerObjectAdapter.invoke
    (BasicServerObjectAdapter.java:347
    at weblogic.rmi.extensions.BasicRequestHandler.handleRequest
    (BasicRequestHandler.java:69)
    at weblogic.rmi.internal.BasicExecuteRequest.execute
    (BasicExecuteRequest.java:15)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135)
    As far as I understand, the problem is that somebody hardcoded the wrong
    package name of the DefaultRealmImpl (it should be
    weblogic.security.acl.internal.DefaultRealmImpl).
    Question: inside my code I use this line to get RDMBS realm:
    RDBMSRealm realm = (RDBMSRealm)Realm.getRealm
    (RDBMSRealm.REALM_NAME);
    The constructor of RDMBS realm uses super(REALM_NAME). Maybe I should
    use some other name? If you create DefaultRealmImpl in case you can't
    find the specified realm, just tell me how to correctly find/register
    custom realm. I tried passing fully qualified name of the realm class,
    but it didn't help.

  • Where should the support classes of servlets, JSPs and EJBs be placed

              Hi
              Could you please tell me where the support classes (simple
              java classes) used by servlets, JSPs and EJBs should be placed.
              I find that my application does not work if I place all the
              support classes of a servlet under $MYSERVER/clientclasses. I need to place some in $MYSERVER/clientclasses and some in
              $MYSERVER/servletclasses. But I figured this out my trial and error and I could not find any logical explanation why some of them should go into $MYSERVER/clientclasses and others into
              $MYSERVER/servletclasses.
              Thanks
              Regards
              Pratima
              

    you can put 'em in weblogic classpath
              Kumar
              Pratima Nambiar wrote:
              > Hi
              > Could you please tell me where the support classes (simple
              > java classes) used by servlets, JSPs and EJBs should be placed.
              > I find that my application does not work if I place all the
              > support classes of a servlet under $MYSERVER/clientclasses. I need to place some in $MYSERVER/clientclasses and some in
              > $MYSERVER/servletclasses. But I figured this out my trial and error and I could not find any logical explanation why some of them should go into $MYSERVER/clientclasses and others into
              > $MYSERVER/servletclasses.
              >
              > Thanks
              > Regards
              > Pratima
              

  • URGENT: Where are the loadjava classes?

    Does anyone know where the LoadJavaMain class and other classes required by the loadjava utility live? When I try and run loadjava I get a ClassDefNotFound error on the LoadJavaMain class. Help!!

    This looks like a classpath issue. The aurora directory only exists in the JAR file where the classes are stored. In this case they are in the
    oracle_home/javavm/lib/aurora_client_orbindep.jar
    file. Insure that this is in your OS CLASSPATH setting. It should be getting set by the loadjava script/batch file.

  • Where is the Vector class? Can't use it.

    Hello!
    I've downloaded Flex Builder 3 Trial from Adobe's website.
    Now I want to use the Vector class, but this code for example:
      var v:Vector.<String>;
      v = new Vector.<String>();
    Gives me this error:
    1046: Type was not found or was not a compile-time constant: Vector.
    At the IDE, going to
      Window -> Preferences -> Flex -> Installed Flex SDKs
    I can see that I have Flex 3.2 SDK.
    Even more than that: When I search for "Vector" in the help ("Adobe® Flex™ 3 Language Reference") I can see all the details about Vector.
    What can I do?
    I'd like to avoid installing any newer SDKs due to all the bugs I see listed here in the forums.
    Thank you!

    It looks like you are trying to type Java code in Flex Builder.  Flex applications are generally built using ActionScript.
    These docs might help you learn ActionScript:
    http://www.flexafterdark.com/docs/ActionScript-Language
    http://www.flexafterdark.com/docs/ActionScript-vs-Java
    I hope that helps...
    Ben Edwards

  • Server Startup Class Exception - Where do the startup classes go?

    Trying to get the server to run a class at startup. It complains it
    can't find my startup class. I have it in a jar file in the app-inf
    directory. Should it go someplace else?
    thanks

    Add the startup classes jar file to the APP-INF/lib directory.
    Jay Zimmett <[email protected]> wrote:
    Trying to get the server to run a class at startup. It complains it
    can't find my startup class. I have it in a jar file in the app-inf
    directory. Should it go someplace else?
    thanks

  • Where is the MXParserFactory class ?

    Where do I find com.bea.xml.stream.MXParserFactory ?
    XMLInputFactory factory = XMLInputFactory.newInstance();
    XMLEventReader r =
    factory.createXMLEventReader(new FileReader(filename));
    while(r.hasNext()) {
    XMLEvent e = r.nextEvent();
    System.out.println("ID:"+e.hashCode()+"["+e+"]");
    Exception in thread "main" javax.xml.stream.FactoryConfigurationError: Provider com.bea.xml.stream.MXParserFactory not found
    at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:72)
    at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:176)
    at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
    at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136)

    or: http://workshop.bea.com/xmlbeans/jsr173v1/jsr173.jar

  • Could not find the main class: projectRFID.ProjectGUI. Program will exit.

    Hello,
    I'm quite new in Java. I have an application with GUI. When I'm using Eclipse version 3.4.0 to run the application, all it is working perfect.
    But after I generate the jar from Eclipse, using the manifest file option from there and added the ProjectGUI to it, where is the main class, and try to run from the command line I receive the next error:
    root@slax:~/workspace# java -jar rfid.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: projectRFID/ProjectGUI
    Caused by: java.lang.ClassNotFoundException: projectRFID.ProjectGUI
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    Could not find the main class: projectRFID.ProjectGUI. Program will exit.
    root@slax:~/workspace#
    I run this application on a SLAX system with jdk6 update 7.
    I tried to generate the jar file even from the command line using the manifest file option but I still receive the same error.
    I hope somebody can help me!
    Thank you!

    cojogrizli wrote:
    The structure of my project in Eclipse is src/project/files.java and in jar file is src/files.java bin/class.java Dati/ and META-INF/.That's wrong. You don't need the .java files in the jar (but you can have them, if you want, they are just not used by Java).
    And each .class file must be in a directory that reflects its package. So in your example ProjectGUI.class must be in the directory projectRFID/ inside the .jar file.

Maybe you are looking for

  • HOW TO DISPLAY VENDOR WITH NO OPEN CLEARED ITEMS

    Hi All,          We want to delete some of the vendors which do not have any open or cleared items. Can anyone tell me the report ,T Code or ant table which we can run to display the vendors with no open ,clear items.

  • MS Office not working with OS 10.7.5 (Lion).  How do i fix this?

    MS Office not working with OS 10.7.5 (Lion).  How do i fix this?

  • SQL Developer MAC problem

    Hi today i begun working with SQL Developer in the University but when i tried to install at home in my mac i can't run it because i think i can't install java for OS X Lion. I tried to download this http://support.apple.com/kb/DL1421 but when i try

  • Link creation while typing

    Hi, I am using TLF TextFlow as rich text editor. The editor is capable of detecting the hyperlink & convert it into actionable link. Iam trying with adding event: CompositionCompleteEvent.COMPOSITION_COMPLETE exporting text then using regular express

  • Testrun error in posting depreciation run (AFAB)

    Dear All, I got  testrun error when I posting depreciation run (AFAB) so I have checked  acc.dep as technical massage everything look find. I think it need more config in somewhere. Anyone please suggest me how to fix this. Account 'Acc.dep. accnt.fo