How to solve this deployment issue?

I tried to deploy the sample jspdemo project under OC4J standalone installation by running :
java -jar admin.jar ormi://localhost:23791 oc4jadmin pwd -deploy -file dist\ojspdemos.ear -deploymentName ojspdemos
But get the below error:
java.rmi.RemoteException: deploy failed!: ; nested exception is:
oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Application: ojspdemos is in failed state as initialization failed
at com.evermind.server.administration.DefaultApplicationServerAdministrator.internalDeploy(DefaultApplicationServerAdministrator.java:448)
at com.evermind.server.administration.DefaultApplicationServerAdministrator.deploy(DefaultApplicationServerAdministrator.java:347)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Unknown Source)
Caused by: oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Application: ojspdemos is in failed state as initialization failed
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:126)
at com.evermind.server.administration.DefaultApplicationServerAdministrator.internalDeploy(DefaultApplicationServerAdministrator.java:446)
... 8 more
Caused by: java.lang.InstantiationException: Application: ojspdemos is in failed state as initialization failed
at com.evermind.server.Application.setConfig(Application.java:471)
at com.evermind.server.Application.setConfig(Application.java:314)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1853)
at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:512)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:196)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
... 9 more
Caused by: java.lang.InstantiationException: Error initializing ejb-modules: Error generating wrappers for file:/E:/Java_Dev/oc4j_extended_101310/j2ee/home/applications/ojspdemos/o
jspdemos-ejb.jar:
javac.exe not found under C:\Program Files\Java\jre1.5.0_10, please use a valid jdk or specify the location of your java compiler in server.xml using the <java-co
mpiler .../> tag
at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1064)
at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:217)
at com.evermind.server.Application.setConfig(Application.java:413)
How come it says "javac.exe not found". Actually I have set all env variables correctly. Can sb help me out of this. Really appreciate...

fireetl,
Here is your problem:
javac.exe not found under C:\Program Files\Java\jre1.5.0_10You need to install the JDK, not the JRE, because OC4J requires a java compiler,
which is included in the JDK only -- and not in the JRE.
Good Luck,
Avi.

