WAR files (Tomcat) and deployment descriptor

Hello,
I am currently writing a small utility to package a web application for Jakarta Tomcat as a .war file.
I have a functional version that imports the deployment descriptor web.xml, but I'd like to make it possible for the user to edit or create from scratch that file. I use the DOM API to make a logical model of my web.xml, but the parser won't accept the external dtd definition :
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
Here is my parser :
private void parse(File in) {
try {
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
factory.setNamespaceAware(true);
factory.setValidating(true);
DocumentBuilder builder = factory.newDocumentBuilder();
document = builder.parse(in); (((*)))
catch (...)
}//parse
---------------------------------------------It seems I have no further controls on DocumentBuilder and DocumentBuilderFactory.
The builder.parse call generates this exception :
java.net.NoRouteToHostException: Operation timed out: no further information
at java.net.PlainSocketImpl.socketConnect(Native Method)
at org.apache.crimson.parser.Resolver.resolveEntity(Resolver.java:389)The problem seems to be located in DOM's DefaultHandler entity resolver, but I don't ee clearly what to do.
Thanks for helping.

Hi,
I already tried every combination of settings with
DocumentBuilderFactory.setNamespaceAware
DocumentBuilderFactory.setValidating
DocumentBuilderFactory.setCoalescing
DocumentBuilderFactory.ExpandEntityReferencesI had the same result. Here is the exact dump :
java.net.NoRouteToHostException: Operation timed out: no further information
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:125)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)
        at java.net.Socket.<init>(Socket.java:273)
        at java.net.Socket.<init>(Socket.java:100)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:50)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:331)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:517)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:277)
        at sun.net.www.http.HttpClient.New(HttpClient.java:289)
        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
.java:379)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:472)
        at org.apache.crimson.parser.Resolver.resolveEntity(Resolver.java:389)
        at org.apache.crimson.parser.ExternalEntity.getInputSource(ExternalEntit
y.java:88)
        at org.apache.crimson.parser.Parser2.pushReader(Parser2.java:2986)
        at org.apache.crimson.parser.Parser2.externalParameterEntity(Parser2.jav
a:2721)
        at org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Parser2.java:1154)
        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:488)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:304)
        at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
        at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl
.java:179)
        at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:161)
        at DOMView.main(DOMView.java:96)This shows that the entity resolver tries to access the distant DTD, so I tried to implement myself the EntityResolver interface, but I didn't well understood
what to do with that InputStream it has to return.

