Using SSIS for Access Database
I have a Database in Access and I want extract data from this database into SQL Server 2008 R2 using SSIS. Then i want to use Analysis Services for Facts and Dimension Tables. Then i want to load the extracted data into a web application and want to use
Reporting Services for reports. Can anybody help me in SSIS and Analysis Services and Reporting Services?
Ok just help me, I want to extract data from single table of access given below and then i want to make facts and dimension tables . Kindly help me in populating these fact and dimension tables using Analysis Services.
ConsumerID
ReferenceNo
OldAccountNo
Name
RelationWith
RelationwithName
Address
ConnectionDate
RegionType
Circle
Division
SubDivision
Feeder
GridStation
Company
Tariff
Load
PresentReading
PreviousReading
UnitsConsumed
CostofElectricity
ElectricityDuty
PTVFee
GST
IncomeTax
ExtraTax
FurtherTax
NJSurcharge
FPAMonth
FPA
GSTonFPA
ITonFPA
EDonFPA
Arrears
Installment
Subsidies
TotalFPA
CurrentBill
LPSurcharge
PayableWithinDueDate
PayableAfterDueDate
BillingMonth
DueDate
1
1242
4242
Nasir
S/o
Mohiuddin
Hyderabad
01-Jan-07
Urban
Hyderabad-I
Garikhata
Garikhata
JAMSHORO 1
66KV DIGRI
HESCO
A2(a)
4
7000
5000
2000
32000
480
60
5521.6
200
Jul-08
45
7.65
0.675
53
38262
3248
38315
41563
Jan-09
03-Jan-09
2
1234
1234
Kashif
S/o
Mohsin
Jamshoro
01-Jan-09
Urban
Hyderabad-II
Garikhata
Garikhata
AMRI (SHAL.) 1
66KV TANDO GHULAM ALI
HESCO
A1(a)
1.75
451
400
51
295.29
4.42935
35
50.9522895
5.1
Jul-08
45
7.65
0.675
53
391
30
444
474
Jan-09
03-Jan-09
3
1235
1235
Afzal
S/o
Mohsin1
Jamshoro
01-Jan-09
Urban
Hyderabad-II
M.P.Khas .
Liaquat Colony
HALA ROAD 3
132KV SAMARO
HESCO
A1(a)
1.8
250
50
200
1622
24.33
35
279.8761
20
Jul-08
45
7.65
0.675
53
1981
165
2034
2199
Jan-09
03-Jan-09
4
1236
1236
Akbar
S/o
Basit
jamshoro
01-Jan-10
Urban
Hyderabad-I
Digri
Hali Road
HALA ROAD 11
132KV JHIMPIR
HESCO
A1(a)
1.95
801
500
301
3711.33
55.66995
35
640.3899915
30.1
Jul-08
45
7.65
0.675
53
4472
377
4525
4902
Jan-09
03-Jan-09
5
1237
1237
Qaisar
S/o
Nazeer
Hyderabad
01-Jan-08
Urban
Hyderabad-I
Kotri
Samaro
HYD N.P.T.S. 11
132KV MIRPUR KHAS
HESCO
A1(a)
2
750
700
50
289.5
4.3425
35
49.953225
5
Jul-08
45
7.65
0.675
53
384
29
437
466
Jan-09
03-Jan-09
Similar Messages
-
I have tired for this!
When I use SSIS for extract data from ssas, that means,I use mdx query.
then random error occured.
Hope some one can understand my poor English....
And the Error Info show below.
Code Snippet
Error: 0xC0202009 at Data Flow Task - For Individual User Tech Points, OLE DB Source 1 1 [31]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E05.
An OLE DB record is available. Source: "Microsoft OLE DB Provider for Analysis Services 2005" Hresult: 0x00000001 Description: "Error Code = 0x80040E05, External Code = 0x00000000:.".
Error: 0xC004701A at Data Flow Task - For Individual User Tech Points, DTS.Pipeline: component "OLE DB Source 1 1" (31) failed the pre-execute phase and returned error code 0xC0202009.I have had the same error on SQL2008 and now on SQL2012 SSIS, but have been able to eliminate / workaround.
We have a Loop Container in our Control flow that contains a data-flow task with an MDX source. The MDX query for the data-flow source is dynamically built (via an expression) on each iteration of the Loop container (however it always returns the "same shaped"
results - only the filters in the WHERE clause are different).
We've found the error to be somewhat intermittent - sometimes the package will complete successfully, other times it will fail with the 0x80040E05 error at varying iterations thru the container loop.
To alleviate the problem we setup the SQL Agent job-step for this package to re-try on failure for up to 5 retries - not an ideal workaround, but it helped to improve the success rate of the Job.
We have no idea why this error is occurring or what is causing it, however it appears to be timing-related in some way and I have only seen the issue when using a SSAS OLE-DB data source with a dynamically generated MDX query. I have managed to virtually
eliminate the error from occurring with a not ideal workaround in the SSIS package - no idea why this works/helps (hopefully Microsoft will be able to work it out and resolve the issue as it's been plaguing us since SQL2008 and is still here in SQL2012
SP1...
Workaround for MDX causing 0x80040E05 error:
Within our loop container we have added a Script task with OnSuccess precedent constraint to the data-flow task that contains the dynamically generated MDX source query. The script task simply introduces a WAIT in the processing immediately after the
data-flow task completes of about 5 seconds, before allowing SSIS to continue with the next iteration (e.g. System.Threading.Thread.Sleep(5000)).
With this delay in place we have had much more stable SSIS package executions - dont know why, but that's what we havce observed. Also note that when we migrated to SQL2012 SSIS packages the 0x80040E05 error returned, however we were able to eliminate it
once more by increasing the WAIT time to 10 seconds on this script task.
Now waiting for 10 seconds is not an ideal solution / workaround to this problem - particularly when it is contained within a Loop Container (in our case it has added nearly 30 minutes of "WAIT time" to the package execution duration), however this workaround
is better than having the package fail 80%+ of the time...
regards,
Piquet -
Using JavaScript to access Database
Hi all,
I am using JSP and Tomcat for my web application.
Now i need to use Javascript to access the MS Access database. Can anyone please tell me the class and command for accessing database from javascript.
Please give me an example and that will help me. I know it is not good to access database using JavaScript. But in this situation i have to use it anyhow.
ThatnksHi all,
Thanks very much for your help. Now some of you said that it is not possible in JSP to access database using JavaScript, some of you said yes it is possible but not secure, I understand the both concepts.
Now my problem is last year i built a web application for my company and the scenario is like this:
The staff records their working time in that application. Now when they click a button it creates a drop down list of all clients they have and that list is in HTML as SELECT TAG. So the select tag includes 100+ client name.
Now they can add as many client as they want for example if i have worked with 10 clients i will create 10 drop down list by pressing button called ADD CLIENT and will record their hours.
Now from the description above you guys can understand that an OnClick Javascript event in involved to create multiple dropdown list.
Now what i want is that i want those 100+ client list to come from database rather than typing them in the SELECT TAG. and please remember the SELECT tag is implemented in Javascript using innerHTML event.
Now for those of you who suggested that it is not possible to use Javascript in accessing database, can you please tell me how can i implement Onclick event using JSP/Serverlet and can create dynamic drop downlist?
Thanks for your time to read this long message. -
Can I use DMU for this database?
Hi everyone,
I am snippeting a CSSCAN ( i know..) so that will reveal the amount of convertible data we have to tackle and wanted everyone's opinion if we can use DMU for this database.
[Data Dictionary Conversion Summary]
Datatype Changeless Convertible Truncation Lossy
VARCHAR2 7,805,484 202 0 0
CHAR 1,573 0 0 0
LONG 220,073 0 0 0
CLOB 91,227 15,718 0 0
VARRAY 23,479 0 0 0
Total 8,141,836 15,920 0 0
Total in percentage 99.805% 0.195% 0.000% 0.000%
The data dictionary can not be safely migrated using the CSALTER script
[Application Data Conversion Summary]
Datatype Changeless Convertible Truncation Lossy
VARCHAR2 68,382,337 350,836 39 84
CHAR 322,930 0 0 0
LONG 0 0 0 0
CLOB 32,522 13,257 0 0
VARRAY 1,552 0 0 0
Total 68,739,341 364,093 39 84
Total in percentage 99.473% 0.527% 0.000% 0.000%
I think it should be fine.
Please let me know.
thanksHello,
the amount of convertible has no relation to if you can use dmu or not.
of course, the less convertible, the less time the conversion process itself will take, but that's about it
Regards,
Gunther -
Thin driver for Access Database
Hi Guys,
I want to know the exact thin JBBC driver for access database,
For oracle we have "jdbc:oracle:thin:@host:port:sid" driver, I need the similar type of driver for Access,
Where can I find
Thankslet me be a bit more descriptive..
there's no free, publicly available type 3 or 4 driver for Access.
However, if you want to buy one, take a look at this URL: http://industry.java.sun.com/products/jdbc/drivers .
It'll help you identify third-party vendors who sell what you're looking for...
Larry -
Help on using 2 MS Access databases at the same time
I have a problem... see what basically I am trying to do is search for a string in the database 'cache'. if found the second colume is retured to the user as the output. but if not found in that 'cache' then it serches another datbase 'server' and when the req string is found there it has to return the 2nd column to the user but also add this new row in to the 'cache' database.
The source that I am trying for that is as follows.
import java.sql.*;
public class localdemo {
public static void main(String[] args) {
String s,r;
String x;
String t=args[0];
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
// Test with MS Access database (ODBC data source)
String url = "jdbc:odbc:Servers";
String urlc = "jdbc:odbc:cache";
java.sql.Connection c = DriverManager.getConnection(url,"chetan", "mavric1");
java.sql.Connection c1 = DriverManager.getConnection(urlc,"chetan", "mavric1");
java.sql.Statement st = c.createStatement();
java.sql.Statement stc = c1.createStatement();
java.sql.ResultSet rs = st.executeQuery("select * from server");
java.sql.ResultSet rsc = stc.executeQuery("select * from cache");
//java.sql.ResultSetMetaData md = rs.getMetaData();
//java.sql.ResultSetMetaData mdc = rsc.getMetaData();
while(rsc.next()) {
s=rsc.getString(1);
if(s.equals(t))
System.out.print(rsc.getString(2));
System.exit(1);
System.out.println("\nDNS Entry not found in the Cache...");
System.out.println("\nMoving to the Main server database..\n");
while(rs.next()) {
r=rs.getString(1);
if(r.equals(t))
System.out.print(rs.getString(2));
String query = "insert into cache(server,ip) values(t,rs.getString(2))";
int rows = stc.executeUpdate(query);
stc.close();
rs.close();
rsc.close();
} catch(Exception e) {
e.printStackTrace();
it gives me an error
java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Undefined function 'rs.getString' in express
ion.
at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcStatement.execute(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcStatement.executeUpdate(Unknown Source)
at localdemo.main(localdemo.java:46)
PLease help
regards
ChetanHi ,
It's always better to acquire resources when ever they are
going to be used.
So please change the code as shown below.
import java.sql.*;
public class localdemo {
public static void main(String[] args) {
String s,r;
String x;
String t=args[0];
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
// Test with MS Access database (ODBC data source)
String url = "jdbc:odbc:Servers";
String urlc = "jdbc:odbc:cache";
java.sql.Connection c = null;
java.sql.Connection c1 = DriverManager.getConnection(urlc,"chetan", "mavric1");
java.sql.Statement st = null;
java.sql.Statement stc = c1.createStatement();
java.sql.ResultSet rs = null;
java.sql.ResultSet rsc = stc.executeQuery("select * from cache");
//java.sql.ResultSetMetaData md = rs.getMetaData();
//java.sql.ResultSetMetaData mdc = rsc.getMetaData();
while(rsc.next()) {
s=rsc.getString(1);
if(s.equals(t))
System.out.print(rsc.getString(2));
System.exit(1);
rsc.close();
System.out.println("\nDNS Entry not found in the Cache...");
System.out.println("\nMoving to the Main server database..\n");
c= DriverManager.getConnection(url,"chetan", "mavric1");;
st=c.createStatement();
rs=st.executeQuery("select * from server");
while(rs.next()) {
r=rs.getString(1);
if(r.equals(t))
System.out.print(rs.getString(2));
String query = "insert into cache(server,ip) values(t,rs.getString(2))";
int rows = stc.executeUpdate(query);
stc.close();
rs.close();
} catch(Exception e) {
e.printStackTrace();
Hope this helps.
Good Luck.
Gayam.Srinivasa Reddy
Developer Technical Support
Sun Micro Sysytems
http://www.sun.com/developers/support/ -
Advice on whether to use ASM for 11gR2 databases
Hi all,
Hope I can get some advice here for ASM.
I'm going to upgrade all my 10.2 EE databases to 11gR2, and I will not be running RAC, only single instances and Data Guard. My storage is HP SAN. I wonder if it is worth the trouble (in our small shop) to run ASM.
Currently, my backups are done from a SAN perspective only, meaning that whatever is in the SAN storage is backed up.
How do I back up the files in ASM? Do I have to copy the backupsets to file system first ?
Thanks!
Junefjfranken wrote:
For small databases performance gain is zero, you only add complexity where a normal file system would be sufficient.Disagree.
Also, the reasoning is not valid. ASM works at device level. Not at cooked file system level.
This means that ASM directly uses the LUN (seen as a local scsi device) of the SAN. See LUN. Use LUN. That simple.
Not using ASM means that the o/s needs to be updated and configured. That LUN needs to be mounted. It needs to be formatted. The mount needs to be made permanent (via fstab or whatever).
This makes ASM less complex and cooked file system more complex.
Also consider that the mount and its contents are exposed to other s/w and processes and users. This raises issue such as access control and security - and the possibility of errant s/w trashing a database file because it happens to be running on the wrong mount or wrong directory.
This is not the case with an ASM diskgroup as it is not mounted and not visible as a normal cooked file system.
And if a cooked file system feature needed for a non-database files, an ACFS volume can be created in the diskgroup and mounted as a clustered file system. So it is not as if you loose the option of having a cooked file system on a LUN, when using ASM.
Database size has nothing to do with the decision between cooked file system or ASM when using SAN LUNs. Ease of use, manageability, and feature set, have. From this perspective a cooked file system for database storage is old and clunky and insecure, and ASM is flexible, performant, scalable and secure. -
Can I use Java for PI database?
Does anyone ever used Java for PI dababase? Is it possible?
I know PI has an ODBC driver including core SQL conforming to
Micro$oft standard. Does it make the JDBC-ODBC bridge
solution possible?
Thanks a lot.
(PI database is the database developed by OSISOFT for plant information database.)Thank you for your reply.
We haven't set up our PI database yet. I am just investigate the possiblity so that we can decide which direction to go. VB or Java basically.
Thanks again. -
Using QuB for this database problem
Hi, I have a problem of trying to list links on a website I am creating and if I am correct, I need to link 2 tables on the database. I was trying to use QuB for this but am tearing my hair out.
Here is my problem:
I have a list of links on a website and each one belongs to a category for eg:
Category: Biomass
Comapny Name: AN Other
WebLink: http:abc.com
Now how can I show all the Biomass links together under the one heading and all the others under their own heading eg, Windpower, Boilers etc.
Can I use QuB for this?
The tables I have are:
Table 1:
id
Category
Table 2:
id
Category
Client
Weblink
That's it, hope I haven;t confused everyone, because I'm confused enough!
Thanks in advance.Unfortunately, this is a common problem with serialization : If an obj which does not implement Serializable is a non-transient member of an object that is Serialized, Java throws a NotSerializableException.
Therefore, you have to walk through the chain of objs to make each one of them serializable, which is not always practical.
Below is a link that presents a solution to this problem, by using a SerializableAdapter (using the Adapter design pattern) :
http://www.javageeks.com/Papers/SerializableAdapter/SerializableAdapter.html -
Oracle VM Manager: Includes a Restricted-use License for Oracle Database?
I'm evaluating OVM and OL for building a small private cloud and - at this stage of the evaluation - am primarily focused on making sure that I understand the licensing requirements of Oracle virtualization.
The Oracle® VM Installation and Upgrade Guide for Release 3.1.1 states that...
Oracle VM Manager includes a restricted-use license of the
Oracle Database (Standard Edition or Enterprise Edition) for use as
the Oracle VM Manager Management Repository only. The supported
version of Oracle Database are...
Am I understanding this correctly? Does this mean that, for the purposes of implementing Oracle VM Manager, it will not be necessary to purchase a license for Oracle Database (11g) Standard Edition?
Eric Pretorious
Truckee, CAFor the uninitiated and/or impatient: In order to use Oracle Database 11g SE/EE instead of Oracle Database XE...
>
Oracle VM Manager can be installed in a demo installation using Oracle XE, or as a production installation using Oracle SE or EE. The demo installation installs Oracle XE on the local host and configures it to use as the repository. *The production option collects information on the pre-installed Oracle Database* and uses it as the repository...><ol>
<li>Go [url http://www.oracle.com/us/products/database/standard-edition/overview/index.html]the Oracel Database 11g product page.
<li>Follow the link to [url http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html?ssSourceSiteId=ocomen]the Download Page.
<li>Follow the link to your preferred architecture.
<li>Review and accept the EULA.
<li>Download the packages.
<li>Follow the link to the Documentation Page:
3. Installation guides and general Oracle Database 11g documentation are here.<li>Follow the link to the documentation about "Installing and Upgrading".
<li>Download the Database Quick Installation Guide for your preferred architecture.
</ol>
Eric Pretorious
Truckee, CA
Edited by: epretorious on Sep 13, 2012 6:50 PM - Added a signature. -
SQL Syntax for Access database
This pertains to LV only due to the fact that LV requires a slightly different syntax for SQL statements for use with Access than what you will see in the Access Queries SQL view. For instance, I discovered that if you use a ? for a character placeholder (can be any single character) in Access, you need to use an _ (underscore) for this feature. I also discoverd that you use a % sign instead of an * (asterisk) for any number of characters.
The lat thing I am having trouble with is specifying a range of characters that could be in a certain position in the text field. For instance, if the first character can be only an alpha between A and Z, and the next two characters can be numbers anywhere from 1 to 12, I would use LIKE "[A-Z][1-12]*" In LV, the double quotes are are replaced with single quotes but I cannot figure out what to replace the brackets with.
The brackets do not return a syntax error but also do not return any results that should fit the pattern.
I have tried parenthesis, double quotes, using a TO in place of the dash, etc.
Any input on this is very much appreciated.
Doug
I guess sometimes writing the problem out helps one deduce the answer by taking a closer look at what has been tried and what has not.
So LIKE "[A-Z][1-12]*" in Access will be LIKE ('[A-Z][01-12]%') in LV. I hadn't tried the pecent sign in place of the asterisk using the brackets. Too bad this stuff isn't spelled out in detail somewhere.
Doug
"My only wish is that I am capable of learning each and every day until my last breath."Thanks Danubio for the links. The one for the SQL utility may be helpful as I go forward.
Mike, yes I am using the connectivity toolkit. It's what I cut my teeth on and up to this point, has not caused me any issues. I rarely make changes after implementation but if I do, the use of typedef's keeps it pretty painless. A brief read on the doc included in your referenced zip file confirms there are alternate methods to talks to the database tables (I am not a one table programmer). When time permits, I will do some trials and if warranted, will try some of your techniques at some point. Simply not enough time currently.
As I posted intially, I actually solved my problem before there were any replies and included my solution in the first post. Why there is a syntax difference going from LV to an mdb is an unknown to me but it exists nonetheless.
Thanks for the input on this
Doug
"My only wish is that I am capable of learning each and every day until my last breath." -
Facing permission problem for accessing database
{color:#0000ff}Hello All,
I have just started in this forum. I am very new to j2me and facing problem and I need your help.
I had successfully signed the application and it was working properly on device. Next I added login module in my application where I am accessing a PHP from server which is having MySQL DB connection for usercheck. When I try with unsigned jar it works properly and when I try using signed jar it is showing me wrong username/password. I think it is midlet permission problem.
It would be very nice if someone can tell me what might be the possibilities that it is going wrong.
Thank you.
Regards,
-Anuradha{color}.Signing MIDlet has nothing to do with how data is send over the network. So please be sure that your signed MIDlet is not corrupting your data.
If you are receiving correct username / password at server side, then its server's responsibility to validate it Your MIDlet has posted the parameters right way.
I would suggest you to check following things
1) Check if server is validating the username / password.
2) What response does server sends you back after validating username / password. Check on both ends.
3) Check how your midlet processing the response from the server.
4) Do you get any exceptions?
but I am doing database connection through php which is on server, I hope it is not wrong way of doing it.Doesn't matter what technology is used at server side to connect to the database. -
Cannot connect and run query for Access database
Hi,
I have a html file and a servlet file which contains code to connect to a database. I also have a sales database with customer table along with other tables in Access. I have created a DSN in Windows named sales which connects to the sales database. Now, when I am running the html form, the servlet does not run the query "Select * from Customer". It seems it cannot make any connection to the database.
Any help is appreciated. I am very new to JDBC technology. Thanks.
HTML FORM CODE:
<html>
<head><title>Sales</title></head>
<body>
<form action="http://localhost:8100/servlet/SalesServlet" method=POST>
<strong>Select:</strong>
<textarea cols=50 rows=8 name=select></textarea><p>
<input type=submit value="Query">
<input type=reset>
</form></body></html>
SALESSERVLET CODE:
//Copyright (c) 2000, Art Gittleman
//This example is provided WITHOUT ANY WARRANTY either expressed or implied.
/* Queries the Sales database. Needs to be modified
* to use metadata to correctly output the result set.
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.sql.*;
import sun.jdbc.odbc.JdbcOdbcDriver;
public class SalesServlet extends HttpServlet {
Connection con;
Statement stmt;
public void init(ServletConfig sc) throws ServletException {
super.init(sc);
try{
new JdbcOdbcDriver();
String url = "jdbc:odbc:Sales";
String user = "";
String password = "";
con = DriverManager.getConnection(url, user, password);
stmt = con.createStatement();
}catch (Exception e) {
e.printStackTrace();
System.exit(1);
public void doGet(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException, IOException {
resp.setContentType("text/html");
PrintWriter out = resp.getWriter();
try{
String query = req.getParameter("select");
ResultSet rs = stmt.executeQuery(query);
ResultSetMetaData rsMetaData = rs.getMetaData();
int cols = rsMetaData.getColumnCount();
while(rs.next()) {
String s = "";
for(int i=1; i<=cols; i++)
s += rs.getString(i) + ' ';
s += "<br>";
out.println(s);
}catch(Exception e) {
e.printStackTrace();
out.close();
public void doPost(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException, IOException {
doGet(req,resp);
}String url = "jdbc:odbc:Sales";
String user = "";
String password = "";
con = DriverManager.getConnection(url, user, password);This might be causing your problem, but not sure. Since you don't need a username or password for the ODBC connection, you can just use
con = DriverManager.getConnection(url);
The username and password aren't needed, so you can just use the above call instead. Perhaps the ODBC is trying to find a user called "" with a password "" and puking on itself, who knows... but you should post whatever exceptions or specific problems you're having that make you think you're not connecting. -
Problem when using template for new database (ora10g)
Hi all,
I've done this a few times now, on different servers weeks apart.
I have an Oracle 10g install on a Windows Server 2003 box, and I have run the database configuration assistant to create a database. We will have several databases with the exact same setup when I move Oracle 10g to a production environment. I created the database exactly as I need it the first time round, then I save it as a template to use for the next ones. However, when I run the template I get the following error:
ORA-01501: CREATE DATABASE failed
ORA-09314: sltln: error translating logical name
Whats driving me nuts is, if I just go ahead and retype everything back in the same as the last database it works fine, just seems to be the template which is messing me up.
Heres the template I'm trying to use (hope just pasting it like this is ok.. if not, please some mod remove it and I'll attach it)
Thanks!
<DatabaseTemplate name="DCnn" description="" version="10.1.0.2.0">
<CommonAttributes>
<option name="ISEARCH" value="false"/>
<option name="OMS" value="false"/>
<option name="JSERVER" value="false"/>
<option name="SPATIAL" value="false"/>
<option name="ODM" value="false">
<tablespace id="SYSAUX"/>
</option>
<option name="IMEDIA" value="false"/>
<option name="XDB_PROTOCOLS" value="false">
<tablespace id="SYSAUX"/>
</option>
<option name="ORACLE_TEXT" value="false">
<tablespace id="SYSAUX"/>
</option>
<option name="SAMPLE_SCHEMA" value="false"/>
<option name="CWMLITE" value="false">
<tablespace id="SYSAUX"/>
</option>
<option name="EM_REPOSITORY" value="true">
<tablespace id="SYSAUX"/>
</option>
</CommonAttributes>
<Variables/>
<CustomScripts Execute="false"/>
<InitParamAttributes>
<InitParams>
<initParam name="O7_DICTIONARY_ACCESSIBILITY" value="TRUE"/>
<initParam name="aq_tm_processes" value="1"/>
<initParam name="background_dump_dest" value="{ORACLE_BASE}\admin\{DB_UNIQUE_NAME}\bdump"/>
<initParam name="compatible" value="10.1.0.2.0"/>
<initParam name="core_dump_dest" value="{ORACLE_BASE}\admin\{DB_UNIQUE_NAME}\cdump"/>
<initParam name="db_block_size" value="8" unit="KB"/>
<initParam name="db_cache_size" value="24" unit="MB"/>
<initParam name="db_create_file_dest" value="E:\Oradata"/>
<initParam name="db_create_online_log_dest_1" value="C:\Oradata"/>
<initParam name="db_create_online_log_dest_2" value="D:\Oradata"/>
<initParam name="db_create_online_log_dest_3" value="E:\Oradata"/>
<initParam name="db_domain" value="JACOBSONCO.COM"/>
<initParam name="db_file_multiblock_read_count" value="16"/>
<initParam name="db_name" value="SDC7"/>
<initParam name="db_recovery_file_dest" value="E:\Oradata\flash_recovery_area"/>
<initParam name="db_recovery_file_dest_size" value="2048" unit="MB"/>
<initParam name="fast_start_mttr_target" value="300"/>
<initParam name="java_pool_size" value="0" unit="MB"/>
<initParam name="job_queue_processes" value="10"/>
<initParam name="large_pool_size" value="8" unit="MB"/>
<initParam name="open_cursors" value="1000"/>
<initParam name="pga_aggregate_target" value="24" unit="MB"/>
<initParam name="processes" value="150"/>
<initParam name="query_rewrite_enabled" value="FALSE"/>
<initParam name="remote_login_passwordfile" value="EXCLUSIVE"/>
<initParam name="shared_pool_size" value="80" unit="MB"/>
<initParam name="sort_area_size" value="524288"/>
<initParam name="undo_management" value="AUTO"/>
<initParam name="undo_retention" value="10800"/>
<initParam name="undo_tablespace" value="UNDOTBS1"/>
<initParam name="user_dump_dest" value="{ORACLE_BASE}\admin\{DB_UNIQUE_NAME}\udump"/>
<initParam name="utl_file_dir" value="D:\FileTransfers\Triggers"/>
</InitParams>
<MiscParams>
<databaseType>MULTIPURPOSE</databaseType>
<maxUserConn>20</maxUserConn>
<percentageMemTOSGA>40</percentageMemTOSGA>
<customSGA>true</customSGA>
<characterSet>WE8MSWIN1252</characterSet>
<nationalCharacterSet>AL16UTF16</nationalCharacterSet>
<archiveLogMode>false</archiveLogMode>
<initParamFileName>{ORACLE_BASE}\admin\{DB_UNIQUE_NAME}\pfile\init.ora</initParamFileName>
</MiscParams>
<SPfile useSPFile="true">{ORACLE_HOME}\database\spfile{SID}.ora</SPfile>
</InitParamAttributes>
<StorageAttributes>
<ControlfileAttributes id="Controlfile">
<maxDatafiles>100</maxDatafiles>
<maxLogfiles>16</maxLogfiles>
<maxLogMembers>3</maxLogMembers>
<maxLogHistory>1</maxLogHistory>
<maxInstances>8</maxInstances>
<image name="<OMF_CONTROL_0>" filepath="{ORACLE_BASE}\oradata\{DB_UNIQUE_NAME}\"/>
<image name="<OMF_CONTROL_1>" filepath="{ORACLE_BASE}\oradata\{DB_UNIQUE_NAME}\"/>
<image name="<OMF_CONTROL_2>" filepath="{ORACLE_BASE}\oradata\{DB_UNIQUE_NAME}\"/>
</ControlfileAttributes>
<DatafileAttributes id="<OMF_DEKINS_DATAFILE_0>">
<tablespace>DEKINS</tablespace>
<temporary>false</temporary>
<online>true</online>
<status>0</status>
<size unit="MB">500</size>
<reuse>false</reuse>
<autoExtend>false</autoExtend>
<increment unit="KB">-2</increment>
<maxSize unit="KB">-1</maxSize>
</DatafileAttributes>
<DatafileAttributes id="<OMF_INDEX_DATA_DATAFILE_0>">
<tablespace>INDEX_DATA</tablespace>
<temporary>false</temporary>
<online>true</online>
<status>0</status>
<size unit="MB">500</size>
<reuse>false</reuse>
<autoExtend>false</autoExtend>
<increment unit="KB">-2</increment>
<maxSize unit="KB">-1</maxSize>
</DatafileAttributes>
<DatafileAttributes id="<OMF_SYSAUX_DATAFILE_0>">
<tablespace>SYSAUX</tablespace>
<temporary>false</temporary>
<online>true</online>
<status>0</status>
<size unit="MB">120</size>
<reuse>true</reuse>
<autoExtend>true</autoExtend>
<increment unit="KB">10240</increment>
<maxSize unit="MB">-1</maxSize>
</DatafileAttributes>
<DatafileAttributes id="<OMF_SYSTEM_DATAFILE_0>">
<tablespace>SYSTEM</tablespace>
<temporary>false</temporary>
<online>true</online>
<status>0</status>
<size unit="MB">300</size>
<reuse>true</reuse>
<autoExtend>true</autoExtend>
<increment unit="KB">10240</increment>
<maxSize unit="MB">-1</maxSize>
</DatafileAttributes>
<DatafileAttributes id="<OMF_TEMP_DATAFILE_0>">
<tablespace>TEMPORARY_DATA</tablespace>
<temporary>false</temporary>
<online>true</online>
<status>0</status>
<size unit="MB">200</size>
<reuse>true</reuse>
<autoExtend>true</autoExtend>
<increment unit="KB">640</increment>
<maxSize unit="MB">-1</maxSize>
</DatafileAttributes>
<DatafileAttributes id="<OMF_UNDOTBS1_DATAFILE_0>">
<tablespace>UNDOTBS1</tablespace>
<temporary>false</temporary>
<online>true</online>
<status>0</status>
<size unit="MB">200</size>
<reuse>true</reuse>
<autoExtend>true</autoExtend>
<increment unit="KB">5120</increment>
<maxSize unit="MB">-1</maxSize>
</DatafileAttributes>
<DatafileAttributes id="<OMF_USERS_DATAFILE_0>">
<tablespace>USER_DATA</tablespace>
<temporary>false</temporary>
<online>true</online>
<status>0</status>
<size unit="MB">50</size>
<reuse>true</reuse>
<autoExtend>true</autoExtend>
<increment unit="KB">1280</increment>
<maxSize unit="MB">-1</maxSize>
</DatafileAttributes>
<TablespaceAttributes id="DEKINS">
<online>true</online>
<offlineMode>1</offlineMode>
<readOnly>false</readOnly>
<temporary>false</temporary>
<defaultTemp>false</defaultTemp>
<undo>false</undo>
<local>true</local>
<blockSize>-1</blockSize>
<allocation>1</allocation>
<uniAllocSize unit="KB">-1</uniAllocSize>
<initSize unit="KB">-1</initSize>
<increment unit="KB">-1</increment>
<incrementPercent>-1</incrementPercent>
<minExtends>-1</minExtends>
<maxExtends>-2</maxExtends>
<minExtendsSize unit="KB">-1</minExtendsSize>
<logging>true</logging>
<recoverable>false</recoverable>
<maxFreeSpace>0</maxFreeSpace>
<autoSegmentMgmt>true</autoSegmentMgmt>
<datafilesList>
<TablespaceDatafileAttributes id="<OMF_DEKINS_DATAFILE_0>">
<id>1</id>
</TablespaceDatafileAttributes>
</datafilesList>
</TablespaceAttributes>
<TablespaceAttributes id="INDEX_DATA">
<online>true</online>
<offlineMode>1</offlineMode>
<readOnly>false</readOnly>
<temporary>false</temporary>
<defaultTemp>false</defaultTemp>
<undo>false</undo>
<local>true</local>
<blockSize>-1</blockSize>
<allocation>1</allocation>
<uniAllocSize unit="KB">-1</uniAllocSize>
<initSize unit="KB">-1</initSize>
<increment unit="KB">-1</increment>
<incrementPercent>-1</incrementPercent>
<minExtends>-1</minExtends>
<maxExtends>-2</maxExtends>
<minExtendsSize unit="KB">-1</minExtendsSize>
<logging>true</logging>
<recoverable>false</recoverable>
<maxFreeSpace>0</maxFreeSpace>
<autoSegmentMgmt>true</autoSegmentMgmt>
<datafilesList>
<TablespaceDatafileAttributes id="<OMF_INDEX_DATA_DATAFILE_0>">
<id>1</id>
</TablespaceDatafileAttributes>
</datafilesList>
</TablespaceAttributes>
<TablespaceAttributes id="SYSAUX">
<online>true</online>
<offlineMode>1</offlineMode>
<readOnly>false</readOnly>
<temporary>false</temporary>
<defaultTemp>false</defaultTemp>
<undo>false</undo>
<local>true</local>
<blockSize>-1</blockSize>
<allocation>1</allocation>
<uniAllocSize unit="KB">-1</uniAllocSize>
<initSize unit="KB">64</initSize>
<increment unit="KB">64</increment>
<incrementPercent>50</incrementPercent>
<minExtends>1</minExtends>
<maxExtends>4096</maxExtends>
<minExtendsSize unit="KB">64</minExtendsSize>
<logging>true</logging>
<recoverable>false</recoverable>
<maxFreeSpace>0</maxFreeSpace>
<autoSegmentMgmt>true</autoSegmentMgmt>
<datafilesList>
<TablespaceDatafileAttributes id="<OMF_SYSAUX_DATAFILE_0>">
<id>-1</id>
</TablespaceDatafileAttributes>
</datafilesList>
</TablespaceAttributes>
<TablespaceAttributes id="SYSTEM">
<online>true</online>
<offlineMode>1</offlineMode>
<readOnly>false</readOnly>
<temporary>false</temporary>
<defaultTemp>false</defaultTemp>
<undo>false</undo>
<local>true</local>
<blockSize>-1</blockSize>
<allocation>3</allocation>
<uniAllocSize unit="KB">-1</uniAllocSize>
<initSize unit="KB">64</initSize>
<increment unit="KB">64</increment>
<incrementPercent>50</incrementPercent>
<minExtends>1</minExtends>
<maxExtends>-1</maxExtends>
<minExtendsSize unit="KB">64</minExtendsSize>
<logging>true</logging>
<recoverable>false</recoverable>
<maxFreeSpace>0</maxFreeSpace>
<autoSegmentMgmt>true</autoSegmentMgmt>
<datafilesList>
<TablespaceDatafileAttributes id="<OMF_SYSTEM_DATAFILE_0>">
<id>-1</id>
</TablespaceDatafileAttributes>
</datafilesList>
</TablespaceAttributes>
<TablespaceAttributes id="TEMPORARY_DATA">
<online>true</online>
<offlineMode>1</offlineMode>
<readOnly>false</readOnly>
<temporary>true</temporary>
<defaultTemp>true</defaultTemp>
<undo>false</undo>
<local>true</local>
<blockSize>-1</blockSize>
<allocation>1</allocation>
<uniAllocSize unit="KB">-1</uniAllocSize>
<initSize unit="KB">64</initSize>
<increment unit="KB">64</increment>
<incrementPercent>0</incrementPercent>
<minExtends>1</minExtends>
<maxExtends>0</maxExtends>
<minExtendsSize unit="KB">64</minExtendsSize>
<logging>true</logging>
<recoverable>false</recoverable>
<maxFreeSpace>0</maxFreeSpace>
<autoSegmentMgmt>true</autoSegmentMgmt>
<datafilesList>
<TablespaceDatafileAttributes id="<OMF_TEMP_DATAFILE_0>">
<id>-1</id>
</TablespaceDatafileAttributes>
</datafilesList>
</TablespaceAttributes>
<TablespaceAttributes id="UNDOTBS1">
<online>true</online>
<offlineMode>1</offlineMode>
<readOnly>false</readOnly>
<temporary>false</temporary>
<defaultTemp>false</defaultTemp>
<undo>true</undo>
<local>true</local>
<blockSize>-1</blockSize>
<allocation>1</allocation>
<uniAllocSize unit="KB">-1</uniAllocSize>
<initSize unit="KB">512</initSize>
<increment unit="KB">512</increment>
<incrementPercent>50</incrementPercent>
<minExtends>8</minExtends>
<maxExtends>4096</maxExtends>
<minExtendsSize unit="KB">512</minExtendsSize>
<logging>true</logging>
<recoverable>false</recoverable>
<maxFreeSpace>0</maxFreeSpace>
<autoSegmentMgmt>true</autoSegmentMgmt>
<datafilesList>
<TablespaceDatafileAttributes id="<OMF_UNDOTBS1_DATAFILE_0>">
<id>-1</id>
</TablespaceDatafileAttributes>
</datafilesList>
</TablespaceAttributes>
<TablespaceAttributes id="USER_DATA">
<online>true</online>
<offlineMode>1</offlineMode>
<readOnly>false</readOnly>
<temporary>false</temporary>
<defaultTemp>false</defaultTemp>
<undo>false</undo>
<local>true</local>
<blockSize>-1</blockSize>
<allocation>1</allocation>
<uniAllocSize unit="KB">-1</uniAllocSize>
<initSize unit="KB">128</initSize>
<increment unit="KB">128</increment>
<incrementPercent>0</incrementPercent>
<minExtends>1</minExtends>
<maxExtends>4096</maxExtends>
<minExtendsSize unit="KB">128</minExtendsSize>
<logging>true</logging>
<recoverable>false</recoverable>
<maxFreeSpace>0</maxFreeSpace>
<autoSegmentMgmt>true</autoSegmentMgmt>
<datafilesList>
<TablespaceDatafileAttributes id="<OMF_USERS_DATAFILE_0>">
<id>-1</id>
</TablespaceDatafileAttributes>
</datafilesList>
</TablespaceAttributes>
<RedoLogGroupAttributes id="1">
<reuse>false</reuse>
<fileSize unit="KB">10240</fileSize>
<Thread>1</Thread>
<member ordinal="0" memberName="OMF_1_REDOLOG_MEMBER_0" filepath="{ORACLE_BASE}\oradata\{DB_UNIQUE_NAME}\"/>
</RedoLogGroupAttributes>
<RedoLogGroupAttributes id="2">
<reuse>false</reuse>
<fileSize unit="KB">10240</fileSize>
<Thread>1</Thread>
<member ordinal="0" memberName="OMF_2_REDOLOG_MEMBER_0" filepath="{ORACLE_BASE}\oradata\{DB_UNIQUE_NAME}\"/>
</RedoLogGroupAttributes>
<RedoLogGroupAttributes id="3">
<reuse>false</reuse>
<fileSize unit="KB">10240</fileSize>
<Thread>1</Thread>
<member ordinal="0" memberName="OMF_3_REDOLOG_MEMBER_0" filepath="{ORACLE_BASE}\oradata\{DB_UNIQUE_NAME}\"/>
</RedoLogGroupAttributes>
</StorageAttributes>
</DatabaseTemplate>You may need to look into this?
ORA-09314: sltln: error translating logical name
Cause: Internal buffer may have overflowed
Action: See OSD error accompanying this message -
How to use Javamail for accessing additional mailboxes -IMAP, Exchange 2010
hi,
I want to access a shared mailbox (NOT FOLDER) via Javamail API (1.4.5) using IMAP(s) with plain logon. The mailserver is a Exchange Server 2010.
User: user1 ([email protected])
pwd: xxxx
shared mailbox: [email protected]
Properties:
mail.imaps.socketFactory.port = 993
mail.imaps.starttls.enable = true
mail.imaps.socketFactory.class = javax.net.ssl.SSLSocketFactory
mail.imaps.socketFactory.fallback = false
username = [email protected]
password = xxxx
I´ve managed to get access to the user1 - mailbox:
Session session = Session.getInstance(properties, new ExchangeAuthenticator(username, password));
session.setDebug(true);
Store store = session.getStore("imaps");
store.connect(imapHost, username, password);
--> this works just fine! But now i want to access the additional mailbox by changing the login-String:
[email protected]/shared_MB (user@domain/additional_MB)
--> unfortunately I´m getting an "NO AUTHENTICATE" message:
DEBUG: setDebug: JavaMail version 1.4.5
DEBUG: getProvider() returning javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc]
DEBUG: mail.imap.fetchsize: 16384
DEBUG: mail.imap.statuscachetimeout: 1000
DEBUG: mail.imap.appendbuffersize: -1
DEBUG: mail.imap.minidletime: 10
DEBUG: trying to connect to host "host.domain.com", port 993, isSSL true
* OK The Microsoft Exchange IMAP4 service is ready.
A0 CAPABILITY
* CAPABILITY IMAP4 IMAP4rev1 AUTH=NTLM AUTH=GSSAPI AUTH=PLAIN UIDPLUS CHILDREN IDLE NAMESPACE LITERAL+
A0 OK CAPABILITY completed.
DEBUG IMAP: AUTH: NTLM
DEBUG IMAP: AUTH: GSSAPI
DEBUG IMAP: AUTH: PLAIN
DEBUG: protocolConnect login, host=host.domain.com, [email protected]/shared_MB, password=<non-null>
DEBUG IMAP: AUTHENTICATE PLAIN command trace suppressed
DEBUG IMAP: AUTHENTICATE PLAIN command result: A1 NO AUTHENTICATE failed.
javax.mail.AuthenticationFailedException: AUTHENTICATE failed.
I was able to get access with Thunderbird and also with the Exchange OWA-Client, so I think there is something missing in my code...
or is it just impossible to get access to a different mailbox using javamail and plain-auth?
Thank you in advance.Thanks bshannon, that was a great idea!
I haven´t found an solution yet, but I have maybe identified the real problem:
Here is some interessting Thunderbird - Logging stuff:
744[7161040]: try to log in
744[7161040]: IMAP auth: server caps 0x1187235, pref 0x1006, failed 0x0, avail caps 0x1004
744[7161040]: (GSSAPI = 0x1000000, CRAM = 0x20000, NTLM = 0x100000, MSN = 0x200000, PLAIN = 0x1000, LOGIN = 0x2, old-style IMAP login = 0x4)auth external IMAP login = 0x20000000
744[7161040]: trying auth method 0x1000
744[7161040]: got new password
744[7161040]: IMAP: trying auth method 0x1000
744[7161040]: PLAIN auth
744[7161040]: 7082000:xmail.domain.com:NA:SendData: 2 authenticate plain
744[7161040]: ReadNextLine [stream=7ec9e88 nb=3 needmore=0]
744[7161040]: 7082000:xmail.domain.com:NA:CreateNewLineFromSocket: +
744[7161040]: 7082000:xmail.domain.com:NA:SendData: Logging suppressed for this command (it probably contained authentication information)
744[7161040]: ReadNextLine [stream=7ec9e88 nb=27 needmore=0]
744[7161040]: 7082000:xmail.domain.com:NA:CreateNewLineFromSocket: 2 NO AUTHENTICATE failed.
744[7161040]: authlogin failed
744[7161040]: marking auth method 0x1000 failed
---> okay, so PLAIN AUTH is failing.....
744[7161040]: IMAP auth: server caps 0x1187235, pref 0x1006, failed 0x1000, avail caps 0x4
744[7161040]: (GSSAPI = 0x1000000, CRAM = 0x20000, NTLM = 0x100000, MSN = 0x200000, PLAIN = 0x1000, LOGIN = 0x2, old-style IMAP login = 0x4)auth external IMAP login = 0x20000000
744[7161040]: trying auth method 0x4
744[7161040]: got new password
744[7161040]: IMAP: trying auth method 0x4
744[7161040]: old-style auth
744[7161040]: 7082000:xmail.xmail.domain.com:NA:SendData: Logging suppressed for this command (it probably contained authentication information)
744[7161040]: ReadNextLine [stream=7ec9e88 nb=23 needmore=0]
744[7161040]: 7082000:xmail.domain.com:NA:CreateNewLineFromSocket: 4 OK LOGIN completed.
744[7161040]: login succeeded
--> okay, so Thunderbird is using "old-style IMAP login" and is successful.
Unfortunately I have no idea what that actually means or how to use it in Javamail (is it even supported?). Any suggestions?
Maybe you are looking for
-
How to delete .3gp video from Tungsten E2 handheld?
I accidently transferred a .3GP format video from my phone over to my Tungsten E2 handheld using BlueTooth connection. The handheld does not support this video format, so I just want to delete this file from my Tungsten E2, but I cannot figure out h
-
Parts of Hard-drive files not showing, only on macbook?
Hey guys, I have a hard drive that has been running well until now. When I open a folder in Finder, which contains a large amount of files in it, only the first ten-ish are shown, the rest disappeared. But they are still there, because some missing f
-
Dynamic Themes in mapinit.jsp
Hi , How can I pass dynamic themes using mapinit.jsp , For example alongwith all the parameters like map size , basemap etc.. I want to give a new date parameter . based on the given date I need to put a where clause in my themes like where date=para
-
HT5714 Can't download a pre-order it came out a few days ago.
I tried doing the check for available downloads but still said i downloaded all of it. Which it did not. So how can i get it. It also said i purchased it too.
-
Is it hard or expensive to change the track pad on a 2010 macbook pro/
I'm thinking of buying a used macbook pro but it has an issue with the track pad. The current owner is using an external mouse.