Unable to start server using startWebLogic.sh

I have worked with WebLogic for sometime, mainly on the Windows and Linux platforms. I am trying to get wl1034 running on a macbook pro running mac osx 10.6 (leopard) and am growing frustrated. I downloaded and installed the software. I then configured a domain, demo.
What I'm confused by is the following. If I start the server by running the following, it seems fine (I can hit the console on port 7001):
export MW_HOME=~/wls1034_dev
. $MW_HOME/wlserver/server/bin/setWLSEnv.sh
java -Dweblogic.management.username=weblogic -Dweblogic.management.password=weblogic123 -Dweblogic.Domain=demo -Dweblogic.Name=AdminServer -Dweblogic.ListenPort=7001 -Dweblogic.management.GenerateDefaultConfig=true -Xmx1024m -Xms1024m -XX:MaxPermSize=256m weblogic.Server
If, however, I try to start using the startWebLogic.sh script in my domain bin directory instead of the explicit java call, like I typically do, I have problems, can't hit the console. It's definitely in a weird state, I can't even ctrl-c kill it normally, I get the error below and have to kill -9.
<Feb 6, 2011 1:13:04 PM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Feb 6, 2011 1:13:04 PM EST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
^CJava HotSpot(TM) 64-Bit Server VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal Unknown Signal to handler- the VM may need to be forcibly terminated
I can run with the first command but I want to understand what the difference is.

I had the same issue on my mac after updating the JVM to version 1.6.0_24.
I had to modify the startWeblogic.sh script and add the following line :
export USER_MEM_ARGS="-XX:MaxPermSize=256m"
so, to answer your question, the difference is that you need to give weblogic more permgen space.
This is done with the JVM arg : -XX:MaxPermSize=xxxm

