Dynamic deployed web application doesnt' work in managed server

Hi:
Can anyone tell me what I have done wrong:
1. I create a new web application DYNAMICALLY (i.e. copy directory to
applications directory)
2. I assigned one of the managed server as target for the new
application
3. Restart managed server
4. Try to access the new application in managed server, and get error
message:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is
given of whether the condition is temporary or permanent.
If the server does not wish to make this information available to the
client, the status code 403 (Forbidden) can be used instead. The 410 (Gone)
status code SHOULD be used if the server knows, through some internally
configurable mechanism, that an old resource is permanently unavailable and
has no forwarding address.
Any ideas?
Thanks in advance.
Alex

See my answer to your last post. The short answer is that the HttpClusterServlet is
          likely to be the problem and not the cluster. You can try one of the web server plugins
          or a hardware load balancer as a temporary workaround. You should file a case with
          support too...
          Manu Kar wrote:
          > Hai All!
          >
          > Here is my problem ! I started Admin Server and Managed server in a same machine.
          > I deployed HttpClusterServlet in web.xml of Managed server. When i started servers
          > they start fine and says Clustering started.... But when i tried to Access index.jsp
          > that is in Managed Server default web application ..Nothing happens. It neither
          > throws exception nor shows the desired page.. Seems to be Browser hang and server
          > hang. At this stage i am unable to access Admin console also.(I can access before
          > i tried index.jsp of managed server).. It seems to be Hang Allover..
          >
          > Pls suggest me how to come out of this hanging...
          >
          > Rgds
          > Manohar
          

