Deployment - RemoteException: Incorrect QL query ...

Hi everybody,
I am currently trying to migrate from WLS 8.1 to SAP WEB AS 6.40 SP11. I have built my application EAR and already
resolved some typical migration issues in my deployment descriptors. The EAR contains multiple component jars with
their according deployment descriptors My current problem is a tough one though. Neither the exception nor the stack
reveals where the exact problem lies. I checked my persistent.xml and ejb-jar.xml for well-formedness and
validity ... everything's fine.
here is the stack:
[code]<i>Starting Deployment of myApp
Aborted: development component 'myApp'/'mycompany.com'/'localhost'/'2005.10.28.10.14.19':
Caught exception during application deployment from SAP J2EE Engine's deploy service:
java.rmi.RemoteException: Cannot deploy application mycompany.com/myApp.. Reason: Incorrect QL query: , errors: line 1: expecting "select", found '<end-of-query>'line 1: expecting "from", found '<end-of-query>'.; nested exception is:      com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='com.sap.engine.services.ejb.exceptions.deployment.EJBDeploymentException: Incorrect QL query: , errors: line 1: expecting "select", found '<end-of-query>'line 1: expecting "from", found '<end-of-query>'.
     at com.sap.engine.services.ejb.deploy.ejbql.QLTranslator.prepareQLContext(QLTranslator.java:191)
     at com.sap.engine.services.ejb.deploy.ejbql.QLTranslator.translateQuery(QLTranslator.java:103)
     at com.sap.engine.services.ejb.deploy.ejbql.QLTranslator.translateAllQueries(QLTranslator.java:171)
     at com.sap.engine.services.ejb.deploy.DeployAdmin.translateQL(DeployAdmin.java:1398)
     at com.sap.engine.services.ejb.deploy.DeployAdmin.generate(DeployAdmin.java:254)
     at com.sap.engine.services.ejb.EJBAdmin.deploy(EJBAdmin.java:2118)
     at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:594)
     at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:379)
     at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:296)
     at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:290)
     at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:323)
     at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3033)
     at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:463)
     at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555)
     at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)
     at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
     at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)
     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
     at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key com.sap.engine.services.ejb.exceptions.deployment.EJBDeploymentException: Incorrect QL query: , errors: line 1: expecting "select", found '<end-of-query>'line 1: expecting "from", found '<end-of-query>'.
     at com.sap.engine.services.ejb.deploy.ejbql.QLTranslator.prepareQLContext(QLTranslator.java:191)
     at com.sap.engine.services.ejb.deploy.ejbql.QLTranslator.translateQuery(QLTranslator.java:103)
     at com.sap.engine.services.ejb.deploy.ejbql.QLTranslator.translateAllQueries(QLTranslator.java:171)
     at com.sap.engine.services.ejb.deploy.DeployAdmin.translateQL(DeployAdmin.java:1398)
     at com.sap.engine.services.ejb.deploy.DeployAdmin.generate(DeployAdmin.java:254)
     at com.sap.engine.services.ejb.EJBAdmin.deploy(EJBAdmin.java:2118)
     at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:594)
     at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:379)
     at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:296)
     at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:290)
     at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:323)
     at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3033)
     at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:463)
     at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555)
     at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)
     at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
     at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)
     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
     at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)</i>[/code]
I tried the deployment via SDM, Visual Administrator, SWDS and deploytool, but without success.
Using the Visual Administrator I get a totally different exception. I thought that the deployment can be done by
any of the above mentioned tools with the same outcome. There is no storage.xml included in the jar, the
persistent.xml and ejb-jar.xml are parsable, thus they are wellformed and valid:
[code]<i>com.sap.engine.deploy.exceptions.BaseIOException: Cannot parse persistent.xml or storage.xml for JAR C:\usr\sap\J2E\JC00\j2ee\admin\.\temp\deploying\deploy_temp\reader1131614442531\comp.jar.
Reason: com.sap.engine.deploy.exceptions.BaseIOException: Cannot parse ejb-jar.xml for JAR C:\usr\sap\J2E\JC00\j2ee\admin\.\temp\deploying\deploy_temp\reader1131614442531\comp.jar.
Reason: java.lang.ArrayIndexOutOfBoundsException: 2..
     at com.sap.engine.deploy.ejb.descriptors.jar.ReadEjbJar.getEjbJarDescriptor(ReadEjbJar.java:130)
     at com.sap.engine.deploy.ejb.descriptors.jar.ReadEjbJar.getEjbJarDescriptor(ReadEjbJar.java:150)
     at com.sap.engine.deploy.tool.deployer.ExtendedEarReader.loadDescriptorFromFile(ExtendedEarReader.java:230)
     at com.sap.engine.deploy.tool.deployer.ExtendedEarReader.getFullEarDescriptor(ExtendedEarReader.java:102)
     at com.sap.engine.services.deploy.gui.runtime.EarLoader.loadEar(EarLoader.java:137)
     at com.sap.engine.services.deploy.gui.runtime.MainDeployPanelLogical.loadEarAction(MainDeployPanelLogical.java:169)
     at com.sap.engine.services.deploy.gui.runtime.EarDialog.setEar(EarDialog.java:79)
     at com.sap.engine.services.deploy.gui.DeployDialogLogical.okButtonAction(DeployDialogLogical.java:294)
     at com.sap.engine.services.deploy.gui.DeployDialogLogical.actionPerformed(DeployDialogLogical.java:71)
     at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
     at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
     at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
     at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
     at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
     at java.awt.Component.processMouseEvent(Component.java:5100)
     at java.awt.Component.processEvent(Component.java:4897)
     at java.awt.Container.processEvent(Container.java:1569)
     at java.awt.Component.dispatchEventImpl(Component.java:3615)
     at java.awt.Container.dispatchEventImpl(Container.java:1627)
     at java.awt.Component.dispatchEvent(Component.java:3477)
     at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
     at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
     at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
     at java.awt.Container.dispatchEventImpl(Container.java:1613)
     at java.awt.Window.dispatchEventImpl(Window.java:1606)
     at java.awt.Component.dispatchEvent(Component.java:3477)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
     at java.awt.Dialog$1.run(Dialog.java:540)
     at java.awt.Dialog.show(Dialog.java:561)
     at java.awt.Component.show(Component.java:1133)
     at java.awt.Component.setVisible(Component.java:1088)
     at com.sap.engine.services.deploy.gui.DeployDialogLogical.showDialog(DeployDialogLogical.java:378)
     at com.sap.engine.services.deploy.gui.ApplicationsPanel.deployAction(ApplicationsPanel.java:409)
     at com.sap.engine.services.deploy.gui.ApplicationsPanel.actionPerformed(ApplicationsPanel.java:351)
     at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
     at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
     at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
     at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
     at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
     at java.awt.Component.processMouseEvent(Component.java:5100)
     at java.awt.Component.processEvent(Component.java:4897)
     at java.awt.Container.processEvent(Container.java:1569)
     at java.awt.Component.dispatchEventImpl(Component.java:3615)
     at java.awt.Container.dispatchEventImpl(Container.java:1627)
     at java.awt.Component.dispatchEvent(Component.java:3477)
     at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
     at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
     at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
     at java.awt.Container.dispatchEventImpl(Container.java:1613)
     at java.awt.Window.dispatchEventImpl(Window.java:1606)
     at java.awt.Component.dispatchEvent(Component.java:3477)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)</i>[/code]
