Weblogic Appc cann't recognize @Stateless annotation

Hi All,
I am Using weblogic 10.0 and I have several EJB (all are EJB 3.0 with annotation). I am able to compile my ejb's using weblic.appc all of the ejb's except two of the ejb's. In these two ejb's appc cann't recognise @Stateless annotation and complain either add @Stateless annotation or use ejb-jar.xml. If I add ejb-jar.xml it works fine. I am using maven 2.0.9 and want to be consistent.
Any Idea why appc compiler can't recognise annotation?
Any help will be appreciated.
Thanks,
SFA

It could be related to the size of the session beans. We've discovered that appc won't build EJB 3.0 session beans when they reach a certain size. To verify, I created a project with a session bean that has one method that just has a huge String. I wired it up to a simple Servlet, which prints the huge string. I can deploy this app (with a patch... keep reading) but can't run appc against it manually.
We originally ran into a similar problem on 10.0 where we couldn't deploy our app when it had session beans with more than ~800 lines. If you're logged into metalink you can see the description of that problem here https://metalink.oracle.com/CSP/main/article?cmd=show&type=NOT&id=749964.1 (search for "002830" in your browser) If you're not logged into metalink, here's what it says:
Signature Description
When appc is run on an EJB 3.0 JAR file where the size of the class file is more than 40kb, you get the following exception:
weblogic.ejb.container.compliance.ComplianceException: No EJBs found in the ejb-jar file 'server.jar'. Please ensure the ejb-jar contains EJB declarations via an ejb-jar.xml deployment descriptor or at least one class annotated with the @Stateless, @Stateful or @MessageDriven EJB annotation.
Signature Remedy
Oracle recommends upgrading to Oracle WebLogic Server 10.3.
Whenever possible, you should bring your environment(s) to a level where the issue has been addressed.
However, if you feel that is not feasible, please contact Support for patch from CR330339. Patches do exist for the following environments: Oracle WebLogic Server 10.0, 10.0MP1
For reference, here's the error we were seeing.
java.io.IOException: No EJBs found in the ejb-jar file 'big-ejb.jar'. Please ensure the ejb-jar contains EJB declarations via an ejb-jar.xml deployment descriptor or at least one class annotated with the @Stateless, @Stateful or @MessageDriven EJB annotation.
[wlappc]      at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyDescriptorFromJarFile(EjbDescriptorReaderImpl.java:191)
[wlappc]      at weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJarFile(EjbDescriptorFactory.java:93)
[wlappc]      at weblogic.ejb.container.ejbc.EJBCompiler.parseDescriptors(EJBCompiler.java:1430)
BUILD FAILED
C:\workspace\big-ejb-ear\build.xml:41: weblogic.utils.compiler.ToolFailureException: No EJBs found in the ejb-jar file 'big-ejb.jar'. Please ensure the ejb-jar contains EJB declarations via an ejb-jar.xml deployment descriptor or at least one class annotated with the @Stateless, @Stateful or @MessageDriven EJB annotation.
Hope that helps.

