Can't Start a Local Weblogic server.

I have been trying for over a week now to figure this out. I have found no information on this issue and I don't know enough about WebLogic to find out what is going on.
I have a local weblogic 10.3.5 server on my work laptop that I need to use to be able to debug in eclipse. The problem is when I try to start the server I get these odd errors, pasted below. I have no idea what the server is attempting to do when it gets this error. How I've gotten along so far, is I found a way to get around this, but only from the command line, which won't work in eclipse. If I open up oracle quickstart, create a new domain, have quickstart start the admin server on the new domain, the server starts up, then I kill the server in the same command prompt, and go to the first domain and start it, it starts. But if I just go straight to the main domain and try to start it I get the below errors. Does anyone know, or could point me in the right direction, on what could be causing this or what I need to do to fix it? Thanks.
<Aug 7, 2013 6:54:20 AM EDT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Aug 7, 2013 6:54:20 AM EDT> <Error> <JNDI> <BEA-050003> <Cannot create Initial Context. Reason: javax.naming.ServiceUnavailableException [Root exception is java.net.UnknownHostException: Unknown protocol: 'TCP']
  at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:34)
  at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:788)
  at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:366)
  at weblogic.jndi.Environment.getContext(Environment.java:315)
  at weblogic.jndi.Environment.getContext(Environment.java:285)
  at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
  at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
  at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
  at javax.naming.InitialContext.init(InitialContext.java:223)
  at javax.naming.InitialContext.<init>(InitialContext.java:197)
  at weblogic.jndi.internal.ForeignJNDIManager.<init>(ForeignJNDIManager.java:45)
  at weblogic.jndi.internal.ForeignJNDIManager.initialize(ForeignJNDIManager.java:53)
  at weblogic.jndi.internal.ForeignJNDIManagerService.start(ForeignJNDIManagerService.java:36)
  at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
  at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: java.net.UnknownHostException: Unknown protocol: 'TCP'
  at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:216)
  at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197)
  at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238)
  at weblogic.rjvm.RJVMFinder.findOrCreateRemoteCluster(RJVMFinder.java:316)
  at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:205)
  at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
  at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
  at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:345)
  at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
  at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
  at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:340)
  ... 13 more
>
<Aug 7, 2013 6:54:22 AM EDT> <Error> <HTTP> <BEA-101066> <[HttpServer (defaultWebserver) name: AdminServer] Cannot initialize http URL resources. Could not get JNDI context: javax.naming.ServiceUnavailableException [Root exception is java.net.UnknownHostException: Unknown protocol: 'TCP'].>
<Aug 7, 2013 6:54:22 AM EDT> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
There are 1 nested errors:
java.io.IOException: Cannot bind to URL [weblogic.management.mbeanservers.runtime]: javax.naming.ServiceUnavailableException [Root exception is java.net.UnknownHostException: Unknown protocol: 'TCP']
  at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:804)
  at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:417)
  at weblogic.management.mbeanservers.internal.MBeanServerServiceBase.start(MBeanServerServiceBase.java:208)
  at weblogic.management.mbeanservers.runtime.internal.RuntimeServerService.start(RuntimeServerService.java:172)
  at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
  at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: javax.naming.ServiceUnavailableException [Root exception is java.net.UnknownHostException: Unknown protocol: 'TCP']
  at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:34)
  at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:788)
  at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:366)
  at weblogic.jndi.Environment.getContext(Environment.java:315)
  at weblogic.jndi.Environment.getContext(Environment.java:285)
  at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
  at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
  at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
  at javax.naming.InitialContext.init(InitialContext.java:223)
  at javax.naming.InitialContext.<init>(InitialContext.java:197)
  at javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:619)
  at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:412)
  ... 5 more
Caused by: java.net.UnknownHostException: Unknown protocol: 'TCP'
  at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:216)
  at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197)
  at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238)
  at weblogic.rjvm.RJVMFinder.findOrCreateRemoteCluster(RJVMFinder.java:316)
  at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:205)
  at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
  at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
  at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:345)
  at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
  at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
  at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:340)
  ... 14 more
>
<Aug 7, 2013 6:54:22 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<Aug 7, 2013 6:54:22 AM EDT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<Aug 7, 2013 6:54:22 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>

Problem solved.
          All WL servers involved in a cluster must have different names, even if they are in different domains.
          regards,
          przemek
          

