Log4j classpath setting in weblogic server 8.1

Hi,
I placed all my properties files outside ear file in the folder C:\bea\user_projects\domains\xyz\config . I changed classpath setting in startweblogic.cmd as follows
set CLASSPATH=%WEBLOGIC_CLASSPATH%;%POINTBASE_CLASSPATH%;%JAVA_HOME%\jre\lib\rt.jar;%WL_HOME%\server\lib\webservices.jar;./config;%CLASSPATH%;When i run my application, these properties are getting picked up and logs comming up in the spcified folder I have done this in windows platform.
When i tried the same in unix box, by keeping properties files in separate folder and including that folder in classpath of startManagedWebLogic.cmd. Here is my classpath settings that i have modified
$/data/weblogic/app_properties/log4j.properties:$/data/weblogic/app_properties/download.properties:Problem here is i am not able to get the logs updated,even though my application is running fine.
Can you any one please tell me am i missing anything.
Thanks,
Ram

Hi,
I placed all my properties files outside ear file in the folder C:\bea\user_projects\domains\xyz\config . I changed classpath setting in startweblogic.cmd as follows
set CLASSPATH=%WEBLOGIC_CLASSPATH%;%POINTBASE_CLASSPATH%;%JAVA_HOME%\jre\lib\rt.jar;%WL_HOME%\server\lib\webservices.jar;./config;%CLASSPATH%;When i run my application, these properties are getting picked up and logs comming up in the spcified folder I have done this in windows platform.
When i tried the same in unix box, by keeping properties files in separate folder and including that folder in classpath of startManagedWebLogic.cmd. Here is my classpath settings that i have modified
$/data/weblogic/app_properties/log4j.properties:$/data/weblogic/app_properties/download.properties:Problem here is i am not able to get the logs updated,even though my application is running fine.
Can you any one please tell me am i missing anything.
Thanks,
Ram

