Does Database initializer obsolete in EF 6.0 ? And we should use Migration instead of it.

In this tutorial
http://www.asp.net/mvc/overview/older-versions/getting-started-with-aspnet-mvc3/cs/adding-a-new-field
I see such code
public class MovieInitializer : DropCreateDatabaseIfModelChanges<MovieDBContext> {
protected override void Seed(MovieDBContext context) {
var movies = new List<Movie> {
new Movie { Title = "When Harry Met Sally",
ReleaseDate=DateTime.Parse("1989-1-11"),
Genre="Romantic Comedy",
Rating="R",
Price=7.99M},
new Movie { Title = "Ghostbusters ",
ReleaseDate=DateTime.Parse("1984-3-13"),
Genre="Comedy",
Rating="R",
Price=8.99M},
new Movie { Title = "Ghostbusters 2",
ReleaseDate=DateTime.Parse("1986-2-23"),
Genre="Comedy",
Rating="R",
Price=9.99M},
new Movie { Title = "Rio Bravo",
ReleaseDate=DateTime.Parse("1959-4-15"),
Genre="Western",
Rating="R",
Price=3.99M},
movies.ForEach(d => context.Movies.Add(d));
But when I went to https://msdn.microsoft.com/en-us/data/ee712907 I see only migration database
I am newbie at EF. I am focusing on Code First. I have an idea that
DropCreateDatabaseIfModelChanges
and another DataBase initializer is not acutal for EF 6 but it was used in previous version.
On the other hand from names of this
Database initializer is for database initization
Migration for database structure changing
Before learning I decided ask this question
Does Database initializer obsolete in EF 6.0  ? And I should use Database Migration instead of it ?
My .NET Blog with projects and feedback.
Since May 30, 2014 I am waiting for Microsoft fix
these 2 bug. If you know how to speed them up, please help

Hello,
>>Does Database initializer obsolete in EF 6.0?
I do not know why you think so, if the team decides to make the database initializer obsolete, I think they would make a markup as Deprecated, however, there is not such a markup on that method on MSDN document. And the Database initializer method is useful
when we play with automatic migration. In your case, the DropCreateDatabaseIfModelChanges database initialization strategy, would delete the original database and create new one according your new model. Of course, data would be missing. If you are under a
scenario need to make a test to recreate the database frequently, this one should be ok.
Currently, there are four database initialization strategies could be used:
CreateDatabaseIfNotExists<TContext> Class
DropCreateDatabaseAlways<TContext>
DropCreateDatabaseIfModelChanges<TContext>
MigrateDatabaseToLatestVersion<TContext, TMigrationsConfiguration>
You could use one of them for a proper scenario.
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Mac OS 10.9.2 Reader 11.0.7 does not initialize, cannot fill in fillable forms and side scroll bars does not operate.  Can you please help?

    Mac OS 10.9.2 Reader 11.0.7 does not initialize, cannot fill in fillable forms and side scroll bars does not operate.  Can you please help?

    Perhaps you missed that you started a discussion at I have OS 10.9.2 and have downloaded latest version of Reader 11. I can no longer fill in form or scroll using the side bar. and you did not respond to the last post there.

  • Does the ipod touch 5th gen 16 gb and 32 gb use the same cases?

    does anybody know if the ipod touch 5th gen 16 gb and 32 gb use the same cases?

    Yes, they have the same dimensions.

  • Database connection pooling in ADF causing db procedure calls to use different transaction or session

    We have developed an application using JDev Version 11.1.2.1.0 and the database is oracle 11g EE.
    We have many database procedures or function calls from the model (AMImpl.java, VORowImpl.java) and the commit does not happen in the database and it happens from ADF. The database procedures are called in some valueChangeListnener and these procedures use the same transaction or session database session when called and update some records in some tables that are displayed in pages.
    We started using connection pooling recently in our ADF application,  -Djbo.doconnectionpooling=true -Djbo.txn.disconnect_level=1. When using connection pooling, we noticed that the database procedure calls use a different trasanction or different database session and the data or records that these procedures update is lost.
    After removing the connection pooling, we noticed that the procedures again started using the same transaction or same database session and was working fine.
    I want to know why this connnection pooling caused this issue and is there any fix for this when using connection pooling?

    Take a look at
    http://docs.oracle.com/cd/E15523_01/web.1111/b31974/bcampool.htm#CIHCHHEA
    What You May Need to Know About Database User State and jbo.doconnectionpooling = true
    As you can see:
    "At the end of the request when the application module is released back to the application module pool, that application module pool releases the JDBC connection it was using back to the database connection pool. It follows that with jbo.doconnectionpooling set to true the application module instance in the pool may have a completely different JDBC connection each time you check it out of the pool"
    So, the best you can do, is to revert jbo.doconnectionpooling to false.

  • Where is the Database Initialization Parameter file (inti.ora ??) located ?

    I have E-Business Suite R12 installed on Windows XP.
    I want to change utl_file_dir path.
    I know that I have to change the Database Initialization Parameter file (inti.ora ??)
    Does anybody know, where is the file located ?
    When I search I am getting two files. (init.ora and init.ora.txt)
    Which file I need to make the changes in ???
    Thanks in advance

    The initialization file for the database is located in the $ORACLE_HOME/dbs directory, and is called init<SID>.ora

  • LiveCycle ES Database Initialization

    Hi Everyone,<br /><br />It's my first time to install and configure LiveCycle ES.<br /><br />I installed Lifecyle but when I'm doing configuration I'm getting an error.<br /><br />Below is the error I'm getting:<br /><br />[2009-03-24 14:24:26,183], FINE, AWT-EventQueue-0, com.adobe.livecycle.lcm.core.LCMDataManager, setting internal variable (com.adobe.livecycle.lcm.feature.bootstrap.BootstrapDialog.displayed=true)<br />[2009-03-24 14:24:26,183], FINE, AWT-EventQueue-0, com.adobe.livecycle.lcm.feature.bootstrap.BootstrapDialog, initializeGUIData()<br />[2009-03-24 14:24:26,183], FINE, AWT-EventQueue-0, com.adobe.livecycle.lcm.core.LCMDataManager, getting variable (host=localhost) defaultIfNotFound: <br />[2009-03-24 14:24:26,183], FINE, AWT-EventQueue-0, com.adobe.livecycle.lcm.core.LCMDataManager, getting variable (applicationServer=jboss) defaultIfNotFound: null<br />[2009-03-24 14:24:26,183], FINE, AWT-EventQueue-0, com.adobe.livecycle.lcm.core.LCMDataManager, getting variable (port.jboss=8080) defaultIfNotFound: <br />[2009-03-24 14:24:26,183], FINE, AWT-EventQueue-0, com.adobe.livecycle.lcm.core.LCMDataManager, getting variable (port=8081) defaultIfNotFound: 8080<br />[2009-03-24 14:25:28,560], INFO, AWT-EventQueue-0, com.adobe.livecycle.lcm.feature.bootstrap.BootstrapDialog, Starting processing<br />[2009-03-24 14:25:28,575], FINE, AWT-EventQueue-0, com.adobe.livecycle.lcm.feature.bootstrap.BootstrapTask, Creating BootstrapManager WITHOUT user credentials<br />[2009-03-24 14:25:28,575], INFO, AWT-EventQueue-0, com.adobe.livecycle.lcm.feature.bootstrap.BootstrapTask, Starting task: com.adobe.livecycle.lcm.feature.bootstrap.BootstrapTask@b6985b<br />[2009-03-24 14:25:28,575], INFO, Thread-17, com.adobe.livecycle.bootstrap.client.FetchTasksClient, Invoking [http://localhost:8081/adobe-bootstrapper/bootstrap?fetchTasks=true&responseLocale=en]<br />[2009-03-24 14:25:28,575], SEVERE, Thread-17, com.adobe.livecycle.lcm.feature.bootstrap.BootstrapTask, Task failed<br />com.adobe.livecycle.bootstrap.BootstrapException: ALC-TTN-104-002: Could not connect to bootstrap servlet; the requested URL was not found on the server.  Is Adobe LiveCycle deployed? <br />     at com.adobe.livecycle.bootstrap.client.FetchTasksClient.analyzeResponse(FetchTasksClient.ja va:154)<br />     at com.adobe.livecycle.bootstrap.client.FetchTasksClient.fetchTasks(FetchTasksClient.java:69 )<br />     at com.adobe.livecycle.bootstrap.client.BootstrapManager.getTasks(BootstrapManager.java:147) <br />     at com.adobe.livecycle.lcm.feature.bootstrap.BootstrapTask$ActualTask.<init>(BootstrapTask.j ava:100)<br />     at com.adobe.livecycle.lcm.feature.bootstrap.BootstrapTask$1.construct(BootstrapTask.java:58 )<br />     at com.adobe.livecycle.lcm.core.tasks.SwingWorker$2.run(SwingWorker.java:114)<br />     at java.lang.Thread.run(Thread.java:595)<br />[2009-03-24 14:25:29,075], SEVERE, AWT-EventQueue-0, com.adobe.livecycle.lcm.feature.bootstrap.BootstrapDialog, Bootstrap exception<br />com.adobe.livecycle.bootstrap.BootstrapException: ALC-TTN-104-002: Could not connect to bootstrap servlet; the requested URL was not found on the server.  Is Adobe LiveCycle deployed? <br />     at com.adobe.livecycle.bootstrap.client.FetchTasksClient.analyzeResponse(FetchTasksClient.ja va:154)<br />     at com.adobe.livecycle.bootstrap.client.FetchTasksClient.fetchTasks(FetchTasksClient.java:69 )<br />     at com.adobe.livecycle.bootstrap.client.BootstrapManager.getTasks(BootstrapManager.java:147) <br />     at com.adobe.livecycle.lcm.feature.bootstrap.BootstrapTask$ActualTask.<init>(BootstrapTask.j ava:100)<br />     at com.adobe.livecycle.lcm.feature.bootstrap.BootstrapTask$1.construct(BootstrapTask.java:58 )<br />     at com.adobe.livecycle.lcm.core.tasks.SwingWorker$2.run(SwingWorker.java:114)<br />     at java.lang.Thread.run(Thread.java:595)<br /><br />Below is the hardware and software which I'm running on my PC:<br /><br />Microsoft Windows Server 2003 R2 Standard Edition Service Pack2.<br />SQL Server 2005 SP2<br />jboss-4.0.3SP1<br />JDK 1.5.11<br /><br />I'm running Documentum 6.5 SP1<br /><br />When I'm go to IE and type http://localhost:8080  Jboss opens.<br /><br />Does Livecyle ES have a specific database?<br /><br />Your as

    The issue with LiveCycle ES Database Initialization has been resolve and I am able to login to the administration console.
    It was an issue with Jboss which was giving some parsing exception. When removed the option ( -Djava.endorsed.dirs=%JBOSS_HOME%/server/all/lib/endorsed ) from the run.bat script, the server started smothly enough to complete the deploy process
    Thanks to all and I appreciate the support I got from the forum.
    Cheers.

  • LiveCycle ES Database Initialization Failing with Bootstrapping error

    I did non-turnkey installation of LCES on windows XP and deployed the adobe-livecycle-jboss.ear on Jboss-4.0.2 app server. Also created databases called adobe and adobe_meta in MySql and grant all permissions to adobe user.
    Then configured datasource as per deployment guide with jndi-name as IDP_DS and put the adobe-ds.xml file in server/all/deploy folder.
    When I try to initialize the database using Configuration Manager, the following error occurs:
    com.adobe.livecycle.bootstrap.BootstrapException: ALC-TTN-103-000: Bootstrapping request failed on server
    ALC-TTN-002-001: JDBC datasource lookup failed for resource reference [java:comp/env/jdbc/
    IdpDs]. The most likely cause is that a datasource having a JNDI
    name of [IDP_DS] does not exist or is misconfigured. Check the application
    server's configuration.
    In server console it shows javax.naming.NameNotFoundException: XAConnectionFactory exception.
    I am getting LiveCycle Administration Login page but could not loging since database entries have not done yet.
    If anybody could help me out of this issue that would be really appreciable.

    The issue with LiveCycle ES Database Initialization has been resolve and I am able to login to the administration console.
    It was an issue with Jboss which was giving some parsing exception. When removed the option ( -Djava.endorsed.dirs=%JBOSS_HOME%/server/all/lib/endorsed ) from the run.bat script, the server started smothly enough to complete the deploy process
    Thanks to all and I appreciate the support I got from the forum.
    Cheers.

  • Oracle 8i database initialization prob

    Hi,
    I have installed oracle 8i on a windows 2000 machine.
    It seemed to install without any problem.
    But whenever i try to connect through sql plus or use the database configuration assistant to create a database I get a tns adapter error in the database initialization stage.
    in the services panel I find these servicess r running
    OracleOraHome811Agent
    OracleOraHome811TNSListener
    The other two service installed but not running and configured for manual action are:
    OracleOraHome811ClientCache
    OracleOraHome811DataGatherer
    I think there should be a service named OracleOraHome811OracleService or something like that. Can anyone please help me what's the problem ?

    Manual services are not required for 8i to work.
    When the 'protocol adapter error' shows when trying to connect to sqlplus means you don't have a valid oracle service started, in fact, I don't see any from your service list. It will be created when you first create a database.
    Use dbca it will run from the oracle menu at the windows start menu.
    ~ Madrid.

  • LiveCycle ES4 Database Initialization

    Hello,,, I am in the process of installing LiveCycle ES4 on an Oracle Linux box with version 6.4. I am using Weblogic version 11g (10.3.6).. All the weblogic domains and machines are setup and running fine when I start them manually or through installation..
    The problem I am having is, after delploying code to the weblogic server, the next option is the ES4 database initialization. I enter the name of the machine and the listening port 8001 which is the listening port of the weblogic machine. As soo as I hit initialize, nothing happens..
    In the configuation window running in the background I get these lines:
    [2013-09-16 14:39:04,557], FINE, AWT-EventQueue-0, com.adobe.livecycle.lcm.core.LCMDataManager, getting variable (port.weblogic=8001) defaultIfNotFound:
    [2013-09-16 14:39:04,557], FINE, AWT-EventQueue-0, com.adobe.livecycle.lcm.core.LCMDataManager, getting variable (port=8001) defaultIfNotFound: 8001
    [2013-09-16 14:39:25,232], INFO, AWT-EventQueue-0, com.adobe.livecycle.lcm.feature.bootstrap.BootstrapDialog, Starting processing
    [2013-09-16 14:39:25,234], FINE, AWT-EventQueue-0, com.adobe.livecycle.lcm.feature.bootstrap.BootstrapTask, Creating BootstrapManager WITHOUT user credentials
    [2013-09-16 14:39:25,377], INFO, AWT-EventQueue-0, com.adobe.livecycle.lcm.feature.bootstrap.BootstrapTask, Starting task: com.adobe.livecycle.lcm.feature.bootstrap.BootstrapTask@1c8a395d
    [2013-09-16 14:39:25,381], INFO, Thread-90, com.adobe.livecycle.bootstrap.client.FetchTasksClient, Invoking [http://xxxx:8001/adobe-bootstrapper/bootstrap?fetchTasks=true&responseLocale=en]
    where xxxx is the name of the machine. I have started the installation from scratch, recreated the schema on the the database. In the DB connection test, db connects fine. Any ideas would really appreciate it. Thank you ...

    The text that i pasted is from the log file..
    Port is correct..
    What I found out that weblogic  was accidentally installed on top of it again.. So I redid the whole installation from scratch.. According to google search, supposedly DN can be initialized more than once?
    Thank you

  • J2EE Engine start error: Database initialization failed!

    My J2EE engine now fails to start - jcontrol stays yellow.  I've followed Troubleshooting pages from help.sap.com Admin manual topic "starting J2EE Engine".
    Background:
    I was running through JDI Scenario 2+ on a fresh installed WebAS 6.40 at SP9.  Using NWDevStudio2.09, I attempted to load a DC, but servers stopped responding.  So I downed everything (in MMC) including offlining the DB, then put DB back online and restart the J2E engine, and now jcontrol stays yellow. 
    I find this in the file log_bootstrap_ID0014430.0.log:
    Apr 7, 2005 3:10:23 PM  ] Bootstrap MODE:
    [Apr 7, 2005 3:10:23 PM  ] <INSTANCE GLOBALS>
    [Apr 7, 2005 3:10:23 PM  ]  determined by parameter [ID0014430].
    [Apr 7, 2005 3:10:23 PM  ] -
    [Apr 7, 2005 3:10:26 PM  ] Exception occured:
    com.sap.engine.bootstrap.SynchronizationException: Database initialization failed! Check database properties!
         at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:422)
         at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:144)
         at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:813)
    .........a few lines cut out here..........
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    ==[ Caused by: ]==----
    com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:344)
    ............ a few lines cut out here..........
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    Caused by: com.sap.dbtech.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: Cannot connect to jdbc:sapdb://PHI21811/J2E [Cannot connect to host PHI21811 [Connection refused: connect], -813.].
         at com.sap.dbtech.jdbc.DriverSapDB.connect(DriverSapDB.java:183)
         at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:219)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.createPooledConnection(OpenSQLDataSourceImpl.java:570)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.getPooledConnection(OpenSQLDataSourceImpl.java:263)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:294)
         ... 14 more
    [Apr 7, 2005 3:10:26 PM  ] [Bootstrap module]> Problem occured while performing synchronization.
    [Apr 7, 2005 3:22:24 PM  ] -
    ANYONE HAVE ANY SUGGESTIONS?????

    Using the Database Administration section of the help.sap.com library, I found the location of SAPDB/MySQL log files.  They are in C:\sapdb\data\wrk\J2E.  In 'knldiag' I found entries complaining of Log files being full and tasks put in suspension.
    So I figured out to do a full back up of the DB and/or backup the log files.  The log file bar (in MMC) still showed 100% full, but I figured out to refresh the view and voila it was empty (so one of the backups emptied it, not sure which one).
    After that the DB comes up fine and now my J2E WebAS goes all green.
    Message was edited by: Michael W Rains

  • Doing the Initialization with selection?

    Hi Gurus,
    1. Please explain the difference between full Update and Delta Initialization with data transfer, and should Full update need to be
    used if the Delta initialization with data transfer is already done ?.
    2. For doing the initialization with selection in FI-AR loads do we need to take the back up of existing data in the cube ?
    And please explain with steps to be followed in case U have any document( COPA related and FI related) will request you to please forward me on
    <REMOVED_BY_MODERATOR> will be highly obliged.
    Thanks in Advance. Waiting for Warm replies.                    
    Thanks&Regards
    SAPSDN
    Please search the forum before posting a thread. Please read the rules of engagement
    Edited by: Pravender on Feb 12, 2012 1:57 PM

    Hi Fabio,
    helpfull answer, but the solution was, to set up into the Infocube the following:
    RSDCUBE -> Extras -> Structure-specific Properties -> 'Display'-field.

  • Database Initialization Parameters Removal list 9iR2

    I have seen Oracle Metalink Document: Database Initialization Parameters and Configuration for Oracle Applications Release 11i Doc ID: Note:216205.1
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:654135795036791041::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,216205.1,1,1,1,helvetica#9iR2
    This document has a removal list and states that these parameters should be removed from the database initialization parameters file for 9iR2, while I can see some of the parameters being used which are hash_area_size, sort_area_size and optimizer_mode.
    Please clarify.
    Thank you
    Adith

    You would need to set "hash_area_size" and "sort_area_size" if you have 8.1.7.X database. For 9i and 10g you do not need to set them, and this is exactly what is mentioned in the note.
    If you check "Release-specific database initialization parameters for 9iR2 (9.2.0.X)", you will find the following:
    As of 9i, the automatic memory manager is used. This avoids the need to manually tune sort_area_size and hash_area_size

  • Recommended database initialization parameters databases for OBIEE

    Hi ,
    We are implementing OBIEE. We created 11gR1 (11.1.0.7) databases - one for datawarehouse and second for ETL repository. Can anyone please suggest the recommended database initialization parameters for the same. I searched metalink and got for EBS (11i/R12) and not for OBIEE.
    Also, if you have any best practices documents for OBIEE, please provide the link.
    Thanks in advance for your help

    You need to look for OBIA (Apps) not OBIEE:
    [http://download.oracle.com/docs/cd/E14847_01/bia.796/e14843/anyinstadmpreinstall.htm#g1125320]
    - Section 3.1, "General Guidelines for Setting Up Oracle Business Analytics Warehouse"
    - Section 3.2, "IBM DB2 UDB-Specific Database Guidelines for Oracle Business Analytics Warehouse"
    - Section 3.3, "IBM DB2 UDB zOS and OS/390 and z/OS-Specific Database Guidelines for Oracle Business Analytics Warehouse"
    - Section 3.4, "SQL Server-Specific Database Guidelines for Oracle Business Analytics Warehouse"
    - Section 3.5, "Teradata-Specific Database Guidelines for Oracle Business Analytics Warehouse"
    - Section 3.6, "Oracle-Specific Database Guidelines for Oracle Business Analytics Warehouse"
    - Section 3.7, "Additional Suggestions for Optimizing Oracle Performance in Oracle Business Analytics Warehouse"
    - Section 3.8, "Partitioning Guidelines For Large Fact Tables"
    - Section 3.9, "Miscellaneous Information About Oracle BI Applications Deployments"
    Cheers,
    C.

  • Database Initialization Error

    Hi,
    I was trying to initialize my DB and I get this error "Upgrade Wizard did not complete successfully. Please examine the log file for details and restart the Siebel application to attempt the upgrade again. "
    Where to look for these log files ?
    What exactly to look for in these log files ?
    Because of no Error Code I am not able to find much detail on the net. If anybody has faced this issue please help me resolve the issue.
    Thanks :-)

    You should refer to the following posting on Oracle support that provide the troubleshooting steps in such case:
    *Troubleshooting Steps: Remote Database Initialization Issues [ID 735454.1]*_
    Basically intereting log files are located under Client_home\log
    Siebel.log
    Applythrd_xxxx_yyyy.log
    Syncthrd_xxxx_yyyy.log
    UpgWiz.log
    dmutl2.log
    Best Regards
    EvtLoglvl

  • Regarding SQL Database Initialization

    Hello All,
    I had an existing working version of LiveCycle on Server A which had two drives; A.1 and A.2. Do to space constraints we decided to move the Adobe LiveCycle ES2 folder from drive A.1 to A.2. We had not created anything so we werent worried about loosing any data. When it was installed on to drive A.1 it was runnning on the default MYSQL database that is created when you install using jboss turnkey. . But now we want to connect our jboss application to a SQL server database. I went ahead and walked through the documentation in order create the database and users. I also made the modicications to the XML files within jboss. The problem I am having is when I try to run the LiveCycle ES2 Database Initialization in the Configuration Manager, I get the following error:
    From LCM.log:
    [2013-04-22 15:29:51,196], SEVERE, Thread-14, com.adobe.livecycle.lcm.feature.bootstrap.BootstrapTask, Task failed
    com.adobe.livecycle.bootstrap.BootstrapException: ALC-TTN-109-000: Could not establish a valid connection to server: [Unexpected end of file from server]
              at com.adobe.livecycle.bootstrap.client.BootstrapClient.invoke(BootstrapClient.java:117)
              at com.adobe.livecycle.bootstrap.client.FetchTasksClient.fetchTasks(FetchTasksClient.java:68 )
              at com.adobe.livecycle.bootstrap.client.BootstrapManager.getTasks(BootstrapManager.java:147)
              at com.adobe.livecycle.lcm.feature.bootstrap.BootstrapTask$ActualTask.<init>(BootstrapTask.j ava:100)
              at com.adobe.livecycle.lcm.feature.bootstrap.BootstrapTask$1.construct(BootstrapTask.java:58 )
              at com.adobe.livecycle.lcm.core.tasks.SwingWorker$2.run(SwingWorker.java:114)
              at java.lang.Thread.run(Thread.java:619)
    Caused by: java.net.SocketException: Unexpected end of file from server
              at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:769)
              at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)
              at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:766)
              at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)
              at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1064)
              at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
              at com.adobe.livecycle.bootstrap.client.BootstrapClient.parseResponse(BootstrapClient.java:1 55)
              at com.adobe.livecycle.bootstrap.client.BootstrapClient.invoke(BootstrapClient.java:105)
              ... 6 more
    [2013-04-22 15:29:51,461], SEVERE, AWT-EventQueue-0, com.adobe.livecycle.lcm.feature.bootstrap.BootstrapDialog, Bootstrap exception
    com.adobe.livecycle.bootstrap.BootstrapException: ALC-TTN-109-000: Could not establish a valid connection to server: [Unexpected end of file from server]
              at com.adobe.livecycle.bootstrap.client.BootstrapClient.invoke(BootstrapClient.java:117)
              at com.adobe.livecycle.bootstrap.client.FetchTasksClient.fetchTasks(FetchTasksClient.java:68 )
              at com.adobe.livecycle.bootstrap.client.BootstrapManager.getTasks(BootstrapManager.java:147)
              at com.adobe.livecycle.lcm.feature.bootstrap.BootstrapTask$ActualTask.<init>(BootstrapTask.j ava:100)
              at com.adobe.livecycle.lcm.feature.bootstrap.BootstrapTask$1.construct(BootstrapTask.java:58 )
              at com.adobe.livecycle.lcm.core.tasks.SwingWorker$2.run(SwingWorker.java:114)
              at java.lang.Thread.run(Thread.java:619)
    Caused by: java.net.SocketException: Unexpected end of file from server
              at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:769)
              at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)
              at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:766)
              at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)
              at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1064)
              at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
              at com.adobe.livecycle.bootstrap.client.BootstrapClient.parseResponse(BootstrapClient.java:1 55)
              at com.adobe.livecycle.bootstrap.client.BootstrapClient.invoke(BootstrapClient.java:105)
              ... 6 more
    Are there other files that I need to configure in order to switch the application from the default MYSQL to the new SQL Database? And is there any way for me to test the connection to the database before I attempt to initialize it.
    Thanks in advance.

    First and foremost you cannot use the XMLs which are part of turnkey JBoss directly.
    You should discard adobe-ds.xml and mysql-ds.xml from <LiveCycle Root>/jboss/server/<server profile>/deploy and get hold of SQL Server specific adobe-ds.xml and mssql-ds.xml and then make necessary modifications w.r.t your SQL Server.
    In addition to this you would have to modify login-config.xml as well to add an entry of application policy for MSSQL DB.
    If you have performed all these steps and still issues are coming then the error could be because of any of the reasons mentioned below:
    The XMLs that you have configured
    The connection pools configured
    Missing database driver jar
    I would recommend the following:
    1) Make sure driver jar for SQL Server (most probably sqljdbc.jar) exists in <LiveCycle Root>/jboss/server/<server profile>/lib directory
    2) Ensure that you have modified the following XML files correctly:
    adobe-ds.xml and mssql-ds.xml inside <LiveCycle Root>/jboss/server/<server profile>/deploy directory
    login-config.xml inside <LiveCycle Root>/jboss/server/<server profile>/conf directory
    3) Ensure that you have removed mysql-ds.xml from the <LiveCycle Root>/jboss/server/<server profile>/deploy directory
    Try opening the XMLs in a browser to verify that they are modified correctly.
    You won't find an option to test the connection in LCM.
    Though you could try starting up your JBoss without any EARs and see if it is coming up without issues.

