Cannot create more JMS connection

Hi,
I got the following error:
WARNING: RAR5117 : Failed to obtain/create connection from connection pool [ jms/batchExecutorMDBConnectionFactoryPool ]. Reason : com.sun.appserv.connectors.internal.api.PoolingException: In-use connections equal max-pool-size and expired max-wait-time. Cannot allocate more connections.I have cleared all messages in the queue, redeployed my application. But somehow the connections still existed in the connection pool and therefore i always see this error appearing whenever i re-launch my application.
I created JMS connection locally and close it immediately after sending message as suggested out there to avoid connection leaking.
Could you help me how to clear all connections in order to re-run my application. Then slowly i can find out where the connection leaking is?
I am using glassfish 3.1.2 with the setting 500 maximum connection in the jms connection factory
thanks,
-CM

CardM wrote:
Could you help me how to clear all connections in order to re-run my application. Then slowly i can find out where the connection leaking is?
I am using glassfish 3.1.2 with the setting 500 maximum connection in the jms connection factoryErrr, reboot the server?
Glassfish questions should go in the glassfish forum: http://www.java.net/forums/glassfish/glassfish

Similar Messages

  • Cannot create a new connection

    I have created connections in the past with no problems. Today I upgraded to V2 and had exported my connections and so imported them to the new version. Since then I cannot create a new connection.
    Right clicking and selecting New Connection does nothing, whereas clicking new and selecting Database Connection results in a java.lang.NullPointerException error.
    I have done a full re-install of Raptor from the original files and switched off my PC, but no luck.

    Gareth, try the existing thread, and see if that helps:
    Can't create a connection
    the Search forum is a good place to start for most problems

  • Cannot create an Essbase connection from Workspace

    Hi all,
    I have a new install and I cannot create a Essbase connection from Workspace. I can successfully create the essbase connection from Reporting Studio but I can't use that connection from Workspace. It seems like Workspace can't connect to Essbase. Has anyone experienced this before? Thanks...

    Workspace can connect to Essbase. To connect to Essbase perform the below task:
    1) Install Essbase Client on the Server where you have install BI Services.
    2) Configure DAS by using Service Configurator.
    3) Create an OCE which should connect to Essbase Server.
    4) Import OCE in to Workspace. Use this oce to create connection.
    Hope this helps you.
    Regards,
    Manmohan Sharma

  • BO4 - cannot create new universe connections

    Hi,
    In Universe Design Tool, trying to create new universe connections but not allowing this.
    Doesn't show all the data access drivers we have installed.
    Can migrate connections fine from XIR2 fine and reports run O.K
    Why cannot create new universe connections
    Many Thanks

    Hi,
    there are some notes about this in the knowldge base. Here are a couple:
    For ODBC, Note   1272557 - Data Access Drivers missing while creating a new connection in Designer
    for JDBC, Note 1481410 - JDBC Drivers do not appear in the List Of Drivers when Creating a New Universe Connection in Universe Designer
    Can you hit www.service.sap.com/notes to look them up?
    Regards,
    H

  • I am not able to create a JMS connection from a custom component in UCM

    I am trying to create a custom component which makes a JMS connection and inserts messages in JMS Queue.
    THe JMS server is hosted on Weblogic Application Server.
    When the code runs I am getting the factory object and the queue object.
    But when I try to get a connection it throws an error as pasted below.
    WHen I googled the same error It has shown a simliar problem in TOmcat in sun thread
    It said two jar files xerces.jar and xml-apis.jar are obsolete.
    I replaced with the new version.
    still the same problem occurred
    Please help
    Pasting the code and exception here
    Code __________________________________________
    import java.util.Date;
    import java.util.Hashtable;
    import javax.jms.*;
    import javax.naming.*;
    import weblogic.jms.client.WLConnectionImpl;
    import weblogic.jms.extensions.*;
    import javax.rmi.PortableRemoteObject;
    public class SimpleProducer {
    public static void drive() {
    final int NUM_MSGS;
         NUM_MSGS = 93;
    Context jndiContext = null;
    Hashtable<String, String> ht;
              ht = new Hashtable<String, String>();
              ht.put(Context.INITIAL_CONTEXT_FACTORY,
                        "weblogic.jndi.WLInitialContextFactory");
              ht.put(Context.PROVIDER_URL, "t3://punitp52975d:7001");
    try {
         jndiContext = new InitialContext(ht);
    } catch (NamingException e) {
    System.out.println("Could not create JNDI API context: " +
    e.toString());
    System.exit(1);
    ConnectionFactory connectionFactory = null;
    Destination dest = null;
    try {
                   Object home = jndiContext.lookup("CNFT"); // where iiopTestDS is jndi name for my DataSource.
    connectionFactory =(ConnectionFactory)PortableRemoteObject.narrow(home , ConnectionFactory.class);
         Object home1 = jndiContext.lookup("QUEUE2"); // where iiopTestDS is jndi name for my DataSource.
    dest =(Destination)PortableRemoteObject.narrow(home1 , Destination.class);
         /*connectionFactory = (ConnectionFactory) jndiContext.lookup(
    "CNFT");
    dest = (Destination) jndiContext.lookup("QUEUE2");
    System.out.println("connectionFactory,dest "+connectionFactory+dest);*/
    } catch (Exception e) {
    System.out.println("JNDI API lookup failed: " + e.toString());
    e.printStackTrace();
    System.exit(1);
    //WLConnectionImpl connection = null;
    WLConnection connection = null;
    WLMessageProducer producer = null;
    try {
                   System.out.println("Getting Connection "+(WLConnection) connectionFactory.createConnection());
    //connection = (WLConnection) connectionFactory.createConnection();
                   System.out.println("Connection created");
    WLSession session =
    (WLSession) connection.createSession(false, Session.CLIENT_ACKNOWLEDGE);
    producer = (WLMessageProducer) session.createProducer(dest);
    WLMessage message = (WLMessage) session.createTextMessage();
    //TextMessage message = session.createTextMessage();
    for (int i = 91; i < NUM_MSGS; i++) {
    ((TextMessage) message).setText("This is message " + (i + 1));
    Long l = new Date().getTime();
    message.setLongProperty("ReleasedDate",l );
    System.out.println("Sending message: " + ((TextMessage) message).getText());
    producer.send(message);
    producer.send(session.createMessage());
    } catch (Exception e) {
    System.out.println("Exception occurred: " + e.toString());
    } catch (Throwable et) {
    System.out.println("Exception occurred: " + et.toString());
    et.printStackTrace();
    finally {
    if (connection != null) {
    try {
    connection.close();
    } catch (Exception e) {
                             System.out.println("*************Instantiating Producer***************");
    Exception_________________________________________________________________
    Exception occurred: java.lang.NoSuchMethodError: javax.xml.parsers.SAXParserFactory.getSchema()Ljavax/xml/validation/Schema;
    java.lang.NoSuchMethodError: javax.xml.parsers.SAXParserFactory.getSchema()Ljavax/xml/validation/Schema;
    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.<init>(SAXParserImpl.java:124)
    at com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl.newSAXParserImpl(SAXParserFactoryImpl.java:115)
    at com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl.setFeature(SAXParserFactoryImpl.java:143)
    at weblogic.xml.jaxp.WebLogicSAXParserFactory.<init>(WebLogicSAXParserFactory.java:62)
    at weblogic.rmi.internal.wls.WLSRMIEnvironment.getSAXParser(WLSRMIEnvironment.java:136)
    at weblogic.rmi.internal.DescriptorManager.getDescriptorAsMap(DescriptorManager.java:170)
    at weblogic.rmi.internal.DescriptorManager.getDescriptorAsMap(DescriptorManager.java:159)
    at weblogic.rmi.internal.DescriptorManager.createRuntimeDescriptor(DescriptorManager.java:104)
    at weblogic.rmi.internal.DescriptorManager.getBasicRuntimeDescriptor(DescriptorManager.java:85)
    at weblogic.rmi.internal.DescriptorManager.getDescriptor(DescriptorManager.java:51)
    at weblogic.rmi.internal.DescriptorManager.getDescriptor(DescriptorManager.java:37)
    at weblogic.rmi.internal.OIDManager.makeServerReference(OIDManager.java:194)
    at weblogic.rmi.internal.OIDManager.getReplacement(OIDManager.java:175)
    at weblogic.rmi.utils.io.RemoteObjectReplacer.replaceRemote(RemoteObjectReplacer.java:120)
    at weblogic.rmi.utils.io.RemoteObjectReplacer.replaceObject(RemoteObjectReplacer.java:103)
    at weblogic.rmi.extensions.server.ServerHelper.exportObject(ServerHelper.java:223)
    at weblogic.rmi.internal.OIDManager.initializeDGCServer(OIDManager.java:231)
    at weblogic.rmi.internal.OIDManager.getReplacement(OIDManager.java:144)
    at weblogic.rmi.utils.io.RemoteObjectReplacer.replaceRemote(RemoteObjectReplacer.java:120)
    at weblogic.rmi.utils.io.RemoteObjectReplacer.replaceObject(RemoteObjectReplacer.java:103)
    at weblogic.rmi.extensions.server.ServerHelper.exportObject(ServerHelper.java:223)
    at weblogic.corba.server.naming.ReferenceHelperImpl.exportObject(ReferenceHelperImpl.java:233)
    at weblogic.rmi.extensions.PortableRemoteObject.exportObject(PortableRemoteObject.java:34)
    at weblogic.messaging.dispatcher.DispatcherImpl.export(DispatcherImpl.java:85)

    This is probably related to this other issue http://www.adobeforums.com/webx/.59b7fbab/0.
    Jasmin

  • Cannot create SOA-MDS connection for JDBC driver issue

    I am unable to create a SOA-MDS connection in JDeveloper 11.1.1.6. We are using MS SQL Server database and have put the sqljdbc4.jar file into a library in our JDeveloper environments. We can use this to sucessfully create database connections.
    However, when we attempt to configure a SOA-MDS connection which uses our DEV_MDS connection (which uses the com.microsoft.sqlserver.jdbc.SQLServerDriver successfully), we do not see anything in the drop down list for 'Select MDS partition'.
    While looking at the Messages, log, we're getting:
    WARNING: Error reading db partitions for connection DEV_MDS. Reason: MDS-0003: error connecting to the database
    Error during pool creation in Universal Connection Pool Manager MBean
    ...ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerXADataSource
    I opened our sqljdbc4.jar file and see both the SQLServerXADataSource.class and SQLServerDriver.class files in there.
    So why can JDeveloper load one of them but not the other at runtime? Do I need to add the sqljdbc4.jar to a second location (besides a custom Library) in order for the Universal Connection Pool Manager MBean to load it via JDeveloper?
    Please advise,
    Michael
    NOTE: I can manually query the database and see 'soa-infra', 'owsm' and 'obpm' partitions just fine.
    Edited by: mscongdon on Aug 14, 2012 9:33 AM

    Hi,
    Do you use MS SQL Server as your MDS database? Did you create an MDS in it using RCU?
    When you created the database connection in JDeveloper could you test it succesfully? Can you connect to it with the Database Navigator?
    Regards,
    Martien

  • Cannot create a database connection

    Hi,
    I am installing WebCenter Suite 11g. In the first time I install oracle 11g in a VM since the oracle 10.2.0.2 is running in my machine and it cannot be stopped.
    The VM is in my machine.
    In the DB of VM, I create a user named user2 for testing and connect it via SQL developer.
    username: test2
    password: test2
    Host name: 192.168.222.222
    Port: 1521
    SID: orcl
    It works.
    Then, I install the RCU in my machine (not in VM). The rcu need me to key in the DB information.
    Host name: 192.168.222.222
    Prot: 1521
    Service name: orcl
    username: sys
    passord:********
    Role: SYSDBA
    However, it shows error messages:
    Unable to connect to the database useing the provided details.
    Please enter a valid hostname and port or check if the listener is up and running
    I also try to create a connection in oracle (10.2.0.2) Net manager (my machine, not the VM) and key the above information. However, it is failed.

    I check the IP address of VM and find the correct IP address is 192.168.1.30
    I also key in this address in to network connection of the VM. Then, I close the firewall.
    Then, in my machine, I can ping this addresss.
    In the VM, I can create database connection using 192.168.222.222 as host name. If I use 192.168.1.30 as hostname, the connection cannot be connected.
    But when I install the RCU, and key in the following information, it still shows error:
    Unable to connect to the database using the provided details.
    Please enter a valid hostname and port or check if the listener is up and running. But the oracle in VM is running.
    Host name: 192.168.1.30
    Port: 1521
    Service name: orcl
    username: sys
    password: ********
    Role: SYSDBA

  • Cannot create/maintain JCO connection : NullPointerException in SLD

    When I want to create a new JCO connection in SLD (via WebDynpro->Content Administrator) , I get an exception :
    java.lang.NullPointerException
         at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.checkStatus(SystemLandscapeFactory.java:991)
         at com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscape.checkStatus(WDSystemLandscape.java:469)
         at com.sap.tc.webdynpro.tools.sld.NameDefinition.updateJCODestinations(NameDefinition.java:285)
         at com.sap.tc.webdynpro.tools.sld.NameDefinition.updateNavigation(NameDefinition.java:250)
         at com.sap.tc.webdynpro.tools.sld.NameDefinition.wdDoInit(NameDefinition.java:157)
    Because the following document "[Adaptive RFC Troubleshooting Guide|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0019b1a-775f-2910-beb8-d81f27d0d8d0]" suggests that the problem could be an incomplete JCO connection definition, I removed all other existing connections (it's a sandbox system), but this action has not solved the problem.
    I also get the message "Exception while getting JCo Clients Failed to get list of defined JCO clients for deployable object 'sap.com/spider_search' " when the Content Administrator screen is displayed.
    Any idea of what is missing ?
    Thanks,
    Eric.

    Hi Eric,
    Check this forum link using this similar problem got resolved.
    can not create jco destination  500   Internal Server Error  after sp 13
    Thanks
    Anup

  • Cannot create a hybrid connection in website

    I want to add a hybrid connection to a brand new website but every time I try to create one, I get the same generic error:
    "Failed to create hybrid connection
    Failed to create hybrid connection <connection_name>. There was an error processing your request. Please try again in a few moments."
    I've recreated the site several times, in all 3 subscriptions we have, and the same thing happens in all of them. I also tried creating the site in a Free and in a Shared hosting plan. A coworker tried creating a new hybrid connection in a separate (personal)
    Azure subscription he has access to, on a site with a Free hosting plan, and that one was created without problems.
    Any ideas of what could be the issue?

    Hi Alexvy,
    For this issue, I recommend you follow this document :
    http://azure.microsoft.com/en-us/documentation/articles/web-sites-hybrid-connection-get-started/
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Cannot create a sybase connection pool

    I am trying to migrate from Orion app server to Sun One appserver. Here is how I define the connection pool for orion
         <data-source class="com.evermind.sql.DriverManagerDataSource"
                                       name="TestPool"
                                       location="jdbc/rumbaDataSource"
                                       xa-location="jdbc/xa/rumbaPool"
                                       ejb-location="jdbc/rumbaPool"
                                       connection-driver="com.sybase.jdbc2.jdbc.SybXADataSource"
                                       connection-retry-interval="60"
                                       username="test"
                                       password="test"
                                       url="jdbc:sybase:Tds:3.23.24.25:20000/abc?HOSTNAME=rumba"
                                       inactivity-timeout="300"
                                       min-connections="6"
                                       max-connections="75"
         />
    This is how my connection pool appears in Sun ONE
    <jdbc-connection-pool steady-pool-size="8" max-pool-size="32" max-wait-time-in-millis="60000" pool-resize-quantity="2" idle-timeout-in-seconds="300" is-isolation-level-guaranteed="false" is-connection-validation-required="false" connection-validation-method="auto-commit" fail-all-connections="false" datasource-classname="com.sybase.jdbc2.jdbc.SybXADataSource" name="TestPool">
    <property value="3.23.24.25" name="serverName"/>
    <property value="20000" name="portNumber"/>
    <property value="jdbc:sybase:Tds:" name="networkProtocol"/>
    <property value="test" name="user"/>
    <property value="test" name="password"/>
    <property value="abc" name="databaseName"/>
    </jdbc-connection-pool>
    But, I am unable to make a connection using this connection pool

    Here is the exception
    SEVERE: RAR5041:Cannot get jdbc connection
    com.sun.enterprise.repository.J2EEResourceException
    java.lang.NoSuchMethodException: seturl
    at com.sun.enterprise.repository.JdbcConnectionPool.createDataSource(Jdb
    cConnectionPool.java:243)
    at com.sun.enterprise.resource.JdbcUrlAllocator.createResource(JdbcUrlAl
    locator.java:80)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.createSteadyReso
    urces(IASNonSharedResourcePool.java:856)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.initPool(IASNonS
    haredResourcePool.java:416)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResou
    rce(IASNonSharedResourcePool.java:625)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASN
    onSharedResourcePool.java:520)
    at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolM
    anagerImpl.java:263)
    at com.sun.enterprise.resource.JdbcXAConnection.<init>(JdbcXAConnection.
    java:74)
    at com.sun.enterprise.resource.Jdbc10XaAllocator.createResource(Jdbc10Xa
    Allocator.java:94)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.createSteadyReso
    urces(IASNonSharedResourcePool.java:856)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.initPool(IASNonS
    haredResourcePool.java:416)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResou
    rce(IASNonSharedResourcePool.java:625)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASN
    onSharedResourcePool.java:520)
    at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolM
    anagerImpl.java:263)
    at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerIm
    pl.java:170)
    at com.sun.enterprise.resource.JdbcDataSource.internalGetConnection(Jdbc
    DataSource.java:241)
    at com.sun.enterprise.resource.JdbcDataSource.getConnection(JdbcDataSour
    ce.java:124)
    at samples.jdbc.simple.servlet.GreeterDBLogDisplayServlet.doGet(Unknown
    Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.StandardWrapperValve.invokeServletService(St
    andardWrapperValve.java:720)
    at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrap
    perValve.java:118)
    at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperVa
    lve.java:278)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:274)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:505)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:212)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:505)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:203)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:505)
    at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProce
    ssor.java:157)
    at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)
    INFO: CORE3282: stdout: - Could not interact with the database
    INFO: CORE3282: stdout: - Exception: java.sql.SQLException: com.sun.enterprise.r
    epository.J2EEResourceException
    WARNING: CORE3283: stderr: at com.sun.enterprise.repository.JdbcConnectionP
    ool.createDataSource(JdbcConnectionPool.java:238)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.JdbcUrlAllocator.
    createResource(JdbcUrlAllocator.java:80)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResou
    rcePool.createSteadyResources(IASNonSharedResourcePool.java:856)
    INFO: CORE3282: stdout: java.lang.NoSuchMethodException: seturl
    INFO: CORE3282: stdout: Closing statement...
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResou
    rcePool.initPool(IASNonSharedResourcePool.java:416)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResou
    rcePool.internalGetResource(IASNonSharedResourcePool.java:625)
    INFO: CORE3282: stdout: - Could not close the statement and connection
    INFO: CORE3282: stdout: GreeterDBLogDisplayServlet is all done
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResou
    rcePool.getResource(IASNonSharedResourcePool.java:520)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.PoolManagerImpl.g
    etResourceFromPool(PoolManagerImpl.java:263)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.JdbcXAConnection.
    <init>(JdbcXAConnection.java:74)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.Jdbc10XaAllocator
    .createResource(Jdbc10XaAllocator.java:94)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResou
    rcePool.createSteadyResources(IASNonSharedResourcePool.java:856)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResou
    rcePool.initPool(IASNonSharedResourcePool.java:416)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResou
    rcePool.internalGetResource(IASNonSharedResourcePool.java:625)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.IASNonSharedResou
    rcePool.getResource(IASNonSharedResourcePool.java:520)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.PoolManagerImpl.g
    etResourceFromPool(PoolManagerImpl.java:263)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.PoolManagerImpl.g
    etResource(PoolManagerImpl.java:170)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.JdbcDataSource.in
    ternalGetConnection(JdbcDataSource.java:241)
    WARNING: CORE3283: stderr: at com.sun.enterprise.resource.JdbcDataSource.ge
    tConnection(JdbcDataSource.java:124)
    WARNING: CORE3283: stderr: at samples.jdbc.simple.servlet.GreeterDBLogDispl
    ayServlet.doGet(Unknown Source)
    WARNING: CORE3283: stderr: at javax.servlet.http.HttpServlet.service(HttpSe
    rvlet.java:740)
    WARNING: CORE3283: stderr: at javax.servlet.http.HttpServlet.service(HttpSe
    rvlet.java:853)
    WARNING: CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve
    .invokeServletService(StandardWrapperValve.java:720)
    WARNING: CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve
    .access$000(StandardWrapperValve.java:118)
    WARNING: CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve
    $1.run(StandardWrapperValve.java:278)
    WARNING: CORE3283: stderr: at java.security.AccessController.doPrivileged(N
    ative Method)
    WARNING: CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve
    .invoke(StandardWrapperValve.java:274)
    WARNING: CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.inv
    oke(StandardPipeline.java:505)
    WARNING: CORE3283: stderr: at org.apache.catalina.core.StandardContextValve
    .invoke(StandardContextValve.java:212)
    WARNING: CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.inv
    oke(StandardPipeline.java:505)
    WARNING: CORE3283: stderr: at org.apache.catalina.core.StandardHostValve.in
    voke(StandardHostValve.java:203)
    WARNING: CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.inv
    oke(StandardPipeline.java:505)
    WARNING: CORE3283: stderr: at com.iplanet.ias.web.connector.nsapi.NSAPIProc
    essor.process(NSAPIProcessor.java:157)
    WARNING: CORE3283: stderr: at com.iplanet.ias.web.WebContainer.service(WebC
    ontainer.java:598)

  • Creating more then 1 statement in one connection in SQL server

    hi
    am using sql server as my database.here i cannot create more then one statement in the i connections....why does this happen
    secondly is it preferable to create 'x' number of connections at the start of the application or create a connection as and when required...
    Pls if anyone can help me...
    regards
    Praveena

    hi,
    if i'm not wrong try to close the already creted statment if ur creating another with the same nmae otherwise it should not be a problem creating set of statements.u can create any number of statement with a single connections.u need not open connection for every statement.hope this helps u out
    bye

  • Database Connection Error Cannot create PoolableConnectionFactory

    Hello everyone,
    Background:
    I have a newly installed and configured Ubuntu server running Tomcat5.5 and Mysql 5.0. This server was created in an attempt to migrate from a Red Hat server in a similar configuration, running the exact same webapp. Most of the configuration/classpath differences between the two platforms have been ironed out.
    The Problem:
    When our webapp trys to connect to the database on localhost, an exception 'java.security.AccessControlException: access denied (java.net.SocketPermission localhost resolve)' is generated.
    The server.xml configuration is below:
    <Resource name="jdbc/EconDollarsDB"
    auth="Container"
    type="javax.sql.DataSource"
    username="user"
    password="pass"
    driverClassName="com.mysql.jdbc.Driver"
    url="jdbc:mysql://localhost:3306/DBName?autoReconnect=true"
    maxActive="20" maxIdle="5"
    />I can connect to the database just fine using the command line client and the same username/password combo. This configuration has been working fine for at least a year on the older server. The only similar problems I have found on the net (meaning the same exception is generated) involve applets and attempts to connect to different hosts. This case involves a webapp, connecting to localhost, using a configuration that is known to work! I am simply baffled.
    The following stacktrace is generated:
    javax.servlet.ServletException: Database Connection Error
    Cannot create PoolableConnectionFactory (Server connection failure during transaction. Due to underlying exception: 'java.security.AccessControlException: access denied (java.net.SocketPermission localhost resolve)'.
    ** BEGIN NESTED EXCEPTION **
    java.security.AccessControlException
    MESSAGE: access denied (java.net.SocketPermission localhost resolve)
    STACKTRACE:
    java.security.AccessControlException: access denied (java.net.SocketPermission localhost resolve)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
         at java.security.AccessController.checkPermission(AccessController.java:427)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
         at java.lang.SecurityManager.checkConnect(SecurityManager.java:1031)
         at java.net.InetAddress.getAllByName0(InetAddress.java:1117)
         at java.net.InetAddress.getAllByName0(InetAddress.java:1098)
         at java.net.InetAddress.getAllByName(InetAddress.java:1061)
         at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:137)
         at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:276)
         at com.mysql.jdbc.Connection.createNewIO(Connection.java:2769)
         at com.mysql.jdbc.Connection.<init>(Connection.java:1531)
         at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
         at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
         at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
         at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)
         at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
         at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
         at edu.tamu.erl.database.dblibrary.plugin.TomcatConnectionFactory.getConnection(TomcatConnectionFactory.java:102)
         at edu.tamu.erl.database.dblibrary.DBManager.getConnection(DBManager.java:70)
         at edu.tamu.erl.database.dblibrary.DBManager.getDBDataAccessObjectList(DBManager.java:318)
         at edu.tamu.erl.econdollars.middletire.SessionManager.getSessionStatus(SessionManager.java:157)
         at edu.tamu.erl.econdollars.middletire.SessionManager.retallyDB(SessionManager.java:637)
         at org.apache.jsp.admin.login_jsp._jspService(login_jsp.java:88)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
         at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:50)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
    ** END NESTED EXCEPTION **
    Attempted reconnect 3 times. Giving up.)
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:846)
         org.apache.jasper.runtime.PageContextImpl.access$11(PageContextImpl.java:65)
         org.apache.jasper.runtime.PageContextImpl$12.run(PageContextImpl.java:766)
         java.security.AccessController.doPrivileged(Native Method)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:764)
         org.apache.jsp.admin.login_jsp._jspService(login_jsp.java:242)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
    edu.tamu.erl.database.dblibrary.DBLibraryBaseException: Database Connection Error
    Cannot create PoolableConnectionFactory (Server connection failure during transaction. Due to underlying exception: 'java.security.AccessControlException: access denied (java.net.SocketPermission localhost resolve)'.
    ** BEGIN NESTED EXCEPTION **
    java.security.AccessControlException
    MESSAGE: access denied (java.net.SocketPermission localhost resolve)
    STACKTRACE:
    java.security.AccessControlException: access denied (java.net.SocketPermission localhost resolve)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
         at java.security.AccessController.checkPermission(AccessController.java:427)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
         at java.lang.SecurityManager.checkConnect(SecurityManager.java:1031)
         at java.net.InetAddress.getAllByName0(InetAddress.java:1117)
         at java.net.InetAddress.getAllByName0(InetAddress.java:1098)
         at java.net.InetAddress.getAllByName(InetAddress.java:1061)
         at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:137)
         at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:276)
         at com.mysql.jdbc.Connection.createNewIO(Connection.java:2769)
         at com.mysql.jdbc.Connection.<init>(Connection.java:1531)
         at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
         at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
         at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
         at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)
         at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
         at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
         at edu.tamu.erl.database.dblibrary.plugin.TomcatConnectionFactory.getConnection(TomcatConnectionFactory.java:102)
         at edu.tamu.erl.database.dblibrary.DBManager.getConnection(DBManager.java:70)
         at edu.tamu.erl.database.dblibrary.DBManager.getDBDataAccessObjectList(DBManager.java:318)
         at edu.tamu.erl.econdollars.middletire.SessionManager.getSessionStatus(SessionManager.java:157)
         at edu.tamu.erl.econdollars.middletire.SessionManager.retallyDB(SessionManager.java:637)
         at org.apache.jsp.admin.login_jsp._jspService(login_jsp.java:88)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
         at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:50)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
    ** END NESTED EXCEPTION **
    Attempted reconnect 3 times. Giving up.)
         edu.tamu.erl.database.dblibrary.plugin.TomcatConnectionFactory.getConnection(TomcatConnectionFactory.java:105)
         edu.tamu.erl.database.dblibrary.DBManager.getConnection(DBManager.java:70)
         edu.tamu.erl.database.dblibrary.DBManager.getDBDataAccessObjectList(DBManager.java:318)
         edu.tamu.erl.econdollars.middletire.SessionManager.getSessionStatus(SessionManager.java:157)
         edu.tamu.erl.econdollars.middletire.SessionManager.retallyDB(SessionManager.java:637)
         org.apache.jsp.admin.login_jsp._jspService(login_jsp.java:88)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)Any help would be greatly appreciated.

    Hi,
    Its clearly saying the connect permission is missing with the current available policy.
    you add the following permisson entry to the <installed JRE>\lib\security\java.policy file.
    (e.g) C:\Program Files\Java\j2re1.4.2_08\lib\security\java.policy
    permission java.security.AllPermission;
    grant{
    permission java.security.AllPermission;
    If the application is running standalone then the code is allowed uncontrolled access but for webapplicatons running through browser, the security check is performed for the configured JRE.
    Regards
    Karthik
    <[email protected]>

  • Error when creating a new JMS connection factory in GlassFish V3 b57

    When I use the admin console and try to create a new JMS connection factory in GlassFish V3 b57, the operation fails with the error message
    An error has occurred: Can't find ConfigModel.Property for attr -connection-validation-required on interface com.sun.enterprise.config.serverbeans.ConnectorConnectionPool
    Should I better report this in the GlassFish news forum (http://forums.java.net/jive/forum.jspa?forumID=56&start=0)?
    p.s. I launch the admin console from within NetBeans 6.7.1 (the server started before the IDE). WIth version b 56, creating a JMS connection factory worked fine.
    Best regards,
    Michael Justin

    This bug does not apear in the nightly build (b58) now so everything looks fine again.
    Greetings,
    Michael

  • Java Enterprise Studio 8.1 cannot create a websphere server

    I just downloaded Java Enterprise Studio 8.1 and follows the instruction here
    http://developers.sun.com/jsenterprise/reference/techart/jse8_1/websphere.html
    to create a server to connect to a local websphere install. However, when I clicked the Next button after selecting Websphere on the first step, nothing
    happens, although the wizard When I clicked the Next button
    again, the wizard jumps to step 3 and the Finish button is disabled. So I cannot
    create a websphere connection. The websphere seem to work for other server type. Am I missing something? Has anyone successfully created a websphere connection?

    This is the stack trace I find in the log file:
    *********** Exception occurred ************ at 5:38 PM on Jul 17, 2007
    java.lang.reflect.UndeclaredThrowableException
         at $Proxy15.actionPerformed(Unknown Source)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
    [catch] at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.Dialog$1.run(Unknown Source)
         at java.awt.Dialog.show(Unknown Source)
         at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:810)
         at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:853)
         at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:841)
         at org.openide.util.Mutex.doEventAccess(Mutex.java:1172)
         at org.openide.util.Mutex.readAccess(Mutex.java:209)
         at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:826)
         at java.awt.Component.show(Unknown Source)
         at java.awt.Component.setVisible(Unknown Source)
         at org.netbeans.modules.j2ee.deployment.impl.ui.actions.AddServerInstanceAction.performAction(AddServerInstanceAction.java:36)
         at org.openide.util.actions.NodeAction$3.run(NodeAction.java:531)
         at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:47)
         at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:527)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.AbstractButton.doClick(Unknown Source)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:410)
         ... 63 more
    Caused by: java.lang.NullPointerException
         at org.netbeans.modules.j2ee.websphere6.ui.ServerProperties.updateInstanceInfo(ServerProperties.java:918)
         at org.netbeans.modules.j2ee.websphere6.ui.ServerProperties.updateInstancesList(ServerProperties.java:906)
         at org.netbeans.modules.j2ee.websphere6.ui.wizard.WSInstantiatingIterator.setServerRoot(WSInstantiatingIterator.java:193)
         at org.netbeans.modules.j2ee.websphere6.ui.wizard.ServerLocationPanel.isValid(ServerLocationPanel.java:134)
         at org.openide.WizardDescriptor.updateState(WizardDescriptor.java:623)
         at org.netbeans.modules.j2ee.deployment.impl.ui.wizard.AddServerInstanceWizard.updateState(AddServerInstanceWizard.java:66)
         at org.openide.WizardDescriptor.goToNextStep(WizardDescriptor.java:798)
         at org.openide.WizardDescriptor.access$1000(WizardDescriptor.java:70)
         at org.openide.WizardDescriptor$7.run(WizardDescriptor.java:1629)
         at org.openide.WizardDescriptor.lazyValidate(WizardDescriptor.java:1161)
         at org.openide.WizardDescriptor.access$1100(WizardDescriptor.java:70)
         at org.openide.WizardDescriptor$Listener.actionPerformed(WizardDescriptor.java:1647)
         ... 68 more
    ==>
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:410)
         at $Proxy15.actionPerformed(Unknown Source)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
    [catch] at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.Dialog$1.run(Unknown Source)
         at java.awt.Dialog.show(Unknown Source)
         at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:810)
         at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:853)
         at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:841)
         at org.openide.util.Mutex.doEventAccess(Mutex.java:1172)
         at org.openide.util.Mutex.readAccess(Mutex.java:209)
         at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:826)
         at java.awt.Component.show(Unknown Source)
         at java.awt.Component.setVisible(Unknown Source)
         at org.netbeans.modules.j2ee.deployment.impl.ui.actions.AddServerInstanceAction.performAction(AddServerInstanceAction.java:36)
         at org.openide.util.actions.NodeAction$3.run(NodeAction.java:531)
         at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:47)
         at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:527)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.AbstractButton.doClick(Unknown Source)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.lang.NullPointerException
         at org.netbeans.modules.j2ee.websphere6.ui.ServerProperties.updateInstanceInfo(ServerProperties.java:918)
         at org.netbeans.modules.j2ee.websphere6.ui.ServerProperties.updateInstancesList(ServerProperties.java:906)
         at org.netbeans.modules.j2ee.websphere6.ui.wizard.WSInstantiatingIterator.setServerRoot(WSInstantiatingIterator.java:193)
         at org.netbeans.modules.j2ee.websphere6.ui.wizard.ServerLocationPanel.isValid(ServerLocationPanel.java:134)
         at org.openide.WizardDescriptor.updateState(WizardDescriptor.java:623)
         at org.netbeans.modules.j2ee.deployment.impl.ui.wizard.AddServerInstanceWizard.updateState(AddServerInstanceWizard.java:66)
         at org.openide.WizardDescriptor.goToNextStep(WizardDescriptor.java:798)
         at org.openide.WizardDescriptor.access$1000(WizardDescriptor.java:70)
         at org.openide.WizardDescriptor$7.run(WizardDescriptor.java:1629)
         at org.openide.WizardDescriptor.lazyValidate(WizardDescriptor.java:1161)
         at org.openide.WizardDescriptor.access$1100(WizardDescriptor.java:70)
         at org.openide.WizardDescriptor$Listener.actionPerformed(WizardDescriptor.java:1647)
         ... 68 more
    ==>
    java.lang.NullPointerException
         at org.netbeans.modules.j2ee.websphere6.ui.ServerProperties.updateInstanceInfo(ServerProperties.java:918)
         at org.netbeans.modules.j2ee.websphere6.ui.ServerProperties.updateInstancesList(ServerProperties.java:906)
         at org.netbeans.modules.j2ee.websphere6.ui.wizard.WSInstantiatingIterator.setServerRoot(WSInstantiatingIterator.java:193)
         at org.netbeans.modules.j2ee.websphere6.ui.wizard.ServerLocationPanel.isValid(ServerLocationPanel.java:134)
         at org.openide.WizardDescriptor.updateState(WizardDescriptor.java:623)
         at org.netbeans.modules.j2ee.deployment.impl.ui.wizard.AddServerInstanceWizard.updateState(AddServerInstanceWizard.java:66)
         at org.openide.WizardDescriptor.goToNextStep(WizardDescriptor.java:798)
         at org.openide.WizardDescriptor.access$1000(WizardDescriptor.java:70)
         at org.openide.WizardDescriptor$7.run(WizardDescriptor.java:1629)
         at org.openide.WizardDescriptor.lazyValidate(WizardDescriptor.java:1161)
         at org.openide.WizardDescriptor.access$1100(WizardDescriptor.java:70)
         at org.openide.WizardDescriptor$Listener.actionPerformed(WizardDescriptor.java:1647)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:410)
         at $Proxy15.actionPerformed(Unknown Source)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
    [catch] at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.Dialog$1.run(Unknown Source)
         at java.awt.Dialog.show(Unknown Source)
         at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:810)
         at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:853)
         at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:841)
         at org.openide.util.Mutex.doEventAccess(Mutex.java:1172)
         at org.openide.util.Mutex.readAccess(Mutex.java:209)
         at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:826)
         at java.awt.Component.show(Unknown Source)
         at java.awt.Component.setVisible(Unknown Source)
         at org.netbeans.modules.j2ee.deployment.impl.ui.actions.AddServerInstanceAction.performAction(AddServerInstanceAction.java:36)
         at org.openide.util.actions.NodeAction$3.run(NodeAction.java:531)
         at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:47)
         at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:527)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.AbstractButton.doClick(Unknown Source)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)

  • Producer and Consumer  JMS Connections

    Hello,
    I am writing a JMS provider and I notice that Flex creates a
    JMS connection for a Producer and another JMS connection for a
    Consumer in my test application. Is this normal behavior for Flex
    or do I have a problem with my provider that is causing this?
    Thanks,
    Chris Shafer, George Weiss Associates

    If your goal is to have one JMS Consumer which receives
    messages and broadcasts them to Flex clients, you can do this
    without using the JMS adapter. Write some Java code either as a
    "message driven bean" or using the JMS apis directly to grab the
    JMS messages. You can then convert these messages to flex messages
    and send them to an ActionScriptAdapter flex messaging destination.
    See the Feed.java sample for the code necessary to do this. The
    trickiest part of this is getting the JMS messages in the first
    place. We are working on packaging up our JMS consumer apis so you
    can do this more easily in a future release.