Similar Messages

  • How to uninstall a war file which is deployed as library in console

    Hi All,
    How to uninstall a war file which is deployed as library in console.
    Thanks in advance

    You cant uninstall it........first stop it , then delete it and then activate the session.
    Hope this helps.
    Regards,
    Karan
    Oracle Fusion Middleware Blog

  • Best practice for .war?  Configure and deploy or deploy and configure?

    In Apache Tomcat for example, I can deploy an app, stop the server, reconfigure the app in situ, then start the server again...
    Is this recommended for deploying Java web apps to Oracle App Server 10g?
    We currently have a consulting firm that is recommending to configure the web app before deploying. Sounds reasonable, except that they want this done via JDeveloper so that the Sys Admin can right click on the "deploy to OAS" button (ie: have the tools generate the .war file after configuration and deploy automagically).

    Thanks for your feedback.
    Are you aware of any way to use the *.deploy configuration file that is created by JDeveloper in an ANT script to create the .war or .ear file?
    If not, I can picture the Sys Admin and developers groaning when they're told that they're JDeveloper web-app configuration cannot be used for production -- and that they must somehow duplicate that functionality in an ANT script!
    I do have the below ANT scripts from Debu to do the deployment etc. But they only help after the .ear is built.
    EAR file deployment:
    <target name="deploy" depends="core">
    <java jar="${j2ee.home}/admin.jar" fork="yes">
    <arg value="${oc4j.deploy.ormi}"/>
    <arg value="${oc4j.deploy.username}"/>
    <arg value="${oc4j.deploy.password}"/>
    <arg value="-deploy"/>
    <arg value="-file"/>
    <arg value="${this.build}/${this.ear}"/>
    <arg value="-deploymentName"/>
    <arg value="${this.application.name}"/>
    </java>
    </target>
    Web application binding:
    <target name="bind-web-app" depends="deploy">
    <java jar="${j2ee.home}/admin.jar" fork="yes">
    <arg value="${oc4j.deploy.ormi}"/>
    <arg value="${oc4j.deploy.username}"/>
    <arg value="${oc4j.deploy.password}"/>
    <arg value="-bindWebApp"/>
    <arg value="${this.application.name}"/>
    <arg value="${this.war}"/>
    <arg value="http-web-site"/>
    <arg value="/${this.uri}"/>
    </java>
    </target>
    Undeployment:
    <target name="undeploy" depends="init">
    <java jar="${j2ee.home}/admin.jar" fork="yes">
    <arg value="${oc4j.deploy.ormi}"/>
    <arg value="${oc4j.deploy.username}"/>
    <arg value="${oc4j.deploy.password}"/>
    <arg value="-undeploy"/>
    <arg value="${this.application.name}"/>
    </java>
    </target>

  • WAR file fails to deploy WEB-INF/classes

    Hi All
    I am attempting to get a simple JPA on JSE app running on WLS 9.1. I can deploy my WAR file and access the jsps no problem, however the WEB-INF/classes directory is empty on deployment. How can I tell if the classes are being deployed correctly? I have tried using autodeploy and console deployment, always with the same result. My war file is structured as follows:
    WEB-INF/
    WEB-INF/faces-config.xml
    WEB-INF/weblogic.xml
    WEB-INF/web.xml
    WEB-INF/classes/
    WEB-INF/classes/my/test/package/{all classes}
    WEB-INF/lib/{all reqd libs}
    index.jsp
    When I run the jsp, there are no errors, the classes just don't appear to be doing anything. The logs have absolutely nothing to help with this, I turned on app logging in weblogic.xml and it has nothing other than the initialization in it either.
    I've deployed and run the exact same app (less the weblogic.xml file) successfully on Tomcat and OC4J, any ideas out there? Am I looking in the right place for the deployed class files (Checking the WL_HOME/samples\domains\wl_server\servers\examplesServer\tmp\_WL_user\jpa-example\xb6q08)?

    Hi,
    I've faced the same issue in WLS9.2, and but it didn't affect my web application running, I guess that the classes are read from the WAR file directly, so for me to overcome this issue, I've changed the technique of how to install web application by selecting extracted war installation instead, and from the WLS Console selected
    "I will make the deployment accessible from the following location" and selected the folder that contains the extracted WAR.
    Hope this will help,
    Issa

  • Problems with war file,popups and forms

    Hi All,
    we are using adf faces and jdeveloper 11g for our project.
    Development work and all have happened fine, but we are facing few problems when we created the war file of the project and deployed it on tomcat 6.0 .
    The major problem we are facing after the deployment of war on tomcat 6.0 is:
    Popus (the popups we created and calender popups) are not showing up. The page simply refreshes when click on the popup link. There are no exceptions thrown, no errors in tomcat logs. The same thing is happeing for calender popups also.
    We are using the following code for popup creation:
    <af:popup id="mypop" eventContext="self">
    <table>
    <af:spacer width="10" height="20"/>
    <tr>
    <td>Name:</td>
    <td>
    <af:inputText columns="20" required="true" value="#{FL.name}"/>
    </td>
    </tr>
    </table>
    <table>
    <tr>
    <td>
    <af:commandButton text="Submit" action="#{FL.ValidateName}"/>
    </td>
    </tr>
    <af:spacer width="10" height="10"/>
    <tr>
    <td>
    <af:outputText value="(*) Marked fields are compulsory"/>
    </td>
    </tr>
    </table>
    </af:popup>
    <af:commandLink>
    ADD Name
    <af:showPopupBehavior popupId="mypop" align="endBefore"
    triggerType="action"/>
    </af:commandLink>
    the following jars are included in web-inf/lib folder:
    adf-controller-api.jar
    adf-controller-rt-common.jar
    adf-controller.jar
    adf-faces-databinding-rt.jar
    adf-pageflow-dtrt.jar
    adf-pageflow-fwk.jar
    adf-pageflow-impl.jar
    adf-pageflow-rc.jar
    adf-richclient-api-11.jar
    adf-richclient-impl-11.jar
    adf-share-base.jar
    adf-share-ca.jar
    adf-share-support.jar
    adflibfilter.jar
    adflogginghandler.jar
    adfm.jar
    adfmweb.jar
    cache.jar
    commons-el.jar
    commons-logging-1.1.1.jar
    db-ca.jar
    dms.jar
    dvt-faces.jar
    dvt-jclient.jar
    dvt-utils.jar
    fmw_audit.jar
    glassfish.jstl_1.2.0.1.jar
    identitystore.jar
    inspect4.jar
    javatools-nodeps.jar
    javax.management.j2ee_1.0.jar
    jaxen-full.jar
    jdbc2_0-stdext.jar
    jewt4.jar
    jmxframework.jar
    jmxspi.jar
    jps-api.jar
    jps-common.jar
    jps-ee.jar
    jps-internal.jar
    jps-unsupported-api.jar
    jsf-api.jar
    jsf-impl.jar
    jsf-ri.jar
    jstl.jar
    log4j.jar
    mdsrt.jar
    ojdbc14_g.jar
    ojdl.jar
    oracle-el.jar
    oraclepki.jar
    org.apache.commons.beanutils_1.6.jar
    559,366 org.apache.commons.collections_3.1.jar
    org.apache.commons.logging_1.0.4.jar
    osdt_cert.jar
    osdt_core.jar
    saxpath.jar
    share.jar
    standard.jar
    trinidad-api.jar
    trinidad-impl.jar
    wls-api.jar
    xalan.jar
    xercesImpl.jar
    xml-apis.jar
    xmlef.jar
    xmlparserv2.jar
    We are struggling to find a solution for this.
    Any suggestions on this will be highly appreciated.
    Thank you.

    Hi,
    please try removing all your HTML elements and just use ADF Faces components. Chances are that mixing HTML with JSF components, though possible in JSF 1.2 causes this conflict
    Frank

  • War file won't deploy. No errors

    EDIT: Never mind. Found the problem. It was connecting to the wrong database app. Thanks+_
    Hi, all!
    What are some of the things that could cause a web application to not deploy but wouldn't print any errors in the log? There are no errors what so ever, and the app used to work. I haven't changed web.xml or jboss-web.xml. I've put a System.out.println and a debug point in the ServletContextListener's contextInitialized method, and it looks like even that's not getting hit. When I go to the app's url I just get a generic jBoss 404 error, and the app doesn't show deployed in the Netbeans Services > Servers > Jboss > Web Applications view. The war file is getting coppied to the deploy folder and the server does try to deploy it
    Here's the last 2 lines of the log (EAppDataCapture is my app):
    08:50:13,265 INFO  [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] Started in 15s:849ms
    08:50:18,657 INFO  [TomcatDeployer] deploy, ctxPath=/EAppDataCapture, warUrl=.../tmp/deploy/tmp8883488244503481935EAppDataCapture-exp.war/I'm running windows service pack 3
    Java 1.6.0_20
    JBoss 4.2.3.GA
    This application used to work just fine and now it doesn't. :( I don't remember doing anything to it between the time it did work and now.
    Could you guys give me some ideas on what sorts of things could possible make it so that deployment fails without any sort of errors in the server log?
    Thanks so much!
    EDIT: Never mind. Found the problem. It was connecting to the wrong database app. Thanks+_
    Edited by: CreatureOfLegend on Jun 21, 2010 8:10 AM

    Ok, I saw that I have the "Pm trace database" error, so I fixed it.  Now sync is giving no errors at all.  But still skips datebook and addressbook.
    Log:
      HotSync session completed successfully on 12/06/08 01:09:03
     HotSync session started on 12/06/08 01:08:37, and completed in 26.0 seconds
     To Do List synchronized successfully
     Duration: 0.7 seconds
     Memo Pad synchronized successfully
     Duration: 1.3 seconds
     Media synchronized successfully
     Duration: 3.2 seconds
     Backed up all files successfully to Lisa's Backup folder
     Duration: 8.9 seconds
     Backed up 3 file(s) successfully
    Post relates to: Centro (Verizon)
    Post relates to: Centro (Verizon)

  • WebHelp Output files distribution and deployment regarding

    Hi,
    I am just starting to try, learn RH7 to generate WebHelp.
    I successfully did a very simple and basic test project and
    our developer displayed the topic help on pressing F1.
    Good.
    Our application is a backoffice payment system. Currently the
    application is deployed on the Application Server which is
    Macromedia JRUN 4 with the OS - MS Windows 2003 std edition SP1.
    My compnay is planning for the following:
    The application shall be deployed on the Application Server
    Weblogic 10x on a UNIX box (could be IBX AIX/HP UX).
    The application is bundled as .WAR.
    Could you please clarify this for us?
    - Should the WebHelp output folder be bundled along with the
    above .WAR?
    - Can the Help files reside on Application server or the Web
    Server (only the Help not the application) and
    can still work effectively? (We prefer the Help to be on the
    App Server tho')
    Well, if I am not clear, I'll be glad to get you more
    details.
    Thanks in advance for your help.
    Radha Renganathan

    Hi Radha.
    Don't get confused between the generated and the published
    output. The published output is the actual output required to be
    placed where your users will access it. The location is defined in
    the final part of the WebHelp single source layout. The help can
    reside just about anywhere. You may want to check out our resident
    WebHelp juru Peter Grainge's
    website
    which has all the options on calling webhelp plus all manner of
    other stuff.

  • Rpt file storage and deployment

    Hello all-
    I have a few questions I'm hoping someone can answer.
    Currently we deploy an application with around 1100 reports. Due to customer security the report must be stored locally by them on their server with no outside access. Due to this we currently ship them new and updated reports which are stored in a standard \reports folder. One of the problems with this is the integrity of the rpt file itself. Storage of the reports in this manner allows the users to open the reports (if they have CR installed) and make changes which then are manifested when ran within the application.
    I would like to store / deploy the reports in a different manner but I don't know that much about it and I am not sure what methodology would work the best.
    Being that out data is stored in a SQL server can rpt files be stored in a SQL table (like a blob?) If so if it easy to call the reports from the table?
    Can you store rpt files in DLLs?
    I know we could assemble the reports inside the application itself but that would require a release when one off report changes take place.
    Am I barking up the wrong tree here or if what I am thinking about possible?
    Thanks a lot for any and all responses!
    Rob

    Hi,
    What version are you using crystal report .rpt? Thats why new crystal report are now integrated for security purposes so that .rpt files cannot be shown. For my experience you cant but you can still store the reports in a folder that they cant open the file. Do not install the whole package of the CR but instead just register the DLL so that it can be recognized by the OS.
    REgards,
    Clint

  • Can't deploy WAR file

              I'm trying to deploy a war file with a single servlet but I can't seem to get it to deploy. Weblogic 6 doesn't give me any errors back but the application doesn't appear to have any contents in it. I'm sure it has something to do with the structure of my war file or the deployment descriptors, can you point me to some good documentation of them. Also is there anyway to view error messages?
              

    Here are some links that might be helpful.
              http://www.weblogic.com/docs60/servlet/admin.html
              http://www.weblogic.com/docs60/programming/webappdeployment.html
              The first link has an overview of web app structure and some useful links to
              more information on web apps. The second link describes the web.xml and
              weblogic.xml files.
              Error messages related to web app creation and url resolution will be printed
              in the weblogic.log file which is in the directory where you start the WebLogic
              server.
              mark
              Matt Heaton wrote:
              > I'm trying to deploy a war file with a single servlet but I can't seem to get it to deploy. Weblogic 6 doesn't give me any errors back but the application doesn't appear to have any contents in it. I'm sure it has something to do with the structure of my war file or the deployment descriptors, can you point me to some good documentation of them. Also is there anyway to view error messages?
              

  • Can't undeploy war file

    I have an application, and deploy the war file, I make a new war and when I go to deploy the next error appaers:
    Error while de-serializing the information concerning the J2EE application from the PersistentObject named: inv with description: J2EE application: inv Root Cause:
    oracle.ias.sysmgmt,common,Init.Parameters; is no Serializable.
    In the web server the only change was modify the IP number.
    What can I do?
    Thanks,
    MIGUEL ANGEL CARO
    [email protected]

    Here are some links that might be helpful.
              http://www.weblogic.com/docs60/servlet/admin.html
              http://www.weblogic.com/docs60/programming/webappdeployment.html
              The first link has an overview of web app structure and some useful links to
              more information on web apps. The second link describes the web.xml and
              weblogic.xml files.
              Error messages related to web app creation and url resolution will be printed
              in the weblogic.log file which is in the directory where you start the WebLogic
              server.
              mark
              Matt Heaton wrote:
              > I'm trying to deploy a war file with a single servlet but I can't seem to get it to deploy. Weblogic 6 doesn't give me any errors back but the application doesn't appear to have any contents in it. I'm sure it has something to do with the structure of my war file or the deployment descriptors, can you point me to some good documentation of them. Also is there anyway to view error messages?
              

  • Creating ear and war file from deploy file programatically

    Hi All,
    Is there any API available in oc4j to create an ear or war file from a .deploy file...........??
    Thanx in advance.

    There isn't a public API that let's you hook up to the deploy file in JDeveloper.
    You might be able to achieve this with the JDeveloper Ant task:
    http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/anttasks/index.html

  • Fail to Deploy the applicaiton WAR file build by Spring2.5 framework

    The War File build by Spring2.5 Framework can deploy and run successfully on Local WebLogic (10.3.6)
    but this WAR file can not deploy on Java Cloud Service ;
    I tried to deploy it on the Java Cloud Services Control pages and with OEPE (the Eclipse IDE whichi download from Oracle Cloud Official ) ,but these two were all failed !
    the error logs as below ,and their no noticeable info in logs , ple help to fix it
    Thanks
    LOGS
    Deployment to Oracle Cloud failed, please check Error Log for detail.
    [deploy]
    2013-02-21 01:18:56 CST: Starting action "Deploy Application"
    2013-02-21 01:18:56 CST: Deploy Application started
    2013-02-21 01:19:02 CST: weblogic.application.ModuleException:
    2013-02-21 01:19:02 CST: WLS action state: failed
    2013-02-21 01:19:02 CST: Action FAILED with WLS state: failed
    2013-02-21 01:19:02 CST: Application deployment failed.
    2013-02-21 01:19:03 CST: [Deployer:149194]Operation 'remove' on application 'helloSpring' has succeeded on 'm0'
    2013-02-21 01:19:03 CST: WLS action state: completed
    2013-02-21 01:19:03 CST: "Deploy Application" complete: status FAILED
    [virus-scan]
    2013-02-21 01:18:36 CST: Starting action "Virus Scan"
    2013-02-21 01:18:36 CST: Virus Scan started
    2013-02-21 01:18:53 CST: ----------------------------------------------------------------------
    2013-02-21 01:18:53 CST: File Scanned:     "helloSpring.war".
    2013-02-21 01:18:53 CST: File Size:     "4049531".
    2013-02-21 01:18:53 CST: File Status:     "CLEAN".
    2013-02-21 01:18:53 CST: ----------------------------------------------------------------------
    2013-02-21 01:18:53 CST: Virus scan passed.
    2013-02-21 01:18:53 CST: "Virus Scan" complete: status SUCCESS
    [whitelist]
    2013-02-21 01:18:53 CST: Starting action "API Whitelist"
    2013-02-21 01:18:53 CST: API Whitelist started
    2013-02-21 01:18:56 CST: WARNING - There are 3 warnings(s) found for helloSpring.war.
    2013-02-21 01:18:56 CST: WARNING - Path:helloSpring.war (3 Warnings)
    2013-02-21 01:18:56 CST: WARNING - Path:helloSpring.war (3 Warnings)
    2013-02-21 01:18:56 CST: WARNING - Path:WEB-INF**** (1 Warning)
    2013-02-21 01:18:56 CST: WARNING - 1:Recommended child element "login-config" missing under element /
    javaee:web-app.
    If you want to make your application public, you can have empty
    <login-config/> in your web.xml. If you need authentication then you must
    have <login-config> and its child <auth-method> element in web.xml.
    Without this element(<login-config>), users may be challenged by SSO, but
    the application code will be executed as anonymous user only. Line No:5.
    2013-02-21 01:18:56 CST: WARNING - Path:WEB-INF**** (2 Warnings)
    2013-02-21 01:18:56 CST: WARNING - 1:Recommended child element "jsp-descriptor" missing under element /
    orcl-weblogic:weblogic-web-app.
    If you have a JSP file that is not pre-compiled, The compilation errors
    could be shown on the browser. It is recommended to include
    <jsp-descriptor><verbose>false<****><****-descriptor> in weblogic.xml.
    Line No:2.
    2013-02-21 01:18:56 CST: WARNING - 2:Recommended child element "session-descriptor" missing under element /
    orcl-weblogic:weblogic-web-app.
    You will be required to have distinct cookie-path, if multiple
    applications are accessed with in the same SSO session or if you have
    multiple applications with different auth-method(CLIENT-CERT, FORM, BASIC)
    in the same service instance.
    Line No:2.
    2013-02-21 01:18:56 CST: WARNING - helloSpring.war had 3 warning(s).
    2013-02-21 01:18:56 CST: INFO - Whitelist validation has completed with 0 error(s) and 3 warning(s).
    2013-02-21 01:18:56 CST: Whitelist validation passed.
    2013-02-21 01:18:56 CST: "API Whitelist" complete: status SUCCESS

    This kind of deployment error is typically caused by usage of certain API's or an attempt by the SpringFramework to get certain restricted resources .
    Can you please find the Service logs (Via Java service Console " View Service Logs" link ) and se if anything is reported in the timeframe when this deployment error happend.

  • Deploying war file on iplanet application server 6.5

    Hi ,
    We are trying to deploy WebObjects application on Iplanet Application server server 6.5.
    Steps we tried for deployment :
    1) War file generated by WebObjects.
    2) Started IPlanet Application server.
    3) Opened the War file in the deployment tool.
    4) Verified that the WAR file to be deployed using the verify option in the deployment tool(Verified successfully)
    5) We tried to save the archive, then it throws an error saying "
    "Invalid entry compressed size (expected 52 bytes but got 51 bytes)".
    We ignored this message and proceeded further by clicking on OK.
    6) Deployed the WAR file using the deploy option
    7) In the deploy message box, it diplays that the application was deployed successfully.
    Then we tried to access the application by trying the following url : " http://localhost/NASApp/<CONTEXT NAME>/WebObjects/<APPLICATION NAME>"
    (eg : http://localhost/NASApp/SampleApplication/WebObjects/SampleApplication.woa>)
    We are getting the error saying that " GXError". We are not sure whether the the above mentioned url is the correct way to access the application !
    What we think the problem in deployment is
    i) because of error while saving the WAR file (Invalid entry compressed size (expected 52 bytes but got 51 bytes)
    ii) URL not appropriate
    Other observations :
    We tried to deploy to deploy sample application on Iplanet Application server. All these sample applications are deployed properly without the above mentioned error message. All these application are accessed by typing following url : " http:localhost/NASApp/<CONTEXT NAME>/<APPLICATION NAME>". IN all the sample application, url contains "NASApp" . We are not sure what this stand for and maps to. What we assumed is that it maps to the the iplanet app document root i.e "installedroot/ias6/ias/App"
    The exception throw while saving the WAR file is " com.iplanet.ias.tools.buzz.util.ArchiveHandlerException"
    Has any body who has tried this can help us?
    Thanks,
    Raju and Venkatesh

    Hi,
    First of all the application you are trying is from a WebObjects application server. I don't know how they package the modules and what is the format/file structure. I just went to their site, though they say that the WebObjects applications can be deploy on any J2EE Application server but still how they package and how they write the xml descriptors is not known.
    Looking at your exception it seem that first it is something to do the war/jar archive file compression thing (as the deployment tool is not able to read the complete file) then comes the deployment descriptors.
    I tried to get a few sample application from their site but I couldn't fine any, it will be great help if you can provide a WebObjects sample app to me (mail it to [email protected]).
    Regarding the NASApp string in URL, it has nothing to do with document root of iAS and also installedroot/ias6/ias/APPS dir is not the document root of iPlanet app server, this is the place where it save/explodes all the archives (ear).
    See iPlanet App server don't have any HTTP daemon to listen to the HTTP requests, so it needs a web server with a plugin (web connector) to forward the HTTP requests meant for iAS, and this NASApp string in the URL is the key to that.
    All the URLs are first send to the iAS plugin (as configured in web server's obj.conf file) and plugin look for this NASApp string (configurable), if it is there in the URL then it converts the HTTP request and send it to iAS over a proprietary protocol (KCP), otherwise it gives the request as it is to web server to process it.
    The NASApp string is a iAS registry parameter which you can change any time. And generally the context root part of the URL is the war file name (by default). So the typical URL for any web application (MyWeb.war) will be:
    http://<host>:<port>/NASApp/MyWeb/<Servlet_name>.
    I don't know why that extension "*.woa" is there. So if you send me a sample war file, I will be able to try it out.
    Please feel free to ask further questions.
    Sanjeev,
    Developer Support, Sun ONE Application Server-India.

  • JSP .war file deployment in LAN/Internet

    I have done one project in JSP and wants to deploy it in Tomcat 5.5 server
    and make it able to run on the internet like www.yourdomain.com.
    I heared that by making .war file we can deploy the JSP project. I made it as .war file in my prjoect.
    How do I configure it to access www.yourdomain.com ?
    Incase in LAN/Intranet I have server how do I configure there?
    Please guide me on this
    Thanking you in anticipation

    Is this what you are looking for?
    http://www.aprelium.com/abyssws/articles/access-test.html

  • Error deploying war file to Oracle OC4J

    Hi
    I am deploying a WAR file compiled under creator 2 update 1 and exported for the 1.3 environment. The WAR is to be deployed on Oracle's OC4J 10.1.2.0.2 server.
    Previously, everything worked fine, and I could deploy this war and make all the oracle config changes required to run the creator application. Now, it has stopped working. However, I can deploy another app compiled in the same way to oc4j no worries.
    When I deploy this particular WAR file (for this particular project), I get the following error:
    500 Internal Server Error
    java.lang.IllegalArgumentException: Resource /faces/index.jsp not found     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.EvermindPageContext.forward(EvermindPageContext.java:221)     at JSCreator_index._jspService(_JSCreator__index.java:47)     [SRC:/JSCreator_index.jsp:3]     at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Thread.java:534)
    Now, it seems to be that the server can't find the index.jsp page which is redirected to from the jscreator_index.jsp default file. however, the index.jsp file is there in the war file - and seems to be valid. I am not sure if it is something to do with the /faces/ mapping as I can't figure out where this is set or pointing to.
    Anyone got any pointers as to where I can look for a config issue with this WAR or with OC4J to see if everything is being set up right. Like I say, if I compile any other WAR and deploy it in exactly the same sequence of steps it works fine - something i tested by running up a quick test app to the server and checking it could be served.
    I can still deploy an older version of this war, which tells me it is to do with something that has changed in the last 6 weeks or so of our development, but I am not sure how to go about trouble shooting this war file to see what I can do to fix the issue.
    any help would be really appreciated.
    ta
    ben

    on a follow up to this, it seems that the issue was caused by the source safe product - we had got some of the project files checked into source safe, and after checking them out, the war would compile and deploy and run. i am following this up but if anyone has any pointers as to why this might be or what file (the nbproject directory specifically, plus the manifest file) would cause this sort of behavior, I would appreciate it

