Problems setting up a Domain - javax.management.InstanceNotFoundException

I am having problems setting up a Domain. The following steps summarize
what I have done.
1. Created FooDomain in d:/bea/wlserver6.0/config and created
appropriate config.xml, startup scripts, security, etc... (FooDomain
boots ok)
2. Moved console.war to bea/wlserver6.0/config/FooDomain/applications
3. Connected to FooDomain via console (works ok).
4. Defined machine FooMachine (happens to be localhost)
5. Defined new server FooServer (in addition to default myserver) and
assigned it to FooMachine.
6. Created a new directory d:/managedServers/FooServer (note - outside
installation directory)
7. Created directories d:/managedServers/FooServer/logs &
d:/managedServers/FooServer/applications
8. Copied sample startManagedServer.cmd from mydomain to
d:/managedServers/FooServer & modified appropriately.
9. Ran startManagedServer.cmd (Note: I was able to connect to the
Administration Server ok)
The problems are as follows. (From the console - pointing to the
Administration Server for the FooDomain)
1. I am unable to configure a DefaultWebApp_FooServer to be located at
d:/managedServers/FooServer/applications. I get the following exeption:
javax.management.InstanceNotFoundException:
FooDomain:Name=DefaultWebApp_FooServer,Type=WebAppComponent.
2. I get a similar error when trying to set FooServer log locations to
d:/managedServers/FooServer/logs
Any ideas as to why? This then begs the question, what if FooServer was
on a different physical server altogether. How would I define the
location of the DefaultWebApp and logs.
Thanks
jay ()

If you want your application work, think my way. At least, all my teammates have used this method to build their development environment. If you are more interested to debug for Weblogic, contact your support representative. The tools from Administration console look very nice, but not function as you want (e.g., the tool to convert version 5.1 application to version 6, even monitor tools). Administration console is very nice to be used to configue the parameters for a domain, but not so trustful and not for application setup in my own experience and that is why I suggest you use mydomain and DefaultWebApp_MyServer as templates. By the way, I did modify config.xml manually to change the default web application entry, etc, to what I want.
Jay Zammit <[email protected]> wrote:
I did not modify config.xml manually. In fact, I am able to boot both the Administration Server & Managed Server. The problem happens when using the Administration console to assign my logs and Default Applications directory to the d:/managedServers/FooServer/logs, and d:/managedServers/FooServer/applications/DefaultWebApp_FooServer directories. Try it yourself. Go to the Configurer WebApp option and type in a fully qualified directory such as d:/managedServers/FooServer/applications/DefaultWebApp_FooServer
and see if it works on your system.
thanks
jay ()
Xiang Rao wrote:
One suggestion. Use the default domain mydomain as a template. Just make a copy of "mydomain" in folder config and rename the copy to whatever you like. Use some help tools to search all files (non-binary files) in new domain for key word "mydomain" and replace these words with your new domain name. To build an application, just rename the DefaultWebApp_MyServer to what you like and search "DefaultWebApp_MyServer" in all files (non-binary files) in your new domain and replace these words with yournew application name. Note you need to modify the scripts accordingly. Then you can run "startWeblogic" in your new domain directory to start your new domain. Other parameters should be configured by Administration console. If you manually modify configuration files, you could expect some bad news without reason.
Jay Zammit <[email protected]> wrote:
I am having problems setting up a Domain. The following steps summarize
what I have done.
1. Created FooDomain in d:/bea/wlserver6.0/config and created
appropriate config.xml, startup scripts, security, etc... (FooDomain
boots ok)
2. Moved console.war to bea/wlserver6.0/config/FooDomain/applications
3. Connected to FooDomain via console (works ok).
4. Defined machine FooMachine (happens to be localhost)
5. Defined new server FooServer (in addition to default myserver) and
assigned it to FooMachine.
6. Created a new directory d:/managedServers/FooServer (note - outside
installation directory)
7. Created directories d:/managedServers/FooServer/logs &
d:/managedServers/FooServer/applications
8. Copied sample startManagedServer.cmd from mydomain to
d:/managedServers/FooServer & modified appropriately.
9. Ran startManagedServer.cmd (Note: I was able to connect to the
Administration Server ok)
The problems are as follows. (From the console - pointing to the
Administration Server for the FooDomain)
1. I am unable to configure a DefaultWebApp_FooServer to be located at
d:/managedServers/FooServer/applications. I get the following exeption:
javax.management.InstanceNotFoundException:
FooDomain:Name=DefaultWebApp_FooServer,Type=WebAppComponent.
2. I get a similar error when trying to set FooServer log locations to
d:/managedServers/FooServer/logs
Any ideas as to why? This then begs the question, what if FooServer was
on a different physical server altogether. How would I define the
location of the DefaultWebApp and logs.
Thanks
jay ()

