Bind custom object in weblogic server start

I want to bind my custom object to jndi when weblogic server start. how can i do?

Bonjour Yiwen,
That could easily done by registering a startup class in weblogic server that will do the binding of the object in the JNDI tree (it can also create all the subcontexts you need).
Below is some code that works fine on WLS 5.1:
a.. a custom object
package StartupJNDI;
public class CustomObject extends Object
protected String name;
public CustomObject ( String aszName )
name = aszName;
public String getName()
return name;
public void setName(String newName)
name = newName;
a.. a startup class
package StartupJNDI;
import javax.naming.*;
public class Registration
public Registration()
InitialContext initCtx = null;
try
initCtx = new InitialContext ();
initCtx.bind ( "Startup Registered Object" , new CustomObject ( "This is a void object" ) );
catch ( Exception ex )
ex.printStackTrace ( System.err );
public static void main(String[] args)
new Registration();
a.. a startup class in weblogic.properties:
weblogic.system.startupClass.JNDIStartupRegistration=StartupJNDI.Registration
Please, be sure that the path to these classes is also registered in the WEBLOGIC_CLASSPATH system property (e.g. : in your startweblogic.cmd file on Windows NT).
You can check that the object is bound in the JNDI tree through the console.
Hope this helps,
Cordialement,
Etienne
Yiwen Tian <[email protected]> a écrit dans le message : [email protected]..
>
I want to bind my custom object to jndi when weblogic server start. how can i do?
[att1.html]