Similar Messages

  • BeanAlreadyExistsException: Bean already exists when run weblogic.appc

    We use weblogic.appc to generate the ejb jar file. It works fine on my Windows XP, but failed on another Windows XP. Below is the stack trace of the error message:
    <Mar 17, 2009 8:49:27 AM PDT> <Error> <J2EE> <BEA-160197> <Unable to load descri
    ptor D:\VSS\Client_Manager\bin\std-web-matrixejb.jar/META-INF/ejb-jar.xml of module std-web-matrixejb.jar. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed
    at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:152)
    at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:292)
    at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:260)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.
    getDescriptorBeanFromReaderAbstractDescriptorLoader2.java:774)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:395)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:745)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:754)
    at weblogic.ejb.spi.EjbJarDescriptor.getEjbJarBean(EjbJarDescriptor.java:131)
    at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processEjbJarXM
    LWithSchema(EjbDescriptorReaderImpl.java:671)
    at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processEjbJarXML(EjbDescriptorReaderImpl.java:220)
    at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyD
    escriptorFromJarFile(EjbDescriptorReaderImpl.java:185)
    at weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJarFile(EjbDescriptorFactory.java:93)
    at weblogic.ejb.container.ejbc.EJBCompiler.parseDescriptors(EJBCompiler.java:1430)
    at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:467)
    at weblogic.application.compiler.AppcUtils.compileEJB(AppcUtils.java:298)
    at weblogic.application.compiler.EJBModule.compile(EJBModule.java:83)
    at weblogic.application.compiler.flow.SingleModuleCompileFlow.proecessModule(SingleModuleCompileFlow.java:16)
    at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:31)
    at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36
    at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
    at weblogic.application.compiler.EJBCompiler.compile(EJBCompiler.java:25
    at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:118)
    at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
    at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36
    at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
    at weblogic.application.compiler.Appc.runBody(Appc.java:172)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:115)
    at weblogic.application.compiler.Appc.main(Appc.java:183)
    at weblogic.appc.main(appc.java:14)
    Caused by: com.bea.xml.XmlException: weblogic.descriptor.BeanAlreadyExistsExcept
    ion: Bean already exists: "weblogic.j2ee.descriptor.SessionBeanBeanImpl@3eb8f669
    (//Sessions[<!DOCTYPE ejb-jar PUBLIC '-..Sun Microsystems, Inc...DTD Enterprise
    JavaBeans 2.0..EN' 'http:..java.sun.com.dtd.ejb-jar_2_0.dtd'> <ejb-jar> <enterpr
    ise-beans> <session> <ejb-name>com.matrix.clientmanager.ejb.LoginDocHome<.ejb-na
    me> <home>com.matrix.clientmanager.ejb.LoginEjbHome<.home> <remote>com.matrix.cl
    ientmanager.ejb.LoginEjbRemoteIf<.remote> <ejb-class>com.matrix.clientmanager.ej
    b.LoginEjb<.ejb-class> <session-type>Stateless<.session-type> <transaction-type>
    Bean<.transaction-type> <.session> <session> <ejb-name>com.matrix.clientmanager.
    ejb.GroupMaintenanceDocHome<.ejb-name> <home>com.matrix.clientmanager.ejb.GroupM
    aintenanceEjbHome<.home> <remote>com.matrix.clientmanager.ejb.GroupMaintenanceEj
    bRemoteIf<.remote> <ejb-class>com.matrix.clientmanager.ejb.GroupMaintenanceEjb<.
    ejb-class> <session-type>Stateless<.session-type> <transaction-type>Bean<.transa
    ction-type> <.session> <session> <ejb-name>com.matrix.clientmanager.ejb.StatusTr
    eeDocHome<.ejb-name> <home>com.matrix.clientmanager.ejb.StatusTreeEjbHome<.home>
    <remote>com.matrix.clientmanager.ejb.StatusTreeEjbRemoteIf<.remote> <ejb-class>
    com.matrix.clientmanager.ejb.StatusTreeEjb<.ejb-class> <session-type>Stateless<.
    session-type> <transaction-type>Bean<.transaction-type> <.session> <session> <ej
    b-name>com.matrix.clientmanager.ejb.ChangeStatusDocHome<.ejb-name> <home>com.mat
    rix.clientmanager.ejb.ChangeStatusEjbHome<.home> <remote>com.matrix.clientmanage
    r.ejb.ChangeStatusEjbRemoteIf<.remote> <ejb-class>com.matrix.clientmanager.ejb.C
    hangeStatusEjb<.ejb-class> <session-type>Stateless<.session-type> <transaction-t
    ype>Bean<.transaction-type> <.session> <session> <ejb-name>com.matrix.clientmana
    ger.ejb.EmployeeDocHome<.ejb-name> <home>com.matrix.clientmanager.ejb.EmployeeEj
    bHome<.home> <remote>com.matrix.clientmanager.ejb.EmployeeEjbRemoteIf<.remote> <
    ejb-class>com.matrix.clientmanager.ejb.EmployeeEjb<.ejb-class> <session-type>Sta
    teless<.session-type> <transaction-type>Bean<.transaction-type> <.session> <sess
    ion> <ejb-name>com.matrix.clientmanager.ejb.RoleScreenMappingDocHome<.ejb-name>
    <home>com.matrix.clientmanager.ejb.RoleScreenMappingEjbHome<.home> <remote>com.m
    atrix.clientmanager.ejb.RoleScreenMappingEjbRemoteIf<.remote> <ejb-class>com.mat
    rix.clientmanager.ejb.RoleScreenMappingEjb<.ejb-class> <session-type>Stateless<.
    session-type> <transaction-type>Bean<.transaction-type> <.session> <session> <ej
    b-name>com.matrix.clientmanager.ejb.StatusLibraryDocHome<.ejb-name> <home>com.ma
    trix.clientmanager.ejb.StatusLibraryEjbHome<.home> <remote>com.matrix.clientmana
    ger.ejb.StatusLibraryEjbRemoteIf<.remote> <ejb-class>com.matrix.clientmanager.ej
    b.StatusLibraryEjb<.ejb-class> <session-type>Stateless<.session-type> <transacti
    on-type>Bean<.transaction-type> <.session> <session> <ejb-name>com.matrix.client
    manager.ejb.LetterGroupDocHome<.ejb-name> <home>com.matrix.clientmanager.ejb.Let
    terGroupEjbHome<.home> <remote>com.matrix.clientmanager.ejb.LetterGroupEjbRemote
    If<.remote> <ejb-class>com.matrix.clientmanager.ejb.LetterGroupEjb<.ejb-class> <
    session-type>Stateless<.session-type> <transaction-type>Bean<.transaction-type>
    <.session> <session> <ejb-name>com.matrix.clientmanage])"
    at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:54)
    at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty
    .setValue(RuntimeBindingType.java:483)
    at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRunti
    meProperty.fillCollection(AttributeRuntimeBindingType.java:385)
    at com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)
    at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalOb
    jectFromIntermediary(AttributeRuntimeBindingType.java:145)
    at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.unmarshalElemen
    tProperty(LiteralUnmarshalResult.java:159)
    at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillE
    lementProp(LiteralUnmarshalResult.java:130)
    at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents
    (ByNameUnmarshaller.java:51)
    at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoInt
    ermediary(AttributeUnmarshaller.java:47)
    at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(U
    nmarshalResult.java:184)
    at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:154)
    at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
    at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:141)
    ... 33 more
    Edited by: [email protected] on Mar 17, 2009 10:25 AM

    This exception is caused due to duplicate entries of the bean (TaskServiceBean) in CompositeServices\OrderApprovalHumanTask\public_html\WEB-INF\weblogic.xml file in WebLogicFusionOrderDemo project. Replace this file with the original one in the downloaded project zip and the application deploys successfully.

  • WLS 10.3 [weblogic.appc] - Unable to generate stub/skeleton for 1.5

    Hello,
    I want to deploy the application (EJB) in WLS 10.3 and client is using JDK 1.5.
    When we run the weblogic.appc on the .ear file, the stub and skeleton is created of 1.6 when we run the following command:-
    java weblogic.appc –source 1.5 –output temp_directory Myear-test.earHOwever when we specify the -source as 1.5 it has to create the stub and skeleton for JDK 1.5.
    When we check the version of the MyServiceBean_s_Impl.class file we could see its generating for 1.6, as also shown below:
    (to check the version, run the command “javap –verbose class_name”)
    SourceFile: "MyServiceBean_s_Impl.java"
    minor version: 0
    major version: 50
    I have tried the same thing on the simple EJB application(.jar), every thing works fine.
    Environment Details:-
    WLS 10.3
    JDK 1.6.0_05 (Server)
    JDK 1.5 (client)
    Please provide the provide the pointers.
    Edited by: As91 on Sep 11, 2009 12:05 AM

    we have the same problem with the OSB. The sbconsole was no longer working. I guess that is may be related to an open session during shutdown. Overnight the problem has gone away, and we could login to sbconsole again.
    BEA-423167
    An exception or error occurred in the backing file [com.bea.alsb.console.changemgmt.ChangeCenterBacking] while executing its preRender method. It was java.lang.IllegalStateException: Unable to get Configuration Session Manager java.lang.IllegalStateException: Unable to get Configuration Session Manager at com.bea.alsb.console.support.JMXHelper.sessionExists(JMXHelper.java:673) at com.bea.alsb.console.changemgmt.ChangeMgmtUIHelper.updateButtons(ChangeMgmtUIHelper.java:351) at com.bea.alsb.console.changemgmt.ChangeCenterBacking.preRender(ChangeCenterBacking.java:26) at com.bea.netuix.servlets.controls.Backable$Impl.preRender(Backable.java:191) at com.bea.netuix.servlets.controls.AdministeredBackableControl.preRender(AdministeredBackableControl.java:104) at com.bea.netuix.servlets.controls.window.Window.preRender(Window.java:432) at com.bea.netuix.servlets.controls.portlet.Portlet.preRender(Portlet.java:814) at com.bea.netuix.nf.ControlLifecycle$6.visit(ControlLifecycle.java:428) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:727) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739) at
    weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

  • I am getting build error while using weblogic.appc

    Hi All,
    I am using weblogic 10 server and ejb 3.0 code .
    While ejb-complisation i am getting the class not found error.
    Please help me in resolving the below issue.
    ejb-compile:
    [echo] E:\workspace\OMGAdmin\OMGADMIN/omgAdminBuild/omgAdminEAR
    [java] Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/descriptor/BeanUpdateListener
    [java] at java.lang.ClassLoader.defineClass1(Native Method)
    [java] at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    [java] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    [java] at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    [java] at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    [java] at java.security.AccessController.doPrivileged(Native Method)
    [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    [java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    [java] at java.lang.Class.forName0(Native Method)
    [java] at java.lang.Class.forName(Class.java:164)
    [java] at weblogic.logging.MessageLogger.<clinit>(MessageLogger.java:46)
    [java] at weblogic.logging.WLMessageLogger.log(WLMessageLogger.java:51)
    [java] at weblogic.j2ee.J2EELogger.logAppcFailedWithError(J2EELogger.java:5257)
    [java] at weblogic.application.compiler.Appc.runBody(Appc.java:179)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [java] at weblogic.application.compiler.Appc.main(Appc.java:188)
    [java] at weblogic.appc.main(appc.java:14)
    [java] Java Result: 1
    <target name="ejb-compile" depends="ejb-jar">
         <echo message="${project.EAR.dir}"></echo>
         <java classname="weblogic.appc" fork="yes">
    <sysproperty key="weblogic.home" value="${wl.home}"/>
    <arg line="-compiler javac ${project.EJB.dir}/omgAdminEJB.jar"/>
    <classpath>
    <pathelement location="${wl.dir.lib}\weblogic.jar"/>
    <pathelement location="${wl.dir.lib}\api.jar"/>
    <pathelement location="${wl.dir.lib}\wls-api.jar"/>
              <pathelement location="${project.EAR.dir}\utility.jar"/>
              <pathelement location="${project.lib}\log4j-1.2.13.jar"/>
    </classpath>
    </java>
         <copy todir="${project.EAR.dir}" >
    <fileset dir="${project.EJB.dir}" includes="omgAdminEJB.jar" />
    </copy>
         <delete>
    <fileset dir="${project.EJB.dir}" includes="omgAdminEJB.jar"/>
    </delete>
    </target>
    above script is my ant task for ejb compilisation
    Regd's
    Soma.

    Finally i am end up with this exception
    [java] Exception in thread "main" java.lang.AssertionError: java.lang.reflect.InvocationTargetException
    [java] at weblogic.logging.MessageLogger.log(MessageLogger.java:104)
    [java] at weblogic.logging.MessageLogger.log(MessageLogger.java:116)
    [java] at weblogic.logging.WLMessageLogger.log(WLMessageLogger.java:51)
    [java] at weblogic.j2ee.J2EELogger.logAppcFailedWithError(J2EELogger.java:5257)
    [java] at weblogic.application.compiler.Appc.runBody(Appc.java:179)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [java] at weblogic.application.compiler.Appc.main(Appc.java:188)
    [java] at weblogic.appc.main(appc.java:14)
    [java] Caused by: java.lang.reflect.InvocationTargetException
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [java] at java.lang.reflect.Method.invoke(Method.java:585)
    [java] at weblogic.logging.MessageLogger.log(MessageLogger.java:101)
    [java] ... 8 more
    [java] Caused by: java.lang.NoClassDefFoundError: weblogic/management/DistributedManagementException
    [java] at java.lang.Class.getDeclaredMethods0(Native Method)
    [java] at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
    [java] at java.lang.Class.privateGetPublicMethods(Class.java:2488)
    [java] at java.lang.Class.privateGetPublicMethods(Class.java:2498)
    [java] at java.lang.Class.privateGetPublicMethods(Class.java:2498)
    [java] at java.lang.Class.privateGetPublicMethods(Class.java:2498)
    [java] at java.lang.Class.getMethods(Class.java:1406)
    [java] at weblogic.kernel.MBeanStub.initializeFromSystemProperties(MBeanStub.java:51)
    [java] at weblogic.kernel.LogMBeanStub.<init>(LogMBeanStub.java:41)
    [java] at weblogic.kernel.KernelMBeanStub.<init>(KernelMBeanStub.java:10)
    [java] at weblogic.kernel.KernelLogManager$LoggerMaker.<clinit>(KernelLogManager.java:22)
    [java] at weblogic.kernel.KernelLogManager.getLogger(KernelLogManager.java:28)
    [java] ... 13 more
    [java] Java Result: 1
    My Build file is
    <target name="ejb-compile" depends="ejb-jar">
         <echo message="${project.EAR.dir}"></echo>
         <echo message="${wl.modules.lib}\com.bea.core.descriptor_1.0.1.0.jar" />
         <echo message="${wl.dir.lib}\weblogic.jar" />
         <java classname="weblogic.appc" fork="yes">
    <sysproperty key="weblogic.home" value="${wl.home}"/>
    <arg line="-compiler javac ${project.EJB.dir}/omgAdminEJB.jar"/>
    <classpath>
    <pathelement location="${wl.dir.lib}\weblogic.jar"/>
    <pathelement location="${wl.dir.lib}\api.jar"/>
    <pathelement location="${wl.dir.lib}\wls-api.jar"/>
    <pathelement location="${wl.dir.lib}\wlclient.jar"/>
    <pathelement location="${wl.modules.lib}\com.bea.core.descriptor_1.0.1.0.jar"/>
              <pathelement location="${project.EAR.dir}\utility.jar"/>
              <pathelement location="${project.lib}\log4j-1.2.13.jar"/>
    </classpath>
    </java>
         <copy todir="${project.EAR.dir}" >
    <fileset dir="${project.EJB.dir}" includes="omgAdminEJB.jar" />
    </copy>
         <delete>
    <fileset dir="${project.EJB.dir}" includes="omgAdminEJB.jar"/>
    </delete>
    </target>

  • Why doesn't the keepgenerated flag for weblogic.appc work?

    hello forum,
    i'm running wls 9.2.1.0 on windows xp. if i run the following command on a split development directory, everything gets built and packaged successfully:
        C:\development\tmp\ejb\src>java weblogic.appc -forceGeneration -keepgenerated -basicClientJar -compiler javac -verbose -classpath %classpath% C:\development\tmp\ejb\build\hooverBotEAR\ -output C:\development\tmp\ejb\dist\hooverbot.earthe problem is: even though i added the "-keepgenerated" option to the command, the source code for the generated components (stubs, impls, skeletons, etc.) is nowhere to be found!
    please, can anybody fill me in on what i need to do to make "-keepgenerated" do what its supposed to do - when running weblogic.appc from the command line?
    thanks in advance for your help.
    Edited by wboyd at 03/10/2008 10:08 AM
    Edited by wboyd at 03/10/2008 12:19 PM

    oops!
    i'd looked everywhere except inside the actual ear file. i eventually did look in the ear file - and there they were.
    live and learn ;-)

  • Weblogic.appc

    I am upgrading an (EJB2) application to run on version 10.3. - previously deployed on version 8.1
    When the code is recompiled with the updated libraries, weblogic.appc causes the an exception (see below for details)
    I am not sure if it is a configuration problem, or something to do with JSPs
    Any advice would be appreciated.
    [exec] java.io.IOException: JDT compilation error!
    [exec] at weblogic.ejb.container.ejbc.CompilerForJDT.compile(CompilerForJDT.java:66)
    [exec] at weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:358)
    [exec] at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:556)
    [exec] at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:491)
    [exec] at weblogic.application.compiler.AppcUtils.compileEJB(AppcUtils.java:315)
    [exec] at weblogic.application.compiler.EJBModule.compile(EJBModule.java:129)
    [exec] at weblogic.application.compiler.flow.SingleModuleCompileFlow.proecessModule(SingleModuleCompileFlow.java:18)
    [exec] at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:37)
    [exec] at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    [exec] at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    [exec] at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    [exec] at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
    [exec] at weblogic.application.compiler.EJBCompiler.compile(EJBCompiler.java:29)
    [exec] at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:112)
    [exec] at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:37)
    [exec] at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    [exec] at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    [exec] at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    [exec] at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
    [exec] at weblogic.application.compiler.Appc.runBody(Appc.java:200)
    [exec] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [exec] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [exec] at weblogic.application.compiler.Appc.main(Appc.java:259)
    [exec] at weblogic.appc.main(appc.java:14)
    [exec] JDT compilation error!

    If you are working with the ANT wlappc target, you have to explicitly add the weblogic.jar to the classpath, like this:
              <wlappc          verbose="true"
                             source="../build-ear/xyz.jar"
                             classpath="${wls.home}/server/lib/weblogic.jar"/>
    I hade the same problem as you two and adding the classpath attribute solved it.

  • Weblogic.appc compiler for Weblogic 9 and higher version

    We had problem precompiling the jsp's using weblogic.jspc compiler after migrating the project from 8.1 to 9.2. From the edocs weblogic documentation we see that jspc compiler is deprecated from weblogic 9 onwards and they recommend using weblogic.appc for precompiling the jsp's.
    Please note if you are passing runtime expression values in the name attribute of the jsp param tag, you will have to explicitly enabke "<rtexprvalue-jsp-param-name>" to true in weblogic.xml deployment descriptor (format shown below).
    <weblogic-web-app>
    <jsp-descriptor>
    <rtexprvalue-jsp-param-name>true</rtexprvalue-jsp-param-name>
    </jsp-descriptor>
    </weblogic-web-app>
    Below is the edocs link which has JSP descriptors information for Weblogic 9,2
    http://e-docs.bea.com/wls/docs92/webapp/weblogic_xml.html#wp1038491
    - - Tarun

    The solution given in the below link worked for me .
    http://a-developer-life.blogspot.com/2010/11/injecting-into-ejb3-with-google-guice.html?showComment=1328674836129#c7251888680841418914

  • Incorrect code generated by weblogic.appc

    Hi,
    My application has an ejb module which has entities with some CMR relationships. One instance of which is an n-m bi-directional relationship between an entity with a java.lang.Long primary key, and an entity with a composite primary key of types java.lang.Long, java.lang.Integer and java.util.Locale.
    At the command line I'm invoking weblogic.appc for the application. The deployment descriptors are validated as okay. However, the compilation is falling over on the above relation in that the appc generated java is incorrect. Looking at the generated source code I believe the generated class was intended to test that the join table for the relation existed. The compilation errors are all of the form:
    [appc] Compiling EAR module 'core-ejb'
    [VersionHelper] : Recompiling because no previous hashes found
    [EJBCompiler] : Compliance Checker said bean was compliant
    c:\weblogic-epix-compile\core-ejb\com\formicary\epix\module\content\ContentElement_fvoisg__WebLogic_CMP_RDBMS_contentDocuments_Set.java:291: setBytes(int,byte[]) in java.sql.PreparedStatement cannot be applied to (int,java.util.Locale)__WL_stmt.setBytes(2,((com.formicary.epix.module.content.ContentDocumentPK)__WL_pk2).language);
    So the generated Weblogic class won't compile, since it's trying to apply language (a java.util.Locale object and part of the primary key as detailed above) to a byte[] argument field. Obviously java.sql.PreparedStatement doesn't have the capability to set a Locale field as an parameter to a SQL statement.
    Is there any way to inform Weblogic to treat this field as a String parameter? Or a way to map custom classes to Strings for EJBs? (I already have the application successfully deployed on Orion server, where the field is persisted in a varchar field). If none of this is possible then I will have to change the ejb property to a String rather than continue to use a Locale. Is there a reason why I shouldn't be using a Locale object as a primary key involved in a relation?
    Any thoughts, ideas or solutions would be greatly appreciated.
    Many thanks,
    Steven

    The SQL is quite complex as there seems to be several multiple tables and inheritance involved, but the AND portion seems correct.
    For any joins (1-1, 1-m, get/anyOf) the AND of the join criteria must be applied to the entire expression, this is correct. If you require OR semantics to include 1-1 being null or 1-m being empty you must use an outerjoin, getAllowingNull or anyOfAllowingNone. You seem to be correctly doing this for the 1-1, but not for the 1-m.
    To outerjoin the 1-m to account for allowing an empty collection you must use the anyOfAllowingNone method in your expression.
    i.e.
    Expression isDefectScheduled = builder.anyOfAllowingNone("storyCards").getAllowingNull("iteration").notNull();
    Now this is a very complex expression and model, so there may be other issues, but if you desire to allow an empty 1-m anyOfAllowingNone is this correct way to specify this.

  • Why can't Weblogic 12c find Managed Bean by annotation,which in a jar?

    the detail:
    why can't Weblogic 12c find Managed Bean by annotation,which in a jar?

    Hi,
    I got the same problem with weblogic 12c.
    Somehow this guy got it working by using CDI and creating an empty beans.xml, it did not work for me.
    i found the tricky problem is that should put a empty but include the <beans> tag beans.xml file.
    http://www.coderanch.com/t/562233/JSF/java/WebLogic-Eclipse-Indigo-develop-JSF
    I also tried to skip managedbean and use CDI ( @named ) but then I get some jboss weld exceptions on the value attribute of some jsf components.
    I also saw this post
    Can't seem to get a trivial CDI example to work on Weblogic 12c
    I don't use OEPE very often so I'll need to kick this around a little when I get a chance.
    Just as an out there kind of thought, OEPE does use the split-directory model for deployment by default -- perhaps try adjusting it to use the exploded archive model instead, just as a test to see if it removes the error?
    Right click the server config and select Properties > WebLogic > Publishing > Publish as exploded archive
    It seems like the Virtual Application deployment model of OEPE doesn't support CDI.
    thanks
    Edited by: Edwin Biemond on Dec 28, 2011 10:07 PM
    Edited by: Edwin Biemond on Dec 28, 2011 10:25 PM

  • Error when running weblogic.appc

    We have been running weblogic.appc for quite some time for precompiling our war-files. A few days ago we have been getting errors when precompiling one of our applications (it worked fine just a week ago). We build the war files using the same build setup.
    We run the precompilation using the following command:
    MW_HOME=/opt/lf/weblogic/wls1035_dev
    java -classpath $MW_HOME/wlserver/server/lib/weblogic.jar:$MW_HOME/wlserver/server/lib/wlclient.jar weblogic.appc -verbose -verboseJavac -nowarn -k -maxfiles $2 -output $OUTPUT_HOME/$WAR_FILE-$WAR_END $WAR_HOME/$WAR_FILE*
    The error we are getting is:
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
         at java.util.zip.ZipFile.<init>(ZipFile.java:127)
         at java.util.zip.ZipFile.<init>(ZipFile.java:144)
         at weblogic.jsp.internal.Jar.<init>(Jar.java:24)
         at weblogic.jsp.internal.Application.createJavelinFile(Application.java:185)
         at weblogic.jsp.internal.CPL.initializeBinaryPaths(CPL.java:234)
         at weblogic.servlet.jsp.JspCLLManager.initPaths(JspCLLManager.java:437)
         at weblogic.servlet.jsp.JspCLLManager.initialize(JspCLLManager.java:237)
         at weblogic.servlet.jsp.JspCLLManager.<init>(JspCLLManager.java:228)
         at weblogic.servlet.jsp.JspCLLManager.<init>(JspCLLManager.java:221)
         at weblogic.servlet.jsp.JspCLLManager.compileJsps(JspCLLManager.java:126)
         at weblogic.servlet.jsp.jspc20.runBodyInternal(jspc20.java:454)
         at weblogic.servlet.jsp.jspc20.runJspc(jspc20.java:227)
         at weblogic.servlet.jsp.JspcInvoker.compile(JspcInvoker.java:236)
         at weblogic.application.compiler.AppcUtils.compileWAR(AppcUtils.java:376)
         at weblogic.application.compiler.WARModule.compile(WARModule.java:245)
         at weblogic.application.compiler.flow.SingleModuleCompileFlow.proecessModule(SingleModuleCompileFlow.java:18)
         at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:36)
         at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
         at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
         at weblogic.application.compiler.WARCompiler.compile(WARCompiler.java:29)
         at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:112)
         at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:37)
         at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
         at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
         at weblogic.application.compiler.Appc.runBody(Appc.java:203)
         at weblogic.utils.compiler.Tool.run(Tool.java:158)
         at weblogic.utils.compiler.Tool.run(Tool.java:115)
         at weblogic.application.compiler.Appc.main(Appc.java:262)
         at weblogic.appc.main(appc.java:14)
    And then for every jsp in the war file we are getting this error:
    Exception encountered while compiling /tmp/appcgen_1316596871973_application.war/jspview/view.jsp
    java.lang.NullPointerException
         at weblogic.jsp.internal.jsp.JspParser.jspParse(JspParser.java:1092)
         at weblogic.jsp.internal.jsp.JspParser._parse(JspParser.java:604)
         at weblogic.jsp.internal.jsp.JspParser.parse(JspParser.java:597)
         at weblogic.jsp.internal.jsp.JspAnalyzer.parseFile(JspAnalyzer.java:104)
         at weblogic.jsp.internal.jsp.JspAnalyzer.parse(JspAnalyzer.java:92)
         at weblogic.jsp.internal.ProxySourceFile.parse(ProxySourceFile.java:106)
         at weblogic.jsp.internal.SourceFile.getAst(SourceFile.java:559)
         at weblogic.jsp.internal.SourceFile.getAst(SourceFile.java:533)
         at weblogic.jsp.internal.SourceFile.check(SourceFile.java:335)
         at weblogic.jsp.internal.ProxySourceFile.codeGen(ProxySourceFile.java:224)
         at weblogic.jsp.internal.SourceFile.codeGen(SourceFile.java:327)
         at weblogic.jsp.internal.client.ClientUtilsImpl$CodeGenJob.run(ClientUtilsImpl.java:599)
         at weblogic.jsp.internal.client.Job.performJob(Job.java:83)
         at weblogic.jsp.internal.client.ThreadPool$WorkerThread.run(ThreadPool.java:217)
    At the end we are also getting the following output (I have checked the ownership and permissions and they are the same as for the applications that we get successful compilations).
    There are 1 nested errors:
    java.lang.RuntimeException: Error enumerating directory "/tmp/.jspcgen_1316596885663/war"; please check its ownership and permissions.
         at weblogic.utils.FileUtils.remove(FileUtils.java:299)
         at weblogic.utils.FileUtils.remove(FileUtils.java:316)
         at weblogic.application.io.ExplodedJar.remove(ExplodedJar.java:262)
         at weblogic.servlet.internal.War.remove(War.java:278)
         at weblogic.servlet.jsp.JspcInvoker.compile(JspcInvoker.java:249)
         at weblogic.application.compiler.AppcUtils.compileWAR(AppcUtils.java:376)
         at weblogic.application.compiler.WARModule.compile(WARModule.java:245)
         at weblogic.application.compiler.flow.SingleModuleCompileFlow.proecessModule(SingleModuleCompileFlow.java:18)
         at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:36)
         at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
         at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
         at weblogic.application.compiler.WARCompiler.compile(WARCompiler.java:29)
         at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:112)
         at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:37)
         at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
         at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
         at weblogic.application.compiler.Appc.runBody(Appc.java:203)
         at weblogic.utils.compiler.Tool.run(Tool.java:158)
         at weblogic.utils.compiler.Tool.run(Tool.java:115)
         at weblogic.application.compiler.Appc.main(Appc.java:262)
         at weblogic.appc.main(appc.java:14)

    We solved this by increasing the number of open files, by adding the following in the /etc/security/limits.conf
    * soft nofile 50000
    * hard nofile 50000

  • Weblogic.appc failed to compile your application. Recompile with the -verbo

    [exec] <Jan 25, 2012 9:24:39 AM IST> <Warning> <J2EE> <BEA-160214> <Output location exists C:/views/932_wls/cfm/conformia/pcm/dist/maven/cfmlib/pcmwebapp.war>
    [exec] <Jan 25, 2012 9:26:38 AM IST> <Error> <J2EE> <BEA-160187> <weblogic.appc failed to compile your application. Recompile with the -verbose option for more details. Please see the error message(s) below.>
    [exec]
    [exec]
    [exec] There are 1 nested errors:
    [exec]
    [exec] weblogic.utils.compiler.ToolFailureException: jspc failed with errors :weblogic.servlet.jsp.CompilationException: CFMWFAdminStates.jsp:24:4: This tag is not recognized.
    [exec]           <cfm:resultstabcontainer id ="primaryPartyAdd" title = "PCM_WF_PRIMARY_PARTY" collapsible = "Yes" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" selectedIds="#{CFMPrimaryPartyBean.selectedIds}" tabData = "#{CFMPrimaryPartyBean.tabs}" width="500"/>
    [exec] ^---------------------^
    [exec] CFMWFAdminStates.jsp:24:4: This tag is not recognized.
    [exec]           <cfm:resultstabcontainer id ="primaryPartyAdd" title = "PCM_WF_PRIMARY_PARTY" collapsible = "Yes" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" selectedIds="#{CFMPrimaryPartyBean.selectedIds}" tabData = "#{CFMPrimaryPartyBean.tabs}" width="500"/>
    [exec] ^---------------------^
    [exec] CFMWFAdminStates.jsp:41:6: This tag is not recognized.
    [exec]           <cfm:resultstabcontainer id = "backupPartyAdd" title = "PCM_WF_BACKUP_PARTY" collapsible = "Yes" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}" width="200"/>
    [exec] ^---------------------^
    [exec] CFMWFAdminStates.jsp:41:6: This tag is not recognized.
    [exec]           <cfm:resultstabcontainer id = "backupPartyAdd" title = "PCM_WF_BACKUP_PARTY" collapsible = "Yes" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}" width="200"/>
    [exec] ^---------------------^
    [exec] CFMRoleBackupParty.jsp:28:8: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr" title = "PCM_WF_BACKUP_PARTY" collapsible = "Yes" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}" width="200"/>
    [exec]
    [exec] ^---------------------^
    [exec] CFMRoleBackupParty.jsp:28:8: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr" title = "PCM_WF_BACKUP_PARTY" collapsible = "Yes" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}" width="200"/>
    [exec]
    [exec] ^---------------------^
    [exec] CFMUserPrimaryParty.jsp:20:10: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addPrim_addAttr" title = "PCM_WF_PRIMARY_PARTY" collapsible = "Yes" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMPrimaryPartyBean.tabs}" selectedIds="#{CFMPrimaryPartyBean.selectedIds}" />
    [exec]
    [exec] ^---------------------^
    [exec] CFMUserPrimaryParty.jsp:20:10: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addPrim_addAttr" title = "PCM_WF_PRIMARY_PARTY" collapsible = "Yes" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMPrimaryPartyBean.tabs}" selectedIds="#{CFMPrimaryPartyBean.selectedIds}" />
    [exec]
    [exec] ^---------------------^
    [exec] CFMUserBackupParty.jsp:24:8: This tag is not recognized.
    [exec]                <cfm:resultstabcontainer id = "rt_addPrim_addAttr" title = "PCM_WF_BACKUP_PARTY" collapsible = "Yes" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}" />
    [exec]
    [exec] ^---------------------^
    [exec] CFMUserBackupParty.jsp:24:8: This tag is not recognized.
    [exec]                <cfm:resultstabcontainer id = "rt_addPrim_addAttr" title = "PCM_WF_BACKUP_PARTY" collapsible = "Yes" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}" />
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditMacroBackupParty.jsp:35:10: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr"
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditMacroBackupParty.jsp:35:10: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr"
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditMacroBackupParty.jsp:56:6: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr1"
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditMacroBackupParty.jsp:56:6: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr1"
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFPrimaryParty.jsp:10:4: This tag is not recognized.
    [exec]           <cfm:resultstabcontainer id = "rt_addPrim_addAttr" title = "PCM_WF_PRIMARY_PARTY" collapsible = "No" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" height = "400" tabData = "#{CFMPrimaryPartyBean.tabs}" />
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFPrimaryParty.jsp:10:4: This tag is not recognized.
    [exec]           <cfm:resultstabcontainer id = "rt_addPrim_addAttr" title = "PCM_WF_PRIMARY_PARTY" collapsible = "No" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" height = "400" tabData = "#{CFMPrimaryPartyBean.tabs}" />
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditMacroPrimaryParty.jsp:32:16: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addPrim_MacroaddAttr"
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditMacroPrimaryParty.jsp:32:16: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addPrim_MacroaddAttr"
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditMacroPrimaryParty.jsp:51:7: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addPrim_MacroaddAttr1"
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditMacroPrimaryParty.jsp:51:7: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addPrim_MacroaddAttr1"
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditUserBackupParty.jsp:35:7: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addPrim_addAttr" title = "PCM_WF_BACKUP_PARTY" collapsible = "no" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}"/>
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditUserBackupParty.jsp:35:7: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addPrim_addAttr" title = "PCM_WF_BACKUP_PARTY" collapsible = "no" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}"/>
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditUserBackupParty.jsp:52:7: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addPrim_addAttr1" title = "PCM_WF_BACKUP_PARTY" collapsible = "no" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}"/>
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditUserBackupParty.jsp:52:7: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addPrim_addAttr1" title = "PCM_WF_BACKUP_PARTY" collapsible = "no" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}"/>
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditUserPrimaryParty.jsp:31:18: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addPrim_addAttr" title = "PCM_WF_PRIMARY_PARTY" collapsible = "no" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMPrimaryPartyBean.tabs}" selectedIds="#{CFMPrimaryPartyBean.selectedIds}" />
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditUserPrimaryParty.jsp:31:18: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addPrim_addAttr" title = "PCM_WF_PRIMARY_PARTY" collapsible = "no" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMPrimaryPartyBean.tabs}" selectedIds="#{CFMPrimaryPartyBean.selectedIds}" />
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditUserPrimaryParty.jsp:46:10: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addPrim_addAttr1" title = "PCM_WF_PRIMARY_PARTY" collapsible = "no" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMPrimaryPartyBean.tabs}" selectedIds="#{CFMPrimaryPartyBean.selectedIds}" />
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditUserPrimaryParty.jsp:46:10: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addPrim_addAttr1" title = "PCM_WF_PRIMARY_PARTY" collapsible = "no" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMPrimaryPartyBean.tabs}" selectedIds="#{CFMPrimaryPartyBean.selectedIds}" />
    [exec]
    [exec] ^---------------------^
    [exec] CFMRolePrimaryParty.jsp:25:7: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addPrim_RoleaddAttr" title = "PCM_WF_PRIMARY_PARTY" collapsible = "Yes" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" selectedIds="#{CFMPrimaryPartyBean.selectedIds}" tabData = "#{CFMPrimaryPartyBean.tabs}" width="500"/>
    [exec]
    [exec] ^---------------------^
    [exec] CFMRolePrimaryParty.jsp:25:7: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addPrim_RoleaddAttr" title = "PCM_WF_PRIMARY_PARTY" collapsible = "Yes" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" selectedIds="#{CFMPrimaryPartyBean.selectedIds}" tabData = "#{CFMPrimaryPartyBean.tabs}" width="500"/>
    [exec]
    [exec] ^---------------------^
    [exec] CFMMacroPrimaryParty.jsp:20:11: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addPrim_RoleaddAttr"
    [exec]
    [exec] ^---------------------^
    [exec] CFMMacroPrimaryParty.jsp:20:11: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addPrim_RoleaddAttr"
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditGroupBackupParty.jsp:35:12: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr" title = "PCM_WF_BACKUP_PARTY" collapsible = "no" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}" />
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditGroupBackupParty.jsp:35:12: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr" title = "PCM_WF_BACKUP_PARTY" collapsible = "no" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}" />
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditGroupBackupParty.jsp:53:6: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr1" title = "PCM_WF_BACKUP_PARTY" collapsible = "no" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}" />
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditGroupBackupParty.jsp:53:6: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr1" title = "PCM_WF_BACKUP_PARTY" collapsible = "no" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}" />
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditRolePrimaryParty.jsp:36:18: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addPrim_RoleaddAttr" title = "PCM_WF_PRIMARY_PARTY" collapsible = "no" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMPrimaryPartyBean.tabs}" selectedIds="#{CFMPrimaryPartyBean.selectedIds}" width="500"/>
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditRolePrimaryParty.jsp:36:18: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addPrim_RoleaddAttr" title = "PCM_WF_PRIMARY_PARTY" collapsible = "no" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMPrimaryPartyBean.tabs}" selectedIds="#{CFMPrimaryPartyBean.selectedIds}" width="500"/>
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditRolePrimaryParty.jsp:55:5: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addPrim_RoleaddAttr1" title = "PCM_WF_PRIMARY_PARTY" collapsible = "no" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMPrimaryPartyBean.tabs}" selectedIds="#{CFMPrimaryPartyBean.selectedIds}" width="500"/>
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditRolePrimaryParty.jsp:55:5: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addPrim_RoleaddAttr1" title = "PCM_WF_PRIMARY_PARTY" collapsible = "no" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMPrimaryPartyBean.tabs}" selectedIds="#{CFMPrimaryPartyBean.selectedIds}" width="500"/>
    [exec]
    [exec] ^---------------------^
    [exec] CFMGroupBackupParty.jsp:25:11: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr" title = "PCM_WF_BACKUP_PARTY" collapsible = "Yes" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}"/>
    [exec]
    [exec] ^---------------------^
    [exec] CFMGroupBackupParty.jsp:25:11: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr" title = "PCM_WF_BACKUP_PARTY" collapsible = "Yes" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}"/>
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditRoleBackupParty.jsp:39:14: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr" title = "PCM_WF_BACKUP_PARTY" collapsible = "no" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}" width="200"/>
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditRoleBackupParty.jsp:39:14: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr" title = "PCM_WF_BACKUP_PARTY" collapsible = "no" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}" width="200"/>
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditRoleBackupParty.jsp:60:5: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr1" title = "PCM_WF_BACKUP_PARTY" collapsible = "no" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}" width="200"/>
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditRoleBackupParty.jsp:60:5: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr1" title = "PCM_WF_BACKUP_PARTY" collapsible = "no" resultsData = "#{CFMBackupPartyBean.resultsData}" rowSelectionType ="Radio" tabData = "#{CFMBackupPartyBean.tabs}" selectedIds="#{CFMBackupPartyBean.selectedIds}" width="200"/>
    [exec]
    [exec] ^---------------------^
    [exec] CFMMacroBackupParty.jsp:25:10: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr"
    [exec]
    [exec] ^---------------------^
    [exec] CFMMacroBackupParty.jsp:25:10: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addBkup_addAttr"
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditGroupPrimaryParty.jsp:33:17: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addPrim_GroupaddAttr" title = "PCM_WF_PRIMARY_PARTY" collapsible = "no" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" height = "200" tabData = "#{CFMPrimaryPartyBean.tabs}" selectedIds="#{CFMPrimaryPartyBean.selectedIds}"/>
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditGroupPrimaryParty.jsp:33:17: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addPrim_GroupaddAttr" title = "PCM_WF_PRIMARY_PARTY" collapsible = "no" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" height = "200" tabData = "#{CFMPrimaryPartyBean.tabs}" selectedIds="#{CFMPrimaryPartyBean.selectedIds}"/>
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditGroupPrimaryParty.jsp:48:8: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addPrim_GroupaddAttr1" title = "PCM_WF_PRIMARY_PARTY" collapsible = "no" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" height = "200" tabData = "#{CFMPrimaryPartyBean.tabs}" selectedIds="#{CFMPrimaryPartyBean.selectedIds}"/>
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditGroupPrimaryParty.jsp:48:8: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addPrim_GroupaddAttr1" title = "PCM_WF_PRIMARY_PARTY" collapsible = "no" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" height = "200" tabData = "#{CFMPrimaryPartyBean.tabs}" selectedIds="#{CFMPrimaryPartyBean.selectedIds}"/>
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditTransSetNotifUsers.jsp:43:9: This tag is not recognized.
    [exec]           <cfm:resultstabcontainer id = "PCM_WFADMIN_TRANS_NOTIF_USER_RESULT1" hasFooter="yes"
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditTransSetNotifUsers.jsp:43:9: This tag is not recognized.
    [exec]           <cfm:resultstabcontainer id = "PCM_WFADMIN_TRANS_NOTIF_USER_RESULT1" hasFooter="yes"
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditTransSetNotifUsers.jsp:59:7: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id="PCM_WFADMIN_TRANS_NOTIF_USER_RESULT2" hasFooter="yes"
    [exec]
    [exec] ^---------------------^
    [exec] CFMWFEditTransSetNotifUsers.jsp:59:7: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id="PCM_WFADMIN_TRANS_NOTIF_USER_RESULT2" hasFooter="yes"
    [exec]
    [exec] ^---------------------^
    [exec] CFMGroupPrimaryParty.jsp:20:10: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addPrim_GroupaddAttr" title = "PCM_WF_PRIMARY_PARTY" collapsible = "Yes" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" height = "200" tabData = "#{CFMPrimaryPartyBean.tabs}" selectedIds="#{CFMPrimaryPartyBean.selectedIds}" />
    [exec]
    [exec] ^---------------------^
    [exec] CFMGroupPrimaryParty.jsp:20:10: This tag is not recognized.
    [exec] <cfm:resultstabcontainer id = "rt_addPrim_GroupaddAttr" title = "PCM_WF_PRIMARY_PARTY" collapsible = "Yes" resultsData = "#{CFMPrimaryPartyBean.resultsData}" rowSelectionType ="Radio" height = "200" tabData = "#{CFMPrimaryPartyBean.tabs}" selectedIds="#{CFMPrimaryPartyBean.selectedIds}" />
    [exec]
    [exec] ^---------------------^
    [exec]
    [exec]
    [exec]      at weblogic.servlet.jsp.jspc20.runBodyInternal(jspc20.java:458)
    [exec]      at weblogic.servlet.jsp.jspc20.runJspc(jspc20.java:227)
    [exec]      at weblogic.servlet.jsp.JspcInvoker.compile(JspcInvoker.java:236)
    [exec]      at weblogic.application.compiler.AppcUtils.compileWAR(AppcUtils.java:376)
    [exec]      at weblogic.application.compiler.WARModule.compile(WARModule.java:245)
    [exec]      at weblogic.application.compiler.flow.SingleModuleCompileFlow.proecessModule(SingleModuleCompileFlow.java:18)
    [exec]      at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:36)
    [exec]      at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    [exec]      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    [exec]      at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    [exec]      at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
    [exec]      at weblogic.application.compiler.WARCompiler.compile(WARCompiler.java:29)
    [exec]      at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:112)
    [exec]      at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:37)
    [exec]      at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    [exec]      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    [exec]      at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    [exec]      at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
    [exec]      at weblogic.application.compiler.Appc.runBody(Appc.java:203)
    [exec]      at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [exec]      at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [exec]      at weblogic.application.compiler.Appc.main(Appc.java:262)
    [exec]      at weblogic.appc.main(appc.java:14)
    [exec]
    [exec]
    [exec] [ERROR] Result: 1

    I took the sample integration domain. It is an integration domain. Just to be sure, I tried to extend WLI on top of the existing sample domain, and got a few "the feature already exist" warning dialog.
    Wait...
    I just tried to build again, this time it worked. I think you are right, the sample domain has some problem, and extending it helped.
    Thanks a lot,
    Kev

  • Weblogic.appc (weblogic 9.1) giving error while using with jdk 1.6

    hi,
    I am trying to build my ear using jdk1.6 with weblogic 9.1.
    I am getting this error while doing weblogic.appc using my ant scripts. Could some one pls let me know the solution for this problem.
    [java] Created working directory: c:\windows\TEMP\appcgen_gdoasis.jar
    [java] <02-Aug-2007 14:54:22 o'clock BST> <Error> <J2EE> <BEA-160187> <weblogic.appc failed to compile yo
    ur application. Recompile with the -verbose option for more details. Please see the error message(s) below.>
    [java] javax.xml.stream.FactoryConfigurationError: Provider javax.xml.stream.XMLInputFactory could not be
    instantiated: java.lang.InstantiationException
    [java] at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:158)
    [java] at weblogic.ejb.container.dd.xml.DDUtils.<clinit>(DDUtils.java:85)
    [java] at weblogic.ejb.container.ejbc.EJBCompiler.parseDescriptors(EJBCompiler.java:1345)
    [java] at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:431)
    [java] at weblogic.application.compiler.AppcUtils.compileEJB(AppcUtils.java:292)
    [java] at weblogic.application.compiler.EJBCompiler.compile(EJBCompiler.java:95)
    [java] at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:113)
    [java] at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
    [java] at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:55)
    [java] at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    [java] at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:24)
    [java] at weblogic.application.compiler.Appc.runBody(Appc.java:151)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [java] at weblogic.application.compiler.Appc.main(Appc.java:162)
    [java] at weblogic.appc.main(appc.java:14)
    [java] Provider javax.xml.stream.XMLInputFactory could not be instantiated: java.lang.InstantiationExcept
    ion
    Thanks

    hi,
    I am trying to build my ear using jdk1.6 with weblogic 9.1.
    I am getting this error while doing weblogic.appc using my ant scripts. Could some one pls let me know the solution for this problem.
    [java] Created working directory: c:\windows\TEMP\appcgen_gdoasis.jar
    [java] <02-Aug-2007 14:54:22 o'clock BST> <Error> <J2EE> <BEA-160187> <weblogic.appc failed to compile yo
    ur application. Recompile with the -verbose option for more details. Please see the error message(s) below.>
    [java] javax.xml.stream.FactoryConfigurationError: Provider javax.xml.stream.XMLInputFactory could not be
    instantiated: java.lang.InstantiationException
    [java] at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:158)
    [java] at weblogic.ejb.container.dd.xml.DDUtils.<clinit>(DDUtils.java:85)
    [java] at weblogic.ejb.container.ejbc.EJBCompiler.parseDescriptors(EJBCompiler.java:1345)
    [java] at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:431)
    [java] at weblogic.application.compiler.AppcUtils.compileEJB(AppcUtils.java:292)
    [java] at weblogic.application.compiler.EJBCompiler.compile(EJBCompiler.java:95)
    [java] at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:113)
    [java] at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
    [java] at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:55)
    [java] at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    [java] at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:24)
    [java] at weblogic.application.compiler.Appc.runBody(Appc.java:151)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [java] at weblogic.application.compiler.Appc.main(Appc.java:162)
    [java] at weblogic.appc.main(appc.java:14)
    [java] Provider javax.xml.stream.XMLInputFactory could not be instantiated: java.lang.InstantiationExcept
    ion
    Thanks

  • Weblogic 9.1 with JDK1.6 giving error ( while doing weblogic.appc )

    hi,
    I am trying to build my ear using jdk1.6 with weblogic 9.1.
    I am getting this error while doing weblogic.appc using my ant scripts. Could some one pls let me know the solution for this problem.
    [java] Created working directory: c:\windows\TEMP\appcgen_gdoasis.jar
    [java] <02-Aug-2007 14:54:22 o'clock BST> <Error> <J2EE> <BEA-160187> <weblogic.appc failed to compile yo
    ur application. Recompile with the -verbose option for more details. Please see the error message(s) below.>
    [java] javax.xml.stream.FactoryConfigurationError: Provider javax.xml.stream.XMLInputFactory could not be
    instantiated: java.lang.InstantiationException
    [java] at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:158)
    [java] at weblogic.ejb.container.dd.xml.DDUtils.<clinit>(DDUtils.java:85)
    [java] at weblogic.ejb.container.ejbc.EJBCompiler.parseDescriptors(EJBCompiler.java:1345)
    [java] at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:431)
    [java] at weblogic.application.compiler.AppcUtils.compileEJB(AppcUtils.java:292)
    [java] at weblogic.application.compiler.EJBCompiler.compile(EJBCompiler.java:95)
    [java] at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:113)
    [java] at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
    [java] at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:55)
    [java] at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    [java] at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:24)
    [java] at weblogic.application.compiler.Appc.runBody(Appc.java:151)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [java] at weblogic.application.compiler.Appc.main(Appc.java:162)
    [java] at weblogic.appc.main(appc.java:14)
    [java] Provider javax.xml.stream.XMLInputFactory could not be instantiated: java.lang.InstantiationExcept
    ion
    Thanks

    Hi,
    First thing, I am not sure this will work :-)
    The main issue is that there is no StAX provider to parse I-not-know-what XML file.
    You may try to execute appc with the parameter
    -Djavax.xml.stream.XMLInputFactory=com.bea.xml.stream.MXParserFactory
    Anyhow, you may still have some issues given that Java 6 is not a supported Java version for WL 9.1.
    Regards,
    lg

  • Weblogic.appc slow

    Hi all
    we are trying to precompile all our jsp in order to avoid delays in production due to jsp compiling. We are using weblogic.appc. We have 3500 jsps (some generating errors) and therefore are running appc with the -k option. With this option appc is instantiating a jspc for each jsp and therefore it's extremely slow. Is there a way to force appc to compile all jsps in a single process keeping the option to continue on errors?
    thanks

    hi user561095
    It doesn't seem to take "10-15 min" in this demo:
    "Deploying the SRDemo ADF Application to WeblLogic Server"
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11/demos/wls/wls.html
    Are you doing something similar?
    (tip : You can use "Your Control Panel" to make your name visible in forum posts.)
    regards
    Jan Vervecken

  • Weblogic.appc without installing weblogic

    Hi
    Using Weblogic 10, and trying to compile JSP's within an EAR file using weblogic.appc works correctly on a box where weblogic has been installed.
    Running the same thing on a box which only has the required JARs for weblogic.appc on it - but does not have weblogic installed on it. Does not compile - you get NoClassDefFoundError errors.
    Jars that are being included in the classpath are
    ${JAVA_HOME}/lib/tools.jar::${WL_HOME}/lib/weblogic.jar:${WL_HOME}/lib/ojdbc14.jar:${JAVA_HOME}/jre/lib/rt.jar:${WL_HOME}/lib/webservices.jar
    Error received when running this on the box that does not have weblogic installed is:
    Exception in thread "Main Thread" java.lang.NoClassDefFoundError: weblogic/application/compiler/Appc : weblogic/utils/compiler/Tool
    Is there a way to use weblogic.appc on a box that does not have weblogic installed on it?
    Thanks In Advance.

    Yes just tried that, changed the class path to use wlfullclient.jar instead of weblogic.jar
    It does get a little further now in that it start to compile the ear - however there are still
    java.lang.NoClassDefFoundErro
    errors see below:
    Warning, output location exists /build_output/MyEar.ear
    Created working directory: /tmp/appcgen_1247571644398_MyEar.ear
    java.lang.NoClassDefFoundError: com/bea/xml/XmlException
    at weblogic.application.descriptor.AbstractDescriptorLoader2$READONLY_SINGLETON.<clinit>(AbstractDescriptorLoader2.java:315)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorManager(AbstractDescriptorLoader2.java:320)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:774)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:395)

