Running a J2EE project on WAS at a regular interval

I am going create a EJB project to poll (or check) any change in a DB and do some business logic or mapping everytime when the DB is changed. So, my question is how I can configure this project to run at a regular interval, says 5 mins?
Since my WebSphere is running on J2EE 1.3 so I cannot use Timer approach which is available on EJB running on J2EE 1.4.
Also, no client is needed to invoke the program, meaning that there is no client to call the remote interface of EJB

Ok, you have your servlet defined, but now you should map it using mapping tags. Try editing your web.xml file as follows (adding mapping):
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
  <display-name>EmpDtlsWarDisp</display-name>
  <servlet>
    <display-name>EmpDtlsWebDisp</display-name>
    <servlet-name>EmpDtlsWebComp</servlet-name>
    <servlet-class>tshot.EmpDtls</servlet-class>
  </servlet>
  <servlet-mapping>
    <servlet-name>EmpDtlsWebComp</servlet-name>
    <url-pattern>/EmpDtls</url-pattern>
  </servlet-mapping>
</web-app>Note the adding of "tshot." in front of your EmpDtls in your servlet-class tag.
This means you need to create a directory in your src location called "tshot", move your EmpDtls.java into the new directory, and then edit that java file, placing the following line at the top of it:
package tshot;Once you have re-built and re-deployed this you should be able to access your servlet at:
http://localhost:8080/EmpDtlsCx/EmpDtls
Refactoring is a term used to mean you've decided to change the name of a variable, method or some alteration of your java file such as changing package names (or adding to a package in this case) whereby the results may or may not affect other classes which depend on this class. Typically, nowadays refactoring is usually done by selecting a refactoring command from a menu item or button within an IDE (Integrated Development Environment) whereby the IDE performs all of the dependancy checking for you and copies the change to affected areas where necessary. Thus, all you need to do is choose the right refactoring operation and click "Ok" in most cases. In the old days, you would have to keep track of all affected areas and manually edit where necessary, based on your imposed change.

