Cluster WebLogic 12 c and timers EJB 3.1

Hello!

I am using Weblogic 12 c (12.1.2.0) Cluster.

I configured datasource of the cluster tab of planning and created the tables ACTIVE and WEBLOGIC_TIMERS.


@Stateless

public class MyTimerService {}

@Schedule (minute = "* / 2", time = "*")

private void heartbeat() {}

System.out.println ("heartbeat shot");

}

<? XML version = "1.0" encoding = "UTF-8"? >

< wls:weblogic - ejb - jar

' xmlns:wls = ' http://xmlns.Oracle.com/WebLogic/WebLogic-EJB-jar "" "

" 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/ejb-jar_3_1.xsd http://xmlns.oracle.com/weblogic/weblogic-ejb-jar http://xmlns.oracle.com/weblogic/weblogic-ejb-jar/1.3/weblogic-ejb-jar.xsd' > .

< wls:timer - implemented > Clustered < / wls:timer - implemented >

< / wls:weblogic - ejb - jar >

If I run the application on weblogic stanalone without timer of weblogic-ejb - jar.Xml.

When I try to run the cluster with weblogic-ejb - jar.xml during deployment I have error:

< error > < hats > < localhost > < MS1 > < ExecuteThread [ASSET]: '0' for the queue: '(self-adjusting) weblogic.kernel.Default' > < < WLS Kernel > > <><>< 1404812226750 > < BEA-149231 > < cannot create the activation state to true for the application 'test '.

weblogic.application.ModuleException: java.lang.NullPointerException

at weblogic.application.internal.ExtensibleModuleWrapper.activate(ExtensibleModuleWrapper.java:123)

at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:114)

to weblogic.application.internal.flow.ModuleStateDriver$ 2.next(ModuleStateDriver.java:192)

to weblogic.application.internal.flow.ModuleStateDriver$ 2.next(ModuleStateDriver.java:187)

at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)

at weblogic.application.internal.flow.ModuleStateDriver.activate(ModuleStateDriver.java:58)

at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:145)

to weblogic.application.internal.BaseDeployment$ 2.next(BaseDeployment.java:729)

at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)

at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:258)

at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:61)

at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)

at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)

at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:222)

at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:414)

to weblogic.management.deploy.internal.DeploymentAdapter$ 1.doActivate(DeploymentAdapter.java:51)

at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)

to weblogic.management.deploy.internal.AppTransition$ 2.transitionApp(AppTransition.java:30)

at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)

at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)

at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)

at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:191)

at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:99)

at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)

at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)

at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)

Caused by: java.lang.NullPointerException

at weblogic.ejb.container.timer.ClusteredEJBTimerManager.uninitializeTimerHandler(ClusteredEJBTimerManager.java:220)

at weblogic.ejb.container.timer.ClusteredEJBTimerManager.undeploy(ClusteredEJBTimerManager.java:185)

at weblogic.ejb.container.manager.BaseEJBManager.undeployTimerManager(BaseEJBManager.java:438)

at weblogic.ejb.container.manager.BaseEJBManager.undeploy(BaseEJBManager.java:420)

at weblogic.ejb.container.manager.StatelessManager.undeploy(StatelessManager.java:397)

at weblogic.ejb.container.deployer.EJBDeployer.deactivate(EJBDeployer.java:1327)

at weblogic.ejb.container.deployer.EjbModuleExtension.preDeactivate(EjbModuleExtension.java:150)

at weblogic.ejb.container.deployer.EjbModuleExtension.postActivate(EjbModuleExtension.java:140)

to weblogic.application.internal.ExtensibleModuleWrapper$ ActivateStateChange.next (ExtensibleModuleWrapper.java:321)

to weblogic.application.internal.ExtensibleModuleWrapper$ ActivateStateChange.next (ExtensibleModuleWrapper.java:313)

at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)

at weblogic.application.internal.ExtensibleModuleWrapper.activate(ExtensibleModuleWrapper.java:121)

at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:114)

to weblogic.application.internal.flow.ModuleStateDriver$ 2.next(ModuleStateDriver.java:192)

to weblogic.application.internal.flow.ModuleStateDriver$ 2.next(ModuleStateDriver.java:187)

at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)

