Query on analytics.war file.

Hi,
I have OBIEE installed on OC4J in all my environments. I have customized some of the stuff like Banner files, login page, etc.
Currently when i migrate the code from one environment to another, i am manually moving the customized CSS files to the target environment.
Should i migrate analytics.war file also in this case. What exactly this war file does. Should i keep this war file updated each time i do some customization?
Thanks
Krishna

Hi,
When i move the CSS files and javascripts manually from one server to another during migration, my customzation works fine. I haven't deployed the .war file in this case. What you miss when you doesn't deploy the new .war file when you moce your code. I am really confused why and when we need to create and deploy .war files.
Sorry for the late reponse.
Thanks
Krishna

Similar Messages

  • Create and Deploy a WAR file

    Hello,
    We are using OBIEE 10.1.3.4.1 and Oracle Application Server 10.1.3.1.
    We need to recompile the analytics war file and make a new deployment of it after a patch.
    But I am not sure about how to do this.
    Can someone please guide me to do this in a Linux environment.
    Thanks You.

    Google is your friend. With an installed Java JDK bin directory on your path variable you can use these commands:
    Extract a WAR file:
    jar -xf [War File].war
    Create a WAR file:
    jar -cf ..\[War File].war *
    You can pack the WAR files in Windows and then transfer them to Linux or pack them directly in Windows, it doesn't make a difference.

  • How to recreate analytics.ear file - One BI Server,2 rpds, 2 Presen servers

    Hi
    I am trying to launch 2 rpds, 2 presentation servers on One BI Server in windows environment.
    1. Scaled out BI Presentation Servers Vertically.
    2. Created seperate DSN's for each rpd
    3. Created two seperate webcatalogs with different paths to point to each presentation server directories.
    4. Created two seperate instanceconfig.xml files with different Catalog paths
    5. Configured nqsconfig.ini with two rpds
    6. Configure and deploy analytics.ear/analytics.war files with two different ports and different names...
    The issue is i unpacked the analytics.ear file and analytics.war file using 7zip and changed the ports i wanted to compress them back to create analytics2.ear and analytics2.war. How do i create analytics2.ear. I created using 7zip but while deploying the file i get error 'error in opening zip file analytics.ear c:\analytics\analytics.ear'. I am unable to create using command line options using as i get an error jar command is not recognized. Any help is appreiiated.
    Thanks

    Thanks, I am able to set the java path in windows environment and able to execute the jar command. It created a analytics2.ear file but when i try to deploy from the weblogic console it gives the following error..
    [J2EE:160120]Error: The module, 'analytics.war', is declared either in the application.xml or in the weblogic-application.xml descriptor but cannot be found in the ear file.
    Trying to research on the above. Any inputs are appreciated. I have the following files in my directory
    1. analytics2.war
    2.analytics2-ws.war
    3. META-INF
    They are in Analytics_war directory of windows. I am not able to use
    jar -cf analytics.war -C app .
    as it gives me an error that 'app\. folder does not exits. Replaced with Analytics_war assuming that it is looking to write the file to app folder still it did not work.
    Thanks

  • EAR/WAR File Deployment Query on WEBLOGIC SERVER

    Hi,
    We are running weblogic server version 10.3.4.0 where EAR/ WAR files deployed on single server and that has been configured in the current WebLogic Server domain. These applications are up and running fine. We need to deploy a new WAR file on the same domain. My questions are:
    @ Whether I can deploy new WAR file without STARTing and STOPing weblogic server instance?
    @ When deploying new WAR file, whether it will affect existing deployed files or will it affect any other running services for a fraction of second?
    Note: This new WAR file is independent application and will not affect any other services in the future.
    Please assist.
    Thanks,
    Dheeraj

    Thank you for your help but the result is still the same.
    I deployed the library on weblogic server suggested by you.
    File Deployed as library = oracle.adf.desktopintegration.model.ear
    From the folder = C:\Oracle\Middleware\oracle_common\modules\oracle.adf.desktopintegration.model_11.1.1
    It is active.
    After this I loaded jdeveloper and deploy the same sample application and found that the result is same.
    Pls let me know where I am going wrong.
    Regards,
    Masood
    [11:53:09 AM] ---- Deployment started. ----
    [11:53:09 AM] Target platform is (Weblogic 10.3).
    [11:53:09 AM] Retrieving existing application information
    [11:53:09 AM] Running dependency analysis...
    [11:53:09 AM] Building...
    [11:53:09 AM] Deploying 2 profiles...
    [11:53:09 AM] Wrote Web Application Module to C:\JDeveloper\mywork\10MinDemo\ViewController\deploy\10MinDemo_ViewController_webapp.war
    [11:53:10 AM] Wrote Enterprise Application Module to C:\JDeveloper\mywork\10MinDemo\deploy\10MinDemo_Project1_10MinDemo.ear
    [11:53:10 AM] Deploying Application...
    [11:53:10 AM] [Deployer:149191]Operation 'deploy' on application '10MinDemo_Project1_10MinDemo' is initializing on 'ADFServer'
    [11:53:11 AM] [Deployer:149193]Operation 'deploy' on application '10MinDemo_Project1_10MinDemo' has failed on 'ADFServer'
    [11:53:11 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application 10MinDemo_Project1_10MinDemo on ADFServer.: .
    [11:53:11 AM] Weblogic Server Exception: weblogic.management.DeploymentException:
    [11:53:11 AM] Caused by: java.lang.ClassNotFoundException: oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener
    [11:53:11 AM] See server logs or server console for more details.
    [11:53:11 AM] weblogic.management.DeploymentException:
    [11:53:11 AM] Deployment cancelled.
    [11:53:11 AM] ---- Deployment incomplete ----.
    [11:53:11 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

  • Not able to deploy Analytics.war in Tomcat.

    Hi,
    I have configured Tomcat v6.0 server with OBIEE.
    I am able to successfully deploy the xmlpserver.war and login into http://localhot:8080/xmlpserver and able to view the BI Publisher.
    But tried deploying the analytics.war. It throws the following error in the Tomcat Server.
    SEVERE: ContainerBase.addChild: start:
    LifecycleException: Error initializaing : java.lang.IllegalArgumentException:
    The archive [jar:file:/E:/Tomcat_6.0/apache-tomcat-6.0.26/webapps/analytics.war!
    /] is malformed and will be ignored: an entry contains an illegal path [./]
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
    217)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
    .java:791)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
    1)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
    at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:905)
    at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:740
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:500
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
    :321)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
    eSupport.java:119)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
    at org.apache.catalina.core.StandardService.start(StandardService.java:5
    19)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710
    at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    Please suggest a solution for this issue.
    Thanks & Regards,
    Vijay.

    Edited by: Srikanth Mandadi on Sep 20, 2010 2:55 AM

  • Transport war-file to another server

    Hi,
    I'm facing a serious problem. I have created a JSP Application with different reports on one machine. One of the reports uses a calculation that was created in JDeveloper. After deploying everything I transport the war-File to another machine which has an oracle instance with the same name, the same users and same AW's. All JSP-pages work fine except the one with the calculation. It says 'No data'. What do I have to do to make it work? I don't want to create the whole JSP-application totally new on the new machine!
    The object_id in the calculation-xml seems to be referenced in the report-xml file. There it begins with 'PSR!'. What does that mean? Is it saved in the RDBMS and could not be found on the new machine?
    Any help appreciated,
    thanks,
    Lars

    Hi again,
    I did some tracing for the query. I don't understand much from the trace file, but there is one line which says: '*** ERROR: memory leak detected 316 ***'. I can't find anything concerning this memory leak. Does anyone have an idea what the reason is?
    What I also would like to know is, how a calculation, which is created in JDeveloper, is saved. Only as XML or are there also Metadata concerning the calculation stored in the database?
    Thanks,
    Lars

  • 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

  • Is there any MBean that returns war file details of the current page/contex

    Hi,
    We are building some diagnostic tests which would run as MBeans, both config and runtime. These MBeans would be invoked when an incident/error occurred on a page. One of my diagnostic test is to "get the details of the war file, like war file name, file path etc..from the current web page/current context root... and then inspect for some entries in the configuration files inside that war file".
    Is there any weblogic MBean that gives me the details of the war file from the current web page / current context root?
    Appreciate your help.
    Thanks,
    Eshwar.
    Edited by: Eshwar Mekala on May 5, 2010 6:30 PM
    Edited by: Eshwar Mekala on May 10, 2010 3:52 PM

    There is information about the applications on the server via the ApplicationRuntimeMBean. I believe there is context root information for the app inside the ComponentRuntimeMBeans. So you could query the app runtime mbeans to find the matching the ApplicationRuntimeMBean. Then use that to find the matching AppDeploymentMBean which has the file location.
    There might also be something in the servlet API - I would ask in the webapp forum.

  • Classpath issue with .war files on iPlanet 6.0

    Hi there,
    I'm using iPlanet 6.0 Web Server (SP1, I think), and I have an issue.
    We deploy a .war file as per normal. We go to the URL, and get a 500 error. Checking the error file gives us the following error (the application name has been blanked out with #####, and the server's domain name with <server>, but the actual package names remain -- they are libraries from ESRI):
    [08/Jul/2003:13:27:20] info ( 2705): Internal Info: loading servlet /#####/index.jsp
    [08/Jul/2003:13:27:21] info ( 2705): JSP: JSP1x compiler threw exception
    org.apache.jasper.JasperException: Unable to compile class for JSP/opt/iplanet/servers/https-<server>/c
    onfig/../ClassCache/_jsps/_#####/_index_jsp.java:15: Package com.esri.aims.mtier.io not found in import.
    import com.esri.aims.mtier.io.*;
    ^
    /opt/iplanet/servers/https-<server>/config/../ClassCache/_jsps/_#####/_index_jsp.java:16: Class com
    .esri.aims.mtier.model.map.layer.FeatureLayer not found in import.
    import com.esri.aims.mtier.model.map.layer.FeatureLayer;
    ^
    /opt/iplanet/servers/https-<server>/config/../ClassCache/_jsps/_#####/_index_jsp.java:17: Class com
    .esri.aims.mtier.model.envelope.Envelope not found in import.
    import com.esri.aims.mtier.model.envelope.Envelope;
    ^
    /opt/iplanet/servers/https-<server>/config/../ClassCache/_jsps/_#####/_index_jsp.java:18: Class com
    .esri.aims.mtier.model.acetate.Point not found in import.
    import com.esri.aims.mtier.model.acetate.Point;
    ^
    /opt/iplanet/servers/https-<server>/config/../ClassCache/_jsps/_#####/_index_jsp.java:19: Class com
    .esri.aims.mtier.model.map.layer.query.Filter not found in import.
    import com.esri.aims.mtier.model.map.layer.query.Filter;
    ^
    /opt/iplanet/servers/https-<server>/config/../ClassCache/_jsps/_#####/_index_jsp.java:20: Class com
    .esri.aims.mtier.model.map.layer.renderer.symbol.SimpleMarkerSymbol not found in import.
    import com.esri.aims.mtier.model.map.layer.renderer.symbol.SimpleMarkerSymbol;
    ^
    /opt/iplanet/servers/https-<server>/config/../ClassCache/_jsps/_#####/_index_jsp.java:21: Class com
    .esri.aims.mtier.model.map.Map not found in import.
    import com.esri.aims.mtier.model.map.Map;
    ^
    7 errors
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:284)
    at com.iplanet.server.http.servlet.NSServletEntity.load(NSServletEntity.java:252)
    at com.iplanet.server.http.servlet.NSServletEntity.update(NSServletEntity.java:173)
    at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:416)
    [08/Jul/2003:13:27:21] warning ( 2705): Internal error: Failed to get GenericServlet. (uri=/#####/index.jsp,SCRIPT_NA
    ME=/#####/index.jsp)
    Hopefully that is readable -- basically, it can't find a bunch-o-classes. Now, normally, I would snicker, and say something smart about classpaths. However, I have already done this, and looked in all the places that I think should have these classes in (I shall just use the last eg, com.esri.aims.mtier.model.map.Map, rather than all of them):
    # find /home/websites/#####/ |grep com.esri.aims.mtier.model.map.Map
    /home/websites/#####/WEB-INF/classes/com/esri/aims/mtier/model/map/Map.class
    # jar tvf /home/websites/#####/WEB-INF/lib/arcims_jconnect.jar |grep com.esri.aims.mtier.model.map.Map
    33267 Wed Dec 04 15:50:14 GMT+09:30 2002 com/esri/aims/mtier/model/map/Map.class
    So, as you can see, the relevant files are in not just one, but two places that I had assumed were in the classpath. Judging from the error messages, they are not. Am I doing something wrong here?
    Here's some of the config...
    The relevant line from web-apps.xml:
    <web-app uri="/#####" dir="/export/home/websites/#####" enable="true"/>
    The classpath from jvm12.conf:
    jvm.classpath=/opt/iplanet/servers/plugins/servlets/examples/legacy/beans.10/SDKBeans10.jar
    That's all that I can find that is relevant. Please ask if there is anything else I can give you (apart from access to the server or the application -- I can't give that).
    Any ideas?

    The solution was to download the DTD file and change
    the URL to a file: link, so iPlanet could
    successfully use the DTD. Did you have to define the file link as an absolute path? Or where you able to use a relative link.? If so, can you please provide the full syntax?
    We faced a similar problem and after much trial and error ended up placing the DTD on the server in /usr. But we'd like to try and find a way to define a relative file path and put the DTD right in the WEB-INF directory (or somewhere similar) so that we have one less configuration hassle and platform/server independence (i.e. the war file has everything it needs). But we have not been able to determine a way of doing this.
    Thanks

  • How to update a war file safely

    Hi,
    I have a war file that has some files in it. I would like to update the war file to replace an existing web.xml file and add a new file in a different directory.
    I know that i can simply unzip the file and make the changes then zip it back again.
    I would like to do this using Ant but i was wondering if it is possible to do the update with only the updated files. I think the way ANT would work is it would check every file on the new directory and replace it if it is newer. The problem i have is i dont have copies of the existing files in the war file. I only have the files i want to replace in the war file. If i try it, will i end up with a new war file with just the new files and everything else deleted or will it just update the new file?

    Hi,
    Thank you for your response.
    A zip file is not really what i was querying about. I am working with a war file (Which is deployable on the application server) which is what i was asking about and probably why i didnt look at the zip task when i looked at the manual.
    I am using the war task to create the war file. When i looked at the manual (and googled it) i did find that i could use the update=true property on the war task to update the war file. Maybe i should have rephrased my question in another way. What i wanted to ask was if i use the update=true property will it:
    1. Update the war file with the new files and leave everything thing else unchanged.
    2. Replace the war file with a new one with just the new files.
    3. What happens if the new file i want to include has an older timestamp?
    As i mentioned earlier, i also know that i can rename the war file with .zip extension, unzip the war file using winzip, make the necessary changes and zip it back and rename it to a .war file. I dont really want to do this as it doesnt feel like its the right way to do it.
    Apologies if my initial post was not clear enough.

  • Deploying WAR file into OC4J 9.0.3 (IAS)

    Hello,
    I try to deploy my WAR file using following command:
    dcmctl redeployApplication -v -d -f myWAR.war -a myApp -rc /test/myApp -co test
    When the deployment is finished I check default-web-site.xml for the "test" component and I a new line there:
    &lt;web-app application="myApp" name="myApp" root="/test/myApp"/&gt;
    But in the documentation I found that the "name" attribute of the "web-app" tag should contain the name of the WAR file. It is a problem because when I try to deploy another WAR file using the same application name it overwrites "&lt;web-app&gt;" tag. In principal, can I deploy several WAR files using the same application name?
    Thanks in advance,
    Iouri.

    Please look at the following thread in this forum that describes the steps : Re: Query takes large time to execute
    regards
    Debu panda
    Oracle

  • 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

Maybe you are looking for

  • Reporting Services install on SQL 2012 SP1 instance blank

    Sorry for the duplicate . . . didn't think the first on posted due to VDI locking up. I have looked at all the links and tried the suggestions and I am still having the problem:  SCCM 2012 R2                         SQL 2012 SP1 SSRS installed and co

  • Cant sign into app world

    my girlfriend isnt able to log into app world on her torch, ive even tried using my blackberry id to get in.....any suggestions.

  • »HP 14-d008au Notebook PC drivers not found. wifi device not working on ws 8.1

    recently I install windows 8.1 but unfortunatly I couldn't found my drivers on hp s website. my bluetooth and wifi system is not working. pls help me

  • HT200164 new serial number

    Hi I've lost my serial number for logic 8 how do i request a new one?

  • Batch Det'n Error

    Hi all,      Iam working in batch det'n have created Batch managed material, done all the settings properly for which batch det'n is req'd.    have assign the search procedure and created condition records in VCH1, in condition records i have maintai