listener class not invoked after deployment to weblogic Server

I have a third party class (Quartz Scheduler) that implements ServletContextListener I added in my weblogic-application.xml and web.xml files as a listener. This class should support certain data in the server starts. But is not to be called.

Technology used:

Jdeveloper 11.1.2.3

Weblogic 10.3.5

Third party library:Quartz 1.6

Everything works very well for Jdeveloper and the listener class get invoked when the application is deployed in the weblogic with the local computer. But the listener class is not called when the application deployment as .ear file in weblogic on external server server.

Extract of weblogic-application.xml and web.xml files:

 <listener> <listener-class>scheduler.WebListener</listener-class> </listener>

where scheduler is the name of packge and WebListener is the class of earphone

-Important updates-

Two projects consist of the application that I am trying to deploy the view and the model projects. For testing, I remove the model project of the application and deploy the application to a new. Quartz scheduler of work and in the listener class called WORK without model project and without interaction of the DB.

I'll double check the data source with the web-logic Nothing seem wrong to me. I use the same source of data name in the application and as said before the application runs from JDeveloper

I also checked the server logs. No exception or an error. demonstrate that the application is running in Active mode. But the listener class is not called weblogic when the model project is existing in the application where the DB interaction occurred.

Any idea because of this as possible of this problem

-------------------------------Update 2---------------------------------

I think that this update will give any idea of the question. After clouse look in the server log after deployment, I found this line.

NewSchedulerApplication-ViewController-context-root has context-root specified in application.xml: "NewSchedulerApplication-ViewController-context-root". The context-root specified in weblogic.xml: "NewSchedulerApplication-ViewController-context-root" will be ignored

where NewSchedulerApplication is the name of the application.

Finally, the issue is resolved.

The problem is resolved after you delete the following jar files in my view-controller project: Api .jar-Trinity and the Trinity - impl.jar

Tags: Java

