Creating New Domains WL 8.1 SP2

Is it possible to create a new domain using the MBeans in a similar fashion to the WLSERVER Ant task??
Dave

Hi Dave,
It is possible using Jython and WLST to make a WLServer.
You can get Jython from
     http://www.jython.org/download.html
And you can download WLST from
     http://dev2dev.bea.com/codelibrary/code/wlst.jsp
Can configure all this.. like this.
////// SETTING START ////////////////////
set BEA_WL_HOME=D:\bea
set WL_HOME=D:\bea\weblogic81
set JYTHON_HOME=D:\jython-2.1
set WLST_HOME=D:\WLST
set DOMAIN_HOME=D:\bea\user_projects\domains\smartIntegration
call "%DOMAIN_HOME%\setDomainEnv.cmd" %*
@REM Start PointBase
call "%WL_HOME%\common\bin\startPointBase.cmd" -port=9093 -debug=0
-console=false -background=true -ini=%DOMAIN_HOME%\pointbase.ini >
"%DOMAIN_HOME%\pointbase.log" 2>&1
set
CLASSPATH=%JYTHON_HOME%\jython.jar;%WLST_HOME%\wlst.jar;%JUNIT_HOME%\junit.jar;%CLASSPATH%;
@echo.
@echo CLASSPATH=%CLASSPATH%
@echo.
@echo PATH=%PATH%
@echo.
@echo Your WLST environment has been set.
java weblogic.WLST
////// SETTING END ////////////////////
After the WLST starts you need to issue this commanad ...
startServer('smartServer', 'smartIntegration', 't3://localhost:2222',
'weblogic', 'administrator')
It will create a new Server and also Starts the server.
Regards,
Bhavesh Thaker
Dave Hewitson wrote:
Is it possible to create a new domain using the MBeans in a similar fashion to the WLSERVER Ant task??
Dave