Similar Messages

  • Error deploying Web application

    Hello Everyone, i have a problem with my web application that is not able to be deployed.
    the first time i deployed the application everything worked correctly i performed the contex lookup with no problem as was able to connect to the EJB application, i performed some changes, and now everytime i tried to deploy again the application i get this error
    [#|2010-02-12T23:03:34.661+0100|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=23;_ThreadName=Thread-434;Servlet;WebServiceInterface;http://vmlinux:8024/WebServiceInterface/WebServiceInterface;|DPL5306:Servlet Web Service Endpoint [WebServiceInterface] listening at address [http://vmlinux:8024/WebServiceInterface/WebServiceInterface]|#]
    [#|2010-02-12T23:03:38.107+0100|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=23;_ThreadName=Thread-434;_RequestID=3610621f-da38-477d-b37a-088311a00a42;|Exception occured in J2EEC Phase
    com.sun.enterprise.deployment.backend.IASDeploymentException: Deployment Error -- Could not resolve a persistence unit corresponding to the persistence-context-ref-name [com.testing.myEJBapplication.ReferenceServiceLocalBean/entityManager] in the scope of the module called [product/servers/glassfish/domains/domain1/applications/j2ee-modules/WebServiceInterface]. Please verify your application.
         at com.sun.enterprise.deployment.BundleDescriptor.findReferencedPUsViaPCRefs(BundleDescriptor.java:702)
         at com.sun.enterprise.deployment.WebBundleDescriptor.findReferencedPUs(WebBundleDescriptor.java:722)
         at com.sun.jdo.spi.persistence.support.ejb.ejbc.PersistenceProcessor.getAllPersistenceUnitDescriptors(PersistenceProcessor.java:171)
         at com.sun.jdo.spi.persistence.support.ejb.ejbc.PersistenceProcessor.processApplication(PersistenceProcessor.java:132)
         at com.sun.jdo.spi.persistence.support.ejb.ejbc.DeploymentEventListenerImpl.processApplication(DeploymentEventListenerImpl.java:211)
         at com.sun.jdo.spi.persistence.support.ejb.ejbc.DeploymentEventListenerImpl.processEvent(DeploymentEventListenerImpl.java:172)
         at com.sun.jdo.spi.persistence.support.ejb.ejbc.DeploymentEventListenerImpl.notifyDeploymentEvent(DeploymentEventListenerImpl.java:122)
         at com.sun.enterprise.deployment.backend.DeploymentEventManager.notifyDeploymentEvent(DeploymentEventManager.java:79)
         at com.sun.enterprise.deployment.backend.ModuleDeployer.handlePostDeployEvent(ModuleDeployer.java:636)
         at com.sun.enterprise.deployment.backend.ModuleDeployer.postDeploy(ModuleDeployer.java:625)
         at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:188)
         at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191)
         at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279)
         at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:788)
         at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187)
         at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:223)
    |#]
    any ideas for this?? Thank you in advance regards
    Edited by: White_Merovingian on Feb 13, 2010 5:55 AM

    yeah these stacktraces are big scary blobs of text, but somewhere hidden among all the nonsense there is always the little piece of information you need:
    "Could not resolve a persistence unit corresponding to the persistence-context-ref-name [com.testing.myEJBapplication.ReferenceServiceLocalBean/entityManager]"
    So you are referring to a persistence unit in ReferenceServiceLocalBean that does not seem to exist. Do you have your persistence.xml deployed in the META-INF directory of the EJB module? Does it contain a persistence unit with the name that is declared in the bean?

  • 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

  • Failed in deploying Web Application (.ear file)

    I am trying to deploy a web application (file1.ear) but I got FileNotFoundException
    in webnohup.out.
    I did include this application in config.xml, as follows:
    <Application Deployed="true" Name="file1" Path="opt/weblogic6/config/ejbjars/file1.ear">
    <EJBComponent Name="EJB1" Targets="mysrv" URI="EJB1.jar"/>
    <WebAppComponent Name="App1" Targets="mysrv" URI="App1.war"/>
    <EJBComponent Name="EJB2" Targets="mysrv" URI="EJB2.jar"/>
    </Application>
    In webnohup.out file, the following exception is thrown:
    <Mar 20, 2002 4:52:39 PM EST> <Error> <Management> <Application care:Name=file1,Type=Application
    not found at ./opt/weblogic6/config/ejbjars/file1.ear>
    <Mar 20, 2002 4:52:39 PM EST> <Error> <Management> <IOException opening application
    care:Name=file1,Type=Application, loading from path opt/weblogic6/config/ejbjars/file1.ear
    java.io.FileNotFoundException: file does not exist: ./opt/weblogic6/config/ejbjars/file1.ear
    at weblogic.management.mbeans.custom.Application.adminLoad(Application.j
    ava:431)
    at weblogic.management.mbeans.custom.Application.load(Application.java:3
    87)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    .java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:359)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    55)
    If you looked at the exception, it looks like that we can not put ABSOLUTE PATH
    in Path of config.xml since it will append the Weblogic home to the Path defined
    in config.xml.
    Is this correct or I missed anything?
    How do we use ABSOLUTE PATH in config.xml if you want to deploy Web application?
    Environment: SUNOS, Weblogic 6.1.
    Thanks

    Hi,
    specifying a leading slash shoul be enough to let the system know that it is an absolute path.
    Regards,
    Christian Buchegger
    Developer Relations Engineer
    BEA Support
    TJ schrieb:
    I am trying to deploy a web application (file1.ear) but I got FileNotFoundException
    in webnohup.out.
    I did include this application in config.xml, as follows:
    <Application Deployed="true" Name="file1" Path="opt/weblogic6/config/ejbjars/file1.ear">
    <EJBComponent Name="EJB1" Targets="mysrv" URI="EJB1.jar"/>
    <WebAppComponent Name="App1" Targets="mysrv" URI="App1.war"/>
    <EJBComponent Name="EJB2" Targets="mysrv" URI="EJB2.jar"/>
    </Application>
    In webnohup.out file, the following exception is thrown:
    <Mar 20, 2002 4:52:39 PM EST> <Error> <Management> <Application care:Name=file1,Type=Application
    not found at ./opt/weblogic6/config/ejbjars/file1.ear>
    <Mar 20, 2002 4:52:39 PM EST> <Error> <Management> <IOException opening application
    care:Name=file1,Type=Application, loading from path opt/weblogic6/config/ejbjars/file1.ear
    java.io.FileNotFoundException: file does not exist: ./opt/weblogic6/config/ejbjars/file1.ear
    at weblogic.management.mbeans.custom.Application.adminLoad(Application.j
    ava:431)
    at weblogic.management.mbeans.custom.Application.load(Application.java:3
    87)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
    eanImpl.java:636)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
    java:621)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
    ionMBeanImpl.java:359)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
    55)
    If you looked at the exception, it looks like that we can not put ABSOLUTE PATH
    in Path of config.xml since it will append the Weblogic home to the Path defined
    in config.xml.
    Is this correct or I missed anything?
    How do we use ABSOLUTE PATH in config.xml if you want to deploy Web application?
    Environment: SUNOS, Weblogic 6.1.
    Thanks

  • How to deploy web application to Weblogic?

    Does anyone know how to deploy web application to Weblogic8.1?

    Hello,
    I found one error in what I have done. I add the '<context-root>' in '<weblogic-web-app>', which are not required in some other containers, and I can find the application of hello2. However, when I clicked 'submit' I got the following message:
    Error 500--Internal Server Error
    java.lang.NoClassDefFoundError: java/lang/StringBuilder
         at servlets.ResponseServlet.doGet(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    I do not want to make changes in 'web.xml' file as it worked in other container. I guess I miss something that is special, probably basic, to WebLogic, but I do not know what it is.
    Bye the way, who know how to reward points to other people? I cannot find the 'assign points icon'.
    Thanks hoos. Your answer give me confidence that a web application could be deployed by copy war file to some directory (I guess from my experience of other containers).

  • Any script or tool to deploy small applications like Antivirus or Management agents remotely

    Any script or tool to deploy small applications like Antivirus or Management agents remotely..? user will not have admin rights and they will be connected remotely mostly on VPN.
    Unable to achieve mush results with SCCM as its depended on agent communication.
    Please let me know if any other options to achieve this..
    Thank you
    Kris

    Hi,
    Prewritten scripts can be found in the repository:
    http://gallery.technet.microsoft.com/scriptcenter
    I recommend using ConfigMgr. It works just fine over a VPN or public internet.
    Don't retire TechNet! -
    (Don't give up yet - 13,225+ strong and growing)

  • 500 Internal server error while deploying web applications in jdeveloper

    I am getting the following error while trying to deploy my web application in Jdeveloper:
    500 Internal Server Error
    Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response.
    Please consult the application log for details.
    Please help me.
    Or where can i find the detailed log regarding this.
    I even tried to remove the shared libraries / common logs/ set the development true in orion-web.xml file but to my disappointment..
    Please help me !!!!
    Regards,
    Shaily

    Thanks for ur help
    Jdeveloper version is 10.1.3.2.0
    I have deployed simple application.
    I even went thru the log files located at :
    $ORACLE_HOME/opmn/logs/default_group~oc4j_soa~default_group~1.log:
    $ORACLE_HOME/j2ee/oc4j_soa//application-deployments/gateway/oc4j_soa_default_group_1/application.log
    but it was not of any help.
    Can you help me figure out where i can get the detailed log file. Very recently i have started using jdeveloper,so i am having difficulty figuring out the log also.

  • Failed to deploy web application with same name twice

    Hello-
    On Oracle 10g Application server I deployed an WAR file called "anbadmin", then undeployed it. The undepoloyment failed from the OEM so I undeployed it manually via removing its entries from server.xml.
    When I tried to deploy it again with the same name I got this:
    Failed to deploy web application "anbadmin". Failed to deploy web application "anbadmin". . The evaluate phase failed. The Adapter used in the evaluate may have thrown an exception.
    Resolution:
    Please call Oracle support.
    Base Exception:
    java.lang.NoSuchMethodError
    null. java.lang.NoSuchMethodError
    Is there a solution for this?
    Regards

    I think I know the solution. We encountered exactly same message and no further deployment could be made. It appeared message in "dcmctl" utility was much more helpfull than the one in EM (though you still have to use "getError" command...)
    If you are using file-based repository, you have to issue command in dcmctl utility "resetFileTransaction". This closes repository and opens it again.
    Myrra

  • How to deploy web application .war file into SAP NetWeaver Engine?

    Hi All,
    I want to deploy web application which is developped using JAVA web technology into SAP netweaver Engine.
    I tried to deploy .war file through SDM but it complained the following error
    - Hide quoted text -
    "Error loading archive
    C;\Document and Settings\cr1adm\Desktop\MyProject.war
      (server side name is: F:\usr\sap\JR1\JC01\SDM\program\temp\MyProject.war)
    com.sap.sdm.util.sduread.IIIFormattedSduFileException: The information about development component found in the manifest is either missing or incomplete!
    Manifest attributes are missing or have badly formatted value:
    attribute keylocation missing
    attribute keyname is missing
    attribute keyvendor is missing
    attribute keycounter is missing
    (F:\usr\sap\JR1\JC01\SDM\program\temp\MyProject.war)"
    Can any one please suggest how to deploy external web application into SAP netweaver engine.
    Is there any procedure to follow to do this.
    your inputs will be highly appreciated...
    Thanks in advance

    Hi,
    I think first you need to wrap it into an EAR file, then you can deploy it.
    As far as I know standalone deployment of WAR is deprecated as of 640.
    similar threads:
    How to deploy .war on NWDI
    Deploying an existing WAR file into the Portal
    Hopefully this tutorial also gives some idea:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/70/13353094af154a91cbe982d7dd0118/frameset.htm
    Regards,
    Ervin

  • New to wad?can u tell me how web application designer works?

    new to wad?can u tell me how web application designer works?

    Hi,
    It is very simple :
    1) Create the query on a datatarget in teh query designer.
    2)  Open the WAD ,select new webtemplate .
    3) Drag  and drop required Web items
    4) Specify the Quaey(created in step 1) as the Data provider for all selected web items (in step 3).
    For detail explanation refer:
    http://help.sap.com/saphelp_nw04/helpdata/en/44/b26a3b74a4fc31e10000000a114084/frameset.htm
    With rgds,
    Anil Kumar Sharma .P

  • I update my iPhone but My applications doesnt work . .  .

    I update my iPhone but My applications doesnt work . .  .
    Help me,please . . .

    I had the same problem today when I upgraded to 4.3.5. Starting a non-Apple app did not work anymore.
    What fixed my problem was uninstalling and reinstalling one of the free apps. After that, the rest of the non-Apple apps also worked again.
    Maybe you could try this?

  • WEB Server And Database Space requirements for deploying Web Application

       Hi,
         We are in requirement of WEB Server  And Database Space requirements for deploying  our Web Application in cloud server. We want to know technical requirements and feasibilities laid by Microsoft team for deploying web
    application.......
    Regards,
    Sreenivasa M S

    Hi,
    Please refer this link and check if it helps:
    http://blogs.technet.com/b/cbernier/archive/2013/09/24/deploy-your-web-application-to-windows-azure-from-with-visual-studio.aspx
    Regards,
    Azam Khan

  • Deploy() and undeploy() for a single managed server do not work properly

    i tried undeploying an application using the following command undeploy('app_name','managed_server1') which in the WebLogic documentation states that this can undeploy the application from the single managed server, but this untargets the application from ALL managed servers.
    Is the command being invoked properly for a single managed server deployment?
    For the deploy() command, the same issue exists but for deployments. It either deploys to a single vm but cannot be later updated to be re-targeted.

    hi,
    Is managed servers are in cluster or stand-alone servers? pls check it properly,if so there is no chance to undeploy the application from all servers even if try to undeploy from onr server.
    regards,
    abhi

  • Serious problems deploying web application with enterprise manager

    Hi all,
    First I have to say that this thing that has happened to me today is freaking bizarre... I was trying to make a new deployment of a web application on OAS 10.1.2, using the Enterprise Manager. The application is using Spring and DWR, therefore it has some XML files included. The application worked perfect in JDeveloper 9.0.4, our development tool, and I've previously developed very similar applications in the past, and deployed them on the same server without any problem.
    Today, when I was trying to deploy my .ear file, I got this error message:
    The file specified, "FindAnExpert.ear" is not a valid ear file.
    I tried with the .war file, and this happened:
    Base Exception:
    java.util.zip.ZipException
    invalid END header (bad central directory offset). invalid END header (bad central directory offset)
    I checked that all the included .jar files were fine, I even replaced them with new ones. I started to remove files from the .war file and discovered that without the XML files I was able to deploy the application. Then I copied over those XML files through FTP and the application is working correctly, but I was not able to use the Enterprise Manager to deploy it!!! The XML files are well formed, on of them contains the details of a data source that I also reviewed to be sure that it was correctly configured... This is nuts... any ideas over there???
    Thanks in advance,
    Luis

    Luis,
    If all of the files uploaded piecemeal worked fine, then I believe your problem to be with your deployment descriptor(s). Also, note that the .war file lives in a different directory:
    C:\oc4j\j2ee\home\applications\Application-Name
    Perhaps if you have time you could post all of the associated deployment descriptor files. Log files from the C:\oc4j\j2ee\home\log\oc4j directory would also help to troubleshoot your deployment issues. You can turn up the logging level to "FINEST" for maximum output to your log file.
    -Michael

  • Error while deploying web application in OAS

    I was trying to deploy a web application in OAS through enterprise manager. But I get the following error. Can any one please help me.
    An error occurred when processing the data submitted. Find the appropriate field and enter the correct information as noted next to each field.
    Archive Location - Failed in uploading archive. Invalid archive file: Unsupported archive type. unknown

    As the error message tells, did you make sure you have a correct/valid archive file? You might try deploying it from command line to make sure issue isn't at EM side.
    For 10.1.3 refer:
    http://download.oracle.com/docs/cd/B32110_01/web.1013/b28951/overview.htm#CJAJHJIA
    For 10.1.2 refer:
    http://download.oracle.com/docs/cd/B14099_19/core.1012/b13997/cmds.htm#BEIJGHDG
    http://download.oracle.com/docs/cd/B14099_19/core.1012/b13997/cmds.htm#BEICHFGJ
    Thanks
    Shail