at weblogic.application.internal.flow.ModuleStateDriver.activate(ModuleStateDriver.java:58)

at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:145)

to weblogic.application.internal.BaseDeployment$ 2.next(BaseDeployment.java:729)

at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)

at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:258)

at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:61)

at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)

at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)

at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:222)

at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:414)

to weblogic.management.deploy.internal.DeploymentAdapter$ 1.doActivate(DeploymentAdapter.java:51)

at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)

to weblogic.management.deploy.internal.AppTransition$ 2.transitionApp(AppTransition.java:30)

at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)

at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)

at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)

at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:191)

at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:99)

at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)

at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)

at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)

Could you please suggest what I doing worong.

Above the problem I have when to deploy timer inside the large demand, I've created small test application comes with timer even and have another problem:

< error > < EJB > < MS1 > < ExecuteThread [ASSET]: '0' for the queue: '(self-adjusting) weblogic.kernel.Default' > < < anonymous > > < BEA1 0003F3B65D8A > <>< 1404977347776 > < BEA-011090 > < the following error occurred when preparing call the method ejbTimeout (javax.ejb.Timer) of the TestTimerService(Application: clusteredTimer-0.0.1-SNAPSHOT, EJBComponent: clusteredTimer-0.0.1-SNAPSHOT.jar) EJB.

java.lang.AssertionError: no strategy of transaction specified!

at weblogic.ejb.container.internal.InvocationWrapper.enforceTransactionPolicy(InvocationWrapper.java:268)

at weblogic.ejb.container.internal.BaseLocalObject.preInvoke(BaseLocalObject.java:88)

at weblogic.ejb.container.internal.BaseLocalObject.__WL_preInvoke(BaseLocalObject.java:70)

at weblogic.ejb.container.internal.TimerDrivenLocalObject.preInvoke(TimerDrivenLocalObject.java:35)

to weblogic.ejb.container.timer.TimerHandlerImpl$ TimerObject.execute (TimerHandlerImpl.java:77)

at weblogic.ejb.container.timer.TimerHandlerImpl.executeTimer(TimerHandlerImpl.java:53)

at weblogic.ejb.container.timer.ClusteredTimerImpl.timerExpired(ClusteredTimerImpl.java:118)

at weblogic.scheduler.ejb.internal.EJBListenerWrapper.executeTimer(EJBListenerWrapper.java:59)

at weblogic.scheduler.ejb.internal.EJBListenerWrapper.timerExpired(EJBListenerWrapper.java:50)

to weblogic.scheduler.TimerState$ $1 2.run(TimerState.java:200)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)

to weblogic.scheduler.TimerState$ 1.run(TimerState.java:197)

at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)

at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)

This problem seems to be caused by bugs:

Bug 16730647 - ejb 3.1 timer can be deployed to a cluster weblogic 12 c - java.lang.nullpoint

The patch is available for 12.1.2

If please try to apply the patch and let us know your results

Using OPatch 13.1 for Oracle Fusion Middleware 12 c (+ 12.1.2) (Doc ID 1587524.1)

Best regards

Luz

Tags: Fusion Middleware

