Help!A problem of deploying application to oc4j of oracle9ias!

I have used jdeveloper to create an application.It is a
simple servlet application to connect the database in
another host.It runs correctly.But now I want to deply it on the oracle9ias in the host in which the database reside.
I see the online help.It says that the next step is to
create a connection named connect1 and a deploy file which is deployed to this connection.This connection is ok.But when i select the option "deployed to connect1",
it shows the error like this:
Wrote WAR file to E:\Oradev\jdev\mywork\test\test\test.war
Wrote EAR file to E:\Oradev\jdev\mywork\test\test\test.ear
Invoking Oracle9iAS admin tool...
E:\Oradev\jdk\jre\bin\javaw.exe -jar E:\Oradev\j2ee\home\admin.jar ormi://server.oracle9i.com:3101/ admin **** -deploy -file E:\Oradev\jdev\mywork\test\test\test.ear -deploymentName test
Security error: This operation was denied. The admin.jar utility can not be used to perform operations against OPMN managed OC4J instnaces. Please use Enterprise Manager or dcmctl instead. Refer to the Oracle9iAS Admin Guide or the OC4J User's Guide for more details.
Exit status of Oracle9iAS admin tool (-deploy): 1

What type of Application Server connection did you choose ?
Following is the how-to document which might come handy.
http://otn.oracle.com/products/jdev/howtos/appservers/deployias.html#connection
raghu
JDev Team

