Unable to deploy a simple WAR / EAR file on Standalone OC4J instance

All,
This issue is baffling me since yesterday and while I continue to look for options , would appreciate if anyone of you has run into something similar and give me some hints on how to proceed on this ..
I downloaded the Standalone OC4J ( 10.1.3 ) from otn.oracle.com and also downloaded JDK 1.5 Update 12 from the Sun Website and installed it on my local
Windows XP machine. Everything works well and the application gets deployed.
I then copied the 10.1.3 Standalone OC4J to the Solaris 5.9 box which already
has JDK 1.5 Update 12 installed. We extracted the OC4J to its own directory , set the Java_Home and the Oracle_Home environment variables and were able to
startup the OC4J instance.
However when trying to deploy even a simple HelloWorld.jsp file packaged as an EAR or WAR , we get these errors..
[Aug 8, 2008 9:40:27 AM] Application Deployer for CISS STARTS.
[Aug 8, 2008 9:40:27 AM] Copy the archive to /home/aplperdev1/ssp_java/oc4j/j2ee/home/applications/CISS.ear
[Aug 8, 2008 9:40:28 AM] Initialize /home/aplperdev1/ssp_java/oc4j/j2ee/home/applications/CISS.ear begins...
[Aug 8, 2008 9:40:28 AM] Unpacking CISS.ear
[Aug 8, 2008 9:40:28 AM] Error while unpacking CISS.ear java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(ZipFile.java:203) at java.util.jar.JarFile.(JarFile.java:132) at java.util.jar.JarFile.(JarFile.java:97) at oracle.oc4j.util.FileUtils.unjar(FileUtils.java:309) at oracle.oc4j.util.FileUtils.autoUnpack(FileUtils.java:488) at com.evermind.server.deployment.EnterpriseArchive.(EnterpriseArchive.java:234) at oracle.oc4j.admin.internal.ApplicationDeployer.initArchive(ApplicationDeployer.java:412) at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:187) at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93) at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52) at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298) at java.lang.Thread.run(Thread.java:595)
[Aug 8, 2008 9:40:28 AM] Operation failed with error: Unable to find/read file META-INF/application.xml in /home/aplperdev1/ssp_java/oc4j/j2ee/home/applications/CISS (META-INF/application.xml)
Using the above error messages , I certainly do not find the CISS.ear file getting copied to /home/aplperdev1/ssp_java/oc4j/j2ee/home/applications/CISS.ear
which explains the rest of the messages.
I have tried placing the EAR file both remote and local on the Application Server box but the results remain the same. Assuming it might be a permissions issue , we have opened up all the permissions on this OC4J home ( recursively )
to everyone ..
Is there a specific version of tar / unzip / jar required to deploy EARs / WARs on Solaris 5.9 running JDK 1.5 Update 12.
We had some issues when extracting OC4J to its directory but there were no errors displayed on the screen ... Only when we tried starting up the OC4J instance , it started complaining about missing XML files .. This was resolved by manually extracting the XML's from the corresponding jars and placing them in the proper directories ..
Also looked at Bug:6330834 but am not very sure if this applies to our case because all these drives are local to the Sun box.
Other than attempting a reinstall and opening an Service Request with Oracle , I am running out of ideas at this time ..
So any ideas / hints would be gladly accepted :)
Vishwa

When you say:
I then copied the 10.1.3 Standalone OC4J to the Solaris 5.9 box which already has JDK 1.5 Update 12 installed. We extracted the OC4J to its own directory , set the Java_Home and the Oracle_Home environment variables and were able to
startup the OC4J instance.
We had some issues when extracting OC4J to its directory but there were no errors displayed on the screen ... Only when we tried starting up the OC4J instance , it started complaining about missing XML files .. This was resolved by manually extracting the XML's from the corresponding jars and placing them in the proper directories ..
It sounds like you have some funky issues there with those missing XML files -- that is not expected or normal.
Do you mean you copied the same oc4j_extended.zip to the server and unzipped it, or you zipped up the directories you were using on the Windows box, copied that over, and unzipped it?
I don't know of any problems with Solaris, JDK5, U12.
What about if you do this to remove any issues with the remote copy aspect of the deployment.
1. Stop OC4J.
2. Manually copy CISS.ear to /home/aplperdev1/ssp_java/oc4j/j2ee/home/applications/
3. Edit the j2ee/home/config/server.xml file and add the entry to deploy the application
4. Edit the j2ee/home/config/default-web-site.xml and bind any web-modules you need.
5. Start the server and see what happens -- the application should be deployed.
Also, what happens if you use the $JAVA_HOME/bin/jar to try and view the contents of the CISS.ear file?
-steve-