Similar Questions

  • Application of the ADF does not work after deployment to weblogic Server (quartz Scheduler is used)

    I created a Web merger Application using Jdeveloper 11.1.1.7. I use quartz Scheduler that will run the application automatically according to a predefined interval.

    The application works perfectly in Jdeveloper and no problem at all. The problem is when the application is deployed on weblogic server.

    Simply, the Scheduler is not rely on weblogic server and the application is not running.

    Any idea what can cause this problem? any idea would be appreciated, thanks in advance

    You should check the server logs in order to understand what happens when you call the Scheduler. There, you will come to know if there is an error message.

    Actually, it's the only way that outside help me to solved the problem. It has nothing to do with the quartz Scheduler , it was question of jdbc where the connection to the application module was not set correctly. Problem solved with application module configuration changed to use instead of the URL JDBC data source

  • Is not able to deploy to Weblogic Server @ remote machine

    Hello

    I'm not able to deploy any application using jdeveloper 11.1.1.4.0 to the weblogic 10.3.4 server located on a remote machine.
    When connecting to the server application through jdeveloper, out of 8 tests show that as success 2...

    While I am able to deploy the same application on Weblogic server through jdeveloper located on this machine.

    Through jdeveloper, application (authentication and configuration) server connection must be successful to deploy an application in a local machine or remote computer. Check remote configuration for the application server connection and test it.

    1 WLS server administrator must be running
    2 weblogic domain should be if you have a domain in WLS in the configuration.

  • the page flow does not work after deployment on application server

    Hello

    I created a stream of very simple page resulting from page 1 to page 2 by link. I tested by jdeveloper Run with built-in server which took place as planned. However, when I deployed to the server integrated as a stand-alone application, the work of the page did not. I clicked on the link, the action of the method, however, the page does not advance to page 2. It looked like some kind of security problem, but I did not all security measures for the application. No idea what is the problem? Thank you.

    I use jdeveloper 11.1.1.6.0.

    Published by: 883652 on November 5, 2012 03:17

    Make sure that the two pages are defined in your workflow task Unbounded (adfc-config. XML) and when you go to the first page, remove the extension of the URL (for example .jspx) page.

    CM.

  • How to add jsession ID to an ADF web application deployed in weblogic server?

    Hello

    I use jdeveloper 11.1.2.4 version. Can anyone tell please how to add custom JSESSIONID (BLTSESSIONID) to the URL of the web application ADF that must be deployed in weblogic server. I tried the following approach. but it did not work for me.

    in webogic.xml, I added

    < session descriptor - >

    < name > BLTSESSIONID < / cookie-name >

    < / session descriptor >

    However, I've added the weblogic.xml manually from the gallery.

    Could someone help me on this please?

    Thank you

    You don't have to add the session ID to the URL. The Web application automatically manages session IDS. By default, it uses an HTTP cookie (a cookie with name JSESSIONID) therefor. The Web application will automatically add it to the URL only if it detects that the client browser does not support cookies (for example, if the user has disabled cookies in the browser). By adding the lines above to weblogic.xml you just changed the name of cookie JSESSIONID to BLTSESSIONID default session. This is useful only if you have access to a couple of different Web applications from one and the same server and you want every application to maintain a clean session (for example, each application having a different session cookie name). If all applications on the server use one and same name cookie (JSESSIONID for example) and you have access to more than one application at the same time in one and the same browser (and even multiple instances of the browser, with the exception of some special cases), you will not be able to work with these applications correctly because the next access to another application will replace the cookie and you will lose the session to the requests earlier. Because HTTP cookies are maintained at the level of server name, it's not at the level of application root. In this case, you must specify the application names specific cookie (what you did above).

    Dimitar

  • Directory of java Chaning after installation of weblogic server

    Hi all

    I installed java in C:\Programe files\java\jdk1.7

    then I install weblogic server and business intelligence 11.1.7 companies

    utility RCU, I move my java to a directory that don't have any space.

    so I uninstall and reinstall the java in the C:\JDK7 folder.

    now weblogic server does not open. It gives the following error

    How to overcome this problem? I think I can have disrupted company BI as well installation.

    Hi Maahjoor,

    There are many places you need to change the references of the new House of Java. They are listed below

    Measures

    0 stop Weblogic Server, including the server managed running on the same machine

    1. If you have set a JAVA_HOME environment variable to your server / machine - that Edit again home

    2. the following files will be hardcorded the path of java inside. Replace the same editing through Notepad.

    -$INSTALL_HOME/wlserver_10.3/common/bin/commEnv.cmd

    -$INSTALL_HOME/user_projects/domains //bin/setDomainEnv.cmd

    -$INSTALL_HOME/wlserver_10.3/common/nodemanager/nodemanager.properties

    -$INSTALL_HOME/utils/BSU/BSU.cmd

    -$INSTALL_HOME/utils/QuickStart/QuickStart.cmd

    -$INSTALL_HOME/utils/uninstall/Uninstall.cmd

    -$INSTALL_HOME/user_projects/domains //servers//data/nodemanager/startup.properties

    3. manually change the service registry to reflect the use of the new path of JDK (Nodemanager > settings > PATH)

    4. manually change the service registry to reflect the use of the new path of JDK (Nodemanager > settings > JAVA_HOME)

    5. manually change the boot arguments server if you give everything in the Weblogic Admin Server administration console / managed server

    6. start the server Weblogic including managed server running on the same machine

    Recommendation: Better to have the common path and the name of directory of java (IE without any version, as C:\jdk)

    Please mark the post as answer if you are happy

    Thank you

    Paul

  • listener does not start after upgrading clusterware

    Hello. RHEL 5, updated the clusterware 10.2.0.5 RAC to version 11.2.0.4 grid (database version is always 10). After the reboot, a node is OK, but on another auditor does not start. If trying to run manually, it starts with the error "the listener supports no services". After comparing with another node, it seems that 'bad' node uses old file listener.ora, which is now 0 bytes (probably was allowed during the upgrade):

    $lsnrctl start
    LSNRCTL for Linux: Version 10.2.0.5.0 - Production on 12 March 2014 09:37:16
    From /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr: Please wait...
    ...
    System settings file is /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Log messages written to /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
    Listen on: (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = rac - 2)(PORT=1521)))
    ...
    The listener supports no services ".

    where/u01/app... - is my home, the home grid is in / U02 oracle. On another node, listener starting grid House. I checked the Setup log and found no errors on the listener. What can I do to fix this?

    You need to check first, which is not running and why (. / crsctl res stat - you), a lot of resources are dependent on network net1. Start by watching clusterware alertlog and check the config network of the second node. If the basic config is very good, you can try with netca or command line (oifcfg, iflist,...).

  • [JDev12.1.2, ADF, GlassFish, 3.1.2] My request is not redirect after deployment to GlassFish. Why? It's my fault!

    Hallo,

    my request to ADF ha a login.jspx and a main.jspx (which contains a menu bar and a dynamic region).

    Login.JSPX - control-flow-case: loginSuccess-> main.jspx

    <-control-flow-case: logout -.

    If the user name and password are correct, the application redirects to main.jspx. To do this the support bean login.java returns 'loginSuccess '.

    In main.jspx when the user clicks on the menu item "Exit", the application redirects to login.jspx. To do this Action, property of the menu item is installed to "disconnect".

    When I run the application in the integrated JDeveloper WSL everything works fine.

    But when I deploy the application on GlassFish the transitions between the two pages do not occur.

    I can access the URL directly to the main.jspx and it works properly.


    In the error.log of GlassFish, I have found no error.


    You kindly help me?


    Thank you

    Federico


    Thanks to this Why doesn't stain navigation flow ' work on glassfish thread I have solved the problem!

    The name of view activities in my application is login and main.

    I used the URL http://my-pc:8080 / myApp/faces/login.jspx and http://my-pc:8080 / myApp/face/hand.jspx to call the pages and the navigation between them did not.

    Everything worked perfectly when I used the same URL without the extension ".jspx.

    Ciao,.

    Federico

  • System-jazn-"Data.xml" not updated after deployment

    Hi all

    When I deploy my application of Portal WebCenter system jazn-"Data.xml" is not updated with the changing demand of jazn in my.

    any idea?

    It's ok now,

    in fact, my jazn-"Data.xml" located in my WebCenter application was corrupt.

    I generate a new and it wrks now.

    Thank you

  • DVD player not recognized after starting in windows server 2003 r2

    I installed Windows Server 2003 R2 Std on my HP DL180 G6 by using the internal DVD player, but after booting into windows, the DVD drive could not be recognized and it's showing in the 'PCI device' Device Manager under "Unknown device" with a yellow question mark. I googled and tried some of the solutions, also tried to reformat and reinstall Windows, but still facing the same problem. HP support gave me some solutions like updated BIOS, erasing the CMOS memory, unplug and plug back the sata cable, but always without success.

    Hi Lilida85,

    The question you have posted is related to Windows Server 2003 R2 and would be better suited to the TechNet community. Please visit the link below to find a community that will provide the best support.

    Windows Server

    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer/

  • Not be able to start weblogic server

    Hello

    I'm new to OBIEE. We tried for the first time after installation, stop and start the server in OBIEE. But when starting, it gives this

    {code}

    Java security policy OPSS-provider loading failed due to the exception, see exception stack trace or the root server log file. If still don't see no obvious cause, turn on debugging of the flag - Djava.security.debug = jpspolicy for more information. Error message: oracle.security.jps.JpsException: oracle.security.jps.service.idstore.IdentityStoreException: oracle.security.jps.service.igf.IGFException: java.security.PrivilegedActionException: java.security.PrivilegedActionException: oracle.security.jps.service.igf.IGFException: JPS-02597: you have configured a custom or generic authentication provider LDAPAuthenticator WLS, which the libOvd cannot recognize. Provide the idstore.type property in the config.xml file - jps, or use a specific WLS LDAP authentication provider that corresponds to your LDAP server instead of a generic.

    {code}

    I looked at the JPS-02597 error and it says to

    {code}

    The 'idstore.type' property must be specified in the file config.xml - jps as specific type as OID, etc. OVD. You can also select a specific LDAP WLS authentication provider that corresponds to your LDAP server.


    {code}


    In $FMW_HOME/user_projects/domains/my_domain/config/fmwconfig/jps-config.xml, I don't see any property as idstore.type.  We add this? or if not where can I find the jps-config. XML


    I am brand new to OBIEE and WLS. So please guide me.


    Thank you


    I had to update the GUID and everything was fine. Thank you

  • VM does not start after moving to another server

    Hi all

    After our production server is down with a motherboard broken, we install another server (different hwardware) and installed vSphere 5.1. Existing virtual machines (database) (origin server) are on a raid (two drives raid 1) controller. We installed the RAID drivers in vSphere to make the database accessible (Areca RAID controller). Then, from the "Configuration" tab we opened the VM (browse the database) of the databases of the existing virtual machine, rightclickt to the servername.vmx folder and choose "add to the inventory. After that, the VM are added to the inventory of the VM client. The first time, we started the virtual machine, he asked if the virtual machine has been moved or copied. Because we did not know the correct answer, we choose "copied". He mentioned when we did not know the correct answer, choose "copy". After that, there are a lot of disk activity, but it ends in an error that it cannot find the vmdk file.

    Power on virtual machine

    MachineName.com

    [File]

    /vmfs/volumes/504dbfc2-bc271df0-F9B3-001e67339752/MachineName.COM_2.VMDK was not found.

    Then the boot stops and nothing happends.

    In the original situation all disk storage took place in the Bay of disks in the RAID controller, so there where no additional drives installed for storing the snapshot.

    Help, please!

    Have you added two virtual disks to the virtual machine? The _2 in the file name machinename.com_2.vmdk indicates usually that it's the second virtual disk on the virtual computer

  • How to store/find the application deployed on weblogic Server 10.3.5 log?

    I am able to find the entire sever newspaper under the path [ Insert here the name of... \oracle\wls\user_projects\domains\[domain] \servers\ [here insert the server name] \logs

    But the problem I have is not contains all of the stack that I usually see in Jdeveloper console during the development.

    Yes, where to find the battery or the application logs, not the entire sever exactly like Jdeveloper console, where every thing is shown even the print statements (System.out, print ())?

    One of the reasons could be that a stand alone server normally has the level of different recording then you server shipped.

    Next thing I want to avoid using printing system to log messages. These messages cannot be disabled and fill in the server log, and only that, because they are printed to the system.

    Instead, you need to implement logging ADF. A very good article, which has several parts, can be found at https://blogs.oracle.com/groundside/entry/adventures_in_adf_logging_part

    Timo

  • Scheduler quartz 1.6 does not work after migration application Java of 10g and 11g

    I used the Task Scheduler quartz 1.6 with Java application built in technology from 10g to Oracle using Jdeveloper 10 g as IDE.

    The application works fine with the mentioned technology. But after the migration of the application of technology 11g quartz scheduler does not work anymore. The Weblogic Server allows you to deploy this technology migrated is Weblogic server 10.3

    Finally, the issue is resolved.

    The problem is resolved after you delete the following jar files in my view-controller project: Api .jar-Trinity and the Trinity - impl.jar

  • There is no company Manager fusion middleware control installed WebLogic Server 12.1.3 (error 404 (not found))

    Hello.

    We have installed WebLogic Server 12.1.3 on Linux x86_64 file fmw_12.1.3.0.0_wls.jar whithout any errors.

    Then load URL handler company fusion middleware control http:// < Host >: 7001/em we received 404 (not found) error

    There are no links, files and dir with EM on the host in/oracle/middleware.

    According to the documentation, it must be installed and worked after you start WebLogic server.

    Please, please help me understand it y it, or how we can install it.

    I think that you need to install FMW Infrastructure (ADF Runtime)

    You can download it from this URL

    Application Development Framework Downloads

    Install FMW Infrastructure on the same folder of weblogic Middleware and then create a new domain with Enterprise Manager option.

Maybe you are looking for