Weblogic 12.1.2 with Hibernate 4.3.6 (JPA 2.1) as Persistence Provider

Hello,
Could I apply the javax.persistence_2.1.jar to PRE_CLASSPATH variable to get JPA2.1 in Weblogic 12.1.2 (not 12.1.3), using Hibernate 4.3.6 as my Persistence Provider?
Best Regards,
Luís

Hi,
If it is war then try to apply following  Patch 13893259.
Regards,
Kal

Similar Messages

  • EclipseLink persistence provider issue with weblogic 10.3

    Hi All,
    I have been trying to deploy and run an EAR in weblogic but when I run the application I get the following warning: WARNING: Found unrecognized persistence provider "org.eclipse.persistence.jpa.PersistenceProvider" in place of OpenJPA provider. This provider's properties will not be used.
    The following is my persistence.xml:
    <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 persistence_1_0.xsd" version="1.0">
    <persistence-unit name="default" transaction-type="JTA">
    <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
    <jta-data-source>DataSourceName</jta-data-source>
    <class>oracle.communications.platform.entity.impl.CharacteristicSpecificationDAO</class>
    <properties>
    <property name="eclipselink.logging.level" value="FINEST" />
    <property name="eclipselink.target-database" value="org.eclipse.persistence.platform.database.oracle.OraclePlatform" />
    <property name="eclipselink.target-server" value="WebLogic_10" />
    <property name="eclipselink.session-event-listener" value="oracle.communications.platform.persistence.impl.PomsSessionEventListener" />
    <property name="eclipselink.session.customizer" value="oracle.communications.platform.util.EclipseLinkSessionCustomizer" />
    <property name="poms.cache.coordination.implementation" value="jms" />
    <property name="poms.cache.coordination.ipaddress" value="10.178.139.64" />
    <property name="poms.cache.coordination.port" value="7101" />
    <property name="poms.cache.coordination.multicast.group.address" value="226.10.12.64" />
    <property name="poms.cache.coordination.multicast.port" value="3121" />
    <property name="poms.cache.coordination.topic.connection.factory.name" value="EclipseLinkTopicConnectionFactory" />
    <property name="poms.cache.coordination.topic.name" value="EclipseLinkTopic" />
    <property name="poms.cache.coordination.username" value="weblogic" />
    <property name="poms.cache.coordination.password" value="weblogic" />
    <property name="poms.cache.coordination.password.encrypted" value="false" />
    </properties>
    </persistence-unit>
    </persistence>
    I have written a session customizer that reads properties from the persistence.xml and initializes stuff. But because of the warning i mentioned earlier... I am getting null for all property entries.
    I moved the eclipselink jar entry up ahead of openjpa jar entry in weblogic.server.modules_10.3.1.0.xml and refcount.xml in /modules/features directory. I am still getting the same problem.
    I read in many posts for workarounds for this issue but didnt find anything which worked for me. I would be grateful if someone could provide me a hint as to how to make it work.
    Thanks in advance,
    Prashanth.

    Prashanth,
    Hi, there should be no issue running EclipseLink on WebLogic while you see this warning. If you are getting null properties it may be the result of another issue, could you post specific exceptions and the part of your client code that is having a problem.
    1) The warning below normally appears only when running your persistence unit with an "application managed" JTA datasource as opposed to a "globally defined server scoped datasource". Even then it can be ignored as there are still parts of WebLogic that depend on OpenJPA. Even though the warning states that properties are ignored - they are not and you should see your persistence unit loaded properly.
    I encountered this issue when running an "application managed" JTA - here is an extract of the log showing the warning and the full functioning of the pu later - the persistence unit and example code can be found on the weblogic tutorial examples link below
    "[EL Finer]: 2008.10.29 13:03:55.565--ClientSession(30346337)--Thread(Thread[[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--client released
    WARNING: Found unrecognized persistence provider "org.eclipse.persistence.jpa.PersistenceProvider" in place of OpenJPA provider. This provider's properties will not be used.
    [EL Info]: 2008.10.29 13:03:56.079--ServerSession(14772987)--EclipseLink, version: Eclipse Persistence Services - 1.1.0 (Build 20081023)
    [EL Info]: 2008.10.29 13:03:56.391--ServerSession(14772987)--file:/C:/view_w34r1a/examples/org.eclipse.persistence.example.jpa.server.weblogic.enterpriseEJB/build/classes/-exampleLocal login successful
    15 Entities in storage: 15
    [EL ExampleLocal EM]: enterprise: Object: [email protected]( id: 6 state: null parent: HashSet@15794734 references: HashSet@15794734)
    [EL ExampleLocal EM]: enterprise: Object: [email protected]( id: 26 state: null parent: HashSet@8800655 references: HashSet@8800655)
    I raised the following minor issue with our WebLogic Server team in Oct for reference - however this warning did not affect proper functioning of EclipseLink JPA.
    https://bug.oraclecorp.com/pls/bug/webbug_edit.edit_info_top?rptno=7520161
    You may reference the following tutorial on running EclipseLink JPA on WebLogic 10.3, it details all the steps necessary to get a JTA container managed persistence unit running via a stateless session bean and a servlet client. It also details and links to application managed datasource configuration details.
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/WebLogic_Web_Tutorial
    2) eclipselink.jar location in WebLogic?
    The eclipselink.jar library should stay in the modules or patch_* directory depending on whether you are running a standalone WebLogic server or as part of a Fusion Middleware JDeveloper environment.
    See the following link that details deployment options for WebLogic and EclipseLink
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/WebLogic_Web_Tutorial#EclipseLink_JAR_location
    Note: I have not modified the load order of EclipseLink, OpenJPA or Kodo, I am running all including this version of OpenJPA in my modules directory. [org.apache.openjpa_1.0.0.0_1-1-1-SNAPSHOT.jar]
    3) I noticed that you are defining the target-database property in your persistence unti but you are running as JTA not RESOURCE_LOCAL. This property can be removed if your JTA datasource is defined as a Transactional server scoped datasource via the WebLogic console.
    thank you
    /michael
    http://www.eclipselink.org

  • 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

  • Error while integrating Struts1.2.9 with Hibernate on WEBLOGIC 8.1 sp2

    Hi,
    I am trying to use Hibernate in my application but while integration struts with Hibernate i m getting the following error
    <Error> <HTTP> <BEA-101216> <Servlet: "action" fail
    ed to preload on startup in Web application: "DefaultWebApp".
    javax.servlet.UnavailableException
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:399)
    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
    at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(Servl
    etStubImpl.java:1094)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    121)
    at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
    pl.java:970)
    at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
    Impl.java:949)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
    mpl.java:888)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppS
    ervletContext.java:3430)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebApp
    ServletContext.java:3375)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAp
    pServletContext.java:3356)
    at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServl
    etContext.java:6208)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:864)
    at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer
    .java:2134)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContai
    ner.java:2175)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContai
    ner.java:2122)
    at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivat
    ion(SlaveDeployer.java:3099)
    at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForA
    llApplications(SlaveDeployer.java:1768)
    at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.j
    ava:351)
    at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resum
    e(DeploymentManagerServerLifeCycleImpl.java:229)
    at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136)
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360)
    at weblogic.Server.main(Server.java:32)
    >
    Please help me
    Regards,
    Arun

    That appears to be a bug in the console. You might try the command-line tool java weblogic.Deployer for deploying apps. java weblogic.Deployer -examples will give detailed usage info.
    -- Rob
    WLS Blog http://dev2dev.bea.com/blog/rwoollen/

  • Problem with Hibernate/WL 10.3/Eclipse while deploying

    Hello
    We have an enterprise application project with Eclipse. We use hibernate for persistence. While deploying I get the folowing error:
    weblogic.deployment.EnvironmentException: Error processing persitence unit AwarePU of module TemplateStorage-ejb.jar: Error instantiating the Persistence Provider class org.hibernate.ejb.HibernatePersistence of the PersistenceUnit AwarePU: java.lang.ClassNotFoundException: org.hibernate.ejb.HibernatePersistence
    I understand that WL 10.3 has Kodo - BEA’s former JPA implementation and is not shipped with hibernate. There might be an easy way to resolve this. Any reply would be highly appreciated.....
    Thanks

    Thanks. I did inchude hibernate-entitymanager.jar into /root/bea/user_projects/domains/<project_name>/lib
    and get the following error:
    An error occurred during activation of changes, please see the log for details.
    org.hibernate.proxy.EntityNotFoundDelegate
    An error occurred during activation of changes, please see the log for details.
    Could not initialize class org.hibernate.ejb.Ejb3Configuration
    I am deploying an enterprise app with a few EJB modules.
    Thanks

  • Weblogic 10.3.5 with oracle forms and reports 11.1.2.1.0

    Hi All,
    I am new to 11g concept (actually web based, have worked till 6i) and trying to upgrade my existing system (6i) to 11g. I have installed Weblogic 10.3.5 with forms and reports 11.1.2.1.0 on windows 7 32 bit. I can connect to my database (10g) from Form builder.
    But when I try to open a form/pll of 10g or 6i, it says PDE-PLI018 could not find library and it shows the path of my earlier folder, which now does not exist.
    I have made changes in registry FORMS_PATH, FORMS_BUILDER_PATH, UI_ICON
    And in default.env file FORMS_PATH and CLASSPATH
    I have added entry to tnsnames.ora, through which I can connect to DB. And have followed below site to configure weblogic and FM forms and reports;
    http://windows7bugs.wordpress.com/2013/04/06/install-configure-oracle-weblogic-server-10-3-6-forms-reports-11g-on-windows8windows-2008-r2/
    I have few doubts in my mind;
    1) Do we have to connect (create a bridge) to DB from weblogic except tnsnames.ora.
    2) For library error I think I am missing some settings to be done.
    3) If I am able to rectify above error then can I directly use http://localhost:8888/forms/frmservlet and access the system from another pc, or still there are some modifications needed.
    I am trying this from last 3 days, but couldn't find the solution, kindly help me out for same, eagerly waiting for your reply.
    Regards,
    Ash

    Hi InoL,
    Thanks for your reply, Yes, as there are many forms in my system, there is a chance that libraries attached are with the path.

  • Deployement problem in oc4j with hibernate + JPA and Spring

    Dear All,
    From last 2 days I am facing a problem in deployment of our application in oc4j client of oracle app server.
    I am getting the following exception
    Operation failed with error: [mkclsets:mkclsets] - Exception creating EntityManagerFactory using PersistenceProvider class oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider for persistence unit mkclsetsPersistenceUnit.When I am deploying the same application in tomcat app server its working fine. But I am unable to deploy the same in oc4j.
    I am using the following technologies
    Spring 2.0
    Struts 2.0
    Hibernate 3.3
    JPA 1.0
    OC4J 10.1.3.3.0
    IDE : my eclipse 6.0
    My persistence.xml
    <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_1_0.xsd"
        version="1.0">
         <persistence-unit name="mkclsetsPersistenceUnit" transaction-type="RESOURCE_LOCAL">
              <!-- jta-data-source>mkclDS</jta-data-source-->
              <provider>org.hibernate.ejb.HibernatePersistence</provider>
              <!-- properties>
                   <property name="hibernate.dialect" value="org.hibernate.dialect.Oracle10gDialect"/>
                   <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.OC4JTransactionManager"/>
              </properties-->
         </persistence-unit>
    </persistence>Datasource-context.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:aop="http://www.springframework.org/schema/aop"
        xmlns:tx="http://www.springframework.org/schema/tx"
        xsi:schemaLocation="
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
        http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
        http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd">
         <bean class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor" lazy-init="true"/>
         <!--  following code is for using oracle -->
            <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource" lazy-init="true">
              <property name="driverClassName">
                   <value>oracle.jdbc.driver.OracleDriver</value>
              </property>
              <property name="url">
                   <value>jdbc:oracle:thin:@//xxxx.xxxx.xxxx.xxxx:1521/mydb</value>
              </property>
              <property name="username">
                   <value>tpsadmin</value>
              </property>
              <property name="password">
                   <value>tpsadmin</value>
              </property>
         </bean>
         <bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean" lazy-init="true">
              <property name="persistenceUnitName" value="mkclsetsPersistenceUnit"/>
              <property name="dataSource" ref="dataSource"/>
              <property name="jpaVendorAdapter">
                   <bean class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter" lazy-init="true">
                        <property name="database" value="ORACLE"/>               
                        <property name="showSql" value="true"/>
                   </bean>
              </property>
         </bean>
         <bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionManager" lazy-init="true">
              <property name="entityManagerFactory" ref="entityManagerFactory"></property>
         </bean>
         <tx:annotation-driven transaction-manager="transactionManager"/>     
    </beans>Server.xml (oc4j/j2ee/home/config)
    <?xml version="1.0"?>
    <application-server  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/application-server-10_1.xsd"  application-directory="../applications"
    check-for-updates="adminClientOnly"
    deployment-directory="../application-deployments"
    connector-directory="../connectors"
    schema-major-version="10" schema-minor-version="0" >
         <shared-library name="global.libraries" version="1.0" library-compatible="true">
              <code-source path="../applib"/>
         </shared-library>
         <shared-library name="global.tag.libraries" version="1.0" library-compatible="true">
              <code-source path="../../home/jsp/lib/taglib/"/>
              <code-source path="../../../j2ee/home/jsp/lib/taglib/"/>
              <code-source path="../../../lib/dsv2.jar"/>
              <import-shared-library name="oracle.xml"/>
              <import-shared-library name="oracle.jdbc"/>
              <import-shared-library name="oracle.cache"/>
              <import-shared-library name="soap"/>
         </shared-library>
         <shared-library name="oracle.persistence" version="1.0" library-compatible="true">
              <code-source path="../../../toplink/jlib/toplink-essentials.jar"/>
              <import-shared-library name="oracle.jdbc"/>
         </shared-library>
         <shared-library name="hibernatejpa" version="1.0">
              <code-source path="ejb3-persistence.jar"/>
              <code-source path="hibernate3.jar"/>
              <code-source path="hibernate-annotations.jar"/>
              <code-source path="hibernate-commons-annotations.jar"/>
              <code-source path="hibernate-entitymanager.jar"/>
              <code-source path="jboss-archive-browsing.jar"/>
              <code-source path="jta.jar"/>
         </shared-library>
         <shared-library name="db" version="1.0">
              <code-source path="ojdbc14.jar"/>
         </shared-library>
         <shared-library name="displaytab" version="1.0">
              <code-source path="commons-beanutils-1.7.0.jar"/>
              <code-source path="commons-lang-2.3.jar"/>
              <code-source path="displaytag-1.1.1.jar"/>
         </shared-library>
         <shared-library name="ehCache" version="1.0">
              <code-source path="backport-util-concurrent.jar"/>
              <code-source path="ehcache-1.4.0-beta2.jar"/>
              <code-source path="jsr107cache-1.0.jar"/>
         </shared-library>
         <shared-library name="json" version="1.0">
              <code-source path="ezmorph-1.0.4.jar"/>
              <code-source path="json.jar"/>
         </shared-library>
         <shared-library name="other_sets" version="1.0">
              <code-source path="commons-fileupload-1.1.jar"/>
              <code-source path="dom4j-1.6.1.jar"/>
              <code-source path="dwr.jar"/>
              <code-source path="javassist.jar"/>
              <code-source path="log4j-1.2.13.jar"/>
         </shared-library>
         <shared-library name="spring2" version="1.0">
              <code-source path="aspectjrt.jar"/>
              <code-source path="aspectjweaver.jar"/>
              <code-source path="cglib-nodep-2.1_3.jar"/>
              <code-source path="spring.jar"/>
         </shared-library>
         <shared-library name="struts2" version="1.0">
              <code-source path="antlr-2.7.2.jar"/>
              <code-source path="commons-collections.jar"/>
              <code-source path="commons-io-1.1.jar"/>
              <code-source path="commons-logging-1.0.4.jar"/>
              <code-source path="freemarker-2.3.8.jar"/>
              <code-source path="ognl-2.6.11.jar"/>
              <code-source path="struts2-core-2.0.9.jar"/>
              <code-source path="struts2-spring-plugin-2.0.9.jar"/>
              <code-source path="xwork-2.0.4.jar"/>
         </shared-library>
         <rmi-config path="./rmi.xml" />
         <jms-config path="./jms.xml" />
         <javacache-config path="../../../javacache/admin/javacache.xml" />
         <j2ee-logging-config path="./j2ee-logging.xml" />
         <log>
              <file path="../log/server.log" />
         </log>
         <java-compiler name="javac" in-process="false" options="-J-Xmx1024m -encoding UTF8" extdirs="C:\Program Files\Java\jdk1.5.0_07\jre\lib\ext" />
         <global-application name="default" path="application.xml" parent="system" start="true" />
         <application name="javasso" path="../../home/applications/javasso.ear" parent="default" start="false" />
         <application name="ascontrol" path="../../home/applications/ascontrol.ear" parent="system" start="true" />
         <application name="Test" path="../applications\Test.ear" parent="default" start="true" />
         <application name="OraTest" path="../applications\OraTest.ear" parent="default" start="true" />
         <global-web-app-config path="global-web-application.xml" />
         <transaction-manager-config path="transaction-manager.xml" />
         <web-site default="true" path="./default-web-site.xml" />
         <cluster  id="6745699755968" />
    </application-server>Orion-application.xml (oc4j/j2ee/home/config)
    <?xml version="1.0"?>
    <orion-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-application-10_0.xsd" deployment-version="10.1.3.1.0" default-data-source="jdbc/OracleDS" component-classification="external"
    schema-major-version="10" schema-minor-version="0" >
    <imported-shared-libraries>
         <import-shared-library name="hibernatejpa"/>
         <import-shared-library name="db"/>
         <import-shared-library name="displaytab"/>
         <import-shared-library name="ehCache"/>
         <import-shared-library name="json"/>
         <import-shared-library name="other_sets"/>
         <import-shared-library name="spring2"/>
         <import-shared-library name="struts2"/>
    </imported-shared-libraries>
    </orion-application>Please help to deploy my application, I created one application with struts2 and spring2 and that is working fine, but when I try to add JPA with hibernate 3.3 I am unable to deploy it.
    Thanks a lot in advance.
    With best regards,
    Ishaan

    Hi,
    Thank you very much for your reply. the previous Exception has gone but now I get the following one.
    Exception: NoClassDefFoundError: Missing class: org.dom4j.DocumentException Dependent class: org.hibernate.ejb.HibernatePersistence Loader: hibernatejpa:1.0 Code-Source: /C:/oracle123/j2ee/home/shared-lib/hibernatejpa/1.0/hibernate-entitymanager.jar Configuration: in /C:/oracle123/j2ee/home/config/server.xml The missing class is available from the following locations: 1. Code-Source: /C:/oracle123/j2ee/home/shared-lib/other_sets/1.0/dom4j-1.6.1.jar (from in /C:/oracle123/j2ee/home/config/server.xml) This code-source is available in loader other_sets:1.0.
    [Jun 2, 2008 10:57:17 AM] Operation failed with error: Missing class: org.dom4j.DocumentException Dependent class: org.hibernate.ejb.HibernatePersistence Loader: hibernatejpa:1.0 Code-Source: /C:/oracle123/j2ee/home/shared-lib/hibernatejpa/1.0/hibernate-entitymanager.jar Configuration: in /C:/oracle123/j2ee/home/config/server.xml The missing class is available from the following locations: 1. Code-Source: /C:/oracle123/j2ee/home/shared-lib/other_sets/1.0/dom4j-1.6.1.jar (from in /C:/oracle123/j2ee/home/config/server.xml) This code-source is available in loader other_sets:1.0. with bset regards,
    ishaan

  • Getting started with Hibernate

    Hi Friends,
    I am working through my way to get started with Hibernate. I am using the tutorial at http://www.gloegl.de/8.html and I am stuck at running the application. I get the following error
    D:\Hibernate>run
    D:\Hibernate>D:\jdk1.3.1\jre\bin\java -classpath .\lib\hibernate2.jar;.\lib\jta.
    jar;.\lib\commons-logging.jar;.\lib\hsqldb.jar;.\lib\cglib2.jar;.\lib\commons-co
    llections.jar;.\lib\dom4j.jar;.\lib\odmg.jar;.\lib\jdbc2_0-stdext.jar;.\bin Even
    tManager
    Initializing Hibernate
    INFO - Hibernate 2.1 final
    INFO - hibernate.properties not found
    INFO - using CGLIB reflection optimizer
    INFO - JVM does not support LinkedHasMap, LinkedHashSet - ordered maps and sets
    disabled
    INFO - using workaround for JVM bug in java.sql.Timestamp
    INFO - configuring from resource: /hibernate.cfg.xml
    INFO - Configuration resource: /hibernate.cfg.xml
    INFO - Mapping resource: Event.hbm.xml
    INFO - Mapping class: Event -> EVENTS
    INFO - Configured SessionFactory: null
    INFO - processing one-to-many association mappings
    INFO - processing one-to-one association property references
    INFO - processing foreign key constraints
    INFO - Using dialect: net.sf.hibernate.dialect.HSQLDialect
    INFO - Use outer join fetching: false
    INFO - Using Hibernate built-in connection pool (not for production use!)
    INFO - Hibernate connection pool size: 20
    INFO - using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:data/test
    INFO - connection properties: {user=sa, password=}
    INFO - Transaction strategy: net.sf.hibernate.transaction.JDBCTransactionFactor
    y
    INFO - No TransactionManagerLookup configured (in JTA environment, use of proce
    ss level read-write cache is not recommended)
    INFO - Use scrollable result sets: true
    INFO - echoing all SQL to stdout
    INFO - Query language substitutions: {}
    INFO - cache provider: net.sf.hibernate.cache.HashtableCacheProvider
    INFO - instantiating and configuring caches
    INFO - building session factory
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/transform/S
    ource
    at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.ja
    va:160)
    at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.
    java:726)
    at EventManager.<init>(EventManager.java:19)
    at EventManager.main(EventManager.java:27)
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/transform/S
    ource
    at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.ja
    va:160)
    at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.
    java:726)
    at EventManager.<init>(EventManager.java:19)
    at EventManager.main(EventManager.java:27)
    what jar files/files I need other than mentioned in the tutorial.
    please help me to get started with Hibernate...
    Thanks for your help and time.

    java -classpath .\lib\hibernate2.jar;.\lib\jta.jar;.\lib\commons-logging.jar;.\lib\hsqldb.jar;.\lib\cglib2.jar;.\lib\asm-1.4.1.jar;.\lib\commons-collections.jar;.\lib\dom4j.jar;.\lib\odmg.jar;.\lib\xml-apis-2.3.0.jar;.\lib\xerces-2.3.0.jar;.\lib\jdbc2_0-stdext.jar;.\bin de.gloegl.road2hibernate.EventManager
    see above classpath and identify....how many jars you missed... :)
    All the best
    Nilesh

  • Can javafx intregrate with hibernate in netbeans?

    I'm javafx newbie.
    Can javafx intregrate with hibernate in netbeans? (6.8)
    I try to add Hibernate configuration wizard and Hibernate mapping wizard
    by right click at the project > new > other > hibernate
    but it does't support.
    it shows "Unsupported Project Type"
    How to solve this?
    thank you so much

    thank alexfromsarkoland.
    I try by right click at the project > new > XML document
    and write mapping and configuration file, It's work !
    but if netbeans wizard support on javafx it will be easier.
    thx u.

  • Flex with Hibernate using HTTP

    Hi All,
    am new to Flex. Can any one post a simple code on Flex with
    Hibernate using HTTP , i mean connecting to database using
    Hibernate and invoking the hibernate by using the HTTP service.
    can we have a sequence like
    Flex(MXML)->JSP->Hibernate->Database .Is it possible?
    Thanks in Advance

    > can we have a sequence like
    Flex(MXML)->JSP->Hibernate->Database .Is it possible?
    That's exactly what you're going to have and it certainly is
    possible. (Replace the JSP with Servlet, Struts Action, JSF or
    whatever)
    Usually you'll send data back -- output to JSP or write to
    HttpServletResponse object -- in XML or JSON format. The data would
    be delivered to the result event of the HTTService in Flex. If it
    fails for some reason, the fault event of HTTService class would be
    invoked.
    The important thing to realize about Flex is that it cannot
    directly connect to a DB; you need a server side action that would
    get data from wherever write it to response. It's more like Ajax
    calls to a JSP/Servlet.
    ATTA

  • Weblogic Server 8.1 with SP6

    Currently we are running with BEA Weblogic server 8.1 with service pack upgraded to SP6 lately. I heard that it will require the upgrades of Oracle database to V 9.2.0.4. Is this required? I am wondering if we need to workout this upgrade to our db. Thanks.

    I saw that the documentation mentioned Oracle9i RAC (for Oracle 9.2.0.4) supported in SP6. Does it mean those other lower versions are not supported?
    http://e-docs.bea.com/platform/suppconfigs/configs81/81_over/overview.html
    http://e-docs.bea.com/platform/suppconfigs/configs81/81_over/supported_db.html

  • Weblogic 6.0 SP2 with JDK1.3 as a Win2kPro Service Fails

    I have installed the weblogic server 6.0 with sp2 with the intergrated jdk1.3.0. Everything seems to be fine when I manually run it. Bun whenever I am trying to run as a win2k service it fails. To be more specific whenever I am trying to start the service I can can see in the services list that the service is running. After about 10 secs when I refresh the services list the weblogic service is stopped. My first thought was that I had to do something with the password option, I checked it and I corrected it but the problem still exists.

    I have installed the weblogic server 6.0 with sp2 with the intergrated jdk1.3.0. Everything seems to be fine when I manually run it. Bun whenever I am trying to run as a win2k service it fails. To be more specific whenever I am trying to start the service I can can see in the services list that the service is running. After about 10 secs when I refresh the services list the weblogic service is stopped. My first thought was that I had to do something with the password option, I checked it and I corrected it but the problem still exists.

  • Weblogic 10.3.3 with JProbe8.3

    Hello
    I am trying to integrate Weblogic 10.3.3 with JProbe 8.3 But getting the following exception "JProbe Error: The Java VM was not recognized, so it is not supported.
    JProbe Error: Unsupported JVM for this product: "C:\wls1033\JROCKI~1.0-6\bin\jav
    a".
    JProbe Error: JVM information: Oracle Corporation 1.6.0_17 (Oracle JRockit(R) R2
    8.0.0-679-130297-1.6.0_17-20100312-2123-windows-ia32)"
    Please let me know what needs to be done to remove this exception ..... It's urgent

    Hello
    I am trying to integrate Weblogic 10.3.3 with JProbe 8.3 But getting the following exception "JProbe Error: The Java VM was not recognized, so it is not supported.
    JProbe Error: Unsupported JVM for this product: "C:\wls1033\JROCKI~1.0-6\bin\jav
    a".
    JProbe Error: JVM information: Oracle Corporation 1.6.0_17 (Oracle JRockit(R) R2
    8.0.0-679-130297-1.6.0_17-20100312-2123-windows-ia32)"
    Please let me know what needs to be done to remove this exception ..... It's urgent

  • [Blog] Monitoring WebLogic J2EE on VMware with VMware vCenter Operations (vCOps)

    Monitoring WebLogic J2EE on VMware with VMware vCenter Operations
    The Blue Medora vC Ops Management Pack for Oracle OEM was updated in early May (2014) to include enhanced support for Oracle WebLogic J2EE integration. All of the Oracle EM target types for WebLogic related components including WebLogic Server, J2EE Application Deployments, Oracle HTTP Server, as well as WebLogic Cluster are now available to be ingested into VMware vC Ops Enterprise Edition. 
    With the data available within these new vC Ops 'Resource Kinds', you have the ability to create WebLogic on VMware relationship views, WebLogic on VMware mashup dashboards, as well as leverage vC Ops anomaly detection and predictive analytics on your WebLogic J2EE landscape. Below are a number of example dashboards that were easily created using the WebLogic data available within the Management Pack.
    The first dashboard, the WebLogic on VMware Relationship View -- helps you visualize your WebLogic environment running on VMware all the way down to the VMware VM, ESX, and even Datastore level.   This can useful for diagnosing critical J2EE applications running within the vSphere environment -- allowing you to quickly discern whether a problem exists in the Oracle WebLogic layer or one of the VMware virtualization layers.
    vC Ops Management Pack for Oracle EM - WebLogic on VMware Relationship View
    Continued here: Monitoring WebLogic J2EE on VMware with VMware vCenter Operations | Blue Medora

    Can you point me to recommendations on installing Hyperic on VMware virtual appliances?
    Is it as simple as treating the appliance as a Linux VM during installation?  Can vSphere be used to deploy Hyperic to a VMware appliance like vRA (non-IAAS)?
    Thanks,
    -MattG

  • Weblogic on jvm6, eclipse with oepe on jvm6 and ....can I expect problems ?

    weblogic on jvm6, eclipse with oepe on jvm6 and web app build for javaee5, what kind of problems can I expect.

    Could you check to make sure Dashlane is up-to-date? Two other Mac users this week reported success:
    * [https://support.mozilla.org/questions/1030201 Updated to Firefox 33.1 on my MAC 10.10. My dashlane icon was grayed out (was a green dot) next to menu icon. How can I reactivate Dashlane?] - reinstalled from Dashlane site (4 days ago)
    * [https://support.mozilla.org/questions/1032480 Dashlane add-on doesn't work after update firefox 33.1.1] - updated from app store (today)

Maybe you are looking for

  • Loading an extranel SWF into movie

    Hi I'm trying to load an external SFW into my empty placeholder moveiclip. I can achive this fine using buttons and an onClick event, but how can I have this happen at the start of a movie clip with no human interaction. The code I am trying is below

  • JCP or XP

    Hi, I noticed the 658 answers for the JCP question. Any of you used XP home or pro with java and tomcat and hit problems. I am creating a help file for those inflicted with this problem. XP is definitely sub-standard in my view. What does JCP stand f

  • Microsoft Visual C++ Runtime Library(runtime erorr

    Microsoft Visual C++ Runtime Library      Runtime Error!      Program: C:\Program Files\Half Life2\root\hl2.exe     This application has requested the runtime to terminate it in an unusual way.   Can anyone help me plz,I dont know what to do

  • Path Free Calls to Forms / Reports from Menu

    Hello all, My query is HOW CAN I CALL my forms , reports,graphics without mentioning the path of the drive where the form/report is saved in its executable state.....its quick and urgent ....thx in advance Rgds Imran

  • String formatting in SQL/PLSQL

    How can we format strings (Varchar) using sql/plsql? Are there any functions using which I can format varchar variables. e.g., to convert an amount 100000 to 100,000.00 .