Error auto-deploying a Web App (.WAR file)

Hello,
Weblogic 6.1 throws a FileNotFoundException about 10% of the time for me when
auto-deploying a Web app. Has anyone else run into this? I searched the newsgroups
but didn't come up with anything, so I thought I'd start here.
My build/deploy cycle is managed by an Ant build file that creates a WAR file
of my web application and then drops it into $WL_HOME/config/mydomain/applications.
Occasionally when I do this, I get the error shown below. Originally I was building
the WAR file right in the ../applications directory, so I thought that might be
an issue. So, I started building the WAR file in a staging directory and copying
it into ../applications. No luck. Next, I tried deleting the original WAR file
from ../applications, and THEN copying the new one over from the staging directory.
Still fails occasionally.
Let's see. This is Weblogic 6.1 on Win2K. The only other thing is that my dev/build/staging
environment is on a network share, and it's from there that I'm copying the WAR
file to my local machine (where WL is running).
If someone has seen and/or knows what is up with this, great. If not, it's not
a show-stopper.
Thanks!
Cheers,
David
========================================================
<Apr 8, 2002 9:05:00 AM PDT> <Error> <Management> <IOException opening application
mydomain:Name=private-banking,Type=Application, loading from path .\config\mydomain\applications\private-banking.war
java.io.FileNotFoundException: error in opening zip file
     at weblogic.management.mbeans.custom.Application.findType(Application.java:1833)
     at weblogic.management.mbeans.custom.Application.adminLoad(Application.java:444)
     at weblogic.management.mbeans.custom.Application.load(Application.java:387)
     at java.lang.reflect.Method.invoke(Native Method)
     at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
     at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
     at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
     at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
     at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
     at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
     at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
     at $Proxy8.load(Unknown Source)
     at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:840)
     at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:733)
     at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
     at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:1050)

Michael,
This is a problem with 6.1 SP2 also -- a very annoying error. Without auto deploy
working properly, developers are spending alot of time waiting for WebLogic to restart.
HELP!!! we need this fixed.
I see the EXACT same stack trace (ERROR).
Tom Markel
Sr. Java Engineer
Michael Young <[email protected]> wrote:
Hi.
This may be a known issue that was addressed in sp2. If you are not already
at that sp level I suggest you upgrade.
Regards,
Michael
David Ventimiglia wrote:
Hello,
Weblogic 6.1 throws a FileNotFoundException about 10% of the time forme when
auto-deploying a Web app. Has anyone else run into this? I searchedthe newsgroups
but didn't come up with anything, so I thought I'd start here.
My build/deploy cycle is managed by an Ant build file that creates a WARfile
of my web application and then drops it into $WL_HOME/config/mydomain/applications.
Occasionally when I do this, I get the error shown below. OriginallyI was building
the WAR file right in the ../applications directory, so I thought thatmight be
an issue. So, I started building the WAR file in a staging directoryand copying
it into ../applications. No luck. Next, I tried deleting the originalWAR file
from ../applications, and THEN copying the new one over from the stagingdirectory.
Still fails occasionally.
Let's see. This is Weblogic 6.1 on Win2K. The only other thing is thatmy dev/build/staging
environment is on a network share, and it's from there that I'm copyingthe WAR
file to my local machine (where WL is running).
If someone has seen and/or knows what is up with this, great. If not,it's not
a show-stopper.
Thanks!
Cheers,
David
========================================================
<Apr 8, 2002 9:05:00 AM PDT> <Error> <Management> <IOException openingapplication
mydomain:Name=private-banking,Type=Application, loading from path .\config\mydomain\applications\private-banking.war
java.io.FileNotFoundException: error in opening zip file
at weblogic.management.mbeans.custom.Application.findType(Application.java:1833)
at weblogic.management.mbeans.custom.Application.adminLoad(Application.java:444)
at weblogic.management.mbeans.custom.Application.load(Application.java:387)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy8.load(Unknown Source)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:840)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:733)
at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:1050)--
Michael Young
Developer Relations Engineer
BEA Support

