How Are Application Clients Run By OC4J?

Since no one seems to have an answer to my post concerning utilizing java.util.Timer and java.util.TimerTask in application clients started automatically by OC4J, I will generalize my question.
If I start the client myself, I would type the following at the command line:
java -jar myClient.jar myArgument
This is fairly obvious. My question is this: how exactly does OC4J automatically start the client assuming a client-module with auto-start="true" in orion-application.xml? I would like as much technical minutiae (e.g. reflection, wrappers involved, etc.)as you can provide since I need to know the gory details if I am to attempt to solve my challenging problem.
Thanks very much for your insight.

When auto-start="true," we are required to provide the a value for the user attribute of client-module. Of course, that is not required when I run the client manually. Is there a user that is understood when I run the client manually? There is a user specified in the jndi.properties in the client jar file, but I am not sure if that refers to the same thing. (I thought that was more to authenticate the client to the EJB container, whereas I imagine the user attribute is for authenticating the user to the client) I am not sure how the users are related if at all, so I would appreciate any insight. Thanks.

Similar Messages

  • How are applications handles when Lion installed?

    How are applications handled when Lion is installed?
    1) Are the standard (i.e. App store, phone booth, iPhoto, iCal, etc) automatically reinstalled?
    2) How is iTunes handled? iMovie?
    3) How is Mail handled? Will it automatically reinstall my Contacts, Mail folders with all of my saved emails?
    4) How are 3rd party Apps handled that are located in the Application folder? in a separately created foldeer?
    5) How is Time Machine handled? with all of its past backups?
    Thanks

    If you install over Snow Leopard, you'll get new default Apple apps.
    iLife, iWork, and 3rd-party apps wont be disturbed (although PPC apps will no longer work).
    Mail will be updated, your stuff will be covered..
    Time Machine just continues on.
    By all means, back up first, just in case something goes wrong.
    Also see: Changes in Lion from Snow Leopard

  • How are some guys running an Athlon 3800+ X2 chip on the K8N Neo4 Platinum SLI?

    I see many people running an AMD Athlon 64 3800+ X2 Dual Core proccessor on a K8N Neo4 Platinum SLI board, but mine dosen't work.  I don't get any signal to my monitor (don't know if this is the cause).  MSI says the 3800+X2 dosen't support the SLI board, but many people got it to work.  Any one know how?

    Mine working fine, but on cold boot, sometime it hang on me. I have changed 3 PSU to get it stable, from Coolermaster 450W, Be Quiet 520W to Silverstone 650W, ambient 25C, CPU 30C, Proc 37C.
    Bios 3.7 the one they are still testing.
    Have you check you PSU rails volt., disable CnQ,....
    So far stable, multiple programs at once with no significant drop in responseness & speed,  Half Life 2, P2P downloading x2, IE x 3, encode DVD at the same time.

  • Application Client 2nd trial

    We have some EJB's running in an OC4J, which are acessed by a Swing client.
    Everything works fine so far.
    Now we want to deploy this client as an APPLICATION-CLIENT to the OC4J and launch it on the client-machine in a CLIENT-CONTAINER.
    The JDeveloper doc says:
    "Oracle9iAS provides full support for J2EE Client applications....
    To know, what the subject is have a look here:
    http://java.sun.com/j2ee/j2ee-1_3-fr-spec.pdf Chapter 9
    http://www.orionserver.com/docs/client-deployment.html
    http://www-3.ibm.com/software/webservers/appserv/doc/v40/ae/infocenter/was/06060007.html
    How is this done for our product?
    How is it supported by JDeveloper ?
    How can i launch my client in an (Oracle) application-client-container against my EJB's hosted by an OC4J ?

    I understand that this thread is quite old, but I'd like to ask if this has ever been answered adequately and, if so, what the answer was?
    As I understand this, Mr. Miller is correct with everything he's said, however I see nothing more than passive mention of the Application Client Container in the Oracle documentation (and it is now May 2006).
    So, is this finally an available feature of the Oracle OC4J container, or is it in the documentation but not actually in the server product?
    If it does exist, I would really be interested in an example.
    Tom Fuller

  • I unable to run ejb with application client using oc4j j2ee container

    Hi,
    I have installe oracle9i (1.0.2.2) oc4j j2ee container.
    I unable to run the ejbs . please help me how to run ejbs with application client and which files are shall configure.
    See the client application is :
    public static void main (String []args)
    try {
    //Hashtable env = new Hashtable();
    //env.put("java.naming.provider.url", "ormi://localhost/Demo");
    //env.put("java.naming.factory.initial", "com.evermind.server.ApplicationClientInitialContextFactory");
    //env.put(Context.SECURITY_PRINCIPAL, "guest");
    //env.put(Context.SECURITY_CREDENTIALS, "welcome");
    //Context ic = new InitialContext (env);
    System.out.println("\nBegin statelesssession DemoClient.\n");
    Context context = new InitialContext();
    Object homeObject = context.lookup("java:comp/env/DemoApplication");
    DemoHome home= (DemoHome)PortableRemoteObject.narrow(homeObject, DemoHome.class);
    System.out.println("Creating Demo\n");
    Demo demo = home.create();
    System.out.println("The result of demoSelect() is.. " +demo.sayHello());
    }catch ( Exception e )
    System.out.println("::::::Error:::::: ");
    e.printStackTrace();
    System.out.println("End DemoClient....\n");
    When I am running client application I got this type of Exception
    java.lang.SecurityException : No such domain/application: sampledemo
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java : 2040)
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java : 1884)
    at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java : 1491)
    at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java : 323)
    at com.evermind.server.rmi.RMIContext.lookup(RMIConext.java : 106)
    at com.evermind.server.administration.LazyResourceFinder.lookup(LazyResourceFinder.java : 59)
    at com.evermind.server.administration.LazyResourceFinder.getEJBHome(LazyResourceFinder.java : 26)
    at com.evermind.server.Application.createContext(Application.java: 653)
    at com.evermind.server.ApplicationClientInitialContext.getInitialContext(ApplicationClientInitialContextFactory.java :179 )
    at javax.naming.spi.NamingManager.getInitialContext(NamingManger.java : 246)
    at javax.naming.InitialContext.getDefaultInitialCtx(InitialContext.java : 246)
    at javax.naming.InitialContext.init(InitialContext.java : 222)
    at javax.naming.InitialContext.<init>(InitialContext.java : 178)
    at DemoClient.main(DemoClient.java : 23)
    .ear file is copied into applications directory.
    I have configured server.xml file like this
    <application name="sampledemo" path="../applications/demos.ear" />
    demos.ear file Contains following files
    application.xml
    demobean.jar
    Manifest.mf
    demobean.jar file contains following files
    application-client.xml
    Demo.class
    DemoBean.class
    DemoHome.class
    ejb-jar.xml
    jndi.properties
    Mainifest.mf
    Please give me your valuable suggestions. Which are shall i configure .
    Thanks & Regards,
    Badri

    Hi Badri,
    ApplicationClientInitialContextFactory is for clients which got deployed inside OC4J container..
    For looking up EJB from a stand alone java client please use RMIInitialContextFactory..So please change ur code....
    Also please check ur server.xml
    Since you have specified your ejb domain as "sampledemo"
    you have to use that domian only for look up..But it seems that you are looking up for "Demo" domain instead of "sampledemo" domain...So change your code to reflect that..
    Code snippet for the same is :
    Hashtable env = new Hashtable();
    env.put("java.naming.provider.url", "ormi://localhost/sampledemo");
    env.put("java.naming.factory.initial", "om.evermind.server.rmi.RMIInitialContextFactory");
    env.put(Context.SECURITY_PRINCIPAL, "guest");
    env.put(Context.SECURITY_CREDENTIALS, "welcome");
    Context ic = new InitialContext (env);
    Hope this helps
    --Venky                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to run a pure java application client with ear deployed on 9ias

    Hello all,
    We want to run a pure java application client which is packed with target bean in the same ear file. In the application-client.xml we refer to some EJBs.
    We deployed the ear file which contains ejb jar module and application client module to oracle 9ias 904 through enterprise manager on unix. The jndi.properties we used looks like this
    java.naming.factory.initial=com.evermind.server.rmi.ApplciationClientInitialContextFactory
    java.naming.provider.url=opmn:ormi://opmn_host:opmn_port:oc4j_instance_name/application_name
    java.naming.security.principal=test
    java.naming.security.credentials=test
    Is there anybody knows how to run such an application client? Do we need to provide such a jndi.properties or not at all?
    Thanks,
    9ias user

    Refer OpenEJB User - Oracle ADF Essential and TomEE+
    Also refer Bug in tomee 1.5.2. Fixed in 1.6.
    https://issues.apache.org/jira/browse/TOMEE-756

  • How to run application client of an EJB application?

    Hi,
    My EJB application is deployed on websphere. I have written a small java client program to interact with an EJB which is working fine if I compile and run it in websphere studio environment.
    However I am getting runtime exception when I tried to run it at command line.
    RemoteConn.java
    import java.util.Hashtable;
    import com.deque.HelloJavaHome;
    import com.deque.HelloJava;
    import javax.naming.InitialContext;
    import javax.naming.Context;
    import javax.ejb.EJBHome;
    import javax.ejb.EJBObject;
    public class RemoteConn {
    public static void main(String[] ar) throws Exception{
    String name="Paruchuri!!";
    String greeting = "";
    try{
    Hashtable env = new Hashtable();
    //env.put(Context.INITIAL_CONTEXT_FACTORY, "com.ibm.websphere.naming.WsnInitialContextFactory");
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.ibm.ws.naming.util.WsnInitCtxFactory");
    env.put(Context.PROVIDER_URL, "iiop://localhost:2809");
    InitialContext initContext = new InitialContext(env);
    Object obj = initContext.lookup("ejb/HelloJavaHome");
    HelloJavaHome home = (HelloJavaHome) javax.rmi.PortableRemoteObject.narrow(obj, HelloJavaHome.class);
    HelloJava remote = home.create();
    greeting = remote.getGreeting(name);
    catch(Exception e){
    e.printStackTrace();
    System.out.println("Greeting::"+ greeting);
    I have set the application ejb client jar in the class path of client program.
    The exception I am getting at runtime is
    Exception in thread "main" java.lang.NoClassDefFoundError: com.ibm.CORBA.iiop.GlobalORBFactory
    at com.ibm.ejs.oa.EJSORBImpl.class$(EJSORBImpl.java:44)
    at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:195)
    at com.ibm.ejs.oa.EJSClientORBImpl.(EJSClientORBImpl.java:93)
    at com.ibm.ejs.oa.EJSClientORBImpl.(EJSClientORBImpl.java:65)
    at com.ibm.ejs.oa.EJSORB.init(EJSORB.java:385)
    at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:284)
    at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:369)
    at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:112)
    at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:422)
    at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:143)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at RemoteConn.main(RemoteConn.java:38)
    Initially I thought I shuold set some jar file of websphere in the classpath of client. But I did not find such a jar containing the above class in websphere studio.
    Basically the error is generated at the below statement at runtime.
    Object obj = initContext.lookup("ejb/HelloJavaHome");
    The only difference I discovered was that the client application has a descriptor file (application-client.xml ) available to it when it ran in websphere studio,. I guess the same META-INF should be provided to client when it runs at command line.
    Right now I am not using any client descriptor file to run the client program. If the above error is due to not supplying META-INF to the client application, how should I make this folder available to client at runtime?
    I greatly appreciate if I could get help ASAP.
    Thanks

    Hey got what is going on. In order to invoke EJB, deployed on WebSpehre App Server, from application client we need to install either WebSphere Application Pluggable Client or WebSphere Thin client on the workstation. Pluggable client is a wrapper to SUN JRE where as Thin Client uses IBM JRE.

  • How to run a application client in jboss?

    Hi guys i'm new to EJB and may have some qns to ask.
    I have create ejb java files, compile and package it as jar. Next i also create the .jsp pages and package it as war. I package the war and jar together with the xml files for deployment. The file works.
    Now i create a java file as an application client along with the application-client.xml file. Next i jar both the class and xml files together.
    Now , how am i going to run the client class file to produce the results since its jar up. I using jboss 4.0 to run the application.
    thanks
    Regards ChongMing

    Your J2SE client code should simply look up the required EJB homes using JNDI, and use the client interface to execute the EJB code. The example interfaces ejb.interfaces.SimpleHome and ejb.interfaces.Simple need to be packaged into the client JAR and placed in the classpath of test.java
    Example:
    import javax.ejb.EJBException;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import javax.rmi.PortableRemoteObject;
    import ejb.interfaces.SimpleHome;
    import ejb.interfaces.Simple;
    public class test {
        public static void main(String[] args) {
            try {
                 InitialContext ctx = new InitialContext();
                 SimpleHome home = PortableRemoteObject.narrow(ctx.lookup("ejb/Simple"), SimpleHome.class);
                 Simple simple = home.create(); // or findByPrimaryKey(), etc.
                 simple.aMethod();
            } catch (NamingException ne) {
                // unable to look up SimpleHome
            } catch (EJBException ejbe) {
               // generic EJBException, maybe something went wrong with Simple?
            } catch (ClassCastException cce) {
               // SimpleHome was of the wrong type
    }I may have screwed up the JNDI lookup, as I might not be getting the context correctly, but I usually don't call EJB code from the command line. If I'm wrong, the only thing that will change is that ctx will have to be initialized differently. The rest should work the same.
    Brian

  • How to create and run J2EE application client for Hello World EJB

    Hi
    I am new to NWDS EJB deployment.I have created a "Hello World" bean. But how to deploy it and run using a J2EE application client step by step.
    Also please help in the steps of the deploy tool.
    Thanks in Advance

    Hi Ananda
    Check this link,
    http://help.sap.com/saphelp_nw04/helpdata/en/55/600e64a6793d419b82a3b7d59512a5/content.htm
    cheers
    Sameer

  • How can i run application client from the command prompt ?

    Hi,
    I'm new to java & EJB. so can any body tell me the command to run the application client from the command prompt. Here is the code to print hello world:
    /* Remote interface */
    public interface Hello extends javax.ejb.EJBObject
         public String hello() throws      java.rmi.RemoteException;
    /* Home interface */
    public interface HelloHome extends javax.ejb.EJBHome
         Hello create() throws java.rmi.RemoteException, javax.ejb.CreateException;
    /* Stateless session bean class */
    public class HelloBean implements javax.ejb.SessionBean
         private javax.ejb.SessionContext ctx;
         public void ejbCreate(){
              System.out.println("ejbcreate()");
         public void ejbRemove(){
              System.out.println("ejbRemove()");
         public void ejbActivate(){
              System.out.println("ejbActivate()");
         public void ejbPassivate(){
              System.out.println("ejbejbPassivate()");
         public void setSessionContext(javax.ejb.SessionContext ctx){
              this.ctx=ctx;
         public String hello(){
              System.out.println("hello()");
              return "Hello, world!";
    /*Client class */
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import java.util.Properties;
    public class HelloClient
         public static void main(String[] args) throws Exception{
              Properties props=System.getProperties();
              Context ctx=new InitialContext(props);
              Object obj=ctx.lookup("HelloHome");
              HelloHome home=(HelloHome)javax.rmi.PortableRemoteObject.narrow(obj,HelloHome.class);
              Hello hello=home.create();
              System.out.println(hello.hello());
              hello.remove();
    I have stored .java files in c:\ejb
    I have successfully created the .class files using javac command in the following directory :
    c:\ejb
    I have also created Helloworld.ear file in c:\ejb using sun application server which contains the following files:
    ejb-jar-ic.jar
    app-client-ic.jar
    sun-j2ee-ri.project
    application.xml
    sun-application.xml
    Manifest.mf
    But the problem is that i'm not able to run the HelloWorld.class file successfully from the command prompt. So please suggest me the comand.
    Thanx in advance.
    Best regards,
    Pankaj

    Hi
    You can run this code from the command prompt in the same way as you run any other simple java program. The only thing is you need to set the Home and Local interfaces in the classpath.And obviously if u had deployed the bean in ur app server container, then its all over.
    And one more thing is that u need to set the provider URL in the InitialContext created in the client program.
    Thanks
    Arun B

  • How to minimize Client-Server Round-trip in ADF Faces application ?

    Hi All,
    We have just finished POC on our prototype of ADF Faces + ADF BC application. The POC Emphasizes on Bandwidth requirement.
    After receing the result from the communication provider, including : TCP packets send, Bytes sent from/to server and number of Client-Server Round-Trip.
    There are several part of the application that Must be tuned for the application to run on acceptable performance.
    Here is some page/ function that should be tuned :
    - First page, ADF Read Only Table with two images and some buttons, cause 5 round-trip
    - ADF Dialog Returning Value (as LOV), cause 4 Round-trips
    - On ADF Form, press Commit button, cause 3 Round-trips.
    So the question is :
    1) How to reduce round-trips on ADF Faces application ?
    2) How to minimize the bytes send from / To server on a specific user action ?
    Please give me some recommendation..
    Thank you very much,
    xtanto

    Hi Frank and Steve,
    Thank you for your reply.
    Yes Frank, what I mean by Round-Trip is the traffic between Client and the Server. And Yes, we will use VSAT where the latency is 1 - 1.5 second, so that round-trip matters significantly.
    What I will do is :
    - use minimal skin and No image at all
    - don't use Dialog for LOV because it requires AutoSubmit there.
    - Use 'Apply-Changes' button to do server-side validation before Commit.
    Then do the POC / testing again.
    Thank you,
    xtanto

  • How to start Flash Media Encoder 3.2 from Flex application with run time parameters?

    Hello ,
    I'm developing the application to stream High Quality video.While streming by default camera/microphone settings the qulaity of streaming is not upto my expected level.I want to stream through Flash Media Encoder.My aim is the user login to the application.Video/audio qulaity details are retrived from shared object stored in the client machine.The login user name only gathered at run time & it will be the streaming profile name to Encoder.Once the the Encoder started the outgoing video will be come into screen to client.Please guide me How to start Flash Media Encoder 3.2 from Flex application with run time parameters(User name as  streaming name) without manually start the FME?
    Thanks in advance.
    Regards
    Sasharyuva

    Hi MarcSaphiron,
    Could you please send the samples?It will be much helpful to complete my
    job within the deadline.
    Thanks in advance.
    Regards,
    Sasharyuva

  • Integrating java application running on OC4J server with EP Iview

    Hi,
         I Want to Integrate Java Application running on OC4J server with my Enterprise portal
    Can any one please help me out in this??
    Regards
    Padma N

    Hi Padma
    Its possible to integrate a java application running in the other server with enterprise portal.In portal i think there is a IView template call Java application template.Using this generally we can do this.But in you case what type of a java application is it?Just a class or webapplication or a server side application.This you can also acheive using a webdynpro applications as these are very flexible with integration into EP.In webdynpro you can use suspend and resume plugs to navigate from one application to other application.I have given my ideas how to implement.But integration mainly depends upon your landscape and version compatibilities and type of the application you need to integrate.
    Hope this answer helps you in implementation.
    Regards
    Kalyan

  • Application running in OC4J (10.1.3.4)Getting issue in OC4J (10.1.3.5) Ver.

    Hi,
    Below log issue appearing while deploying same application running in OC4J (10.1.3.4 Getting issue in with OC4J (10.1.3.5) .
    Tried importing relevant jar files into our application library
    backport-util-concurrent-3.1.jar
    com.springsource.edu.emory.mathcs.backport-sources-2.2.0.jar
    clover-2.4.2.jar
    js-14.jar
    Still issue is not resolved, Any one please advice, We are using Spring, Struts 1.2 and Hibernate 3.0 in this applicaiton.
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    at java.lang.Thread.run(Thread.java:595)
    02-14@07:49:28 DEBUG (ClassUtils.java:164) - Class [edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap] or one of its dependencies is not present: oracle.classloader.util.AnnotatedClassNotFoundException:
    Missing class: edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
    Dependent class: org.springframework.util.ClassUtils
    Loader: fzgpdtp.web.fzgpdtp:0.0.0
    Code-Source: /u01/app/oracle/product/oas/1013/j2ee/FZGPExternal/applications/fzgpdtp/fzgpdtp/WEB-INF/lib/spring-2.5.2.jar
    Configuration: WEB-INF/lib/ directory in /u01/app/oracle/product/oas/1013/j2ee/FZGPExternal/applications/fzgpdtp/fzgpdtp/WEB-INF/lib
    This load was initiated at fzgpdtp.web.fzgpdtp:0.0.0 using the loadClass() method.
    The missing class is not available from any code-source or loader in the system.
    02-14@07:49:28 INFO (ContextLoader.java:188) - Root WebApplicationContext: initialization started
    02-14@07:49:28 INFO (AbstractApplicationContext.java:412) - Refreshing [email protected]18d085a: display name [Root WebApplicationContext]; startup date [Tue Feb 14 07:49:28 GST 2012]; root of context hierarchy
    02-14@07:49:28 INFO (XmlBeanDefinitionReader.java:309) - Loading XML bean definitions from class path resource [../config/services-applicationContext.xml]
    02-14@07:49:29 ERROR (ContextLoader.java:214) - Context initialization failed
    java.lang.NullPointerException: name
    at java.util.zip.ZipFile.getEntry(ZipFile.java:247)
    at java.util.jar.JarFile.getEntry(JarFile.java:204)
    at java.util.jar.JarFile.getJarEntry(JarFile.java:187)
    at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:674)
    at sun.misc.URLClassPath.getResource(URLClassPath.java:161)
    at sun.misc.URLClassPath.getResource(URLClassPath.java:213)
    at java.lang.ClassLoader.getBootstrapResource(ClassLoader.java:1113)
    at java.lang.ClassLoader.getResource(ClassLoader.java:974)
    at oracle.classloader.PolicyClassLoader.findJREResource(PolicyClassLoader.java:1233)
    at oracle.classloader.JVMSearchPolicy.findResource(JVMSearchPolicy.java:36)
    at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
    at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
    at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
    at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
    at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
    at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
    at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
    at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
    at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
    at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
    at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
    at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
    at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
    at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
    at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
    at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
    at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
    at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
    at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
    at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
    at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
    at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
    at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
    at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
    at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
    at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
    at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
    at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
    at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
    at oracle.classloader.PolicyClassLoader.getResource(PolicyClassLoader.java:1763)
    at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1159)
    at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:139)
    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:322)
    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:296)
    at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
    at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
    at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
    at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
    at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)
    at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
    at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:423)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:353)
    at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:254)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:198)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
    at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1279)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:848)
    at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:435)
    at com.evermind.server.Application.getHttpApplication(Application.java:592)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2280)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2199)
    at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1833)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:304)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:120)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:92)
    at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:825)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:276)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:100)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    at java.lang.Thread.run(Thread.java:595)
    02-14@08:17:17 INFO (ContextLoader.java:188) - Root WebApplicationContext: initialization started
    02-14@08:17:17 INFO (AbstractApplicationContext.java:412) - Refreshing [email protected]f20d33: display name [Root WebApplicationContext]; startup date [Tue Feb 14 08:17:17 GST 2012]; root of context hierarchy
    02-14@08:17:18 INFO (XmlBeanDefinitionReader.java:309) - Loading XML bean definitions from class path resource [../config/services-applicationContext.xml]
    02-14@08:17:18 ERROR (ContextLoader.java:214) - Context initialization failed
    java.lang.NullPointerException: name
    at java.util.zip.ZipFile.getEntry(ZipFile.java:247)
    at java.util.jar.JarFile.getEntry(JarFile.java:204)
    at java.util.jar.JarFile.getJarEntry(JarFile.java:187)
    at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:674)
    at sun.misc.URLClassPath.getResource(URLClassPath.java:161)
    at sun.misc.URLClassPath.getResource(URLClassPath.java:213)
    at java.lang.ClassLoader.getBootstrapResource(ClassLoader.java:1113)
    at java.lang.ClassLoader.getResource(ClassLoader.java:974)
    at oracle.classloader.PolicyClassLoader.findJREResource(PolicyClassLoader.java:1233)
    at oracle.classloader.JVMSearchPolicy.findResource(JVMSearchPolicy.java:36)
    at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
    at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
    at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
    at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
    at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
    at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
    at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
    at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
    at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
    at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
    at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
    at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
    at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
    at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
    at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
    at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
    at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
    at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
    at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
    at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
    at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
    at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
    at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
    at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
    at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
    at oracle.classloader.PolicyClassLoader.askParentForResource(PolicyClassLoader.java:1405)
    at oracle.classloader.SearchPolicy$AskParent.findResource(SearchPolicy.java:78)
    at oracle.classloader.SearchSequence.findResource(SearchSequence.java:142)
    at oracle.classloader.PolicyClassLoader.getResourceUsingPolicy(PolicyClassLoader.java:1490)
    at oracle.classloader.PolicyClassLoader.getResource(PolicyClassLoader.java:1763)
    at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1159)
    at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:139)
    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:322)
    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:296)
    at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
    at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
    at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
    at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
    at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)
    at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
    at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:423)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:353)
    at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:254)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:198)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
    at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1279)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:848)
    at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:435)
    at com.evermind.server.Application.getHttpApplication(Application.java:592)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2280)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2199)
    at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1833)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:304)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:120)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:92)
    at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:825)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:276)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:100)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    at java.lang.Thread.run(Thread.java:595)
    02-14@08:26:01 INFO (ContextLoader.java:188) - Root WebApplicationContext: initialization started
    02-14@08:26:02 INFO (AbstractApplicationContext.java:412) - Refreshing [email protected]125560f: display name [Root WebApplicationContext]; startup date [Tue Feb 14 08:26:02 GST 2012]; root of context hierarchy
    02-14@08:26:02 INFO (XmlBeanDefinitionReader.java:309) - Loading XML bean definitions from class path resource [../config/services-applicationContext.xml]

    Hi there,
    Check for jars you are importing with JVM. The version of jre and its compatibility with imported jars.
    Hope it helps !
    Reg,
    MS

  • Does anyone know of a VI or how to go about writing one that will prevent the computers time/date from being disabled while an application is running.

    Does anyone know of a VI or how to go about writing one that will prevent the computers clock/time from being disabled while an application is running. The time and date can normally be reset while an application is running by clicking on the time/date in the lower right-hand corner of the computer screen. I have an application that runs over several days and it is critical that the time and date of the computer not be changed. Is there an easy way to lock this out from the user? Note that I am what I consider an advanced beginner in LV.
    Thank you,
    Chuck
    Solved!
    Go to Solution.

    That is not something you can do from LabVIEW, as it is an operating system operation, and it will depend on the operating system that you're using. On Windows you can use a group policy to control this. Please Google on "prevent time and date change in windows".
    Also, please try to refrain from stuffing your entire message in the subject block. Keep the subject short, but descriptive enough so it can be understood what you are basically asking. Thanks.

Maybe you are looking for