Similar Messages

  • Binding custom objects in weblogic JNDI

    I noticed that if I bind a custom object, the object is not available after the weblogic
    restart. Is there anyway to bind an object permanently in the weblogic JNDI..

    In article <[email protected]>, [email protected] says...
    Murali <[email protected]> wrote:
    I noticed that if I bind a custom object, the object is not available after the weblogic
    restart. Is there anyway to bind an object permanently in the weblogic JNDI..No.
    Perhaps what your trying to accomplish could be handled via a startup
    class that did the bind for you.
    Bob

  • Weblogic server start error: java.lang.OutOfMemoryError

    Hi:
              when i start weblogic server, i met following error !
              java.lang.OutOfMemoryError
              <<no stack trace available>>
              why?
              thanks!
              starting output as follow :
              C:\bea7\user_projects\zhudomain>startweblogic
              C:\bea7\user_projects\zhudomain>echo off
              CLASSPATH=C:\bea7\jdk131_03\lib\tools.jar;C:\bea7\weblogic700\integration\li
              b\wl
              pi-worklist.jar;C:\bea7\weblogic700\samples\server\eval\pointbase\lib\pbserv
              er42
              ECF172.jar;C:\bea7\weblogic700\server\lib\weblogic_sp.jar;C:\bea7\weblogic70
              0\se
              rver\lib\weblogic.jar;
              PATH=.;C:\bea7\weblogic700\server\bin;C:\bea7\jdk131_03\bin;C:\PROGRA~1\RATI
              ONAL
              \RATION~1\NUTCROOT\bin;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin\x11;C:\PRO
              GRA~
              1\RATIONAL\RATION~1\NUTCROOT\mksnt;c:\Oracle\Ora81\bin;C:\WINNT\system32;C:\
              WINN
              T;C:\WINNT\System32\Wbem;C:\PROGRA~1\ULTRAE~1;C:\CTEX\MiKTeX\TeXMF\miktex\bi
              n;C:
              \CTEX\MiKTeX\LocalT~1\cct\bin;C:\Program Files\Rational\common;C:\Program
              Files\
              Rational\ClearQuest;C:\Program Files\Rational\Rose\TopLink\;C:\Program
              Files\Rat
              ional\Rational Test;C:\bea7\jdk131_03\bin
              * To start WebLogic Server, use a username and *
              * password assigned to an admin-level user. For *
              * server administration, use the WebLogic Server *
              * console at http://[hostname]:[port]/console *
              C:\bea7\user_projects\zhudomain>"C:\bea7\jdk131_03\bin\java" -hotspot -Xms32
              m -X
              mx200m -Dweblogic.security.SSL.trustedCAKeyStore=C:\bea7\weblogic700\server\
              lib\
              cacerts -Dweblogic.Name=myserver -Dbea.home="C:\bea7" -Dweblogic.management.
              user
              name= -Dweblogic.management.password= -Dweblogic.ProductionModeEnabled= -Dja
              va.s
              ecurity.policy="C:\bea7\weblogic700\server\lib\weblogic.policy"
              weblogic.Server
              <2002-11-13 ÏÂÎç04ʱ21·Ö01Ãë> <Info> <Security> <090065> <Getting boot
              identity
              from user.>
              Enter username to boot WebLogic server:system
              Enter password to boot WebLogic server:
              Starting WebLogic Server...
              <2002-11-13 ÏÂÎç04ʱ21·Ö08Ãë> <Notice> <Management> <140005> <Loading
              configurat
              ion C:\bea7\user_projects\zhudomain\.\config.xml>
              java.lang.OutOfMemoryError
              <<no stack trace available>>
              

    Hi JLK,
    Now as you can see that you are getting "java.lang.OutOfMemoryError: PermGen space" during the activation on an application it means that you are application needs more space in the non-heap part of the JVM which is PermGen to create the Classes, Class Structures, Methods and Reflection Objects of this applications hence you are getting this issue.
    Now how to solve this issue you try the following check list which would help you resolve this issue and overcome same type of issue in future
    1). Make Sure that the PermGen Area is not set to a very less value.
    2). Usually if an Application has Many JSP Pages in that case every JSP will be converted to a *.class file before JSP Request Process. So a large number of JSPs causes generation of a Large number of *.class files all these classes gets loaded in the PermGen area.
    3). While allocating the -XX:MaxPermSize make sure that you follow a rough Formula… which works in most of the Application Servers.
    MaxPermSize = (Xmx/3) —- Very Special Cases (One Third of maximum Heap Size)
    MaxPermSize = (Xmx/4) —- Recommended (One Fourth Of maximum Heap Size
    To get more information on this I would suggest you to have look at the below link which would surely help you in this case
    Topic: OutOfMemory Causes and First Aid Steps?
    http://middlewaremagic.com/weblogic/?p=4464
    Regards,
    Ravish Mody

  • Permission error when WebLogic Server starts up

    Dear WebLogic gurus
    When I try to startup WebLogic server with 80 listening port in Solaris 2.6,
    it did not startup due to permission problem.
    The error log said that
    Sat Dec 11 06:11:02 GMT 1999:<E> <ListenThread> **** Unable to create server
    socket. Perhaps another process is using port 80.
    Sat Dec 11 06:11:02 GMT 1999:<E> <ListenThread> java.net.BindException:
    Permission denied
    To solve this problem, I just tried to startup WebLogic with root user
    because I was sure that another process did not run with port 80.
    It works now but with only super user. This kind of problems did not happen
    with 7001 port.
    What's the reason of this ?
    Thanks in advance

    Hi there.. Looking at your error, it appears that you there is a web server
    already running and bound to port 80. Check with your system admins to see if
    you have a web server installed on port 80. Another easy way to figure out
    would be a simple telnet to your server name at port 80. Try this:
    $ telnet localhost (or servername) 80
    GET / HTTP/1.0
    If that works any returns any data, you've got a webserver running at port 80.
    Work with your system admin's to turn off that running webserver and picking
    another port for WebLogic.
    Under UNIX, anything under port 1024 is considered a privileged port and root
    would have to start the server to be able to bind to port 80. You'll also want
    to enable the setUID program in weblogic.properties. Look for the following
    lines in your weblogic.properties and see if they apply.
    # UNIX only: If running on port 80 on UNIX, enable the setUID program
    #weblogic.system.enableSetUID=false
    # UNIX only: Unprivileged user to setUID to after starting up
    # WebLogic Server on port 80
    #weblogic.system.nonPrivUser=nobody
    Hope this helps.
    --Vinny
    Changyong wrote:
    Dear WebLogic gurus
    When I try to startup WebLogic server with 80 listening port in Solaris 2.6,
    it did not startup due to permission problem.
    The error log said that
    Sat Dec 11 06:11:02 GMT 1999:<E> <ListenThread> **** Unable to create server
    socket. Perhaps another process is using port 80.
    Sat Dec 11 06:11:02 GMT 1999:<E> <ListenThread> java.net.BindException:
    Permission denied
    To solve this problem, I just tried to startup WebLogic with root user
    because I was sure that another process did not run with port 80.
    It works now but with only super user. This kind of problems did not happen
    with 7001 port.
    What's the reason of this ?
    Thanks in advance

  • Exception in Weblogic Server Starting

    Hi all,
    While starting weblogic server, I can see some exception as follows but server is started. Because of this I can't able to deploy OSM cartridges.
    java.sql.SQLSyntaxErrorException: ORA-04092: cannot COMMIT in a trigger
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.ja
    va:91)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:1
    33)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :206)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034)
    at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.
    java:191)
    at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableSta
    tement.java:950)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
    nt.java:1223)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePrep
    aredStatement.java:3386)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStat
    ement.java:3487)
    at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStat
    ement.java:3858)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePrepa
    redStatementWrapper.java:1374)
    at oracle.jdbc.oracore.OracleTypeADT.initMetadata(OracleTypeADT.java:535
    at oracle.jdbc.oracore.OracleTypeADT.init(OracleTypeADT.java:462)
    at oracle.sql.ArrayDescriptor.initPickler(ArrayDescriptor.java:1678)
    at oracle.sql.ArrayDescriptor.<init>(ArrayDescriptor.java:291)
    at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:206)
    at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:175)
    at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:158)
    at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:125)
    at oracle.jdbc.driver.NamedTypeAccessor.otypeFromName(NamedTypeAccessor.
    java:84)
    at oracle.jdbc.driver.TypeAccessor.initMetadata(TypeAccessor.java:89)
    at oracle.jdbc.driver.T4CCallableStatement.allocateAccessor(T4CCallableS
    tatement.java:629)
    at oracle.jdbc.driver.OracleCallableStatement.registerOutParameterIntern
    al(OracleCallableStatement.java:167)
    at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(Oracl
    eCallableStatement.java:208)
    at oracle.jdbc.driver.OracleCallableStatementWrapper.registerOutParamete
    r(OracleCallableStatementWrapper.java:1584)
    at weblogic.jdbc.wrapper.CallableStatement_oracle_jdbc_driver_OracleCall
    ableStatementWrapper.registerOutParameter(Unknown Source)
    at com.mslv.oms.handler.util.j.prepareStatement(Unknown Source)
    at com.mslv.oms.dataaccesslayer.CallableProxy.prepareStatement(Unknown S
    ource)
    at com.mslv.oms.dataaccesslayer.a.execute(Unknown Source)
    at com.mslv.oms.dataaccesslayer.CallableProxy.execute(Unknown Source)
    at com.mslv.oms.handler.util.e.a(Unknown Source)
    at com.mslv.oms.eventengine.EventDispatcherEJB.processTimeout(Unknown So
    urce)
    at com.mslv.oms.eventengine.EventDispatcher_86q3j1_EOImpl.processTimeout
    (EventDispatcher_86q3j1_EOImpl.java:73)
    at com.mslv.oms.poller.a.handleNotification(Unknown Source)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor$ListenerWrapper
    .handleNotification(DefaultMBeanServerInterceptor.java:1732)
    at javax.management.NotificationBroadcasterSupport.handleNotification(No
    tificationBroadcasterSupport.java:257)
    at javax.management.NotificationBroadcasterSupport$SendNotifJob.run(Noti
    ficationBroadcasterSupport.java:322)
    at javax.management.NotificationBroadcasterSupport$1.execute(Notificatio
    nBroadcasterSupport.java:307)
    at javax.management.NotificationBroadcasterSupport.sendNotification(Noti
    ficationBroadcasterSupport.java:229)
    at javax.management.timer.Timer.sendNotification(Timer.java:1237)
    at javax.management.timer.Timer.notifyAlarmClock(Timer.java:1206)
    at javax.management.timer.TimerAlarmClock.run(Timer.java:1289)
    at java.util.TimerThread.mainLoop(Timer.java:512)
    at java.util.TimerThread.run(Timer.java:462)
    <Nov 22, 2011 3:26:33 PM GMT+05:30> <Error> <oms> <BEA-000000> <util.e: Failed t
    o execute GetOrderTransitionProxy
    com.mslv.oms.dataaccesslayer.ProxyException: ORA-04092: cannot COMMIT in a trigg
    er
    Nested Exception: ORA-04092: cannot COMMIT in a trigger
    Can anybody pls help me to resolve this issue asap...
    Thanks in advance
    Bharathi

    Bharathi;
    The error indicates that a trigger is being executed. OSM DB schema does not make use of triggers at all. Has anyone added triggers to the OSM DB schema? If so this should not be done - modification or direct access of the OSM DB schema is not supported.
    Brian.

  • 10.3.6 weblogic server start error

    on windows 7 I installed oepe-juno-installer-12.1.1.1.0.201207241647-10.3.6-win32 (bundled installer) from http://www.oracle.com/technetwork/developer-tools/eclipse/downloads/oepe-bundle-1861326.html
    at completion of the installation, started the Quickstart app, then clicked on 'Start WebLogic Server 10.3.6 Samples Domain'
    get error message "\Java\jre1.6.0.23\lib\ext\QTJava.zip was unexpected at this time."
    thanks for any assistance you can provide.

    QTJava.zip was in the system CLASSPATH. removed it and that resolved the issue.

  • Feature comparison bet. diff. versions of Weblogic Server starting 5.1 to 8

    I am looking for features comparison matrix between different versions of weblogic server from v5.1 to 8.1. Can anyone help?

    a matrix I have never seen, but release notes usually sums it up pretty well.

  • Weblogic Server Start Error

    Hi,
    I am using windows 7 ultimate 64 bit.
    when i start the server with "startWebLogic.cmd" then it raises following error:
    "Unrecognized option: -jrockit
    Error: Could not create the Java Virtual Machine.
    Error: A fatal exception has occurred. Program will exit."
    while i did not install any jrockit. I installed Java JDK 7.0.
    so how can i resolve this issue.
    regards,
    Waqas Hassan

    The below i could see at my setDomainEnv.sh file
    COMMON_COMPONENTS_HOME="/home/oiam/Oracle/Middleware/oracle_common"
    export COMMON_COMPONENTS_HOME
    OAM_ORACLE_HOME="/home/oiam/Oracle/Middleware/Oracle_IDM1/oam"
    export OAM_ORACLE_HOME
    APPLICATIONS_DIRECTORY="/home/oiam/Oracle/Middleware/user_projects/applications/
    OAM_domain"
    export APPLICATIONS_DIRECTORY
    WL_HOME="/home/oiam/Oracle/Middleware/wlserver_10.3"
    export WL_HOME
    BEA_JAVA_HOME="/home/oiam/Desktop/OIAM11.1.2.1.0/JDK/jdk-new/jdk1.7.0_25"
    export BEA_JAVA_HOME
    SUN_JAVA_HOME=""
    export SUN_JAVA_HOME
    if [ "${JAVA_VENDOR}" = "Oracle" ] ; then
            JAVA_HOME="${BEA_JAVA_HOME}"
            export JAVA_HOME

  • Weblogic server starting pages.

    Hi! I have ADF app. I deployed it! All is ok when I had index.html page. When I entered address and app worked. But now I have indes.jspx page. And when I enter address then I have error:
    Error 403--Forbidden
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.4 403 Forbidden
    The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.
    Where to configure in weblogic or somewhere else? Can you say in details, I cant find it!
    Best regards!

    Hi! I created index.jspx page. In my app web.xml file I defined:
    <welcome-file-list>
    <welcome-file>index.jspx</welcome-file>
    <welcome-file>default.jspx</welcome-file>
    </welcome-file-list>
    And deployed app to WeblogicServer but then I had error:
    Error 500--Internal Server Error
    java.lang.RuntimeException: Cannot find FacesContext
    at javax.faces.webapp.UIComponentClassicTagBase.getFacesContext(UIComponentClassicTagBase.java:1851)
    at javax.faces.webapp.UIComponentClassicTagBase.setJspId(UIComponentClassicTagBase.java:1668)
    at jsp_servlet.__index_jspx._jspService(__index_jspx.java:109)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:149)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    When I used index.html there was no problems! Why and what to do?
    Best regards!

  • Weblogic Server Starting Issue

    Hi
    I installed Hyperion 11.1.2.3 successfully in Windows 2008 R2.
    Now i am Reconfigure the Hyperion Products. I am trying to configure the Foundation Deploy Application Server is Failed.
    I Noticed Web logic Server is Force Shut Down.
    Can any one help me regarding this issue.
    For Web logic If any services are created?

    Hi again,
    I dont have the exact path for 11.1.2.3 but as far as I remember when configuring the service it should be: EPM_ORACLE_INSTANCE/diagnostics/logs/FoundationServices/
    If the services has been configured the log is at... MIDDLEWARE_HOME/user_projects/domains/EPMSystem/servers/FoundationService0/logs/FoundationServices0.log
    Regards,
    Thanos
    http://thanos-onetruth.blogspot.co.uk/

  • Trouble starting managed weblogic server on another machine in  acluster

    Hi,
              I was having trouble starting managed weblogic server on another machine in a cluster from the command prompt
              I have following setup:
              1) BEA weblogic is installed on 2 machines - local machine A with ip address 172.17.2.219 and another machine B with ip address 172.17.2.201
              2)node manager is running on both machines
              3)An admin server myserver on the local machine at port 7001
              4)In the admin tree under Machines a new machine is created 'Machine1' with Node manager Listen Address: 172.17.2.201
              5) The managed server 'BEAServerMan1 ' instance is created with listen Address 172.17.2.201 and port 7705. This Server is assigened to Machine1. The server also belongs to a cluster 'Cluster1' where the 172.17.2.201:7705 is part of the Cluster Address.
              I can start 'BEAServerMan1 from http://172.17.2.16:7001/console/
              But I am unable to start BEAServerMan1 from the console using the command :
              startManagedWebLogic BEAServerMan1 http://172.17.2.219:7001
              startManagedWebLogic.sh BEAServerMan1 http://172.17.2.219:7001
              CLASSPATH=/opt/BEA/j2sdk1.4.1_03/lib/tools.jar:/opt/BEA/weblogic81/server/lib/weblogic_sp.jar:/opt/BEA/weblogic81/server/lib/weblogic.jar:/opt/BEA/weblogic81/server/lib/ojdbc14.jar::/opt/BEA/weblogic81/common/eval/pointbase/lib/pbserver44.jar:/opt/BEA/weblogic81/common/eval/pointbase/lib/pbclient44.jar:/opt/BEA/j2sdk1.4.1_03/jre/lib/rt.jar:/opt/BEA/weblogic81/server/lib/webservices.jar:/opt/BEA/j2sdk1.4.1_03/bin:/opt/BEA/j2sdk1.4.1_03:/opt/BEA/j2re1.4.1_03/bin:/opt/BEA/j2re1.4.1_03:/opt/BEA/j2sdk1.4.1_03/lib/tools.jar:/opt/oracle/OraHome1/jdbc/lib/classes111.jar:/opt/oracle/OraHome1/jdbc/lib/nls_charset11.jarx:/opt/BEA/user_projects/domains/mydomain/myserver/stage/_appsdir_dyn_ear/dyn.war:/opt/BEA/user_projects/domains/mydomain/./myserver/.wlnotdelete/extract/myserver__appsdir_dyn_ear_dyn/jarfiles/WEB-INF/lib/dspjspTaglib1_036773.jar:/usr/bin/j2re1_3_1_11/bin:/usr/bin/j2sdk1_3_1_11/bin:/usr/bin/j2sdk1_3_1_11:/usr/bin/j2sdk1_3_1_11/lib/tools.jar
              PATH=/opt/BEA/weblogic81/server/bin:/opt/BEA/j2sdk1.4.1_03/jre/bin:/opt/BEA/j2sdk1.4.1_03/bin:/opt/BEA/j2sdk1.4.1_03/bin:/opt/BEA/j2sdk1.4.1_03:/opt/BEA/j2re1.4.1_03/bin:/opt/BEA/j2re1.4.1_03:/opt/BEA/ATG6.2.0/home/bin:/usr/xpg4/bin:/opt/bmc/Patrol3/Solaris28-sun4/bin:/usr/bin::/usr/openwin/bin:/bin:/usr/ucb:/usr/local/sbin:/usr/dt/bin:/opt/RICHPse/bin:/usr/bin/j2re1_3_1_11/bin:/usr/bin/j2sdk1_3_1_11/bin
              * To start WebLogic Server, use a username and *
              * password assigned to an admin-level user. For *
              * server administration, use the WebLogic Server *
              * console at http://<hostname>:<port>/console *
              <13-Jan-2005 3:22:20 o'clock PM EST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 1.4.1_03-b02 from Sun Microsystems Inc.>
              <13-Jan-2005 3:22:21 o'clock PM EST> <Info> <Management> <BEA-141140> <The managed server is going to contact the admin server at http://172.17.2.219:7001 to check if there exists a running admin server at this URL.>
              <13-Jan-2005 3:22:22 o'clock PM EST> <Info> <Configuration Management> <BEA-150017> <This server is being started as a dependent managed server.>
              <13-Jan-2005 3:22:22 o'clock PM EST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 8.1 SP1 Fri Jun 20 23:06:40 PDT 2003 271009
              WebLogic XMLX Module 8.1 SP1 Fri Jun 20 23:06:40 PDT 2003 271009>
              <13-Jan-2005 3:22:22 o'clock PM EST> <Info> <Configuration Management> <BEA-150015> <Connecting to the administration server http://172.17.2.219:7001 to retrieve the initial configuration.>
              <13-Jan-2005 3:22:27 o'clock PM EST> <Notice> <Log Management> <BEA-170019> <The server log file /opt/BEA/user_projects/domains/mydomain/BEAServerMan1 /BEAServerMan1 .log is opened. All server side log events will be written to this file.>
              <13-Jan-2005 3:22:37 o'clock PM EST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
              <13-Jan-2005 3:22:38 o'clock PM EST> <Notice> <WebLogicServer> <BEA-000328> <Starting WebLogic Managed Server "BEAServerMan1 " for domain "mydomain">
              <13-Jan-2005 3:22:50 o'clock PM EST> <Notice> <Cluster> <BEA-000138> <Listening for announcements from cluster Cluster1 on 237.0.0.1:7001.>
              <13-Jan-2005 3:22:50 o'clock PM EST> <Notice> <Cluster> <BEA-000133> <Waiting to synchronize with other running members of Cluster1.>
              <13-Jan-2005 3:23:24 o'clock PM EST> <Emergency> <WebLogicServer> <BEA-000350> <Unable to create a server socket on Channel Default for: 172.17.2.201, port: 7705. java.net.BindException: Cannot assign requested address Perhaps the address 172.17.2.201 is incorrect or another process is using port 7705.>
              <13-Jan-2005 3:23:24 o'clock PM EST> <Emergency> <Security> <BEA-090085> <Server failed to bind to the configured port. The port may already be used by another process.>
              <13-Jan-2005 3:23:24 o'clock PM EST> <Emergency> <WebLogicServer> <BEA-000342> <Unable to initialize the server: Server failed to bind to the requested port. See preceeding log message for details.>
              The WebLogic Server did not start up properly.
              Exception raised: 'weblogic.server.ServerLifecycleException: Server failed to bind to the requested port. See preceeding log message for details.'
              Reason: Server failed to bind to the requested port. See preceeding log message for details.
              ***************************************************************************

    Hi
              i am also facing the same problem.kindly reply for th solution if you got.
              D:\bea1\user_projects_cluster\mydomain>startManagedWebLogic server2 10.16.96.21:
              7001
              D:\bea1\user_projects_cluster\mydomain>echo off
              CLASSPATH=d:\bea1\jdk131_03\lib\tools.jar;d:\bea1\weblogic700\server\lib\weblogi
              c_sp.jar;d:\bea1\weblogic700\server\lib\weblogic.jar;F:\bea\weblogic81\server\li
              b;D:\;c:\
              PATH=.;d:\bea1\weblogic700\server\bin;d:\bea1\jdk131_03\bin;E:\oracle\product\10
              .2.0\client_1\bin;C:\Program Files\Common Files\NetSarang;C:\WINDOWS\system32;C:
              \WINDOWS;C:\WINDOWS\System32\Wbem;F:\bea\jdk142_05\bin;C:\PROGRA~1\IBM\CLIENT~1;
              C:\PROGRA~1\IBM\CLIENT~1\Shared;C:\PROGRA~1\IBM\CLIENT~1\Emulator;
              * To start WebLogic Server, use a username and *
              * password assigned to an admin-level user. For *
              * server administration, use the WebLogic Server *
              * console at http://[hostname]:[port]/console *
              D:\bea1\user_projects_cluster\mydomain>"d:\bea1\jdk131_03\bin\java" -hotspot -Xm
              s32m -Xmx200m -Dweblogic.security.SSL.trustedCAKeyStore=d:\bea1\weblogic700\serv
              er\lib\cacerts -Dweblogic.Name="server2" -Dbea.home="d:\bea1" -Dweblogic.managem
              ent.username= -Dweblogic.management.password= -Dweblogic.management.server="10.1
              6.96.21:7001" -Dweblogic.ProductionModeEnabled= -Djava.security.policy="d:\bea1\
              weblogic700\server\lib\weblogic.policy" weblogic.Server
              <Sep 20, 2007 1:47:13 PM IST> <Info> <Security> <090065> <Getting boot identity
              from user.>
              Enter username to boot WebLogic server:weblogic
              Enter password to boot WebLogic server:
              Starting WebLogic Server...
              Connecting to http://10.16.96.21:7001...
              <Sep 20, 2007 1:47:25 PM IST> <Notice> <Security> <090082> <Security initializin
              g using realm myrealm.>
              <Sep 20, 2007 1:47:25 PM IST> <Notice> <WebLogicServer> <000328> <Starting WebLo
              gic Managed Server "server2" for domain "mydomain">
              Starting Cluster Service...
              <Sep 20, 2007 1:47:46 PM IST> <Notice> <Cluster> <000138> <Listening for announc
              ements from cluster mycluster on 237.0.0.1:7777>
              <Sep 20, 2007 1:47:46 PM IST> <Notice> <Cluster> <000133> <Waiting to synchroniz
              e with other running members of mycluster>
              <Sep 20, 2007 1:48:16 PM IST> <Notice> <Cluster> <000134> <Discovered and synchr
              onized with 1 other running members of mycluster>
              <Sep 20, 2007 1:48:17 PM IST> <Emergency> <WebLogicServer> <000350> <Unable to c
              reate a server socket on Channel Default for: 10.16.96.24/10.16.96.24, port: 900
              1. java.net.BindException: Cannot assign requested address: JVM_Bind Perhaps the
              address 10.16.96.24/10.16.96.24 is incorrect or another process is using port 9
              001.>
              <Sep 20, 2007 1:48:18 PM IST> <Emergency> <Security> <090085> <Server failed to
              bind to any port such that it is not reachable from the console.>
              <Sep 20, 2007 1:48:18 PM IST> <Emergency> <WebLogicServer> <000342> <Unable to i
              nitialize the server: Fatal initialization exception>
              The WebLogic Server did not start up properly.
              Reason: Fatal initialization exception
              D:\bea1\user_projects_cluster\mydomain>goto finish
              D:\bea1\user_projects_cluster\mydomain>ENDLOCAL
              D:\bea1\user_projects_cluster\mydomain>ENDLOCAL
              D:\bea1\user_projects_cluster\mydomain>

  • **** ASSERTION FAILED **** Error while starting WebLogic Server 7.0

    Hi,
    I am getting following error while starting WebLogic Server 7.0 for the first
    time. Can anybody help me it this?
    Error is:
    ==================================================
    Enter username to boot WebLogic server:system
    Enter password to boot WebLogic server:
    Starting WebLogic Server...
    <May 9, 2003 4:27:47 PM IST> <Notice> <Management> <140005> <Loading configurati
    on C:\bea\user_projects\mydomain\.\config.xml>
    <May 9, 2003 4:28:04 PM IST> <Notice> <Security> <090082> <Security initializing
    using realm myrealm.>
    <May 9, 2003 4:28:04 PM IST> <Notice> <WebLogicServer> <000327> <Starting WebLogic
    Admin Server "myserver" for domain "m
    ydomain">
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot intialize
    Resource Manager Connection Factory resour
    ces because could not get JNDI context: javax.naming.ServiceUnavailableException
    [Root exception is java.net.UnknownHost
    Exception: Unknown protocol: 'JNP'] ]
    at weblogic.j2ee.RMCFactoryDeployer.<init>(RMCFactoryDeployer.java:50)
    at weblogic.j2ee.J2EEService.initialize(J2EEService.java:93)
    at weblogic.t3.srvr.ServerLifeCycleList.initialize(ServerLifeCycleList.java:54)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:782)
    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 9, 2003 4:28:14 PM IST> <Emergency> <WebLogicServer> <000342> <Unable to
    initialize the server: Fatal initializatio
    n exception
    Throwable: weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot
    intialize Resource Manager Connection Fac
    tory resources because could not get JNDI context: javax.naming.ServiceUnavailableException
    [Root exception is java.net.
    UnknownHostException: Unknown protocol: 'JNP'] ]
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot intialize
    Resource Manager Connection Factory resour
    ces because could not get JNDI context: javax.naming.ServiceUnavailableException
    [Root exception is java.net.UnknownHost
    Exception: Unknown protocol: 'JNP'] ]
    at weblogic.j2ee.RMCFactoryDeployer.<init>(RMCFactoryDeployer.java:50)
    at weblogic.j2ee.J2EEService.initialize(J2EEService.java:93)
    at weblogic.t3.srvr.ServerLifeCycleList.initialize(ServerLifeCycleList.java:54)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:782)
    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)
    >
    ==================================================

    I don't know what could cause this error.
    I would suggest you take this upto [email protected]
    Kumar
    Ajay Jadhav wrote:
    Hi,
    I am getting following error while starting WebLogic Server 7.0 for the first
    time. Can anybody help me it this?
    Error is:
    ==================================================
    Enter username to boot WebLogic server:system
    Enter password to boot WebLogic server:
    Starting WebLogic Server...
    <May 9, 2003 4:27:47 PM IST> <Notice> <Management> <140005> <Loading configurati
    on C:\bea\user_projects\mydomain\.\config.xml>
    <May 9, 2003 4:28:04 PM IST> <Notice> <Security> <090082> <Security initializing
    using realm myrealm.>
    <May 9, 2003 4:28:04 PM IST> <Notice> <WebLogicServer> <000327> <Starting WebLogic
    Admin Server "myserver" for domain "m
    ydomain">
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot intialize
    Resource Manager Connection Factory resour
    ces because could not get JNDI context: javax.naming.ServiceUnavailableException
    [Root exception is java.net.UnknownHost
    Exception: Unknown protocol: 'JNP'] ]
    at weblogic.j2ee.RMCFactoryDeployer.<init>(RMCFactoryDeployer.java:50)
    at weblogic.j2ee.J2EEService.initialize(J2EEService.java:93)
    at weblogic.t3.srvr.ServerLifeCycleList.initialize(ServerLifeCycleList.java:54)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:782)
    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 9, 2003 4:28:14 PM IST> <Emergency> <WebLogicServer> <000342> <Unable to
    initialize the server: Fatal initializatio
    n exception
    Throwable: weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot
    intialize Resource Manager Connection Fac
    tory resources because could not get JNDI context: javax.naming.ServiceUnavailableException
    [Root exception is java.net.
    UnknownHostException: Unknown protocol: 'JNP'] ]
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot intialize
    Resource Manager Connection Factory resour
    ces because could not get JNDI context: javax.naming.ServiceUnavailableException
    [Root exception is java.net.UnknownHost
    Exception: Unknown protocol: 'JNP'] ]
    at weblogic.j2ee.RMCFactoryDeployer.<init>(RMCFactoryDeployer.java:50)
    at weblogic.j2ee.J2EEService.initialize(J2EEService.java:93)
    at weblogic.t3.srvr.ServerLifeCycleList.initialize(ServerLifeCycleList.java:54)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:782)
    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)
    ==================================================

  • Failure extracting WAR classes when starting weblogic server

    I installed weblogic6.1 app server on Solaris box. It works fine at first. Then
    I moved the unix box to anther place which means it has different IP. Then I have
    following exception when I try to start the weblogic server:(I haven't deployed
    any thing in the server yet, so it's just a newly installed weblogic server)
    Starting WebLogic Server ....
    <Mar 8, 2002 10:40:26 AM PST> <Notice> <Management> <Loading configuration file
    ./config/mydomain/config.xml ...>
    <Mar 8, 2002 10:40:35 AM PST> <Notice> <WebLogicServer> <Starting WebLogic Admin
    Server "privoserver" for domain "privodomain">
    <Mar 8, 2002 10:40:45 AM PST> <Error> <HTTP> <[WebAppServletContext(604746,wl_management_internal2,/wl_management_internal2)]
    failure extracting WAR classes
    java.io.IOException: Permission denied
    at java.io.UnixFileSystem.createFileExclusively(Native Method)
    at java.io.File.checkAndCreate(File.java:1162)
    at java.io.File.createTempFile(File.java:1247)
    at weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:71)
    Thanks in advance for your reply!
    Linden

    Hi
    This is a Unix problem, you may check if you have all the permissions.
    I suspect that some of the files which may be owned by someone other than user-value and therefore preventing the writting to the
    files.
    Can you check the files owership under /usr/local/bea/wlserver6.1/config/mydomain/applications/.wlnotdelete to see if any of the
    files or subdirectories are owned by someone else, such as 'root' or even under different group?"
    Hope this help
    JFG
    Linden Lu wrote:
    I installed weblogic6.1 app server on Solaris box. It works fine at first. Then
    I moved the unix box to anther place which means it has different IP. Then I have
    following exception when I try to start the weblogic server:(I haven't deployed
    any thing in the server yet, so it's just a newly installed weblogic server)
    Starting WebLogic Server ....
    <Mar 8, 2002 10:40:26 AM PST> <Notice> <Management> <Loading configuration file
    /config/mydomain/config.xml ...>
    <Mar 8, 2002 10:40:35 AM PST> <Notice> <WebLogicServer> <Starting WebLogic Admin
    Server "privoserver" for domain "privodomain">
    <Mar 8, 2002 10:40:45 AM PST> <Error> <HTTP> <[WebAppServletContext(604746,wl_management_internal2,/wl_management_internal2)]
    failure extracting WAR classes
    java.io.IOException: Permission denied
    at java.io.UnixFileSystem.createFileExclusively(Native Method)
    at java.io.File.checkAndCreate(File.java:1162)
    at java.io.File.createTempFile(File.java:1247)
    at weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:71)
    Thanks in advance for your reply!
    Linden

  • Error When Start Weblogic Server

    I build a web application under weblogic, before I package all the project
              into a war file, it runs correctly under weblogic. But after I package it
              into a war file, when I start weblogic , it said that "Error to load
              myapplication".
              I checked my application, and found the error was caused by one line in the
              web.xml. Because I need to do some initialization when start server. I want
              one servlet to be loaded at the time when weblogic server start. There is a
              line in the web.xml like this
              " <load-on-startup>1</load-on-startup> "
              The problem is caused by this line.
              If I delete this line or just remove the number "1", the weblogic can start
              without error. But my initialization work can not be done.
              Could anyone tell me why and how to solve this problem.
              Thanks
              Jerry Chang
              

    I believe this is the error you get when you try to start up a JVM with the commandline option '-native'.
    Remove this flag from your startup script and retry.
    By the way, it may be that you have the environment variable 'JAVA_OPTIONS' set to '-native' in which case:
    (first confirm this is the case)
    $ echo $JAVA_OPTIONS
    -native
    (Then edit the startup script if you get the result above)
    add in a line:
    # To remove '-native' flag
    unset JAVA_OPTIONS
    and retry.
    I have to confess I don't know what the '-native' flag is actually supposed to do, but my JVM also reports back that this is unsupported.

  • Error Starting WebLogic Server 5.1 (SP11)

    Hi,
    I have installed weblogic server 5.1 (SP11) in NT, I tried to start the Weblogic
    Server and got the message "weblogic server started", immediatly after that I
    got the message " IIOP service not started as vm 1.3 was not found". Do you know
    what could be causing these IIOP error message?. Any help.
    Thanks in advance,
    RChandra

    51 SP11 is shipped with IIOP stuff and by default this sub-system is enabled.
    If you don't want IIOP, you can turn it off with the following system property
    -Dweblogic.system.enableIIOP=false weblogic.Server
    Otherwise make sure to start the server with 1.3 VM .
    Kumar
    rchandra wrote:
    Hi,
    I have installed weblogic server 5.1 (SP11) in NT, I tried to start the Weblogic
    Server and got the message "weblogic server started", immediatly after that I
    got the message " IIOP service not started as vm 1.3 was not found". Do you know
    what could be causing these IIOP error message?. Any help.
    Thanks in advance,
    RChandra

Maybe you are looking for

  • How do you print all the photos in your flagged file? I don't want to make these photos into a new event.

    I want to order several photos. I have flagged them and there is no option to select all and order the prints. I don't want to create a new event with these photos, as I want them in their original event files. How are multiple photos ordered/exporte

  • Caching in report query

    I have 2 questions. 1. Theres is cacheQueryResults() method in ReportQuery class. The javadoc says that "This method will instruct the query to cache the results returned by its next execution. All subsequent executions of this query will return this

  • Add certificate to document security

    hi, i want to certify documents through document securirty. i am familar with the api, and there are no questions so far. 1. a x.509 certificate will be ok for certifying documents, isn't it? 2. i read the documentation of document security. i know h

  • How do i run a disk repair?

    how do I run a disk repair?

  • Client Notification Issue

    Hoping someone can point me in the right direction here. Infrastructure: SCCM 2012 R2 CU1: Single Primary Site Server (Server 2012 R2 Update), With MP Role Remote SQL 2012 Server (Server 2012 R2 Update) Second Standalone MP (Server 2012 R2 Update) HT