Similar Messages

  • How to deploy my 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
    "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
    JM

    You may need to convert the .war archive to SDA/SCA file  format before deploying it to SAP Netweaver Engine.
    Check out the below SAP NOTE if it is usefull.
    Note 1223957 - Usage of NetWeaver Packaging Tool.
    Apart from SDM you can also deploy the files through telnet...
    Note 859444 - How to deploy libraries on J2EE Engine 6.40
    1)Connect to telnet as below
    Start --> Run
    telnet hostname/ip address portno
    Ex: telnet xxx.xx.xx.x 5<Instance no>08
    2)Login with administrator id:
    Use the below command to deploy the files.
    deploy <directory path to the SDAs location> version_rule=all on_prerequisite_error=stop on_deploy_error=stop
    Example: deploy E:\usr\sap\trans\EPS\in\VCBASE03_0-10006939.SCA version_rule=all on_prerequisite_error=stop on_deploy_error=stop.
    Also have a look at this note which talks about the error you are getting.
    Note 1171457 - IllFormattedSduManifest/SduFileException during deployment
    Hope it helps.
    Edited by: Khaiser Khan Mohammed on Nov 7, 2010 12:17 PM

  • Deploying Java Web Application (WAR-File) into a cluster environment

    Hi,
    we have a web application which has to read from and write to the file system.
    Since a short time we have a cluster environment (2 parallel servers) and since thisa time we have the problem, that files are worked double in the cluster. The application is working on both servers now and so we have this problem.
    Does anybody know how we have to deploy the application correctly in a cluster environment or do we have to change anything in our source code of the application?
    I didn't find any documentation about this.
    At the moment we have deployed the application on one of the two servers only, but I think there must be a better way to solve this problem.
    Thanks for your replies.
    Regards
    Thorsten

    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

  • How to deploy fusion web application war file on weblogic

    Hi
    I am new to ADF. Please let me know how to create war file and the steps for deployment of war file . Its very urgent...

    Unresolved Webapp Library references for "ServletContext@1289849542[app:ws_ear module:WSAEEAPP-ViewController-context-root path:/WSAEEAPP-ViewController-context-root spec-version:2.5]", defined in weblogic.xml [Extension-Name: jsf, Specification-Version: 2, exact-match: false]
    Specify the JSF library in the config.xml file
    <library>     <name>[email protected]_2-0-2</name>     ... </library>
    Refer the library in weblogic.xml
    <library-ref>      <library-name>jsf</library-name>      <specification-version>2.0</specification-version>      <implementation-version>1.0.0.0_2-0-2</implementation-version>      <exact-match>true</exact-match> </library-ref>
    The implementation version may be different.

  • Is it possible to import an existing Struts web app WAR file into Workshop?

    I browse the documents and tried using the workshop with no avail trying to import
    an existing Struts WAR file. If someone know of a way doing this, I would really
    appreciate a pointer or so. If this is not possible, please let me know so I will
    not end up pulling out all my hair....
    TIA

    Export the OMF from an audio app like ProTools or Logic as a stereo pair AIFF, then use that with your video. Chop it up if you need to checkerboard.
    Of course this will only work if the audio is very simple - overlapping audio will mess you up. If you can figure out the audio app part, you can split up your OMF into separate tracks.
    But then if you can't get it into an audio app, you're a bit hosed.

  • Help.jsp web app war file (how to exclude resources)

    Hi, I am making a jsp/JSF application and now wanted to deploy it on a glassfish server. this is the first time i am deploying so am still learning it as i go.
    I wanted to clear out something before i go ahead.
    My application has tons of resuorce files (mainly huge Picture and videos) which are roughly the size of 1-2 GB. I do not want to add them to my WAR file. is it possible to exclude the resources from the war file?
    How difficult would it be for me to to then link the resources folder to the deployed application?
    I am running against time. i need to clear the above out to make a decision.

    thyscorpion wrote:
    My application has tons of resuorce files (mainly huge Picture and videos) which are roughly the size of 1-2 GB. I do not want to add them to my WAR file. is it possible to exclude the resources from the war file?Yes.
    How difficult would it be for me to to then link the resources folder to the deployed application?Create a servlet which access them by aforeknown file system path, reads the stream from the file and writes it to the response.
    You may find this servlet example useful: [http://balusc.blogspot.com/2007/04/imageservlet.html] (specific for images).

  • Throws errors when deploy a web app to OAS 10.1.3.1

    I deployed my web application to OAS 10.1.3.1,but it throws errors as below:
    08/01/22 17:17:30.171 webbusiness: Error preloading servlet
    javax.servlet.ServletException: Error instantiating servlet 'action'. Servlet class org.apache.struts.action.ActionServlet not found in web-application webbusiness
    at com.evermind.server.http.HttpApplication.servletClassNotFound(HttpApplication.java:4866)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4832)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4734)
    at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4922)
    at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1134)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:738)
    at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
    at com.evermind.server.Application.getHttpApplication(Application.java:545)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1990)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1909)
    at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1606)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:238)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:126)
    at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:576)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:202)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
    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:303)
    at java.lang.Thread.run(Thread.java:595)
    but i am sure the struts.jar is already addeded to WEB-INF/lib folder,I don't know
    why throws that exception, any response hoped,thanks a lot

    I deployed my web application to OAS 10.1.3.1,but it throws errors as below:
    08/01/22 17:17:30.171 webbusiness: Error preloading servlet
    javax.servlet.ServletException: Error instantiating servlet 'action'. Servlet class org.apache.struts.action.ActionServlet not found in web-application webbusiness
    at com.evermind.server.http.HttpApplication.servletClassNotFound(HttpApplication.java:4866)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4832)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4734)
    at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4922)
    at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1134)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:738)
    at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
    at com.evermind.server.Application.getHttpApplication(Application.java:545)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1990)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1909)
    at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1606)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:238)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:126)
    at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:576)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:202)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
    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:303)
    at java.lang.Thread.run(Thread.java:595)
    but i am sure the struts.jar is already addeded to WEB-INF/lib folder,I don't know
    why throws that exception, any response hoped,thanks a lot

  • Deploying a web app under 9.2

    Hello,
    I am trying to deploy a web app using bea 9.2 console and i am getting error with deployment descriptor (which 8.2 specific). So i tried to use appc and got the same error (listed below). Can anyone tell me what is wrong with my descriptor?
    Thanks
    sl
    javax.xml.stream.XMLStreamException: ';' expected a valid beginning name character
    at weblogic.xml.stax.XMLStreamReaderBase.prime(XMLStreamReaderBase.java:78)
    at weblogic.xml.stax.XMLStreamReaderBase.setInput(XMLStreamReaderBase.java:101)
    at weblogic.xml.stax.XMLStreamInputFactory.createXMLStreamReader(XMLStreamInputFactory.java:325)
    at weblogic.xml.stax.XMLStreamInputFactory.createXMLStreamReader(XMLStreamInputFactory.java:49)
    at weblogic.application.descriptor.BasicMunger2.<init>(BasicMunger2.java:107)
    at weblogic.application.descriptor.BasicMunger2.<init>(BasicMunger2.java:125)
    at weblogic.application.descriptor.VersionMunger.<init>(VersionMunger.java:40)
    at weblogic.servlet.internal.WlsWebAppReader2.<init>(WlsWebAppReader2.java:59)
    at weblogic.servlet.internal.WebAppDescriptor$MyWlsWebAppDescriptor.createXMLStreamReader(WebAppDescriptor.java:291)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:369)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:720)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:729)
    at weblogic.servlet.internal.WebAppDescriptor.getWeblogicWebAppBean(WebAppDescriptor.java:148)
    at weblogic.servlet.jsp.JspcInvoker.parseDescriptors(JspcInvoker.java:277)
    at weblogic.servlet.jsp.JspcInvoker.compile(JspcInvoker.java:187)
    at weblogic.application.compiler.AppcUtils.compileWAR(AppcUtils.java:353)
    at weblogic.application.compiler.WARCompiler.compile(WARCompiler.java:72)
    at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:118)
    at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
    at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
    at weblogic.application.compiler.Appc.runBody(Appc.java:163)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:115)
    at weblogic.application.compiler.Appc.main(Appc.java:174)
    at weblogic.appc.main(appc.java:14)
    Caused by: Error at line:2 col:61 ';' expected a valid beginning name character
    at weblogic.xml.babel.scanner.Name.read(Name.java:33)
    at weblogic.xml.babel.scanner.Name.read(Name.java:20)
    at weblogic.xml.babel.scanner.OpenTag.read(OpenTag.java:58)
    at weblogic.xml.babel.scanner.Scanner.startState(Scanner.java:251)
    at weblogic.xml.babel.scanner.Scanner.scan(Scanner.java:178)
    at weblogic.xml.babel.baseparser.BaseParser.prime(BaseParser.java:268)
    at weblogic.xml.babel.baseparser.BaseParser.initScanner(BaseParser.java:118)
    at weblogic.xml.babel.baseparser.BaseParser.init(BaseParser.java:244)
    at weblogic.xml.babel.baseparser.BaseParser.<init>(BaseParser.java:84)
    at weblogic.xml.stax.XMLStreamReaderBase.prime(XMLStreamReaderBase.java:54)
    ... 27 more

    I have created a web application and have a jsp host.
    I have 2 questions:
    1-How do I deploy to the host. please explain. is this host a 3rd party? if so, ask them.
    if the host is tomcat running on a machine that you have control of, create a WAR file and put it in the /webapps directory.
    >
    2-I also want to add a tomcat realm and have been
    told to edit the server.xml file and web.xml file you should not edit the server.xml. just put a WAR file in the /webapps directory. no need to edit server.xml.
    web.xml is part of the standard web app deployment. your app should have one, and it needs to be in the WEB-INF directory.
    are these found on the host??
    please offer a confused guy some helpYou should read "My First Web App" on the Tomcat page.
    %

  • Deploying a web app into a cluster

    Hi Folks,
    I like to create a script that will automate the deployment of a web application
    (WAR file) into a cluster. I found the weblogic.deploy util which allows updates
    on servers.
    How do you specify a cluster as the destination of the deployment?
    Is there another way to do this?
    -Rich

    Hi.
    You can use weblogic.deploy to deploy to a cluster by specifying the cluster name as
    the target parameter instead of individual server names.
    Regards,
    Michael
    Rich wrote:
    Hi Folks,
    I like to create a script that will automate the deployment of a web application
    (WAR file) into a cluster. I found the weblogic.deploy util which allows updates
    on servers.
    How do you specify a cluster as the destination of the deployment?
    Is there another way to do this?
    -Rich--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • Invoking main method from cmd line (deployed as web app)

    I have a application deployed as a web application (war file).
    I want to create a regular java class with main method so that main can invoked
    on a command line.
    The main method wishes to share resources (DB connection pool etc) with the rest
    of the web application.
    Is it possible ? and how to invoke the main method inside the war(not jar) ?

    Hi,
    if you deployed this to OC4J, open EM
    http://server:port/em
    and get to the Web service. You can execute it from here to see if generally this is working, or if you have a proxy problem only
    Frank

  • Error While Deploying A Web Dynpro Appln thru NWDS

    HI,
    I am getting an error while deploying a Web Dynpro Application through NWDS.Following is the Exception
    Aborted: development component '<ComponentName>'/'local'/'LOKAL'/'0.2006.07.26.15.06.05':Caught exception while checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [sapsbx28] with user name: [J2EE_ADMIN] Check your login information. Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Cannot authenticate the user.] (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
    When i give a request for deployment it asks for the SDM password. I enter a valid SDM pwd. If i enter  a invalid SDM pwd i get  some other exception. So the pwd SDM entered by me is correct.
    can any one help me in solving this
    regards
    Nilesh Taunk

    Hi Nilesh,
           Try opening Visual Admin if your not able to login with username(administrator) and password. Problem with NWD2004s do the following steps.
    C:\usr\sap\J2E\JC01\j2ee\configtool->configtool.bat->open it
    1. Click on Secure store
    2. Right you will find :
    admin/password/J2E->retype your admin passowrd which you gave during installation=>SAVE properly
    Restart the server and try login visual admin
           Deploy now...Other wise see this thread same error solved:
    Re: An Deploy Problem about Credentials.
    Regards
    Suresh

  • Deploying a web app with errors

    Good day,
    We are migrating an older application into a WebLogic Portal 10.2 environment. We have Ant scripts to do the deployment from the command line but we want to use the Workspace Studio capabilities to deploy JSP changes to the application. The problem is that the application was architected to dynamically include JSP fragments into other JSPs. These fragments have objects defined in other JSPs and therefore show up with errors in the problems tab in Eclipse.
    Is there a way to force an application to deploy even in this case or do we have to keep deploying/redeploying from the command line? This takes much longer than pushing the single files so this is why we are trying to figure out how to do it within the tool.
    Thanks,
    Sean

    I have created a web application and have a jsp host.
    I have 2 questions:
    1-How do I deploy to the host. please explain. is this host a 3rd party? if so, ask them.
    if the host is tomcat running on a machine that you have control of, create a WAR file and put it in the /webapps directory.
    >
    2-I also want to add a tomcat realm and have been
    told to edit the server.xml file and web.xml file you should not edit the server.xml. just put a WAR file in the /webapps directory. no need to edit server.xml.
    web.xml is part of the standard web app deployment. your app should have one, and it needs to be in the WEB-INF directory.
    are these found on the host??
    please offer a confused guy some helpYou should read "My First Web App" on the Tomcat page.
    %

  • 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

  • Deploying JSC Web App to SJSAS9

    Hi there,
    I have several web applications I've written in Netbeans, and they run on a SJSAS9 server. I've also written a JSC web app, and I would now like to deploy this onto the same SJSAS9 server that I've got my other web apps on.
    It is certainly stated on several SUN sites that this can be done, here for instance:
    http://docs.sun.com/app/docs/doc/819-3653/6n5s0v1qa?a=view
    I've done this, and it works other than there is no database connectivity.
    I have copied the adapter jar file, and the same jdbc jar files over to my server but no change. I can't find any meaningful error message in the logs... but when i used the EXPORT WAR file option I had to export to app server 8, because there is no option for 9. If I try registering my sjsas9 in JSC directly then it can't start or stop it...
    thanks for any help.
    Richard

    Thanks, this helped me fix my problem. First I tried adding the _init method into prerender and that fixed the first problem. The next problem I had was that the Blueprint AJAX Components were throwing an exception (pasted below). I had no luck fixing this exception, so I downloaded, built and ran Glassfish V2 b09, and everything worked, finally :-)
    To be honest this whole project I've been working on in JSC (latest final release) has been a nightmare of going from one bug to another. It has some great features but productivity wise I've lost an enormous amount of time. Every time I track down one problem/workaround, add a bit of functionality, it's another bug/workaround to find. Yeh I know I should be logging them all... I'd love to see it all hang together though, it would be so powerful. Unfortunately my company is currently reviewing IBM and Oracle's suite of Java products and I'm the one trying to persuade them to stay with the SUN tools - my job is getting harder.
    FYI, this is the stack trace coming from the AJAX components in SJSAS9.
    thanks
    Richard
    [#|2006-07-19T10:48:13.761+0100|WARNING|sun-appserver-pe9.0|javax.enterprise.resource.webcontainer.jsf.lifecycle|_ThreadID=12;_ThreadName=httpWorkerThread-8080-1;_RequestID=e1b326c6-f58a-4692-a1f7-ae17860d9bd6;|phase(RESTORE_VIEW 1,com.sun.faces.context.FacesContextImpl@340c9c) threw exception: javax.faces.el.EvaluationException: java.lang.NullPointerException java.lang.NullPointerException
    com.sun.faces.application.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91)
    org.apache.shale.remoting.impl.MethodBindingProcessor.process(MethodBindingProcessor.java:74)
    org.apache.shale.remoting.faces.RemotingPhaseListener.afterPhase(RemotingPhaseListener.java:102)
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:287)
    com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:132)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
    org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
    com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
    com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
    com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
    com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
    com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    |#]

  • Illegal dependency error on deploying GP Web Dynpro application

    Hello All,
    We have created a GP application (FamilyStatusChange) on NWDS 7.0.11. We are using EP. 7.0 SP11.
    On deploying and running this application via NWDS
    java.lang.NoClassDefFoundError: com/sap/caf/eu/gp/co/api/EngineException
    When I try to checkin and activate the activity corresponding to FamilyStatusChange, the activation fails and I get the following error:
    Development Component Build (2007-06-29 03:27:08)
      Component name: FamilyStatusChange
      Component vendor: xyz.com
      SC compartment: xyz.com_SC_XYZ_PORTAL_SP11_1
      Configuration: JD2_XYZSP11_D
      Location: JD2_XYZSP11_D
      Source code location: http://dads:51900/dtr/ws/XYZSP11/adobe.com_SC_XYZ_PORTAL_SP11/dev/active/DCs/xyz.com/FamilyStatusChange/_comp/
      DC root folder: /usr/sap/JD2/JC19/j2ee/CBS/85/.B/13602/DCs/xyz.com/FamilyStatusChange/_comp/
      DC type: Web Dynpro
      Host: dads
    DC Model check:
       All used DCs are available locally
       validating dependency to build plugin "sap.com/tc/bi/bp/webDynpro"
       validating dependency to  public part "default" of DC "sap.com/tc/cmi"
       validating dependency to  public part "default" of DC "sap.com/tc/ddic/ddicruntime"
       validating dependency to  public part "default" of DC "sap.com/tc/ddic/metamodel/content"
       validating dependency to  public part "default" of DC "sap.com/tc/wd/webdynpro"
       validating dependency to  public part "default" of DC "sap.com/tc/logging"
       validating dependency to  public part "default" of DC "sap.com/tc/wdp/metamodel/content"
       validating dependency to  public part "default" of DC "sap.com/com.sap.aii.proxy.framework"
       validating dependency to  public part "default" of DC "sap.com/com.sap.aii.util.misc"
       validating dependency to  public part "default" of DC "sap.com/com.sap.exception"
       validating dependency to  public part "default" of DC "sap.com/com.sap.mw.jco"
       validating dependency to  public part "default" of DC "sap.com/caf/eu/gp/api"
       validating dependency to  public part "default" of DC "sap.com/caf/eu/gp/api/wd"
       ERROR: Illegal dependency: Access list does not allow use of sap.com/caf/eu/gp/api for xyz.com/FamilyStatusChange(xyz.com_SC_XYZ_PORTAL_SP11_1) with respect to public part default.
       Build failed with errors.
    Also when I try to add used DCs (public part "default" of DC "sap.com/caf/eu/gp/api" and public part "default" of DC "sap.com/caf/eu/gp/api/wd") to this application, I get the illegal dependency error.
    Please let me know if there is any settings / access that need to be in place so that this application runs fine. Also let me know the Jar files that need to be added to make this app work.
    Regards,
    Vibha

    Hi Romain,
    I am still working on the issue. But here are my findings. I am stuck up with Basis team to deploy the missing Jar files.
    I had created a GP webdynpro application in EP7 SP6. When we moved to SP11, I copied the same application from SP6 track to SP11 track. Then I got the error upon deployment. Now the catch here is the way GP related Interfaces and classes are used in SP7 and above.
    The changes can be summarized as follows:
    1. You need to reference to DC caf/eu/gp/api but instead of using the Public Part
    “default” you need to use Public Part “external”
    2. All published Interfaces now start with the prefix “IGP”
    3. All published Classes now start with the prefix “GP”
    Please go through the document "Implementing a Web Dynpro Callable Object which Implements the GP Interface" on SDN.
    For illegal dependency issue, if the DC has already been added then you get this error. If required, remove the used DC and add it again.
    Also ensure that the DCs that you are adding as Used DC in your application are deployed on the J2EE engine.If not deploy them through SDM.
    My development configuration contains the following DCs:
    - caf/eu/gp/api(PP - External)
    - caf/eu/gp/api/wd(PP - GPWebDynproCO)
    - com.sap.exception
    - com.sap.security.api.sda
    - tc/logging
    Hope this solves your issue.
    Regards,
    Vibha Singhal
    Message was edited by:
            Armin Reichert