Similar Questions

  • cluster WebLogic - architectural issues

    Friends,

    As a newbie to weblogic, I have a few questions about weblogic (11g).

    (1) is the cluster weblogic a product undergoing a maturation? Is it common in environments of PROD these days?
    (2) who is more common - handset third architecture or architecture at multi levels?
    (3) other HA and scalability - is there a reason we'd go for a weblogic cluster?
    (4) how would ease of administration - abt someone prefer to have cluster WL in DEV environment?

    I'm basically a DBA and now being analyzed the benefits and disadvantages to go in a cluster WL
    for our configuration of prod. Although our business requires HA, we are more concerned about reliability
    and ease of administration of cluster WLS. Your suggestions and advice would be a great help.

    Kind regards
    ~ jp ~

    (1) is the cluster weblogic a product undergoing a maturation? Is it common in environments of PROD these days?
    Rep. : before even buying Oracle BEA weblogic server was famous among J2EE projects. It is stable, reliable and efficient application server. I saw WLS in PROD topologies in several places.

    (2) who is more common - handset third architecture or architecture at multi levels?
    Rep. : there are several possible topologies in deployment of multi levels. I will suggest you proven and easy to implement enterprise deployment guide

    (3) other HA and scalability - is there a reason we'd go for a weblogic cluster?
    Rep. : indirectly, you want to know what is cluster & why cluster is used? To give a short answer, for better through - put, effective use of resources etc. you better read about benefits of the cluster documentation.

    (4) how would ease of administration - abt someone prefer to have cluster WL in DEV environment?
    WebLogic provides the web user interface for managing all components. He provided WLST API, using which you can write scripts in server admin. There the dashboard to live health monitoring of servers. Yes, in fact 98% of the place of the customer, I've seen DEV env is clustered environment.

    Hope I could answer your questions

  • EventDispatcher and timers

    Hey. Additional post this week-do you need to get into the event dispatcher, so that timers work? I read that the queue to process may overflow if you do not. Simple illustration-

    main()

    Mytimer timer = new Timer();

    myTimer.Schedule (new ThisTimerTask(), 10000);

    myapp.requestBackground ();

    It worked on a handset of the torch, but not Curve 8520 (made in JDE 4.6). On the curve, the event log showed the processqueue overflow and the oldest event being dropped (it had several timers), who ceased the work of the app. Clearly, I need to learn how the event dispatcher, requestBackground etc., better work. When I added entereventdispatcher, it stopped working on the torch.

    If necessary, I can post the full thing with the code. What events, background apps and timers have pls? A kb article or link too...

    J.

    Inject the events in your application or in some integrated applications? Note that not all applications or the screens of the application supports injection of the event.

    Strategies the same COMPUTER are on the two BlackBerry Smartphones?  Have you looked at this article?

    Turn on the backlight and prevent the screen of the device turning off power or become locked BlackBerry

    http://supportforums.BlackBerry.com/T5/Java-development/enable-the-backlight-and-prevent-the-BlackBe...

  • Why a framework for vm cluster restart priority? and what is happening with the explanation of availability guide

    1.

    I can see why "by vm" restart priorities are to a parameter value. For example you can prioritize machine virtual startup order relative to other virtual machines so that you get your first AD and DNS servers etc.

    But what's the point of a cluster environment?  I guess this means how you want to fight your guests stay for these virtual machines running. for example you 32 at a time (maybe high definition), or start to 1 at a time (maybe low setting)

    Which brings me to the point 2

    2.

    It seems that availability guide is a bit confused about this subject and talks about specific vm priorities when he must speak of cluster priorities. So really, she explains vm priorities both times and explains any of cluster priorities.

    If you go to (vSphere availability Guide: creating and using VMware HA Clusters: creating a Cluster VMware HA: Virtual Machine Options: vm restart priority settings)

    He mentions first boot vm priority talks about startup relative , I deduce that it means her talk of priorities to restart each of the virtual machines in the virtual machine settings and not a cluster configuration.

    Then he said: ' the values for this parameter are: off, low, medium (default) and high "- but these are the settings for the cluster priority! If she was talking about relative vm settings, he'd say ' off, low, medium, high and use of the cluster (default) settings.

    It says so at the bottom of the page

    "Note - after you create a VMware HA cluster, you can override the default settings of cluster to restart priority and isolation response specific virtual machines..." »

    It's weird since the section above already speaks on startup for specific virtual machines

    The clustering is where you set the 'default' value essentially for virtual machines. After that, you must change this setting on a per-VM basis, as appropriate. Availability guide is indeed vague on this subject, and I would point out to our team of Tech-Pubs.

    Duncan

    Yellow - bricks.com | HA/DRS technical deepdive - the ebook

  • Cluster with ESX 3 and HA

    If I have a Cluster with ESX 3 and if one of them, I want to know the process of HA, on which ESX my VM would be transferred.

    We do not have DRS

    I'm looking in config HA, and I don't see the configuration option.

    Thank you

    .. My VM would be transferred on which ESX?

    On others, depending on the resources available to them.

    All I know is there nothing HA settings, where you can specify this. You could set up - which IMO would not have made much sense - the affinity of host for each virtual computer work only on two hosts. You could also spend a host as a failover host.

    I suggest that read you http://www.yellow-bricks.com/vmware-high-availability-deepdiv/ for more information on HA.

    André

  • what the diff betn weblogic Jdev R1 and R2 of jdev

    I can't deploy ADF application developed on Jdev 11.1.2.0.0 to the stand-alone weblogic Server
    already configured for jdeveloper 11.1.1.5.0
    is there a diff betwn weblogic jdev R1 and R2 of jdv library?

    Hello

    Of course, it is. In fact, you must apply the patch "sherman" for wls 10.3.5. To do this, follow this post: http://tompeez.wordpress.com/2011/06/25/upgrading-wls-10-3-5-with-adf-runtime-11-1-2-0-0-sherman-patch/

    Kind regards

  • WebLogic on Linux and LiveCycle on Windows?

    Hello!

    I feel I have a terribly stupid question... either, here, he'll...

    A customer has Weblogic on Linux and I would like to install LiveCycle on Windows using this Weblogic as application server.

    Possible at all?

    Thank you for any ideas - please bear with me in this one.

    Marcos

    Yes, it is possible to install LiveCycle on Windows but targeting Linux.

  • Enabled for servers in Cluster WebLogic plug-in

    Hello

    I use Oracle iPlanet with WebLogic Plugins for my WebLogic servers backend. I saw this "Plug-in WebLogic enabled" option under the Advanced section in my managed servers and Cluster settings.

    I need to check this option for clusters and managed servers?

    • If the server instances to which Oracle HTTP Server proxy queries are in a cluster, select Clusters. and check "plug-in active WebLogic.
    • Otherwise, select servers. Individual server and then check "Plug-in active WebLogic" (when they are not part of the cluster / same cluster)

    If the servers where you want this 'active plug-in WebLogic"to be activated are already in a cluster then it is recommended to apply this last wide setting, so tomorrow, you can add a new server to your managed cluster, it should be fine.

    Concerning

    Jay SenSharma

  • Server cluster WebLogic in different machine

    Hello

    I user weblogic 10.3.6, I have 2 physical servers, I have to create managed with the cluster server, this cluster have a server managed to server1 and the 2nd to server2, the problem is server2 always give me status to leave and never go for a run.

    What I do:

    • I create 2 other machine weblogic-> environment-> Machine for the local computer and one for the remote computer
    • I check the time the Manager node for each machine and both give me status can be reached.
    • I attribute server1 to Server2 to computer2 and Computer1.

    Any suggestion to change the State of the server START to the RACE?

    Note: I have but the node Manager two plain because that is not SSL

    Looks like the server is not able to get the user name and password to start.

    Can you check if there is a boot.properties in the following location:

    For example:

    C:\Oracle\Middleware1036\user_projects\domains\base_domain\servers\\security

    If you do not have a boot.properties to the location above, create a file with the name 'boot.properties' with the following contents:

    username =

    password =

  • Benefits of implementation cluster WebLogic + disadvantages

    Hi all

    I have a question about Weblogic clusters concept. First of all, I would like to explain my environment architecture. We have SOA and ADF area configured with the mode high availability at the level of weblogic.

    That is to say SOA is installed in two servers (primary and secondary) and ADF respectively. So in total 4 servers.

    My query is: I just want to know the advantages and disadvantages if we have configured the two primaries and

    Secondary mode Cluster and stand-alone in Weblogic.

    Hello

    There is no downside to this title with the clustering functionality.

    But you can browse the basic benefits that provides functionality of clustering:

    http://docs.Oracle.com/CD/E11035_01/WLS100/cluster/overview.html#wp1011562

    Thank you

    Sharmela

  • Replica of cluster WebLogic Session covers do not

    Dear all,

    I-one areas with WLS 10.3.4 on two machines, each machine hosting a managed server, cluster of two servers, Manager of the nodes on the server and the management server on one of the servers. Using unicast and replication in memory with replicate if Group located in the weblogic.xml.

    Balancing between both Apache and selected options that allow proxy plugin in the field.

    It is I bring both servers,

    Connect the user to the test application.

    In the console, I can see cluster control that a user on Managed Server 1 and that the session is properly replicated on Managed Server 2.

    I don't then not Managed 1 Server that hosts the main session, the manual page refresh users request goes to the 2 managed server with the user to stay connected (as expected).

    However when I come back failed Managed Server 1 to the service I expected the current session now on Managed Server 2 to replicate to the Managed Server 1 (in case of failure of Managed Server 2, which now houses the main session).

    No matter how long wait this replication does not take place, BUT if after the 1 managed server is back online I manually refresh the Web Page, which connects to Managed Server 2, this starts the replication in action and creates a replica of the session on Managed Server 1.

    I don't think it's exected behavior and every idea what goes wrong?

    It is said in the oracle documentation

    "In a cluster of two servers, the customer would be transparent fail over to the server hosting the secondary session state." However, the client session state replication would not continue unless another WebLogic Server becomes available and joined the cluster. For example, if the original primary server has been restarted or reconnected to the network, it would be hosting the secondary session state. "

    but in this case the second bit does not seem to allow the secondary State unless the web page is in fact used again (when you see the State of replica created, it's almost as if it happen going forward but does not take into account the current state and to re - synchronizes between managed servers) leading to a user to disconnect if a failed server flip-flop test is performed.

    Thank you

    Published by: user10645195 on February 18, 2011 08:46

    Published by: user10645195 on February 18, 2011 08:52

    Hello

    Even if you choose the JDBC persistence... changes in the HttpSession data will be persisted/updated in the database only if you call "setAttribute" on HttpSession.

    Please visit the following link: http://download.oracle.com/docs/cd/E13222_01/wls/docs90/webapp/sessions.html#session-persistence

    WebLogic Server does not write the session state HTTP on disk if the request is read-only, which means that the application does not change the HTTP session. Only the wl_access_time column is updated in the database, if the session is accessible.
    For applications not unalterable, the container of the Web application updates the database for the session after each HTTP request state changes. This is done so that any server in the cluster can process applications on failovers and collect the last session of the database state.
    To prevent multiple database queries, hide recently used WebLogic Server of the sessions. Recently used sessions are not updated in the database for each request. The number of sessions in the cache is governed by the size of the cache setting in the element of session descriptor in the WebLogic weblogic.xml Server-specific deployment descriptor

    But yes, with the JDBC persistence you will get an advantage that "any server in the cluster can process applications on failovers and collect the last session of the database state." So there is no possibility of loss of Session. But compared to the in-memory Session replication JDBC persistence replication is little heavy weight because it requires a JDBC connectivity.

    .
    .
    Thank you
    Jay SenSharma
    http://middlewaremagic.com/ (Middleware Magic Is Here)

  • Change the values of the cluster in while loop and in the face at the same time

    Hello.

    I have a little problem in a test program, that I'm working on. I'll try to simplify as much as possible. I have a cluster control that contains two controls A and B. I want to:

    1. switch to update the value of the command A a while loop
    2. allow the user to change the value of the B control through the face, while the loop is running

    To change the value of order in the while loop, I first get the cluster control cluster, update the value of the control for a way to group by name and finally rewrite the cluster in the cluster control.

    The problem is that if the user changes the value of the B control while control that is in the middle of the update, the new value of B control is lost because it was read before updating in the face. Is there a way to get around this?

    DennisBengs wrote:

    1. switch to update the value of the command A a while loop
    2. allow the user to change the value of the B control through the face, while the loop is running

    Then they do not belong in the same cluster.  They are disconnected obviously enough that they do not go hand in hand.

    Where it can get really complicated, it is that you're talking about the user and code changing the same cluster.  It is very dangerous and very difficult to manage.  You might be able to get there with a driving force.  But walk slightly, my friend.

  • WLST Script to create the domain weblogic for IOM and OAM

    Hello

    I intend to set up PS3 IOM - OAM in the new environment. We intend to perform the installation in silent mode. Does anyone have example WLST to create the domain weblogic for IOM or OAM?

    Thank you

    Here is an example of OUD. I post this one since it's the simplest and shortest, but it is the same for OAM and IOM except that the script is much longer because they ask a lot more questions. You will need to export the variables used or replace them with the appropriate values for your system.

    wait-<>

    the value of timeout 600

    spawn ${OUD_BASE}/${WLS_NAME}/common/bin/config.sh mode = console

    # Create a WebLogic domain

    wait {}

    {"Enter the index number to select GOLD *" {send "1\n"}}

    # Choose the components of the Weblogic Platform

    wait {}

    {"Enter the index number to select GOLD *" {send "1\n"}}

    # | ___Oracle directory Services Manager - 11.1.2.3.0 [Oracle_OUD1] [3]

    wait {}

    {"Enter number exactly as it appears in the media *" {send "3\n"}}

    wait {}

    {"Enter number exactly as it appears in the media *" {send "n"}}

    # Change the domain information

    wait {}

    "" Enter the value of * "{send" ${OUD_DOMAIN_NAME} \n "}}"

    wait {}

    {"Enter the number of the option to select GOLD *" {send "n\n"}}

    # Select the target area for this domain directory

    wait {}

    {'Enter' new target location GOLD * {send "${OUD_BASE} / user_projects/domains\n"}}

    wait {}

    {'Enter' new target location GOLD * {send "n\n"}}

    # Configure password and username administrator

    wait {}

    {"Enter the number of the option to select GOLD *" {send "2\n"}}

    wait {}

    "" Enter new * "{send" ${WLS_PASS} \n "}}"

    wait {}

    {"Enter the number of the option to select GOLD *" {send "3\n"}}

    wait {}

    "" Enter new * "{send" ${WLS_PASS} \n "}}"

    wait {}

    {"Enter the number of the option to select GOLD *" {send "n\n"}}

    # Configuration mode field-> 1 | Development mode

    wait {}

    {"Enter the index number to select GOLD *" {send "1\n"}}

    # Java SDK selection

    wait {}

    {"Enter the index number to select GOLD *" {send "2\n"}}

    wait {}

    {'Enter' new JVM Directory GOLD * {send "${JAVA_HOME} \n"}}

    wait {}

    {'Enter' new JVM Directory GOLD * {send "n\n"}}

    # Select Optional Configuration

    wait {}

    {"Enter the index number to select GOLD *" {send "1\n"}}

    wait {}

    {"Enter the index number to select GOLD *" {send "n"}}

    # Configure the Administration Server

    # Change "Listen port.

    wait {}

    {"Enter the number of the option to select GOLD *" {send "3\n"}}

    wait {}

    "" Enter the value of * "{send" ${ODSM_PORT} \n "}}"

    # Change 'SSL enabled.

    wait {}

    {"Enter the number of the option to select GOLD *" {send "4\n"}}

    wait {}

    {"Enter the index number to select GOLD *" {send "1\n"}}

    # Change 'SSL listening Port.

    wait {}

    {"Enter the number of the option to select GOLD *" {send "4\n"}}

    wait {}

    "" Enter the value of * "{send" ${ODSM_SPORT} \n "}}"

    # Then

    wait {}

    {"Enter the number of the option to select GOLD *" {send "n\n"}}

    # wait for install

    wait {}

    {"Successfully created * field *" {send "\n"}}

    EXPRESSIONS OF FOLKLORE

  • ADR 3.0.1 on Weblogic for APEX and base mod_plsql as feature

    (Hope someone can help me on this point, has spent a good part of the weekend trying to get this to work.)

    I installed and deployed ADR 3.0.1 using Sql Developer 4.1.1.  It works with my APEX 4.2.5.00.08 DB 12.1.02 deployed on Weblogic Server 12.1.3 (zip distro of otn) all running on my Windows 10 box.

    Now, I want to add the ability to run a simple mod_plsql procedure "hello world".  I simply cannot function.  Here is what I have done (the best I remember):

    create user identified by somepassword ken;

    grant create session, contact Ken;

    create or replace procedure

    is

    Start

    HTP.p ("Hello World");

    end;

    /

    I can run the procedure of the SQL Developer and achieve the expected results.

    SQL Dev ADR administration, I created a new parameter (apex) of the database is already there called ken:

    JDBC: default settings

    URL mapping: Rule_type: path to the routing rule: /ken, scheme of RESTful services: KEN

    ORDS_PUBLIC_USER: entered the password of this user

    PL/SQL gateway user: KEN

    APEX REST users: left two passwords Virgin, documentation ADR seems to indicate that they are not necessary for the use of the APEX non.

    Downloaded configuration.

    WebLogic command window provides the following error message:

    INFO: update configuration: default values

    Process of oracle.dbtools.url.mapping.file.FileURLMappings August 10, 2015 08:29:50

    WARNING: Could not find any target database corresponding to: ken, KEN

    < 10 August 2015 14:29:50 CEST > < WARNING > < default > < BEA-000000 > < did not find any target database corresponding to: ken, KEN >

    I'm thinking that something is wrong with the url - mapping.xml:

    <? XML version = "1.0" encoding = "UTF-8"? >

    " < pool-config xmlns =" http://xmlns.Oracle.com/Apex/pool-config "> "

    < chicken base-path = "/ ken" name = "ken" space work-id = "KEN" / >

    < / pool-config >

    I tried configuring it with java command line syntax:

    SET JAVA_HOME = D:\Oracle\sqldeveloper\jdk\jre\bin

    d:\Oracle\sqldeveloper\ords > java-jar ords.war map-url - scheme KEN - ken /ken base of type path name

    < 10 August 2015 14:56:58 CEST > < error > < default > < BEA-000000 > < pool named: ken_pu is not properly configured, error: ORA-01017: name of user and password invalid. connection refused

    I tried the URL Path mapping http://alluvion4:7001/ADR/ken SQL Dev

    NotFoundException [statusCode = 404, reasons = [[]]

    at oracle.dbtools.url.mapping.URLMappingsProvider.map(URLMappingsProvider.java:79)

    to oracle.dbtools.url.mapping.filter.URLMappingFilter.doFilter(URLMappingFilter.java:55)...

    My solution so far is to copy the ords.war, rename it and redeploy using SQL Dev, set the user to the PL/SQL gateway for my ken of the schema target, ignore the configuration of APEX restful services and deploy on weblogic.  That works, but I would like that it works in a simple deployment and I would understand options matching the url (what is necessary and what is not for this configuration).

    Any help is greatly appreciated.

    -Ken

    Sorry it took so long to come back.  I saw that 3.0.2 is out so I thought I would try it with the latest and best.  I disassembled the process by not using DO NOT SQL Dev or Weblogic.  It was in the syntax of the url of the map.  For a simple, plain old, mod_plsql dad, DO NOT specify the schema name (or a space of work-id also).  It's against intuitive but the schema name is specified when you configure the PL/SQL gateway in step "Setup - database'.

    The card-url command is then simply: java-jar ords.war map-url - ken /ken type base path

    the file url - mapping.xml looks at this (no name schema, not the space of work-id):

    http://xmlns.Oracle.com/Apex/pool-config">

  • installation of WebLogic 11 g and 12 c to deploy Unifer

    Does this mean that I have to install 11g and 12 c to deploy unifer. I wonder why does take two.

    FOR INFO. You don't need to install 11g and 12 c to deploy unifier. For testing purposes, I was able to deploy unifer weblogic 11 g by creating a domain server and deploying it in. It seems that 12 c is necessary only if you have more than one application server

Maybe you are looking for

  • Automatic playback of QuickTime problem

    I have Quicktime player installed 10.4. Since the last update to iTunes, every time I upload a video, it automatically begins playing. Is there a preference which is not obvious to the value not AutoPlay?

  • Thunderbird downloaded 3000 old messages yesterday... why?

    A Thunderbird download unsolicited messages have resulted in about 3000 messages download yesterday. What would cause this? I was storing some files limit... somewhere? I have a virus or something like that? Thanks for any advice or help.David

  • How do you pronounce 'Mozilla '?

    I find myself is embarrassed when my evenings elegant dinner because of a simple confusion over pronunciation of conglomerate of your intranet. In addition, your logo is bad and you should feel bad. Phonetically spell Mozilla or I will take legal act

  • No hard drive on Equium A60-155

    Hello I inherited the estate of a parent a Toshiba Equium A60-155 (model without PSA67E-00300C8J)It came without any hard drive - the coverage is in the original box from Toshiba, but that's all. As it was a gift, I don't mind buying a new HARD drive

  • Volume 4-1026tu HP Envy and display of brightness control

    Hello When I press the button brightness [f2 and f3], it doesnot show the controls on the screen. Earlier, it allows to determine the kind of progress bar of the thing. It is the same with the Volume [f9 and f10] button. They all work, but it just th