War deployment works in 9iAS2 not Enterprise Manager 10g

I have a war file that works fine in OEM Application Server: 9iAS2. When I try and deploy it on OEM 10g Application Server: J2EE_904 I keep getting NoClassDefFound errors when trying to access included jar files in WEB-INF/lib. Note that I have tried placing these jar files in ./j2ee/home/applib and still get the error.
Here is an example stack trace:
java.lang.NoClassDefFoundError
     at start.jspService(_start.java:73)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:347)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
     at java.lang.Thread.run(Thread.java:534)
The first time I try and go to the index page after deployment I get a different NoClassDefFoundError for org.dom4j.Element.
Any Ideas? This application works fine in multiple versions of Tomcat, BEA Weblogic, 9iAS2 and several other servers...

It has become necessary to get this war file working on version 9.0.4 for a customer. I have gotten as far as getting the application to work but I have to move some things around after deployment.
I have added a line to <ORACLE_HOME>/j2ee/<OC4j Container>/config/application.xml
to add a library path to a directory containing all jars existing in WEB-INF other than struts.jar. I have even had to include the classes directory for the model layer of the struts application.
Once I've done that everything works. Is there a way I can modify the war file so I don't have to do all of this configuration post deployment? I still don't get why it works on other servers and even other versions of Oracle Application Server.