Similar Messages

  • Can multipule users deploy application to OC4J on 9iAS r2?

    Is there a way to deploy applications to OC4J through the Enterprise Manager using different user than IAS_ADMIN?
    Thanks
    Marcel

    Hi Marcel,
    In Oracle9iAS R2 9.0.2, ias_admin is the only predefined admin user you can use to deploy an application (the Enterprise Manager website runs on it's own OC4J instance, config files are located in $ORACLE_HOME/sysman/j2ee/config, the admin user ias_admin is defined in $ORACLE_HOME/sysman/j2ee/config/jazn-data.xml). Futre release of Oracle9iAS will allow you to define additional admin users.
    BTW, what's the purpose to deploy applications using a different user?
    Regards,
    Chen.

  • Problem in deploying EJBs in oc4j

    Hi folks,
    I am new to ejbs and now I am into support role for ejb2.0 project devoloped long ago. one of the module in that proj has ejb2.0 (Using CMP entity beans & Session beans(stateless))
    The problem I am facing currently is , while running the the ejb module (by running a jsp page in that module) I am getting the following error.
    In this log I found two things primarily
    1) All ejbs are not deployed successfully (due to IntialContext lookup failure)
    2) java.lang.NoSuchMethodError while calling the static method of a bean in the jsp
    I have cross checked about the second one I didn't find any issue..is there any issue about jar(?) versions and I have run another jsp having no call to that static method then it is worked fine and the jsp view came(but still the first problem is there)
    please help me...
    [Starting OC4J using the following ports: HTTP=9001, RMI=23904, JMS=9237.]
    D:\Robbin_Brothers\jdevstudio10132\jdev\system\oracle.j2ee.10.1.3.40.66\embedded-oc4j\config>
    D:\Robbin_Brothers\jdevstudio10132\jdk\bin\javaw.exe -client -classpath D:\Robbin_Brothers\jdevstudio10132\j2ee\home\oc4j.jar;D:\Robbin_Brothers\jdevstudio10132\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -XX:MaxPermSize=256m -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config D:\Robbin_Brothers\jdevstudio10132\jdev\system\oracle.j2ee.10.1.3.40.66\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    Jan 29, 2013 6:48:33 PM com.evermind.server.XMLDataSourcesConfig parseRootNode
    INFO: Legacy datasource detected...attempting to convert to new syntax.
    Jan 29, 2013 6:48:34 PM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
    Jan 29, 2013 6:48:34 PM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
    WARNING: Code-source D:\Robbin_Brothers\SVN_CHECKOUT_Latest_Sravani\production\project_jars\activation.jar (from <library> in /D:/Robbin_Brothers/jdevstudio10132/jdev/mywork/XXSTS/XXSTS-oc4j-app.xml) has the same filename but is not identical to /D:/Robbin_Brothers/jdevstudio10132/j2ee/home/lib/activation.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\Robbin_Brothers\jdevstudio10132\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.root:0.0.0.
    WARNING: Code-source D:\Robbin_Brothers\SVN_CHECKOUT_Latest_Sravani\production\project_jars\classes12.jar (from <library> in /D:/Robbin_Brothers/jdevstudio10132/jdev/mywork/XXSTS/XXSTS-oc4j-app.xml) has the same filename but is not identical to /D:/Robbin_Brothers/jdevstudio10132/jdbc/lib/ojdbc14dms.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\Robbin_Brothers\jdevstudio10132\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.root:0.0.0.
    WARNING: Code-source D:\Robbin_Brothers\SVN_CHECKOUT_Latest_Sravani\production\project_jars\ejb.jar (from <library> in /D:/Robbin_Brothers/jdevstudio10132/jdev/mywork/XXSTS/XXSTS-oc4j-app.xml) has the same filename but is not identical to /D:/Robbin_Brothers/jdevstudio10132/j2ee/home/lib/ejb.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\Robbin_Brothers\jdevstudio10132\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.root:0.0.0.
    WARNING: Code-source D:\Robbin_Brothers\SVN_CHECKOUT_Latest_Sravani\production\project_jars\jms.jar (from <library> in /D:/Robbin_Brothers/jdevstudio10132/jdev/mywork/XXSTS/XXSTS-oc4j-app.xml) has the same filename but is not identical to /D:/Robbin_Brothers/jdevstudio10132/j2ee/home/lib/jms.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\Robbin_Brothers\jdevstudio10132\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.root:0.0.0.
    WARNING: Code-source D:\Robbin_Brothers\SVN_CHECKOUT_Latest_Sravani\production\project_jars\jsse.jar (from <library> in /D:/Robbin_Brothers/jdevstudio10132/jdev/mywork/XXSTS/XXSTS-oc4j-app.xml) has the same filename but is not identical to /D:/Robbin_Brothers/jdevstudio10132/jdk/jre/lib/jsse.jar (from system property sun.boot.class.path). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.root:0.0.0.
    WARNING: Code-source D:\Robbin_Brothers\SVN_CHECKOUT_Latest_Sravani\production\project_jars\mail.jar (from <library> in /D:/Robbin_Brothers/jdevstudio10132/jdev/mywork/XXSTS/XXSTS-oc4j-app.xml) has the same filename but is not identical to /D:/Robbin_Brothers/jdevstudio10132/j2ee/home/lib/mail.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\Robbin_Brothers\jdevstudio10132\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.root:0.0.0.
    WARNING: Code-source D:\Robbin_Brothers\SVN_CHECKOUT_Latest_Sravani\production\project_jars\servlet.jar (from <library> in /D:/Robbin_Brothers/jdevstudio10132/jdev/mywork/XXSTS/XXSTS-oc4j-app.xml) has the same filename but is not identical to /D:/Robbin_Brothers/jdevstudio10132/j2ee/home/lib/servlet.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\Robbin_Brothers\jdevstudio10132\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.root:0.0.0.
    WARNING: Code-source D:\Robbin_Brothers\SVN_CHECKOUT_Latest_Sravani\production\project_jars\soap.jar (from <library> in /D:/Robbin_Brothers/jdevstudio10132/jdev/mywork/XXSTS/XXSTS-oc4j-app.xml) has the same filename but is not identical to /D:/Robbin_Brothers/jdevstudio10132/webservices/lib/soap.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\Robbin_Brothers\jdevstudio10132\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.root:0.0.0.
    13/01/29 18:48:35 WARNING: EJBPackage.parseOrionBean Bean NoReasonType does not exist; skipping deployment
    13/01/29 18:48:35 WARNING: EJBPackage.parseOrionBean Bean CompetitorsList does not exist; skipping deployment
    13/01/29 18:48:40 Activity: Class 'com.osit.ejb.entity.ActivityLocal' has been updated since last deployment
    13/01/29 18:48:40 OccasionTypes: Class 'com.osit.ejb.entity.OccasionTypesLocal' has been updated since last deployment
    13/01/29 18:48:40 Rules: Class 'com.osit.ejb.entity.RulesLocal' has been updated since last deployment
    13/01/29 18:48:40 Messages: Class 'com.osit.ejb.entity.MessagesLocal' has been updated since last deployment
    Jan 29, 2013 6:48:47 PM com.evermind.server.ejb.logging.EJBCompilationMessages infoAutoCreateTable
    INFO: [current-workspace-app:XXSTS_XXSTS_0] Auto-creating table: create table STS_ACTIVITY (ACTIVITY_ID NUMBER(22) primary key, ACTIVITY_DATE DATE, CALLBACK_DATE DATE, ACTIVITY_TYPE CHAR(50), STATUS_ID CHAR(50), COMMENTS VARCHAR2(300), NO_REASON_ID CHAR(50), COMPETITOR_ID CHAR(50), CALL_SEQ NUMBER(22), MAIL_SEQ NUMBER(22), EMAIL_SEQ NUMBER(22), FAX_SEQ NUMBER(22), TEXT_SEQ NUMBER(22), PRESENT_SEQ NUMBER(22), PERSON_ID NUMBER(22), CUSTOMER_ID NUMBER(22), OCCASSION CHAR(100), REASON CHAR(100), call_type VARCHAR2(255) null, MAIL_TYPE VARCHAR2(20), INCORRECTCONTACT_TYPE VARCHAR2(20), other_competitor VARCHAR2(500), CSF_NUMBER VARCHAR2(50), IS_COMPLETED CHAR(1)).
    13/01/29 18:48:47 Warning: ORA-00955: name is already used by an existing object
    Jan 29, 2013 6:48:48 PM com.evermind.server.ejb.logging.EJBCompilationMessages infoAutoCreateTable
    INFO: [current-workspace-app:XXSTS_XXSTS_0] Auto-creating table: create table STS_OCCASION_TYPES (OCCASSION_ID CHAR(50) primary key, DESCRIPTION CHAR(200)).
    13/01/29 18:48:48 Warning: ORA-00955: name is already used by an existing object
    Jan 29, 2013 6:48:49 PM com.evermind.server.ejb.logging.EJBCompilationMessages infoAutoCreateTable
    INFO: [current-workspace-app:XXSTS_XXSTS_0] Auto-creating table: create table STS_RULES (RULE_ID NUMBER(22) primary key, OCCASION_ID CHAR(20), OCCASION_STATUS CHAR(2), CONDITION CHAR(20), DAYS NUMBER(22), STATUS NUMBER(22), TYPE CHAR(20)).
    13/01/29 18:48:50 Warning: ORA-00955: name is already used by an existing object
    Jan 29, 2013 6:48:50 PM com.evermind.server.ejb.logging.EJBCompilationMessages infoAutoCreateTable
    INFO: [current-workspace-app:XXSTS_XXSTS_0] Auto-creating table: create table STS_MESSAGES (MSG_ID NUMBER(22) primary key, PERSON_ID NUMBER(22), SUBJECT CHAR(500), DESCRIPTION VARCHAR2(3000), MSG_TO NUMBER(22), READ NUMBER(22)).
    13/01/29 18:48:51 Warning: ORA-00955: name is already used by an existing object
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 22360 ms.
    Target URL -- http://192.168.9.66:9001/STS/ActivitySummary.jsp
    Checking that EJBs were successfully deployed in embedded OC4J...
    13/01/29 18:48:54 Oracle Containers for J2EE 10g (10.1.3.1.1) initialized
    **** Warning: The EJB Activity was not found via an InitialContext lookup. Error encountered: Activity not found.
    **** Warning: The EJB OccasionTypes was not found via an InitialContext lookup. Error encountered: OccasionTypes not found.
    **** Warning: The EJB Rules was not found via an InitialContext lookup. Error encountered: Rules not found.
    **** Warning: The EJB Messages was not found via an InitialContext lookup. Error encountered: Messages not found.
    **** Warning: Not all EJBs were successfully deployed. The EJB application may fail during testing.
    **** Please use the EJB Verifier to check your EJB modules for errors by right-clicking on ejb-jar.xml and choosing 'Verify Enterprise Beans'.
    13/01/29 18:48:55 log4j:ERROR Could not open [home/oracle/xmllog4jconfig.xml].
    13/01/29 18:48:55 java.io.FileNotFoundException: \home\oracle\xmllog4jconfig.xml (The system cannot find the path specified)
    13/01/29 18:48:55      at java.io.FileInputStream.open(Native Method)
    13/01/29 18:48:55      at java.io.FileInputStream.<init>(FileInputStream.java:106)
    13/01/29 18:48:55      at java.io.FileInputStream.<init>(FileInputStream.java:66)
    13/01/29 18:48:55      at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:583)
    13/01/29 18:48:55      at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:687)
    13/01/29 18:48:55      at com.osit.factory.LoggerFactory.<init>(LoggerFactory.java:19)
    13/01/29 18:48:55      at com.osit.factory.LoggerFactory.getInstance(LoggerFactory.java:30)
    13/01/29 18:48:55      at Error.<clinit>(Error.java:17)
    13/01/29 18:48:55      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    13/01/29 18:48:55      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    13/01/29 18:48:55      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    13/01/29 18:48:55      at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    13/01/29 18:48:55      at java.lang.Class.newInstance0(Class.java:350)
    13/01/29 18:48:55      at java.lang.Class.newInstance(Class.java:303)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspPageInstFacade.createInst(JspPageInstFacade.java:157)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspPageInstFacade.getInstance(JspPageInstFacade.java:186)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:445)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:598)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:522)
    13/01/29 18:48:55      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    13/01/29 18:48:55      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:712)
    13/01/29 18:48:55      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
    13/01/29 18:48:55      at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:258)
    13/01/29 18:48:55      at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:50)
    13/01/29 18:48:55      at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:192)
    13/01/29 18:48:55      at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
    13/01/29 18:48:55      at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:197)
    13/01/29 18:48:55      at com.evermind.server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:790)
    13/01/29 18:48:55      at com.evermind.server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:756)
    13/01/29 18:48:55      at ActivitySummary.jspService(_ActivitySummary.java:629)
    13/01/29 18:48:55      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:598)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:522)
    13/01/29 18:48:55      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    13/01/29 18:48:55      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:712)
    13/01/29 18:48:55      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
    13/01/29 18:48:55      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
    13/01/29 18:48:55      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
    13/01/29 18:48:55      at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
    13/01/29 18:48:55      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    13/01/29 18:48:55      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    13/01/29 18:48:55      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    13/01/29 18:48:55      at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    13/01/29 18:48:55      at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    13/01/29 18:48:55      at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    13/01/29 18:48:55      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    13/01/29 18:48:55      at java.lang.Thread.run(Thread.java:595)
    13/01/29 18:48:55 java.lang.NoSuchMethodError: com.osit.bean.Common.getUserDetails(Ljava/lang/String;)Ljava/util/Hashtable;
    13/01/29 18:48:55      at ActivitySummary.jspService(_ActivitySummary.java:80)
    13/01/29 18:48:55      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:598)
    13/01/29 18:48:55      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:522)
    13/01/29 18:48:55      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    13/01/29 18:48:55      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:712)
    13/01/29 18:48:55      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
    13/01/29 18:48:55      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
    13/01/29 18:48:55      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
    13/01/29 18:48:55      at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
    13/01/29 18:48:55      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    13/01/29 18:48:55      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    13/01/29 18:48:55      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    13/01/29 18:48:55      at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    13/01/29 18:48:55      at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    13/01/29 18:48:55      at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    13/01/29 18:48:55      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    13/01/29 18:48:55      at java.lang.Thread.run(Thread.java:595)
    13/01/29 18:48:55 log4j:WARN No appenders could be found for logger (Error.jsp).
    13/01/29 18:48:55 log4j:WARN Please initialize the log4j system properly.

    Thanks for quick reply dvohra16
    I have checked with the path of xmllog4jconfig.xml which is in classpath.I tried with changing the string in LoggerFactory class
    DOMConfigurator.configure("xmllog4jconfig.xml");
    but still I am facing the same error.
    from where this path "/home/oracle/xmllog4jconfig.xml" is taking I can't understand.....
    error:
    13/01/30 17:31:17 log4j:ERROR Could not open [home/oracle/xmllog4jconfig.xml].
    13/01/30 17:31:17 java.io.FileNotFoundException: \home\oracle\xmllog4jconfig.xml (The system cannot find the path specified)
    13/01/30 17:31:17      at java.io.FileInputStream.open(Native Method)
    My LoggerFactory class:
    import org.apache.log4j.Logger;
    import org.apache.log4j.xml.DOMConfigurator;
    import java.net.URL;
    public class LoggerFactory
    private static LoggerFactory loggerFactory= null;
    private LoggerFactory()
    try{
    DOMConfigurator.configure("xmllog4jconfig.xml");
    }catch (Exception e)
    e.printStackTrace();
         public static LoggerFactory getInstance() {
    if (loggerFactory == null){
    loggerFactory = new LoggerFactory();
    return loggerFactory;
    Thanks,
    Tej

  • Deploying application on OC4J

    Hi,
    I am deploying a simple web application on OC4J which comes with 9iAS infraStructure installation. I changed server.xml, application.xml, default-web-site.xml & application.xml in the META-INF folder of my app but i couldn't access the appln after starting OC4J. I am attaching the code snippet that i added to these files. Could anyone please let me know if you could figure out the problem here..
    Thanks,
    Sathya.
    j2ee/home/server.xml:
    <application name="myapp" path="../applications/myapp" auto-start="true" />
    j2ee/home/default-web-site.xml:
    <web-app application="myapp" name="web" root="/myapp"/>
    j2ee/home/application.xml:
    <web-module id="myapp" path="../../home/applications/myapp"/>
    myapp/META-INF/application.xml:
    <module>
    <web>
    <web-uri>web</web-uri>
    <context-root>/web</context-root>
    </web>
    </module>

    Hi,
    I am facing a deployment problem with ear file.
    I have prepared an EAR file using Oracle JDeveloper 9.0.5.1.
    When I try to deploy it on Oracle 9iAS (Windows platform) it gets deployed successfully.
    But when somebody tries to deploy it on Oracle 9iAS (Unix platform) she gets error mentioned below. I have checked the deployment descriptor (web.xml) and found that everything is alright, including the location (WEB-INF/web.xml).
    Could anyone please help me find out the problem so that I can fix it?
    ADMN-300158
    Jar file: /var/tmp/jar24324.tmp is missing its standard xml descriptor located at WEB-INF/web.xml
    Jar file: /var/tmp/jar24324.tmp is missing its standard xml descriptor located at WEB-INF/web.xml
    oracle.ias.sysmgmt.deployment.j2ee.exception.J2eeDeploymentException: Jar file: /var/tmp/jar24324.tmp is missing its standard xml descriptor located at WEB-INF/web.xml
    at oracle.ias.sysmgmt.deployment.j2ee.file.WarFile.<init>(WarFile.java:87)
    at oracle.ias.sysmgmt.deployment.j2ee.file.EarFile.init(EarFile.java:561)
    at oracle.ias.sysmgmt.deployment.j2ee.file.EarFile.<init>(EarFile.java:88)
    at oracle.ias.sysmgmt.deployment.j2ee.file.EarFile.<init>(EarFile.java:74)
    at oracle.ias.sysmgmt.deployment.j2ee.console.EarDeployerImpl.<init>(EarDeployerImpl.java:143)
    at oracle.ias.sysmgmt.deployment.j2ee.console.WarDeployerImpl.<init>(WarDeployerImpl.java:99)
    at oracle.ias.sysmgmt.deployment.j2ee.console.J2eeDeploymentImpl.getWarDeployer(J2eeDeploymentImpl.java:220)
    at oracle.ias.sysmgmt.deployment.j2ee.console.J2eeDeploymentImpl.getWarDeployer(J2eeDeploymentImpl.java:247)
    at oracle.ias.sysmgmt.cmdline.DcmCmdLine.deployApp(DcmCmdLine.java:3728)
    at oracle.ias.sysmgmt.cmdline.DcmCmdLine.execute(DcmCmdLine.java:4072)
    at oracle.ias.sysmgmt.cmdline.DcmCmdLine.main(DcmCmdLine.java:4771)
    Thanks,
    Aatash

  • Hi! I am new to Jdeveloper.Having problem while deploying on embeded OC4J

    hi everybody
    I am new to JDeveloper.I am using OracleJDeveloper 10.2.3 version.I am facing problem while deploying any application on embeded OC4J server.I have tried a lot after searching solution on this site,but all of no use.Actually i am not able to established connection with OC4J.Whenever i am testing the connection it`s giving message Connection Failed message.Please provide me the exact solution.I am in need of this so reply as soon as possible.
    Thanks In Advance
    Rohit Tiwary

    Hi Rohit,
    You dont have to create a connection to deploy in embedded oc4j. You can simply right click on the jsf page and run.
    HTH.
    Regards,
    Arun

  • Problem while Deploying application in weblogic admin console

    Hi all,
    Recently i got an issue while deploying application through weblogic admin console,
    I have logged in the weblogic console and clicked on the deployment option, i got the page of install the application, then i have click the install option, i was getting the page of blank white screen. checking the log file of the admin server i cannot find any error. The admin server was running state was ok. before many times i have done deploying application in the same weblogic admin console.
    My weblogic 10.3 was running in windows 2008 r2
    Kindly need a help to resolve this problem ASAP.
    Regards,
    Rakhi

    Hi sir,
    thanks for ur reply.. but while troubleshooting on this issue i am facing another problem,
    The weblogic server is running on windows os box, i have stop the weblogic admin server from the windows services and again started the weblogic admin server, the server was running in proper state and i have open the console and try the same thing clicking on the deployment and install options but the same issue i faced. getting the white blank screen, while trying to refresh the page i cannot get the weblogic console waiting for long time also. again after restarting the server i can get the weblogic console.
    Then i have tried in another way, i removed the window services and started the weblogic server from command prompt,after starting the server i have opened the admin console and click on the deployment and install option, it is working fine. i tried the same for many times its working fine. but while starting from windows services the problem i was facing same as blank white screen,
    Kindly give me a perfect resolution on this issue. because i was so confused on this part.
    Regards,
    Rakhi..

  • Problems with deploying application

    I started on trying to get the Pentaho Business Intelligence Server (latest stable release) deployed to Oracle WebLogic. The error I get in the WebLogic console right now is below. Within this weblogic console output is a reference to a problem within my application.xml file, the contents my application.xml file is also included further down in this posting.
    +<Dec 6, 2010 7:13:33 PM EST> <Error> <J2EE> <BEA-160197> <Unable to load descriptor+
    C:\Oracle\Middleware\wlserver_10.3\samples\domains \wl_server\autodeploy\pentaho.ear/META-INF/application.xml of module pentaho.ear. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed at weblogic.descriptor.internal.MarshallerFactory$1.c reateDescriptor(MarshallerFactory.java:161)
    at weblogic.descriptor.BasicDescriptorManager.createD escriptor(BasicDescriptorManager.java:323)
    at weblogic.application.descriptor.AbstractDescriptor Loader2.getDescriptorBeanFromReader(AbstractDescri ptorLoader2.java:788)
    at weblogic.application.descriptor.AbstractDescriptor Loader2.createDescriptorBean(AbstractDescriptorLoa der2.java:409)
    at weblogic.application.descriptor.AbstractDescriptor Loader2.loadDescriptorBeanWithoutPlan(AbstractDesc riptorLoader2.java:759)
    at weblogic.application.descriptor.AbstractDescriptor Loader2.loadDescriptorBean(AbstractDescriptorLoade r2.java:768)
    at weblogic.application.ApplicationDescriptor.getAppl icationDescriptor(ApplicationDescriptor.java:301)
    at weblogic.application.internal.EarDeploymentFactory .findOrCreateComponentMBeans(EarDeploymentFactory. java:178)
    at weblogic.application.internal.MBeanFactoryImpl.fin dOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
    at weblogic.application.internal.MBeanFactoryImpl.rec oncileMBeans(MBeanFactoryImpl.java:157)
    at weblogic.management.deploy.internal.MBeanConverter .reconcile81MBeans(MBeanConverter.java:295)
    at weblogic.deploy.internal.targetserver.operations.R edeployOperation.compatibilityProcessor(RedeployOp eration.java:182)
    at weblogic.deploy.internal.targetserver.operations.A bstractOperation.setupPrepare(AbstractOperation.ja va:295)
    at weblogic.deploy.internal.targetserver.operations.R edeployOperation.doPrepare(RedeployOperation.java: 121)
    at weblogic.deploy.internal.targetserver.operations.A bstractOperation.prepare(AbstractOperation.java:21 7)
    at weblogic.deploy.internal.targetserver.DeploymentMa nager.handleDeploymentPrepare(DeploymentManager.ja va:749)
    at weblogic.deploy.internal.targetserver.DeploymentMa nager.prepareDeploymentList(DeploymentManager.java :1216)
    at weblogic.deploy.internal.targetserver.DeploymentMa nager.handlePrepare(DeploymentManager.java:250)
    at weblogic.deploy.internal.targetserver.DeploymentSe rviceDispatcher.prepare(DeploymentServiceDispatche r.java:160)
    at weblogic.deploy.service.internal.targetserver.Depl oymentReceiverCallbackDeliverer.doPrepareCallback( DeploymentReceiverCallbackDeliverer.java:171)
    at weblogic.deploy.service.internal.targetserver.Depl oymentReceiverCallbackDeliverer.access$000(Deploym entReceiverCallbackDeliverer.java:13)
    at weblogic.deploy.service.internal.targetserver.Depl oymentReceiverCallbackDeliverer$1.run(DeploymentRe ceiverCallbackDeliverer.java:47)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapte rImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread. java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java :173)
    Caused by: com.bea.xml.XmlException: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists:
    +"weblogic.j2ee.descriptor.ModuleBeanImpl@edc8b 460(/Mod+
    +ules[weblogic.descriptor.internal.DescriptorBeanKey@ee8 d02ab])"+
    at com.bea.staxb.runtime.internal.util.ReflectionUtil s.invokeMethod(ReflectionUtils.java:54)
    at com.bea.staxb.runtime.internal.RuntimeBindingType$ BeanRuntimeProperty.setValue(RuntimeBindingType.ja va:539)
    at com.bea.staxb.runtime.internal.AttributeRuntimeBin dingType$QNameRuntimeProperty.fillCollection(Attri buteRuntimeBindingType.java:381)
    at com.bea.staxb.runtime.internal.MultiIntermediary.g etFinalValue(MultiIntermediary.java:52)
    at com.bea.staxb.runtime.internal.AttributeRuntimeBin dingType.getFinalObjectFromIntermediary(AttributeR untimeBindingType.java:140)
    at com.bea.staxb.runtime.internal.UnmarshalResult.unm arshalBindingType(UnmarshalResult.java:200)
    at com.bea.staxb.runtime.internal.UnmarshalResult.unm arshalDocument(UnmarshalResult.java:169)
    at com.bea.staxb.runtime.internal.UnmarshallerImpl.un marshal(UnmarshallerImpl.java:65)
    at weblogic.descriptor.internal.MarshallerFactory$1.c reateDescriptor(MarshallerFactory.java:150)
    +... 24 more+
    Caused by: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists:
    +"weblogic.j2ee.descriptor.ModuleBeanImpl@edc8b 460(/Modules[weblogic.descriptor.internal.DescriptorBeanKey@ee8 d02ab])"+
    at weblogic.descriptor.internal.ReferenceManager.regi sterBean(ReferenceManager.java:227)
    at weblogic.j2ee.descriptor.ApplicationBeanImpl.setMo dules(ApplicationBeanImpl.java:427)
    at sun.reflect.GeneratedMethodAccessor74.invoke(Unkno wn Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.staxb.runtime.internal.util.ReflectionUtil s.invokeMethod(ReflectionUtils.java:48)
    at com.bea.staxb.runtime.internal.RuntimeBindingType$ BeanRuntimeProperty.setValue(RuntimeBindingType.ja va:539)
    at com.bea.staxb.runtime.internal.AttributeRuntimeBin dingType$QNameRuntimeProperty.fillCollection(Attri buteRuntimeBindingType.java:382)
    +... 30 more.>+
    +<Dec 6, 2010 7:13:35 PM EST> <Error> <Deployer> <BEA-149265>+
    +<Failure occurred in the execution of deployment request with ID '1291680813688' for task '1'. Error is: 'weblogic.management.DeploymentException: '+
    weblogic.management.DeploymentException:
    at weblogic.management.deploy.internal.MBeanConverter .reconcile81MBeans(MBeanConverter.java:303)
    at weblogic.deploy.internal.targetserver.operations.R edeployOperation.compatibilityProcessor(RedeployOp eration.java:180)
    at weblogic.deploy.internal.targetserver.operations.A bstractOperation.setupPrepare(AbstractOperation.ja va:295)
    at weblogic.deploy.internal.targetserver.operations.R edeployOperation.doPrepare(RedeployOperation.java: 121)
    at weblogic.deploy.internal.targetserver.operations.A bstractOperation.prepare(AbstractOperation.java:21 7)
    Truncated. see log file for complete stacktrace
    Caused By: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists:
    +"weblogic.j2ee.descriptor.ModuleBeanImpl@edc8b 460(/Modules[weblogic.descriptor.internal.DescriptorBeanKey@ee8 d02ab])"+
    at weblogic.descriptor.internal.ReferenceManager.regi sterBean(ReferenceManager.java:227)
    at weblogic.j2ee.descriptor.ApplicationBeanImpl.setMo dules(ApplicationBeanImpl.java:427)
    at sun.reflect.GeneratedMethodAccessor74.invoke(Unkno wn Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    Truncated. see log file for complete stacktrace>
    +<Dec 6, 2010 7:13:35 PM EST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application '_appsdir_pentaho_ear'.>+
    +<Dec 6, 2010 7:13:35 PM EST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004 weblogic.management.DeploymentException:+
    at weblogic.management.deploy.internal.MBeanConverter .reconcile81MBeans(MBeanConverter.java:303)
    at weblogic.deploy.internal.targetserver.operations.R edeployOperation.compatibilityProcessor(RedeployOp eration.java:180)
    at weblogic.deploy.internal.targetserver.operations.A bstractOperation.setupPrepare(AbstractOperation.ja va:295)
    at weblogic.deploy.internal.targetserver.operations.R edeployOperation.doPrepare(RedeployOperation.java: 121)
    at weblogic.deploy.internal.targetserver.operations.A bstractOperation.prepare(AbstractOperation.java:21 7)
    Truncated. see log file for complete stacktrace
    Caused By: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists:
    +"weblogic.j2ee.descriptor.ModuleBeanImpl@edc8b 460(/Modules[weblogic.descriptor.internal.DescriptorBeanKey@ee8 d02ab])"+
    at weblogic.descriptor.internal.ReferenceManager.regi sterBean(ReferenceManager.java:227)
    at weblogic.j2ee.descriptor.ApplicationBeanImpl.setMo dules(ApplicationBeanImpl.java:427)
    at sun.reflect.GeneratedMethodAccessor74.invoke(Unkno wn Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    Truncated. see log file for complete stacktrace>
    The application.xml file that the above code is referencing looks like this:
    +<?xml version='1.0' encoding='UTF-8'?>+
    +<application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">+
    +<module>+
    +<web>+
    +<web-uri>pentaho-ears/jboss/portal/pentaho.war</web-uri>+
    +<context-root>pentaho</context-root>+
    +</web>+
    +</module>+
    +<module>+
    +<web>+
    +<web-uri>pentaho-portal-layout.war</web-uri>+
    +<context-root>pentaho-portal-layout</context-root>+
    +</web>+
    +</module>+
    +<module>+
    +<web>+
    +<web-uri>pentaho-style.war</web-uri>+
    +<context-root>pentaho-style</context-root>+
    +</web>+
    +</module>+
    +<module>+
    +<web>+
    +<web-uri>pentaho-wars/pentaho-portal-layout.war</web-uri>+
    +<context-root>pentaho-portal-layout</context-root>+
    +</web>+
    +</module>+
    +<module>+
    +<web>+
    +<web-uri>pentaho-wars/pentaho-style.war</web-uri>+
    +<context-root>pentaho-style</context-root>+
    +</web>+
    +</module>+
    +<module>+
    +<web>+
    +<web-uri>pentaho.war</web-uri>+
    +<context-root>pentaho</context-root>+
    +</web>+
    +</module>+
    +</application>+
    Any help is appreciated
    Edited by: Wes Gibbs on Dec 6, 2010 6:18 PM

    Thank you once again Jay.  That corrected my problem.  I actually put the libraries in autodeploy\pentaho.ear\lib directory and it seemed to correct it.  I have another problem that I am unsure how to fix.  It is defined below.  The file that these errors are referring to ("applicationContext-spring-security.xml") is also posted below.  Any ideas what might be causing this issue?
    ERROR Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'filterChainProxy' defined in file
         [C:\pentaho\server\biserver-ee\pentaho-solutions\system\applicationContext-spring-security.xml]: Invocation of init method failed; nested exception is      org.springframework.beans.factory.BeanCreationException:
    Error creating bean with name 'authenticationProcessingFilter' defined
    in file [C:\pentaho\server\biserver-ee\pentaho-solutions\system\applicationCont
    ext-spring-security.xml]: Cannot resolve reference to bean 'authenticationManage
    r' while setting bean property 'authenticationManager'; nested exception is org.
    springframework.beans.factory.BeanCreationException:
    Error creating bean with na
    me 'authenticationManager' defined in file [C:\pentaho\server\biserver-ee\pentah
    o-solutions\system\applicationContext-spring-security.xml]: Cannot resolve refer
    ence to bean 'daoAuthenticationProvider' while setting bean property 'providers'
    with key [0]; nested exception is org.springframework.beans.factory.BeanCreatio
    nException:
    Error creating bean with name 'daoAuthenticationProvider' defined in
    file [C:\pentaho\server\biserver-ee\pentaho-solutions\system\applicationContext
    -spring-security-hibernate.xml]: Cannot resolve reference to bean 'userDetailsSe
    rvice' while setting bean property 'userDetailsService'; nested exception is org
    .springframework.beans.factory.BeanCreationException:
    Error creating bean with n
    ame 'userDetailsService' defined in file [C:\pentaho\server\biserver-ee\pentaho-
    solutions\system\applicationContext-spring-security-hibernate.xml]: Cannot resol
    ve reference to bean 'userRoleDao' while setting bean property 'userRoleDao'; ne
    sted exception is org.springframework.beans.factory.BeanCreationException:
    Error
    creating bean with name 'userRoleDao' defined in file [C:\pentaho\server\biserv
    er-ee\pentaho-solutions\system\applicationContext-spring-security-hibernate.xml]
    : Cannot resolve reference to bean 'sessionFactory' while setting bean property
    'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCrea
    tionException:
    Error creating bean with name 'sessionFactory' defined in file [C
    :\pentaho\server\biserver-ee\pentaho-solutions\system\applicationContext-spring-
    security-hibernate.xml]: Invocation of init method failed; nested exception is j
    ava.lang.NoClassDefFoundError: org/dom4j/DocumentException
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
    at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
    at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1863)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
    at 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:180)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    * End of Output for the weblogic error log, the following is the text from my applicationContext-spring-security.xml file: *
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springsource.org/dtd/spring-beans.dtd">
    <!--+
    | Application context containing FilterChainProxy.
    +-->
    <beans>
    <!-- ======================== FILTER CHAIN ======================= -->
         <!--
              if you wish to use channel security, add "channelProcessingFilter," in
              front of "httpSessionContextIntegrationFilter" in the list below
         -->
         <bean id="filterChainProxy" class="org.springframework.security.util.FilterChainProxy">
              <property name="filterInvocationDefinitionSource">
                   <value>
    <![CDATA[CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
    PATTERN_TYPE_APACHE_ANT
    /**=securityContextHolderAwareRequestFilter,httpSessionContextIntegrationFilter,httpSessionReuseDetectionFilter,logoutFilter,authenticationProcessingFilter,basicProcessingFilter,requestParameterProcessingFilter,anonymousProcessingFilter,pentahoSecurityStartupFilter,exceptionTranslationFilter,filterInvocationInterceptor]]>
                   </value>
              </property>
         </bean>
    <!-- ======================== AUTHENTICATION ======================= -->
         <bean id="authenticationManager" class="org.springframework.security.providers.ProviderManager">
              <property name="providers">
                   <list>
                        <ref bean="daoAuthenticationProvider" />
                        <ref local="anonymousAuthenticationProvider" />
                   </list>
              </property>
         </bean>
    <!-- Automatically receives AuthenticationEvent messages -->
         <bean id="loggerListener"
              class="org.springframework.security.event.authentication.LoggerListener" />
         <bean id="basicProcessingFilter"
              class="org.springframework.security.ui.basicauth.BasicProcessingFilter">
              <property name="authenticationManager">
                   <ref local="authenticationManager" />
              </property>
              <property name="authenticationEntryPoint">
                   <ref local="basicProcessingFilterEntryPoint" />
              </property>
         </bean>
         <bean id="basicProcessingFilterEntryPoint"
              class="org.springframework.security.ui.basicauth.BasicProcessingFilterEntryPoint">
              <property name="realmName" value="Pentaho Realm" />
         </bean>
    <!-- custom Pentaho begin -->
         <bean id="requestParameterProcessingFilter"
              class="org.pentaho.platform.web.http.security.RequestParameterAuthenticationFilter">
              <property name="authenticationManager">
                   <ref local="authenticationManager" />
              </property>
              <property name="authenticationEntryPoint">
                   <ref local="requestParameterProcessingFilterEntryPoint" />
              </property>
         </bean>
         <bean id="requestParameterProcessingFilterEntryPoint"
              class="org.pentaho.platform.web.http.security.RequestParameterFilterEntryPoint" />
    <bean id="pentahoSecurityStartupFilter"
    class="org.pentaho.platform.web.http.security.SecurityStartupFilter">
    <property name="injectAnonymous" value="true" />
    </bean>
    <!-- custom Pentaho end -->
         <bean id="anonymousProcessingFilter"
              class="org.springframework.security.providers.anonymous.AnonymousProcessingFilter">
              <property name="key" value="foobar" />
              <property name="userAttribute" value="anonymousUser,Anonymous" />
         </bean>
         <bean id="anonymousAuthenticationProvider"
              class="org.springframework.security.providers.anonymous.AnonymousAuthenticationProvider">
              <property name="key" value="foobar" />
         </bean>
         <bean id="httpSessionContextIntegrationFilter"
              class="org.springframework.security.context.HttpSessionContextIntegrationFilter" />
         <bean id="logoutFilter" class="org.springframework.security.ui.logout.LogoutFilter">
              <constructor-arg value="/index.jsp" />
    <!-- URL redirected to after logout -->
              <constructor-arg>
                   <list>
                        <bean class="org.pentaho.platform.web.http.security.PentahoLogoutHandler" />
                        <bean
                             class="org.springframework.security.ui.logout.SecurityContextLogoutHandler" />
                   </list>
              </constructor-arg>
              <property name="filterProcessesUrl" value="/Logout" />
         </bean>
         <bean id="securityContextHolderAwareRequestFilter"
              class="org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter" />
         <bean id="httpSessionReuseDetectionFilter"
              class="org.pentaho.platform.web.http.security.HttpSessionReuseDetectionFilter">
              <property name="filterProcessesUrl" value="/j_spring_security_check" />
              <property name="sessionReuseDetectedUrl" value="/Login?login_error=2" />
         </bean>
         <!--
              ===================== HTTP REQUEST SECURITY ====================
         -->
         <bean id="exceptionTranslationFilter"
              class="org.springframework.security.ui.ExceptionTranslationFilter">
              <property name="authenticationEntryPoint">
                   <ref local="authenticationProcessingFilterEntryPoint" />
              </property>
              <property name="accessDeniedHandler">
                   <bean class="org.springframework.security.ui.AccessDeniedHandlerImpl" />
              </property>
         </bean>
         <bean id="authenticationProcessingFilter"
              class="org.springframework.security.ui.webapp.AuthenticationProcessingFilter">
              <property name="authenticationManager">
                   <ref local="authenticationManager" />
              </property>
              <property name="authenticationFailureUrl" value="/Login?login_error=1" />
              <property name="defaultTargetUrl" value="/Home" />
              <property name="filterProcessesUrl" value="/j_spring_security_check" />
              <property name="targetUrlResolver">
                   <bean id="targetUrlResolver" class="org.springframework.security.ui.TargetUrlResolverImpl">
                        <property name="justUseSavedRequestOnGet" value="true" />
                   </bean>
              </property>
         </bean>
         <bean id="authenticationProcessingFilterEntryPoint"
              class="org.springframework.security.ui.webapp.AuthenticationProcessingFilterEntryPoint">
              <property name="loginFormUrl" value="/Login" />
              <property name="forceHttps" value="false" />
         </bean>
         <bean id="httpRequestAccessDecisionManager" class="org.springframework.security.vote.AffirmativeBased">
              <property name="allowIfAllAbstainDecisions" value="false" />
              <property name="decisionVoters">
                   <list>
                        <ref bean="roleVoter" />
                   </list>
              </property>
         </bean>
         <!--
              Note the order that entries are placed against the
              objectDefinitionSource is critical. The FilterSecurityInterceptor will
              work from the top of the list down to the FIRST pattern that matches
              the request URL. Accordingly, you should place MOST SPECIFIC (ie
              a/b/c/d.*) expressions first, with LEAST SPECIFIC (ie a/.*)
              expressions last
         -->
         <bean id="filterInvocationInterceptor"
              class="org.springframework.security.intercept.web.FilterSecurityInterceptor">
              <property name="authenticationManager">
                   <ref local="authenticationManager" />
              </property>
              <property name="accessDecisionManager">
                   <ref local="httpRequestAccessDecisionManager" />
              </property>
              <property name="objectDefinitionSource">
                   <value>
                        <!--
                             Note - the "=Nobody" below is saying that resource URLs with those
                             patterns not be available through a web call.
                        -->
    <![CDATA[
    CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
    \A/docs/.*\Z=Anonymous,Authenticated
    \A/mantlelogin/.*\Z=Anonymous,Authenticated
    \A/mantle/mantleloginservice/*\Z=Anonymous,Authenticated
    \A/mantle/.*\Z=Authenticated
    \A/welcome/.*\Z=Anonymous,Authenticated
    \A/public/.*\Z=Anonymous,Authenticated
    \A/login.*\Z=Anonymous,Authenticated
    \A/ping/alive.gif.*\Z=Anonymous,Authenticated
    \A/j_spring_security_check.*\Z=Anonymous,Authenticated
    \A/getimage.*\Z=Anonymous,Authenticated
    \A/getresource.*\Z=Anonymous,Authenticated
    \A/admin.*\Z=Admin
    \A/auditreport.*\Z=Admin
    \A/auditreportlist.*\Z=Admin
    \A/versioncontrol.*\Z=Admin
    \A/propertieseditor.*\Z=Admin
    \A/propertiespanel.*\Z=Admin
    \A/subscriptionadmin.*\Z=Admin
    \A/resetrepository.*\Z=Admin
    \A/viewaction.*solution.admin.*\Z=Admin
    \A/scheduleradmin.*\Z=Admin
    \A/publish.*\Z=Admin
    \A/logout.*\Z=Anonymous
    \A/solutionrepositoryservice.*component=delete.*solution=system.*\Z=Nobody
    \A/solutionrepositoryservice.*solution=system.*component=delete.*\Z=Nobody
    .*system.*pentaho.xml.*=Nobody
    .*system.*applicationcontext.*.xml.*=Nobody
    .*system.*pentahoobjects.spring.xml.*=Nobody
    .*system.*pentahosystemconfig.xml.*=Nobody
    .*system.*adminplugins.xml.*=Nobody
    .*system.*plugin.properties.*=Nobody
    .*system.*publisher_config.xml.*=Nobody
    .*system.*sessionstartupactions.xml.*=Nobody
    .*system.*systemlisteners.xml.*=Nobody
    .*system.*hibernate.*=Nobody
    .*system.*birt/.*=Nobody
    .*system.*dialects/.*=Nobody
    .*system.*google/.*=Nobody
    .*system.*jasperreports/.*=Nobody
    .*system.*jfree/.*=Nobody
    .*system.*kettle/.*=Nobody
    .*system.*logs/.*=Nobody
    .*system.*metadata/.*=Nobody
    .*system.*mondrian/.*=Nobody
    .*system.*olap/.*=Nobody
    .*system.*quartz/.*=Nobody
    .*system.*simple-jndi/.*=Nobody
    .*system.*smtp-email/.*=Nobody
    .*system.*ui/.*=Nobody
    .*system.*analysistemplate.tpl.*=Nobody
    .*system.*\.\./.*=Nobody
    \A/.*\Z=Authenticated
    ]]>
                   </value>
              </property>
         </bean>
    </beans>

  • Deploying Application in OC4J 1013 using Ant

    Hello All
    I am trying to deploy my application in OC4J 1013 container using Ant. I am getting
    /view/webappdev3_cruise_view/vobs/Apps/eTA/build_deploy_appl.xml:26: Execute failed: java.io.IOException: /oracle/apps/product/dev/sso/1013/opmn/bin/opmnctl: cannot execute
    I have attached my build.xml file. Please let me know what could be the reason for this.
    Thanks
    Sri
    Edited by: user3539708 on Oct 15, 2009 6:57 PM

    Denis -- This sounds like maybe the RMI port that you are using to connect is the one used by the home instance. Have a look at the other instance you deployed it to and see what RMI port it is using.
    Thanks -- Jeff

  • Problem: Deploying application in OC4J

    HELP ME!!!
    I'm deploy j2ee application which is a simple SessionBean, to my OC4J container (for example, OC4J_my)
    Then I try to start this application via JDeveloper903.
    Application fails with next error:
    javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: No such domain/application: OC4J_432/ejb1; nested exception is:
         javax.naming.AuthenticationException: No such domain/application: OC4J_432/ejb1
         java.lang.Object com.evermind.server.rmi.RMIContext.lookup(java.lang.String)
              RMIContext.java:134
         java.lang.Object javax.naming.InitialContext.lookup(java.lang.String)
              InitialContext.java:350
         void Samplemypackage2.MySessionEJBClient.main(java.lang.String[])
              MySessionEJBClient.java:18

    Denis -- This sounds like maybe the RMI port that you are using to connect is the one used by the home instance. Have a look at the other instance you deployed it to and see what RMI port it is using.
    Thanks -- Jeff

  • Error while deploy application in OC4J version 10.1.3.2

    I have the OC4J version 10.1.3.2, I trying deploy the java application, but I have some problem. Somebody help-me? please, help into [email protected]. Thank you!
    The messange from error in console:
    [java] 06/07/2007 16:32:35 oracle.j2ee.rmi.RMIMessages EXCEPTION_ORIGINATES
    FROMTHE_REMOTE_SERVER
    [java] WARNING: Exceção retornada pelo servidor remoto: {0}
    [java] java.rmi.RemoteException: bindWebApp() failed!; nested exception is:
    [java] oracle.oc4j.admin.internal.DeployerException: Unknown site: http-web
    -site
    [java] Active sites are:
    [java] file:/C:/oc4j101320/j2ee/home/config/default-web-site.xml
    [java] at com.evermind.server.administration.DefaultApplicationServerAdmini
    strator.bindWebApp(DefaultApplicationServerAdministrator.java:420)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorI
    mpl.java:39)
    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodA
    ccessorImpl.java:25)
    [java] at java.lang.reflect.Method.invoke(Method.java:324)
    [java] at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
    [java] at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(R
    eleasableResourcePooledExecutor.java:303)
    [java] at java.lang.Thread.run(Thread.java:534)
    [java] Caused by: oracle.oc4j.admin.internal.DeployerException: Unknown sit
    e: http-web-site
    [java] Active sites are:
    [java] file:/C:/oc4j101320/j2ee/home/config/default-web-site.xml
    [java] at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApp
    licationBinder.java:191)
    [java] at com.evermind.server.administration.DefaultApplicationServerAdmini
    strator.bindWebApp(DefaultApplicationServerAdministrator.java:418)
    [java] ... 7 more
    [java] Error: bindWebApp() failed!; nested exception is:
    [java] oracle.oc4j.admin.internal.DeployerException: Unknown site: http-web
    -site
    [java] Active sites are:
    [java] file:/C:/oc4j101320/j2ee/home/config/default-web-site.xml
    [java] Java Result: 17

    user583805,
    As it tells you in the error message:
    File "http-web-site.xml" is replaced by file "default-web-site.xml" in OC4J 10.1.3.x
    Good Luck,
    Avi.

  • Problem in deploying to standalone oc4j 11TP4

    I developed standard web app in Jdeveloper 11g which contains web module and one ejb jar. App runs successfully on embedded oc4j in Jdev. Then I made EAR which packed this project and deployed it to standalone oc4j11 TP4. Deployment passed successfully, but when I tried to open my page I get following error:
    JspServlet error: Servlet unable to dispatch to the following requsted page: The following exception occurred:java.io.FileNotFoundException: C:\JAVA\jdevstudio1111\j2ee\home\default-web-app\App1-web\faces\login.jspx (The system cannot find the path specified)
    Now, I know this is a typical error when the location is wrong or we request non existing page. But this confused me a bit:
    \default-web-app\App1-web\
    I checked on file system and, of course, my app is not in default-web-app directory, but in applications diretctory. As I said, deployment went OK. Why is OC4J looking my app in default-web-app?
    Application was deployed using command line:
    java -jar C:\JAVA\jdevstudio1111\j2ee\home\admin_client.jar deployer:oc4j:makor:23791 fmwadmin adminadmin -deploy -file c:\TEMP\App1.ear -deploymentName App1
    I have noticed one more thing. After deployment I get following error oc oc4j console:
    SEVERE: XMLApplicationServerConfig.store application configuration parsing is failed. please correct the problem and restart oc4j.
    The same thing happens when I deploy another test web application which contains only web module.
    So, what is this supposed to mean? I haven't done anything with config files, I just used out of the box config from Jdev. Where should I look?

    Can you try and see if the following parameters for the command line help:
    -deploy -file c:\TEMP\App1.ear -deploymentName App1 -bindAllWebApps default-web-site

  • Urgent - Unable to deploy applications to oc4j

    Hi
    I am not able to do any thing on the server, I cannot create new oc4j instance, remove application or deploy a new ear file.
    Earlier I tried increase the memory by using
    OC4J instance -. Administration - >Server Properties -> Java options added the string -Xms512Mm -Xmx12m, looks like while doing so a junk character / multi lingual charcter was pasted instead of "-". I Copied and pasted this from some article. Thats when the server started behaving like this.
    We have seen the special charcter in opmn.xml file as well as opmn.xml.bak file.
    Server is getting started when we have removed the above opton from both the files. but we are not able to deploy or make any changes to ear/war files.
    I am getting below error message:
    An error occured while undeploying the application. The configuration files for this Oracle Application Server instance are inconsistent with the
    configuration stored in the repository. In order to protect the repository,
    no further configuration or deployment operations are allowed until the problem with the configuration on the filesystem is resolved. This condition arises when a prior operation was unsuccessful. The exception associated with this failed operation is:
    {0}
    . Please also check the logs located at
    ORACLE_HOME/dcm/logs to determine why DCM was unsuccessful in updating
    the configuration files on disk. Some possible causes are:
    * permissions on files
    * file contention issues on Windows NT
    * internal Oracle error
    After resolving the problem that prevented DCM from updating the configuration
    files, you may use the dcmctl resyncInstance command to resolve the problem.
    Alternatively, you can stop and then restart the active dcmctl or EMD
    process and resyncInstance will automatically be performed.
    Resolution:
    Base Exception:
    java.net.ConnectException
    Connection refused. Connection refused
    Appreciate your help on this regard.
    thanks
    Prasad

    Also,
    When I ran the command dcmctl error I am getting the response ADMN-906001

  • Error while deploying application in oc4j

    following error message appear when deploying an application
    (1) on consol error message is al folows :
    An error occured while undeploying the application. The configuration files for this Oracle9iAS instance are inconsistent with the configuration stored in the repository. In order to protect the repository, no further configuration or deployment operations are allowed until the problem with the configuration on the filesystem is resolved. This condition arises when a prior operation was unsuccessful. Please check the logs located at ORACLE_HOME/dcm/logs to determine why DCM was unsuccessful in updating the configuration files on disk. Some possible causes are: * permissions on files * file contention issues on Windows NT * EMD and dcmctl running concurrently * internal Oracle error After resolving the problem that prevented DCM from updating the configuration files, you may use the dcmctl resyncInstance command to resolve the problem. Alternatively, you can stop and then restart the active dcmctl or EMD process and resyncInstance will automatically be performed.
    (2) in ora9ias_home\dcm\logs\dcmctl_logs\log.xml and
    ora9ias_home\dcm\logs\emd_logs\log.xml error message is as follows :
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2002-05-07T18:55:16.830+05:30</TSTZ_ORIGINATING>
    <COMPONENT_ID>OC4J</COMPONENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_GROUP>n/a</MSG_GROUP>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>HIRED6</HOST_ID>
    <HOST_NWADDR>144.12.16.48</HOST_NWADDR>
    <MODULE_ID>iAS_dcm/oracle/defaultLogger/ExceptionLogger</MODULE_ID>
    <PROCESS_ID>null-Thread[Orion Launcher,5,main]</PROCESS_ID>
    <USER_ID>SYSTEM</USER_ID>
    </HEADER>
    <PAYLOAD>
    <MSG_TEXT>[ RM ] Exception in repository API getDBConnect()</MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[oracle.ias.repository.schema.SchemaException: Unable to connect to Directory Server:javax.naming.CommunicationException: localhost:389 [Root exception is java.net.ConnectException: Connection refused: connect]
         at oracle.ias.repository.directory.DirectoryReader.connect(DirectoryReader.java:104)
         at oracle.ias.repository.IASSchema.getDBConnect(IASSchema.java:331)
         at oracle.ias.repository.IASSchema.getDBConnect(IASSchema.java:416)
         at oracle.ias.repository.SchemaManager.getDBConnect(SchemaManager.java:197)
         at oracle.ias.sysmgmt.persistence.SeedDbAccess.getDBConnect(Unknown Source)
         at oracle.ias.sysmgmt.persistence.PersistenceManager.getSeedInfo(Unknown Source)
         at oracle.ias.sysmgmt.persistence.PersistenceManager.isDBConfigured(Unknown Source)
         at oracle.ias.sysmgmt.task.InstanceManager.sysInit(Unknown Source)
         at oracle.ias.sysmgmt.task.InstanceManager.init(Unknown Source)
         at oracle.ias.sysmgmt.EntryPoint.init(Unknown Source)
         at oracle.sysman.emSDK.eml.util.iAS.IASEntryPoint.initialize(IASEntryPoint.java:98)
         at oracle.sysman.emSDK.eml.svlt.NavCfgHandler.startElement(NavCfgHandler.java:220)
         at org.xml.sax.helpers.ParserAdapter.startElement(ParserAdapter.java:580)
         at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:166)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1082)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:287)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:254)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:141)
         at org.xml.sax.helpers.ParserAdapter.parse(ParserAdapter.java:430)
         at oracle.sysman.emSDK.eml.svlt.EMServlet.init(EMServlet.java:332)
         at oracle.sysman.eml.app.ConsoleSN.init(ConsoleSN.java:87)
         at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:1687)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4020)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4119)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:579)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:376)
         at com.evermind.server.Application.getHttpApplication(Application.java:657)
         at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:663)
         at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:524)
         at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:230)
         at com.evermind.server.http.HttpServer.setSites(HttpServer.java:244)
         at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:147)
         at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:1818)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1154)
         at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:70)
         at java.lang.Thread.run(Thread.java:484)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:49)
    ]]></SUPPL_DETAIL>
    </PAYLOAD>
    </MESSAGE>
    Urgent solution required

    welcome to the club - reintalling ias90x.
    seriously, after reinstalling oracle, disable em interface. never use it again.
    use
    $oraclehome\dcm\bin\dcmctl dcmctl saveinstance -directory somedir
    $oraclehome\dcm\bin\dcmctl deployapplication blah blah..
    if something goes wrong,
    $oraclehome\dcm\bin\dcmctl restoreinstance
    read up on how to use dcmctl.
    Ken

  • Help undeploying an incorrectly deployed application

    Hi,
    I deployed a J2EE application to my Application Server PE 8.2 from Net Beans IDE.
    Even tough all seemed to be ok, after viewing the server log I found out that the deployment didn't complete successfully because of a timeout error.
    Since then, after loggin into the Admin Console, I get the following exception:
    A "com.sun.enterprise.tools.guiframework.exception.FrameworkError" was caught. The message from the exception: "Unable to get View for ViewDescriptor 'enterpriseApplications'"
    The root cause is
    "com.sun.enterprise.admin.common.exception.MBeanConfigException: Component not registered"
    error when I use Admin Console .
    I'd need some help on how to undeploy the failing application, as I've been unable to do it using either asadmin or deploytool (I get the error "Component is not registered").
    Thanks in advance

    Kedar, I managed to solve the problem through a plain asadmin undeploy. Once undeployed the application, all seems to work well.
    However, I'm still interested in knowing what could cause the problem.
    This is what the server log says about the deployment of the application(j2eesampleapp is the application I tried to deploy - it consists of an entity bean and a EJB web service):
    [#|2006-07-06T13:44:14.370+0200|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=12;|ADM1041:Sent the event to instance:[ResourceDeployEvent -- reference-added jdbc/jdbc/mysql]|#]
    [#|2006-07-06T13:44:47.411+0200|INFO|sun-appserver-pe8.2|javax.enterprise.system.core|_ThreadID=12;|CORE5004: Resource Deployed: [jdbc:jdbc/mysql].|#]
    [#|2006-07-06T13:45:20.302+0200|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=16;|DPL5109: EJBC - START of EJBC for [j2eesampleapp]|#]
    [#|2006-07-06T13:47:50.184+0200|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=16;|Processing beans ...|#]
    [#|2006-07-06T13:52:36.607+0200|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=15;|StandardWrapperValve[RemoteJmxConnectorServlet]: Servlet.service() for servlet RemoteJmxConnectorServlet threw exception
    java.io.EOFException
         at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2232)
         at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2698)
         at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:750)
         at java.io.ObjectInputStream.<init>(ObjectInputStream.java:268)
         at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.readRequestMessage(RemoteJmxConnectorServlet.java:98)
         at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:68)
         at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)
    |#]
    [#|2006-07-06T13:56:10.528+0200|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=16;|DPL5306:EJB Web Service Endpoint [FachadeProveedor] listening at address [http://gestor-prueba.ingenieria.eolica.corp.gamesa.es:8080/webservice/FachadeProveedor]|#]
    [#|2006-07-06T13:59:35.556+0200|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=16;|DPL5110: EJBC - END of EJBC for [j2eesampleapp]|#]
    [#|2006-07-06T13:59:53.774+0200|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=16;|Total Deployment Time: 891340 msec, Total EJB Compiler Module Time: 855274 msec, Portion spent EJB Compiling: 95%
    Breakdown of EJBC Module Time: Total Time for EJBC: 855274 msec, CMP Generation: 12229 msec (1%), Java Compilation: 133827 msec (15%), RMI Compilation: 0 msec (0%), JAX-RPC Generation: 480754 msec (56%),
    |#]
    [#|2006-07-06T14:00:03.919+0200|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=16;|deployed with moduleid = j2eesampleapp|#]
    [#|2006-07-06T14:07:57.202+0200|WARNING|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=14;|Exception in getStatus:Component not registered|#]
    This is the error message I got when I run asadmin list-components
    Operation 'getAllUserDeployedComponents' failed in 'applications' Config Mbean.
    Target exception message: javax.management.InstanceAlreadyExistsException: com.sun.appserv:type=j2ee-application,name=j2eesampleapp,category=config
    CLI137 Command list-components failed.
    This is the error message I got when I used Admin Console to force a redeployment of the application
    Application j2eesampleapp is already deployed on other targets.
    Please use create-application-ref command to create reference to the specified target; requested operation cannot be completedThanks again for your valuable help

  • Problems with deploying application to Policy Server 7.2.1 & DSS 7.2.2

    Hiya -<br /><br />I've been using Policy Server 7.0.2 and Document Security Server 7.0.2 to policy protect PDFs.<br /><br />I've recently just installed Policy Server 7.2.1 & DSS 7.2.2 on another machine and am now trying to use the same EJB deployed on the previous PS & DSS on the newer versions. Unfortunately I'm running into some problems which I don't really understand.<br /><br />Basically I can deploy the EJB (called PolicyApplication.jar) and it appears to deploy OK - it appears in the jmx-console (I'm using jboss 3.2.5), but when I try and attach to it from my remote application I get the following error (see stack trace below).<br /><br />I'm using SSL and have imported the certificates into the java environment cacerts files for both the client & the server.<br /><br />Looking through the stack trace I get the error 'Error looking up PolicyManagerEJB -- Cannot connect to server' and the application seems to be trying to make a connection to localhost and being refused, but I don't really understand why it's being refused.<br /><br />Basically I have DSS & PS running on the same instance of jboss - the client is running on a different machine, so I have permissioned through the firewall port 1099.<br /><br />I seem to be able to use <servername>/edc/Main.do with no problems at all.<br /><br />I also seem to have some MissingResourceExceptions in the adobe.log for a number of different services:<br /><br />2007-01-30 14:41:52,473~DEBUG~com.adobe.idp.um.scheduler.IDPScheduler~com.adobe.service.Service.star t Service IDPScheduler: Exception while attempting to read initialization properties from com/adobe/config/IDPScheduler-init<br />java.util.MissingResourceException: Can't find bundle for base name com/adobe/config/IDPScheduler-init, locale en_US<br /><br /><very long stack trace here><br /><br />2007-01-30 14:41:57,445~DEBUG~com.adobe.document.PDFManipulation~com.adobe.service.Service.start Service PDFManipulation: Exception while attempting to read initialization properties from com/adobe/config/PDFManipulation-init<br />java.util.MissingResourceException: Can't find bundle for base name com/adobe/config/PDFManipulation-init, locale en_US<br /><br /><very long stack trace here><br /><br />2007-01-30 14:41:59,958~DEBUG~com.adobe.service.APSProxyService~com.adobe.service.Service.start Service APSProxyService: Exception while attempting to read initialization properties from com/adobe/config/APSProxyService-init<br />java.util.MissingResourceException: Can't find bundle for base name com/adobe/config/APSProxyService-init, locale en_US<br /><br /><very long stack trace here><br /><br />Could someone please give me some advice on how I can try and debug this issue, and what could be wrong. As per usual I've left this late and really need to get this going ASAP, so any help anyone could provide would be very very gratefully received.<br /><br />Below is the stack trace I receive at the client end. I've had to summarise it as it's quite long - will post the full thing is a second post.<br /><br />Once again, many thanks in advance,<br />Anil.<br /><br />----<br /><br />com.adobe.edc.sdk.SDKException: Exception connecting to the Server -- An error occured while performing this operation(error code bin: 1, hex: 0x1)<br />     at com.adobe.edc.sdk.impl.ExceptionHandler.throwException<br /><br />Caused by: com.adobe.edc.sdk.SDKException: Error authenticating against server -- Authentication failed(error code bin: 513, hex: 0x201)<br />     at com.adobe.edc.sdk.impl.ExceptionHandler.throwException(ExceptionHandler.java:50)<br />     at com.adobe.edc.sdk.impl.ejb.EJBConnection.getConnection<br /><br />Caused by: com.adobe.edc.sdk.SDKException: Error looking up PolicyManagerEJB -- Cannot connect to server(error code bin: 1025, hex: 0x401)<br /><br />Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: <br />     java.net.ConnectException: Connection refused: connect]

    Full stack trace here:<br /><br />com.adobe.edc.sdk.SDKException: Exception connecting to the Server -- An error occured while performing this operation(error code bin: 1, hex: 0x1)<br />     at com.adobe.edc.sdk.impl.ExceptionHandler.throwException(ExceptionHandler.java:78)<br />     at com.adobe.edc.sdk.impl.ExceptionHandler.throwException(ExceptionHandler.java:88)<br />     at com.adobe.edc.sdk.EDCFactory.connect(EDCFactory.java:190)<br />     at com.semantico.depp.drm.manager.impl.AdobeDRMManager.createConnection(AdobeDRMManager.java :122)<br />     at com.semantico.depp.drm.manager.impl.AdobeDRMManager.main(AdobeDRMManager.java:411)<br />Caused by: com.adobe.edc.sdk.SDKException: Error authenticating against server -- Authentication failed(error code bin: 513, hex: 0x201)<br />     at com.adobe.edc.sdk.impl.ExceptionHandler.throwException(ExceptionHandler.java:50)<br />     at com.adobe.edc.sdk.impl.ejb.EJBConnection.getConnection(EJBConnection.java:557)<br />     at com.adobe.edc.sdk.impl.ejb.EJBClientFactoryImpl.<init>(EJBClientFactoryImpl.java:63)<br />     at com.adobe.edc.sdk.EDCFactory.connect(EDCFactory.java:183)<br />     ... 2 more<br />Caused by: com.adobe.edc.sdk.SDKException: Error looking up PolicyManagerEJB -- Cannot connect to server(error code bin: 1025, hex: 0x401)<br />     at com.adobe.edc.sdk.impl.ExceptionHandler.throwException(ExceptionHandler.java:50)<br />     at com.adobe.edc.sdk.impl.ejb.EJBConnection.getPolicyManagerHome(EJBConnection.java:532)<br />     at com.adobe.edc.sdk.impl.ejb.EJBConnection.getConnection(EJBConnection.java:549)<br />     ... 4 more<br />Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: <br />     java.net.ConnectException: Connection refused: connect]<br />     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:649)<br />     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509)<br />     at javax.naming.InitialContext.lookup(Unknown Source)<br />     at com.adobe.edc.sdk.impl.ejb.EJBConnection.getPolicyManagerHome(EJBConnection.java:528)<br />     ... 5 more<br />Caused by: java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: <br />     java.net.ConnectException: Connection refused: connect<br />     at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)<br />     at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)<br />     at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)<br />     at sun.rmi.server.UnicastRef.invoke(Unknown Source)<br />     at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)<br />     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:530)<br />     ... 8 more<br />Caused by: java.net.ConnectException: Connection refused: connect<br />     at java.net.PlainSocketImpl.socketConnect(Native Method)<br />     at java.net.PlainSocketImpl.doConnect(Unknown Source)<br />     at java.net.PlainSocketImpl.connectToAddress(Unknown Source)<br />     at java.net.PlainSocketImpl.connect(Unknown Source)<br />     at java.net.SocksSocketImpl.connect(Unknown Source)<br />     at java.net.Socket.connect(Unknown Source)<br />     at java.net.Socket.connect(Unknown Source)<br />     at java.net.Socket.<init>(Unknown Source)<br />     at java.net.Socket.<init>(Unknown Source)<br />     at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)<br />     at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)<br />     ... 14 more<br />com.semantico.depp.drm.exception.DRMException: Could not connect to DRM server<br />     at com.semantico.depp.drm.manager.impl.AdobeDRMManager.createConnection(AdobeDRMManager.java :129)<br />     at com.semantico.depp.drm.manager.impl.AdobeDRMManager.main(AdobeDRMManager.java:411)<br />Exception in thread "main" java.lang.NullPointerException<br />     at com.semantico.depp.drm.manager.impl.AdobeDRMManager.closeConnection(AdobeDRMManager.java: 142)<br />     at com.semantico.depp.drm.manager.impl.AdobeDRMManager.main(AdobeDRMManager.java:448)

Maybe you are looking for

  • My sound has gone completely out on iphone 5c?

    Ive only had my Iphone 5c for 3 months and my sound just stopped working ,any sugesstions?

  • Selection Screen Data Validation

    Hi All. I have made a program with vendor and purchase order inputs. If I give the correct vendor and PO it works fine. I want to implement validation. For that I have an internal table with vendor and all the PO's raised on him. Now I have to valida

  • Activation date in February?

    Given that I have only just placed my order for Infinity but I have been told to expect my service to be activated in February? This seems an exceptionally long wait. Having just tracked my order I have found out that seemingly an engineer is not req

  • Laptop 9470 windows 7 not booting

    The PC suddenly shut down. Now not booting up. It says windows failed to start. A recent hardware or software change might be the cause. This lappy doesnot have cd disc slot. How should I try to reboot it.

  • Possible Permissions problems with adobe

    I have been dealing with a problem with Adobe Creative Suites where Photoshop and Illustrator either crash or simply refuse to open files, "Cannot open filetype" errors. So I attempted to reinstall the programs from the original discs twice and they