Wlappc ANT task "runtimeFlags" attribute doesn't take effect

I am intermittently counter "java.lang.OutOfMemoryError" error while I am running wlappc ANT task to compile jsp pages. I have lots of jsp files (about 500). According to weblogic's document, I set runtimeFlags="-J-ms512m -J-mx1024m". So my ant task looks like this:
          <wlappc source="${websrc}" output="${output}" runtimeFlags="-J-ms1024m -J-mx1024m">
          </wlappc>
          But it doesn't work. It still complains out of memory error. I tried various approach including "-J-Xms1024m -J-Xmx1024m". But not helpful at all.
          So I gave up and ended up using weblogic.appc class to build my jsp pages. So I have fully control of jvm options. I set up -Xms1024m -Xmx1024m as JVM parameters and works well.
          It looks to me that wlappc ANT task ignore runtimeFlags at all. It doesn't take any effect.
          Is it a known bug? anyone succeeded solving OutOfMemoryError by setting runtimeFlags attribute of wlappc ANT task?

I was having the same issue.
          Try using the maxmemory argument for the standard java ant task and calling weblogic.appc:
          <java classname="weblogic.appc" fork="yes" failonerror="true" maxmemory="256m">
          <classpath>
          <fileset dir="${weblogic.home}/server/lib" includes="weblogic.jar,webservices.jar" />
          </classpath>
          <arg value="${ear.dir}" />
          <arg value="-verbose" />
          </java>

