Adding a Datasource to a running Server ?

What is the best way to add a new data-source to a running Server ?
Perviously, I was binding a new DataSource Object into the JNDI Tree from the context of an EJB, with an external process writing the new DataSource into the data-sources.xml file.
But now I've kicked EJB's out of the application, replacing with POJO's accessed from the servlet tier and the binding of the datasource fails (unusual issue and all my other Objects bind perfectly, I'll continue investigating...)
Now, I know that the admin.jar file can be used to manually add new data-sources to a server, but is this the best way to add data-sources to an already running server ?
Could I in some way call into the appropriate Class to add a new data-source.
e.g. A Server API like this: OC4JServer.addDataSource( Map params ); would be handy
Cheers,
Ro

Hello,
One way of doing that in OracleAS 10.1.3 will be to use JMX and MBeans.
The getMBeanServer() returns you an MBean Server connection where you can invoke operations as follow:
String appBeanName = "oc4j:j2eeType=J2EEApplication,name="+ j2eeAppName +",J2EEServer=standalone";
ObjectName obj = new ObjectName(appBeanName);
// invoke the create connection pool and create connection
// values used to create the connection pool
Object[] paramsPool = {
connectionPoolName,
dataSourceFactory,
username,
password,
url};
// signature used to create the connection pool
String[] signaturePool = {
"java.lang.String",
"java.lang.String",
"java.lang.String",
"java.lang.String",
"java.lang.String"};
// Call the connection pool creation operation
getMBeanServer().invoke(
obj,
"createJDBCConnectionPool", //operation
paramsPool,
signaturePool);
// Values used to create the connection
Object[] paramsConn = {
connectionName,
username,
password,
"jdbc/"+ connectionName,
new Integer(30), // timeout
connectionPoolName,
"global",
null};
// Signature used for the Operation call
String[] signatureConn = {
"java.lang.String",
"java.lang.String",
"java.lang.String",
"java.lang.String",
"java.lang.Integer",
"java.lang.String",
"java.lang.String",
"java.lang.String"
getMBeanServer().invoke(
obj,
"createManagedDataSource",
paramsConn,
signatureConn
Regards
Tugdual Grall

Similar Messages

  • Unable to connect to datasource:(database not running)

    I was running this example Car Application.
    I downloaded SQL Studio and wanted to check if the db tables are created or not.
    Tried to open through SQL studio but got the following exception as a pop-up:
    <b>
    [SAP-AG][SQLOD32 DLL][SAP DB]unable to connect to datasource:(database not running).return-code:SQL_ERROR(-709)</b><i></i>
    I believe my J2EE engine is running fine with all the three boxes in green.
    Does anyone went through this kind of situation?
    Please help me in this regards.
    Thanks
    -Sudheer

    Nitzan,
    Thanks for the reply.
    To be honest, I didnt understand what u meant.Iam a beginner trying to learn N/W though Iam in J2EE for a long while.
    Here is what I have done so far:
    Installled WAS with developer studio ran this Car rental application.While doing this I installed SQL studio to check if the tables r created or not.
    I dont have any back end database like oracle or SQL server installed.The car application example documentation doesnt say so.
    This is what I have given in persistant.xml:
    Datasource Name:CAR_RENTAL_POOL
    Database Vendor: SAPDB
    I dont have visual admin installed.
    Please let me know if this makes any sense.
    And also there is another problem with car reservation application:
    The application seems to running fine except withe the saving part:
    when I tried to add a car reservation, there is no response , it's not getting added to the DB.There are no error messages on screen. The screen is same before and after.
    Any help would be greatly greatly appreciated.
    Thanks

  • I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build.  The same call works fine when running on the device

    I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build. The same call works fine when running on the device (iPhone) using debug build. When running with a release build, the result handler is never called (nor is the fault handler called). Viewing the BlazeDS logs in debug mode, the call is received and send back with data. I've narrowed it down to what seems to be a data size issue.
    I have targeted one specific data call that returns in the String value a string length of 44kb, which fails in the release build (result or fault handler never called), but the result handler is called as expected in debug build. When I do not populate the String value (in server side Java code) on the object (just set it empty string), the result handler is then called, and the object is returned (release build).
    The custom object being returned in the call is a very a simple object, with getters/setters for simple types boolean, int, String, and one org.23c.dom.Document type. This same object type is used on other other RemoteObject calls (different data) and works fine (release and debug builds). I originally was returning as a Document, but, just to make sure this wasn't the problem, changed the value to be returned to a String, just to rule out XML/Dom issues in serialization.
    I don't understand 1) why the release build vs. debug build behavior is different for a RemoteObject call, 2) why the calls work in debug build when sending over a somewhat large (but, not unreasonable) amount of data in a String object, but not in release build.
    I have't tried to find out exactly where the failure point in size is, but, not sure that's even relevant, since 44kb isn't an unreasonable size to expect.
    By turning on the Debug mode in BlazeDS, I can see the object and it's attributes being serialized and everything looks good there. The calls are received and processed appropriately in BlazeDS for both debug and release build testing.
    Anyone have an idea on other things to try to debug/resolve this?
    Platform testing is BlazeDS 4, Flashbuilder 4.7, Websphere 8 server, iPhone (iOS 7.1.2). Tried using multiple Flex SDK's 4.12 to the latest 4.13, with no change in behavior.
    Thanks!

    After a week's worth of debugging, I found the issue.
    The Java type returned from the call was defined as ArrayList.  Changing it to List resolved the problem.
    I'm not sure why ArrayList isn't a valid return type, I've been looking at the Adobe docs, and still can't see why this isn't valid.  And, why it works in Debug mode and not in Release build is even stranger.  Maybe someone can shed some light on the logic here to me.

  • Small Business w/Mac Mini Running Server OSX, Connect From Home Solution - VPN?

    I am trying to setup my Mac Mini running OS X Server (Mountain Lion) to be accessed from users at home (for file sharing and Contact Services). Is a VPN the best solution? (Small business setup - privacy/security a concern).
    Hi everyone, and Thanks for the help in advance!
    I am currently setting up a network for my company (small business) and have a few questions. We have a Mac Mini (mid-2012) running Server OS X Mountain Lion, and 5 MBP's (our work computers- all running latest version of Mountain Lion).
    To summarize:
    My goal = Setup a secure way of connecting the MBP's to the server when our personnel are at home (for file sharing).
    I am switching all of the users from local to network (we didn't need the network functionality when we first setup the server, and we are now expanding our use of it). This is going to occur this weekend, as downtime for the server is needed to make the changes.
    After I establish the Open Directory and all of that, I will be setting up Contact Services (to share a master list of contacts with the members of our department) and we already have some Calendar sharing setup.
    The purpose of this is to enable our employees the option of working necessary overtime from home so they can be with their families instead of in the office all the time. It is a noble cause and I want to set this up the best that I can for them.
    This being said... I'm no Mac Genius, and this stuff can get very confusing very fast. I have read a little about VPN's, and am wondering if this is the solution to my problem. We need to establish a SECURE way of connecting to the server from remote locations, enabling us to pull needed files from the server.
    If anybody can offer some advice on this I would really appreciate it. I love Apple products and I have faith that this is as easy as I've been told it is.
    Thank you very much for your time and consideration!

    No, it wasn't difficult at all to setup in OS X Server. I use a free internet domain name from DynDNS.com. I don't know if they still offer free ones anymore. You can not use VPN and 'Back to My Mac' at the same time as they use some or all of the same ports.
    I'm at work and not on my Mac at the moment so this is from memory.
    Within OS X Server, I enabled the VPN Service (default L2TP) and used my free domain name in the VPN Host Name and a Secret passphrase. This put an entry in my Airport Extreme router for VPN (port mapping).
    Within the client Mac, I added a VPN network connnection (System Preferences /Network). I pointed to my free domain name in the Server Address, used my Server account name in the account name. I think there's an Authentication button that I clicked. I entered my Server account password, the Secret passphrase in the Secret field, checked a box to show VPN icon in Menu Bar and exited out of that. Then clicked the Advanced button and checked the box to send all traffic over VPN connection.
    I had VPN authentication issues at first when trying to connect to test out the connection. I just kept trying as I knew I had all the settings correct and it would finally connect after about 3-4 tries. After that, I sometimes have to connect more than once to actually connect to my Server via VPN. But it does work nice. I brought my MBP into work once to test it out and was able to connect to my home Server via VPN and use Screen Sharing and had access to all my shared folders.

  • Cannot create datasource for MS SQL Server

    Hi,
    I'm trying to create a datasource for MS SQL server and I get this error
    Connection test failed.
    Login failed for user 'gdahan'. The user is not associated with a trusted SQL Server connection.
    com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Lcom.microsoft.sqlserver.jdbc.SQLServerConnection;Ljava.lang.Object;Ljava.lang.String;Lcom.microsoft.sqlserver.jdbc.StreamError;Z)V(Unknown Source)
    com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(Lcom.microsoft.sqlserver.jdbc.TDSReader;)V(Unknown Source)
    com.microsoft.sqlserver.jdbc.TDSParser.parse(Lcom.microsoft.sqlserver.jdbc.TDSReader;Lcom.microsoft.sqlserver.jdbc.TDSTokenHandler;)V(Unknown Source)
    com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon
    The database is in "Windows authentication" mode (not "SQL authentication") and I can connect to it through "Toad for MS SQL Server". In this case I don't need to specify any username or password because I'm already logged in as gdahan on my computer. But when I try to create the datasource I need a username and password. Is there any way to specify to the datasource that I want to connect via Authentication windows ?
    I tried with BEA MS SQL server driver and Microsoft SQL Server 2005 JDBC Driver 1.2[                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Guillaume Dahan wrote:
    Hi,
    I'm trying to create a datasource for MS SQL server and I get this error
    Connection test failed.
    Login failed for user 'gdahan'. The user is not associated with a trusted SQL Server connection.
    com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Lcom.microsoft.sqlserver.jdbc.SQLServerConnection;Ljava.lang.Object;Ljava.lang.String;Lcom.microsoft.sqlserver.jdbc.StreamError;Z)V(Unknown Source)
    com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(Lcom.microsoft.sqlserver.jdbc.TDSReader;)V(Unknown Source)
    com.microsoft.sqlserver.jdbc.TDSParser.parse(Lcom.microsoft.sqlserver.jdbc.TDSReader;Lcom.microsoft.sqlserver.jdbc.TDSTokenHandler;)V(Unknown Source)
    com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon
    The database is in "Windows authentication" mode (not "SQL authentication") and I can connect to it through "Toad for MS SQL Server". In this case I don't need to specify any username or password because I'm already logged in as gdahan on my computer. But when I try to create the datasource I need a username and password. Is there any way to specify to the datasource that I want to connect via Authentication windows ?
    I tried with BEA MS SQL server driver and Microsoft SQL Server 2005 JDBC Driver 1.2[See the complete documentation for MS's JDBC driver
    for how/whether it can do Windows Authentication.
    This is completely at the driver level, not WebLogic,
    except that (of course) WebLogic would have to be
    running on Windows.
    Joe

  • Oepe claims domain version does not match running server after upgrade

    Hi,
    we've just upgraded our server and development environment:
    OEPE: from 11.1.1.6.1 to 11.1.1.7.2 useing the eclipse update functions (help-> check for updates)
    Weblogic 10.3.3.0 to 10.3.5.0 using wls1035_upgrade_generic.jar from oracle support.
    The servers seem to run fine and so does eclipse.
    I can add the local (upgraded) weblogic devel server to the eclipse server list and deploy jee files. However, the remote server were not validated after the upgrade:
    "Oracle Weblogic Server 11gR1 Patchset 4 at [remote host] [Stopped, The domain version does not match the running server.]
    Removing and adding the servers again got the same result. The servers are running in development mode and are running. Where is eclipse checking / comparing the versions ?
    thanks,
    Michael

    Hi,
    thanks for the replies.
    checked the config.xml:
    there are two elements domain-version and configuration-version set both of these to 10.3.5.0
    I also created a new domain. The config wizard script only gave me the option to create a domain based on 10.3.4.0 but when i went through with the setup the 10.3.5.0 and i could add the server to eclipse.
    I cannot add the original domain though i'm now getting the error "The domain path does not match the running server." And i can't say whether this is because i added the new domain or modified the config.xml.
    thanks,
    michael

  • Server failed to start: The domain path does not match the running server

    Hi,
    I've configured Eclipse to run my local weblogic - which actually is working fine.
    The server starts as intended and reaches state RUNNING.
    As soon as this happens, OEPE tries to validate the server and compares the identified server's configuration to the expected configuration.
    This finally results into the error message shown in the subject -- though server is still running.
    !MESSAGE Server watcher[Oracle WebLogic Server 11gR1 PatchSet 1 at localhost]:The domain path does not match the running server.
    Domain RootDirectory retrieved from the MBean of running server is: N:\Oracle\MIDDLE~1\USER_P~1\domains\MYWEBL~1\
    Domain RootDirectory of this server: N:\Oracle\Middleware\user_projects\domains\myWeblogicServer
    Obviously this seems to be an issue with the length of the directory and file names. The domain's configuration and all its start scripts do not have any 8+3 pathes, like USER_P~1 for user_projects. Nevertheless the MBean of the server returns such a "truncated" path which in turn is invalid for OEPE.
    Fix: When setting up the domain in Eclipse, try using that 8+3 representation of the domain's location. Then the comparison will succeed...
    My Question: Where do we need to ask for a fix in OEPE? The 8+3 path is still a valid one ...
    Best Regards
    Philipp

    I haven't been able to reproduce this and 8+3 representation of the domain's location shouldn't be required.
    Can you provide more information:
    - is this a network drive?
    - what is your OS: XP, Vista, Win7?
    - what is the Windows file system type, is it FAT or NTFS
    - Can you try install WLS on C:, e.g. C:\Oracle\Middleware\user_projects and see if it still happens?

  • When opening my Outlook 2010 with new added e-mail account with Exchange Server, I have to click manually on my standard e-mail account for checking mail

    When opening my Outlook 2010 with new added e-mail account with Exchange Server supplied by my employer, I have to click manually on my standard e-mail account for checking mail. Do I have to upgrade my Microsoft Office 2010 or how can I make my Outlook
    2010 check all my four e-mail accounts without manually click on my accounts?
    Sincerely
    Ketil Hothorp

    Hello Ketil,
    Good Day...
    Seems to be the Issue is Syncing emails, now I would recommend you to Remove and Add the Account and try and check if the emails are getting synced automatically.
    Hope this is with Single User. If it is with Multiple Users then we need to check the permissions assigned.
    Regards,
    Praveen

  • Getting an Error When Running Server 2012 R2 adprep /forest prep on a 2012 DC

    I am getting an error when running adprep /forest prep on a Server 2012 domain controller. The main parts of my domain are as follows:
    2 - Domain Controllers running Server 2012
    1 - Exchange Server 2013 running on Server 2012
    I am trying to either do an in-place upgrade to my domain controllers to Server 2012 R2 or even introduce a Server 2012 R2 domain controller into the domain. The error I am getting is as follows:
    [Status/Consequence]
    The operation GUID already exists so Adprep did not attempt to rerun this operation but is continuing.
    [2014/04/05:09:12:38.873]
    Adprep was about to call the following LDAP API. ldap_search_s(). The base entry to start the search is cn=38618886-98ee-4e42-8cf1-d9a2cd9edf8b,cn=Operations,cn=ForestUpdates,CN=Configuration,DC=DOMAIN,DC=local.
    [2014/04/05:09:12:38.873]
    LDAP API ldap_search_s() finished, return code is 0x20
    [2014/04/05:09:12:38.873]
    Adprep verified the state of operation cn=38618886-98ee-4e42-8cf1-d9a2cd9edf8b,cn=Operations,cn=ForestUpdates,CN=Configuration,DC=DOMAIN,DC=local.
    [Status/Consequence]
    The operation has not run or is not currently running. It will be run next.
    [2014/04/05:09:12:38.873]
    Adprep was about to call the following LDAP API. ldap_modify_s(). The entry to modify is CN=ad://ext/AuthenticationSilo,CN=Claim Types,CN=Claims Configuration,CN=Services,CN=Configuration,DC=DOMAIN,DC=local.
    [2014/04/05:09:12:38.873]
    LDAP API ldap_modify_s() finished, return code is 0x13
    [2014/04/05:09:12:38.905]
    Adprep was unable to modify some attributes on object CN=ad://ext/AuthenticationSilo,CN=Claim Types,CN=Claims Configuration,CN=Services,CN=Configuration,DC=DOMAIN,DC=local.
    [User Action]
    Check the log file ADPrep.log in the C:\Windows\debug\adprep\logs\20140405091235 directory for more information.
    [2014/04/05:09:12:38.936]
    Adprep encountered an LDAP error.
    Error code: 0x13. Server extended error code: 0x20b1, Server error message: 000020B1: AtrErr: DSID-030F112A, #1:
     0: 000020B1: DSID-030F112A, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 9086f (msDS-ClaimIsValueSpaceRestricted)
    DSID Info:
    DSID: 0x181112dd
    ldap error = 0x13
    NT BUILD: 9600
    NT BUILD: 16384
    [2014/04/05:09:12:38.967]
    Adprep was unable to update forest information.
    [Status/Consequence]
    Adprep requires access to existing forest-wide information from the schema master in order to complete this operation.
    [User Action]
    Check the log file, ADPrep.log, in the C:\Windows\debug\adprep\logs\20140405091235 directory for more information.
    Any Help would be appreciated. Thanks!

    Hi,
    did you check which servers has FSMO roles?
    You can do that via command prompt: netdom query fsmo
    For forestprep you must do that on DC which have Schema Operations marter role.
    Command
    Domain controller
    Number of times to run the command
    adprep /forestprep
    Must be run on the schema operations master for the forest.
    Once for the entire forest
    adprep /domainprep
    Must be run on the infrastructure operations master for the domain.
    Once in each domain where you plan to install an additional domain controller that runs a later version of Windows Server than the latest version that is running in the domain.
    Note
    Domains where you will not add a new domain controller will be affected by adprep /forestprep, but they do not require you to run adprep /domainprep.
    http://technet.microsoft.com/en-us/library/dd464018(v=ws.10).aspx

  • Error in XI Dispacher running server not connected 503 service unavailable

    Hi All,
    We are facing a problem in SAP XI 3.0, we are having two SLD . Both Development and Quality are in One SLD and production is in a different SLD. We found error "<b>Dispatcher running but no server connected</b>! 503 service unavilable"  in our QA system and this error happened in peak time only. We are using OS AS400/DB2 and Java SP 16 is udated in our systems. We didnt found any perticular error in Work Directory log file also . pls give solution to resolve this error.
    Kind Rgds,
    Gopinath.

    hey
    have a look at the following
    Re: Dispatcher running but server no connected
    Dispatcher running, but no server connected!!!!   (Anybody out there)
    Dispatcher Running; Server could not be connected
    thanx
    ahmad

  • Add Node to Hyper-V Cluster running Server 2012 R2

    Hi All,
    I am in the process to upgrade our Hyper-V Cluster to Server 2012 R2 but I am not sure about the required Validation test.
    The Situation at the Moment-> 1 Node Cluster running Server 2012 R2 with 2 CSVs and Quorum. Addtional Server prepared to add to the Cluster. One CSV is empty and could be used for the Validation Test. On the Other CSV are running 10 VMs in production.
    So when I start the Validation wizard I can select specific CSVs to test, which makes sense;-) But the Warning message is not clear for me "TO AVOID ROLE FAILURES, IT IS RECOMMENDED THAT ALL ROLES USING CLUSTER SHARED VOLUMES BE STOPPED BEFORE THE STORAGE
    IS VALIDATED". Does it mean that ALL CSVs will be testest and Switched offline during the test or just the CSV that i have selected in the Options? I have to avoid definitly that the CSV where all the VMs are running will be switched offline and also
    that the configuration will be corputed after loosing the CSV where the VMs are running.
    Can someone confirm that ONLY the selected CSV will be used for the Validation test ???
    Many thanks
    Markus

    Hi,
    The validation will test the select the CSV storage, if you have guest vm running this CSV it must shutdown or saved before you validate the CSV.
    Several tests will actually trigger failovers and move the disks and groups to different cluster nodes which will cause downtime, and these include Validating Disk Arbitration,
    Disk Failover, Multiple Arbitration, SCSI-3 Persistent Reservation, and Simultaneous Failover. 
    So if you want to test a majority of the functionality of your cluster without impacting availability, exclude these tests.
    The related information:
    Validating a Cluster with Zero Downtime
    http://blogs.msdn.com/b/clustering/archive/2011/06/28/10180803.aspx
    Hope this helps.
    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.

  • Move SUP role from Server 2008 R2 to new Site System running Server 2012 R2

    Is it possible to move the primary SUP role which is currently running on a separate site system under Server 2008 R2 (WSUS 3.0 SP2) and move it to a new site system running Server 2012 R2 using the same SUSDB? I've moved the SUP role
    around before by setting up a secondary SUP (using the same DB) then removing the primary SUP role which causes the secondary SUP to become the Primary but that was using the same version of OS and WSUS. With the version of WSUS being different
    on Server 2012 R2, I was thinking this may not be possible since the documentation says the WSUS versions must be the same when creating multiple SUP roles.  

    Hi,
    >>I was thinking this may not be possible since the documentation says the WSUS versions must be the same when creating multiple SUP roles.  
    As the document indicated, "When you have multiple software update points at a site, ensure that they are all running the same version of WSUS." So the scenario you decribed should be not supported.
    Reference:Prerequisites for Software Updates in Configuration Manager
    Best Regards,
    Joyce
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Upgrade Virtual machine running server 2008 r2 to server 2012 r2.......

    Hi Everyone.........
    I have virtual Server machine Current Running Server 2008 r2 data-center, and try to upgrade server 2012 r2 data-center but unfortunately not Upgrade and Showing Errors like below....
    how to upgrade virtual server machine in server 2012 r2, Please help me for this Issue .

    I recommend doing a fresh install of Server 2012 R2 on the bare metal, enable the Hyper-V role and migrate the VMs over using these steps:
    Shutdown the VMs on the current 2008 or 2008 R2 Hyper-V host(s)
    In Hyper-V Manager, delete all snapshots and saved states of all VMs.
    Set all the VM vNICs to use static MAC
    Export each VM 
    On the new 2012 R2 Hyper-V server, import the VMs
    Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable) _________________________________________________________________________________
    Powershell: Learn it before it's an emergency http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx

  • Dispatcher Running Server Not Connected

    Hi,
    I have the same problem on Windows 2003 Server EP6 WAS640 SR1 SP9
    I have the WAS640 for ABAP with the Java Add In and the Enterprise Portal installed on top.
    When I try to connect to the Portal through a browser I get the message:
    Dispatcher Running Server Not Connected
    In the JCMON I cannot start Server0 and I get the errors 1,2,3,4 and it tries to start and then goes to status STOPPED
    Does anyone know the solution ?
    My system was working, the last change I made was to authenticate users against an SAP system and then I did a reboot and now the J2EE won't start.
    Any help is much appreciated.
    Thanks,
    Tomas.

    some more info, this problem started after I configured the Portal to authenticate against the SAP system
    In the portal system log for server.0.log there is the following info:
    Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: Anonymous principal not configured
         at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:504)
         at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:150)
         ... 5 more
    Caused by: com.sap.security.core.server.userstore.UserstoreException: Could not get user J2EE_GUEST
         at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:187)
         at com.sap.engine.services.security.userstore.context.UserContext.getUserInfo(UserContext.java:87)
         at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:498)
         ... 6 more
    Caused by: com.sap.security.api.NoSuchUserAccountException: USER_AUTH_FAILED: User account for logonid "J2EE_GUEST" not found!
         at com.sap.security.core.imp.AbstractUserAccount.<init>(AbstractUserAccount.java:334)
         at com.sap.security.core.imp.DBTextFileUserAccount.<init>(DBTextFileUserAccount.java:56)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:339)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:277)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:371)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:366)
         at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:183)
         ... 8 more
    #1.5#00A0D1BC74B6001E0000000C0000118C0003F7536153ADF0#1116362417365#/System/Server##com.sap.engine.core.service630.container.ServiceRunner#######SAPEngine_System_Thread[impl:5]_51##0#0#Error#1#/System/Server#Plain###Core service security failed. J2EE Engine cannot be started.#
    #1.5#00A0D1BC74B6001E0000000E0000118C0003F7536153BD59#1116362417365#/System/Server##com.sap.engine.core.Framework#######SAPEngine_System_Thread[impl:5]_51##0#0#Fatal#1#com.sap.engine.core.Framework#Plain###Critical shutdown was invoked. Reason is: Core service security failed. J2EE Engine cannot be started.#
    Is it possible to reset the configuration back to what it was, or back to a default configuration\like in EP5 ?
    Thanks,
    Tomas.

  • Has anyone used Migration Assistant to move services from one system running Server to a new system?

    So, I've purchased a Mac mini to replace my aging Mid 2009 mini on which I've been running Mavericks Server.  In trying to answer the question of how best to move services from the old machine to the new, I've stumbled into the fact that Migration Assistant can apparently migrate not just user data for workstations and laptops, but also service data for servers.  The problem is there isn't much detail in the docs about how good a job it does when going from one machine to another without changing OS releases.  There's a very detailed document in the KB about going from older versions of Server to new (OS X Server: Upgrade and migration from Lion Server or Snow Leopard Server) and a general doc on migrating from another Mac under Mavericks (OS X: How to migrate data from another Mac using Mavericks) but that has no details about Server.
    Has anyone used Migration Assistant to move services from one system running Server to a new system?  Are there any details that are particularly important to get right?  Are there things that require manual steps after Migration Assistant is done?
    There are other ways I could tackle the problem, of course.  I could simply swap drives between the systems, but the new system has two drives that are bigger, faster, and I intend to mirror them.  That would complicate such an approach.  I'd really like to keep the conversation constrained to a discussion of Migration Assistant as the primary method.

    yes. I migrated a server frm lion to mavericks following these notes a while back:
    OS X Server: Upgrade and migration from Mountain Lion
    i do not recall having any problems with it.

Maybe you are looking for

  • Sync multiple (but not all) photo folders?

    I've got a new 4G Touch and I am trying to figure out how to sync multiple folders containing pics to the iPod, preserving the folder structure on the PC to the Album structure on the iPod. My device allows the following: 1) Sync all photos from Phot

  • Can In-Browser Editing be used on a site exported as html?

    can In-Browser Editing be used on a site exported as html? (Local Intranet) Thanks

  • Php delete the first record in an xml doc

    So I have a shoutbox, and I only want it to store about 300 results, and the only way I can think of doing that is to fill it with three hundred results, and then delete the first one every time a new one is added, but I can't find a way of doing thi

  • Semi-transparent block, pure black and rich black problems

    Hi! I'm new to inDesign, and I'm currently designing a book cover, for which I need some special effects. I'll try to explain as best as I can. The background is rich black, on top of it I have a text in white (all over it). I applied a block with 80

  • Deploy component manually into LiveCycle

    Hi Guys I have to deploy my first "Custom Directory Service Provider" and "Custom Authentication Provider" into LiveCycle hosted on WebSphere 6 (Solaris/SPARC), but I would like to install manually, ie without WorkBench and without the Java API. Can