Build failed when use EJB Model

Hi experts.
I have one eb dynpro DC that contains a model type enterprise java beans.
When i apply template "Service Controller" in component controller and after deploy i get the follow error in Build log:
[javac] Compiling 26 source files to D:SAPWorkspacesSAPEHPWorkspace.jdi4     E7D65AC4087E200E11A14DD40E7DE510classes
     [javac] An exception has occurred in the compiler (1.5.0_17). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport)  after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report.  Thank you.
     [javac] com.sun.tools.javac.code.Symbol$CompletionFailure: file javaxxml indannotation.class not found
Error: D:SAPWorkspacesSAPEHPWorkspace.jdi4     2E7D65AC4087E200E11A14DD40E7DE510defaultlogs uild.xml:256: Compile failed; see the compiler error output for details.
     at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:933)
     at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
Can someone help me about that?
i use NetWeaver EHP1 7.1 SP04.
Best Regards
Marcos Brandã

Hi
I have developed a CAF application.
In my web dynpro i created a EJB Model from the Application Service of this CAF. The ear dependencies is ok to CAF.
After that i made an apply template for Service Controller in my Web Dynpro component controller.
When i build the component the errors occurs.
I think this could be an error of my java version. I use 1.5_17. I reinstalled that version and dont work.
I installed version ..5_22 and don't work. Then i installed version 6, and works. It's strange, because never happened this before.
I did the same other times and always work. But now i have this error.
I have alreday reinstalled the NWDS and change the workspace too. But don't work.
Regards
Marcos.

