StartWebLogic.sh

Hi,
When I try to start weblogic server, I get the following error:
Could not load library "/usr/jre1.2.2/lib/sparc/libzip.so", because
ld.so.1: /opt/java/jdk1.2.2/bin/sparc/native_threads/java: fatal:
relocation error: file /usr/jre1.2.2/lib/sparc/libzip.so: symbol
JNU_ThrowNullPointerException: referenced symbol not found
Could not create the Java virtual machine.
Any help to solve this would be appreciated.
Regards, Ram.

It looks like your JDK is misconfigured. Do you have other JDKs installed
on the same machine? What do your environment variables look like?
What scripts are you using to start the server?
Thanks,
Michael
Michael Girdley
BEA Systems Inc
<[email protected]> wrote in message news:[email protected]..
Hi,
When I try to start weblogic server, I get the following error:
Could not load library "/usr/jre1.2.2/lib/sparc/libzip.so", because
ld.so.1: /opt/java/jdk1.2.2/bin/sparc/native_threads/java: fatal:
relocation error: file /usr/jre1.2.2/lib/sparc/libzip.so: symbol
JNU_ThrowNullPointerException: referenced symbol not found
Could not create the Java virtual machine.
Any help to solve this would be appreciated.
Regards, Ram.

Similar Messages

  • Error while starting weblogic in Linux VM using startWebLogic.sh

    I have successfully installed Weblogic 10.3.2, 64 bit, on Linux VM(64 bit).
    After that I created base domain using the configuration wizard.
    Now, when I am tyring to start the weblogic server using startWeblogic.sh from directory .../domains/base_domain/, I get the following error:
    starting weblogic with Java version:
    java version "1.6.0_20"
    Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
    Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)
    Starting WLS with line:
    /usr/java/jdk1.6.0_20/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -Dweblogic.Name=AdminServer -Djava.security.policy=/home/oracle/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.policy -Xverify:none -da -Dplatform.home=/home/oracle/Oracle/Middleware/wlserver_10.3 -Dwls.home=/home/oracle/Oracle/Middleware/wlserver_10.3/server -Dweblogic.home=/home/oracle/Oracle/Middleware/wlserver_10.3/server -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/home/oracle/Oracle/Middleware/patch_wls1032/profiles/default/sysext_manifest_classpath weblogic.Server
    <Aug 8, 2012 9:59:25 AM PDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 16.3-b01 from Sun Microsystems Inc.>
    <Aug 8, 2012 9:59:26 AM PDT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.2.0 Tue Oct 20 12:16:15 PDT 2009 1267925 >
    <Aug 8, 2012 9:59:27 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Aug 8, 2012 9:59:27 AM PDT> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Aug 8, 2012 9:59:27 AM PDT> <Notice> <Log Management> <BEA-170019> <The server log file /home/oracle/Oracle/Middleware/user_projects/domains/base_domain1/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.>
    <Aug 8, 2012 9:59:30 AM PDT> <Error> <Security> <BEA-090870> <The realm "myrealm" failed to be loaded: weblogic.security.service.SecurityServiceException: java.lang.ExceptionInInitializerError.
    weblogic.security.service.SecurityServiceException: java.lang.ExceptionInInitializerError
    at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(CSSWLSDelegateImpl.java:342)
    at weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegateImpl.java:221)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.InitializeServiceEngine(CommonSecurityServiceManagerDelegateImpl.java:1783)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:442)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(CommonSecurityServiceManagerDelegateImpl.java:840)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.ExceptionInInitializerError
    at com.octetstring.vde.util.guid.GuidGenerator.nextGuidInBytes(GuidGenerator.java:125)
    at com.octetstring.vde.util.guid.Guid.<init>(Guid.java:84)
    at com.octetstring.vde.backend.standard.BackendStandard.add(BackendStandard.java:379)
    at com.octetstring.vde.backend.BackendHandler.add(BackendHandler.java:460)
    at com.octetstring.vde.util.LDIF.importLDIF(LDIF.java:279)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.NullPointerException
    at java.lang.System.arraycopy(Native Method)
    at com.octetstring.vde.util.guid.GuidParamGenerator.generateNodeID(GuidParamGenerator.java:47)
    at com.octetstring.vde.util.guid.GuidStateManager.initializeGUIDParameters(GuidStateManager.java:59)
    at com.octetstring.vde.util.guid.GuidStateManager.<init>(GuidStateManager.java:30)
    My host file entry is as follows:
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost
    ::1 localhost6.localdomain6 localhost6
    192.168.1.5 localhost
    Can anyone help getting this issue resolved? Any help would be highly appreciated.
    Thanks
    Mohit

    @Karthik, I tried your suggestion but still the same error.
    @Shaik: As per your suggestion, I created a new base domain, leaving everything as default(listener address as localhost).
    I tried running startWebLogic.sh from this new domain, and I get following error:
    <Aug 8, 2012 11:18:03 AM PDT> <Notice> <Log Management> <BEA-170019> <The server log file /home/oracle/Oracle/Middleware/user_projects/domains/base_domain2/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.>
    <Aug 8, 2012 11:18:04 AM PDT> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: java.lang.AssertionError: Could not obtain the localhost address. The most likely cause is an error in the network configuration of this machine.
    java.lang.AssertionError: Could not obtain the localhost address. The most likely cause is an error in the network configuration of this machine.
    at weblogic.server.channels.AddressUtils$AddressMaker.getLocalHost(AddressUtils.java:38)
    at weblogic.server.channels.AddressUtils$AddressMaker.<clinit>(AddressUtils.java:33)
    at weblogic.server.channels.AddressUtils.getIPAny(AddressUtils.java:124)
    at weblogic.protocol.configuration.ChannelHelper.checkConsistency(ChannelHelper.java:60)
    at weblogic.server.channels.ChannelService.start(ChannelService.java:203)
    Truncated. see log file for complete stacktrace
    Caused By: java.net.UnknownHostException: dhcppc3: dhcppc3
    at java.net.InetAddress.getLocalHost(InetAddress.java:1354)
    at weblogic.server.channels.AddressUtils$AddressMaker.getLocalHost(AddressUtils.java:36)
    at weblogic.server.channels.AddressUtils$AddressMaker.<clinit>(AddressUtils.java:33)
    at weblogic.server.channels.AddressUtils.getIPAny(AddressUtils.java:124)
    at weblogic.protocol.configuration.ChannelHelper.checkConsistency(ChannelHelper.java:60)
    Truncated. see log file for complete stacktrace
    -------------------------------------------------------------------------------------------------------------------------------------------

  • Unable to start admin server service for weblogic (startWebLogic.sh) Linux

    I installed ECM 11g on Linux 64-bit , installed weblogic 12
    so when I try to start admin server service for weblogic (startWebLogic.sh) and following error its showing
    I found solution to give full access permeation for the user , but it's still same issue
    and i am triyng to start services from the users how installed the Weblogic and ECM
    bash-4.1$ '/home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/startWebLogic.sh' .
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
    WLS Start Mode=Development
    CLASSPATH=/home/ecm/Oracle/Middleware/oracle_common/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar:/home/ecm/Oracle/Middleware/patch_wls1211/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/ecm/Oracle/Middleware/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/lib/jvm/jdk1.6.0_33/lib/tools.jar:/home/ecm/Oracle/Middleware/wlserver_12.1/server/lib/weblogic_sp.jar:/home/ecm/Oracle/Middleware/wlserver_12.1/server/lib/weblogic.jar:/home/ecm/Oracle/Middleware/modules/features/weblogic.server.modules_12.1.1.0.jar:/home/ecm/Oracle/Middleware/wlserver_12.1/server/lib/webservices.jar:/home/ecm/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/ecm/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/home/ecm/Oracle/Middleware/oracle_common/soa/modules/commons-cli-1.1.jar:/home/ecm/Oracle/Middleware/oracle_common/soa/modules/oracle.soa.mgmt_11.1.1/soa-infra-mgmt.jar:/home/ecm/Oracle/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrf.jar:/home/ecm/Oracle/Middleware/wlserver_12.1/common/derby/lib/derbyclient.jar:/home/ecm/Oracle/Middleware/wlserver_12.1/server/lib/xqrl.jar:/home/ecm/Oracle/Middleware/Oracle_ECM1/ucm/idc/jlib/idcloader.jar:/home/ecm/Oracle/Middleware/Oracle_ECM1/ucm/idc/components/NativeOsUtils/classes-NativeOsUtils.jar
    PATH=/home/ecm/Oracle/Middleware/wlserver_12.1/server/bin:/home/ecm/Oracle/Middleware/modules/org.apache.ant_1.7.1/bin:/usr/lib/jvm/jdk1.6.0_33/jre/bin:/usr/lib/jvm/jdk1.6.0_33/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/ecm/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 *
    starting weblogic with Java version:
    java version "1.6.0_33"
    Java(TM) SE Runtime Environment (build 1.6.0_33-b04)
    Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03, mixed mode)
    Starting WLS with line:
    /usr/lib/jvm/jdk1.6.0_33/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=AdminServer -Djava.security.policy=/home/ecm/Oracle/Middleware/wlserver_12.1/server/lib/weblogic.policy -Xverify:none -Djava.endorsed.dirs=/usr/lib/jvm/jdk1.6.0_33/jre/lib/endorsed:/home/ecm/Oracle/Middleware/wlserver_12.1/endorsed -da -Dplatform.home=/home/ecm/Oracle/Middleware/wlserver_12.1 -Dwls.home=/home/ecm/Oracle/Middleware/wlserver_12.1/server -Dweblogic.home=/home/ecm/Oracle/Middleware/wlserver_12.1/server -Dcommon.components.home=/home/ecm/Oracle/Middleware/oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=/home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain -Djrockit.optfile=/home/ecm/Oracle/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrocket_optfile.txt -Doracle.server.config.dir=/home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/config/fmwconfig/servers/AdminServer -Doracle.domain.config.dir=/home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/config/fmwconfig -Digf.arisidbeans.carmlloc=/home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/config/fmwconfig/carml -Digf.arisidstack.home=/home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/config/fmwconfig/arisidprovider -Doracle.security.jps.config=/home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/config/fmwconfig/jps-config.xml -Doracle.deployed.app.dir=/home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/servers/AdminServer/tmp/_WL_user -Doracle.deployed.app.ext=/- -Dweblogic.alternateTypesDirectory=/home/ecm/Oracle/Middleware/oracle_common/modules/oracle.ossoiap_11.1.1,/home/ecm/Oracle/Middleware/oracle_common/modules/oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dipm.oracle.home=/home/ecm/Oracle/Middleware/Oracle_ECM1 -Ducm.oracle.home=/home/ecm/Oracle/Middleware/Oracle_ECM1 -Dem.oracle.home=/home/ecm/Oracle/Middleware/oracle_common -Djava.awt.headless=true -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/home/ecm/Oracle/Middleware/patch_wls1211/profiles/default/sysext_manifest_classpath:/home/ecm/Oracle/Middleware/patch_ocp371/profiles/default/sysext_manifest_classpath weblogic.Server
    <Sep 12, 2012 12:08:02 PM EEST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <Sep 12, 2012 12:08:03 PM EEST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <Sep 12, 2012 12:08:03 PM EEST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 20.8-b03 from Sun Microsystems Inc..>
    <Sep 12, 2012 12:08:04 PM EEST> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for 13340309 Thu Feb 16 18:30:21 IST 2012
    WebLogic Server Temporary Patch for 13019800 Mon Jan 16 16:53:54 IST 2012
    WebLogic Server Temporary Patch for BUG13391585 Thu Feb 02 10:18:36 IST 2012
    WebLogic Server Temporary Patch for 13516712 Mon Jan 30 15:09:33 IST 2012
    WebLogic Server Temporary Patch for BUG13641115 Tue Jan 31 11:19:13 IST 2012
    WebLogic Server Temporary Patch for BUG13603813 Wed Feb 15 19:34:13 IST 2012
    WebLogic Server Temporary Patch for 13424251 Mon Jan 30 14:32:34 IST 2012
    WebLogic Server Temporary Patch for 13361720 Mon Jan 30 15:24:05 IST 2012
    WebLogic Server Temporary Patch for BUG13421471 Wed Feb 01 11:24:18 IST 2012
    WebLogic Server Temporary Patch for BUG13657792 Thu Feb 23 12:57:33 IST 2012
    WebLogic Server 12.1.1.0 Wed Dec 7 08:40:57 PST 2011 1445491 >
    <Sep 12, 2012 12:08:06 PM EEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.>
    <Sep 12, 2012 12:08:06 PM EEST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool.>
    <Sep 12, 2012 12:08:06 PM EEST> <Notice> <LoggingService> <BEA-320400> <The log file /home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/servers/AdminServer/logs/AdminServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms, such as Windows.>
    <Sep 12, 2012 12:08:06 PM EEST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/servers/AdminServer/logs/AdminServer.log00009. Log messages will continue to be logged in /home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/servers/AdminServer/logs/AdminServer.log.>
    <Sep 12, 2012 12:08:06 PM EEST> <Notice> <Log Management> <BEA-170019> <The server log file /home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.>
    Sep 12, 2012 12:08:09 PM oracle.security.jps.internal.keystore.file.FileKeyStoreManager openKeyStore
    WARNING: Opening of file based keystore failed.
    <Sep 12, 2012 12:08:09 PM EEST> <Error> <Security> <BEA-090892> <The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: JPS-06514: Opening of file based keystore failed.>
    <Sep 12, 2012 12:08:09 PM EEST> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: JPS-06514: Opening of file based keystore failed.
    weblogic.security.SecurityInitializationException: The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: JPS-06514: Opening of file based keystore failed.
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1402)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1022)
         at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
         at weblogic.security.SecurityService.start(SecurityService.java:148)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         Truncated. see log file for complete stacktrace
    Caused By: oracle.security.jps.JpsRuntimeException: JPS-06514: Opening of file based keystore failed.
         at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:167)
         at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:369)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         Truncated. see log file for complete stacktrace
    Caused By: oracle.security.jps.JpsException: JPS-06514: Opening of file based keystore failed.
         at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPDPService(PolicyUtil.java:2855)
         at oracle.security.jps.internal.policystore.PolicyUtil.getPDPService(PolicyUtil.java:3097)
         at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:164)
         at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:369)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         Truncated. see log file for complete stacktrace
    Caused By: oracle.security.jps.service.keystore.KeyStoreServiceException: JPS-06514: Opening of file based keystore failed.
         at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.openKeyStore(FileKeyStoreManager.java:374)
         at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.doInit(FileKeyStoreServiceImpl.java:104)
         at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<init>(FileKeyStoreServiceImpl.java:76)
         at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<init>(FileKeyStoreServiceImpl.java:66)
         at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(KeyStoreProvider.java:157)
         Truncated. see log file for complete stacktrace
    >
    <Sep 12, 2012 12:08:09 PM EEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED.>
    <Sep 12, 2012 12:08:09 PM EEST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down.>
    <Sep 12, 2012 12:08:09 PM EEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN.>
    bash-4.1$

    Looks to be a cert or keystore issue. How do you have that setup?

  • Cannot find the file 'startWebLogic.cmd"...

    I installed to 7.0+Cajun to d:\bea3 as my beahome. I have two other BEA homes d:\bea
    and d:\bea2. I made my user-domains folder name to be "domains". Otherwise its
    a standard install. I'm on NT.
    When I try and start the WLS server from inside Workshop, I get the following
    error message:
    "Cannot find the file 'startWebLogic.cmd' (or one of its components). Make sure
    the path and filename are correct and that all required libraries are available."
    I dismiss the dialog and Workshop will continue showing a progress bar and I have
    to cancel it.
    Looks like a standard path problem. Is anyone else getting this out of the box?
    Should Workshop.cmd be setting up the path to the sample workshop WLS? An easy
    workaround is to start the server manually outside of Workshop.
    PJL

    Actually, Peter and all,
    No need to send me the files listed below as I woke up after re-reading your
    post. There is an issue we are tracking down with regards to what Mike
    Wooten said on an earlier post and those people running on Windows NT4.x
    only, seems the start command changed somewhat for the better in Win2K.
    If you ARE running on Windows 2000 and you are still seeing the problems
    outlined below, please reply back with the files attached and we will get
    someone on looking at your issue.
    Since this beta is targeted at Win2K and Solaris only, the solution will
    have to be starting it from the start menu which you have mentioned
    previously. We are tracking this as an issue from beta and will probably
    support NT4 for the GA.
    Thanks for letting us know !
    Art
    "Art Becker" <[email protected]> wrote in message
    news:[email protected]...
    Peter,
    Thank you for your question. In order for me to better narrow down the
    problem, would you please either post or send me the Jellybeans.properties
    file from d:\bea2\weblogic700b\samples\workshop and your .Jellybeans (note
    the period at the beginning) from your %systemdrive%\documents and
    settings\%username% folder ?
    This information should help us determine what the issue you are running
    into is. Other people are seeing this issue out of the box though I have
    had trouble reproducing the problem and need some more input to determine
    where it lies.
    The installer should be setting the properties for the "start path"
    correctly during install.
    Thanks,
    Art
    "Peter Laird" <[email protected]> wrote in message
    news:[email protected]...
    I installed to 7.0+Cajun to d:\bea3 as my beahome. I have two other BEAhomes d:\bea
    and d:\bea2. I made my user-domains folder name to be "domains".
    Otherwise
    its
    a standard install. I'm on NT.
    When I try and start the WLS server from inside Workshop, I get thefollowing
    error message:
    "Cannot find the file 'startWebLogic.cmd' (or one of its components).
    Make
    sure
    the path and filename are correct and that all required libraries areavailable."
    I dismiss the dialog and Workshop will continue showing a progress bar
    and
    I have
    to cancel it.
    Looks like a standard path problem. Is anyone else getting this out of
    the
    box?
    Should Workshop.cmd be setting up the path to the sample workshop WLS?
    An
    easy
    workaround is to start the server manually outside of Workshop.
    PJL

  • Run startWeblogic.sh errors in production mode

    Hi,
    I am trying to run the following commands to start the admin server and managed nodes from the commandline on linux:
    domain_dir/bin/startWebLogic.sh &
    domain_dir/bin/startManagedWebLogic.sh managednodename http://localhost:7001 &
    By entering the & i start it as background process to keep the servers running when i close my shell session. When the script asks for the username it is not sent to the scripts because they are already in de background and i recieve the error that 'weblogic is not a command' so it is trying to execute the typed username as a command.
    How can i start weblogic from the command line in the background when in production mode where a username and password is necesarry to start them?
    Kind Regards,
    Andre

    Found the solution on Metalink. In the startManagedWebLogic.sh script there is already a WLS_USER and a WLS_PW property. If you set them and add the same to the startWebLogic.sh script they both can be started.
    WLS_USER="username"
    export WLS_USER
    WLS_PW="password"
    export WLS_PW
    start the adminserver and nodes with
    nohup /weblogic_home/DomainName/bin/startWebLogic.sh &
    nohup /weblogic_home/DomainName/bin/startManagedWebLogic.sh ManagedNodeName1 http://localhost:7001 &
    nohup /weblogic_home/DomainName/bin/startManagedWebLogic.sh ManagedNodeName2 http://localhost:7001 &
    Regards,
    Andre

  • Solution for starting weblogic server 6.1 SP4 after changing of JVM to JDK 1.4 in startweblogic.cmd file

    Hi,
    I am using WebLogic 6.1 SP4 on a windows 2000 system.
    I have changed the JAVA_HOME variable in startweblogic.cmd file to point to j2sdk1.4.0_01
    instead of the default. I have set the weblogic startup password also in the WLS_PW
    variable in startweblogic.cmd file. After this change when i start the server,
    i get the following stack trace error and the server does not start up at all.
    Stack trace:
    java.lang.SecurityException: Unable to locate a login configuration
    at com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:97)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at java.lang.Class.newInstance0(Class.java:296)
    at java.lang.Class.newInstance(Class.java:249)
    at javax.security.auth.login.Configuration$3.run(Configuration.java:221)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.login.Configuration.getConfiguration(Configuratio
    n.java:215)
    at javax.security.auth.login.LoginContext$1.run(LoginContext.java:170)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.login.LoginContext.init(LoginContext.java:167)
    at javax.security.auth.login.LoginContext.<init>(LoginContext.java:393)
    at weblogic.security.internal.ServerAuthenticate.main(ServerAuthenticate
    .java:78)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:210)
    at weblogic.Server.main(Server.java:35)
    Caused by: java.io.IOException: Unable to locate a login configuration
    at com.sun.security.auth.login.ConfigFile.init(ConfigFile.java:206)
    at com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:95)
    For the above problem there is a workaround suggested at this link
    http://www.genuitec.com/products/JDK14_WLS61.pdf
    The same does not happen in WebLogic 7.0 even after i change the default JAVA_HOME
    variable . It starts without any problem.
    So is there any solution given by WebLogic . If so please do let me know.
    Thanks in advance
    Raj Kumar

    Hi,
    I am using WebLogic 6.1 SP4 on a windows 2000 system.
    I have changed the JAVA_HOME variable in startweblogic.cmd file to point to j2sdk1.4.0_01
    instead of the default. I have set the weblogic startup password also in the WLS_PW
    variable in startweblogic.cmd file. After this change when i start the server,
    i get the following stack trace error and the server does not start up at all.
    Stack trace:
    java.lang.SecurityException: Unable to locate a login configuration
    at com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:97)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at java.lang.Class.newInstance0(Class.java:296)
    at java.lang.Class.newInstance(Class.java:249)
    at javax.security.auth.login.Configuration$3.run(Configuration.java:221)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.login.Configuration.getConfiguration(Configuratio
    n.java:215)
    at javax.security.auth.login.LoginContext$1.run(LoginContext.java:170)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.login.LoginContext.init(LoginContext.java:167)
    at javax.security.auth.login.LoginContext.<init>(LoginContext.java:393)
    at weblogic.security.internal.ServerAuthenticate.main(ServerAuthenticate
    .java:78)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:210)
    at weblogic.Server.main(Server.java:35)
    Caused by: java.io.IOException: Unable to locate a login configuration
    at com.sun.security.auth.login.ConfigFile.init(ConfigFile.java:206)
    at com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:95)
    For the above problem there is a workaround suggested at this link
    http://www.genuitec.com/products/JDK14_WLS61.pdf
    The same does not happen in WebLogic 7.0 even after i change the default JAVA_HOME
    variable . It starts without any problem.
    So is there any solution given by WebLogic . If so please do let me know.
    Thanks in advance
    Raj Kumar

  • StartWebLogic.cmd in debug mode

    Can someone help tell me what modifications I need to make in the startWebLogic.cmd file to have the server (WebLogic version is 8.1 SP3) start up in debug mode?
    Thanks.
    gtata

    After several searches on the internet, I did figure out how to do it. This chapter is closed.

  • Configuring startWebLogic.sh for Red Hat Linux 7.2

    I was successful in configuring and executing startWeblogic.cmd, but have not been
    so lucky getting the equivalent to run on Red Hat 7.2 using startWebLogic.sh.
    For starters, even before I began editing startWeblogic.sh and just tried running
    I received the following error:
    : command not found
    : command not found
    : command not found
    : command not found
    startWebLogic.sh: line 59: syntax error near unexpected token `elif'
    'tartWebLogic.sh: line 59: `elif [ ! -f $WL_HOME/lib/weblogic.jar ]; then
    I've included both my startWebLogic.cmd and startWebLogic.sh files so that you
    can see what I'm trying to port to the sh file. I'm hoping I'm close to getting
    this to execute and run within Linux so please accept my thanks in advance to
    anyone who might have some suggestions. Interestingly enough I was able to get
    wls to start using ant, but that is obviously only good for my development env.
    The point being I'm hoping I'm close to reaching a solution.
    Below is what my startWebLogic.cmd file looks like:
    @echo off
    @rem This script can be used to start WebLogic Server. This script ensures that
    @rem the server is started using the config.xml file found in this directory and
    @rem that the CLASSPATH is set correctly. This script contains the following variables:
    @rem
    @rem JAVA_HOME - Determines the version of Java used to start
    @rem WebLogic Server. This variable must point to the
    @rem root directory of a JDK installation and will be set
    @rem for you by the WebLogic Server installer. Note that
    @rem this script uses the hotspot VM to run WebLogic Server.
    @rem If you choose to use a JDK other than the one
    @rem included in the disribution, make sure that the JDK
    @rem includes the hotspot VM. See the WebLogic platform support
    @rem page (http://e-docs.bea.com/wls/platforms/index.html)
    @rem for an up-to-date list of supported JVMs on Windows NT.
    @rem
    @rem When setting these variables below, please use short file names (8.3).
    @rem To display short (MS-DOS) filenames, use "dir /x". File names with
    @rem spaces will break this script.
    @rem
    @rem jDriver for Oracle users: This script assumes that native libraries
    @rem required for jDriver for Oracle have been installed in the proper
    @rem location and that your system PATH variable has been set appropriately.
    @rem For additional information, refer to Installing and Setting up WebLogic
    @rem Server (http://e-docs.bea.com/wls/docs61/install/index.html).
    SETLOCAL
    cd ..\..
    title WebLogic Server
    @rem Set user-defined variables.
    set JAVA_HOME=T:\bea\jdk131
    if "%CLOUDSCAPE_HOME%"=="" set CLOUDSCAPE_HOME=T:\Cloudscape_3.6
    if "%LOG_HOME%"=="" set LOG_HOME=T:\jakarta-log4j-1.2
    if "%JIKES_HOME%"=="" set JIKES_HOME=T:
    if "%BAS_ORACLE_HOME%"=="" (set ORAPATH=) else (set ORAPATH=%BAS_ORACLE_HOME%\ORA90\JDBC\LIB\classes12.zip;%BAS_ORACLE_HOME%\ORA90\JDBC\LIB\nls_charset12.zip;)
    @rem Check that script is being run from the appropriate directory
    if not exist lib\weblogic.jar goto wrongplace
    goto checkJDK
    :wrongplace
    echo startWebLogic.cmd must be run from the config\blueagave directory. 1>&2
    goto finish
    :checkJDK
    if exist "%JAVA_HOME%/bin/javac.exe" goto runWebLogic
    echo.
    echo Javac wasn't found in directory %JAVA_HOME%/bin.
    echo Please edit the startWebLogic.cmd script so that the JAVA_HOME
    echo variable points to the root directory of your JDK installation.
    goto finish
    :runWebLogic
    echo on
    set PATH=.\bin;%PATH%
    set CLASSPATH=.;%ORAPATH%.\lib\weblogic.jar;%CLOUDSCAPE_HOME%\lib\cloudscape.jar;%LOG_HOME%\dist\lib\log4j-1.2.jar;.\config\blueagave\serverclasses
    echo off
    echo.
    echo ***************************************************
    echo * To start WebLogic Server, use the password *
    echo * assigned to the system user. The system *
    echo * username and password must also be used to *
    echo * access the WebLogic Server console from a web *
    echo * browser. *
    echo ***************************************************
    @rem Set WLS_PW equal to your system password for no password prompt server startup.
    set WLS_PW=xxxx
    @rem Cloudscape-specific defines
    set CLOUDSCAPE_DEFINES=-Dcloudscape.system.home=./config/blueagave/data -Dcloudscape.storage.pageCacheSize=200
    -Dcloudscape.language.statementCacheSize=200
    @rem Set Production Mode. When set to true, the server starts up in production
    mode. When
    @rem set to false, the server starts up in development mode. The default is false.
    if "%STARTMODE%"=="" set STARTMODE=true
    @rem Add the following -D option to the JVM WL start-up command (after %CLASS_PATH%)
    to change
    @rem the query execute mode. The default is JDBC_ONLY and the other choices are
    EIS_ONLY,
    @rem BOTH_JDBC and BOTH_EIS (the two "BOTH_XXXX options internally execute both
    versions of the
    @rem query but only the results of the _XXXX form are returned to the query submitter).
    @rem -Dcom.blueagavesoft.query.ExecMode=BOTH_JDBC
    echo on
    "%JAVA_HOME%\bin\java" -hotspot -Xms192m -Xmx192m -XX:MaxPermSize=64m -classpath
    "%CLASSPATH%" -Dweblogic.Domain=blueagave -Dweblogic.Name=baserver -Dbea.home=T:\bea
    -Dweblogic.management.password=%WLS_PW% -Dweblogic.ProductionModeEnabled=%STARTMODE%
    %CLOUDSCAPE_DEFINES% -Djava.security.policy==T:\bea\wlserver6.1/lib/weblogic.policy
    %JAVA_DEBUG% weblogic.Server
    goto finish
    :finish
    cd config\blueagave
    ENDLOCAL
    [startWebLogic.sh]

    Thanks Micheal!
    "Michael Young" <[email protected]> wrote in message
    news:[email protected]..
    Hi.
    download here: http://commerce.bea.com/downloads/weblogic_server.jsp
    installation instructions here:
    http://edocs.bea.com/wls/docs61/install/index.html
    Regards,
    Michael
    Help Needed wrote:
    Hi All
    Where can i download weblogic for red hat linux 7.2? Does that come
    with
    instruction on how to install it and if not where can i find the
    instruction!!
    Any will will be appricated.
    Michael Young
    Developer Relations Engineer
    BEA Support

  • WL 5.1.0 startWebLogic.cmd License Error (works via wlserver.exe)

    I have spent several hours trying to figure out how to start Web Logic 5.1.0
    from the command line or via the startWebLogic.cmd script. The sever starts
    up fine when running bin\wlserver.exe via the start menu or from the command
    line, but my startWebLogic.cmd script comes up with the following errors
    everytime:
    C:\weblogic>startWebLogic.cmd
    $$$$$$$$$$$$$$$$ License Exception $$$$$$$$$$$$$$$$
    Loaded License : C:/weblogic/license/WebLogicLicense.xml
    However Unable to start because :
    No License found for WebLogic
    As well as the fact that: No License found for Tengah
    As well as the fact that: No License found for WebLogic/JDB
    As well as the fact that: No License found for Tengah/JDBC
    As well as the fact that: No License found for jdbcKona/T3
    Here is a version of the startWebLogic.cmd file I was using:
    @echo off
    @rem http://www.weblogic.com/docs51/install/index.html
    SETLOCAL
    set JAVA_HOME=C:\weblogic\jre1_2\jre
    set
    JAVA_CLASSPATH=.\myserver\serverclasses;.\weblogic510spboot.jar;.\classes\bo
    ot;.\eval\cloudscape\lib\cloudscape.jar
    set
    WEBLOGIC_CLASSPATH=.\myserver\serverclasses;.\lib\weblogic510sp.jar;.\licens
    e;.\classes;.\lib\weblogicaux.jar;.\myserver\serverclasses
    %JAVA_HOME%\bin\java -ms64m -mx64m -classpath
    %JAVA_CLASSPATH% -Dweblogic.class.path=%WEBLOGIC_CLASSPATH% -Dweblogic.home=
    . -Djava.security.manager -Djava.security.policy==.\weblogic.policy
    weblogic.Server
    ENDLOCAL
    Here is the output from bin\wlconfig.exe:
    C:\weblogic>bin\wlconfig.exe
    WebLogic startup settings are presently:
    CLASSPATH Prefix C:\weblogic\myserver\serverclasses
    CLASSPATH
    C:\weblogic\myserver\serverclasses;C:\weblogic\jre1_2\lib\to
    ols.jar;C:\weblogic\jre1_2\jre\lib\rt.jar;C:\weblogic\jre1_2\jre\lib\i18n.ja
    r;C:
    \weblogic\license;C:\weblogic\classes\boot;C:\weblogic\classes;C:\weblogic\l
    ib\w
    eblogicaux.jar;C:\weblogic\eval\cloudscape\lib\cloudscape.jar
    JAVA_HOME C:\weblogic\jre1_2
    WEBLOGIC_LICENSEDIR C:\weblogic\license
    WEBLOGIC_HOME C:\weblogic
    system properties:
    java.security.manager
    java.security.policy==C:\weblogic\weblogic.policy
    weblogic.system.home=C:\weblogic
    java.compiler=symcjit
    weblogic.class.path=C:\weblogic\license;C:\weblogic\classes;
    C:\weblogic\myserver\serverclasses;C:\weblogic\lib\weblogicaux.jar
    INITIAL_HEAP 64 MB
    MAX_HEAP 64 MB
    SERVERCLASSPATH
    C:\weblogic\myserver\serverclasses;C:\weblogic\jre1_2\jre\li
    b\rt.jar;C:\weblogic\jre1_2\jre\lib\i18n.jar;C:\weblogic\classes\boot;C:\web
    logi
    c\eval\cloudscape\lib\cloudscape.jar
    Type "wlconfig -help" for program usage.
    I also tried a startWebLogic.cmd file version with absolute paths, but I got
    the same license error. I really can't figure out what I'm doing wrong
    here. What is different between the wlserver.exe executable and the
    startWebLogic.cmd files I'm running?
    @rem http://www.weblogic.com/docs51/install/index.html
    set JAVA_HOME=C:\weblogic\jre1_2\jre
    set PATH=%JAVA_HOME%\bin;%PATH%
    set
    JAVA_CLASSPATH=C:\weblogic\myserver\serverclasses;C:\weblogic\jre1_2\lib\too
    ls.jar;C:\weblogic\jre1_2\jre\lib\rt.jar;C:\weblogic\jre1_2\jre\lib\i18n.jar
    ;C:\weblogic\license;C:\weblogic\classes\boot;C:\weblogic\lib\weblogicaux.ja
    r;C:\weblogic\eval\cloudscape\lib\cloudscape.jar
    set
    WEBLOGIC_CLASSPATH=C:\weblogic\license;C:\weblogic\classes;C:\weblogic\myser
    ver\serverclasses;C:\weblogic\lib\weblogicaux.jar
    java -ms64m -mx64m -classpath
    %JAVA_CLASSPATH% -Dweblogic.class.path=%WEBLOGIC_CLASSPATH% -Dweblogic.home=
    . -Djava.security.manager -Djava.security.policy==C:\weblogic\weblogic.polic
    y -Dweblogic.system.home=C:\weblogic -Djava.compiler=symcjit weblogic.Server

    Thanks for your help Raj. I found out it was a PeopleSoft problem. They
    make us run one of their Java class files to startup the server from the
    command line instead of weblogic.Server. Once I changed it from
    weblogic.Server to PSweblogic, it started correctly.
    Cameron
    "Raj Alagumalai" <[email protected]> wrote in message
    news:[email protected]..
    Cameron,
    Are you running setEnv.cmd before running startweblogic.cmd ?
    The SetEnv.cmd script sets the WL_HOME variable. Make sure you have this
    variable set.
    Alternatively, try adding the absolute path for the license folder (inyour
    case C:\weblogic\license ) in the weblogic.class.path entry in the
    startweblogic.cmd file.
    The server will look for the WebLogicLicense.xml in this folder at startup
    time.
    The reason why the server starts from the start menu is the fact that this
    entry is part of the weblogic.class.path
    From your posting
    weblogic.class.path=C:\weblogic\license;C:\weblogic\classes;C:\weblogic
    \myserver\serverclasses;C:\weblogic\lib\weblogicaux.jar
    Thanks
    Raj Alagumalai

  • Error when startWeblogic

    Hi,
    i have wls 10.3.3 on suse 10 64bit patchset 3, before installing application development runtime the server starts without errors, after installing application development runtime ( ofm_appdev_generic_11.1.1.2.0_disk1_1of1.zip) and extend the domain when i run startWeblogic.sh i get this errors:
    AdminServer.log:
    ####<Jul 27, 2010 1:27:25 PM ART> <Error> <Security> <ows> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1280248045790> <BEA-090892> <The dynamic loading of the OPSS java security policy provider class oracle.security.jps.internal.policystore.JavaPolicyProvider failed due to problem inside OPSS java security policy provider. Exception was thrown when loading or setting the JPSS policy provider. Enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider>
    ####<Jul 27, 2010 1:27:25 PM ART> <Critical> <WebLogicServer> <ows> <AdminServer> <main> <<WLS Kernel>> <> <> <1280248045792> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: The dynamic loading of the OPSS java security policy provider class oracle.security.jps.internal.policystore.JavaPolicyProvider failed due to problem inside OPSS java security policy provider. Exception was thrown when loading or setting the JPSS policy provider. Enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider
    weblogic.security.SecurityInitializationException: The dynamic loading of the OPSS java security policy provider class oracle.security.jps.internal.policystore.JavaPolicyProvider failed due to problem inside OPSS java security policy provider. Exception was thrown when loading or setting the JPSS policy provider. Enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: oracle.security.jps.JpsException: [PolicyUtil] Exception while getting default policy Provider
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1394)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1018)
    any help?
    thanks!

    I have the same problem during the start of Oracle Identity Manager 11G...Admin Server and Managed Server on different machines...
    ####<Dec 2, 2010 5:25:17 PM MSK> <Error> <Security> <asoim.sgp.gazprom.ru> <oim_server1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1291299917129> <BEA-090892> <The dynamic loading of the OPSS java security policy provider class oracle.security.jps.internal.policystore.JavaPolicyProvider failed due to problem inside OPSS java security policy provider. Exception was thrown when loading or setting the JPSS policy provider. Enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: JPS-01538: The default policy provider was not found.>
    ####<Dec 2, 2010 5:25:17 PM MSK> <Critical> <WebLogicServer> <asoim.sgp.gazprom.ru> <oim_server1> <main> <<WLS Kernel>> <> <> <1291299917132> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: The dynamic loading of the OPSS java security policy provider class oracle.security.jps.internal.policystore.JavaPolicyProvider failed due to problem inside OPSS java security policy provider. Exception was thrown when loading or setting the JPSS policy provider. Enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: JPS-01538: The default policy provider was not found.
    weblogic.security.SecurityInitializationException: The dynamic loading of the OPSS java security policy provider class oracle.security.jps.internal.policystore.JavaPolicyProvider failed due to problem inside OPSS java security policy provider. Exception was thrown when loading or setting the JPSS policy provider. Enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: JPS-01538: The default policy provider was not found.
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1394)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1018)
         at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:875)
         at weblogic.security.SecurityService.start(SecurityService.java:141)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: oracle.security.jps.JpsRuntimeException: JPS-01538: The default policy provider was not found.
         at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:273)
         at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:265)
         at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:136)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at java.lang.Class.newInstance0(Class.java:355)
         at java.lang.Class.newInstance(Class.java:308)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1312)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1018)
         at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:875)
         at weblogic.security.SecurityService.start(SecurityService.java:141)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: oracle.security.jps.JpsException: JPS-01538: The default policy provider was not found.
         at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:705)
         at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:271)
         at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:265)
         at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:136)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at java.lang.Class.newInstance0(Class.java:355)
         at java.lang.Class.newInstance(Class.java:308)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1312)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1018)
         at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:875)
         at weblogic.security.SecurityService.start(SecurityService.java:141)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: oracle.security.jps.JpsException: JPS-01514: The default context is missing in jps-config.xml.
         at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:665)
         at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:650)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:650)
         at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:271)
         at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:265)
         at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:136)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at java.lang.Class.newInstance0(Class.java:355)
         at java.lang.Class.newInstance(Class.java:308)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1312)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1018)
         at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:875)
         at weblogic.security.SecurityService.start(SecurityService.java:141)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: oracle.security.jps.service.credstore.CredStoreException: JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException: PKI-02002: Unable to open the wallet. Check password.
         at oracle.security.jps.internal.credstore.ssp.CsfWalletManager.openWallet(CsfWalletManager.java:177)
         at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.doInit(SspCredentialStore.java:218)
         at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.<init>(SspCredentialStore.java:140)
         at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.<init>(SspCredentialStore.java:127)
         at oracle.security.jps.internal.credstore.ssp.SspCredentialStoreProvider.getInstance(SspCredentialStoreProvider.java:115)
         at oracle.security.jps.internal.credstore.ssp.SspCredentialStoreProvider.getInstance(SspCredentialStoreProvider.java:53)
    and help???

  • Configuration of startWebLogic / setDomainEnv files in 8.1

    I've been having some difficulty installing Documentum on Weblogic 8.1 on Windows Server 2003. The difficulties stem from the Documentum installer's assumption that there will be a single startWebLogic.cmd file present in the domain directory that contains a line where JAVA_HOME is set. However, I have noted that the particular configuration that I've created based on a development version of the Weblogic Platform domain contains two files - a startWebLogic file and a separate setDomainEnv.cmd file that is called from the startWebLogic file. I have also seen other configurations in which a setEnv.cmd file is produced instead of the setDomainEnv.cmd file. Does anyone know what the complete list of configuration files are for the various templates and configurations (production or development) that are produced by the Configuration Wizard, or alternatively, what makes the Configuration Wizard decided to include a direct reference to JAVA_HOME in some configurations or make a call to setDomainEnv in others? Thanks!

    Hi Anirban,
    The ESS code can be changed using <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/b4/139525380149a49c8402e22700e4ba/frameset.htm">FPM</a>.
    For more information can refer to this <a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=78371">link</a> also.
    Hope this would be helpful.
    Thanks & regards
    Arun Singh

  • Domain- server (JVM) mapping and startWebLogic.cmd

    I just started using WebLogic 8.1.x on Windows platform and my web application requires a classpath entry to be added to the startWebLogic.cmd. I located this file under bea_home/user_projects/domains/mydomain directory. I noticed that the JVM is started by this file.
    Per documentation, a domain can host one or more servers and each server is a JVM. Although, I created my own servers under the domain, I don't see startWebLogic.cmd in the server directory to control the start/stop of the JVM associated with the server. I don't understand how the startWebLogic.cmd in the domain directory can control one or more servers within a domain. Besides, each server may require its own classpath customization needs and I like to keep the customization at the server level if possible.
    I also like to understand the best practice along these lines. Is it typical to create multiple servers under a domain with each server hosting logically realated applications?
    Any insight would be greatly appreciated.

    Hi,
    What you probably read was that a domain can have one admin and multiple managed servers.
    In the mydomain directory you will find a startWeblogic.cmd - which will start the admin server and you will find a startManagedWeblogic-X.cmd which will start your managed instance called X.
    You can specify the classpath for the managed instance in startManagedWeblogic-X.cmd.
    Hope this helped.
    Regards
    Shikhar

  • StartWebLogic.sh problem

    I am a new tech support person at a comapny and need a little assistance
    getting weblogic up an running. I downloaded and installed the
    evaluation version of WebLogic 5 on a Solaris 8 machine. Orcale is not
    installed on the Sun box, do I need to get it installed for this to work
    correctly. I ask that only because the instructions I downloaded
    mentioned Oracle use with this product. I have some Unix experience, but
    would like a little guidance in the setup of weblogic. I get the
    following when I try to run the startWebLogic.sh script:
    # sh startWebLogic.sh
    LD_LIBRARY_PATH=/opt/weblogic/weblogic/lib/solaris
    Exception in thread "main" java.security.AccessControlException: access
    denied (java.lang.RuntimePermission createSecurityManager )
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.<init>(Throwable.java:94)
    at java.lang.Exception.<init>(Exception.java:42)
    at java.lang.RuntimeException.<init>(RuntimeException.java:47)
    at java.lang.SecurityException.<init>(SecurityException.java:39)
    at
    java.security.AccessControlException.<init>(AccessControlException.java:57)
    at java.security.AccessControlContext.checkPermission(Compiled
    Code)
    at java.security.AccessController.checkPermission(Compiled Code)
    at java.lang.SecurityManager.checkPermission(Compiled Code)
    at java.lang.SecurityManager.<init>(SecurityManager.java:307)
    at
    weblogic.boot.ServerSecurityManager.<init>(ServerSecurityManager.java:11)
    at weblogic.Server.main(Server.java:59)
    at weblogic.Server.main(Server.java:55)
    If anyone can help and point me in the right direction with this, I
    would really appreciate it.
    Thanks,
    Ben
    Benjamin Folk Jr.

    Thanks Filip. I am extremey unfamiliar with Java. I am pasting the top
    portion of my weblogic.policy file. If you don't mind, could you specify
    where the information should go? I appreciate your help.
    Do I need to uncomment any of the other lines ? I have weblogic installed in
    /opt/weblogic/weblogic.
    / If WebLogic is not installed in a root directory, you must only
    // list the first component of the path in the "file:" URL. This is
    // because of a bug in JavaSoft JDK 1.2.1. For example, if you
    // install WebLogic in the "c:/test/weblogic" directory, the first
    // two lines below must be:
    // grant codeBase "file:/c:/test/-" {
    // permission java.io.FilePermission "c:${/}test${/}weblogic${/}-",
    "read,writ
    e,delete,execute";
    // See http://www.weblogic.com/docs51/install/startserver.html for
    // more information about using this policy file.
    // # grant { .... permission java.lang.reflect.ReflectPermission
    "suppressAccess
    Checks"; .... };
    grant codeBase "file:/usr/opt/weblogic/weblogic/-" {
    permission java.io.FilePermission "${/}weblogic${/}-",
    "read,write,delete,exec
    ute";
    permission java.net.SocketPermission "localhost:1-9000",
    "connect,accept,liste
    n,resolve";
    I really appreciate all of your assistance.
    Thanks,
    Ben
    Filip Hanik wrote:
    it looks like you don't have the weblogic.policy specified
    -Djava.security.manager -Djava.security.policy==`pwd`/weblogic.policy
    should be on your java command line
    Filip
    "Benjamin Folk Jr." <[email protected]> wrote in message
    news:[email protected]...
    I am a new tech support person at a comapny and need a little assistance
    getting weblogic up an running. I downloaded and installed the
    evaluation version of WebLogic 5 on a Solaris 8 machine. Orcale is not
    installed on the Sun box, do I need to get it installed for this to work
    correctly. I ask that only because the instructions I downloaded
    mentioned Oracle use with this product. I have some Unix experience, but
    would like a little guidance in the setup of weblogic. I get the
    following when I try to run the startWebLogic.sh script:
    # sh startWebLogic.sh
    LD_LIBRARY_PATH=/opt/weblogic/weblogic/lib/solaris
    Exception in thread "main" java.security.AccessControlException: access
    denied (java.lang.RuntimePermission createSecurityManager )
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.<init>(Throwable.java:94)
    at java.lang.Exception.<init>(Exception.java:42)
    at java.lang.RuntimeException.<init>(RuntimeException.java:47)
    at java.lang.SecurityException.<init>(SecurityException.java:39)
    at
    java.security.AccessControlException.<init>(AccessControlException.java:57)
    at java.security.AccessControlContext.checkPermission(Compiled
    Code)
    at java.security.AccessController.checkPermission(Compiled Code)
    at java.lang.SecurityManager.checkPermission(Compiled Code)
    at java.lang.SecurityManager.<init>(SecurityManager.java:307)
    at
    weblogic.boot.ServerSecurityManager.<init>(ServerSecurityManager.java:11)
    at weblogic.Server.main(Server.java:59)
    at weblogic.Server.main(Server.java:55)
    If anyone can help and point me in the right direction with this, I
    would really appreciate it.
    Thanks,
    Ben
    Benjamin Folk Jr.
    Benjamin Folk Jr.
    Palarco Inc.
    950 West Valley Road
    Wayne, PA 19087-1824
    (610)687-3410
    (610)687-3615(fax)
    [email protected]
    [att1.html]

  • [WLST offline] runWLSToffline.sh deletes WL_HOME in startWeblogic.sh

    We have a small problem with runWLSToffline.sh. The program
    sets WL_HOME to an empty string in startWeblogic.sh.
    StartWeblogic.sh before runWLSToffline.sh is run:
    WL_HOME="/opt/bea/81sp2_hard/weblogic81"
    and after
    WL_HOME=""
    The work around is to make a copy of startWeblogic.sh before
    running runWLSToffline.sh, but is there a solution to the
    problem?
    We use Weblogic 8.1 sp2 on Solaris 9.
    Kind regards,
    Henrik

    Hi,
    I have wls 8.1 sp 4 running on my windows xp. I installed WLST-offline and jython (following the readme.txt that came in the same bundle as wlst). I also set the CLASSPATH as told, and it's now as follows:
    set CLASSPATH=C:\bea\weblogic81\server\lib;C:\bea\weblogic81\server\lib\weblogic.jar;C:\bea\weblogic81\common\lib\config.jar;C:\bea\weblogic81\common\lib\comdev.jar;C:\bea\weblogic81\common\lib\3rdparty.jar;C:\jython\jython.jar;
    All of the jar files are in right positions, but still when I run the command "runWLSToffline.cmd" (in $WL_HOME\common\bin) I get the following output:
    D:\bea\weblogic81\common\bin>java com.bea.plateng.domain.script.jython.WLST_offline
    Traceback (innermost last):
    File "initWls.py", line 7, in ?
    TypeError: cannot lazy load PyObject subclass
    What to do?
    please help, its very urget,
    Thanks so much in advance
    Regards,
    Bheemu

  • Unix - File Descriptors in startWeblogic.sh

    Looking at the script - if the HARD limit is 1024, then the
    script leaves the soft limit as is (usually at 64).
    This doesn't make sense to me.
    What is it that I don't understand here?
    MIke
    maxfiles=`ulimit -H -n`
    if [ ! $? -a "$maxfiles" != 1024 ]; then
    if [ "$maxfiles" = "unlimited" ]; then
    maxfiles=1025
    fi
    if [ "$maxfiles" -lt 1024 ]; then
    ulimit -n $maxfiles
    else
    ulimit -n 1024
    fi
    fi
    Mike

    Hi,
    You're running startWebLogic.sh, so I'm assuming this is on a *nix platform.  Assuming that's the case, reboot your system (to make sure you have a clean start), then try running:
    netstat -an|grep 7001
    to see if there is something actually listening on port 7001.
    If you do find something that is already listening on port 7001, try doing:
    ps -ef | more
    and review the output from that, to see if you can try to figure out what might be listening on port 7001.
    Jim

  • StartWebLogic.sh starts managed server

    Hi,
    When I try to start the weblogic AdminServer using startWebLogic.sh, it starts the managed server, instead of the Admin Server. This is a new install of WL Server 10.3.4. I also tried the option startWebLogic.sh -DwebLogic.name=AdminServer
    Not sure, if any of the options chosen during install, is causing this problem. I checked the setDomainEnv.sh file and everything looks fine. After install, I added the boot.properties file for AdminServer in the security folder.
    Pl. let know, if anyone has this issue and any suggestions to overcome this problem.
    Thanks
    Ram B.

    Hello,
    Use below scripts to sort out things.
    startAdminwls.sh
    #!/bin/bash
    NODE_NAME=AdminServer
    DOMAIN_HOME="<domain_path>"
    LOG_OUTPUT1=${DOMAIN_HOME}/logs/${NODE_NAME}.out
    LOG_OUTPUT2=${DOMAIN_HOME}/logs/${NODE_NAME}.log
    # Place all Java Memory arugments here
    #OPTIONAL
    USER_MEM_ARGS="-Xms1024m -Xmx1024m -XX:MaxPermSize=512m -XX:NewRatio=2 -XX:SurvivorRatio=8"
    export USER_MEM_ARGS
    cd ${DOMAIN_HOME}/bin/
    ./startWebLogic.sh >& ${LOG_OUTPUT1} &
    echo "To view the log files copy the following line. Control-c to exit:"
    echo "tail -f ${LOG_OUTPUT1}"
    echo "tail -f ${LOG_OUTPUT2}"
    startManagedwls.sh
    #!/bin/bash
    NODE_NAME=*<ManagedServerName>*
    ADMIN_PORT=*<admin_port>*
    ADMIN_SERVER_HOST=*<admin_server_host>*
    DOMAIN_HOME="<domain_path>"
    # Place all Java Memory arugments here #OPTIONAL
    USER_MEM_ARGS="-Xms1024m -Xmx1024m -XX:MaxPermSize=256m -XX:NewRatio=2 -XX:SurvivorRatio=8"
    # Place all non-standard JavA properties and settings (i.e. -D and -X options)
    JAVA_OPTIONS=""
    export USER_MEM_ARGS JAVA_OPTIONS
    LOG_OUTPUT1=${DOMAIN_HOME}/logs/${NODE_NAME}.out
    LOG_OUTPUT2=${DOMAIN_HOME}/logs/${NODE_NAME}.log
    cd ${DOMAIN_HOME}/bin/
    ./startManagedWebLogic.sh ${NODE_NAME} t3://${ADMIN_SERVER_HOST}:${ADMIN_PORT} >& ${LOG_OUTPUT1} &
    echo "To view the log files copy the following line. Control-c to exit:"
    echo "tail -f ${LOG_OUTPUT1}"
    echo "tail -f ${LOG_OUTPUT2}"
    Thanks,
    Sunil N
    Edited by: Sunil Nandargi on May 20, 2011 2:34 PM

Maybe you are looking for