Similar Messages

  • Running j2ee project in netbeans

    Hi,
    I have developed an j2ee project in netbeans 6.5.1. But I have a problrm in deploying this. When I build and run the project I got the following error.
    Deploying application in domain completed successfully
    Rollback completed successfully
    Trying to create reference for application in target server  failed; Bad File parameter in AppDD ctor: E:\project_eps\esubApplication\dist\gfdeploy
    E:\project\EPS\EPS-war\nbproject\build-impl.xml:556: The module has not been deployed.
    BUILD FAILED
    My project is in the folder E:\Project\EPS...
    But it is showied a reference to another project E:\project_eps\esubApplication. Then I removed this application along with all its sub contenets. Now when I run the project it shows a link to another project EPS1 like this
    Deploying application in domain completed successfully
    Rollback completed successfully
    Trying to create reference for application in target server failed; Cannot find application.xml. Searched for: E:\project_eps\EPS1\dist\gfdeploy\META-INF\application.xml -- perhaps this is not an Application?
    E:\project\EPS\EPS-war\nbproject\build-impl.xml:556: The module has not been deployed.
    BUILD FAILED
    Now I removed EPS1 project also. But still I'm getting the same error.
    My earlier proograms including esubapplication & EPS1 ran successfully.
    Please tell me what is the problem and how to set it. Thanks in advance.

    Hi Louis,
    You can do it by creating a URL iView for that you need to have content administration rights on portal then you can create URL iView in Portal Content Directory (PCD) and then you can attach it to a page or workset or to a role and then give that role authorization to rquired user.
    Ninad

  • How to run the ejb project in j2ee server

    How to run the EJB project.
    I give like
    java conveterClient converterClient.jar
    here conveterClient is class file name and converterClient.jar is deployed file
    like wise i give some exception is come
    give some help pls friends

    Navigate to the "DBOrders" module in the catalog, right click on the "ORDERS" database below and click "Export Schema Stucture". That will produce a file containing the DML needed to create the database

  • Problem intregrating Flash help usingRobohelp 8.0 into J2EE project

    Hi,
    I have am working on J2EE project and I have a small issue with getting Flash to run off my localhost server.  I have managed to get the webhelp working but I want to see what the help looks like using flash. I am getting and error when I am trying load the index file:
    "invalid path was requested /application/FlashHelp/whproj"
    I am using have Apache 6.0, struts 1.2.  It loads from the hard drive in both IE and FIrefox but not when I am running from the server.  When running on localhost in Firefox it loads the righthand contents page but none of the dynamic content.  In IE8 it load nothing at all (I assume because it doesn't know what to do after the error is thrown).
    Can anyone shed some light on this topic?
    thanks

    The problem is solved.  The apache server was filtering out .xml files so it was not loading whproj.xml thus all the other *.xml and subsequent flash objects were not loading.  That was only 2 days of trial and error.

  • Debugging a j2ee project

    -->i have getting assignment to debug the j2ee project .
    -->but i am unable to capture jsp related errors.
    -->how can I debugg project by which I can eliminate errors related jsp from my project.
    -->while I am using ecllipse editor .
    Message was edited by:
    amit.cnb

    If you have a jsp file called Commands.jsp, when you display the jsp page in a browser, it gets compiled into a java servlet called Commands_jsp.java (search for a similiarly named java for for whatever your jsp file is called). If you open that file, you will see the java code generated is quite complicated and even if you can set a breakpoint within it, you cant find where to put the breakpoint. Therefore breakpoints will not help.
    What I do is comment out most of the tags and scriptlets in the jsp file and run the code. When that part of the file is working, I uncomment out the next section of code and try to get that to work.
    An alternative is to crate an empty jsp file and copy pieces of the original jsp file into it piece by piece, verifying each piece before moving onto the next piece.
    The following java scriptlet placed in your jsp file will print out a java object's value to the browser page shown in your browser:
    <% out.write("some value"); %> (((out is one of the objects implicidly available to you on teh jsp page))))
    There may be a product that allows you to set breakpoints in the jsp file (and not the java file generated for that jsp file), but I never saw one yet.

  • Error while running a J2EE application on Oracle10gAS

    Hi,
    I am receiving an error when trying to run a J2EE application on Oracle10gAS. The application runs successfully on Oracle9iAS, but throws the following exception on 10g application server:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <SOAP-ENV:Body>
    - <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server.Exception:</faultcode>
    <faultstring>com.evermind.server.rmi.OrionRemoteException: Error in createInstance(): null; nested exception is: java.lang.NoClassDefFoundError</faultstring>
    <faultactor>/STAR-TicketBroker-context-root/TicketBrokerWS</faultactor>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Does anyone have any idea why I would be receiving this
    error? We are using Session EJBs in our J2EE application. Are there any changes needed in the code in order to migrate a J2EE application from 9i to 10g ???
    Please help.
    Thanks,
    -Prashant

    Hi Somil,
    I've just had this same error message, and it was because I had a bogus character in my JSP sources.  I'd cut-and-pasted the text from a Word document, and it included the "registered trademark" sign (an R in a circle) as a single character.  This worked in my test environment, but not in my production environment (where presumably the default encoding is different).  I replaced the character with the equivalent HTML entity &amp;reg; (ie. the five characters & r e g ; ) and it all worked.
    Have a look through the offending JSPs and see whether you have any characters that might be incompatible with your default encoding (anything that isn't plain old 7-bit ASCII is potentially a problem).  Change them to HTML entities and you should be fine.
    Hope this helps,
    Richie

  • Getting a runtime error when running the test project

    I was running a test project which did execute without any problems. Then I added 2 extra DLLs and wrote some code as well. After that I got the below specified run time error. Though I removed those DLLs and new code still it doesn't run. This was running
    fine though. Please advice.
    Warning: Test Run deployment issue: The assembly or module 'Npgsql' directly or indirectly referenced by the test container 'g:\services\communityservice\communityservicetest\bin\release\communityservicetest.dll' was not found.
    Warning: Test Run deployment issue: The assembly or module 'IBM.Data.DB2' directly or indirectly referenced by the test container 'g:\services\communityservice\communityservicetest\bin\release\communityservicetest.dll' was not found.
    Warning: Test Run deployment issue: The assembly or module 'Oracle.DataAccess' directly or indirectly referenced by the test container 'g:\services\communityservice\communityservicetest\bin\release\communityservicetest.dll' was not found.
    mayooran99

    @Mayooran99,
    I agree with Andy. By the way, when you build a new test project and if you want to add dll to your project, please make sure you will follow this article:
    https://msdn.microsoft.com/en-us/library/wkze6zky.aspx
    When you use Add reference dialog please don't forget to set copy local to true.(By default I think new project will not have this problem, the reason may like Andy mentioned that you still have some references to those two dlls when you removed them)Best
    regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Running eclipse java project on command prompt

    Hi all,
    I have one simple java project and that is very well running in eclipse. I have added some external JARs to that project. It performs this job- it creates connection to server, and listens to the signals from server.
    My question is - how do I run that java project on command prompt?*
    I want to run that using ANT or simply I want to make a JAR file so I can execute JAR on command prompt. I created JAR, but it doesn't contain external jar which I added to the project. So I was not able to run that project.
    Can you please tell me any of the method - using ANT or by making JAR?
    Also can you be little bit more explanatory in reply?
    Thanks

    I want to make a JAR file so I can execute JAR on command prompt.This is very likely a good way to proceed. It is explained in great detail in Sun's Tutorial in the section on [Packaging Programs in JAR Files|http://java.sun.com/docs/books/tutorial/deployment/jar/index.html].
    I created JAR, but it doesn't contain external jar which I added to the project. So I was not able to run that project.Yes - the jar file you create has to know about the classes and other resources in that external jar. Otherwise, at runtime, the program will not be able to get at the stuff it needs. Usually you don't include that other jar (or its contents) in the jar file you are creating. Instead you provide your jar file with a manifest that describes the other jar's location. Details are also in the tutorial.
    One thing to note is that Sun's tutorial provides a lot of explanatory, conceptual, material. To that end it keeps the context simple and transparent by describing the steps as they would be carried out by someone working at the command line. The Eclipse documentation and forums might provide a more click-this-drag-that "explanation". If you do follow the method in the Tutorial and get stuck, post a description of the actual commands you used and their outcome.

  • DNS Error shown when running the Webdynpro project

    Hi All
       When ever i try to run the webdynpro project i am getting the Error
    Bad Gateway
    The following error occurred:
    [code=DNS_HOST_NOT_FOUND] The host name was not found during the DNS lookup. Contact your system administrator if the problem is not found by retrying the URL.
    And also in SMMC when i click on Blue node the same error is shown.
    The Host name in which i have installed the WAS is right.
    How do i rectify it.
    Regards,
    Vijaya.

    Hi Vijaya,
    This could be problems with the static and dynamic IPs.
    Try ping command
    1. ping -a IPADDRESS
    2. ping HOSTNAME
    The above two commands should resolve to same machine.
    If not the system administrator should delete the entry in DNS.
    Regards, Anilkumar

  • Flex and J2EE project

    Trying to create a Flex J2EE project in Eclipse when I get to
    the Server setup the wizard wants the location of the Flex war
    file. I give it the name of my project, still an error What's the
    problem here.
    Shouldn't the wizard setup an new project war file?

    Root folder:
    X:\server\mycompany\deploy\flex.war
    Where X:\ is actually a drive on your server. Use C:\ D:\ or
    E:\ if you run LCDS on your dev machine. In my case, X:\ is a Samba
    connection to a Linux drive on my server where LCDS is installed.
    Root URL:
    http://hostname.int.mycompany.com/flex
    E.g if you installed JBoss on your dev machine, use
    http://localhost:8080/flex
    Context root:
    /flex

  • A problem with Lucene In a J2EE project

    Hi everyone:
    I am newer for Lucene which is used to build a search eigneer in my J2EE project.
    But I can hardly understand how it works because of my poor English.
    So I need you help:
    * TxtFileIndexer.java
    * Created on 2006�N12��8��, ����3:46
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package classes.php.lucene;
    * @author eingmarra
    import java.io.File;
    import java.io.FileReader;
    import java.io.Reader;
    import java.util.Date;
    import org.apache.lucene.analysis.Analyzer;
    import org.apache.lucene.analysis.standard.StandardAnalyzer;
    import org.apache.lucene.document.Document;
    import org.apache.lucene.document.Field;
    import org.apache.lucene.index.IndexWriter;
    import org.apache.lucene.index.Term;
    import org.apache.lucene.search.Hits;
    import org.apache.lucene.search.IndexSearcher;
    import org.apache.lucene.search.TermQuery;
    import org.apache.lucene.store.FSDirectory;
    public class TxtFileIndexer {
         public String test() {
              return "test is ok hohoho";
          * @param args
         public String createIndex(String indexDir_path,String dataDir_path) throws Exception {
              String result = "";
              File indexDir = new File(indexDir_path);
              File dataDir = new File(dataDir_path);
              Analyzer luceneAnalyzer = new StandardAnalyzer();
              File[] dataFiles = dataDir.listFiles();
              IndexWriter indexWriter = new IndexWriter(indexDir,luceneAnalyzer,true);
              long startTime = new Date().getTime();
              for(int i=0; i < dataFiles.length; i++) {
                   if(dataFiles.isFile() && dataFiles[i].getName().endsWith(".html")) {
                        result += "Indexing file" + dataFiles[i].getCanonicalPath()+"<br />";
                        Document document = new Document();
                        Reader txtReader = new FileReader(dataFiles[i]);
                        document.add(Field.Text("path",dataFiles[i].getCanonicalPath())); //can not pass the Netbeans IDE, maybe the Field class is not support the signature of the fuction Text anymore!!
                        document.add(Field.Text("contents",txtReader)); //can not pass the Netbeans IDE, maybe the Field class is not support the signature of the fuction Text anymore!!
                        indexWriter.addDocument(document);
              indexWriter.optimize();
              indexWriter.close();
              long endTime = new Date().getTime();
              result += "It takes"+(endTime-startTime)
                        + " milliseconds to create index for the files in directory "
                        + dataDir.getPath();
              return result;
         public String searchword(String ss,String index_path) throws Exception {
         String queryStr = ss;
         String result = "Result:<br />";
         //This is the directory that hosts the Lucene index
    File indexDir = new File(index_path);
    FSDirectory directory = FSDirectory.getDirectory(indexDir,false);
    IndexSearcher searcher = new IndexSearcher(directory);
    if(!indexDir.exists()){
         result = "The Lucene index is not exist";
         return result;
    Term term = new Term("contents",queryStr.toLowerCase());
    TermQuery luceneQuery = new TermQuery(term);
    Hits hits = searcher.search(luceneQuery);
    for(int i = 0; i < hits.length(); i++){
         Document document = hits.doc(i);
         result += "<br /><a href='getfile.php?w="+ss+"&f="+document.get("path")+"'>File: " + document.get("path")+"</a>\n";
    return result;
    the code above is from google and it works perfectly in the Lucene1.4. But it not pass the compiler by Netbeans IDE because I use Lucene2.0
    If you have some idea,plz replace these two lines' code with the correct ones.
    Thanks a lot !!

    Hi everyone:
    I am newer for Lucene which is used to build a search eigneer in my J2EE project.
    But I can hardly understand how it works because of my poor English.
    So I need you help:
    * TxtFileIndexer.java
    * Created on 2006�N12��8��, ����3:46
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package classes.php.lucene;
    * @author eingmarra
    import java.io.File;
    import java.io.FileReader;
    import java.io.Reader;
    import java.util.Date;
    import org.apache.lucene.analysis.Analyzer;
    import org.apache.lucene.analysis.standard.StandardAnalyzer;
    import org.apache.lucene.document.Document;
    import org.apache.lucene.document.Field;
    import org.apache.lucene.index.IndexWriter;
    import org.apache.lucene.index.Term;
    import org.apache.lucene.search.Hits;
    import org.apache.lucene.search.IndexSearcher;
    import org.apache.lucene.search.TermQuery;
    import org.apache.lucene.store.FSDirectory;
    public class TxtFileIndexer {
         public String test() {
              return "test is ok hohoho";
          * @param args
         public String createIndex(String indexDir_path,String dataDir_path) throws Exception {
              String result = "";
              File indexDir = new File(indexDir_path);
              File dataDir = new File(dataDir_path);
              Analyzer luceneAnalyzer = new StandardAnalyzer();
              File[] dataFiles = dataDir.listFiles();
              IndexWriter indexWriter = new IndexWriter(indexDir,luceneAnalyzer,true);
              long startTime = new Date().getTime();
              for(int i=0; i < dataFiles.length; i++) {
                   if(dataFiles.isFile() && dataFiles[i].getName().endsWith(".html")) {
                        result += "Indexing file" + dataFiles[i].getCanonicalPath()+"<br />";
                        Document document = new Document();
                        Reader txtReader = new FileReader(dataFiles[i]);
                        document.add(Field.Text("path",dataFiles[i].getCanonicalPath())); //can not pass the Netbeans IDE, maybe the Field class is not support the signature of the fuction Text anymore!!
                        document.add(Field.Text("contents",txtReader)); //can not pass the Netbeans IDE, maybe the Field class is not support the signature of the fuction Text anymore!!
                        indexWriter.addDocument(document);
              indexWriter.optimize();
              indexWriter.close();
              long endTime = new Date().getTime();
              result += "It takes"+(endTime-startTime)
                        + " milliseconds to create index for the files in directory "
                        + dataDir.getPath();
              return result;
         public String searchword(String ss,String index_path) throws Exception {
         String queryStr = ss;
         String result = "Result:<br />";
         //This is the directory that hosts the Lucene index
    File indexDir = new File(index_path);
    FSDirectory directory = FSDirectory.getDirectory(indexDir,false);
    IndexSearcher searcher = new IndexSearcher(directory);
    if(!indexDir.exists()){
         result = "The Lucene index is not exist";
         return result;
    Term term = new Term("contents",queryStr.toLowerCase());
    TermQuery luceneQuery = new TermQuery(term);
    Hits hits = searcher.search(luceneQuery);
    for(int i = 0; i < hits.length(); i++){
         Document document = hits.doc(i);
         result += "<br /><a href='getfile.php?w="+ss+"&f="+document.get("path")+"'>File: " + document.get("path")+"</a>\n";
    return result;
    the code above is from google and it works perfectly in the Lucene1.4. But it not pass the compiler by Netbeans IDE because I use Lucene2.0
    If you have some idea,plz replace these two lines' code with the correct ones.
    Thanks a lot !!

  • Running a J2EE client on a Remote machine

    How do you run a J2EE client application on a remote machine?

    and what about running on remote client .
    the things i know is , ok leave i am pasting a client which is on different machine (i.e not on the machine on which the server is ) copy
    1. the client jar file which is return when u deploy the beans .
    * Remember to add jar path in the class path
    2. client class / java file on the remote client
    and then run the client
    for eg . client code
    change Properties 's prop accoding to u
    import javax.ejb.*;
    import javax.naming.*;
    import java.rmi.*;
    import javax.rmi.PortableRemoteObject;
    import java.util.*;
    public class TestClient {
    public static void main(String[] args) {
    try {
         System.out.println("IDFactory");
         Properties prop = new Properties();
         /* prop.put("org.omg.CORBA.ORBInitialHost","192.168.10.5");
         prop.put("org.omg.CORBA.ORBInitialPort","1050");
         prop.put(Context.PROVIDER_URL, "iiop://192.168.10.5:1050");
         prop.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.cosnaming.CNCtxFactory");
         InitialContext initial = new InitialContext(prop);
         Object objref = initial.lookup("TimeReport/Data/TestHome");
         TestHome home = (TestHome)PortableRemoteObject.narrow(objref,TestHome.class);
         System.out.println("looking up IDFactory Session Bean");
         Test TestRemote = home.create();
         System.out.println("IDFactory Created ");
         long roleID = TestRemote.getID("TR_ROLE","Role_ID");
         System.out.println("RoleID is " + roleID);
         TestRemote.remove();
         } catch (Exception ex)
         System.err.println("Caught an unexpected exception!" + ex.getMessage());
         ex.printStackTrace();
    if it works then let know on [email protected]
    cheers
    Deepak Sumani

  • Not able to run my webobject project on WO5.4

    When I am trying to run my WebObject project,it stops running and the following message is displayed on the console:-
    [2012-12-21 09:19:19 PST] <main> WOMaxIOBufferSize=8196
    [2012-12-21 09:19:19 PST] <main> WOWorkerThreadCountMin=16
    [2012-12-21 09:19:19 PST] <main> WOSocketMonitorSleepTime=50
    [2012-12-21 09:19:19 PST] <main> WODirectConnectEnabled=true
    [2012-12-21 09:19:19 PST] <main> WOIncludeCommentsInResponse=false
    [2012-12-21 09:19:19 PST] <main> WOWorkerThreadCount=8
    [2012-12-21 09:19:19 PST] <main> WOAdaptorURL=http://127.0.0.1/cgi-bin/WebObjects
    [2012-12-21 09:19:19 PST] <main> WOLaunchdEnabled=false
    [2012-12-21 09:19:19 PST] <main> WOHost=127.0.0.1
    [2012-12-21 09:19:19 PST] <main> WOIDE=WOLips
    [2012-12-21 09:19:19 PST] <main> WODebuggingEnabled=true
    [2012-12-21 09:19:19 PST] <main> WOListenQueueSize=128
    [2012-12-21 09:19:19 PST] <main> WOMissingResourceSearchEnabled=true
    [2012-12-21 09:19:19 PST] <main> WOApplicationClassName=Application
    [2012-12-21 09:19:19 PST] <main> WOSessionStoreClassName=WOServerSessionStore
    [2012-12-21 09:19:19 PST] <main> WOContextClassName=WOContext
    [2012-12-21 09:19:19 PST] <main> WOCachingEnabled=false
    [2012-12-21 09:19:19 PST] <main> WOAcceptMalformedCookies=false
    [2012-12-21 09:19:19 PST] <main> NSProjectSearchPath=(..,../..)
    [2012-12-21 09:19:19 PST] <main> WOMonitorEnabled=false
    [2012-12-21 09:19:19 PST] <main> WOAllowRapidTurnaround=true
    [2012-12-21 09:19:19 PST] <main> WORootDirectory=C:\Apple
    [2012-12-21 09:19:19 PST] <main> WOGenerateWSDL=true
    [2012-12-21 09:19:19 PST] <main> WOWorkerThreadCountMax=256
    [2012-12-21 09:19:19 PST] <main> WOAllowsConcurrentRequestHandling=false
    [2012-12-21 09:19:19 PST] <main> WOAdaptor=WODefaultAdaptor
    [2012-12-21 09:19:19 PST] <main> WOSessionTimeOut=3600
    [2012-12-21 09:19:19 PST] <main> WORoot=C:\Apple
    [2012-12-21 09:19:19 PST] <main> WOMaxSocketIdleTime=180000
    [2012-12-21 09:19:19 PST] <main> WODefaultUndoStackLimit=10
    [2012-12-21 09:19:19 PST] <main> WOAutoOpenClientApplication=true
    [2012-12-21 09:19:19 PST] <main> WOAutoOpenInBrowser=true
    [2012-12-21 09:19:19 PST] <main> WOApplicationBaseURL=/WebObjects
    [2012-12-21 09:19:19 PST] <main> WOMaxHeaders=200
    [2012-12-21 09:19:19 PST] <main> WOLifebeatEnabled=true
    [2012-12-21 09:19:19 PST] <main> WOAllowsCacheControlHeader=true
    [2012-12-21 09:19:19 PST] <main> WOSMTPHost=smtp
    [2012-12-21 09:19:19 PST] <main> WOFrameworksBaseURL=/WebObjects/Frameworks
    [2012-12-21 09:19:19 PST] <main> WOStatisticsStoreSessionMax=50
    [2012-12-21 09:19:19 PST] <main> WOAdditionalAdaptors=()
    [2012-12-21 09:19:19 PST] <main> WOLifebeatDestinationPort=1085
    [2012-12-21 09:19:19 PST] <main> WOPort=4003
    [2012-12-21 09:19:19 PST] <main> WOLifebeatInterval=30
    [2012-12-21 09:19:19 PST] <main> WOSocketCacheSize=100
    [2012-12-21 09:19:19 PST] <main> WOUserDirectory=C:\Juno\Empsoft\dist\Empsoft.woa
    [2012-12-21 09:19:19 PST] <main> WODisplayExceptionPages=true
    [2012-12-21 09:19:19 PST] <main> ------------------------
    [2012-12-21 09:19:19 PST] <main> WebObjects version = 5.4.3
    [2012-12-21 09:19:19 PST] <main> Created adaptor of class WODefaultAdaptor on port 4003 and address validation.sls.microsoft.com/127.0.0.1 with WOWorkerThread minimum of 16 and maximum of 256
    [2012-12-21 09:19:19 PST] <main> NSBundle is unable to find "ExtensionsForResources.plist" in the main bundle.  Ignoring optional configuration file.
    [2012-12-21 09:19:20 PST] <main> A fatal exception occurred: com.webobjects.foundation.NSArray.emptyArray()Lcom/webobjects/foundation/NSArra y;
    [2012-12-21 09:19:20 PST] <main> java.lang.NoSuchMethodError: com.webobjects.foundation.NSArray.emptyArray()Lcom/webobjects/foundation/NSArra y;
    at com.webobjects._ideservices._PBXProjectWatcher.openProjectsAppropriateForFile(_ PBXProjectWatcher.java:50)
    at com.webobjects._ideservices._IDEProjectPBX.pbxProjectAtPath(_IDEProjectPBX.java :200)
    at com.webobjects._ideservices._WOProject.ideProjectAtPath(_WOProject.java:85)
    at com.webobjects.appserver._private.WOProjectBundle._isProjectBundlePath(WOProjec tBundle.java:225)
    at com.webobjects.appserver._private.WODeployedBundle.bundleWithNSBundle(WODeploye dBundle.java:745)
    at com.webobjects.appserver._private.WODeployedBundle.deployedBundle(WODeployedBun dle.java:124)
    at com.webobjects.appserver.WOResourceManager._initAppBundle(WOResourceManager.jav a:140)
    at com.webobjects.appserver.WOResourceManager.<init>(WOResourceManager.java:60)
    at com.webobjects.appserver.WOApplication.createResourceManager(WOApplication.java :2067)
    at com.webobjects.appserver.WOApplication.<init>(WOApplication.java:841)
    at Application.<init>(Application.java:284)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessor Impl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructor AccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at com.webobjects.appserver.WOApplication.main(WOApplication.java:547)
    at Application.main(Application.java:145)
    Please let me know,where i am going wrong.Any help will be appreciable.
    Thanks.....
    Mritunjay Kumar

    Is this error specific to this project or are you unable to get any projects running? If you are having trouble with all projects it could be spaces in folder names in classpath.
    Are you running from eclipse? I know many people have had problems with eclipse 4.2 and the authors of WOLips recommend running eclipse 3.8 rather than 4.2. I am running 3.7.2 myself.
    If you don't get any luck with an answer on this discussion group, you might want to post the question to Apple's webobjects mailing list.
    https://lists.apple.com/mailman/listinfo/webobjects-dev
    Regards
    Tim

  • After Mavericks upgrade I lost  the current I Movie project I was working on.  All that is left is the video clips, no photographs, music, transitions or titles. Three weeks work gone!

    I upgraded to Maverick from Mountain Lion.
    I also upgraded the various Apple Software applications that appeared after the upgrade to the operating system.  I opened I Movie to continue work on a project I was working on and as requested I allowed I Movie to update the projects  to allow it to work with the upgrade.
    As it was doing this a dialogue box came up showing an error had been encountered and advised me to quit I movie.  I did this and when I reopened it the project I had been working on had lost all of the photographs, music, transitions and titles.  All that was left were the thirty-seven video clips and nothing else.  Where has all my work gone and how can I retrieve it.

    rob2433 wrote:
    I upgraded to Maverick from Mountain Lion.
    I also upgraded the various Apple Software applications that appeared after the upgrade to the operating system.  I opened I Movie to continue work on a project I was working on and as requested I allowed I Movie to update the projects  to allow it to work with the upgrade.
    As it was doing this a dialogue box came up showing an error had been encountered and advised me to quit I movie.  I did this and when I reopened it the project I had been working on had lost all of the photographs, music, transitions and titles.  All that was left were the thirty-seven video clips and nothing else.  Where has all my work gone and how can I retrieve it.
    It should still be on your backup drive. Try reimporting it.
    Pete

  • I was working on a project in iMovie (10.0.1) and iMovie just crashed. when i reopened it the project i was working on disappeared. in my list of projects it still says i have 3 projects but its only showing me 2. is there any way i can recover my project

    i was working on a project in iMovie (10.0.1) and iMovie just crashed. when i reopened it the project i was working on disappeared. in my list of projects it still says i have 3 projects but its only showing me 2. is there any way i can recover my project?? PLEASE HELP!!!

    iMovie on your Mac  has nothing to do with iCloud storage.  Download and use Find Any File  to search for your iMovie project.  FAF can search areas that Spotlight can't, like invisible folders, packages and system folders.  If there a file with your file name on it anywhere on the hard drive FAF will find it.
    Do you have Time Machine enabled backing up to an external HD?  This situation is exactly what TM is good at.  It makes hourly backups so you can go back to find and restore the missing file.  All HDs crash at some time or another and having a good backup strategy is the only protection against that.

Maybe you are looking for