Web Component with servlet in j2ee 1.4.2

I get this error message when I try to deploy my .war file using the deploy tool:
distribute: C:\Sun\AppServer2\Applications\WV\WV_WEB.war
[TIMEOUT: 'ProgressObject' never started running.]
!!! Operation Incomplete [NotRunning] !!!
[Completed (time=167.1sec, status=12)]
The .war file contains a simple servlet which returns a string when the http server does a doGet. It seems the servlet will not start when at the end of deployment. Does anyone know why?
best regards
tobiassen

Thank you. A likely cause. I am running Win 2000 Server Pro on 650MHz and 128 MB of RAM. But the problem disappeared after I added the alias property for the servlet and started using deploytool deploy command without undeploying with the admin tool first. (Redeploying ...) Maybe that is somewhat nicer on the resources. Just guessing.

Similar Messages

  • Standards in a web application with JSP and J2EE

    Hello!
    Can anyone to point me to a tutorial or an URL that contains standards for an web application with jsp(including tag libs), beans and servlets.
    Thanks
    Catalin

    on the left side of this page...there are links "Documenation", "Tutorials", "Code Samples", pick your choice...there are alot of tutorials, try some or try them all :)

  • Urgent:Please Help. Need to deploy web application with servlet:(

    Tomcat 4.0 is already installed.
    Trying to deploy a web application and invoke a servlet through it.
    Here is the command I am using for deploying the application:
    http://localhost:8080/manager/install?path=/NewApplication&war=file:d:\Tomcat4\webapps\NewApplication
    The application get deployed. However, I have a problem. As soon I stop and restart the server, this application is gone.
    1. Please someone help: How should I make it permanent so that the application stays even if I restart the server.
    2. I am not able to access the servlets placed in the /WEB-INF/classes/ sub-directory under NewApplication directory.
    If you need I can cut and paste the web.xml file which will show the deployment descriptor.
    Please help: How do I make this work. I need it urgent.
    Any help will be appreciated.
    Thanks,
    Indrasish.

    The simplest solution would be to put the war file inside the webapps directory and restart the server. You should be able to access the app using the http://servername/app

  • Certification for WEB COMPONENT DEVELOPER FOR J2EE[tm]

    Hi all,
    I'm thinking of getting certified as a
    WEB COMPONENT DEVELOPER FOR J2EE[tm] PLATFORM.
    What is your experience? How do I prepare best for the exam?
    Any book / tutorial particulary useful?
    Thanks for your input!
    Anja

    For what its worth, I found this the easiest of the certifications (compared to Programmer and Developer). My 2 cents of advice includes:
    - Use the Sun objectives as the driver for your study. Review the objectives thoroughly and make detailed notes by section. http://www.javaranch.com/scwcdlinks.jsp has some good examples of this (plus a lot of other useful stuff). The exam is a bit of a memory test - you need to know details of the deployment descriptor, the taglib definition, listeners, the API etc.
    - Take the time to read the servlet and JSP specifications. Although on first sight these are large documents, much of them is reference material and they can be read in a couple of hours. They will help in making the detailed notes.
    - Go over the servlet API for the key methods.
    - If you've not been working with servlet/JSP technologies, read a good book on servlets / JSPs for general background.
    - Try a few mock tests, although there are far fewer available than for JCP. Avoid the ones that charge a fee - I found them less than helpful.
    - This is probably just me, but be careful if you book the test via the web. I did just that, and when I turned up at the test center they had never heard of me. Follow-up with a phone call to the actual center to ensure that they are expecting you.
    Good Luck!

  • Learning Web Services with J2EE

    Hi:
    I've been developing in J2EE for 3 years now, using Servlets/JSP/Tag Libraries etc.... I want to find a good source (book) that teaches you web services with J2EE, does anyone recommend any good starters to advance books for Web Services.
    Thank you
    Goce

    Have you looked at the J2EE 1.4 Tutorial?
    http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html
    It includes chapters on developing both Web applications and enteprise beans as Web service endpoints.
    -Ian Evans

  • Communicate with servlet after using Java Web Start?

    Is it possible to communicate with servlet to get data back and forth
    after using Web Start to download the client application?
    The demos come with Java Web Start are applications which are
    standalone, don't need communicate with the servlet on Web server
    after being launched. I am wondering if it is possible, and how (HTTP
    & JAX-RPC)?
    Thanx in advance.

    I've done this using HTTP. I get the server and port from the codebase:
    BasicService bs = null;
    try {
    bs = (BasicService)ServiceManager.lookup("javax.jnlp.BasicService");
    String codeBase = bs.getCodeBase().toString();
    and use the java.net.HttpURLConnection and java.net.URL classes to send HTTP parameter values to the servlet and to receive results from the HttpURLConnection's input stream.

  • Deploy a web service with the deploy tool (J2EE)

    Hi!
    I want to deploy a web service with the Deploy Tool (J2EE 1.4).
    (For info, I'm working on Win 2000.)
    I have the following error when I'm trying to deploy:
    distribute: C:\monHello2\monApp.ear
    Deploy action running...
    Deployment failed on target localhost:4848_server : Fatal Error from EJB Compiler -- jaxrpc compilation exception
    !!! Operation Failed !!!
    Someone can help me, please? What's the problem?
    Other question: when I create the WAR file, I have to add : my interface class, my implementation class, my others java classes, my WSDL file and my mapping.xml file.
    Should I add the .jar that is used by one of my class???? I think yes, but...
    thank you and excuse me for my english... ;o)

    Only primitive types can be returned? Is thatcorrect????
    true - for more details check out section 3.4.1.3 of
    this book which is available for purchase or online
    http://java.sun.com/blueprints/guidelines/designing_w
    ebservices/I meant to say primitive type and "special POJOs" called "JAXRPC Value Types" - check out the reference I listed

  • Java app with web service and servlets

    Hi. I intend to make a java application which exposes some methods as a web service and as jsp/servlets. It's core functionality is not really web centric, but its more a java app with a web tier. I am not sure about how the architecture of such a system would look like using the java platform. I currently see three options:
    1. Run everything in a servlet container like tomcat. I hesitate to do this because i would be putting a lot of functionality which isn't about the web into a servlet container. Also, I have a lot of application scope data that is maintained and shared by all servlets/web services. However, it would be really easy just to put everything into tomcat and use ServletContext to maintain some global objects.
    2. Use a Java EE to seperate application/business logic and data access into session beans and entity beans. I hesitate to this because it seem a bit overkill because the system isn't very big or complex right now. It also means that I would have to learn to use EJB's instead of just using some POJOs.
    3. Run the web tier in a servlet container and the main app in a separate JVM, and then connect the tier by sending serialized objects over TCP sockets. I don't like writing network code but at least there is some separation of the tiers.
    What would you do? Maybe I have overlooked a much better solution to the problem?
    Let me just say that the system is the product of a student project spanning one semester, so it's important to choose the RIGHT solution (architectural-wise) instead of the something quick and dirty that is hard to defend.

    jschell wrote:
    Run everything in a servlet container like tomcatTomcat is a JEE container.Now I am confused. Maybe you mean Glassfish? Tomcat is definitely a web container(?).
    Let me just say that the system is the product of a student project spanning one semester, so it's important to choose the RIGHT solution (architectural-wise) That pretty much makes it impossible then.
    1. A "Right" solution is generally only proven by time.
    2. It requires a great deal of knowledge about the business domain.Yeah, you are right. Let be try to rephrase it. What solution (pattern) would be considered the most common or appropriate when you have a Java App and want to expose a few methods as a website and web service?
    I hesitate to do this because i would be putting a lot of functionality which isn't about the web into a servlet container. Also, I have a lot of application scope data that is maintained and shared by all servlets/web servicesHuh? Do you already have an exposed web service? If you already have a server which other clients communicate then where does this functionality that you don't want to be tomcat running now? Or where do you think that you want to run it? And if you are or do run it somewhere else then tomcat could access it the same way any other client accesses that server.Sorry, that sentence was written badly. I don't have anything right now. What I meant to write was that I will have a lot of application scope data, objects that are kept in memory as long as the server is running, shared by multiple servlet instances.

  • Sun Certified Web Component Developer for J2EE Platform (CX-310-080)

    Hi every one !
    I want to prepare for the Sun Certified Web Component Developer for J2EE Platform (CX-310-080), I want to know if there some good books that you advice me to work on it
    Thank you in advance for any answer :)
    Rania +

    ISBN: 1930110596
    ISBN: 1861007701
    ISBN: 1932394389Not published yet.
    Good Luck

  • How can I build a Web App with Component Combination

    I learned OpenUI 5 for a while, since it's open source version release. It's really a great web front-end framework!
    Now I'm working on a little web app. I design it start from a root module. And I wanna make any other view modules as a stand-alone package. (e.g. Something like Widgets can be make as a Component, and I can instance it anywhere I want). From learning of OpenUI, I think Component should be a good choice for my web app module.
    But there is some trouble. When I make two Component with a parent-child relationship.Once the child Compont's router execute navTo method, the hash will be replace but not append. And the parent Component will be changed too.
    The question is : how to design the route pattern can make the parent-child Components works both fine? Andreas Kunz

    Hi Siqi,
    currently there is no Child/parent relationship build in the framework, but you could do it.
    All your child component need is the first part of the pattern from the parent component, you have to pass this one to the child component, and then create the routes dynamically:
    parentPattern + "/myChildComponent"
    Then the parent and the child will both react correctly on a hashchange.
    Best Regards,
    Tobias

  • Setup WEBLOGIC with Crystal Web Component/Reporting

    Does anyone know how to setup Crystal Web Component Server with WEBLOGIC?
    Thanks
    Graham
    Graham Smith
    PeopleSoft Technical Team Leader
    OXFAM GB
    +44 (1865) 313255
    [email protected]

    Hello Kenneth,
    as you refer to the legacy technology I recommend to post this query to the [Legacy Application Development SDKs|SAP Crystal Reports - Legacy SDKs; forum.
    This forum is dedicated to topics related to legacy SDKs, including the Report Designer Component (RDC), OCX, ASP, VCL, and Crystal Reports Print Engine (CRPE).
    It is monitored by qualified technicians and you will get a faster response there.
    Also, all Legacy Application Development SDKs queries remain in one place and thus can be easily searched in one place.
    Thanks a lot,
    Falk

  • Web component developer (JSPs and Servlets)

    Which jdk should I download for web component development
    Is it SE or EE?
    Do I need a application server to deploy web applications?
    Please advise.

    user10100078 wrote:
    which application server do you recommend?Well, I'm partial to JBoss, but Glassfish comes included in (at least some of) the installs.
    I don't know anything about application servers.
    please advise in detailThen learn, I don't have the time nor the character limit to explain to you about application servers. But they are documented.

  • Problems with my installed J2EE platform.

    I am having trouble working with the J2EE development environment. My issues are as follows:
    1. In trying to run some of the examples include with the environment I have noticed that I do not have all the same directories and directory structure as specified in the the tutorial. For example, a step in the tutorial references using a file in the <INSTALL> (sun\appserver)\docs\tutorial\... directory, I do not have a docs\tutorial directory underneath my <INSTALL> directory. Are there different directory conventions implemented based on what platform to which you are installing the J2EE environment? (We are running WindowsXP Professional)
    2. At the beginning of the tutorial it makes reference to adding some additional information to your path. One such example is adding the <INSTALL>(sun\appserver)\shared\bin directory. I do not have such a directory. I have a <INSTALL>(sun\appserver)\bin directory but not a shared\bin directory.
    (Note: Could the above problems be corrected by merely uninstalling and re-installing the J2EE platform?)
    3. When I try to run the Duke's Bookstore servlet example I get an HTTP 404: File not found error. Does this error have something to do with the structure of my created web component, my browser (IE), or something else entirely?
    Any assistance would be greatly appreciated.
    Thanks,
    Michael Sucena

    Note that tutorial is not being shipped as part of J2EE SDK distribution - it is separate download and must be downloaded and unzipped independently of J2EE SDK installation which you already have. Download URL is here:
    http://java.sun.com/j2ee/1.4/download.html#tutorial
    Only after you download this, you can start following environment setup instructions you are refering to. Please note that you'll have to deal with two different installation directories - one is installation directory of J2EE SDK (one you already have), the other one is installation directory of tutorial (i.e. location where you will unzip downloaded tutorial) - these two may or may not be the same, so pay close attention to instructions. Some of your questions might also be covered in this thread:
    http://forum.java.sun.com/thread.jsp?forum=14&thread=470575&tstart=30&trange=15
    (namely, <install_dir>\share\bin folder is now obsolete, unfortunately reference to it was not removed from Tutorial instructions)
    Hope this helps....

  • About Sun Certified Web Component Developer for the Java 2 ... course

    i want to know if i take the Sun Certified Web Component Developer for the Java 2 course,then could i write j2EE application with oracle envirmet and the websphere enviriment or should i take extra course if i mant to work in any of these enviroments

    You can write j2EE application for all this enviroments. The code is the same, with little diferences in the applicantion servers configuration files.
    For more information try: http://www.sun.com/training/certification/java/java_busj23e.html
    "The Sun Certified Web Component Developer for J2EE Platform certification exam is for Sun Certified Programmers (any edition) who are using the Java technology servlet and JavaServer Pages (JSP) application program interface (APIs) to develop Web applications. Prior to beginning the Sun Certified Web Component Developer program, you must be a Sun Certified Programmer for the Java platform (any edition)."
    "The Sun Certified Business Component Developer for the Java 2 Platform, Enterprise Edition 1.3 exam is for programmers and developers who are responsible for designing, developing, testing, deploying, and integrating Enterprise JavaBeans (EJB) applications. It is also for those specializing in leveraging the Java 2 Platform, Enterprise Edition (J2EE platform) technologies used to develop server-side components that encapsulate the business logic of an application. Prior to beginning the Sun Certified Business Component Developer program, you must be a Sun Certified Programmer for the Java platform (any edition)."

  • Issue of deploying a fusion Web Application with integrated Weblogic server

    Hi,
    i'm using Jdev 11.1.1.3.0 to develop a fusion web application, with a model and ViewController Projects.
    When i try to deploy this application with the integrated server, i have any issues.
    The origin seems to be that it builds an application with 3 profiles. The model application is recognized and deployed as a webapp and not an ADF library as it should be..
    [11:00:45 PM] Retrieving existing application information
    [11:00:45 PM] Running dependency analysis...
    [11:00:45 PM] Deploying 3 profiles...
    [11:00:46 PM] Wrote Web Application Module to /home/david/.jdeveloper/system11.1.1.3.37.56.60/o.j2ee/drs/easygestionV2.0/ViewControllerWebApp.war
    *[11:00:48 PM] Wrote Web Application Module to /home/david/.jdeveloper/system11.1.1.3.37.56.60/o.j2ee/drs/easygestionV2.0/ModelWebApp.war*
    [11:00:48 PM] Wrote Enterprise Application Module to /home/david/.jdeveloper/system11.1.1.3.37.56.60/o.j2ee/drs/easygestionV2.0
    [11:00:48 PM] Deploying Application...
    <27 déc. 2010 23 h 00 CET> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application easygestionV2.0 is not versioned.>
    <JpsDstCredential><setCredential> Impossible de migrer le dossier/la clé d'informations d'identification et de connexion ADF/anonymous#easygesprod. Raison : oracle.security.jps.service.credstore.CredentialAlreadyExistsException: JPS-01007: Les informations d'identification et de connexion avec la correspondance ADF et la clé anonymous#easygesprod existent déjà..
    <TrinidadFilter><init>
    java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory
         at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:725)
         at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:239)
         at oracle.adfinternal.view.faces.util.rich.ConverterValidatorRegistrationUtils.register(ConverterValidatorRegistrationUtils.java:36)
         at oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator.init(RegistrationConfigurator.java:79)
         at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.init(GlobalConfiguratorImpl.java:400)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.init(RegistrationFilter.java:53)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.init(TrinidadFilterImpl.java:103)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.init(TrinidadFilter.java:54)
         at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:332)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:98)
         at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:59)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1867)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    How can i fix the model project to be deployed as an ADf library and not a webapp with the integrated weblogic server ? Because with me it doesn't do it by itself.
    Thanks a lot for help

    duplicate to Issue of deploying a fusion Web Application with integrated Weblogic server

Maybe you are looking for

  • Two Apple IDs from two countries, one Mac: how to deal with MAS?

    I have two Apple IDs, one associated with the US store, and another associated with the Italy store. I have iOS apps on both accounts. I used to have to switch back and forth between accounts to get them all to update, but iOS 7 seems to finally be a

  • Are there Korean language TV programs available on Apple TV in the US?

    I'm based in the United States and am looking for a device that I can use to watch Korean language TV programming that is available on the Internet on my plasma TV. Does anyone know if Apple TV has that capability? Do any of the other digital multime

  • HT5137 link ipad to apple tv

    how to connect ipad to apple tv 3

  • Time Dimension

    I have created a Time dimension using the Dimension Wizard with two hierarchies: Year - Quarter - Month - Date Year - Week - Date We have a data warehouse with two fact tables, FactSite and FactWell. Each table contains a different date field and we

  • Clean programming

    dear all, my problem to implement a dynamic programming. What is to do? More details here in this two points: I have here an ITAB which is DYNAMIC!!! loop at ITAB assigning <fs_wa> 1)  Here I have to get the table keys of the ITAB 2) I have to search