Maybe you are looking for

  • G/L Posting using BAPI

    Hi All, I need to make a FI-GL posting through my code. These are the following fields which I need to pass for the posting. 1. Company Code 2. Currency 3. Document Date 4. Posting Date 5. Posting Key 6. G/L Accounts 7. Amount I have navigated throug

  • 2 steps STO - Load Transfer Points

    Hi gurus, Could you please advise how we could manage below flow. We would like to have a kind of 2 steps STO in case we have to deliver from Plant A to Plant C (STO with vendor Plant A and as receiving plant, Plant C) but we have to transit by Plant

  • Can I have iWork '11 installed on my MBP at the same time as iWork '13?

    I teach an OLLI (Osher Life Long Learning U of I) class for seniors on basic word processing, spreadsheets and presentaion programs using iWork.  Now that the new version is out some of my group will have an older version (I currently use '08) and so

  • Itunes V11 Freezing

    I recently purcahsed an Iphone 4S to replace my aging but perfectly usabel Iphone 3GS. In trying to sync up and restore my backuped applications etc from Itunes I could not get anything to work.  The Itunes program would freeze even if teh iphone was

  • Limit on the memory/size of the internal table

    Hi, Is there any limit on the size of internal table....? we are having some select statements that are fetching huge no. of records into the internal tables... can some of the records be missed  or is there any limit on the no. of records or size of