Problems deploying app using OpenJPA 2.0.0 to WebLogic 10.3.3

I have an app that has been using OpenJPA 1.2.2. It runs fine on both WebLogic 10.3.2 and 10.3.3. I recently tried to upgrade it to OpenJPA 2.0.0. I have no trouble with the build and unit tests, but it fails at deployment.
I've always had a "prefer-application-packages" spec for "org.apache.openjpa.*".
After replacing the "openjpa-1.2.2.jar" with "openjpa-all-2.0.0.jar", deployment fails with the following:
NoSuchMethodError: javax.persistence.spi.PersistenceUnitInfo.getValidationMode()Ljavax/persistence/ValidationMode;.
The "getValidationMode()" method wasn't present in the JPA 1.0 specification, and was added in 2.0.
After I then added "javax.persistence.*" and "javax.persistence.spi.*" to the "prefer" specs (I imagine the second is redundant), I now get this:
ClassCastException: org.apache.openjpa.persistence.PersistenceProviderImpl cannot be cast to javax.persistence.spi.PersistenceProvider
I also tried only "preferring" "javax.persistence.spi.*", but that didn't change the result.
Is there some way to get WebLogic to not use it's Kodo implementation at all? This seems to be the crux of this problem.

There might be some useful information on the EclipseLink site, where they show various means of modifying the JPA version used by WebLogic Server.
http://wiki.eclipse.org/EclipseLink/Development/JPA_2.0/weblogic
Different JPA vendor, but the situation you are facing is similar.
-steve-

