How to start weblogic instance using wlserv ant task

Hi,
Iam using weblogic 8.1
Iam trying to write build script which starts remote weblogic instance and does deploy using wldeploy and restarts the instance.
First iam trying with starting weblogic.
==============================
<wlserver
               dir="${server.project.root.dir}"
               domainName="${weblogic.domain.name}"
               serverName="${weblogic.server.name}"
               host="10.106.90.50"
               port="8001"
               generateConfig="true"
               productionModeEnabled="false"
               weblogicHome="${weblogic.home}/weblogic81"
          username="weblogic"
               password="password"
               args = "-XX:MaxPermSize=512M -Xms256m -Xmx512m"
               action="start">
               <classpath refid="weblogic.classpath"/>
          </wlserver>
==============================
Iam getting an issue here , it starts the weblogic but automatically it stops the weblogic , without any exception.
as per their documentation
"When you use the wlserver task in an Ant script, the task does not return control until the specified server is available and listening for connections. If you start up a server instance using wlserver, the server process automatically terminates after the Ant VM terminates. If you only connect to a currently-running server using the wlserver task, the server process keeps running after Ant completes."
I understand what they are saying , but what is the remedy to it , how to rectify it. I tried starting default server it gives NPE.
ITs kinda very urgent for me any help , or available scripts will be very use ful.
Thanks in advance.

meghab,
Thanks for the reply.
I tried using java task , now the server is starting sucessfully but iam getting exception while starting the Queue.
Here is my ant task.
===================================
<target name="weblogicrun">
          <java fork="yes" dir="${weblogic.domain.dir}" classpathref="weblogic-classpath" classname="weblogic.Server">
               <jvmarg value="-server"/>
               <jvmarg value="-Dweblogic.Name=MyAppServer"/>
               <jvmarg value="-Dweblogic.RootDirectory=${weblogic.config.dir}"/>
               <jvmarg value="-Xms256m"/>
               <jvmarg value="-Xmx512m"/>
               <jvmarg value="-XX:MaxPermSize=128m"/>
               <jvmarg value="-da"/>
               <jvmarg value="-Dplatform.home=D:/bea"/>
               <jvmarg value="-Dwls.home=D:/bea/weblogic81/server"/>
               <jvmarg value="-Dweblogic.ProductionModeEnabled=false"/>
               <jvmarg value="-Djava.security.policy=D:/bea/weblogic81/server/lib/weblogic.policy"/>
          </java>
     </target>
===================================
In my project i have default queue , it gives INSTANTIATION EXCEPTION while trying to invoke weblogic.jms.common.DestinationImpl
==================================
java.lang.InstantiationError: weblogic.jms.common.DestinationImpl
=====================================
Iam providing the config information from config.xml
<JMSServer Name="WSStoreForwardInternalJMSServerMyServer"
Store="FileStore" Targets="MyAppServer">
<JMSQueue CreationTime="1179819623120"
JNDIName="jms.internal.queue.WSStoreForwardQueue"
JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSStoreForwardQueueCCAppServer"/>
<JMSQueue CreationTime="1179819623511"
JNDIName="jms.internal.queue.WSDupsEliminationHistoryQueue"
JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSDupsEliminationHistoryQueueMyAppServer"/>
</JMSServer>
=========================================
The full exception stack is below...
[java] <Oct 11, 2007 1:54:28 PM IST> <Notice> <WebLogicServer> <BEA-000327> <Starting WebLogic Admin Server "MyAppServer" for domain "MyAppDomain">
[java] <Oct 11, 2007 1:54:41 PM IST> <Error> <JMS> <BEA-040368> <The following exception has occurred:
[java] java.lang.InstantiationError: weblogic.jms.common.DestinationImpl
[java] at weblogic.jms.backend.BEDestination.initialize(BEDestination.java:801)
[java] at weblogic.jms.backend.BEDestination.initialize(BEDestination.java:341)
[java] at weblogic.jms.backend.BackEnd.createDestination(BackEnd.java:1952)
[java] at weblogic.jms.backend.BackEnd.initialize(BackEnd.java:667)
[java] at weblogic.jms.JMSService.addJMSServer(JMSService.java:2247)
[java] at weblogic.jms.JMSService.addDeployment(JMSService.java:2031)
[java] at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:337)
[java] at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:597)
[java] at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:575)
[java] at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:241)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:324)
[java] at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:755)
[java] at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:734)
[java] at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:516)
[java] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
[java] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
[java] at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:990)
[java] at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:948)
[java] at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:948)
[java] at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:475)
[java] at weblogic.management.configuration.ServerMBean_Stub.updateDeployments(ServerMBean_Stub.java:7731)
[java] at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments(SlaveDeployer.java:1321)
[java] at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:339)
[java] at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
[java] at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136)
[java] at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965)
[java] at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360)
[java] at weblogic.Server.main(Server.java:32)
Am i missing something.
Thanks in advance.
Edited by rdayalan at 10/11/2007 1:45 AM

