Error in build.xml!!!
hi all,
i'm working with netbeans 6 rc.
i'm trying to build my first mobile application.
i want to create an animation picture.
when i tried to run it i get an error in build.xml file!!!
the only thing i want is to suggest me a book in pdf format
to create 2d games.
the basics things with same code examples.
I have some issues when building JME application in 6.0 too, try to use the latest version instead of RC and rebuild your applicaiton, if you still have the problem go back to version 5.5 or 5.5.1.
For gaming read on the net about Game API, download few examples, understand them and you are ready to go. Do not use Netbeans 6.0 for building the games if you don't understand fully what are you doing.
Thanks
Kris
Similar Messages
-
Sample-simple.2.2.1 error in build.xml
Hi all,
First, I ask for excuses for my english, is that I am Spanish
I have a error in build.xml when I try to ejecute "gen-all". The error is in "gen-component", "gen-beaninfo" and "gen-taglib". The exit prints:
Command Line Options:
-c {classname} CategoryDescriptors constants class
-C {packagename} Package containing ConstantMethodBinding
-d {directory} Destination directory for generators
-e {classname} Add FQCN of class to exclude for generation
-f {config URL} Parse configuration URL (repeatable)
-h Display help information
-i {classname} Add FQCN of class to include for generation
-L {classname} Add FQCN to list of servlet listeners
-m {markup} Default markup section [FORM]
-nobundles Encode description and display strings into gen code, not in resource bundles
-o {jarURL} Omit generation for classes in (design time) JAR
-O Override component and property descriptions from renderer and attributes
-p {prefix} Default taglib prefix
-r {id} Default render kit identifier
-t {filename} Filename to contain TLD
-T {packagename} Package for generated tag classes
-u {uri} Default taglib URI
-v Generated output should be verbose
-V {classname} Add FQCN to list of JSP validators
-x Exclude all classes parsed so far
-w Warn on missing config URLs, instead of error
--baseBI {class} Base class for java.beans.BeanInfo classes
--implBD {class} Implementation class for BeanDescriptors
--implPD {class} Implementation class for PropertyDescriptors
--cpBeanInfo Generate component BeanInfo classes
--cpBeanInfoBase Generate component BeanInfoBase classes
--cpClass Generate component classes
--cpClassBase Generate component base classes
--tlClass Generate tag library classes
--tlClassBase Generate tag library base classes
--tlDescriptor Generate tag library descriptor
--dump Dump contents of root configuration bean
--help Display help information
Exception in thread "main" java.lang.IllegalArgumentException: and
at com.sun.rave.jsfmeta.generators.Main.run(Main.java:521)
at com.sun.rave.jsfmeta.generators.Main.main(Main.java:279)
Java Result: 1
What am I doing bad? Please help me!
ThanksHi ,
I have an error like this below:
[java] Exception in thread "main" java.lang.IllegalArgumentException: and
[java] at com.sun.rave.jsfmeta.generators.Main.run(Main.java:521)
[java] at com.sun.rave.jsfmeta.generators.Main.main(Main.java:279)
BUILD FAILED
if someone know solution plz post it here
Thanks -
Error while building xml document
Hi Everyone,
I have a problem while building xml document.
I have developed my java files using IBM Eclipse 3.0 and i had no problem while executing the files.
But while i am trying to execute the same code in jdk/bin, xml document is not working..
No error encountered while compiling but while executing when i try to print the xml string it just gives the root element name like [root : null]
Can anyone suggest some solution?To the values element add xmlns:xsi and xsi:noNamespaceSchemaLocation.
<values xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:noNamespaceSchemaLocation="file:///c:/schema.xsd">schema.xsd is schema file. -
Help requested in spotting error in build.xml
Hi
I am unable to get my ant build.xml to run.
the build.xml file is as follows:
<property name="war.name" value="concepts"></property>
<property file="../common.properties"></property>
<!-- Main Target -->
<target name="init">
<mkdir dir="${build.dir}"></mkdir>
<mkdir dir="${classes.dir}"></mkdir>
<mkdir dir="${dist.dir}"></mkdir>
</target>
<target name="compile" depends="clover-yes,clover-no"/>
<javac classpath="${libs}" compiler="${compiler}" debug="on" deprecation="on" destdir="${classes.dir}" optimize="on" srcdir="${src.dir}">
<src>
<pathelement location="${src.dir}"></pathelement>
</src>
<classpath>
<fileset dir="${lib.dir}">
<include name="**/*.jar">
</include>
</fileset>
</classpath>
<include name="${src.dir}/org/apache/commons/fileupload/**/*.java"></include>
<include name="${src.dir}/com/portalbook/portlets/**/*.java"></include>
<include name="${src.dir}/com/portalbook/portlets/content/**/*.java"></include>
</javac>
</target>
<!--
<target depends="init" name="compile">
<javac debug="true" deprecation="true" destdir="${classes.dir}" optimize="false">
<src>
<pathelement location="${src.dir}"></pathelement>
</src>
<classpath>
<fileset dir="${lib.dir}">
<include name="*.jar">
</include>
</fileset>
</classpath>
</javac>
</target>
-->
<target depends="compile" name="buildwar">
<war destfile="${dist.dir}/${war.name}.war" webxml="WEB-INF/web.xml">
<classes dir="${classes.dir}"></classes>
<lib dir="${lib.dir}"></lib>
<webinf dir="${web-inf.dir}"></webinf>
</war>
</target>
<!-- create concepts-lib.jar -->
<jar jarfile="${build.lib}/concepts-lib.jar">
<fileset dir="${classes.dir}"></fileset>
</jar>
<!-- create concepts.war -->
<jar jarfile="${build.lib}/concepts.war" manifest="${build.etc}/concepts-war.mf">
<fileset dir="${build.resources}/concepts-war"></fileset>
</jar>
<!-- concepts.ear -->
<copy todir="${build.resources}/concepts-ear">
<fileset dir="${build.lib}" includes="concepts.war,concepts-lib.jar">
</fileset>
</copy>
<copy todir="${build.resources}/concepts-ear/META-INF">
<fileset dir="${build.resources}/etc" includes="application.xml">
</fileset>
</copy>
<jar jarfile="${build.lib}/concepts.ear">
<fileset dir="${build.resources}/concepts-ear" includes="concepts.war,concepts-lib.jar">
</fileset>
</jar>
<target depends="buildwar" name="explode">
<taskdef classname="org.jboss.nukes.common.ant.Explode" classpath="${libs}" name="explode"></taskdef>
<explode file="${build.lib}/concepts.ear" name="concepts.ear" todir="${build.lib}/exploded"></explode>
</target>
<target name="clean">
<delete dir="${build.dir}">
</delete>
<delete dir="${dist.dir}">
</delete>
</target>
</project>----------
On this xml file the editor says" end tag without start-tage"..
I am trying all the suggestions which the kind folks here have given me before. But I am still stuck.
TIAHi Dr.Clap
I tried incorporating your suggestions. I am learning.
I tried to make the script more readable. I tried putting in /> instead of "fileset/>
But it did not work. The editor complains.
I have the reworked XML file with me. Now the editor does not complain at all, but I can't get my classes to compile at all.
<project basedir="." default="deploy" name="PortalMar28">
<property name="src.dir" value="src"></property>
<property name="build.dir" value="${basedir}/build"></property>
<property name="build.lib" value="${build.dir}/lib"></property>
<property name="dist.dir" value="dist"></property>
<property name="classes.dir" value="${build.dir}/classes"></property>
<property name="build.etc" value="${src.dir}/etc"></property>
<property name="build.resources" value="${src.dir}/resources"></property>
<property name="lib.dir" value="lib"></property>
<property name="web-inf.dir" value="WEB-INF"></property>
<property name="war.name" value="concepts"></property>
<property file="../common.properties"></property>
<property name="libs.ant" value="${lib.dir}/explode.jar;${lib.dir}/portal-common-lib.jar;${lib.dir}/portal-core-lib.jar"></property>
<property name="libs" value="${libs.api};${libs.ant}"></property>
<available classname="org.apache.tools.ant.taskdefs.CloverCompilerAdapter" property="clover.available"></available>
<!-- Main Target -->
<target depends="prepare" if="clover.available" name="clover-yes">
<property name="compiler" value="org.apache.tools.ant.taskdefs.CloverCompilerAdapter"></property>
</target>
<target depends="prepare" name="clover-no" unless="clover.available">
<property name="compiler" value="modern"></property>
</target>
<target name="prepare">
<mkdir dir="${build.dir}"></mkdir>
<mkdir dir="${classes.dir}"></mkdir>
<mkdir dir="${dist.dir}"></mkdir>
</target>
<target depends="clover-yes, clover-no" name="deploy">
<javac classpath="${libs}" compiler="${compiler}" debug="on" deprecation="on" destdir="${classes.dir}" optimize="on" srcdir="${src.dir}">
<src>
<pathelement location="${src.dir}"></pathelement>
</src>
<classpath>
<fileset dir="${lib.dir}">
<include name="**/*.jar">
</include>
</fileset>
</classpath>
<include name="${src.dir}/org/apache/commons/fileupload/**/*.java"></include>
<include name="${src.dir}/com/portalbook/portlets/**/*.java"></include>
<include name="${src.dir}/com/portalbook/portlets/content/**/*.java"></include>
</javac>
<war destfile="${dist.dir}/${war.name}.war" webxml="WEB-INF/web.xml">
<classes dir="${classes.dir}"></classes>
<lib dir="${lib.dir}"></lib>
<webinf dir="${web-inf.dir}"></webinf>
</war>
<!-- create concepts-lib.jar -->
<jar jarfile="${build.lib}/concepts-lib.jar">
<fileset dir="${classes.dir}"></fileset>
</jar>
<!-- create concepts.war -->
<jar jarfile="${build.lib}/concepts.war" manifest="${build.etc}/concepts-war.mf">
<fileset dir="${build.resources}/concepts-war"></fileset>
</jar>
<!-- concepts.ear -->
<copy todir="${build.resources}/concepts-ear">
<fileset dir="${build.lib}" includes="concepts.war,concepts-lib.jar">
</fileset>
</copy>
<copy todir="${build.resources}/concepts-ear/META-INF">
<fileset dir="${build.resources}/etc" includes="application.xml">
</fileset>
</copy>
<jar jarfile="${build.lib}/concepts.ear">
<fileset dir="${build.resources}/concepts-ear" includes="concepts.war,concepts-lib.jar">
</fileset>
</jar>
</target>
<target depends="deploy" name="explode">
<taskdef classname="org.jboss.nukes.common.ant.Explode" classpath="${libs}" name="explode"></taskdef>
<explode file="${build.lib}/concepts.ear" name="concepts.ear" todir="${build.lib}/exploded"></explode>
</target>
<target name="clean">
<delete dir="${build.dir}">
</delete>
<delete dir="${dist.dir}">
</delete>
</target>
</project>-------------------------------------
thanks a lot. It is greatly appreciated. -
Error while building javaeetutorial5
When I try to build "bookstore" from javaeetutorial5 I get this error:
Buildfile: build.xml
-pre-init:
init:
default-ear:
-pre-compile:
bpp-actual-compilation:
[echo] Compiling bookstore
[javac] Compiling 11 source files to /opt/javaeetutorial5/examples/web/bookstore/build/classes
BUILD FAILED
/opt/javaeetutorial5/examples/bp-project/command-line-ant-tasks.xml:89: /opt/javaeetutorial5/examples/web/bookstore/c:/Sun/AppServer not found.
Total time: 1 second
The solution is to edit the file /javaeetutorial5/examples/bp-project/build.properties.sample
--davidHi David,
Yes, the problem came from the ../bp-project/build.properties & ../bp-project/app-server.properties files. As indicated from your error messages "/opt/javaeetutorial5/examples/web/bookstore/c:/Sun/AppServer not found." It seems you are using AppServer on a solaris machine while those configuration files are default for window enviroment "c:/Sun/AppServer not found."
Here is what you should to do:
-Copy build.properties.sample to build.properties
-Edit the variables below for the correct path:
javaee.home=<The installation directory of your AppServer>
javaee.server.name=<machine name> (localhost)
javaee.server.port=<The port number for the server instance> (8080)
javaee.server.username=<The administrator username>
javaee.server.passwordfile=</path/to/passwordfile>
Note:
Inside passwordfile add: AS_ADMIN_PASSWORD=<The administrator password>
javaee.adminserver.port=<The port number for admin server> (4848)
-Do the same thing for app-server.properties file (optional)
You can find the information above from the link below
http://java.sun.com/javaee/5/docs/tutorial/doc/
Section: About The Examples
-davis -
Error in my build.xml file (help with spotting syntax error requested)
Hi
I have written an XML file called build.xml for one of my applications. My XML editor complains that there is an error at the last line of the XML file, but I simply find it unable to correct the errror.
It says:
Fatal error:Build.xml[76:3-9]: End-Tag without start-tag
The XML file itself:
<project basedir="." default="deploy" name="concepts">
<property name="src.dir" value="src"></property>
<property name="build.dir" value="${basedir}/build"></property>
<property name="build.lib" value="${build.dir}/lib"></property>
<property name="dist.dir" value="dist"></property>
<property name="classes.dir" value="${build.dir}/classes"></property>
<property name="build.etc" value="${src.dir}/etc"></property>
<property name="build.resources" value="${src.dir}/resources"></property>
<property name="lib.dir" value="lib"></property>
<property name="web-inf.dir" value="WEB-INF"></property>
<property name="war.name" value="concepts"></property>
<property file="../common.properties"></property>
<target name="init">
<mkdir dir="${build.dir}"></mkdir>
<mkdir dir="${classes.dir}"></mkdir>
<mkdir dir="${dist.dir}"></mkdir>
</target>
<target name="deploy" depends="clover-yes, clover-no">
<javac srcdir="${src.dir}" destdir="${classes.dir}" classpath="${libs}" debug="off" optimize="on" deprecation="on" compiler="${compiler}">
<include name="org/apache/commons/fileupload/**/*.java" />
<include name="com/portalbook/portlets/**/*.java" />
<include name="com/portalbook/portlets/content/**/*.java" />
</javac>
<target depends="init" name="compile">
<javac debug="true" deprecation="true" destdir="${classes.dir}" optimize="false">
<src>
<pathelement location="${src.dir}"></pathelement>
</src>
<classpath>
<fileset dir="${lib.dir}">
<include name="*.jar">
</include>
</fileset>
</classpath>
</javac>
</target>
<target depends="compile" name="war">
<war destfile="${dist.dir}/${war.name}.war" webxml="WEB-INF/web.xml">
<classes dir="${classes.dir}"></classes>
<lib dir="${lib.dir}"></lib>
<webinf dir="${web-inf.dir}"></webinf>
</war>
</target>
<!-- create the portal-concepts-lib.jar -->
<jar jarfile="${build.lib}/concepts-lib.jar">
<fileset dir="${classes.dir}"></fileset>
</jar>
<jar jarfile="${build.lib}/concepts.war" manifest="${build.etc}/concepts-war.mf">
<fileset dir="${build.resources}/concepts-war"></fileset>
</jar>
<!-- concepts.ear -->
<copy todir="${build.resources}/concepts-ear">
<fileset dir="${build.lib}" includes="concepts.war,concepts-lib.jar"></fileset>
</copy>
<jar jarfile="${build.lib}/concepts.ear">
<fileset dir="${build.resources}/concepts-ear" includes="concepts.war,concepts-lib.jar">
</fileset>
</jar>
<target depends="deploy" name="explode">
<taskdef classname="org.jboss.nukes.common.ant.Explode" classpath="${libs}" name="explode"></taskdef>
<explode file="${build.lib}/concepts.ear" name="concepts.ear" todir="${build.lib}/exploded"></explode>
</target>
<target depends="war" name="all"></target>
<target name="clean">
<delete dir="${build.dir}">
</delete>
<delete dir="${dist.dir}">
</delete>
</target>
</project>
I am a little inexperienced in XML files. So I am unable to spot the error.
I would greatly appreciate it, if some kind soul were to help me out.
thanks a lotThe tag
<target name="deploy" depends="clover-yes, clover-no">...is never closed.
close that tag:
<target name="deploy" depends="clover-yes, clover-no">
<javac srcdir="${src.dir}" destdir="${classes.dir}" classpath="${libs}" debug="off" optimize="on" deprecation="on" compiler="${compiler}">
<include name="org/apache/commons/fileupload/**/*.java" />
<include name="com/portalbook/portlets/**/*.java" />
<include name="com/portalbook/portlets/content/**/*.java" />
</javac>
</target>Second error is that the depends in there (clover-yes, clover-no) are not existing as targets in your xml. -
Help with Flex Ant build.xml error
So I've started on a new project and I'm new to Flex. A lot of learning curve here. Anyway, I'm trying to deploy a project that uses flex and is built with Ant. We've moving up from a version of Flex 2 to Flex 3. The build file works fine in the Flex 2 app but for some reason does not seem to be working with Flex 3. I'm hoping someone can give me some insight on what might be wrong or where to start.
The error is Command not found: compc
The part of the build file it has a problem with is:
<compc include-classes="${classes}"
ouput="${flex.dist.dir}/${flex.app.name}.swc"
keep-generated-actionscript="false"
headless-server="${headless.server}"
incremental="true">
<load_config filename="${FLEX_HOME}/frameworks/flex-config.xml" />
<source-path path-element="${FLEX_HOME}/frameworks" />
<source-path path-element="${flex.app.root}" />
<compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
<include name="libs" />
<include name="../bundles/{local}" />
</compiler.library-path>
<compiler.library-path dir="${flex.app.root}" appent="true">
<include name="libs" />
</compiler.library-path>
</compc>
Any help at all would be greatly appreciated, thank you.Sorry, I meant to address that. Yes, since we've moved up to the Flex 3 sdk, we are pointing at a new directory. The old directory was flex_sdk and the new directory is flex_sdk_340.
FLEX_HOME is being set in the build.properties file for local building and then overidden in the build.xml file with this code:
<target name="build">
<available property="FLEX_HOME" value="/apps/flex_sdk_340" file="/apps/flex_sdk_340" />
<echo>FLEX_HOME = ${FLEX_HOME}</echo>
<antcall target="compile" />
</target>
I did notice a warning about not using the available property, so I removed it and just changed what FLEX_HOME was set to in the build.properties file to the server directory. Would mess up local building but regardless it didn't matter because it had no effect on the error being generated. I alos looked a little into the file property of the available tag trying to figure out if that was somehow an issue but I wasn't able to come to any conclusion.
Before the program errors out, it does displayt he echo statement and the value of FLEX_HOME appears to be correct in that it does show /apps/flex_sdk_340.
Thank you so much for your continued help. This is truly frustrating because nothing but a directory name has really changed and yet it stopped working. I can't find any information anywhere on what could be wrong and this is really my last resort. -
I have a WLI application (8.1.3) that builds fine in workshop. I exported the build file and updated the paths to point to the correct location, but when I build, I get the following error:
system/msg-header-2.0.xsd:15: error: Could not load resource "http://www.w3.org/2001/03/xml.xsd" (network download disabled)
system/msg-header-2.0.xsd:260: error: Attribute lang@http://www.w3.org/XML/1998/namespace not found
I'm trying to do this on a closed network. The fact that workshop can do it means that it should work. Any thoughts on what I need to add to the build?<p>Hello</p>
<p>Try adding download="true" to your xmlbean element of your build.xml file as described <a href="http://forums.bea.com/bea/thread.jspa?threadID=600004943&messageID=600008241">here</a></p>
<p>If that doesn't work then my only other guess is to find the jar file that contains xml.xsd and make sure it's on your classpath.</p>
<p>Hussein Badakhchani
</p> -
Hi.
I am bulding a XML Document but i am getting this error: Error in building: Not logged in. Why? In my PC it works well, but when I try run on NT server I get the error.
The class is very simple:
import org.jdom.Document;
import org.jdom.Element;
import org.jdom.JDOMException;
import org.jdom.input.SAXBuilder;
import org.xml.sax.InputSource;
public class ReadXmlDocument {
private Document objXmlDocument;
public void setXmlDocument() throws JDOMException {
if ( getFileName() != null ) {
SAXBuilder builder = new SAXBuilder();
objXmlDocument = builder.build( getFileName() );
} else {
throw new NullPointerException("File name has not been setted");
Thanks.For those that care, I found the solution/workaround.
This is an actually bug........... http://developer.java.sun.com/developer/bugParade/bugs/4880236.html
THe workaround is listen in the prroblem statement and is really simple.
Instead of passing a File into the pass a FileInputStream
CUSTOMER SUBMITTED WORKAROUND :
/** Since the java 2 sdk java.io.* package is keen on UNC paths the following
workaroung is quite simple and effective*/
java.io.File fileHandler = new
java.io.File("\\\\Network_name\\Share_name\\file_name.xml");
javax.xml.parsers.DocumentBuilderFactory factory =
DocumentBuilderFactory.newInstance();
try {
javax.xml.parsers.DocumentBuilder builder = factory.newDocumentBuilder();
//Create a new FileInputStream from the file handler
java.io.FileInputStream FIS = new java.io.FileInputStream(fileHandler);
//The parse function takes an InputStream as well
org.w3c.dom.Document xmlDoc = builder.parse(FIS);
catch (SAXException sxe) {
System.err.println("SaxException");
} catch (ParserConfigurationException pce) {
System.err.println("ParserConfigurationException");
} catch (IOException ioe) {
System.err.println("IOException");
This worked for me with SAXBuilder too -
Problems with BPEL Designer ERROR build.xml:28: ORABPEL-00000
following problem could someone help me, please
I'm using Oracle BPEL Designer Plugin bpelz_0.9.10_win32.exe installed manually on Eclipse 3.2 SDK???
Buildfile: C:\Programme\eclipse\workspace\SyncHelloWorld\build.xml
main:
[bpelc] bpelc> validating "C:\Programme\eclipse\workspace\SyncHelloWorld\SyncHelloWorld.bpel" ...
BUILD FAILED
C:\Programme\eclipse\workspace\SyncHelloWorld\build.xml:28: ORABPEL-00000
Exception not handled by the Collaxa Cube system.
An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is: "java.lang.NoClassDefFoundError: sun/tools/javac/Main
at com.collaxa.cube.util.JavaHelper.javac(JavaHelper.java:234)
at com.collaxa.cube.util.JavaHelper.javac(JavaHelper.java:204)
at com.collaxa.cube.lang.compiler.CubeProcessor.compileGeneratedClasses(CubeProcessor.java:1023)
at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:579)
at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:467)
at com.collaxa.cube.lang.compiler.CubeParserHelper.compileClientSide(CubeParserHelper.java:68)
at com.collaxa.cube.ant.taskdefs.Bpelc.execute(Bpelc.java:543)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:706)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:457)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:356)
at org.eclipse.ant.internal.ui.launchConfigurations.AntLaunchDelegate$1.run(AntLaunchDelegate.java:230)
at java.lang.Thread.run(Unknown Source)
Exception: java.lang.NoClassDefFoundError: sun/tools/javac/Main
Handled As: com.collaxa.cube.lang.compiler.CubeCExceptionHi
Where does your JAVA_HOME variable point to? To JRE or JDK? This looks like Eclipse can't find javac in your path.
^_^ -
"Build.xml file not exist"
Hey Guys,
i am currently involving in a servelet project (RendreX). i want to install apachi ant as a prerequirement. i am using windows 2003 server. I already downloded latest ant version and apache tomcat4.0. Also i have set all the class path,ANT-HOME(C:\ANT) and other relevent paths. But when i run ant command in the command prompt(C:\ANT>ant)will generate error state that "build.xml" file can't be found. Have i done any wrong thing here? Can anybody give a way that i can easily install apache ant on winows.
It would be greatly appriciated if u can send me some advice to over come this problem.
Best Regards
Mohanbuild.xml is the default build file assumed by ant. You have to provide a build file to control what you expect from ant to do.
-
Hi,
Whenever I try to export the release build I get error from COmpiler during the process that "Error copying application.xml icons: Resource '/Project_Name/bin-release/assets/icons' does not exist." I have specified 4 icons in the -app.xml file of sizes 16,32,48,128 which exist in the path specified and files are not corrupt. I have checked and unchecked the compiler directive "Copy non-embedded resources in the Output file" but that has not helped too.
Can somebody please advise what do I do in this situation?
We are using
FB4 with Flex Hero(4.5) SDK and java heap space specified in .ini files is 1224m
This is somewhat urgent guys...
Thanks
ShubhraFrank,
Thank you for your answer. I had not checked (will do so tonight).
I had considered it adequate to wipe out the entire system directory (thereby wiping out the integrated weblogic server), but perhaps it was not adequate? I did not specify that this is on the integrated server, but that is the case....
Stuart -
Problem in creating a build.xml for weblogic portal application
Team ,
I am facing problem in creating the build.xml using weblogic.BuildXMLGEN tool .
a) Below is the structure of my portal application
SrcCode
--- .metadata (eclipse plugins folder)
--- B2BApp ( Ear Content)
--- b2bPortal ( portal related file(controllers,jsp)
--- b2bsrc (java src)
b) Now I executed below utility to generate the build.xml "
java weblogic.BuildXMLGen -projectName B2BApp -username weblogic -file build.xml -password welcome1 F:\srcCode"
c) Based on the above step , build.xml got generated .
d) when I execute "ant compile" target from the command prompt , I see the below exception
ant compile
Buildfile: build.xml
compile:
+[wlcompile] [JAM] Warning: failed to resolve class AbstractJspBacking+
+[wlcompile] [JAM] Error: unexpected exception thrown:+
+[wlcompile] com.bea.util.jam.internal.javadoc.JavadocParsingException: Parsing failure in F:\b2bNew\b2bPortal\src\portlets\b2b\dmr\Picker\PickerController.java at line 58.+
e) I suspect , the problem is bcoz of classpath issues , as I generated build.xml donot have the references to dependent lib's.As build.xml looks like below :
+<target name="compile" description="Only compiles B2BApp application, no appc">+
+<wlcompile srcdir="${src.dir}" destdir="${dest.dir}">+
+<!-- These referenced libraries were not found -->+
+<!-- <library file="p13n-core-web-lib" /> -->+
+<!-- <library file="jersey-web-lib" /> -->+
+.....+
+....+
Please help me to reslove these issues .
PS: I able to deploy the application using 10.3.2 weblogic workshop ( i.e inbuilt eclipse )i JaySen ,
thanks for your response. As mentioned we added all the necessary library within the -librarydir but still we see the same error :
+[JAM] Error: unexpected exception thrown:+
com.bea.util.jam.internal.javadoc.JavadocParsingException: Parsing failure in F:\b2bNew\b2bPortal\src\portlets\typeAhead\TypeAheadController.java at line 70. Most likely, an annotation is declared whose type has not been imported.
at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.getAnnotationTypeFor(JavadocTigerDelegateImpl_150.java:410)
at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.extractAnnotations(JavadocTigerDelegateImpl_150.java:176)
at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.extractAnnotations(JavadocTigerDelegateImpl_150.java:152)
at com.bea.util.jam.internal.javadoc.JavadocClassBuilder.addAnnotations(JavadocClassBuilder.java:404)
at com.bea.util.jam.internal.javadoc.JavadocClassBuilder.populate(JavadocClassBuilder.java:359)
===================
a) this is a upgrade project [ upgrading from wlp 8.1.4 to 10.3.2 ]
i.e we are using weblogic portal 10.3.2 version.
b) Searched some sites/forums regarding the above error, and it says something related to "jwsc" ant task [ i.e while compiling a webservice(JWS) ], but we see this error while compiling a normal controller(jpf) class :(
c) we are using "ant compile" target which internally calls wlcompile task , while executing wlcompile this error is thrown .
Help Appreciated
Thx,
Sarat -
Heap space error while creating XML document from Resultset
I am getting Heap space error while creating XML document from Resultset.
It was working fine from small result set object but when the size of resultset was more than 25,000, heap space error
I am already using -Xms32m -Xmx1024m
Is there a way to directly write to xml file from resultset instead of creating the whole document first and then writing it to file? Code examples please?
here is my code:
stmt = conn.prepareStatement(sql);
result = stmt.executeQuery();
result.setFetchSize(999);
Document doc = JDBCUtil.toDocument(result, Application.BANK_ID, interfaceType, Application.VERSION);
JDBCUtil.write(doc, fileName);
public static Document toDocument(ResultSet rs, String bankId, String interfaceFileType, String version)
throws ParserConfigurationException, SQLException {
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = factory.newDocumentBuilder();
Document doc = builder.newDocument();
Element results = doc.createElement("sims");
results.setAttribute("bank", bankId);
results.setAttribute("record_type", "HEADER");
results.setAttribute("file_type", interfaceFileType);
results.setAttribute("version", version);
doc.appendChild(results);
ResultSetMetaData rsmd = rs.getMetaData();
int colCount = rsmd.getColumnCount();
String columnName="";
Object value;
while (rs.next()) {
Element row = doc.createElement("rec");
results.appendChild(row);
for (int i = 1; i <= colCount; i++) {
columnName = rsmd.getColumnLabel(i);
value = rs.getObject(i);
Element node = doc.createElement(columnName);
if(value != null)
node.appendChild(doc.createTextNode(value.toString()));
else
node.appendChild(doc.createTextNode(""));
row.appendChild(node);
return doc;
public static void write(Document document, String filename) {
//long start = System.currentTimeMillis();
// lets write to a file
OutputFormat format = new OutputFormat(document); // Serialize DOM
format.setIndent(2);
format.setLineSeparator(System.getProperty("line.separator"));
format.setLineWidth(80);
try {
FileWriter writer = new FileWriter(filename);
BufferedWriter buf = new BufferedWriter(writer);
XMLSerializer FileSerial = new XMLSerializer(writer, format);
FileSerial.asDOMSerializer(); // As a DOM Serializer
FileSerial.serialize(document);
writer.close();
} catch (IOException ioe) {
ioe.printStackTrace();
//long end = System.currentTimeMillis();
//System.err.println("W3C File write time :" + (end - start) + " " + filename);
}you can increase your heap size..... try setting this as your environment variable.....
variable: JAVA_OPTS
value: -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m -
Ejbmodule error while building the external service app using web service
Hi,
I am new to SOA. I have developed an external service application using web service. While buiding the project i am getting the ejb module error which is mentioned below and the remaining five internal projects are getting deployed successfully. Can anyone help me out in resolving this issue.
Apr 17, 2008 3:51:45 PM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: user_example/ejbmodule: Build failed for sap.com/user_example/ejbmodule(MyComponents) in variant "default": Compile failed; see the compiler error output for details.
Build log -
Development Component Build (2008-04-17 15:51:39)
Component name: user_example/ejbmodule
Component vendor: sap.com
SC compartment: MyComponents
Configuration: LocalDevelopment
Location: local
Source code location: mzwrxw@w2mzwrxw01
DC root folder: D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\
DC type: J2EE
DC subtype: EJBModule
Host: w2mzwrxw01
DC Model check:
All used DCs are available locally
validating dependency to build plugin "sap.com/tc/bi/bp/ejbmodule"
validating dependency to public part "default" of DC "sap.com/ejb20"
validating dependency to public part "default" of DC "sap.com/jdbc20"
validating dependency to public part "default" of DC "sap.com/jms"
validating dependency to public part "default" of DC "sap.com/tc/ddic/metamodel/content"
validating dependency to public part "CAFRuntimeAPI" of DC "sap.com/caf/runtime/impl"
validating dependency to public part "compilation" of DC "sap.com/caf/runtime/api"
validating dependency to public part "default" of DC "sap.com/bi/mmr/core"
validating dependency to public part "compilation" of DC "sap.com/caf/metamodel"
validating dependency to public part "default" of DC "sap.com/com.sap.security.api.sda"
validating dependency to public part "default" of DC "sap.com/tc/logging"
validating dependency to public part "default" of DC "sap.com/com.sap.exception"
validating dependency to public part "default" of DC "sap.com/com.sap.jdo"
validating dependency to public part "compilation" of DC "sap.com/bi/mmr/cwm_1.0_source"
validating dependency to public part "jmi" of DC "sap.com/bi/mmr/jmi"
validating dependency to public part "ClientApi" of DC "sap.com/caf/km.proxyjava"
validating dependency to public part "default" of DC "sap.com/bi/mmr/db"
validating dependency to public part "ClientAPI" of DC "sap.com/caf/runtime/security"
validating dependency to public part "ClientAPI" of DC "sap.com/caf/core/services"
validating dependency to used DC "sap.com/caf/runtime/connectivity/base"
validating dependency to used DC "sap.com/caf/runtime/connectivity"
validating dependency to used DC "sap.com/applocking"
validating dependency to public part "default" of DC "sap.com/com.sap.engine.client.lib"
validating dependency to public part "default" of DC "sap.com/jta"
DC model check OK
Start build plugin:
using build plugin: sap.com/tc/bi/bp/ejbmodule
starting build plugin from : C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_BUILDT\DCs\sap.com\tc\bi\bp\ejbmodule\_comp\gen\default\public\ejb\
Build Plugin 'EJBModulePlugin', Version 7.00 SP 9 (NW04S_09_REL, built on 2006-10-25 22:26:50 CEST)
development component: user_example/ejbmodule (sap.com)
software component: MyComponents (demo.sap.com)
location: local
type: J2EE, subtype EJBModule
build variant: default
source location: mzwrxw@w2mzwrxw01
plugin start time: 2008-04-17 15:51:39 GMT+05:30 (IST)
Java VM: Java HotSpot(TM) Client VM, 1.4.2_09-b05 (Sun Microsystems Inc.)
General options:
convert *.xlf to *.properties: yes
include sources for debugging: yes
Source folder src exists but is empty.
Plugin initialized in 0.187 seconds
Preparing data context..
No 'default' JDK defined, will use running VM.
Data context prepared in 0.078 seconds
Executing macro file..
Using macro file: C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_BUILDT\DCs\sap.com\tc\bi\bp\ejbmodule\_comp\gen\default\public\ejb\macros\build.vm
Creating output file: D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\gen\default\logs\build.xml
Macro file executed in 0.141 seconds
Starting Ant..
Using build file: D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\gen\default\logs\build.xml
Using build target: build
Generation folder: D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\t\0C4E7D6DF04F4534176A82AEB939F6DA
Using Ant version: 1.6.2
compile:
[echo] Starting Java compiler
[echo] Settings:
[echo] debug: on
[echo] optimize: off
[echo] deprecation: off
[echo] verbose: default
[echo] encoding: UTF8
[echo] source: default
[echo] target: default
[echo] source path: D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule
[echo] class path:
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\logging\_comp\gen\default\public\default\lib\java\logging.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\tc\logging\_comp\gen\default\public\default\lib\java\logging.perf.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_JTECHS\DCs\sap.com\tc\ddic\metamodel\content\_comp\gen\default\public\default\lib\java\SapMetamodelDictionaryContent.zip
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_JTECHS\DCs\sap.com\com.sap.jdo\_comp\gen\default\public\default\lib\java\jdo.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP_JTECHS\DCs\sap.com\com.sap.jdo\_comp\gen\default\public\default\lib\java\sapjdoapi.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\BI_UDI\DCs\sap.com\bi\mmr\jmi\_comp\gen\default\public\jmi\lib\java\sap.combimmrjmijmi.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\BI_UDI\DCs\sap.com\bi\mmr\core\_comp\gen\default\public\default\lib\java\sap.combimmrcoredefault.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\km.proxyjava\_comp\gen\default\public\ClientApi\lib\java\sap.comcafkm.proxyjava~ClientApi.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\applocking\_comp\gen\default\public\default\lib\java\applocking.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\applocking\_comp\gen\default\public\default\lib\java\frame.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\applocking\_comp\gen\default\public\default\lib\java\jdbc.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\metamodel\_comp\gen\default\public\compilation\lib\java\sap.comcafmetamodel.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\metamodel\_comp\gen\default\public\compilation\lib\java\sap.comcafmetamodel_JMI.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\metamodel\_comp\gen\default\public\compilation\lib\java\sap.comcafmetamodel_JMI_src.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\com.sap.engine.client.lib\_comp\gen\default\public\default\lib\java\sapj2eeclient.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\runtime\connectivity\base\_comp\gen\default\public\com.sap.caf.mp.base\lib\java\sap.comcafruntimeconnectivitybase~com.sap.caf.mp.base.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\runtime\security\_comp\gen\default\public\ClientAPI\lib\java\sap.comcafruntimesecurityClientAPI.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\runtime\api\_comp\gen\default\public\compilation\lib\java\sap.comcafruntimeapicompilation.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\jdbc20\_comp\gen\default\public\default\lib\java\jdbc.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\BI_UDI\DCs\sap.com\bi\mmr\cwm_1.0_source\_comp\gen\default\public\compilation\lib\java\sap.combimmr~cwm_1.0_source.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\BI_UDI\DCs\sap.com\bi\mmr\cwm_1.0_source\_comp\gen\default\public\compilation\lib\java\sap.combimmr~cwm_1.0_source_JMI.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\BI_UDI\DCs\sap.com\bi\mmr\cwm_1.0_source\_comp\gen\default\public\compilation\lib\java\sap.combimmr~cwm_1.0_source_JMI_src.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\runtime\impl\_comp\gen\default\public\CAFRuntimeAPI\lib\java\sap.comcafruntimeimplCAFRuntimeAPI.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\ejb20\_comp\gen\default\public\default\lib\java\ejb20.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\jms\_comp\gen\default\public\default\lib\java\jms.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\com.sap.security.api.sda\_comp\gen\default\public\default\lib\java\com.sap.security.api.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\com.sap.security.api.sda\_comp\gen\default\public\default\lib\java\com.sap.security.api.perm.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\jta\_comp\gen\default\public\default\lib\java\jta.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\core\services\_comp\gen\default\public\ClientAPI\lib\java\sap.comcafcoreservicesClientAPI.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\SAP-JEE\DCs\sap.com\com.sap.exception\_comp\gen\default\public\default\lib\java\exception.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\CAF\DCs\sap.com\caf\runtime\connectivity\_comp\gen\default\public\com.sap.caf.mp.core.api\lib\java\sap.comcafruntimeconnectivitycom.sap.caf.mp.core.api.jar
[echo] C:\Program Files\SAP\IDE\IDE70\eclipse\plugins\com.sap.tc.ap_2.0.0\comp\BI_UDI\DCs\sap.com\bi\mmr\db\_comp\gen\default\public\default\lib\java\sap.combimmrdbdefault.jar
[echo] output dir: D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\t\0C4E7D6DF04F4534176A82AEB939F6DA\classes
[javac] Compiling 23 source files to D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\t\0C4E7D6DF04F4534176A82AEB939F6DA\classes
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:51: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.entering(user, user.JARM_REQUEST, method, userServiceBean.location, new java.lang.Object[] , com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:81: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:92: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:96: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, new java.lang.Object[] , com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:105: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.entering(user, user.JARM_REQUEST, method, userServiceBean.location, new java.lang.Object[] , com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:115: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:126: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:131: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, new java.lang.Object[] , com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:139: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.entering(user, user.JARM_REQUEST, method, userServiceBean.location, new java.lang.Object[] , com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:154: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:159: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:165: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.entering(user, user.JARM_REQUEST, method, userServiceBean.location, new java.lang.Object[] , com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:186: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:200: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:206: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:213: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.entering(user, user.JARM_REQUEST, method, userServiceBean.location, new java.lang.Object[] , com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:233: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:244: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:254: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:261: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.entering(user, user.JARM_REQUEST, method, userServiceBean.location, new java.lang.Object[] , com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:270: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:281: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:288: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, new java.lang.Object[] , com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:295: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.entering(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:300: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:308: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.entering(user, user.JARM_REQUEST, method, userServiceBean.location, new java.lang.Object[] , com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:370: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:462: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.entering(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:477: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] D:\Documents and Settings\mzwrxw\.dtc\LocalDevelopment\DCs\sap.com\user_example\ejbmodule\_comp\ejbModule\com\sap\user_example\besrv\user\userServiceBean.java:482: cannot resolve symbol
[javac] symbol : variable JARM_REQUEST
[javac] location: class java.lang.String
[javac] com.sap.caf.rt.util.CAFPublicLogger.exiting(user, user.JARM_REQUEST, method, userServiceBean.location, com.sap.caf.rt.util.CAFPublicLogger.LEVEL_MEDIUM);
[javac] ^
[javac] 30 errors
Ant runtime 4.984 seconds
Ant build finished with ERRORS
Compile failed; see the compiler error output for details.
Error: Build stopped due to an error: Compile failed; see the compiler error output for details.
Build plugin finished at 2008-04-17 15:51:45 GMT+05:30 (IST)
Total build plugin runtime: 5.515 seconds
Build finished with ERROR
Thanks,
MadhaviHI
i used the below line of code to log the info
com.sap.caf.rt.util.CAFPublicLogger.entering(CAF_user, WTCServiceBean.JARM_REQUEST, CAF_methodHeader, WTCServiceBean.location, CAF_parameters);
But , can anyone suggest ,where can i seee this log msg.
Any pointers would be highly appreciated.
Thanks
Maybe you are looking for
-
Not able to connect with pws prime cable provisioning
Hi I have installed cisco prime cable provisioning in my Linux system. pws is also insatlled. I tried to connect the pws through program. but we are gerring Unable to connect to the remote server. I generated the code from the wsdl file and used that
-
The Acrobat pro8 links were not working
I saved a pdf file in desktop with hyperlinks to some files. I created and stored both the pdf file and its link files in a same folder in Desktop. The PDF file works with those links. But later when I save the file in a cd rom and transferred it
-
OBIEE 11g Title view Image position
Hi All, Is there any way to change the position of image in title view in OBIEE 11g.By, default the image is coming on the left side..In my report i wanna display on the right side.. Guys please help.. Regards
-
Hi! My scenario is RFC to XML file. so, I wana import the rfc function, it happened error like followings. RFC connection(SM59) and attribute (remote enabled) are no problem. **Ready for import** Import started... Z_FIALI_SND_C540_0011_Z
-
HT5457 facetime icon disappeared after updated ios7
I did update 19th of september today I lost the icon of Face time should I update again and how to get back this icon and there is no other way to make facetime call now