Maybe you are looking for

  • Blank white window?

    Since upgrading to Mountain Lion I'm experiencing several weird problems that center on opening folders and windows. First, frequently when I double-click on a folder to open it the new window is completely blank -as if it were an empty folder. But u

  • Oracle netasst for 8.1.5 on Suse 6.2

    Hi I have successfully installed Oracle 8.1.5 Enterprise edition on Suse 6.2 and applied the 8.1.5.0.1 patch set, however when I try to run the Net 8 Assistant (netasst) I get the following error: NVFactory: _readNVLiteral expected LITERAL Exiting ja

  • APP-Problem in creating payment order

    Hi Gurus, I have created payment proposal for vendors in F110. Now, when I am checking the payment proposal in FBZ0 all the vendor line items are marked in RED in the Type Column which i guess should be green. Please let me know if it is ok or what c

  • Form views in Acrobat 9 Pro

    In Acrobat 9 Pro, when creating forms and testing the fields, I have to jump back and forth between Preview and Edit Layout view. In Preview view, the list of form fields on the left disappears; back in Edit Layout view the list of form fields reappe

  • Parent/Child "itemkey"

    I have a parent/child relatonship between 2 tables. Both tables have dataless keys (both just populated by different sequence numbers starting at 1). I want to create Parent and Child processes (in the same workflow itemtype) to represent the records