Verifying war file : Strange error

Hi all!
When i run javke 1.4.2 i receive a strange failed tests, that i can't understand. What it mean?
     FAILED TESTS :
     Test Name : tests.web.WebArchiveClassesLoadable
     Test Assertion : All classes in this Web Archive are loadable. Please refer to J2EE 1.4 Specification Section #8.1.2 for further information.
     Test Description : For [ application.war ]
classes [   ] referenced by [ ] are not found
Please either bundle the above mentioned classes in the application or use optional packaging support for them.
END OF STATIC VERIFICATION RESULTS
Thank you.
I run javke 1.4.2 with jdk 1.5 on linux ubuntu machine.

But the verifier shows that faces/FirstPage.jsp does not exist when it exists and also the same project get successfully deployed from creator2 without any issue to the classpath on the same PC? It is only when I manually try to deploy that I get the message.

Similar Messages

  • Deploying WAR file gets error

    Hi,
    I am new to weblogic and am trying to deploy jsps and servlets. This is my directory structure:
    MiniEjbs --> src, build, myapp dirs
    src ---->CalculateHOme,Calculate,CalculateBean. java files
    build----> src ----> ejb's class files
    ----> META-INF-----> *.xml (for ejb)
    --->MiniEjb.jar,Miniwebapps.war
    myapp--->WEB-INF--->*.xml(web)
    --->class---> accessServlet.class
    ---> calc_num.jsp
    when I deploy the war file using console I get an error
    J2EE:160043]Missing deployment descriptor "WEB-INF/web.xml"at "C:\bea\user_projects\domains\AnilRukkuDomain\AnilRukku\upload\Miniwebapp.war"
    I created a new domain AnilRukkuDomain,but all my ejbs and client apps are in C:\MiniEjbs dir.Is this a problem for my deployment? After I deploy would my context root be myapp or do I set that explicitly? My ejbs are deployed without any problem.Will my application run if I create seperate modules and deploy individually?Is it mandatory for me to create an application?
    Kindly help me out with this. I appreciate your help.
    Thanks,
    Rukmini

    Hello,
    Could you check weblogic.xml?
    Specifically the element jsp-descriptors.
    For example:
    One can receive the same error if weblogic.xml had specified workingDir to a non-existent directory i.e d:\foo.
    The problem was that the weblogic.xml specified a non-existent directory for "workingDir" parameter for jsp-descriptor. Check once weblogic.xml especially <jsp-descriptor>.
    <jsp-descriptor>
    <jsp-param>
    <param-name>compileCommand</param-name>
    <param-value>javac</param-value>
    </jsp-param>
    <jsp-param>
    <param-name>workingDir</param-name>
    <param-value>d:\foo</param-value>
    </jsp-param>
    <jsp-param>
    <param-name>keepgenerated</param-name>
    <param-value>true</param-value>
    </jsp-param>
    Try to comment any elements in weblogic.xml that is either not used or redundant.
    There is one CR also filed for prabably similar issue. You can get more informaiton about CR200819 from bea support.
    Regards,
    Kuldeep Singh.

  • Export WAR file compilation error

    Hi,
    I have an application that compliles and deployes fine in JSC. However, if I try to export WAR file to deploy on the Weblogic server I get the error below. The error seems to be due to the fact that one of the JSPs resides in a subdirectory. Moving it to the main directory solves the problem, but this application will have many JSPs and I won't be able to keep them in the same directory. Is it a bug or I miss something?
    init:
    deps-module-jar:
    deps-ear-jar:
    deps-jar:
    library-inclusion-in-archive:
    library-inclusion-in-manifest:
    compile:
    compile-jsps:
    Building jar: E:\cartman\dist\cartman.war
    do-dist:
    extract.war:
    Expanding: E:\cartman\dist\cartman.war into E:\cartman\dist\tmp
    Deleting: E:\cartman\dist\tmp\WEB-INF\sun-web.xml
    Deleting: E:\cartman\dist\cartman.war
    Copying 1 file to E:\cartman\dist\tmp\WEB-INF
    errorhandler.modifications:
    Moving 1 files to E:\cartman\dist\tmp\WEB-INF
    Processing E:\cartman\dist\tmp\WEB-INF\web.before.errorhandler to E:\cartman\dist\tmp\WEB-INF\web.xml
    Loading stylesheet E:\cartman\nbproject\export-web-xml.xsl
    j2ee13.init:
    j2ee13.web.xml:
    Moving 1 files to E:\cartman\dist\tmp\WEB-INF
    Processing E:\cartman\dist\tmp\WEB-INF\web.before.j2ee13 to E:\cartman\dist\tmp\WEB-INF\web.xml
    Loading stylesheet E:\cartman\nbproject\j2ee13-web-xml.xsl
    j2ee13.index.jsp:
    j2ee13.jspf:
    Moving 5 files to E:\cartman\dist\tmp
    Transforming into E:\cartman\dist\tmp
    Processing E:\cartman\dist\tmp\Help.jsp.before.j2ee13 to E:\cartman\dist\tmp\Help.jsp
    Loading stylesheet E:\cartman\nbproject\j2ee13-jsp.xsl
    Processing E:\cartman\dist\tmp\Login.jsp.before.j2ee13 to E:\cartman\dist\tmp\Login.jsp
    Processing E:\cartman\dist\tmp\ThankYou.jsp.before.j2ee13 to E:\cartman\dist\tmp\ThankYou.jsp
    Processing E:\cartman\dist\tmp\WelcomeUser.jsp.before.j2ee13 to E:\cartman\dist\tmp\WelcomeUser.jsp
    Processing E:\cartman\dist\tmp\adminReports\adminReportsMain.jsp.before.j2ee13 to E:\cartman\dist\tmp\adminReports\adminReportsMain.jsp
    Processing E:\cartman\dist\tmp\Help.jsp.before.j2ee13 to E:\cartman\dist\tmp\Help.jsp
    Processing E:\cartman\dist\tmp\Login.jsp.before.j2ee13 to E:\cartman\dist\tmp\Login.jsp
    Processing E:\cartman\dist\tmp\ThankYou.jsp.before.j2ee13 to E:\cartman\dist\tmp\ThankYou.jsp
    Processing E:\cartman\dist\tmp\WelcomeUser.jsp.before.j2ee13 to E:\cartman\dist\tmp\WelcomeUser.jsp
    Processing E:\cartman\dist\tmp\adminReportsMain.jsp.before.j2ee13 to E:\cartman\dist\tmp\adminReportsMain.jsp
    Failed to process E:\cartman\dist\tmp\adminReportsMain.jsp.before.j2ee13
    E:\cartman\nbproject\build-impl.xml:411: java.io.FileNotFoundException: E:\cartman\dist\tmp\adminReportsMain.jsp.before.j2ee13 (The system cannot find the file specified)
    BUILD FAILED (total time: 15 seconds)The file adminReportsMain.jsp is under Web Pages/adminReports directory.
    Thanks in advance,
    Vlad

    Maybe I am not going down the right path,
    Have you opened your build-impl.xml?
    I see two different location for this file and plus the one you are saying this file is located. Is there two adminReportsMain.jsp?
    Processing E:\cartman\dist\tmp\adminReports\adminReportsMain.jsp.before.j2ee13 to
    E:\cartman\dist\tmp\adminReports\adminReportsMain.jsp'Processing E:\cartman\dist\tmp\WelcomeUser.jsp.before.j2ee13 to E:\cartman\dist\tmp\WelcomeUser.jsp
    Processing E:\cartman\dist\tmp\adminReportsMain.jsp.before.j2ee13 to
    E:\cartman\dist\tmp\adminReportsMain.jsp

  • OAS 10G WAR file deployment error (Errors in named queries)

    Hi again,
    I setup a 10G 10.1.3.1 Application Server and tried deploying my WAR file. In tomcat the WAR file deployment works fine. however in OAS I get this error and currently I'm clueless as to what causes the error.
    [Oct 24, 2007 6:03:37 PM] Operation failed with error: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: org.hibernate.HibernateException: Errors in named queries: Book_List_By_RegisterDate ... (other named queries)
    My ApplicationContext.xml file contains this
    <bean id="entityManagerFactory"
    class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
    <property name="persistenceUnitManager" ref="persistenceUnitManager" />
    <property name="persistenceUnitName" value="BookStudy" />
    <property name="dataSource" ref="dataSource" />
    <property name="jpaVendorAdapter">
    <bean
    class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter">
    <property name="database" value="ORACLE" />
    <property name="showSql" value="true" />
    </bean>
    </property>
    </bean>
    And a sample named query in the hbm.xml file is this
    <query name="Book_List_By_RegisterDate">
              from BookData
              where to_char(regdate, 'MM/dd/yyyy') = to_char(:regdate, 'MM/dd/yyyy')
              order by Author.author_name desc, bookname desc
    </query>
    Thanks,

    Uncomment, or add, the following line in your application's orion-web.xml file:
    <web-app-class-loader search-local-classes-first="true" include-war-manifest-class-path="true" />
    See njr28's comments @ http://forum.hibernate.org/viewtopic.php?t=951324&highlight=oc4j

  • Application Viewer Deployment Problem - War File Path Error

    Hello all!
    I just installed a new CC&B demo environment (2.2SP6 on Apache/Windows) and the application viewer is not working at all. The first thing it does is throw a bunch of errors, such as
    source file does not exist data/tables/updated.xml
    source file does not exist data/maintobj/updated.xml
    source file does not exist data/alg/updated.xml
    source file does not exist data/batchContro/updated.xml
    Then the App Viewer shows the following:
    Data Dictionary Not built - submit F1-AVTBL
    Maint. Object Not built - submit F1-AVMO
    Algorithm Not built - submit F1-AVALG
    Batch Control Not built - submit F1-AVBT
    To Do Type Not built - submit F1-AVTD
    Service XML Built 2008-04-14 (15:40)
    Java Docs Built 2008-04-16 (08:43)
    Cobol Source Built 2008-04-14 (10:22)
    Manually submitting one of those throws this error:
    File path to WAR file and location to expand WAR file are required if Use War File is switched.
    Anyone seen anything like this?
    Edited by: Adam D. on May 25, 2010 1:43 PM

    That worked! Thank you so much. App viewer loads now and all the F1-* items show as built. Only problem now is all the CM xml files seem to be missing. Every time you click something in app viewer it throws an error such as:
    Source file does not exist data/maintobj/ENG/CM/ext_BATCHCNTL.xml
    This is just one of them. There are many, and they all exist in that same CM directory... which doesnt exist haha
    Thanks again for the advice!

  • Dcmctl war file deployment error

    I am getting the following error while deploying the war using the dcmctl utility on the Unix box.
    The command used to run the dcmctl is given below
    ------ Command --
    'dcmctl deployApplication -f /export/home/xxx/igcs_app/igcs.ear -a igcs -co igcs'
    ------- Error -----
    ADMN-300075
    Nested exception
    Base Exception:
    java.rmi.RemoteException:EAR file:/var/tmp/dir4036.tmp/igcs.ear does not exists
    Can anyone please let me know the possible causes for this error.

    This part of the stack is a likely cause of the issue, probably a configuration issue in your application resulting in a null pointer during the initialization.
    java.lang.NullPointerException
    at java.io.File.<init>(File.java:203)
    at kgu.util.io.FilePathGrafter.<init>(FilePathGrafter.java:34)
    at com.doccenter.server.app.ServletContextListener.contextInitialized(ServletContextListener.java:58)

  • Deploy  large war file (131M) error

    hi,
    I want to depoly an war (131M) application to oracle 10g application server (9.04),when I deploy to server use this command :dcmctl deployapplication -f ../myapp.war -a my aaa -rc /myapp, error occurred as below:
    ADMN-705003
    评估阶段失败。这可能是由于评估中使用的适配器的异常错误造成的。
    基本异常错误::
    java.lang.OutOfMemoryError:null
    请致电 Oracle 技术支持。
    java.lang.OutOfMemoryError
    at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_R
    EMOTE_SERVER(RMIConnection.java:1527)
    at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java
    :1480)
    at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocati
    onHandler.java:55)
    at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(Rec
    overableRemoteInvocationHandler.java:22)
    at __Proxy0.deploy(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.runtime.LocalDeploy.deployOnSingle
    Instance(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.runtime.LocalDeploy.doExecute(Unkn
    own Source)
    at oracle.ias.sysmgmt.deployment.j2ee.runtime.RuntimeIf.execute(Unknown
    Source)
    at oracle.ias.sysmgmt.deployment.j2ee.adapter.DeploymentAdapter.doEvalua
    teDeploy(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.adapter.DeploymentAdapter.evaluate
    (Unknown Source)
    at oracle.ias.sysmgmt.task.TaskMaster.sync_evaluate(Unknown Source)
    at oracle.ias.sysmgmt.task.TaskMaster.internal_evaluate(Unknown Source)
    at oracle.ias.sysmgmt.task.RemoteEvaluate.execCommand(Unknown Source)
    at oracle.ias.sysmgmt.task.DaemonWorker.run(Unknown Source)
    I have modified dcmctl as
    if %found%==true %ex% -jar -Xms256M -Xmx1024M %jarpath% %cmdString%
    if %found%==false %ex% -jar -Xms256M -Xmx1024M %jarpath% %cmdString% -o %ohome%
    these are the last two lines in the dcmctl.bat file.
    I search on metalink and found this document:
    Subject: On Deploying an EAR file You Receive Errors: ADM-705003 and/or Memory Errors
    Doc ID: Note:290662.1 Type: PROBLEM
    Last Revision Date: 26-NOV-2004 Status: MODERATED
    The information in this document applies to:
    Web Services - Version: 9.0.4
    Oracle Containers for J2EE - Version: 9.0.0.0 to 10.10.10
    This problem can occur on any platform.
    j2ee deployments (WAR, EAR files) using dcmctl or dcmservlet
    Symptoms
    On deploying an EAR file, get this error on the server:
    ADMN-705003 and / or this error on server or client:
    java.lang.OutOfMemoryError
    Cause
    Too large EAR file
    Fix
    -- use compression in creating the archive
    NOTE: in jDeveloper, the default is not-to-compress. See the checkbox under the Options page of the deployment profile's Properties
    (right-cleck deployment profile icon, select Properties then find the Options page)
    - if error from client, increase jDeveloper deployment-client heap size:
    (right-cleck deployment profile icon, select Properties then find the Options page)
    - if error from server, increase iAS deployment-server heap size
    In EMWebsite for the target OC4J Node, select Server Properties and Java Options
    set to e.g., -XmX512M for 512M
    References
    Note 223063.1 - Installing 9iAS Fails While Deploying OC4J Applications With No space left on device Error
    but when I edit java Options any content,oc4j home instance can't startup,how can i do ?
    thank you very much
    lixinzhu

    Hi Li,
    You can have two parallel installations of Application Server, which I would strongly recommend. One instance of 10.1.2.0.2 (upgraded to 10.1.2.2) for Forms and Reports (and maybe Portal, Discoverer etc too), and one instance of 10.1.3.2 for your J2EE code.
    If you have multiple servers, then you can cluster those OC4J's, which is great. If you have two servers, you can as well have one for 10.1.2 and one for 10.1.3 making better performance over all. However, there's no problem having both 10.1.2 and 10.1.3 on the same server.
    The 10.1.3 server can use the Web Cache (as well as Apache) from the 10.1.2 server.
    Regards,
    Martin

  • Strange error message when I tried to use the "collaborate" function under "File"

    Has anyone else met this before? : I am trying to share my project with my team members. Tried File -> Collaborate and then try three options under it. Non e of them works. It asks for your Adobe ID in order to sign in and upload. However, every time I typed in my Adobe ID and password, it gave me strange error messages. The first time it says: User has not verified email address yet. I have been using this Adobe ID since 2008 or 2009 and of course I have verified my email address. But to make sure, I went back to my email box and search for emails about Adobe ID verification but I didn't find any (I never delete emails such as this).
    Then I tried to register a new Adobe ID. This time when I tried to singn in with the new Adobe ID, it will either say "Network may not be available" (which is not true because I am able to surf on the Internet at the same time), or it says "User has not accepted user condition/agreement".
    I feel so frustrated because I feel this is definitely not my mistake which caused the failure of log in.
    Hope someone can tell me what the reason is and how to fix it though.
    Thanks a lot.

    Hi Lilybiri,
    Thanks for your quick response. I followed your suggestion and verified my Adobe ID on acrobat.com.
    Now I can enter the collaborate function. However, everytime when I tried to send it to myself (for test purpose) I got another error message "You need to enter a valid emaill address". I saw someone else on this forum has met the same problem. Do you have any suggestion on what is the possible reason for this to happen?
    Again, thanks for the fast response. You have been helping me and other ppl so much.

  • Error deploying a .WAR file

    Good day,
    A client is working on a enterprise deployment process on various domains on Oracle weblogic server 10.3.
    Just to keep explanation simple, the client has a WAR file (a simple WAR file) to deploy under BI Publisher domain.
    This WAR file gets deployed successfully on every other domains(Portal Domain, Normal Domain) but NOT with the BI Publisher domain.
    Please advise accordingly.
    The error encounted is:
    [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: wlp-tools-admin-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false], [Extension-Name: wlp-tools-support-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false], [Extension-Name: webdav-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false], [Extension-Name: wlp-propagation-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false], [Extension-Name: beehive-controls-1.0.1-10.0, Specification-Version: 1, exact-match: true], [Extension-Name: wlp-tools-full-console-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false], [Extension-Name: wlp-tools-serviceadmin-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false], [Extension-Name: wlp-tools-ugm-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false], [Extension-Name: wlp-tools-portal-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false], [Extension-Name: wlp-tools-im-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false], [Extension-Name: wlp-tools-content-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false], [Extension-Name: wlp-tools-common-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false], [Extension-Name: wlp-tools-framework-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false], [Extension-Name: wlp-tools-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false], [Extension-Name: wlp-services-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false], [Extension-Name: content-management-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false], [Extension-Name: weblogic-controls-10.0, Specification-Version: 10, exact-match: true], [Extension-Name: wlp-framework-full-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false], [Extension-Name: wls-commonslogging-bridge, Specification-Version: 1, exact-match: true], [Extension-Name: p13n-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false].
    Kind regards

    I think there is mismatch in the library versions(10.3 not matching with 10.3.0). Verify what versions are specified in the config.xml of the BI domain.(Search it manually in the config.xml file)

  • Images and js files within a deployed war file are generating 404 errors.

    Greetings,
    I have an odd situation in that image files and js files that are part of a deployed war file are generating 404 (not found) errors when accessed via https but ARE found when accessed via http.
    Unfortunately we are required to use https.
    I have verified via jar -tf that the files are indeed part of the war file. So, it is not that they are missing as is evident when accessed via http. (they appear as expected)
    A work around is to create the sub directories under the document root, on the ohs, and populate the sub directories with the images and js files that were used as part of the war file build. While this works, it doesn't explain why they would generate a 404 error when referenced from within the war via https.
    The war file works correctly on our 10g installation.
    I also have a very simple deployed war file and it too seems to have an issue finding direcotries/files that are part of the war file when referenced via https but not http.
    We are using Oracle 11g OHS and using the WLS Admin Console to do the deploying. We also are using the OSSO for the performing the required authentication.
    I have an SR in with oracle and have been working with them but I thought I would post here too.
    Suggestions?
    Thanks in advance.
    Edited by: emmett on Jan 5, 2011 2:47 PM

    Don't crosspost. Continue here: http://forum.java.sun.com/thread.jspa?threadID=5251627

  • Error while running a report JSP in a war file from 9iAS server

    Hi,
    I've a web application archive file (war) which i m deploying to the web using OEM. The war file consists of many JSPs. Among those JSPs i have one Report JSP, which i m calling from another JSP which is like a parameter form for the report JSP. When i call the report JSP, it gave me the following error,
    javax.servlet.jsp.JspException: com.sun.corba.se.internal.iiop.ORB
    javax.servlet.jsp.JspException: com.sun.corba.se.internal.iiop.ORB
    at oracle.reports.jsp.ReportTag.doStartTag(ReportTag.java:334)
    at FMCardExp.jspService(_FMCardExp.java:58)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    The report tag in the report JSP is as follows,
    <rw:report id="report" parameters="server=repsvr&userid=scott/tiger@db">
    The report server is up and running and so is the database. This report JSP was generated from the reports builder and the opened in JDeveloper environment,in the war file project. It was then compiled and a war file was created. Surprisingly this report JSP works fine when i run my webapplication from the embedded OC4J instance for JDeveloper, but when i try to run it from the 9iAS server i get the above mentioned error. The deployment of the war file to the server is successful and the other JSPs work fine, only the reports JSP is not working. Do i need to have some settings for running the reports JSP, please advise.
    Thanks in advance
    Unmesh

    Can you please help me in deploying jdeveloper (9.0.3.1)war file to 9iAS release 1, when I try to run, none of the jsp's execute, I get java OutOf Memory error, I also think that there may be some version compatibility between jdev jdk and 9iAS jdk.
    Thanks,
    Kavitha

  • Error while deploying a .war file

    Hi,
    I have a one Servlet class, which references two more classes for database
    connection. After creating a .war file, I am trying to deploy it on iAS, and I
    get the following error:
    Failed to deploy web application "MBSServlet". Jar file: /var/tmp/jar61304.tmp
    is missing its standard xml descriptor located at WEB-INF/web.xml
    I don't know anything about /var/tmp/jar61304.tmp, I don't know where is it picking it up from. And my web.xml is as follows:
    <?xml version="1.0" standalone='yes'?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" " " target="_new">http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
    <servlet>
    <servlet-name>MBSServlet</servlet-name>
    <servlet-class>MBSServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>MBSServlet</servlet-name>
    <url-pattern>/MBSServlet</url-pattern>
    </servlet-mapping>
    </web-app>
    Any help!!
    thanks!!
    Shalu

    Hi,
    For a tutorial with source on how to create and deploy a simple quickstart JEE5 JPA enterprise 3-tier application on your Oracle WebLogic 10.3 server - see the following example that uses the EclipseLink JPA provider. You should be able to transition all of your mapping information (the @ManyToOne and table/column overrides and named queries for example) using either JPA via entity annotations or native extensions if you do not want to implement EJB3.
    see...
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/WebLogic_Web_Tutorial
    We also have a similar version for Tomcat 6 except the JPA entity beans run outside a container-managed JTA transaction on the web container - for reference.
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/Tomcat_Web_Tutorial
    thank you
    /michael
    www.eclipselink.org

  • Error while deploying a war file:Urgent

    Hi,
    I am trying to deploy a war file and i am getting the followinig error on the emd console.
    "Failed to deploy application 'xxxx'. No config data persisted for component apache, transaction ID 192.168.40.44.5789f3......"
    The opmn log file in the oracle directory is showing the following exceptioin
    java.net.ConnectException: Connection refused
    Can any one please help me resolve this issue.
    Regards
    Badari

    Hi,
    For a tutorial with source on how to create and deploy a simple quickstart JEE5 JPA enterprise 3-tier application on your Oracle WebLogic 10.3 server - see the following example that uses the EclipseLink JPA provider. You should be able to transition all of your mapping information (the @ManyToOne and table/column overrides and named queries for example) using either JPA via entity annotations or native extensions if you do not want to implement EJB3.
    see...
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/WebLogic_Web_Tutorial
    We also have a similar version for Tomcat 6 except the JPA entity beans run outside a container-managed JTA transaction on the web container - for reference.
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/Tomcat_Web_Tutorial
    thank you
    /michael
    www.eclipselink.org

  • 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

  • Getting an error while deploying war file into weblogic serve

    Hi All,
    We have build a sample war file from JDeveloper11.1.1.6.0 tool (which is java based web service).
    And we are trying to deploy into the WebLogic(10.3.6) Server using Ant scripts(apache-ant-1.8.4) from command prompt.
    While doing this getting an bellow error :
    [wldeploy] Task 0 initiated: [Deployer:149026]deploy application ViewController
    on AdminServer.
    [wldeploy] Task 0 failed: [Deployer:149026]deploy application ViewController on
    AdminServer.
    [wldeploy] Target state: deploy failed on Server AdminServer
    [wldeploy] java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet
    [wldeploy]
    [wldeploy]
    [wldeploy] Target Assignments:
    [wldeploy] + ViewController AdminServer
    BUILD FAILED
    D:\JDeveloper_Practice\otn\otnapp\ViewController\deploy\build.xml:50: weblogic.D
    eployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException:
    Task 0 failed: [Deployer:149026]deploy application ViewController on AdminServe
    r.
    Target state: deploy failed on Server AdminServer
    java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet
    Could you please help me on this, if anyone know the solution.
    Thanks & Regards,
    Ramesh.

    Hi Ramesh,
    Try to include faces jars with in your classpath.
    It talk about the " java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet"
    you check for this blog which help to say about this issue using JDev.
    http://andrejusb.blogspot.in/2009/10/how-to-solve-javalangclassnotfoundexcep.html
    Regards,
    Kal

Maybe you are looking for