Similar Messages

  • Can't connect to local MySQL server through socket '/var/mysql/mysql.sock'

    I'm using the pre-installed versions of php and mysql under Mac OS X Server 10.4.4 running on a G4 and am unable to get anything involving mysql to work.
    I ssh to the server and enter various commands in Terminal:
    on typing "mysql" I get
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2)
    and on typing "mysqladmin version" I get
    mysqladmin: connect to server at 'localhost' failed
    error: 'Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2)'
    Check that mysqld is running and that the socket: '/var/mysql/mysql.sock' exists!
    On typing "sudo mysqld_safe" I get
    Starting mysqld daemon with databases from /var/mysql
    STOPPING server from pid file /var/mysql/MyServer.local.pid
    070722 16:06:05 mysqld ended
    /var/mysql/MyServer.local.err contains
    070722 16:06:04 mysqld started
    070722 16:06:04 [Warning] Setting lowercase_tablenames=2 because file system for /var/mysql/ is case insensitive
    070722 16:06:04 InnoDB: Database was not shut down normally!
    InnoDB: Starting crash recovery.
    InnoDB: Reading tablespace information from the .ibd files...
    InnoDB: Restoring possible half-written data pages from the doublewrite
    InnoDB: buffer...
    070722 16:06:05 InnoDB: Starting log scan based on checkpoint at
    InnoDB: log sequence number 0 43634.
    /var/mysql has permissions 775.
    The line
    mysql.default_socket = /var/mysql/mysql.sock
    is in /etc/php.ini
    whereis mysqladmin ->
    /usr/bin/mysqladmin
    whereis mysql ->
    /usr/bin/mysql
    ls /var/mysql ->
    MyServer.local.err
    ib_logfile1
    mysql
    ib_logfile0
    ibdata1
    test
    Can't find my.cnf or my.ini anywhere
    Can't find mysql.sock anywhere
    I'm trying to get a bug database running (mantis) under Mac OS X Server 10.4.4 that I can access from local clients.
    I'm trying to follow directions at http://www.mantisbugtracker.com/manual/manual.installation.php
    without knowing anything about mysql or php and I'm stuck on step 3:
    "Next we will create the necessary database tables and a basic configuration
    file."
    I get a message saying
    "Does administrative user have access to the database? ( Lost connection to MySQL server during query )"
    I don't even know if following the mantis directions has resulted in the creation of a database or not. Where would it be?
    Thanks for any help.
    Intel iMac   Mac OS X (10.4.10)  

    I've just done a clean install of OSX Server and added the latest MYSQL packaged installer. Afterwards I found the lock file in /private/tmp/mysql.lock
    The easiest way to solve this problem is to create a symbolic link so that the lock file appears to be in right place.
    e.g.
    cd /var
    sudo mkdir mysql <== this assumes the directory is missing
    cd mysql
    sudo ln -s /private/tmp/mysql.sock mysql.sock
    After this msql commands should work fine, and you've not fiddled with the security settings on users/groups.
    HTH
    Christian

  • "Can't connect to local MySQL server through socket '/tmp/mysql.sock'"

    Data Services=3.1
    Repository=12.2.2.0000
    Red Hat Enterprise 5
    Designer,Job Server,Job Engine=12.2.2.3
    After an unscheduled server reboot with DS up and running when trying to start a job in either Data Services Management Console or DS Designer getting the following:
    "Can't connect to local MySQL server through socket '/tmp/mysql.sock'"
    The mysql.sock have never been in /tmp and on the production server it does not exist there and the production server is up and running correctly. If a link is created to mysql.sock(/home/user/boedge31/bobje/mysql) the job will start but return this message: 
    "Cannot retrieve <Version> from the repository. Additional database information: <SQL submitted to ODBC data source <localrepo> resulted in error <MySQL ODBC 3.51 Driver mysqld-5.0.46-enterprise No database selected>. The SQL submitted is <select VERSION, SECURITYKEY, GUID from AL_VERSION where NAME = 'Repository Version'"
    I checked and AL_VERSION and the Version field exist. 
    Before the shut down DS was working correctly and had no issues.  My best guess is a part of the repository was corrupted during the unscheduled shut down.  It seems like DS has "forgotten" some of the settings.  
    Any suggestions on a possible solution?

    The issue has been solved. 
    There was a bad path in $LD_LIBRARY_PATH.
    Removed the path and DS started working again.

  • MySQL problem -- ERROR 2002 Can't connect to local MySQL server

    Not Sure if this would be a right forum for my problem...
    I'm installing mySQL on my iBook, and thought that I have configured it. But then, after followring some instuctions from Adobe and Marc Liyanage sites, I have a problem to connect. This is what I've done in "TERMINAL"
    ~username$> cd /usr/local/mysql
    mysql ~username$> sudo chown -R mysql data/
    (asking for admin password)
    mysql ~username$> sudo echo
    mysql ~username$> sudo ./bin/mysqld_safe &
    username-ibook-g4:/usr/local/mysql username$ Starting mysqld daemon with databases from /usr/local/mysql/data
    STOPPING server from pid file /usr/local/mysql/data/roshaili-osmans-ibook-g4.local.pid
    060611 16:31:30 mysqld ended
    mysql ~username> /usr/local/mysql/bin/mysql test
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
    [1]+ Done sudo ./bin/mysqld_safe
    mysql ~username>
    When I typed ::
    /usr/local/mysql/bin/mysqladmin -u root
    (see that there's no password)
    Then it displays:
    /usr/local/mysql/bin/mysqladmin Ver 8.41 Distrib 5.0.22, for apple-darwin8.6.0 on powerpc
    Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
    This software comes with ABSOLUTELY NO WARRANTY. This is free software,
    and you are welcome to modify and redistribute it under the GPL license
    Administration program for the mysqld daemon.
    Usage: /usr/local/mysql/bin/mysqladmin [OPTIONS] command command....
    -c, --count=# Number of iterations to make. This works with -i
    (--sleep) only.
    ...... bla bla bla.....
    Variables (--variable-name=value)
    and boolean options {FALSE|TRUE} Value (after reading options)
    count 0
    force FALSE
    compress FALSE
    character-sets-dir (No default value)
    default-character-set (No default value)
    host (No default value)
    port 0
    .........bla bla....
    ping Check if mysqld is alive
    processlist Show list of active threads in server
    reload Reload grant tables
    refresh Flush all tables and close and open logfiles
    shutdown Take server down
    status Gives a short status message from the server
    start-slave Start slave
    stop-slave Stop slave
    variables Prints variables available
    version Get version info from server
    roshaili-osmans-ibook-g4:~ roshailiosman$ >
    -----------------finish-----------------
    Does that mean that I'm connected to mySQL?
    Does anybody how to connect to MYSQL from the terminal? Thanks.
    iMac Mac OS X (10.4.6)
    iMac   Mac OS X (10.4.6)  

    Your biggest 'issue' right now is that your mysqld process is stopping on you -- making a connection impossible.
    Why it's bombing might be in a log .. try in mysql/data/usr.local.err .. and fix why itsbombing.
    To connect to it it'll be : mysql -u root -ppassword -D database

  • Multicast Exception when starting a managed weblogic server.

    I receive a Multicast Exception when i try to start a managed weblogic server from the same machine on which my admin server is running.
              when i try to start a managed server from another machine then it does not allow me to do so.
              please help,
              Manish.
              

    see Sanjeev Chopra's response on 10/25/00 , subject named "
    weblogic.admin.host -- missing
    property"...
    Kumar
    John Kelvie wrote:
    I am having the same problem...any suggestions?
    "Srividhya" <[email protected]> wrote in message
    news:3a107849$[email protected]..
    Hi All,
    While starting the weblogic managed server, i get the following error:
    Starting WebLogic Server ....
    <Mon Nov 13 17:50:12 EST 2000> <Warning> <Management> <Unrecognizedproperty: ad
    min.host>
    <Mon Nov 13 17:50:15 EST 2000> <Error> <Configuration Management> <Errorconnect
    ing to admin server and initializing admin home: admin URL:t3://kerala:7001
    javax.naming.ServiceUnavailableException. Root exception isjava.rmi.NoSuchObje
    ctException: The object identified by [3] could not because found. Eitherit was
    has not been exported or it has been collected by the distributed garbagecolle
    ctor.
    atweblogic.rmi.internal.OIDManager.getServerReference(OIDManager.java:3
    78)
    atweblogic.jndi.WLInitialContextFactoryDelegate.newLocalContext(WLIniti
    alContextFactoryDelegate.java:306)
    atweblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialCon
    textFactoryDelegate.java:261)
    atweblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
    tialContextFactoryDelegate.java:230)
    at weblogic.jndi.Environment.getContext(Environment.java:129)
    atweblogic.jndi.Environment.getInitialContext(Environment.java:112)
    atweblogic.management.Admin.initializeRemoteAdminHome(Admin.java:712)
    at weblogic.management.Admin.start(Admin.java:295)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:357)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:160)
    at weblogic.Server.main(Server.java:32)
    On the admin server, it does not give any error.
    What could be the reason?
    Regards,
    Srividhya

  • How can I configuration MBean in weblogic server  using the console ?

    How can I configuration MBean in weblogic server using the console ?
    I hear people talking about mbeans in weblogic server I have look in the console I can not find where , or how to do it.
    can some body explain that or a link that explain it, how to do it on the console ?

    Hi,
    Registering Custom MBeans from Admin Console is not yet possible. But yes there are ways to Configure and Utilize Custom MBeans ...
    http://weblogic-wonders.com/weblogic/2010/02/16/registering-and-invoking-custommbeans/
    Thanks
    Jay SenSharma

  • ./mysqlshow: Can't connect to local MySQL server through socket '/tmp/mysql

    hi all ,I install mysql on Solaris 10 at first it work fine , but after I restart my PC and go back again I got error on
    ./mysqlshow: Can't connect to local MySQL server through socket '/tmp/mysql
    I google , but still not sure how to deal with it
    Thank you

    I've just done a clean install of OSX Server and added the latest MYSQL packaged installer. Afterwards I found the lock file in /private/tmp/mysql.lock
    The easiest way to solve this problem is to create a symbolic link so that the lock file appears to be in right place.
    e.g.
    cd /var
    sudo mkdir mysql <== this assumes the directory is missing
    cd mysql
    sudo ln -s /private/tmp/mysql.sock mysql.sock
    After this msql commands should work fine, and you've not fiddled with the security settings on users/groups.
    HTH
    Christian

  • Unable to deploy web app on local weblogic server

    I'm using 11g JDeveloper 11.1.1.1.0 and I got the below errors when I tried to deploy a web app to the default weblogic server. Do you have any idea?
    [03:19:04 PM] ---- Deployment started. ----
    [03:19:04 PM] Target platform is (Weblogic 10.3).
    [03:19:05 PM] Retrieving existing application information
    [03:19:05 PM] Running dependency analysis...
    [03:19:05 PM] Building...
    [03:19:05 PM] Deploying profile...
    [03:19:09 PM] Wrote Web Application Module to C:\11gJDev_Workspace\Scheduler\BPELScheduler\deploy\webapp.war
    [03:19:10 PM] Deploying Application...
    [03:19:33 PM] [Deployer:149193]Operation 'deploy' on application 'webapp' has failed on 'DefaultServer'
    [03:19:33 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application webapp on DefaultServer.: .
    [03:19:33 PM] Weblogic Server Exception: weblogic.application.ModuleException:
    [03:19:33 PM] Caused by: weblogic.wsee.ws.WsException: When processing WebService module 'webapp.war'. Can't find wsdl /wsdls/wsat.wsdl
    [03:19:33 PM] See server logs or server console for more details.
    [03:19:33 PM] weblogic.application.ModuleException:
    [03:19:33 PM] #### Deployment incomplete. ####
    [03:19:33 PM] Deployment Failed

    Thanks. I find the issue. Should only deploy ViewController project to war and don't deploy Model project at all. Let Application level deployment take care of it.
    Beside, I have a question, I currently deploy inside JDeveloper. In my standalone WLS, I deploy some of my shared library. Is there any way to specify the shared library name (goes into weblogic-application.xml) when I deploying inside JDeveloper? Or I have to deploy to ear file first, unzip, update weblogic-applciation.xml and zip up the ear file and deploy the ear file to standalone WLS by hand?

  • Can  not connect datasource in weblogic server

    I have written a test class. I create datasource in weblogic server 11g(datasource name =fdbusionline jndi name = 'jdbc/fdbusionline' ) and start weblogic server. but always report the following error:
    javax.naming.NameNotFoundException: Unable to resolve 'fdbusionline'. Resolved '' [Root exception is javax.naming.NameNotFoundException: Unable to resolve 'fdbusionline'. Resolved '']; remaining name 'fdbusionline'
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
    at weblogic.jndi.internal.ServerNamingNode_1035_WLStub.lookup(Unknown Source)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:423)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:411)
    at com.fd.busionline.test.appinterface.impl.DataSourceTest.testConnectDataSource(DataSourceTest.java:54)
    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)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
    at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
    at oracle.jdevimpl.junit.runner.junit4.JUnit4Testable.run(JUnit4Testable.java:24)
    at oracle.jdevimpl.junit.runner.TestExecution.run(TestExecution.java:27)
    at oracle.jdevimpl.junit.runner.JUnitTestRunner.main(JUnitTestRunner.java:88)
    Caused by: javax.naming.NameNotFoundException: Unable to resolve 'fdbusionline'. Resolved ''
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
    at weblogic.jndi.internal.RootNamingNode_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    @test
    public void testConnectDataSource(){
    Connection conn = null;
    Context ctx = null;
    try{
    // Hashtable env = new Hashtable();
    // env.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    // env.put(Context.PROVIDER_URL, "t3://localhost:7001");
    // env.put(InitialContext.SECURITY_PRINCIPAL, "weblogic");
    // env.put(InitialContext.SECURITY_CREDENTIALS, "!QAZ2wsx");
    Environment env=new Environment();
    env.setProviderUrl("t3://localhost:7001");
    env.setSecurityPrincipal("weblogic");
    env.setSecurityCredentials("!QAZ2wsx");
    ctx = new InitialContext();
    ctx=env.getInitialContext();
    Object obj = ctx.lookup("fdbusionline");// can not work
    Object obj = ctx.lookup("jdbc/fdbusionline"); // can not work
    DataSource ds = (DataSource) PortableRemoteObject.narrow(obj, DataSource.class);
    conn = ds.getConnection();
    Statement stmt = conn.createStatement();
    String sql = "select sysdate from dual";
    ResultSet rs = stmt.executeQuery(sql);
    while (rs.next()) {
    System.out.println(rs.getDate(1));
    } catch (Exception e) {
    e.printStackTrace();
    }finally{
    System.out.println("Test Datasource Connection");
    who can help me? Any help will be appreciated greatly

    Okay, but are you sure that the datasource is actually deployed? Does the server log or the management interface of weblogic actually report that the datasource was deployed succesfully under the name you specify? And did you double check if you don't have any name mismatches (such as a typo or an upper/lowercase mismatch)?
    I ask because the connection to the server appears to be working, but the lookup of the name gives no results - the only thing I can think of is that the resource really is not deployed even if you believe it is.
    A few observations:
    - you may want to put your JNDI credentials in a jndi.properties file in the root of the classpath in stead of hardcoding them (but you may hardcode for now as a quick test of course)
    - the correct lookup should be to "jdbc/fdbusionline", in other words you use the jndi-name.
    ctx = new InitialContext();
    ctx=env.getInitialContext();the env.getInitialContext() really is not necessary, I would remove it.

  • How many application we can deploy to the integerated weblogic server

    Hi ,
    How many applications we can deploy to the weblogic server a very small applications containing 5-6 jspx page

    827028 wrote:
    What is the difference between integerated weblogic and stand alone WebLogic Server?
    I think both of them are same?
    In short:
    No,a stand alone server runs a it's own process and can be started as a service running in the background.
    The integrated server needs jdev and is optimized for debugging.
    Timo

  • Starting the managed weblogic server

    Hi All,
    While starting the weblogic managed server, i get the following error:
    Starting WebLogic Server ....
    <Mon Nov 13 17:50:12 EST 2000> <Warning> <Management> <Unrecognized property: ad
    min.host>
    <Mon Nov 13 17:50:15 EST 2000> <Error> <Configuration Management> <Error connect
    ing to admin server and initializing admin home: admin URL: t3://kerala:7001
    javax.naming.ServiceUnavailableException. Root exception is java.rmi.NoSuchObje
    ctException: The object identified by [3] could not because found. Either it was
    has not been exported or it has been collected by the distributed garbage colle
    ctor.
    at weblogic.rmi.internal.OIDManager.getServerReference(OIDManager.java:3
    78)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newLocalContext(WLIniti
    alContextFactoryDelegate.java:306)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialCon
    textFactoryDelegate.java:261)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
    tialContextFactoryDelegate.java:230)
    at weblogic.jndi.Environment.getContext(Environment.java:129)
    at weblogic.jndi.Environment.getInitialContext(Environment.java:112)
    at weblogic.management.Admin.initializeRemoteAdminHome(Admin.java:712)
    at weblogic.management.Admin.start(Admin.java:295)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:357)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:160)
    at weblogic.Server.main(Server.java:32)
    >
    On the admin server, it does not give any error.
    What could be the reason?
    Regards,
    Srividhya

    see Sanjeev Chopra's response on 10/25/00 , subject named "
    weblogic.admin.host -- missing
    property"...
    Kumar
    John Kelvie wrote:
    I am having the same problem...any suggestions?
    "Srividhya" <[email protected]> wrote in message
    news:3a107849$[email protected]..
    Hi All,
    While starting the weblogic managed server, i get the following error:
    Starting WebLogic Server ....
    <Mon Nov 13 17:50:12 EST 2000> <Warning> <Management> <Unrecognizedproperty: ad
    min.host>
    <Mon Nov 13 17:50:15 EST 2000> <Error> <Configuration Management> <Errorconnect
    ing to admin server and initializing admin home: admin URL:t3://kerala:7001
    javax.naming.ServiceUnavailableException. Root exception isjava.rmi.NoSuchObje
    ctException: The object identified by [3] could not because found. Eitherit was
    has not been exported or it has been collected by the distributed garbagecolle
    ctor.
    atweblogic.rmi.internal.OIDManager.getServerReference(OIDManager.java:3
    78)
    atweblogic.jndi.WLInitialContextFactoryDelegate.newLocalContext(WLIniti
    alContextFactoryDelegate.java:306)
    atweblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialCon
    textFactoryDelegate.java:261)
    atweblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
    tialContextFactoryDelegate.java:230)
    at weblogic.jndi.Environment.getContext(Environment.java:129)
    atweblogic.jndi.Environment.getInitialContext(Environment.java:112)
    atweblogic.management.Admin.initializeRemoteAdminHome(Admin.java:712)
    at weblogic.management.Admin.start(Admin.java:295)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:357)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:160)
    at weblogic.Server.main(Server.java:32)
    On the admin server, it does not give any error.
    What could be the reason?
    Regards,
    Srividhya

  • Problem in starting Application with Weblogic Server

    Hi friends,
    I am using weblogic server 4.5.1.7. After I logged in my program, I
    got an error message as follows. I checked my classpath, I did have
    "RemoteClientImp_Stub.class" in my server side jar file. I appreciate
    your help:
    Could not authenticate: java.rmi.MarshalException: Weblogic
    RemoteException(weblogic.rmi.MarshalException) remapped
    from:weblogic.rmi.MarshalException: error marshalling arguments
    - with nested exception:
    [weblogic.rmi.MarshalException: error marshalling arguments
    - with nested exception:
    [weblogic.rmi.StubNotFoundException: Failed to find a stub for [class
    com.qwest.app.alcatraz.ejb.sessionbean.registration.remote.RemoteClientImpl]
    implements at least one interface [interface
    com.qwest.app.alcatraz.ejb.sessionbean.registration.remote.RemoteClient]
    which extends Remote.]]; nested exception is:
    weblogic.rmi.MarshalException: error marshalling arguments
    - with nested exception:
    [weblogic.rmi.MarshalException: error marshalling arguments
    - with nested exception:
    [weblogic.rmi.StubNotFoundException: Failed to find a stub for [class
    com.qwest.app.alcatraz.ejb.sessionbean.registration.remote.RemoteClientImpl]
    implements at least one interface [interface
    com.qwest.app.alcatraz.ejb.sessionbean.registration.remote.RemoteClient]
    which extends Remote.]]

    This is a thread of control that has seen a lot of use, so without more information I don't think there's anything we can do from this end... what was the classpath? Was the exception thrown on the server or the client?
    Also, is there a connection with iiop here? Should you post to the misc or ejb lists instead?
    "S. Hu" wrote:
    Hi friends,
    I am using weblogic server 4.5.1.7. After I logged in my program, I
    got an error message as follows. I checked my classpath, I did have
    "RemoteClientImp_Stub.class" in my server side jar file. I appreciate
    your help:
    Could not authenticate: java.rmi.MarshalException: Weblogic
    RemoteException(weblogic.rmi.MarshalException) remapped
    from:weblogic.rmi.MarshalException: error marshalling arguments
    - with nested exception:
    [weblogic.rmi.MarshalException: error marshalling arguments
    - with nested exception:
    [weblogic.rmi.StubNotFoundException: Failed to find a stub for [class
    com.qwest.app.alcatraz.ejb.sessionbean.registration.remote.RemoteClientImpl]
    implements at least one interface [interface
    com.qwest.app.alcatraz.ejb.sessionbean.registration.remote.RemoteClient]
    which extends Remote.]]; nested exception is:
    weblogic.rmi.MarshalException: error marshalling arguments
    - with nested exception:
    [weblogic.rmi.MarshalException: error marshalling arguments
    - with nested exception:
    [weblogic.rmi.StubNotFoundException: Failed to find a stub for [class
    com.qwest.app.alcatraz.ejb.sessionbean.registration.remote.RemoteClientImpl]
    implements at least one interface [interface
    com.qwest.app.alcatraz.ejb.sessionbean.registration.remote.RemoteClient]
    which extends Remote.]]

  • How can I tell my current Weblogic server version and Service pack

    Hello,
    I was wondering how can I tell what my current
    weblogic server version is and what service pack
    it is at.
    Thanks.

    use 'java weblogic.version'
    ensure weblogic.jar is in the classpath

  • Can't start WebLogic6.0 sp1 server on win2000

    I'm getting this error when I try to start the weblogic 6.0 sp1
    server on win2000, please help
    C:\bea\wlserver6.0sp1>"C:\bea\jdk130\bin\java" -hotspot -ms64m
    -mx64m -classpath .;.\lib\weblogic_sp.jar;.\lib\weblogic.
    jar -Dweblogic.Domain=weblogic -Dweblogic.Name=floorpie "-Dbea.home=C:\bea"
    "-Djava.security.policy==C:\bea\wlserver6.0s
    p1/lib/weblogic.policy" -Dweblogic.management.password= weblogic.Server
    <Mar 22, 2001 9:45:36 AM MST> <Info> <Security> <Getting boot password
    from user.>
    Enter password to boot WebLogic server:weblogic
    Starting WebLogic Server ....
    <Mar 22, 2001 9:45:56 AM MST> <Notice> <Management> <Loading configuration
    file .\config\weblogic\config.xml ...>
    The WebLogic Server did not start up properly.
    Exception raised: weblogic.management.configuration.ConfigurationException:
    Error creating mbean, type: Domain, parent:
    null, objectName: null while parsing XML config file - with nested
    exception:
    [weblogic.management.MBeanCreationException:  - with nested exception:
    [javax.management.InstanceAlreadyExistsException: weblogic:Type=Domain,Name=weblogic]]
    javax.management.InstanceAlreadyExistsException: weblogic:Type=Domain,Name=weblogic
    at com.sun.management.jmx.RepositorySupport.addMBean(RepositorySupport.java:134)
    at com.sun.management.jmx.MBeanServerImpl.internal_addObject(MBeanServerImpl.java:2352)
    at com.sun.management.jmx.MBeanServerImpl.registerMBean(MBeanServerImpl.java:874)
    at weblogic.management.internal.RemoteMBeanServerImpl.registerMBean(RemoteMBeanServerImpl.java:112)
    at weblogic.management.internal.Helper.createMBean(Helper.java:321)
    at weblogic.management.internal.Helper.createAdminMBean(Helper.java:236)
    at weblogic.management.internal.RemoteMBeanServerImpl.createAdminMBean(RemoteMBeanServerImpl.java:176)
    at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.createAdminMBean(ConfigurationParse
    r.java:236)
    at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.startElement(ConfigurationParser.ja
    va:176)
    at weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1335)
    at weblogic.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:823)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1852)
    at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1000)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
    at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
    at weblogic.management.internal.xml.ConfigurationParser.parse(ConfigurationParser.java:103)
    at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:222)
    at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:186)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
    at $Proxy1.loadDomain(Unknown Source)
    at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:183)
    at weblogic.management.AdminServer.configure(AdminServer.java:168)
    at weblogic.management.Admin.initialize(Admin.java:207)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:317)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
    at weblogic.Server.main(Server.java:35)
    --------------- nested within: ------------------
    weblogic.management.MBeanCreationException: - with nested exception:
    [javax.management.InstanceAlreadyExistsException: weblogic:Type=Domain,Name=weblogic]
    at weblogic.management.internal.Helper.createMBean(Helper.java:328)
    at weblogic.management.internal.Helper.createAdminMBean(Helper.java:236)
    at weblogic.management.internal.RemoteMBeanServerImpl.createAdminMBean(RemoteMBeanServerImpl.java:176)
    at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.createAdminMBean(ConfigurationParse
    r.java:236)
    at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.startElement(ConfigurationParser.ja
    va:176)
    at weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1335)
    at weblogic.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:823)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1852)
    at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1000)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
    at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
    at weblogic.management.internal.xml.ConfigurationParser.parse(ConfigurationParser.java:103)
    at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:222)
    at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:186)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
    at $Proxy1.loadDomain(Unknown Source)
    at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:183)
    at weblogic.management.AdminServer.configure(AdminServer.java:168)
    at weblogic.management.Admin.initialize(Admin.java:207)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:317)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
    at weblogic.Server.main(Server.java:35)
    --------------- nested within: ------------------
    weblogic.management.configuration.ConfigurationException: Error
    creating mbean, type: Domain, parent: null, objectName:
    null while parsing XML config file - with nested exception:
    [weblogic.management.MBeanCreationException:  - with nested exception:
    [javax.management.InstanceAlreadyExistsException: weblogic:Type=Domain,Name=weblogic]]
    at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.createAdminMBean(ConfigurationParse
    r.java:265)
    at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.startElement(ConfigurationParser.ja
    va:176)
    at weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1335)
    at weblogic.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:823)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1852)
    at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1000)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
    at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
    at weblogic.management.internal.xml.ConfigurationParser.parse(ConfigurationParser.java:103)
    at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:222)
    at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:186)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
    at $Proxy1.loadDomain(Unknown Source)
    at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:183)
    at weblogic.management.AdminServer.configure(AdminServer.java:168)
    at weblogic.management.Admin.initialize(Admin.java:207)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:317)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
    at weblogic.Server.main(Server.java:35)
    Reason: Fatal initialization exception
    C:\bea\wlserver6.0sp1>goto finish
    C:\bea\wlserver6.0sp1>cd config\weblogic
    C:\bea\wlserver6.0sp1\config\weblogic>ENDLOCAL
    C:\bea\wlserver6.0sp1\config\weblogic>

    post your config.xml here
    joey eccleston wrote:
    I'm getting this error when I try to start the weblogic 6.0 sp1
    server on win2000, please help
    C:\bea\wlserver6.0sp1>"C:\bea\jdk130\bin\java" -hotspot -ms64m
    -mx64m -classpath .;.\lib\weblogic_sp.jar;.\lib\weblogic.
    jar -Dweblogic.Domain=weblogic -Dweblogic.Name=floorpie "-Dbea.home=C:\bea"
    "-Djava.security.policy==C:\bea\wlserver6.0s
    p1/lib/weblogic.policy" -Dweblogic.management.password= weblogic.Server
    <Mar 22, 2001 9:45:36 AM MST> <Info> <Security> <Getting boot password
    from user.>
    Enter password to boot WebLogic server:weblogic
    Starting WebLogic Server ....
    <Mar 22, 2001 9:45:56 AM MST> <Notice> <Management> <Loading configuration
    file .\config\weblogic\config.xml ...>
    The WebLogic Server did not start up properly.
    Exception raised: weblogic.management.configuration.ConfigurationException:
    Error creating mbean, type: Domain, parent:
    null, objectName: null while parsing XML config file - with nested
    exception:
    [weblogic.management.MBeanCreationException:  - with nested exception:
    [javax.management.InstanceAlreadyExistsException: weblogic:Type=Domain,Name=weblogic]]
    javax.management.InstanceAlreadyExistsException: weblogic:Type=Domain,Name=weblogic
    at com.sun.management.jmx.RepositorySupport.addMBean(RepositorySupport.java:134)
    at com.sun.management.jmx.MBeanServerImpl.internal_addObject(MBeanServerImpl.java:2352)
    at com.sun.management.jmx.MBeanServerImpl.registerMBean(MBeanServerImpl.java:874)
    at weblogic.management.internal.RemoteMBeanServerImpl.registerMBean(RemoteMBeanServerImpl.java:112)
    at weblogic.management.internal.Helper.createMBean(Helper.java:321)
    at weblogic.management.internal.Helper.createAdminMBean(Helper.java:236)
    at weblogic.management.internal.RemoteMBeanServerImpl.createAdminMBean(RemoteMBeanServerImpl.java:176)
    at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.createAdminMBean(ConfigurationParse
    r.java:236)
    at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.startElement(ConfigurationParser.ja
    va:176)
    at weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1335)
    at weblogic.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:823)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1852)
    at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1000)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
    at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
    at weblogic.management.internal.xml.ConfigurationParser.parse(ConfigurationParser.java:103)
    at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:222)
    at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:186)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
    at $Proxy1.loadDomain(Unknown Source)
    at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:183)
    at weblogic.management.AdminServer.configure(AdminServer.java:168)
    at weblogic.management.Admin.initialize(Admin.java:207)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:317)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
    at weblogic.Server.main(Server.java:35)
    --------------- nested within: ------------------
    weblogic.management.MBeanCreationException: - with nested exception:
    [javax.management.InstanceAlreadyExistsException: weblogic:Type=Domain,Name=weblogic]
    at weblogic.management.internal.Helper.createMBean(Helper.java:328)
    at weblogic.management.internal.Helper.createAdminMBean(Helper.java:236)
    at weblogic.management.internal.RemoteMBeanServerImpl.createAdminMBean(RemoteMBeanServerImpl.java:176)
    at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.createAdminMBean(ConfigurationParse
    r.java:236)
    at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.startElement(ConfigurationParser.ja
    va:176)
    at weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1335)
    at weblogic.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:823)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1852)
    at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1000)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
    at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
    at weblogic.management.internal.xml.ConfigurationParser.parse(ConfigurationParser.java:103)
    at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:222)
    at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:186)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
    at $Proxy1.loadDomain(Unknown Source)
    at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:183)
    at weblogic.management.AdminServer.configure(AdminServer.java:168)
    at weblogic.management.Admin.initialize(Admin.java:207)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:317)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
    at weblogic.Server.main(Server.java:35)
    --------------- nested within: ------------------
    weblogic.management.configuration.ConfigurationException: Error
    creating mbean, type: Domain, parent: null, objectName:
    null while parsing XML config file - with nested exception:
    [weblogic.management.MBeanCreationException:  - with nested exception:
    [javax.management.InstanceAlreadyExistsException: weblogic:Type=Domain,Name=weblogic]]
    at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.createAdminMBean(ConfigurationParse
    r.java:265)
    at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.startElement(ConfigurationParser.ja
    va:176)
    at weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1335)
    at weblogic.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:823)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1852)
    at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1000)
    at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
    at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
    at weblogic.management.internal.xml.ConfigurationParser.parse(ConfigurationParser.java:103)
    at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:222)
    at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:186)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
    at $Proxy1.loadDomain(Unknown Source)
    at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:183)
    at weblogic.management.AdminServer.configure(AdminServer.java:168)
    at weblogic.management.Admin.initialize(Admin.java:207)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:317)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
    at weblogic.Server.main(Server.java:35)
    Reason: Fatal initialization exception
    C:\bea\wlserver6.0sp1>goto finish
    C:\bea\wlserver6.0sp1>cd config\weblogic
    C:\bea\wlserver6.0sp1\config\weblogic>ENDLOCAL
    C:\bea\wlserver6.0sp1\config\weblogic>

  • Start and stop Weblogic Server 5.1 on unix system

    Hello,
    How do I stop Weblogic Server 5.1 after I run startWebLogic.sh without
    Weblogic Console? What's the best way to start weblogic Server in unix?
    Create a user "weblogic" and start manually everytime I reboot the system or
    build a script?
    Thanks,
    Hiu Sing

    Hiu Sing Ngai wrote:
    Hello,
    How do I stop Weblogic Server 5.1 after I run startWebLogic.sh without
    Weblogic Console?java weblogic.Admin <url> SHUTDOWN system password <seconds> <lockMessage>
    What's the best way to start weblogic Server in unix?I would suggest you start the WLS from command line using our
    build script or your own customized scripts.
    --Kumar
    >
    Create a user "weblogic" and start manually everytime I reboot the system or
    build a script?
    Thanks,
    Hiu Sing

Maybe you are looking for