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.

Similar Messages

  • 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 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.

  • 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

  • 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.

  • 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)

  • Weblogic.appc-- Unrecognized option or flag, -basicClientJars

    Team,
    I want to generate only the client jar(which should include only the class files needed for the client to connect to my remote ejb)
    I am using the following ant task:
    <target name="ejbcClient" depends="jar_ejb">
    <java classname="weblogic.appc" fork="yes">
    <sysproperty key="weblogic.home" value="${WL_HOME}"/>
    <arg line="-compiler ${JAVA_HOME}/bin/javac -basicClientJars -output ${deploydir}/${ejb_jar_name} ${dist}/${ejb_jar_name}"/>
    <classpath refid="basepath"/>
    </java>
    </target>
    But when I run this, I am getting:
    Usage: java weblogic.appc [options] <ear, jar or war file or directory>....
    Unrecognized option or flag, -basicClientJars
    I am using Weblogic 8.1. Do we need any service packs? If yes, which sps do we need?
    Thank you for your help!

    Weblogic 9.x supports only JDK 1.5 ? Now, Iam trying to perform same build using Weblogic 8.1 SP5 and Iam not able to find javax.jms.ConnectionFactory in weblogic.jar, where as in Weblogic 9.x 'weblogic.jar' javax.jms.ConnectionFactory' is found.
    code snippet:
    String url = "t3://" + hostName + ":" + hostPort;
    Environment environment = new Environment();
    environment.setProviderUrl( url );
    environment.setInitialContextFactory( weblogic.jndi.WLInitialContextFactory );
    Context context = environment.getInitialContext();
    ConnectionFactory factory = (ConnectionFactory)context.lookup( "..." );
    Connection theConnection = factory.createConnection();
    Iam using SUN JDK 1.4.2.11 ( even did try Weblogic JDK). I have weblogic.jar and JDK/tools.jar included in my classpath.
    What other jar files we need to included in my classpath to make this code to work in weblogic 8.1SP5 ?

  • Weblogic.appc without kodoc

    I have a EJB module with an EclipseLink persistence unit (<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>). When weblogic.appc is run on this EJB module, Kodo Enhancer is also run on the persistent entities. This happens with both WebLogic 10.3 and 10.3.1 (11g).
    1. Is there a way to prevent Kodo Enhancer from running while using weblogic.appc
    2. Even better, if EclipseLink weaving could be plugged into weblogic.appc
    Thanks.

    Hi,
    Kodo is still required by a security component in WebLogic until this is switched to using EclipseLink JPA - removing Kodo (4 jars + 1 openjpa jar) is not an option or you will get a security and CNFE exception on server startup. You can however move EclipseLink or a version of the library higher in the server classpath using several means described below.
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/WebLogic_Web_Tutorial#EclipseLink_JAR_location
    As of WebLogic Server 10.3.2.0 EclipseLink 1.2 runs fine with default weaving on for container-managed apps.
    [EL Finest]: 2009-12-07 14:41:21.614--ServerSession(32489727)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--property=eclipselink.weaving.lazy; default value=true
    [EL Finest]: 2009-12-07 14:41:21.849--ServerSession(32489727)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--End predeploying Persistence Unit example; state Predeployed; factoryCount 1
    [EL Finest]: 2009-12-07 14:41:22.052--ServerSession(32489727)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Begin weaver class transformer processing class [org.eclipse.persistence.example.jpa.server.business.Cell].
    [EL Finest]: 2009-12-07 14:41:22.098--ServerSession(32489727)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Weaved persistence (PersistenceEntity) [org.eclipse.persistence.example.jpa.server.business.Cell].
    [EL Finest]: 2009-12-07 14:41:22.098--ServerSession(32489727)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--Weaved fetch groups (FetchGroupTracker) [org.eclipse.persistence.example.jpa.server.business.Cell].
    [EL Finest]: 2009-12-07 14:41:22.098--ServerSession(32489727)--Thread(Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--End weaver class transformer processing class [org.eclipse.persistence.example.jpa.server.business.Cell].
    If you see the following check that the eclipselink jar is in the classpath or modules.
    11 WARN [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] openjpa.Runtime - The configuration property named "openjpa.Id" was not recognized and will be ignored, although the name closely matches a valid property called "openjpa.Id".
    26 INFO [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] openjpa.Runtime - Starting BEA Kodo 4.2.0
    You may also want to post your question to the TopLink(EclipseLink)/Kodo forum at
    TopLink/JPA
    thank you
    /michael
    http://www.eclipselink.org
    Edited by: michael_obrien on Dec 7, 2009 2:33 PM
    Edited by: michael_obrien on Jan 20, 2010 6:21 PM

Maybe you are looking for