Cannot shutdown MaxDB instance

Hi Experts,
I have a Netweaver system which makes use of a MaxDB database.
Recently when I tried to shutdown the system by running 'stopsap' I received the following error:
There are still active users connected to the database.
On order to shutdown the database with stopdb you first have to stop all database applications. This includes MCOD instances and database utilities.
I have no idea how to disconnect active users or how to shutdown MCOD instances. None of the developers are connected to the system in any way. How can I disconnect the active users in order to shutdown the server?
Thank you,
JP

Hello JP,
to figure out which task is still connected to the database, you can use dbmcli:
dbmcli -d <db_name> -u <dbm-user>,<password>
> db_connect <dba-user>,<password>
> db_executenice select * from sessions
You'll get an output like this:
dbmcli on MAXDB1>db_executenice select * from sessions
OK
CONTINUE
SESSIONID                      = 984
OWN                            = 'NO'
SESSIONTYPE                    = 'OLTP'
ENCRYPTION                     = 'NO'
<b>STARTDATE                      = '20071010165801000000'</b><b>APPLICATIONNODE                = '<servername>'</b><b>APPLICATIONPROCESS             = 0</b>
APPLICATIONTYPE                = 'ODB'
USERNAME                       = 'DBADMIN'
As long as you see CONTINUE in the second row of the result, more results are available. You can list them with command
db_fetchnice
Using this information, you should be able to identify the connected user/application.
However, if you have already shut down the application and if you are sure that no users are executing important tasks e.g. with SQL Studio or DBMGUI, you can just stop the database with dbmcli command db_offline.
HTH,
Melanie