Similar Messages

  • Exception starting server when using wlserver Ant task

    Hello All:
    When attempting to start my server using the wlserver Ant task, i receive the following error:
    [wlserver] java.lang.NoClassDefFoundError: weblogic/Server
    [wlserver] Exception in thread "main"
    [wlserver] Error in server execution
    my snippet is as follows:
    <target name="start-server">
    <wlserver beahome="C:\bea" weblogichome="c:\bea\weblogic81" host="localhost"
                        port="7001" username="weblogic" domainname="mydomain" password="weblogic"
                        servername="myserver" action="start"/>
    </target>
    It seems as if it should work fine. Anybody have any solutions? Thanks in advance.
    Ricky

    Ricky,
    You have to add the weblogic JARs to the classpath of the wlserver task.
    add something similar to the following (bold text are additions):
    <path id="classpath.weblogic">
    <fileset dir="c:/bea/weblogic81/server/lib">
    <include name="weblogic_sp.jar" />
    <include name="weblogic.jar" />
    <include name="webserviceclient.jar" />
    </fileset>
    </path>
    <target name="start-server">
    <wlserver beahome="C:\bea" weblogichome="c:\bea\weblogic81" host="localhost"
    port="7001" username="weblogic" domainname="mydomain" password="weblogic"
    servername="myserver" action="start" classpathref="classpath.weblogic"/>
    </target>
    --Peter                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Problems with wlserver ant task for WL 8.1

    hi
    i have a problem with using wlserver ant task for Weblogic 8.1
    basically i want to start the server that is already preconfigured and deploy
    one ear.
    here's what i do:
    <taskdef name="wlserver" classname="weblogic.ant.taskdefs.management.WLServer">
    <classpath refid="lib.classpath"/>
    </taskdef>
    <wlserver action="start" dir="D:/BEA/user_projects/domains/mydomain"
    output="wls81.log"/>
    (and then the deployment task - irrelevant here)     
    the classpath is generated automatically and includes all jars in the specific
    project directory:
         <path id="lib.classpath">
         <fileset dir="${proj.lib.dir}">
              <include name="**/*.jar"/>
         </fileset>
         </path>
    (weblogic.jar is there as well)
    the problem is when i run it, the following happens:
    - if i have action="start" (or no action attribute at all), i get the following
    exception:
    java.lang.NullPointerException
    at weblogic.Home.<init>(Home.java:29)
    at weblogic.Home.getInstance(Home.java:86)
    at weblogic.Home.getPath(Home.java:94)
    at weblogic.Home.getFile(Home.java:99)
    at weblogic.ant.taskdefs.management.WLServer.execute(WLServer.java:260)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
    at org.apache.tools.ant.Task.perform(Task.java:341)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    at org.apache.tools.ant.Main.runBuild(Main.java:609)
    at org.apache.tools.ant.Main.start(Main.java:196)
    at org.apache.tools.ant.Main.main(Main.java:235)
    - if i change it to action="startup" as specified on "wlserver Ant Task Reference"
    it seems that this task is skipped completely. no error messages, no stack trace,
    nothing. i tried -verbose and -debug options on ant, but there're no logs displayed
    whatsoever. it takes less than a second to run this task so i presume it's just
    getting skipped completely.
    i run this from the standalone Ant 1.5.4 on Windows environment.
    i've followed the topic "wlserver Ant task for WebLogic 8.1" where kind of similar
    problem is described but putting weblogic.jar on the system CLASSPATH is not an
    option for this project.
    anyone has any idea about how to get this going?
    cheers
    Andrei

    sounds bug to me. NPE should be correctly handled with appropriate error
    message. Please contact BEA support to log the call.
    "Andrei Rusakou" <[email protected]> wrote in message
    news:[email protected]...
    >
    hi
    i have a problem with using wlserver ant task for Weblogic 8.1
    basically i want to start the server that is already preconfigured anddeploy
    one ear.
    here's what i do:
    <taskdef name="wlserver"classname="weblogic.ant.taskdefs.management.WLServer">
    <classpath refid="lib.classpath"/>
    </taskdef>
    <wlserver action="start" dir="D:/BEA/user_projects/domains/mydomain"
    output="wls81.log"/>
    (and then the deployment task - irrelevant here)
    the classpath is generated automatically and includes all jars in thespecific
    project directory:
    <path id="lib.classpath">
    <fileset dir="${proj.lib.dir}">
    <include name="**/*.jar"/>
    </fileset>
    </path>
    (weblogic.jar is there as well)
    the problem is when i run it, the following happens:
    - if i have action="start" (or no action attribute at all), i get thefollowing
    exception:
    java.lang.NullPointerException
    at weblogic.Home.<init>(Home.java:29)
    at weblogic.Home.getInstance(Home.java:86)
    at weblogic.Home.getPath(Home.java:94)
    at weblogic.Home.getFile(Home.java:99)
    atweblogic.ant.taskdefs.management.WLServer.execute(WLServer.java:260)
    atorg.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
    at org.apache.tools.ant.Task.perform(Task.java:341)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    at org.apache.tools.ant.Main.runBuild(Main.java:609)
    at org.apache.tools.ant.Main.start(Main.java:196)
    at org.apache.tools.ant.Main.main(Main.java:235)
    - if i change it to action="startup" as specified on "wlserver Ant TaskReference"
    it seems that this task is skipped completely. no error messages, no stacktrace,
    nothing. i tried -verbose and -debug options on ant, but there're no logsdisplayed
    whatsoever. it takes less than a second to run this task so i presume it'sjust
    getting skipped completely.
    i run this from the standalone Ant 1.5.4 on Windows environment.
    i've followed the topic "wlserver Ant task for WebLogic 8.1" where kind ofsimilar
    problem is described but putting weblogic.jar on the system CLASSPATH isnot an
    option for this project.
    anyone has any idea about how to get this going?
    cheers
    Andrei

  • How can configure weblogic for use Hibernate

    Hello everybody, my question is how can I configureit weblogic for use hibernate.
    I'm using JDeveloper 11g but I did not show any error when I run my jsp page, the page shows me all, but it is as if it never made the connection. the data of my table are empty.
    Thanks for your answers.

    thanks for answer. The jar was wrong, now I get not error, but also does not show me anything on my board ADF. seems to not connect. this is what I get in your log JDeveloper:
    C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m
    WLS Start Mode=Development
    CLASSPATH=;C:\Oracle\MIDDLE~1\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.5/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\Middleware\jdeveloper\modules\features\adf.share_11.1.1.jar;;C:\Oracle\MIDDLE~1\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;;
    PATH=C:\Oracle\MIDDLE~1\patch_wls1030\profiles\default\native;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;C:\Oracle\MIDDLE~1\patch_cie660\profiles\default\native;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.5\bin;C:\Oracle\MIDDLE~1\JDK160~1\jre\bin;C:\Oracle\MIDDLE~1\JDK160~1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Archivos de programa\Intel\DMIX;C:\Archivos de programa\Java\jdk1.6.0\bin;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    * 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_05"
    Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
    Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)
    Starting WLS with line:
    C:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -Xmx512m -Djbo.34010=false -Xverify:none -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Ddomain.home=C:\Oracle\MIDDLE~1\JDEVEL~1\system\SYSTEM~1.88\DEFAUL~1 -Doracle.home=C:\Oracle\Middleware\jdeveloper -Doracle.security.jps.config=C:\Oracle\MIDDLE~1\JDEVEL~1\system\SYSTEM~1.88\DEFAUL~1\config\oracle\jps-config.xml -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\patch_wls1030\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_cie660\profiles\default\sysext_manifest_classpath -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
    <06-02-2009 10:50:27 AM VET> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
    C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\lib\antlr-2.7.6.jar;C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\lib\asm.jar;C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\lib\cglib-2.1.3.jar;C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\lib\commons-collections-3.2.jar;C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\lib\commons-logging-1.0.4.jar;C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\lib\dom4j-1.6.1.jar;C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\lib\hibernate3.jar;C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\lib\jdom.jar;C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\lib\jta.jar;C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\lib\jtds-1.2.jar;C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\lib\log4j-1.2.14.jar;C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\lib\mysql-connector-java-3.1.7-bin.jar;C:\Oracle\Middleware\patch_wls1030\profiles\default\sysext_manifest_classpath\weblogic_ext_patch.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_TW.jar>
    <06-02-2009 10:50:28 AM VET> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 10.0-b19 from Sun Microsystems Inc.>
    <06-02-2009 10:50:28 AM VET> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for CR380042 Thu Sep 11 13:33:40 PDT 2008
    WebLogic Server Temporary Patch for 7372756 Fri Sep 12 17:05:44 EDT 2008
    WebLogic Server Temporary Patch for CR381265 Wed Oct 08 10:15:58 PDT 2008
    WebLogic Server Temporary Patch for CR380913 Wed Oct 15 13:24:22 PDT 2008
    WebLogic Server Temporary Patch for CR381739 Tue Oct 21 14:06:14 IST 2008
    WebLogic Server 10.3 Mon Aug 18 22:39:18 EDT 2008 1142987 >
    <06-02-2009 10:50:29 AM VET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <06-02-2009 10:50:29 AM VET> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <06-02-2009 10:50:29 AM VET> <Notice> <Log Management> <BEA-170019> <The server log file C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
    <06-02-2009 10:50:32 AM VET> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <06-02-2009 10:50:36 AM VET> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddi was not deployed. Error: [Deployer:149158]No application files exist at 'C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddi.war'.>
    <06-02-2009 10:50:36 AM VET> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddiexplorer was not deployed. Error: [Deployer:149158]No application files exist at 'C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddiexplorer.war'.>
    <06-02-2009 10:50:37 AM VET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <06-02-2009 10:50:37 AM VET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <06-02-2009 10:50:38 AM VET> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <06-02-2009 10:50:38 AM VET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <06-02-2009 10:50:38 AM VET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <06-02-2009 10:50:38 AM VET> <Warning> <Server> <BEA-002611> <Hostname "FAMILIA_KAWAIDA.mshome.net", maps to multiple IP addresses: 10.0.0.1, 201.222.105.26, 127.0.0.1>
    <06-02-2009 10:50:38 AM VET> <Warning> <Server> <BEA-002611> <Hostname "FAMILIA_KAWAIDA", maps to multiple IP addresses: 10.0.0.1, 201.222.105.26, 127.0.0.1>
    <06-02-2009 10:50:38 AM VET> <Warning> <Server> <BEA-002611> <Hostname "localhost", maps to multiple IP addresses: 10.0.0.1, 201.222.105.26, 127.0.0.1>
    <06-02-2009 10:50:38 AM VET> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <06-02-2009 10:50:38 AM VET> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 201.222.105.26:7101 for protocols iiop, t3, ldap, snmp, http.>
    <06-02-2009 10:50:38 AM VET> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <06-02-2009 10:50:38 AM VET> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
    <06-02-2009 10:50:38 AM VET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <06-02-2009 10:50:38 AM VET> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    DefaultServer startup time: 16953 ms.
    DefaultServer started.
    [Running application TVB on Server Instance DefaultServer...]
    ---- Deployment started. ---- Feb 6, 2009 10:50:43 AM
    Target platform is (Weblogic 10.3).
    Running dependency analysis...
    2009-02-06 10:50:43.64: Writing WAR file to C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\TVB\TVB-TVB-webapp
    2009-02-06 10:50:43.687: Wrote WAR file to C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\TVB\TVB-TVB-webapp
    2009-02-06 10:50:43.906: Writing EAR file to C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\TVB
    2009-02-06 10:50:43.921: Wrote EAR file to C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\TVB
    Deploying Application...
    <06-02-2009 10:50:47 AM VET> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application TVB is not versioned.>
    06-02-2009 10:50:47 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
    INFO: Cleaning up application state
    ADF Library non-OC4J post-deployment (millis): 16
    06-02-2009 10:51:08 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
    ADVERTENCIA: A duplicate definition for the feature "AdfDvtGraph" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/TVB/6mq9lg/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
    06-02-2009 10:51:08 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
    ADVERTENCIA: A duplicate definition for the feature "AdfDvtGauge" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/TVB/6mq9lg/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
    06-02-2009 10:51:08 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
    ADVERTENCIA: A duplicate definition for the feature "AdfRichPivotTable" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/TVB/6mq9lg/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
    Application Deployed Successfully.
    Elapsed time for deployment: 26 seconds
    ---- Deployment finished. ---- Feb 6, 2009 10:51:09 AM
    Run startup time: 26766 ms.
    [Application TVB deployed to Server Instance DefaultServer]
    Target URL -- http://127.0.0.1:7101/TVB-TVB-context-root/faces/seguridad/grupo.jspx
    06-02-2009 10:51:17 AM oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImpl setLifecycleContextBuilder
    ADVERTENCIA: ADFc: Sustituyendo la implementación del ciclo de vida de la página de ADF por 'oracle.adfinternal.controller.application.model.JSFDataBindingLifecycleContextBuilder'.
    06-02-2009 10:51:17 AM oracle.as.jmx.framework.PortableMBeanFactory setJMXFrameworkProviderClass
    INFO: Marco portátil JMX inicializado con el SPI de plataforma "class oracle.as.jmx.framework.wls.spi.JMXFrameworkProviderImpl"
    06-02-2009 10:51:17 AM oracle.adfinternal.controller.util.model.AdfmInterface initialize
    INFO: ADFc: BindingContext está presente, utilizando las API de ADFm para DataControlFrames.
    06-02-2009 10:51:17 AM oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider <init>
    INFO: ADFc: Almacenamiento de recursos de metadatos de MDS en la caché del controlador ACTIVADO.
    06-02-2009 10:51:17 AM oracle.adf.controller.internal.metadata.MetadataService$Bootstrap add
    INFO: ADFc: Cargando metadatos de inicialización de '/WEB-INF/adfc-config.xml'.
    thanks in advance for your response.

  • How to start Weblogic 10.3.5 managed server on port 80

    Hello,
    We're trying to understand how to start Weblogic as root so we can start on port 80 on Linux. We understand that we'll use the post bind UID to run as a non-priv user. Right now in the Admin console under the managed server, Server Start properties (node manager) we have the weblogic user as the user to start the server, which works. Is this where we'd put the root user? We tried that but it fails complaining about root user didn't have permission to start the server. Can someone shed some light?
    Thanks

    Hi
    1. You are asking for 2 things here:
    a) Start Weblogic as root user ?
    Before I answer this question, who (Which User) installed Weblogic Software and who created Domain. I hope its NOT root user. Usually its not preferable to use root account for this. Instead create a new user account like for example oracle or some xyz. Then login with that account. Install Weblogic and create any Domain. I would NOT prefer/recommend using root account to install weblogic. This means, I would not recommend/support to start weblogic as root user. The thing is when you install weblogic, it stores/creates lots of files/scripts. Now when you start, it has to be same user. Because at the startup, we need to read files and also CREATE lots of temp files under domain root folder. So on unix, this becomes very complex. Simple answer is if you install weblogic and domain with user say "xyz" and try to start domain with "root", you corrupted your entire domain. Some files gets changed to root user and some files just FAIL saying you do not have permissions. So its just gone. If you are a Unix Geek, do some magic and restore all permissions back.
    b) Start Weblogic at Port 80
    Very Simple. Forget about above thing. Install Weblogic and create domain say with user "xyz". Just go to domain root folder, open config/config.xml file and edit the localport to 80. By default at time of domain creation if you used all the defaults like port 7001, then you will NOT see this entry in config.xml file. But still you can edit config.xml file manually. Stop the servers. Add a section with listen-port as 80. Just refer docs for the steps. After this change, your weblogic server is now running at port 80. NOW, the main precautions is make sure that you do NOT have any other stuff running at the same port 80. Otherwise, Weblogic server startup will fail saying port 80 is already is in use.
    Now if you want both a) and b), still it is possible. But I would NOT want/recommend a), which is use "root" account to install weblogic server and create and start the Domain. Nope, totally not recommending and supporting this. Yes, port 80 can be used, but not the "root" account.
    Thanks
    Ravi Jegga

  • How to start weblogic in debug mode ? and how to set the eclipse in the deb

    how to start weblogic in debug mode ? and how to set the eclipse in the debug

    Put this in JAVA_OPTIONS :
    Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=3999,suspend=y,server=y
    After restarted weblogic, in eclipse set your breakpoint , open debug perspective then choose Remote Java Appliction and configure Connection Properties (host=localhost and port=3999)

  • How to start WebLogic in Linux?

    Could you tell me how to start WebLogic 5.1 in KDE?
    Best Regards,

    You need to open up a terminal session (Try xterm).
    Change the directory to wherever you installed Weblogic (/home/Weblogic/) or
    something along those lines. (cd is the command that you want)
    Run the scripts located in that directory as specified in the Unix
    documentation.
    Thanks,
    Michael
    Michael Girdley
    Product Manager, WebLogic Server & Express
    BEA Systems Inc
    "Rex Law" <[email protected]> wrote in message
    news:3971bdb1$[email protected]..
    Could you tell me how to start WebLogic 5.1 in KDE?
    Best Regards,

  • How to start weblogic with jdk1.4.0

    anybody can tell how to start weblogic with jdk1.4.0 correctly?

    "jacky" <[email protected]> wrote in message news:<[email protected]>...
    anybody can tell how to start weblogic with jdk1.4.0 correctly?Take a look at:
    http://www.genuitec.com/products/JDK14_WLS61.pdf

  • Weblogic 9.1 Deployment errors using the ANT task wldeploy

    I am not able to deploy applicatons using the ANT task. The same works with Weblogic 8.1. It is throwing a NoClassDefFoundError. It is looking for a class by name javax/management/InvalidAttributeValueException.
    This class file is shipped as part of jmx.jar. I tried to include it and then there was another NoClassDefFoundError that occured.
    The problem is I don't want to keep adding these different jars to make the ant deployment work. Can anyone please let me know what could be the problem.
    I am using a Windows XP OS and 1.4.2_10 as java version.
    I have added all the jars in the weblogic91\server\lib directory to the classpath.
    Also I have my apache ant tasks set in the classpath.
    Thanks
    Shankar Chandrasekaran

    Have had a bit of these CLASSPATH issues when jumping versions.
    Have had the best success when I create a different profile for each one, making sure the version you want is the only one defined. the main thing my profile sets is
    unset PATH
    unset CLASSPATH
    unset JAVA_HOME
    then
    export PATH=
    export CLASSPATH= the weblogic 9 one
    export JAVA_HOME= the one with 9
    or however they do it in windows, but make sure you CLASSPATH is only refencing the 9 jars

  • How to start my instance??!!!!!!!!

    I installed Oracle 10g. Then I created an instance. After the instance was created, I went to OEM to look at the instance, and noticed it wasn't turned on. I went to the network folder and noticed I only had sqlnet.ora; no Listener.ora or tsnames.ora. I put the files there, but when I try to startup the instance, the password and usernames I created with the database don't work.
    Agent Connection to Instance failed
    Listener down

    PLease, do not multi-post the same issue
    How to start my instance??!!!!!!!!
    HELP!!!!!!!!!!!!!!!!!!!!!!!!!
    HELP!!!!!!!!!!!!!!!!!!!!!!!!!
    And don't think stacking a long string of "!!!!!" and/or '?????" on your subject helps get a better/faster answer.

  • Multiple weblogic instances using IIS to proxy the requests

    I have a need to run multiple weblogic instances using IIS as the web
    server.
    Does anyone know if this is possible. I am aware and have been able to run
    multiple weblogic servers as an nt service,
    but in those cases weblogic was being called and IIS was being bypassed.
    Now the user base wishes to use IIS to proxy the requests.
    I have been able to set IIS to forward using the .jhtml and .jsp file
    extensions to the iisproxy.dll, but have not been able to forward these
    requests to multiple weblogic instances. When the request is made it is
    only looking in the first instance of weblogic for the request.
    Is it possible to use weblogic and IIS with two or more weblogic instances,
    without weblogic acting as a webserver.
    I dont believe this is possible but I need to find out if this really is the
    case.
    Thanks for any help you can provide.
    Ed

    You need run each IIS web server instance in its own memory space. This can
    be set through the Management Console for IIS.
    Keith
    Mike Kendzierski <[email protected]> wrote in message
    news:[email protected]..
    We tried to do this & Weblogic doesn't support this config. We opened upa
    support call with them regarding this, but there is a problem with the way
    that IIS & NT proxies .JSP pages to the weblogic servers. It's very
    unstable this way & I wouldn't recommend this config.
    We switched to Apache with virtual hosts to do this & it works fine. It's
    probably not the answer you want to hear, but it works very well.
    If you have any questions, just ask away.
    "Ed" <[email protected]> wrote in message
    news:3a296c2d$[email protected]..
    We are using IIS4 with weblogic 4.5.1 sp11,
    I thought I read someplace, their was a problem between wls 4.5.1 sp7
    and
    wls 5.1 where it didnt look in the folder where the dll was.
    I will give it a try on monday.
    Peter Mergaerts wrote in message <[email protected]>...
    We tried to do the same thing.
    We copied iisproxy.dll and iisproxy.ini to server1 and let IIS use this.dll
    instance for proxying .jsp etc.
    We copied the iisproxy.dll and iisproxy.ini to server 2, renamed
    iisproxy.dll to iisproxy2.dll (to make sure another instance was used)
    and
    let the second iis site use iisproxy2.dll, but that didn't worked. (It
    doesn't read the iisproxy.ini file located in the same directory as the.dll
    file, altough in the manual it says it checks this first.) Now, I thinkit's
    possosible to use several iisproxy.dll's as long as you rename it so
    each
    get it's own instance, the only problem is that each .dll doesn't readthe
    correct iisproxy.ini file. (BEA, is this for SP7?)
    Regards,
    Peter Mergaerts

  • Wlserver ant task

    When I use the wlserver task is in ant build file I get an error saying class weblogic.ant.taskdefs...
    not found even though I have set it in my build file..
    I am not using ant which comes with weblogic.
    Anil

    I heard that wlconfig and wlserver ant tasks do not work with Weblogic 7.0 is that
    true?
    Anil
    "Vitaly Yurik" <[email protected]> wrote:
    >
    Hi Anil,
    Could you send your build file as an attachment. Also I need to know
    under which
    directory this build file is place. Is it correct that you are failing
    to run
    command:
    ant weblogic.Admin
    Vitaly
    "Anil Jacob" <[email protected]> wrote:
    Hi vitaly,
    I am using ant 1.5 which is downloaded from the ant website. Currently
    I use the
    weblogic.Admin utility as a task in the ant build file for stopping,
    starting
    etc.
    However I wanted to see if the wlserver tak gives me any added advantage.
    I have my own build file. I use the ant command to run the build.
    I know I am missing a class, I want to know which class I need in my
    ant /lib
    folder or in my classpath?
    Thanks
    Anil
    "Vitaly Yurik" <[email protected]> wrote:
    Hi Anil,
    When you are saying: "I am not using ant which comes with weblogic.",
    does it
    mean that
    you are using a different version of ant. If so which version are you
    using.
    Also,
    1. are you using the Weblogic build file?
    2. What "ant" command are yo running.
    Vitaly Yurik
    "Anil Jacob" <[email protected]> wrote:
    When I use the wlserver task is in ant build file I get an error saying
    class weblogic.ant.taskdefs...
    not found even though I have set it in my build file..
    I am not using ant which comes with weblogic.
    Anil

  • Setting UseXADataSourceInterface to false using wlconfig ant task

    Is there any way, I can set the UseXADataSourceInterface property to false within the wlconfig ant task.? I am aware that this property can be set using the admin console. But I would like to set this in an ant task. Any pointers?
    Thanks in advance,
    Jacob

    According to document:
    Warning: In particular, the wlconfig Ant task uses the deprecated BEA
    proprietary API weblogic.management.MBeanHome to access WebLogic MBeans, the
    same as it did in Version 8.1 of WebLogic Server. The Ant task does not use
    the standard JMX interface (javax.management.MBeanServerConnection) to
    discover MBeans.
    Warning: This means that the only MBeans that you can access using wlconfig
    are those listed under the Deprecated MBeans category in the WebLogic Server
    MBean Reference.
    Since UseXADataSourceInterface is defined in JDBCDriverParamsBean which is
    introduced in WLS 9.0, so I feel this should be impossible.
    Maybe you can try WLST, which also can be used in Ant.
    <Jacob Marcus> wrote in message news:[email protected]..
    Is there any way, I can set the UseXADataSourceInterface property to false
    within the wlconfig ant task.? I am aware that this property can be set
    using the admin console. But I would like to set this in an >ant task. Any
    pointers?
    Thanks in advance,
    Jacob

  • Error in starting weblogic server using ant

    Hi,
    I am trying to start the weblogic server using ant.I used the following command:
    <taskdef name="wlserver" classname="weblogic.ant.taskdefs.management.WLServer">
    <classpath>
    <pathelement location="${BEA_HOME}/weblogic81/server/lib/weblogic.jar" />
    </classpath>
    </taskdef>
    <target name="start-weblogic">
    <wlserver username="weblogic" password="weblogic" failonerror="false" servername="myserver" domainname="rwadomain" dir="${BEA_HOME}/user_projects/domains/rwadomain" host="localhost" port="7001" weblogichome="${BEA_HOME}/weblogic81" beahome="${BEA_HOME}" policy="${BEA_HOME}\weblogic81\server\lib\weblogic.policy" />
    </target>
    But it is giving me an error that java.lang.NoClassDefFoundError: weblogic/Server
    I also tried the following command:
    <target name="start-weblogic">
    <java classname="weblogic.Server" fork="yes" classpathref="weblogic.classes" failonerror="true">
    <sysproperty key="weblogic.Domain" value="rwadomain"></sysproperty>
    <sysproperty key="weblogic.RootDirectory" value="C:\bea\user_projects\domains\rwadomain"></sysproperty>
    <sysproperty key="weblogic.ConfigFile" value="config.xml"></sysproperty>
    <sysproperty key="weblogic.ListenAddress" value="localhost"></sysproperty>
    <sysproperty key="weblogic.ListenPort" value="7001"></sysproperty>
    <arg line="-ms200m -mx200m"></arg>
    </java>
    </target>
    But the problem with this command is that it does not reurn control to execute the further commands.
    Please suggest something.
    Thanks in advance
    -amit

    Hi,
    You should take a look at the <parallel> ant task.
    Regards,
    LG

  • Starting WebLogic Server using Console

    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.

    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.

Maybe you are looking for