Similar Messages

  • Javax.management.InstanceNotFoundException: com.oracle.jps:type=JpsCredentialStore when creating credential using Credential Store Framework

    Hi,
    I have a WebLogic 11gR1 installation (on Windows Server 2012 with Oracle backend) and is trying to create credential using Credential Store Framework following steps described inhttp://www.redheap.com/2013/06/secure-credentials-in-adf-application.html
    I tried to do it with WLST (from under Oracle\Middleware\oracle_common\common\bin) and get the following error:
    wls:/WcsDomain/serverConfig> createCred(map="ClayTablet.Sample",key="TestKey",user="TestUser",password="blah",desc="Test Key");
    Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.
    For more help, use help(domainRuntime)
    COMMAND FAILED due to an unknown reason, Check the stack trace for details
    Traceback (innermost last):
      File "<console>", line 1, in ?
      File "C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\jpsWlstCmd.py", line 522, in createCred
      File "C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\jpsWlstCmd.py", line 504, in createCredImpl
            at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)
            at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
            at javax.management.remote.rmi.RMIConnectionImpl_1036_WLStub.invoke(Unknown Source)
            at weblogic.management.remote.common.RMIConnectionWrapper$16.run(ClientProviderBase.java:918)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java: 146)
            at weblogic.security.Security.runAs(Security.java:61)
            at weblogic.management.remote.common.RMIConnectionWrapper.invoke(ClientProviderBase.java:916)
            at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:993)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
    javax.management.InstanceNotFoundException: javax.management.InstanceNotFoundException: com.oracle.jps:type=JpsCredentialStore
    Thanks,
    Yu
    P.S. I was using WLST command under Oracle\Middleware\wlserver_10.3\common\bin to do the same and got a different error NameError: createCred and posted a question about that under How to create credential in Credential Store Framework?
    After searching for the same error message in the community I tried to switch to WLST under Oracle\Middleware\oracle_common\common\bin and got the error posted here.

    After extending my domain with JRF and JRF WebService Asynchronous services, I was able to execute "createCred" and "listCred" and so on.
    Yu

  • Javax.management.InstanceNotFoundException --- and the admin goes down

    we are running on WLS 8.1 ,
    and from past two weeks we are facing issues with the admin frequebntly going down,
    i see this errros every time this goes down
    javax.management.InstanceNotFoundException: mydomain:Name=ms1,Server=ms1,Type=Log (admin server:true)
    at weblogic.management.internal.MBeanHomeImpl.getMBean_helper(MBeanHomeImpl.java:145)
    at weblogic.management.internal.MBeanHomeImpl.getMBean(MBeanHomeImpl.java:130)
    at weblogic.management.internal.AdminMBeanHomeImpl.getMBean(AdminMBeanHomeImpl.java:263)
    at weblogic.management.internal.AdminMBeanHomeImpl.registerConfigMBeansForAdminChanges(AdminMBeanHomeImpl.java:1014)
    at weblogic.management.internal.AdminMBeanHomeImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    how ever the ms1 nolonger existis in the domain....

    Can you tell more about your domain configuration, and about ms1, was it configured as part of a cluster ? Since when is it not available. Were all the servers restarted after ms1 was down.. Does your config.xml still contain reference to ms1 ? if you remove it.
    The file running-managed-servers.xml also keeps track of the active managed servers, ensure that ms1 is not listed in it, and if it is there, remove the entry from this file, or delete this file before starting the admin server.

  • Javax.management.InstanceNotFoundException-ExecuteQueueRuntimeMBean-HELP

    Hi all,
    I am trying to get the througput with the following line of code
    ExecuteQueueRuntimeMBean executeMBean = (ExecuteQueueRuntimeMBean)home.getRuntimeMBean(serverName, "ExecuteQueueRuntime");     
    And I am getting the following error.
    javax.management.InstanceNotFoundException:workshop:Location=cgServer,Name=cgServer,Type=ExecuteQueueRuntime (admin server:true)
    I am not sure what causes this.Please let me know. Thank you =)
    -Praneetha

    Hello praneetha,
    May be the MBean with that name does not exist. Try
    home.getMBeansbyType("ExecuteQueueRuntime") which returns the Set where
    you can check if the mbean you are looking for is available.
    Thanks,
    -satya
    Praneetha Sabhanayakam wrote:
    Hi all,
    I am trying to get the througput with the following line of code
    ExecuteQueueRuntimeMBean executeMBean = (ExecuteQueueRuntimeMBean)home.getRuntimeMBean(serverName, "ExecuteQueueRuntime");     
    And I am getting the following error.
    javax.management.InstanceNotFoundException:workshop:Location=cgServer,Name=cgServer,Type=ExecuteQueueRuntime (admin server:true)
    I am not sure what causes this.Please let me know. Thank you =)
    -Praneetha

  • Problems setting a Yosemite domain name account for Send only

    What do I do in Yosemite Mail so that my DOT MAC account is IMAP, but  so that I can also send email from a domain account that is a POP account at GoDaddy?
    My Dot Mac / iCloud account is my primary Mail account. I also have a domain name account that I use only for sending mail. The domain name account is a POP account, not an IMAP account. The domain server (not an Apple server) forwards the email to my Dot Mac account as it comes in, but I do NOT sync mail or even pick up mail from the domain name server.
    With Yosemite, Apple apparently changed the way it deals with that situation. I say "apparently" because I'm having a hard time getting help on this. Before Yosemite, I had the domain account enabled, but while there was a password for sending there was no password for picking up the domain name mail. Every once in the while over the years that setup would get flaky (as Apple made changes on its end?) but usually it worked.
    I continued that setup with Yosemite, but a few months ago I started having problems. My mail worked as normally, but during the night or the morning, many messages would arrive as unread duplicates, and many emails I didn't want deleted were permanently deleted. Oddly, in addition, I had an easy time keeping the setup on my MacAir but I had a hard time keeping it on my Mac Mini, even though both have Yosemite.
    I took my MacAir to an Apple genius who said the settings had changed in Yosemite. He somehow reset the account for Send Only by clicking a box. Everything worked fine for a week or so,* But then I could no longer send domain name mail, I couldn't find the setting, and I went to another Genius, who didn't know what I was talking about and who couldn't solve the problem.
    I need to be able to send my domain name account without making it an IMAP account, but can't figure out how.
    thanks
    * In other words, the Dot Mac IMAP worked correctly, the POP messages forwarded correctly to DOT MAC (without any duplication problems), and I was able to send mail from the domain account.

    I've not tested it but if you simply leave the incoming mail server field in the Mail account preferences blank for that account blank but set up the outgoing server and do not check "include when automatically checking new mail" you should be able to send but not receive
    OR undo the forward that you have set up from #2 to #1 and use both normally
    LN

  • Problems setting email headers with javax.mail.*

    I'm trying desperatly to send HTML emails with javax.mail but I simply can't. No matter what I do, no matter how and where I set the headers it always come out as text.
    Here's a sample code:
    try {
              Properties props = System.getProperties();
              props.put("mail.smtp.host", "smtp.ability.com.br");
              Session session = Session.getDefaultInstance(props, null);
              Message msg = new MimeMessage(session);
              msg.setHeader("Content-Type", "text/html");
              msg.setRecipient( MimeMessage.RecipientType.TO, new InternetAddress("[email protected]") );
              msg.setFrom( new InternetAddress("[email protected]") );
              msg.setSubject("teste");
              msg.setText("<b>testeeeeeeeeeeeee</b>");
              Transport.send( msg );
              } catch( Throwable t ) {
                   System.err.println(t);
              }and here's the resulting email:
    Return-Path: <[email protected]>
    Delivered-To: [email protected]
    Received: (qmail 5895 invoked by uid 510); 21 Dec 2004 16:41:49 -0000
    Received: from [email protected] by relay03.dominal.com
    Received: from unknown (HELO christian) (200.217.110.124)
      by 0 with SMTP; 21 Dec 2004 16:41:48 -0000
    Message-ID: <20590970.1103647309922.JavaMail.christian@christian>
    From: [email protected]
    To: [email protected]
    Subject: teste
    Mime-Version: 1.0
    Content-Type: text/plain; charset=us-ascii
    Content-Transfer-Encoding: 7bit
    <b>testeeeeeeeeeeeee</b>What am I missing here?
    Thanks in advance,
    Christian

    msg.setText("<b>testeeeeeeeeeeeee</b>");R
    eplace that
    bymsg.setContent("<b>testeeeeeeeeeeeee</b>",
    "text/html");
    Thanks DrClap, but that's not exactly the solution I'm looking for, cuz I would have to hard-code that header.
    I have an Email class that I use as a wrapper for the javax.mail API, and I wanna be able to have a setHeader() method that works to enable the users to set the content-type of the text (or HTML) portion of the email, even when there are attachments. How can I achieve this?

  • Problems setting up username & password for SQL

    Due to the outstanding advice I recieved from this excellent forum, I have managed to overcome my first problem with declaring a new Class.
    This leads me to request help with my next biggest problem:
    Setting up a user GUI that takes a "username" & "password" that will be used to access a password protected database.
    I am a simple bloke, with simple thought processes, so please, go easy on me...
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.sql.*;
    public class DBQuery1 {
         String username = "" , password = "";
         public static void main(String[] arguments) {
              PassDB UPass = new PassDB();
              String data = "jdbc:odbc:JavaTestDataBase";
              try {
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   Connection conn = DriverManager.getConnection(data, "" + username, "" + password);
                   Statement st = conn.createStatement();
                   ResultSet rec = st.executeQuery(
                        "SELECT Title, ContactID, First, Last, Dear FROM Contacts "
                        + "WHERE (Title='Mr') ORDER BY ContactID");
              /*     ResultSet rec2 = st.executeQuery(
                        "SELECT Subject, ContactID FROM Calls "
                        + "WHERE (Subject Is Not Null) ORDER BY ContactID");
              System.out.println("\nFirst Name\tSurname\t\tNick Name\t\tSubject\n");
              while(rec.next()) {
                   System.out.println(rec.getString(3) + "\t\t" + rec.getString(4) + "\t\t" + rec.getString(5) /* + rec2.getString(1) */ );
              st.close();
              catch (SQLException s) {
                   System.out.println("SQL Error: " + s.toString() + " " + s.getErrorCode() + " " + s.getSQLState());
              catch (Exception e) {
                   System.out.println("Error: " + e.toString() + e.getMessage());
    class PassDB extends javax.swing.JFrame implements ActionListener {
         String username = "", password = "";
         JTextField uname = new JTextField(10);
         JTextField pword = new JTextField(10);
         // JPasswordField pword = new JTextField(10);
         PassDB() {
              super("duBe's database logon");
              setSize(220, 160);
              setDefaultCloseOperation(EXIT_ON_CLOSE);
              JPanel pane = new JPanel();
              JLabel unameLabel = new JLabel ("Username: ");
              JLabel pwordLabel = new JLabel ("Password: ");
              JButton submit = new JButton("OK");
              submit.addActionListener(this);
              pane.add(unameLabel);
              pane.add(uname);
              pane.add(pwordLabel);
              pane.add(pword);
              pane.add(submit);
              setContentPane(pane);
              setVisible(true);
         public void actionPerformed(ActionEvent evt) {
              PassDB clicked = (PassDB)evt.getSource();
              username = uname.getText();
              password = pword.getText();
    This code generates two errors, stating:
    C:\Java_progs>javac DBQuery1.java
    DBQuery1.java:14: non-static variable username cannot be referenced from a static context
    Connection conn = DriverManager.getConnection(data, "" +
    username, "" + password);
    ^
    DBQuery1.java:14: non-static variable password cannot be referenced from a static context
    Connection conn = DriverManager.getConnection(data, "" +
    username, "" + password);
                    ^
    2 errors*****************************
    The code works when I remove the reference to the variables "username" & "password" in Connection "conn" call & replace them with the actual username & password, but this is not exactly what I was after. I was hoping to make the program responsive to each individual user, not set in code.
    I also would like to make the program pause after the call in "main" to "PassDB" to wait for "PassDB" to exit before continuing.
    I would also like to make "PassDB" destroy itself after the "OK" button is pressed & the "username" & "password" set.
    If that isn't enough for you, I would really like the program to search 2 different database tables, return their values & compare them to be sure that they are the same.
    When I try & search 2 different tables, as in:
    ResultSet rec = st.executeQuery(
                        "SELECT Title, ContactID, First, Last, Dear FROM Contacts "
                        + "WHERE (Title='Mr') ORDER BY ContactID");
                   ResultSet rec2 = st.executeQuery(
                        "SELECT Subject, ContactID FROM Calls "
                        + "WHERE (Subject Is Not Null) ORDER BY ContactID")javac tells me that "ResultSet" is set to null 0
    As always, I am extremely appreciative of any assistance you are able to offer.
    Kind regards
    duBedat
    [email protected]

    This is where I'm at now:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.sql.*;
    public class DBQuery {
         static String username = "" ;
         static String password = "" ;
         public static void main(String[] arguments) {
         PassDB UPass = new PassDB();
         String data = "jdbc:odbc:JavaTestDataBase";
         try {
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              Connection conn = DriverManager.getConnection(data, "" + DBQuery.username, "" + DBQuery.password);
              Statement st = conn.createStatement();
              ResultSet rec = st.executeQuery(
              "SELECT Title, ContactID, First, Last, Dear FROM Contacts "
              + "WHERE (Title='Mr') ORDER BY ContactID");
              /*     ResultSet rec2 = st.executeQuery(
                   "SELECT Subject, ContactID FROM Calls "
                   + "WHERE (Subject Is Not Null) ORDER BY ContactID");
              System.out.println("\nFirst Name\tSurname\t\tNick Name\t\tSubject\n");
              while(rec.next()) {
                   System.out.println(rec.getString(3) + "\t\t" + rec.getString(4) + "\t\t" + rec.getString(5) /* + rec2.getString(1) */ );
              st.close();
         catch (SQLException s) {
              System.out.println("SQL Error: " + s.toString() + " " + s.getErrorCode() + " " + s.getSQLState());
         catch (Exception e) {
              System.out.println("Error: " + e.toString() + e.getMessage());
    class PassDB extends javax.swing.JFrame implements ActionListener {
         static boolean getOut = false;
         JTextField uname = new JTextField(10);
         JTextField pword = new JTextField(10);
         // JPasswordField pword = new JTextField(10);
         public PassDB() {
              super("duBe's database logon");
              setSize(220, 160);
              setDefaultCloseOperation(EXIT_ON_CLOSE);
              JPanel pane = new JPanel();          
              JLabel unameLabel = new JLabel ("Username: ");
              JLabel pwordLabel = new JLabel ("Password: ");
              JButton submit = new JButton("OK");
              submit.addActionListener(this);
              pane.add(unameLabel);
              pane.add(uname);
              pane.add(pwordLabel);
              pane.add(pword);
              pane.add(submit);
              setContentPane(pane);
              while(getOut == false)
                   setVisible(true);                         
         public void actionPerformed(ActionEvent evt) {
              PassDB clicked = (PassDB)evt.getSource();
              DBQuery.username = uname.getText();
              DBQuery.password = pword.getText();
              getOut = true;               
    }          Any advice is greatly appreciated
    duBe

  • Problems setting up Remote Web Access in Windows Storage Server 2008 R2

    We just bought a WD Sentinel DX4000 Storage Server and went through the Remote Web Access wizard.  It setup the router just fine but when we got to the setup your domain name we have been having
    headaches ever since.  We chose the option to use our own domain name, which we have registered through GoDaddy.  It then showed that yes, our provider was GoDaddy but then it told us we needed to update our service with GoDaddy so we clicked the
    "Go to GoDaddy.com" button and it sent us to a page to purchase an SSL certificate.  So, we did that but then had issues with it not being able to be managed in our GoDaddy account.  So, I went into the domain name with GoDaddy and purchased
    a certificate there and got it setup on the domain name with GoDaddy.
    The problem is that when I try to go through the wizard again to set up the domain name I still have to click the goDaddy button to move to the next page where I type my domain name, username, and password
    with GoDaddy.  I setup the remote extension in the A records with GoDaddy as remote.mydomain.com, and put in my username and password with GoDaddy.  After I click next it tries to connect to the domain name service provider but then gives me the
    following error message over and over:
    The domain name was not set up for your server.  Wait a few minutes and run the wizard again.
    An unexpected or unknown problem occurred.  Please wait a few minutes, and then try again.
    Well, I have tried this several times and am about to start pulling my hair out.  Can anyone please tell me what I may be doing wrong?
    Thanks for any help you may be able to provide.

    Hi,
    Please verify the installed certificate status, you could refer to the article below to install GoDaddy SLL Certificates.
    Installing a GoDaddy Standard SSL Certificate on SBS 2008
    http://sbs.seandaniel.com/2009/02/installing-godaddy-standard-ssl.html
    Please Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
    There is a similar thread, please go through it to help troubleshoot this issue:
    SBS Essentials 2011 Domain Name Wizard Fails
    https://social.technet.microsoft.com/Forums/en-US/6644ec25-3071-4526-b878-9d6977589f88/sbs-essentials-2011-domain-name-wizard-fails?forum=smallbusinessserver2011essentials
    Best Regards,
    Mandy
    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]

  • Exchange server OWA athentication Error " You must set a default domain if LogonFormat is set to UserName"

    I Have windows 2012 DC installed and This is a production server, I know that Its not recommended to install exchange server on the DC. I had to do it because of management instructions.
    I have tried to install the exchange 2013 and received many errors at the time of installations and then finally I changed the path for installation to D drive. its installed successfully.
    The issue is its not opening the OWA or ECP.
    The owa virtual directory got deleted as part of troubleshooting to recreate it. but after that its not creating, I reset the iis and created the virtual drive for owa from the iis console but not through powershell and then i thought to install the SP1
    so that it can be fixed.
    At the time of installation client access front end service role ..it gives error
    Error:
    The following error was generated when "$error.Clear();
              $FEOWAVdirIdentity = $RoleNetBIOSName + "\OWA (Default Web Site)";
              $FEOWAVdir = get-OwaVirtualDirectory -Identity $FEOWAVdirIdentity -DomainController $RoleDomainController;
              if ($FEOWAVdir -ne $null)
                Set-OwaVirtualDirectory -Identity $FEOWAVdir.Identity -ExternalUrl $FEOWAVdir.ExternalUrl -InternalUrl $FEOWAVdir.InternalUrl -ExternalAuthenticationMethods $FEOWAVdir.ExternalAuthenticationMethods
    -BasicAuthentication ([Convert]::ToBoolean($FEOWAVdir.BasicAuthentication)) -WindowsAuthentication ([Convert]::ToBoolean($FEOWAVdir.WindowsAuthentication)) -DigestAuthentication ([Convert]::ToBoolean($FEOWAVdir.DigestAuthentication)) -FormsAuthentication ([Convert]::ToBoolean($FEOWAVdir.FormsAuthentication))
    -LiveIdAuthentication ([Convert]::ToBoolean($FEOWAVdir.LiveIdAuthentication)) -OAuthAuthentication ([Convert]::ToBoolean($FEOWAVdir.OAuthAuthentication));
            " was run: "You must set a default domain if LogonFormat is set to UserName.".

    Hi Mohammed,
    I have run into this same problem and below is the fix.
    Run below command  to see the logon format
    Get-OwaVirtualDirectory -Identity "owa (Default Web Site)"|fl name,server,*auth*,*logon*,*domain*
    Look for LogonFormat values 
    LogonFormat                             : UserName- (Wrong One)
    LogonFormat                             : Domain - (Correct one)
    If you find the first one (Wrong One) then i would suggest you to run the below command to change the log on format to domain which will solve your problem
    Set-OwaVirtualDirectory -Identity "owa (Default Web Site)" -LogonFormat FullDomain
    Cheers !!
    Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you

  • Javax.management.QueryExp

    related to my previous post, cause I can't use queryMBeans (myObjName, null), I'm trying to search Mbeans using javax.management.QueryExp
    I can retry with an MBean attribute set to a specific value:
    QueryExp queryExp = Query.eq(Query.attr("myAttr"),Query.value(true));
    Set notifMBeansSet =connection.queryMBeans(null, queryExp); //Retry MBeans with myAttr set to true
    but I don't now how to retry an MBean that contains an attribute (without specify a value), or an operation
    thanks
    Edited by: lukeb on Mar 4, 2008 4:21 AM

    Got the issue resolved after lot of pain
    The problem is with config/application.xml file shipped with OC4J
    It doesn't have an entry to point to the required lib directories
    Adding the below two entries resolved the issue
    <library path="../lib" />
    <library path="../../../lib" />
    Hope you don't forget to include it in next revison

  • JBoss[HornetQRest]:  javax.management.InvalidAttributeValueException

    I have created HornetQ Rest based application for sending and receiving xml messages.
    There is no war deployment error in JBoss-4.2.2.GA but experiencing problem in deployment of war in jboss-6.1.0.Final.
    JBoss server log file:
    2011-12-12 17:04:23,366 ERROR [ProfileServiceBootstrap] (Thread-2) Failed to load profile:: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
    DEPLOYMENTS IN ERROR:
    Deployment "vfs:///C:/jboss-6.1.0.Final_fresh/server/default/deploy/HornetQRest.war" is in error due to the following reason(s): javax.management.InvalidAttributeValueException: Set attribute has class class org.jboss.kernel.Kernel loaded from java.net.URLClassLoader@1d05c81 that is not assignable to attribute class class org.jboss.kernel.Kernel loaded from BaseClassLoader@10276f2{vfs:///C:/jboss-6.1.0.Final_fresh/server/default/deploy/HornetQRest.war}
         at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228) [:2.2.2.GA]
         at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905) [:2.2.2.GA]
         at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87) [:6.1.0.Final]
         at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:107) [:0.2.2]
         at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:135) [:6.1.0.Final]
         at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.1.0.Final]
         at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-6]
         at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-6]
         at java.lang.Thread.run(Thread.java:619) [:1.6.0_11]
    2011-12-12 17:04:23,386 INFO [org.apache.coyote.http11.Http11Protocol] (Thread-2) Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
    2011-12-12 17:04:23,389 INFO [org.apache.coyote.ajp.AjpProtocol] (Thread-2) Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
    2011-12-12 17:04:23,389 INFO [org.jboss.bootstrap.impl.base.server.AbstractServer] (Thread-2) JBossAS [6.1.0.Final "Neo"] Started in 21s:758ms
    Please post here your suggestions!
    Regards

    http://java.sun.com/products/JavaManagement/index.html
    Juha Lindfors
    Author of "JMX: Managing J2EE with Java Management Extensions"

  • Problems setting up VVSA 6.0 (lookup service adresse)

    Hi,
    I was happy to see VVSA 6.0 released, but i'm having problems setting it up. It keeps saying that the lookup service adresse is not reachable. But I have tried with the VVSA 5.5 and 5.5.1.1 and they work just fine with the lookup service adresse.
    Anyone else having this issue?
    Also trying to check for updates within the appliance failes since the repository is not online at vmware it seems.
    Might not be ready for primetime (like ESXi6).

    If Developer has a separate Oracle Home on your PC, then it has a separate TNSNAMES.ORA file that is uses to connect to the database. If you search for all tnsnames.ora files, you should find the one used by Developer 6.
    Since Enterprise manager works, the tnsnames.ora in your Enterprise Manager's home will have an entry for your server database. You should be able to cut and paste this into the tnsnames.ora file used by Developer, or try copying the E.M. tnsnames.ora file directly.
    John Alexander www.SummitSoftwareDesign.com

  • Problems Setting up my wireless network with an Xb...

    Hi, I have had some problems setting up my wireless networking.
    I have everything switched on and am able to go online with the laptop and the Xbox with no problems but when I try to share media with the xbox I have problems.
    I have opened the ports specified in the setup from xbox on windows firewall and have no problem connection Via Ethernet cable but when using wireless the xbox cannot detect the laptop.
    I have checked the network map and both xbox and laptop are connected and have enabled sharing and am running sharing software.
    Below is the network map.
    I have also been having problems with BT software, the free virus protection will not install, The desktop help will not launch although it shows up on task manager and the installation disk does not launch correctly it doesn't get past the loading screen.
    I have had a printer on the wireless network and had no problems printing.
    If anyone knows how to resolve this please help.

    I have this same Motorola modem and I just verified that my 802.11n AirPort Express Base Station (AXn) can get Internet access with this modem without any issues.
    When changing ISPs (or networking equipment) it's always a good idea to start from "scratch" in configuring your equipment.
    I would recommend that you do the following as a minimum:
    Power-down the modem, AirPort base station, and computer(s).
    While all of the devices are powered-down, perform a "factory default" reset on the base station. This will get it back to its "out-of-the-box" configuration and make setting it up much easier, especially if you use the "Assist me" process within the AirPort Utility. (ref: Resetting an AirPort Base Station or Time Capsule)
    After the base station resets, go ahead and power it back down.
    Power-up the modem; wait at least 10-15 minutes.
    Power-up the base station; wait at least 5-10 minutes.
    Power-up your computer(s).
    In this basic configuration, computers connected to the base station, either by wire or wireless (as appropriate for the base station type), should now be able to access the Internet through the ISP's modem. Once Internet connectivity has been verified, you can use the AirPort Utility to configure the base station for wireless security and any other desired options.

  • Problems setting up Mail to Exchange

    Hey everyone,
    Having a few problems setting up mail to exchange on a Nokia 5800.
    We have the latest version of Mail to Exchange installed.
    Were using Microsoft Exchange 2007.
    Example serup of what we have done:
    Mail to exchange - New profile - Input Username and Password of domain account - Input domain name - Chose Internet as means of connection -
    The Nokia goes off and searches for the domain information, finds it OK. Shows a message regarding a server certificate, we chose to install this certificate this time only.
    Phone crashes?
    Any ideas whats going on?
    Thansk

    Hi Jim,
    Depending on the customer feedback, it works fine. Apple Mail the client that comes with OSX supports standard protocols (POP3, IMAP, SMTP), these are all supported by Exchange 2010. 
    If you're running Mac OS 10.4 Tiger or Mac OS 10.5 Leopard, you can still use the Mac Mail App to connect to your account. However, you need to connect to your account without using IMAP or POP.
    If you're running Mac OS 10.6 Snow Leopard or Mac OS 10.7 Lion, you can use the Mail program included with those releases to connect to your email account automatically using an Exchange account.
    When you use Mac OS 10.6 Snow Leopard or Mac OS 10.7 Lion and connect using an Exchange account, you can use features that aren't available to users who connect through IMAP or POP, including iCal and Address Book.
    More details about Set up email in Mac OS X Mail, please refer to:
    https://support.office.microsoft.com/en-in/article/Set-up-email-in-Mac-OS-X-Mail-de372dc4-9648-4044-a76c-e8a60e178d54?CorrelationId=a0ce4c19-1492-4e3b-bc7e-4af83d3cb347&ui=en-US&rs=en-IN&ad=IN
    Additional, I find a similar thread about your question, for your reference:
    https://social.technet.microsoft.com/Forums/exchange/en-US/b112b61e-401f-4ad9-b459-a25673ff5407/connecting-to-exchange-2010-using-apple-mail?forum=exchange2010
    https://social.technet.microsoft.com/Forums/en-US/d3c9b4ad-822b-4a7c-88b8-39df3f166f96/how-to-setup-exchange-account-on-macbook-os-x?forum=exchange2010
    Best Regards,
    Allen Wang

  • Problems setting up Time Machine using a network drive

    I am having problems setting up TimeMachine on my Mac Mini to work with a WD MyBookLive network drive.  The network drive came with a TimeMachineBackup shared folder preconfigured.  When I first connected the drive to the router and turned on TimeMachine, the TimeMachineBackups appeared as an option when I did "Select Backup Disk" from TimeMachine Preferences.
    I managed to successfully connect to the drive and start a backup running.  However the backup hit a problem and I started getting an error that the "disk was already in use".  I therefore tried to remove the disk to try and start again.  Hoever when I now do go into "Select Backup Disk" from TimeMachine Preferences the shared folder on the drive no longer apperas and I only get the option to serach for an Time Capsule.
    If I go into Finder, the MyBookLive shows up as a connected Device with all its shared folders showing (including the TimeMachineBackup folder)  and my Mac is definitely connected to the drive.  How do I get the Drive & TimeCapsuleBackup shared folder to reappear in TimeMachine Preferences so that I can select it as the destination for my backups?

    Check around the forum, you are one of very very many. It doesn't matter what WD say, do you see a Certified by Apple notice on it?
    Go here, most authoritative site about Time Machine you can find. http://pondini.org/OSX/Home.html
    Specific info on Network Drives are here http://pondini.org/TM/2.html
    Post back here and ask for Pondini if you need more.
    You can also read some tales of woe here

Maybe you are looking for

  • Creating a new order type in OM

    Hi dear I have to create a new order type in order management. Once the order is booked, the inventory should decrease automatically without passing through "Release Sales Orders", "Transact Move Orders" and "Shipping Transactions". After the line st

  • F-47 & F-48

    Dear All, I have Prepared Purchase Order of Total Amount INR 50,000. Prepared DPR against Purchase Order with F-47 of INR 50,000 Prepared Payment Document with F-48 for INR 30,000. (By mistake Payment document prepared for INR 30,000 instead of INR 5

  • In Applet  how to send an ' image' and 'string' as parameter

    Hi, In web application, how to use post method in applet to send an ' image' and 'string' as a parameter, I can able to send the image alone form applet to servlet.

  • PDF size exceeds 50kb

    Hi all, We are developing a smartform wherein the requirment is to convert the smartform into PDF. The present size of the PDF is 700 kb and we want to reduce it 50 kb. We have tried by changing the logo and the font but that has helped us reduce the

  • Reprice

    Hi All How can i do reprice for the order which are created allready? The problem is one condition type which is in pricing procedure is not appearing in sales order (in the analysys it says either the condition record is created after the sales odrd