War deployment in oc4j 11110 preview

hi
I tried to deploy and run a simple application i created in jdev11.but i was not successful.
i installed the oc4j 11110 preview and also i have jdev11 in my system. set the oracle home as said in the Readme.txt file in oc4j 11110 preview installation directory.
the steps i followed are.
1. using the command oc4j -start, i started the server and i got the Welcome page in my browser using http://localhost:8888
2. with the help of the link
http://www.oracle.com/technology/products/jdev/tips/muench/oc4j11gtp/index.html
i installed the adf runtime libraries as it is said in the link and also made necessary changes in the server.xml file
3. Then created a website as said in the in the form <websitename>-web-site.xml (like default-web-site.xml)and said its path in server.xml file.
4. then i deployed the war file in command prompt according to the command said in Read me file in the oc4j 11110 preview.and the message was shown in the command prompt that the application was deployed successfully
the last few lines are
08/1/18 10:34:01 Notification ==>Application Deployer for testing COMPLETES.
Operation time: 5422 msecs
5. i started the application using the command . and the message was shown in the command prompt that the application was started successfully
the last few lines are
08/1/18 10:34:36 Notification ==>Start completed for state manageable object: o
c4j:j2eeType=J2EEApplication,name=testing ,J2EEServer=standalone
6. then restarted the oc4j server
7.in browser then i typed http://localhost:8888/testing (since i gave the deployment name as testing)
now the problem is that im not getting the page.its showing 404 page not found error in the browser.
but there is no error show in the log file or in the command prompt.
Can anyone help me with this.
In the application directory in the oc4j 11110 preview a folder is created called testing and my pages are also there.
plz help me .
rgds

I've one question about this. I do all above things without problems and my application runs in remote machine well. But some compilation errors apears in server log, and I think that perhaps is because I can't found the following libraries:
copy %JDEVHOME%\bc4j\lib\bc4j-svc-client.jar %OC4JHOME%\BC4J\lib
copy %JDEVHOME%\bc4j\lib\bc4j-svc-share.jar %OC4JHOME%\BC4J\lib
copy %JDEVHOME%\bc4j\lib\bc4j-svc.jar %OC4JHOME%\BC4J\lib
copy %JDEVHOME%\BC4J\lib\bc4jwizard.jar %OC4JHOME%\BC4J\lib
copy %JDEVHOME%\BC4J\lib\mod-bc4jimdomains.jar %OC4JHOME%\BC4J\lib
copy %JDEVHOME%\BC4J\lib\adfrcutils.jar %OC4JHOME%\BC4J\lib
copy %JDEVHOME%\BC4J\lib\connmbean.jar %OC4JHOME%\BC4J\lib
And I can't copy this libraries to server. Anyone know where I can found it?
Thanks
Westh

