ERROR - 1013113 - Cannot unload database dbnam , when it is still in use.
Hi ,
Below is the scenario of what am doing and the error am getting. Please shed some light and share ur ideas on this.
1 . I used the below maxl statement and logged out all the sessions on the application by force.
alter system logout session on application <appname> force;
2. After logging out the sessiosn, am using the below maxl statement to unload the application,
ALTER SYSTEM UNLOAD APPLICATION <appname>;
but am getting error as "*ERROR - 1013113 - Cannot unload database <dbnam>, when it is still in use.*".
Please share your expertise to eliminate this abnormality of essbase.
Thanks in advance!!
-Vinay
Edited by: user12000483 on Jul 8, 2010 2:10 AM
I found that sometimes after a EAS command (for instance a export data) is finished (correctly finished or not it does not matter in this case) a rudimentary tcp connection from EAS to the essbase server is left open.
You can view this with a generic tcp viewer) on either the eas or the essbase server.
Disconnecting this particular tcp connection "frees" the essbase DB for further actions.
It is not nesecary to close the proces which keeps the connection open. Since this would kills your essbase application running.
This was really a pain in the $% for the last years since before I always had to kill the application process. Perhaps I am creating a case at Oracle to solve the initial cause, but for the moment this helps me a lot. I did not have time to see if the same occurs after maxl processes. But I doubt it happens there. The cause can be in the weblogic timeouts and behaviour at the EAS server.
Similar Messages
-
Error:1013113 Cannot unload database when it is still in use
<p>If you are someday faced with this problem, just restart EssbaseAdministration Services.</p><p>Do not forget to kill all esssvr.exe processes before.</p>
<p><blockquote>quote:<br><hr><i>Originally posted by: <b>garycris</b></i> This seems likereckless advice. Restarting Essbase Administration Services willnot do anything about a database that is hung up. The database isrunning on the Essbase server. As far as killing all esssvr.exeprocesses, first, why would you kill all of them? Stopping adatabase this way runs the risk of corrupting the database, so ifyou have 20 databases running and one is a problem why would yourisk corrupting 19 other databases? Also, if someone follows youradvice and goes down this road, you offer no guidance on what to dowhen one of the databases does not start up again. I would stronglysuggest no one take this advice without looking at the specificissue at hand and coming up with a complete recovery strategy.Hitting things with a sledge hammer, although it can be effective,is usually not the best approach.<hr></blockquote></p><p> </p><p>Maybe, but do you have a solution for this case:</p><p> </p><p>I launched a calculation script which takes at least 6 hours tobe finished.</p><p>3 minutes after, i remember that i forget something to add.</p><p>am i obliged to wait for 6 hours, or stop EAS?</p><p>It is really a question that i ask only to know if there is abetter solution.</p><p>I am an hyperion beginner user, and want to know more about thisgreat software which i really appreciate (in front of complexsunopsis and bad ssas of microsoft)</p>
-
Remove key when the HashMap still is used
I try to remove some value when the HashMap still is use, but I get compile error:
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.next(HashMap.java:749)
at PoliceDatabase.listUnlawfulDrivers(PoliceDatabase.java:228)
part of code as follow:
do {
while (de.hasNext()) {
p=(Driver)de.next();
maxt=((ArrayList)tempInfractions.get(p)).size();
if (maxt==0) {tempInfractions.remove(p);}
else if (maxt>max) {
max=maxt;p1=p;
atemp1.addAll((ArrayList)tempInfractions.get(p));}
newInfractions.put(p1,atemp1);
atemp1.clear();
tempInfractions.remove(p1); } while (tempInfractions.isEmpty());
what should I do?
Thank you first!!I try to remove some value when the HashMap still is
use, but I get compile error:That's a run time error, not a compiler error.
>
java.util.ConcurrentModificationException
at
java.util.HashMap$HashIterator.next(HashMap.java:749)
at
PoliceDatabase.listUnlawfulDrivers(PoliceDatabase.java:
28)
part of code as follow:
do {
while (de.hasNext()) {
p=(Driver)de.next();
maxt=((ArrayList)tempInfractions.get(p)).size();
if (maxt==0) {tempInfractions.remove(p);}I assume "de" is some kind of iterator. You'll have to remove "p" via the iterator so it will know that element is gone. Look in the API docs for whichever iterator you're using for a remove() method. -
I have a test 2-node Failover cluster using Server 2012 R2
As of last night the cluster service on one of the 2 nodes is down with this error:
The Cluster Service service terminated with the following service-specific error:
Cannot create a file when that file already exists.
EventID 7024
The Cluster service waits 60 sec, tries to start, and the same error occurs again.
Any idea where to look to identify which file this error is referring to, or how to go about identifying root cause and getting a solution?
thank you.
sambHi Yeswanth
Then you can try with a "Add Counter". This will create new file each time with the same name but a counter will be added to the file name at the end specifying the number of times it is created.
You can also the specify the format to create the counter once select this option u can correspondingly fill the Format and step fields.
Will this be fine.
Regards
Ashmi -
I am Migrating a application in Visual Studio 2005.
In my development PC I was install the Measurement Studio 2009
my application is Showing following error:
1>Linking...
1>LINK : fatal error LNK1104: cannot open file 'NiFieldPoint71D.lib'
1>Build log was saved at "file://c:\EdacsNt\Source\SaftyServices\NICfpDAQDll\Debug\BuildLog.htm"
1>NICfpDAQDll - 1 error(s), 0 warning(s)
In the project Setting I am done following setting
"C:\Program Files\National Instruments\MeasurementStudioVS2005\VCNET\Lib";"
C:\Program Files\National Instruments\NI-DAQ\Lib"
but in "C:\Program Files\National Instruments\MeasurementStudioVS2005\VCNET\Lib";" directory Not having the 'NiFieldPoint71D.lib' because Measurement Studio 2009 not provide this dll.
Please provide some solution.
Thanks
NityanandYou posted this in the LabVIEW forum.
Are you programming in LabVIEW?
There is a separate Measurement Studio for VC++ forum. http://forums.ni.com/t5/Measurement-Studio-for-VC/bd-p/231 -
Error (-69) Cannot Copy to Disk when syncing ipod
I have tried the 5 Rs for overcoming this error, but I still cannot copy music to the ipod without this message popping up and interrupting the download.
Please help,
ShanaSee if this helps: iTunes displays a -69 error when syncing iPod
-
Error 1904 "Cannot register ExportSDK.dll" when installing BOXI
When installing BO Entreprise XI Release 2 on my PC WXP SP2, had 2 error messages 1904 "Cannot register dll" on :
- ExportSDK.dll
- importent6.dll
I had to ignore both errors to complete install.
Although BOXI seams to work fine, should I fix the error and how to ?
MarcHi Marc,
Could you please review the following information it might help you to resolve the issue.
Hi Chris,
This is with reference to the information provided by you.
Could you please test the following solutions to resolve the issue?
Solution1:
1. Log in as u2018Computer Administratoru2019.
2. Make sure that no anti-virus program or spy ware is running on your machine.
3. Copy and paste all the installation files of BOXI to your local drive of your machine.
4. Start the installation by running the setup file from your local machine.
5. Click ignore to all the 1904 errors you get while installing and it should finish the install process
6. Once the install is complete, go to the Control Panel -> Add/Remove Programs and reinstall BOXI.
7. The installation the second time should register those dlls without error
8. After successful installation, restart your machine.
9. Open BOXIR2 and let me know what happens
If the above mentioned solution doesnu2019t works then could you please apply the following solution?
Solution2:
You need to disable the DEP option for all services and programs other than those needed by the Operating System, before installing the product.
To disable DEP:
1) Go to Start > Settings > Control Panel > System > Advanced tab > Settings button > Data Execution Prevention tab.
2) Select the top radio button and restart the system for changes to take effect.
3) Upon completing these steps, you can now successfully install the product.
Solution3:
Sometimes we fail to register the .DLL using REGSVR32 because in the system there is the alias copy of these DLLs. Therefore, could you please check the system folders that is there any alias .DLLs are present for ExportSDK.dll and Import6.dll if there is any such .DLLs could you please remove the dlls and try to register again.
In case of queries please do revert we will be glad to help you.
Regards,
Sarbhjeet Kaur -
I want to grant permissions to all domain users to view reports on our Report Server. Domain users are able to access our Report Server URL and folder, but when they click on a report item they get an error message:
"Cannot open database "ReportServer" requested by the login. The login failed. Login failed for user 'USER LOGON'"
I'm using windows authentication and configured the local service account in SSReportS Config Manager as the credentials to connect to the Report Server DB.
Can someone please help how I should properly do this step by step to give all domain users permissions to view a report in SSRS?
Thanks much! - Rookie DBAHi IWAR,
The error message "Cannot open database "ReportServer" requested by the login. The login failed. Login failed for user 'USER LOGON'" means the user 'USER LOGON' does not have permissions to access the "ReportServer" database.
To fix this issue, please verify that the user has a valid database user login. For more details, please refer to the following steps.
In SQL Server Management Studio, open Object Explorer and expand the Databases folder.
Expand the database in which to create the new database user.
Right-click the Security folder, point to New, and then click User.
On the General page, enter a name for the new user in the User name box.
In the Login name box, enter the name of a SQL Server login to map to the database user.
Click OK.
Reference:
http://technet.microsoft.com/en-us/library/ms156468(v=sql.105).aspx
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
"Cannot verify database login information. [INS00104]"
Hello,
I installing BObj 4. In step (Configure CMS Repository Database - Oracle) error occurred - "Cannot verify database login information. [INS00104]".
OS: Red Hat Enterprise Linux Server release 5.7 (Tikanga)
DB: Oracle 10.2.0.2
Distr: SBOP BI PLATFORM 4.0 SP02 SERVER LINUX (64B) Number 51041018
log setupengine.log:
11:24:45.556 [run_external_executable] cmdLine: cd "/opt/distr/BI/51041018/DATA_UNITS/BusinessObjectsServer_linux/dunit/platform.services.cms.cpp.dbcheck-4.0-core-64//"; /opt/distr/BI/51041018/DATA_UNITS/BusinessObjectsServer_linux/dunit/platform.services.cms.cpp.dbcheck-4.0-core-64//dbcheck -DBDriver [UsingCMSDBType]databasesubsystem -ConnectionString "DSN=[ExistingCMSDBServer];UID=[ExistingCMSDBUser];PWD=[ExistingCMSDBPassword]" -ClusterKey ******** -DBCheckLogFile "[$logs.folder]dbcheck_log.txt" -loggingPath "[$logs.folder]" -ResetDB [ExistingCMSDBReset] -PrintErrors -defaultlocale [setup.core.prime-4.0-core$setupuilanguage]
11:24:45.557 [run_external_executable] Exit code: 35584
11:24:45.557 [run_external_executable] Produced output:
11:24:45.557 Error: Redirected from stderr
11:24:45.557 Error: sh: line 1: 8874 Segmentation fault /opt/distr/BI/51041018/DATA_UNITS/BusinessObjectsServer_linux/dunit/platform.services.cms.cpp.dbcheck-4.0-core-64//dbcheck -DBDriver oracledatabasesubsystem -ConnectionString "DSN=ESBODEV;UID=ESBOBJDEV;PWD=ESBOBJDEV" -ClusterKey "bobj123" -DBCheckLogFile "/tmp/2012.01.12.11.22.11/dbcheck_log.txt" -loggingPath "/tmp/2012.01.12.11.22.11/" -ResetDB 1 -PrintErrors -defaultlocale en
11:24:45.557 Error:
11:24:45.557 Restored original environment to : BO_TRACE_LOGDIR=
Please, help me.
Best regards,
Sergey.Hi Sergey,
It seems to be a known issue when special characters are used in the password of your user in Oracle.
https://service.sap.com/sap/support/notes/1638205
Try changing the password so it does not contain any special characters.
Regards,
Julian -
error message cannot write to file when trying to install itunes on windows 8 laptop.
Hi Stacy,
Welcome to Apple Support Communities.
Take a look at the article below, it provides a lot of great tips that will resolve most iTunes installation issues.
Issues installing iTunes or QuickTime for Windows
http://support.apple.com/kb/ht1926
If you run into any issues, just reply with details about the step you're on and what you're seeing.
-Jason -
Error message "cannot connect to server"
Often I get an error message "cannot connect to server" when
I want to connect to acrobat.com directly from a .pdf document in
order to upload it . Is it possible that there is some security
issue involved, e.g. that the document is protected somehow? Or
could browser or firewall settings be involved?Hi Peterernst,
Thanks for posting.
Perhaps yes, firewall, and browser popup blockers have been
known to cause some behavioral, and connectivity issues within
Acrobat.com
Users have had success with allowing *.acrobat.com as a
trusted site locally, to see if that allows connectivity.
Also what browser, and OS are you using?
If still in the Unix environment, do you have access to a
Windows, or Mac environment?
Thanks!
Pete -
Cannot rename DC, "Cannot create a file when that file already exists."
Hi,
A long time ago we used a domain controller named jacob.mydomain.lan. It was removed, possibly in a 'dirty' way, and now we cannot re-use that name for another domain controller. In the meantime we have upgraded to Win 2012 domain controllers
now, and when I enter this to rename:
netdom computername ourdc.mydomain.lan /add:jacob.mydomain.lan
I get the error: "Unable to add jacob.mydomain.lan as an alternate name for the computer. The error is: Cannot create a file when that file already exists."
If I enter:
netdom computername ourdc.mydomain.lan /remove:jacob.mydomain.lan
I get: "The command completed successfully", but it still refuses to add jacob.mydomain.lan
After each attempt to add a forward zone dns record 'jacob.ourdomain.lan' has been created. I always erase this manually afterwards.
What is the problem? How can I search to find the offending 'file' named 'jacob'?
Thanks a lot for help on this.
regards TorKevin,
I suggest you wait 30 days instead of 3 days before you enthusiastically close threads. Some people might think you are being a jerk if you don't.
"K_evin Zhu" wrote in message
news:[email protected]...
Hi,
As this thread has been quiet for a while, we will mark it as �??Answered�?? as the information provided should be helpful. If you need further help, please feel free to reply this post directly so we will be notified to follow it up. You can also choose to
unmark the answer as you wish.
BTW, we�??d love to hear your feedback about the solution. By sharing your experience you can help other community members facing similar problems. Thanks for your understanding and efforts.
Best Regards
Kevin
Tomás Mason -
Please help me!! Error: Ipod cannot be updated because it contains files
I keep on getting the error: "Ipod cannot be updated because it contains files that are use by another application" I try to restore and I get "Ipod cannot be restored because it contains files that are use by another application." I have Itunes 7.0 and the Ipod video is version 1.1.2 and I am trying to update to version 1.2.
I would be most grateful to have your help....:-)I am not too sure with iTunes 7, for iTunes 6 I solved in these ways
http://docs.info.apple.com/article.html?artnum=93764
Turn off all anti-virus software
Reboot your PC and Reset your iPod
Reconnect ipod back with your PC -
Gettting error - when connecting 2 diff pool using 2 diff DataSource
There are 2 datasource and 2 pool foe rach DS.
DS_A and POOL_A
DS_B and POOL_B
1. I am connecting using DS_A
2. Then when I am trying to connect another pool using DS_B - I am getting this error message in application.
But when I connect to POOL_A using the
myDriver = (Driver) Class.forName(driver).newInstance();
conn = myDriver.connect(url, props);
Then it works okay.
Appreaciate any help.
Thanks in Advance
SumitBelow are the settings which we tried out. The file where it's writing is shared network drive.
1) SOA datasource
<xa-transaction-timeout>1000</xa-transaction-timeout>
2)JTA
Parameter Name
Default Value
Tuned Value
Timeout Seconds
30
3600
Abandon Timeout Seconds
86400
3600
Maximum Duration of XA Calls
240000
24000
Thanks
AK -
Getting error message Cannot Resolve Symbol when trying to compile a class
Hello All -
I am getting an error message cannot resolve symbol while trying to compile a java class that calls another java class in the same package. The called class compiles fine, but the calling class generates
the following error message:
D:\Apache Tomcat 4.0\webapps\examples\WEB-INF\classes\cal>javac
ConnectionPool.java
ConnectionPool.java:158: cannot resolve symbol
symbol : class PooledConnection
location: class cal.ConnectionPool
private void addConnection(PooledConnection value) {
^
ConnectionPool.java:144: cannot resolve symbol
symbol : class PooledConnection
location: class cal.ConnectionPool
PooledConnection pcon = new PooledConnection(con);
^
ConnectionPool.java:144: cannot resolve symbol
symbol : class PooledConnection
location: class cal.ConnectionPool
PooledConnection pcon = new PooledConnection(con);
The code is listed as follows for PooledConnection.java (it compiles fine)
package cal;
import java.sql.*;
public class PooledConnection {
// Real JDBC Connection
private Connection connection = null;
// boolean flag used to determine if connection is in use
private boolean inuse = false;
// Constructor that takes the passed in JDBC Connection
// and stores it in the connection attribute.
public PooledConnection(Connection value) {
if ( value != null ) {
connection = value;
// Returns a reference to the JDBC Connection
public Connection getConnection() {
// get the JDBC Connection
return connection;
// Set the status of the PooledConnection.
public void setInUse(boolean value) {
inuse = value;
// Returns the current status of the PooledConnection.
public boolean inUse() {
return inuse;
// Close the real JDBC Connection
public void close() {
try {
connection.close();
catch (SQLException sqle) {
System.err.println(sqle.getMessage());
Now the code for ConnectionPool.java class that gives the cannot
resolve symbol error
package cal;
import java.sql.*;
import java.util.*;
public class ConnectionPool {
// JDBC Driver Name
private String driver = null;
// URL of database
private String url = null;
// Initial number of connections.
private int size = 0;
// Username
private String username = new String("");
// Password
private String password = new String("");
// Vector of JDBC Connections
private Vector pool = null;
public ConnectionPool() {
// Set the value of the JDBC Driver
public void setDriver(String value) {
if ( value != null ) {
driver = value;
// Get the value of the JDBC Driver
public String getDriver() {
return driver;
// Set the URL Pointing to the Datasource
public void setURL(String value ) {
if ( value != null ) {
url = value;
// Get the URL Pointing to the Datasource
public String getURL() {
return url;
// Set the initial number of connections
public void setSize(int value) {
if ( value > 1 ) {
size = value;
// Get the initial number of connections
public int getSize() {
return size;
// Set the username
public void setUsername(String value) {
if ( value != null ) {
username = value;
// Get the username
public String getUserName() {
return username;
// Set the password
public void setPassword(String value) {
if ( value != null ) {
password = value;
// Get the password
public String getPassword() {
return password;
// Creates and returns a connection
private Connection createConnection() throws Exception {
Connection con = null;
// Create a Connection
con = DriverManager.getConnection(url,
username, password);
return con;
// Initialize the pool
public synchronized void initializePool() throws Exception {
// Check our initial values
if ( driver == null ) {
throw new Exception("No Driver Name Specified!");
if ( url == null ) {
throw new Exception("No URL Specified!");
if ( size < 1 ) {
throw new Exception("Pool size is less than 1!");
// Create the Connections
try {
// Load the Driver class file
Class.forName(driver);
// Create Connections based on the size member
for ( int x = 0; x < size; x++ ) {
Connection con = createConnection();
if ( con != null ) {
// Create a PooledConnection to encapsulate the
// real JDBC Connection
PooledConnection pcon = new PooledConnection(con);
// Add the Connection to the pool.
addConnection(pcon);
catch (Exception e) {
System.err.println(e.getMessage());
throw new Exception(e.getMessage());
// Adds the PooledConnection to the pool
private void addConnection(PooledConnection value) {
// If the pool is null, create a new vector
// with the initial size of "size"
if ( pool == null ) {
pool = new Vector(size);
// Add the PooledConnection Object to the vector
pool.addElement(value);
public synchronized void releaseConnection(Connection con) {
// find the PooledConnection Object
for ( int x = 0; x < pool.size(); x++ ) {
PooledConnection pcon =
(PooledConnection)pool.elementAt(x);
// Check for correct Connection
if ( pcon.getConnection() == con ) {
System.err.println("Releasing Connection " + x);
// Set its inuse attribute to false, which
// releases it for use
pcon.setInUse(false);
break;
// Find an available connection
public synchronized Connection getConnection()
throws Exception {
PooledConnection pcon = null;
// find a connection not in use
for ( int x = 0; x < pool.size(); x++ ) {
pcon = (PooledConnection)pool.elementAt(x);
// Check to see if the Connection is in use
if ( pcon.inUse() == false ) {
// Mark it as in use
pcon.setInUse(true);
// return the JDBC Connection stored in the
// PooledConnection object
return pcon.getConnection();
// Could not find a free connection,
// create and add a new one
try {
// Create a new JDBC Connection
Connection con = createConnection();
// Create a new PooledConnection, passing it the JDBC
// Connection
pcon = new PooledConnection(con);
// Mark the connection as in use
pcon.setInUse(true);
// Add the new PooledConnection object to the pool
pool.addElement(pcon);
catch (Exception e) {
System.err.println(e.getMessage());
throw new Exception(e.getMessage());
// return the new Connection
return pcon.getConnection();
// When shutting down the pool, you need to first empty it.
public synchronized void emptyPool() {
// Iterate over the entire pool closing the
// JDBC Connections.
for ( int x = 0; x < pool.size(); x++ ) {
System.err.println("Closing JDBC Connection " + x);
PooledConnection pcon =
(PooledConnection)pool.elementAt(x);
// If the PooledConnection is not in use, close it
if ( pcon.inUse() == false ) {
pcon.close();
else {
// If it is still in use, sleep for 30 seconds and
// force close.
try {
java.lang.Thread.sleep(30000);
pcon.close();
catch (InterruptedException ie) {
System.err.println(ie.getMessage());
I am using Sun JDK Version 1.3.0_02" and Apache/Tomcat 4.0. Both the calling and the called class are in the same directory.
Any help would be greatly appreciated.
tnx..
addiIs ConnectionPool in this "cal" package as well as PooledConnection? From the directory you are compiling from it appears that it is. If it is, then you are compiling it incorrectly. To compile ConnectionPool (and PooledConnection similarly), you must change the current directory to the one that contains cal and type
javac cal/ConnectionPool.
Maybe you are looking for
-
Can't select text when export in HTML and Images
I am entirely new to Fireworks and I can't find anyone to teach me Adobe Fireworks. I followed some youtube tutorials but most of them are vague. I am still figuring the way to export from Fireworks to Dreamweaver, without affecting its contents like
-
IPad only shows a grey screen.
Yesterday evening my iPad turned off by itself. Now when it start it only shows a grey screen. A reset causes the Apple logo to appear momentarily I cannot get the iPad into recovery mode. The battery is fully charded, was plugged in over night. Orig
-
How to add a button in a list uibb
Hello Volks, I need help. I have to add a Button ( or just events to a button ) to a list uibb dynamically at runtime, which means I can't use the ~get-definition method. This means I have to do it in ~get-data. I can define my actions there and add
-
How To formate PDF Data(Binary) to HTML Formate
Hi All, I am using PDFs in my application. Once the user has submitted his project in formation through pdf, it stores in BAPI. When i tried to retrive the data from back end to display in a view. it shows me all the information is in single line bec
-
Change cell color based on time
I have a row with 24 cells. I want each cell (from left to right) to change color based on the time. Each cell will represent 1 hour A1=Midnight, B2=1AM, etc... At those specific hours I'd like the corresponding cell to change color. So, at midnight,