Similar Messages

  • Problem Downloading app using wifi

    I recently purchased an iPad. The problem is that I cannot download any apps using wifi. Everything else works fine using wifi. If I switch to 3G it downloads perfectly. I also have the same issue using my iPhone 4. This only started about two eeeks ago.
    Any help would be really appreciated

    You probably have some security setup in your network which is blocking access to the AppStore. Check your router for security settings.

  • Problems deploying an icefaces 1.8.2 application in weblogic 12

    Good morning,
    I'm having several problems when I'm trying to launch an application in weblogic 12 developed with icefaces 1.8.2. The application was developed under Netbeans 7.0.1 and for Glassfish use initially, but now I'm trying to run it under Weblogic12.
    The project has the following libraries:
    icefaces-1.8.2.jar
    icefaces-comps-1.8.2.jar
    icefaces-facelets-1.8.2.jar
    jsf-api-1.2.jar
    jsf-impl-1.2_11.jar
    In WEB-INF i've got the following files:
    weblogic.xml
    web.xml
    sun-web.xml
    faces-config.xml
    When i try to run the application i've got the following error:
    [com.icesoft.faces.context.View] - Problem encountered during View.servePage
    java.lang.ClassNotFoundException: org.icefaces.x.context.BridgeFacesContext2
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:169)
         at com.icesoft.faces.context.View$2.serve(View.java:69)
         at com.icesoft.faces.context.View.servePage(View.java:149)
         at com.icesoft.faces.webapp.http.core.MultiViewServer.service(MultiViewServer.java:67)
         at com.icesoft.faces.webapp.http.common.ServerProxy.service(ServerProxy.java:12)
         at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet$4.service(MainSessionBoundServlet.java:150)
         at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:25)
         at com.icesoft.faces.webapp.http.servlet.BasicAdaptingServlet.service(BasicAdaptingServlet.java:17)
         at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:24)
         at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:53)
         at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:24)
         at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:131)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:845)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:242)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:216)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:132)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:352)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:75)
         at com.sigma.fs3.argos.filters.FilterMenu.doFilter(FilterMenu.java:126)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:75)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:75)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3288)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3254)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
         at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2163)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2091)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2074)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1512)
         at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    I've tried to do the next work around explained in the following url: http://docs.oracle.com/cd/E24329_01/web.1211/e21049/configurejsfandjtsl.htm#WBAPP197 but it doesn't work for me.
    1.- I've deployed jsf1.2.war on Weblogic.
    2.- I've deployed my web application.
    3.- I've created weblogic.xml on WEB-INF directory with the following content:
    <?xml version="1.0" encoding="UTF-8"?>
    <weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app">
    <library-ref>
    <library-name>jsf</library-name>
    <specification-version>1.2</specification-version>
    <implementation-version>1.2</implementation-version>
    <exact-match>false</exact-match>
    </library-ref>
    </weblogic-web-app>
    Any idea to help? thank you very much!

    Hi Oriol -
    The error being reported is that a class can't be found:
    >
    [com.icesoft.faces.context.View] - Problem encountered during View.servePage
    java.lang.ClassNotFoundException: org.icefaces.x.context.BridgeFacesContext2
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
    >
    Looking around, it seems this is caused by having JSF 2.x in the classpath, which is not compatible with ICEFaces 1.8.x.:
    http://jira.icesoft.org/browse/ICE-4704:
    >
    ICEfaces 1.8.x is not certified to run on JSF 2.0 runtimes. When this combination is attempted with ICEfaces 1.8.1, it fails with an exception such as
    java.lang.ClassNotFoundException: org.icefaces.x.context.BridgeFacesContext2
    >
    Since WLS 12c provides a JSF 2.1.x environment by default, you will need to employ the JSF 1.2 alternative. From a previous discussion here on an OTN forum, I believe there was an additional step required to make it work, see here for details:
    Re: jsf 1.2 on weblogic 12c
    -steve-

  • Practical to modify app parameters for deployed app (using Builder, perhaps)?

    I see that it's very convenient to deploy a WAR file to WebLogic using WebLogic
    Builder. It's also easy to edit the init parameters of a WAR file and redeploy
    it.
    I'm wondering, however, how practical it will be to dynamically edit application
    parameters and redeploy in a production environment.
    For instance, if I'm in my development environment, I will definitely have a WAR
    (exploded or not) in my build environment that I can edit and deploy.
    In production, however, we don't necessarily have the original WAR that was referenced
    in the deployment, we have what was installed into WebLogic. Is it practical to
    run WebLogic Builder on an already installed WAR file, edit it, and then redeploy
    it? Would we instead have to store the WAR file to be deployed into a "staging"
    environment before it is actually deployed? Any changes made to the WAR by the
    administrator would be made to the staged WAR file and then redeployed. I guess
    the "staging" filesystem would have to be reachable by the host where the administrator
    runs WebLogic Builder.

    "David M. Karr" <[email protected]> wrote in message
    news:[email protected]...
    >
    "Sanjeev Chopra" <[email protected]> wrote:
    "David M. Karr" <[email protected]> wrote in message
    news:[email protected]...
    I see that it's very convenient to deploy a WAR file to WebLogic usingWebLogic
    Builder. It's also easy to edit the init parameters of a WAR file andredeploy
    it.do you mean servlet init-param ?Both that and context init parameters.
    I'm wondering, however, how practical it will be to dynamically editapplication
    parameters and redeploy in a production environment.
    For instance, if I'm in my development environment, I will definitelyhave
    a WAR
    (exploded or not) in my build environment that I can edit and deploy.
    In production, however, we don't necessarily have the original WARthat
    was referenced
    in the deployment, we have what was installed into WebLogic. Is itpractical to
    run WebLogic Builder on an already installed WAR file, edit it, andthen
    redeploy
    it?
    Would we instead have to store the WAR file to be deployed into a
    "staging"
    environment before it is actually deployed?If the .war is deployed with staging mode as "stage", you should have
    no
    problem modifying the master copy and then doing a redeploy. The redeploy
    operation will take care of copying the modified .war to the staging
    areas
    of all targets.Ok, but what I'm wondering is if this "master copy" that you refer to isin a
    location that we set up outside of WebLogic, or whether that is where thedeployed
    WAR gets stored. I'm trying to determine whether WARs that get deployedwill first
    have to be stored outside of WebLogic in a directory that we control,which will
    be on a filesystem that will be accessible by the administrator runningWebLogic
    Builder (using Samba, perhaps).The 'master copy' is the path specified to the deployment tool (deployer,
    admin console) when you deployed the app to WLS. So yes, if thats not
    available to the user running builder, they have to keep a copy, modify it
    and make it available to the admin.

  • Deploy .app using ARD

    What's up Group!
    Anyone know how i can deploy/push install  a .app (Spotify, Flash, etc...) from ARD?
    I was thinking about pushing the .app to the local machine and then hitting it with a UNIX command from ARD.
    But the man pages for installer only list .pkg. What's up with that!
    Thoughts?
    Thanks a bunch!

    The Install Packages command does only that, push .pkg files. To install applications that have their own installers, you have a couple of options:
    1) You can copy the installer to the workstation via the Copy Items command and then use either the Open Application/Open Items command or run a script to launch the isntaller. Note that most installers require user interaction, so you'd then have to take control of each workstation to complete the installation.
    2) You can perhaps build your own package with the components of the application you wish to install and then push out that package. There are a number of package-building utilties, from Apple's own to JAMF's Composer.
    In addition, some application installers actually contain a standard package within the installer "wrapper". You can try right-clicking on the installer and see if a "Show Package Contents" command appears and if so look in the container and see if there are standard .pkg files within. If so, you can probably push those out to your workstations.
    Spotify is just a self-contained app, though, not an installer, and just needs to be copied to the workstation and then configured. You may be able to configure on your own system and copy the relevant preference files and avoid having to configure the app on each system.
    Regards.

  • Problems deploying app to WebSphere in EAR, fine via JDeveloper

    JDeveloper 11.1.1.4.0, WebSphere 7.0.0.17, Windows 2008 server
    We have developed some applications that use ADF and are trying to port them to WebSphere. We've done the adding of ADF to WebSphere, and set up WebSphere application connectors in JDeveloper.
    When we build our apps in JDeveloper, then deploy to WebSphere directly, they run in WebSphere.
    When we take the same applications and deploy them to an EAR file, then install the EAR file in WebSphere, they're not running.
    The applications run fine both ways when deployed to WebLogic 10.3.5.
    After the EAR deployment when running our application in WebSphere we get
    Error 500: javax.servlet.ServletException: Filter [ADFLibraryFilter]: Could not find required filter class - oracle.adf.library.webapp.LibraryFilter.class
    I found that that class is in adflibfilter.jar, I manually add that as a test, deploy from the EAR, I get
    Error 500: javax.servlet.ServletException: Filter [trinidad]: Could not find required filter class - org.apache.myfaces.trinidad.webapp.TrinidadFilter.class
    So I'm thinking that the EAR deployments aren't finding any of the ADF and if I continue I'll be manually adding all of ADF.
    Also, this may be a clue, when deploying via an EAR, WebSphere wants us to manually wire up the JDBC references to JDBC resources, but when deploying via JDeveloper that step is handled automatically.
    Where should I start?

    Hi
    I have a few doubts in the deployment. I am using Standalone OC4J as my target App Server. My first doubt is that, do i need to install ADF Runtime Libs. If yes, what will be the location of the ADF libs/jars in the server location.
    I am srill getting the error :
    2009-09-18 12:25:03.325 WARNING The AdfFacesFilter has not been installed. ADF Faces requires this filter for proper execution.
    2009-09-18 12:25:24.340 NOTIFICATION oracle.adf.share.config.ADFConfigFactory No META-INF/adf-config.xml found
    Can somebody help me out.
    Thanks

  • Problem deploying and using custom Tags in jar files

    I am trying to create a custom tag library of Java classes, package them in a JAR file, and use them in another web application. Here is the JAR file structure, named mytags.jar:
    META-INF
    META-INF/manifest.mf
    META-INF/taglib.tld
    mytags/FooBar.class
    mytags/Another.class
    ...Here is the taglib.tld file:
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <taglib xmlns="http://java.sun.com/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-jsptaglibrary_2_0.xsd"
    version="2.0">
       <tlib-version>1.0</tlib-version>
       <short-name>foo</short-name>
       <uri>fooTags</uri>
       <info>My tags</info>
       <tag>
         <name>fooBar</name>
         <tag-class>mytags.FooBar</tag-class>
         <body-content>empty</body-content>
         <attribute>
           <name>name</name>
           <required>false</required>
           <rtexprvalue>true</rtexprvalue>
         </attribute>
      </tag>
    </taglib>The FooBar class has getName(String) and setName() methods.
    In the web application, I have copied mytags.jar into the WEB-INF/lib directory. I've verified that it lands in the corresponding directory for my appserver (I'm using Tomcat 6.0.10).
    Here's the header for my JSP:
    <%@ page language="java" contentType="text/html;charset=UTF-8" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <%@ taglib uri="fooTags" prefix="foo" %>
    <foo:fooBar name="dummy" />
    ...When I access my page, the browser sits there and spins, not able to do anything. I know that some of the content is executed, but it is not able to get to the fooTags. I have tried replacing fooTags with WEB-INF/lib/mytags.jar, to no effect.
    According to the docs, I should not need to include anything in web.xml to reference the fooTags. The tag library classes are valid, since I used them as local tags prior to moving them into a Jar library.
    Any help would be appreciated

    Take the code of the jsp file :
    <%@ page language="java" %>
    <%@ taglib uri="WEB-INF/struts-html.tld" prefix="html" %>
    <html>
       <head>
         <title> First Struts Application </title>
       </head>
         <body>
            <table width="500" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td> </td>
            </tr>
            <tr bgcolor="#36566E">
              <td height="68" width="48%">
                <div align="left">
                  <img src="images/hht.gif" width="220" height="74">
                </div>
              </td>
            </tr>
            <tr>
             <td> </td>
            </tr>     
           </table>
           <html:form action="Lookup"
                      name="lookupForm"
                      type="wiley.LookupForm" >
           <table width="45%" border="0">
            <tr>
              <td>Symbol:</td>
              <td><html:text property="symbol" /> </td>
            </tr>
             <tr>       
              <td colspan="2" align="center"><html:submit/> </td>
             </tr>       
            </table>              
          </html:form>
         </body>
    </html>

  • Deploying Apps in MDT 2013

    I am trying to deploy apps using MDT 2013 on clients machines but keep getting the
    following bdd.log error. Please note I can image,
    deploy drivers and packages in MDT with no issues except when I
    try to deploy apps:
    I have added all the applications in their
    individual folder in MDT, then i created a task sequence to install
    application. Each app gets their own "install application" command. Then on the client machine i run the following cmd with
    elevated privillege: cscript.exe
    \\ORS-WDS\DeploymentShare\Scripts\LiteTouch.WSF. The script runs after selecting the task but then disappeared and i get this bdd.log on the client:
    https://onedrive.live.com/redir?resid=8D6242F28512FDE3!564&authkey=!AFojuxXjHaKXl0I&ithint=file%2ctxt

    These are not the correct bdd.log files. Make sure you include the right ones. Also check the c:\windows\temp\... folder.
    From the error above:
    C:\windows\system32>err 0x8007051B
    # as an HRESULT: Severity: FAILURE (1), Facility: 0x7, Code 0x51b
    # for hex 0x51b / decimal 1307 :
    ecNotRitpMaster ec.h
    ERROR_INVALID_OWNER winerror.h
    # This security ID may not be assigned as the owner of this
    # object.
    # 2 matches found for "0x8007051B"
    This would suggest that you are still having permission/elevation problems.
    Keith Garner - Principal Consultant [owner] -
    http://DeploymentLive.com

  • Problem in deployment of ISA B2B after building the app using ant buildtool

    Hi
    I've a problem with building ISA B2B App after modification.
    I've ISAWAC640SP11 and ant buildtool to build the application.
    I've setup a customer project in NWDS.
    I've build the application using build tool but when i try to deploy it
    on SAP J2EE 6.4 using SDM i get a weird message stating
    <b>"com.sap.sdm.util.sduread.IllFormattedSduFileException: The archive must be deployed with a 6.20 SDM, which has a SDM-SDA compatible version 1 or greater."</b>
    Does anyone know what is the exact proecess to build the application in
    SAP J2EE 6.4.
    Do we have to use the ant build tool or we can directly build the app using NWDS
    default build process ?
    Also can some one suggest me to setup a customer project for extension and
    modification of ISA B2B 640 on NWDS and SAP J2EE 6.4....
    Thanks & Regards
    Sandeep Solanki

    Guys please help  !!!
    atleast gimme some idea or suggestions.. !!!
    Regards
    Sandeep

  • How to deploy a VB 6.0 RDC app using CR 9 on Windows Vista

    Post Author: albe
    CA Forum: Data Connectivity and SQL
    Hi,
    I'm trying to deploy a VB 6.0 Report Designer Component (RDC) application using CR 9 on Windows Vista.The installation ends successfully and finally I started my app; all seems to be ok but if I launch a preview or a direct print to a printer (note: this first print/preview works normally) and I wait 2 o 3 minutes all the other attempts fail to print or view a report. It show an error: -2147417848 Method '' of object '' failed.
    The app uses the RDC and Active Data; I tested that the problem is encountered when the app calls the 'SetDataSource' method. These are few lines of code:
    ...  Private m_ReportObj As New CRAXDRT.Report  Private db As DAO.Database, rsDao As Recordset
      ' Setup ReportObj  Set m_ReportObj = New TestReport  ' Open database  Set db = OpenDatabase(m_DBaseLocation & m_DBaseName)  ' Open Recordset  Set rsDao = db.OpenRecordset(m_SqlDataSource)  ' Set DataSource to ReportObj  m_ReportObj.Database.SetDataSource rsDao, 3 ' --> the app stops here...
    I tried everything that came in my mind: reinstalling it a few times, with administrator priviledges, disabling uac, manually registering dlls, ...
    I hope that this will be fixed, since Crystal Report 9 is the last CR version compatible with windows 98.
    Please help me!Thanks in advance,
    Alberto

    See if KB [1544708  - What are the runtime dependencies for CRVS2010?|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533343334333733303338%7D.do] will help.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Problem on web app using root context in weblogic 7.0.2

    I got problem on servlet which running on root context "/" in weblogic 7.0.2. I have remove the default web app (which use the root context) before the web app. The web application was deployed without any error. However, when the servlet run to the line calling HttpSession.setAttribute, the following exception occurs. The weblogic server is running on Solaris 8. anyone can help?
              java.lang.IllegalStateException: Internal Servlet Session Process Error Found!
              at weblogic.servlet.internal.session.SessionData.checkProcess(SessionData.java:1045)
              at weblogic.servlet.internal.session.SessionData.setAttribute(SessionData.java:477)
              at com.chase.infra.appcontrol.servlet.LoginServlet.doPostHK(Unknown Source)
              at com.chase.infra.appcontrol.servlet.LoginServlet.doPost(Unknown Source)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
              at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:20)
              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5451)
              at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3105)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2588)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              The weblogic.xml is
              <?xml version="1.0" encoding="UTF-8"?>
              <!DOCTYPE weblogic-web-app
              PUBLIC "-//BEA Systems, Inc.//DTD Web Application 7.0//EN"
              "http://www.bea.com/servers/wls700/dtd/weblogic700-web-jar.dtd" >
              <weblogic-web-app>
              <context-root>/</context-root>
              </weblogic-web-app>

    Hie,
              We are facing the same problem; i.e. we are getting the same error message when we are trying to run our struts application on Weblogic 7.0.5 using JDK 1.3.1. This problem occured particularly when we tried to do a load testing using approx 20 concurrent users (a lesser load was supported though). Can you please let us know how this problem was sorted out on your end?
              thanks,
              Debanjan

  • HowTo: deploy an j2ee app using "/" as context root on iAS 6.5

    Hi all iAS expert
    It is highly appreciated one can teach me how to get around below problem
    l deployed an app using "/" as context root. But the iAS could respond to any HTTP request.
    However, as l changed the context root to sth other than root. iAS responded properly.
    Can someone help me get around this problem ?
    thank you a lot
    fox

    I deployed the same EJB on WLS 6.1+sp3 and WLS 7.0.
    These both work. Looks like there is some problem with WLS6.0+sp2. I have opened
    a case with BEA customer support.
    --Latha

  • Unable to deploy Web App using JPA TopLink Essentials in Tomcat5.5.17

    Hi All,
    I am trying to deploy a Web App ( used Top Link Essentials ) to Tomcat and i am getting the following Error..
    I am strating tomcat using -javaagent:/Path/To/spring-agaent.jar
    Dec 14, 2006 9:52:46 AM org.apache.catalina.loader.WebappClassLoader loadClass
    INFO: Illegal access: this web application instance has been stopped already.  Could not load oracle.toplink.essentials.internal.weaving.ClassDetails.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
    java.lang.IllegalStateException
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1238)
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
            at oracle.toplink.essentials.internal.weaving.TopLinkWeaver.transform(TopLinkWeaver.java:84)
            at org.springframework.orm.jpa.persistenceunit.ClassFileTransformerAdapter.transform(ClassFileTransformerAdapter.java:56)
            at sun.instrument.TransformerManager.transform(TransformerManager.java:122)
            at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:155)
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
            at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
            at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1812)
            at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:866)
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1319)
            at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
            at java.lang.Class.getDeclaredConstructors0(Native Method)
            at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
            at java.lang.Class.getConstructor0(Class.java:2671)
            at java.lang.Class.newInstance0(Class.java:321)
            at java.lang.Class.newInstance(Class.java:303)
            at org.apache.myfaces.application.ApplicationImpl.createComponent(ApplicationImpl.java:396)
            at com.sun.faces.config.ConfigureListener.verifyObjects(ConfigureListener.java:1438)
            at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:509)
            at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
            at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
            at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
            at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
            at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
            at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
            at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
            at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
            at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
            at org.apache.catalina.core.StandardService.start(StandardService.java:450)
            at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
            at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
            at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) Thanks
    Sateesh

    Spring 2.0 provides custom support for TopLink Essentials in Tomcat out-of-the-box. You should follow the instructions here: http://static.springframework.org/spring/docs/2.0.x/reference/orm.html#orm-jpa-setup-lcemfb-tomcat
    Essentially, Spring provides a custom class loader for Tomcat and doesn't use an agent.
    --Shaun                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • For some reason I'm getting problems downloading apps. Even free ones. Keeps telling me payment declined. I'm using my card btw. Anyway I can sort this out? Getting really mad now! Thanks

    Need help. I've only had my iphone4s for over a week or so and had no problems downloading free apps and purchasing apps using my bank card. I haven't brought any apps for 2 days now and I'm trying to update one of my apps I've purchased and it keeps saying billing details wrong and notice that my security code is not there so I've put it in and then it comes up with my payment has been declined. I have no reason as to why this is happening as I have money in my account and why exactly is it saying that when I'm only updating the app. I've even tried to get a free app and again it says the same. I've tried deleted every detail and re-doing it but nothing. I don't know whether it's to do with when I synced my iPhone on my laptop 2 days ago and my laptop died so it didnt sync completely so maybe its to do with that or to do with my bank. Can someone tell me what I can do next as I'm getting rather frustrated and so close to throwing the phone across the room. Thanks. :D

    Fair enough. The only reason why I asked for help is simply because I have never had to use my bank details to download a free app or to update an app. Not only that i have no idea how to work this phone. So I was concerned. And thought that the matter could be easily rectified hence why I posted this. Obviously if I had tried to purchase an app and I didn't have no problems in downloading and updating an app that Ive purchased or downloaded for free already then I would definitely know for certain that it would have to be with my bank. Same way you go to "a shop" and is given something for free, your not going to be concerned when someone asks for your bank details? Your going to investigate right? Ask questions? And thats exactly what im doing. And as for your rude/sly comment about throwing my phone, I don't expect you to care. I was simply trying to add humour. Thanks for your help anyway.

  • Problem deploying message driven bean using Log4j

    Hello all.
    Using JDeveloper 11.1.1.0.2, I'm having a problem with a message driven bean I've created and associated with a JMS queue.
    I've created an EJB Module project in my application (in which some other projects exist), and created the bean. A simple test of the bean, sending a message through the jms queue and printing it on system.out in the mdb onMessage() worked just fine.
    However, when I add apache commons logging to my mdb, things start to go wrong. Running the project on the integrated weblogic 10.3 server just fails during deployment, due to a NoClassDefFoundError on org/apache/log4j/Logger.
    In project properties -> libraries and classpath, I've added a log4j library (Log4j-1.2.14.jar) next to Commons Logging 1.0.4 but it doesn't seem to matter anything.
    The code of my message bean:
    @MessageDriven(mappedName = "weblogic.wsee.DefaultQueue")
    public class MyMessageBean implements MessageListener {
        // logger
        private static Log sLog = LogFactory.getLog(MyMessageBean.class);
        public void ejbCreate() {
        public void ejbRemove() {
        public void onMessage(Message message) {
            MapMessage mapmsg = null;
            try {
                if (message instanceof MapMessage) {
                    mapmsg = (MapMessage)message;
                    boolean msgRedelivered = mapmsg.getJMSRedelivered();
                    String msgId = mapmsg.getJMSMessageID();
                    if (!msgRedelivered) {
                        sLog.debug("****** Successfully received message " + msgId);
                    } else {
                        sLog.debug("****** Successfully received redelivered message " + msgId);
                    // Haal de inhoud op:
                    int testInt = mapmsg.getInt("TestInt");
                    sLog.debug("TestInt:" + testInt);
                } else {
                    sLog.debug("Message of wrong type: " +
                                       message.getClass().getName());
            } catch (Exception e) {
                sLog.error("Fout in verwerken",e);           
    }Does anybody have any clue as to what I might be doing wrong or missing out here?
    The complete stacktrace:
    5-aug-2009 12:54:44 oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
    INFO: Cleaning up application state
    java.lang.ExceptionInInitializerError
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:247)
         at weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processWLSAnnotations(EjbAnnotationProcessor.java:1705)
         at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processWLSAnnotations(EjbDescriptorReaderImpl.java:346)
         at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyDescriptorFromJarFile(EjbDescriptorReaderImpl.java:192)
         at weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJarFile(EjbDescriptorFactory.java:93)
         at weblogic.ejb.container.deployer.EJBModule.loadEJBDescriptor(EJBModule.java:1198)
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:380)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:16)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:197)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:723)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1190)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@51b296 for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Logger) (Caused by org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@51b296 for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Logger))
         at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
         at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
         at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
         at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
         at nl.justid.dolores.mdb.MyMessageBean.<clinit>(MyMessageBean.java:19)
         ... 32 more
    Caused by: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@51b296 for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Logger)
         at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:413)
         at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
         ... 36 more
    Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Logger
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
         at java.lang.Class.getConstructor0(Class.java:2699)
         at java.lang.Class.getConstructor(Class.java:1657)
         at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:410)
         ... 37 more
    Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Logger
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         ... 42 more
    <5-aug-2009 12:54:44 uur CEST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1249469684085' for task '14'. Error is: 'weblogic.application.ModuleException: Exception preparing module: EJBModule(Dolores-MessageBeans-ejb)
    [EJB:011023]An error occurred while reading the deployment descriptor. The error was:
    null.'
    weblogic.application.ModuleException: Exception preparing module: EJBModule(Dolores-MessageBeans-ejb)
    [EJB:011023]An error occurred while reading the deployment descriptor. The error was:
    null.
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:452)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
         Truncated. see log file for complete stacktrace
    java.lang.ClassNotFoundException: org.apache.log4j.Logger
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
         Truncated. see log file for complete stacktrace
    >
    5-aug-2009 12:54:44 oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
    INFO: Cleaning up application state
    <5-aug-2009 12:54:44 uur CEST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'Dolores'.>
    <5-aug-2009 12:54:44 uur CEST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: Exception preparing module: EJBModule(Dolores-MessageBeans-ejb)
    [EJB:011023]An error occurred while reading the deployment descriptor. The error was:
    null.
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:452)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
         Truncated. see log file for complete stacktrace
    java.lang.ClassNotFoundException: org.apache.log4j.Logger
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
         Truncated. see log file for complete stacktrace
    >
    [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application Dolores on DefaultServer.: Exception preparing module: EJBModule(Dolores-MessageBeans-ejb)
    [EJB:011023]An error occurred while reading the deployment descriptor. The error was:
    null..
    weblogic.application.ModuleException: Exception preparing module: EJBModule(Dolores-MessageBeans-ejb)
    [EJB:011023]An error occurred while reading the deployment descriptor. The error was:
    null.
    ####  Deployment incomplete.  ####    Aug 5, 2009 12:54:44 PM
    oracle.jdeveloper.deploy.DeployException
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:247)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:157)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:436)
         at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
         at oracle.jdevimpl.runner.adrs.AdrsStarter$5$1.run(AdrsStarter.java:1365)
    Caused by: oracle.jdeveloper.deploy.DeployException
         at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.deployApplication(Jsr88DeploymentHelper.java:413)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:238)
         ... 11 more
    Caused by: oracle.jdeveloper.deploy.DeployException: Deployment Failed
         at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.deployApplication(Jsr88DeploymentHelper.java:395)
         ... 12 more
    #### Cannot run application Dolores due to error deploying to DefaultServer.
    [Application Dolores stopped and undeployed from Server Instance DefaultServer]Thanks in advance!
    Greetings,
    Eelse
    Edited by: Eelse on Aug 5, 2009 1:57 PM
    Edited by: Eelse on Aug 5, 2009 5:39 PM

    Creating a new deployment profile (EAR) and including the original deployment (JAR) and the needed libraries (in a lib-directory) solved the problem.

Maybe you are looking for

  • How can I create a new dynamic stamp in Pro version ?

    I would like to add a new dynamic stamp but cannot find out how to.

  • Time Machine backup?  pictures and external hard drive

    I know this question has been asked before but I just wanted to make sure of something.  Does a basic Time Machine backup backup all photos?  And also a real basic question-- Is a Apple Time Capsule the same as a external hard drive?

  • Deleting from multiple tables

    I have a master table and a detail table. I need to delete a set of records from both the master and detail tables based on a criteria. Now if I delete from one table then I will not know which records I have to delete from the other table. So the re

  • Using same Apple ID  only possible fom one Computer?

    I have searched here but i cant find an answer to this problem. Is it only possible to log into the discussions from one computer with the same apple id? After purchasing a new computer (Mac Mini) i find that i can log into discussions Only from the

  • Sys_refcursor and Global Temp Table

    I have a stored proc that returns a sys_refcursor that is a query from the Global Temporary Table. The problem is that I cannot get ODP.Net to return the results. It comes back empty every time. The GTT is set for preserve on commit but ultimately I