Similar Messages

  • Deploy war file in oc4j 11110 preview

    hi
    i created a simple project in jdev11.
    with the help of the reply i got from the previous post i created a WAR file of the project.
    Now im trying to deploy it using oc4j 11110 preview stand alone server.
    the steps i followed are.
    1. using the command oc4j -start, i could start the server and i got the Welcome page.
    2. with the help of the link http://www.oracle.com/technology/products/jdev/tips/muench/oc4j11gtp/index.html
    i installed the adf runtime libraries as it is said in the link and also made necessary changes in the server.xml file
    3. Then created a website as said in the in the form <websitename>-web-site.xml (like default-web-site.xml)and said its path in server.xml file
    4. then i deployied the war file in command prompt according to the command said in Read me file in the oc4j 11110 preview.and the message was shown in the command prompt that the application was deployed successfully
    5. i started the application. and the message was shown in the command prompt that the application was started successfully
    6. then restarted the oc4j server
    now the problem is that im not getting the page.its showing 404 page not found error in the browser.
    but there is no error show in the log file or in the command prompt.
    Can anyone help me with this.
    i tried deploying a war created using eclipse in the same way which is uising jdev10 components.and i could it and run it successfully.
    plz help me

    I've one question about this. I do all above things without problems and my application runs in remote machine well. But some compilation errors apears in server log, and I think that perhaps is because I can't found the following libraries:
    copy %JDEVHOME%\bc4j\lib\bc4j-svc-client.jar %OC4JHOME%\BC4J\lib
    copy %JDEVHOME%\bc4j\lib\bc4j-svc-share.jar %OC4JHOME%\BC4J\lib
    copy %JDEVHOME%\bc4j\lib\bc4j-svc.jar %OC4JHOME%\BC4J\lib
    copy %JDEVHOME%\BC4J\lib\bc4jwizard.jar %OC4JHOME%\BC4J\lib
    copy %JDEVHOME%\BC4J\lib\mod-bc4jimdomains.jar %OC4JHOME%\BC4J\lib
    copy %JDEVHOME%\BC4J\lib\adfrcutils.jar %OC4JHOME%\BC4J\lib
    copy %JDEVHOME%\BC4J\lib\connmbean.jar %OC4JHOME%\BC4J\lib
    And I can't copy this libraries to server. Anyone know where I can found it?
    Thanks
    Westh

  • Problem in deploying WAR file into OC4J

    I have tried deploying a .war file into oc4j (orion) application server using - Deploying Upon OC4J Server Startup option
    I have placed the intelliview.war into /applications directory
    modified server.xml & web-site.xml
    server.xml added
    <application name="intelliview" path="../applications/iviewserver.war" auto-start="true" />
    web-site.xml added
    <web-app application="intelliview" name="iviewserver" root="/iviewserver" />
    Here is the error message,
    Error instantiating application at file ....applications/intelliview.war
    Unable to read/find assembly info (META-INF/application.xml)
    Any idea?
    Thanks

    Following are the steps involved in deploying a WAR file in Oc4j.
    1. Copy the file to D:\oc4j\j2ee\home\applications where d:\oc4j is the location OC4J is installed in.
    copy mywar.war D:\oc4j\j2ee\home\applications
    2. Open the application.xml file in D:\oc4j\j2ee\home\config directory
    and add the following after the <web-module id="defaultWebApp" path="../default-web-app" />
    line:
    <web-module id="mywar" path="../applications/mywar.war" />
    3. Open the default-web-site.xml file in D:\oc4j\j2ee\home\config
    directory and add the following after the <default-web-app application="default" name="defaultWebApp" /> line:
    <web-app application="default" name="mywar" root="/mywar" />
    Hope this helps
    -Debu Panda
    Oracle

  • Deploying War File in OC4J

    Hi,
    I am a new bee to OC4J. I tried to deploy a war file OC4J server, which comes along with Jdeveloper release 10.1.3.
    Steps which I followed.
    1. Copied the war file to <10g-Jdev>\j2ee\home\applications\
    2. added <web-app application="testapp" name="testapp" root="/testapp" access-log="false"/> in <10g-Jdev>\j2ee\home\config\default-web-site.xml
    3. added <application name="testapp" path="../../home/applications/tesapp.war" parent="system" start="true" /> in <10g-Jdev>\j2ee\home\config\server.xml
    4. started the 0c4j using <10g-Jdev>\jdk\start_oc4j.bat
    I got following log
    Starting OC4J with command: "..\..\jdk\bin\java.exe" -jar oc4j.jar
    06/02/15 14:53:13 [SEVERE]: Error instantiating application at file:/X:/10g/j2ee/home/applications/webapp1.war: Unable to get ApplicationConfig for testapp : Unable to find/read file META-INF/application.xml in X:\10g\j2ee\home\applications\webapp1.war archive (META-INF/application.xml)
    2006-02-15 14:53:32.609 NOTIFICATION JMS Router is initiating ...
    2006-02-15 14:53:35.906 ERROR J2EE HTTP0004 Internal error raised tyring to instantiate web-application: testapp defined in web site OC4J 10g (10.1.3) Default Web Site. Application: testapp does not exist. Error creating Web application: testapp
    06/02/15 14:53:35 Oracle Containers for J2EE 10g (10.1.3.0.0) initialized
    06/02/15 14:58:03 Shutting down...
    Can anyone explain me wat should i do for deploying successfully.
    Thanks,
    Siva

    Hello,
    As a word of caution I would strongly recommend that you use proper deploy techniques when deploying WAR/EARs to OC4J (or any J2EE container). You should not be copying files into the applications directory and modifying xml files (even though it might be neccessary at times).
    Please try to follow good J2EE techiniques and write ANT scripts or batch files to do your deployment, its easy to do and reusable. Please also review the deployment guide to familiarise yourself with OC4J deployment tools.
    Thanks,
    Deepak

  • Jdev tp4: deploying another .war to embedded oc4j

    Hi,
    it is possible to deploy another .war to embedded oc4j (started throughout Jdeveloper), so this another web app becomes available at the same time as current work space ?
    If so, then how ?

    No.
    Only one app is supported by the embedded oc4j. You can start the stand alone version of oc4j, there you can deploy more applications.
    Timo

  • Deploy a war file in oc4j

    hy guys
    i have a problem with my a *.war file. in tomcat the xplanner.war file works fine and the xplanner-application is ok and i can use it. but when i use the same xplanner.war file in oc4j i always get in the browser the message "500 Internal Server Error" although the file was loaded successful.
    is there something to consider in the oc4j setup?
    have anybody an idea about this problem?

    i tried all possibilities.
    war file: manually (by altering the xml files) and with the admin tool.
    ear file: manually and admin tool.
    i always get the this message (browser). though the file application loads successfully. it must be a setup problem i think.
    500 Internal Server Error
    org.apache.commons.dbcp.DbcpException: java.sql.SQLException: E/A-Exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153092352)(ERR=12500)(ERROR_STACK=(ERROR=(CODE=12500)(EMFI=4))(ERROR=(CODE=12560)(EMFI=4))(ERROR=(CODE=530)(EMFI=4))(ERROR=(BUF='32-bit Windows Error: 2: No such file or directory'))))
         at org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:101)
         at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:184)
         at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:722)
         at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:108)
         at cirrus.hibernate.connection.DBCPConnectionProvider.getConnection(DBCPConnectionProvider.java:39)
         at cirrus.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:149)
         at cirrus.hibernate.impl.DatastoreImpl.buildSessionFactory(DatastoreImpl.java:380)
         at cirrus.hibernate.impl.DatastoreImpl.buildSessionFactory(DatastoreImpl.java:369)
         at com.technoetic.xplanner.actions.XPlannerInitializationPlugin.initializeHibernate(XPlannerInitializationPlugin.java:86)
         at com.technoetic.xplanner.actions.XPlannerInitializationPlugin.init(XPlannerInitializationPlugin.java:36)
         at com.technoetic.xplanner.actions.XPlannerInitializationPlugin.init(XPlannerInitializationPlugin.java:29)
         at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158)
         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
         at javax.servlet.GenericServlet.init(GenericServlet.java:258)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.loadServlet(HttpApplication.java:1956)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.findServlet(HttpApplication.java:4355)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2484)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:617)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
         at java.lang.Thread.run(Unknown Source)

  • Deployment for OC4J 11g doesn't work

    Jdeveloper 11g ADF runtime installer for standalone OCJ4 11 doesn't find the following file: - Input File doesn't exist "adfcm.jar".
    So, when i deploy an application (ear or war) on standalone OC4J, i have the following error:
    2007-06-26 11:54:14.328 NOTIFICATION Exception : NoClassDefFoundError:
    Classe manquante : oracle.adf.share.logging.handler.InternalADFHandler
    Classe dÚpendante : oracle.adf.share.logging.internal.perf.ADFPerfSensor
    Chargeur : adf.oracle.domain:11.1.1
    Source de code : /E:/oc4j/BC4J/lib/adf-share-base.jar
    Configuration : <code-source> (ignore manifest Class-Path) in /E:/oc4j/j2ee/home/config/se
    rver.xml
    La classe manquante est disponible Ó partir des emplacements suivants :
    1. Source de code : /E:/oc4j/j2ee/home/lib/adflogginghandler.jar (from <code-source> (ignore
    manifest Class-Path) in META-INF/boot.xml in E:\oc4j\j2ee\home\oc4j.jar)
    Cette source de code est disponible dans le chargeur oracle.mds:11.0.
    2007-06-26 11:54:14.359 NOTIFICATION L'opÚration Application Deployer sur GregWar a ÚchouÚ.
    2007-06-26 11:54:14.375 NOTIFICATION L'opÚration Application UnDeployer sur GregWar est dÚmarrÚe.
    2007-06-26 11:54:14.375 NOTIFICATION Suppression de toutes les liaisons de l'application GregWar dan
    s tous les sites Web
    2007-06-26 11:54:14.796 NOTIFICATION L'opÚration Application UnDeployer sur GregWar est terminÚe.
    07/06/26 11:54:14 ATTENTION: DeployerRunnable.run NoClassDefFoundErrororacle.oc4j.admin.internal.Dep
    loyerException: NoClassDefFoundError
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:140)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnabl
    e.java:52)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:82)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.classloader.util.AnnotatedNoClassDefFoundError:
    Classe manquante : oracle.adf.share.logging.handler.InternalADFHandler
    Classe dÚpendante : oracle.adf.share.logging.internal.perf.ADFPerfSensor
    Chargeur : adf.oracle.domain:11.1.1
    Source de code : /E:/oc4j/BC4J/lib/adf-share-base.jar
    Configuration : <code-source> (ignore manifest Class-Path) in /E:/oc4j/j2ee/home/config/se
    rver.xml
    La classe manquante est disponible Ó partir des emplacements suivants :
    1. Source de code : /E:/oc4j/j2ee/home/lib/adflogginghandler.jar (from <code-source> (ignore
    manifest Class-Path) in META-INF/boot.xml in E:\oc4j\j2ee\home\oc4j.jar)
    Cette source de code est disponible dans le chargeur oracle.mds:11.0.
    at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2059)
    at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1623)
    at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1579)
    at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1564)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at oracle.adf.share.logging.internal.perf.ADFPerfSensor.<clinit>(ADFPerfSensor.java:92)
    at oracle.adf.model.servlet.ADFBindingFilter.<clinit>(ADFBindingFilter.java:55)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at com.evermind.server.http.deployment.WARAnnotationParser.getFilterClasses(WARAnnotationPar
    ser.java:189)
    at com.evermind.server.http.deployment.WARAnnotationParser.parseAnnotations(WARAnnotationPar
    ser.java:103)
    at com.evermind.server.http.HttpApplication.parseMetaData(HttpApplication.java:8929)
    at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1210)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:833)
    at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.ja
    va:433)
    at com.evermind.server.Application.getHttpApplication(Application.java:693)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFr
    omReference(HttpSite.java:2039)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:19
    58)
    at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1652)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:235)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:96)
    at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:554)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:205)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:98)
    ... 5 more

    User,
    There is a specific forum for JDev 11: JDeveloper and OC4J 11g Technology Preview
    However, the specific issue you mention is documented in the release notes addendum for 11: http://www.oracle.com/technology/products/jdev/htdocs/11tp/11gtechpreviewaddendum.html#dep2
    John

  • File Not Found Error: new WAR deployment

    I'm trying to find the path to my new WAR deployed JSP files. The following error occurs:
    Exception:
    java.io.FileNotFoundException: d:\oracle\ora9ias_test\apache\apache\htdocs\RAP_Editor_viaWAR\RapView1_Browse.jsp
    In my address bar I type: http://(oracle_home):7778/RAP_Editor_viaWAR/RapView1_Browse.jsp
    I don't know why it is looking under the \apache\apache\htdocs directory. What configuration step have I missed? I'm having a similar problem finding the demo apps as well.
    Thanks!
    -Tony.

    Well, I've found out that my HTTP path issues we're related to the Portal SDK install. The OC4J instance "JDev" seems to mess up JSPs and results in a FileNotFound exception. Its looking for JSPs in the wrong place - http://<oracle-home>/apache/apache/htdocs/j2ee/...
    The fix: comment out the include directive in httpd.conf that references JDev.
    Another BC4J JSP issue: Be sure your datatags.jar file is current or else you'll get an HTTP 500 error due to an unsupported attribute. The application.log file will show "Error: itermode is not a property of oracle.jbo.html.jsp.datatags.DataSourceTag".
    -Tony.

  • JDeveloper ADF Deployment to OC4J

    Have developed a UIX/JSP in JDeveloper 9.0.5.2. It works fine as expected with the JDeveloper embedded OC4J server.
    JSP is a master detail page, can scroll through master records and see detail lists. Deployment is successful to standalone OC4J...But it does not work there, behaviour is this: on startup, first master record is displayed, but no details...then next button(s) do not work. Have deployed a WAR, have gond through JDev library installations for OC4J, etc....but page initially displays first master record, then does nothing else.
    Where can I find a detailed deployment how-to page for deploying to OC4J? I have been through several already, but something is still missing.
    Regards,
    Mark R

    Try the steps detailed in the reviewer guide for JDeveloper. (page 26). http://otn.oracle.com/products/jdev/collateral/papers/10g/reviewer/reviewerguide.html

  • Deployment on OC4J 11g doesn't work

    Jdeveloper 11g ADF runtime installer for standalone OCJ4 11 doesn't find the following file: - Input File doesn't exist "adfcm.jar".
    Then, when i deploy an application (ear or war) on standalone OC4J, i have the following error:
    2007-06-26 11:54:14.328 NOTIFICATION Exception : NoClassDefFoundError:
    Classe manquante : oracle.adf.share.logging.handler.InternalADFHandler
    Classe dÚpendante : oracle.adf.share.logging.internal.perf.ADFPerfSensor
    Chargeur : adf.oracle.domain:11.1.1
    Source de code : /E:/oc4j/BC4J/lib/adf-share-base.jar
    Configuration : <code-source> (ignore manifest Class-Path) in /E:/oc4j/j2ee/home/config/se
    rver.xml
    La classe manquante est disponible Ó partir des emplacements suivants :
    1. Source de code : /E:/oc4j/j2ee/home/lib/adflogginghandler.jar (from <code-source> (ignore
    manifest Class-Path) in META-INF/boot.xml in E:\oc4j\j2ee\home\oc4j.jar)
    Cette source de code est disponible dans le chargeur oracle.mds:11.0.
    2007-06-26 11:54:14.359 NOTIFICATION L'opÚration Application Deployer sur GregWar a ÚchouÚ.
    2007-06-26 11:54:14.375 NOTIFICATION L'opÚration Application UnDeployer sur GregWar est dÚmarrÚe.
    2007-06-26 11:54:14.375 NOTIFICATION Suppression de toutes les liaisons de l'application GregWar dan
    s tous les sites Web
    2007-06-26 11:54:14.796 NOTIFICATION L'opÚration Application UnDeployer sur GregWar est terminÚe.
    07/06/26 11:54:14 ATTENTION: DeployerRunnable.run NoClassDefFoundErrororacle.oc4j.admin.internal.Dep
    loyerException: NoClassDefFoundError
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:140)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnabl
    e.java:52)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:82)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.classloader.util.AnnotatedNoClassDefFoundError:
    Classe manquante : oracle.adf.share.logging.handler.InternalADFHandler
    Classe dÚpendante : oracle.adf.share.logging.internal.perf.ADFPerfSensor
    Chargeur : adf.oracle.domain:11.1.1
    Source de code : /E:/oc4j/BC4J/lib/adf-share-base.jar
    Configuration : <code-source> (ignore manifest Class-Path) in /E:/oc4j/j2ee/home/config/se
    rver.xml
    La classe manquante est disponible Ó partir des emplacements suivants :
    1. Source de code : /E:/oc4j/j2ee/home/lib/adflogginghandler.jar (from <code-source> (ignore
    manifest Class-Path) in META-INF/boot.xml in E:\oc4j\j2ee\home\oc4j.jar)
    Cette source de code est disponible dans le chargeur oracle.mds:11.0.
    at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2059)
    at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1623)
    at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1579)
    at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1564)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at oracle.adf.share.logging.internal.perf.ADFPerfSensor.<clinit>(ADFPerfSensor.java:92)
    at oracle.adf.model.servlet.ADFBindingFilter.<clinit>(ADFBindingFilter.java:55)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at com.evermind.server.http.deployment.WARAnnotationParser.getFilterClasses(WARAnnotationPar
    ser.java:189)
    at com.evermind.server.http.deployment.WARAnnotationParser.parseAnnotations(WARAnnotationPar
    ser.java:103)
    at com.evermind.server.http.HttpApplication.parseMetaData(HttpApplication.java:8929)
    at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1210)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:833)
    at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.ja
    va:433)
    at com.evermind.server.Application.getHttpApplication(Application.java:693)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFr
    omReference(HttpSite.java:2039)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:19
    58)
    at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1652)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:235)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:96)
    at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:554)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:205)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:98)
    ... 5 more

    Hi,
    thanks for reporting the issue, but OC4J 11 already has the ADF libraries in it
    Frank

  • Ant Deployment to OC4J

    Hi I was wondering if there are currently any Ant tasks defined to deploy ear/war files to OC4J on the main Application server (not standalone).
    I understand there is the admin.jar file that should have the base logic to undertake this, hoever I don't want to reinvent the wheel if the tasks already exist.
    If they don't is there any javadoc or examples on how I can create my own tasks using the admin.jar file? (I know how to create an Ant task I just need the details to utilise admin.jar).
    Also I'm using IntelliJ as my IDE so please don't tell me to use any built in functionality in JDeveloper.
    Regards,
    Anthony

         <target name="z-deploy-ear-remote" depends="init">
              <java jar="${jdev.dir}/jdev/lib/oc4j_remote_deploy.jar" fork="yes">
                   <jvmarg value="-Djava.protocol.handler.pkgs=HTTPClient" />
                   <arg value="http://remote_server:1810/Oc4jDcmServletAPI/" />
                   <arg value="username" />
                   <arg value="password" />
                   <arg value="redeploy" />
                   <arg value="E:\ora9ias" />
                   <arg value="${build.dir}/${name}.ear" />
                   <arg value="${name}" />
                   <arg value="OC4J_PORTAL" />
              </java>
         </target>

  • Win JDeveloper war file to oc4j instance on solaris??

    Hi,
    I have been trying to get a war file that I deployed on JDeveloper (windows release candidate) set up on my solaris oc4j( version 2 dev release). I read on this forum these directions:
    "Right click on the myproject.jpr in the JDev navigator and select 'new...', go to Deployment Profiles and select J2EE Web Module (WAR File) - a general screen will pop up asking you to save the deployment profile (you can just use the default if you want). Once you select OK on that, you will get a screen that calls itself the J2EE Web Module Deployment Profile Settings. This is the screen that you can use to enter your information.
    Your servlet and javabean classes will go into WEB-INF/classes subdirectory that you see to your left in this window. Simply select the WEB-INF/classes entry and it will display a list of your java sources (it will only place the compiled output in this directory - there is a toggle for it).
    Once you have specified that your javabean and servlet classes go in this directory, you should be set. Go ahead and save / close. In your navigation screen under your project (myproject.jpr or whatever your project name is) you will see your files, jsps, etc and something called webapp1.deploy (if you accepted the default). If you right-click on that, you will get a menu that asks a number of things, one of which is to Deploy to EAR file. Select that entry and it will create an ear file for you. You can play with the various settings to change the name of the ear file, but that's about all you have to do. Once this is completed, you can put the EAR file on your linux box or wherever you want, adjust your server.xml and default-web-app.xml files and launch the app!
    EXCEPT...I did not deploy to EAR ; I deployed to war and then I just modified two config files (under j2ee/home/config)
    application.xml
    <web-module id="notesWar" path="../../home/applications/notesWar.war" />
    and default-web-app.xml
    <web-module id="notesWar" path="../../home/applications/notesWar.war" />
    This seems to work , but when I set up my project in JDeveloper, I specified a target file to run, and within JDeveloper it includes the directory not just the file (which is a windows directory) so I am thinking that when I try to deploy on unix, it doesn't know what target file to run bc it can't find it, but I don't know that that information is even included in the war file... is there somewhere else you specify when you are deploying the war file which html, jsp, etc. needs to be run first. By the way, when I launch the application on the solaris oc4j via war deployment, it goes to the first html file listed in the war (I need it to go the second html file first).

    Hi,
    I am sorry; I mistyped....
    I already configured default-web-site.xml with the above values.
    The war file will run on the solaris oc4j instance, but it just
    runs the wrong initial html. I need a login to be the target
    page, but I don't know how to specify that for my particular
    situation.
    If I run the application within JDeveloper on Windows
    without a war file, it works. I run like this...
    Right click on the (.jpr) project file and run...it will go to the
    correct run target bc I have specified within the project
    settings, the default run target, but when i try to run as a war,
    it does not go to the correct run target so I need to know how to
    specify a default run target for a war file. I did create the
    war after I specified the default run target.
    Thank you!

  • Error deploying to oc4j standalone

    hi folks,
    i'm trying to deploy my application from jdev to standalone oc4j.
    i created a war, an ejb-jar and an ear that includes them. while trying to deploy the ear i get the following exception:
    2006-11-30 14:54:48.265 NOTIFICATION Starting application : wts2
    2006-11-30 14:54:48.265 NOTIFICATION Initializing ClassLoader(s)
    2006-11-30 14:54:48.265 NOTIFICATION Initializing EJB container
    2006-11-30 14:54:48.265 NOTIFICATION Loading connector(s)
    2006-11-30 14:54:48.343 NOTIFICATION Starting up resource adapters
    2006-11-30 14:54:48.359 NOTIFICATION Processing EJB module: wts2_ejb_jar.jar
    2006-11-30 14:54:48.656 ERROR J2EE EJB-03027 [wts2] An error occured deploying E
    JB module: javax.ejb.EJBException: nested exception is: java.lang.reflect.Invoca
    tionTargetException
    2006-11-30 14:54:48.671 NOTIFICATION application : wts2 is in failed state
    06/11/30 14:54:48 WARNING: Application.setConfig Application: wts2 is in failed
    state as initialization failed.
    java.lang.InstantiationException: Error initializing ejb-modules: nested excepti
    on is: java.lang.reflect.InvocationTargetException
    06/11/30 14:54:48 oracle.oc4j.admin.internal.DeployerException: java.lang.Instan
    tiationException: Application: wts2 is in failed state as initialization failed
    06/11/30 14:54:48 at oracle.oc4j.admin.internal.ApplicationDeployer.addApp
    lication(ApplicationDeployer.java:515)
    06/11/30 14:54:48 at oracle.oc4j.admin.internal.ApplicationDeployer.doDepl
    oy(ApplicationDeployer.java:196)
    06/11/30 14:54:48 at oracle.oc4j.admin.internal.DeployerBase.execute(Deplo
    yerBase.java:93)
    06/11/30 14:54:48 at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeploy
    erRunnable.doRun(OC4JDeployerRunnable.java:52)
    06/11/30 14:54:48 at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRu
    nnable.run(DeployerRunnable.java:81)
    06/11/30 14:54:48 at com.evermind.util.ReleasableResourcePooledExecutor$My
    Worker.run(ReleasableResourcePooledExecutor.java:298)
    06/11/30 14:54:48 at java.lang.Thread.run(Thread.java:595)
    06/11/30 14:54:48 Caused by: java.lang.InstantiationException: Application: wts2
    is in failed state as initialization failed
    06/11/30 14:54:48 at com.evermind.server.Application.setConfig(Application
    .java:471)
    06/11/30 14:54:48 at com.evermind.server.Application.setConfig(Application
    .java:314)
    06/11/30 14:54:48 at com.evermind.server.ApplicationServer.addApplication(
    ApplicationServer.java:1853)
    06/11/30 14:54:48 at oracle.oc4j.admin.internal.ApplicationDeployer.addApp
    lication(ApplicationDeployer.java:512)
    06/11/30 14:54:48 ... 6 more
    06/11/30 14:54:48 Caused by: java.lang.InstantiationException: Error initializin
    g ejb-modules: nested exception is: java.lang.reflect.InvocationTargetException
    06/11/30 14:54:48 at com.evermind.server.ejb.EJBContainer.postInit(EJBCont
    ainer.java:1064)
    06/11/30 14:54:48 at com.evermind.server.ApplicationStateRunning.initializ
    eApplication(ApplicationStateRunning.java:217)
    06/11/30 14:54:48 at com.evermind.server.Application.setConfig(Application
    .java:413)
    06/11/30 14:54:48 ... 9 more
    06/11/30 14:54:48 Caused by: javax.ejb.EJBException: nested exception is: java.l
    ang.reflect.InvocationTargetException
    06/11/30 14:54:48 at com.evermind.server.ejb.EJBUtils.createEJBException(E
    JBUtils.java:365)
    06/11/30 14:54:48 at com.evermind.server.ejb.EJBUtils.createEJBException(E
    JBUtils.java:356)
    06/11/30 14:54:48 at com.evermind.server.ejb.BeanAnnotationListener.parseA
    nnotatedClass(BeanAnnotationListener.java:54)
    06/11/30 14:54:48 at com.evermind.server.ejb.AnnotationParser.notifyAnnota
    tionListeners(AnnotationParser.java:201)
    06/11/30 14:54:48 at com.evermind.server.ejb.AnnotationParser.parseAnnotat
    ions(AnnotationParser.java:73)
    06/11/30 14:54:48 at com.evermind.server.ejb.EJBPackageDeployment.parseMet
    aData(EJBPackageDeployment.java:939)
    06/11/30 14:54:48 at com.evermind.server.ejb.EJBContainer.postInit(EJBCont
    ainer.java:832)
    06/11/30 14:54:48 ... 11 more
    06/11/30 14:54:48 Caused by: java.lang.reflect.InvocationTargetException
    06/11/30 14:54:48 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M
    ethod)
    06/11/30 14:54:48 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMet
    hodAccessorImpl.java:39)
    06/11/30 14:54:48 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Deleg
    atingMethodAccessorImpl.java:25)
    06/11/30 14:54:48 at java.lang.reflect.Method.invoke(Method.java:585)
    06/11/30 14:54:48 at com.evermind.server.ejb.BeanAnnotationListener.parseA
    nnotatedClass(BeanAnnotationListener.java:45)
    06/11/30 14:54:48 ... 15 more
    06/11/30 14:54:48 Caused by: java.lang.NoClassDefFoundError: Lorg/apache/log4j/L
    ogger;
    06/11/30 14:54:48 at java.lang.Class.getDeclaredFields0(Native Method)
    06/11/30 14:54:48 at java.lang.Class.privateGetDeclaredFields(Class.java:2
    232)
    06/11/30 14:54:48 at java.lang.Class.getDeclaredFields(Class.java:1715)
    06/11/30 14:54:48 at com.evermind.server.deployment.AnnotationManager.pars
    e(AnnotationManager.java:112)
    06/11/30 14:54:48 at com.evermind.server.deployment.AnnotationManager.getM
    ethods(AnnotationManager.java:64)
    06/11/30 14:54:48 at com.evermind.server.ejb.deployment.BeanDescriptorAnno
    tationParser.parseAnnotations(BeanDescriptorAnnotationParser.java:76)
    06/11/30 14:54:48 at com.evermind.server.ejb.deployment.BeanDescriptorAnno
    tationParser.parseAnnotations(BeanDescriptorAnnotationParser.java:48)
    06/11/30 14:54:48 ... 20 more
    2006-11-30 14:54:48.718 NOTIFICATION Application Deployer for wts2 FAILED.
    i don't know if this can be connected to the following issue: i have another java environment on the same machine and therefore 2 different jdks: 1.4 and 5. the JAVA_HOME points to jdk1.4. but the batch file running the oc4j starts it with jdk5:
    C:\Sun\AppServer\jdk\bin\java.exe -jar D:\oc4j\j2ee\home\oc4j.jar
    i've seen a thread here saying that problems with InvocationTargetException can be solved by using Oracle AppServer instead of OC4J, which sounds pretty bizzare to me. there are a lot of folks here who run and deploy into OC4J with no problem.
    thanks for you help!

    i am still facing the same problem all peoples face
    is ther any way to fix it???????
    if u find a solution i will apretiate if u tell me
    coz am trying to make a webservice to try it with jdeveloper over oc4j
    and as u know there is a test way provided by jdeveloepr to test ur webservice after publishing it
    after i compliled the calsses and deploy it and open the url http://localhost:8888/jdeveloper_ap...webservice_name
    and evry thing is ok till now and the page apear carying the method services name and when i click the method servic ename evry thing is still ok and the form apear requesting the input of the method if any with an invoke button or with the invoke button alone if no input was required and 2 link below the Proxy Jar and the Proxy Source so till now evry thing is ok
    but after i press the invoke button or when i press the link proxyjar or Proxy Source the explorer show the usual error page HTTP 500 - Internal server error Internet Explorer so nothing work till the end
    does any one expert in webservices with jedeveloepr know what do i miss to set so that the trial work?

  • Javax.naming.NamingException: when deploying to OC4J using admin.jar

    Additional details to posting (Problem Deploying to OC4J from Jbuilder8)
    Jul 8 2003 @3:27
    enter:-
    java -jar "\ora9ias\j2ee\home\admin.jar" ormi://myhost:23791 admin password
    and you get the error message:-
    javax.naming.NamingException: Lookup error: java.net.ConnectException: Connection refused: connect; nested exception is:
    java.net.ConnectionException: Connection refused: connect
    My server.xml contains entry &lt;rmi-config path="./rmi.xml" /&gt;
    and my rmi.xml reads:-
    &lt;?xml version="1.0" standalone="yes" ?&gt;
    &lt;!DOCTYPE rmi-server (View Source for full doctype...)&gt;
    - &lt;rmi-server port="23791" host="[ALL]"&gt;
    - &lt;log&gt;
    &lt;file path="../log/rmi.log" /&gt;
    &lt;/log&gt;
    &lt;/rmi-server&gt;
    I have repeatedly checked my hostname port user name and password
    along with the statements in the server.xml and rmi.xml as above, but with no
    success.
    Regards
    Gary.

    I am facing the same problem from this morning. I was able to start oc4j jvm without any problem today in the morning and i could deploy the war file and was able to test the web pages. But due to some unavoidable reasons i had to restart my machine and ever since then i am running into the following error.
    My server.xml has a reference to rmi.xml.
    Any help is highly appreciated.
    Regards
    Kiran
    D:\Java\JDev9i\j2ee\home>java -jar oc4j.jar
    Node started with id=647722646
    Error initializing web-site at ./http-web-site.xml: default-web-app not specifie
    d for Oracle9iAS Containers for J2EE HTTP Web Site
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized

  • Deploy standalone OC4J problem

    I'm pretty new Jdeveloper So Please help me.
    I'm very strange about my deploy.
    I downloaded OC4J in c:/Oc4J, and I did ADF Runtime Installer for Standalone OC4J.
    I can deploy my local host sucessfully.
    So now I tyied to deploy to our compuany server.
    I created application server, I put company's hostname at hostname when I created application server.
    And I tried to deploy my application to the application server.
    I got error.
    This is very strange for me.
    I downloaded OC4J at C:\OC4J_home, and I put OC4J_HOME for Oc4J root directory.
    But this is working with D drive like below whenere I try to deploy my application.
    What should I do?
    Can I change this directory?
    ---- Deployment started. ---- Dec 11, 2006 11:43:08 AM
    Target platform is Standalone OC4J 10g 10.1.3 (dev).
    Running dependency analysis...
    Wrote JAR file to C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\jdev\mywork\customerMain1204\Model\deploy\ModelArchive.jar
    Wrote WAR file to C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\jdev\mywork\customerMain1204\ViewController\deploy\CustomerMaintenance.war
    Wrote EAR file to C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\jdev\mywork\customerMain1204\ViewController\deploy\CustomerMaintenance.ear
    Uploading file CustomerMaintenance.ear ...
    Uploading file CustomerMaintenance.ear ...
    Uploading file CustomerMaintenance.ear ...
    Uploading file CustomerMaintenance.ear ...
    Uploading file CustomerMaintenance.ear ...
    Uploading file CustomerMaintenance.ear ...
    Uploading file CustomerMaintenance.ear ...
    Uploading file CustomerMaintenance.ear ...
    Application Deployer for CustomerMaintenance STARTS.
    Copy the archive to D:\oc4j\j2ee\home\applications\CustomerMaintenance.ear
    Initialize D:\oc4j\j2ee\home\applications\CustomerMaintenance.ear begins...
    Unpacking CustomerMaintenance.ear
    Done unpacking CustomerMaintenance.ear
    Unpacking CustomerMaintenance.war
    Done unpacking CustomerMaintenance.war
    Initialize D:\oc4j\j2ee\home\applications\CustomerMaintenance.ear ends...
    Starting application : CustomerMaintenance
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Initializing EJB sessions
    Committing ClassLoader(s)
    Initialize CustomerMaintenance begins...
    Initialize CustomerMaintenance ends...
    Started application : CustomerMaintenance
    Binding web application(s) to site default-web-site begins...
    Binding CustomerMaintenance web-module for application CustomerMaintenance to site default-web-site under context root customerMain
    Exception: NoClassDefFoundError: oracle/jbo/JboException
    Operation failed with error:
    oracle/jbo/JboException
    Deployment failed
    Elapsed time for deployment: 1 minute, 18 seconds
    #### Deployment incomplete. #### Dec 11, 2006 11:44:24 AM

    S,
    Yes, causes a bit of a problem, the fact that all Oracle products tend to rely on the ORACLE_HOME environment variable.
    In any case, this issue has been discussed previously in this forum. I suggest you search the forum archives for "ORACLE_HOME".
    Good Luck,
    Avi.