Similar Messages

  • Can not stop cleanly Oracle Enterprise Manager 10g

    Hi,
    i can not stop cleanly the OEM (Oracle 10.2.0.1.0) on my Debian 3.1.
    saturn:~# su - oracle -c "/u01/app/oracle/product/10.2.0/db_1/bin/emctl stop dbconsole"
    TZ set to Europe/Berlin
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    http://saturn:1158/em/console/aboutApplication
    Stopping Oracle Enterprise Manager 10g Database Control ...
    --- Failed to shutdown DBConsole Gracefully ---
    failed.
    When i look into the processlist i see the running agent :-(
    oracle 25434 0.0 0.3 70188 14296 ? S Nov29 0:31 /u01/app/oracle/product/10.2.0/db_1/bin/emagent
    Any ideas to stop the OEM-Agent Console cleanly, without hard kill the process?
    Thanks!
    Blue

    I have read there is a bug in EM-Konsole, i help me with the kill commands:
    killall emagent
    killall perl
    killall java
    Sorry, thats not a fine solution, but it works.
    Blue

  • Oracle Enterprise Manager 10g is not running.

    Hi All,
    I cloned e-Business suite application/db to another server.After cloned Oracle Enterprise Manager 10g is not running. I've been noticing following messages during start/stop/status.
    status
    Oracle Enterprise Manager 10g is not running.
    start: doen't show any error.
    stop:
    Stopping Oracle Enterprise Manager 10g Database Control ...
    ... Failed.
    Log info:
    servername.domain_SID/sysman/log shows following errors.
    emos.log : ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.sys
    emdb.nohup log
    --- Wed Apr 16 12:37:14 2008::The agentTZRegion value in /orafissbx1/u00/app/oracle/10.2.0.3/cob-eamdbd-01.wssc.ad.root_FISSBX1/sysman/config/emd.properties is not in agreement with what agent thinks it should be.Please verify your environment to make sure that TZ setting has not changed since the last start of the agent.
    If you modified the timezone setting in the environment, please stop the agent and exectute 'emctl resetTZ agent' and also execute the script 'mgmt_target.set_agent_tzrgn' to get the value propagated to repository -----
    emoms.trc
    [Orion Launcher] ERROR app.ContextInitializer contextInitialized.272 - Integration Class not found: oracle.
    I opened the SR but still issues has n't fixed. I did all steps mentioned in TZ and etc according to metalink.
    Please suggest.
    Thanks

    This is expected behavious. It is because Enterprise Manager cannot run with the new server name. You can either go through loads to change the config files or simply drop and recreate the console.

  • LogMiner Viewer in the Enterprise Manager 10g ??

    Does somebody know if there is LogMiner Viewer in the Enterprise Manager 10g?
    How could I do to work with this tool ?
    Thanks

    There is a 10g style. It comes with the client software. It is very much a stripped down version. I downloaded it and installed it. I could not find Logminer viewer in it. I did find some documentation. Here is what it says.
    Launching LogMiner Viewer
    To launch LogMiner Viewer, take the following steps:
    Invoke LogMiner Viewer: On UNIX platforms, enter:oemapp lmviewer
    The command string is case-sensitive and must be entered with lowercase characters.
    On Windows NT, from the Programs menu,
    choose Oracle_home > Database Administration > LogMiner Viewer.
    After you invoke LogMiner Viewer,the Login dialog box is displayed.
    Select Launch standalone.
    Now, you can connect to a standalone Oracle Enterprise Manager repository.
    If you do not have a standalone repository or if LogMiner Viewer is not aware
    of an existing standalone repository, you cannot save queries.
    When you attempt to expand a database or save a query, LogMiner Viewer displays
    an informational message and leads you through a dialog to connect to or to create
    a repository. See Connecting to or Creating a Standalone Repository for more information.
    Click OK.

  • Enterprise Manager 10g Access Without DB Login

    Hello All --
    I am working on a large EBS implementation and we are running Enterprise Manager 10g Grid Control. I would like to be able to see database performance through EM, but there is a problem (isn't there always.)
    1. EM monitoring like this requires a DB login
    2. Our policy prevents granting any non-DBA a DB login for security reasons.
    3. I am not a DBA (and won't be one.)
    Is there any way that a DB login can be created that only has access to performance data in EM without letting me read any actual database data? I know this is a bit of an oxymoron, perhaps what I am asking is if there is a way to have a DB login created for me that only allows me to read system-related info and nothing related to apps data for EBS that is stored in the DB.
    Thanks!
    PML

    Hi,
    Login to your database as a sys user and change password for all users except sysman and dbsnmp because there is different method to change sysman and dbsnmp users password.
    After changing the password of users and then try login to your OEM as a sys user.
    Changing SYSMAN and DBSNMP password
    Changing password of Sysman and DBSNMP users in Oracle 10g (10.2.0.3.0)
    Regards
    Jafar

  • Web.xml problem in Enterprise Manager 10g

    I got an error while deploying to Enterprise Manager 10g
    My platform: Windows XP
    OC4J 9.0.4
    Enterprise Manager 10g
    And I even have the web.xml in the correct directory. i.e
    cpd.ear
    ./META-INF/application.xml
    ./cpd-ejb.jar/WEB-INF/web.xml
    ./cpd-webapp.war/WEB-INF/web.xml
    ./cpd-webapp.war/WEB-INF/classes
    The error I get while deploying on a Enterprise Manager 10g is:
    Invalid J2EE application file specified - Jar file: :\WINNT\TEMP\jar47575.tmp is missing its standard xml descriptor located at WEB-INF/web.xml
    Incidently the *.ear file built by my fellow's machine is deploying perfectly. I've compared the directories n useful files of both the *.ears down to the very last bit n they are the same.
    I can imagine that guys with only high IQ can solve this mystery

    The above message is a duplicate of another message by Sim.
    web.xml problem in Enterprise Manager 10g

  • Wish to clear tablespace alert at Enterprise Manager 10g

    Is that a way to clear tablespace full alert at Enterprise Manager 10g?
    I have added the required space to the database but the alert is still there.
    Below is the screenshot:
    http://i.imgur.com/glve4.png
    There is new and valid tablespace alert coming, and I am sure the space adviser is kept running. But I have no idea why the alert has not been cleared.
    Note: I do not wish to change or disable the metric. If another tablespace nearly full, I want to be alerted.
    Edited by: csmth96 on Jan 18, 2012 3:49 PM

    This is the followup on the alert.
    The alert is generated based on metrics behind "dba_tablespace_usage_metrics". Without fixing the metric collection process, removal of an alert only caused the alert to be shown some time later. The removal of alert looks working initially but it does not fixed anything.
    My database is created at 10.2.0.2 but upgraded to 10.2.0.4 recently. Because the alert is created before the upgrade, it is reasonable to believe that the metric collection problem has started before the upgrade (rather than the upgrade has caused the problem). Having reviewed metalink DocID 736909.1, it is reasonabMyle to believe the view "dba_tablespace_usage_metrics" is the problem source. It summed up the max size of all files in tablespace as the tablespace size. However, before 10.2.0.4, extending a datafile does not increase the max file size (view "v$filespace_usage", the limit of autoextend). If the actual usage is large than the autoextend limit, the usage is more than 100%.
    My action is to increase the autoextend limit (max file size) of datafile to the same as allocated file size. No autoextend is actually allowed. The autoextend limit is reset so that "dba_tablespace_usage_metrics" is corrected and it is no longer possible to have more than 100% tablespace usage. The alert is gone several minutes later.
    I doubt whether it make sense to compare the actual usage vs autoextend limit. For any concerned DBA, patch 6759910 may be applied at a downtime window.
    I conclude the solution provided by "N Gasparotto" is truly correct.
    Edited by: csmth96 on Jan 26, 2012 3:26 PM

  • Problems with Enterprise Manager 10g

    Greetings!
    We have 3 databases up and running fine so far. Yesterday I mentioned that the Enterprise Manager for one of the databases is not reachable, although it is up and I can connect to it with SqlPlus. So I checked emctl and it is up and running, and the port I use is also right. Has anyone an idea what I could do in addition to get EM working again? I only have these problems with one db, all others are working great.
    best regards,
    Jörn

    Hi there,
    here is the status of the dbconsole and the agent:
    emctl status dbconsoleTZ set to Europe/Berlin
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0
    Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
    http://orahost.fzh:1158/em/console/aboutApplication
    Oracle Enterprise Manager 10g is running.
    Logs are generated in directory /u01/app/oracle/product/10.2.0/db/orahost.fzh_kms/sysman/log
    emctl status agentTZ set to Europe/Berlin
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0
    Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
    Agent Version : 10.1.0.5.1
    OMS Version : 10.1.0.5.0
    Protocol Version : 10.1.0.2.0
    Agent Home : /u01/app/oracle/product/10.2.0/db/orahost.fzh_kms
    Agent binaries : /u01/app/oracle/product/10.2.0/db
    Agent Process ID : 23765
    Parent Process ID : 21612
    Agent URL : http://orahost.fzh:3938/emd/main
    Started at : 2008-02-11 12:23:39
    Started by user : oracle
    Last Reload : 2008-02-11 12:23:39
    Last successful upload : 2008-02-14 08:25:48
    Total Megabytes of XML files uploaded so far : 27.19
    Number of XML files pending upload : 0
    Size of XML files pending upload(MB) : 0.00
    Available disk space on upload filesystem : 52.00%
    Agent is Running and Ready
    I restartet the agent and the dbconsole without any success. I still cannot reach the EM for the second DB. Any other suggestions?
    best regards,
    Jörn

  • Cannot send email using PL/SQL through Enterprise Manager 10g

    Hi
    I need to schedule a job that sends email periodically. I am using the scheduler in Oracle Enterprise Manager 10g for this. For sending the email, I am creating a PL/SQL job. The code is as follows:
    PROCEDURE send_test_message
    IS
    mailhost := 'iwblrcormsg001.sci.local';
    sender := '[email protected]';
    recipient := '[email protected]';
    mail_conn utl_smtp.connection;
    BEGIN
    mail_conn := utl_smtp.open_connection(mailhost, 25);
    utl_smtp.helo(mail_conn, mailhost);
    utl_smtp.mail(mail_conn, sender);
    utl_smtp.rcpt(mail_conn, recipient);
    utl_smtp.open_data(mail_conn);
    utl_smtp.write_data(mail_conn, 'This is a test message.' || chr(13));
    utl_smtp.write_data(mail_conn, 'This is line 2.' || chr(13));
    utl_smtp.close_data(mail_conn);
    utl_smtp.quit(mail_conn);
    END;
    I have setup the smtp server and received a test email from the EM notifying me of successful configuration. When the above job is run, the scheduler shows status as successful. If I go to the command step, it displays the following output:
    Output Log
    SQL*Plus: Release 10.1.0.2.0 - Production on Thu Feb 19 19:04:29 2009
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    SQL> SQL> SQL> SQL> Connected.
    SQL> SQL> 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 Disconnected from Personal Oracle Database 10g Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Now, the only issue is that I do not receive any email at the address specified! I would be very grateful if someone could point out the error here.

    I would use APEX4.0 for this.
    Create an interactive report based on your data. Add a chart to that report and use the NOTIFY feature to send you the email.

  • Error while creating data source using Oracle Enterprise Manager 10g

    Hi,
    I have deployed my web application developed on OC4J 9.0.4 stand alone (Win2K) to an integrated OC4J version(Solaris) using Oracle Enterprise Manager 10g.
    However, I get an error when I try to create a data source.
    The data source I want to create would have the following parameters (as seen in data-sources.xml on the stand alone version):
         <data-source
              class="com.evermind.sql.DriverManagerDataSource"
              name="TestDS"
              location="jdbc/OracleCoreDS"
              xa-location="jdbc/xa/OracleXADS"
              ejb-location="jdbc/TestDS"
              connection-driver="oracle.jdbc.driver.OracleDriver"
              url="jdbc:oracle:thin:@hostName:1521:test"
              username="user"
              password="password"
              min-connections="5"
              max-connections="20"          
              inactivity-timeout="30"
         />
    When I entered the above data on the Enterprise Manager Data Sources page, I got the following error:
    quote:
    Error saving Data Source Properties. - Entity et="system";ei="0",et="application";ei="48",et="data-sources";ei="167":child:data-sourcechild key:location:jdbc/OracleCoreDS; class:com.evermind.sql.DriverManagerDataSource; already exists in the repository. Resolution: Please check the code base.
    unquote:
    Could somebody tell me what I'm doing wrong ?
    I tried to manually edit the data-sources.xml file but the data source didn't show up on the Enterprise Manager.
    I'm using a new OC4J instance (on the Solaris machine) for my applications. Is the data source error related to this?
    Any help will be greatly appreciated.
    Thanks,
    Shyam

    Thanks for your reply , Steve.
    I noticed that there is a default datasouce on the EM with the following parameters:
    <data-source
              class="com.evermind.sql.DriverManagerDataSource"
              name="OracleDS"
              location="jdbc/OracleCoreDS"
              xa-location="jdbc/xa/OracleXADS"
              ejb-location="jdbc/OracleDS"
              connection-driver="oracle.jdbc.driver.OracleDriver"
              username="scott"
              password="->pwForScott"
              url="jdbc:oracle:thin:@localhost:1521:oracle"
              inactivity-timeout="30"
         />
    The location and xa-location attributes that I use for my "test" data source are the same as the default one. So, could this be the issue?
    What should be the values for location and xa-location attributes from my "test" data source?
    Any help will be greatly appreciated.
    Thanks,
    Shyam

  • Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0

    Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0 is one hour behiend on AIX 5.3.
    I have installed the new timezone version 4 already by oracle DST path database is good OEM main page is showing one hour behiend.
    I have done every possible effort last thing may be i have to update java home i have 1.4 IBM java on the server.
    Please help me in this. Thanks.

    See the Metalink Note *Impact Document for Daylight Saving Time Shift for Enterprise Manager Grid Control [ID 417939.1]* Appendix B - FAQ - point 18
    What is the impact of not patching the JDK on the OMS for 10g Grid Control?
    If you do not patch the JDK on the OMS page refreshed times and possibly other times displayed in the console will be incorrect (they will be off by 1 hour) during an affected period.
    Oracle strongly recommends that you do patch the OMS JDK but we are not aware of any data corruption in the repository nor of any impact on critical EM functionalities (such as severities, notifications and jobs) when the JDK is not patched.

  • Installing Enterprise Manager 10g Grid Control Using an Existing Database

    I want to install Enterprise Manager 10g Grid Control 10.2.0.3 using an existing database. This database is RAC 10.2.0.2. and I use it as Infrastructure Metadata Repository.
    I is said in Oracle documentation that SYSMAN schema has to be dropped, thus Database console repository has to be dropped. As far as I understand after Grid Control installation I will not be able to use Database console for my RAC 10.2.0.2 Infrastructure Metadata Repository database. I will be able to use only Grid Control for this database.
    Am I right? Could you give me any advice about Installing Enterprise Manager 10g Grid Control Using an Existing Database?
    Thank you.

    I am trying to install the OEM rel 2.0 on AIX 5L from the downloaded software zip files which are as below,
    AIX_Grid_Control_full_10201_disk1.zip (656,766,406 bytes) (cksum - 2157028496)
    AIX_Grid_Control_full_10201_disk2.zip (655,758,726 bytes) (cksum - 2350778444)
    AIX_Grid_Control_full_10201_disk3.zip (641,760,716 bytes) (cksum - 2053607771)
    AIX_Grid_Control_full_10201_disk4.zip (606,903,411 bytes) (cksum - 4162514797)
    AIX_Grid_Control_full_10201_disk5.zip (576,555,758 bytes) (cksum - 3304661461)
    AIX_Grid_Control_full_10201_disk6.zip (459,658,650 bytes) (cksum - 3120478203)
    AIX_Grid_Control_full_10201_disk7.zip (311,903,435 bytes) (cksum - 2438252536)
    AIX_Grid_Control_full_10201_disk8.zip (224,594,251 bytes) (cksum - 2618845234)
    I am unable to locate the runInstaller in any of the disks 1- 8 ,can somebody help me on this. Thanks

  • Enterprise Manager 10g & trigger problem

    Hi.
    Trying to create a trigger using Enterprise manager 10g WEB Console and trigger creating "wizard" without success.
    Example: I've added a simple trigger using SQL+ (this works ockey):
    CREATE OR REPLACE TRIGGER "SRECKO".TESTNA_TRIG BEFORE
    INSERT ON "SRECKO"."TESTNA" REFERENCING OLD AS OLD NEW AS NEW FOR EACH ROW begin
    select testna_seq.nextval into :new.kljuc from dual;
    end;
    If I use Enterprise's Manager feature and I construct this trigger with (General/Event/Advanced) tabs it just doesn't work. I allways get the same SQL Error (missing IN or OUT parameters -> PreparedStatement bug ???).
    Has anybody had any similar experiences ?
    matev¾

    I am having the same problem. Unfortunately, it looks like no one else is or no one else has an answer. I will check back again later. Right now I am going to try and google and answer. Hope someone responds here.

  • Enterprise Manager 10g Java Console

    Hi ,
    I want to use EM 10g in order to set up the replication environment.
    In the Administration tab of the EM 10g there is a TIP at the bottom of the tab page ....
    TIP Use the Enterprise Manager 10g Java Console to manage Advanced Replication and Workspace.
    Which is the Enterprise Manager 10g Java Console and how can i call it.....??????
    NOTE: The database 10g v.2 is installed in Windows XP os.
    Thanks ,a lot
    Simon

    The EM 10g Java Console can be installed from the Oracle 10g Client CD and it is used the same way the 9i OEM. The difference is that EM 10g Java Console is only used in Stand-alone and does not include connection to a Management Server.
    It has limited functionality. There are a lot of features not available in it and is only available as a backup to some functionalities not yet in Grid Control and DB Control. (e.g, There is no Replication in 10.1 Grid Control, but it is in 10.1 Java Console). It will be phased out in future Releases (no idea which release yet).

  • Oracle Enterprise Manager 10g Grid Control Release 4 (10.2.0.4) HP_UNIX

    Is there a date that the above would be available? I do see that it is ready for Windows, Linux, Solaris, HP_Itanium but not HP_UX PA_RISC. Any ideas?
    Matthew

    Below is what's available for download thru OTN. To ensure my question is clear, approximately when will the MICROSOFT WINDOWS version finally be released:
    Enterprise Manager 10g Grid Control Release 1 (10.1.0.2)
    Oracle Enterprise Manager 10g Grid Control Release 1 (10.1.0.2) for Linux x86
    Oracle Enterprise Manager 10g Grid Control Release 1 (10.1.0.2) for Solaris Operating System (SPARC) (32-bit)
    Oracle Enterprise Manager 10g Grid Control Release 1 (10.1.0.2) for HP-UX
    Oracle Enterprise Manager 10g Grid Control Release 1 (10.1.0.2) for AIX5L Based Systems
    Oracle Enterprise Manager 10g Grid Control Release 1 (10.1.0.2) for HP Tru64 UNIX

Maybe you are looking for

  • Word 2007 - Save as Pdf gives error - This file is in use by another application or user

    I have MS Office 2007 Small Business. For months I have been using the "Save as PDF/XPS" option to save my word documents as PDF files. All of a sudden, when I click on the publish button within the "save as PDF dialog", I get the error: "This file i

  • Content Copier Freezing

    I've backed up my phone previously but today when I tried to use content copier to back it up the program just kept freezing on the section saying phone model-specific backup and wouldn't go past 66%. Any ideas apart from re-installing PC Suite?

  • Problems sharing from iPhoto

    I have been having lots of issues with iphoto lately, but one that I can at least easily explain relates to sharing photos.  I select 5 photos to share, choose to share by email and when the next box opens where I can choose what layout I would like

  • I need to learn how to use jump lists.

    '''bold text'''I need to learn how to use jump lists. acording to all that I have muddled thru my ereader will only download books I have purchased and free ones if I use a jump list. I don't know how. If this is the correct method for ereaders downl

  • Deleting the Temp file for windows

    Okay, the ongoig saga continues (about my iPod not showing up in iTunes). I called up Apple and wen through their steps but I got stuck on "Delete Temp Folder". Two of my files could not be deleted. Here are the two error messages exactly: Does anyon