Similar Messages

  • How to solve this snmpwalk issue?

    how to solve this error:
    this is my code for snmpwalk :
    package snmp;
    import java.io.IOException;
    import org.snmp4j.CommunityTarget;
    import org.snmp4j.PDU;
    import org.snmp4j.Snmp;
    import org.snmp4j.TransportMapping;
    import org.snmp4j.mp.SnmpConstants;
    import org.snmp4j.smi.Address;
    import org.snmp4j.smi.Integer32;
    import org.snmp4j.smi.Null;
    import org.snmp4j.smi.OID;
    import org.snmp4j.smi.OctetString;
    import org.snmp4j.smi.UdpAddress;
    import org.snmp4j.smi.VariableBinding;
    import org.snmp4j.transport.DefaultUdpTransportMapping;
    public class SNMPWalk
    // Command line format:
    // java SNMPWalk targetAddress targetOID
    // EX:
    // java SNMPWalk 192.168.76.15/161 1.3.6.1.4.1.517
    public static void main(String[] args)
    Address targetAddress = new UdpAddress("localhost/161");
    OID targetOID = new OID("1.3.6.1.2.1.1.1.0");
    // OID targetOID = new OID("1.3.6.1.4.1.517");
    PDU requestPDU = new PDU();
    requestPDU.add(new VariableBinding(targetOID));
    //requestPDU.setType(PDU.GETNEXT);
    requestPDU.setType(PDU.GETNEXT);
    CommunityTarget target = new CommunityTarget();
    target.setCommunity(new OctetString("demopublic"));
    target.setAddress(targetAddress);
    target.setVersion(SnmpConstants.version2c);
    try
    TransportMapping transport = new DefaultUdpTransportMapping();
    Snmp snmp = new Snmp(transport);
    transport.listen();
    boolean finished = false;
    while (!finished)
    VariableBinding vb = null;
    //line 57 PDU responsePDU = snmp.sendPDU(requestPDU, target);
    if (responsePDU != null)
    vb = responsePDU.get(0);
    if (responsePDU == null)
    System.out.println("responsePDU == null");
    finished = true;
    else if (responsePDU.getErrorStatus() != 0)
    System.out.println("responsePDU.getErrorStatus() != 0");
    System.out.println(responsePDU.getErrorStatusText());
    finished = true;
    else if (vb.getOid() == null)
    System.out.println("vb.getOid() == null");
    finished = true;
    else if (vb.getOid().size() < targetOID.size())
    System.out.println("vb.getOid().size() < targetOID.size()");
    finished = true;
    else if (targetOID.leftMostCompare(targetOID.size(),
    vb.getOid()) != 0)
    System.out.println("targetOID.leftMostCompare() != 0)");
    finished = true;
    else if (Null.isExceptionSyntax(vb.getVariable().getSyntax()))
    System.out.println(
    "Null.isExceptionSyntax(vb.getVariable().getSyntax())");
    finished = true;
    else if (vb.getOid().compareTo(targetOID) <= 0)
    System.out.println("Variable received is not "+
    "lexicographic successor of requested "+
    "one:");
    System.out.println(vb.toString() + " <= "+targetOID);
    finished = true;
    else
    // Dump response.
    System.out.println(vb.toString());
    // Set up the variable binding for the next entry.
    requestPDU.setRequestID(new Integer32(0));
    requestPDU.set(0, vb);
    snmp.close();
    catch (IOException e)
    System.out.println("IOException: "+e);
    line no. 57 as i have indicated.
    the error say: the method sendPDU is undefined for the type snmp
    i have included snmp4j.jar file.
    or atleast can i get snmpwalk example for java to test on eclipse

    This is a clear case of... (*puts on sunglasses*)
    http://www.snmp4j.org/
    RTFM!

  • How to solve this major issue.

    Hello John,
    I am loading members for a particular dimension from an oracle
    view(say view1) to an oracle table(say table1).Here I have used
    an ORDER BY to load in a particular order always. I have created
    a view(say view2)from this table1.The reason to create the view2 is to use the logic
    ORDER BY ,CONNECT BY PRIOR to sort the stored/shared members.
    Now I am using this view2 to load members for a dimension in planning.
    On first execution, it executes without any error. But on executing it again, it throws
    many errors, most of which say Cannot load dimension member, error message is:
    com.hyperion.planning.HspRuntimeException: Move would result in base member being
    a sibling of a corresponding shared member
    This error occured previously as well.I mean before using an ORDER BY in my first interface,
    ie loading from view1 to table1.
    Kindly help me to resolve the problem.
    Regards
    Manoj.

    Did you try this?
    -I found this on a Mac site. Sometimes computers lose their mind. Don't ask me why or how it happens but it does. Sometimes you simply have to totally discharge the computer. One thing I have learned about the Blue and white and the Gray G4 Macs is that sometimes pushing the PMU is not enough. If your machine is dead, then try the following.
    * Unplug the unit.
    * Remove the battery
    * Push the PMU switch (count to 5 slow)
    * Push the start button on the front of the Mac (count to 5 slow)
    * Let the unit sit for 15-30 minutes
    * Replace the battery
    * Plug it back in, and push the start button
    If it doesn't work I usually repeat the steps above, pull the RAM, and let it sit longer. If it doesn't work after this, it is take it to the shop time.
    Cheers!
    DALE

  • Does anybody know how to solve this exporting issue?

    I am trying to export my video and this message keeps coming up and failing my export. I have never had a problem before and have been using Premiere for over 6 years now and have never seen this before. I have changed settings here and there, but regardless what I try to export into I get the same error message. Tried opening a new sequence and copying over my project to then export by still nothing.
    On a few instances it did export some of my video, but only about half of it, even though it was set to export the entire video.
    I can't find a solution to this issue. I have enough disk space, so that isn't the issue.
    Please can someone help?

    Error Compiling Movie... some past discussions and ideas
    -http://helpx.adobe.com/premiere-pro/kb/error-compiling-movie-rendering-or.html
    -http://helpx.adobe.com/premiere-elements/kb/error-error-compiling-movie-render.html
    -and nested sequences http://forums.adobe.com/thread/955172

  • How To solve this date issue

    Hello frenz,
    I have date in xml file as 2010-11-20T00:00:00.000+04:00
    but when I give this in the template as <?format-date:TRUNC_STH.TRAN_DATETIME_;'dd-MON-yyyy'?>)
    I get this date as 10-NOV-2010 but not 11-NOV-2010
    what's wrong pls tell me... has it got anything to do with the GMT

    Do have a look at the blog http://blogs.oracle.com/xmlpublisher/2009/06/how_to_keep_your_dates_from_go.html

  • Transaction failed for unknown reason (100) Unable to complete backup at this time. Does anyone know how to solve this issue?

    Transaction failed for unknown reason (100) Unable to complete backup at this time. Does anyone know how to solve this issue?
    Thanks.

    The system is set up to backup files to the iCloud at the end of the day. This has ot happen for sometime now and the mesaage I get is the back up error.

  • When starting a rental movie, I get the message: "An error occured loading this content, please try again later". Any ideas how to solve this issue?

    When starting a rental movie, I get the message: "An error occured loading this content, please try again later". Any ideas how to solve this issue?

    Firstly, I should have typed speedtest.net previously.
    Now that's an interesting comment you make, out of interest do you have any purchased HD movies in your iTunes collection, if so, do they play on the Apple TV with your new tv.

  • I'm not able to enrol in a iOS developer program as individual. My browser says too many redirects. I'm using the Safari Browser. Please let me know how to solve this issue.

    I'm not able to enrol in a iOS developer program as individual. My browser says too many redirects. I'm using the Safari Browser. Please let me know how to solve this issue.

    Further to my earlier post, I have just read an entry noting that if you already own a domain name, and ask your hosting service to forward and mask your iWeb '08 created, web.mac.com site to your personal domain, chances are that due to the masking of the site on web.mac.com, Safari browsers interpret the masking as being the end of the site, and as such, just return a blank page?
    This may explain the problem. However, call me old fashioned, and possibly a little naive, but surely this cannot be the problem?? It's OK in Firefox!

  • Can't watch video on CNN with IPAD after installation IOS 6 any tip to solve how to solve this issue.

    Can't watch video on CNN with IPAD after installation IOS 6 any tip to solve how to solve this issue.
    Thanks for your support in advance

    I have a few TV type Apps that are doing the same think since the  IOS6 update . I figure the problem is at there end and there will be an update from them soon.

  • How to solve this Data Configuration issue with error message ORA: 01017

    Bad public user name or password. ORA-01017: invalid username/password; logon denied
    How to solve this?

    I'm using JCreator jdk1.5.0_7.But i don't know how
    to use command prompt. When i execute my program, the
    command prompt showed
    Exception in thread "main"
    java.lang.NoClassDefFoundError: StringManipulation
    Press any key to continue...So you managed to compile your code since now you are running it. This error means that the class StringManipulation was not found. Usually an indicator that your classpath is incorrect.
    What did you do to generate this error? That is, how did you execute your program?
    [edit] if you did not compile your code then there is no class file StringManipulation.class and this error will appear.

  • After installing Lion os I cannot see my desktop 1 nor can I see my open windows when I go to finder, I just get the grey/black background that comes with mission control. Any ideas as to how to solve this problem?

    The top picture is what my Desktop 1 looks like. And the picture below is what my desktop looks like after clicking mission control. Ive tried changing wallpapers, changing preferences, etc. and I still can't figure out what's wrong. As you can see, on mission control you can't see any of the open windows, or anything that I have placed on my desktop. Any ideas as to how to solve this issue?

    Hello cor-el, thanks for your reply. I changed my settings for downloads to desktop and it has appeared on there. When I double click I am asked which program I want to open file. I click firefox and another box "opening install" says I have chosen to open the file which is an application and do I want to save it. This is the only real option so I press save file. I get a box saying this is an executable file which may contain viruses - do you want to run. I press ok and the final box showing C drive file name and desktop appears stating application not found.
    This happens the same whenever I try to install.
    To my untrained eye the application is not being recognised as an application and I cannot work out how to get it to do that.
    My plugin is still showing as out of date.
    Is there anything you could suggest. Thanks for your time.

  • Get error message when syching iPod, iPod cannot be synced. You do not have enough access priveleges for this operation.  How to solve this?

    Get error message when syching iPod, iPod cannot be synced. You do not have enough access priveleges for this operation.  How to solve this?

    Hello FranBNYC
    It sounds like a permissions issue with your library, check out the article below to check and make sure that things are set correctly.
    Trouble adding music to iTunes library or importing audio CD
    http://support.apple.com/kb/ts1387
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • I'm using windows 8 on my pc, and i have just downloaded the latest version of itunes, after i upgraded the latest version of itunes, it can't detect my iphone, but my windows/my pc does. Anyone knows how to solve this problem?

    I'm using windows 8 on my pc, and i have just downloaded the latest version of itunes, after i upgraded the latest version of itunes, it can't detect my iphone, but my windows/my pc does. Anyone knows how to solve this problem?

    Hi jstutsman,
    If you are having issues with your iPod nano not being recognized in iTunes after a recent update, you may find the steps and links listed in the following article helpful:
    iPod not appearing in iTunes - Apple Support
    Regards,
    - Brenden

  • My external hard drive will no longer connect to my macpro......any ideas on how to solve this problem??

    My external hard drive will no longer connect to my macbook pro via FW800........Any ideas on how to solve this??

    Reset the SMC, see this Apple note: http://support.apple.com/kb/HT3964
    Also reset the PRAM:
    Shut down the computer.
    Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.
    In most cases, those two actions will fix the port issue. If it's still an issue, you may need to see if the external hard drive can connect to another system, to ensure it's not having problems.

  • Can't update iOS 8 on my iPhone5 through iTunes on Windows 8 (error 3004, 3194). Updated host file, opened port 80, 443; turned off security system and firewall, etc. But nothing works. How to solve this problem?

    Can't update iOS 8 on my iPhone5 through iTunes on Windows 8 (error 3004, 3194). Updated host file, opened port 80, 443; turned off security system and firewall, etc. But nothing works. How to solve this problem?

    Hi the_mad_movies,
    It seems like this article will be the best option for addressing this issue:
    Error 3194, Error 17, or "This device isn't eligible for the requested build"
    http://support.apple.com/kb/ts4451
    Thanks for coming to the Apple Support Communities!
    Cheers,
    Braden

Maybe you are looking for

  • Time Capsule Firmware update 7.4.2 not connecting to Dell 1370

    Having installed the firmware update I now find that one of the PCs on the network, a Dell Inspiron 1300, can no longer connect to the network. Any suggestions or do I have to go back to 7.4.1

  • Message after PCain-Step

    Hi specialists, the process-chain-management makes it possible to send a message after each process-chain-step. It is possible to send different messagess depending on the RC of the step. I expected that the configured message is to be sent to the us

  • Netgear DG834G and WPA

    I am currently using a Netgear DG834G wireless ADSL router with WEP and a PowerBook G4. I am trying to use WPA instead of WEP but I am having no luck. I switch the router over to WPA-PSK and set a password, I then try and connect to it from the PB us

  • OIM 11gR2 - Different "Create User" UI?

    Hello, is it possible to create three different "Create User" interfaces for administrators? I have three types of administrators in different ogranization, which should see three different types of "create users" interfaces? For example: Admin1 can

  • Error 1311 when i try to print

    What do I do about error 1311 when I'm trying to print.  I'm also getting "Verify Operation failed"