Similar Messages

  • Hello REST web service example deployment fails when using EJB

    I was able to successfully deploy the hello REST web service example. But when I attempted to lookup an EJB via the following code I get an error message.
    try {
    ic = new InitialContext();
    DirectoryBean db = (DirectoryBean)ic.lookup("java:comp/env/ejb/DirectoryBean");
    } catch (NamingException ex) {
    ex.printStackTrace();
    Here is the error message in the NetBeans console window:
    Deploying application in domain failed; Error loading deployment descriptors for module [hello] -- com.sun.enterprise.deployment.annotation.context.WebBundleContext cannot be cast to com.sun.enterprise.deployment.annotation.context.EjbContextat com.sun.enterprise.deployment.annotation.AnnotationInfo@15f1fa0
    D:\java\Sun\swdp-tutorial-1.0\examples\rest\hello\nbproject\build-impl.xml:450: Deployment error:

    I think the problem may be that the SimpleServlet example uses an apt feature to generate a web.xml which will replace any web.xml you already have in the project (and lose any references etc you might have in it). To work around this problem first copy the necessary lines from the web.xml in the generates .war file - they should look something like this:
    <servlet>
    <servlet-name>RESTBeans Application</servlet-name>
    <servlet-class>com.sun.ws.rest.impl.container.servlet.ServletAdaptor</servlet-class>
    <init-param>
    <param-name>resourcebean</param-name>
    <param-value>com.sun.ws.rest.samples.servlet.resources.RESTBeansResources</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>RESTBeans Application</servlet-name>
    <url-pattern>/restbean/*</url-pattern>
    </servlet-mapping>
    Add these to your project web.xml, replacing any lines that look similar (the web.xml in the sample project has these lines that you'll need to replace:
    <servlet>
    <servlet-name>ServletAdaptor</servlet-name>
    <servlet-class>com.sun.ws.rest.impl.servlet.ServletAdaptor</servlet-class>
    <init-param>
    <param-name>resources</param-name>
    <param-value>test1</param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
    <!-- this is a comment -->
    <servlet-name>ServletAdaptor</servlet-name>
    <url-pattern>/*</url-pattern>
    </servlet-mapping>
    Now you need to turn off automatic web.xml generation by adding <option key="noservlet"/> to the apt task option in build.xml (look for the apt child of the -pre-compile task in build.xml).
    Clean and rebuild and make sure that the web.xml in the generated .war file now matches the project web.xml file.
    Marc.

  • Building executables when using LV and MATRIXx

    Hi!
    With respect to Building executables when using LV and MATRIXx, I need clarification on following:
    1) Pre-requisites to use MATRIXx? We have LV 7.1 FDS with application builder.
    2) Licensing scheme? We would like to have MATRIX on 3 development stations.
    3) Can we build stand alone executables when using MATRIXx with LV?
    4) Do we need to purchase any addon to achieve (3) ?
    Thanks,
    Gurdas
    Gurdas Singh
    PhD. Candidate | Civil Engineering | NCSU.edu

    Hello Gurdas,
    Before I answer your questions, I am curious to know what you have in mind for the stand alone executables you are interested in building. It may help me to know a little more detail about your plans. Depending on your application, some of these answers may or may not be applicable. In any case, here are answers to your questions:
    1) There are no prerequisites for using MATRIXx. LabVIEW is not required. However, with LabVIEW FDS, you do have an Xmath Script node located in the Functions > All Functions > Analyze > Mathematics > Formula palette. This node can be used to call Xmath scripts from LabVIEW.
    Note: To use the Xmath Script node successfully, you will want to install LabVIEW 7.1.1 Maintenance Release. Refer to KnowledgeBase 300A6NDT: How Can I Resolve MATLAB and Xmath Script Node Issues in LabVIEW?
    2) There are two licensing options for MATRIXx: node-locked and floating (concurrent). A node-locked license is restricted to a specific node and can be installed and used on that single computer. A floating (concurrent) license allows use of the product by a specified number of concurrent users on any computer on a local area network that includes a server running a single license manager. For more information, follow the link to the MATRIXx Price List from Products and Services: MATRIXx.
    3) There are two ways you might build executables when using MATRIXx and LabVIEW. One way uses a component of MATRIXx to automatically generate C code. AutoCode is a component of MATRIXx that allows the user to turn system models into C code. This C code can then be compiled into an EXE or DLL. If built into a DLL, LabVIEW can be used to call the DLL. A more thorough explanation of this is provided in Developer Zone Tutorial: Running MATRIXx SystemBuild Models in LabVIEW/LabVIEW Real-Time.
    Another way that may work is to build an executable from a LabVIEW VI that uses an Xmath Script Node. Any target machine running this executable would need to have Xmath and the LabVIEW Run-Time Engine installed.
    4) No other add-ons are needed for (3). Do be sure to refer to the note following the answer to (1).
    Regards,
    Eric M.

  • [svn:bz-4.x] 16147: Fix a few more regression tests on the 4. x branch that were failing when using Spring integration.

    Revision: 16147
    Revision: 16147
    Author:   [email protected]
    Date:     2010-05-17 06:18:38 -0700 (Mon, 17 May 2010)
    Log Message:
    Fix a few more regression tests on the 4.x branch that were failing when using Spring integration.
    Modified Paths:
        blazeds/branches/4.x/qa/apps/qa-regress/WEB-INF/src/runtimeconfig/remoteobjects/ROMessage Destination.java
        blazeds/branches/4.x/qa/apps/qa-regress/WEB-INF/src/runtimeconfig/remoteobjects/RuntimeCo nfigurator.java
        blazeds/branches/4.x/qa/resources/webtier/flex_sdk_4/flex-config.xml

    Well heres my story. I tried kde4 from extra the last 3 weeks and I like it. I have used xfce for the past 3 years, previous to that gnome. Tried kde but never really liked it. Now I am only using workspace, base, mutimedia and graphics.
    Here is what I like.
    1- Dolphin, awesome I have used thunar a while and it is great but I love splitview, and fish for ssh (which has been around a while I know), and the ability to mount other partitions on my hdd with a click no fstab entry or nothin'.
    2-Pretty, I've used xfce with built in compositor an love the snappiness. But I like desktop grid with kde4 and flipswitch. Compiz-fusion is cool but I prefer not to use I'll take what the DE gives. Plasmoid are cool too.
    3- Gwenview is nice too. Use to use gqview, but thumnails are nice.
    Looking forward to or lacking
    1- Keyboard shortcuts, Yes xbindkeys is there but if I have a DE I want it to do it. They just don't work now.
    2- kde4 has windows specific settings, but I can't set the opacity for particular windows , doesn't work.
    3- Ram of course is much higher in kde4, but maybe I'm getting old I just don't care as much.

  • IFCORE-1565: The Dgraph could fail when using a relevance ranking strategy.

    Hi,
    I just saw the release notes for Endeca 6.2.2 and read this bug:
    IFCORE-1565: The Dgraph could fail when using a relevance ranking strategy.
    Is there someone who could provide some more information on this bug? What is it and when does it occur? Reading the word 'could' would suggest a kind of unpredictability?
    Thanks,
    Maarten

    The known trigger for the bug was doing relrank on a query that contained multiple text searches.

  • EJBs cannot return null when used in Model?

    Hi,
    hopefully this question is in the right place.
    I´ve spent now a few days on tracking a single problem. I am trying to create an web dynpro application with the functionality contained in EJBs. One of my methods in a stateless SessionBean returns an object or null. This SessionBean is bound via model binding to the context of a component controller. Everything works fine as along as the method call returns an object, but if it does not (which is the usual case) the application throws an empty exception without any description. Thanks to this forum i checked the defaultTrace log and found this information:
    [EXCEPTION]
    {0}#1#java.lang.NullPointerException
         at com.sap.tc.webdynpro.model.ejb.model.EJBGenericModelClassExecutable.setPropertiesForModelClass(EJBGenericModelClassExecutable.java:429)
         at com.sap.tc.webdynpro.model.ejb.model.EJBGenericModelClassExecutable.fillReturnParameterToMc(EJBGenericModelClassExecutable.java:634)
         at com.sap.tc.webdynpro.model.ejb.model.EJBGenericModelClassExecutable.execute(EJBGenericModelClassExecutable.java:135)
         at com.test.testprog.testprogwebdynpro.main.Main.doLogin(Main.java:243)
         at com.test.testprog.testprogwebdynpro.main.wdp.InternalMain.doLogin(InternalMain.java:213)
         at com.test.testprog.testprogwebdynpro.main.LoginView.onActionButtonEinloggen(LoginView.java:189)
         at com.test.testprog.testprogwebdynpro.main.wdp.InternalLoginView.wdInvokeEventHandler(InternalLoginView.java:139)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:131)
         at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:72)
         at com.sap.tc.webdynpro.clientserver.phases.ProcessingEventPhase.doHandleActionEvent(ProcessingEventPhase.java:156)
         at com.sap.tc.webdynpro.clientserver.phases.ProcessingEventPhase.execute(ProcessingEventPhase.java:91)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequestPartly(WindowPhaseModel.java:161)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doProcessRequest(WindowPhaseModel.java:109)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:96)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:469)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:52)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doExecute(ClientApplication.java:1431)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doProcessing(ClientApplication.java:1251)
         at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToApplicationDoProcessing(AbstractExecutionContextDispatcher.java:158)
         at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForAppProcessing.doService(DispatchHandlerForAppProcessing.java:35)
         at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)
         at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
         at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToApplicationDoProcessing(ExecutionContextDispatcher.java:114)
         at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:81)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:507)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:527)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessingStandalone(ApplicationSession.java:458)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:249)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:699)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:231)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:231)
         at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToRequestManager(AbstractExecutionContextDispatcher.java:205)
         at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForRequestManager.doService(DispatchHandlerForRequestManager.java:38)
         at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)
         at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
         at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToRequestManager(ExecutionContextDispatcher.java:140)
         at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:93)
         at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:105)
         at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)
         at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doPost(AbstractDispatcherServlet.java:61)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:66)
         at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:32)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:431)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:289)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:376)
         at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:67)
         at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
         at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:309)
         at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:222)
         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:152)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
    The request has the cardinality 1..1, the response 0..1 and the return value 1..1. The last one cannot be changed.
    Is that correct that an EJB method call must return an valid object or do i have to change something in order to allow the return of null? Or is this a bug?
    Thanks for any answer in advance

    Hi,
    what are you returning? Objects or basic types? When the methods says it returns a string, a null object is no problem. Btw.  i cannot set the cardinality of the of the return node. It´s fixed as 1..1.
    My session bean looks so
    @Stateless(name="TestBean")
    @WebService
    public class TestBean implements TestLocal {
         public int add(int zahl1, int zahl2)
              return zahl1 + zahl2;
         public String concat(String text1, String text2)
              return text1.concat(text2);
         public String zeroString(String text1)
              return null;
         public User zeroUser(String text1)
              return null;
    The WDP Controller Method looks like this
      public void doejbtest( )  {
        //@@begin doejbtest()
           try
                IZeroStringRequestElement req = wdContext.currentZeroStringRequestElement();
                Request_TestLocal_zeroString obj = req.modelObject();
                req.setText1("test");
                obj.execute();
                wdComponentAPI.getMessageManager().reportWarning("String request was successful");
           catch(Exception e)
                wdComponentAPI.getMessageManager().reportException("String request failed");
                wdComponentAPI.getMessageManager().raisePendingException();
           try
                IZeroUserRequestElement req = wdContext.currentZeroUserRequestElement();
                Request_TestLocal_zeroUser obj = req.modelObject();
                req.setText1("test");
                obj.execute();
                wdComponentAPI.getMessageManager().reportWarning("User request was successful");
           catch(Exception e)
                wdComponentAPI.getMessageManager().reportException("User request failed");
                wdComponentAPI.getMessageManager().raisePendingException();
        //@@end
    The result of the call is
    Warning: String request was successful
    Error: User request failed
    The Cardinalities are:
    Request Cardinality : 1..1
    Response Cardinality : 0..1
    Return Cardinaliy : 1..1 (no value for the string, fixed for the user)

  • Central build fails when checking in an activity

    I have a web dynpro application that uses a javabean as model. The javabean has several properties that are of type collection that are mapped to DTOs that consist of simple types. I had to add a new simple type (integer) to one of the DTOs and made the same change in web dynpro by adding the integer property to the appropriate model class.
    I did a reload + rebuild in web dynpro, dragged the new model attribute from the model to the component controller and added the attribute to my view. I then did a DC build and then a DC deploy and the application works. I can retrieve, update and add values from the database with the new field.
    When I go to check my activity in, the central build fails and the failure is related to the new attribute that was added.  Im wondering in the problem is related to problems with the NWDI server, as it was restarted several times this week while I had my activity open. 
    When I browse to the dev/inactive branch in the DTR, I can see the new attribute that was added to JobPartDTO.java class in the DTO DC and I can see the new attribute that was added to the JobPartDTO.wdmodelclass in the web dynpro DC. In the dev/active branch, theses changes are not present.
    Here are the errors from the CBS log.
    [echo] Starting Java compiler
         [javac] Compiling 73 source files to /usr/sap/DJD/JC50/j2ee/cluster/server0/temp/CBS/eb/.B/10398/t/E63CF921E07C342BC77B3BB9E227D7A8/classes
    /usr/sap/DJD/JC50/j2ee/cluster/server0/temp/CBS/eb/.B/10398/t/E63CF921E07C342BC77B3BB9E227D7A8/gwd/packages/com/company/dev/jsets/wdp/wdp/IPublicJobSetsComp.java:12771: cannot resolve symbol
    symbol  : method getOperSeqNo ()
    location: class com.company.dev.jsets.dto.JobPartDTO
          return gen_modelInstance.getOperSeqNo();
                                  ^
    /usr/sap/DJD/JC50/j2ee/cluster/server0/temp/CBS/eb/.B/10398/t/E63CF921E07C342BC77B3BB9E227D7A8/gwd/packages/com/company/dev/jsets/wdp/wdp/IPublicJobSetsComp.java:12779: cannot resolve symbol
    symbol  : method setOperSeqNo (int)
    location: class com.company.dev.jsets.dto.JobPartDTO
          gen_modelInstance.setOperSeqNo(value);
                           ^
    /usr/sap/DJD/JC50/j2ee/cluster/server0/temp/CBS/eb/.B/10398/t/E63CF921E07C342BC77B3BB9E227D7A8/gwd/packages/com/company/dev/jsets/wdp/wdp/IPublicJobSetsComp.java:12791: cannot resolve symbol
    symbol  : method getOperSeqNo ()
    location: class com.company.dev.jsets.dto.JobPartDTO
              return new Integer(gen_modelInstance.getOperSeqNo());
                                                  ^
    /usr/sap/DJD/JC50/j2ee/cluster/server0/temp/CBS/eb/.B/10398/t/E63CF921E07C342BC77B3BB9E227D7A8/gwd/packages/com/company/dev/jsets/wdp/wdp/IPublicJobSetsComp.java:12808: cannot resolve symbol
    symbol  : method setOperSeqNo (int)
    location: class com.company.dev.jsets.dto.JobPartDTO
              gen_modelInstance.setOperSeqNo(((Number)value).intValue());
                               ^
    /usr/sap/DJD/JC50/j2ee/cluster/server0/temp/CBS/eb/.B/10398/t/E63CF921E07C342BC77B3BB9E227D7A8/gwd/packages/com/company/dev/jsets/wdp/wdp/IPublicJobSetsComp.java:12820: cannot resolve symbol
    symbol  : method getOperSeqNo ()
    location: class com.company.dev.jsets.dto.JobPartDTO
              return gen_modelInstance.getOperSeqNo();
                                      ^
    /usr/sap/DJD/JC50/j2ee/cluster/server0/temp/CBS/eb/.B/10398/t/E63CF921E07C342BC77B3BB9E227D7A8/gwd/packages/com/company/dev/jsets/wdp/wdp/IPublicJobSetsComp.java:12829: cannot resolve symbol
    symbol  : method setOperSeqNo (int)
    location: class com.company.dev.jsets.dto.JobPartDTO
              gen_modelInstance.setOperSeqNo((int)value);
                               ^
    /usr/sap/DJD/JC50/j2ee/cluster/server0/temp/CBS/eb/.B/10398/t/E63CF921E07C342BC77B3BB9E227D7A8/gwd/packages/com/company/dev/jsets/wdp/JobSetsComp.java:3052: cannot resolve symbol
    symbol  : method setOperSeqNo (int)
    location: class com.company.dev.jsets.dto.JobPartDTO
                   dto.setOperSeqNo(operSeqNo);
                               ^
    7 errors

    The problem has fixed itself! I made some new additional changes to my DAO and EJB  and checked in my activity. This detected all the predecessors activities and central build was successful, even in the CMS!

  • Redeployment fails when using WLP + WLS 10.2 + hibernate

    Hi all,
    When using WLP, WLS 10.2 version, Oracle 10g database and application which uses hibernate as JPA, redeployment fails:
    <10.9.2008 11:44:11 EEST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1221036201093' for task '4
    '. Error is: 'java.lang.ClassCastException: org.hibernate.dialect.Oracle10gDialect'
    java.lang.ClassCastException: org.hibernate.dialect.Oracle10gDialect
    at org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:101)
    at org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:65)
    at org.hibernate.cfg.SettingsFactory.determineDialect(SettingsFactory.java:460)
    at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:155)
    at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2101)
    Truncated. see log file for complete stacktrace
    java.lang.ClassCastException: org.hibernate.dialect.Oracle10gDialect
    at org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:101)
    at org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:65)
    at org.hibernate.cfg.SettingsFactory.determineDialect(SettingsFactory.java:460)
    at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:155)
    at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2101)
    Truncated. see log file for complete stacktrace
    Persistence.xml looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <persistence xmlns="http://java.sun.com/xml/ns/persistence" version="1.0">
    <persistence-unit name="abc_order" transaction-type="JTA">
         <provider>org.hibernate.ejb.HibernatePersistence</provider>
    <jta-data-source>abcDataSource</jta-data-source>
    <class>xxx</class>
    <properties>
    <property name="hibernate.dialect" value="org.hibernate.dialect.Oracle10gDialect"/>
    <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.WeblogicTransactionManagerLookup"/>
    <property name="hibernate.transaction.factory_class" value="org.hibernate.transaction.JTATransactionFactory"/>
    <property name="hibernate.transaction.flush_before_completion" value="true"/>
    <property name="hibernate.transaction.auto_close_session" value="true"/>
    </properties>
    </persistence-unit>
    </persistence>
    And included persistence libs are:
    antlr-3.1.jar
    asm.jar
    asm.attrs.jar
    cglib-2.1.3.jar
    commons-collections-3.2.jar
    commons-logging-1.0.4.jar
    commons-net-1.4.1.jar
    dom4j-1.6.1.jar
    ehcache-1.3.0.jar
    ejb3-persistence.jar
    hibernate3.jar
    hibernate-annotations.jar
    hibernate-commons-annotations.jar
    hibernate-entitymanager.jar
    hibernate-tools.jar
    javassis.jar
    jta-spec1_0_1.jar
    ojdb14-jar
    slf4j-api-1.5.2.jar
    slf4j-jdk4-1.5.2.jar
    In hibernate.orgs resolution on the weblogic side is add weblogic-application.xml descriptor the following:
    <prefer-application-packages>
    <package-name>antlr.*</package-name>
    </prefer-application-packages>
    which helps to this error but then you have to undeploy you application and restart the server before you can deploy the application again.
    This slows down the development of applications and in addition of that when your environment has two portal applications it is impossible to deploy both applications in that environment.
    Is there any solution for this kind of problems ? Or do we have wrong configuration or librarys in our environment ?

    11g PS2 : Deployment fails- ADF page having WebService as a DataControl

  • Build failed when trying to create a custom Android viewer

    I am experiencing the same issue, I get the : 'build failed. try again later' without any further information, when trying to create a custom viewer for android. Is this caused by server overloads or are there some things to check?
    Any help is appreciated! Thank you

    hey Bob,
    I did not before as I was assigned a mac that had everything running (untill now ), but to be sure I followed the steps just now using the keytool in terminal but looks like this is not making any differance.
    also, I can see the previous apps listed showing the download apk option, I have not been prompted for a certificate yet, where in iOS apps you are asked for it on save before the build starts and when you download the zip again if I'm not mistaking.
    Right now I always get the build faild error, try again later when I save the last step in the viewer creation process.

  • Build Fail when installing CC on mac

    When I use the CC Packager after it downloads the files for CC I get an error that the Build Failed: Build Fail, Your build encountered unrecoverable errors.
    The Log has the following.
    Tue Mar 24 10:12:36 2015
    [INFO] AdobePackageBuilder - Build Version - 1.8.0.23
    Tue Mar 24 10:12:36 2015
    [INFO] AdobePackageBuilder - Logging Level verbosity Set  to 4
    Tue Mar 24 10:12:36 2015
    [INFO] AdobePackageBuilder - AdobePackageBuilder : Terminate packet received from UI. Quitting ...
    How do I resolve this issue.

    Please refer to:
    https://helpx.adobe.com/creative-cloud/packager.html
    Regards
    Rajshree

  • Build error when using custom error codes

    When I try to build my application using custom error codes I receive the following error:
    Error 1 occurred at Copy in AB_Engine_Copy_Error_Files.vi->AB_Application.lvclass:Copy_Error_Files.vi->AB_Application.lvclass:Copy_Files.vi->AB_Build.lvclass:Build.vi->AB_EXE.lvclass:Build.vi->AB_Engine_Build.vi->AB_Build_Invoke.vi->AB_Build_Invoke.vi.ProxyCaller
    Possible reason(s):
    LabVIEW:  An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @.
    =========================
    NI-488:  Command requires GPIB Controller to be Controller-In-Charge.
    C:\Program Files\National Instruments\LabVIEW 8.5\user.lib\errors\BPMS-errors.txt
    This only occurs the first time I attempt to build my application. If I build again immediately after receiving the error, everything works fine. My custom error codes were created using the provided editor, and I have included the file in my project. I have also checked the "Copy error codes" box in the advanced build specification settings.

    Hi Donovan,
    The attached project is giving me the error previously discussed. Thanks for your help.
    Attachments:
    BuildError.zip ‏10 KB

  • Scp works when logging with my user id but fails when using another one

    Hello all:
    I wrote a script that uses scp to transfer specific local files to a server. The script takes the user id and password and pass them as scp's parameters for authentication.
    Everything works fine when I uses my own user id to test the script but it fails when I used another id (with ligitimate password) to do the same thing.
    I suspect it's a privilege issue. Both ids belong to the same group. Where should I look to fingure this out?
    Thanks,
    John

    SCP is part of SSH. SSH requires the exchange of authorization keys to prevent man-in-the-middle attacks.
    When you log in the first time you may see a prompt like:
    RSA key fingerprint is 98:2e:d7:e0:de:9f:ac:67:28:d2:42:2e:37:16:58:45.
    Are you sure you want to continue connecting (yes/no)?
    This might be where your script fails. Since it prompts only the first time, you may just have to do one interactive SSH login to create an entry in ~/.ssh/known_hosts
    Or setup User equivalence to omit the exchange of passwords.
    You may find the following interesting:
    Oracle Linux 5 Howto: Installing and using cURL with support for SCP and SFTP
    OL5 Howto: Installing and using cURL with support for SCP and SFTP
    see 3) Set up SSH user equivalence for SCP and SFTP

  • 802.1X PEAP fails when using special characters in login

    I am using MS AD & NPS for 802.1X Enterprise authentication with PEAP (no client certificate - MS-CHAPv2 user credentials for login). This works fine for iOS devices on 8.1 (iPhone 5 and iPad mini) and 6.1.6 (iPhone 3GS) when the user has standard "English" ASCII characters in the username and password.
    However, when I introduce Unicode special accented characters in the login name or password such as French é/ù or Spanish ñ then after accepting the server cert authentication fails with "Incorrect username or password for <WLAN name>". Windows 7 and CentOS 6.5 laptops have no problem authenticating to the same setup with either "English" credentials or ones with special accented characters. I also tried an old iPod touch on ancient software version and that fails, so its not something recently introduced.
    I tried using a different access point (TP-Link instead of Ruckus) and had exactly the same issue, so highly unlikely this is an AP issue.
    Then I setup FreeRadius with and see exactly the same issue, so its highly unlikely to be a MS AD/NPS issue.
    When comparing a working/failed authentication Wireshark packet capture on the NPS server, I see the failed attempt is missing the last 4 packets in the authentication exchange. The last packet sent is an Access-Challenge from the NPS server and no response from the iOS device, so the NPS server never even sends an Access-Reject. The iOS device appears to have decided it can't resolve the special characters and terminates the authentication attempt.
    To me this seems to be an Apple iOS software deficiency when using Unicode special characters in the username or password for 801.2X authentication?

    Enterprise support:
    Call enterprise support  (866) 752-7753  to create  a case ID number
    Get an account at
    http://developer.apple.com/  then submit a bug report to http://bugreporter.apple.com/
    Once on the bugreporter page,
       -- click on New icon
       -- See if you need to attach a log file or log files, clicking on Show instructions for gathering logs.  Scroll down to find the area or application that matches the problem.
       -- etc.
    Developers:
    "Submitting Bugs and Feedback
    Your feedback goes a long way towards making our products even better. With Apple Bug Reporter, you can submit bug reports or request enhancements to APIs and developer tools."
    https://developer.apple.com/bug-reporting/

  • Need help building .exe when using 3D correlation surface

    When trying to build an executable with the 3D correlation surface VI, I receive an error . . .
    Error 6 occurred at AB_Source_VI.lvclass:Close_Reference.vi -> AB_Build.lvclass:Copy_Files.vi -> AB_Application.lvclass:Copy_Files.vi -> AB_EXE.lvclass:Copy_Files.vi -> AB_Build.lvclass:Build.vi -> AB_Application.lvclass:Build.vi -> AB_EXE.lvclass:Build.vi -> AB_Build.lvclass:Build_from_Wizard.vi -> AB_UI_Frmwk_Build.lvclass:Build.vi -> AB_UI_FRAMEWORK.vi -> AB_Item_OnDoProperties.vi -> AB_Item_OnDoProperties.vi.ProxyCaller
    Possible reason(s):
    LabVIEW:  Generic file I/O error.
    9/10/2009 9:25:09 AM
    I receive the same error when creating a new project and inserting the NI example program (3D Contour Plot.vi) into the project (it is the only file in the project).
    thank you.

    Hi PikesPeakLV,
    I was able to build an application using the example that you mentioned in LV 2009 on Windows XP SP3. I would like to know more details to figure out whats incorrect.
    What are the NI Softwares installed in your system and what licenses you have?
    Which Operating System you're using?
    What is the location where you're attempting to store the build in? (Are you changing the default location?)
    Is there any settings that you are using apart from the default settings?

  • PDA build error when using a 'value change' event on two controls

    I get a build error when I use a 'value change' event on controls of a different type or even a different numeric representation. I'm using LV 7.1 PDA with no other modules installed. Attached is a picture of the entire code and the error message.
    Try to take over the world!
    Attachments:
    PDA Error.jpg ‏48 KB

    Hi,
    I verified the error that you are seeing. It appears to be a bug hence I have reported it to our developers. Hopefully this bug would be fixed in the next relaese of the PDA module.
    Thank you for pointing this to us. It is through feedback that we can make LabVIEW PDA module even better.
    Regards,
    Ankita A.
    National Instruments

Maybe you are looking for

  • Error while starting the Portal application server

    Hi , We are running EP 7 on SP12 on HP-UX1 1.31 with Oracle. this a strange problem that we are facing.When we try to restart the Application sever it never starts up until we take a restart of the CI as well. The default trace writes m.sap.engine.co

  • Problem in rendering the XML using  XSLT in Netscape 7

    Hi there, I have used the XSLT to generate HTML codes from the XML datafiles. It works fine in Internet Explorer, but when I tried it on Netscape 7.0 , it just displayed the xml data, without the tags.. For example, In the xml ,I have the following :

  • For each loop not working

    My trace statements inside my for each loop won't show. Please someone check my code. I"m getting no errors in flex builder. When i debug all vars are holding prober data. Thanks so much

  • The valid OS user to install WLS 10.3 on linux

    Hi, Could you please let me know the appropriate OS user to use when installing WLS 10.3 I have joined new employer and find the instakklation done using Root user, we tried to create another and change the permissions however I guess this is not goo

  • Capture Torque vs Angle readings with multiple DAQ devices simultaneously

    I am trying to capture a torque signal from an NI 9237 and combine it with an angle signal from a PCI 6251 with an SCC-68. It seems that I am able to capture each individually without a problem, but I seem to be getting off on time bases during aquis