Similar Messages

  • Error message when starting MaxDB instance

    I am getting the following Error message when starting the MaxDB instance after a series of failed attempts at starting the DB Manager Backup for our PI 7.1 server.
    "-24994,ERR_RTE: Runtime environment error
    1,Cannot create ipc db directories for SID (OS error code 11000)"
    Max DB version : 7.7.02
    Does anyone have any specific pointers on where the issue could be.
    Any help is greatly appreciated.
    Regards,
    Murali Narayanan

    Hi gurus,
    I'm a complete newbye searching the forums in order to decrypt what is inconsistent to me (I'm acting as a substitute for a real dba): a sapdb refusing any more connection due to an 'user space exhausted' issue.
    I do not even know if/where some admin tool is/isn't installed - eventually, what to look for - onto the running demianapachetomcat framework. Actually, all I have been provided was: 1. call 'Henplus' (done); 2. connect this way (jdbc:sapdb://localhost/database&options) and 3. select, upgrade, delete what needed. Problem arises on point (2): connection resufed 'user space exhausted'.
    My question is: this issue seems so similar to mine, how can one eventually check/modify this '/sapdb directory space'?
    Thanks in advance for any (much appreciated) hint, and be patient about my English and newbyeness (?).
    MaxM

  • How to uninstall MAxDB instance

    Hi,
    I am not able to uninstall MAXDB instance.
    it gives error as follows when I try to remove using control panel.:-
    start uninstallation now (y/n)?y
    found instance J2E
    cannot remove package "Database Kernel": fir
    fatal error at Mo, Jul 10, 2006 at 11:23:18

    Sorry Naveen, I forgot in the other post.
    The below statment means that you did not uninstall Web AS properly and you still have an instance left.
    start uninstallation now (y/n)?y
    found instance J2E
    So, First uninstall the J2E instance correctly. As I posted you have to go to the 
    usr\sap\J2E\JCOO and click uninstsap.exe
    IMPORTANT : Select complete removal the second option. This will completely remove all the instances and all remaining data.
    Kumar

  • [JS, CS4] TextFrame.extractLabel() cannot work with instances of this class

    I have script, which has been working fine in CS3. In CS4 ( app.version = 6.0.1.532 ) however, I get an error using extractLabel, after reading out a couple of other properties from a textframe:
    frameObject.extractLabel('name')
    Error: TextFrame.extractLabel() cannot work with instances of this class
    Up until reading one of the "normal" properties, such as (frameObject.)contents I can call the frameObject.extractLabel('name') without errors, but after "looking at" (by assigning to a variable in code, or by getting the value in the javascript console), the contents propery (or as it seems any normal property) the extractLabel method results in the error above.
    It seems to work to move all of the frameObject.extractLabel calls to the beginning of the function, but I don't think I should need to do that.
    It might very well be the case that the label read by extractLabel has no contents, and has never been assigned. Is there a change in behaviour from CS3 in that sentence? If so, and if thats the reason for the error, is there then a way to determine whether the label has ever been assigned?
    Is this error familiar to anyone else?
    Best regards,
    Andreas

    Hi Andreas,
    Interesting problem!
    Your problems are caused by some peculiarities of itemByID. itemByID doesn't cast the object type properly. Dirk wrote about some aspects of this some time ago. If the scripting engine was strongly typed, this issue would probably be impossible but that would make scripting a lot more of an elitist activity!
    Your problem is that the object type is PageItem and you are accessing a TextFrame property (content). This seems to throw the object type for a loop.
    Using getElements() causes the scripting engine to rebuild the reference to the object correctly.
    Take a look at this code, which illustrates the issue quite well...
    var myDocument = app.documents.add();
    myDocument = app.activeDocument;
    myDocument.viewPreferences.horizontalMeasurementUnits = MeasurementUnits.points;
    myDocument.viewPreferences.verticalMeasurementUnits = MeasurementUnits.points;
    var myTextFrame = myDocument.pages.item(0).textFrames.add({geometricBounds:[72, 72, 144, 288], contents:"test"});
    var myId = myTextFrame.id;
    var pgItm = myDocument.pageItems.itemByID(myId);
    alert(pgItm instanceof PageItem);
    alert(pgItm instanceof TextFrame);
    var thisBounds = pgItm.geometricBounds;
    var x = pgItm.extractLabel('mandatory');
    var pgItm = myDocument.textFrames.itemByID(myId);
    alert(pgItm instanceof PageItem);
    alert(pgItm instanceof TextFrame);
    var thisName = pgItm.extractLabel('name');
    var thisContents = pgItm.contents;
    var x = pgItm.extractLabel('mandatory');
    Harbs

  • Cannot start second instance of collector

    Hi everyone
    I've got a strange one here. A workstation I noticed that wasn't scanned since 6 months (WinXP SP3, ZCM 10.3.1).
    When I check the ZAA windows, it says Last Scanned i.e. today, Last Upload June 2.
    I've found several errors 'Cannot start second instance of collector' in the local colw32.log.
    However, the workstation gets rebooted daily and I can't find another instance of colw32.exe running in TaskManager.
    How can I resolve this? I can't tell how many clients are affected. However, I've got almost 300 clients (15%) that haven't been scanned in the last 180 days...
    Thanks
    Roland

    Originally Posted by rpfenninger
    Hi everyone
    I've got a strange one here. A workstation I noticed that wasn't scanned since 6 months (WinXP SP3, ZCM 10.3.1).
    When I check the ZAA windows, it says Last Scanned i.e. today, Last Upload June 2.
    I've found several errors 'Cannot start second instance of collector' in the local colw32.log.
    However, the workstation gets rebooted daily and I can't find another instance of colw32.exe running in TaskManager.
    How can I resolve this? I can't tell how many clients are affected. However, I've got almost 300 clients (15%) that haven't been scanned in the last 180 days...
    Thanks
    Roland
    We had similar issue, inventory was never uploaded to server. To solve it we had to manually do a "Scan Now" from Zenworks agent -> Show properties -> Inventory -> Scan Now, after we did that once on the workstation then scheduled scans started to upload again.
    I guess it would probably also work if you do a Inventory scan from quick tasks in ZCC but I never tried it so I'm not sure.
    Thomas

  • MaxDB instance not able to connect through DBM tool

    Hello,
    We are facing very critical problem. MaxDB database instance is not able to connect from Database Manager tool. I tried everything. DB instance is down.
    I stopped apache ,DB instance then x_server. Then I started x_server , apache but when I 'm trying to connect MaxDB instance, getting "-4 connection refused". "Server refused the connection".
    I checked everything User password are Ok(superdba, control). I tried by rebooting server too.
    Could anybody  please help me out if faced this problem.
    Earlier everything working fine. But now  It 's not able to connect through DBM tool.
    Any help would of great help..
    Tks
    Anju

    Hi Anju,
    please re-read what I wrote.
    I didn't ask you to run
    x_ping -n -d
    but instead
    x_ping -n <hostname of database server> -d <DBSID>
    You've to fill in the correct values for
    <hostname of database server>
    and
    <DBSID>
    regards,
    Lars

  • Cannot create resource instance (Works on NetBeans/Tomcat)

    I have a project that works just fine in NetBeans w/ Tomcat but when I deploy it to Sun One Web Server 6.1 SP5 I get the following error:
    StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception
    javax.servlet.ServletException: Cannot create resource instance
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:536)
         at jsps.index_jsp._jspService(_index_jsp.java:91)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:687)
         at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:459)
         at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:375)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)
    ----- Root Cause -----
    javax.naming.NamingException: Cannot create resource instance
         at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:167)
         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:301)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:834)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:181)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:822)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:181)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:822)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:181)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:822)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:194)
         at org.apache.naming.SelectorContext.lookup(SelectorContext.java:183)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at jsps.index_jsp._jspService(_index_jsp.java:79)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:687)
         at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:459)
         at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:375)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)
    I have the following in my in context.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <Context path="/BOEnterpriseTest1">
    <Resource name="jdbc/dev10g" auth="Container" type="javax.sql.DataSource" driverClassName="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@10.10.10.10:1521:dev" username="userid" password="pwd" maxActive="20" maxIdle="10" maxWait="-1"/>
    </Context>
    I have the following in my web.xml:
    <resource-ref>
    <description>jdbc:oracle:thin:@10..10.10.10:1521:dev</description>
    <res-ref-name>jdbc/dev10g</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    What�s missing on the Sun One server?

    I am trying to do a refresh of a Crystal Reports report in a JSP.
    Using the web.xml looking like:
    <resource-ref>
    <description>jdbc:oracle:thin:@10.10.
    10.10:1521:dev10g</description>
    <res-ref-name>jdbc/dev10g</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Application</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    and code in my JSP:
    <%
    InitialContext initContext = new InitialContext();
    DataSource source = (DataSource) initContext.lookup("java:comp/env/jdbc/dev10g");
    Context initCtx = new InitialContext();
    Context envCtx = (Context) initCtx.lookup("java:comp/env");
    try{
    DataSource ds = (DataSource)initCtx.lookup("Data");
    catch ( NamingException e ){
    DataSource ds = (DataSource) initContext.lookup("java:comp/env/jdbc/dev10g");
    initCtx.bind("Data", ds);     
    I get the following error:
    WEB2720: Error initializing naming context for context /BOEnterpriseTest1
         javax.naming.NameNotFoundException: WEB3885: Name Data is not bound in this Context
              at org.apache.naming.NamingContext.lookup(NamingContext.java:811)
              at org.apache.naming.NamingContext.lookup(NamingContext.java:194)
              at com.iplanet.ias.web.WebModule.verifyResType(WebModule.java:510)
              at com.iplanet.ias.web.WebModule.bindResources(WebModule.java:410)
              at com.iplanet.ias.web.WebModule.bindGlobalResourceRefs(WebModule.java:352)
              at com.iplanet.ias.web.WebModule.createNamingContext(WebModule.java:323)
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:3718)
              at com.iplanet.ias.web.WebModule.start(WebModule.java:251)
              at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
              at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
              at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
              at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
              at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
              at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
              at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
              at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
    What steps do I need to do on the Server side or in my code?

  • Shutdown ASM instance

    as oracle says regarding shutdown ASM instance normal and immediate options:
    ASM waits for any in progress SQL to complete before performing an orderly dismount of all the disk groups and shutting down the ASM instance, if any database instance are connected to the ASM instance , the Shutdown command returns error and leaves the ASM instance running.
    i have just got confused , which sql would asm instance waits to complete if it is going to return an error if any database instance is connected?

    You can use sqlplus and connect to the ASM instance as sysasm to configure diskgroups, perform maintenance or upgrades, for example. ASM does not know about transactions in databases that are connected to the ASM instance. Databases are simply connected or not.

  • HELP-DIALOG POP UP BOX-JAVA Cannot create XMLHTTP instance.

    After going to a Web site with Opera Browser, I get the following dialog box JAVA "Cannot create xmlhttp instance".
    Now it pops up when ever I use Opera, but not Internt Exployer. Can you tell a Newbie how to fix it?
    I uninstalled Java 1.4.2 & installed ( jre 1.5.0.05 ) and I still get the
    same Dialog Box. The Box stops me from using Opera Browser,
    because it reappears all the time. I NEED HELP. My OS is XP Home.
    PM me at( trader_zzzz, yahoo.com ). Thanks in advance, traderzzzz.

    Java is not involved in the error - Javascript is. Javascript is not Java, and except for the similar name, they have nothing in common. The problem is the way that Opera is interacting with Javascript and the webpage you visited. You probably want to look for the solution at Opera's website. This search listing may help:
    http://www.google.com/search?q=Cannot+create+xmlhttp+instance

  • Cannot shutdown OC4J after error on servlet

    Hi
    I've deployed an EJB to the OC4J contaniner. Created a servlet that access the container and deployed it to the OC4J. Because the two components don't reside on the same application the servlet cannot access the Home Interface Class of the EJB and generates an error. After this error I cannot shutdown OC4J using the admin.jar with shutdown nor shuwdown force. }
    I'm using JDeveloper9i RC with the container that comes with it.

    Hi Nestor,
    I don't know if this will help you, but a similar problem was
    discussed in a separate forum on OC4J. Go to
    http://www.elephantwalker.com
    Search for a thread with a title something like "JSP on machine A
    looking up application on machine B".
    Hopefully the ElephantWalker himself will see this and supply you
    with more detailed information regarding the relevant thread.
    Hope this helps.
    Good Luck,
    Avi.

  • Cannot create resource instance

    Hi to get a pool connection I use a universal pool connection(ucp.jar). I did this:
    In the server.xml of tomcat i put these:
    <Resource
         name="onconsultas"
         auth="Container"
         description ="Pool for onconsultas"
         type="oracle.jdbc.pool.OracleConnectionPoolDataSource"               
      />In the context.xml of tomcat i put these:
    <Context path="/onconsultas" docBase="onconsultas" debug="0" reloadable="true">
         <ResourceParams name = "onconsultas">
              <parameter>
                   <name>driverClassName</name>
                   <value>oracle.jdbc.driver.OracleDriver</value>
              </parameter>
              <parameter>
                   <name>factory</name>
                   <value>oracle.jdbc.pool.OracleDataSourceFactory</value>
              </parameter>
              <parameter>
                   <name>logAbandoned</name>
                   <value>true</value>
              </parameter>
              <parameter>
                   <name>removeAbandoned</name>
                   <value>true</value>
              </parameter>
              <parameter>
                   <name>removeAbandonedTimeout</name>
                   <value>60</value>
              </parameter>
              <parameter>
                   <name>url</name>
                   <value>jdbc:oracle:thin:@198.198.111.170:1521:asesoras</value>
              </parameter>
              <parameter>
                   <name>user</name>
                   <value>sisope</value>
              </parameter>
              <parameter>
                   <name>password</name>
                   <value>sisope</value>
              </parameter>
         </ResourceParams>  
    </Context>In the web.xml of tomcat( i also tried in the web.xml of mi aplication):
    resource-ref>
            <description>Description pool</description>
            <res-ref-name>onconsultas</res-ref-name>
            <res-type>oracle.jdbc.pool.OracleConnectionPoolDataSource</res-type>
            <res-auth>Container</res-auth>
    </resource-ref>Finally in mi class I code:
    Context ctx = null;
    Context initCtx = new InitialContext();
      ctx = (Context) initCtx.lookup("java:comp/env");
      OracleConnectionPoolDataSource dataSource = ( OracleConnectionPoolDataSource) ctx.lookup("/onconsultas");in the line of the dataSource is the error and said:
    javax.naming.NamingException: Cannot create resource instance
    What is wrong? i don't get it

    I forgot: I 'm using tomcat 6.0.18 that came with the netbeans 6.9 and I `m not using servlets. Almost all the code is in the jsp.

  • Tomcat - MySQL - Cannot create resource instance

    I keep getting an error when trying to lookup my JNDI name. I know that this name is bound to a Context because I can list the bindings
    Context initCtx = new InitialContext();
    NamingEnumeration enum = initCtx.listBindings("java:comp/env/jdbc");
    while (enum.hasMoreElements()) {
    System.out.println(enum.nextElement().toString());
    And sure enough the name of my database I added through the console appears. However, I keep getting this error:
    javax.naming.NamingException: Cannot create resource instance
    on this second line of code
    Context ctx = new InitialContext();
    DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/ArgonautDB");
    My MySQL Connector jar file is in $CATALINA_HOME/common/lib and I believe my server.xml settings are correct because I added this Data Source to the context through the console and the web.xml file should be simple...nevertheless I still get this error.
    Any suggestions on where I else I can turn. Pulling my precious few last hairs out here....

    Thank you very much. That did the trick. Actually what did the trick was to reinstall tomcat with the standard installation, NOT the LE installation which doesn't include the dbcp jar files needed for connecting to a database - but you were right about missing those.
    I was dissapointed in Tomcat's documentation of this issue. I would have thought that something that has to have caused other developers problems like this would have been documented somewhere more pronounced (if at all) on Tomcat's site.
    For those other newbies out there who don't want to pull out your hair...here is a summary of the steps I took to remedy this problem.
    1) Install the latest version of Tomcat. Do NOT install the LE version, it does not include the neccessary library files to connect to a database (commons-dbcp.jar and commons-pool.jar).
    2) Download the latest mysql connector library from http://www.mysql.com/downloads/mysqlcc.html. Once you have extracted the tar file, there will be some directories, a README file, a couple other text files and a jar file named mysql-connector-java-VERSION-stable-bin.jar. Move the mysql-connector-java-VERSION-stable-bin.jar file to $CATALINA_HOME/common/lib.
    3) Follow the instructions on http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html
    to create a test database, a test jsp file and a test class to access the database.

  • Javax.naming.NamingException: Cannot create resource instance (JOTM )

    Hi all,
    I wanted to create an application with transaction management, first i tired out tyrex but could get a thing out of it now i am trying out JOTM, but i am getting this error "javax.naming.NamingException: Cannot create resource instance ", below is my configuration..
    ===context.xml===
    <Context path="/FYPMS" docBase="FYPMS" debug="1" reloadable="true" crossContext="true" antiResourceLocking="true">
    <Logger className="org.apache.catalina.logger.FileLogger" prefix="localhost_crs_log." suffix=".txt"
              timestamp="true"/>
         <Resource name="jdbc/mysql" auth="Container" type="javax.sql.DataSource"
    maxActive="100" maxIdle="30" maxWait="10000"
    username="root" password="password" driverClassName="com.mysql.jdbc.Driver"
    url="jdbc:mysql://127.0.0.1:3306/fypms?autoReconnect=true"/>
    <Resource name="UserTransaction" auth="Container"
    type="javax.transaction.UserTransaction"/>
    <ResourceParams name="UserTransaction">
    <parameter>
    <name>factory</name>
    <value>org.objectweb.jotm.UserTransactionFactory</value>
    </parameter>
    <parameter>
    <name>jotm.timeout</name>
    <value>60</value>
    </parameter>
    </ResourceParams>
    </Context>
    ===web.xml===
    <resource-ref>
    <res-ref-name>jdbc/mysql</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    ===insert.java===
    try{
    System.out.println("pass0");
    Context ctx = new InitialContext();
    Context envCtx = (Context)ctx.lookup("java:comp/env");
    DataSource datasource = (javax.sql.DataSource)envCtx.lookup("jdbc/mysql");               
    UserTransaction ut = (UserTransaction)envCtx.lookup("UserTransaction");
    ut.begin();
    the dataSource can be retrieve successfully but when i tired to retrieve the UserTransaction i get a "Cannot create resource instance ". Please help mi out with this.. thx
    fatmond

    we are trying to connect MS Access thru tomcat and it is giving the above exception
    i have changed the server.xml
    <Resource name="jdbc/Mess" auth="Container" scope="Shareable" type="javax.sql.DataSource"/>
    <ResourceParams name="jdbc/Mess">
    <parameter>
    <name>maxWait</name>
    <value>5000</value>
    </parameter>
    <parameter>
    <name>maxActive</name>
    <value>4</value>
    </parameter>
    <parameter>
    <name>password</name>
    <value>admin</value>
    </parameter>
    <parameter>
    <name>url</name>
    <value>jdbc:odbc:Mess</value>
    </parameter>
    <parameter>
    <name>driverClassName</name>
    <value>sun.jdbc.odbc.JdbcOdbcDriver</value>
    </parameter>
    <parameter>
    <name>maxIdle</name>
    <value>2</value>
    </parameter>
    <parameter>
    <name>username</name>
    <value>admin</value>
    </parameter>
    </ResourceParams>
    web.xml
    <resource-ref>
    <description>Access Datasource example</description>
    <res-ref-name>jdbc/Mess</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    java class
    Context initContext = new InitialContext();
    DataSource ds = (DataSource)initContext.lookup("java:/comp/env/jdbc/Mess");
    con = ds.getConnection();
    Please help.......

  • Cannot shutdown the computer via XBMC

    I cannot shutdown my HTPC via XBMC. When I try to shut it down, I just ends up back in the shell. Im not running any WM and I autostart XBMC via .xinitrc so I have to make a hard shutdown everytime.
    Dunno what to do?
    Last edited by Hund (2011-01-04 23:52:54)

    Same problem here since an upgrade to the recent xbmc version.
    - hal removed
    - udisks and upower installed
    - my user is in the 'power' group
    I start X via /etc/inittab:
    x:5:respawn:/bin/su lynix -l -c "/bin/bash --login -c 'startx xbmc'>/dev/null 2>&1"
    and my .xinitrc is:
    #!/bin/sh
    nvidia-settings -l
    if [ "$2" == "xbmc" ]; then
    # start XBMC
    exec ck-launch-session /usr/bin/dbus-launch --exit-with-session /usr/bin/xbmc --standalone -fs --debug &>$HOME/.xsession-errors
    else
    # start openbox session
    exec ck-launch-session openbox-session &>$HOME/.xsession-errors
    fi
    Any hints what could be wrong?

  • Cannot shutdown Oracle!!

    Hello DBAs,
    We use 9.2.0.1.0 on Windows 2000.
    This morning I could not get Oracle to start. The alert log stated that datafile UNDOTBS01.DBF could not be read. Error codes ORA-00376 and ORA-01110.
    I mounted the database via SQL and brought the file online and opened the database.
    If I try to shutdown using
    SHUTDOWN NORMAL;
    I get
    ORA-00376 File 20 cannot be read at this time
    ORA-01110 datafile 20 'UNDOTBS1.DBF'
    (We have both UNDOTBS01.DBF and UNDOTBS1.DBF)
    If I try to bring UNDOTBS1 online I get
    ORA-01113 File 20 needs media recovery
    ORA-01110 file 20 is UNDOTBS1.dbf.
    If I try to RECOVER AUTOMATIC DATABASE;
    I get ORA-00283 Recovery session cancelled
    ORA-01124 Cannot recover datafile
    ORA-01110 Datafile SYSTEM01.DBF in use or recovery.
    If I look at DBA_DATA_FILES all the datafiles are online including both UNDOTBS01 and UNDOTB1.
    So I cannot shutdown or recover the database.
    Any ideas.
    Thanks,
    George

    Thanks for your reply but I closed it eventually using shutdown abort.
    Thanks again,
    George

Maybe you are looking for