Similar Messages

  • Unable to create new domain for ORM in Weblogic 8.1

    Hi,
    I have installed Oracle Role Manager(ORM) 10.1.4 and to run ORM in weblogic i have to create a new domain for ORM.
    I tried to create a new domain in weblogic 8.1 in configuration wizard by selecting the orm_createdomain_template_103.jar but i m getting an error
    "There is a problem with the template".
    This template is to create new domain for ORM in weblogic 10.3
    Kindly help me to resolve this issue.
    Regards,
    Manju

    I have installed ORM 10.1.4.1 on weblogic 10.3
    I have also created a new domain for ORM in weblogic.
    When i start the Managed server using startManagedWebLogic.cmd i m getting the following
    errort
    t3://localhost:7004/jndi/weblogic.management.mbeanservers.domainruntime.
    java.io.IOException: Unable to resolve 'weblogic.management.mbeanservers.domainr
    untime'. Resolved 'weblogic.management.mbeanservers'
    at weblogic.management.remote.common.ClientProviderBase.makeConnection(C
    lientProviderBase.java:156)
    at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(
    ClientProviderBase.java:79)
    at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnec
    torFactory.java:338)
    at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFacto
    ry.java:247)
    at weblogic.management.mbeanservers.runtime.internal.RegisterWithDomainR
    untimeService.getDomainMBeanServerConnection(RegisterWithDomainRuntimeService.ja
    va:199)
    Truncated. see log file for complete stacktrace
    javax.naming.NameNotFoundException: Unable to resolve 'weblogic.management.mbean
    servers.domainruntime'. Resolved 'weblogic.management.mbeanservers'; remaining n
    ame 'domainruntime'
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(Basic
    NamingNode.java:1139)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.jav
    a:252)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.j
    ava:182)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:20
    6)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:21
    4)
    Truncated. see log file for complete stacktrace
    >
    <Jul 3, 2009 10:08:52 AM GMT+05:30> <Notice> <WebLogicServer> <BEA-000365> <Serv
    er state changed to RUNNING>
    <Jul 3, 2009 10:08:52 AM GMT+05:30> <Notice> <WebLogicServer> <BEA-000360> <Serv
    er started in RUNNING mode>
    Please help me to resolve this issue.
    Regards,
    Manju

  • Error creating new domain (probably because of incomplete install)

    Hi!
    I've installed BPEL PM without problems on a server where AS already runs. I only had some problems with Step 2: Run the Integration Repository Creation Assistant on the Database. Since I couldn't run the bat files, I manually created shchema and a orabpel user.
    Postinstallation Verification Tasks for Oracle BPEL Process Manager in BPEL Process Manager Installation Guide went through OK, so I thought everything is OK.
    Then I tried creating new BPEL domain (trying to follow GoogleFlow tutorial but can't deploy because I don't have any domains) and got this error:
    Exception
    Operation failed because:
    Error updating domain index.
    An exception occurred while writing the domain index (id"GoogleDomain", ref "1") to the datastore; the exception reported is: ORA-00942: table or view does not exist.
    Please check that:
    + the machine hosting the datasource is physically connected to the network.
    + the connection pool properties as defined in the application server startup properties are valid.
    + the database schema for the OraBPEL server has been installed in the datasource.
    So I found a similar thread (Strange message when logged in to bpel console where one user had similar problems and solved them by manually running the domain_oracle.ddl script. I did the same, but still can't create a new domain.
    One more thing bothers me: if I try to create new domain with the same name I get:
    Exception
    Operation failed because:
    Domain already exists.
    A domain with identifier "GoogleFlowDomain" already exists at "C:\OracleAS\10.1.3.1\OracleAS_1\bpel\domains\GoogleFlowDomain". Please specify another domain identifier.
    But deployed domains list is empty.
    I'd really like to solve this. Maybe a new BPEL PM install would help but I can't execute step 2 of preinstallation tasks. If I execute the line from irca file
    java -classpath %CLASSPATH% -DORACLE_HOME=%ORACLE_HOME% oracle.tip.install.tasks.IRCA %*
    I get
    Exception in thread "main" java.lang.NoClassDefFoundError: Files\Java\jre1/5/0_06\lib\ext\QTJava/zip
    Any kind of further instructions would be much appreciated.
    Regards!
    BB

    Hi!
    It was the Step 2 (preinstallation steps): Run the Integration Repository Creation Assistant on the Database step that was causing all of my problems. I figured out why I couldn't run irca.bat file.
    The problem was in java home that was in C:/Program Files/Java... Looks like java or oracle (I don't know which) still have problems with spaces in directories names. When I installed Java to C:/Java/..., I could run IRCA and after reinstallation of BPEL PM everything is working as it should.
    Maybe this will help someone else.
    Bye

  • Weblogic 12.1.2 configure or create new domain results in CN error

    I have downloaded weblogic server installation 'https://community.oracle.com/Zip distribution for Mac OSX, Windows and Linux' from  http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html
    A month back, I have successfully configured on WebLogic 12.1.2(java 1.7.0_45) and created a domain (eg: mydomain), deployed applications.
    But when I am try to create a new domain(eg: projdomain) I get the below exception:
    weblogic.management.ManagementException: Failure during domain creation
            at weblogic.management.internal.DomainGenerator.generateDefaultDomain(DomainGenerator.java:119)
            at weblogic.management.internal.DomainDirectoryService.start(DomainDirectoryService.java:82)
            at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:461)
            at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:166)
            at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:895)
            at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:572)
            at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:471)
            at weblogic.Server.main(Server.java:74)
    Caused by: java.lang.NoSuchFieldError: CN
            at com.oracle.cie.security.impl.BCSecurityHandlerImpl.generateSubjectPrincipal(BCSecurityHandlerImpl.java:214)
            at com.oracle.cie.security.impl.BCSecurityHandlerImpl.generateV3Certificate(BCSecurityHandlerImpl.java:79)
            at com.oracle.cie.security.impl.BCSecurityHandlerImpl.sign(BCSecurityHandlerImpl.java:60)
            at com.oracle.cie.security.impl.BaseSecurityHandler.initDefaultKeyStore(BaseSecurityHandler.java:94)
            at com.oracle.cie.domain.security.WLSSecurityHelper.createDefaultKeyStores(WLSSecurityHelper.java:66)
            at com.oracle.cie.domain.DomainGenerator.run(DomainGenerator.java:468)
            at java.lang.Thread.run(Thread.java:744)
    Also, now I am trying to setup WebLogic on a new PC and I am getting the same error when I try to configure WebLogic 12.1.2(java 1.7.0_51) on the first instance itself.
    Any thoughts or suggestions to resolve this issue will be highly appreciated.
    Thanks

    Hi,
    This error could be happening due to the presence of bouncy castle jar files (bcxxxx.jar) in the class path.
    Please check the classpath for such entries and remove it.
    See if it helps to create the domain successfully or not.
    Thanks,
    Sharmela

  • Cannot create new domain

    In the console, I'm trying to create a new domain to deploy our system in. Is anyone else seeing this one? See below for error. TIA.
    JohnH
    An unexpected error was encountered in processing your request.
    Exception
    weblogic.management.MBeanCreationException: - with nested exception:
    [javax.management.InstanceAlreadyExistsException: MyDomain:Type=Domain,Name=MyDomain]
         at weblogic.management.internal.Helper.createMBean(Helper.java:258)
         at weblogic.management.internal.Helper.createAdminMBean(Helper.java:169)
         at weblogic.management.internal.RemoteMBeanServerImpl.createAdminMBean(RemoteMBeanServerImpl.java:151)
         at weblogic.management.internal.MBeanHomeImpl.createAdminMBean(MBeanHomeImpl.java:480)
         at weblogic.management.internal.MBeanHomeImpl.createAdminMBean(MBeanHomeImpl.java:467)
         at weblogic.management.internal.AdminMBeanHomeImpl.createAdminMBean(AdminMBeanHomeImpl.java:257)
         at weblogic.management.internal.xml.XmlFileRepository.createDomain(XmlFileRepository.java:106)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:536)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:522)
         at java.lang.reflect.Method.invoke(Native Method)
         at javax.management.MBeanServer.invoke(MBeanServer.java:1543)
         at javax.management.MBeanServer.invoke(MBeanServer.java:1501)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:386)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:168)
         at $Proxy1.createDomain(Unknown Source)
         at weblogic.management.configuration.XmlFileRepositoryMBean_CachingStub.createDomain(XmlFileRepositoryMBean_CachingStub.java:430)
         at weblogic.management.console.pages._panels._mbean._domain._jspService(_domain.java:178)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:209)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1114)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1388)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:133)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:116)
    Current Date
    Thu Oct 19 11:47:38 EDT 2000
    Product Version
    WebLogic Build: 6.0.0b1 10/06/2000 22:34:17 #86762
    Request Info
    Protocol: HTTP/1.1
    ServerName: innobiz-1.meetu.com
    ServerPort: 80
    Secure: false
    ContextPath: /console
    ServletPath: /common/error.jsp
    QueryString: null
    PathInfo: null
    PathTranslated: null
    RequestURI: /console/common/error.jsp
    AuthType: Basic
    ContentType: application/x-www-form-urlencoded
    CharacterEncoding: Cp1252
    Locale: en_US
    Method: POST
    Session: weblogic.servlet.internal.session.MemorySession@3ffcc0
    RequestedSessionId: Oe8Ww78A13MWzgqPG2a6W6H5v3Zy7jmnLd5CkChQAFOW8FmLYgGD
    RequestedSessionIdFromCookie: true
    RequestedSessionIdFromURL: false
    UserPrincipal: system
    RemoteUser: system
    RemoteAddr: 192.168.0.25
    RemoteHost: innobiz-1.meetu.com
    Parameters
    CreateButton = Create
    control_Name = MyDomain
    dirty_LastModificationTime = true
    dirty_Name = true
    mbean = weblogic:Name=Default,Type=Repository
    Attributes
    console.original./console/common/error.jsp.ContextPath = /console
    console.original./console/common/error.jsp.Method = POST
    console.original./console/common/error.jsp.RemoteUser = system
    console.original./console/common/error.jsp.RequestURI = /console/common/error.jsp
    console.original./console/common/error.jsp.ServletPath = /common/error.jsp
    console.original./console/panels/mbean/Domain.jsp.ContextPath = /console
    console.original./console/panels/mbean/Domain.jsp.Method = POST
    console.original./console/panels/mbean/Domain.jsp.QueryString = mbean=weblogic%3AName%3DDefault%2CType%3DRepository
    console.original./console/panels/mbean/Domain.jsp.RemoteUser = system
    console.original./console/panels/mbean/Domain.jsp.RequestURI = /console/panels/mbean/Domain.jsp
    console.original./console/panels/mbean/Domain.jsp.ServletPath = /panels/mbean/Domain.jsp
    console.preferences.ContextKey = /panels/mbean/Domain.jsp
    javax.servlet.include.context_path = /console
    javax.servlet.include.request_uri = /console/common/requestinfo.jsp
    javax.servlet.include.servlet_path = /common/requestinfo.jsp
    javax.servlet.jsp.jspException = weblogic.management.MBeanCreationException: - with nested exception:
    [javax.management.InstanceAlreadyExistsException: MyDomain:Type=Domain,Name=MyDomain]
    weblogic.httpd.user = system
    weblogic.management.console.tags.HeaderTag = java.lang.Object@6adf2f
    Headers
    Accept = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */*
    Accept-Encoding = gzip, deflate
    Accept-Language = en-us
    Authorization = Basic c3lzdGVtOnNwaWtlMDAx
    Connection = Keep-Alive
    Content-Length = 95
    Content-Type = application/x-www-form-urlencoded
    Cookie = WebLogicSession=/console|Oe8Ww78A13MWzgqPG2a6W6H5v3Zy7jmnLd5CkChQAFOW8FmLYgGD
    Host = innobiz-1.meetu.com
    Referer = http://innobiz-1.meetu.com/console/panels/mbean/Domain.jsp?mbean=weblogic%3AName%3DDefault%2CType%3DRepository
    User-Agent = Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
    BrowserInfo
    User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
    IE: true
    Netscape: false
    Supported: true
    JavscriptHrefs: false
    TableCellClick: true
    DocumentReloadedOnResize: false
    DropdownStretchable: true
    CellSpacingBlank: false
    EmptyCellBlank: false
    ImgOnclickSupported: true
    TableBorderFancy: true
    PartialToWideTables: false
    Server System Properties
    awt.toolkit = sun.awt.windows.WToolkit
    file.encoding = Cp1252
    file.encoding.pkg = sun.io
    file.separator = \
    java.awt.fonts =
    java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
    java.awt.printerjob = sun.awt.windows.WPrinterJob
    java.class.path = .;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;d:\bea
    java.class.version = 47.0
    java.ext.dirs = d:\bea\weblogic600\jdk130\jre\lib\ext
    java.home = d:\bea\weblogic600\jdk130\jre
    java.io.tmpdir = C:\DOCUME~1\johnh\LOCALS~1\Temp\
    java.library.path = d:\bea\weblogic600\jdk130\bin;.;C:\WINNT\System32;C:\WINNT;.\bin;d:\bea\weblogic600\bin;d:\bea\weblogic600\jdk130\bin;d:\bea\weblogic600\bin;d:\bea\weblogic600\jdk130\bin;d:\bea\weblogic600\bin;d:\bea\weblogic600\jdk130\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;d:\MSSQL7\BINN;C:\Program Files\Symantec\pcAnywhere\;d:\JavaMessageQueue1.1\bin;d:\JavaMessageQueue1.1EA\bin;d:\jdk1.3\bin;d:\weblogic\bin
    java.naming.factory.initial = weblogic.jndi.WLInitialContextFactory
    java.naming.factory.url.pkgs = weblogic.jndi.factories
    java.protocol.handler.pkgs = weblogic.utils|weblogic.utils|weblogic.management|weblogic.net|weblogic.utils
    java.runtime.name = Java(TM) 2 Runtime Environment, Standard Edition
    java.runtime.version = 1.3.0-C
    java.security.policy = =d:\bea\weblogic600/lib/weblogic.policy
    java.specification.name = Java Platform API Specification
    java.specification.vendor = Sun Microsystems Inc.
    java.specification.version = 1.3
    java.vendor = Sun Microsystems Inc.
    java.vendor.url = http://java.sun.com/
    java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport.cgi
    java.version = 1.3.0
    java.vm.info = mixed mode
    java.vm.name = Java HotSpot(TM) Client VM
    java.vm.specification.name = Java Virtual Machine Specification
    java.vm.specification.vendor = Sun Microsystems Inc.
    java.vm.specification.version = 1.0
    java.vm.vendor = Sun Microsystems Inc.
    java.vm.version = 1.3.0-C
    javax.rmi.CORBA.PortableRemoteObjectClass = weblogic.iiop.PortableRemoteObjectDelegateImpl
    javax.rmi.CORBA.UtilClass = weblogic.iiop.UtilDelegateImpl
    javax.xml.parsers.DocumentBuilderFactory = weblogic.xml.jaxp.RegistryDocumentBuilderFactory
    javax.xml.parsers.SAXParserFactory = weblogic.xml.jaxp.RegistrySAXParserFactory
    line.separator =
    os.arch = x86
    os.name = Windows 2000
    os.version = 5.0
    path.separator = ;
    sun.boot.class.path = d:\bea\weblogic600\jdk130\jre\lib\rt.jar;d:\bea\weblogic600\jdk130\jre\lib\i18n.jar;d:\bea\weblogic600\jdk130\jre\lib\sunrsasign.jar;d:\bea\weblogic600\jdk130\jre\classes
    sun.boot.library.path = d:\bea\weblogic600\jdk130\jre\bin
    sun.cpu.endian = little
    sun.cpu.isalist = pentium i486 i386
    sun.io.unicode.encoding = UnicodeLittle
    user.dir = D:\bea\weblogic600
    user.home = C:\Documents and Settings\johnh
    user.language = en
    user.name = johnh
    user.region = US
    user.timezone = America/New_York
    weblogic.Domain = adminDomain
    weblogic.Name = myserver
    weblogic.security.jaas.Configuration = weblogic.security.internal.ServerConfig
    weblogic.security.jaas.Policy = ./lib/Server.policy

    Hi John,
    This is a known bug and will be addressed in the Beta refresh.
    Cheers,
    -- Benjamin Renaud
    BEA Systems
    WebLogic Management Lead
    "John Hogan" <[email protected]> wrote in message
    news:[email protected]...
    >
    Here's some additional data to the new domain creation problem. This isthe weblogic console output from the incident.
    >
    JohnH
    D:\bea\weblogic600>setPATH=.\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\W
    bem;d:\MSSQL7\BINN;C:\ProgramFiles\Symantec\pcAnywhere\;d:\JavaMessageQueue1.1\
    bin;d:\JavaMessageQueue1.1EA\bin
    D:\bea\weblogic600>setCLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;d:\b
    ea
    D:\bea\weblogic600>if "" NEQ "" setCLASSPATH=;.;.\lib\weblogic_sp.jar;.\lib\web
    logic.jar;d:\bea
    D:\bea\weblogic600>if "" NEQ "" setCLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\webl
    ogic.jar;d:\bea;
    D:\bea\weblogic600>d:\bea\weblogic600\jdk130\bin\java -ms64m -mx64m -classpa
    th .
    >
    ;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;d:\bea -Dweblogic.Domain=mydomain
    -Dwe
    >
    blogic.Name=myserver -Djava.security.policy==d:\bea\weblogic600/lib/weblogic
    .pol
    icy weblogic.Server
    Starting WebLogic Server ....
    <Thu Oct 19 14:30:43 EDT 2000> <Info> <Management> <Loading configurationfile .
    \config\mydomain\config.xml...>
    <Thu Oct 19 14:30:46 EDT 2000> <Warning> <Security> <Principalpool_creator does
    not exist thus cannot be added to ACLweblogic.jdbc.connectionPoolcreate.>
    <Thu Oct 19 14:30:48 EDT 2000> <Critical> <WebLogicServer> <Running lowstrength
    (exportable) WebLogic Server build and full strength (domestic) SSLlicense.
    Only low strength (exportable) SSL connections will be accepted.>
    <Thu Oct 19 14:30:52 EDT 2000> <Notice> <WebLogicServer> <WebLogic Serverstarte
    d>
    <Thu Oct 19 14:30:52 EDT 2000> <Notice> <WebLogicServer> <Listening onport 80>
    >
    <Thu Oct 19 14:30:52 EDT 2000> <Notice> <WebLogicServer> <Listening onport 7002
    >>
    >
    <NT Performance Pack> NATIVE: created IoCompletionPort successfully.IoPort=0x00
    000478
    <Thu Oct 19 14:30:53 EDT 2000> <Error> <HTTP> <[WebAppServletContextpublic_html
    _DefaultWebServer] Cannot find resource: "console" in document root:"D:\bea\web
    logic600\config\mydomain\applications\public_html_DefaultWebServer">
    <Thu Oct 19 14:31:14 EDT 2000> <Error> <HTTP> <[WebAppServletContextconsole] ex
    ception raised on '/console/panels/mbean/Domain.jsp'
    weblogic.management.configuration.ConfigurationException: error saving outMyDom
    ain-1 - with nested exception:
    [weblogic.management.configuration.ConfigurationException: MyDomain-1 not
    found
    atweblogic.management.internal.xml.XmlFileRepository.saveDomain(XmlFile
    Repository.java:141)
    atweblogic.management.internal.xml.XmlFileRepository.createDomain(XmlFi
    leRepository.java:114)
    at java.lang.reflect.Method.invoke(Native Method)
    atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:536)
    atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    java:522)
    at java.lang.reflect.Method.invoke(Native Method)
    at javax.management.MBeanServer.invoke(MBeanServer.java:1543)
    at javax.management.MBeanServer.invoke(MBeanServer.java:1501)
    atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:386)
    atweblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:168)
    at $Proxy1.createDomain(Unknown Source)
    atweblogic.management.configuration.XmlFileRepositoryMBean_CachingStub.
    createDomain(XmlFileRepositoryMBean_CachingStub.java:430)
    atweblogic.management.console.pages._panels._mbean._domain._jspService(
    _domain.java:178) [no source]
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:209)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:1114)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:1388)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:133)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:116)
    >
    //////////////////////////////// reply message ends here
    "John Hogan" <[email protected]> wrote:
    In the console, I'm trying to create a new domain to deploy our system
    in. Is anyone else seeing this one? See below for error. TIA.
    >>
    JohnH
    An unexpected error was encountered in processing your request.
    Exception
    weblogic.management.MBeanCreationException: - with nested exception:
    [javax.management.InstanceAlreadyExistsException:MyDomain:Type=Domain,Name=MyDomain]
    at weblogic.management.internal.Helper.createMBean(Helper.java:258)
    at weblogic.management.internal.Helper.createAdminMBean(Helper.java:169)
    atweblogic.management.internal.RemoteMBeanServerImpl.createAdminMBean(RemoteMB
    eanServerImpl.java:151)
    atweblogic.management.internal.MBeanHomeImpl.createAdminMBean(MBeanHomeImpl.ja
    va:480)
    atweblogic.management.internal.MBeanHomeImpl.createAdminMBean(MBeanHomeImpl.ja
    va:467)
    atweblogic.management.internal.AdminMBeanHomeImpl.createAdminMBean(AdminMBeanH
    omeImpl.java:257)
    atweblogic.management.internal.xml.XmlFileRepository.createDomain(XmlFileRepos
    itory.java:106)
    at java.lang.reflect.Method.invoke(Native Method)
    atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
    .java:536)
    atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:5
    22)
    at java.lang.reflect.Method.invoke(Native Method)
    at javax.management.MBeanServer.invoke(MBeanServer.java:1543)
    at javax.management.MBeanServer.invoke(MBeanServer.java:1501)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:386)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:168)
    at $Proxy1.createDomain(Unknown Source)
    atweblogic.management.configuration.XmlFileRepositoryMBean_CachingStub.createD
    omain(XmlFileRepositoryMBean_CachingStub.java:430)
    atweblogic.management.console.pages._panels._mbean._domain._jspService(_domain
    .java:178)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :209)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:1114)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :1388)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:133)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:116)
    Current Date
    Thu Oct 19 11:47:38 EDT 2000
    Product Version
    WebLogic Build: 6.0.0b1 10/06/2000 22:34:17 #86762
    Request Info
    Protocol: HTTP/1.1
    ServerName: innobiz-1.meetu.com
    ServerPort: 80
    Secure: false
    ContextPath: /console
    ServletPath: /common/error.jsp
    QueryString: null
    PathInfo: null
    PathTranslated: null
    RequestURI: /console/common/error.jsp
    AuthType: Basic
    ContentType: application/x-www-form-urlencoded
    CharacterEncoding: Cp1252
    Locale: en_US
    Method: POST
    Session:weblogic.servlet.internal.session.MemorySession@3ffcc0
    RequestedSessionId:Oe8Ww78A13MWzgqPG2a6W6H5v3Zy7jmnLd5CkChQAFOW8FmLYgGD
    RequestedSessionIdFromCookie: true
    RequestedSessionIdFromURL: false
    UserPrincipal: system
    RemoteUser: system
    RemoteAddr: 192.168.0.25
    RemoteHost: innobiz-1.meetu.com
    Parameters
    CreateButton = Create
    control_Name = MyDomain
    dirty_LastModificationTime = true
    dirty_Name = true
    mbean = weblogic:Name=Default,Type=Repository
    Attributes
    console.original./console/common/error.jsp.ContextPath = /console
    console.original./console/common/error.jsp.Method = POST
    console.original./console/common/error.jsp.RemoteUser = system
    console.original./console/common/error.jsp.RequestURI =/console/common/error.jsp
    console.original./console/common/error.jsp.ServletPath =/common/error.jsp
    console.original./console/panels/mbean/Domain.jsp.ContextPath = /console
    console.original./console/panels/mbean/Domain.jsp.Method = POST
    console.original./console/panels/mbean/Domain.jsp.QueryString =mbean=weblogic%3AName%3DDefault%2CType%3DRepository
    console.original./console/panels/mbean/Domain.jsp.RemoteUser = system
    console.original./console/panels/mbean/Domain.jsp.RequestURI =/console/panels/mbean/Domain.jsp
    console.original./console/panels/mbean/Domain.jsp.ServletPath =/panels/mbean/Domain.jsp
    console.preferences.ContextKey =/panels/mbean/Domain.jsp
    javax.servlet.include.context_path = /console
    javax.servlet.include.request_uri =/console/common/requestinfo.jsp
    javax.servlet.include.servlet_path =/common/requestinfo.jsp
    javax.servlet.jsp.jspException =weblogic.management.MBeanCreationException: - with nested exception:
    [javax.management.InstanceAlreadyExistsException:MyDomain:Type=Domain,Name=MyDomain]
    weblogic.httpd.user = system
    weblogic.management.console.tags.HeaderTag =java.lang.Object@6adf2f
    >>
    Headers
    Accept = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword,
    Accept-Encoding = gzip, deflate
    Accept-Language = en-us
    Authorization = Basic c3lzdGVtOnNwaWtlMDAx
    Connection = Keep-Alive
    Content-Length = 95
    Content-Type = application/x-www-form-urlencoded
    Cookie =WebLogicSession=/console|Oe8Ww78A13MWzgqPG2a6W6H5v3Zy7jmnLd5CkChQAFOW8FmLYgG
    D
    Host = innobiz-1.meetu.com
    Referer =http://innobiz-1.meetu.com/console/panels/mbean/Domain.jsp?mbean=weblogic%3A
    Name%3DDefault%2CType%3DRepository
    User-Agent = Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
    BrowserInfo
    User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT5.0)
    IE: true
    Netscape: false
    Supported: true
    JavscriptHrefs: false
    TableCellClick: true
    DocumentReloadedOnResize: false
    DropdownStretchable: true
    CellSpacingBlank: false
    EmptyCellBlank: false
    ImgOnclickSupported: true
    TableBorderFancy: true
    PartialToWideTables: false
    Server System Properties
    awt.toolkit = sun.awt.windows.WToolkit
    file.encoding = Cp1252
    file.encoding.pkg = sun.io
    file.separator = \
    java.awt.fonts =
    java.awt.graphicsenv =sun.awt.Win32GraphicsEnvironment
    java.awt.printerjob = sun.awt.windows.WPrinterJob
    java.class.path =.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;d:\bea
    java.class.version = 47.0
    java.ext.dirs =d:\bea\weblogic600\jdk130\jre\lib\ext
    java.home = d:\bea\weblogic600\jdk130\jre
    java.io.tmpdir =C:\DOCUME~1\johnh\LOCALS~1\Temp\
    java.library.path =d:\bea\weblogic600\jdk130\bin;.;C:\WINNT\System32;C:\WINNT;.\bin;d:\bea\webl
    ogic600\bin;d:\bea\weblogic600\jdk130\bin;d:\bea\weblogic600\bin;d:\bea\webl
    ogic600\jdk130\bin;d:\bea\weblogic600\bin;d:\bea\weblogic600\jdk130\bin;C:\W
    INNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;d:\MSSQL7\BINN;C:\Program
    Files\Symantec\pcAnywhere\;d:\JavaMessageQueue1.1\bin;d:\JavaMessageQueue1.1
    EA\bin;d:\jdk1.3\bin;d:\weblogic\bin
    java.naming.factory.initial =weblogic.jndi.WLInitialContextFactory
    java.naming.factory.url.pkgs = weblogic.jndi.factories
    java.protocol.handler.pkgs =weblogic.utils|weblogic.utils|weblogic.management|weblogic.net|weblogic.util
    s
    java.runtime.name = Java(TM) 2 RuntimeEnvironment, Standard Edition
    java.runtime.version = 1.3.0-C
    java.security.policy ==d:\bea\weblogic600/lib/weblogic.policy
    java.specification.name = Java Platform APISpecification
    java.specification.vendor = Sun Microsystems Inc.
    java.specification.version = 1.3
    java.vendor = Sun Microsystems Inc.
    java.vendor.url = http://java.sun.com/
    java.vendor.url.bug =http://java.sun.com/cgi-bin/bugreport.cgi
    java.version = 1.3.0
    java.vm.info = mixed mode
    java.vm.name = Java HotSpot(TM) Client VM
    java.vm.specification.name = Java Virtual MachineSpecification
    java.vm.specification.vendor = Sun Microsystems Inc.
    java.vm.specification.version = 1.0
    java.vm.vendor = Sun Microsystems Inc.
    java.vm.version = 1.3.0-C
    javax.rmi.CORBA.PortableRemoteObjectClass =weblogic.iiop.PortableRemoteObjectDelegateImpl
    javax.rmi.CORBA.UtilClass =weblogic.iiop.UtilDelegateImpl
    javax.xml.parsers.DocumentBuilderFactory =weblogic.xml.jaxp.RegistryDocumentBuilderFactory
    javax.xml.parsers.SAXParserFactory =weblogic.xml.jaxp.RegistrySAXParserFactory
    line.separator =
    os.arch = x86
    os.name = Windows 2000
    os.version = 5.0
    path.separator = ;
    sun.boot.class.path =d:\bea\weblogic600\jdk130\jre\lib\rt.jar;d:\bea\weblogic600\jdk130\jre\lib\i
    18n.jar;d:\bea\weblogic600\jdk130\jre\lib\sunrsasign.jar;d:\bea\weblogic600\
    jdk130\jre\classes
    sun.boot.library.path =d:\bea\weblogic600\jdk130\jre\bin
    sun.cpu.endian = little
    sun.cpu.isalist = pentium i486 i386
    sun.io.unicode.encoding = UnicodeLittle
    user.dir = D:\bea\weblogic600
    user.home = C:\Documents andSettings\johnh
    user.language = en
    user.name = johnh
    user.region = US
    user.timezone = America/New_York
    weblogic.Domain = adminDomain
    weblogic.Name = myserver
    weblogic.security.jaas.Configuration =weblogic.security.internal.ServerConfig
    weblogic.security.jaas.Policy = ./lib/Server.policy

  • Creating new domain using weblogic app server V 7.0

    Hi,
    I've installed Weblogic Server V7 (beta) and facing a problem. Here is it:
    What I want to do
    =================
    I want to create a new domain parallel to mydomain in weblogic application server
    V 7.0 beta.
    What are the steps taken
    ========================
    (1) Started "myserver". (2)Opened browser and go to localhost:7001/console. (3)
    logged in into the server using default username and password "installadministrator".
    (4) Right click on mydomain in the left pane and click on "Create or edit other
    domains". (5) entered new domain name and new console contex path, accept other
    default values. (6) Apply it.
    Problem
    =======
    (1) The new domain is not being shown in the left pane. (2) If I restart myserver,
    it is not started and giving error :
    <Mar 21, 2002 5:35:12 PM IST> <Emergency> <WebLogicServer> <000349> <Not all the
    ListenPort(s) started properly.>
    <Mar 21, 2002 5:35:12 PM IST> <Emergency> <WebLogicServer> <000342> <Unable to
    initialize the server: Fatal initialization exception>
    The WebLogic Server did not start up properly. Reason: Fatal initialization exception
    (3) No directory structure is being created parallel to myserver, and moreover
    it is rewriting bea\user_domains\mydomain\config.xml file.
    Please help.
    Thanks and regards,
    Sarmila

    Hi,
    I've installed Weblogic Server V7 (beta) and facing a problem. Here is it:
    What I want to do
    =================
    I want to create a new domain parallel to mydomain in weblogic application server
    V 7.0 beta.
    What are the steps taken
    ========================
    (1) Started "myserver". (2)Opened browser and go to localhost:7001/console. (3)
    logged in into the server using default username and password "installadministrator".
    (4) Right click on mydomain in the left pane and click on "Create or edit other
    domains". (5) entered new domain name and new console contex path, accept other
    default values. (6) Apply it.
    Problem
    =======
    (1) The new domain is not being shown in the left pane. (2) If I restart myserver,
    it is not started and giving error :
    <Mar 21, 2002 5:35:12 PM IST> <Emergency> <WebLogicServer> <000349> <Not all the
    ListenPort(s) started properly.>
    <Mar 21, 2002 5:35:12 PM IST> <Emergency> <WebLogicServer> <000342> <Unable to
    initialize the server: Fatal initialization exception>
    The WebLogic Server did not start up properly. Reason: Fatal initialization exception
    (3) No directory structure is being created parallel to myserver, and moreover
    it is rewriting bea\user_domains\mydomain\config.xml file.
    Please help.
    Thanks and regards,
    Sarmila

  • How do i create new domain folders?

    hello,
    as I have gleened form other post,using a different domain folder will allow you to create separate websites,
    but how do I create these domain folders and how do I get iweb to switch between them,
    any help much appreciated
    cheers
    martin

    Quit iWeb. Move Domain out of its standard location at ~/Library/Application Support/iWeb. Rename it in such a way that you remember which site it refers to (DomainSiteName1, or whatever). Launch iWeb. You can now begin from scratch, work on your second site, publish it and so on. iWeb will create a new version of Domain which contains information relevant to your new site.
    When you want to return to your original site, quit iWeb, drag the new Domain out of ~/Library/Application Support/iWeb, rename it DomainSiteName2 or whatever, move DomainSiteName1 back, edit the name back to Domain, launch IWeb, and you're back working on your original site.
    You can do this as many times as you like, creating a unique copy of the Domain package for each of your sites. Just remember to change the name back to Domain when you move a copy back in to ~/Library/Application Support/iWeb and rename it each time in its new location so you know which site it relates to.

  • Creating new Domain by Copying the existing domain

    Hi,
    Is there any way to create a new domain by copying the already existing domain directory and pasting it to another directory in same machine or different machine.
    Can anyone suggest me the configuration file that needs to be updated for new domain name.
    Thanks
    Harish
    Edited by: user10833531 on Dec 2, 2009 7:52 AM

    When you mention "Before posting on forum I have tried this option. I tried again but no luck." do you mean you tried pack/unpack or template approach and this did not work. Or did you just copied domain folder and renamed and start the new domain and you got errors. Copying domain may not work 100% (not in the long run). But pack/unpack or template approach should work pretty much without any errors.
    As mentioned, I would recommend template approach or pack/unpack. You can provide the internal details and risk factors involved with hard disk copy of domain folder and renaming approach to the client. If domain copy approach works, then bea/oracle would not have come up with approaches like pack/unpack or template approach at all in the very first place. Copying domain folder and renaming may still work, unless you do all regression testing that includes cluster scenario also and all usecases.
    I would still recommend for pack/unpack or template approach to copy any existing domains.
    Just incase if your domain is like Portal Domain and if you deploy portal applications on this domain, then copying domain will just not work. Every domain is very tightly coupled with ldap files and db tables for any Security Visitor Entitlements and Delegated Admin roles. If its pure weblogic server application, these things will not come into picture. But for Portal, we do have something called Propagation Tool to migrate portal app from one domain to other domain. But still the domain cannot be copied and renamed.
    HTH
    Ravi Jegga

  • Error creating new domain

    When I try to create a new domain with this command:
    ./commadmin domain create -X posta.softfobia.it -p 88 -D admin -w xxxxx -d testaccio.it
    it fails:
    FAIL
    Unable to create service config for service : iPlanetAMAuthService
    what does it mean?
    thank you

    I can't see errors on Directory Server's access logs,
    i found only rows like:
    [30/Mar/2006:20:45:28 +0200] conn=128 op=2039 msgId=2622 - RESULT err=0 tag=101 nentries=1 etime=0
    [30/Mar/2006:20:45:28 +0200] conn=128 op=2040 msgId=2623 - MOD dn="o=merdamerda.it,dc=softfobia,dc=it" authzid="dn:uid=admin,ou=People,o=softfobia.it,dc=softfobia,dc=it"
    [30/Mar/2006:20:45:28 +0200] conn=128 op=2040 msgId=2623 - RESULT err=0 tag=103 nentries=0 etime=0
    [30/Mar/2006:20:45:28 +0200] conn=128 op=2041 msgId=2624 - SRCH base="ou=1.0,ou=iplanetamauthservice,ou=services,dc=softfobia,dc=it" scope=0 filter="(|(objectClass=*)(objectClass=ldapsubentry))" attrs="ou sunserviceschema sunpluginschema sunkeyvalue sunxmlkeyvalue objectClass sunsmspriority sunserviceid labeledUri modifyTimestamp" authzid="dn:uid=admin,ou=People,o=softfobia.it,dc=softfobia,dc=it"
    [30/Mar/2006:20:45:28 +0200] conn=128 op=2041 msgId=2624 - RESULT err=0 tag=101 nentries=1 etime=0

  • Create new domain but cannot login

    I'm using Directory Server 5.2, Messaging Server 5.2, IDA 45
    I installed Messaging Server and I'm using domain itc.my, then I created several accounts under the new domain and it worked fine..I can login, sent and receive emails..then I decided to create a new domain, stud.itc.my using the command imadmin domain create...
    imadmin domain create -D serviceadmin -d stud.itc.my -H mailhost.itc.my -n itc.my -w xxxx
    I managed to create the domain....then I add several new user accounts under the new domain using the IDA...when I try to login Messaging Server using the new accounts, it's give error message
    Invalid username or password
    What steps did I miss to create a new domain?

    for any domains other than the "default domain", your login must include the domain:
    userid@domain
    instead of
    userid

  • Create new domain file

    How do I create a new, second, domain file in iWeb?
    Is there a way to do it without duplicating an existing domain file?

    Quit iWeb and drag your domain file(s) into the trash.
    Relaunch iWeb and it will be forced to create a new blank domain file.
    Create new folders - one for each file, drag your old one out of the trash into one of them.
    Open any site by double clicking the appropriate domain file.
    Duplicate your blank and put it in another folder so that, in future, you have a "clean" domain file to duplicate and start new sites.
    This is the only sensible way to start new sites as the "accepted" method of duplicating an existing one and deleting the pages is probably going to cause you problems with domain file corruption somewhere down the line.
    For more on this see...
    http://discussions.apple.com/thread.jspa?threadID=1365344&tstart=0

  • OS X Server Web Server Problem Creating New Domain

    I am running Mac OS X Server version 3.0.2 and added a new domain (website), like www.example.com, but my own.
    Everything seems to work fine.
    But when accessing the website it says the following:
    "Forbidden. You don't have permission to access / on this server."
    Who Can Access: Anyone
    What shall I do to change this?
    Sincerely,
    Andreas

    Thank you again!
    What puzzles me, is that we launching Terminal.app and stepping to the folder "/Library/Server/Web/Sites/Data/mydomain.com" and do a ls -al, it looks like this:
    drwxrwxr-x  18 root          admin    612 15 Jan 12:24 Default
    That is the Default site which I could access via internet when I enabled it at first.
    The same is set for mydomain.com that I created as a new web site (domain) in the Web Server, and the information is identical with the Default one, with one exception, the permissions. The permissions for mydomain.com is as follows:
    drwxr-xr-x  13 root          admin    442 15 Jan 15:44
    Why would not the New web site work when it is the same user and group that has access, with the only exception of a w less on mydomain.com?
    I thought I would see _www or www above, but not at all. Isn't that strange?
    Sincerely,
    Andreas

  • Error create new domain

    When I try to create a new domain with this command:
    ./commadmin domain create -X posta.softfobia.it -p 88 -D admin -w xxxxx -d testaccio.it
    it fails:
    FAIL
    Unable to create service config for service : iPlanetAMAuthService
    what does it mean?
    thank you

    answered in your earlier thread

  • How do i create a new domain?

    Is there an easy way to create new domains for WL Server 6.0? There
    doesn't seem to be any tool that allows me to do this. Does that mean
    my only option is to copy files from another domain?
    Thanks for any help,
    Randy Strobel
    Systems Analyst
    Synergy, Inc.
    [email protected]

    Here are a couple of points to pay attention to in addition to the doc
    pointed by Kumar:
    1. you MUST copy fileRealm.properties initially when you create a new domain
    in the domain subdirectory under config in bea.home.
    2. Initial password for the starting servers ( admin or managed) will be
    same as default system password ( system password for the domain from where
    the SerializedSystemIni.dat and fileRealm.propeerties were copied. You can
    start the new domain's admin server and change the syetm password. Next time
    you will start admin server or managed server in new domain, you will be
    using the new password.
    3. If you change the system password through console, and you were using
    password.ini, you must change the password in password.ini file also. If you
    specified the password in startup script, you must manually change it to new
    password. If you were not specifying the password in password.ini or in the
    startup script as -D property, then as always, you will be prompted for
    password, and you can specify the new password.
    Viresh Garg
    Principal Developer Relations Engineer
    BEA Systems
    Kumar Allamraju wrote:
    http://e-docs.bea.com/wls/docs60/adminguide/config.html#1025484
    Randy Strobel wrote:
    Is there an easy way to create new domains for WL Server 6.0? There
    doesn't seem to be any tool that allows me to do this. Does that mean
    my only option is to copy files from another domain?
    Thanks for any help,
    Randy Strobel
    Systems Analyst
    Synergy, Inc.
    [email protected]

  • Create New Bpel Domain

    Hi All-
    How to create a new BPEL domain, I have tried in 10.1.3.3 and 10.1.3.4 also in BPEL console but didn't found anything for creating new domain.
    Please help.
    Regards,
    Sreejit

    Hi Sreejit,
    Please note that you will have to give BPELConsole to log into your console, to initiate, view, manage the processes, see the sudit flow,...
    You have to loginto BPELAdmin(type in URL), to log into the admin page where you have server confi parameters, domain level loggers, manage domains,...
    Cheers
    A

Maybe you are looking for