Similar Messages

  • IFS custom Agent, Unable to start server

    Hi, I want to write a custom agent that is for a extended Folder classobject.
    Whenever a file (Object ) is added to this agent. The object is copied to a remote location.
    Now i have written the class, compiled it and used IFS manager to launch it at startup.
    In IFS log i see the following error
    /* Begin ERROR */
    6/10/02 3:49 PM NodeManager: Initialize: loading server LaunchPadAgent
    6/10/02 3:49 PM NodeManager: Initialize: unable to start server LaunchPadAgent
    oracle.ifs.common.IfsException: IFS-45086: Unable to load server (LaunchPadAgent)
    oracle.ifs.common.IfsException: IFS-45260: Unable to construct server manager (LaunchPadAgent)
    oracle.ifs.common.IfsException: IFS-45261: Unable to construct server oracle.ifs.agents.examples.LaunchPad (error invoking constructor)
         at oracle.ifs.management.domain.ServerManager.<init>(ServerManager.java:81)
         at oracle.ifs.management.domain.NodeManager.loadServer(NodeManager.java:1053)
         at oracle.ifs.management.domain.NodeManager.bootstrap(NodeManager.java, Compiled Code)
         at oracle.ifs.management.domain.NodeManager.access$4(NodeManager.java:1281)
         at oracle.ifs.management.domain.NodeManager$3.run(NodeManager.java:562)
    /* End ERROR */
    I have used the Skeleton of the class from the example given in the IFS documentation. Also available from
    http://technet.oracle.com/docs/products/ifs/doc_library/devguide/agents.htm
    Has anybody come across this error
    Any link will be appriciated.
    Please help us ASAP.
    Regards
    Rakesh

    Rakesh, not sure if I'm on the right track with this suggestion, but I'll volunteer it in case it's useful.
    The error you're seeing might be occurring because the class path provided to the JVM you're starting the Server Manager instance under does not provide access to your new agent .class file. If this is the case, you can likely provide access to your agent by specifying the appropriate directory or jar file reference as the value of the IFS_CUSTOM_CLASSPATH environment variable prior to starting the Server Manager.
    The way that IFS_CUSTOM_CLASSPATH plays in the game is that the canned Oracle startup scripts for the Server Manager first invoke "ifsenv.sh" to setup the commonly needed iFS environment variables such as IFS_CLASSPATH & IFS_CLASSPATH. The setting of those variables includes a reference to $IFS_CUSTOM_CLASSPATH at the appropriate point to include whatever it specifies as part of the class path iFS will run with. This approach provides us folks wishing to customize iFS a way of getting our class implementations into the iFS class path.

  • "Unable to start server kxkb"

    Some global hotkeys are not working on my KDE 4.5.1. Checking the System Settings - Service Manager it turned out that the Keyboard Daemon is not running. Pressing the start button yields to an error message: "Unable to start server kxkb". I dont see anything in the logs, Google doesnt even find the phrase "Unable to start server kxkb." I'm clueless. Help me please.

    As a matter of fact, some hotkeys work, the same as with you. But when I assign a hotkey to a Kmenu item, or Klipper's menu hotkey simply doesnt work.
    After some experimenting, I found that I had to turn on KMenuEdit in Custom Shortcuts for Kmenu item hotkeys. Bit for the life of me, I cannot get Klipper global hotkey to work.

  • Urgent-Starting Server using Console(Unix)

    Hi. Can anyone tell me how to start a WebLogic server using the console
    on Solaris 2.6. I am unable to figure out where it gets the classpath
    and weblogic.class.path from when starting the server using console. I
    want to be able to add some jars to the classpath and
    weblogic.class.path before starting the server. On WinNT there is
    wlconfig which could be used to change the values in the registry but
    for Unix is there a way..
    Thanks a ton.
    Srivats

    Ted,
    Thanks for the reply. Just another question on this-I have added a lot of jar files to the
    WEBLOGICCLASSPATH in my startWebLogic.sh script. I presume since I am starting the server using the
    console I need to add this information(the WEBLOGICCLASSPATH variable) to the startConsole.sh script
    and try running the server again.
    Currently its reporting that its unable to find the server classes which I wrote.
    Aswin.
    Ted Dyer wrote:
    Aswin,
    Sorry for the confusion. When you start the server in the console, you get a dialog window. There
    is a button labled "Advanced..." Click on that and set the "Java Heap (MB)" to 128. That will do
    what you want it to.
    Ted
    Aswin Dinakar <[email protected]> wrote:
    Ted,
    I guess I was not clear on my problem. When I start the weblogic server using the
    weblogic console it doesnt seem to be running the startweblogic.sh script. It seems to be
    running another version of the startweblogic.sh script which I dont know where its getting
    from.
    Aswin.
    Ted Dyer wrote:
    Aswin,
    Did you edit your startConsole.sh? The last line in that file should set your ms and mx.
    It should say something like:
    $JAVA -ms16m -mx48m -classpath $JAVACLASSPATH weblogic.Console
    Changing the ms and mx values here should have the affect you're looking for.
    Ted
    Aswin Dinakar <[email protected]> wrote:
    This is a simple question. I am trying to start the WebLogic Server
    using the WebLogic Console. It seems to be starting the wrong WebLogic
    server.
    When I monitor the log information in the console I see it starts the
    server with a 32ms and a 32mx whereas in my startWebLogic.sh script I
    have specified 128ms and 128mx. How do I make my startconsole.sh script
    read the correct startWebLogic.sh script ? This is on solaris.
    When I ran the script startWebLogic.sh it was able to start up
    completely.
    Thanks.

  • Unable to Start ManagedServer using Console

    Hi,
    I created one Admin Server(prot is 7001) and 1 managed server(name: MS1 , port is 7003) and i try to run managed server, it is run fine after that i deleted entire domain and created domain , also created 1 Admin server and 1 managed server(MS1,7003) with same server name and port numbers then i try to start managed server using console by using startManagedServer.cmd MS1 t3://127.0.0.1:7001 but i got error like ### <1294642894256> <BEA-002606> <Unable to create a server socket for listening on channel "Default". The address 0.0.27.92 might be incorrect or another process is using port 7003: java.net.BindException: Cannot assign requested address: JVM_Bind.>
    Note:: Even i created manager server MS1 with another port number(ex: 7009) then also i got same error
    Pls help any body on this issue???

    Hi,
    You should not delete the domain without stopping the running servers in that domain.
    Try to kill the instance that is already running on 7003 port.
    As you said even on 7009 , you are facing the same problem, try to edit the config.xml and change the listen address to 127.0.0.1 .
    Make sure that you are taking a backup of config.xml before editing.
    Thanks,
    Kartheek
    http://middlewareforum.com

  • Unable to start apps using adstrtal.sh APPS/APPS

    Hi,
    I upgraded oracle apps 11.5.10 to CU2. Now unable to start applications.
    I am getting below erros.
    [oracle@linux1 ~]$ /u01/apps/viscomn/admin/scripts/VIS_linux1/adstrtal.sh APPS/APPS
    You are running adstrtal.sh version 115.14
    /u01/apps/viscomn/util/java/1.4/j2sdk1.4.2_04/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
    Check logfile /u01/apps/viscomn/admin/log/VIS_linux1/12261049.log for details
    [oracle@linux1 ~]$ uname -a
    Linux linux1.lwcky.com 2.6.18-128.el5 #1 SMP Wed Jan 21 07:58:05 EST 2009 i686 athlon i386 GNU/Linux
    [oracle@linux1 ~]$ uname -m
    i686
    [oracle@linux1 ~]$ ldd /u01/apps/viscomn/util/java/1.4/j2sdk1.4.2_04/bin/java
    linux-gate.so.1 => (0x00142000)
    /lib/libcwait.so (0x005fc000)
    libpthread.so.0 => /lib/libpthread.so.0 (0x00110000)
    libdl.so.2 => /lib/libdl.so.2 (0x00b74000)
    libc.so.6 => /lib/libc.so.6 (0x00143000)
    /lib/ld-linux.so.2 (0x00614000)
    before upgrade every thing working great. Not sure whats going on?
    Any ideas?
    Thanks,

    Okay guys, I figure out. adstrtal.sh script calling /u01/apps/visappl/ad/11.5.0/bin/adgetlnxver.sh script and we need to comment LD_ASSUME_KERNEL in adgetlnxver.sh.
    After that everything started successfully.
    Thanks.

  • Unable to start Tomcat using runtime class in windows 98

    hi,
    I am using a runtime class which calls a batch file, that calls statup.bat for starting tomcat.
    This works perfectly in windows NT,2k. But on win 98, the tomcat window opens and closes within no sometime.
    In my class i call the first batch file starter.bat using
    Runtime.getRuntime().exec("%COMSPEC% /c start e:/starter.bat");
    (I tried with command.com also...)
    Starter.bat has the line
    call E:\jakarta-tomcat4.1\bin\startup.bat.
    Is there anyother way to start the tomcat process and keep it running on windows 98. Anyone with anyclues pls help.
    Thanks in advance.

    This is the Runtime class i am using... Sometimes tomcat gets closed and sometimes just hangs... (putting it in for better understanding..)
    public class Starter {
         public static void main(String[] args) {
              String com = "%COMSPEC% /c start
    C:\\PACS\\SFAApp\\tomcat\\startup.bat";
                   try     {               
                        Runtime rt = Runtime.getRuntime();
                        Process pr = rt.exec (com);//Starting tomcat
                        try
                             pr.waitFor();     
                        catch (Exception e)
                             e.printStackTrace();
                   catch (IOException ie) {
                        System.out.println("IOException caught" + ie);
                        ie.printStackTrace();

  • Unable to start OUD using start-ds

    [30/Jan/2015:01:08:11 -0800] category=CORE severity=NOTICE msgID=458886 msg=Oracle Unified Directory 11.1.2.3.0 (build 20140520144820Z, R1405200605) starting up
    [30/Jan/2015:01:08:13 -0800] category=RUNTIME_INFORMATION severity=NOTICE msgID=20381717 msg=Installation Directory:  [30/Jan/2015:01:08:13 -0800] category=RUNTIME_INFORMATION severity=NOTICE msgID=20381719 msg=Instance Directory:      [30/Jan/2015:01:08:13 -0800] category=RUNTIME_INFORMATION severity=NOTICE msgID=20381713 msg=JVM Information: 1.6.0_75-b13 by Sun Microsystems Inc., 64-bit architecture, 4846125056 bytes heap size
    [30/Jan/2015:01:08:13 -0800] category=RUNTIME_INFORMATION severity=NOTICE msgID=20381714 msg=JVM Host: <> running Linux 2.6.18-308.4.1.0.1.el5xen amd64, 12268339200 bytes physical memory size, number of processors available 2
    [30/Jan/2015:01:08:13 -0800] category=RUNTIME_INFORMATION severity=NOTICE msgID=20381715 msg=JVM Arguments: "-Xms4723m", "-Xmx4723m", "-XX:+UseCompressedOops", "-Xmn1g", "-XX:MaxTenuringThreshold=1", "-XX:+UseConcMarkSweepGC", "-XX:CMSInitiatingOccupancyFraction=55", "-Dorg.opends.server.scriptName=start-ds"
    [30/Jan/2015:01:08:14 -0800] category=ACCESS_CONTROL severity=INFORMATION msgID=12582978 msg=Added 10 Global Access Control Instruction (ACI) attribute types to the access control evaluation engine
    [30/Jan/2015:01:08:14 -0800] category=BACKEND severity=INFORMATION msgID=9437595 msg=Local DB backend virtualAcis does not specify the number of lock tables: defaulting to 97
    [30/Jan/2015:01:08:14 -0800] category=JEB severity=NOTICE msgID=8847402 msg=The database backend cn=virtualAcis,cn=Workflow Elements,cn=config containing 0 entries has started
    [30/Jan/2015:01:08:14 -0800] category=BACKEND severity=INFORMATION msgID=9437595 msg=Local DB backend userRoot does not specify the number of lock tables: defaulting to 97
    [30/Jan/2015:01:08:14 -0800] category=BACKEND severity=INFORMATION msgID=9437594 msg=Local DB backend userRoot does not specify the number of cleaner threads: defaulting to 24 threads
    [30/Jan/2015:01:08:14 -0800] category=BACKEND severity=INFORMATION msgID=9437615 msg=Local DB backend userRoot does not specify the percentage of the heap space to allocate to the database cache: defaulting to 45 percent
    [30/Jan/2015:01:08:14 -0800] category=BACKEND severity=INFORMATION msgID=9437613 msg=Local DB backend userRoot does not specify the size of the file handle cache: sizing automatically to use 100 file descriptors
    [30/Jan/2015:01:08:15 -0800] category=JEB severity=NOTICE msgID=8847402 msg=The database backend cn=userRoot,cn=Workflow Elements,cn=config containing 39 entries has started
    [30/Jan/2015:01:08:15 -0800] category=EXTENSIONS severity=INFORMATION msgID=1048797 msg=DIGEST-MD5 SASL mechanism using a server fully qualified domain name of
    [30/Jan/2015:01:08:15 -0800] category=CORE severity=INFORMATION msgID=731 msg=LDAP Connection Handler 0.0.0.0 port 5389 does not specify the number of request handler threads: sizing automatically to use 8 threads
    [30/Jan/2015:01:08:15 -0800] category=CORE severity=INFORMATION msgID=731 msg=LDAP Connection Handler 0.0.0.0 port 5636 does not specify the number of request handler threads: sizing automatically to use 8 threads
    [30/Jan/2015:01:08:15 -0800] category=CORE severity=INFORMATION msgID=720 msg=No worker queue thread pool size specified: sizing automatically to use 24 threads
    [30/Jan/2015:01:08:15 -0800] category=PROTOCOL severity=NOTICE msgID=2556180 msg=Started listening for new connections on Administration Connector 0.0.0.0 port 8444
    [30/Jan/2015:01:08:15 -0800] category=PROTOCOL severity=NOTICE msgID=2556180 msg=Started listening for new connections on LDAP Connection Handler 0.0.0.0 port 5389
    [30/Jan/2015:01:08:15 -0800] category=PROTOCOL severity=NOTICE msgID=2556180 msg=Started listening for new connections on LDAP Connection Handler 0.0.0.0 port 5636
    [30/Jan/2015:01:08:15 -0800] category=CORE severity=NOTICE msgID=458891 msg=The Directory Server has sent an alert notification generated by class org.opends.server.core.DirectoryServer (alert type org.opends.server.DirectoryServerShutdown, alert ID 458893):  The Directory Server has started the shutdown process.  The shutdown was initiated by an instance of class org.opends.server.core.DirectoryServer and the reason provided for the shutdown was An error occurred while trying to start the Directory Server:  CryptoManager failed to publish the instance-key-pair public-key-certificate entry in ADS:  Failed to add entry "ds-cfg-key-id=B2FE9D01AF42799A4BB3232A914B35B8,cn=instance keys,cn=admin data" (id=262812)
    [30/Jan/2015:01:08:20 -0800] category=BACKEND severity=NOTICE msgID=9896306 msg=The backend cn=userRoot,cn=Workflow Elements,cn=config is now taken offline
    [30/Jan/2015:01:08:20 -0800] category=BACKEND severity=NOTICE msgID=9896306 msg=The backend cn=virtualAcis,cn=Workflow Elements,cn=config is now taken offline
    [30/Jan/2015:01:08:20 -0800] category=CORE severity=NOTICE msgID=458955 msg=The Directory Server is now stopped
    Can someone please help in resolving this issue?

    Hello,
    It looks like you are using an interim version of OUD. Please use a supported OUD version.
    The latest publicly available OUD version is OUD 11g R2PS2. See https://blogs.oracle.com/sduloutr/entry/oud_11gr2ps2_11_1_2 to download it.
    A bundle patch is also available on top at that version. See https://blogs.oracle.com/sduloutr/entry/oud_r2ps2_bundle_patch_available for more info about that bundle patch
    -Sylvain
    When closing a thread as answered remember to mark the correct and helpful posts to make it easier for others to find them

  • Workshop 9.2 on XP changed default admin pwrd now unable to start server

    I have installed Weblogic Platform 9.2 that contains Workshop and Weblogic 9.2 on my Windows XP workstation. Everything was working fine until I thought I should change the default Admin username/password which was weblogic/weblogic. I did this by going under the Admin Console and going under the Security Realms and changing the password. But now when I enter workshop and try and start the server it tells me I need to look at the startup script. When I look at the scripts the passwords are encrypted. I have searched on line and found a some information about running some java scripts such as "java weblogic.WLST" or "java weblogic.security.Encrypt" of coarse these don't work and I am not sure if it is because my classpath is incorrect or I have to download some eclipse utilities first. If I had know that changing the default password was going to be such a pain I would of just left it, I have actually set it back to the default but even thought I have set it back to the default I still can not start the server under Workshop. I don't know how to fix this other that just uninstalling and reinstalling

    I think you need to change the password that is stored in your domain (in fileRealm.properties file) as well to start the server. Weblogic's FileRealm ("weblogic.security.acl.internal.FileRealm") utility class can be used to do the same.

  • Not able to start server using  wlst in windows

    hi everyone,
    i am trying to start the weblogic 10.3 server thru wlst using the command
    startServer('AdminServer_name','Domain_Name',"............
    first it used to give an error saying that it is not able get the encrypted username and password from the boot.properties file.
    then i tried copy pasting the username and passwd in the same command and it gives me a error saying
    wlst could not start a new jvm for the server process, this might happen if you have provided illegal jvmArgs or the JVM picked up any illegal JVM_OPTIONS from your path.
    if i mention the JVM parameters same as obtained from the help('startServer') command parameters. it says
    Traceback (innermost last):
    File "(console)", line 1, in?
    File "(iostream)", line 398 , in startServer
    TypeError: startSvr(): 10th arg cant be coerced to int.
    i am desperately trying to get through this error
    please help....
    thank you,
    Roop

    Annoying syntax bug:
    60000 works
    '60000' doesn't
    wls:/offline> startServer( 'AdminServer', 'base_domain', 't3://host:7009', 'weblogic', '****'', '/opt/oracle/bea/user_projects/domains/base_domain', 'true', '60000' )
    Traceback (innermost last):
    File "<console>", line 1, in ?
    File "<iostream>", line 398, in startServer
    TypeError: startSvr(): 10th arg can't be coerced to int
    wls:/offline> startServer( 'AdminServer', 'base_domain', 't3://host:7009', 'weblogic', '***', '/opt/oracle/bea/user_projects/domains/base_domain', 'true', 60000 )
    Starting weblogic server ...
    WLST-WLS-1253908409262: <Sep 25, 2009 3:53:29 PM EDT> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:

  • Help! Unable to start server...

    Hi
    I m facing problem in starting the server even in single user..
    is there any solutions to sort it out?
    ok boot -s
    Resetting ...
    screen not found.
    keyboard not found.
    Keyboard not present. Using ttya for input and output.
    Netra t1 (UltraSPARC-IIi 440MHz), No Keyboard
    OpenBoot 3.10.27 ME, 512 MB memory installed, Serial #16400552.
    Ethernet address 8:0:20:fa:40:a8, Host ID: 80fa40a8.
    Executing last command: boot -s
    Boot device: /pci@1f,0/pci@1,1/scsi@2/disk@0,0:a File and args: -s
    SunOS Release 5.10 Version Generic_118833-36 64-bit
    Copyright 1983-2006 Sun Microsystems, Inc. All rights reserved.
    Use is subject to license terms.
    NOTICE: Can't open /etc/cluster/nodeid
    NOTICE: BOOTING IN NON CLUSTER MODE
    WARNING: init(1M) exited on fatal signal 9: restarting automatically
    WARNING: init(1M) exited on fatal signal 9: restarting automatically
    WARNING: init(1M) exited on fatal signal 9: restarting automatically
    WARNING: init(1M) exited on fatal signal 9: restarting automatically
    WARNING: init(1M) exited on fatal signal 9: restarting automatically
    WARNING: init(1M) exited on fatal signal 9: restarting automatically
    WARNING: init(1M) exited on fatal signal 9: restarting automatically
    WARNING: init(1M) exited on fatal signal 9: restarting automatically
    WARNING: init(1M) exited on fatal signal 9: restarting automatically
    WARNING: init(1M) exited on fatal signal 9: restarting automatically
    WARNING: init(1M) exited on fatal signal 9: restarting automatically
    Regards
    Bala

    Internal bug. Metalink says:
    Add the jar file $ORACLE_HOME/opmn/lib/ons.jar at the beginning of REPORTS_CLASSPATH in the file $ORACLE_INSTANCE/config/reports/bin/reports.sh and restart your reports server.
    Worked for me!

  • Unable to start server in RedHat 7.2

    After doing the install, I run the startWebLogic.sh file and after a few
    moments, I get a bunch of security exceptions and the server dies. Does
    anyone have any ideas on where I can goto to look and see what is going
    wrong?
    Thank you.

    Open startWebLogic.sh
    look for label LINUX)
    substitute the line with
    LINUX | Linux)
    and try again.
    Marco.
    Rex Law <[email protected]> wrote in message
    news:[email protected]..
    Hi everyone,
    Everytime when I try to start WLS in RedHat with the command -
    ./startWebLogic.sh in command line console,
    an error - "Don't know how to set the shared library for Linux" isdisplyed.
    >
    Could anyone help me solve this problem at your earliest conveniencesine
    it is quite urgent to me to solve this problem?
    Thanks in advance

  • Unable to Start server instances created

    Hello Friends,
    I'm kind of newbie with in this area.
    However,i hope i might get a direction to resolve my issues.
    We have a server(Sun Java System Application Server 7 2004Q2UR4) where we have created few instances for deploying our applications on Solaris v9.0 SPARC environment.
    We have confirgured it in the right way and it was working quite long time.
    However,we had a problem with change of timezone earlier and as per the request we have changed /etc/TIMEZONE file and rebooted our server physically.
    now soon after we intially had few space problems and none of the instances were starting in first place.we resolved it by increasing it and made sure that our admin-server instance is starting.
    However,when we are trying to start other instances our JMS is not Accepting any connections what so ever.
    and this what we are encountering.
    # ./startserv
    couldn't set locale correctly
    CORE1116: Sun Java System Application Server 7 2004Q2UR4
    INFO: CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.4.2_12] from [Sun Microsystems Inc.]
    INFO: JMS5035: Timed out after 30000 milliseconds while trying to verify if the JMS service startup succeeded.
    INFO: JMS5036: More details may be available in the log file for the JMS service broker instance ge_domain1_ge_server01. Please refer to the JMS provider documentation for the exact location of this log file.
    SEVERE: JMS5024: JMS service startup failed.
    SEVERE: CORE5071: An error occured during initialization
    com.sun.appserv.server.ServerLifecycleException: [C4003]: Error occurred on connection creation [APPSERVER01:40709]. - cause: java.net.ConnectException: Connection refused
            at com.iplanet.ias.jms.JmsProviderLifecycle.onInitialization(JmsProviderLifecycle.java:247)
            at com.iplanet.ias.server.ApplicationServer.onInitialization(ApplicationServer.java:224)
            at com.iplanet.ias.server.J2EERunner.confPreInit(J2EERunner.java:114)
    Caused by: com.sun.appserv.server.ServerLifecycleException: [C4003]: Error occurred on connection creation [APPSERVER01:40709]. - cause: java.net.ConnectException: Connection refused
            at com.iplanet.ias.jms.JmsProviderLifecycle.onInitialization(JmsProviderLifecycle.java:231)
            ... 2 more
    Caused by: com.sun.messaging.jms.JMSException: [C4003]: Error occurred on connection creation [APPSERVER01:40709]. - cause: java.net.ConnectException: Connection refused
            at com.sun.messaging.jmq.jmsclient.ExceptionHandler.getJMSConnectException(ExceptionHandler.java:233)
            at com.sun.messaging.jmq.jmsclient.ExceptionHandler.handleConnectException(ExceptionHandler.java:180)
            at com.sun.messaging.jmq.jmsclient.PortMapperClient.readBrokerPorts(PortMapperClient.java:191)
            at com.sun.messaging.jmq.jmsclient.PortMapperClient.init(PortMapperClient.java:116)
            at com.sun.messaging.jmq.jmsclient.PortMapperClient.<init>(PortMapperClient.java:54)
            at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPConnectionHandler.<init>(TCPConnectionHandler.java:61)
            at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler.openConnection(TCPStreamHandler.java:102)
            at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnectionOld(ConnectionInitiator.java:291)
            at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(ConnectionInitiator.java:113)
            at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(ConnectionInitiator.java:98)
            at com.sun.messaging.jmq.jmsclient.ProtocolHandler.init(ProtocolHandler.java:613)
            at com.sun.messaging.jmq.jmsclient.ProtocolHandler.<init>(ProtocolHandler.java:1194)
            at com.sun.messaging.jmq.jmsclient.ConnectionImpl.openConnection(ConnectionImpl.java:1949)
            at com.sun.messaging.jmq.jmsclient.ConnectionImpl.init(ConnectionImpl.java:745)
            at com.sun.messaging.jmq.jmsclient.ConnectionImpl.<init>(ConnectionImpl.java:315)
            at com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl.<init>(UnifiedConnectionImpl.java:33)
            at com.sun.messaging.jmq.jmsclient.QueueConnectionImpl.<init>(QueueConnectionImpl.java:32)
            at com.sun.messaging.ConnectionFactory.createQueueConnection(ConnectionFactory.java:72)
            at com.sun.messaging.jmq.admin.jmsspi.JMSAdminImpl.pingProvider(JMSAdminImpl.java:783)
            at com.iplanet.ias.jms.JmsProviderLifecycle.waitForJmsProvider(JmsProviderLifecycle.java:284)
            at com.iplanet.ias.jms.JmsProviderLifecycle.onInitialization(JmsProviderLifecycle.java:224)
            ... 2 more
    Caused by: java.net.ConnectException: Connection refused
            at java.net.PlainSocketImpl.socketConnect(Native Method)
            at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
            at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
            at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
            at java.net.Socket.connect(Socket.java:461)
            at java.net.Socket.connect(Socket.java:411)
            at java.net.Socket.<init>(Socket.java:310)
            at java.net.Socket.<init>(Socket.java:125)
            at com.sun.messaging.jmq.jmsclient.PortMapperClient.readBrokerPorts(Port
    SEVERE: MapperClient.java:171)
            ... 20 more
    SEVERE: CORE3186: Failed to set configurationthe same thing happens with other instances too however the JMS application port is different which quite explainable(40709).
    Am i missing something here other than starting admin-server instance stated in domain.
    I'd be glad if someone can guide me further may be guiding me to the right path would be helpful.i did tried googling on this and tried to search sun resources aswel.
    Thanks in advance !!
    REGARDS,
    RaHuL

    Hi Rahul,
    Remove the /path/AS7/imq/var/instances/domain_instance-name/lock file and try restarting. This file will have the JMS port information. If U remove the lock file and then try starting the instance.
    Thanks,
    Ajeya Krishna K R

  • Unable to start server Instance

    when attempting to start our Server Instance using the admin webpage or from using the startserv script from the bin directory we get the following error:
    WARNING: CORE3283: stderr: X connection to localhost:10.0 broken (explicit kill
    or server shutdown).
    Why would we get this from a command prompt and why would it prevent the server from starting??

    On what OS is this happenning?

  • Unable to start application using JDeveloper 11.1.2.3.0

    Hello,
    I recently migrated to JDeveloper 11.1.2.3.0 from old version of ADF. When I am trying to run the application, I am getting below error,
    <ConfigureListener> <contextInitialized> Critical error during deployment:
    java.lang.NoClassDefFoundError: javax/faces/application/NavigationHandler
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:410)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         at weblogic.utils.classloaders.FilteringClassLoader.findClass(FilteringClassLoader.java:101)
         at weblogic.utils.classloaders.FilteringClassLoader.loadClass(FilteringClassLoader.java:86)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:410)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:410)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:343)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:302)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    I am using JSF 2.0 + ADF 11.1.2.3 + Spring 2.5 + Spring Web Flow 1.0.4. I have defined below 2 listeners,
    <application>
    <navigation-handler>org.springframework.webflow.executor.jsf.FlowNavigationHandler</navigation-handler>
    <variable-resolver>org.springframework.webflow.executor.jsf.DelegatingFlowVariableResolver</variable-resolver>
    </application>
    <lifecycle>
    <phase-listener>com.cassiopae.cassiopae.container.ApplicationFlowPhaseListener</phase-listener>
    </lifecycle>
    ApplicationFlowPhaseListener is custom implementation of Spring web flow FlowPhaseListener. The same application is working properly with previous version of ADF. I have verified faces-config.xml, it contains proper version of JSF.
    The only change I found that, the weblogic server installed with JDeveloper contained older version of jsf-api and jsf-impl.jar. I replaced them with latest version, but that also didn't work.
    - Sujay

    HI Satish,
    Your question is not able to understand. i guess you are looking for  building project with ant tool for deployment.
    plz find the below links
    Building Projects with Ant
    Using Maven In JDeveloper 11.1.2: Build ADF application with Maven using Ant ojdeploy
    One size doesn't fit all: Using ojdeploy and Ant for creating ADF library JARs
    Thanks
    Nitesh

Maybe you are looking for