Migrating HP SIM related databases to a new database server
Greetings,
I'm working on a migration task for our HP SIM to a new database server (the application and services will reside on the original server).
Migrating the Insight_v50_0_xxx database and redirecting the server to point the the new database was no problem and HP SIM runs along just fine.
There are still some related databases that I haven't moved yet, and I've searched all over the web to get some documentation on the matter, but found none.
The databases and related services are the following.
PMP_V5_0 - PMP Services
hpvmmsqldb - Virtual Machine Management
I guess I could do like I did with the Insight_v50_0_xxx , take a backup and restore it on the new server and then change the configuration files to point to the new one. The big issue is that I can't seem to find any configuration files for these services.
Also I've run into something called mx services, and the same here. I have no idea where these points.
Any HP SIM savvy technician out there that think they can help me out?
1. Product: HP SIM and related services
2. Operating System: Windows Server 2008 R2
Best regards,
Karl
Old topic but in case someone is searching...
PMP database uses an ODBC connection. Easy to reconfigure.
HPVMMDB uses a JDBC configuration file in the \Program Files\HP\Insight Control Virtual Machine Management\Bin folder called hpvmmdb.conf.
Similar Messages
-
Hi,
We need to migrate Our current 1 clustered SQL Server, Many Configurations DataBases and Many Content DataBases to a brand new clustered SQL server and brand new databases in it.
How can I do this?
Can someone list the steps involved?
Thanks.Hi,
According to your description, you want to move Content databases and Configuration databases to a new SQL Server, refer to this article:
https://technet.microsoft.com/en-us/library/cc512725.aspx?f=255&MSPPError=-2147217396
Besides, here is a similar post, you can use as a reference:
https://social.technet.microsoft.com/Forums/office/en-US/2cd46f7a-d583-41b2-82c2-ddc6d7c43fb8/how-to-move-sharepoint-databases-to-new-sql-server?forum=sharepointadminprevious
Best Regards,
Lisa Chen
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
How to copy a database to a new database on Windows 32bit?
Hi Gurus,
I have a production database 10g on Windows 32bit and I want to make a copy of this database as Test in same server ?
Please help....
Thanks,How big is your database?
1)If database size is small, create a blank test db . Export from Production using expdp and impdp onto Test.
2)If database size is hundreds of gb's use rman duplicate command. As you are restoring on to same host
configure db_file_name_convert/log_file_name_convert in your pfile properly
And also control_files parameter to new location in your new pfile.
Refer: http://docs.oracle.com/cd/B19306_01/backup.102/b14191/rcmdupdb.htm#i1006859
Edited by: vreddy on Sep 7, 2012 2:03 PM -
Clone a RAC database to a new RAC server
Hi,
How can clone a RAC database to a new RAC environment ?
I installed Cluster and RDBMS 10g R1 in a new RAC server and I need to copy my database "dbrest" to the new server, my new database must have the same name ("dbrest"). My actual dbrest database is in ASM and I need to use ASM for the new database too.
I don't have any database in the new RAC environment.
At the end I need to have this configuration:
Source configuration:
SERVER:
Node 1: srvprod1
Node 2: srvprod2
CLUSTER DB: dbrest using ASM
Node 1: dbrest1
Node 2: dbrest2
Clone configuration:
SERVER:
Node 1: dupenv1
Node 2: dupenv2
CLUSTER DB: dbrest using ASM
Node 1: dbrest1
Node 2: dbrest2
How can I do this?
How can I copy my dbrest database touse rman Duplicate Database on srvprod* to dupenv*
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmdupdb.htm#BRADV165
When duplicate database can run on both dupenv1 and dupenv2.
use "srvctl" to add database, instance and services (if you have)
Usage: srvctl add database -d <name> -o <oracle_home> [-m <domain_name>] [-p <spfile>] [-A <name|ip>/netmask] [-r {PRIMARY | PHYSICAL_STANDBY | LOGICAL_STANDBY}] [-s <start_options>] [-n <db_name>] [-y {AUTOMATIC | MANUAL}]
Usage: srvctl add instance -d <name> -i <inst_name> -n <node_name>
Usage: srvctl add service -d <name> -s <service_name> -r "<preferred_list>" [-a "<available_list>"] [-P <TAF_policy>]
Usage: srvctl add service -d <name> -s <service_name> -u {-r "<new_pref_inst>" | -a "<new_avail_inst>"} -
Install: using existing database vs creating new database
Which one do you recommend?
Hans has done a good job pointing out the pros and
cons but I reject some of his reasons for using the
default database:I also reject some of the reasons I state - but I state them as they need to be presented before they can be rejected. <g>
My point is simple - you gather all the reasons first and then accept or reject based on your specific environment. What works for me may not work for you.
>
- potentially tuned to EM needs;
==> Read the install notes for oracle recommended settings...not hardHow many people read any install manual? Especially these days ...
People will probably skim the internet to determine that it's possible to install on a separate database, and will often target a database that has sufficient space.
I doubt if 1 in 10 would even consider that the OMR will put a load on the CPU or would think to change the DBs settings based on a compination of "what si best for the applications in the DB" and "what is best for the OMR"
>
- on the same machine as OMS;
==> an existing database can also be on the same
machineIf the OMS load pushes the machine to require another CPU and that forces the purchase another CPU license, then I would consider getting the OMS the h*^l off the machine on to a separate server.
AFAIK, you pay for the DB license, but there is no per-cpu charge for the OMS. So, like any client, you can install the OMS anywhere you want. I'd appreciate any documentation to the contrary.
>
- specific DB version selected (that is known to work
woth OMR);
==> you should check metalink for the latest versions
and what is supported ANYWAY...Again - you assume person reads. <g>
/Hans -
Missing Discoverer reports after migrating the EUL to new Database.
Our Environment is Discoverer Relational- OLTP
We have recently migrated the source database from Oracle 9.2.0.6 to 10.2.00.0 RAC, this made us to migrate the Discoverer to new database in production.
Below are the database objects we migrated to new database.
1. EUL schema
2. Schemas referred by the Objects in the EUL (schemas containing functions, tables, views etc)
3. Based on trigger we created to filter active discoverer database accounts, migrated only active database users to new database.
Note: we had almost 4000 Discoverer users from 2005, since many of these users moved out of company or not using discoverer permanently, and there are users who used discoverer once in year or once in 6 months.
Finally we come up with 300 Active Discoverer users to be migrated to new database.
Issues: After migration
Some of the migrated users did not get their reports migrated which are shared by other users? [Since we didn’t migrate these users schemas as they are not active].
We have queried the EUL5_DOCUMENTS table in new database for a particular inactive users account (account which is not migrated) is not showing any reports owned by him.
Since we have migrated EUL schema and active users new database, is this will effect the EUL, [Information related to non active users gets deleted from the EUL in New Database]
Some users who are not figured in the active migrated list are requesting to get access to discoverer on new database. Can you please suggest the correct way to migrate these accounts.
Exporting the accounts will work?
Thanks in advance.
SunilKanchana Devasurendra wrote:
Hi ARS,
Please check the following item in your new database.
1. log_archive_max_processes Most properbly value set for this parameter is low ( may be it's set to 1.) Please increase up ( 4)I am curious to know what makes you think 4 is the right magic number for log_archive_max_processes - after all, he's only got one archive destination.
Regards
Jonathan Lewis
http://jonathanlewis.wordpress.com
http://www.jlcomp.demon.co.uk
A general reminder about "Forum Etiquette / Reward Points": http://forums.oracle.com/forums/ann.jspa?annID=718
If you never mark your questions as answered people will eventually decide that it's not worth trying to answer you because they will never know whether or not their answer has been of any use, or whether you even bothered to read it.
It is also important to mark answers that you thought helpful - again it lets other people know that you appreciate their help, but it also acts as a pointer for other people when they are researching the same question, moreover it means that when you mark a bad or wrong answer as helpful someone may be prompted to tell you (and the rest of the forum) what's so bad or wrong about the answer you found helpful. -
SSMS crash when creating new database diagram
For several years I have been unable to create database diagrams from within SSMS. I have tried every combination of VS2005, VS2008, VS2012 and VS2013 with every combination of SQL2005, SQL2008, SQL2012 and SQL2014.
I have installed, uninstalled, and repaired many dozens of times. I am currently using VS2013 ultimate with SQL2014 express.
I have tried every related 'workaround' that I can find on the internet. Still the problem persists.
Any help would be deeply appreciated.
Here are the relevant details with file versions:
In SSMS, I right-click on a database and choose New Database Diagram. A Blank diagram window appears with the SSMS error dialog:
===================================
Attempted to read or write protected memory. This is often an indication that other memory is corrupt. (Microsoft.VisualStudio.OLE.Interop)
Program Location:
at Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
at Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
at Microsoft.Internal.VisualStudio.Shell.Interop.IVsTrackSelectionExPrivate.Register()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConnectSelectionContext()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Activate()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.viewManager_ActiveViewChanged(Object sender, ActiveViewChangedEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at Microsoft.VisualStudio.PlatformUI.ExtensionMethods.RaiseEvent[TEventArgs](EventHandler`1 eventHandler, Object source, TEventArgs args)
at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.SetActiveView(View view, ActivationType type)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ShowInternal(ShowFlags showFlags)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.<Show>b__26()
at Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(Func`1 method)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Show()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.MarshalingWindowFrame.<Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame.Show>b__7a()
at Microsoft.VisualStudio.Shell.ThreadHelper.Invoke[TResult](Func`1 method)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.MarshalingWindowFrame.Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame.Show()
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con, String fileName)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection
con, String fileName)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con, String fileName)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.CreateDesignerWindow(IManagedConnection mc, DocumentOptions options)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.InvokeDesigner(IManagedConnection connection)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.Invoke()
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ToolsMenuItemBase.MenuInvokedHandler(Object sender, EventArgs args)
Version info taken from Sql Server Management Studio/Help/About dialog:
Microsoft SQL Server Management Studio 12.0.2000.8
Microsoft Analysis Services Client Tools 12.0.2000.8
Microsoft Data Access Components (MDAC) 6.1.7601.17514
Microsoft MSXML 3.0 4.0 5.0 6.0
Microsoft Internet Explorer 9.11.9600.17358
Microsoft .NET Framework 4.0.30319.18444
Operating System 6.1.7601
DLL versions
c:\Program Files(x86)\Common Files\microsoft shared\Visual Database Tools
dsref80.dll version 12.0.21005.1
c:\Program Files(x86)\Common Files\microsoft shared\MSDesigners8
msdds.dll 12.0.21005.1
msddsf.dll 12.0.21005.1
msddslm.dll 12.0.21005.1
msdds.mp.dll 12.0.21005.1
msddsp.dll 12.0.21005.1
c:\Program Files(x86)\Common Files\microsoft shared\MSDesigners8\Resources\1033
msddsui.dll 12.0.21005.1Hello,
There is a Connect item related to this issue. This is the link of that Connect item:
https://connect.microsoft.com/SQLServer/feedback/details/730985/smss-crashes-when-creating-new-database-diagram
Try the workarounds posted there (Workarounds section).
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Move OEM central repository to a new database
Hi,
We want to move the OEM central repository to a different machine, we would like to migrate the data from original database to the new database. What's the best way to do that and how to re-configure OMS to use the new database? Thanks!Hi,
Please follow the document below:
Grid Control Repository: Steps for Cross Platform Migration of the 10g Grid Control Repository (Doc ID 388090.1)
Best Regards,
Venkat -
How can I import schema to a different tablespace in a new database?
Hi,
I want to transport a schema "abc", which is on 'USERS" tablespace in the old database, to a new database using Data Pump. But on the new server, I want it on a different tablespace, say "TEST". How can I do that? I tried the following but it does not work:
1. Create a user "abc" on new database, assign "TEST" as its default tablespace;
2. use impdp to import the dmp file;
I found that on the new server, the imported tables are still on the "USERS" tablespace.
Can anyone tell me how to do it? thanks a lot.Use the REMAP_TABLESPACE option:
REMAP_TABLESPACE = source_tablespace:target_tablespace
Rick -
Creating new databases after latest security patch applied
10.2.0.4
If I create a database AFTEr applying the opatch for the October 2009 security patch, do I need to also run:
@catbundle.sql cpu apply
Or is it included in the create database? I use the DBCA to create new databases.user8574962 wrote:
This is what Oracle states on metalink doc id: 422303.1
Once the bundle patch or the Critical Patch Update (CPU) patch is applied on an ORACLE_HOME should you run post-installation scripts for every newly created Oracle database using the same ORACLE_HOME?
Solution
This should be documented in the patch's README as the answer will vary with each patch.
If the patch's README is not documented, then the Post Install tasks should be run.
And this is what the OCTCPU09 README says:
3.3.3 Post Installation Instructions for Databases Created or Upgraded after Installation of CPUOct2009 in the Oracle Home
These instructions are for both non-RAC environments and RAC environments when a database is created or upgraded after the installation of CPUOct2009.
You must execute the steps in Section 3.3.2.1, "Loading Modified .sql Files into the Database" for any new database only if it was created by any of the following methods:
Using DBCA (Database Configuration Assistant) to select a sample database (General, Data Warehouse, Transaction Processing)
Using a script that was created by DBCA that creates a database from a sample database
Hope that helps.Point taken that it could vary by patchset, but those particular instructions quoted square exactly with what I had said. To quote with emphasis:
"You must execute the steps . . . for any new database *only if* it was created by any of the following methods . . ."
And what are those methods? Creating the database from a sample (pre-patch) database. If one uses dbca to create a 'custom' database, the resulting scripts will start from scratch with a CREATE DATABASE command - no pre-patch version sample or seed database involved.
:-) -
Do we need run catbundle.sql file for new databases.
dear all,
i have doubt over execution of catbundle.sql or not?
scenario:
i have insatlled 10gr2 on rhel5 and applied patchset 4 (10.2.0.5) and applied Oracle® Database Patch 10248542 - 10.2.0.5.2 Patch Set Update
after this i have create fresh database.
now,
in Oracle® Database Patch 10248542 - 10.2.0.5.2 Patch Set Update document it has specified in belwo section
3.4 Post Installation Instructions for Databases Created or Upgraded after Installation of PSU 10.2.0.5.2 in the Oracle Home
These instructions are for a database that is created or upgraded after the installation of PSU 10.2.0.5.2.
You must execute the steps in Section 3.3.2, "Loading Modified SQL Files into the Database" for any new database only if it was created by any of the following methods:
Using DBCA (Database Configuration Assistant) to select a sample database (General, Data Warehouse, Transaction Processing)
Using a script that was created by DBCA that creates a database from a sample database
Cloning a database that was created by either of the two preceding methods, and if the steps in Section 3.3.2, "Loading Modified SQL Files into the Database" were not executed after PSU 10.2.0.5.2 was applied
Upgraded databases do not require any post-installation steps.
so do we need to run catbundle here or not.
since i have created fresh database after applying 10.2.0.5 PSU2 why does it required.
opatch output:
[oracle@RG615 ~]$ opatch lsinventory
Invoking OPatch 10.2.0.5.1
Oracle Interim Patch Installer version 10.2.0.5.1
Copyright (c) 2010, Oracle Corporation. All rights reserved.
Oracle Home : /prd/crm/swbcrmdb/usr/oracle/product/10.2.0/db_1
Central Inventory : /prd/crm/swbcrmdb/usr/oracle/oraInventory
from : /etc/oraInst.loc
OPatch version : 10.2.0.5.1
OUI version : 10.2.0.5.0
OUI location : /prd/crm/swbcrmdb/usr/oracle/product/10.2.0/db_1/oui
Log file location : /prd/crm/swbcrmdb/usr/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2011-05-03_11-41-34AM.log
Patch history file: /prd/crm/swbcrmdb/usr/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch_history.txt
Lsinventory Output file location : /prd/crm/swbcrmdb/usr/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2011-05-03_11-41-34AM.txt
Installed Top-level Products (2):
Oracle Database 10g 10.2.0.1.0
Oracle Database 10g Release 2 Patch Set 4 10.2.0.5.0
There are 2 products installed in this Oracle Home.
Interim patches (1) :
Patch 10248542 : applied on Tue May 03 07:32:29 BST 2011
Unique Patch ID: 13292123
Created on 25 Dec 2010, 23:11:24 hrs PST8PDT
Bugs fixed:
6402302, 9713537, 8350262, 9949948, 8394351, 10327179, 8546356, 9711859
9714832, 9952230, 10248542, 8544696, 9963497, 9772888, 8664189, 10249537
7519406, 9952270, 8277300, 9726739
OPatch succeeded.Pl post the output of view DBA_REGISTRY_HISTORY - see MOS Doc 605795.1 (Introduction To Oracle Database catbundle.sql)
Was the database created using DBCA or manually using scripts ?
Srini -
Content migration from old to new database server
There is thread upon thread upon question (as well as answer upon answer) of this already. I have 3 farms running concurrently. 1 production, 1 development and a new production (farm A, B and C respectively). Farm A's databases are on SQLa\SP while Farm
B is on SQLb\Beta and Farm C on SQLb\SP. I've successfully copied the content database over from Farm A to Farm B & C without an issue. Farm A and C are identical except for server names (service accounts etc).
What I'm trying to do now though is just a simple content refresh from FarmA to FarmC. Aside from shutting down FarmA and C, backing up & restoring the database again, is there another way to do this?Hi,
According to your description, my understanding is you want to find another way to change farm A production environment to farm C production environment aside from shutting down FarmA and C, backing up & restoring the database .
It involves moving a farm.
Moving a farm typically involves the following steps:
Set up the new server farm
Move the databases to the new server farm
Shut down the old server farm
So how to move the databases to the new server farm is the point. For moving all the databases, you can backup and restore. Another way is detaching and attaching as the thread states:
http://sharepoint.stackexchange.com/questions/25215/the-best-practice-for-moving-content-database-between-two-farms
But copying the files is also a dangerous option due to file locks etc, and you don't want to take down the farm just to copy the data.
For more information, you can have a look at the blog:
http://www.codeproject.com/Articles/664029/Migrate-SharePoint-s-SQL-Server-to-another-SQL-Ser
Best Regards,
Eric
Eric Tao
TechNet Community Support -
Migration of existing users to new database
Hi,
I am using weblogic portal server 7.0. I have configured my domain database
to oracle 8.1.7. from pointbase (which is default).
It's configuration has been done successfully. That means if i create new
user now it goes to oracle. But what about my existing users in my point base
database which i have created previously.
Is there any way to migrate users, groups from point base to new oracle instance?
Thanks & Regards,
Satish.What version of Exchange?
How are you checking white space?
Are you using -AvaialbleNewMailbox space? If so then read this please
http://blogs.technet.com/b/rmilne/archive/2013/08/20/how-to-check-database-white-space-in-exchange.aspx
Cheers,
Rhoderick
Microsoft Senior Exchange PFE
Blog:
http://blogs.technet.com/rmilne
Twitter: LinkedIn:
Facebook:
XING:
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. -
New SCVMM Server - Migrate Database From Current SCVMM Server
The hardware on which our current Virtual Manager 2012 R2/SQL Server environment resides is due for decommission.
Consequently, we are deploying a new physical server on which VMM/SQL will be located.
The new server will have a different host name from the original server.
I need to retain all the configuration etc in our current VMM environment and migrate it to the new server.
Can this be achieved by simply migrating the VMM database to the new server or are there any other steps required?Yes, you can move your VMM databse to another SQL server, and then use the existing databse option when installing VMM.
You can look
HERE for this technet article
Regards, Samir Farhat Infrastructure and Virtualization Consultant || Virtualization, Cloud, Azure ? Follow and Ask here https://buildwindows.wordpress.com -
Migrating reports to new database schema
Hi,
My company has numerous Crystal Reports .RPT files that work against the existing database schema, but we are moving to a new database with a significantly different schema.
Rather than have to manually recreate new RPT files for all the reports, it would be nice if it would be possible to automate the process.
I have looked through the documentation for the various Java APIs and am completely confused as to whether this is possible and, if so, the best way to do it.
Any help would be appreciated.
Thanks,
CarlI did have Crystal Reports version 9 installed, as well as version XI, but I uninstalled everything and only reinstalled Crystal Reports XI release 2, and I still have the same problem.
Here is the code I am running:
package reporting;
import com.crystaldecisions.sdk.occa.report.data.*;
import com.crystaldecisions.sdk.occa.report.lib.*;
import com.crystaldecisions.sdk.occa.report.application.*;
import java.io.*;
import java.util.*;
public class TestReporting3 {
public TestReporting3() {
public static void main (String [] p_Args) {
try {
String path = "C:\\Samples\\Test3.rpt";
ReportAppSession ra = new ReportAppSession();
ra.createService("com.crystaldecisions.sdk.occa.report.application.ReportClientDocument");
ra.setReportAppServer("inproc:jrc");
ra.initialize();
ReportClientDocument clientDoc = new ReportClientDocument();
clientDoc.setReportAppServer(ra.getReportAppServer() );
clientDoc.open(path, 0);
ConnectionInfo info = new ConnectionInfo();
info.setKind(ConnectionInfoKind.SQL);
info.setPassword("client");
info.setUserName("client");
PropertyBag bag = new PropertyBag();
bag.put("Server Type", "JDBC (JNDI)");
bag.put("Database DLL", "crdb_jdbc.dll");
bag.put("Connection String", "Use JDBC=b(true);Connection URL=s(jdbc:derby://localhost:6652/agency;create=true);Database Class Name=s(org.apache.derby.jdbc.ClientDriver);Server=;User ID=s(client);Password=;JDBC Connection String=s(!org.apache.derby.jdbc.ClientDriver!jdbc:derby://localhost:6652/agency;create=true!user={userid}!password={password})");
bag.put("Use JDBC", "true");
bag.put("Database Class Name", "org.apache.derby.jdbc.ClientDriver");
bag.put("Server Name", "jdbc:derby://localhost:6652/agency;create=true");
bag.put("URI", "!org.apache.derby.jdbc.ClientDriver!jdbc:derby://localhost:6652/agency;create=true!user={userid}!password={password}");
info.setAttributes(bag);
clientDoc.getDatabaseController().replaceConnection((IConnectionInfo)clientDoc.getDatabaseController().getConnectionInfos(null).get(0), info, null, 0);
clientDoc.saveAs("NewTest3.rpt", "C:/Samples", 0);
System.out.println("Done");
} catch (Exception ex) {
ex.printStackTrace();
The exception is being thrown by the line clientDoc.getDatabaseController().replaceConnection(...);
Regards,
Carl
Maybe you are looking for
-
I need to have the iTunes Store app
-
Bank Type in Payment Transactions in Customer master record
Key you enter in the line item to specify which business partner's bank the system should use. Exactly what key it is talking about. In case i have 3-4 banks.
-
Hello, I need to develop a program that reads a PDF file in a server and send it to SAP Spool. I can use UPLOAD function to load it as a binary file, but then how to generate a spool request with this content? I tried class CL_FP_PDF_OBJECT but it se
-
Disable (Gray Out) File Browse button
To all Apex gurus, I am facing a situation when I have a Select List Item - P2_DOCS_CATEGORY (with Display Null enabled) and a File Browse Item - P2_FILE_INPUT and I dont want end-user to be able to click on File Browse (but I want it to be visible,
-
Firefox disconnects by clicking link in my gmail and most of time i refreshes the page few clicks. And also some problem relate with playing youtube videos. I frankly notice that i connect my net using PC Suite and also system protected with Anti vir