Issue in starting the server

Hi All,
I wanted to enable Global trust or Cross domain trust between the two domain. To achieve this I executed the following steps:
1. In the left pane, click the name of the domain.
2. Select Security > General. Scroll down and click Advanced.
3. Enter a password for the domain in the Credential text field. Choose the password carefully. Oracle Systems recommends using a combination of upper and lower case letters and numbers.
4. Click Save.
5. To activate these changes, in the Change Center of the Administration Console, click Activate Changes.
After executing this step in two of my domains when I restarted the managed servers in the domain. Its not getting stated. They went to shutdown state. Can anyone tell me what can be the issue??
Thanks in Advance!!
Find below the details of the log generated.
<Nov 9, 2012 7:18:48 AM GMT> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
<Nov 9, 2012 7:18:48 AM GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<Nov 9, 2012 7:18:48 AM GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<Nov 9, 2012 7:18:49 AM GMT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 172.18.41.47:9001 for protocols iiop, t3, ldap, snmp, http.>
<Nov 9, 2012 7:18:49 AM GMT> <Notice> <WebLogicServer> <BEA-000358> <Started WebLogic Independent Managed Server "bam_server1" for domain "base_domain" running in Production Mode>
<Nov 9, 2012 7:18:49 AM GMT> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: java.lang.SecurityException: Anonymous attempt to get to a JNDI resource
java.lang.SecurityException: Anonymous attempt to get to a JNDI resource
     at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:194)
     at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:84)
     at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:338)
     at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:247)
     at weblogic.management.mbeanservers.runtime.internal.RegisterWithDomainRuntimeService.getDomainMBeanServerConnection(RegisterWithDomainRuntimeService.java:222)
     Truncated. see log file for complete stacktrace
>
<Nov 9, 2012 7:18:49 AM GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<Nov 9, 2012 7:18:49 AM GMT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<Nov 9, 2012 7:18:49 AM GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
<Nov 9, 2012 7:18:49 AM GMT> <Notice> <Server> <BEA-002607> <Channel "Default" listening on 172.18.41.47:9001 was shutdown.>
<Nov 9, 2012 7:18:50 AM GMT> <Warning> <Common> <BEA-000632> <Resource Pool "BAMDataSource" shutting down, ignoring 1 resources still in use by applications..>
<Nov 9, 2012 12:48:51 PM> <FINEST> <NodeManager> <Waiting for the process to die: 10640>
<Nov 9, 2012 12:48:51 PM> <INFO> <NodeManager> <Server failed during startup so will not be restarted>
<Nov 9, 2012 12:48:51 PM> <FINEST> <NodeManager> <runMonitor returned, setting finished=true and notifying waiters>

Hi Roshni,
1. What is the version of WebLogic?
If it is 10.3.5, it is a bug (Credential value disappear when starting Admin Server) and there is no patch for it. The WebLogic Server must be upgraded to 10.3.6.
There is a patch (Patch 8633831) available if the version is between 10.0 and 10.3.2
Do you see the credential value encrypted and available under Domain->Security?
2. If someone deleted the administration server and try to recreate when Managed Server running, it happens. Did anyone at your team deleted the Administration Server and recreated recently?
I would suggest to remove the credential values, remove the /cache, /tmp under servers folder and try starting. If the issue still exists, upgrad to V 10.3.6 and also contact Oracle Support.
Thanks
Lawrence Manickam
http://toyork.blogspot.ca

