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

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.

  • 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

  • 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

  • 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

  • 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

  • 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.

  • Problems deploying application.

    Hi,
    we are trying to migrate a JAVA application from Oracle ias 9i (9.0.3) to 10G (10.1.3), and we have a problem with the EJBs when we make the deploy.
    We have two EJBs into two JAR files, into an EAR file.
    One of them is a SessionBean, and the other one is an EntityBean.
    We deploy, using the Oracle Enterprise Manager, the ear file. We let that the EM make the Deployment plan, and it seems to work.
    But when we go to the JNDI Explorer, into the OC4J instance where we have deployed the ear, we don't see any entry, and the combo-box to select an application is empty.
    And we have found this error at the log, when we access at JNDI Explorer:
    08/04/02 18:30:46 java.lang.UnsupportedOperationException: This part of the API is not supported
    08/04/02 18:30:46 at oracle.oc4j.admin.jmx.distributed.SimpleInstanceMBeanServerDelegate.queryMBeans(SimpleInstanceMBeanServerDelegate.java:522)
    08/04/02 18:30:46 at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.queryMBeans(LocalizationFilterMBeanServer.java:420)
    08/04/02 18:30:46 at oracle.sysman.ias.studio.jmx.spi.JMXConnectorImpl.queryMBeans(JMXConnectorImpl.java:346)
    08/04/02 18:30:46 at oracle.sysman.ias.studio.j2ee.userdefined.jndi.JndiHGridOC4JModel.getJndiTree(JndiHGridOC4JModel.java:164)
    08/04/02 18:30:46 at oracle.sysman.ias.studio.j2ee.userdefined.jndi.JndiHGridOC4JModel.getJndiTree(JndiHGridOC4JModel.java:134)
    08/04/02 18:30:46 at oracle.sysman.ias.studio.j2ee.userdefined.jndi.JndiGridHelper.createHGrid(JndiGridHelper.java:421)
    08/04/02 18:30:46 at oracle.sysman.ias.studio.j2ee.userdefined.jndi.JndiGridHelper.prepareData(JndiGridHelper.java:357)
    08/04/02 18:30:46 at oracle.sysman.ias.studio.sdk.AbstractController.prepareData(AbstractController.java:875)
    08/04/02 18:30:46 at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:391)
    08/04/02 18:30:46 at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:765)
    08/04/02 18:30:46 at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:283)
    08/04/02 18:30:46 at oracle.sysman.ias.studio.app.StudioConsole.doGet(StudioConsole.java:297)
    08/04/02 18:30:46 at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    08/04/02 18:30:46 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    08/04/02 18:30:46 at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    08/04/02 18:30:46 at oracle.sysman.ias.studio.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:75)
    08/04/02 18:30:46 at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    08/04/02 18:30:46 at oracle.sysman.ias.studio.app.MultipleJVMFilter.doFilter(MultipleJVMFilter.java:85)
    08/04/02 18:30:46 at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    08/04/02 18:30:46 at oracle.sysman.ias.studio.app.PostLogonFilter.doFilter(PostLogonFilter.java:80)
    08/04/02 18:30:46 at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
    08/04/02 18:30:46 at oracle.sysman.ias.studio.app.ShortHostnameRedirectFilter.doFilter(ShortHostnameRedirectFilter.java:68)
    08/04/02 18:30:46 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
    08/04/02 18:30:46 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    08/04/02 18:30:46 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    08/04/02 18:30:46 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    08/04/02 18:30:46 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    08/04/02 18:30:46 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    08/04/02 18:30:46 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    08/04/02 18:30:46 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    08/04/02 18:30:46 at java.lang.Thread.run(Thread.java:595)
    Any idea about which may be the problem?...

    PRODUCT VERSION: OC4J_STANDALONE: 10133
    I also am having a problem with simple MBEAN deployment as well. some attributes with default values defined in orion-application.xml deploy fine, one however does not. The error I see in ASControl is attribute "unavailable".
    Would appreciate some guidance here.
    I see the following errors in the log:
    2008-04-09 06:56:11,515 [EMUI_06_56_11_/console/ias/j2ee/userdefined/admin/j2eeBrowserRight] WARN oc4j.OC4JManagementAdminBeanJMXImpl getCurrentJVMs.253 - java.lang.IllegalArgumentException: J2EE Server not found from SimpleInstanceMBeanServerDelegate
    2008-04-09 06:56:11,515 [EMUI_06_56_11_/console/ias/j2ee/userdefined/admin/j2eeBrowserRight] WARN oc4j.OC4JManagementAdminBeanJMXImpl getCurrentJVMs.253 - java.lang.IllegalArgumentException: J2EE Server not found from SimpleInstanceMBeanServerDelegate
    Here are the relevant files:
    ===== orion-application.xml ================
    <jmx-mbean objectname=":type=Application,name=MessageHandler" class="com.eds.gtm.ccg.management.MessageHandler">
    <description>GTMDEMOBEANS</description>
    <attribute name="TestSize">
    <value>100</value>
    </attribute>
    <attribute name="Interval">
    <value>100</value>
    </attribute>
    <attribute name="WindowSize">
    <value>7</value>
    </attribute>
    </jmx-mbean>
    ============== MBEAN source files ===================
    package com.eds.gtm.ccg.management;
    public interface MessageHandlerMBean {
    public void setTestSize(String testSize) ;
    public String getTestSize();
    public void setInterval(String interval);
    public String getInterval();
    public void setWindowSize(String windowSize);
    public String getWindowSize();
    public void setEdsCacheConfig(String edsCacheConfig);
    public String getEdsCacheConfig();
    ==================== class ============================
    package com.eds.gtm.ccg.management;
    public class MessageHandler implements MessageHandlerMBean {
    private String testSize;
    private String interval;
    private String windowSize;
    private String edsCacheConfig;
    public MessageHandler() {
    public void setTestSize(String testSize) {
    this.testSize = testSize;
    public String getTestSize() {
    return testSize;
    public void setInterval(String interval) {
    this.interval = interval;
    public String getInterval() {
    return interval;
    public void setWindowSize(String windowSize) {
    this.windowSize = windowSize;
    public String getWindowSize() {
    return windowSize;
    public void setEdsCacheConfig(String edsCacheConfig) {
    this.edsCacheConfig = edsCacheConfig;
    public String getEdsCacheConfig() {
    return this.edsCacheConfig;
    Message was edited by:
    user54633

  • 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

  • Problem deploying application - ERROR: No j2ee modules detected

    Hi
    I am new to jDeveloper, and I have created a stateless session EJB, and a JSF page with one ADF component on. When I try to deploy my application to Weblogic, I get this error:
    ERROR: No j2ee modules detected in EAR archive. Deployment aborted
    Any ideas what I can do to fix this?
    Thank you
    Søren

    Hi, I had this same problem. The whole purpose of a EAR is containing a J2EE app. It's divided on a Web Components Archive (WAR) and a JAR with the Enterprise App. I found this document useful and the app could be deployed successfully to an EAR. Remember to include all you extra libraries as another file Group of the "Libraries Type". Basically you owuld have to separatelly create the WAR deployment descriptor, the EJB JAR deployment descriptor and after that create the EAR based on one or two of them.
    [http://download.oracle.com/otndocs/tech/ias/portal/files/RG/OBE/deployToAppServer/lesson_Deployment.htm|http://download.oracle.com/otndocs/tech/ias/portal/files/RG/OBE/deployToAppServer/lesson_Deployment.htm ]
    This document is intended for Jdev10g and OracleAS 10, but the procedure is almost the same for both versions.

  • Cross-application sharing problem in Application Server(OC4J)

    I use OC4J 9.0.3 version.
    Cross-application sharing.
    The "parent" declaration is made in the <application> tag within server.xml.
    these appear as follows:
    <application name="A" path="a.ear" />
    <application name="B" path="b.ear" parent="A" />
    The structure of an a.ear file is:
    a.ear
    - META-INF
    - a.war ---- a.jsp
    ---------- WEB-INF --- web.xml
    ------------------------- classes
    ------------------------- lib ---- util1.jar, util2.jar
    The structure of an b.ear file is:
    b.ear
    - META-INF
    - b.war ---- b.jsp
    ------------ WEB-INF --- web.xml
    ----------------------------classes
    ----------------------------lib --- util3.jar, util4.jar
    when b.jsp call b class in util3.jar and b class call a class(PosFinexMonitoringMgr) in util1.jar
    I have following error :
    "java.lang.NoClassDefFoundError: com/.../.../.../.../app/tasks/PosFinexMonitoringMgr"
    Has anyone else have solution to solve this problem?
    maybe, must I declare Class-Path attribute of manifest.mf in util3.jar?
    then, how to declare Class-Path attribute?
    like this ?
    Class-Path : ../../../../a/a/WEB-INF/lib/util1.jar
    Thanks,
    Taihoon Lee

    Hello,
    I was just wondering if the approach mentioned above is the correct one for sharing libraries across different applications.
    Very similarly, we have more than one ear modules in our project. (up to 10 or more) These ear's contain web and ejb modules. Since libraries used for any web application (i.e. jsf implementation libs) are included in every ear, our goal was to put them in a common ear and point web application's class loader to this directory.
    However, I couldn't make this happen, with adding them to manifest file of war, or assigning the common ear as the parent of other ears.
    Although it's for oas9i, I read the whitepaper, it's ok with adding the common libraries to one ear and share libraries across different war files under this ear, across the applications, I couldn't make it possible.
    The application server version we use is 10.1.3.3. I can give you more details on our implementation, if you would approve that such an approach like this is acceptable.
    Many thanks & regards,
    Ece

  • Exception when i try to deploy application to OC4J

    Hi
    Thank you for reading my post
    i get the following exception when i try to deploy the application from Jdeveloper 10.1.3.1 to the same application server. that i download and install.
    Binding web application(s) to site default-web-site begins...
    Binding register web-module for application register to site default-web-site under context root register-register-context-root
    Exception:  NoClassDefFoundError:  oracle/jbo/JboException
    Operation failed with error:
    oracle/jbo/JboException

    Did you install adf runtime (tools -> adf runtime installer ->standalone oc4j)?

  • Problems deploying application with updated method signatures on WLS8.1

    Hi,
    I have an jar file under applications which I have deployed fine on WLS 8.1 in the past. I changed the method signature on one of the EJB classes in the jar. One of the parameters now takes a different Java class type. I have recompiled everyone and repackaged the jar but when I try to deploy the jar it gives me an error because the the local interface of the EJB does not have the old Java class parameter type.
    I have checked the jar, classes in the jar, and the ejb-jar.xml and weblogic-ejb-jar.xml in the jar and it is looks fine. I have cleaned out my server deployment directories and verified the classpath in case the older jar was in there and everything looks OK. It seems for some reason 8.1 is caching the old ejb-jar.xml or somehow is remembering the old method signature and will not process the updated jar. Has anyone seen anything like this?
    Thanks for any help or recommendations

    Can you show me the error you receive?
    Another simple test would be to deploy your application to a new, empty
    server.
    You can create a new domain as easy as this:
    mkdir testDomain;
    cd testDomain;
    java weblogic.Server
    Type in the username/password that you want and answer 'Yes' when it
    asks if you want to create a new domain.
    Try deploying your jar to this new domain, and let me know if it still
    fails.
    -- Rob
    Jeff Dooley wrote:
    Hi,
    I have an jar file under applications which I have deployed fine on WLS 8.1 in the past. I changed the method signature on one of the EJB classes in the jar. One of the parameters now takes a different Java class type. I have recompiled everyone and repackaged the jar but when I try to deploy the jar it gives me an error because the the local interface of the EJB does not have the old Java class parameter type.
    I have checked the jar, classes in the jar, and the ejb-jar.xml and weblogic-ejb-jar.xml in the jar and it is looks fine. I have cleaned out my server deployment directories and verified the classpath in case the older jar was in there and everything looks OK. It seems for some reason 8.1 is caching the old ejb-jar.xml or somehow is remembering the old method signature and will not process the updated jar. Has anyone seen anything like this?
    Thanks for any help or recommendations

  • Problem deploying applications in weblogic 9.0..... please help

    Hi ...
    i'm facing a problem while uploading any applciation into weblogic server..
    this is the error it gives
    <Jul 26, 2006 11:48:39 AM MDT> <Error> <J2EE Deployment SPI> <BEA-260101> <Parameter may not be null.
    java.lang.NullPointerException at weblogic.deploy.api.internal.utils.ConfigHelper.checkParam(ConfigHelper.java:126) at weblogic.deploy.api.model.WebLogicDeployableObject.getEntry(WebLogicDeployableObject.java:434) at weblogic.deploy.api.model.WebLogicDeployableObject.getDDStream(WebLogicDeployableObject.java:256) at weblogic.deploy.api.model.WebLogicDeployableObject.setupDDBeanRoot(WebLogicDeployableObject.java:209) at weblogic.deploy.api.model.WebLogicDeployableObject.getDDBeanRootInternal(WebLogicDeployableObject.java:202)
    Truncated. see log file for complete stacktrace
    I'm not sure how to fix this.. please help.. its urgent..
    Thanks in advance..

    We discovered that BEA uses a directory named "autodeploy". By dropping our Jackrabbit 1.1 RAR file (resource adapter), BEA would auto-deploy it. No need to deal with the buggy WebLogic Admin console.
    Needed to add the weblogic-ra.xml file to the META-INF directory, and set it up properly. Re-jar it all up as a .rar file, then copy it to the autodeploy directory. The other step is to make sure that the target repository directory exists (I pre-created [bea_home]/jackrabbit/ directory), and that the repository.xml file is already there before you deploy your .rar. Then start up the sample portal server, and the rar file will deploy as a resource adapter. To see it, go into the main server console, click on Deployments > Monitoring > Resource Adapters > Outbound Connection Pools. Jackrabbit should show up there.
    This was the directory in which we dropped our RAR for testing:
    [bea_home]/weblogic92/samples/domains/portal/autodeploy
    Start the sample portal server at:
    Windows
    [bea_home]/weblogic92/samples/domains/portal/bin/startWebLogic.cmd
    UNIX
    [bea_home]/weblogic92/samples/domains/portal/bin/startWebLogic.sh
    NOTE: This didn't end our headaches. Now we're dealing with Jackrabbit creating connections and never releasing them. Hundreds and hundreds of connections, until it runs out of its connection pool. Hideous. But that's a problem for another thread.
    Message was edited by:
    LanceZechinato

  • Problem deploying application: ClassNotFoundException

    I've deployed an application with some libraries in WEB-INF/lib directory. When I try to access it, the server responds with a ClassNotFoundException. The class is contained in my library.
    I've added the library path to the classpath of the server in server.xml file, I've declared the library in orion-application.xml and in application.xml but it seems don't work.
    Can anyone help me?
    Thanks
    Simone

    hi
    how did you solve it?

Maybe you are looking for

  • Execute PROCEDURE in ORACLE

    I try to execute procedure on ORACLE(8i) but get err SQLException .. but for SELECT UPDATE INSERT statements all is OK!! for SELECT, UPDATE, INSERT I wrote such code: Statement stmt = conn.createStatement(); String strExec="SELECT ...." stmt.executeQ

  • I am not able to find Template Builder in MS Word 2003

    Hi All, we have installed MS Word 2003 Ver in our work station for BI Publihser Reports, but i am not able to find the template builder in the Menu bar. i was try to add in tool -> Template and add-Ins also, but still i dint get the template builder

  • NLS Error?

    When trying to create and index, I get the following error: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine ORA-20000: interMedia Text error: DRG-11422: linguistic initialization failed DRG-00100: internal error, arguments : [52

  • Update problem, only getting Ethernet picture doesn't work now

    Got appleTV today and just messing around fine until I wanted to update software. It updated but now I only get a picture of the FireWire cord (or whatever the small output below the HDMI output and it going to a picture of iTunes with the end of the

  • RAC Provisioning on Exa vs. Commodity?

    Other than performance gains, is there any advantage having Exadata as the hardware when using OEM to provision RAC as opposed to other hardware?