Java DC Build Failed
I was having problem when building a Java DC for JavaBeans (to be exported to Web Dynpro DC). Therefore, there is only one Java class which has the getter and setter there.
I <b>do not have a DTR installed</b>, so the DC was created under Local DCs -> Local Development -> MyComponents.
The build log error is as below:
Dec 1, 2006 10:51:46 AM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: jbmodel: Build failed for sap.com/jbmodel(MyComponents) in variant "default": Used component not found: sap.com/tc/bi/bp/javaLib
Build log -
Dec 1, 2006 10:51:46 AM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: jbmodel: Build failed for sap.com/jbmodel(MyComponents) in variant "default": Check for used DCs failed: Used component not found: sap.com/tc/bi/bp/javaLib. DC not found in DC syncdb
Build log -
Development Component Build (2006-12-01 10:51:46)
Component name: jbmodel
Component vendor: sap.com
SC compartment: MyComponents
Configuration: LocalDevelopment
Location: local
Source code location: julius.hock@julius
DC root folder: C:\Documents and Settings\julius.hock\.dtc\LocalDevelopment\DCs\sap.com\jbmodel\_comp\
DC type: Java
Host: julius
DC Model check:
[dcmake] All used DCs are available locally
[dcmake] ERROR: Check for used DCs failed: Used component not found: sap.com/tc/bi/bp/javaLib. DC not found in DC syncdb
[dcmake] Build failed with errors.
Any help would be appreciated. Thanks.
Hi Denis,
go to eclipse plugins folder and into 'com.sap.tc.ap/comp/SAP_BUILDT/DCs/sap.com/tc/bi/bp' and check if u have folder 'javaLib' with build plugin.
<b>Ans: Yes, javaLib is there. Do you meant i need to add javalibplugin.jar to the Java Build Path?</b>
then go to 'com.sap.tc.ap/SCs/sap.com/SAP_BUILDT/_comp/TopLevelDCs
and check if you have 'sap.com tc bi bp javaLib.dcref' file here - if not create it
<b>Ans: It's alrdy there.</b>
In my local development, SAP_BUILDT, SAP_JTECHS, SAP-JEE are without any child.
How shld i proceed?
Similar Messages
-
Financial Brokerage Service demo build failing
Hi
When i try ant build this demo against OC4J bundled with JDeveloper 10.1.3 it is failing with the output given below. I tried same with OC4J bundled with JDeveloper 9.0.5.1, 9.0.5.2 and 10.1.2; but case with 10.1.3 looked more promising.
Ant output
wsejb-jar:
[jar] Building jar: /home/anthos/projects/ibfbs/lib/ibfbs_service_ejb.jar
gen-service:
[echo] Using Web Service Asswembler from /opt/share/apps/jdev1013/j2ee/home//../../webservices/lib/wsa.jar
[java] INFO: Starting Web Services Assembler preview. build March-23-2004
[java] SEVERE: Config file is Deprecated, please use ant tasks or command line options instead!!!!
[java] INFO: Configuration file is /home/anthos/projects/ibfbs/config/service-config.xml
[java] WARNING: oracle.j2ee.ws.tools.wsa.WSAEndpointCompileTool$MyEndpointCompileTool failed to load class: StockQuoteEJB
[java] WARNING: oracle.j2ee.ws.tools.wsa.MultiServiceCompileTool failed to load class: StockQuoteEJB
[echo] Generating service artifacts....DONE
[delete] Deleting directory /home/anthos/projects/ibfbs/tmp
ws-jar:
[jar] Building jar: /home/anthos/projects/ibfbs/lib/ibfbs_ws.jar
gen-client:
[echo] Using Web Service Asswembler from /opt/share/apps/jdev1013/j2ee/home//../../webservices/lib/wsa.jar
[java] INFO: Starting Web Services Assembler preview. build March-23-2004
[java] SEVERE: Config file is Deprecated, please use ant tasks or command line options instead!!!!
[java] INFO: Configuration file is /home/anthos/projects/ibfbs/config/client-config.xml
[echo] Generating Client artifacts....DONE
[delete] Deleting directory /home/anthos/projects/ibfbs/tmp
web-classes:
[javac] Compiling 35 source files to /home/anthos/projects/ibfbs/build/web/WEB-INF/classes
[javac] /home/anthos/projects/ibfbs/web/src/oracle/otnsamples/ibfbs/admin/helper/JAXRPCStockQuoteServiceClient.java:23: cannot resolve symbol
[javac] symbol : class StockQuoteEJB_Impl
[javac] location: package wsclient
[javac] import oracle.otnsamples.ibfbs.admin.helper.wsclient.StockQuoteEJB_Impl;
[javac] ^
[javac] /home/anthos/projects/ibfbs/web/src/oracle/otnsamples/ibfbs/admin/helper/JAXRPCStockQuoteServiceClient.java:60: cannot resolve symbol
[javac] symbol : class StockQuoteEJB_Impl
[javac] location: class oracle.otnsamples.ibfbs.admin.helper.JAXRPCStockQuoteServiceClient
[javac] Stub stub = (Stub) new StockQuoteEJB_Impl().getStockQuoteServicePort();
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 2 errors
BUILD FAILED
/home/anthos/projects/ibfbs/build.xml:244: Compile failed; see the compiler error output for details.
--I get the same error while running the web services samples (basic using stateless).
wsa:
[java] Error: Invalid command 'config' [java]
[java] Usage:
[java] java -jar wsa.jar -<command> -debug -help
[java] where command can be one of:
[java] analyze
[java] aqAssemble
[java] assemble
[java] corbaAssemble
[java] dbJavaAssemble
[java] ejbAssemble
[java] fetchWsdl
[java] genApplicationDescriptor
[java] genConcreteWsdl
[java] genDDs
[java] genInterface
[java] genProxy
[java] genQosWsdl
[java] genValueTypes
[java] genWsdl
[java] help
[java] jmsAssemble
[java] plsqlAssemble
[java] sqlAssemble
[java] topDownAssemble
[java] version
BUILD FAILED
C:\jws\oracle\basic\stateless\build.xml:20: The following error occurred while executing this line:
C:\jws\oracle\common.xml:74: Java returned: 1
Total time: 3 seconds
CAN ANYONE HELP PLEASE !!!!!!!!!!!!! -
When I create an EJB Transport Business Service, after selecting the jar that has the EJB 2.1 artefacts (Remote, Home, etc) the oepe plugin fails and can't continue.
As I understand it seems that there is a problem with the classpath of ant build.xml that oepe creates inside folder /tmp/alsbejbtransport/ to compile the bs and generate the wsdl. I checked if tools.jar is in the classpath (in eclipse) and is included, so I can't figure out wich is the problem.
I found this in Oracle, but not helps solve the problem:
BEA-398120
Error: The WSDL for the typed transport endpoint could not be accessed.
Description
There was a problem retrieving the WSDL from the typed transport service endpoint at the time of service registration
Action
Contact technical support
This is the the full stacktrace that shows eclipse.
Generate : Error during generation of the WSDL:
BUILD FAILED
java.lang.NoClassDefFoundError: com/sun/javadoc/Type
at com.bea.util.jam.provider.JamServiceFactoryImpl.createSourceBuilder(JamServiceFactoryImpl.java:205)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createBuilder(JamServiceFactoryImpl.java:158)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createClassLoader(JamServiceFactoryImpl.java:137)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createService(JamServiceFactoryImpl.java:78)
at weblogic.wsee.util.JamUtil.parseSource(JamUtil.java:152)
at weblogic.wsee.tools.anttasks.JwsLoader.loadJClasses(JwsLoader.java:186)
at weblogic.wsee.tools.anttasks.JwsLoader.load(JwsLoader.java:75)
at weblogic.wsee.tools.anttasks.JwsModule.loadWebServices(JwsModule.java:569)
at weblogic.wsee.tools.anttasks.JwsModule.generate(JwsModule.java:369)
at weblogic.wsee.tools.anttasks.JwsModule.build(JwsModule.java:256)
at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:184)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: java.lang.ClassNotFoundException: com.sun.javadoc.Type
at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1400)
at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1341)
at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1088)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 27 more
Total time: 0 seconds
Eclipse Installation details:
*** System properties:
eclipse.application=org.eclipse.ui.ide.workbench
eclipse.buildId=M20110909-1335
eclipse.commands=-os
linux
-ws
gtk
-arch
x86_64
-showsplash
-launcher
{home}/Development/oepe-indigo/eclipse
-name
Eclipse
--launcher.library
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so
-startup
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.overrideVmargs
-exitdata
1e418010
-vm
/usr/bin/java
eclipse.home.location=file:{home}/Development/oepe-indigo/
eclipse.launcher={home}/Development/oepe-indigo/eclipse
eclipse.launcher.name=Eclipse
[email protected]/../p2/
eclipse.p2.profile=PlatformProfile
eclipse.product=org.eclipse.platform.ide
eclipse.startTime=1374623921455
eclipse.vm=/usr/bin/java
eclipse.vmargs=-Xms256m
-Xmx768m
-XX:MaxPermSize=512m
-Dsun.lang.ClassLoader.allowArraySyntax=true
-Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3
-Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester
-Dosb.home={home}/Oracle/Middleware/Oracle_OSB1
-Dosgi.bundlefile.limit=750
-Dosgi.nl=en_US
-Dmiddleware.home={home}/Oracle/Middleware
-jar
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
equinox.use.ds=true
file.encoding=UTF-8
file.encoding.pkg=sun.io
file.separator=/
guice.disable.misplaced.annotation.check=true
harvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester
http.nonProxyHosts=localhost
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
java.awt.printerjob=sun.print.PSPrinterJob
java.class.path={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
java.class.version=50.0
java.endorsed.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/endorsed
java.ext.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/ext:/usr/java/packages/lib/ext
java.home=/usr/lib/jvm/jdk1.6.0_45/jre
java.io.tmpdir=/tmp
java.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64/server:/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64:/usr/lib/jvm/jdk1.6.0_45/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.protocol.handler.pkgs=null|com.bea.wli.sb.resources.url|com.bea.wli.sb.resources.jca.upgrade.url|weblogic.utils|weblogic.utils|weblogic.utils|weblogic.net|weblogic.net
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.6.0_45-b06
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.specification.version=1.6
java.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
java.version=1.6.0_45
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Sun Microsystems Inc.
java.vm.specification.version=1.0
java.vm.vendor=Sun Microsystems Inc.
java.vm.version=20.45-b01
javax.rmi.CORBA.PortableRemoteObjectClass=weblogic.iiop.PortableRemoteObjectDelegateImpl
javax.rmi.CORBA.UtilClass=weblogic.iiop.UtilDelegateImpl
jna.platform.library.path=/usr/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu:/lib64:/usr/lib:/lib
line.separator=
middleware.home={home}/Oracle/Middleware
oracle.eclipse.tools.weblogic.ui.isWebLogicServer=true
org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog
org.eclipse.equinox.launcher.splash.location={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
org.eclipse.equinox.simpleconfigurator.configUrl=file:org.eclipse.equinox.simpleconfigurator/bundles.info
org.eclipse.m2e.log.dir={home}/workspace/pragma/.metadata/.plugins/org.eclipse.m2e.logback.configuration
org.eclipse.update.reconcile=false
org.omg.CORBA.ORBClass=weblogic.corba.orb.ORB
org.omg.CORBA.ORBSingletonClass=weblogic.corba.orb.ORB
org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,OSGi/Minimum-1.2,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5,JavaSE-1.6
org.osgi.framework.language=en
org.osgi.framework.os.name=Linux
org.osgi.framework.os.version=3.8.0
org.osgi.framework.processor=x86-64
org.osgi.framework.system.capabilities=osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0, 1.1, 1.2",osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6"
org.osgi.framework.system.packages=javax.accessibility,javax.activation,javax.activity,javax.annotation,javax.annotation.processing,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.jws,javax.jws.soap,javax.lang.model,javax.lang.model.element,javax.lang.model.type,javax.lang.model.util,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.script,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.tools,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.bind,javax.xml.bind.annotation,javax.xml.bind.annotation.adapters,javax.xml.bind.attachment,javax.xml.bind.helpers,javax.xml.bind.util,javax.xml.crypto,javax.xml.crypto.dom,javax.xml.crypto.dsig,javax.xml.crypto.dsig.dom,javax.xml.crypto.dsig.keyinfo,javax.xml.crypto.dsig.spec,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.soap,javax.xml.stream,javax.xml.stream.events,javax.xml.stream.util,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stax,javax.xml.transform.stream,javax.xml.validation,javax.xml.ws,javax.xml.ws.handler,javax.xml.ws.handler.soap,javax.xml.ws.http,javax.xml.ws.soap,javax.xml.ws.spi,javax.xml.ws.wsaddressing,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.css,org.w3c.dom.events,org.w3c.dom.html,org.w3c.dom.ls,org.w3c.dom.ranges,org.w3c.dom.stylesheets,org.w3c.dom.traversal,org.w3c.dom.views,org.w3c.dom.xpath,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
org.osgi.framework.uuid=901615cd-f3f3-0012-11b6-a3bca4d97ac1
org.osgi.framework.vendor=Eclipse
org.osgi.framework.version=1.6.0
org.osgi.supports.framework.extension=true
org.osgi.supports.framework.fragment=true
org.osgi.supports.framework.requirebundle=true
os.arch=amd64
os.name=Linux
os.version=3.8.0-26-generic
osb.home={home}/Oracle/Middleware/Oracle_OSB1
osgi.arch=x86_64
osgi.bundlefile.limit=750
osgi.bundles=reference:file:javax.transaction_1.1.1.v201105210645.jar,reference:file:org.eclipse.equinox.simpleconfigurator_1.0.200.v20110502-1955.jar@1:start
osgi.bundles.defaultStartLevel=4
osgi.bundlestore={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/bundles
osgi.configuration.area=file:{home}/Development/oepe-indigo/configuration/
osgi.framework=file:{home}/Development/oepe-indigo/plugins/org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar
osgi.framework.extensions=reference:file:javax.transaction_1.1.1.v201105210645.jar
osgi.framework.shape=jar
osgi.framework.version=3.7.1.R37x_v20110808-1106
osgi.frameworkClassPath=., file:{home}/Development/oepe-indigo/plugins/javax.transaction_1.1.1.v201105210645.jar
osgi.install.area=file:{home}/Development/oepe-indigo/
osgi.instance.area=file:{home}/workspace/pragma/
osgi.instance.area.default=file:{home}/workspace/
osgi.logfile={home}/workspace/pragma/.metadata/.log
osgi.manifest.cache={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/manifests
osgi.nl=en_US
osgi.nl.user=en_US
osgi.os=linux
osgi.splashLocation={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
osgi.splashPath=platform:/base/plugins/org.eclipse.platform
osgi.syspath={home}/Development/oepe-indigo/plugins
osgi.tracefile={home}/workspace/pragma/.metadata/trace.log
osgi.ws=gtk
path.separator=:
securerandom.source=file:/dev/./urandom
socksNonProxyHost=localhost
sun.arch.data.model=64
sun.boot.class.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/resources.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/rt.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/sunrsasign.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jsse.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jce.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/charsets.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/jdk1.6.0_45/jre/classes
sun.boot.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64
sun.cpu.endian=little
sun.cpu.isalist=
sun.desktop=gnome
sun.io.unicode.encoding=UnicodeLittle
sun.java.command={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar -os linux -ws gtk -arch x86_64 -showsplash -launcher {home}/Development/oepe-indigo/eclipse -name Eclipse --launcher.library {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so -startup {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar --launcher.overrideVmargs -exitdata 1e418010 -vm /usr/bin/java -vmargs -Xms256m -Xmx768m -XX:MaxPermSize=512m -Dsun.lang.ClassLoader.allowArraySyntax=true -Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3 -Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester -Dosb.home={home}/Oracle/Middleware/Oracle_OSB1 -Dosgi.bundlefile.limit=750 -Dosgi.nl=en_US -Dmiddleware.home={home}/Oracle/Middleware -jar {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
sun.java.launcher=SUN_STANDARD
sun.jnu.encoding=UTF-8
sun.lang.ClassLoader.allowArraySyntax=true
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
sun.os.patch.level=unknown
svnkit.http.methods=Basic
svnkit.library.gnome-keyring.enabled=false
user.country=AR
user.dir={home}/Development/oepe-indigo
user.home={home}
user.language=es
user.name={username}
user.timezone=America/Argentina/Buenos_Aires
weblogic.home={home}/Oracle/Middleware/wlserver_10.3
Thanks!!run this one in command prompt and then convert the applet using converter tool
JC_HOME = C:\java_card_kit-2_2_2\bin\
set CLASSES=%JCHOME%\lib\apduio.jar;%JC_HOME%\lib\apdutool.jar;%JC_HOME%\lib\jcwde.jar;%JC_HOME%\lib\converter.jar;%JC_HOME%\lib\scriptgen.jar;%JC_HOME%\lib\offcardverifier.jar;%JC_HOME%\lib\api.jar;%JC_HOME%\lib\installer.jar;%JC_HOME%\lib\capdump.jar;
D:\NareshPalle\jcardRE\Smart\src>java -classpath %_CLASSES% com.sun.javacard.con
verter.Converter -out EXP JCA CAP -exportpath .\exp -applet 0x0a:0x00:0x00:0x00:0x0e:0x01:0x02:
0x03:0x04:0x05:0x06 PackageName appletName 0x01:0x02:0x03:0x04:0x05:0x0
6:0x07:0x08 1.0
or
go to following directory and run the converter tool in command prompt
step 1: cd C:\java_card_kit-2_2_2\bin\
then run this command under the above directory
step 2:converter -classdir E:\Pathof Your applet class file -out EXP JCA CAP -exportpath E:\path of exp files folder -applet AID PackageName AppletName PackAID major.minor no
For more doubts mail me....
*[removed by moderator]*
Thanks and Regards
NareshPalle
Edited by: EJP on 31/03/2012 20:09: removed your email address. Unless you like spam and unless you think these forums are provided for your personal benefit only, posting an email address here serves no useful purpose whatsoever. -
Deployment failed. Building failed using sun java application server
Hi
am using netbean 6 ,glassfish v2 and sun java application server 9
When am try to run my jsp file am getting Deployment error report with further error given below.
Deployment error:
The Sun Java System Application Server could not start.
More information about the cause is in the Server log file.
Possible reasons include:
- IDE timeout: refresh the server node to see if it's running now.
- Port conflicts. (use netstat -a to detect possible port numbers already used by the operating system.)
- Incorrect server configuration (domain.xml to be corrected manually)
- Corrupted Deployed Applications preventing the server to start.(This can be seen in the server.log file. In this case, domain.xml needs to be modified).
- Invalid installation location.
See the server log for details.
at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:163)
at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor256.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
Caused by: org.netbeans.modules.j2ee.deployment.impl.ServerException: The Sun Java System Application Server could not start.
More information about the cause is in the Server log file.
Possible reasons include:
- IDE timeout: refresh the server node to see if it's running now.
- Port conflicts. (use netstat -a to detect possible port numbers already used by the operating system.)
- Incorrect server configuration (domain.xml to be corrected manually)
- Corrupted Deployed Applications preventing the server to start.(This can be seen in the server.log file. In this case, domain.xml needs to be modified).
- Invalid installation location.
at org.netbeans.modules.j2ee.deployment.impl.ServerInstance._start(ServerInstance.java:1270)
at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(ServerInstance.java:1224)
at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.startTarget(ServerInstance.java:1035)
at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.start(ServerInstance.java:912)
at org.netbeans.modules.j2ee.deployment.impl.TargetServer.startTargets(TargetServer.java:417)
at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:140)
... 16 more
BUILD FAILED (total time: 44 seconds)Hi,
I've found that if you remove the j2ee-application element related to the enterprise app you are trying to deploy from Sun\AppServer\domains\domain1\config\domain.xml, and also remove your enterprise j2ee-app directory from Sun\AppServer\domains\domain1\applications\j2ee-apps\, it works.
This is not a permanent solution. I get the same error again, when I try to redeploy the application for the third time. Hope someone can help soon!
Thanks. -
Java server component library DC build fails
Hello,
I have problem with building sda from Java server component library DC which contains external library DC and jars.
Btw., I implemented newest JDI patch (note 935334) so I don't have problem with packing jars into sda.
How did following steps:
<b>External library DC</b>
1. Import jars into library subfolder
2. Add all jars to public part jarAPI, which is created with 'Provides an API for developing/compiling other DCs' setting
3. Add all jars to new public part jarSDA, which is created with 'Can be packaged into other build results (e.g. SDAs)'
<b>Java server component library DC</b>
1. Add jarSDA and jarAPI to Used DCs, with <i>Build Time</i> and <i>Run Time</i> Dependency Type checked and <i>strong</i> runtime qualifier selected.
2. Add jarAPI to Entity References of defLib public part
3. Build Java server component library DC
After that build fails with following error log:
[code]createPublicParts:
[pppacker] Packing compilation public part 'defLib'
[pppacker] Packed 0 files for entity sap.comhomeapp_libs (SERVER_COMPONENTS)
[pppacker] Packing entity reference gbscore/poi_libs (gbs.org), POIapi: ()
[pppacker] ERROR: Internal error occured
[pppacker] ERROR: java.lang.NullPointerException
[pppacker] ERROR: at java.io.File.<init>(File.java:263)
[pppacker] ERROR: at com.sap.tc.buildplugin.pp.pack.ZipPacker.unpack(ZipPacker.java:364)
[pppacker] ERROR: at com.sap.tc.buildplugin.pp.PPPacker.packEntityReferences(PPPacker.java:763)
[pppacker] ERROR: at com.sap.tc.buildplugin.pp.PPPacker.packPublicPartContent(PPPacker.java:476)
[pppacker] ERROR: at com.sap.tc.buildplugin.pp.PPPacker.packPublicPart(PPPacker.java:406)
[pppacker] ERROR: at com.sap.tc.buildplugin.pp.PPPacker.pack(PPPacker.java:359)
[pppacker] ERROR: at com.sap.tc.buildplugin.pp.PPPackTask._execute(PPPackTask.java:233)
[pppacker] ERROR: at com.sap.tc.buildplugin.techdev.ant.util.BPTask.execute(BPTask.java:20)
[pppacker] ERROR: at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
[pppacker] ERROR: at org.apache.tools.ant.Task.perform(Task.java:341)
[pppacker] ERROR: at org.apache.tools.ant.Target.execute(Target.java:309)
[pppacker] ERROR: at org.apache.tools.ant.Target.performTasks(Target.java:336)
[pppacker] ERROR: at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
[pppacker] ERROR: at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:115)
[pppacker] ERROR: at com.sap.tc.buildplugin.AbstractAntBuildAction.execute(AbstractAntBuildAction.java:65)
[pppacker] ERROR: at com.sap.tc.buildplugin.AbstractPlugin.handleBuildStepSequence(AbstractPlugin.java:225)
[pppacker] ERROR: at com.sap.tc.buildplugin.AbstractPlugin.performBuild(AbstractPlugin.java:201)
[pppacker] ERROR: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[pppacker] ERROR: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[pppacker] ERROR: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[pppacker] ERROR: at java.lang.reflect.Method.invoke(Method.java:324)
[pppacker] ERROR: at com.sap.tc.buildtool.PluginCommunicator.maybeInvoke(PluginCommunicator.java:114)
[pppacker] ERROR: at com.sap.tc.buildtool.PluginCommunicatorV2.communicate(PluginCommunicatorV2.java:42)
[pppacker] ERROR: at com.sap.tc.buildtool.PluginHandlerImpl.handlePluginCommunication(PluginHandlerImpl.java:354)
[pppacker] ERROR: at com.sap.tc.buildtool.PluginHandlerImpl.execute(PluginHandlerImpl.java:176)
[pppacker] ERROR: at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1726)
[pppacker] ERROR: at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:5559)
[pppacker] ERROR: at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.buildDCsForDevConfig(BuildAction.java:307)
[pppacker] ERROR: at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.access$200(BuildAction.java:58)
[pppacker] ERROR: at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction$1.run(BuildAction.java:212)
[pppacker] ERROR: at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
[pppacker] ERROR: java.lang.NullPointerException
[pppacker] ERROR: at java.io.File.<init>(File.java:263)
[pppacker] ERROR: at com.sap.tc.buildplugin.pp.pack.ZipPacker.unpack(ZipPacker.java:364)
[pppacker] ERROR: at com.sap.tc.buildplugin.pp.PPPacker.packEntityReferences(PPPacker.java:763)
[pppacker] ERROR: at com.sap.tc.buildplugin.pp.PPPacker.packPublicPartContent(PPPacker.java:476)
[pppacker] ERROR: at com.sap.tc.buildplugin.pp.PPPacker.packPublicPart(PPPacker.java:406)
[pppacker] ERROR: at com.sap.tc.buildplugin.pp.PPPacker.pack(PPPacker.java:359)
[pppacker] ERROR: at com.sap.tc.buildplugin.pp.PPPackTask._execute(PPPackTask.java:233)
[pppacker] ERROR: at com.sap.tc.buildplugin.techdev.ant.util.BPTask.execute(BPTask.java:20)
[pppacker] ERROR: at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
[pppacker] ERROR: at org.apache.tools.ant.Task.perform(Task.java:341)
[pppacker] ERROR: at org.apache.tools.ant.Target.execute(Target.java:309)
[pppacker] ERROR: at org.apache.tools.ant.Target.performTasks(Target.java:336)
[pppacker] ERROR: at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
[pppacker] ERROR: at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:115)
[pppacker] ERROR: at com.sap.tc.buildplugin.AbstractAntBuildAction.execute(AbstractAntBuildAction.java:65)
[pppacker] ERROR: at com.sap.tc.buildplugin.AbstractPlugin.handleBuildStepSequence(AbstractPlugin.java:225)
[pppacker] ERROR: at com.sap.tc.buildplugin.AbstractPlugin.performBuild(AbstractPlugin.java:201)
[pppacker] ERROR: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[pppacker] ERROR: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[pppacker] ERROR: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[pppacker] ERROR: at java.lang.reflect.Method.invoke(Method.java:324)
[pppacker] ERROR: at com.sap.tc.buildtool.PluginCommunicator.maybeInvoke(PluginCommunicator.java:114)
[pppacker] ERROR: at com.sap.tc.buildtool.PluginCommunicatorV2.communicate(PluginCommunicatorV2.java:42)
[pppacker] ERROR: at com.sap.tc.buildtool.PluginHandlerImpl.handlePluginCommunication(PluginHandlerImpl.java:354)
[pppacker] ERROR: at com.sap.tc.buildtool.PluginHandlerImpl.execute(PluginHandlerImpl.java:176)
[pppacker] ERROR: at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1726)
[pppacker] ERROR: at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:5559)
[pppacker] ERROR: at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.buildDCsForDevConfig(BuildAction.java:307)
[pppacker] ERROR: at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.access$200(BuildAction.java:58)
[pppacker] ERROR: at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction$1.run(BuildAction.java:212)
[pppacker] ERROR: at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
Ant runtime 0.13 seconds
Ant build finished with ERRORS
java.lang.NullPointerException
at java.io.File.<init>(File.java:263)
at com.sap.tc.buildplugin.pp.pack.ZipPacker.unpack(ZipPacker.java:364)
at com.sap.tc.buildplugin.pp.PPPacker.packEntityReferences(PPPacker.java:763)
at com.sap.tc.buildplugin.pp.PPPacker.packPublicPartContent(PPPacker.java:476)
at com.sap.tc.buildplugin.pp.PPPacker.packPublicPart(PPPacker.java:406)
at com.sap.tc.buildplugin.pp.PPPacker.pack(PPPacker.java:359)
at com.sap.tc.buildplugin.pp.PPPackTask._execute(PPPackTask.java:233)
at com.sap.tc.buildplugin.techdev.ant.util.BPTask.execute(BPTask.java:20)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
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 com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:115)
at com.sap.tc.buildplugin.AbstractAntBuildAction.execute(AbstractAntBuildAction.java:65)
at com.sap.tc.buildplugin.AbstractPlugin.handleBuildStepSequence(AbstractPlugin.java:225)
at com.sap.tc.buildplugin.AbstractPlugin.performBuild(AbstractPlugin.java:201)
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 com.sap.tc.buildtool.PluginCommunicator.maybeInvoke(PluginCommunicator.java:114)
at com.sap.tc.buildtool.PluginCommunicatorV2.communicate(PluginCommunicatorV2.java:42)
at com.sap.tc.buildtool.PluginHandlerImpl.handlePluginCommunication(PluginHandlerImpl.java:354)
at com.sap.tc.buildtool.PluginHandlerImpl.execute(PluginHandlerImpl.java:176)
at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1726)
at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:5559)
at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.buildDCsForDevConfig(BuildAction.java:307)
at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.access$200(BuildAction.java:58)
at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction$1.run(BuildAction.java:212)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
[/code]
Am I doing something wrong or SAP again released something not tested?
Thank you for your answers!
Best regards, IvanDid you also follow the instructions in note 891223? This note is referenced from note 935334 and describes how to update the Build plugins in your track(s).
Message was edited by: Pascal Willemsen -
Java EE5 Tutorial - 'ant create-tables' BUILD FAILED
Hi,
Appologies, this is quite a begineers question, hopefully it's an easy one to answer. I've searched for the last few hours regarding this issue,
trying things and searched the forums here at sun with no similar issue. As you can see below, I cannot create the tables for the bookstore1 application using 'ant'.
I am getting a FileNotFoundException however the delete.sql and tutorial.sql files are at this location C:\javaee\javaeetutorial5\examples\common\sql\javadb\
I have also made sure that the files have read and write access. I know their could be some permissions issues using vista if I installed at C:/ProgramFiles, so everything is in C:/
Another thing I have tried is using the ant command directly even though the PATH is in my enviroment variables, just incase another version was conflicting, as I read about people having such issues.
"C:\Sun\AppServer\lib\ant\bin\ant create-tables" => This gave the same error as below. Im not sure what other information may help you help me here, so just ask.
Annoying thing is, this example worked fine when I set up the environment on my work laptop (which I have no access to now) earlier, I didn't have this issue.
Thanks for your help.
/Paul.
c:\javaee\javaeetutorial5\examples\web\bookstore1>ant create-tables
Buildfile: build.xml
-pre-init:
init:
check:
tools:
start-db:
[exec] Database already started on host localhost, port 1527.
[exec] Command start-database executed successfully.
delete-tables:
[sql] Executing file: C:\javaee\javaeetutorial5\examples\web\bookstore1\=C:\javaee\javaeetutorial5\examples\common\sql\javadb\delete.sql
BUILD FAILED
C:\javaee\javaeetutorial5\examples\bp-project\database-ant.xml:48: java.io.FileNotFoundException: C:\javaee\javaeetutorial5\examples\web\bookstore1\=C
:\javaee\javaeetutorial5\examples\common\sql\javadb\delete.sql (The filename, directory name, or volume label syntax is incorrect)
Total time: 21 seconds
c:\javaee\javaeetutorial5\examples\web\bookstore1>Hi,
This is due to the path problem that u specified in build.properties file for javaee.tutorial.home= variable. Use / instead of \. Problem will solved.
Thanks
Amalka -
BUILD FAILED java.lang.Error: unable to load schema-for-schema for W3C XML
I am new to JAXB, I am trying to run the sample applciations on Win 98,
I have set up the environment values as per the UserGuide specs.
I am getting the following error:
BUILD FAILED java.lang.Error: unable to load schema-for-schema for W3C XML Schema at com.sun.msv.reader.xmlschema.XMLSchemaReader.getXmlSchemaForXmlSchema (XMLSchemaReader.java:190)
Could someone please suggest a solution.
Thank you.Hi
I am using Windows 2000 and I am repeatedly getting the same error too (See below). Would appreciate any help ..
parsing a schema...
org.iso_relax.verifier.VerifierConfigurationException
at com.sun.msv.verifier.jarv.FactoryImpl.compileSchema(FactoryImpl.java:104)
at org.iso_relax.verifier.VerifierFactory.compileSchema(Unknown Source)
at org.iso_relax.verifier.VerifierFactory.compileSchema(Unknown Source)
at com.sun.msv.reader.xmlschema.XMLSchemaReader.getXmlSchemaForXmlSchema(XMLSchemaReader.java:186)
at com.sun.tools.xjc.Driver$1.<init>(Driver.java:477)
at com.sun.tools.xjc.Driver.loadXMLSchemaGrammar(Driver.java:476)
at com.sun.tools.xjc.Driver.loadGrammar(Driver.java:404)
at com.sun.tools.xjc.Driver.run(Driver.java:268)
at com.sun.tools.xjc.Driver.main(Driver.java:88)
at sample1.Binder.main(Binder.java:18)
StackTrace of Original Exception:
java.lang.NullPointerException
at com.sun.msv.datatype.xsd.TypeIncubator.addFacet(TypeIncubator.java:64)
at com.sun.msv.reader.datatype.xsd.XSDatatypeExp$1.addFacet(XSDatatypeExp.java:87)
at com.sun.msv.reader.datatype.xsd.FacetState.startSelf(FacetState.java:56)
at com.sun.msv.reader.State.init(State.java:154)
at com.sun.msv.reader.GrammarReader.pushState(GrammarReader.java:579)
at com.sun.msv.reader.datatype.xsd.TypeState.startElement(TypeState.java:101)
at org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:459)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:221)
at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java:874)
at org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBinder.java:591)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:747)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
at com.sun.msv.reader.GrammarReader._parse(GrammarReader.java:459)
at com.sun.msv.reader.GrammarReader.switchSource(GrammarReader.java:434)
at com.sun.msv.reader.GrammarReader.switchSource(GrammarReader.java:407)
at com.sun.msv.reader.xmlschema.XMLSchemaReader.switchSource(XMLSchemaReader.java:683)
at com.sun.msv.reader.xmlschema.ImportState.startSelf(ImportState.java:41)
at com.sun.msv.reader.State.init(State.java:154)
at com.sun.msv.reader.GrammarReader.pushState(GrammarReader.java:579)
at com.sun.msv.reader.SimpleState.startElement(SimpleState.java:72)
at org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:459)
at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java:877)
at org.apache.xerces.impl.XMLNamespaceBinder.startElement(XMLNamespaceBinder.java:569)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:759)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
at com.sun.msv.reader.GrammarReader._parse(GrammarReader.java:459)
at com.sun.msv.reader.GrammarReader.parse(GrammarReader.java:449)
at com.sun.msv.reader.xmlschema.XMLSchemaReader.parse(XMLSchemaReader.java:89)
at com.sun.msv.verifier.jarv.XSFactoryImpl.parse(XSFactoryImpl.java:26)
at com.sun.msv.verifier.jarv.FactoryImpl.compileSchema(FactoryImpl.java:95)
at org.iso_relax.verifier.VerifierFactory.compileSchema(Unknown Source)
at org.iso_relax.verifier.VerifierFactory.compileSchema(Unknown Source)
at com.sun.msv.reader.xmlschema.XMLSchemaReader.getXmlSchemaForXmlSchema(XMLSchemaReader.java:186)
at com.sun.tools.xjc.Driver$1.<init>(Driver.java:477)
at com.sun.tools.xjc.Driver.loadXMLSchemaGrammar(Driver.java:476)
at com.sun.tools.xjc.Driver.loadGrammar(Driver.java:404)
at com.sun.tools.xjc.Driver.run(Driver.java:268)
at com.sun.tools.xjc.Driver.main(Driver.java:88)
at sample1.Binder.main(Binder.java:18)
java.lang.Error: unable to load schema-for-schema for W3C XML Schema
at com.sun.msv.reader.xmlschema.XMLSchemaReader.getXmlSchemaForXmlSchema(XMLSchemaReader.java:190)
at com.sun.tools.xjc.Driver$1.<init>(Driver.java:477)
at com.sun.tools.xjc.Driver.loadXMLSchemaGrammar(Driver.java:476)
at com.sun.tools.xjc.Driver.loadGrammar(Driver.java:404)
at com.sun.tools.xjc.Driver.run(Driver.java:268)
at com.sun.tools.xjc.Driver.main(Driver.java:88)
at sample1.Binder.main(Binder.java:18)
Exception in thread "main"
-Thanks
Guna -
Build Failed: java.io.IOException: CreateProcess
Hi,
Would someone help me on my problem. I had encountered a "java.io.IOException: CreateProcess" when the ant script was about to execute the lines below:
<java classname="AllTests" fork="true" failonerror="yes">
<classpath>
<path refid="all.classpath" />
<path refid="emma.coverage.classes" />
<pathelement location="${emma.instr}" />
<pathelement location="${classes.temp}" />
</classpath>
<jvmarg
value="-Demma.coverage.out.file=${emma.coverage}/coverage.emma" />
<jvmarg value="-Demma.coverage.out.merge=true" />
</java>
The result and the message was stated below.
BUILD FAILED
C:\RAD901\build\emma-build.xml:89: java.io.IOException: CreateProcess: "C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\java\
jre\bin\java.exe" -Demma.coverage.out.file=C:\RAD901\build/temp/emma/coverage/coverage.emma -Demma.coverage.out.merge=true -classpat
h "C:\RAD901\build\libs\XmlWriter.jar;C:\RAD901\build\libs\cactus1-6\aspectjrt-1.1.1.jar;C:\RAD901\build\libs\cactus1-6\cactus-1.6.1
.jar;C:\RAD901\build\libs\cactus1-6\cactus-ant-1.6.1.modified.jar;C:\RAD901\build\libs\cactus1-6\commons-codec-1.3.jar;C:\RAD901\bui
ld\libs\cactus1-6\commons-httpclient-3.0.1.jar;C:\RAD901\build\libs\cactus1-6\commons-logging-1.0.3.jar;C:\RAD901\build\libs\cactus1
-6\httpunit-1.5.4.jar;C:\RAD901\build\libs\cactus1-6\nekohtml-0.7.4.jar;C:\RAD901\build\libs\catalina.jar;C:\RAD901\build\libs\com-d
arwinsys-util.jar;C:\RAD901\build\libs\commons-pool-1.4.jar;C:\RAD901\build\libs\db2jcc.jar;C:\RAD901\build\libs\db2jcc_license_cu.j
ar;C:\RAD901\build\libs\emma.jar;C:\RAD901\build\libs\hapi-0.5.1.jar;C:\RAD901\build\libs\jboss-common.jar;C:\RAD901\build\libs\jstl
-1.0.jar;C:\RAD901\buil
The result was incomplete. I don't know why, but I would like to know the cause of my exception. I hope somebody could help me.
Thank you so much in advance.Hello all,
I'm having almost the same issue related to error message when I hit a button on my manufacturing software.
*"ScriptException: Error in exec: java.io.IOException: CreateProcess*
*exec(C:\\progra~1\\intern~1\\iexplore.exe http://cbweb4:81/barcode/CMbombyorder.asp\u003FR2=P&T2=12875424-P")*
This is when I hit a button that works for us to show this webpage I wrote previously. Last week we didnt have this issue, this just started this morning and I dont know what do to, it shows something about JAVA, that's why I'm asking to you guys, I dont know if you could please enlight me a little bit.
Thanks in advance. -
BUILD FAILED java.lang.ExceptionInInitializerError in Jdeveloper
When I try to deploy a BPEL process from JDeveloper 10.1.3.2.0 by right clicking on projectname and selecting deploy, I get following error.
Buildfile: D:\OracleJDeveloper\jdev\mywork\Application_DGA_Second\DGA_HelloAppendProcess\build.xml
validateTask:
[echo]
| Validating workflow
[validateTask] Validation of workflow task definitions is completed without errors
deployProcess:
[echo]
| Deploying bpel process DGA_HelloAppendProcess on punib.mycompany.com, port 7777
[deployProcess] Deploying process D:\OracleJDeveloper\jdev\mywork\Application_DGA_Second\DGA_HelloAppendProcess\output\bpel_DGA_HelloAppendProcess_1.0.jar
BUILD FAILED
java.lang.ExceptionInInitializerError
Total time: 6 seconds
When i follow same procedure from another system it works fine.
I am stuck here, please help to resolve this problem.James,
While the upgrade of JDeveloper to 10.1.3.4 will take some time, let me clarify the situation.
We have SOA suite and Oracle application server installed on a server machine and two client machines (one of which I am using) have Jdev installed on them. When I deploy the BPEL from Jdev running on my colleague's machine it works fine but fails when I try the same from Jdev running on my machine.
The versions of Jdev are exactly the same on the two machines. And versions of SOA suite, Oracle application server etc are naturally same as it is being deployed on same server. Appreciate your valuable guidance.
Thanks and Regards,
Dhiraj. -
I use BPM standalone 10g and BPM studio 10g.
I copy the AntTasks folder to F:
Then, I change the BPMHOME of all files.
Then, I ran the ant.
However, the ant is fail.
Error mesage:
F:\AntTasks\build.xml: 268: The file or path you specified (..\..\basic) is invalid relative to F:\AntTasks
or The command line shows error:
Build failed
F:\AntTasks\build.xml:268: Cannot resolve path F:\AntTasks\..\..\basic
The build file is like that
<property name="bpm.projects.dir" value="${basedir}/../../basic" />
<property name="fuego.basedir" value="D:\BPM_HOME" />
How to change the path?
Then, I copy the above folder to D:\BPM_HOME\samples
I rerun the ant script.
set ANT_ARGS=-lib D:\BPM_HOME\lib;D:\BPM_HOME\ext
ant -Denv=EDV deploy-bpm-project
But the build is failed again. The error message as as follow:
D:\BPM_HOME\samples\interop\AntTasks\build.xml:249: Properties file does not exist! D:\BPM_HOME\samples\interop\AntTasks\config\EDV\directory.xml
However, I do not delete files.Now, I use the original AntTasks sample and run the scripts. I stop the BPM application.
I follow each step of the readme.txt. But during the first step, it shows error of illegal arguments.
New engin can be created. But it cannot be run through ant. And I cannot deploy the BPM project.
I try in the second method.
I have a Default Eirectory Configuration named default. If I just want to deploy .exp file to default, how to modify the script files?
I just run the script of deployment. The build is still failed.
I cannot find xsi in all xml file in that folder
D:\BPM_HOME\samples\interop\AntTasks_defaultEngine>set ANT_ARGS=-lib
D:\BPM_HOME\lib;D:\BPM_HOME_standalone\ext
D:\BPM_HOME\samples\interop\AntTasks_defaultEngine>ant deploy-bpm-pro
ject
Buildfile: build.xml
[input] No environment specified. Please enter environment id:(DEV,PROD,UAT,
config)
DEV
prompt-project-name:
[echo] bpm.projects.dir = ../../basic
[input] Please enter project name:(ExpenseManagement,HROnboarding)
HROnboarding
deploy-bpm-project:
[input] Enter Organizational Unit for deployment (may be empty):
ou
[input] Force new major version?(y,n)
y
[unzip] Expanding: D:\BPM_HOME_standalone\samples\basic\HROnboarding.exp int
o D:\BPM_HOME_standalone\samples\basic
[echo] Publishing and deploying HROnboarding project on DEV environment ...
[fuego:session] fuego base dir [\BPM_HOME]
[fuego:session] CREATE_CONNECTOR 正在创建连接器 [fuego:SQL]
[fuego:publish] text = nostore
[fuego:publish] text = nostore
[fuego:publish] [Error] :3:69: <Line 3, Column 69>: XML-20129: (Error) Namespace
prefix 'xsi' used but not declared.
[fuego:publish] [Error] :8:33: <Line 8, Column 33>: XML-20129: (Error) Namespace
prefix 'xsi' used but not declared.
[fuego:publish] [Error] :10:34: <Line 10, Column 34>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :12:40: <Line 12, Column 40>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :14:42: <Line 14, Column 42>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :16:32: <Line 16, Column 32>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :18:34: <Line 18, Column 34>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :20:37: <Line 20, Column 37>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :22:50: <Line 22, Column 50>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :30:39: <Line 30, Column 39>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :32:35: <Line 32, Column 35>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :38:38: <Line 38, Column 38>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :42:43: <Line 42, Column 43>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :44:33: <Line 44, Column 33>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :46:38: <Line 46, Column 38>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :48:35: <Line 48, Column 35>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :3:69: <Line 3, Column 69>: XML-20129: (Error) Namespace
prefix 'xsi' used but not declared.
[fuego:publish] [Error] :8:33: <Line 8, Column 33>: XML-20129: (Error) Namespace
prefix 'xsi' used but not declared.
[fuego:publish] [Error] :10:34: <Line 10, Column 34>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :12:40: <Line 12, Column 40>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :14:42: <Line 14, Column 42>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :16:32: <Line 16, Column 32>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :18:34: <Line 18, Column 34>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :20:37: <Line 20, Column 37>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :22:50: <Line 22, Column 50>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :30:39: <Line 30, Column 39>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :32:35: <Line 32, Column 35>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :38:38: <Line 38, Column 38>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :42:43: <Line 42, Column 43>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :44:33: <Line 44, Column 33>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :46:38: <Line 46, Column 38>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
[fuego:publish] [Error] :48:35: <Line 48, Column 35>: XML-20129: (Error) Namespa
ce prefix 'xsi' used but not declared.
BUILD FAILED
D:\BPM_HOME\samples\interop\AntTasks_defaultEngine\build.xml:261: jav
a.lang.IllegalArgumentException -
EjbModule Build failed ...
Hello all,
I am new to CAF developing, and I am experiencing this problem: When I create new CAF DC and when I add only one entity service (only adding no other customization) a try to build this occurs through building:
0.3.2006 18:37:30 /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: test3/ejbmodule: Build failed for sk.globesy/test3/ejbmodule(MyComponents) in variant "default": JDO enhancer failed because of internal Error.
Build log -
Development Component Build (2006-03-30 18:37:28)
Component name: test3/ejbmodule
Component vendor: sk.globesy
SC compartment: MyComponents
Configuration: LocalDevelopment
Location: local
Source code location: koskarm@gn10
DC root folder: C:\Documents and Settings\koskarm\.dtc\LocalDevelopment\DCs\sk.globesy\test3\ejbmodule\_comp\
DC type: J2EE
DC subtype: EJBModule
Host: gn10
DC Model check:
[dcmake] All used DCs are available locally
[dcmake] validating dependency to build plugin "sap.com/tc/bi/bp/ejbmodule"
[dcmake] validating dependency to public part "default" of DC "sap.com/ejb20"
[dcmake] validating dependency to public part "default" of DC "sap.com/jdbc20"
[dcmake] validating dependency to public part "default" of DC "sap.com/jms"
[dcmake] validating dependency to public part "default" of DC "sap.com/tc/ddic/metamodel/content"
[dcmake] validating dependency to public part "CAFRuntimeAPI" of DC "sap.com/caf/runtime/impl"
[dcmake] validating dependency to public part "default" of DC "sap.com/bi/mmr/core"
[dcmake] validating dependency to public part "compilation" of DC "sap.com/caf/metamodel"
[dcmake] validating dependency to public part "default" of DC "sap.com/com.sap.security.api.sda"
[dcmake] validating dependency to public part "default" of DC "sap.com/tc/logging"
[dcmake] validating dependency to public part "default" of DC "sap.com/com.sap.exception"
[dcmake] validating dependency to public part "default" of DC "sap.com/com.sap.jdo"
[dcmake] validating dependency to public part "compilation" of DC "sap.com/bi/mmr/cwm_1.0_source"
[dcmake] validating dependency to public part "jmi" of DC "sap.com/bi/mmr/jmi"
[dcmake] validating dependency to public part "ClientApi" of DC "sap.com/caf/km.proxyjava"
[dcmake] validating dependency to public part "default" of DC "sap.com/bi/mmr/db"
[dcmake] validating dependency to public part "ClientAPI" of DC "sap.com/caf/runtime/security"
[dcmake] validating dependency to public part "ClientAPI" of DC "sap.com/caf/core/services"
[dcmake] validating dependency to used DC "sap.com/caf/runtime/connectivity/base"
[dcmake] validating dependency to used DC "sap.com/caf/runtime/connectivity"
[dcmake] validating dependency to used DC "sap.com/applocking"
[dcmake] validating dependency to public part "default" of DC "sap.com/com.sap.engine.client.lib"
[dcmake] validating dependency to public part "default" of DC "sap.com/kernel.sda"
[dcmake] DC model check OK
Start build plugin:
[dcmake] using build plugin: sap.com/tc/bi/bp/ejbmodule
[dcmake] starting build plugin from : C:\Program Files\SAP\JDT\eclipse\plugins\com.sap.tc.ap\comp\SAP_BUILDT\DCs\sap.com\tc\bi\bp\ejbmodule\_comp\gen\default\public\ejb\
Build Plugin 'EJB Module Plugin', Version 6.40 SP 15 (630_VAL_REL, built on 2005-11-25 00:23:07 CET)
development component: test3/ejbmodule (sk.globesy)
type: J2EE, subtype: EJBModule
software component: MyComponents (sap.com)
location: local
source location: koskarm@gn10
build variant: default
plugin start time: 2006-03-30 18:37:28 GMT+01:00 (CEST)
Java VM: Java HotSpot(TM) Client VM, 1.5.0_01-b08 (Sun Microsystems Inc.)
General options:
convert *.xlf to *.properties: yes
include sources for debugging: yes
Reading BuildInfrastructure extension from DC tc/bi/javatech (sap.com)
Reading BuildInfrastructure extension from DC tc/bi/util (sap.com)
Added technology 'sap.com/tc/bi/core'
Added technology 'sap.com/tc/bi/javatech'
Plugin initialized in 0.031 seconds
Preparing data context..
No 'default' JDK defined, will use running VM.
Data context prepared in 0.015 seconds
Executing macro file..
Using macro file: C:\Program Files\SAP\JDT\eclipse\plugins\com.sap.tc.ap\comp\SAP_BUILDT\DCs\sap.com\tc\bi\bp\ejbmodule\_comp\gen\default\public\ejb\macros\build.vm
Creating output file: C:\Documents and Settings\koskarm\.dtc\LocalDevelopment\DCs\sk.globesy\test3\ejbmodule\_comp\gen\default\logs\build.xml
Macro file executed in 0.047 seconds
Starting Ant..
Using build file: C:\Documents and Settings\koskarm\.dtc\LocalDevelopment\DCs\sk.globesy\test3\ejbmodule\_comp\gen\default\logs\build.xml
Using build target: build
Generation folder: C:\Documents and Settings\koskarm\.dtc\LocalDevelopment\t\EE76BAB34EE55D9582B939C3638F656A
Ant build started at 2006-03-30 18:37:28 GMT+01:00 (CEST)
Using Ant version 1.5.4
prepare:
compile:
[javac] Compiling 7 source files to C:\Documents and Settings\koskarm\.dtc\LocalDevelopment\t\EE76BAB34EE55D9582B939C3638F656A\classes
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[timer] Java compiler finished in 1.547 seconds
[echo] Calling JDOEnhance task
[jdo.enhance] Using classfile: C:\Documents and Settings\koskarm\.dtc\LocalDevelopment\t\EE76BAB34EE55D9582B939C3638F656A\classes/globesy\sk\test3\besrv\testa\TestA.class
[jdo.enhance] Using metadata : C:\Documents and Settings\koskarm\.dtc\LocalDevelopment\DCs\sk.globesy\test3\ejbmodule\_comp\/ejbModule/globesy\sk\test3\besrv\testa\TestA.jdo
[jdo.enhance] Using dst : C:\Documents and Settings\koskarm\.dtc\LocalDevelopment\t\EE76BAB34EE55D9582B939C3638F656A\classes
Error while enhancing: JDO ENHANCER: At least one error occurred while enhancing input class for Transparent Persistence; detailed message(s): I/O error while reading input stream or input stream does not denote a valid Java class.
com.sap.jdo.enhancer.EnhancerUserException: JDO ENHANCER: At least one error occurred while enhancing input class for Transparent Persistence; detailed message(s): I/O error while reading input stream or input stream does not denote a valid Java class.
at com.sap.jdo.enhancer.filter.Enhancer.enhanceClassFile(Enhancer.java:238)
at com.sap.jdo.enhancer.Main.enhanceClassFile(Main.java:516)
at com.sap.jdo.enhancer.Main.enhanceInputFiles(Main.java:474)
at com.sap.jdo.enhancer.Main.process(Main.java:139)
at com.sap.jdo.anttasks.JDOEnhance.run(JDOEnhance.java:99)
at com.sap.jdo.anttasks.JDOEnhance.execute(JDOEnhance.java:82)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
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 com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:115)
at com.sap.tc.buildplugin.AbstractAntBuildAction.execute(AbstractAntBuildAction.java:65)
at com.sap.tc.buildplugin.AbstractPlugin.handleBuildStepSequence(AbstractPlugin.java:217)
at com.sap.tc.buildplugin.AbstractPlugin.performBuild(AbstractPlugin.java:193)
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:585)
at com.sap.tc.buildtool.PluginCommunicator.maybeInvoke(PluginCommunicator.java:114)
at com.sap.tc.buildtool.PluginCommunicatorV2.communicate(PluginCommunicatorV2.java:42)
at com.sap.tc.buildtool.PluginHandlerImpl.handlePluginCommunication(PluginHandlerImpl.java:345)
at com.sap.tc.buildtool.PluginHandlerImpl.execute(PluginHandlerImpl.java:175)
at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1726)
at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:5548)
at com.sap.caf.designer.actions.DcBuildAction.buildDCsForDevConfig(DcBuildAction.java:768)
at com.sap.caf.designer.actions.DcBuildAction.access$300(DcBuildAction.java:84)
at com.sap.caf.designer.actions.DcBuildAction$1.run(DcBuildAction.java:500)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
aborted with errors.
Ant build finished with ERRORS
file:C:/Documents and Settings/koskarm/.dtc/LocalDevelopment/DCs/sk.globesy/test3/ejbmodule/_comp/gen/default/logs/build.xml:308: JDO enhancer failed because of internal Error.
Ant build finished at 2006-03-30 18:37:30 GMT+01:00 (CEST), Duration: 1.75 seconds
Build finished with ERROR
Cleaning up.
Total build plug-in runtime: 2.109 seconds
My coleague have installed fresh installation of NWDS SPS15 and the same example on his installation work fine. All building proccesses are successfully executed. I tried it several times, everytime same result. I tried to use fresh workspace, tried to delete whole content in ./dtc.
I compared every file with coleague installation. But no success. I am running out of ideas what should I do with it.
If anyone was facing similar problem or have any idea. I will be glad to read it.
Thanks
Best regards Miroslav KoskarHi,
I have similar error:
Can anybody help me?
Regards.
[jdo.enhance] WARNING: Caused by: com.sap.jdo.enhancer.util.UserException: The byte code of the class file has version 1.6. This is not supported by the JDO enhancer. Please compile with the option -target 1.5.
[jdo.enhance] WARNING: at com.sap.jdo.enhancer.classfile.ClassFile.assertSupportedVersion(ClassFile.java:101)
[jdo.enhance] WARNING: at com.sap.jdo.enhancer.classfile.ClassFile.<init>(ClassFile.java:364)
[jdo.enhance] WARNING: at com.sap.jdo.enhancer.filter.Enhancer.enhanceClassFile1(Enhancer.java:144)
[jdo.enhance] WARNING: at com.sap.jdo.enhancer.filter.Enhancer.enhanceClassFile(Enhancer.java:192)
[jdo.enhance] WARNING: ... 45 more
[jdo.enhance] aborted with errors.
Ant runtime 1.07 seconds
Ant build finished with ERRORS
JDO enhancer failed because of unknown Error: 1
Build stopped due to an error: JDO enhancer failed because of unknown Error: 1
Build plugin finished at 2013-03-14 12:59:22 GMT+01:00 (CET)
Total build plugin runtime: 1.34 seconds
Build finished with ERROR -
ODC: ERROR PKIX path building failed: to find valid certification path
Hi to all,
some one has experienced the error: PKIX path building failed: to find valid certification path to request target.... on the ODC while trying to connect
we solved temporally adding the ssl to the java virtual machine, is there a path in the odc to set the ssl ?
ODC 10.350
Thanks!If you are trying to connect to UCM via SSL , Please check below note
ODC - Errors Attempting to Connect to UCM Configured Through SSL (Doc ID 793137.1) -
Hi,
I am trying to send an email from Oracle SOA server. I have the latest java mail & jdk.
I am using yahoo india smtp settings.
smtp.mail.yahoo.co.in
SSL
465
I tried it with gmail as well. Also i tried a sample program with yahoo/gmail, but still the same exception...
Any help pls??
[TopLink Info]: 2010.08.30 15:02:05.969--ServerSession(676145274)--businessrules_session_oracle login successful
<Aug 30, 2010 3:07:11 PM EST> <Error> <oracle.sdp.messaging.driver.email> <SDP-25700> <An unexpected exception was caught.
javax.mail.MessagingException: Exception reading response;
nested exception is:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1611)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1369)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:412)
at javax.mail.Service.connect(Service.java:310)
at javax.mail.Service.connect(Service.java:169)
at javax.mail.Service.connect(Service.java:118)
at oracle.sdpinternal.messaging.driver.email.EmailDriver.send(EmailDriver.java:781)
at oracle.sdpinternal.messaging.driver.email.EmailManagedConnection.send(EmailManagedConnection.java:56)
at oracle.sdpinternal.messaging.driver.DriverConnectionImpl.send(DriverConnectionImpl.java:41)
at oracle.sdpinternal.messaging.dispatcher.DriverDispatcherBean.onMessage(DriverDispatcherBean.java:298)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Sample Program:
import java.util.Properties;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.Message.RecipientType;
import javax.mail.internet.AddressException;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
import com.sun.mail.smtp.SMTPSSLTransport;
public class SendMailExample {
public static void main(String[] args) {
String from = "[email protected]";
String to = "[email protected]";
String subject = "Test Message";
String message = "This is A test message sent via Gmail ";
SendMail sendMail = new SendMail(from, to, subject, message);
sendMail.send();
class SendMail {
private String from;
private String to;
private String subject;
private String text;
public SendMail(String from, String to, String subject, String text){this.from = from; this.to = to; this.subject = subject;this.text = text;}
public void send(){
String host = "smtp.gmail.com";
String userid = "xx";
String password = "xx";
try
Properties props = System.getProperties();
props.put("mail.smtp.starttls.enable", "true");
props.put("mail.smtp.host", host);
props.setProperty("mail.transport.protocol", "smtps");
props.put("mail.smtp.user", userid);
props.put("mail.smtp.password", password);
props.put("mail.smtp.port", "465");
props.put("mail.smtps.auth", "true");
Session session = Session.getDefaultInstance(props, null);
MimeMessage message = new MimeMessage(session);
InternetAddress fromAddress = null;
InternetAddress toAddress = null;
try {
fromAddress = new InternetAddress(from);
toAddress = new InternetAddress(to);
} catch (AddressException e) {
e.printStackTrace();
message.setFrom(fromAddress);
message.setRecipient(RecipientType.TO, toAddress);
message.setSubject(subject);
message.setText(text);
//SMTPSSLTransport transport =(SMTPSSLTransport)session.getTransport("smtps");
Transport transport = session.getTransport("smtps");
transport.connect(host, userid, password);
transport.sendMessage(message, message.getAllRecipients());
transport.close();
} catch (MessagingException e) {
e.printStackTrace();
Thanks,
GaneshHi Ganesh!
Thanks a bunch for your quick response...
So, just to be sure about what I need to do:
1.- From the setDomainEnv.cmd I need to remove the part that reads -Djavax.net.ssl.trustStore=%WL_HOME%\server\lib\DemoTrust.jks...
2.- In the Keystores tab found in WebLogic Console Home > Summary of Servers > AdminServer(admin), change the Keystores current value "Demo Identity and Demo Trust" to the "Custom Identity and Java Standard Trust" option found in the dropdown box.
I have a doubt in number 2... Do I have to do this only in the AdminServer or I have to do it in both, the AdminServer and my ManagedServer (soa_server1)?
Again, thanks for your help, this error was driving me crazy! -
BUILD FAILED: problem with junit
Hi, I'm taking the CDJ-310A - Developing Applications for the J2EE Platform course and have run into a problem when issuing a call to asant. When I run asant test the message it gives is "Ant could not find the task or a class this task relies upon.".The errors I get refer to the junit package.
I've check the CLASSPATH and it seams ok:
D:\labs\FJ310\bankproject>javap junit.framework.TestCase
Compiled from "TestCase.java"
public abstract class junit.framework.TestCase extends junit.framework.Assert im
plements junit.framework.Test{
public junit.framework.TestCase();
public junit.framework.TestCase(java.lang.String);
public int countTestCases();
protected junit.framework.TestResult createResult();
public junit.framework.TestResult run();
public void run(junit.framework.TestResult);
public void runBare() throws java.lang.Throwable;
protected void runTest() throws java.lang.Throwable;
protected void setUp() throws java.lang.Exception;
protected void tearDown() throws java.lang.Exception;
public java.lang.String toString();
public java.lang.String getName();
public void setName(java.lang.String);
D:\labs\FJ310\bankproject>javap junit.textui.TestRunner
Compiled from "TestRunner.java"
public class junit.textui.TestRunner extends junit.runner.BaseTestRunner{
public static final int SUCCESS_EXIT;
public static final int FAILURE_EXIT;
public static final int EXCEPTION_EXIT;
public junit.textui.TestRunner();
public junit.textui.TestRunner(java.io.PrintStream);
public junit.textui.TestRunner(junit.textui.ResultPrinter);
public static void run(java.lang.Class);
public static junit.framework.TestResult run(junit.framework.Test);
public static void runAndWait(junit.framework.Test);
public void testFailed(int, junit.framework.Test, java.lang.Throwable);
public void testStarted(java.lang.String);
public void testEnded(java.lang.String);
protected junit.framework.TestResult createTestResult();
public junit.framework.TestResult doRun(junit.framework.Test);
public junit.framework.TestResult doRun(junit.framework.Test, boolean);
protected void pause(boolean);
public static void main(java.lang.String[]);
public junit.framework.TestResult start(java.lang.String[]) throws jav
a.lang.Exception;
protected junit.framework.TestResult runSingleMethod(java.lang.String, java.
lang.String, boolean) throws java.lang.Exception;
protected void runFailed(java.lang.String);
public void setPrinter(junit.textui.ResultPrinter);
But still these errors still are produced:
D:\labs\FJ310\bankproject>asant clean
Buildfile: build.xml
clean:
[delete] Deleting directory D:\labs\FJ310\bankproject\build
[delete] Deleting directory D:\labs\FJ310\bankproject\jar
BUILD SUCCESSFUL
Total time: 0 seconds
D:\labs\FJ310\bankproject>asant
Buildfile: build.xml
prepare:
[mkdir] Created dir: D:\labs\FJ310\bankproject\build
[mkdir] Created dir: D:\labs\FJ310\bankproject\jar
compile:
[javac] Compiling 6 source files to D:\labs\FJ310\bankproject\build
[javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:9: package junit
.framework does not exist
[javac] import junit.framework.*;
[javac] ^
[javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:11: cannot find
symbol
[javac] symbol: class TestCase
[javac] public class BankMgrTest extends TestCase {
[javac] ^
[javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:15: cannot find
symbol
[javac] symbol : class Test
[javac] location: class bank.BankMgrTest
[javac] public static Test suite() {
[javac] ^
[javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:16: cannot find
symbol
[javac] symbol : class TestSuite
[javac] location: class bank.BankMgrTest
[javac] return new TestSuite(BankMgrTest.class);
[javac] ^
[javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:20: package juni
t.textui does not exist
[javac] junit.textui.TestRunner.run(suite());
[javac] ^
[javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:39: cannot find
symbol
[javac] symbol : method assertEquals(java.lang.String,java.lang.String)
[javac] location: class bank.BankMgrTest
[javac] assertEquals("Fred", data.getFirstname());
[javac] ^
[javac] D:\labs\FJ310\bankproject\src\bank\BankMgrTest.java:40: cannot find
symbol
[javac] symbol : method assertEquals(java.lang.String,java.lang.String)
[javac] location: class bank.BankMgrTest
[javac] assertEquals("Flintstone", data.getLastname());
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 7 errors
BUILD FAILED
D:\labs\FJ310\bankproject\build.xml:14: Compile failed; see the compiler error o
utput for details.
Total time: 4 seconds
Any help solving these errors would be highly appreciated. I'm stuck right now. Thanks!i have this problem too. and i added in CLASSPATH the path for junit.jar file. but still does not work
my build.xml file :
<project name="bankproject" default="deploy" basedir=".">
<property environment="env"/>
<property name="src.dir" value="${basedir}/src"/>
<property name="build.dir" value="${basedir}/build"/>
<property name="jar.dir" value="${basedir}/jar"/>
<target name="prepare">
<mkdir dir="${build.dir}"/>
<mkdir dir="${jar.dir}"/>
</target>
<target name="compile" depends="prepare" >
<javac destdir="${build.dir}">
<src path="${src.dir}"/>
</javac>
</target>
<target name="package-bankmgr" depends="compile">
<delete file="${jar.dir}/BankEJBModule.jar"/>
<copy file="dd/bank-ejb-jar.xml" tofile="${build.dir}/ejb-jar.xml" overwrite="true"/>
<copy file="dd/bank-sun-ejb-jar.xml" tofile="${build.dir}/sun-ejb-jar.xml" overwrite="true"/>
<jar jarfile="${jar.dir}/BankEJBModule.jar">
<metainf dir="${build.dir}" includes="ejb-jar.xml,sun-ejb-jar.xml" />
<fileset dir="${build.dir}">
<include name="bank/**" />
<exclude name="bank/BankMgrTest.class" />
<exclude name="bank/CustomerTest.class" />
</fileset>
</jar>
</target>
<target name="package-ejbs" depends="package-bankmgr" />
<target name="package-client" depends="compile">
<delete file="${jar.dir}/ClientModule.jar"/>
<copy file="dd/bank-application-client.xml" tofile="${build.dir}/application-client.xml" overwrite="true"/>
<copy file="dd/bank-sun-application-client.xml" tofile="${build.dir}/sun-application-client.xml" overwrite="true"/>
<jar jarfile="${jar.dir}/ClientModule.jar">
<manifest>
<attribute name="Main-Class" value="bank.MessageClient" />
</manifest>
<metainf dir="${build.dir}" includes="application-client.xml,sun-application-client.xml" />
<fileset dir="${build.dir}">
<include name="bank/MessageClient.class" />
</fileset>
</jar>
</target>
<target name="assemble-app" depends="package-ejbs,package-client">
<delete file="${jar.dir}/BankApplication.ear"/>
<copy file="dd/bank-application.xml" tofile="${build.dir}/application.xml" overwrite="true"/>
<ear destfile="${jar.dir}/BankApplication.ear" appxml="${build.dir}/application.xml">
<fileset dir="${jar.dir}">
<include name="BankEJBModule.jar"/>
<include name="ClientModule.jar"/>
</fileset>
</ear>
</target>
<property name="j2ee.home" value="${env.J2EE_HOME}" />
<property name="admin.user" value="admin" />
<property name="admin.pass" value="password" />
<property name="appname" value="BankApplication"/>
<property name="ear.file" value="${jar.dir}/${appname}.ear" />
<target name="setAsadmin" >
<condition property="asadmin" value="asadmin.bat">
<os family="windows"/>
</condition>
<condition property="asadmin" value="asadmin">
<not>
<os family="windows"/>
</not>
</condition>
</target>
<target name="deploy" depends="assemble-app,setAsadmin">
<echo message="Deploying ${ear.file}."/>
<exec dir="." executable="${j2ee.home}/bin/${asadmin}">
<arg line=" deploy"/>
<arg line=" --user ${admin.user}"/>
<arg line=" --password ${admin.pass}"/>
<arg line=" --force=true"/>
<arg line=" --name ${appname}"/>
<arg line=" --retrieve=." />
<arg line=" ${ear.file}"/>
</exec>
</target>
<target name="get-stubs" depends="setAsadmin">
<echo message="Retrieving stubs JAR file for ${appname}."/>
<exec dir="." executable="${j2ee.home}/bin/${asadmin}">
<arg line=" get-client-stubs"/>
<arg line=" --user ${admin.user}"/>
<arg line=" --password ${admin.pass}"/>
<arg line=" --appname ${appname}"/>
<arg line=" ."/>
</exec>
</target>
<target name="undeploy" depends="setAsadmin">
<echo message="Undeploying ${appname}."/>
<exec dir="." executable="${j2ee.home}/bin/${asadmin}">
<arg line=" undeploy"/>
<arg line=" --user ${admin.user}"/>
<arg line=" --password ${admin.pass}"/>
<arg line=" ${appname}"/>
</exec>
</target>
<target name="test">
<junit printsummary="on" haltonfailure="no" filtertrace="off">
<classpath>
<pathelement location="${build.dir}"/>
<pathelement path="${java.class.path}"/>
<pathelement path="BankApplicationClient.jar" />
</classpath>
<formatter type="plain" usefile="no"/>
<test name="bank.BankMgrTest"/>
</junit>
</target>
<target name="clean">
<delete dir="${build.dir}" />
<delete dir="${jar.dir} "/>
</target>
</project> -
Asant build: BUILD FAILED
Hi All,
I'm trying the helloservice example from the J2EE Tutorial. When I build it with asant build, I have the message bellow:
generate-wsdl:
prepare:
[echo] Creating the required directories....
set-wscompile:
run-wscompile:
[echo] Running wscompile:
[echo] /bin/wscompile.bat -define -mapping build/mapping.xml -d build -nd build -classpath build config-interface.xml
BUILD FAILED
file:D/Javaj2sdk/j2eetutorial14/examples/jaxrpc/common/targets.xml:64: Execute failed: java.io.IOException: CreateProcess: \bin\wscompile.bat -define -mapping build/mapping.xml -d build -nd build -classpath build config-interface.xml error=3
Can someone please help me?
Thank you..:)Hello Every One actually i got error when i m giving asant build..................
please give me a solution
Buildfile: build.xml
j2ee-home-test:
BUILD FAILED
F:\j2eetutorial14\examples\common\targets.xml:10: The j2ee.home property is not
properly set in <INSTALL>/j2eetutorial14/examples/common/build.properties.
Set the j2ee.home property to the location of your Application Server installati
on.
On Windows, you must escape any backslashes in the j2ee.home property with anoth
er backslash or use forward slashes as a path separator. So, if your Application
Server installation is C:\Sun\AppServer, you must set j2ee.home as follows:
j2ee.home = F:\\Sun\\AppServer
or
j2ee.home=F:/Sun/AppServer
j2ee.home is currently set to:
Total time: 2 seconds
Maybe you are looking for
-
Hi all, Usually we set the Logical Level (Content Tab) for the LTS in the Fact table. Is there any best practice to set it for the LTS in Dimension tables too? If yes, why do we do that? Please clarify on this. This is very urgent. Regards.
-
i started to update my iphone 4, and in the middle of the update, an icon popped up saying that "iTunes has detected an iPhone in recovery mode. you must restore this iPhone before it can be sued with iTunes." I really cannot lose the data on my phon
-
Itunes wont open when connected to iphone. why?
my itunes will not open when iphone is connected.... j why?
-
CS5 to CS3 help needed now!
Anyone out there with CS4? I need someone to help me save to CS3 so that I can get some work to my new boss. Please contact me at [email protected] asap please!
-
Hi, Not sure if i've posted this in the right forum? I am getting this error message when trying to print a report; Error filling print... java.lang.NoClassDefFoundError null java.lang.NoClassDefFoundError at net.sf.jasperreports.engine.JRImageR