Any help is highly appreciated.
thanks and best regards
Marcel

Hi Marcel,
Actually what this error means is that you have a method in your EJB QL that has incorrect syntax.  If you look at the ejb-jar.xml file for your project you should see a section like this:
            <query>
                <query-method>
                    <method-name>findByNameAndID</method-name>
                    <method-params>
                        <method-param>java.lang.String</method-param>
                        <method-param>java.lang.Long</method-param>
                    </method-params>
                </query-method>
                <ejb-ql>select Object(inv) from InventoryBean inv where
                    inv.manufacturer = ?1 and inv.productID = ?2</ejb-ql>
            </query>
This should correspond to the finder methods that you have defined for your entity bean.  If it doesn't (i.e. variables don't match up) or if the syntax is incorrect you will get the error you mention.  Note that it is also case sensitive. 
Cheers,
Steve
If you find a post useful, please help keep the community going by setting a good example and rewarding the poster with points.

Similar Messages

  • Deploy project using sql query

    hi
    i am trying to deploy project in ssis catalog using below query.
    Exec
    catalog.deploy_project@folder_name
    =@folder,@project_name
    =@ProjectName,@Project_Stream
    =@ProjectBinary,@operation_id
    =@operation_id
    out
    getting error:
    (1 row(s) affected)
    Msg 27203, Level 16, State 1, Procedure deploy_project, Line 139
    Failed to deploy project. For more information, query the operation_messages view for the operation identifier '51564'.                                                                                                                                                                                                                 
    also when i m trying to opne ispac file , i am getting error :
    TITLE: Failed to launch the wizard
    To launch the Integration Services Deployment wizard, one of the components: Integration Services, Management Tools - Basic or Business Intelligence Development Studio has to be installed by the SQL Server 2012 Standard, Enterprise, Developer, or Evaluation
    Edition. To install a component, run SQL Server Setup and select the component name.
    BUTTONS:
    OK
    is this 2 are related,how to solev it

    Which version of SQL Server are you using? Are you deploying to a server with multiple instances of SQL Server installed? Are you deploying the packages to different server?
    if so does the destination server has Integration services installed ?
    Deploying from the command line. In most large organizations, deployments are done by a DBA or systems administrator. In such environments, it's a great practice to use deployment scripts as much as possible to make the deployments
    more manageable as the number of SSIS packages increases. In SQL Server 2012, you can deploy SSIS packages using the command-line tool ISDeploymentWizard.exe. This tool works with the .ispac file, which is created in the project's BIN directory when you build
    the project in SQL Server Data Tools. The .ispac file for a project typically contains the following:
    The project's manifest
    All the packages belonging to the project
    The parameter file (Project.params)
    If you want to see the file's contents, you can change the extension from .ispac to .zip, then open it in Windows Explorer.
    To deploy the Test_Project project from the command line, you first need to copy the .ispac file to a shared folder. Then, in a Windows command shell, navigate to the folder containing the .ispac file and execute this ISDeploymentWizard command:
    "%ProgramFiles%\Microsoft SQL Server\110\DTS\Binn
      \isdeploymentwizard.exe" /S /ST:File
      /SP:Test_Project.ispac /DS:<SQL Server Instance Name>
      /DP:/SSISDB/MyTest/Test_Project

  • Equipment count incorrect in query

    Hello BI Gurus,
    We are facing the following problem. I have a report requirement in the following format.
                         Sep-07     Oct-07     Nov-07     Dec-07
    Total No of Machines      11     11     12     12
    Machines relate to Equipment here. I am extracting this data from 0equipment_attr. This report is for a given Region, Plant and for a particular type of machine.
    The problem here is as follows.
    Let us suppose that equipment moves from plant X  to another plant Y in September and later to plant Z.
    Equipment should reflect the changes in Total number of machines.
    Currently, Equipment has "From" and "To" date. Based on this, I am getting this value in calmonth,
    let us say for example for
    Equipment                 From date                 To Date                  Calmonth     Plant
    400000          17.07.2008     01.01.1000     
    400000          24.12.2008     18.07.2008     07.2008     1101
    400000          31.12.9999     25.12.2008     12.2008     1103
    Though, I am getting Calmonth correctly to indicate the status of the equipment present for that month..
    I have 2 problems, first of all, at query level, it just shows 1 record with the latest month that is in this case , Dec 2008. but incase of equipment master i do see both the records..
    In my reporting requirement, It needs to have history data over 12 months, so a given equipment will not indicate the status correctly..
    As we see in the above example, equipment 400000 is moved from plant 1101 to 1103, when i look at query, it just shows me one record which is the latest..
    I believe the problem here is with time dependency. calmonth is time dependent attribute in 0equipment, if i turn it time independent, all the values in calmonth will be same, i.e 12.2008 which should not be the case..
    So in short there are 2 problems, how do i get the correct status of equipment at monthly level with the current scenario and second one will be for the months where there is no movement of equipment, it should show the correct count of equipment.,.
    Please advice..
    Thanks in advance,

    Hi Vipul,
                 Check this url.....
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/009819ab-c96e-2910-bbb2-c85f7bdec04a
    Thanks,
    Vijay.

  • Incorrect count query

    I'm using CursoredStream to fetch a large result set. When doing a cursor.size() Toplink generates the wrong count query. I do have group value functions in the query as shown below.
    For e.g. this is the cursor query:
    --- Actual select query ---
    SELECT t0.AWARD_ID, t0.AWARD_NUMBER, t0.FINAL_AMOUNT, t2.NAME,
    SUM(t1.REPORT_AMOUNT), t4.FISCAL_YEAR, t5.DESCRIPTION
    FROM REF_ENTITY t6, T_CODE t5, SOL t4, APP t3, APP_VERSION t2, SUBG t1,
    AWARD t0
    WHERE ((((t4.FISCAL_YEAR = '1993') AND (t6.REF_ENTITY_ID = 5)) AND (t4.SUBG_
    REPORT = 'Y')) AND ((t5.T_CODE_ID = t0.T_CODE_ID_STATUS) AND ((t2.APP_ID = t3.A
    PP_ID) AND ((t6.REF_ENTITY_ID = t4.REF_ENTITY_ID) AND ((t4.SOL_ID = t3.SOL_ID)
    AND ((t3.APP_ID = t0.APP_ID) AND (t0.AWARD_ID = t1.AWARD_ID)))))))
    GROUP BY t0.FINAL_AMOUNT, t0.AWARD_ID, t0.AWARD_NUMBER, t4.FISCAL_YEAR, t5.D
    ESCRIPTION, t2.NAME ORDER BY t0.AWARD_NUMBER ASC
    The count query generated by Toplink is:
    SELECT COUNT(*)
    FROM REF_ENTITY t4, AWARD t3, APP t2, SOL t1, SUBG t0
    WHERE ((((t1.FISCAL_YEAR = ?) AND (t4.REF_ENTITY_ID = ?))
    AND (t1.SUBG_REPORT = 'Y')) AND ((t4.REF_ENTITY_ID = t1.REF_ENTITY_ID)
    AND ((t1.SOL_ID = t2.SOL_ID) AND ((t2.APP_ID = t3.GMS_APP_ID)
    AND (t3.AWARD_ID = t0.AWARD_ID)))))
    I have to provide my own ValueReadQuery to get the correct count in the above case. Are there any rules for determining when we have to explicitly provide our own count query?
    cheers
    p.s: Toplink version 9.0.3.4

    Abe,
    This sounds like a bug. I assume you are using a ReportQuery to generate the initial SQL. You should only have to provide a ValueReadQuery to a cursored query when using SQL, stored-procedure, or to optimize what is being generated.
    This looks like the group-by on your ReportQuery is being ignored on the size query. The best plan is to submit this to support with the TopLink code used and the information provided in this post.
    In the mean time the work-around of providing your own query is probably the best solution.
    Doug

  • Deploy app with JPA Query errors

    Hello,
    I'm trying to deploy an application into weblogic 11g (10.3.3). The application uses JPA 1.0 for the persistence, Spring 3.01 for the business and JSF 1.2 for the view layer. The JPA Provider used in this app, is Hibernate. This application deploys fine in tomcat, but in weblogic I get an error on my named queries.
    The error is Caused By: org.hibernate.HibernateException: Errors in named queries
    I know that is seems to be an hibernate problem, but it only occurs in weblogic.
    Any idea whats going on ?
    Thanks.
    Here's the full stack trace.
    javax.persistence.PersistenceException: [PersistenceUnit: sfw-persistence-unit] Unable to build EntityManagerFactory
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
         at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:687)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:408)
         at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:272)
         at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:196)
         at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1865)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3127)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:489)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1269)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
         at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:52)
         at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
         at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:31)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
         at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:170)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:124)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [zip:C:/java/servers/Oracle/Middleware/user_projects/domains/base_domain/servers/softway/tmp/_WL_user/sfw-poc-condicao-pagamento-web/rrg25b/war/WEB-INF/lib/sfw-service-eao-0.0.1-SNAPSHOT.jar!/applicationContext-service-eao.xml]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: sfw-persistence-unit] Unable to build EntityManagerFactory
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1403)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
         at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:386)
         at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:266)
         at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:121)
         at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.<init>(PersistenceExceptionTranslationInterceptor.java:77)
         at org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.<init>(PersistenceExceptionTranslationAdvisor.java:70)
         at org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:99)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeAwareMethods(AbstractAutowireCapableBeanFactory.java:1422)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1391)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
         at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:687)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:408)
         at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:272)
         at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:196)
         at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1863)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
         at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
         at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
         at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
         at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: javax.persistence.PersistenceException: [PersistenceUnit: sfw-persistence-unit] Unable to build EntityManagerFactory
         at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:677)
         at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132)
         at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:225)
         at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:308)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1460)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1400)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
         at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:386)
         at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:266)
         at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:121)
         at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.<init>(PersistenceExceptionTranslationInterceptor.java:77)
         at org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.<init>(PersistenceExceptionTranslationAdvisor.java:70)
         at org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:99)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeAwareMethods(AbstractAutowireCapableBeanFactory.java:1422)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1391)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
         at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:687)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:408)
         at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:272)
         at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:196)
         at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1865)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3127)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:489)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1269)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
         at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:52)
         at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
         at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:31)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
         at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:170)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:124)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: org.hibernate.HibernateException: Errors in named queries: SwUsuario.findUserSystems, SwArmazenamentoArquivo.findAll, SwMetadataColConstDomain.findAll, SwModalidadeTransacao.findAll, SwReportCategory.findAll, SwMenu.findUserMenus, SwOperacao.findAll, SwUtilizacaoSenha.findAll, SwReportType.findAll, SwModalidadeTransacaoIdiom.findAll, SwReportFilter.findAll, SwReportField.findAll, SwSistema.findAll, SwDireitoGrupo.findAll, SwUsuario.findAll, SwMetadataColConstraints.findAll, SwTipoParcela.findAll, SwLogAcesso.findAll, SwUtilizacaoSenha.findByUserName, SwReportTypeField.findAll, SwModulo.findAll, SwField.findAll, SwMetadata.findAll, SwReport.findAll, SwUtilizacaoSenha.findByDay, SwReportTypeEntity.findAll, SwEntity.findAll, SfwLock.findAll, SwMetadataColumns.findAll, SwGrupo.findAll, SwIdioma.findAll, SwSistemaGrupo.findAll, SwMenu.findAll
         at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:407)
         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341)
         at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
         at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
         at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132)
         at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:225)
         at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:308)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1460)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1400)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
         at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:386)
         at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:266)
         at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:121)
         at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.<init>(PersistenceExceptionTranslationInterceptor.java:77)
         at org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.<init>(PersistenceExceptionTranslationAdvisor.java:70)
         at org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:99)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeAwareMethods(AbstractAutowireCapableBeanFactory.java:1422)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1391)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
         at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:687)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:408)
         at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:272)
         at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:196)
         at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1865)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3127)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:489)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1269)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
         at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:52)
         at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
         at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:31)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
         at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:170)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:124)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    What

    Hi,do you still have this issue?
    I had the same issue, which was caused by improperly deploying non-sharepoint artefact (txt file) as part of the app. Once I changed deployment action to "NoDeployment" and removed it from the feature, everything was deployed successfully.
    See this thread for same error, and resolution:
    http://stackoverflow.com/questions/20349662/sharepoint-app-deployment-error-failed-to-install-app-for-sharepoint
    Dragan Panjkov [http://www.dragan-panjkov.com]

  • Incorrect oracle query in perl

    I the the following perl script, however it does not return anything. Did i form my syantax wrongly?
    $sth=$dbh->prepare("select a.rowid,a.* from Table1 a
                      where a.field1 = \'$Indicator1\'
                      and a.schedule = \'$Indicator2\'  and a.lastdate <= sysdate ");
    $sth->execute() After i hardcoded my code to the following, it worked
    $sth=$dbh->prepare("select a.rowid,a.* from Table1 a
                      where a.field1 = 'Valid'
                      and a.schedule = 'Y'  and a.lastdate <= sysdate ");
    $sth->execute() i think the ' and \ could have messed up the syntax, how can i resolve it?
    Indicator1 and indicator2 are not supposed to be hardcoded.

    You could also use a variable to "parse" the statement before, like this:
    $Indicator1 = "Valid";
    $Indicator2 = "Y";
    $sql_cmd    = "select a.rowid, a.* " .
                  "  from table1 a " .
                  " where a.field1 = \'$Indicator1\' " .
                  "   and a.field2 = \'$Indicator2\' " .
                  "   and a.lastdate <= sysdate";
    print $sql_cmd . "\n";
    $sth=$dbh->prepare($sql_cmd);
    $sth->execute()
    not tested
    C.

  • Webdynpro + EJB

    <PRE>
    Dear All,
    In our project, we are using EJBs as Model. I have created EJB and placed them in EAR file.
    When i am trying to deploy the EAR file i am getting the following exception.
    Jun 11, 2010 9:58:00 AM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [001]Deployment aborted
    Settings
    SDM host : evoepdevp
    SDM port : 50018
    URL to deploy : file:/C:/DOCUME1/ADMINI1/LOCALS~1/Temp/temp47925PPSCostCenterEAR.ear
    Result
    => deployment aborted : file:/C:/DOCUME1/ADMINI1/LOCALS~1/Temp/temp47925PPSCostCenterEAR.ear
    Aborted: development component 'PPSCostCenterEAR'/'sap.com'/'localhost'/'2010.06.11.09.57.17'/'0':Caught exception during application
    deployment from SAP J2EE Engine's deploy service:java.rmi.RemoteException: Cannot deploy application sap.com/PPSCostCenterEAR.. Reason:
    Incorrect QL query: , errors: line 1: expecting "select", found '<end-of-query>'line 1: expecting "from", found '<end-of-query>'.; nested
    exception is:      com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed:
    ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle',
    ID='com.sap.engine.services.ejb.exceptions.deployment.EJBDeploymentException: Incorrect QL query: , errors: line 1: expecting "select", found
    '<end-of-query>'line 1: expecting "from", found '<end-of-query>'.     at
    com.sap.engine.services.ejb.deploy.ejbql.QLTranslator.prepareQLContext(QLTranslator.java:191)     at
    com.sap.engine.services.ejb.deploy.ejbql.QLTranslator.translateQuery(QLTranslator.java:103)     at
    com.sap.engine.services.ejb.deploy.ejbql.QLTranslator.translateAllQueries(QLTranslator.java:171)     at
    com.sap.engine.services.ejb.deploy.DeployAdmin.translateQL(DeployAdmin.java:1271)     at
    com.sap.engine.services.ejb.deploy.DeltaDeployAdmin.makeUpdate(DeltaDeployAdmin.java:177)     at
    com.sap.engine.services.ejb.EJBAdmin.makeUpdate(EJBAdmin.java:558)     at
    com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:400)     at
    com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:321)     at
    com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:164)     at
    com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)     at
    com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)     at
    com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3186)     at
    com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:671)     at
    com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1278)     at
    com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:319)     at
    com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:200)     at
    com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136)     at
    com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)     
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)     at
    com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)     at
    java.security.AccessController.doPrivileged(AccessController.java:219)     at
    com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)     at
    com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)', Arguments: []--> : Can't find resource for bundle
    java.util.PropertyResourceBundle, key com.sap.engine.services.ejb.exceptions.deployment.EJBDeploymentException: Incorrect QL query: ,
    errors: line 1: expecting "select", found '<end-of-query>'line 1: expecting "from", found '<end-of-query>'.     at
    com.sap.engine.services.ejb.deploy.ejbql.QLTranslator.prepareQLContext(QLTranslator.java:191)     at
    com.sap.engine.services.ejb.deploy.ejbql.QLTranslator.translateQuery(QLTranslator.java:103)     at
    com.sap.engine.services.ejb.deploy.ejbql.QLTranslator.translateAllQueries(QLTranslator.java:171)     at
    com.sap.engine.services.ejb.deploy.DeployAdmin.translateQL(DeployAdmin.java:1271)     at
    com.sap.engine.services.ejb.deploy.DeltaDeployAdmin.makeUpdate(DeltaDeployAdmin.java:177)     at
    com.sap.engine.services.ejb.EJBAdmin.makeUpdate(EJBAdmin.java:558)     at
    com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:400)     at
    com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:321)     at
    com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:164)     at
    com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)     at
    com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)     at
    com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3186)     at
    com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:671)     at
    com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1278)     at
    com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:319)     at
    com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:200)     at
    com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136)     at
    com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)     
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)     at
    com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)     at
    java.security.AccessController.doPrivileged(AccessController.java:219)     at
    com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)     at
    com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176) (message ID:
    com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted
    </PRE>
    Edited by: Hari Krishna Dandhibhotla on Jun 11, 2010 6:39 AM

    Entity Bean Annotation
    @abstractSchemaName PPSCostCenterBean
    @cmpVersion 2.x
    @ejbHome <{com.ibm.examples.ppscostcenter.PPSCostCenterHome}>
    @ejbLocal <{com.ibm.examples.ppscostcenter.PPSCostCenterLocal}>
    @ejbLocalHome <{com.ibm.examples.ppscostcenter.PPSCostCenterLocalHome}>
    @ejbPrimaryKey <{java.lang.String}>
    @ejbRemote <{com.ibm.examples.ppscostcenter.PPSCostCenter}>
    @hasSimplePK
    Stateless Session Bean Annotation
    @ejbHome <{com.ibm.examples.ppscostcenter.PPSCostCenterProcessorHome}>
    @ejbLocal <{com.ibm.examples.ppscostcenter.PPSCostCenterProcessorLocal}>
    @ejbLocalHome <{com.ibm.examples.ppscostcenter.PPSCostCenterProcessorLocalHome}>
    @ejbRemote <{com.ibm.examples.ppscostcenter.PPSCostCenterProcessor}>
    @stateless
    @transactionType Container

  • EJB QL: Exception while parsing ... LIKE CONCAT(?1, '%')

    Hi,
    the following statement is EJB- 2.0 conform:
    <ejb-ql>SELECT OBJECT(obj) FROM aTable AS obj WHERE obj.aColumn LIKE CONCAT(?1, '%')</ejb-ql>
    While trying to deploy an EAR with the deployment tool, the following exception is thrown.
    [code]
    Cannot deploy application myCompany.com/myApp..
    Reason: Incorrect QL query: SELECT OBJECT(obj) FROM aTable AS obj WHERE obj.aColumn LIKE
                             CONCAT(?1, '%'), errors: line 2: unexpected token: CONCAT
                             CONCAT(?1, '%')
                             ^
    .; nested exception is:
         com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='com.sap.engine.services.ejb.exceptions.deployment.EJBDeploymentException: Incorrect QL query: SELECT OBJECT(obj) FROM aTable AS obj WHERE obj.aColumn LIKE
                             CONCAT(?1, '%'), errors: line 2: unexpected token: CONCAT
                             CONCAT(?1, '%')
                             ^
         at com.sap.engine.services.ejb.deploy.ejbql.QLTranslator.prepareQLContext(QLTranslator.java:191)
         at com.sap.engine.services.ejb.deploy.ejbql.QLTranslator.translateQuery(QLTranslator.java:103)
         at com.sap.engine.services.ejb.deploy.ejbql.QLTranslator.translateAllQueries(QLTranslator.java:171)
         at com.sap.engine.services.ejb.deploy.DeployAdmin.translateQL(DeployAdmin.java:1398)
         at com.sap.engine.services.ejb.deploy.DeployAdmin.generate(DeployAdmin.java:254)
         at com.sap.engine.services.ejb.EJBAdmin.deploy(EJBAdmin.java:2118)
         at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:594)
         at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:379)
         at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:296)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:290)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:323)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3033)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:463)
         at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    [/code]
    The above mentioned query is supposed to be parsable, it works quite fine on JBoss and WLS.
    regards
    Marcel

    Hi Viliana,
    > Hi Marcel,
    > The J2EE Engine in NW04 is fully EJB 2.0 compatible.
    > Therefore, please check if your statement conforms to
    > the EJB QL BNF syntax (chapter 11 of the EJB2.0
    > specification) and if this is the case (at least to
    > me, your statement looks correct), open a CSS
    > ticket.
    I checked it against the EJB QL BNF and it is valid. What is a CSS ticket exactly?
    best regards
    Marcel

  • Error while deploying the BMP Bean

    Hi
    Here Iam trying to deploy the Account(BMP)Bean in to WebAS
    and the following error is getting while deplying.
    Jun 28, 2005 6:18:42 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:
    [027]Additional log information about the deployment.
    can any one can help me on this?
    thanks in advance.
    Error follows.........
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7185 - 630]/>
    <!NAME[C:\usr\sap\J2E\JC00\SDM\program\log\sdmcl20050628124840.log]/>
    <!PATTERN[sdmcl20050628124840.log]/>
    <!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>
    <!ENCODING[Cp1252]/>
    <!LOGHEADER[END]/>
    Jun 28, 2005 6:18:40 PM  Info: -
    Starting deployment -
    Jun 28, 2005 6:18:40 PM  Info: Loading selected archives...
    Jun 28, 2005 6:18:40 PM  Info: Loading archive 'C:\usr\sap\J2E\JC00\SDM\program\temp\temp54349BankAccountApp.ear'
    Jun 28, 2005 6:18:40 PM  Info: Selected archives successfully loaded.
    Jun 28, 2005 6:18:40 PM  Info: Actions per selected component:
    Jun 28, 2005 6:18:40 PM  Info: Update: Selected development component 'BankAccountApp'/'sap.com'/'localhost'/'2005.06.28.18.18.29' updates currently deployed development component 'BankAccountApp'/'sap.com'/'localhost'/'2005.06.28.17.46.20'.
    Jun 28, 2005 6:18:40 PM  Info: The deployment prerequisites finished withtout any errors.
    Jun 28, 2005 6:18:40 PM  Info: Saved current Engine state.
    Jun 28, 2005 6:18:40 PM  Info: Error handling strategy: OnErrorStop
    Jun 28, 2005 6:18:40 PM  Info: Update strategy: UpdateAllVersions
    Jun 28, 2005 6:18:40 PM  Info: Starting: Update: Selected development component 'BankAccountApp'/'sap.com'/'localhost'/'2005.06.28.18.18.29' updates currently deployed development component 'BankAccountApp'/'sap.com'/'localhost'/'2005.06.28.17.46.20'.
    Jun 28, 2005 6:18:40 PM  Info: SDA to be deployed: C:\usr\sap\J2E\JC00\SDM\root\origin\sap.com\BankAccountApp\localhost\2005.06.28.18.18.29\temp54349BankAccountApp.ear
    Jun 28, 2005 6:18:40 PM  Info: Software type of SDA: J2EE
    Jun 28, 2005 6:18:40 PM  Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
    Jun 28, 2005 6:18:41 PM  Info: Begin of log messages of the target system:
    05/06/28 18:18:40 -  ***********************************************************
    05/06/28 18:18:41 -  Start updating EAR file...
    05/06/28 18:18:41 -  start-up mode is lazy
    05/06/28 18:18:41 -  EAR file updated successfully for 170ms.
    05/06/28 18:18:41 -  Start updating...
    05/06/28 18:18:41 -  EAR file uploaded to server for 70ms.
    05/06/28 18:18:41 -  ERROR: Not updated. Deploy Service returned ERROR:
                         java.rmi.RemoteException: Cannot deploy application sap.com/BankAccountApp..
                         Reason: null; nested exception is:
                              java.lang.NullPointerException
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:592)
                              at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1278)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
                              at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)
                              at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
                              at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
                              at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                              at java.security.AccessController.doPrivileged(Native Method)
                              at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
                              at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:159)
                         Caused by: java.lang.NullPointerException
                              at com.sap.engine.services.ejb.EJBAdmin.needUpdate(EJBAdmin.java:337)
                              at com.sap.engine.services.deploy.server.application.UpdateTransaction.getContainersWhichNeedUpdate(UpdateTransaction.java:511)
                              at com.sap.engine.services.deploy.server.application.UpdateTransaction.getConcernedContainers(UpdateTransaction.java:467)
                              at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:356)
                              at com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:146)
                              at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:290)
                              at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:323)
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3023)
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:580)
                              ... 10 more
                         For detailed information see the log file of the Deploy Service.
    05/06/28 18:18:41 -  ***********************************************************
    Jun 28, 2005 6:18:41 PM  Info: End of log messages of the target system.
    Jun 28, 2005 6:18:41 PM  Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Jun 28, 2005 6:18:41 PM  Error: Aborted: development component 'BankAccountApp'/'sap.com'/'localhost'/'2005.06.28.18.18.29':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application sap.com/BankAccountApp..
    Reason: null; nested exception is:
         java.lang.NullPointerException
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Jun 28, 2005 6:18:42 PM  Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
    Jun 28, 2005 6:18:42 PM  Error: -
    At least one of the Deployments failed -

    hi
    i have gone through the visual administrator and in deployments there is not application called BankAccountApp and again i tried to deploy the same  and this time it is giving the different error ...
    Jun 29, 2005 5:08:14 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [004]Deployment aborted
    Settings
    SDM host : INLD50043555
    SDM port : 50018
    URL to deploy : file:/C:/DOCUME1/c5065576/LOCALS1/Temp/temp20093BankAccountApp.ear
    Result
    => deployment aborted : file:/C:/DOCUME1/c5065576/LOCALS1/Temp/temp20093BankAccountApp.ear
    Aborted: development component 'BankAccountApp'/'sap.com'/'localhost'/'2005.06.28.18.18.29':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application sap.com/BankAccountApp.. Reason: Incorrect application sap.com/BankAccountApp:Bean AccountBean: The primary key class java.lang.Object is not a legal Value Type in RMI-IIOP.Bean AccountBean: The primary key class java.lang.Object does not define method equals(java.lang.Object). The primary key class must provide suitable implementation of the equals(Object) method. EJB Specification 10.6.13.Bean AccountBean: The primary key class java.lang.Object does not define method hashCode(). The primary key class must provide suitable implementation of the hashCode() method. EJB Specification 10.6.13.Bean AccountBean. Illegal return type for method ejbCreate. The return type must be the entity bean's primary key type. EJB Specification 10.6.4.Bean AccountBean. The return type of ejbFinder methods must be the entity bean's primary key class, java.util.Collection, or java.util.Enumeration, but found com.examples.bmp.Account.Bean AccountBean. Method findByPrimaryKey(<PrimaryKeyClass>) not found in home interface com.examples.bmp.AccountHome. The remote home interface must always include the findByPrimaryKey method, which is always a single-object finder. The method must declare the primary key class as the method argument. EJB Specification 10.6.10.Error in the remote interface com.examples.bmp.Account of bean AccountBean: No corresponding business method in the bean class com.examples.bmp.AccountBean was found for method setAccountID.; nested exception is:      com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='com.sap.engine.services.ejb.exceptions.deployment.EJBDeploymentException: Incorrect application sap.com/BankAccountApp:Bean AccountBean: The primary key class java.lang.Object is not a legal Value Type in RMI-IIOP.Bean AccountBean: The primary key class java.lang.Object does not define method equals(java.lang.Object). The primary key class must provide suitable implementation of the equals(Object) method. EJB Specification 10.6.13.Bean AccountBean: The primary key class java.lang.Object does not define method hashCode(). The primary key class must provide suitable implementation of the hashCode() method. EJB Specification 10.6.13.Bean AccountBean. Illegal return type for method ejbCreate. The return type must be the entity bean's primary key type. EJB Specification 10.6.4.Bean AccountBean. The return type of ejbFinder methods must be the entity bean's primary key class, java.util.Collection, or java.util.Enumeration, but found com.examples.bmp.Account.Bean AccountBean. Method findByPrimaryKey(<PrimaryKeyClass>) not found in home interface com.examples.bmp.AccountHome. The remote home interface must always include the findByPrimaryKey method, which is always a single-object finder. The method must declare the primary key class as the method argument. EJB Specification 10.6.10.Error in the remote interface com.examples.bmp.Account of bean AccountBean: No corresponding business method in the bean class com.examples.bmp.AccountBean was found for method setAccountID.
         at com.sap.engine.services.ejb.deploy.verifier.Verifier.check(Verifier.java:66)
         at com.sap.engine.services.ejb.deploy.DeployAdmin.generate(DeployAdmin.java:253)
         at com.sap.engine.services.ejb.EJBAdmin.deploy(EJBAdmin.java:2133)
         at com.sap.engine.services.ejb.EJBAdmin.makeUpdate(EJBAdmin.java:464)
         at com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:374)
         at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:379)
         at com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:146)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:290)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:323)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3023)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:580)
         at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1278)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:159)
    ', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key com.sap.engine.services.ejb.exceptions.deployment.EJBDeploymentException: Incorrect application sap.com/BankAccountApp:Bean AccountBean: The primary key class java.lang.Object is not a legal Value Type in RMI-IIOP.Bean AccountBean: The primary key class java.lang.Object does not define method equals(java.lang.Object). The primary key class must provide suitable implementation of the equals(Object) method. EJB Specification 10.6.13.Bean AccountBean: The primary key class java.lang.Object does not define method hashCode(). The primary key class must provide suitable implementation of the hashCode() method. EJB Specification 10.6.13.Bean AccountBean. Illegal return type for method ejbCreate. The return type must be the entity bean's primary key type. EJB Specification 10.6.4.Bean AccountBean. The return type of ejbFinder methods must be the entity bean's primary key class, java.util.Collection, or java.util.Enumeration, but found com.examples.bmp.Account.Bean AccountBean. Method findByPrimaryKey(<PrimaryKeyClass>) not found in home interface com.examples.bmp.AccountHome. The remote home interface must always include the findByPrimaryKey method, which is always a single-object finder. The method must declare the primary key class as the method argument. EJB Specification 10.6.10.Error in the remote interface com.examples.bmp.Account of bean AccountBean: No corresponding business method in the bean class com.examples.bmp.AccountBean was found for method setAccountID.
         at com.sap.engine.services.ejb.deploy.verifier.Verifier.check(Verifier.java:66)
         at com.sap.engine.services.ejb.deploy.DeployAdmin.generate(DeployAdmin.java:253)
         at com.sap.engine.services.ejb.EJBAdmin.deploy(EJBAdmin.java:2133)
         at com.sap.engine.services.ejb.EJBAdmin.makeUpdate(EJBAdmin.java:464)
         at com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:374)
         at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:379)
         at com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:146)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:290)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:323)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3023)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:580)
         at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1278)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:159)
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted
    can anyone help me on this.
    Thanks in advance
    Vasu

  • Errror while deploying ear file into sapwas

    Hi all,
    I am getting following error while deploying the ear file into sap web application server during the migration of j2ee medRec application into sapwas.
    06/02/22 10:46:21 -  ***********************************************************
    Feb 22, 2006 10:46:21... Info: End of log messages of the target system.
    Feb 22, 2006 10:46:21... Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Feb 22, 2006 10:46:21... Error: Aborted: development component 'Medical Records Patient Application'/'sap.com'/'localhost'/'2006.02.22.10.44.55':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application sap.com/Medical Records Patient Application..
    Reason: Incorrect multiplicity value: one. Use One or Many.; nested exception is:
         com.sap.engine.services.ejb.exceptions.deployment.EJBXMLParserException: Incorrect multiplicity value: one. Use One or Many.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Feb 22, 2006 10:46:22... Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
    Feb 22, 2006 10:46:22... Error: -
    At least one of the Deployments failed -
    Thanks
    Neeta Verma

    Hi,
    Check in the corresponding applcation.xml for entries
    like <multiplicity>one</multiplicity>, <multiplicity>many</multiplicity> and replace them with <multiplicity>One</multiplicity> ,
    <multiplicity>Many</multiplicity> respectively.
    Regards,
    Prasita

  • Getting error while deploying the Enterprise application

    iam getting the Error while i deploying enterprise application which contain the EJB  methods.
    that Error iam getting like follow.
    java.rmi.RemoteException: Cannot deploy application sap.com/Energy_eap.. Reason: Incorrect application sap.com/Energy_eap:Error in the remote interface com.bean.Stateless_bean of bean Stateless_beanBean: No corresponding business method in the bean class com.bean.Stateless_beanBean was found for method Insert.nested exception is:      com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='com.sap.engine.services.ejb.exceptions.deployment.EJBDeploymentException: Incorrect application sap.com/Energy_eap:Error in the remote interface com.bean.Stateless_bean of bean Stateless_beanBean: No corresponding business method in the bean class com.bean.Stateless_beanBean was found for method Insert.Error in the remote interface com.bean.Stateless_bean of bean Stateless_beanBean: No corresponding business method in the bean class com.bean.Stateless_beanBean was found for method view.
         at com.sap.engine.services.ejb.deploy.verifier.Verifier.check(Verifier.java:66)

    Hello,
    based on the exception message there is a missing method in your ejb (insert)
    take a look at the signature of the method and the visibilty (public) - and look for typos
    regards franz
    ...close thread if question is answered

  • Unable to deploy a module into XI Server

    Hi together,
    I developed a new module within the J2ee Development Studio. Compiling and building is ok. The ear-File is build... everything is fine... execpt the following.
    I connected the Development Studio to our XI Server. The connection is stable and working.
    Now, i try to deploy my development into the Server through the J2EE Explorer. I get the following result:
    10.04.2008 19:31:52 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [001]Deployment aborted
    Settings
    SDM host : srv06007
    SDM port : 57018
    URL to deploy : file:/C:/DOKUME1/000282/LOKALE1/Temp/temp41484XI_Adapter_Module_Edifact_Parser.ear
    Result
    => deployment aborted : file:/C:/DOKUME1/000282/LOKALE1/Temp/temp41484XI_Adapter_Module_Edifact_Parser.ear
    Aborted: development component 'XI_Adapter_Module_Edifact_Parser'/'sap.com'/'localhost'/'2008.04.08.13.05.54'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application sap.com/XI_Adapter_Module_Edifact_Parser.. Reason: Incorrect application sap.com/XI_Adapter_Module_Edifact_Parser:Bean EDIFACT_TO_XML: the ejb-class must implement, directly or indirectly, the javax.ejb.SessionBean interface. EJB specification 7.10.2.Error in the bean class: There is no public constructor with no parameters defined within bean de.regioit.xi.adapter.module.EDIFACT_TO_XML. Bean classes must have a public constructor with no parameters.Error in the bean class: The bean class de.regioit.xi.adapter.module.EDIFACT_TO_XML was found, but was declared as abstract. It must not be abstract.Bean EDIFACT_TO_XML: can not find method ejbCreate()  in ejb-class de.regioit.xi.adapter.module.EDIFACT_TO_XML. Each create method must be named create<METHOD>, and it must match one of the ejbCreate<METHOD> methods defined in the session bean class. The matching ejbCreate<METHOD> method must have the same number and types of arguments. EJB Specification 7.10.6.Bean EDIFACT_TO_XML: can not find method ejbCreate()  in ejb-class de.regioit.xi.adapter.module.EDIFACT_TO_XML. Each create method must be named create<METHOD>, and it must match one of the ejbCreate<METHOD> methods defined in the session bean class. The matching ejbCreate<METHOD> method must have the same number and types of arguments. EJB Specification 7.10.8.Error in the local interface com.sap.aii.af.mp.module.ModuleLocal of bean EDIFACT_TO_XML: No corresponding business method in the bean class was found for method process.Error in the bean class: There is no public constructor with no parameters defined within bean com.sap.aii.utilxi.hmis.sbeans.HmisBeanImpl. Bean classes must have a public constructor with no parameters.Bean HmisBeanImpl: Cannot find home or component interfaces.; nested exception is:      com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='com.sap.engine.services.ejb.exceptions.deployment.EJBDeploymentException: Incorrect application sap.com/XI_Adapter_Module_Edifact_Parser:Bean EDIFACT_TO_XML: the ejb-class must implement, directly or indirectly, the javax.ejb.SessionBean interface. EJB specification 7.10.2.Error in the bean class: There is no public constructor with no parameters defined within bean de.regioit.xi.adapter.module.EDIFACT_TO_XML. Bean classes must have a public constructor with no parameters.Error in the bean class: The bean class de.regioit.xi.adapter.module.EDIFACT_TO_XML was found, but was declared as abstract. It must not be abstract.Bean EDIFACT_TO_XML: can not find method ejbCreate()  in ejb-class de.regioit.xi.adapter.module.EDIFACT_TO_XML. Each create method must be named create<METHOD>, and it must match one of the ejbCreate<METHOD> methods defined in the session bean class. The matching ejbCreate<METHOD> method must have the same number and types of arguments. EJB Specification 7.10.6.Bean EDIFACT_TO_XML: can not find method ejbCreate()  in ejb-class de.regioit.xi.adapter.module.EDIFACT_TO_XML. Each create method must be named create<METHOD>, and it must match one of the ejbCreate<METHOD> methods defined in the session bean class. The matching ejbCreate<METHOD> method must have the same number and types of arguments. EJB Specification 7.10.8.Error in the local interface com.sap.aii.af.mp.module.ModuleLocal of bean EDIFACT_TO_XML: No corresponding business method in the bean class was found for method process.Error in the bean class: There is no public constructor with no parameters defined within bean com.sap.aii.utilxi.hmis.sbeans.HmisBeanImpl. Bean classes must have a public constructor with no parameters.Bean HmisBeanImpl: Cannot find home or component interfaces.
         at com.sap.engine.services.ejb.deploy.verifier.Verifier.check(Verifier.java:66)
         at com.sap.engine.services.ejb.deploy.DeployAdmin.generate(DeployAdmin.java:254)
         at com.sap.engine.services.ejb.EJBAdmin.deploy(EJBAdmin.java:2161)
         at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:606)
         at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:321)
         at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:307)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3184)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:552)
         at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    ', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key com.sap.engine.services.ejb.exceptions.deployment.EJBDeploymentException: Incorrect application sap.com/XI_Adapter_Module_Edifact_Parser:Bean EDIFACT_TO_XML: the ejb-class must implement, directly or indirectly, the javax.ejb.SessionBean interface. EJB specification 7.10.2.Error in the bean class: There is no public constructor with no parameters defined within bean de.regioit.xi.adapter.module.EDIFACT_TO_XML. Bean classes must have a public constructor with no parameters.Error in the bean class: The bean class de.regioit.xi.adapter.module.EDIFACT_TO_XML was found, but was declared as abstract. It must not be abstract.Bean EDIFACT_TO_XML: can not find method ejbCreate()  in ejb-class de.regioit.xi.adapter.module.EDIFACT_TO_XML. Each create method must be named create<METHOD>, and it must match one of the ejbCreate<METHOD> methods defined in the session bean class. The matching ejbCreate<METHOD> method must have the same number and types of arguments. EJB Specification 7.10.6.Bean EDIFACT_TO_XML: can not find method ejbCreate()  in ejb-class de.regioit.xi.adapter.module.EDIFACT_TO_XML. Each create method must be named create<METHOD>, and it must match one of the ejbCreate<METHOD> methods defined in the session bean class. The matching ejbCreate<METHOD> method must have the same number and types of arguments. EJB Specification 7.10.8.Error in the local interface com.sap.aii.af.mp.module.ModuleLocal of bean EDIFACT_TO_XML: No corresponding business method in the bean class was found for method process.Error in the bean class: There is no public constructor with no parameters defined within bean com.sap.aii.utilxi.hmis.sbeans.HmisBeanImpl. Bean classes must have a public constructor with no parameters.Bean HmisBeanImpl: Cannot find home or component interfaces.
         at com.sap.engine.services.ejb.deploy.verifier.Verifier.check(Verifier.java:66)
         at com.sap.engine.services.ejb.deploy.DeployAdmin.generate(DeployAdmin.java:254)
         at com.sap.engine.services.ejb.EJBAdmin.deploy(EJBAdmin.java:2161)
         at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:606)
         at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:321)
         at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:307)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3184)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:552)
         at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted
    I already copied the needed jar Files in the lib path of the server... I tried out nearly everything. On my workstation everything is OK - I guess, that a library is missing... What can I do, so that the XI is recocnising the jar files? Is there an other reason for that failure?
    Since I'm trying to figure out what is happening for one week now, you are my last chance :-).
    Thanks & Regards
        Thomas

    Hi,
    Like Stefan said..
    Reason: Incorrect application sap.com/XI_Adapter_Module_Edifact_Parser:Bean EDIFACT_TO_XML: the ejb-class must implement, directly or indirectly, the javax.ejb.SessionBean interface. EJB specification 7.10.2.Error in the bean class: There is no public constructor with no parameters defined within bean de.regioit.xi.adapter.module.EDIFACT_TO_XML. Bean classes must have a public constructor with no parameters.Error in the bean class: The bean class de.regioit.xi.adapter.module.EDIFACT_TO_XML was found, but was declared as abstract. It must not be abstract.
    Change the bean class EDIFACT_TO_XML in package..de.regioit.xi.adapter.module and change it from
    Abstract to public, save rebuild and re-deploy......
    Regards
    Ravi Raman

  • Error deploying a Java Webservice

    In the SAP NetWeaver Developer Studio, when I select the option "Deploy to J2EE engine" on my EAR file, I get the following error:
    java.rmi.RemoteException: Cannot deploy application sap.com/LDAPManagerEAR..
    Reason: Incorrect application sap.com/LDAPManagerEAR:
    Bean EB_bindBean: Remote home interface com.upc.ldap.ejb.EB_bindHome must be a valid RMI-IIOP remote interface.
    Bean EB_bindBean: the return type for a create<METHOD> method of the session bean local home interface must be the session bean local interface type. EJB specification 7.10.8.
    Error in the remote interface com.upc.ldap.ejb.EB_bind of bean EB_bindBean: No corresponding business method in the bean class com.upc.ldap.ejb.EB_bindBean was found for method bindLDAP.
    Error in the local interface com.upc.ldap.ejb.EB_bindLocal of bean EB_bindBean: No corresponding business method in the bean class was found for method bindLDAP.; nested exception is:
    com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='com.sap.engine.services.ejb.exceptions.deployment.EJBDeploymentException: Incorrect application sap.com/LDAPManagerEAR:
    Anybody can help me ? Thanks

    Hi Joan
    It looks like an error on relationship between the ear project and the EJB, if it is the first time you are deploying the ear file, delete the ear project and create again.
    Best

  • Error deploying EAR that is a Webservice

    In the SAP NetWeaver Developer Studio, when I select the option "Deploy to J2EE engine" on my EAR file, I get the following error:
                         java.rmi.RemoteException: Cannot deploy application sap.com/LDAPManagerEAR..
                         Reason: Incorrect application sap.com/LDAPManagerEAR:
                         Bean EB_bindBean: Remote home interface com.upc.ldap.ejb.EB_bindHome must be a valid RMI-IIOP remote interface.
                         Bean EB_bindBean: the return type for a create<METHOD> method of the session bean local home interface must be the session bean local interface type. EJB specification 7.10.8.
                         Error in the remote interface com.upc.ldap.ejb.EB_bind of bean EB_bindBean: No corresponding business method in the bean class com.upc.ldap.ejb.EB_bindBean was found for method bindLDAP.
                         Error in the local interface com.upc.ldap.ejb.EB_bindLocal of bean EB_bindBean: No corresponding business method in the bean class was found for method bindLDAP.; nested exception is:
                              com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='com.sap.engine.services.ejb.exceptions.deployment.EJBDeploymentException: Incorrect application sap.com/LDAPManagerEAR:
    Anybody can help me ? Thanks

    I?ve seen the code.
    You need to synchronize the interfaces and the business method. For instance, on the interface you have declared:
    public String bindLDAP(String username, String password)throws RemoteException;
    And then you attempt to implement:
    public String bindLDAP(String username, String password) throws NamingException
    Therefore the error:
    Error in the remote interface com.upc.ldap.ejb.EB_bind of bean EB_bindBean: No corresponding business method in the bean class com.upc.ldap.ejb.EB_bindBean was found for method bindLDAP.
    Also, you must be consisten with local-remote-home interfaces. You've declared the EB_bindLocalHome as LocalHome, but don't use it as return parameter on the EB_bindHome interface. Try the following:
    package com.upc.ldap.ejb;
    import javax.ejb.EJBHome;
    import java.rmi.RemoteException;
    import javax.ejb.CreateException;
    public interface EB_bindHome extends EJBHome {
          * Create Method.
         public  EB_bindLocalHome create() throws CreateException;
    You might want to use an EJB generator as on SAP Developer Studio to automate all these tasks and avoid revisiting the code.
    I hope it helps
    Regards

  • Error during ear file deployment

    Hi,
    I am getting the error while trying to deploy ear file using SDM.
    The error log is
    Starting Deployment of MyzipBean
    Aborted: development component 'MyzipBean'/'sap.com'/'localhost'/'2008.06.13.17.44.31'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application sap.com/MyzipBean.. Reason: Incorrect application sap.com/MyzipBean:Bean MyzipBean: can not find method ejbCreate()  in ejb-class myzip.MyzipBean. Each create method must be named create<METHOD>, and it must match one of the ejbCreate<METHOD> methods defined in the session bean class. The matching ejbCreate<METHOD> method must have the same number and types of arguments. EJB Specification 7.10.6.Bean MyzipBean: can not find method ejbCreate()  in ejb-class myzip.MyzipBean. Each create method must be named create<METHOD>, and it must match one of the ejbCreate<METHOD> methods defined in the session bean class. The matching ejbCreate<METHOD> method must have the same number and types of arguments. EJB Specification 7.10.8.; nested exception is:      com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='com.sap.engine.services.ejb.exceptions.deployment.EJBDeploymentException: Incorrect application sap.com/MyzipBean:Bean MyzipBean: can not find method ejbCreate()  in ejb-class myzip.MyzipBean. Each create method must be named create<METHOD>, and it must match one of the ejbCreate<METHOD> methods defined in the session bean class. The matching ejbCreate<METHOD> method must have the same number and types of arguments. EJB Specification 7.10.6.Bean MyzipBean: can not find method ejbCreate()  in ejb-class myzip.MyzipBean. Each create method must be named create<METHOD>, and it must match one of the ejbCreate<METHOD> methods defined in the session bean class. The matching ejbCreate<METHOD> method must have the same number and types of arguments. EJB Specification 7.10.8.
    What could be the reason?
    Thanks,
    Jaishankar

    Hi,
    1. Restart the upgrade
    2. When it shows the error above open callSdmViaSapinst.log and search for the application that can't be deployed
    3. If application is STOPPED start it
    4. Undeploy the application if it is STARTED
    5. Press the "Retry" button in the error message dialog box from the
    upgrade
    6. If it fails again for another application go to 2.
    Please refer SAP NOte 851590. I don't know if it work for u, as i have given this , it seems for Upgrade as you are developing.
    Look into this thread also
    Unable to deploy a module into XI Server
    Regards
    Aashish Sinha
    Edited by: Aashish Sinha on Jun 13, 2008 3:20 PM
    Edited by: Aashish Sinha on Jun 13, 2008 3:28 PM

Maybe you are looking for

  • File Name in Java Map

    Hello, I want to add the time stamp in the file name in JAVA map. Actually we are directly writing the file on to the file system from Java map and also giving its output to other map. So we need when we write the file on the file system the file nam

  • Just wondering....and needing help

    Hi, just wondering, I started creating a new iWebsite from scratch, and now following things I wonder: 1. On my .Mac account, my page doesnt appear anymore as page 2. The Hit counter on my .Mac page is gone 3. The site is published directly now in th

  • Why doesn't the new itunes find and display duplicates?

    it's annoying.  Also, I can't display just a single artist and display by song, so I can see the duplicates by artist.

  • LMS 4.0 and Prime Infrastructure..!

    Hi, I am using LMS 4.0 and as the licenses got expired I came to know that I need to buy Prime Infrastructure license as LMS 4.0 reached End of life. So now if I buy the prime infrastructure licenses, will it work on LMS 4.0 or I need to upgrade? and

  • JTree Selection navigation is not proper.

    I have used the JTree in my application. I have to move the highlighted bar on the JTree Nodes using Arrow Keys. Its is not working. If i use the Arrow Key, Red Color box around the node only moves instead of the highlighted bar. I am running this ap