Similar Messages

  • Compilation error when deploying EAR file on standalone OC4J...

    Hi All,
    I am getting the following error when trying to deploy an EAR File describing a web service from the Jdeveloper IDE to the stanalone OC4J server instance.
    ==========================================================
    Uploading file JavaWebServiceEmp-GetDates-WS.ear ...
    Application Deployer for JavaWebServiceEmp-GetDates-WS STARTS.
    Copy the archive to C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear
    Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear begins...
    Unpacking JavaWebServiceEmp-GetDates-WS.ear
    Done unpacking JavaWebServiceEmp-GetDates-WS.ear
    Unpacking WebServices.war
    Done unpacking WebServices.war
    Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear ends...
    Starting application : JavaWebServiceEmp-GetDates-WS
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Initializing EJB sessions
    Committing ClassLoader(s)
    Initialize WebServices begins...
    Initialize WebServices ends...
    Started application : JavaWebServiceEmp-GetDates-WS
    Binding web application(s) to site default-web-site begins...
    Binding WebServices web-module for application JavaWebServiceEmp-GetDates-WS to site default-web-site under context root JavaWebServiceEmp-GetDates-context-root
    Operation failed with error:
    Error compiling :C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS\WebServices: compilation error occurred
    Deployment failed
    Elapsed time for deployment: 1 minute, 50 seconds
    ==========================================================
    Please could somebody help me out with this? Basically I am not able to understand how to deploy the EAR file created under the MyWork folder under jdeveloper\jdev to the applications folder of j2ee\home. I am new to both EAR deployment as well as web services and would like to get a good understanding of the working of a web service which includes SOAP components and the like.
    Any help with regards to building and deploying a web service on standalone OC4J would be appreciated. Thanks a lot.

    Initially I followed the following steps to start up OC4J:-
    Settings :-
    1) Jdeveloper is setup under C:\Lester\Testing as Jdev10.1.3 folder
    2) I downloaded the extended oc4j zip folder and unzipped it under a new folder oc4j at the location C:\Lester\Testing\Jdev10.1.3
    Steps followed to run oc4j and deploy application
    1) Setup a standalone oc4j from the jdeveloper ide giving C:\Lester\Testing\Jdev10.1.3\oc4j as the root folder for oc4j.
    2) While doing step 1 added password and deployed it. Changed server.xml under C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/config
    to include the following:-
    <shared-library name="global.libraries" version="1.0" library-compatible="true">
    <code-source path="C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/applib"/>
    </shared-library>
    AND
    <java-compiler name="javac" in-process="false" options="-J-Xmx1024m -encoding UTF8" bindir="C:\Jdeveloper\jdk" extdirs="C:\Jdeveloper/jdk" />
    3) Opened a command prompt and went to the location C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home and ran the following command:-
    --> java -jar oc4j.jar
    4) Deployment: Then I deployed my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
    using:-
    --> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -deploy -file PrimeNumberService.ear -deploymentName DocStyleWebService
    5) Web Binding: Then I bound my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
    using:-
    --> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -bindWebApp DocStyleWebService PrimeNumberService_web http-web-site /docws
    6) Steps 4 and 5 went through without error.
    7) However when trying to access the web service using the following link I get the standard HTTP 404 (Page not found) error:-
    http://localhost:8888/docws/prime
    This was before I tried deploying the web service through jdeveloper IDE.
    I had tried the document web service given at the following link:-
    http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/docservice/index.html
    from the web services how to links
    http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/index.html
    Please could somebody help me out? Also periodically I recieve the ojc.exe not found error when trying to deploy an application using jdeveloper ide. There are two conflicting jdeveloper versions one comes with this exe and one without.
    Message was edited by:
    Lester N

  • Exception while deploying application(as EAR file) on Standalone WLS 10.3

    Hi,
    I'm struggling with an exception while deploying my application(as EAR file) on a standalone WebLogic Server 10.3. I have developed a application using Trinidad and JSF components. But an exception occurs while deploying my application(as EAR file) in WebLogic Server 10.3. As I'm not familiar with WEBLOGIC server I'm unable to analyse the exception.
    Note - I'm attaching the StackTrace below
    Please help me out from this isssue.
    +[HTTP:101216]Servlet: *"Faces Servlet" failed to preload on startup in Web application: "iss"*. java.lang.NullPointerException at javax.faces.webapp.FacesServlet.init(FacesServlet.java:165) at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(Unknown Source) at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64) at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58) at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48) at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:521) at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1893) at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1870) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1790) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2999) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1371) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212) at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:16) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:162) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:140) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:106) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:820) at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1227) at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:436) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)+
    Message icon - Error java.lang.NullPointerException:
    Thanks
    Sukumar

    These are set of jar files that are placed in WEB-INF/lib folder
    jsf-api.jar
    commons-net-1.4.1.jar
    itext-1.4.2.jar
    javax.servlet_1.0.0.0_2-5.jar
    log4j-1.2.8.jar
    lucene-core-2.0.0.jar
    ojdbc5.jar
    ojdl.jar
    ojdl2.jar
    orai18n-lcsd.jar
    trinidad-api.jar
    I think adf-faces-impl.jar is doesn't require for my application because we have migrated our application from ADF Faces to Trinidad.
    Thanks
    Sukumar

  • WL8.1 crashed during deployment of EJB from ear file

    Hello,
    WL8.1 crashed during deployment of EJB from ear file on SunOs 5.8:
    error: Invalid class file format in /export/home/bea/j2sdk1.4.1_03/jre/lib/rt.jar(java/lang/AssertionError.class).
    The major.minor version '48.0' is too recent for this tool to understand.
    /export/home/mydomain/./ep1/.wlnotdelete/EJBCompilerCache/1xd25ws3hwp86/mydomain/facade/payroll/PayrollFL_vww01c_HomeImpl.java:83:
    Class java.lang.AssertionError not found.
    throw new AssertionError("Unable to find expected "+
    Thanks,
    Oleg.

    Thank you Mark,
    It works now.
    Oleg.
    "Mark Griffith" <[email protected]> wrote:
    I don't think though that _03 is the problem, you should have compatability
    between minor versions of a VM release. How did you deploy the ear?
    Did
    you copy over from a 7.0 domain? It looks like the EJB was built on
    a
    previous version of WLS, or has not had "ejbc" run on it prior to
    deployment. Try running weblogic.appc foo.ear or fooExplodedEar. And
    then
    try redeploying. To be sure everything is clean rm -rf .wldonotdelete
    after
    you shut the server down.
    cheers
    mbg
    "Oleg" <[email protected]> wrote in message
    news:3ef54653$[email protected]..
    Hello,
    WL8.1 crashed during deployment of EJB from ear file on SunOs 5.8:
    error: Invalid class file format in/export/home/bea/j2sdk1.4.1_03/jre/lib/rt.jar(java/lang/AssertionError.class
    The major.minor version '48.0' is too recent for this tool to understand.
    /export/home/mydomain/./ep1/.wlnotdelete/EJBCompilerCache/1xd25ws3hwp86/mydo
    main/facade/payroll/PayrollFL_vww01c_HomeImpl.java:83:
    Class java.lang.AssertionError not found.
    throw new AssertionError("Unable to find expected "+
    Thanks,
    Oleg.

  • How to deploy a project to EAR file

    Hi,
    I am a new bee to Jdeveloper. Could some body give me hints how to deploy my project to EAR file as I need to handover that EAR file to my admin to deploy it on the Application server.
    I am following these steps
    right clicked on the project >> click NEW >> Deployment profiles >> select EAR file from the right hand side and click OK >> given the deployment profile name as Jobmanage
    And selected the path as C:\Oracle_Jdeveloper\jdev\mywork\MANAGEJOB\Project and clicked OK >> and given the application name as Jobmanage and pressed OK>>
    In the Deploy folder of the project the EAR project is created but it is only 7 KB which is normally above 4 MB.
    And it automatically creatig a file underneath RESOURCES >> Jobmanage.Deploy
    Cheers,
    Krishna

    More specifically,
    - create a WAR deployment profile (New... -> General -> Deployment Profiles -> WAR File)
    - create an EAR deployment profile (New... -> General -> Deployment Profiles -> EAR File)
    - double-click on the EAR deployment profile and tick the check box for the WAR deployment profile.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Jar signing may be applied to WAR/EAR files?

    Greetings,
    I wonder if the WAR/EAR files (J2EE related) can be also affected by signing it. I mean, when a signed jar file is updated with class, the JVM will throw an error about the signature of that class doesn't match the class file.
    Now, since a WAR/EAR file is a JAR file but with JAR files instead classes files, I wonder if signing a WAR/EAR file and if someone update it without signing, the application server (e.g., tomcat) will verify the signature?
    If true, that would be just great since I may have resources (JSP files and similar stuff) that would be just great if I could verify its integrity.
    thanks,
    Pedro Salazar.

    Indeed, but I was referring to remove the signature block and also the digests in the manifest file, - a clean (unsigned) jar file :-)
    Now, I have question for you:
    Is it possible to compel that a jar must be signed by a specific entity (certificate) to be validated? For instance, anyone could repack the jar in a clean jar file, and the system wouldn't care about that. So, I would like to say that the jar file to be validade must be signed by a specific entity. Is there any policy to say for a specific jar file? The problem here could be how to refer that to the jar file since it would be deployed in a application server...
    Maybe I should open a new thread about this, but you may also clarify me this shortly...
    regards,
    Pedro salazar.

  • Error when deploying a new forms .ear file

    Hi all
    I get the following eror when trying to start forms:
    Starting OPMN managed FORMS OC4J instance ...
    Calling txkChkFormsDeployment.pl to check whether latest FORMSAPP.EAR is deployed...
    Program : /u01/apps/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkChkFormsDeployment.pl started @ Tue Nov 16 11:16:23 2010
    *** Log File = /u01/apps/inst/apps/DEV_ikhsmappdev1/logs/appl/rgf/TXK/txkChkFormsDeployment_Tue_Nov_16_11_16_23_2010/txkChkFormsDeployment_Tue_Nov_16_11_16_23_2010.log
    File "/u01/apps/apps/tech_st/10.1.3/j2ee/forms/applications/forms/formsweb/WEB-INF/lib/frmsrv.jar" exists. Proceeding to check the size...
    =================================================
    *** Latest formsapp.ear has NOT been deployed ***
    Deploying the latest EAR file...
    =================================================
    Program : /u01/apps/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkChkFormsDeployment.pl completed @ Tue Nov 16 11:16:30 2010
    * W A R N I N G *
    Error while executing the perl script txkChkFormsDeployment.pl
    We have determined that you need to redeploy Forms (using txkChkFormsDeployment.pl).
    But could not do it automatically for you, due to some issues.
    For details refer the log files.
    Follow Note: 397174.1 to redeploy Forms manually.
    I then try and deploy a new Forms EAR file as per doc 397174.1 and run into errors as follows:
    Errors encountered running /u01/apps/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl
    *******FATAL ERROR*******
    PROGRAM : /u01/apps/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl(/u01/apps/apps/apps_st/appl/fnd/12.0.0/bin/txkrun.pl)
    TIME : Tue Nov 16 16:33:03 2010
    FUNCTION: (eval) [ Level 1 ]
    ERRORMSG: Invalid 10.1.3 Oracle Home: /u01/apps/apps/tech_st/10.1.3
    How do I fix this?

    Still the same issue, yes.
    I have already logged an SR for this, but all is very quiet on that front.
    One funny, is that this HOME was never attached to the orainst.loc, so I did it manually.
    When I try and run opatch with lsinventory parm, it does not list any patches, although there are patches installed, if you look at $OH/.patch_storage.
    Any idea of how I should attach this home correctly?

  • Deploying a New Forms .ear File in Oracle Applications Release 12-FATAL ERR

    Hello everyone, I am applying a scurity patch 7605070 to our R12 applications. As part of the post-install step, I need to follow Metalink Note 397174.1 to deploy a new forms .ear file.
    However, I am getting following FATAL ERROR:
    :->$FND_TOP/bin/txkrun.pl -script=CfgOC4JApp
    *** ALL THE FOLLOWING FILES ARE REQUIRED FOR RESOLVING RUNTIME ERRORS
    *** Log File = /apps/ecrmR12apps9/apps/crmcrm9_lnxcde21/logs/appl/rgf/TXK/txkCfgOC4JApp_Fri_May_29_11_54_43_2009.log
    Program : /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl started @ Fri May 29 11:54:43 2009
    *** Log File = /apps/ecrmR12apps9/apps/crmcrm9_lnxcde21/logs/appl/rgf/TXK/txkCfgOC4JApp_Fri_May_29_11_54_43_2009.log
    Enter Application name for re-deployment ? forms
    Enter Oc4j Instance password for re-deployment ? welcome
    Run Autoconfig <Yes/No> ? no
    Required values for starting OC4J instance "forms":
    ====================================================
    s_formsstatus = enabled
    s_forms_nprocs = 1 (value should be greater than 0)
    Existing values from the context file:
    ======================================
    s_formsstatus = enabled
    s_forms_nprocs = 1
    *** Values for context variables are VALID ***
    Stopping all OPMN processes.
    OPMN stopped.
    Errors encountered running /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl
    *******FATAL ERROR*******
    PROGRAM : /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl(/apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/bin/txkrun.pl)
    TIME : Fri May 29 11:55:09 2009
    FUNCTION: TXK::Process::run [ Level 3 ]
    MESSAGES:
    Command error: <rc> = 32512, <command> = /apps/ecrmR12apps9/apps/tech_st/10.1.3/opmn/bin/opmnctl start
    STACK TRACE
    TXK::Error::abort('TXK::Error','HASH(0x99e2a24)') called at /apps/ecrmR12apps9/apps/apps_st/appl/au/12.0.0/perl/TXK/Common.pm line 299
    TXK::Common::doError('TXK::Process=HASH(0xa662688)','Command error: <rc> = 32512, <command> = /apps/ecrmR12apps9/a...','undef') called at /apps/ecrmR12apps9/apps/apps_st/appl/au/12.0.0/perl/TXK/Common.pm line 314
    TXK::Common::setError('TXK::Process=HASH(0xa662688)','Command error: <rc> = 32512, <command> = /apps/ecrmR12apps9/a...') called at /apps/ecrmR12apps9/apps/apps_st/appl/au/12.0.0/perl/TXK/Process.pm line 449
    TXK::Process::run('TXK::Process=HASH(0xa662688)','HASH(0xa295488)') called at /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl line 1469
    TXK::RunScript::execOPMNControl('HASH(0xa4f977c)') called at /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl line 532
    require /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl called at /apps/ecrmR12apps9/apps/apps_st/appl/au/12.0.0/perl/TXK/RunScript.pm line 105
    TXK::RunScript::require('TXK::RunScript','/apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin...') called at /apps/ecrmR12apps9/apps/apps_st/appl/au/12.0.0/perl/TXK/Script.pm line 177
    eval {...} called at /apps/ecrmR12apps9/apps/apps_st/appl/au/12.0.0/perl/TXK/Script.pm line 177
    TXK::Script::run('TXK::Script=HASH(0x9d974d4)','/apps/ecrmR12apps9/apps/crmcrm9_lnxcde21/logs/appl/rgf/TXK','/apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin...') called at /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/bin/txkrun.pl line 150
    (lnxcde21-ecrmapps9) /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/bin
    :->
    What should I do? Please advice...

    Issue appears to be resolved :)
    Here are the steps:
    vi /apps/ecrmR12apps9/apps/tech_st/10.1.3/opmn/bin/opmnctl and updated following variable to the correct path. (I am not sure why these path's were still pointing to production environment. I cross checked another cloned instance and it is also pointing to production path)
    ORACLE_HOME=/apps/ecrmR12apps9/apps/tech_st/10.1.3; export ORACLE_HOME
    TNS_ADMIN=${TNS_ADMIN="/apps/ecrmR12apps9/apps/tech_st/10.1.3/network/admin"}; export TNS_ADMIN
    Then, the issue got resolved:
    :->$FND_TOP/bin/txkrun.pl -script=CfgOC4JApp
    *** ALL THE FOLLOWING FILES ARE REQUIRED FOR RESOLVING RUNTIME ERRORS
    *** Log File = /apps/ecrmR12apps9/apps/crmcrm9_lnxcde21/logs/appl/rgf/TXK/txkCfgOC4JApp_Fri_May_29_14_53_22_2009.log
    Program : /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl started @ Fri May 29 14:53:22 2009
    *** Log File = /apps/ecrmR12apps9/apps/crmcrm9_lnxcde21/logs/appl/rgf/TXK/txkCfgOC4JApp_Fri_May_29_14_53_22_2009.log
    Enter Application name for re-deployment ? forms
    Enter Oc4j Instance password for re-deployment ? welcome
    Run Autoconfig <Yes/No> ? no
    Required values for starting OC4J instance "forms":
    ====================================================
    s_formsstatus = enabled
    s_forms_nprocs = 1 (value should be greater than 0)
    Existing values from the context file:
    ======================================
    s_formsstatus = enabled
    s_forms_nprocs = 1
    *** Values for context variables are VALID ***
    Stopping all OPMN processes.
    OPMN stopped.
    OPMN started.
    Deplolying Application : "forms" onto OC4J instance: "forms"
    Application deployed successfully.
    Stopping and starting OC4J instances.
    Started OC4J instances.
    Binding webApp : "forms" with webmodule : "formsweb" for OC4J instance: "forms"
    Web application bound successfully.
    Stopping OPMN.
    OPMN stopped.
    Program : /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl completed @ Fri May 29 14:54:13 2009
    End of /apps/ecrmR12apps9/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkCfgOC4JApp.pl : No Errors encountered
    Now I am not sure if the changes I made to opmnctl file is correct or not. I mean can I vi this file and update the value in this file as I wish, or should I be following some procedure to update the correct path.

  • Download .WAR/.EAR file from IAS 10g

    Hello everybody,
    I need to download .WAR / .EAR file from ORACLE Enterprise Manager 10g-Aplication Server Control.
    I found my application there, it says: Path: ../applications/consoleDW.ear Where is the root of this path?
    Thanks in advance!
    Adam

    Assuming you are using the OC4J instance called home, then it'd be $ORACLE_HOME/j2ee/home/applications.
    If you are using an OC4J instance with a different name look in $ORACLE_HOME/j2ee/<name>/applications.
    -steve-

  • Problems deploying PL/SQL Web Service example to standalone OC4J

    I have built the PL/SQL Web Service example EMP_FETCHER in the tutorials that come with JDeveloper. When run with the embedded OC4J container, the web service works ok using the autogenerated client. However, while I can then successfully deploy the web service to a standalone OC4j instance running on a separate database server, when I point the client at it, a NoSuchMethodError exception is thrown by oc4j with the following stacktrace;
    at tutorial_jdbc_connection.Emp_fetcher.get_emp(Emp_fetcher.sqlj:43)
    at tutorial_jdbc_connection.__Emp_fetcherSPWrapper.invokeMethod(__Emp_fetcherSPWrapper.java:73)
    at oracle.j2ee.ws.InvocationWrapper.invoke(InvocationWrapper.java:98)
    at oracle.j2ee.ws.RpcWebService.doPost(RpcWebService.java:359)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:652)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    Looks like I'm missing some support libraries but I'm unsure which ones they are, and why they wouldn't be part of a standard OC4J installation.
    I've tried including the SQLJ runtime and Oracle JDBC library support in the deployment and redeploying but the same error persists.
    Any assistance would be appreciated
    Regards
    Michael

    You have an old version of java installed. That is what "java.lang.UnsupportedClassVersionError" tells.

  • Unable to deploy a simple servlet using WAR file on Oracle9iAS v9.0.3

    Hi All,
    I am facing problem while deploying a simple servlet using WAR file on Oracle 9i App Server.
    I have installed Oracle9iAS J2EE and Web Cache v9.0.3 on Windows 2000 server.
    It includes:
         - Oracle HTTP Server
         - Oracle9iAS Containers for J2EE
         - Oracle9iAS Web Cache
         - Oracle Enterprise Manager
    The release of installed Oracle9iAS is Release 2 (9.0.3)      
    I referred following link to Deploy Applications Using WAR file:
         http://otn.oracle.com/products/ias/daily/sept12.html
    As mentioned in this documentation I have followed following steps to deploy WAR file:
    1] I have created a war file by name SimpleServlet.war. In SimpleServlet.war, there is a servlet by name Simple which prints time at which servlet was accessed.
    2] I have modified <ora9ias_home>\j2ee\home\config\application.xml and added following web module entry:
         <web-module id="SimpleServlet" path="../../home/applications/SimpleServlet.war" />
    3] To make this module accessible from over the web, I have modified file
         <ora9ias_home>\j2ee\home\config\default-web-site.xml and added following entry:
         <web-app application="SimpleServlet" name="SimpleServlet" root="/SimpleServlet"/>
    4] I saved both the files and started Oracle HTTP Server and accessed page as below:
              http://<server>:7777/SimpleServlet/Simple
    where Simple is servlet in SimpleServlet.war file.          
    In the browser, The page cannot be found is shown to user. I have verified that SimpleServlet.war is extracted to SimpleServlet folder under <ora9ias_home>\j2ee\home\applications folder. I found that Simple.class is stored under WEB-INF/classes folder and web.xml contains correct entry for url pattern for servlet Simple.
    What else could be the problem? Am I placing the war file in wrong place or modifying application.xml or default-web-site.xml in a wrong directory?
    This is very urgent. Please help me with your valuable comments on this.
    Thanks in advance.
    Regards,
    Sandesh

    Hi All,
    I am facing problem while deploying a simple servlet
    using WAR file on Oracle 9i App Server.
    I have installed Oracle9iAS J2EE and Web Cache v9.0.3
    on Windows 2000 server.
    It includes:
         - Oracle HTTP Server
         - Oracle9iAS Containers for J2EE
         - Oracle9iAS Web Cache
         - Oracle Enterprise Manager
    The release of installed Oracle9iAS is Release 2
    (9.0.3)      
    I referred following link to Deploy Applications
    Using WAR file:
         http://otn.oracle.com/products/ias/daily/sept12.html
    As mentioned in this documentation I have followed
    following steps to deploy WAR file:
    1] I have created a war file by name
    SimpleServlet.war. In SimpleServlet.war, there is a
    servlet by name Simple which prints time at which
    servlet was accessed.
    2] I have modified
    <ora9ias_home>\j2ee\home\config\application.xml and
    added following web module entry:
    <web-module id="SimpleServlet"
    path="../../home/applications/SimpleServlet.war" />
    3] To make this module accessible from over the web,
    I have modified file
    <ora9ias_home>\j2ee\home\config\default-web-site.xml
    and added following entry:
    <web-app application="SimpleServlet"
    name="SimpleServlet" root="/SimpleServlet"/>
    4] I saved both the files and started Oracle HTTP
    Server and accessed page as below:
              http://<server>:7777/SimpleServlet/Simple
    where Simple is servlet in SimpleServlet.war file.          
    In the browser, The page cannot be found is shown to
    user. I have verified that SimpleServlet.war is
    extracted to SimpleServlet folder under
    <ora9ias_home>\j2ee\home\applications folder. I found
    that Simple.class is stored under WEB-INF/classes
    folder and web.xml contains correct entry for url
    pattern for servlet Simple.
    What else could be the problem? Am I placing the war
    file in wrong place or modifying application.xml or
    default-web-site.xml in a wrong directory?
    This is very urgent. Please help me with your
    valuable comments on this.
    Thanks in advance.
    Regards,
    SandeshHave you restarted you http server and then tried to load it again? Are you using the right port; maybe you have to use port 7778? Check you server settings in the http server instance. Also check your url binding of you application at Farm > Application Server: infrastructurehost > OC4J_instance > Application: appname > Web Module: modulename
    Good luck!
    rgds Thomas

  • Unable to deploy a simple servlet using WAR file

    Hi All,
    I am facing problem while deploying a simple servlet using WAR file on Oracle 9i App Server.
    I have installed Oracle 9i App Server. I referred following link to Deploy Applications Using WAR file:
         http://otn.oracle.com/products/ias/daily/sept12.html
    As mentioned in this documentation I have followed following steps to deploy WAR file:
    1] I have created a war file by name SimpleServlet.war. In SimpleServlet.war, there is a servlet by name Simple which prints time at which servlet was accessed.
    2] I have modified <ora9ias_home>\j2ee\home\config\application.xml and added following web module entry:
         <web-module id="SimpleServlet" path="../../home/applications/SimpleServlet.war" />
    3] To make this module accessible from over the web, I have modified file
         <ora9ias_home>\j2ee\home\config\default-web-site.xml and added following entry:
         <web-app application="SimpleServlet" name="SimpleServlet" root="/SimpleServlet"/>
    4] I saved both the files and started Oracle HTTP Server and accessed page as below:
              http://<server>:7777/SimpleServlet/Simple
    where Simple is servlet in SimpleServlet.war file.          
    In the browser, The page cannot be found is shown to user. I have verified that SimpleServlet.war is extracted to SimpleServlet folder under <ora9ias_home>\j2ee\home\applications folder. I found that Simple.class is stored under WEB-INF/classes folder and web.xml contains correct entry for url pattern for servlet Simple.
    What else could be the problem? Am I placing the war file in wrong place or modfiying application.xml or default-web-site.xml in a wrong directory?
    This is very urgent. Please help me with your valuable comments on this.
    Thanks in advance.
    Regards,
    Sandesh

    Hi Juliana,
    Thanks a lot for your suggestion.
    I am sorry if I have posted this message to a wrong forum. This is first time I am posting a message to OTN. I will resend message to J2EE forum as per you suggestion.
    Meanwhile, please note information you asked for is as below:
    I installed Oracle9iAS J2EE and Web Cache v9.0.3 on Windows 2000 server.
    It includes:
         - Oracle HTTP Server
         - Oracle9iAS Containers for J2EE
         - Oracle9iAS Web Cache
         - Oracle Enterprise Manager
    The release of installed Oracle9iAS is Release 2 (9.0.3)      
    Please do reply at the earliest.
    Once again thanks and look forward to hear from you.
    Regards,
    Sandesh

  • Run a war/ear file in worhsop

    hi,
    I have a simple dynamic web project and i can run it in the workshop. Now if i want to export an archiv file, i tried using EAR. and export->ear
    but when i import it, i dont really understand how do i make it run on the workshop again!
    thank you !!

    You export an EAR file from Workshop so you can deploy it to a separate WebLogic domain. You don't need to reimport it into Workshop again. If you want to run it from Workshop, just run your project against the local WebLogic instance.

  • Unabel to deploy the gdsc-server.ear file.

    Hi,
    I am getting below error while accessing GG page.
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
    Found that gdsc-server.ear Failed to deploy.
    found below error in domain.log
    ####<May 28, 2013 4:41:33 AM CDT> <Error> <EJB> <grdebiggddev01> <grdodstst00> <[ACTIVE] ExecuteThread: '15' for queue: 'weblogic.kernel.Default (self-tuning)'> <EJBs> <> <5c16e63de6381099:-ba0bf7b:13eea48b418:-8000-00000000000010d4> <1369734093931> <BEA-010026> <Exception occurred during commit of transaction Name=[EJB com.goldengate.gdsc.server.gglog.ejb.GGLogManagerBean.addLogEntry(com.goldengate.gdsc.common.model.GDSCLogEntry)],Xid=BEA1-41AEC08CC39BE40B10F2(535880339),Status=Rolled back. [Reason=Unknown],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=0,seconds left=60,XAServerResourceInfo[ggds-datasource_domain]=(ServerResourceInfo[ggds-datasource_domain]=(state=rolledback,assigned=grdodstst00),xar=weblogic.jdbc.wrapper.JTSEmulateXAResourceImpl@1ff0e30e,re-Registered = false),SCInfo[domain+grdodstst00]=(state=rolledback),properties=({weblogic.transaction.name=[EJB com.goldengate.gdsc.server.gglog.ejb.GGLogManagerBean.addLogEntry(com.goldengate.gdsc.common.model.GDSCLogEntry)], weblogic.jdbc.remote.ggds-datasource=t3://10.160.21.42:7001}),local properties=({modifiedListeners=[weblogic.ejb.container.internal.TxManager$TxListener@1efe12bc]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=grdodstst00+10.160.21.42:7001+domain+t3+, XAResources={ggds-datasource_domain, WSATGatewayRM_grdodstst00_domain, WLStore_domain__WLS_grdodstst00},NonXAResources={})],CoordinatorURL=grdodstst00+10.160.21.42:7001+domain+t3+): weblogic.transaction.RollbackException: Unknown reason
    tried redeploy, copy the .ear file from working machine, but no use. Not sure why this err is.
    Any suggestion.

    error details.
    Unable to set the activation state to true for the application 'gdsc-server'. weblogic.transaction.internal.TimedOutException: Transaction timed out after 61 seconds BEA1-0014761A2FDFE40B10F2 at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1748) at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1591) at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1911) at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1501) at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35) at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) Caused By: weblogic.transaction.internal.TimedOutException: Transaction timed out after 61 seconds BEA1-0014761A2FDFE40B10F2 at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1748) at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1591) at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1911) at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1501) at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35) at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

  • How to deploy a weblogic 8 ear file to a weblogic 7 server

    Hi,
    DOes anyone know how I can deploy a ear file built from weblogic 8 server into a weblogic 7 server? Any help is appreciated. Thanks!

    You would
    a. Create a new tablespace to hold rollback segments
    b. Create rollback segments in the new tablespace
    c. Bring the new rollback segments online and the old rollback segments offline
    d. Wait for all the old rollback segments to go offline (they'd be in PENDING OFFLINE if there are active transactions)
    d. Drop the old rollback segments
    e. Drop the old rollback tablespace -- after confirming that it has NO active rollback segments and NO OTHER segments at all
    f. Modify your init.ora to specify the new rollback segments in the "rollback_segments=" parameter
    If you want to switch back to the old tablespace name and segment names, you'd do steps a to e and then run them again to recreate the old tablespace name (with 1 datafile, excluding the one you want to drop) and segment names.

Maybe you are looking for

  • Field Profit Center is not populated while posting through T-Code F-02

    Dear Sir / Madam, While posting through T-code F-02 the field Profit center is in hidden mode as a result I am getting the given below error. "GLT2201 - Balancing field profit center in line item 001 not filled" Please guide me as to how do I change

  • Can't view mts videos in Photoshop Elements 9

    I've been trying to view mts formatted videos on PSE9 with no luck.  They imported fine and I can see thumbnails, but when I click on one to view, it opens a window to start playing the video, but the window just freezes.  I'm running the trial versi

  • Ack in SOAP Adapter

    Hi All, I have a scenario as below, (R/3)Idoc->XI 3.0 (sp11) (SOAP Adapter)>xCBL to client via HTTPS over Internet. The client is using SAP BC. I am using BPM in XI. I want to get acknowledgment(success/failure) from the client when they receive the

  • Why is Adobe blocking my game downloads???????????

    why is adobe blocking my game downloads?????????????????????????????????????????????????????????it is so annoying !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! this was made by Matthew Frize .........NOW

  • Linking List of Values

    Hi, I have two LOVs within the same region on a page 1) selects all companys User picks a company and it displays in the :company field. 2) selects all fiscal data for the specific company(:company) that was selected by the user in LOV 1. Problem is