Maybe you are looking for

  • Why is iPhoto library so big? When I have only 4,000 pics, the size is over 31G!!

    Is there a way to know what is taking so much space in photo library? I have only 4,500 pictures, but Iphoto library is taking 31.5 GB. The most part of it is from a folder called "Masters", I am not sure what's in it. Thanks

  • Issue Related to limit the result in prompt by using SQL statement.

    Hello Gurus, I am facing one issue rite now with our testing environment in some Dashboard Prompt. it seems like they are working fine in our Development environment. basically I am using SQL statement in prompt to limit the values for current + last

  • How Do We Monitor HTTP Receiver Communication Channel

    Hi Exports, How do we monitor the HTTP Receiver communication channel. Could you please share your ideas. I am able to send the message to http to third party system. i want to monitor all messages which it's goes to third party system. Same like if

  • Extremely slow performance with NEW hdd

    Ok guys, this is pretty frustrating. Today I bought 2 new external hdd's, same manufacturer, same model. One of them seems to work great, but the other one.. well  look at this: /dev/sdk1: Timing buffered disk reads: 96 MB in 3.04 seconds = 31.53 MB/

  • Slow response time for JSP pages under iAS 6.0 SP4

    Hi, I got an application deployed on iplanet app server 6.0 SP4 on solaris 2.8. Using a single kjs engine and lite sessions. kjs memory size is min 256 and max 256 megs. but verbose:gc shows memory is 98% free. when i restart the app server, all JSP