Maybe you are looking for

  • Getting clipped graphics when painting in response to mouse event

    Can anyone tell me how to get a graphics object with the clipping region set appropriately when painting in response to a mouse action rather than in paintComponent where the system provides the Graphics object? The issue is that a graphical componen

  • Failover Cluster creation fails 2012R2

    Create Cluster Cluster: FailoverCluster Node: WS2012R2-2.yottabyte.inc Node: WS2012R2-1.yottabyte.inc IP Address: DHCP address on 192.168.136.0/24 Started 3/31/2015 11:48:52 PM Completed 3/31/2015 11:52:13 PM Beginning to configure the cluster Failov

  • Garage Band LOOPS question

    Hi, I guess this question can apply to both Logic and GarageBand. When using loops am I locked into the "key" that they appear in? What I mean is this. Let's say I make a song in Amajor in 4/4 time. At that point all my loops appear in the key of A.

  • Image shrinks when I pull it into my claim application

    Hi, I've created some forms in Acrobat 8.1 prof., that are to be read by a state's OCR reader, but when i load it to my claim application, the image shrinks and the form fields are no longer in the position I need them to be in. is there a way to con

  • Display the purchase order using plant & material  in reports

    Hi experts,              i wanna print purchase order based on plant and material.   in the purchase order i need date(cretion date of po) , po item, po num ,quantity , available quantity.             i could not able to find the table in which date