Similar Messages

  • Properties file not found by classloader when using wlappc ant task

    I have encountered a problem with the WebLogic Ant task "wlappc". When this task compiles a webmodule that uses the struts 1.1 framework I get the below error. This struts based web module deploys and runs fine on BEA Weblogic 8.1 SP2 as an exploded EAR structure. But when I attempt to precompile all the J2EE modules the struts web module will not compile with wlappc. The project is strutured correctly in a split directory structure. The problem area seems to be that we are using the struts-el (struts-el.jar) classes which need the properties files located in the struts.jar. The classloader seems to space out when running via the wlappc ant task. I tried adjusting the classpath via the "classpath" wlappc ant task attribute - but no success. Has anyone had this or a similiar problem?
    Any suggestions would be greatly appreciated!
    Thanks in advance,
    Scott
    Error from ant task is as such:
    compile:
    [javac] Compiling 256 source files to C:\My Builds\WWL\build\wwlentityejb
    [javac] Compiling 4 source files to C:\My Builds\WWL\build\wwlsessejb
    [javac] Compiling 91 source files to C:\My Builds\WWL\build\wwlweb\WEB-INF\classes
    appc:
    [wlappc] [appc] Compiling EAR module 'wwltestweb'
    [wlappc] [JspcInvoker]Checking web app for compliance.
    [wlappc] <Jul 28, 2004 4:38:47 PM GMT-05:00> <Info> <HTTP> <BEA-101047> <[ComplianceChecker] Validating the servlet element with servlet-name named "JUnitEETestServlet".>
    [wlappc] <Jul 28, 2004 4:38:48 PM GMT-05:00> <Info> <HTTP> <BEA-101047> <[ComplianceChecker] Checking servlet-mapping for servlet name : "JUnitEETestServlet".>
    [wlappc] [appc] Compiling EAR module 'wwlweb'
    [wlappc] [JspcInvoker]Checking web app for compliance.
    [wlappc] <Jul 28, 2004 4:38:48 PM GMT-05:00> <Info> <HTTP> <BEA-101047> <[ComplianceChecker] Validating the servlet element with servlet-name named "wwlActionServlet".>
    [wlappc] <Jul 28, 2004 4:38:48 PM GMT-05:00> <Info> <HTTP> <BEA-101047> <[ComplianceChecker] Checking servlet-mapping for servlet name : "wwlActionServlet".>
    [wlappc] <Jul 28, 2004 4:38:48 PM GMT-05:00> <Info> <HTTP> <BEA-101047> <[ComplianceChecker] Checking filter-mapping with filter-name "I18NFilter".>
    [wlappc] <Jul 28, 2004 4:38:48 PM GMT-05:00> <Info> <HTTP> <BEA-101047> <[ComplianceChecker] Checking filter-mapping with filter-name "Security Filter".>
    [wlappc] [jspc] parsing /admin/jsps/menu.jsp:
    [wlappc] Jul 28, 2004 4:38:50 PM org.apache.struts.util.MessageResourcesFactory createFactory
    [wlappc] SEVERE: MessageResourcesFactory.createFactory
    [wlappc] java.lang.ClassNotFoundException: org.apache.struts.util.PropertyMessageResourcesFactory
    [wlappc] at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
    [wlappc] at java.security.AccessController.doPrivileged(Native Method)
    [wlappc] at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
    [wlappc] at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    [wlappc] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:272)
    [wlappc] at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    [wlappc] at org.apache.struts.util.RequestUtils.applicationClass(RequestUtils.java:207)
    [wlappc] at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:192)
    [wlappc] at org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:576)
    [wlappc] at org.apache.struts.util.RequestUtils.<clinit>(RequestUtils.java:134)
    [wlappc] at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:192)
    [wlappc] at org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:576)
    [wlappc] at org.apache.struts.taglib.html.BaseTag.<clinit>(BaseTag.java:94)
    [wlappc] at java.lang.Class.forName0(Native Method)
    [wlappc] at java.lang.Class.forName(Class.java:140)
    [wlappc] at org.apache.strutsel.taglib.html.ELBaseTagBeanInfo.class$(ELBaseTagBeanInfo.java:81)
    [wlappc] at org.apache.strutsel.taglib.html.ELBaseTagBeanInfo.getPropertyDescriptors(ELBaseTagBeanInfo.java:81)
    [wlappc] at java.beans.Introspector.getTargetPropertyInfo(Introspector.java:436)
    [wlappc] at java.beans.Introspector.getBeanInfo(Introspector.java:372)
    [wlappc] at java.beans.Introspector.getBeanInfo(Introspector.java:207)
    [wlappc] at java.beans.Introspector.getBeanInfo(Introspector.java:193)
    [wlappc] at weblogic.servlet.jsp.StandardTagLib.parseTagDD(StandardTagLib.java:1323)
    [wlappc] at weblogic.servlet.jsp.StandardTagLib.parseDD(StandardTagLib.java:1261)
    [wlappc] at weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:292)
    [wlappc] at weblogic.servlet.jsp.TagLibHelper.loadTagLib(TagLibHelper.java:314)
    [wlappc] at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:145)
    [wlappc] at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:5015)
    [wlappc] at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4853)
    [wlappc] at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4699)
    [wlappc] at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2094)
    [wlappc] at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1880)
    [wlappc] at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1753)
    [wlappc] at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:963)
    [wlappc] at weblogic.servlet.jsp.JspParser.doit(JspParser.java:106)
    [wlappc] at weblogic.servlet.jsp.JspParser.parse(JspParser.java:230)
    [wlappc] at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:125)
    [wlappc] at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258)
    [wlappc] at weblogic.jspc.runJspc(jspc.java:550)
    [wlappc] at weblogic.jspc.runJspc(jspc.java:437)
    [wlappc] at weblogic.servlet.jsp.JspcInvoker.compile(JspcInvoker.java:163)
    [wlappc] at weblogic.appc.compileWAR(appc.java:859)
    [wlappc] at weblogic.appc.compileModules(appc.java:650)
    [wlappc] at weblogic.appc.compileEAR(appc.java:733)
    [wlappc] at weblogic.appc.compileInput(appc.java:458)
    [wlappc] at weblogic.appc.runBody(appc.java:184)
    [wlappc] at weblogic.utils.compiler.Tool.run(Tool.java:146)
    [wlappc] at weblogic.utils.compiler.Tool.run(Tool.java:103)
    [wlappc] at weblogic.appc.main(appc.java:1028)
    [wlappc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wlappc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [wlappc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [wlappc] at java.lang.reflect.Method.invoke(Method.java:324)
    [wlappc] at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:278)
    [wlappc] at weblogic.ant.taskdefs.j2ee.Appc.execute(Appc.java:179)
    [wlappc] at org.apache.tools.ant.Task.perform(Task.java:341)
    [wlappc] at org.apache.tools.ant.Target.execute(Target.java:309)
    [wlappc] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [wlappc] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [wlappc] at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    [wlappc] at org.apache.tools.ant.Main.runBuild(Main.java:609)
    [wlappc] at org.apache.tools.ant.Main.start(Main.java:196)
    [wlappc] at org.apache.tools.ant.Main.main(Main.java:235)
    [wlappc] Jul 28, 2004 4:38:50 PM org.apache.struts.util.MessageResourcesFactory createFactory
    [wlappc] SEVERE: MessageResourcesFactory.createFactory
    [wlappc] java.lang.ExceptionInInitializerError
    [wlappc] at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:192)
    [wlappc] at org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:576)
    [wlappc] at org.apache.struts.taglib.html.BaseTag.<clinit>(BaseTag.java:94)
    [wlappc] at java.lang.Class.forName0(Native Method)
    [wlappc] at java.lang.Class.forName(Class.java:140)
    [wlappc] at org.apache.strutsel.taglib.html.ELBaseTagBeanInfo.class$(ELBaseTagBeanInfo.java:81)
    [wlappc] at org.apache.strutsel.taglib.html.ELBaseTagBeanInfo.getPropertyDescriptors(ELBaseTagBeanInfo.java:81)
    [wlappc] at java.beans.Introspector.getTargetPropertyInfo(Introspector.java:436)
    [wlappc] at java.beans.Introspector.getBeanInfo(Introspector.java:372)
    [wlappc] at java.beans.Introspector.getBeanInfo(Introspector.java:207)
    [wlappc] at java.beans.Introspector.getBeanInfo(Introspector.java:193)
    [wlappc] at weblogic.servlet.jsp.StandardTagLib.parseTagDD(StandardTagLib.java:1323)
    [wlappc] at weblogic.servlet.jsp.StandardTagLib.parseDD(StandardTagLib.java:1261)
    [wlappc] at weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:292)
    [wlappc] at weblogic.servlet.jsp.TagLibHelper.loadTagLib(TagLibHelper.java:314)
    [wlappc] at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:145)
    [wlappc] at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:5015)
    [wlappc] at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4853)
    [wlappc] at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4699)
    [wlappc] at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2094)
    [wlappc] at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1880)
    [wlappc] at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1753)
    [wlappc] at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:963)
    [wlappc] at weblogic.servlet.jsp.JspParser.doit(JspParser.java:106)
    [wlappc] at weblogic.servlet.jsp.JspParser.parse(JspParser.java:230)
    [wlappc] at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:125)
    [wlappc] at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258)
    [wlappc] at weblogic.jspc.runJspc(jspc.java:550)
    [wlappc] at weblogic.jspc.runJspc(jspc.java:437)
    [wlappc] at weblogic.servlet.jsp.JspcInvoker.compile(JspcInvoker.java:163)
    [wlappc] at weblogic.appc.compileWAR(appc.java:859)
    [wlappc] at weblogic.appc.compileModules(appc.java:650)
    [wlappc] at weblogic.appc.compileEAR(appc.java:733)
    [wlappc] at weblogic.appc.compileInput(appc.java:458)
    [wlappc] at weblogic.appc.runBody(appc.java:184)
    [wlappc] at weblogic.utils.compiler.Tool.run(Tool.java:146)
    [wlappc] at weblogic.utils.compiler.Tool.run(Tool.java:103)
    [wlappc] at weblogic.appc.main(appc.java:1028)
    [wlappc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wlappc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [wlappc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [wlappc] at java.lang.reflect.Method.invoke(Method.java:324)
    [wlappc] at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:278)
    [wlappc] at weblogic.ant.taskdefs.j2ee.Appc.execute(Appc.java:179)
    [wlappc] at org.apache.tools.ant.Task.perform(Task.java:341)
    [wlappc] at org.apache.tools.ant.Target.execute(Target.java:309)
    [wlappc] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [wlappc] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [wlappc] at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    [wlappc] at org.apache.tools.ant.Main.runBuild(Main.java:609)
    [wlappc] at org.apache.tools.ant.Main.start(Main.java:196)
    [wlappc] at org.apache.tools.ant.Main.main(Main.java:235)
    [wlappc] Caused by: java.lang.NullPointerException
    [wlappc] at org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:577)
    [wlappc] at org.apache.struts.util.RequestUtils.<clinit>(RequestUtils.java:134)
    [wlappc] ... 52 more
    BUILD FAILED
    file:C:/My Sources/WWLEar/wwlear/build.xml:128: weblogic.utils.compiler.ToolFailureException: [J2EE:160119]Appc is unable to process the file 'C:\My Builds\WWL\build'. The following error occurred:
    java.lang.ExceptionInInitializerError
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:140)
    at org.apache.strutsel.taglib.html.ELBaseTagBeanInfo.class$(ELBaseTagBeanInfo.java:81)
    at org.apache.strutsel.taglib.html.ELBaseTagBeanInfo.getPropertyDescriptors(ELBaseTagBeanInfo.java:81)
    at java.beans.Introspector.getTargetPropertyInfo(Introspector.java:436)
    at java.beans.Introspector.getBeanInfo(Introspector.java:372)
    at java.beans.Introspector.getBeanInfo(Introspector.java:207)
    at java.beans.Introspector.getBeanInfo(Introspector.java:193)
    at weblogic.servlet.jsp.StandardTagLib.parseTagDD(StandardTagLib.java:1323)
    at weblogic.servlet.jsp.StandardTagLib.parseDD(StandardTagLib.java:1261)
    at weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:292)
    at weblogic.servlet.jsp.TagLibHelper.loadTagLib(TagLibHelper.java:314)
    at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:145)
    at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:5015)
    at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4853)
    at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4699)
    at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2094)
    at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1880)
    at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1753)
    at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:963)
    at weblogic.servlet.jsp.JspParser.doit(JspParser.java:106)
    at weblogic.servlet.jsp.JspParser.parse(JspParser.java:230)
    at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:125)
    at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258)
    at weblogic.jspc.runJspc(jspc.java:550)
    at weblogic.jspc.runJspc(jspc.java:437)
    at weblogic.servlet.jsp.JspcInvoker.compile(JspcInvoker.java:163)
    at weblogic.appc.compileWAR(appc.java:859)
    at weblogic.appc.compileModules(appc.java:650)
    at weblogic.appc.compileEAR(appc.java:733)
    at weblogic.appc.compileInput(appc.java:458)
    at weblogic.appc.runBody(appc.java:184)
    at weblogic.utils.compiler.Tool.run(Tool.java:146)
    at weblogic.utils.compiler.Tool.run(Tool.java:103)
    at weblogic.appc.main(appc.java:1028)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:278)
    at weblogic.ant.taskdefs.j2ee.Appc.execute(Appc.java:179)
    at org.apache.tools.ant.Task.perform(Task.java:341)
    at org.apache.tools.ant.Target.execute(Target.java:309)
    at org.apache.tools.ant.Target.performTasks(Target.java:336)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
    at org.apache.tools.ant.Main.runBuild(Main.java:609)
    at org.apache.tools.ant.Main.start(Main.java:196)
    at org.apache.tools.ant.Main.main(Main.java:235)
    Caused by: java.lang.NullPointerException
    at org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:577)
    at org.apache.struts.taglib.html.BaseTag.<clinit>(BaseTag.java:94)
    ... 49 more
    - with nested exception:
    [java.lang.ExceptionInInitializerError]
    Total time: 42 seconds

    Hi Rob,
    I also gets this error when I deploy my application using struts 1.2.2 with struts-el.jar also.
    The error is thrown when the server comile the jsp's :
    <BEA-101047>[ServletContext(id=20164970,name=tracer,context-path=/tracer)] classfile up-to-date for JSP /webdatagrid/layouts/default/customize.jsp>
    ####<Sep 2, 2004 2:05:26 PM EDT> <Info> <HTTP> <nyeqshu2> <sit1tracerweb> <ExecuteThread: '3' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <>
    <BEA-101047> <[ServletContext(id=20164970,name=tracer,context-path=/tracer)] checking /webdatagrid/layouts/default/exceldownload.jsp:>
    ####<Sep 2, 2004 2:05:30 PM EDT> <Error> <Deployer> <nyeqshu2> <sit1tracerweb> <ExecuteThread: '3' for queue: 'weblogic.kernel.System'> <<WLS Kernel>>
    <>
    <BEA-149201> <Failed to complete the deployment task with ID 0 for the application tracer-webapp-application-uncontrolled.
    java.lang.NullPointerException
    at org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:577)
    at org.apache.struts.taglib.html.BaseTag.<clinit>(BaseTag.java:94)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:140)
    at org.apache.strutsel.taglib.html.ELBaseTagBeanInfo.class$(ELBaseTagBeanInfo.java:81)
    at org.apache.strutsel.taglib.html.ELBaseTagBeanInfo.getPropertyDescriptors(ELBaseTagBeanInfo.java:81)
    at java.beans.Introspector.getTargetPropertyInfo(Introspector.java:436)
    at java.beans.Introspector.getBeanInfo(Introspector.java:372)
    at java.beans.Introspector.getBeanInfo(Introspector.java:207)
    at java.beans.Introspector.getBeanInfo(Introspector.java:193)
    at weblogic.servlet.jsp.StandardTagLib.parseTagDD(StandardTagLib.java:1323)
    at weblogic.servlet.jsp.StandardTagLib.parseDD(StandardTagLib.java:1261)
    at weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:292)
    at weblogic.servlet.jsp.TagLibHelper.loadTagLib(TagLibHelper.java:314)
    at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:145)
    at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:5015)
    at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4853)
    at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4699)
    at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2094)
    at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1880)
    at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1753)
    at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:963)
    at weblogic.servlet.jsp.JspParser.doit(JspParser.java:106)
    at weblogic.servlet.jsp.JspParser.parse(JspParser.java:230)
    at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:125)
    at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258)
    at weblogic.servlet.jsp.Precompiler.compileOne(Precompiler.java:191)
    at weblogic.servlet.jsp.Precompiler.compile(Precompiler.java:71)
    at weblogic.servlet.jsp.Precompiler.compile(Precompiler.java:82)
    at weblogic.servlet.internal.WebAppServletContext.precompileJSPs(WebAppServletContext.java:4908)
    at weblogic.servlet.internal.WebAppServletContext.precompileJSPs(WebAppServletContext.java:4886)
    at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(WebAppServletContext.java:2342)
    at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:565)
    at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:493)
    at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:628)
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:626)
    at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(J2EEApplicationContainer.java:3011)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1532)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    --------------- nested within: ------------------
    weblogic.management.ManagementException: - with nested exception:
    [java.lang.NullPointerException]
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2491)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    ####<Sep 2, 2004 2:37:29 PM EDT> <Info> <Deployer> <nyeqshu2> <sit1tracerweb> <ExecuteThread: '2' for queue: 'weblogic.kernel.System'> <<WLS Kernel>>
    <>
    <BEA-149059> <Module tracer of application tracer-webapp-application-1_6_3_510 is transitioning from unprepared to prepared on server sit1tracerweb
    .>
    ####<Sep 2, 2004 2:37:39 PM EDT> <Debug> <HTTP> <nyeqshu2> <sit1tracerweb> <ExecuteThread: '2' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <>
    ####<Sep 2, 2004 2:37:39 PM EDT> <Debug> <HTTP> <nyeqshu2> <sit1tracerweb> <ExecuteThread: '2' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <>
    <BEA-101211> <tracer-webapp-application-1_6_3_510:tracer Precompiling JSPs at startup with JSP config [JspConfig: verbose=true,packagePrefix=jsp_servl
    et,-compiler=javac,compileFlags=,workingDir=./applications/tracer/WEB-INF/classes,pageCheckSeconds=5,superclass=weblogic.servlet.jsp.JspBase,keepgener
    ated=true,precompileContinue=false,compilerSupportsEncoding=true,encoding=null,defaultfilename=index.jsp,compilerclass=null,noTryBlocks=true,debugEnab
    led=false,printNulls=true,jspServlet=null].>
    I've looked at the source code ant it is actually using the current thread's classloader.
    The fact is that it works fine when deployed to tomcat 4.1.30, but it fails when deploying on our weblogic managed servers.
    Thanks
    Julien De Santis
    CGI Group

  • Why wlappc ANT task forces aways the generation of the EJB classes ?

    I've got a problem with the ANT task "wlappc" witch interfaces Weblogic compilator.
    In fact, I would like to execute the ebj compilation only when needed (if the deployment descriptor or a class changed for example).
    It seems that this is the default behavior and the 'forcegeneration' option of the wlappc Ant task can change it (the doc is below).
    forceGeneration :
    Forces generation of EJB and JSP classes. Without this flag, the classes will not be regenerated unless a checksum indicates that it is necessary.
    So I wrote :
    <wlappc source="${descriptors}/CommandeEntities" output="${build}/CommandsEntities.jar" keepgenerated="true" verbose="true" forcegeneration="false">
         <classpath refid="ejb.classpath"/>
    </wlappc>
    but I got the folowing result :
    ejbjar:
    [wlappc] Warning, output location exists H:\devWv2\wv2\build\CommandesEntities.jar
    [wlappc] Created working directory: C:\DOCUME~1\vdoneva\LOCALS~1\Temp\appcgen_1221729775921_CommandesEntities
    [wlappc] 18 sept. 2008 11:22:59 weblogic.diagnostics.debug.DebugLogger debug
    [wlappc] FIN: [VersionHelper] Recompiling because no previous hashes found
    [wlappc] 18 sept. 2008 11:22:59 weblogic.diagnostics.debug.DebugLogger debug
    [wlappc] FIN: [EJBCompiler] Compliance Checker said bean was compliant
    [wlappc] 18 sept. 2008 11:22:59 weblogic.diagnostics.debug.DebugLogger debug
    [wlappc] FIN: [EJBCompiler] Generating Bean Sources
    [wlappc] 18 sept. 2008 11:22:59 weblogic.diagnostics.debug.DebugLogger debug
    [wlappc] FIN: [EJBCompiler] Generating source for ejb WCritereListeMulticritere
    [wlappc] 18 sept. 2008 11:22:59 weblogic.diagnostics.debug.DebugLogger debug
    [wlappc] FIN: [EJBCompiler] Generated the following sources for this EJB: [C:\DOCUME~1\vdoneva\LOCALS~1\Temp\appcgen_1221729775921_CommandesEntities\com\experian\wv2\db\WCritereListeMulticritere_u6449c_LocalHomeImpl.java, C:\DOCUME~1\vdoneva\LOCALS~1\Temp\appcgen_1221729775921_CommandesEntities\com\experian\wv2\db\WCritereListeMulticritere_u6449c_ELOImpl.java]
    [wlappc] 18 sept. 2008 11:22:59 weblogic.diagnostics.debug.DebugLogger debug
    [wlappc] FIN: [EJBCompiler] Generating Persistence Sources
    [wlappc] 18 sept. 2008 11:22:59 weblogic.diagnostics.debug.DebugLogger debug
    [wlappc] FIN: [EJBCompiler] Generating Bean Sources
    [wlappc] 18 sept. 2008 11:22:59 weblogic.diagnostics.debug.DebugLogger debug
    [wlappc] FIN: [EJBCompiler] Generating source for ejb Document
    [wlappc] 18 sept. 2008 11:23:00 weblogic.diagnostics.debug.DebugLogger debug
    [wlappc] FIN: [EJBCompiler] Generated the following sources for this EJB: [C:\DOCUME~1\vdoneva\LOCALS~1\Temp\appcgen_1221729775921_CommandesEntities\com\experian\wv2\db\Document_6vm6yi_LocalHomeImpl.java, C:\DOCUME~1\vdoneva\LOCALS~1\Temp\appcgen_1221729775921_CommandesEntities\com\experian\wv2\db\Document_6vm6yi_ELOImpl.java]
    [wlappc] 18 sept. 2008 11:23:02 weblogic.diagnostics.debug.DebugLogger debug
    [wlappc] FIN: [EJBCompiler] Generating Persistence Sources
    [wlappc] 18 sept. 2008 11:23:02 weblogic.diagnostics.debug.DebugLogger debug
    [wlappc] FIN: [EJBCompiler] Compiling EJB sources
    [wlappc] Note: Some input files use unchecked or unsafe operations.
    [wlappc] Note: Recompile with -Xlint:unchecked for details.
    [wlappc] 18 sept. 2008 11:23:10 weblogic.diagnostics.debug.DebugLogger debug
    [wlappc] FIN: [EJBCompiler] Recompilation completed
    [wlappc] 18 sept. 2008 11:23:10 weblogic.diagnostics.debug.DebugLogger debug
    [wlappc] FIN: [EJBCompiler] Rmic completed
    [wlappc] Compilation completed successfully.
    [jar] Updating jar: H:\devWv2\wv2\build\CommandesEntities.jar
    BUILD SUCCESSFUL
    All the classes witch hasn't changed has been checked and regenerated. The compliler says "Recompiling because no previous hashes found".
    But why ? It could be besause it creates a different working directory each time I execute this ant task ? Is this working directory configurable ?
    Would you have any idea of what's happening ?
    Thanks.

    You can find this in the 'org\apache\tools\ant\taskdefs\defaults.properties'
    file of %wl-home%\server\lib\ant\ant.jar
    --Sathish
    <Michael Lee> wrote in message news:[email protected]..
    I mean the definition of "wlappc" not the help for wlappc???thx.
    i.e.
    where can i find the sentence list below:
    <taskdef name="wlappc" classname="weblogic.ant.taskdefs.j2ee.Appc"/>
    I mean which files this "taskdef" is being in .

  • _kill_enqueue_blocker=1 doesn't take effective on 10.2.0.4rac, hp-ux 11v3

    Hi everyone ,
    My database is running on hp ux ia64 , 11.31 v3 , Oracle 10.2.0.4 RAC (ASM)
    my test machine are hung , the messages are:
    ORA-00494: enqueue [CF] held for too long (more than 900 seconds) by 'inst 1, osid 28268'
    Killing enqueue blocker (pid=28268) on resource CF-00000000-00000000
    Then I found that from 10.2.0.4 on , Oracle rac would kill any process after a enqueue lock hang timeout , then I try to set killenqueue_blocker from 3 to 1 to prevent the pmon from killing backcground process , but the impilicit parameter doesn't take effective after restart.
    I query with th following sql:
    select ksppinm,ksppstvl from x$ksppcv cv,x$ksppi pi where cv.indx=pi.indx and pi.ksppinm like '_kill_enqueue_blocker';
    but the result is still 3....
    Then I enable XML db feature to ftp to download the spfile....
    The content *._kill_enqueue_blocker=1 appear in spfile but not take effective in database runtime , is there anything i missed ? Thanks!!!
    Regards,Jay.

    Check MOS note 753290.1.
    and better raise an SR with MOS.
    regards

  • Account Analysis Report parameters doesn't take effect on output

    Hi all,
    I run the Account Analysis Report(XLAAARPT) but the parameters doesn't take effect on output... In System Administrator responsibility i check the params P_RESP_APPLICATION_ID and P_JE_SOURCE_NAME to be displayed so the user can choose from LoV but the didn't take any effect on the result. If i specify to display the result from this report only for Payables source - i receive all other sources too(Asset, Receivables, etc...). Any ideas what should i change to make it work correctly?
    EBS Version : 12.1.3.
    Thanks in advance,
    Bahchevanov.

    Issue solved. I have to change the data definition xml file by adding some WHERE clauses to use the parameter for the source. In fact i'm not sure this is the best way to achieve it but it works.
    BR,
    Bahchevanov.

  • Out of memory issue when executing wlappc ant task

    I am using weblogic 8.1 sp1 and doing a compilation for a little bit large EAR file using ant task. But it always throws out of memory error when the wlappc invoked the compiler to compile the jsp files.
    According to BEA's documentation<CR104610>, I put the runtimeflags with "-J-ms256m -J-mx512m" option into the wlappc tag and Ant seems recognizing this option but it didn't work. I tried every possible memory size to get rid of this problem, but the process still failed with the error message:
    The system is out of resources.
    Consult the following stack trace for details.
    java.lang.OutOfMemoryError
    - with nested exception:
    [Compilation errors : ]
    My computer has 1G memory, so it shouldn't be the hardware problem.
    Does anyone have an idea on this?
    Thanks in advance,
    Jacky

    Hi,
    Ant seems to use its own JVM and thus in the javac options during runtime,try specifying ANT java options for setting the memory parameters.
    ANT options would be memoryInitialSize and memoryMaximumSize.
    http://ant.apache.org/manual/index.html
    Hope this helps.

  • Online Plan change doesn't take effect!

    After over  a decade and a half  of being with AT&T I switched here.   Last month I changed my plan online (minutes) .  When I submitted the change last month, the message said "It will take effect next cycle on 05/10/2011".   Now I see my next bill now, and the plan has not changed!   I just tried calling customer service and they've some technical issues and can't pull up any billing info temporarily !    I just don't understand when I saw it said the plan change was confirmed and it will take effect and now it's the same plan !  So now I did it again and it says now it will take effect 06/10/2011!   This time I printed the  daamnn thing to make sure there's nothing funky going on!   I'm really ticked off.  

    Personally, I would make the plan change immediate and just pay the prorates since you are wanting the plan changed and you are having trouble with getting it changed on the next billing cycle

  • Trying to crop a scene.  it's against greenscreen. i click the 'done' button but doesn't take effect. what am i doing wrong?

    i am trying to crop a scene. it is against greenscreen. does that matter? it won't take effect when i click on the done button.

    Hi Mascord,
    Both the conditions 'Required' and 'Anyone' or 'Prefill' cannot work simultaneously.
    As per your workflow you can assign the role of one of the form fields as 'Prefill' and the others 'Anyone' without making them 'Required'.
    Regards,
    Rave

  • Chown doesn't take effect

    I've been trying to install MySQL on an external driver (Western Digital Passport). I've got a symbolic link from /usr/local/mysql on the internal drive to the Passport directory /Volumes/PASSPORT/mysql-5.1.34. So far, so good.
    The next step is
    $cd mysql
    which correctly takes me to the directory on the external drive.
    However, the next step
    $ chown -R mysql .
    which should change the ownership of all the files to "mysql" doesn't. I've tried it as myself, using sudo and then login as root. Nothing works. What's
    very interesting is when logged in as myself, I see the user and group but when logged in as root, I see "unknown unknown" when doing an "ls -al".
    Everything in the directory is set to 777 permissions.
    I even deleted everything and re-installed as root. Nope - "blanche" still owns everything.
    I'm baffled. I've been a unix/linux system admin for many, many years and never had this stumbling block.
    And all I want to do is get Drupal running, but I need MySQL first.
    help!

    murphey wrote:
    Reformating to Mac OSX Extended (journaled) did not solve the problem. In fact, it caused more. Neither external drives are now receognized. It is not possible to reboot the system. I've had to remove the battery and then reboot.
    I'm really not a happy camper. I had to buy a new external drive to backup the
    original one (the laptop only has 20 GB disk, the external had 80GB).
    And any attempt to examine USB within Disk Utility hangs the system.
    Is this an intel mac? I am not familiar with them. People recommend different formatting options for them. Do not know why.
    This strikes me as a hardware problem. Could be formatting problem. How old is the hardware. Try the drive on a different machine.
    What type of hardware.
    I guess I'm going to install MySQL and Drupal on WinXP. It's easier. Wait! I already have MySQL on my WinXP box...Don't have a web server on it.
    So - after spending the entire day (and money) I'm going to end up dusting off the RedHat system afterall.
    Hm...I'm not so interested in Drupal afterall.

  • Non-scrolling topic - CSS change doesn't take effect

    I am trying to create a non-scrolling region in WebHelp, RH 9. I followed some instructions to change the style tag for the area that I don't want to have scroll to position="fixed." Unfortunately, this doesn't seem to change my output at all and the region scrolls just fine.
    I don't want to go the frame route. Any ideas? Here is the CSS code for the style. It appears at the top of the page, and I want it to stay at the top for all topics.
    H2 {
    font-weight: bold;
    font-size: 18.0pt;
    position: fixed;
    left: 0px;
    right: 0px;
    width: 100%;
    top:-24px;
    background-color: #ffffff;

    Hi all,
    About the need for non-scrolling regions: I just want to mention that as I was very happy to have found ways to add a non-scrolling region to topics for my online help, this once non-negotiable requirement from my client became less relevant when we decided to chunk the information, based on an information architecture, in such a way that the bulk of the text in a topic is never very long. In cases where there is a need for more information, I have used drop-down text to keep the page as short as possible and allow the reader to see the information at a glance. In early user testing of the online help, we did not use non-scrolling regions and the users never noticed it and never required it since they rarely had to scroll the pages to get the information.
    If ever you cannot find a way to make non-scrolling region work with your online help, maybe chunking your information may be something to consider, although I understand that it implies some or a lot of work and that it might not fit your timeline for delivery.
    François Masson

  • JTA timeout value doesn't take effect within stateful EJB

    Platform : weblogic10.3.5
    problem description: I have 2 ejbs: ejb1 is a stateful bean and the transaction is bean managed, the trans-timeout-seconds is set to 60; ejb2 is a stateless bean, transaction is container managed, transaction type is required, trans-timeout-seconds is 35. And the JTA timeout value set in weblogic console is 20.
    ejb1 invokes the ejb2's interface to access db, and this transaction should be committed since ejb2 is container managed transaction. Then ejb1 create userTransaction to access db. And I found the transaction will be timed out after 35 seconds, which is the trans-timeout-seconds of ejb2.
    Here is the sample code
    ejb1.method(){
         ejb2.method();
         try{
              Context ctx = new InitialContext();
              UserTransaction ut = (UserTransaction) ctx.lookup(USER_TRANSACTION_REF_NAME);
              ut.begin();
                   //do some operation
              ut.commit();
         }catch(Exception e){
                   try{
              ut.rollback();
                   }catch(Exception ee){
    Is timeout value of the user transaction created in ejb1 should be jta timeout 20? why the ejb2's trans-timeout-seconds affects the ejb1's usertransaction timeout value? does any body know the reason?
    Thanks

    A transaction timeout will not and cannot terminate user code as there
    is no Java API for doing so. If you wish the user code to timeout, try
    using the "setQueryTimeout()" method on the SQL statement. The WebLogic
    JTS will timeout the transaction using another thread and will prevent
    any JDBC activity associated with the global transaction from being
    commited.
    Sincerely,
    Charlie Therit
    Developer Relations Engineer
    BEA Support
    hjkuob wrote:
    "Dear Support,
    We encounter problems with transaction timeout and details as follows:
    A swing UI calls a session bean in which a DAO(Data Access Object) is invoked,
    In this DAO, it try to invoke a store procedure like following :
    dateSource = getTxDataSource();
    conn = (Connection)dataSource.getConnection();
    cstmt = conn.prepareCall("{call PK_AP_OO_CATCH_UP.P_AP_MAIN(?,?) }");
    cstmt.registerOutParameter(...........);
    cstmt.execute();
    When a irrevalent guy carelessly locked the table , the swing keep running for 5 hours and
    the transaction never throws exception ( both JTA and trans-timeout-seconds are set).
    I've also survey docments , however, we are not sure about the definition of Container-managed transactions
    and Bean-managed transactions. So there are two problems to be solved :
    1. How to solve the timeout problem as the sample code above for calling store procedures,
    and what kind of transctions it uses according to the definition ?
    2. If a normal sql statement is executed as follows , should we declare explicit transaction ( begin and commit) ? %

  • SRM-MDM fields distribution changes in UIsearch WD doesn't take effect

    Hi,
    we are running SRM 5 with catalog SRM-MDM 2 last sp
    We are trying to add two fields in the list view and in the shopping cart preview, so in the UIsearch webdynpro we introduce the field Order unit in both views.
    We do the changes with the user used in the call structure in SRM.
    But the new fields are not being showed in screen, no changes are being interpreted.
    we are saving in the search UI,
    any idea about this??
    Thanks
    BR

    Hi,
    Please check on the UI under the General Tab that you have selected "yes" to - Show Price Based Quantity. If it's selected as "No" it won't display the Oder Unit on the list view.
    Hope that helps.
    Regards,
    Shayne

  • Why custom layout not take effect if navigating from left tree

    Hi,
    I specified a custom layout for a repository in KM Content. The layout is a duplicate of AdminExplorer, which contains a tree structure in the left panel.
    The problem is, when I navigate the repository in the right panel, the custom layout is always in effect. However, if I navigate from the tree structure in the left panel, the custom layout doesn't take effect.
    Anyone knows why? I wonder if I forget to configure something, or this is indeed not supported?
    I don't know how to attach screenshot - if you wanna see the screenshot for more info, please add [email protected]
    Thanks,
    Ray

    problem doesn't exist. close it.

  • JavaTypes attribute of autoType Ant Task

    I have got two files Account.java and ContactInformation.java. I am trying to
    create webservices for Account.java and this java file uses a non-build in data
    type object ContactInformation.java.
    After compiling the code i try and generate the serialization class, xsd, xml
    and web-services xml using the ant task autotype. On running this i get the below
    mentioned error
    E:\bea\weblogic700\samples\server\src\examples\webservices\basic\account>E:\bea\weblogic700\server\bin\ant
    -buildfile build1.xml
    Buildfile: build1.xml
    generate-typeinfo:
    BUILD FAILED
    E:\bea\weblogic700\samples\server\src\examples\webservices\basic\account\build1.xml:6:
    The <autotype> task doesn't support the "javatypes" attribute.
    Total time: 1 second
    My entry in build1.xml is
    <project name="buildWebservice" default="generate-typeinfo">
         <target name="generate-typeinfo">
              <autotype javaTypes="com.sun.sample.ws.account.ContactInformation"
                        targetNamespace="http://www.bea.com/webservices/basic/statelesSession"
                        packageName="com.sun.sample.ws.account"
                        destDir="." />
              </target>
    </project>
    Can someone point out how can this be corrected?
    Regards,
    Rahul.

    Thanks Michael,
    This is what i am trying to do.
    I have Account.java as java class that is to be used as a web service backend
    component for weblogic web service. All the attributes of this class are primitive
    types. There is one data type that is a NON BUILT IN DATA TYPE. Now in such a
    scenario i need some more files to create a web service. The extra files are the
    serilization class, an XML Schema reprsenting the non built in data type, data
    type mapping information in the web-services.xml. These requiremnts are defined
    in Chapter 9 of the weblogic webservices pdf document.
    One can create the file manually or automatically. The manual is lengthy and complex
    so I am following the automatic procedure. The document also suggests automatic
    procedure. For that one need to write a build.xml with the contents that I have
    already posted. When I execute the same it gives me error that the attribute javaTypes
    is not supported.
    For ur ref i am attaching the Account.java, ContactInformation.java(This is the
    non built in data type used by Account.java, the websevice build.xml and the autotype
    auto_build.xml). They are in a zip file.(2KB)
    I followed the below steps after setting the env using the file setWLSEnv.cmd.
    Compiled the java files using javac -d . *.java.
    Now run the autotype ant task using auto_build.xml to generate the serilaization
    class and XML schema. Here I get the error posted in the earlier email to this
    group.
    Thanks in advance for ur help
    Rahul
    "Michael Wooten" <[email protected]> wrote:
    >
    Hi Rahul,
    I think this is either an error in the e-docs, or the code to actually
    add the
    javaTypes attribute to the AutoTypeTask didn't make it into the release.
    It sounds like you have already created the ContactInformation.class
    (from the
    ContactInformation.java file), so are you just trying to get something
    else out
    of the <autotype> Ant task? If you can tell me what you were looking
    for, I might
    be able to tell you how to get it.
    Regards,
    Mike Wooten
    "Rahul Naithani" <[email protected]> wrote:
    I have got two files Account.java and ContactInformation.java. I amtrying
    to
    create webservices for Account.java and this java file uses a non-build
    in data
    type object ContactInformation.java.
    After compiling the code i try and generate the serialization class,
    xsd, xml
    and web-services xml using the ant task autotype. On running this iget
    the below
    mentioned error
    E:\bea\weblogic700\samples\server\src\examples\webservices\basic\account>E:\bea\weblogic700\server\bin\ant
    -buildfile build1.xml
    Buildfile: build1.xml
    generate-typeinfo:
    BUILD FAILED
    E:\bea\weblogic700\samples\server\src\examples\webservices\basic\account\build1.xml:6:
    The <autotype> task doesn't support the "javatypes" attribute.
    Total time: 1 second
    My entry in build1.xml is
    <project name="buildWebservice" default="generate-typeinfo">
         <target name="generate-typeinfo">
              <autotype javaTypes="com.sun.sample.ws.account.ContactInformation"
                        targetNamespace="http://www.bea.com/webservices/basic/statelesSession"
                        packageName="com.sun.sample.ws.account"
                        destDir="." />
              </target>
    </project>
    Can someone point out how can this be corrected?
    Regards,
    Rahul.
    [testcode.zip]

  • Ant Task Doesn't work : Generating autotypes using Schema

    I have XML schema which import other schemas.Now when i try to generate
    autotype for this schema, it gives error
    "Unable to resolve reference to specified path".
    Reason being the URL specified as target namespace is not valid.
    Does autotype refers to URL for import the refererence .XSD.
    I have the required XSD in my path.
    Can autotype refer to local directory path instead of url.

    Hi Bruce
    I compared your simple.zip with my scenario and it looks
    like problem is with <include> clause.
    I have modified your simple example and i was able to reproduce the error.
    Please refer to attach file.
    Also let me know if i am doing anything wrong.
    I hope this is not limitation of Welogic ant task...this is very urgent
    Thanks
    Bruce Stephens <[email protected]> wrote:
    Hi,
    I posted a very simple schema import example recently [1] you might want
    take a look.
    Could you post a reproducer of the problem you are experiencing?
    Thanks,
    Bruce
    [1]
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.webservices&item=4642
    askbea wrote:
    I have XML schema which import other schemas.Now when i try to generate
    autotype for this schema, it gives error
    "Unable to resolve reference to specified path".
    Reason being the URL specified as target namespace is not valid.
    Does autotype refers to URL for import the refererence .XSD.
    I have the required XSD in my path.
    Can autotype refer to local directory path instead of url.
    [simple.zip]

Maybe you are looking for

  • How do I disable guest access in the advanced web controls? E2000

    Due to cisco connect not connecting and my rouer having some problems I have reset it and gone straight into the advanced web control panel. I have everything set up and running, but I see no way to turn off guest access. I do not want any "guests" t

  • Sawtooth suddenly having kernel panics

    All of a sudden I am having trouble with my secondary Mac, I have not changed a thing.... Tiger running with 1GB ram 250 gb hard drive partitioned Fixed startup drive (giving invalid sibling link- probably from all the crashes?) Can now start up in S

  • Unable to load OS X.3 on iMac G3

    I bought a used iMac G3, 450 mHz, 1 Gig hard drive. It came with 9.2 (which is now gone). I installed X.3 on a tower G3 earlier in the day with 9.2 on it... it went fine. Went to the iMac... put the CD in, go through all the beginning stuff, starts l

  • OutOfMemoryError immediately after starting SOA Server

    Hi, I have installed SOA suite 11.1.1.5 and weblogic 10.3.5 on my Windiws 7 64 bit machine with 8GB Ram. I have set the system variables to the following: EXTRA_JAVA_PROPERTIES: -Xms512m -Xmx512m path : C:\Program Files\Java\jre7\bin I have started W

  • Resaving a gif image

    Can anyone tell me if there is much image quality loss when resaving a gif image. I have not seen much loss, but would like to know for sure. Thanks.