Maybe you are looking for

  • Can I send an e-mail to a fax number(to hong kong).If so,how?

    'Have been trying to e-mail a retail shop in hk who liste-mail address as [email protected],but keep receiving failure notices. shop name: kwailin shop''fax no. (852) 2813-8391

  • TV listing search no longer working correctly

    Has anyone else noticed that the TV listing search doesn't work correctly?  For example, if I'm looking for a football game with a team I want to watch (e.g. Penn State), no matches come up.  The only way to find the game is to look for "College Foot

  • How to install MySQL 5 and remove default install

    Hi all, I have some problems to make MySQL 5 works fine on Mac OS X server. I have installed the package (http://dev.mysql.com/downloads/mysql/5.0.html) but a instance of the old mysql still running. Can someone explain me how to remove the default i

  • How to save a variant in MMRV

    Hi, We are planning to execute "Allow posting to previous period" and "Disallow backposting generally" in MMRV on separate dates via Schedule Manager. However, there seems to be no way we can save a variant in MMRV. Can you please tell us how?

  • Time & Payroll Integration

    Hello Gurus I went through many threads regarding Time & Payroll Integration. I didnt get clear picture of it. Can any one tell me where exactly this integration done. I know it will be done in IT 0007 (If I am not wrong).  Can some one explain me in