Maybe you are looking for

  • I need to restore an iphone 4 to 7.0.6 not the current 7.1

    I need to restore an passcode locked CMDA iPhone 4 to 7.0.6 not the current 7.1. This is due to a mobile management application that our company uses that has not been verified to work with 7.1 yet. This iPhone is current on 5.1.0. I am trying to do

  • Server 2008 R2 SP1, BitLocker to go, image restore, Unexpected results

    On Svr 2008 R2 SP1, I wanted to test backup and image restore with a Bitlocker encrypted USB disk. Here's what I did: I turned on encryption on the USB disk, Chose password method and set it to auto-unlock on this computer. Ran a full system backup w

  • Boot Camp 4.0 won't fully uninstall, Boot Camp 5 fails to install

    I haven't found an answer to my issue. Early 2011 MacBook Pro 13" System Information Time of this report: 11/25/2013, 19:51:29    Operating System: Windows 7 Home Premium 64-bit (6.1, Build 7601) Service Pack 1 (7601.win7sp1_gdr.130318-1533)         

  • Adobe Reader 8

    I recently downloaded adobe 8. It seems to take forever to download a file and when it does the size is 162% How can I change for quicker downloading and smaller font? Thanks for your help, Ken imac G5   Mac OS X (10.4.2)  

  • Windows 7 64bit and Sound Blaster X-Fi Titanium - No rear sound

    As the title says I have a sound blaster x-fi titanium running on a windows 7 64bit box. I have downloaded all the latest drivers and tools from creative. The issue is no matter what I do I cannot get the 5. surround working. I have the front 3 speak