Developer deployment to OC4J without oc4jadmin account?  10.1.3...

I'm an OC4J system administrator (among other things) and have recently started to migrate to OC4J 10.1.3. Our developers deploy code to our Integrated Development Server (Linux) numerous times a day to many different instances.
Is there a way for them to deploy without having oc4jadmin access?? I'd like them to use the oc4j admin_client.jar to do deployments from their local development boxes (Windows XP), but the oc4jadmin ID and password are needed to run these scripts.
Any ideas on a simple yet secure way for them to deploy there ear's without having access? Thanks!

Theoretically you can specify a different account per oc4j instance starting with 10.1.3.1+, but this appears to be not working correctly and hence is not supported. You could contact Oracle Support and ask for the latest status on this often requested feature.

Similar Messages

  • Servlet deployment in oc4j

    How do you define system property with OC4J. OAS versions allow you to do that. I have servlet 2.1 compatible application that I want to deploy into oc4j without code changes. Any ideas?

    Or if you don't want to use property files you can use the ServletContext class which has two methods:
    public String ServletContext.getInitParameter(String name)
    public Enumaration ServletContext.getInitParameterNames()
    The init parameters for a context are specified in the web.xml deployment descriptor for the context using the <context-param> tag. Example:
    <web-app>
    <context-param>
    <param-name>rmihost</param-name>
    <param-value>localhost</param-value>
    </context-param>
    <context-param>
    <param-name>rmiport</param-name>
    <param-value>1099</param-value>
    </context-param>
    </web-app>
    To find the context init parameters in a servlet you can do:
    try {
    ServletContext context = getServletContext();
    String rmihost = context.getInitParameters("rmihost");
    int rmiport = Integer.parseInt(context.getInitParameter("rmiport"));
    } catch (Exception e) {
    }

  • Starting oc4j without designer

    Could i start oc4j service without starting Designer? If i start BPEL server,
    To run a JSP page, i do right click on the project and then "Run": it starts oc4j automatically.
    If I run "start_oc4j", it doesn't work because there is already the BPEL server running.
    I want to start Oracle BPEL server and oc4j without designer. Is it possible?
    Thank you,
    Ema
    PS- i'm working with the last version of Oracle BPEL PM.

    "start_oc4j.bat" is used by JDev itself and starts OC4J by passing certain parameters, including specific port settings to avoid conflicts.
    Just running it will not work as you discovered.
    My question is: what do you need? Do you need a running OC4J instance to deploy and run J2EE applications in your development environment? In this case you could just use the OC4J that is already running as part of your BPEL Server (not JDeveloper).
    If you want another container, you should download the standalone container from otn.oracle.com and configure it to avoid port conflicts with the one in BPEL.
    The embedded OC4J in Jdev is meant for use within JDev.

  • Deployment  to oc4j 9.0.4 issues

    Hello,
    I have trouble getting to work some of the application practices (JMS unit in particular) presented in the official oracle uni education course which I attended at the end of previous summer: JDev 10g: Develop J2EE Applications written by Mrs Sunitha Patel and F.Musinger, ( I suppose). The course was written in 2004 (J2EE version was 1.3, EJB 2.0), JDev10g version used actually was something like 9.x.x and oc4j version was 9.0.3 which I could not find in order to download!
    Thus, I took my chances with the current JDev 10.1.3.3 (embedded oc4j 10.1.x ) and oc4j 9.0.4. The books do not seem to contain any pointer to an error reports page, or FAQ site, or a place to ask questions, even if any other ordinary book publisher (Wrox, Wiley) offers that, as far as I know. Is there anyone familiar with the course, willing to share his/her expertise, or one with a pointer to relevant helpful resources?
    Any helping hand is welcome,
    Have a happy and bugfree new year!
    NA
    [http://nickaiva.blogspot.com/]

    Did anyone migrate to OC4J 9.0.4 and experience snail pace execution? I installed the pre-release 9.0.4 and deploy my applications without any problem. When I run my applications, it has very slow response. The CPU is intermittenly processing for a long time. I didn't change any code and it was my original "ear" files from 9.0.3. Is there anything I miss?
    Regards,
    Kenny Lau

  • How to enable Forms to locate icons deployed using OC4J Instance?

    I am using Forms 9i Builder.
    I would like to create a pictured Push Button.
    I create a Push Button with Property Palette as follows:
    Iconic: Yes
    Icon Filename: bell.jpg
    I can neither see the icons on the button in the Layout Editor, nor during run-time when it is deployed on OC4J Instance.
    How can I set the icons path in Forms Builder and deplyed on OC4J?

    Hi,
    the icon name should be without the .jpg extensions. The Forms Developer environment doesn't show jpg icons in any release before 10g (9.0.4). See the documentation og 10g on how to point it to the files.
    For deployment, the default configuration for icons is .gif. You change it in the file registry.dat located in the forms90/java/registry directory
    For deploying icons in Forms, see the whitepaper "Oracle9i Forms: How to Deploy Icons" located at otn.oracle.com/products/forms --> Forms 9i Collateral. This paper is still valid for Forms 10g.
    Frank

  • 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

  • Deploy to OC4J standaone problem

    Dears,
    I developed an application in jdev 10.2 and it works successfully with embedded OC4J, but when deploy to OC4J standalone or Tomcat it doesn't work.
    I use JSON in my application.
    The log (for OC4J standalone and Tomcat) is empty from errors and exceptions, Only
    JSONRPCBridge.analyzeClass analyzing package1name.package2name.package3name.DAO.classNmaeDAO
    is written and my code didn't work and JSP is empty.
    Any ideas, what may be the problem there???

    When I deploy to oc4j from jdev... I get an error.
    Unknown site: http-web-site
    How do I figure out what my http site is via my oc4j configuration?
    I know in my Connection properties for oc4j in jdev, there is a target web site property where I entered "http-web-site", thinking this was the correct target.
    Thanks. Look in <oracle_home>\j2ee\home\config\server.xml
    Web sites are defined by the web-site entry. E.g
    <web-site path="./http-web-site.xml" />
    <web-site default="true" path="./default-web-site.xml" />
    Dhiraj

  • Can I deploy Mathscript subfunctions without revealing .m source code?

    Good morning.
    I am developing MATLAB algorithms containing functions and subfunctions. To integrate them in LabVIEW, I plan to use Mathscript nodes. And if I do so, I have to leave the subfunctions .m files in a repository on the PC (right?).
    My problem is that I do not want to reveal these easily readable files when deploying my LabVIEW code. So I am looking for a way to deploy this code without making my source code available and open to all.
    Thanks for any help!

    Thanks smercurio.
    smercurio_fc wrote:
    I think Ravens Fan was referring to actually putting the MathScript code inside a MathScript node, not leaving it as its own file. That way the code is saved with the VI.
    Please allow me to illustrate my question through an example.
    Let's say my code is script S1. S1 contains functions f1, f2 and f3, f1 contains subfunctions sf1 and sf2, and so on. I end with a code structure looking like this one (all .m files):
    S1
    - f1
    ---sf1
    ---sf2
    -f2
    ---sf3
    -f3
    ---sf4
    ---sf5
    If S1 is copied in a Mathscript node, how can it work without leaving f1.m, sf1.m and others available on the user's pc after deployment?
    Now, as I understand from my readings and my experimentations, when I put the function and subfunction files in the "LabVIEW Data" file, the functions name in the script S1 copied in a Mathscript node will appear in purple (by default). The node executes fine then. But if I copy the functions in Mathscript nodes in other VIs, the functions name appear in grey, and the node won't work. I don't know how to point to these other Mathscripts... Is there something I miss here?
    smercurio_fc wrote:
    You started out by saying you're developing Matlab algorithms. You should keep in mind that MathScript and Matlab are two different languages. While there are many similarities, there are also a lot of differences, and Matlab code is definitely not 100% compatible in MathScript. Thus, if you write the code in Matlab there is no guarantee it will even work in MathScript.
    Thanks for the warning. I tried my algorithms using the method described above, and they work well.

  • Deploy WebDynpro application without SDM password

    Is it possbile to deploy WebDynpro application without SDM password? I have account with SAP_J2EE_ADMIN role.

    hai,
    go to server path
    open the dos editor
    go to this dir
    usr/sap/j2e/jcXX/sdm/program
    x:usr/sap/j2e/jcXX/sdm/program\>
    StopServer
    sdm jstartup "mode=standalone" "sdmhome=."
    sdm deploy "sdmhome=." "file=xxx.ear" "onerror=stop"
    sdm jstartup "mode=integrated" "sdmhome=."
    StartServer
    use the above commands one by one
    regards,
    Naga Raju

  • 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

  • Environment needed for developing, deploying the ABAP Web Dynpro

    Hi all,
    We have the following ECC environmnet in our office.
    ERP 2005, RELEASE 6.0
    KERNEL 7
    COMPONENT ECC 6.0 NON -UNICODE SYSTEM
    BASIS & ABAP SP 14
    We also dont have Enterprise Portal and no PI or XI. can we develop ABAP Web Dynpro without EP?
    I want to develop Web Dynpro's using ABAP. Can i do it? Do we need to install any thing else? any plug in..or do we need to upgrade our service pack?
    We are on service pack 14 and on ABAP Stack.
    Some one kindly help..this might be a simple question for many people...but i am really in need of information and could not get proper idea after reading the SDN and help.com
    if some one has a link .that explains the environmnet that i should have for Web dynpro ABAP..please help.
    Regards,
    Jessica Sam

    Thomas,
    Thanks a lot for your patience. Few more minutes of your valuable time..need help.
    So i can conclude that with my environmet and ABAP statck ..i can develop Web dynpro ABAP and BSP but not Adobe Forms.
    We have BI system in our office which runs on Java Stack and our ECC system is only on ABAP stack.
    But we were using ABAP Web services to build interfaces b/w SAP and .Net applications and hence we wanted to use SOAMANAGER,
    But SOAMANAGER runs on Java Stack and we dont have Java stack on ECC but have on BI.
    So what we did was..did some BASIS settings in BI and ECC systems and finally able to use SOAMANAGER of BI system to manage , create and deploy web services from our ECC system whihc is on ABAP Stack.
    Similarly can I also use the Java Stack in our BI system and do some settings at ECC end such that I can buid the interactive forms in ECC and use the Java Stack of BI system.
    Kindly please help..i am not getting answers to such questions in help.sap.com...may be people like you who are well experience will only able to guide me better.
    Kind regards,
    Jessica Sam

  • Wbe deployment of forms without JInitiator

    Hi,
    Can anyone please send me the document that explains how to run
    Oracle Developer 6.0 Applications in IE 6.0., without JInitiator.
    at [email protected]
    If that also has a sample html page that would be great
    Regards
    Sumita

    Duplicate post - please see Web deployment of forms without JInitiator

  • Applet works in JDeveloper, but not when deployed to OC4J

    I am working on an applet version of the BI Beans java client application. It works fine when running in JDeveloper (applet viewer), but fails when deployed to OC4J. The applet shows a red X, with a message in the status bar saying "Loading Java Applet Failed...". Contents of java console are as follows:
    java.lang.NoClassDefFoundError: oracle/dss/selection/step/Step
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
         at java.lang.Class.getConstructor0(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Any one have any ideas how to chase this one down?
    Here is the message that JDeveloper shows when it runs the applet. I have gone thru this and ensured that all these references are selected in my .deploy settings:
    C:\JDeveloper\jdk\bin\javaw.exe -ojvm -Xbootclasspath/a:C:\dev\jdev\Workspace1\TestClientApp\classes;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\biaddinsrt.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\biamlocal.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bicmn.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bidataclt.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bidatacmn.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bidatasvr.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\biext.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bipres.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bidata-nls.zip;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bipres-nls.zip;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bicmn-nls.zip;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\biaddins-nls.zip;
    C:\JDeveloper\jdev\lib\ext\..\..\..\jlib\LW_PfjBean.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\jlib\share.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\jlib\jewt4.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\jlib\jewt4-nls.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\infobus\lib\infobus.jar;
    C:\JDeveloper\BC4J\lib\bc4jmt.jar;C:\JDeveloper\BC4J\lib\collections.jar;
    C:\JDeveloper\BC4J\lib\bc4jct.jar;
    C:\JDeveloper\lib\xmlparserv2.jar;
    C:\JDeveloper\jlib\jdev-cm.jar;
    C:\JDeveloper\j2ee\home\lib\jndi.jar;
    C:\JDeveloper\jlib\regexp.jar;
    C:\JDeveloper\jlib\share.jar;
    C:\JDeveloper\jlib\uix2.jar;
    C:\JDeveloper\jdbc\lib\classes12.jar;
    C:\JDeveloper\jdbc\lib\nls_charset12.jar;
    C:\JDeveloper\j2ee\home\lib\ojsp.jar;
    C:\JDeveloper\j2ee\home\jsp\lib\taglib\ojsputil.jar;
    C:\JDeveloper\j2ee\home\oc4j.jar;
    C:\JDeveloper\j2ee\home\lib\servlet.jar;
    C:\JDeveloper\jdev\lib\ojc.jar;
    C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\olap_api_92.jar;
    C:\JDeveloper\jdev\lib\jdev-rt.jar;
    C:\JDeveloper\BC4J\lib\bc4jhtml.jar;
    C:\JDeveloper\BC4J\lib\datatags.jar;
    C:\JDeveloper\BC4J\lib\bc4juixtags.jar;
    C:\JDeveloper\BC4J\lib\bc4j_jclient_common.jar
    Any assistance would be appreciated.
    s.l.

    i have the same problem
    i cant load my applet on OC4J , i am wondering know how Oracle canot solve this problem

  • How to create different log files for each of web applications deployed in OC4J

    Hi All,
    I am using OC4J(from Oracle) v1.0.2.2 and Windows2000. Now I want to know
    1. how to create different log files for each of my deployed web applications ?
    2. what are the advantages in running multiple instances of oc4j and in what case we should run
    multiple instances of OC4J ?
    3. how to run OC4J as Windows2000 Service rather than Windows2000 Application ?
    Thanks and Regards,
    Kumar.

    Hi Avi,
    First of all I have given a first reading to log4j and I think there will some more easy way of logging debugging messages than log4j (If you could provide me a detailed explanation of a servlet,jsp,java bean that uses log4j and how to use log4j then it will be very helpful for me). The other easy ways (if I am not using log4j) to my problem i.e creating different log files for each of web applications deployed in oc4j are
    I have created multiple instances of OC4J that are configured to run on different ports and so on each instance I have deployed a single web application . And I started the 2 oc4j instances by transferring thier error/log messages to a file. And the other way is ..
    I have download from jakarta site a package called servhelper . This servhelper is a thread that is started in a startup servlet and stopped in the destroy method of that startup servlet. So this thread will automatically capture all the system.out.println's and will print those to a file. I believe that this thread program is synchronized. So in this method I need not run multiple instances of OC4J instead each deployed web application on single instance of oc4j uses the same thread program (ofcourse a copy of thread program is put in each of the deployed web applications directories) to log messages on to different log files.
    Can you comment on my above 2 approached to logging debugging messages and a compartive explanation to LOG4J and how to use LOG4J using a simple servlet, simple jsp is appreciated ...
    Thanks and Regards,
    Ravi.

  • How to deploy the OS without Partioning the Drive , Refresh Deployment Senarios

    Hi ,
    I need to configure the reuired settings for below things in MDT. If these are possible in MDT can you please share the  required configuration with Steps..  I am using MDT 2013 for deploying Windows 8.1.
    1. OS deployment should be without partitioning
    2. All user Profile data should taken before OSD and after OSD all the user profile data backup should be restore Auto on its original location.
    3. no any user data located even in  Local C drive or in other Local Drive- D or E delete..
    Shailendra Dev
    Shailendra Dev

    Shailendra,
    You'll need to brake this up into 2 or 3 cases.
    One, not formatting and partitioning the drive, if you use the REFRESH scenario, the existing operating system drive will be cleaned (not formatted) and Windows will be installed on this drive
    Two, with the User State Migration Tool you'll be able to achieve what you want, either using symbolic (hardlinks) or transfer the data into a migfile which can be copied to a fileshare or external drive, and copied back once the machine is finished.
    Third, check for any remaining folders and files, by for example deleting all content other than the usual files and folders that are present after a fresh Windows installation.
    Good luck!
    If this post is helpful please click "Mark for answer", thanks! Kind regards

Maybe you are looking for

  • HP Envy 5530

    My printer doesn't scan or copy....only prints. I've been pulling my hair out on this printer for over 2 weeks now. It's doesn't recognize/read the software installed on the computer. The software CD that came with the printer installs on my computer

  • Why is the AOL Icon missing from your home page and all the other icons are there?

    Today when I opened Firefox to go to my AOL account; the AOL Icon was missing. However, it appears that all of the other general icons including MSN; Pinterest; Facebook, You Tube, etc.

  • Mac InDesign CS5.5: can someone please check if variables do not cause crash when copied

    Hello There is a bug in Mac InDesign CS4 and CS5 which causes InDesign to crash if text containing a variable is copied. I am hoping this bug is fixed in CS5.5. So can someone with Mac CS5.5 try this for me and report back: 1. create a variable, or u

  • Not able access properly correct  webserivice method

    Hi, I have to create client for an document style WSDL, can any body tell how to write client to this WSDL using some dummy serive name for accessing GetLog method Iam giving the sample of my wsdl <?xml version="1.0" encoding="utf-8"?> <wsdl:definiti

  • "Applicati​on Error" in "hpfpegno.​exe"

    I am having problems with this HP print driver file and a LabView 5.1 Application. The printer is a DeskJet 970CXI physically connected (parallel) to a Compaq DP PIII/550 running NT 4.0 and is being used in a production environment. There is nothing