Similar Messages

  • How to make changes effect in log4j.xml without restarting weblogic server

    Hi ,
    I have successfully configured log4j in my weblogic server 8.1.
    Everytime i made a change in log4j.xml i need to restart the server
    is there any configuration or parameter to set without restarting server??
    Thanks in advance,
    CK

    I don't think you need to restart the server, atleast I never needed to when making changes to jsp pages. You only need to restart when you make changes to java classes. Some might argue jsp is converted to servlet which is a java class.....
    Try refreshing the page when you make any changes. This works for me, if it doesn't work try turning reloadable="true" in your context path in tomcat's server.xml

  • Error in Logging using log4j When deployed in weblogic server

    I have deployed an SOAP based web service application as an war file and used log4j propertiers to do application logging .When i tested the application through a JAVA client the log4j log file has all the application log information but when i deployed it in the weblogic server 10.3.3 and tested it through SOAP UI it gives me just "Run time error exception" in the log4j log file(which is returned in the SOAP response) as against the application logs which i need. I have also added <wls:package-name>org.apache.log4j.*</wls:package-name> in the weblogic.xml and also changwed the logging to the log4j logging in the server ( which was perviously JDK logging) .But still it is not returning the complete application error stack trace in the log4j log file(and also in the weblogic command console) I need to get the application error stack trace in the log4j log file ( and also in the console) so it would be easy to debug the code.
    Please help me out in doing the same.
    thanks in advance

    Noman,
    have you checked that the folder D:\OracleJeveloper\Middleware\jdk160_14_R27.6.5-32 contains the jre?
    Timo

  • Setting up weblogic server. for multiple developers.

    Hi All,
    i am trying to setup/configure weblogic server. we have a situation, we
    have about ten developers primarlily working on JSP's and other set working
    on EJB's. we want to set the server up in such a way that all the JSP
    developers can access off the developement server, and all the EJB
    developers will work independently on other server and update the
    development server once every evening. how can we achive this, the only way
    i could think was to map the drive on to all the developers.
    i wanted to know what other approaches are feasible and what is the
    development envirments (IDE's )are helpful for remote debugging of EJB's
    etc..,
    any suggestions or any of your experiences please let me know.
    Thank you,
    Diwakar.K

    This is a typical problem for a revision control system, but anyway:
    You could set up a multihomed environment where you have seperate
    application dirs for the applications running on the servers.
    Diwakar Kamisetti wrote:
    >
    Hi All,
    i am trying to setup/configure weblogic server. we have a situation, we
    have about ten developers primarlily working on JSP's and other set working
    on EJB's. we want to set the server up in such a way that all the JSP
    developers can access off the developement server, and all the EJB
    developers will work independently on other server and update the
    development server once every evening. how can we achive this, the only way
    i could think was to map the drive on to all the developers.
    i wanted to know what other approaches are feasible and what is the
    development envirments (IDE's )are helpful for remote debugging of EJB's
    etc..,
    any suggestions or any of your experiences please let me know.
    Thank you,
    Diwakar.K--
    - Santander Direkt Bank AG
    - Michael Strauß
    - Anwendungsentwicklung Anlagen Fonds
    - Gräfstraße 97
    - 60487 Frankfurt am Main
    - Tel.: +49(0)69 29985-183

  • SOA specific environment is already set disabled weblogic server to start

    Hi Experts,
    As i am unable to weblogic admin server as an administrator. It is giving me below exception.
    SOA specific environment is already set. Skipping ...
    I need to start my Admin server as an administrator because need to install AIA on top of it. how to reoslve this issue.Your help is highly aprreciated.
    Regards,
    CH

    Hi CH
    0. I have SOA on Unix, so I am pasting all details from unix .sh files. BUT same things should apply for .cmd files also in the windows side. So look for similar things in .cmd files.
    1. Check your Classpath and specially the values for the home directories like WL_HOME etc etc. Also, if you have any spaces in the folder names sometimes that will cause the issue. Like if you install say in C:\Program Files\MySoftware\... etc, it may be an issue.
    2. Usually when we start the soa server, this is the output we get:
    ** SOA specific environment is already set, skipping...
    JAVA Memory arguments: -Xms768m -Xmx1536m -Xmn224m -XX:SurvivorRatio=8 -XX:PermSize=256m -XX:MaxPermSize=768m -XX:+UseSerialGC -d64
    WLS Start Mode=Development
    CLASSPATH=/home/myunixuser/Oracle/Middleware115/oracle_common/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar:/home/myunixuser/Oracle/Middleware115/Oracle_SOA1/soa/modules/user-patch.jar   ......... BUNCH OF JARs3. Under your domain/bin folder, look at these files. When you start soa server, these files are called internally in this order. You can open all these files and check the contents and add your own echo commands to see exactly.
    startManagedWeblogic -> startWeblogic -> setDomainEnv -> setSoaDomainEnv.
    In startWeblogic I see the below command in the top section after calling setDomainEnv:
    DERBY_DEBUG_LEVEL="0"
    if [ "${DERBY_FLAG}" = "true" ] ; then
         ${WL_HOME}/common/derby/bin/startNetworkServer.sh >"${DOMAIN_HOME}/derby.log" 2>&1
    So I suspect if your WL_HOME is set properly or not.
    Conclusion, from Windows ENV, see if you have any weird stuff in PATH or CLASSPATH. In past I remember one user had a Classpath running into like 2 pages due to some bad settings. Once they cleaned it, they could start the servers.
    Thanks
    Ravi Jegga

  • Problems setting up Weblogic Server 9.2 with Oracle AQ

    We are in the process of upgrading from WLS81 to WLS92 and I'm currently trying to set up the environment. We have applications communicating with 3 different JMS-servers; Sonic, WMQ and Oracle AQ. For both Sonic and WMQ the connection seem to work fine. We get an active application, and the beans connecting to queues on those servers reports as 'connected'.
              For Oracle AQ I must be doing something wrong, but I can't for the life of me figure out what it is.
              Our setup is as follows:
              We have a domain-scoped startup class that binds the AQ-queues and a custom QueueConnectionFactory to the WL default context. Giving them a name like aqadapter-AQ_ARE_PING.
              We have defined a System Resource, within which we have defined AQ as a Foreign Server. Within this foreign server we have each queue mapped to the queue-names bound through the Startup class. Likewise we have a qcf mapped to the qcf bound through the startup class.
              The application contains message-driven beans which are supposed to be listening to the AQ-queues. In weblogic-ejb-jar.xml each target queue is mapped within each bean to the same name mapped within the Foreign Server element.
              All this results in MDB's that report as 're-connecting' and 'initializing' and the following message in Server1.stdout for each MDB:
              <Mar 28, 2007 4:27:58 PM CEST> <Warning> <EJB> <BEA-010061> <The Message-Driven EJB: ARE_Ping is unable to connect to the JMS destination: AQ_ARE_PING. The Error was:
              javax.jms.InvalidDestinationException: JMS-125: Invalid Queue specified>
              Any ideas what I am doing wrong? It seems to me that all the settings are as similar as the way they are set up on WLS81 as we could get them.
              Anyone reading this that have done this before? Setting up WLS92 or WLS90 to interact with Oracle AQ?
              Regards,
              Frode Laukus
              Edited by laukus at 03/28/2007 7:53 AM

    Hi Frode
              Have you managed to find a solution to this issue?
              We are trying to do something very similar and encountering all sorts of issues.
              Are you using the DIPSStartup classes to register your queues & qcf with the WL JNDI? I haven't managed to get these classes to work with the AQJmsSession in the latest release of the aqapi13.jar files.
              Hopefully we can sort out a workable solution between us :)
              Andy

  • How to make integrated weblogic server use log4j

    Hi all,
    I use Jdeveloper 11.1.1.6, WL 10.3 on Win7. JDK 1.6.0.3x64
    I tried to configure for 1 day during according to guides and informations on net. But i can not make it works unfortunately. Just after i start wls, encountered this:
    <14-12-2012 10:42:00 o'clock EET> <Error> <Log Management> <BEA-170022> <Log4j failed to initialize for DefaultServer. The default JDK Logging implementation will be used.
    java.lang.ClassNotFoundException: weblogic.logging.log4j.JDKLog4jAdapterFactory
         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
         Truncated. see log file for complete stacktrace
    >
    I followed up basically through those links log4j Configuration in Standalone Weblogic Server - ADF and http://docs.oracle.com/cd/E15051_01/wls/docs103/logging/config_logs.html#using_log4j
    I changed Logging implementation as Log4j from JDK: http://www.2hotfile.com/image.php?di=72YU
    I created log4j.xml file under my %DOMAINHOME%\config : http://www.2hotfile.com/image.php?di=JHLI
    <?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
    <log4j:configuration>
    <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
    <param name="Threshold" value="INFO"/>
    <layout class="org.apache.log4j.PatternLayout">
    <param name="ConversionPattern"
    value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
    </layout>
    </appender>
    <appender name="FILE" class="org.apache.log4j.DailyRollingFileAppender">
    <param name="File" value="/log/daily.log"/>
    <param name="Append" value="false"/>
    <!-- Rollover at midnight each day -->
    <param name="DatePattern" value="'.'yyyy-MM-dd"/>
    <layout class="org.apache.log4j.PatternLayout">
    <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
    </layout>
    </appender>
    <logger name="org.apache">
    <level value="WARN"/>
    </logger>
    <root>
    <level value="DEBUG"/>
    <appender-ref ref="FILE"/>
    <!-- <appender-ref ref="CONSOLE"/> -->
    </root>
    </log4j:configuration>
    i copied log4j.jar, wllog.jar into my %DOMAINHOME%\lib : http://www.2hotfile.com/image.php?di=BYB3
    Even i copied commons-logging-1.0.4.jar and com.bea.core.weblogic.commons.logging_1.4.0.0.jar files into the lib folder and then i set CLASSPATH accordingly, result was negative.
    I added these lines into startWeblogic.cmd
    @REM customized here for log4j
    set LOG4J_CONFIG_FILE=%DOMAIN_HOME%\config\log4j.xml
    set SAVE_JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.log.Log4jLoggingEnabled=true -Dlog4j.debug -Dlog4j.configuration=%LOG4J_CONFIG_FILE%
    set SAVE_CLASSPATH=%CLASSPATH%;%DOMAIN_HOME%\config;
    Additionally, i have tried adding log4j.jar into sysyem classpath becuse of classloading problem suspicion: http://www.2hotfile.com/image.php?di=7Y3N after view this link http://www.coderanch.com/t/479763/BEA-Weblogic/Log-Weblogic-ClassNotFoundException
    Thanks in advance...
    Edited by: webyildirim on 14.Ara.2012 02:45

    I resolved the exception; Jdeveloper 11.1.1.4 was setted up on my pc as well. That was the cause of problem. System was looking some paths on 11.1.1.4 server folders that belong to 11.1.14 version.
    Now, created server log which i defined in log4j.xml but no log line found in file, nothing logged according to log4j.xml config file and wls still writes its own log into its own log file which is under $domain_home$\servers\DefaultServer\logs\DefaultServer.log. What might be the reason?
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
    <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"
    debug="true">
    <!-- A time/date based rolling appender -->
    <appender name="FILE" class="org.apache.log4j.DailyRollingFileAppender">
    <param name="File" value="./server.log"/>
    <param name="Append" value="false"/>
    <!-- Rollover at midnight each day -->
    <param name="DatePattern" value="'.'yyyy-MM-dd"/>
    <!-- Rollover at the top of each hour
    <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/>
    -->
    <layout class="org.apache.log4j.PatternLayout">
    <!-- The default pattern: Date Priority [Category] Message\n -->
    <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
    <!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n
    <param name="ConversionPattern" value="%d %-5r %-5p [%c] (%t:%x) %m%n"/>
    -->
    </layout>
    </appender>
    <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
    <param name="Target" value="System.out"/>
    <param name="Threshold" value="INFO"/>
    <layout class="org.apache.log4j.PatternLayout">
    <!-- The default pattern: Date Priority [Category] Message\n -->
    <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
    </layout>
    </appender>
    <category name="org.apache">
    <priority value="DEBUG"/>
    </category>
    <category name="com.weblogic">
    <priority value="DEBUG"/>
    </category>
    <category name="com.roketsan">
    <priority value="DEBUG"/>
    </category>
    <category name="org.hibernate">
    <priority value="DEBUG"/>
    </category>
    <category name="log4j.category.org.hibernate">
    <priority value="DEBUG"/>
    </category>
    <category name="log4j.category.org.hibernate.SQL">
    <priority value="STDOUT"/>
    </category>
    <root>
    <appender-ref ref="CONSOLE"/>
    <appender-ref ref="FILE"/>
    </root>
    </log4j:configuration>
    jdeveloper integrated weblogic console output: http://www.2hotfile.com/image.php?di=TPY2
    *** Using port 7101 ***
    C:\Users\Dijitaluser\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    this is suuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuun
    'LOG4J_CONFIG_FILE' i‡ ya da dis komut, ‡alistirilabilir
    program ya da toplu is dosyasi olarak taninmiyor.
    JAVA Memory arguments: -Xms256m -Xmx1024m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
    WLS Start Mode=Development
    CLASSPATH=C:\Oracle\MIDDLE~1.6\ORACLE~1\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;C:\Oracle\MIDDLE~1.6\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1.6\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\PROGRA~1\Java\JDK16~1.0_3\lib\tools.jar;C:\Oracle\MIDDLE~1.6\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1.6\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1.6\modules\features\weblogic.server.modules_10.3.5.0.jar;C:\Oracle\MIDDLE~1.6\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~1.6\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle\MIDDLE~1.6\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Users\DIJITA~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\wcps-lib\derby-10.6.1.0.jar;C:\Users\DIJITA~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\wcps-lib\derbytools-10.6.1.0.jar;C:\Oracle\Middleware_11.1.1.6\jdeveloper\webcenter\modules\oracle.portlet.server_11.1.1\oracle-portlet-api.jar;C:\Oracle\Middleware_11.1.1.6\jdeveloper\webcenter\modules\wcps_11.1.1.6.0\wcps-connection-mbeans.jar;C:\Oracle\MIDDLE~1.6\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\Oracle\MIDDLE~1.6\WLSERV~1.3\common\derby\lib\derbyclient.jar;C:\Oracle\MIDDLE~1.6\WLSERV~1.3\server\lib\xqrl.jar;.
    PATH=C:\Oracle\MIDDLE~1.6\patch_wls1035\profiles\default\native;C:\Oracle\MIDDLE~1.6\patch_jdev1111\profiles\default\native;C:\Oracle\MIDDLE~1.6\WLSERV~1.3\server\native\win\32;C:\Oracle\MIDDLE~1.6\WLSERV~1.3\server\bin;C:\Oracle\MIDDLE~1.6\modules\ORGAPA~1.1\bin;C:\PROGRA~1\Java\JDK16~1.0_3\jre\bin;C:\PROGRA~1\Java\JDK16~1.0_3\bin;C:\Program Files\Java\jre6X64;C:\Program Files\Java\jre6X64\bin;C:\Oracle\database\app\oracle\product\11.2.0\server\bin;C:\Oracle\database\app\oracle\product\11.2.0\server;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Dell\Dell Wireless WLAN Card;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\OpenVPN\bin;C:\Users\Dijitaluser\Desktop\Yeni klas”r\commons-logging-1.0.4.jar;;C:\Oracle\MIDDLE~1.6\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_30"
    Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
    Java HotSpot(TM) 64-Bit Server VM (build 20.5-b03, mixed mode)
    Starting WLS with line:
    C:\PROGRA~1\Java\JDK16~1.0_3\bin\java -client -Xms256m -Xmx1024m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\Oracle\MIDDLE~1.6\WLSERV~1.3\server\lib\weblogic.policy -agentlib:jdwp=transport=dt_socket,server=y,address=52130 -Djavax.net.ssl.trustStore=C:\Oracle\Middleware_11.1.1.6\wlserver_10.3\server\lib\DemoTrust.jks -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=C:\Oracle\MIDDLE~1.6\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1.6\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDDLE~1.6\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Dcommon.components.home=C:\Oracle\MIDDLE~1.6\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=C:\Users\DIJITA~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1 -Djrockit.optfile=C:\Oracle\MIDDLE~1.6\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=C:\Users\DIJITA~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.domain.config.dir=C:\Users\DIJITA~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\FMWCON~1 -Digf.arisidbeans.carmlloc=C:\Users\DIJITA~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Users\DIJITA~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:\Users\DIJITA~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\Users\DIJITA~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\servers\DefaultServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=C:\Oracle\MIDDLE~1.6\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\Oracle\MIDDLE~1.6\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\Users\DIJITA~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.92\DEFAUL~1\oracle\store\gmds -DUSE_JAAS=false -Djps.policystore.hybrid.mode=false -Djps.combiner.optimize.lazyeval=true -Djps.combiner.optimize=true -Djps.auth=ACC -Doracle.core.ojdl.logging.usercontextprovider=oracle.core.ojdl.logging.impl.UserContextImpl -noverify -Doracle.webcenter.analytics.disable-native-partitioning=false -Doracle.webcenter.tagging.scopeTags=false -XX:+UseParallelGC -XX:+DisableExplicitGC -Dportlet.oracle.home=C:\Oracle\Middleware_11.1.1.6\jdeveloper -Dwc.oracle.home=C:\Oracle\Middleware_11.1.1.6\jdeveloper -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1.6\patch_wls1035\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1.6\patch_jdev1111\profiles\default\sysext_manifest_classpath -Dlog4j.ignoreTCL=true -Dweblogic.log.Log4jLoggingEnabled=true -Dlog4j.debug weblogic.Server
    Listening for transport dt_socket at address: 52130
    Debugger connected to local process.
    <18-Dec-2012 13:58:09 o'clock EET> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <18-Dec-2012 13:58:10 o'clock EET> <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>
    <18-Dec-2012 13:58:10 o'clock EET> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
    C:\Users\Dijitaluser\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\lib\com.bea.core.weblogic.commons.logging_1.4.0.0.jar;C:\Users\Dijitaluser\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\lib\commons-logging-1.0.4.jar;C:\Users\Dijitaluser\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\lib\log4j-1.2.15.jar;C:\Users\Dijitaluser\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\lib\mbeantypes\csp-id-asserter.jar;C:\Users\Dijitaluser\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\lib\mbeantypes\jps-wls-trustprovider.jar;C:\Users\Dijitaluser\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\lib\wllog4j.jar>
    <18-Dec-2012 13:58:10 o'clock EET> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 20.5-b03 from Sun Microsystems Inc.>
    <18-Dec-2012 13:58:11 o'clock EET> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 >
    <18-Dec-2012 13:58:12 o'clock EET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <18-Dec-2012 13:58:12 o'clock EET> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <18-Dec-2012 13:58:12 o'clock EET> <Notice> <LoggingService> <BEA-320400> <The log file C:\Users\Dijitaluser\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <18-Dec-2012 13:58:12 o'clock EET> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Users\Dijitaluser\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log00016. Log messages will continue to be logged in C:\Users\Dijitaluser\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log.>
    <18-12-2012 13:58:12 o'clock EET> <Notice> <Log Management> <WL-170019> <The server log file C:\Users\Dijitaluser\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
    log4j: Trying to find [log4j.xml] using context classloader java.net.URLClassLoader@7df44ec7.
    log4j: Using URL [file:/C:/Users/Dijitaluser/AppData/Roaming/JDeveloper/system11.1.1.6.38.61.92/DefaultDomain/log4j.xml] for automatic log4j configuration.
    log4j: Preferred configurator class: org.apache.log4j.xml.DOMConfigurator
    log4j: System property is :null
    log4j: Standard DocumentBuilderFactory search succeded.
    log4j: DocumentBuilderFactory is: weblogic.xml.jaxp.RegistryDocumentBuilderFactory
    log4j: debug attribute= "true".
    log4j: reset attribute= "false".
    log4j: Threshold ="null".
    log4j: Retreiving an instance of org.apache.log4j.Logger.
    log4j: Setting [org.apache] additivity to [true].
    log4j: Level value for org.apache is [DEBUG].
    log4j: org.apache level set to DEBUG
    log4j: Retreiving an instance of org.apache.log4j.Logger.
    log4j: Setting [com.weblogic] additivity to [true].
    log4j: Level value for com.weblogic is [DEBUG].
    log4j: com.weblogic level set to DEBUG
    log4j: Retreiving an instance of org.apache.log4j.Logger.
    log4j: Setting [com.roketsan] additivity to [true].
    log4j: Level value for com.roketsan is [DEBUG].
    log4j: com.roketsan level set to DEBUG
    log4j: Retreiving an instance of org.apache.log4j.Logger.
    log4j: Setting [org.hibernate] additivity to [true].
    log4j: Level value for org.hibernate is [DEBUG].
    log4j: org.hibernate level set to DEBUG
    log4j: Retreiving an instance of org.apache.log4j.Logger.
    log4j: Setting [log4j.category.org.hibernate] additivity to [true].
    log4j: Level value for log4j.category.org.hibernate is [DEBUG].
    log4j: log4j.category.org.hibernate level set to DEBUG
    log4j: Retreiving an instance of org.apache.log4j.Logger.
    log4j: Setting [log4j.category.org.hibernate.SQL] additivity to [true].
    log4j: Level value for log4j.category.org.hibernate.SQL is [STDOUT].
    log4j: log4j.category.org.hibernate.SQL level set to DEBUG
    log4j: Class name: [org.apache.log4j.ConsoleAppender]
    log4j: Setting property [target] to [System.out].
    log4j: Setting property [threshold] to [INFO].
    log4j: Parsing layout of class: "org.apache.log4j.PatternLayout"
    log4j: Setting property [conversionPattern] to [%d{ABSOLUTE} %-5p [%c{1}] %m%n].
    log4j: Adding appender named [CONSOLE] to category [root].
    log4j: Class name: [org.apache.log4j.DailyRollingFileAppender]
    log4j: Setting property [file] to [./server.log].
    log4j: Setting property [append] to [false].
    log4j: Setting property [datePattern] to ['.'yyyy-MM-dd].
    log4j: Parsing layout of class: "org.apache.log4j.PatternLayout"
    log4j: Setting property [conversionPattern] to [%d %-5p [%c] %m%n].
    log4j: setFile called: ./server.log, false
    log4j: setFile ended
    log4j: Appender [FILE] to be rolled at midnight.
    log4j: Adding appender named [FILE] to category [root].
    <18-12-2012 13:58:12 o'clock EET> <Warning> <NodeManager> <WL-300043> <Node manager native library not found - server process id not saved.>
    <18-12-2012 13:58:13 o'clock EET> <Error> <Socket> <WL-000438> <Unable to load performance pack. Using Java I/O instead. Please ensure that wlntio.dll is in: 'C:\PROGRA~1\Java\JDK16~1.0_3\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Oracle\MIDDLE~1.6\patch_wls1035\profiles\default\native;C:\Oracle\MIDDLE~1.6\patch_jdev1111\profiles\default\native;C:\Oracle\MIDDLE~1.6\WLSERV~1.3\server\native\win\32;C:\Oracle\MIDDLE~1.6\WLSERV~1.3\server\bin;C:\Oracle\MIDDLE~1.6\modules\ORGAPA~1.1\bin;C:\PROGRA~1\Java\JDK16~1.0_3\jre\bin;C:\PROGRA~1\Java\JDK16~1.0_3\bin;C:\Program Files\Java\jre6X64;C:\Program Files\Java\jre6X64\bin;C:\Oracle\database\app\oracle\product\11.2.0\server\bin;C:\Oracle\database\app\oracle\product\11.2.0\server;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Dell\Dell Wireless WLAN Card;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\OpenVPN\bin;C:\Users\Dijitaluser\Desktop\Yeni klasör\commons-logging-1.0.4.jar;;C:\Oracle\MIDDLE~1.6\WLSERV~1.3\server\native\win\32\oci920_8;.'
    >
    <18-12-2012 13:58:19 o'clock EET> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <18-12-2012 13:58:20 o'clock EET> <Warning> <Store> <WL-280101> <The persistent file store "_WLS_DefaultServer" is forced to use buffered I/O and so may have significantly degraded performance. Either the OS/hardware environment does not support the chosen write policy or the native wlfileio library is missing. See store open log messages for the requested and final write policies. See the documentation on store synchronous write policy configuration for advice.>
    <18-Dec-2012 13:58:20 o'clock EET> <Notice> <LoggingService> <BEA-320400> <The log file C:\Users\Dijitaluser\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\servers\DefaultServer\logs\access.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <18-Dec-2012 13:58:20 o'clock EET> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Users\Dijitaluser\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\servers\DefaultServer\logs\access.log00001. Log messages will continue to be logged in C:\Users\Dijitaluser\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\servers\DefaultServer\logs\access.log.>
    <18-12-2012 13:58:23 o'clock EET> <Notice> <StdErr> <BEA-000000> <java.util.logging.ErrorManager: 0: oracle.core.ojdl.weblogic.DomainLogHandler ERROR: unable to find instance of weblogic.logging.DomainLogBroadcastHandler>
    <18-12-2012 13:58:25 o'clock EET> <Notice> <WebLogicServer> <WL-000365> <Server state changed to STANDBY>
    <18-12-2012 13:58:25 o'clock EET> <Notice> <WebLogicServer> <WL-000365> <Server state changed to STARTING>
    <18-12-2012 13:58:29 o'clock EET> <Warning> <J2EE> <WL-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application Roketsan is not versioned.>
    <18-Dec-2012 13:58:37 o'clock EET> <Notice> <LoggingService> <BEA-320400> <The log file C:\Users\Dijitaluser\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <18-Dec-2012 13:58:37 o'clock EET> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Users\Dijitaluser\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log00016. Log messages will continue to be logged in C:\Users\Dijitaluser\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log.>
    <18-12-2012 13:58:37 o'clock EET> <Notice> <Log Management> <WL-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <18-12-2012 13:58:37 o'clock EET> <Notice> <WebLogicServer> <WL-000365> <Server state changed to ADMIN>
    <18-12-2012 13:58:37 o'clock EET> <Notice> <WebLogicServer> <WL-000365> <Server state changed to RESUMING>
    <18-12-2012 13:58:38 o'clock EET> <Notice> <Server> <WL-002613> <Channel "Default[11]" is now listening on 0:0:0:0:0:0:0:1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <18-12-2012 13:58:38 o'clock EET> <Warning> <Server> <WL-002611> <Hostname "AD190", maps to multiple IP addresses: 169.254.50.94, 192.168.26.212, fe80:0:0:0:a1be:61f:f156:325e%38>
    <18-12-2012 13:58:38 o'clock EET> <Notice> <Server> <WL-002613> <Channel "Default[3]" is now listening on fe80:0:0:0:a1be:61f:f156:325e:7101 for protocols iiop, t3, ldap, snmp, http.>
    <18-12-2012 13:58:38 o'clock EET> <Notice> <Server> <WL-002613> <Channel "Default[10]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <18-12-2012 13:58:38 o'clock EET> <Notice> <Server> <WL-002613> <Channel "Default[1]" is now listening on fe80:0:0:0:0:5efe:a9fe:325e:7101 for protocols iiop, t3, ldap, snmp, http.>
    <18-12-2012 13:58:38 o'clock EET> <Notice> <Server> <WL-002613> <Channel "Default[7]" is now listening on fe80:0:0:0:a0d0:352d:6b23:d7dc:7101 for protocols iiop, t3, ldap, snmp, http.>
    <18-12-2012 13:58:38 o'clock EET> <Notice> <Server> <WL-002613> <Channel "Default[8]" is now listening on fe80:0:0:0:648c:26dc:32a5:1300:7101 for protocols iiop, t3, ldap, snmp, http.>
    <18-12-2012 13:58:38 o'clock EET> <Notice> <Server> <WL-002613> <Channel "Default[4]" is now listening on fe80:0:0:0:0:5efe:c0a8:1ad4:7101 for protocols iiop, t3, ldap, snmp, http.>
    <18-12-2012 13:58:38 o'clock EET> <Notice> <Server> <WL-002613> <Channel "Default[5]" is now listening on fe80:0:0:0:34a0:7762:7e2f:fca8:7101 for protocols iiop, t3, ldap, snmp, http.>
    <18-12-2012 13:58:38 o'clock EET> <Notice> <Server> <WL-002613> <Channel "Default[9]" is now listening on fe80:0:0:0:0:100:7f:fffe:7101 for protocols iiop, t3, ldap, snmp, http.>
    <18-12-2012 13:58:38 o'clock EET> <Notice> <Server> <WL-002613> <Channel "Default" is now listening on 192.168.26.212:7101 for protocols iiop, t3, ldap, snmp, http.>
    <18-12-2012 13:58:38 o'clock EET> <Notice> <Server> <WL-002613> <Channel "Default[2]" is now listening on 169.254.50.94:7101 for protocols iiop, t3, ldap, snmp, http.>
    <18-12-2012 13:58:38 o'clock EET> <Notice> <Server> <WL-002613> <Channel "Default[6]" is now listening on fe80:0:0:0:fdaf:7651:30df:acb6:7101 for protocols iiop, t3, ldap, snmp, http.>
    <18-12-2012 13:58:38 o'clock EET> <Notice> <WebLogicServer> <WL-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
    <18-12-2012 13:58:38 o'clock EET> <Notice> <WebLogicServer> <WL-000365> <Server state changed to RUNNING>
    <18-12-2012 13:58:38 o'clock EET> <Notice> <WebLogicServer> <WL-000360> <Server started in RUNNING mode>
    IntegratedWebLogicServer startup time: 30110 ms.
    IntegratedWebLogicServer started.
    Edited by: webyildirim on 18.Ara.2012 04:17

  • WebLogic Server 6.1:Incompatible service packs in CLASSPATH

    Hi,
    When I tried to start weblogic 6.1,I got the following exception.Please let me know,how to go ahead.
    The WebLogic Server did not start up properly.
    Exception raised: weblogic.common.internal.VersioningError: Incompatible service
    packs in CLASSPATH: (BEA Systems, WebLogic Server 6.1 SP1 09/18/2001 14:28:44
    #138716 , 6.1.1.0) not compatible with (BEA Systems, WebLogic XML Module 6.1 SP4
    11/08/2002 22:04:40 #221641 , 6.1.4.0)
    weblogic.common.internal.VersioningError: Incompatible service packs in CLASSPAT
    H: (BEA Systems, WebLogic Server 6.1 SP1 09/18/2001 14:28:44 #138716 , 6.1.1.0)
    not compatible with (BEA Systems, WebLogic XML Module 6.1 SP4 11/08/2002 22:04
    :40 #221641 , 6.1.4.0)
    at weblogic.common.internal.VersionInfo.verifyPackages(VersionInfo.java:
    126)
    at weblogic.common.internal.VersionInfo.<init>(VersionInfo.java:58)
    at weblogic.version.<clinit>(version.java:18)
    at weblogic.t3.srvr.T3Srvr.checkAccess(T3Srvr.java:277)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:340)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
    at weblogic.Server.main(Server.java:35)
    Reason: Fatal initialization exception
    Edited by: user13282066 on Jul 29, 2010 4:37 AM

    It looks like you are mixing SP1 and SP4 components in the server classpath.
    Leaving aside the issue of supporting WL 6.1 ( nearly 10 years old! ), you should look at the classpath which will be listed in the server's log file when it starts up.
    If this error has just recently started, has there been a modification to the startup scripts, or has there been a new patch installed?

  • Bug:WEB-INF/lib JARs not added to runtime classpath of WebLogic Server

    The JAR files packaged in the WEB-INF/lib directory of an application do not get installed to the runtime classpath of the Weblogic server.
    Edited by: dvohra16 on Feb 28, 2013 9:24 AM

    Some posts in which an external jar, usually a JDBC jar, had to be added to the startWebLogic script to be added to the runtime classpath of WebLogic server.
    Re: jdbc problem on MS SQL Server
    Re: MySQL JDBC driver w/11.1.2 where too now?
    Re: ADF Parameter form  - java.lang.NoClassDefFoundError: sqlj/runtime/ref/Defa
    Re: Cannot load driver class: com.microsoft.sqlserver.jdbc.SQLServerDriver
    Re: deploy a shared library
    Re: Cannot load driver class: com.microsoft.sqlserver.jdbc.SQLServerDriver
    Re: Help need in Adding External jar files.
    Re: NoClassDefFoundError  while Testing a JAX-WS Web Service
    Re: Unable to connect to SQL server 2008 from a deployed Weblogic application
    Re: Howo to add external jar - quick question
    Re: MySql connection with JDev 11.1.2.2 issues
    Re: Integration of MySQL with ADF application

  • Setting up weblogic as http server

    How can I set up weblogic server as a http server with multiple virtual domain names?

    This is currently not supported as part of version 5.1. It will be added as
    part of our next version, 6.0, which is expected to go in public beta in a
    month.
    Thanks,
    Michael
    Michael Girdley
    BEA Systems Inc
    "sagol" <[email protected]> wrote in message
    news:39acb108$[email protected]..
    How can I set up weblogic server as a http server with multiple virtualdomain names?

  • Using EJB with Hibernate on Weblogic Server ADF platform

    Hi all,
    We use Jdeveloper 11.1.1.4 and WLS 10.3
    I tried to use Hibernate on my project according to this link well, EJB with Hibernate On Weblogic
    I wanto use Hibernate tool because toplink and eclipselink can not achieve the issue about generating update* ddl on schema, they can just only re-create the tables -not real update.
    Firstly i got the related jars from internet: http://www.2hotfile.com/di-LSBU.png
    cglib-2.2
    antlr-2.7.6
    commons-collections-3.1
    dom4j-1.6.1
    hibernate3
    hibernate-validator-4.1.0.Final
    javassist-3.9.0.GA
    jta-1.1
    slf4j-api-1.5.11
    slf4j-nop-1.5.11
    Then i added to model project as library dependencies: http://www.2hotfile.com/di-GMSZ.png
    configured persistence.xml as below:
    <?xml version="1.0" encoding="windows-1252" ?>
    <persistence xmlns="http://java.sun.com/xml/ns/persistence"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
    version="1.0">
    <persistence-unit name="VakkoEJBModel" transaction-type="RESOURCE_LOCAL">
    <provider>org.hibernate.ejb.HibernatePersistence</provider>
    <jta-data-source>jdbc/VakkoDS</jta-data-source>
    <properties>
    <property name="hibernate.jndi.url" value="t3://127.0.0.1:7001" />
    <property name="hibernate.connection.datasource" value="jdbc/VakkoDS" />
    <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.WeblogicTransactionManagerLookup" />
    <property name="hibernate.dialect" value="org.hibernate.dialect.Oracle10gDialect" />
    <property name="hibernate.hbm2ddl.auto" value="update" />
    <property name="hibernate.current_session_context_class" value="jta" />
    </properties>
    </persistence-unit>
    </persistence>
    weblogic-application.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <weblogic-application>
    <prefer-application-packages>
    <package-name>antlr.*</package-name>
    <package-name>org.hibernate.*</package-name>
    <!-- package-name>org.apache.commons.logging.*</package-name -->
    <!-- package-name>org.w3c.dom.*</package-name -->
    </prefer-application-packages>
    </weblogic-application>
    weblogic-ejb-jar.xml
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <weblogic-ejb-jar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-ejb-jar http://www.bea.com/ns/weblogic/weblogic-ejb-jar/1.0/weblogic-ejb-jar.xsd"
    xmlns="http://www.bea.com/ns/weblogic/weblogic-ejb-jar">
    </weblogic-ejb-jar>
    ejb-jar.xml
    <?xml version="1.0" encoding="windows-1252" ?>
    <ejb-jar/>
    And i added to setDomainEnv.cmd that line:
    set EXT_PRE_CLASSPATH=C:\jarlar\hibernate-3.3.2\antlr-2.7.6.jar;C:\jarlar\hibernate-3.3.2\commons-collections-3.1.jar;C:\jarlar\hibernate-3.3.2\dom4j-1.6.1.jar;C:\jarlar\hibernate-3.3.2\hibernate3.jar;C:\jarlar\hibernate-3.3.2\javassist-3.9.0.GA.jar;C:\jarlar\hibernate-3.3.2\jta-1.1.jar;C:\jarlar\hibernate-3.3.2\slf4j-api-1.5.11.jar;C:\jarlar\hibernate-3.3.2\slf4j-nop-1.5.11.jar;C:\jarlar\hibernate-3.3.2\bytecode\cglib\cglib-2.2.jar;C:\Oracle\Middleware_11.1.1.4\modules\ejb3-persistence-3.3.1.jar;hibernate-validator-4.1.0.Final.jar;
    deployment profile could be seen by clicking those links:
    http://www.2hotfile.com/di-XV68.png
    http://www.2hotfile.com/di-8YC9.png
    http://www.2hotfile.com/di-ADR4.png
    And i tried to manipulate the ear file contents according to these informations: http://middlewaremagic.com/weblogic/wp-content/uploads/2010/06/EAR_Application_Diagram.jpg
    under ear\META-INF\application.xml
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5" xmlns="http://java.sun.com/xml/ns/javaee">
    <display-name>ejb1</display-name>
    <module>
    <ejb>ejb1.jar</ejb>
    </module>
    </application>
    under ear\META-INF\weblogic-application.xml
    <?xml version = '1.0' encoding = 'windows-1254'?>
    <weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application http://www.bea.com/ns/weblogic/weblogic-application/1.0/weblogic-application.xsd" xmlns="http://www.bea.com/ns/weblogic/weblogic-application">
    <prefer-application-packages>
    <package-name>org.hibernate.*</package-name>
    <package-name>antlr.*</package-name>
    <!-- package-name>org.apache.commons.logging.*</package-name -->
    <!-- package-name>org.w3c.dom.*</package-name -->
    </prefer-application-packages>
    <listener>
    <listener-class>oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener</listener-class>
    </listener>
    <listener>
    <listener-class>oracle.mds.lcm.weblogic.WLLifecycleListener</listener-class>
    </listener>
    <library-ref>
    <library-name>adf.oracle.domain</library-name>
    </library-ref>
    </weblogic-application>
    The files which existed in ejb1.ear\ejb1.jar\META-INF\ directory same with source folder of model project (these were created by jdeveloper deployment process according to deployment profile which previously explaint)
    ear contents shown that link : http://www.2hotfile.com/di-23X6.png
    When i deploy the project to weblogic by using JDeveloper or http://127.0.0.1:7101/console/ method. But occured exception
    <10-Dec-2012 16:31:54 o'clock EET> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=AppDeploymentsControlPage.>
    <10-Dec-2012 16:32:45 o'clock EET> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1355149965087' for task '2'. Error is: 'weblogic.application.ModuleException: Exception preparing module: EJBModule(ejb1.jar)
    weblogic.application.ModuleException: Exception preparing module: EJBModule(ejb1.jar)
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:469)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.deployment.EnvironmentException: Error processing persistence unit VakkoEJBModel of module ejb1.jar: Error instantiating the Persistence Provider class org.hibernate.ejb.HibernatePersistence of the PersistenceUnit VakkoEJBModel: java.lang.ClassNotFoundException: org.hibernate.ejb.HibernatePersistence
         at weblogic.deployment.BasePersistenceUnitInfoImpl.getPersistenceProvider(BasePersistenceUnitInfoImpl.java:375)
         at weblogic.deployment.BasePersistenceUnitInfoImpl.initializeEntityManagerFactory(BasePersistenceUnitInfoImpl.java:393)
         at weblogic.deployment.BasePersistenceUnitInfoImpl.initializeEntityManagerFactory(BasePersistenceUnitInfoImpl.java:386)
         at weblogic.deployment.BasePersistenceUnitInfoImpl.<init>(BasePersistenceUnitInfoImpl.java:158)
         at weblogic.deployment.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:39)
         Truncated. see log file for complete stacktrace
    >
    <10-Dec-2012 16:32:45 o'clock EET> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'ejb1'.>
    <10-Dec-2012 16:32:45 o'clock EET> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: Exception preparing module: EJBModule(ejb1.jar)
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:469)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.deployment.EnvironmentException: Error processing persistence unit VakkoEJBModel of module ejb1.jar: Error instantiating the Persistence Provider class org.hibernate.ejb.HibernatePersistence of the PersistenceUnit VakkoEJBModel: java.lang.ClassNotFoundException: org.hibernate.ejb.HibernatePersistence
         at weblogic.deployment.BasePersistenceUnitInfoImpl.getPersistenceProvider(BasePersistenceUnitInfoImpl.java:375)
         at weblogic.deployment.BasePersistenceUnitInfoImpl.initializeEntityManagerFactory(BasePersistenceUnitInfoImpl.java:393)
         at weblogic.deployment.BasePersistenceUnitInfoImpl.initializeEntityManagerFactory(BasePersistenceUnitInfoImpl.java:386)
         at weblogic.deployment.BasePersistenceUnitInfoImpl.<init>(BasePersistenceUnitInfoImpl.java:158)
         at weblogic.deployment.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:39)
         Truncated. see log file for complete stacktrace
    >
    <10-Dec-2012 16:32:45 o'clock EET> <Error> <Console> <BEA-240003> <Console encountered the following error weblogic.application.ModuleException: Exception preparing module: EJBModule(ejb1.jar)
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:469)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: weblogic.deployment.EnvironmentException: Error processing persistence unit VakkoEJBModel of module ejb1.jar: Error instantiating the Persistence Provider class org.hibernate.ejb.HibernatePersistence of the PersistenceUnit VakkoEJBModel: java.lang.ClassNotFoundException: org.hibernate.ejb.HibernatePersistence
         at weblogic.deployment.BasePersistenceUnitInfoImpl.getPersistenceProvider(BasePersistenceUnitInfoImpl.java:375)
         at weblogic.deployment.BasePersistenceUnitInfoImpl.initializeEntityManagerFactory(BasePersistenceUnitInfoImpl.java:393)
         at weblogic.deployment.BasePersistenceUnitInfoImpl.initializeEntityManagerFactory(BasePersistenceUnitInfoImpl.java:386)
         at weblogic.deployment.BasePersistenceUnitInfoImpl.<init>(BasePersistenceUnitInfoImpl.java:158)
         at weblogic.deployment.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:39)
         at weblogic.deployment.AbstractPersistenceUnitRegistry.storeDescriptors(AbstractPersistenceUnitRegistry.java:349)
         at weblogic.deployment.AbstractPersistenceUnitRegistry.loadPersistenceDescriptor(AbstractPersistenceUnitRegistry.java:263)
         at weblogic.deployment.ModulePersistenceUnitRegistry.<init>(ModulePersistenceUnitRegistry.java:69)
         at weblogic.ejb.container.deployer.EJBModule.setupPersistenceUnitRegistry(EJBModule.java:223)
         at weblogic.ejb.container.deployer.EJBModule$1.execute(EJBModule.java:324)
         at weblogic.deployment.PersistenceUnitRegistryInitializer.setupPersistenceUnitRegistries(PersistenceUnitRegistryInitializer.java:62)
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:393)
    What are my mistake/s or incompletes?
    Please help me and excuse my poor English. Thanks in advance

    Thanks again for your consideration.
    I double checked CLASSPATH. And seen starting wls with classpath which i defined, but no change about ecxeption.
    you can see wls starting classpath through the link: http://www.2hotfile.com/image.php?di=BQNE
    setDomainEnv.cmd
    @ECHO OFF
    @REM WARNING: This file is created by the Configuration Wizard.
    @REM Any changes to this script may be lost when adding extensions to this configuration.
    @REM *************************************************************************
    @REM This script is used to setup the needed environment to be able to start Weblogic Server in this domain.
    @REM
    @REM This script initializes the following variables before calling commEnv to set other variables:
    @REM
    @REM WL_HOME - The BEA home directory of your WebLogic installation.
    @REM JAVA_VM - The desired Java VM to use. You can set this environment variable before calling
    @REM this script to switch between Sun or BEA or just have the default be set.
    @REM JAVA_HOME - Location of the version of Java used to start WebLogic
    @REM Server. Depends directly on which JAVA_VM value is set by default or by the environment.
    @REM USER_MEM_ARGS - The variable to override the standard memory arguments
    @REM passed to java.
    @REM PRODUCTION_MODE - The variable that determines whether Weblogic Server is started in production mode.
    @REM DOMAIN_PRODUCTION_MODE
    @REM - The variable that determines whether the workshop related settings like the debugger,
    @REM testconsole or iterativedev should be enabled. ONLY settable using the
    @REM command-line parameter named production
    @REM NOTE: Specifying the production command-line param will force
    @REM the server to start in production mode.
    @REM
    @REM Other variables used in this script include:
    @REM SERVER_NAME - Name of the weblogic server.
    @REM JAVA_OPTIONS - Java command-line options for running the server. (These
    @REM will be tagged on to the end of the JAVA_VM and
    @REM MEM_ARGS)
    @REM
    @REM For additional information, refer to "Managing Server Startup and Shutdown for Oracle WebLogic Server"
    @REM (http://download.oracle.com/docs/cd/E17904_01/web.1111/e13708/overview.htm).
    @REM *************************************************************************
    set COMMON_COMPONENTS_HOME=C:\Oracle\Middleware_11.1.1.4\oracle_common
    for %%i in ("%COMMON_COMPONENTS_HOME%") do set COMMON_COMPONENTS_HOME=%%~fsi
    @REM C:\jarlar\hibernate-3.3.2\antlr-2.7.6.jar;C:\jarlar\hibernate-3.3.2\commons-collections-3.1.jar;C:\jarlar\hibernate-3.3.2\dom4j-1.6.1.jar;C:\jarlar\hibernate-3.3.2\hibernate3.jar;C:\jarlar\hibernate-3.3.2\javassist-3.9.0.GA.jar;C:\jarlar\hibernate-3.3.2\jta-1.1.jar;C:\jarlar\hibernate-3.3.2\slf4j-api-1.5.11.jar;C:\jarlar\hibernate-3.3.2\slf4j-nop-1.5.11.jar;C:\jarlar\hibernate-3.3.2\bytecode\cglib\cglib-2.2.jar;C:\Oracle\Middleware_11.1.1.4\modules\ejb3-persistence-3.3.1.jar;hibernate-validator-4.1.0.Final.jar;
    set CLASSPATH=C:\jarlar\hibernate-3.3.2\antlr-2.7.6.jar;C:\jarlar\hibernate-3.3.2\commons-collections-3.1.jar;C:\jarlar\hibernate-3.3.2\dom4j-1.6.1.jar;C:\jarlar\hibernate-3.3.2\hibernate3.jar;C:\jarlar\hibernate-3.3.2\javassist-3.9.0.GA.jar;C:\jarlar\hibernate-3.3.2\jta-1.1.jar;C:\jarlar\hibernate-3.3.2\slf4j-api-1.5.11.jar;C:\jarlar\hibernate-3.3.2\slf4j-nop-1.5.11.jar;C:\jarlar\hibernate-3.3.2\bytecode\cglib\cglib-2.2.jar;C:\Oracle\Middleware_11.1.1.4\modules\ejb3-persistence-3.3.1.jar;hibernate-validator-4.1.0.Final.jar;%CLASSPATH%;
    set WC_ORACLE_HOME=C:\Oracle\Middleware_11.1.1.4\jdeveloper
    set PORTLET_ORACLE_HOME=C:\Oracle\Middleware_11.1.1.4\jdeveloper
    set WC_ORACLE_HOME=C:\Oracle\Middleware_11.1.1.4\jdeveloper
    set WL_HOME=C:\Oracle\Middleware_11.1.1.4\wlserver_10.3
    for %%i in ("%WL_HOME%") do set WL_HOME=%%~fsi
    set BEA_JAVA_HOME=
    set SUN_JAVA_HOME=C:\Program Files\Java\jdk1.6.0_30x64
    if "%JAVA_VENDOR%"=="Oracle" (
         set JAVA_HOME=%BEA_JAVA_HOME%
    ) else (
         if "%JAVA_VENDOR%"=="Sun" (
              set JAVA_HOME=%SUN_JAVA_HOME%
         ) else (
              set JAVA_VENDOR=Sun
              set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_30x64
              @REM set JAVA_HOME=C:\Oracle\Middleware_11.1.1.4\jdk160_21
    @REM We need to reset the value of JAVA_HOME to get it shortened AND
    @REM we can not shorten it above because immediate variable expansion will blank it
    set JAVA_HOME=%JAVA_HOME%
    for %%i in ("%JAVA_HOME%") do set JAVA_HOME=%%~fsi
    set SAMPLES_HOME=%WL_HOME%\samples
    set DOMAIN_HOME=C:\Users\Dijitaluser\AppData\Roaming\JDeveloper\system11.1.1.4.37.59.23\DefaultDomain
    for %%i in ("%DOMAIN_HOME%") do set DOMAIN_HOME=%%~fsi
    set LONG_DOMAIN_HOME=C:\Users\Dijitaluser\AppData\Roaming\JDeveloper\system11.1.1.4.37.59.23\DefaultDomain
    if "%DEBUG_PORT%"=="" (
         set DEBUG_PORT=8453
    if "%SERVER_NAME%"=="" (
         set SERVER_NAME=DefaultServer
    set DERBY_FLAG=false
    set enableHotswapFlag=
    set PRODUCTION_MODE=
    set doExitFlag=false
    set verboseLoggingFlag=false
    for %%p in (%*) do call :SET_PARAM %%p
    GOTO :CMD_LINE_DONE
         :SET_PARAM
         for %%q in (%1) do set noQuotesParam=%%~q
         if /i "%noQuotesParam%" == "nodebug" (
              set debugFlag=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "production" (
              set DOMAIN_PRODUCTION_MODE=true
              GOTO :EOF
         if /i "%noQuotesParam%" == "notestconsole" (
              set testConsoleFlag=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "noiterativedev" (
              set iterativeDevFlag=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "noLogErrorsToConsole" (
              set logErrorsToConsoleFlag=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "noderby" (
              set DERBY_FLAG=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "doExit" (
              set doExitFlag=true
              GOTO :EOF
         if /i "%noQuotesParam%" == "noExit" (
              set doExitFlag=false
              GOTO :EOF
         if /i "%noQuotesParam%" == "verbose" (
              set verboseLoggingFlag=true
              GOTO :EOF
         if /i "%noQuotesParam%" == "enableHotswap" (
              set enableHotswapFlag=-javaagent:%WL_HOME%\server\lib\diagnostics-agent.jar
              GOTO :EOF
         ) else (
              set PROXY_SETTINGS=%PROXY_SETTINGS% %1
         GOTO :EOF
    :CMD_LINE_DONE
    set MEM_DEV_ARGS=
    if "%DOMAIN_PRODUCTION_MODE%"=="true" (
         set PRODUCTION_MODE=%DOMAIN_PRODUCTION_MODE%
    if "%PRODUCTION_MODE%"=="true" (
         set debugFlag=false
         set testConsoleFlag=false
         set iterativeDevFlag=false
         set logErrorsToConsoleFlag=false
    @REM If you want to override the default Patch Classpath, Library Path and Path for this domain,
    @REM Please uncomment the following lines and add a valid value for the environment variables
    @REM set PATCH_CLASSPATH=[myPatchClasspath] (windows)
    @REM set PATCH_LIBPATH=[myPatchLibpath] (windows)
    @REM set PATCH_PATH=[myPatchPath] (windows)
    @REM PATCH_CLASSPATH=[myPatchClasspath] (unix)
    @REM PATCH_LIBPATH=[myPatchLibpath] (unix)
    @REM PATCH_PATH=[myPatchPath] (unix)
    call "%WL_HOME%\common\bin\commEnv.cmd"
    set WLS_HOME=%WL_HOME%\server
    set XMS_SUN_64BIT=256
    set XMS_SUN_32BIT=256
    set XMX_SUN_64BIT=512
    set XMX_SUN_32BIT=512
    set XMS_JROCKIT_64BIT=256
    set XMS_JROCKIT_32BIT=256
    set XMX_JROCKIT_64BIT=512
    set XMX_JROCKIT_32BIT=512
    if "%JAVA_VENDOR%"=="Sun" (
         set WLS_MEM_ARGS_64BIT=-Xms256m -Xmx600m -XX:PermSize=128M -XX:MaxPermSize=256M
         set WLS_MEM_ARGS_32BIT=-Xms256m -Xmx600m -XX:PermSize=128M -XX:MaxPermSize=256M
         echo this is suuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuun
    ) else (
         set WLS_MEM_ARGS_64BIT=-Xms256m -Xmx600m -XX:PermSize=128M -XX:MaxPermSize=256M
         set WLS_MEM_ARGS_32BIT=-Xms256m -Xmx600m -XX:PermSize=128M -XX:MaxPermSize=256M
         echo this is noooooooooooooooooooooooooooooooooooooooooooooooot sun
    if "%JAVA_VENDOR%"=="Oracle" (
         set CUSTOM_MEM_ARGS_64BIT=-Xms%XMS_JROCKIT_64BIT%m -Xmx%XMX_JROCKIT_64BIT%m
         set CUSTOM_MEM_ARGS_32BIT=-Xms%XMS_JROCKIT_32BIT%m -Xmx%XMX_JROCKIT_32BIT%m
    ) else (
         set CUSTOM_MEM_ARGS_64BIT=-Xms%XMS_SUN_64BIT%m -Xmx%XMX_SUN_64BIT%m
         set CUSTOM_MEM_ARGS_32BIT=-Xms%XMS_SUN_32BIT%m -Xmx%XMX_SUN_32BIT%m
    set MEM_ARGS_64BIT=%CUSTOM_MEM_ARGS_64BIT%
    set MEM_ARGS_32BIT=%CUSTOM_MEM_ARGS_32BIT%
    if "%JAVA_USE_64BIT%"=="true" (
         set MEM_ARGS=%MEM_ARGS_64BIT%
    ) else (
         set MEM_ARGS=%MEM_ARGS_32BIT%
    set MEM_PERM_SIZE_64BIT=-XX:PermSize=128m
    set MEM_PERM_SIZE_32BIT=-XX:PermSize=128m
    if "%JAVA_USE_64BIT%"=="true" (
         set MEM_PERM_SIZE=%MEM_PERM_SIZE_64BIT%
    ) else (
         set MEM_PERM_SIZE=%MEM_PERM_SIZE_32BIT%
    set MEM_MAX_PERM_SIZE_64BIT=-XX:MaxPermSize=512m
    set MEM_MAX_PERM_SIZE_32BIT=-XX:MaxPermSize=512m
    if "%JAVA_USE_64BIT%"=="true" (
         set MEM_MAX_PERM_SIZE=%MEM_MAX_PERM_SIZE_64BIT%
    ) else (
         set MEM_MAX_PERM_SIZE=%MEM_MAX_PERM_SIZE_32BIT%
    if "%JAVA_VENDOR%"=="Sun" (
         if "%PRODUCTION_MODE%"=="" (
              set MEM_DEV_ARGS=-XX:CompileThreshold=8000 %MEM_PERM_SIZE%
    @REM Had to have a separate test here BECAUSE of immediate variable expansion on windows
    if "%JAVA_VENDOR%"=="Sun" (
         set MEM_ARGS=%MEM_ARGS% %MEM_DEV_ARGS% %MEM_MAX_PERM_SIZE%
    if "%JAVA_VENDOR%"=="HP" (
         set MEM_ARGS=%MEM_ARGS% %MEM_MAX_PERM_SIZE%
    if "%JAVA_VENDOR%"=="Apple" (
         set MEM_ARGS=%MEM_ARGS% %MEM_MAX_PERM_SIZE%
    @REM IF USER_MEM_ARGS the environment variable is set, use it to override ALL MEM_ARGS values
    set USER_MEM_ARGS=-Xms256m -Xmx1024m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
    if NOT "%USER_MEM_ARGS%"=="" (
         set MEM_ARGS=%USER_MEM_ARGS%
    set ORACLE_DOMAIN_CONFIG_DIR=%DOMAIN_HOME%\config\fmwconfig
    for %%i in ("%ORACLE_DOMAIN_CONFIG_DIR%") do set ORACLE_DOMAIN_CONFIG_DIR=%%~fsi
    set WLS_JDBC_REMOTE_ENABLED=-Dweblogic.jdbc.remoteEnabled=false
    if "%WC_OHOME_ARGUMENT%"=="" (
         set WC_OHOME_ARGUMENT=-Dwc.oracle.home=%WC_ORACLE_HOME%
         set EXTRA_JAVA_PROPERTIES=-Dwc.oracle.home=%WC_ORACLE_HOME% %EXTRA_JAVA_PROPERTIES%
    if "%PORTLET_OHOME_ARGUMENT%"=="" (
         set PORTLET_OHOME_ARGUMENT=-Dportlet.oracle.home=%PORTLET_ORACLE_HOME%
         set EXTRA_JAVA_PROPERTIES=-Dportlet.oracle.home=%PORTLET_ORACLE_HOME% %EXTRA_JAVA_PROPERTIES%
    if "%WC_OHOME_ARGUMENT%"=="" (
         set WC_OHOME_ARGUMENT=-Dwc.oracle.home=%WC_ORACLE_HOME%
         set EXTRA_JAVA_PROPERTIES=-Dwc.oracle.home=%WC_ORACLE_HOME% %EXTRA_JAVA_PROPERTIES%
    set JAVA_PROPERTIES=-Dplatform.home=%WL_HOME% -Dwls.home=%WLS_HOME% -Dweblogic.home=%WLS_HOME%
    set ALT_TYPES_DIR=%COMMON_COMPONENTS_HOME%\modules\oracle.ossoiap_11.1.1,%COMMON_COMPONENTS_HOME%\modules\oracle.oamprovider_11.1.1
    set PROTOCOL_HANDLERS=oracle.mds.net.protocol
    if "%JAVA_VENDOR%"=="Sun" (
         set EXTRA_JAVA_PROPERTIES=-XX:+UseParallelGC -XX:+DisableExplicitGC %EXTRA_JAVA_PROPERTIES%
    ) else (
         if "%JAVA_VENDOR%"=="Oracle" (
              set EXTRA_JAVA_PROPERTIES=-Djrockit.codegen.newlockmatching=true %EXTRA_JAVA_PROPERTIES%
         ) else (
              set EXTRA_JAVA_PROPERTIES=-XX:+UseParallelGC -XX:+DisableExplicitGC %EXTRA_JAVA_PROPERTIES%
    set PROTOCOL_HANDLERS=%PROTOCOL_HANDLERS:;="|"%
    @REM To use Java Authorization Contract for Containers (JACC) in this domain,
    @REM please uncomment the following section. If there are multiple machines in
    @REM your domain, be sure to edit the setDomainEnv in the associated domain on
    @REM each machine.
    @REM
    @REM -Djava.security.manager
    @REM -Djava.security.policy=location of weblogic.policy
    @REM -Djavax.security.jacc.policy.provider=weblogic.security.jacc.simpleprovider.SimpleJACCPolicy
    @REM -Djavax.security.jacc.PolicyConfigurationFactory.provider=weblogic.security.jacc.simpleprovider.PolicyConfigurationFactoryImpl
    @REM -Dweblogic.security.jacc.RoleMapperFactory.provider=weblogic.security.jacc.simpleprovider.RoleMapperFactoryImpl
    set EXTRA_JAVA_PROPERTIES=-Doracle.webcenter.tagging.scopeTags=false %EXTRA_JAVA_PROPERTIES%
    set EXTRA_JAVA_PROPERTIES=-Doracle.webcenter.analytics.disable-native-partitioning=false %EXTRA_JAVA_PROPERTIES%
    set EXTRA_JAVA_PROPERTIES=-DUSE_JAAS=false -Djps.policystore.hybrid.mode=false -Djps.combiner.optimize.lazyeval=true -Djps.combiner.optimize=true -Djps.auth=ACC -Doracle.core.ojdl.logging.usercontextprovider=oracle.core.ojdl.logging.impl.UserContextImpl -noverify %EXTRA_JAVA_PROPERTIES%
    set EXTRA_JAVA_PROPERTIES=-Dwsm.repository.path=%DOMAIN_HOME%\oracle\store\gmds %EXTRA_JAVA_PROPERTIES%
    set EXTRA_JAVA_PROPERTIES=-Dcommon.components.home=%COMMON_COMPONENTS_HOME% -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=%DOMAIN_HOME% -Djrockit.optfile=%COMMON_COMPONENTS_HOME%\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=%ORACLE_DOMAIN_CONFIG_DIR%\servers\%SERVER_NAME% -Doracle.domain.config.dir=%ORACLE_DOMAIN_CONFIG_DIR% -Digf.arisidbeans.carmlloc=%ORACLE_DOMAIN_CONFIG_DIR%\carml -Digf.arisidstack.home=%ORACLE_DOMAIN_CONFIG_DIR%\arisidprovider -Doracle.security.jps.config=%DOMAIN_HOME%\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=%DOMAIN_HOME%\servers\%SERVER_NAME%\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=%ALT_TYPES_DIR% -Djava.protocol.handler.pkgs=%PROTOCOL_HANDLERS% %WLS_JDBC_REMOTE_ENABLED% %EXTRA_JAVA_PROPERTIES%
    set EXTRA_JAVA_PROPERTIES=-Djps.app.credential.overwrite.allowed=true %EXTRA_JAVA_PROPERTIES%
    set JAVA_PROPERTIES=%JAVA_PROPERTIES% %EXTRA_JAVA_PROPERTIES%
    set ARDIR=%WL_HOME%\server\lib
    pushd %LONG_DOMAIN_HOME%
    @REM Clustering support (edit for your cluster!)
    if "%ADMIN_URL%"=="" (
         @REM The then part of this block is telling us we are either starting an admin server OR we are non-clustered
         set CLUSTER_PROPERTIES=-Dweblogic.management.discover=true
    ) else (
         set CLUSTER_PROPERTIES=-Dweblogic.management.discover=false -Dweblogic.management.server=%ADMIN_URL%
    if NOT "%LOG4J_CONFIG_FILE%"=="" (
         set JAVA_PROPERTIES=%JAVA_PROPERTIES% -Dlog4j.configuration=file:%LOG4J_CONFIG_FILE%
    set JAVA_PROPERTIES=%JAVA_PROPERTIES% %CLUSTER_PROPERTIES%
    set JAVA_DEBUG=
    if "%debugFlag%"=="true" (
         set JAVA_DEBUG=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=%DEBUG_PORT%,server=y,suspend=n -Djava.compiler=NONE
         set JAVA_OPTIONS=%JAVA_OPTIONS% %enableHotswapFlag% -ea -da:com.bea... -da:javelin... -da:weblogic... -ea:com.bea.wli... -ea:com.bea.broker... -ea:com.bea.sbconsole...
    ) else (
         set JAVA_OPTIONS=%JAVA_OPTIONS% %enableHotswapFlag% -da
    if NOT exist %JAVA_HOME%\lib (
         echo The JRE was not found in directory %JAVA_HOME%. ^(JAVA_HOME^)
         echo Please edit your environment and set the JAVA_HOME
         echo variable to point to the root directory of your Java installation.
         popd
         pause
         GOTO :EOF
    if "%DERBY_FLAG%"=="true" (
         set DATABASE_CLASSPATH=%DERBY_CLASSPATH%
    ) else (
         set DATABASE_CLASSPATH=%DERBY_CLIENT_CLASSPATH%
    if NOT "%POST_CLASSPATH%"=="" (
         set POST_CLASSPATH=%COMMON_COMPONENTS_HOME%\modules\oracle.jrf_11.1.1\jrf.jar;%POST_CLASSPATH%
    ) else (
         set POST_CLASSPATH=%COMMON_COMPONENTS_HOME%\modules\oracle.jrf_11.1.1\jrf.jar
    if NOT "%PRE_CLASSPATH%"=="" (
         set PRE_CLASSPATH=%COMMON_COMPONENTS_HOME%\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;%PRE_CLASSPATH%
    ) else (
         set PRE_CLASSPATH=%COMMON_COMPONENTS_HOME%\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar
    if "%PORTLET_ORACLE_HOME%"=="" (
         set POST_CLASSPATH=%WC_ORACLE_HOME%\webcenter\modules\oracle.portlet.server_11.1.1\oracle-portlet-api.jar;%POST_CLASSPATH%
    if NOT "%POST_CLASSPATH%"=="" (
         set POST_CLASSPATH=C:\Oracle\Middleware_11.1.1.4\jdeveloper\webcenter\modules\wcps_11.1.1.4.0\wcps-connection-mbeans.jar;%POST_CLASSPATH%
    ) else (
         set POST_CLASSPATH=C:\Oracle\Middleware_11.1.1.4\jdeveloper\webcenter\modules\wcps_11.1.1.4.0\wcps-connection-mbeans.jar
    set POST_CLASSPATH=%PORTLET_ORACLE_HOME%\webcenter\modules\oracle.portlet.server_11.1.1\oracle-portlet-api.jar;%POST_CLASSPATH%
    set POST_CLASSPATH=%DOMAIN_HOME%\wcps-lib\derby-10.6.1.0.jar;%DOMAIN_HOME%\wcps-lib\derbytools-10.6.1.0.jar;%POST_CLASSPATH%
    if NOT "%DATABASE_CLASSPATH%"=="" (
         if NOT "%POST_CLASSPATH%"=="" (
              set POST_CLASSPATH=%POST_CLASSPATH%;%DATABASE_CLASSPATH%
         ) else (
              set POST_CLASSPATH=%DATABASE_CLASSPATH%
    if NOT "%ARDIR%"=="" (
         if NOT "%POST_CLASSPATH%"=="" (
              set POST_CLASSPATH=%POST_CLASSPATH%;%ARDIR%\xqrl.jar
         ) else (
              set POST_CLASSPATH=%ARDIR%\xqrl.jar
    @REM PROFILING SUPPORT
    set JAVA_PROFILE=
    set SERVER_CLASS=weblogic.Server
    set JAVA_PROPERTIES=%JAVA_PROPERTIES% %WLP_JAVA_PROPERTIES%
    set JAVA_OPTIONS=%JAVA_OPTIONS% %JAVA_PROPERTIES% -Dwlw.iterativeDev=%iterativeDevFlag% -Dwlw.testConsole=%testConsoleFlag% -Dwlw.logErrorsToConsole=%logErrorsToConsoleFlag%
    if "%PRODUCTION_MODE%"=="true" (
         set JAVA_OPTIONS= -Dweblogic.ProductionModeEnabled=true %JAVA_OPTIONS%
    @REM -- Setup properties so that we can save stdout and stderr to files
    if NOT "%WLS_STDOUT_LOG%"=="" (
         echo Logging WLS stdout to %WLS_STDOUT_LOG%
         set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.Stdout=%WLS_STDOUT_LOG%
    if NOT "%WLS_STDERR_LOG%"=="" (
         echo Logging WLS stderr to %WLS_STDERR_LOG%
         set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.Stderr=%WLS_STDERR_LOG%
    @REM ADD EXTENSIONS TO CLASSPATHS
    @REM set EXT_PRE_CLASSPATH=C:\jarlar\hibernate-3.3.2\antlr-2.7.6.jar;C:\jarlar\hibernate-3.3.2\commons-collections-3.1.jar;C:\jarlar\hibernate-3.3.2\dom4j-1.6.1.jar;C:\jarlar\hibernate-3.3.2\hibernate3.jar;C:\jarlar\hibernate-3.3.2\javassist-3.9.0.GA.jar;C:\jarlar\hibernate-3.3.2\jta-1.1.jar;C:\jarlar\hibernate-3.3.2\slf4j-api-1.5.11.jar;C:\jarlar\hibernate-3.3.2\slf4j-nop-1.5.11.jar;C:\jarlar\hibernate-3.3.2\bytecode\cglib\cglib-2.2.jar;C:\Oracle\Middleware_11.1.1.4\modules\ejb3-persistence-3.3.1.jar;hibernate-validator-4.1.0.Final.jar;
    if NOT "%EXT_PRE_CLASSPATH%"=="" (
         if NOT "%PRE_CLASSPATH%"=="" (
              set PRE_CLASSPATH=%EXT_PRE_CLASSPATH%;%PRE_CLASSPATH%
         ) else (
              set PRE_CLASSPATH=%EXT_PRE_CLASSPATH%
    if NOT "%EXT_POST_CLASSPATH%"=="" (
         if NOT "%POST_CLASSPATH%"=="" (
              set POST_CLASSPATH=%POST_CLASSPATH%;%EXT_POST_CLASSPATH%
         ) else (
              set POST_CLASSPATH=%EXT_POST_CLASSPATH%
    if NOT "%WEBLOGIC_EXTENSION_DIRS%"=="" (
         set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.ext.dirs=%WEBLOGIC_EXTENSION_DIRS%
    set JAVA_OPTIONS=%JAVA_OPTIONS%
    @REM SET THE CLASSPATH
    if NOT "%WLP_POST_CLASSPATH%"=="" (
         if NOT "%CLASSPATH%"=="" (
              set CLASSPATH=%WLP_POST_CLASSPATH%;%CLASSPATH%
         ) else (
              set CLASSPATH=%WLP_POST_CLASSPATH%
    if NOT "%POST_CLASSPATH%"=="" (
         if NOT "%CLASSPATH%"=="" (
              set CLASSPATH=%POST_CLASSPATH%;%CLASSPATH%
         ) else (
              set CLASSPATH=%POST_CLASSPATH%
    if NOT "%WEBLOGIC_CLASSPATH%"=="" (
         if NOT "%CLASSPATH%"=="" (
              set CLASSPATH=%WEBLOGIC_CLASSPATH%;%CLASSPATH%
         ) else (
              set CLASSPATH=%WEBLOGIC_CLASSPATH%
    if NOT "%PRE_CLASSPATH%"=="" (
         set CLASSPATH=%PRE_CLASSPATH%;%CLASSPATH%
    if NOT "%JAVA_VENDOR%"=="BEA" (
         set JAVA_VM=%JAVA_VM% %JAVA_DEBUG% %JAVA_PROFILE%
    ) else (
         set JAVA_VM=%JAVA_VM% %JAVA_DEBUG% %JAVA_PROFILE%
    startWebLogic.cmd
    @ECHO OFF
    @REM WARNING: This file is created by the Configuration Wizard.
    @REM Any changes to this script may be lost when adding extensions to this configuration.
    SETLOCAL
    @REM --- Start Functions ---
    @REM set JAVA_OPTIONS=-javaagent:C:\jarlar\jrebel\jrebel.jar %JAVA_OPTIONS%
    @REM set CLASS_CACHE=false
    GOTO :ENDFUNCTIONS
    :stopAll
         @REM We separate the stop commands into a function so we are able to use the trap command in Unix (calling a function) to stop these services
         if NOT "X%ALREADY_STOPPED%"=="X" (
              GOTO :EOF
         @REM STOP DERBY (only if we started it)
         if "%DERBY_FLAG%"=="true" (
              echo Stopping Derby server...
              call "%WL_HOME%\common\derby\bin\stopNetworkServer.cmd" >"%DOMAIN_HOME%\derbyShutdown.log" 2>&1
              echo Derby server stopped.
         set ALREADY_STOPPED=true
    GOTO :EOF
    :classCaching
         echo Class caching enabled...
         set JAVA_OPTIONS=%JAVA_OPTIONS% -Dlaunch.main.class=%SERVER_CLASS% -Dlaunch.class.path="%CLASSPATH%" -Dlaunch.complete=weblogic.store.internal.LockManagerImpl -cp %WL_HOME%\server\lib\pcl2.jar
         set SERVER_CLASS=com.oracle.classloader.launch.Launcher
    GOTO :EOF
    :ENDFUNCTIONS
    @REM --- End Functions ---
    @REM *************************************************************************
    @REM This script is used to start WebLogic Server for this domain.
    @REM
    @REM To create your own start script for your domain, you can initialize the
    @REM environment by calling @USERDOMAINHOME\setDomainEnv.
    @REM
    @REM setDomainEnv initializes or calls commEnv to initialize the following variables:
    @REM
    @REM BEA_HOME - The BEA home directory of your WebLogic installation.
    @REM JAVA_HOME - Location of the version of Java used to start WebLogic
    @REM Server.
    @REM JAVA_VENDOR - Vendor of the JVM (i.e. BEA, HP, IBM, Sun, etc.)
    @REM PATH - JDK and WebLogic directories are added to system path.
    @REM WEBLOGIC_CLASSPATH
    @REM - Classpath needed to start WebLogic Server.
    @REM PATCH_CLASSPATH - Classpath used for patches
    @REM PATCH_LIBPATH - Library path used for patches
    @REM PATCH_PATH - Path used for patches
    @REM WEBLOGIC_EXTENSION_DIRS - Extension dirs for WebLogic classpath patch
    @REM JAVA_VM - The java arg specifying the VM to run. (i.e.
    @REM - server, -hotspot, etc.)
    @REM USER_MEM_ARGS - The variable to override the standard memory arguments
    @REM passed to java.
    @REM PRODUCTION_MODE - The variable that determines whether Weblogic Server is started in production mode.
    @REM DERBY_HOME - Derby home directory.
    @REM DERBY_CLASSPATH
    @REM - Classpath needed to start Derby.
    @REM
    @REM Other variables used in this script include:
    @REM SERVER_NAME - Name of the weblogic server.
    @REM JAVA_OPTIONS - Java command-line options for running the server. (These
    @REM will be tagged on to the end of the JAVA_VM and
    @REM MEM_ARGS)
    @REM CLASS_CACHE - Enable class caching of system classpath.
    @REM
    @REM For additional information, refer to "Managing Server Startup and Shutdown for Oracle WebLogic Server"
    @REM (http://download.oracle.com/docs/cd/E17904_01/web.1111/e13708/overview.htm).
    @REM *************************************************************************
    @REM Call setDomainEnv here.
    set DOMAIN_HOME=C:\Users\Dijitaluser\AppData\Roaming\JDeveloper\system11.1.1.4.37.59.23\DefaultDomain
    for %%i in ("%DOMAIN_HOME%") do set DOMAIN_HOME=%%~fsi
    call "%DOMAIN_HOME%\bin\setDomainEnv.cmd" %*
    set SAVE_JAVA_OPTIONS=%JAVA_OPTIONS%
    set SAVE_CLASSPATH=%CLASSPATH%
    @REM Start Derby
    set DERBY_DEBUG_LEVEL=0
    if "%DERBY_FLAG%"=="true" (
         call "%WL_HOME%\common\derby\bin\startNetworkServer.cmd" >"%DOMAIN_HOME%\derby.log" 2>&1
    set JAVA_OPTIONS=%SAVE_JAVA_OPTIONS%
    set SAVE_JAVA_OPTIONS=
    set CLASSPATH=%SAVE_CLASSPATH%
    set SAVE_CLASSPATH=
    if "%PRODUCTION_MODE%"=="true" (
         set WLS_DISPLAY_MODE=Production
    ) else (
         set WLS_DISPLAY_MODE=Development
    if NOT "%WLS_USER%"=="" (
         set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.management.username=%WLS_USER%
    if NOT "%WLS_PW%"=="" (
         set JAVA_OPTIONS=%JAVA_OPTIONS% -Dweblogic.management.password=%WLS_PW%
    if NOT "%MEDREC_WEBLOGIC_CLASSPATH%"=="" (
         if NOT "%CLASSPATH%"=="" (
              set CLASSPATH=%CLASSPATH%;%MEDREC_WEBLOGIC_CLASSPATH%
         ) else (
              set CLASSPATH=%MEDREC_WEBLOGIC_CLASSPATH%
    echo .
    echo .
    echo JAVA Memory arguments: %MEM_ARGS%
    echo .
    echo WLS Start Mode=%WLS_DISPLAY_MODE%
    echo .
    echo CLASSPATH=%CLASSPATH%
    echo .
    echo PATH=%PATH%
    echo .
    echo ***************************************************
    echo * To start WebLogic Server, use a username and *
    echo * password assigned to an admin-level user. For *
    echo * server administration, use the WebLogic Server *
    echo * console at http:\\hostname:port\console *
    echo ***************************************************
    @REM CLASS CACHING
    if "%CLASS_CACHE%"=="true" (
         CALL :classCaching
    @REM START WEBLOGIC
    echo starting weblogic with Java version:
    %JAVA_HOME%\bin\java %JAVA_VM% -version
    if "%WLS_REDIRECT_LOG%"=="" (
         echo Starting WLS with line:
         echo %JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% -Dweblogic.Name=%SERVER_NAME% -Djava.security.policy=%WL_HOME%\server\lib\weblogic.policy %JAVA_OPTIONS% %PROXY_SETTINGS% %SERVER_CLASS%
         %JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% -Dweblogic.Name=%SERVER_NAME% -Djava.security.policy=%WL_HOME%\server\lib\weblogic.policy %JAVA_OPTIONS% %PROXY_SETTINGS% %SERVER_CLASS%
    ) else (
         echo Redirecting output from WLS window to %WLS_REDIRECT_LOG%
         %JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% -Dweblogic.Name=%SERVER_NAME% -Djava.security.policy=%WL_HOME%\server\lib\weblogic.policy %JAVA_OPTIONS% %PROXY_SETTINGS% %SERVER_CLASS% >"%WLS_REDIRECT_LOG%" 2>&1
    CALL :stopAll
    popd
    @REM Exit this script only if we have been told to exit.
    if "%doExitFlag%"=="true" (
         exit
    ENDLOCAL
    Edited by: webyildirim on 11.Ara.2012 02:38

  • How can i set a path for my deployment files in weblogic server 10.3

    Hi
    How can i set the path for my WAR ,JAR files while deploying.i am using the wls10.3 version.
    is there any scripts for this ,please provide me.
    my Application is ADF 11g application.

    By "path", I assume you mean "classpath".
    The simplest way is simply to include the jars you need inside the web application or web module's WEB-INF/lib directory, EJB module's META-INF/lib directory, or EAR lib directory.
    If that's not practical, if you use NodeManager to start your servers, you can go to the "Server Start" tab in the server definition in the WebLogic console and edit the "Classpath" field, which defaults to no value. You can specify a classpath value there. Note that if you specify a value there, it REPLACES the default classpath for the server, it doesn't add to it. If you need to just add to it (a much more likely scenario), if the value references the value "$CLASSPATH" in it, that will reference the original classpath value that the server would have had.
    So, for instance, if you wanted to include the MQ jars in the server classpath, you could set a value like this:
    /usr/java/mq/lib/mq.jar:/usr/java/mq/lib/mqstuff.jar:$CLASSPATH

  • Weblogic Classpath setting error not able to pick the properties file

    Hi All,
    We are using a third party jar and create a java Web service on the top of that jar. This jar file need two configuration file .properties and .xml when we deploy war for the application into weblogic server it will give file not found error. Though this file already exists inside the .war but from the application it is not able to pick the files.
    We find that these file need to be put in weblogic domain home and we put it there and application works.
    I decompile the jar and found that inside java class they use FileReader("allXXX.xml") path and when I Google it and found that it will pick the file from weblogic domain directory.
    The issue is that we need to put properties file in specific weblogic folder like /3party/config by setting the class path inside startWebLogic.cmd. Please let us know solution for same
    Thanks in advance
    Edited by: sb**** on Mar 19, 2012 9:08 AM

    Hi , I am also facing the similer issue. I am deploying war file of my Spring MVC application , but its not picking resource bundle .properties files from one of the configuration file.
    <bean id="PropertiesRepository"
              class="LanguageBasedPropertiesRepository">
              <property name="propertiesFiles">
                   <map>
                        <entry key="en" value="classpath:/exceptionMessages.properties" />
                        <entry key="es" value="classpath:/exceptionMessages_es.properties" />
                        <entry key="default" value="classpath:/exceptionMessages.properties" />
                   </map>
              </property>
         </bean>
    Please let me know how we can modify this to make it work.
    thanks .

  • Urgent. Unable to set up JSP in Weblogic server

              Hi,
              I wish to enable JSPs in the weblogic server. i went thru the bea documentation and
              added the following lines in hte weblogic.properties file :
              weblogic.httpd.documentRoot=XXX (The root directory for the jsps.
              weblogic.httpd.register.*.jsp=\ weblogic.servlet.JSPServlet
              weblogic.httpd.initArgs.*.jsp=\ pageCheckSeconds=1,\
              compileCommand=/opt/java1.2/bin/javac,\
              workingDir=XXX,\
              verbose =true
              After this, i started the weblogic. But apparently, it says that all the above properties are undeclared.
              I am not able to go further on this. Could anyone help me out on this.
              I am working on a HP machine.
              thanks in advance. prashant
              

    Hi,
              It is really hard to tell exactly what is going on without more information. If all you are using are JSPs, try
              removing the servlet classpath altogether. Put any helper classes into the weblogic classpath.
              Can you get one of the example JSPs working in your environment? This would be a good place to start just to verify
              that your environment is set up correctly.
              Can you post your JSP file that is not working?
              Hope this helps,
              Robert
              prashant wrote:
              > Good Morning.
              >
              > I just changed the path as you had said. now it stands as :
              >
              > weblogic.httpd.documentRoot=/sclNewArch/weblogic/pgupta/jsp
              >
              > workingDir=/sclNewArch/weblogic/pgupta/jspworkingdir
              >
              > weblogic.httpd.servlet.classpath=/sclNewArch/weblogic/pgupta/jspclass
              >
              > But still it gives the same error : javax.servlet.ServletException: Servlet class: could not be loaded - the reques
              > ted class wasn't found in the classpath
              >
              > Pleae help.
              >
              > Prashant
              >
              > Robert Patrick <[email protected]> wrote:
              > >1.) Do not make the working directory the same as the document root (or a subdirectory of the document root
              > >hierarchy).
              > >2.) Do not put the working directory in the servlet classpath.
              > >
              > >prashant wrote:
              > >
              > >> Hi,
              > >> Sorry, that was an error on my part while writing to this forum. i had actually done it correctly.
              > >> To tell you in more details, among other things, i have set the following parameters :
              > >>
              > >> weblogic.httpd.documentRoot=/sclNewArch/weblogic/pgupta/jsp
              > >>
              > >> workingDir=/sclNewArch/weblogic/pgupta/jsp
              > >>
              > >> weblogic.httpd.servlet.classpath=/sclNewArch/weblogic/pgupta/jsp
              > >>
              > >> Now, a small jsp that i made is in the same directory. When i try to run the directory with the following :
              > >> http://localhost:8013/a.jsp, it gives the error as given below. I am not able to understand what is the
              > >> problem, since my jsp is in the same directory where the class file is to be made.
              > >>
              > >> Please help.
              > >>
              > >> Thanks,prashant
              > >>
              > >> Fri Jan 05 17:31:45 CST 2001:<E> <ServletContext-General> Servlet failed with Ex
              > >> ception
              > >> javax.servlet.ServletException: Servlet class: could not be loaded - the reques
              > >> ted class wasn't found in the classpath
              > >> /sclNewArch/weblogic/pgupta/jsp
              > >> at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
              > >> mpl.java:299)
              > >> at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
              > >> java:164)
              > >> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              > >> pl.java:99)
              > >> at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              > >> textImpl.java:742)
              > >> at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              > >> textImpl.java:686)
              > >> at weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
              > >> ContextManager.java:247)
              > >> at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
              > >> a:361)
              > >> at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
              > >>
              > >>
              > >> "Tamilselvan Ramasamy" <[email protected]> wrote:
              > >> >"\" means that property continue in the next line.
              > >> >
              > >> >so your changes as follows
              > >> >
              > >> >weblogic.httpd.documentRoot = /opt/app1/jspdir
              > >> >
              > >> >weblogic.httpd.register.*.jsp=\
              > >> > weblogic.servlet.JSPServlet
              > >> >weblogic.httpd.initArgs.*.jsp=pageCheckSeconds=1,\
              > >> >compileCommand=/opt/java1.2/bin/javac,\
              > >> > workingDir=XXX,\
              > >> > verbose =true
              > >> >
              > >> >/selvan
              > >> >Captura Software Inc
              > >> >
              > >> >"prashant" <[email protected]> wrote in message
              > >> >news:[email protected]...
              > >> >>
              > >> >> Hi,
              > >> >>
              > >> >> I wish to enable JSPs in the weblogic server. i went thru the bea
              > >> >documentation and
              > >> >> added the following lines in hte weblogic.properties file :
              > >> >>
              > >> >> weblogic.httpd.documentRoot=XXX (The root directory for the jsps.
              > >> >>
              > >> >> weblogic.httpd.register.*.jsp=\ weblogic.servlet.JSPServlet
              > >> >> weblogic.httpd.initArgs.*.jsp=\ pageCheckSeconds=1,\
              > >> >> compileCommand=/opt/java1.2/bin/javac,\
              > >> >> workingDir=XXX,\
              > >> >> verbose =true
              > >> >> After this, i started the weblogic. But apparently, it says that all the
              > >> >above properties are undeclared.
              > >> >>
              > >> >> I am not able to go further on this. Could anyone help me out on this.
              > >> >>
              > >> >> I am working on a HP machine.
              > >> >>
              > >> >> thanks in advance. prashant
              > >> >
              > >> >
              > >
              

  • Classpath - Weblogic Server

    Hi All,
    I'm pretty new to Oracle SOA and Weblogic server getting myself familiarize with some POCs .
    I'm a bit lost with setting CLASSPATH in Weblogic server . Require your help in the following.
    1) If i want to use some third party JARS for JDBC connections, where can i set this classpath ? Tried to set the CLASSPATH / Pre pend ClassPath and Append to Classpath from Admin console. But it didn't work .
    I had to modify the setDomainEnv.cmd file, add it to the POST_CLASSPATH variable and then it did work. My question is why is it not being reflected when i have added it from admin console.
    2) I have a Java application wherein it reads a properties file from classpath. Tried setting the same from admin console,as expected didn't work.
    Then i had to modify commEnv.cmd file in WLS_HOME/common/bin folder and then it did worked ... So can't we set these from admin console ?
    Please do help me with the above and thanks in advance.
    Regards,
    Sri

    "Once you update the classpath from the admin console, how can you start the admin server with the node manager?"
    To start the admin server by using the node manager, you can use WLST, for example,
    bea_home = '/home/oracle/soa/domains';
    pathseparator = '/';
    admin_username = 'username';
    admin_password = 'password';
    listen_address = 'localhost';
    listen_port = '5556';
    admin_server_url='t3://localhost:7001'
    node_manager_home = bea_home + pathseparator + domain_name + pathseparator + 'nodemanager';
    domain_name = 'soa_domain';
    domain_home = bea_home + pathseparator + domain_name;
    print 'START NODE MANAGER
    startNodeManager(verbose='true', NodeManagerHome=node_manager_home, ListenPort=listen_port, ListenAddress=listen_address);
    print 'CONNECT TO NODE MANAGER';
    nmConnect(admin_username, admin_password, listen_address, listen_port, domain_name, domain_home, 'ssl');
    print 'START ADMIN SERVER';
    nmStart('AdminServer');

Maybe you are looking for

  • Combining mulitple image files into a PDF results in different pages sizes

    Hi I prepared 150 images in Photoshop using a script. All the images are the same pixels dimensions, same resolution and same file type. When I combine them into a PDF using Acrobat XI, some of the pages are very small. I cannot see the logic as to w

  • Can I get the Apple Color Picker in CS5 Windows?

    HI - I'm a lifetime Mac and long time PShop user transplanted into a Windows shop.  Of all the things that I miss on my new workplace platform, the Apple Color Picker is the one that I encounter most often. Is there a plug-in, an extension, is there

  • How to remove xmlns tag in Node level

    Hi Experts! How to remove xmlns tag in xml file, where only xmlns="". I do not want to remove if xmlns contains a value. I am using below xslt mapping, but it is removing all xmlns tags in a xml file. I want to remove only xmlns="" . please help me o

  • URGENT: Skype Subscription Problem!

    I purchase a subscription just now and amount as been charge but its not active. still i cant able to make calls poping up insufficient credit msg. 

  • Change tmp directory used during deploying BPEL

    Hi, We need to be able to deploy BPEL processes using ANT but use a different temporary directory from the default being /tmp on Linux. We are using BPEL 10.1.3.4 on OAS. This is because we have different oracle accounts and homes on the same host. I