Can I deploy applications to embedded oc4j, manually?

Hi.
I created an application using JDeveloper 10g and deployed it on embedded oc4j server. I don't want to start Jdeveloper each time I have to run application, so I started the embedded server using:
java -jar oc4j.jar
and it runs fine but the application is not running when I give the URL in browser.
Is the port different when u run the server manually? or the web.xml is not read in this mode?
Can you guys help?
Thanks.

To run a application on the embedded server right-click on the application and select Run for which the JDeveloper is required to be started.
Or, get the URL for the application with right-click>Run and specify the url in a browser after starting the embedded server separately if the embedded server gets started separately.

Similar Messages

  • Errors Deploying BMP to embedded OC4J

    I'm using JDeveloper 9.0.3.2. When trying to run a BMP Entity Bean in the embedded OC4J and the deployment process starts I am getting an error:
    CustomerLocalHome_EntityHomeWrapper5.java:1201: unreported exception java.rmi.RemoteException; must be caught or declared to be thrown
    collection.add(getWrapperByPK(transaction, key));
    ^
    CustomerLocalHome_EntityHomeWrapper5.java:1316: unreported exception java.rmi.RemoteException; must be caught or declared to be thrown
    collection.add(getWrapperByPK(transaction, key));
    ^
    CustomerLocalHome_EntityHomeWrapper5.java:1431: unreported exception java.rmi.RemoteException; must be caught or declared to be thrown
    collection.add(getWrapperByPK(transaction, key));
    ^
    CustomerLocalHome_EntityHomeWrapper5.java:1546: unreported exception java.rmi.RemoteException; must be caught or declared to be thrown
    collection.add(getWrapperByPK(transaction, key));
    ^
    CustomerLocalHome_EntityHomeWrapper5.java:1661: unreported exception java.rmi.RemoteException; must be caught or declared to be thrown
    collection.add(getWrapperByPK(transaction, key));
    ^
    5 errors
    Error compiling H:\jdev\Freeport\Customer\classes: Syntax error in source
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
    This code has been verified using the EJB Verifier and compiles cleanly.
    The java file mentioned in the error doesn't exist in my project nor can I find CustomerLocalHome_EntityHomeWrapper5.java anywhere on my machine.
    I cannot find any reason for this problem and any insight to a solution would be helpful and appreciated.

    Hi,
    I'm having exactly the same problem. I don't know why I get this error, but I figured out how to run application.
    My ebj's have finder methods returning collections, usually in LocalHome interface you declare that a methods throw FinderException. Try declaring also RemoteException, this is simple solution that make my beans work with OC4J. Unfortunately when I check ejb with verifier I get errors.
    Maybe someone knows what causes this problem and how to avoid it.
    Martin.

  • Can't deploy - application server has ping problems 4848

    hi,
    i can't deploy a web cause after every try i get the following error-msg:
    "started server deployer: sun: app server:: localhost: 4848: but ping failed"
    but this is no wonder cause my app-server was configured from the creator-installer to run on 14848 and not on 4848!
    when i start the app-srv manually (calling the "startsrv"-script) then the app-srv starts without any problems on port 14848 and i can login in the app-srv-adminweb with "http:/localhost:14848/asadmin". but the creator will always connect to port 4848!
    so how can i configure the creator that he should use the port 14848? or how to configure the app-srv to run on port 4848?
    thx for help

    ok, i' ve completely removed and newly installed creator (inkl. deleting all directories, aso.) and ...
    .... IT WORKS AND DOESN'T WORK !!!!
    better said it works only if u run creator as ROOT. it's not possible to start the app-server as a normal USER!!!! if u do this u will get always the 4848-error-msg!
    so i've thought it's maybe only a question of the configuration/profiles. so i've copied the /.Creator from the root-home to my user-home-directory (incl. changing the rights) but it does work. so it's a question of the rights.
    what a joke!
    "solution" (under linux/kde):
    create on the desktop of your "normal" user-account a new program-icon with a link to "/opt/Creator/bin/runide.sh" and setup in this prog-icon the "run as" to "root". then u'll get by every start of this application the dialog for the root-password but it works.
    BUT
    especially SUN as an isv of unix/solaris-systems should know that it's terrible/unbelievable and what ever else to run normal apps as root! so pls, correct this so fast as poss!

  • Location of the Deployment Directory for embedded OC4J

    Hi,
    Apologies first off if this is a tres thick question. I am developing an application in J2EE using JDeveloper 9.0.3 and the embedded 0C4J server as my app server. I am wanting to use JProbe to profile my code. It asks for the location of the deployment directory. I've had a look on the internet and can't for the life of me see where the compiled/packege files are deployed to.
    Does this directory exist and if so, whereabout's is it?
    Thanks for your help (sorry if I'm being stupid).

    The deployment directory in which the OC4J embedded server applications are deployed is
    <JDeveloper 10.1.3>\jdev\mywork\<Application>\<Project>\deploy

  • Can not deploy application on websphere 6.0

    Hi all,
    I use Jdeveloper(10.1.2) and Jheadstart(10.1.2) converted a oracle form to J2EE.It can run on Oracle Application Server and Tomcat.I try to deploy it on websphere 6.0,after i added ADF runtime *.jar file into {WAS_HOME}\lib\ext manually,websphere can not work,error message as follows:
    ADMU3200I: Server launched. Waiting for initialization status.
    ADMU3011E: Server launched but failed initialization. Server log files should
    contain failure information.
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
         at java.lang.reflect.Method.invoke(Method.java:391)
         at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:190)
    Caused by: com.ibm.websphere.management.exception.AdminException: Failed while trying to start the Windows Service, retCode = -1
         at com.ibm.ws.management.tools.WindowsService.doWASServiceAction(WindowsService.java:247)
         at com.ibm.ws.management.tools.WsServerLauncher.execWithWinService(WsServerLauncher.java:150)
         at com.ibm.ws.management.tools.WsServerController.executeUtilityOnWindows(WsServerController.java:129)
         at com.ibm.ws.management.tools.WsServerLauncher.main(WsServerLauncher.java:114)
         ... 6 more
    when i remove all jar file from {WAS_HOME}\lib\ext, webspher works well.
    And i can not find bc4j_jclient_common.jar from %JDEV_HOME%BC4J\lib.
    so how can I deal with this problem?Thanks in advance!!
    Best regards,
    Appcat
    Message was edited by:
    Appcat

    JDeveloper 10.1.3 does not include bc4j_jclient_common.jar
    Re: BC4J Library bc4j_jclient_common.jar not provided in JDeveloper 10.1.3

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

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

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

  • Can't create Application Module when deploy an JDeveloper project

    Hi,
    I'm using JDeveloper 10 to create a Project, in backing bean i use:
    AppInsert_HS bam=(AppInsert_HS)Configuration.createRootApplicationModule("app.model.AppInsert_HS", "AppInsert_HSLocal");
    to create an instance of application module in backing bean (Where AppInsert_HS is the name of my Application Module ).
    When i run my application in Embedded OC4J server, it run ok. But when i deploy my application in OC4J standalone, it has error:
    SEVERE: oracle.jbo.common.ampool.ApplicationPoolException: JBO-30003: The application pool (app.model.AppInsert_HSLocal) failed to checkout an application modul
    + e due to the following exception:+
    + javax.faces.el.EvaluationException: oracle.jbo.common.ampool.ApplicationPoolException: JBO-30003: The application pool (app.model.AppInsert_HSLocal) failed to+
    + checkout an application module due to the following exception: at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:150)+
    + ...................................................+
    Please help me!
    Many thanks

    Hi,
    there must be more in the stack trace than just that. My impression is that it cannot connect to the database. Do you use JDBC URL or JDBC data sources? Also, your approach only make sense if you don't use ADF. If you use ADF then you could access the current AM to avoid the penalty of an extra database connection
    Frank

  • Jdeveloper 11g TP4: Connection refused error for Embedded Oc4j

    Hi,
    I am getting following error whenever trying to deploy any application in embedded oc4j or whenever try to connect with embedded server on Resource palette.
    Error while getting remote MBeanServer for url: ormi://127.0.0.1:23891/default:
    Error reading application-client descriptor: Error communicating with server: Connection refused: connect; nested exception is:
         javax.naming.CommunicationException: Connection refused: connect [Root exception is java.net.ConnectException
    I am using Jdeveloper 11g TP 4 on windows XP.
    I have checked other links too related to above error and have checked following:
    Proper host name entry in host file
    No spaces in Jdveleoper installed directory name
    Proxy setting in Jdeveloper: excluded localhost and ip address
    Will be very thankful if anyone can help me to resolve this issue.
    Thanks in advance                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Don't spend to much time on this. JDev 11g is production and there will be no OC4J 11g!
    --olaf                                                                                                                                                                                               

  • Multiple applications in standalone OC4J

    I’m using Eclipse in XP to deploy applications to the standalone OC4J server. Certain applications use different .jar files from the others. I understand that all jars in the c:\oracle\oc4j10.1.3\j2ee\home\applib are used by all applications. When using a certain application I have to manually move the correct jars into this folder.
    Previously I have deployed applications to an OC4J container in Oracle 10g application server running in Unix. Each container has it’s own folder and config files. application.xml is used to list which jar files are to be used with the application.
    Is there a way to have an application specify which .jar files it uses in the standalone OC4J during runtime?
    Thanks,
    Dan

    Hello,
    You have a correct understanding of the applib folder, but in 10.1.3.x OC4J provides a better and newer way to manage libraries that you want to share between application: they are "OracleAS Shared Libraries"
    You can find more about that there:
    - Creating and Managing Shared Libraries
    - See infrastructure how tos that explains for example how to create an XML or JDBC share lib.
    You can deploy your libraries using admin_client.jar and do that in a group, so all the instances will have the same libraries; or simply script the deployment of the library when not part of the same group.
    Regards
    Tugdual Grall

  • Integrated example of Deploy application.

    Hi everyone.
    I have a application with ADF BC and ADF Faces. And I work with preview 2.
    I can't deploy it to Standalone OC4J .
    Please provide a integrated example for me .Thanks!

    What version of OC4J are you trying to deploy to?
    For TP2, we recommend using just the embedded OC4J, or the embedded OC4J running in standalone mode.
    -- Brian

  • XML parser in embedded OC4J

    How can I add option to embedded OC4J, so it will take the xml parser I specified.
    example as following.
    -Dorg.xml.sax.driver=oracle.xml.parser.v2.SAXParser
    Where I can setup in Jdeveloper?
    or is some property files?

    You can set options on JDeveloper's embedded OC4J from the Tools menu option "Embedded OC4J Server Preferences". You can read the documentation on this in JDeveloper's online help from within the product or at
    http://helponline.oracle.com/jdeveloper/help/state?navSetId=jdeveloper&navId=4&vtTopicId=&vtTopicFile=jdeveloper/deploying/embedded_oc4j/eos_p_prefs.html
    -SteveA

  • JDev 10.1.2/Embedded OC4J / JDev generated Library path

    Hello!
    I migrated a JDeveloper 9.0.3.4 - Workspace and Project to JDeveloper 10.1.2.
    My application uses Struts 1.2.4 and Toplink 9.0.3.
    I don't want to migrate Toplink 9.0.3 to Toplink 10G (9.0.4.5) in that moment.
    Running my application on embedded OC4J it uses not my referenced toplink 9.0.3 but toplink 9.0.4.5 library.
    I edited "$JDEV_HOME\jdev\system10.1.2.0.0.1811\oc4j-config\application.xml" file and commented out the toplink library path, but as this entry is "jdev-generated", this entry is regenerated.
    How can i solve this issue?
    Thank you!
    Harald.

    Refer to
    http://www.oracle.com/technology/products/jdev/htdocs/10.1.2.0.0/install.html#migrating

  • Problem in Deploying war file in oc4j

    I have developed an application using struts and packaged in war file. It runs ok in tomcat server. I want to deploy it in embedded oc4j server of E-Business Suite. Please give me directions................

    AFAIK, EBS 11.5.10 doesn't come with OC4J. It uses Apache Jserv which is Servlet 2.0 and with a special JSP engine. This doesn't support J2EE WAR files. It might support Struts but I'd not bet on that.
    Having said that, you need to get an OC4J standalone version installed (minimum) and started by the standard EBS startup scripts.
    Once this is done and if your WAR is self-contained, ie contains all the libraries, it is quite easy. Just deploy it using the command-line tools (all versions) or the web admin interface of OC4J (from 10.1.3).
    Only thing you have to change is the URL in the OAF page to point to the right server...
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Howto deploy applications to clustered 10gAS

    Hi All,
    I have a 10g Application Server which is clustered on 2 nodes. I need to deploy a ear file in this environment. Can someone guide me on how do we do the deployment on a clustered environment.
    I have been doing this in a standalone environment using the 3 step wizard thats available in EM, but i dont have any clues on how to do in a clustered environment.
    Kindly let me know on how can we deploy applications to 10gAS R3 server on a clustered environment or point me to some links where i can get more info.
    Thanks,
    Amby.

    Hopefully this will help:
    http://download.oracle.com/docs/cd/B32110_01/web.1013/b28951/ascontrol.htm#CIHJDECA
    Thanks
    Shail

  • JASS/JAZN deploy Application

    Hello!
    I try to pack my application using JAAS XML. I create the .war file and it works nice. The login-form appears,
    but the problem is that the .ear file must have the orion-application.xml and the jazn-data.xml in the META-INF folder but these files remain in WEB-INF.
    Does anybody know how to pack the .ear so that the XML files are in the META-INF??
    regards
    Wolfgang

    It works just like you say: copy the DLLs you need to a directory that
    is used by your application for its DLLs or executables (PATH definition
    in registry).
    Make sure you have a TUXDIR and make it known to the application (we use
    the application's .INI file also as Tuxedo WSENVFILE). In the TUXDIR you
    should have the message files (LOCALE\C directory), the UDATAOBJ
    directory with the standard FML files and write access to the TUXDIR for
    the ULOG files (because this is the most logical place to put them).
    The tricky bit of course is to define WSENVFILE (using tpsetenv) in the
    application: this is why it is easiest if Tuxedo uses the "anonymous"
    part in the application's INI file.
    I hope this helps a little
    Frank
    Jeffrey wrote:
    Hi,all
    Can I Deploy application clients without install tuxedo WS?
    (Maybe copy necessary dll and set vironments?) It seems It will try to find
    the TUXDIR and look for something. Does anyone have such experienc?
    Thanks.

Maybe you are looking for

  • Transaction types are not getting displayed in WUI CRM7.0

    Hello Gurus After upgrading the CRM system from 4.0 to 7.0 we are not able to see the trasaction types for the activity mangment in WUI....i have also assigned the transaction types to the channel CEM  Webclient UI Suggest how to over come this ... R

  • My itouch keeps freezing

    So i just got my new 8gb itouch with my laptop at the beginning of the summer. Everything was working fine until i got the new 2.0 update then my itouch would randomly start restarting. After Mac released the newest verison 2.0.1 i updated my itouch

  • Format of sum of integers in sql query displayed in table as decimal

    I created a table with data from a RowSet. One of the columns is based on the sql sum function. The sum function is on a table column of integers (games.score) and is bound to a staticText column with #{currentRow.value['sum(games.score)']} Although

  • CDR Datastreams -how to access the data?

    With apologies as I posted this to the Enterprise forum, but I wasn't 100% sure where this goes. I'm looking to create a Java class using IDL, that is then converted to CDR, and then access its CDR representation as a series of bytes. However, I'm no

  • What is the album on the ipad image in the new itunes installer?

    It looks like "La Loux", but I can't find it anywhere. Can anyone help?