Similar Messages

  • Error while starting the server

    When i am trying to start the server............i am getting the following error
    please tell what is the issue
    Could not start the instance: domain1:admin-server
    server failed to start: abnormal subprocess termination
    Could not start the instance: domain1:SD
    You dont have permission to access C:\Sun\AppServer7\domains\doma
    Could not start the instance: domain1:server1
    server failed to start: abnormal subprocess termination
    Could not start one or more instances in the domain : domain1
    Could not start one or more domains
    Press any key to continue . . .

    It looks like permission problems. Did you got any errors during the installation of the server? Are you installing appserver as user with administrative priveleges?

  • Issues with starting weblogic server for my domain

    This is part of the adminserver log file:
    ####<Apr 29, 2009 3:47:18 PM EDT> <Critical> <WebLogicServer> <mycomputername> <AdminServer> <main> <<WLS Kernel>> <> <> <1241034438142> <BEA-000386> <Server subsystem failed. Reason: java.lang.AssertionError: java.lang.reflect.InvocationTargetException
    java.lang.AssertionError: java.lang.reflect.InvocationTargetException
         at weblogic.descriptor.internal.AbstractDescriptorBean$SecurityService._invokeServiceMethod(AbstractDescriptorBean.java:1011)
         at weblogic.descriptor.internal.AbstractDescriptorBean$SecurityService.decrypt(AbstractDescriptorBean.java:1039)
         at weblogic.descriptor.internal.AbstractDescriptorBean$SecurityService.access$200(AbstractDescriptorBean.java:963)
         at weblogic.descriptor.internal.AbstractDescriptorBean._decrypt(AbstractDescriptorBean.java:960)
    What could the issue be?

    I finally got so frustrated that I uninstall and reinstalled it. I did not import any projects at this time, but created a simple, out-of-the-box domain. Then tried to start the server under that domain, and now I get:
    Invalid table name "USERS" specified at position
    Please find part of log output below (I don't see a place in this forum to attach a file). I've copied the portions out of the log that reference exceptions. I appreciate the help!
    ava.sql.SQLException: Invalid table name "USERS" specified at position 23.
         at com.pointbase.net.netJDBCPrimitives.handleResponse(DashoA13*..:335)
         at com.pointbase.net.netJDBCPrimitives.handleJDBCObjectResponse(DashoA13*..:383)
         at com.pointbase.net.netJDBCConnection.prepareStatement(DashoA13*..:545)
         at weblogic.security.providers.authentication.DBMSSQLReadOnlyDatabaseConnectionImpl.getPreparedStatement(DBMSSQLReadOnlyDatabaseConnectionImpl.java:37)
         at weblogic.security.providers.authentication.shared.DBMSSQLRuntimeQueryImpl.passwordStringQuery(DBMSSQLRuntimeQueryImpl.java:78)
         at weblogic.security.providers.authentication.shared.DBMSSQLRuntimeQueryImpl.executeUserPassword(DBMSSQLRuntimeQueryImpl.java:71)
         at weblogic.security.providers.authentication.shared.DBMSAtnLoginModuleImpl.authenticateDBMS(DBMSAtnLoginModuleImpl.java:666)
         at weblogic.security.providers.authentication.shared.DBMSAtnLoginModuleImpl.login(DBMSAtnLoginModuleImpl.java:270)
         at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106)
         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:585)
         at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
         at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
         at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
         at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
         at com.bea.common.security.internal.service.JAASLoginServiceImpl.login(JAASLoginServiceImpl.java:91)
         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:585)
         at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHandler.invoke(Delegator.java:61)
         at $Proxy17.login(Unknown Source)
         at weblogic.security.service.internal.WLSJAASLoginServiceImpl$ServiceImpl.login(WLSJAASLoginServiceImpl.java:89)
         at com.bea.common.security.internal.service.JAASAuthenticationServiceImpl.authenticate(JAASAuthenticationServiceImpl.java:80)
         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:585)
         at com.bea.common.security.internal.utils.Delegator$ProxyInvocationHandler.invoke(Delegator.java:61)
         at $Proxy19.authenticate(Unknown Source)
         at weblogic.security.service.PrincipalAuthenticator.authenticate(PrincipalAuthenticator.java:366)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:911)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1029)
         at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:854)
         at weblogic.security.SecurityService.start(SecurityService.java:141)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    >
    ####<May 1, 2009 7:50:55 AM EDT> <Critical> <Security> <lmv25-ite89695> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1241178655172> <BEA-090403> <Authentication for user weblogic denied>
    ####<May 1, 2009 7:50:55 AM EDT> <Critical> <WebLogicServer> <mycomputername> <AdminServer> <main> <<WLS Kernel>> <> <> <1241178655172> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication for user weblogic denied
    weblogic.security.SecurityInitializationException: Authentication for user weblogic denied
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:947)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1029)
         at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:854)
         at weblogic.security.SecurityService.start(SecurityService.java:141)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

  • About load.mlet... Pb with starting the server.. help plz

    Hi all...
    I have a shell that start a server for my job. When i start my server with shell
    command, i have some errors in the log and my server don't start.
    This is very important cause it's for my job.
    <Critical> <WebLogicServer> <000364> <Server failed during initialization. Exception:weblogic.management.configuration.Configur
    ationException: - with nested exception:
    [java.io.FileNotFoundException: ./WLSMRMCLAVT1/load.mlet (No such file or directory)]
    I just want to know why i have this. The file can't be found but what's the problem.
    Path config ?
    I have search but i'm not very good in weblogic config and debugging.
    Thx for ur help... Any infos are welcome...
    Florian

    Do you have write permissions on your file system? I mean, wls writes
    out this file while booting the server, I am afriad the user starting
    the server dont have proper file permissions.
    Try starting the server with
    -Dweblogic.Debug=weblogic.initCommo, this will spew some debug output
    that might help resolve the issue.
    thanks,
    -satya
    Florian Proch wrote:
    Hi all...
    I have a shell that start a server for my job. When i start my server with shell
    command, i have some errors in the log and my server don't start.
    This is very important cause it's for my job.
    <Critical> <WebLogicServer> <000364> <Server failed during initialization. Exception:weblogic.management.configuration.Configur
    ationException: - with nested exception:
    [java.io.FileNotFoundException: ./WLSMRMCLAVT1/load.mlet (No such file or directory)]
    I just want to know why i have this. The file can't be found but what's the problem.
    Path config ?
    I have search but i'm not very good in weblogic config and debugging.
    Thx for ur help... Any infos are welcome...
    Florian

  • Getting error while starting the server.

    I am getting the following error while starting the server. Please help
    trc file: "C:\SAP\JP1\JC00\work\dev_jstart", trc level: 1, release: "710"
    sysno      00
    sid        JP1
    systemid   560 (PC with Windows NT)
    relno      7100
    patchlevel 0
    patchno    0
    intno      20063500
    make       multithreaded, Unicode, optimized
    profile    C:\SAP\JP1\SYS\profile\JP1_JC00_EmpMXMobile
    pid        2240
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, JM
    arguments :
      arg[ 0] : C:\SAP\JP1\SYS\exe\run\jstart.exe
      arg[ 1] : pf=C:\SAP\JP1\SYS\profile\JP1_JC00_EmpMXMobile

    F [Thr 3540] Tue Sep 04 20:55:33 2007
    F  [Thr 3540] SfCJdkConfig::get: JDK home directory is set by profile
    F  [Thr 3540]      Java home: C:\SAP\JP1\SYS\exe\run\sapjvm_5
    F  [Thr 3540] SfCJdkConfig::get: Java VM type is set by profile
    F  [Thr 3540]      Java VM type: server
    F  ********************************************************************************
    F  Java SDK properties (C:\SAP\JP1\JC00\work\jstart.jdk)
    F    root directory    : C:\SAP\JP1\SYS\exe\run\sapjvm_5
    F    vendor            : SAP AG
    F    version           : 1.5.0_07-b00
    F    cpu               : x86
    F    java vm type      : server
    F    jvm library name  : jvm.dll
    F    library path      : C:\SAP\JP1\SYS\exe\run\sapjvm_5\jre\bin\server;C:\SAP\JP1\SYS\exe\run\sapjvm_5\jre\bin
    F    executable path   : C:\SAP\JP1\SYS\exe\run\sapjvm_5\bin
    F  ********************************************************************************
    I  [Thr 3540] MtxInit: 30002 0 2
    F  [Thr 3540] JsfCreateShm: ShmCreate(79, 4096, ATTACH) failed (rc = 3 SHM segment doesn't exist)...
    F  [Thr 3540] SfCInstanceManager::newState: starting run level 1.
    F  [Thr 3540] *** ERROR => SfICreateFiElem: FiInit(JSF-FI-BRSESS, 1, 32) failed (rc = 6 invalid argument) [jsfxxshm.c   1909]
    F  [Thr 3540] *** ERROR => SfEInternalError: SfCInstanceManager::createDynShm: JsfCreateDynShm failed (rc = 1 general error)  [sfxxinst.hpp 349]
    SAP (R) - R/3(TM) Callstack, Version 1.0
    Copyright (C) SAP AG. All rights reserved.
    Callstack without Exception:
    App       : jstart.exe (pid=2240)
    When      : 9/4/2007 20:55:34.296
    Threads   : 2
    Computer Name       : EMPMXMOBILE
    User Name           : SYSTEM
    Number of Processors: 2
    Processor Type: x86 Family 6 Model 15 Stepping 6
    Windows Version     : 5.1 Current Build: 2600
    Stack Dump for Thread Id dd4
    --> Stack Back Trace <--
    FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
    0006f784 00000000 7c8025cb 00000000 00000604 00000000 ntdll!KiFastSystemCallRet
    0006f7fc 00000000 004385ac 00000000 00000604 00000000 kernel32!WaitForSingleObject
    0006f820 00000000 0044aeee 00000000 0044af27 00000000 jstart!_STL::basic_ostream<wchar_t,_STL::char_traits<wchar_t> >::operator<<
    0006fa40 00000000 7c9106eb 00000000 78134d85 00000000 jstart!_STL::basic_ostream<wchar_t,_STL::char_traits<wchar_t> >::operator<<
    005b36b8 00000000 00000000 00000000 00000029 00000000 ntdll!RtlAllocateHeap
    Stack Dump for Thread Id dd8
    --> Stack Back Trace <--
    FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
    0172feac 00000000 7c8314a6 00000000 00000674 00000000 ntdll!KiFastSystemCallRet
    0172ff74 00000000 781329b9 00000000 00000000 00000000 jstart!FcaConnection_fcaCloseOutput
    0172ffac 00000000 78132a45 00000000 7c910738 00000000 MSVCR80!endthreadex
    0172ffec 00000000 00000000 00000000 781329df 00000000 MSVCR80!endthreadex

    F [Thr 3540] Tue Sep 04 20:55:34 2007
    F  [Thr 3540] SfCOptions::doExit: goodbye... (exitcode 1, retcode 1)

    Hi Viji,
                It seem's some memory(RAM) problem is strucking, can you try to shut down the OS and try to start the server?
    Regards,
    Hari.

  • Finished Installation..ERROR in starting the SERVER PLZZ HELP

    Hi,
    I could complete the installation of SAP WAS from the cd with host n keller successfully.
    But now when i make a set up and try to logon with the SAP GUI , It gives an error saying the host couldnt be find and in the meanwhile on ABAP ENGINE STARTUP SCREEN it starts the server and then immediately shuts down showing : Work process xx died..and ICM shut down successful.
    Plzz help me as to if any settings are causing this or wat should i do to splve this.
    Thanks,
    Shilpi

    Hi,
    Did you configure loopback adapter and assigned a ip address to it? If it is done, then try to increase virtual memory.
    Sabita

  • Security Error when starting the server - WPLS 7.0

    Security Error when starting the server - WPLS 7.0
    what may be the reason ...
    console :
    BUILD SUCCESSFUL
    Total time: 3 seconds
    Starting WebLogic Server...
    <May 30, 2005 4:22:15 PM IST> <Notice> <Management> <140005> <Loading configuration C:\cpDomain\.\config.xml>
    <May 30, 2005 4:22:18 PM IST> <Info> <Logging> <000000> <FileLogger Opened at C:\cpDomain\portalServer\weblogi
    c.portalServer.log>
    <May 30, 2005 4:22:21 PM IST> <Info> <Security> <090516> <The RoleMapper provider has preexisting LDAP data.>
    <May 30, 2005 4:22:21 PM IST> <Info> <Security> <090516> <The Authorizer provider has preexisting LDAP data.>
    <May 30, 2005 4:22:21 PM IST> <Info> <Security> <090143> <The weblogic keystore provider DefaultKeyStore in re
    alm cprealm cannot be used for private keys because its configured private key keystore file wlDefaultKeyStore
    .jks does not exist.>
    <May 30, 2005 4:22:21 PM IST> <Info> <Security> <090142> <The weblogic keystore provider DefaultKeyStore in re
    alm cprealm cannot be used for trusted (root) CAs because its trusted (root) CA keystore was not configured.>
    <May 30, 2005 4:22:21 PM IST> <Notice> <Security> <090082> <Security initializing using realm cprealm.>
    <May 30, 2005 4:22:21 PM IST> <Critical> <WebLogicServer> <000364> <Server failed during initialization. Excep
    tion:java.lang.SecurityException: Authentication for user weblogic denied
    java.lang.SecurityException: Authentication for user weblogic denied
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.doBootAuthorization(SecurityServiceMan
    agerDelegateImpl.java:411)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDeleg
    ateImpl.java:539)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:917)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    >
    <May 30, 2005 4:22:21 PM IST> <Emergency> <WebLogicServer> <000342> <Unable to initialize the server: Fatal in
    itialization exception
    Throwable: java.lang.SecurityException: Authentication for user weblogic denied
    java.lang.SecurityException: Authentication for user weblogic denied
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.doBootAuthorization(SecurityServiceMan
    agerDelegateImpl.java:411)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDeleg
    ateImpl.java:539)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:917)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    >
    The WebLogic Server did not start up properly.
    Exception raised:
    java.lang.SecurityException: Authentication for user weblogic denied
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.doBootAuthorization(SecurityServiceMan
    agerDelegateImpl.java:411)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDeleg
    ateImpl.java:539)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:917)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    Reason: Fatal initialization exception
    Throwable: java.lang.SecurityException: Authentication for user weblogic denied
    java.lang.SecurityException: Authentication for user weblogic denied
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.doBootAuthorization(SecurityServiceMan
    agerDelegateImpl.java:411)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDeleg
    ateImpl.java:539)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:917)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)
    C:\cpDomain\bin>
    Thanks
    Thanks & Regards,
    Siva VP,
    [email protected]

    Looks like you cannot connect to LDAP. Are you configured correctly?

  • Reloading JavaBeans in a JSP without re-starting the server

     

              The JSP will get recompiled but the bean is already sucked in by the server. Even if you break the session by doing reqest.getSession.invalidate() at the end of your JSP - it still persists. Even try removing your bean class and you will still see that the page is working. That proves it doesn't use .class anymore. However when you touch your .jsp at this time and try to re-display it in the browser you will get compilation error because .class cannot be imported. When you put a new class and repeat it, it compiles against that new class but still executes with the old one. Until you restart the WebLogic server...
              "Carl Ansley" <[email protected]> wrote:
              >
              >I've found that you need to "touch" the JSP that references the javabean,
              >i.e. to force the server to recompile. Plus you'll need to create a new
              >session if the bean has session scope.
              >
              >"Eli Tucker" <[email protected]> wrote in message
              >news:8hom7d$puk$[email protected]..
              >> Hello.
              >>
              >> I have a JSP page that uses a simple JavaBean (not an EJB). If I modify
              >the
              >> bean, the server appears to use the old version of it. The only way I've
              >> found to force the server to use the latest version is to re-start the
              >> server.
              >>
              >> Is there a way to use the latest class without re-starting the server?
              >I'm
              >> using WebLogic Server 5.1.0 on an NT system.
              >>
              >> Thanks,
              >> Eli
              >
              >
              >
              

  • Dynamically load the content without re-starting the server

    Let me explain the scenario.........
    I have a JSP in which I call a method written in a different class( java file).
    Now, when I change the content of the method in the class and compile it, how can I get the updated stuff in the JSP without re-starting the server.
    Even though I have to re-deploy the changed class, I need to re-start the server to get the updates effective.
    The env set up is on Tomcat
    fun_one

    FUN_ONE, I am using Tomcat 5.0 (though not 5.5), and have a Test application that I do not use WARs to deply. The Context is set with reloadable="true".
    I have this simple bean:
    package jsp.beans;
    public class ItemBean implements java.io.Serializable
         public String getjunk() { return "Hello"; }
    } And this JSP
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <html>
      <head>
      </head>
      <body>
        <!-- Display the session ID for this user -->
        <p><c:out value="${pageContext.session.id}"/></p>
        <!-- Get the junk string from the ItemBean -->
        <p><jsp:useBean id="it" class="jsp.beans.ItemBean"/>
        <c:out value="${it.junk}"/></p>
      </body>
    </html> I run the JSP, then change the text returned by the bean, recompile it, then reload the JSP (force reload). The session id remains the same, and the text changes. Does this work on your system? (note, you do have to restart your server once after you set the Context to be reloadable="true")

  • Starting the server in Japanese mode after deployment in english mode.

    Hi,
    I have a problem
    We are developing some system for Japanese clients.
    Now problem is that we need to deploy all on their server which shows every hting
    in Japanese. Its going to be really very difficult for us.
    Is there any key or property in weblogic server by changing that we can change
    the language (english-->japanese)
    Actually what I wanted was first to run the server in English mode. deploy each
    and every thing sucessfuly.
    Then stop the server.
    Change that flag or whatever to use japanese character set.
    Start the server again so that it run in japanese language and having every thing
    already deployed.
    Is it possible approach?
    Any other suggestions are also most welcome.
    Thanks and Regards
    Pavitra

    Hi,
    You would have to use the below command to give the root directory to start the server in MSI mode
    -Dweblogic.RootDirectory=path
    Example:
    java -Dweblogic.RootDirectory=c:\MyServerRootDirectory weblogic.ServerTo get more information on this you can check the below link
    Topic: Starting a Managed Server in MSI Mode
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/server_start/failures.html#wp1058998
    Regards,
    Ravish Mody

  • Unable to start the server Instance

    Hello!!
    I am using the JDeveloper(11g) IDE first time.I am reading the help provided with the IDE.Uptill now I know how to create an application.When I run the jsp file for first 2-3 times it runs well, but after that the error comes like "Failed to start the server instance" and due to this I unable to proceed my work.
    Please tell me the exact solution to this error.

    When I run a JSPX file,following error comes in the log file:
    http://Running application Sample1 on Server Instance DefaultServer...
    Uploading credentials.
    ---- Deployment started. ---- Feb 21, 2009 4:07:56 AM
    Target platform is (Weblogic 10.3).
    Running dependency analysis...
    2009-02-21 04:07:57.128: Writing WAR file to F:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\Sample1\Sample1-ViewController-webapp
    2009-02-21 04:07:57.394: Wrote WAR file to F:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\Sample1\Sample1-ViewController-webapp
    2009-02-21 04:07:57.41: Writing EJB JAR file to F:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\Sample1\Sample1-Model-ejb
    2009-02-21 04:07:57.488: Wrote EJB JAR file to F:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\Sample1\Sample1-Model-ejb
    2009-02-21 04:07:58.675: Writing EAR file to F:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\Sample1
    2009-02-21 04:07:58.847: Wrote EAR file to F:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\Sample1
    #### Deployment incomplete. #### Feb 21, 2009 4:08:01 AM
    oracle.jdeveloper.deploy.DeployException
    at oracle.jdevimpl.deploy.adrs.wls.Jsr88AdrsRemoteDeployer.initializeHelper(Jsr88AdrsRemoteDeployer.java:52)
    at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:139)
    at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
    at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
    at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
    at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
    at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
    at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
    at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
    at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:436)
    at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
    at oracle.jdevimpl.runner.adrs.AdrsStarter$4$1.run(AdrsStarter.java:1316)
    Caused by: oracle.rc.asadapter.connection.ConnectionException: J2EE Deployment SPI:260010Unable to connect to 't3s://127.0.0.1:7002' as user, 'weblogic'. Error received: null
    at oracle.rc.asadapter.weblogic.connection.Weblogic10Jsr88Provider.getPresentation(Weblogic10Jsr88Provider.java:100)
    at oracle.rc.asadapter.connection.AppServerConnectionImpl.getPresentation(AppServerConnectionImpl.java:65)
    at oracle.jdevimpl.deploy.adrs.wls.Jsr88AdrsRemoteDeployer.initializeHelper(Jsr88AdrsRemoteDeployer.java:43)
    ... 11 more
    Caused by: javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: J2EE Deployment SPI:260010Unable to connect to 't3s://127.0.0.1:7002' as user, 'weblogic'. Error received: null
    at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:121)
    at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:84)
    at oracle.rc.asadapter.weblogic.connection.Weblogic10Jsr88Provider.getPresentation(Weblogic10Jsr88Provider.java:97)
    ... 13 more
    Caused by: weblogic.deploy.api.spi.exceptions.ServerConnectionException: J2EE Deployment SPI:260010Unable to connect to 't3s://127.0.0.1:7002' as user, 'weblogic'. Error received: null
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServer(ServerConnectionImpl.java:251)
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServerForType(ServerConnectionImpl.java:191)
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:147)
    at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:148)
    at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:118)
    ... 15 more
    Caused by: java.io.IOException
    at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:156)
    at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:79)
    at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:338)
    at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:247)
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServer(ServerConnectionImpl.java:240)
    ... 19 more
    Caused by: javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3s://127.0.0.1:7002: Destination unreachable; nested exception is:
    java.net.ConnectException: Connection refused: connect; No available router to destination]
    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
    at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:783)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:365)
    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.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:143)
    ... 23 more
    Caused by: java.net.ConnectException: t3s://127.0.0.1:7002: Destination unreachable; nested exception is:
    java.net.ConnectException: Connection refused: connect; No available router to destination
    at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:203)
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
    at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:344)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:339)
    ... 31 more
    Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is:
    java.net.ConnectException: Connection refused: connect; No available router to destination
    at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:464)
    at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:315)
    at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:251)
    at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:194)
    at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:225)
    at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:188)
    ... 36 more
    #### Cannot run application Sample1 due to error deploying to DefaultServer.
    Application Sample1 stopped and undeployed from Server Instance DefaultServer
    And on status bar the following message is shown:
    Failed to start application in server instance
    Please assist me with exact solution.
    Please help me I am doing my final year project using this tool.And I am geting furstrated due to this problem.
    Please reply quick!!
    Edited by: [email protected] on Feb 22, 2009 10:53 PM

  • WLST problems when starting the server

    Hi all,
    I try to use WSLT (with ant) to start bea within an existing domain. The ant target is:
    <target name="start-server">
    <echo message="Starting bea weblogic..."/>
         <wlserver
         dir="${domain.home}"
         beahome="${weblogic.home}/.."
         weblogichome="${weblogic.home}"
         servername="${server.name}"
         domainname="${domain.name}"
         username="${weblogic.user.name}"
         password="${weblogic.user.password}"
         host="${server.host}"
         port="${server.port}"
         generateconfig="false"
         action="start"
         failonerror="true"
         configFile="/config/config.xml"
         classpath="${weblogic.home}/server/lib/weblogic.j ar"
         verbose="true"
         />
    </target>
    Unfortunately I got hundrets of NoClassDefFoundError when running this target. Serveral for each deployed component. Therefore I put classpath extensions to different files:
    1. %BEA_HOME%\user_projects\domains\wcsdomain\bin\startWebLogic.cmd
    2. %BEA_HOME%\user_projects\domains\wcsdomain\bin\setDomainEnv.cmd
    3. %BEA_HOME%\weblogic91\common\bin\commEnv.cmd
    4. %BEA_HOME%\weblogic91\server\binsetWLSEnv.cmd
    But the classes are still missing.
    Question:
    Can anyone tell me where to put classpath extensions for the deployment jars?
    Thanks

    You are not using WLST any where, you are using the wlserver ant task. The wlserver ant task does not use the scripts to start the server. You should add the jars to the wlserver classpath element.
    HTH,
    -satya
    BEA Blog:
    http://dev2dev.bea.com/blog/sghattu/
    Get Involved in CodeShare:
    https://wls-console-extensions.projects.dev2dev.bea.com/
    https://wlnav.projects.dev2dev.bea.com/
    https://eclipse-wlst.projects.dev2dev.bea.com/
    https://wlst.projects.dev2dev.bea.com/

  • Messages when starting the server

    Hi,
    I am using OC4J 10.1.3.
    When i start the server i am getting this message
    May 5, 2005 10:09:14 AM com.evermind.server.ejb.EJBPackageDeployment isIIOPConfigured
    INFO: Beans associated with application Twe will not be available via RMI/IIOP: GenerateIIOP system property=false, enableIIO
    P application setting=false, server.xml configured for IIOP=true
    May 5, 2005 10:09:14 AM com.evermind.server.ejb.EJBPackageDeployment isIIOPConfigured
    Any idea why this is coming. Does this mean that my beans are not deployed or I will not be able to access them.
    Thanks
    Kiran
    ----

    Kiran, there is no real problem here; the message, of type "INFO", is just to inform/warn you that your application is not properly configured for the purpose of accessing it through RMI/IIOP. Your beans are deployed and you will be able to access them as long as you are not using RMI/IIOP; otherwise, there should be other real error message printed out.
    Furthermore, this message is in the process of moving to some log file instead of popping up when the server is started. So, you probably won't notice them the next time you install a newer oc4j.
    Hope this helps.

  • Calling a static method when starting the server???

    Hi,
    i wanted to call a static method of a java class,
    whenever i start the server.
    plz give some input on this.
    thanks and regards
    siva

    Siva -- Can you be more specific as to the problem you are trying to solve (why do you want to call this static method,.)
    The reason I ask is that there are some ways to make this happen but they may have limitations
    that won't work for you. For instance, you can create a servlet that calls your class' static method and then make the
    servlet be loaded on startup.
    Thanks -- Jeff

  • How to start the server. Urgent.

    I mistakenly deleted the icon from the Start menu, to start the SAP IDES server in my laptop. How to start the server from any other path.
    I installed it in E drive (2003 server). Database path is F drive.

    Hi,
    Check the following path
    E:\Program Files\SAP\FrontEnd\SapGui
    Here the actual Logon Pad file would be stored with name "SAPLOGON" or "SAPLGPAD".
    Create another shortcut for above file on your desktop.
    Best regards,
    Prashant

Maybe you are looking for

  • IPhone 5s Major Issue

    I have had my iPhone 5s for around 6 months and have been happy with it and have no issues till now.. All of the sudden, through no perceived fault of my own(I haven't changed anything), tremendous problems have occurred. First off, iPhone 5s running

  • How do I get 2 points to line up exactly? CS4

    Screenshot below. I have to shapes and I want the points to line up perfectly, but I dont want to mess up the angles on my shapes, so I need to position the violet outlined triangle somehow where the top point lines up with the top point of the pink-

  • When I customize my presenter display it doesn't work! I still get on my screen what shows on the main display.

    When I customize my presenter display so that I can see the time and the next slide on my screen, it doesn't work. I get just the normal view on both. Any ideas?

  • File upload and Download

    I m storing the attatchments in java table as binary data.Is there any restriction on the size of the attachmnents? Also while Downloading the file the name of the file is not visible. Please help me on this issue.

  • Migration from SqlServer 2005 very slow... Number of Commits very big!

    Halllo, I migrate from SQL Server 2005 to Oracle 10g using SQL Developer 1.2.1 (latest Build). I have 2 tables, with 27 million rows and 29 million rows. 1% data move needs 4-5 Hours!... - no indexes or constraints - Options: 10 000 rows to commit af