Maybe you are looking for

  • How can I sync my calendar in outlook with newest version of iTunes?

    I sync my iPhone with iCloud (iCal) for my mac at home, but my work calendar is in Outlook.  In the older version of iTunes I could synch with Outlook manually.  The newest version does not list that as an option.  Any help would be greatly appreciat

  • Macbook Pro stuck at the login screen

    This morning I dropped my laptop by catching the charging cable the laptop fell on the floor but everything seemed to be normal. I then decided to back up straight away so I started time machine. I stupidly started doing some user instensive things o

  • Problems with printing from SQL Developer Data Modeler 2.0

    Hi, I am not able to print my Relational Model (SubView) from Data Modeler 2.0 Build 584. Only an empty page comes out. If I don't reduce the Print Scale (usually to 10-30%) I get something but then it is lots of pages. I have tried A4 and A3 format.

  • M Audio Firewire 410 & 10.4.4 not working please help!!!!!

    Hello All Has anyone who is using 410 and tiger 10.4.4 got them working properly mine just makes a high pitch whine not to sure about those latest drivers. (M Audio 1.6 drivers) Was on 10.3.9 before and was rock soild now i have no sound, please help

  • Still in trial mode despite use of redemption code

    I was given a year subscription by an adobe employee as they are trying to convert all the editors at my job to Premiere Pro from FCP. I received the email with the code and entered it, then I downloaded a bunch of apps but they all ask for a serial